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
3bf418ae8f4ecf38c64c377ce151963a68469373
78
py
Python
scrapers/mps_interests/__init__.py
spudmind/spud
86e44bca4efd3cd6358467e1511048698a45edbc
[ "MIT" ]
2
2015-04-11T12:22:41.000Z
2016-08-18T11:12:06.000Z
scrapers/mps_interests/__init__.py
spudmind/spud
86e44bca4efd3cd6358467e1511048698a45edbc
[ "MIT" ]
84
2015-01-22T14:33:49.000Z
2015-04-01T23:15:29.000Z
scrapers/mps_interests/__init__.py
spudmind/spud
86e44bca4efd3cd6358467e1511048698a45edbc
[ "MIT" ]
1
2015-04-16T03:10:39.000Z
2015-04-16T03:10:39.000Z
from fetch_mps_interests import fetch from scrape_mps_interests import scrape
26
39
0.897436
12
78
5.5
0.5
0.363636
0.545455
0
0
0
0
0
0
0
0
0
0.102564
78
2
40
39
0.942857
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
ce1394144f48672bb7970d09584cb37e3539426e
419,212
py
Python
rl_agents/a3c_agent_v4-164_deterministic.py
IsaiahPressman/Kaggle_Santa_2020
ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8
[ "MIT" ]
null
null
null
rl_agents/a3c_agent_v4-164_deterministic.py
IsaiahPressman/Kaggle_Santa_2020
ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8
[ "MIT" ]
null
null
null
rl_agents/a3c_agent_v4-164_deterministic.py
IsaiahPressman/Kaggle_Santa_2020
ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8
[ "MIT" ]
null
null
null
serialized_string = b'gAN9cQBYEAAAAG1vZGVsX3N0YXRlX2RpY3RxAWNjb2xsZWN0aW9ucwpPcmRlcmVkRGljdApxAilScQMoWCEAAABiYXNlLmxheWVycy4wLm1lc3NhZ2VfcGFzc2luZ19tYXRxBGN0b3JjaC5fdXRpbHMKX3JlYnVpbGRfdGVuc29yX3YyCnEFKGN0b3JjaC5zdG9yYWdlCl9sb2FkX2Zyb21fYnl0ZXMKcQZCPJ0AAIACigps/JxG+SBqqFAZLoACTekDLoACfXEAKFgQAAAAcHJvdG9jb2xfdmVyc2lvbn...
2,451.532164
412,003
0.935474
25,314
419,212
15.481433
0.056767
1.662222
2.413759
3.112246
0.896052
0.895266
0.894978
0.894911
0.894911
0.894758
0
0.179871
0.004415
419,212
170
412,004
2,465.952941
0.759117
0.001629
0
0.138462
0
0.015385
0.984698
0.984383
0
1
0
0.005882
0.015385
1
0.1
false
0.015385
0.038462
0.007692
0.246154
0
0
0
1
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
15
ce2f49e195238d794195159c311941a5c13d3f91
67,081
py
Python
gym_idsgame/__init__.py
lrakotoarivony/gym-idsgame
b5eb2583e87dc37ac1735d28b97241fd51199374
[ "MIT" ]
null
null
null
gym_idsgame/__init__.py
lrakotoarivony/gym-idsgame
b5eb2583e87dc37ac1735d28b97241fd51199374
[ "MIT" ]
null
null
null
gym_idsgame/__init__.py
lrakotoarivony/gym-idsgame
b5eb2583e87dc37ac1735d28b97241fd51199374
[ "MIT" ]
1
2022-01-11T13:25:16.000Z
2022-01-11T13:25:16.000Z
""" Register OpenAI Envs """ from gym.envs.registration import register # -------- Cyber Version ------------ register( id='idsgame-cyber-v0', entry_point='gym_idsgame.envs:IdsGameCyberEnv', kwargs={'idsgame_config': None, 'save_dir': None, 'initial_state_path': None} ) # -------- Version 0 ------------ ...
38.157565
135
0.742341
8,091
67,081
6.061426
0.027932
0.054075
0.038476
0.045266
0.945232
0.944559
0.932121
0.884489
0.884489
0.884489
0
0.025794
0.133108
67,081
1,758
136
38.157565
0.817564
0.655521
0
0.399281
0
0
0.515517
0.302813
0
0
0
0
0
1
0
true
0
0.001799
0
0.001799
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
0
1
0
0
0
0
0
0
7
5a1e1c138ac4a3b33d13395c9235092e94bd7ca0
9,637
py
Python
test/programytest/config/file/base_file_tests.py
whackur/chatbot
bb4b4dace89f1f8aae2b6377bf7d2601e66af7a7
[ "MIT" ]
2
2018-06-16T09:32:22.000Z
2019-07-21T13:16:00.000Z
test/programytest/config/file/base_file_tests.py
whackur/chatbot
bb4b4dace89f1f8aae2b6377bf7d2601e66af7a7
[ "MIT" ]
3
2020-07-16T04:00:42.000Z
2021-03-31T18:52:22.000Z
test/programytest/config/file/base_file_tests.py
whackur/chatbot
bb4b4dace89f1f8aae2b6377bf7d2601e66af7a7
[ "MIT" ]
4
2018-06-29T23:50:44.000Z
2020-11-05T08:13:47.000Z
import unittest class ConfigurationBaseFileTests(unittest.TestCase): def assert_configuration(self, configuration): self.assertIsNotNone(configuration) self.assertIsNotNone(configuration.client_configuration.configurations[0].configurations[0]) self.assertIsNotNone(configuration.client_c...
91.780952
166
0.803362
999
9,637
7.605606
0.129129
0.254672
0.315873
0.441958
0.836668
0.823769
0.815215
0.765859
0.7398
0.599105
0
0.016054
0.082183
9,637
104
167
92.663462
0.842962
0
0
0
0
0
0.087787
0.053855
0
0
0
0
0.9625
1
0.0125
false
0
0.0125
0
0.0375
0
0
0
0
null
1
1
1
1
1
1
1
1
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
9
5a40df2bbca7b2cdc9ab921c351855ab8dd69ce8
2,892
py
Python
open_source_mirror/ubuntu.py
fujiawei-dev/tookit-py
5ab3a18a41885f6166150cc27183621b96f8f991
[ "BSD-3-Clause" ]
null
null
null
open_source_mirror/ubuntu.py
fujiawei-dev/tookit-py
5ab3a18a41885f6166150cc27183621b96f8f991
[ "BSD-3-Clause" ]
null
null
null
open_source_mirror/ubuntu.py
fujiawei-dev/tookit-py
5ab3a18a41885f6166150cc27183621b96f8f991
[ "BSD-3-Clause" ]
null
null
null
""" Date: 2022.02.13 13:41 Description: Omit LastEditors: Rustle Karl LastEditTime: 2022.02.13 13:41 """ from enum import Enum from create_config_file.common import writer class Version(str, Enum): LTS1604 = "xenial" LTS1804 = "bionic" LTS2004 = "focal" def ubuntu(version=Version.LTS2004): """x86 a...
40.166667
118
0.728216
379
2,892
5.543536
0.189974
0.102808
0.137078
0.205616
0.871014
0.859591
0.859591
0.859591
0.859591
0.859591
0
0.022956
0.141425
2,892
71
119
40.732394
0.823198
0.048409
0
0.416667
0
0.333333
0.717996
0.030724
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.166667
0.041667
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
5a5c847c06a9e332c987001c361529b2ebc90702
160
py
Python
src/minimaldask/__init__.py
heikowagner/minimaldask
7b348776d012c86016c17af186f98f4ba8f6ac4e
[ "Apache-2.0" ]
2
2021-08-03T17:03:20.000Z
2021-11-28T03:07:36.000Z
src/minimaldask/__init__.py
heikowagner/minimaldask
7b348776d012c86016c17af186f98f4ba8f6ac4e
[ "Apache-2.0" ]
2
2021-04-07T14:56:58.000Z
2021-04-11T09:46:25.000Z
src/minimaldask/__init__.py
heikowagner/minimaldask
7b348776d012c86016c17af186f98f4ba8f6ac4e
[ "Apache-2.0" ]
5
2021-04-06T01:54:54.000Z
2021-11-28T03:31:30.000Z
from .kubernetes_helper import start_dask_cluster, delete_dask_cluster, update_or_deploy __all__ = [start_dask_cluster, delete_dask_cluster, update_or_deploy]
40
88
0.875
23
160
5.347826
0.521739
0.357724
0.260163
0.357724
0.764228
0.764228
0.764228
0.764228
0.764228
0
0
0
0.075
160
3
89
53.333333
0.831081
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
1
0
1
1
1
1
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
10
ce905ec86445403e13a9ec4a7abc09ff16b9ac73
67
py
Python
pythonCode/token_screeps.py
Ureimu/screeps-DataVisualization
59048381f371ae68412d85cd57300a415a40ae28
[ "Unlicense" ]
null
null
null
pythonCode/token_screeps.py
Ureimu/screeps-DataVisualization
59048381f371ae68412d85cd57300a415a40ae28
[ "Unlicense" ]
1
2020-08-28T12:38:19.000Z
2020-08-28T12:39:07.000Z
pythonCode/token_screeps.py
Ureimu/screeps-DataVisualization
59048381f371ae68412d85cd57300a415a40ae28
[ "Unlicense" ]
null
null
null
def get_token(): return "f805ec52-3e13-445f-b673-407a337f8e6f"
22.333333
49
0.746269
9
67
5.444444
1
0
0
0
0
0
0
0
0
0
0
0.372881
0.119403
67
2
50
33.5
0.457627
0
0
0
0
0
0.537313
0.537313
0
0
0
0
0
1
0.5
true
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
1
null
0
0
0
0
0
1
1
0
0
1
1
0
0
9
ce9716149c90d73c38b388d27620edede2db08ca
182
py
Python
apps/cpq/decorators.py
goztrk/django-htk
c56bf112e5d627780d2f4288460eae5cce80fa9e
[ "MIT" ]
206
2015-10-15T07:05:08.000Z
2021-02-19T11:48:36.000Z
apps/cpq/decorators.py
goztrk/django-htk
c56bf112e5d627780d2f4288460eae5cce80fa9e
[ "MIT" ]
8
2017-10-16T10:18:31.000Z
2022-03-09T14:24:27.000Z
apps/cpq/decorators.py
goztrk/django-htk
c56bf112e5d627780d2f4288460eae5cce80fa9e
[ "MIT" ]
61
2015-10-15T08:12:44.000Z
2022-03-10T12:25:06.000Z
# Django Imports from django.contrib.admin.views.decorators import staff_member_required def cpq_admin_required(*args, **kwargs): return staff_member_required(*args, **kwargs)
26
71
0.796703
24
182
5.791667
0.666667
0.158273
0.273381
0
0
0
0
0
0
0
0
0
0.104396
182
6
72
30.333333
0.852761
0.076923
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
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
1
1
0
1
1
1
0
0
8
ce9e21c63c3283a8b116fa5616b525157058487b
73,528
py
Python
msgraph-cli-extensions/v1_0/identitydirmgt_v1_0/azext_identitydirmgt_v1_0/vendored_sdks/identitydirmgt/aio/operations/_contacts_operations.py
thewahome/msgraph-cli
33127d9efa23a0e5f5303c93242fbdbb73348671
[ "MIT" ]
null
null
null
msgraph-cli-extensions/v1_0/identitydirmgt_v1_0/azext_identitydirmgt_v1_0/vendored_sdks/identitydirmgt/aio/operations/_contacts_operations.py
thewahome/msgraph-cli
33127d9efa23a0e5f5303c93242fbdbb73348671
[ "MIT" ]
22
2022-03-29T22:54:37.000Z
2022-03-29T22:55:27.000Z
msgraph-cli-extensions/v1_0/identitydirmgt_v1_0/azext_identitydirmgt_v1_0/vendored_sdks/identitydirmgt/aio/operations/_contacts_operations.py
thewahome/msgraph-cli
33127d9efa23a0e5f5303c93242fbdbb73348671
[ "MIT" ]
null
null
null
# 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 may ...
48.597488
166
0.657559
7,717
73,528
6.058313
0.035506
0.018823
0.023101
0.018267
0.869353
0.862701
0.853268
0.846445
0.840606
0.82097
0
0.007133
0.241133
73,528
1,512
167
48.62963
0.830747
0.125571
0
0.808351
0
0
0.124972
0.058584
0
0
0
0
0
1
0.013919
false
0
0.008565
0
0.08137
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
ceb4c45995ecee640c248fb16c082ae0d036f5ae
15,840
py
Python
hdrnet/hdrnet_ops_test.py
ceciliavision/hdrnet-google
867b1aea301a8f78c23ad7153cc0e0d6cb546ec5
[ "Apache-2.0" ]
680
2017-09-01T02:48:53.000Z
2022-03-30T17:37:19.000Z
hdrnet/hdrnet_ops_test.py
ceciliavision/hdrnet-google
867b1aea301a8f78c23ad7153cc0e0d6cb546ec5
[ "Apache-2.0" ]
18
2020-09-22T00:32:08.000Z
2022-03-24T15:45:38.000Z
hdrnet/hdrnet_ops_test.py
ceciliavision/hdrnet-google
867b1aea301a8f78c23ad7153cc0e0d6cb546ec5
[ "Apache-2.0" ]
176
2017-08-31T13:34:17.000Z
2022-03-25T04:36:10.000Z
# Lint as: python3 """Tests for custom tensorflow operators in HDRnet (CUDA only).""" import collections import hdrnet_ops as ops import numpy as np from parameterized import parameterized import tensorflow.compat.v1 as tf def _assert_tf_shape_equals(test_case, expected_shape, tf_tensor): tf_shape = tf_tensor.sha...
38.26087
80
0.635669
2,114
15,840
4.450804
0.095553
0.036348
0.016261
0.027102
0.878521
0.858646
0.83367
0.823361
0.81167
0.81167
0
0.01253
0.264394
15,840
413
81
38.353511
0.794971
0.125126
0
0.782334
0
0
0.024473
0
0
0
0
0.002421
0.047319
1
0.066246
false
0
0.015773
0
0.113565
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
0cb5dee552c9a9063a932120d91a57d1c0d2b225
3,481
py
Python
sightseeingtech_passhub_api/__init__.py
BYMdevelopment/passhub-api-client-python
13537fe9b03d91aa451eb81a86047d8f715df681
[ "MIT" ]
null
null
null
sightseeingtech_passhub_api/__init__.py
BYMdevelopment/passhub-api-client-python
13537fe9b03d91aa451eb81a86047d8f715df681
[ "MIT" ]
null
null
null
sightseeingtech_passhub_api/__init__.py
BYMdevelopment/passhub-api-client-python
13537fe9b03d91aa451eb81a86047d8f715df681
[ "MIT" ]
null
null
null
# coding: utf-8 # flake8: noqa """ PassHub API PassHub API documentation # noqa: E501 OpenAPI spec version: 1.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import # import apis into sdk package from sightseeingtech_passhub_api.api.ord...
57.065574
103
0.904625
417
3,481
7.201439
0.261391
0.13653
0.337662
0.376623
0.536797
0.384282
0.190476
0
0
0
0
0.002152
0.065498
3,481
60
104
58.016667
0.920996
0.071818
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0.975
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
f046ddc8d25dd3a7fbbfa8cebdf6d6baf9815cfb
30,352
py
Python
djangofloor/tests/test_log.py
d9pouces/django-floor
f4f0986e755c1a2b2d0cd97ed11384dffa9fef35
[ "CECILL-B" ]
11
2015-08-04T08:56:10.000Z
2020-10-03T11:55:28.000Z
djangofloor/tests/test_log.py
d9pouces/django-floor
f4f0986e755c1a2b2d0cd97ed11384dffa9fef35
[ "CECILL-B" ]
21
2015-12-02T07:52:50.000Z
2019-08-20T15:55:57.000Z
djangofloor/tests/test_log.py
d9pouces/django-floor
f4f0986e755c1a2b2d0cd97ed11384dffa9fef35
[ "CECILL-B" ]
6
2015-11-10T08:36:14.000Z
2020-10-23T23:10:02.000Z
import os import platform import socket import tempfile from io import StringIO from unittest import TestCase from djangofloor.log import LogConfiguration excluded_commands = { "migrate", "npm", "sendtestemail", "clearsessions", "createsuperuser", "sqlflush", "makemigrations", "startap...
38.566709
92
0.320144
1,584
30,352
6.028409
0.108586
0.089852
0.067861
0.065347
0.90533
0.896743
0.878312
0.861451
0.850141
0.839041
0
0.005539
0.54797
30,352
786
93
38.615776
0.690452
0
0
0.695709
0
0
0.289602
0.068595
0
0
0
0
0.007802
1
0.009103
false
0.0013
0.009103
0
0.020806
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
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
f06456d9313775c86c36b1e8171241200048ca38
4,285
py
Python
tests/knowledge/rules/aws/non_context_aware/performance_optimization/test_ensure_ec2_instance_ebs_optimized_rule.py
my-devops-info/cloudrail-knowledge
b7c1bbd6fe1faeb79c105a01c0debbe24d031a0e
[ "MIT" ]
null
null
null
tests/knowledge/rules/aws/non_context_aware/performance_optimization/test_ensure_ec2_instance_ebs_optimized_rule.py
my-devops-info/cloudrail-knowledge
b7c1bbd6fe1faeb79c105a01c0debbe24d031a0e
[ "MIT" ]
null
null
null
tests/knowledge/rules/aws/non_context_aware/performance_optimization/test_ensure_ec2_instance_ebs_optimized_rule.py
my-devops-info/cloudrail-knowledge
b7c1bbd6fe1faeb79c105a01c0debbe24d031a0e
[ "MIT" ]
null
null
null
import unittest from cloudrail.dev_tools.rule_test_utils import create_empty_entity from cloudrail.knowledge.context.aws.account.account import Account from cloudrail.knowledge.context.aws.ec2.ec2_instance import Ec2Instance from cloudrail.knowledge.context.aws.ec2.ec2_instance_type import EbsInfo, Ec2InstanceType fro...
47.087912
125
0.715053
479
4,285
6.104384
0.152401
0.105335
0.082079
0.02223
0.819083
0.797196
0.797196
0.797196
0.765732
0.755814
0
0.036033
0.190432
4,285
90
126
47.611111
0.806861
0.021937
0
0.731343
0
0
0.047904
0
0
0
0
0
0.149254
1
0.089552
false
0.044776
0.119403
0
0.223881
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
b2fcea547a816596e5ece1e1ef169d8be84e9097
191
py
Python
Basics/ecommerce/app.py
caseysalvador/Python
19bc762a123e98ebbac427c69ce58925e507b045
[ "MIT" ]
null
null
null
Basics/ecommerce/app.py
caseysalvador/Python
19bc762a123e98ebbac427c69ce58925e507b045
[ "MIT" ]
null
null
null
Basics/ecommerce/app.py
caseysalvador/Python
19bc762a123e98ebbac427c69ce58925e507b045
[ "MIT" ]
null
null
null
#from ecommerce.shipping import calc_shipping # first example of import from ecommerce import shipping #ecommerce.shipping.calc_shipping() # first example of import shipping.calc_shipping
31.833333
72
0.827225
25
191
6.2
0.32
0.232258
0.219355
0.309677
0.412903
0.412903
0
0
0
0
0
0
0.120419
191
6
73
31.833333
0.922619
0.680628
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
7
65135f8bd9a8297fc1c021a2e3624b3e00552433
8,031
py
Python
train.py
MiseryForMe/MDC
470b2db76a71d7e4260de7e39e6cf9a61c80ca2b
[ "Apache-2.0" ]
null
null
null
train.py
MiseryForMe/MDC
470b2db76a71d7e4260de7e39e6cf9a61c80ca2b
[ "Apache-2.0" ]
null
null
null
train.py
MiseryForMe/MDC
470b2db76a71d7e4260de7e39e6cf9a61c80ca2b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- encoding: utf-8 -*- import torch import torch.nn as nn from torch.utils.data import DataLoader import torch.nn.functional as F import os import os.path as osp import time import sys import logging import numpy as np import argparse import importlib import json import cv2 from lib.model import ...
30.888462
135
0.604159
1,110
8,031
4.193694
0.191892
0.034372
0.015467
0.005156
0.829646
0.829646
0.829646
0.829646
0.829646
0.829646
0
0.022173
0.269954
8,031
259
136
31.007722
0.771789
0.071473
0
0.792079
0
0
0.079611
0.004858
0
0
0
0
0
1
0.014851
false
0
0.133663
0
0.153465
0.019802
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
6523a710689873c0a317852bfe72e49485ff06f0
2,522
py
Python
tests/interventional_hybrid_net_test.py
elias-1/NiftyNet
05cd2ffbff5043d9a40b524a6d72f6bd5cd072d2
[ "Apache-2.0" ]
6
2018-10-18T15:36:52.000Z
2021-03-03T18:39:41.000Z
tests/interventional_hybrid_net_test.py
elias-1/NiftyNet
05cd2ffbff5043d9a40b524a6d72f6bd5cd072d2
[ "Apache-2.0" ]
9
2020-11-13T19:08:08.000Z
2022-02-10T02:25:56.000Z
tests/interventional_hybrid_net_test.py
elias-1/NiftyNet
05cd2ffbff5043d9a40b524a6d72f6bd5cd072d2
[ "Apache-2.0" ]
2
2018-05-13T14:54:48.000Z
2018-05-26T16:08:09.000Z
from __future__ import absolute_import, print_function import tensorflow as tf from niftynet.network.toynet import ToyNet from niftynet.network.interventional_hybrid_net import INetHybridPreWarp, INetHybridTwoStream class INetHybridPreWarpTest(tf.test.TestCase): def test_3d_shape(self): input_shape = (...
33.626667
93
0.622522
331
2,522
4.561934
0.163142
0.055629
0.046358
0.139073
0.824503
0.824503
0.824503
0.824503
0.806623
0.787417
0
0.063898
0.255353
2,522
74
94
34.081081
0.740149
0
0
0.814815
0
0
0.003172
0
0
0
0
0
0.185185
1
0.074074
false
0
0.074074
0
0.185185
0.092593
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
e8eba1e05b9b97d717cf89d471e77d5157a7c75d
102
py
Python
devtools/svg/tags.py
gianmaria/nothing
a423ce126e2437d89c6b30a9929004da87ea6280
[ "MIT" ]
null
null
null
devtools/svg/tags.py
gianmaria/nothing
a423ce126e2437d89c6b30a9929004da87ea6280
[ "MIT" ]
null
null
null
devtools/svg/tags.py
gianmaria/nothing
a423ce126e2437d89c6b30a9929004da87ea6280
[ "MIT" ]
null
null
null
RECT_TAG_NAME = '{http://www.w3.org/2000/svg}rect' TEXT_TAG_NAME = '{http://www.w3.org/2000/svg}text'
34
50
0.705882
20
102
3.4
0.5
0.205882
0.323529
0.411765
0.764706
0.764706
0.764706
0.764706
0
0
0
0.104167
0.058824
102
2
51
51
0.604167
0
0
0
0
0
0.627451
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
1
0
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
3324f7fe561236b85e20064d171292578e8e31cb
291
py
Python
models/passwords.py
xiomara-masmela/feedback_web_app
d6c035159b4b3c7ea33ce8973fb18792853e1df1
[ "MIT" ]
null
null
null
models/passwords.py
xiomara-masmela/feedback_web_app
d6c035159b4b3c7ea33ce8973fb18792853e1df1
[ "MIT" ]
null
null
null
models/passwords.py
xiomara-masmela/feedback_web_app
d6c035159b4b3c7ea33ce8973fb18792853e1df1
[ "MIT" ]
null
null
null
import bcrypt def convert_secure_password(password): password_hash = bcrypt.hashpw(password.encode(), bcrypt.gensalt()).decode() return password_hash def check_password(password, password_hash): valid = bcrypt.checkpw(password.encode(), password_hash.encode()) return valid
32.333333
79
0.766323
35
291
6.171429
0.428571
0.296296
0.222222
0.259259
0
0
0
0
0
0
0
0
0.123711
291
9
80
32.333333
0.847059
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.714286
0.142857
0
0.714286
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
1
0
1
0
0
1
0
0
7
686958155b3cade7c1e41952cc7ac7755582b929
144
py
Python
src/color_detection/__init__.py
songdet/rubik_cube_solver
186efde7a6b3b3e7520abc91c9c46c4d78606e88
[ "MIT" ]
null
null
null
src/color_detection/__init__.py
songdet/rubik_cube_solver
186efde7a6b3b3e7520abc91c9c46c4d78606e88
[ "MIT" ]
null
null
null
src/color_detection/__init__.py
songdet/rubik_cube_solver
186efde7a6b3b3e7520abc91c9c46c4d78606e88
[ "MIT" ]
null
null
null
from color_detection.detect import detect from color_detection.detect import ColorDetector from color_detection.calibrate import get_color_bound
48
53
0.902778
20
144
6.25
0.45
0.216
0.432
0.384
0.48
0
0
0
0
0
0
0
0.076389
144
3
53
48
0.93985
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
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
d7f6fd72cf75693b0e429580feefa645d9e58921
16,043
py
Python
tests/test_openvas_lib_data.py
abhishekvasishtb/openvas_lib
8525e05860e012e30ff633652cb5d20050baa032
[ "BSD-3-Clause" ]
77
2015-04-22T10:43:15.000Z
2021-02-21T04:14:46.000Z
tests/test_openvas_lib_data.py
zeinlol/openvas_lib
326bde506ccb2b98fe52f30bfc623e30f4525194
[ "BSD-3-Clause" ]
39
2015-03-18T04:33:15.000Z
2022-03-17T06:52:00.000Z
tests/test_openvas_lib_data.py
zeinlol/openvas_lib
326bde506ccb2b98fe52f30bfc623e30f4525194
[ "BSD-3-Clause" ]
100
2015-01-18T16:42:55.000Z
2021-12-01T23:57:14.000Z
import unittest class TestOpenVASPort(unittest.TestCase): pass # def test___init__(self): # # open_vas_port = OpenVASPort(port_name, number, proto) # assert False # TODO: implement your test here # # def test_number(self): # # open_vas_port = OpenVASPort(port_name, number, prot...
40.718274
189
0.640778
1,891
16,043
5.162348
0.038075
0.063102
0.116779
0.186847
0.965991
0.960049
0.957591
0.957591
0.948371
0.911391
0
0.002502
0.252696
16,043
393
190
40.821883
0.811744
0.853269
0
0.384615
0
0
0.004545
0
0
0
0
0.002545
0
1
0
true
0.384615
0.076923
0
0.461538
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
10
0bd66e130e72aa780640266f5e92b40a7ebc9895
121
py
Python
platform/core/polyaxon/administration/register/artifacts_stores.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
platform/core/polyaxon/administration/register/artifacts_stores.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
platform/core/polyaxon/administration/register/artifacts_stores.py
hackerwins/polyaxon
ff56a098283ca872abfbaae6ba8abba479ffa394
[ "Apache-2.0" ]
null
null
null
from db.models.artifacts_stores import ArtifactsStore def register(admin_register): admin_register(ArtifactsStore)
20.166667
53
0.834711
14
121
7
0.714286
0.265306
0.428571
0
0
0
0
0
0
0
0
0
0.107438
121
5
54
24.2
0.907407
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
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
1
0
0
1
0
1
0
0
7
0441d31e81610fd06a88d92c4fecfafccc282029
232
py
Python
Server/Python/src/dbs/dao/MySQL/DatasetParent/ListChild.py
vkuznet/DBS
14df8bbe8ee8f874fe423399b18afef911fe78c7
[ "Apache-2.0" ]
8
2015-08-14T04:01:32.000Z
2021-06-03T00:56:42.000Z
Server/Python/src/dbs/dao/MySQL/DatasetParent/ListChild.py
yuyiguo/DBS
14df8bbe8ee8f874fe423399b18afef911fe78c7
[ "Apache-2.0" ]
162
2015-01-07T21:34:47.000Z
2021-10-13T09:42:41.000Z
Server/Python/src/dbs/dao/MySQL/DatasetParent/ListChild.py
yuyiguo/DBS
14df8bbe8ee8f874fe423399b18afef911fe78c7
[ "Apache-2.0" ]
16
2015-01-22T15:27:29.000Z
2021-04-28T09:23:28.000Z
#!/usr/bin/env python """ This module provides DatasetParent.ListChild data access object. """ from dbs.dao.Oracle.DatasetParent.ListChild import ListChild as OraDatasetChildList class ListChild(OraDatasetChildList): pass
23.2
83
0.784483
26
232
7
0.807692
0.241758
0
0
0
0
0
0
0
0
0
0
0.12931
232
9
84
25.777778
0.90099
0.366379
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
f08963d9d48a9ec743b4386dd0a1ecbe043e4101
69
py
Python
sunpy/net/jsoc/__init__.py
RhnSharma/sunpy
03700193d287156ca1922eb27c4c2ad50040e53f
[ "BSD-2-Clause" ]
628
2015-01-14T17:34:10.000Z
2022-03-29T06:07:50.000Z
sunpy/net/jsoc/__init__.py
RhnSharma/sunpy
03700193d287156ca1922eb27c4c2ad50040e53f
[ "BSD-2-Clause" ]
3,983
2015-01-03T11:16:21.000Z
2022-03-31T16:55:38.000Z
sunpy/net/jsoc/__init__.py
RhnSharma/sunpy
03700193d287156ca1922eb27c4c2ad50040e53f
[ "BSD-2-Clause" ]
582
2015-01-14T10:09:24.000Z
2022-03-29T06:07:12.000Z
from sunpy.net.jsoc.attrs import * from sunpy.net.jsoc.jsoc import *
23
34
0.768116
12
69
4.416667
0.5
0.339623
0.45283
0.603774
0
0
0
0
0
0
0
0
0.115942
69
2
35
34.5
0.868852
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
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
f08b63d03566f117666137e2053218f971e8aa81
10,004
py
Python
src/jk_utils/file_rw.py
jkpubsrc/python-module-jk-utils
6bf97b3dcde7a970c20ca43323e2eb0dda8fbfb3
[ "Apache-1.1" ]
null
null
null
src/jk_utils/file_rw.py
jkpubsrc/python-module-jk-utils
6bf97b3dcde7a970c20ca43323e2eb0dda8fbfb3
[ "Apache-1.1" ]
null
null
null
src/jk_utils/file_rw.py
jkpubsrc/python-module-jk-utils
6bf97b3dcde7a970c20ca43323e2eb0dda8fbfb3
[ "Apache-1.1" ]
null
null
null
import os import gzip import bz2 import lzma import json class openReadBinary(object): def __init__(self, filePath): self.__filePath = filePath if filePath.endswith(".gz") or filePath.endswith(".gzip"): self.__open = gzip.open elif filePath.endswith(".bz2") or filePath.endswith(".bzip2"): self.__ope...
21.986813
105
0.676529
1,254
10,004
4.936204
0.094099
0.051696
0.048465
0.048465
0.843296
0.837964
0.796284
0.779806
0.779806
0.763813
0
0.003565
0.186925
10,004
454
106
22.035242
0.757438
0.009096
0
0.80602
0
0
0.028743
0
0
0
0
0
0.020067
1
0.130435
false
0.003344
0.016722
0
0.220736
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
f0cf30a073f7b7cd3e5180d7586c746e027ea07c
2,695
py
Python
advent/day01/day01_test.py
benjackwhite/adventofcode2017
ce29e625cbe11fd5f36cff6b36a879c6a3955581
[ "MIT" ]
null
null
null
advent/day01/day01_test.py
benjackwhite/adventofcode2017
ce29e625cbe11fd5f36cff6b36a879c6a3955581
[ "MIT" ]
null
null
null
advent/day01/day01_test.py
benjackwhite/adventofcode2017
ce29e625cbe11fd5f36cff6b36a879c6a3955581
[ "MIT" ]
null
null
null
from day01 import reverse_captcha, reverse_captcha_two target = "23736999148234612466339528635467298545732686574853341217977818839783527958414997199979851227942926872717175546141897455853824642998674753241784615752652323893135189854827954945669448843343898274478225827917332338157198545423656939397573571533143825679557...
122.5
2,015
0.933952
92
2,695
26.956522
0.391304
0.084677
0.08871
0.055645
0.019355
0
0
0
0
0
0
0.799923
0.039332
2,695
21
2,016
128.333333
0.157976
0
0
0
0
0
0.76141
0.743599
0
1
0
0
0.733333
1
0.133333
false
0
0.066667
0
0.2
0
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
1
0
0
0
0
0
0
0
0
0
9
f0ef7b155bb4b950ff9c1906c9eb7678e8d0cc82
1,708
py
Python
lib/data_handling/errors.py
mpmuc84/helper-scripts
573353827d94f65efe763a93770ba75bcda90fff
[ "BSD-2-Clause" ]
4
2018-10-11T09:48:39.000Z
2019-11-12T06:17:17.000Z
lib/data_handling/errors.py
mpmuc84/helper-scripts
573353827d94f65efe763a93770ba75bcda90fff
[ "BSD-2-Clause" ]
26
2017-11-10T15:46:03.000Z
2021-08-13T12:02:27.000Z
lib/data_handling/errors.py
mpmuc84/helper-scripts
573353827d94f65efe763a93770ba75bcda90fff
[ "BSD-2-Clause" ]
21
2017-10-12T11:47:37.000Z
2021-05-05T13:07:59.000Z
import logging class SeriesError(Exception): """ Represents all errors that can hinder the recovery of a series. Simply contains an error message and nothing else. """ pass class MediaPackageError(Exception): """ Represents all errors that can hinder the recovery of a media package. ...
30.5
87
0.701991
225
1,708
5.266667
0.253333
0.081013
0.043882
0.047257
0.81519
0.81519
0.81519
0.81519
0.81519
0.737553
0
0
0.231265
1,708
55
88
31.054545
0.902513
0.579625
0
0.588235
0
0
0.037099
0
0
0
0
0
0
1
0.117647
false
0.117647
0.058824
0
0.294118
0.117647
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
0
0
1
0
0
0
0
0
7
0b1bb3284c89b249c3518aaa7325d895f6ee8edd
6,647
py
Python
report_parser/report_parser.py
joshwilding4444/testing
c687b61a2c423c4c7a60f9cdd9fc63e7499d7424
[ "BSD-3-Clause" ]
null
null
null
report_parser/report_parser.py
joshwilding4444/testing
c687b61a2c423c4c7a60f9cdd9fc63e7499d7424
[ "BSD-3-Clause" ]
null
null
null
report_parser/report_parser.py
joshwilding4444/testing
c687b61a2c423c4c7a60f9cdd9fc63e7499d7424
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python3 """Parses a report into YAML.""" import sys import yaml import parse_dmidecode import parse_operating_system import parse_cpu import parse_memory import parse_storage import parse_dm_multipath import parse_lspci import parse_ethtool def test_dmidecode(input_filename): """Parses up to the DMIDECO...
44.019868
74
0.781706
967
6,647
4.932782
0.049638
0.106918
0.110692
0.146751
0.885744
0.878826
0.837526
0.818029
0.818029
0.818029
0
0.000519
0.130284
6,647
150
75
44.313333
0.824598
0.05777
0
0.795276
0
0
0.016916
0
0
0
0
0
0
1
0.07874
false
0
0.07874
0
0.15748
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
6816dff8fb5c2e30c5ee4ed2e4af5d579dff6773
79,398
py
Python
google/cloud/compute_v1/types/__init__.py
georgiyekkert/python-compute
d128efbb3bf10af9b41e55b20aaa8080b3221e77
[ "Apache-2.0" ]
null
null
null
google/cloud/compute_v1/types/__init__.py
georgiyekkert/python-compute
d128efbb3bf10af9b41e55b20aaa8080b3221e77
[ "Apache-2.0" ]
null
null
null
google/cloud/compute_v1/types/__init__.py
georgiyekkert/python-compute
d128efbb3bf10af9b41e55b20aaa8080b3221e77
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
33.916275
77
0.793345
2,417
79,398
26.059578
0.508482
0.000953
0.000413
0.000508
0.99257
0.99257
0.99257
0.99257
0.99257
0.99257
0
0.000369
0.147548
79,398
2,340
78
33.930769
0.930234
0.007166
0
0
0
0
0.396622
0.337178
0
0
0
0
0
1
0
false
0.001721
0.00043
0
0.00043
0
0
0
1
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
0
0
0
0
0
0
0
0
7
a83c90482ee8f3e2377f618733f12f1aa51ea1e1
75
py
Python
spartan/model/specgreedy/__init__.py
xyyphant0m/spartan2
6c40247052cdce80c2787c9ee0c5485e218c082d
[ "BSD-3-Clause" ]
50
2020-08-24T15:21:37.000Z
2022-03-09T09:18:17.000Z
spartan/model/specgreedy/__init__.py
xyyphant0m/spartan2
6c40247052cdce80c2787c9ee0c5485e218c082d
[ "BSD-3-Clause" ]
16
2020-08-24T15:20:46.000Z
2021-12-20T03:13:40.000Z
spartan/model/specgreedy/__init__.py
xyyphant0m/spartan2
6c40247052cdce80c2787c9ee0c5485e218c082d
[ "BSD-3-Clause" ]
15
2020-08-24T15:13:16.000Z
2022-02-26T15:25:05.000Z
from .Specgreedy import Specgreedy def __call__(): return Specgreedy
12.5
34
0.76
8
75
6.625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.186667
75
5
35
15
0.868852
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
a87c000e1617ea8bb248ef0e27a4380a107775af
162
py
Python
tapis_cli/commands/taccapis/model/v2/__init__.py
bpachev/tapis-cli
c3128fb5b63ef74e06b737bbd95ef28fb24f0d32
[ "BSD-3-Clause" ]
8
2020-10-18T22:48:23.000Z
2022-01-10T09:16:14.000Z
tapis_cli/commands/taccapis/model/v2/__init__.py
bpachev/tapis-cli
c3128fb5b63ef74e06b737bbd95ef28fb24f0d32
[ "BSD-3-Clause" ]
238
2019-09-04T14:37:54.000Z
2020-04-15T16:24:24.000Z
tapis_cli/commands/taccapis/model/v2/__init__.py
bpachev/tapis-cli
c3128fb5b63ef74e06b737bbd95ef28fb24f0d32
[ "BSD-3-Clause" ]
5
2019-09-20T04:23:49.000Z
2020-01-16T17:45:14.000Z
from .tapismodel import TapisModel from .permission import Permission from .permission import AbacoPermission from .message import Message from .role import Role
27
39
0.845679
20
162
6.85
0.35
0.20438
0.291971
0
0
0
0
0
0
0
0
0
0.123457
162
5
40
32.4
0.964789
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
76810eecf20c01caa10ec0f4caa246bfa2bb6b9b
261
py
Python
eval.py
guitaowufeng/Cross-Domain-CWS
9cb26fbb867684c2ffaf70308b74e8986da22d5a
[ "MIT" ]
14
2018-08-10T06:43:59.000Z
2022-01-09T04:13:40.000Z
eval.py
guitaowufeng/Cross-Domain-CWS
9cb26fbb867684c2ffaf70308b74e8986da22d5a
[ "MIT" ]
1
2019-04-02T04:45:31.000Z
2019-04-19T14:49:23.000Z
eval.py
egrcc/Cross-Domain-CWS
9cb26fbb867684c2ffaf70308b74e8986da22d5a
[ "MIT" ]
2
2018-08-10T06:44:12.000Z
2019-01-04T13:13:47.000Z
import os import sys os.system("perl ./evaluation/score_4 ./evaluation/gold/%s_dict.txt ./evaluation/gold/%s_test.txt ./output/%s_test_%s.txt > ./output/%s_%s_score.txt"\ % (sys.argv[1], sys.argv[2], sys.argv[2], sys.argv[3], sys.argv[2], sys.argv[3]))
52.2
150
0.670498
48
261
3.5
0.375
0.25
0.142857
0.196429
0.238095
0.190476
0
0
0
0
0
0.029787
0.099617
261
5
151
52.2
0.685106
0
0
0
0
0.25
0.527132
0.406977
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
768b43d91d34db44ab9917b57115db4c36ae85d9
1,513
py
Python
main/models.py
AmanatM/neon-studio
2778ac44cef88e6a9fbdd2eae46b0a028a6d57ca
[ "MIT" ]
null
null
null
main/models.py
AmanatM/neon-studio
2778ac44cef88e6a9fbdd2eae46b0a028a6d57ca
[ "MIT" ]
null
null
null
main/models.py
AmanatM/neon-studio
2778ac44cef88e6a9fbdd2eae46b0a028a6d57ca
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Content(models.Model): title = models.CharField(max_length=50, default='') features_heading = models.CharField(max_length=50, default='Почему мы?') feature_1_text = models.CharField(max_length=200, default='Lorem ipsum dolor sit amet, consectetur adip...
56.037037
138
0.793787
207
1,513
5.637681
0.227053
0.141388
0.169666
0.226221
0.883462
0.883462
0.826907
0.826907
0.826907
0.826907
0
0.029674
0.109055
1,513
26
139
58.192308
0.836053
0.015863
0
0
0
0
0.46734
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0.066667
1
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
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
8
4f94efc4ec726d2ce90a2dc3fb86c599b5b4bc3e
185
py
Python
delta_node/entity/__init__.py
delta-mpc/delta-node
674fc61f951e41ed353597f93ca6ea6bc74a102b
[ "Apache-2.0" ]
4
2021-07-22T01:11:15.000Z
2022-03-17T03:26:20.000Z
delta_node/entity/__init__.py
delta-mpc/delta-node
674fc61f951e41ed353597f93ca6ea6bc74a102b
[ "Apache-2.0" ]
10
2021-09-13T09:55:02.000Z
2022-03-23T09:41:26.000Z
delta_node/entity/__init__.py
delta-mpc/delta-node
674fc61f951e41ed353597f93ca6ea6bc74a102b
[ "Apache-2.0" ]
null
null
null
from .base import * from .event import * from .node import * from .task import * from .task_round import * from .round_member import * from .secret_share import * from .record import *
20.555556
27
0.740541
27
185
4.962963
0.407407
0.522388
0.208955
0
0
0
0
0
0
0
0
0
0.172973
185
8
28
23.125
0.875817
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
4fa090bf49541752fb19fe57f6922f5295ddfc43
25,638
py
Python
apptools/apptools-android-tests/apptools/crosswalk_app_targets.py
jennycao/crosswalk-test-suite
64874a2941276681cc9823c11dfc024cfe7aac47
[ "BSD-3-Clause" ]
null
null
null
apptools/apptools-android-tests/apptools/crosswalk_app_targets.py
jennycao/crosswalk-test-suite
64874a2941276681cc9823c11dfc024cfe7aac47
[ "BSD-3-Clause" ]
null
null
null
apptools/apptools-android-tests/apptools/crosswalk_app_targets.py
jennycao/crosswalk-test-suite
64874a2941276681cc9823c11dfc024cfe7aac47
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # # Copyright (c) 2016 Intel Corporation. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of works must retain the original copyright notice, this # list of conditions and t...
44.356401
132
0.551954
2,937
25,638
4.736466
0.068437
0.03738
0.032708
0.042053
0.916253
0.912803
0.911006
0.909352
0.909352
0.909352
0
0.049566
0.33505
25,638
577
133
44.433276
0.766424
0.058039
0
0.939623
0
0
0.131752
0.043904
0
0
0
0
0.177358
1
0.026415
false
0
0.007547
0
0.035849
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
96ec8a5a907cb52660917856c08f9e81bb3c0ebc
28,082
py
Python
board/test_models.py
amalolan/scoreboard
5fe6bdc19a069c9a13f2a48f5cbfbb62cbfc9fd2
[ "MIT" ]
null
null
null
board/test_models.py
amalolan/scoreboard
5fe6bdc19a069c9a13f2a48f5cbfbb62cbfc9fd2
[ "MIT" ]
null
null
null
board/test_models.py
amalolan/scoreboard
5fe6bdc19a069c9a13f2a48f5cbfbb62cbfc9fd2
[ "MIT" ]
null
null
null
from django.test import TestCase from .models import * from copy import deepcopy # TODO: Test with total_rounds > 9 and total_teams > 9 class ScoreboardTestCase(TestCase): def setUp(self): scoreboard = Scoreboard.objects.create( num_teams=5, teams=['Coimbatore', 'Cuddalore', ...
44.015674
82
0.625988
3,222
28,082
5.274364
0.041279
0.14917
0.230964
0.200659
0.933624
0.920737
0.900847
0.876721
0.868601
0.835236
0
0.029243
0.243786
28,082
638
83
44.015674
0.771002
0.010113
0
0.792553
0
0
0.035585
0
0
0
0
0.001567
0.328014
1
0.021277
false
0
0.005319
0.001773
0.030142
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
0
0
0
0
0
0
0
0
9
8c047e6dea2646398154f76b598a81a7a4503096
4,978
py
Python
tests/pydevtest/test_iphymv.py
iychoi/cyverse-irods
0070b8677a82e763f1d940ae6537b1c8839a628a
[ "BSD-3-Clause" ]
null
null
null
tests/pydevtest/test_iphymv.py
iychoi/cyverse-irods
0070b8677a82e763f1d940ae6537b1c8839a628a
[ "BSD-3-Clause" ]
7
2019-12-02T17:55:49.000Z
2019-12-02T17:55:59.000Z
tests/pydevtest/test_iphymv.py
benlazarine/cyverse-irods
2bf9cfae4c3a1062ffe2af92b1f086ddc5fce025
[ "BSD-3-Clause" ]
1
2019-12-02T05:40:13.000Z
2019-12-02T05:40:13.000Z
import os import re import sys if sys.version_info < (2, 7): import unittest2 as unittest else: import unittest import shutil import configuration from resource_suite import ResourceBase import lib import copy class Test_iPhymv(ResourceBase, unittest.TestCase): def setUp(self): super(Test_iPhymv...
50.282828
136
0.696665
584
4,978
5.684932
0.17637
0.113855
0.153614
0.235542
0.811446
0.805723
0.779217
0.779217
0.76747
0.741566
0
0.014721
0.194857
4,978
98
137
50.795918
0.813623
0
0
0.545455
0
0
0.289103
0.018094
0
0
0
0
0.441558
0
null
null
0
0.12987
null
null
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
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
9
8c174a54b28267cfe4722770a49f3394eea6b032
54
py
Python
ex2_1.py
riderd/think-python-16
8a0cba72a5eabd933e91ae0026fec9dff8b81413
[ "Apache-2.0" ]
null
null
null
ex2_1.py
riderd/think-python-16
8a0cba72a5eabd933e91ae0026fec9dff8b81413
[ "Apache-2.0" ]
null
null
null
ex2_1.py
riderd/think-python-16
8a0cba72a5eabd933e91ae0026fec9dff8b81413
[ "Apache-2.0" ]
null
null
null
from ex2 import print_current_day print_current_day()
18
33
0.87037
9
54
4.777778
0.666667
0.55814
0.697674
0
0
0
0
0
0
0
0
0.020408
0.092593
54
3
34
18
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
1
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
0
1
0
7
8c4a3eb2fe4ea8e44c82b198636bd5e03dbd19f9
182
py
Python
password_policies/tests/__init__.py
hidashun/django-password-policies
e215ba46694ea94cc072f4d04e9304a48aa54e22
[ "BSD-3-Clause" ]
null
null
null
password_policies/tests/__init__.py
hidashun/django-password-policies
e215ba46694ea94cc072f4d04e9304a48aa54e22
[ "BSD-3-Clause" ]
null
null
null
password_policies/tests/__init__.py
hidashun/django-password-policies
e215ba46694ea94cc072f4d04e9304a48aa54e22
[ "BSD-3-Clause" ]
null
null
null
from password_policies.tests.forms import * from password_policies.tests.models import * from password_policies.tests.views import * from password_policies.tests.middleware import *
36.4
48
0.846154
24
182
6.25
0.375
0.32
0.533333
0.666667
0.62
0
0
0
0
0
0
0
0.087912
182
4
49
45.5
0.903614
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
1
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
1
1
0
1
0
0
9
8c4dc8c6043647d00563a1b26f3248e035156711
465
py
Python
util/KST.py
jamakers19/SARS2-Stat-KR
a1d336eaf38821173139ef2e1cbdd71dc1dc8e49
[ "MIT" ]
34
2020-02-27T13:08:25.000Z
2020-08-14T07:46:13.000Z
util/KST.py
jamakers19/SARS2-Stat-KR
a1d336eaf38821173139ef2e1cbdd71dc1dc8e49
[ "MIT" ]
9
2020-02-28T08:03:13.000Z
2022-03-02T15:02:59.000Z
util/KST.py
jamakers19/SARS2-Stat-KR
a1d336eaf38821173139ef2e1cbdd71dc1dc8e49
[ "MIT" ]
18
2020-02-27T16:41:15.000Z
2021-06-29T15:05:09.000Z
import datetime from pytz import timezone, utc def kst_time(): kst = timezone('Asia/Seoul') now = datetime.datetime.utcnow() utc.localize(now) kst.localize(now) return utc.localize(now).astimezone(kst).strftime("%Y-%m-%d %H:%M:%S") def kst_time_for_file(): kst = timezone('Asia/Seoul') now ...
29.0625
74
0.668817
68
465
4.514706
0.382353
0.214984
0.18241
0.130293
0.762215
0.762215
0.762215
0.762215
0.762215
0.762215
0
0
0.15914
465
16
75
29.0625
0.785166
0
0
0.571429
0
0
0.111588
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
1
1
0
0
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
4fe3ab764eb645466acfce8241800e790be08d35
9,368
py
Python
tests/test_clean_genome.py
dib-lab/charcoal
a2b428d3829b761708910fcf97d964b937bef979
[ "BSD-3-Clause" ]
21
2020-05-08T20:51:19.000Z
2022-02-04T23:00:17.000Z
tests/test_clean_genome.py
dib-lab/charcoal
a2b428d3829b761708910fcf97d964b937bef979
[ "BSD-3-Clause" ]
162
2020-03-11T21:32:28.000Z
2022-03-09T01:02:14.000Z
tests/test_clean_genome.py
dib-lab/charcoal
a2b428d3829b761708910fcf97d964b937bef979
[ "BSD-3-Clause" ]
1
2020-03-11T21:24:13.000Z
2020-03-11T21:24:13.000Z
import sys import io import os.path from . import pytest_utils as utils from charcoal import clean_genome loomba = 'LoombaR_2017__SID1050_bax__bin.11.fa.gz' def replace_in_hit_list(src, dest, match, replace): "Adjust the hit list CSV with a quick search/replace." with open(src, 'rt') as fp: data = f...
32.19244
97
0.683604
1,431
9,368
4.31167
0.080363
0.054457
0.063371
0.064182
0.903566
0.900486
0.891248
0.88671
0.869368
0.848136
0
0.016385
0.192143
9,368
290
98
32.303448
0.79889
0.076003
0
0.804762
0
0
0.178169
0.10329
0
0
0
0
0.171429
1
0.042857
false
0
0.02381
0
0.066667
0.02381
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
8c90e5ad0f89db3653dd5fee8b1f8cb6c132ddf1
3,274
py
Python
usr/local/lib/python3.6/dist-packages/zerotier/network_service.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
11
2017-11-26T20:28:31.000Z
2021-06-08T18:26:55.000Z
usr/local/lib/python3.6/dist-packages/zerotier/network_service.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
2
2016-11-01T04:42:39.000Z
2016-11-01T04:46:57.000Z
usr/local/lib/python3.6/dist-packages/zerotier/network_service.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
2
2018-06-12T05:13:32.000Z
2021-03-17T09:21:33.000Z
class NetworkService: def __init__(self, client): self.client = client def deleteMember(self, address, id, headers=None, query_params=None, content_type="application/json"): """ Delete member from network It is method for DELETE /network/{id}/member/{address} """ ...
38.069767
112
0.640806
409
3,274
5.00978
0.146699
0.097609
0.070278
0.096633
0.849683
0.846266
0.816496
0.792094
0.726696
0.701318
0
0
0.237935
3,274
85
113
38.517647
0.821242
0.197923
0
0.566667
0
0
0.108269
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
0
0
0
7
8ca8dbd3078142d2adbb5e2bf5627b4cac00b26e
26,723
py
Python
fireant/tests/slicer/query_builder/test_build_dimensions.py
vladaspasic/fireant
2dbae6a97a927ef62fdcd5f37fcb51a7d6d55334
[ "Apache-2.0" ]
null
null
null
fireant/tests/slicer/query_builder/test_build_dimensions.py
vladaspasic/fireant
2dbae6a97a927ef62fdcd5f37fcb51a7d6d55334
[ "Apache-2.0" ]
null
null
null
fireant/tests/slicer/query_builder/test_build_dimensions.py
vladaspasic/fireant
2dbae6a97a927ef62fdcd5f37fcb51a7d6d55334
[ "Apache-2.0" ]
null
null
null
from unittest import TestCase from datetime import date import fireant as f from ..mocks import slicer # noinspection SqlDialectInspection,SqlNoDataSourceInspection class QueryBuilderDimensionTests(TestCase): maxDiff = None def test_build_query_with_datetime_dimension(self): queries = slicer.data \ ...
50.900952
116
0.49826
2,453
26,723
5.314309
0.053812
0.095581
0.072492
0.038662
0.933185
0.930884
0.924977
0.915465
0.900123
0.883553
0
0.016718
0.366538
26,723
524
117
50.998092
0.753367
0.004453
0
0.829157
0
0
0.337243
0.116236
0
0
0
0
0.129841
1
0.047836
false
0
0.009112
0
0.066059
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
8cd184fbcd3012eace2dd34f722f5fe14c93926d
168
py
Python
align/ocrd_tool.py
kba/cis-ocrd-py
4b6d2a29ac82cf1ec734a87314a6c774271d09bc
[ "MIT" ]
26
2019-10-23T22:40:17.000Z
2022-03-04T11:32:51.000Z
align/ocrd_tool.py
kba/cis-ocrd-py
4b6d2a29ac82cf1ec734a87314a6c774271d09bc
[ "MIT" ]
64
2019-08-29T14:27:40.000Z
2022-03-25T15:23:21.000Z
align/ocrd_tool.py
kba/cis-ocrd-py
4b6d2a29ac82cf1ec734a87314a6c774271d09bc
[ "MIT" ]
7
2019-09-23T13:32:04.000Z
2021-04-15T11:46:48.000Z
import json from pkg_resources import resource_string def get_ocrd_tool(): return json.loads( resource_string(__name__, 'ocrd-tool.json').decode('utf8'))
21
67
0.738095
23
168
5
0.695652
0.243478
0
0
0
0
0
0
0
0
0
0.007042
0.154762
168
7
68
24
0.802817
0
0
0
0
0
0.107143
0
0
0
0
0
0
1
0.2
true
0
0.4
0.2
0.8
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
1
1
0
0
7
8cd82fc13db1d5e6801c11259b6980439d686acd
9,676
py
Python
tests/test_SortingAlgorithms.py
chrisphil335/structlinks
61aee24ec15c7caab9ce99e1f97ce30e7f21157c
[ "MIT" ]
9
2021-04-09T21:20:46.000Z
2022-03-25T12:14:43.000Z
tests/test_SortingAlgorithms.py
chrisphil335/structlinks
61aee24ec15c7caab9ce99e1f97ce30e7f21157c
[ "MIT" ]
19
2021-03-22T07:52:39.000Z
2021-04-07T20:04:05.000Z
tests/test_SortingAlgorithms.py
chrisphil335/structlinks
61aee24ec15c7caab9ce99e1f97ce30e7f21157c
[ "MIT" ]
7
2021-04-10T21:08:12.000Z
2022-03-20T12:55:23.000Z
"""This file contains tests for SortingAlgorithms.py. """ from SortingAlgorithms import * from LinkedList import * from DoublyLinkedList import * from typing import Optional, Callable ######################################## # Base tests for non-mutating sorts ######################################## class BaseNoMut...
33.597222
87
0.612133
1,303
9,676
4.398312
0.069839
0.117257
0.052347
0.073286
0.891467
0.877159
0.877159
0.877159
0.85657
0.85657
0
0.041941
0.245969
9,676
287
88
33.714286
0.743558
0.164634
0
0.861842
0
0
0
0
0
0
0
0
0.157895
1
0.157895
false
0
0.026316
0
0.289474
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
50a18c1f61487090a47f0df4b5ee4aeeaaabd106
16,797
py
Python
alsa/datasets/shift_transforms.py
QasimWani/alls
13c44ea8f0f4ee7b5bae419813713742a03a5742
[ "Unlicense", "MIT" ]
2
2021-08-10T20:20:38.000Z
2021-09-01T14:40:19.000Z
alsa/datasets/shift_transforms.py
QasimWani/alls
13c44ea8f0f4ee7b5bae419813713742a03a5742
[ "Unlicense", "MIT" ]
2
2021-05-03T09:53:05.000Z
2021-08-20T00:36:23.000Z
alsa/datasets/shift_transforms.py
QasimWani/alls
13c44ea8f0f4ee7b5bae419813713742a03a5742
[ "Unlicense", "MIT" ]
2
2021-12-14T02:16:27.000Z
2022-01-25T23:08:49.000Z
"""Resources for shifting datasets.""" import random import math import numpy as np def uniform_dataset(idxs_by_label, size, replace=True, verbose=True): """Uniformly distribute dataset.""" # Group data points by label if replace: # Sample size points from each cls_size = math.ceil(size ...
46.019178
79
0.548431
1,783
16,797
4.819966
0.075715
0.092041
0.142076
0.051199
0.858622
0.827205
0.811962
0.792762
0.792297
0.776123
0
0.006728
0.380544
16,797
364
80
46.145604
0.819222
0.094422
0
0.742373
0
0
0.030495
0.010693
0
0
0
0
0
1
0.013559
false
0
0.010169
0
0.037288
0.030508
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
50a1f101898a950e1e51d117cfc99f3cfd859734
330,941
py
Python
pyboto3/cloudfront.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
pyboto3/cloudfront.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
pyboto3/cloudfront.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
''' The MIT License (MIT) Copyright (c) 2016 WavyCloud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
68.461109
813
0.5769
34,819
330,941
5.476435
0.026595
0.012922
0.021145
0.016194
0.969295
0.966515
0.963668
0.958969
0.956021
0.952398
0
0.010428
0.362796
330,941
4,833
814
68.475274
0.893815
0.936179
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
9
50c1b49da17e3998cd829361313fa015981b2fff
18,167
py
Python
campaign/test/test_views.py
devenney/reverie
43b2948678ff1e76a1b7a9cab812c0dfbf3633a0
[ "MIT" ]
null
null
null
campaign/test/test_views.py
devenney/reverie
43b2948678ff1e76a1b7a9cab812c0dfbf3633a0
[ "MIT" ]
47
2017-08-30T00:33:20.000Z
2018-03-09T07:38:39.000Z
campaign/test/test_views.py
devenney/reverie
43b2948678ff1e76a1b7a9cab812c0dfbf3633a0
[ "MIT" ]
null
null
null
from datetime import datetime from django.contrib.auth.models import User from django.shortcuts import get_object_or_404 from django.template.defaultfilters import slugify from django.test import TestCase from django.urls import reverse from campaign.models import Campaign, Character, Faction, Item, Location, Log GM...
38.901499
200
0.673034
2,076
18,167
5.710019
0.04817
0.057365
0.068331
0.086469
0.864012
0.82681
0.806394
0.782605
0.761515
0.7589
0
0.004119
0.198217
18,167
466
201
38.984979
0.809694
0.041449
0
0.512027
0
0
0.188768
0.048374
0
0
0
0
0.127148
1
0.068729
false
0.089347
0.024055
0
0.113402
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
0
0
1
0
0
0
0
0
7
0fb8a921651efd2ce9fc008032222c41fe8f5834
13,466
py
Python
sdk/python/v0.1-rc.4/tests/controllers/test_use_case_carrier_custom_business_intelligence_controller.py
nmfta-repo/nmfta-opentelematics-prototype
729e9391879e273545a4818558677b2e47261f08
[ "Apache-2.0" ]
2
2021-12-15T08:37:03.000Z
2022-02-11T20:40:42.000Z
sdk/python/v0.1-rc.4/tests/controllers/test_use_case_carrier_custom_business_intelligence_controller.py
nmfta-repo/nmfta-opentelematics-prototype
729e9391879e273545a4818558677b2e47261f08
[ "Apache-2.0" ]
8
2019-12-04T22:56:46.000Z
2022-02-10T08:23:29.000Z
sdk/python/v0.1-rc.4/tests/controllers/test_use_case_carrier_custom_business_intelligence_controller.py
nmfta-repo/nmfta-opentelematics-prototype
729e9391879e273545a4818558677b2e47261f08
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ opentelematicsapi This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). """ import jsonpickle import dateutil.parser from .controller_test_base import ControllerTestBase from ..test_helper import TestHelper from opentelematicsapi.api_helper import APIHelp...
160.309524
5,269
0.595797
1,111
13,466
7.160216
0.230423
0.022627
0.041483
0.049026
0.893023
0.893023
0.887995
0.880704
0.880704
0.868385
0
0.108838
0.252191
13,466
83
5,270
162.240964
0.681132
0.11659
0
0.344828
1
0.068966
0.686213
0.159973
0
0
0
0
0.275862
1
0.103448
false
0
0.172414
0
0.310345
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
ba10fe2ad6528e4b6876ac4e447d30e296c666c6
17,420
py
Python
gaussian_fields/turboGen.py
jdhare/turbulence_tracing
6df5e1da29a3132a488f57b43379d262b7182045
[ "MIT" ]
1
2020-12-05T05:43:29.000Z
2020-12-05T05:43:29.000Z
gaussian_fields/turboGen.py
bbw7561135/turbulence_tracing
26b980befbcbdbee367e3695a40928841f0cd38a
[ "MIT" ]
null
null
null
gaussian_fields/turboGen.py
bbw7561135/turbulence_tracing
26b980befbcbdbee367e3695a40928841f0cd38a
[ "MIT" ]
1
2020-12-05T05:43:30.000Z
2020-12-05T05:43:30.000Z
# TURBOGEN collection of method to generate fluctuation density field # I can imagine to implement 1D, 2D and 3D turbulence generator method """ Author: Stefano Merlini Created: 14/05/2020 """ # function that computes the turbulence base don a given parameters: # - grid and domain definitions # - spectra # -------...
32.379182
109
0.556889
2,469
17,420
3.72175
0.130822
0.0074
0.013494
0.0111
0.891065
0.865927
0.857438
0.816629
0.810426
0.786593
0
0.039467
0.271297
17,420
538
110
32.379182
0.684182
0.64271
0
0.564286
1
0
0.068156
0
0
0
0
0
0
1
0.042857
false
0
0.007143
0
0.092857
0.064286
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
0
0
0
0
0
0
7
ba18cd8ff212404246eb251ede3803dc3458611d
5,221
py
Python
mudicom/tests/test_read.py
neurosnap/mudicom
04011967007409f0c5253b4f308f53a7b0fc99c6
[ "MIT" ]
32
2015-01-09T10:51:06.000Z
2021-04-03T09:50:52.000Z
mudicom/tests/test_read.py
neurosnap/mudicom
04011967007409f0c5253b4f308f53a7b0fc99c6
[ "MIT" ]
3
2015-05-07T19:15:26.000Z
2021-04-16T15:13:23.000Z
mudicom/tests/test_read.py
neurosnap/mudicom
04011967007409f0c5253b4f308f53a7b0fc99c6
[ "MIT" ]
18
2015-04-11T14:24:42.000Z
2020-12-27T21:26:06.000Z
import os.path import unittest import gdcm import mudicom class TestRead(unittest.TestCase): def setUp(self): nose_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "dicoms") self.fnames = (os.path.join(nose_dir, "ex1.dcm"), os.path.join(nose_dir, "ex2.dcm"),) def ...
49.72381
138
0.646428
676
5,221
4.911243
0.177515
0.149096
0.159036
0.20241
0.797892
0.749096
0.727711
0.712651
0.712651
0.672892
0
0.050963
0.214518
5,221
104
139
50.201923
0.758595
0.006895
0
0.162791
0
0
0.173838
0.042061
0
0
0.002122
0
0.627907
1
0.093023
false
0
0.046512
0
0.151163
0
0
0
0
null
0
0
1
0
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
2cd3e50e0e7049e6b9460273f71f4af4c0f9dd70
271
py
Python
tests/segment_tree/context.py
niemmi/algolib
81a013af5ae1ca1e8cf8d3f2e2f1b4a9bce6ead8
[ "BSD-3-Clause" ]
null
null
null
tests/segment_tree/context.py
niemmi/algolib
81a013af5ae1ca1e8cf8d3f2e2f1b4a9bce6ead8
[ "BSD-3-Clause" ]
null
null
null
tests/segment_tree/context.py
niemmi/algolib
81a013af5ae1ca1e8cf8d3f2e2f1b4a9bce6ead8
[ "BSD-3-Clause" ]
null
null
null
import os import sys sys.path.insert(0, os.path.abspath('../..')) from algolib.segment_tree import segment_tree from algolib.segment_tree import segment_tree_flex from algolib.segment_tree import lazy_segment_tree from algolib.segment_tree import lazy_segment_tree_flex
30.111111
55
0.841328
43
271
5.023256
0.302326
0.407407
0.333333
0.407407
0.759259
0.759259
0.759259
0.398148
0
0
0
0.004032
0.084871
271
8
56
33.875
0.866935
0
0
0
0
0
0.01845
0
0
0
0
0
0
1
0
true
0
0.857143
0
0.857143
0
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
1
0
1
0
1
0
0
9
2cddf15893e1e2ed8c8d8d621dbaa8c9a5a17cb0
167
py
Python
notebook/positive_negative_zero.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
174
2018-05-30T21:14:50.000Z
2022-03-25T07:59:37.000Z
notebook/positive_negative_zero.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
5
2019-08-10T03:22:02.000Z
2021-07-12T20:31:17.000Z
notebook/positive_negative_zero.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
53
2018-04-27T05:26:35.000Z
2022-03-25T07:59:37.000Z
print(0) # 0 print(-0) # 0 print(0 == -0) # True print(0 is -0) # True print(0.0) # 0.0 print(-0.0) # -0.0 print(0.0 == -0.0) # True print(0.0 is -0.0) # False
6.958333
18
0.508982
38
167
2.236842
0.131579
0.329412
0.576471
0.376471
0.870588
0.564706
0.317647
0.317647
0.317647
0.317647
0
0.1875
0.233533
167
23
19
7.26087
0.476563
0.197605
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
fa6c7fcc53a6b969fb14bc9d0521cba5f8d595cd
68,156
py
Python
bombers.py
GHOST-PSYCHO/SMS-Bombers
d8c5248d5881c27398aae4d6d561332828515b39
[ "Apache-2.0" ]
1
2020-06-26T10:00:55.000Z
2020-06-26T10:00:55.000Z
bombers.py
GHOST-PSYCHO/SMS-Bombers
d8c5248d5881c27398aae4d6d561332828515b39
[ "Apache-2.0" ]
null
null
null
bombers.py
GHOST-PSYCHO/SMS-Bombers
d8c5248d5881c27398aae4d6d561332828515b39
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from datetime import datetime #line:2:from datetime import datetime from termcolor import cprint #line:3:from termcolor import cprint import os #line:4:import os import hashlib #line:5:import hashlib import sys #line:6:import sys import time #line:7:import time import threading #line:8:import thre...
182.235294
4,438
0.673426
9,280
68,156
5.111315
0.172953
0.026269
0.004174
0.006072
0.741235
0.724475
0.712162
0.687053
0.670609
0.651846
0
0.14608
0.110408
68,156
373
4,439
182.723861
0.605021
0.443174
0
0.325069
0
0.082645
0.684174
0.355929
0
1
0
0
0
1
0.016529
false
0.00551
0.038567
0
0.126722
0.162534
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
d70484767a46bf7bcecabce244195f29e4474d6d
86,541
py
Python
tests/qa/test_qa_mysqlx_crud_table_select.py
timgates42/mysql-connector-python
c4729e84a6849fe584034663af39c0ccde92fe44
[ "BSD-3-Clause" ]
null
null
null
tests/qa/test_qa_mysqlx_crud_table_select.py
timgates42/mysql-connector-python
c4729e84a6849fe584034663af39c0ccde92fe44
[ "BSD-3-Clause" ]
1
2021-09-12T22:07:20.000Z
2021-09-12T22:07:20.000Z
tests/qa/test_qa_mysqlx_crud_table_select.py
timgates42/mysql-connector-python
c4729e84a6849fe584034663af39c0ccde92fe44
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2021, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, as # published by the Free Software Foundation. # # This program is also distributed with certain software (including # but no...
37.544902
139
0.549462
9,786
86,541
4.757306
0.04067
0.04891
0.062249
0.051036
0.93483
0.921254
0.907013
0.90102
0.876297
0.859585
0
0.028972
0.30084
86,541
2,304
140
37.561198
0.740455
0.066258
0
0.82046
0
0.001535
0.177134
0.019904
0
0
0
0
0.056266
1
0.048593
false
0.003069
0.002558
0
0.051662
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
d75a62e9cfe0af15bf0379feb85c4a43cdb3e57a
2,770
py
Python
webplucker/req_handler/agents/__init__.py
shivjeetbhullar/webplucker
b88a9a62932a2f9de3c62c2e0ec923dff1111ff7
[ "MIT" ]
null
null
null
webplucker/req_handler/agents/__init__.py
shivjeetbhullar/webplucker
b88a9a62932a2f9de3c62c2e0ec923dff1111ff7
[ "MIT" ]
null
null
null
webplucker/req_handler/agents/__init__.py
shivjeetbhullar/webplucker
b88a9a62932a2f9de3c62c2e0ec923dff1111ff7
[ "MIT" ]
null
null
null
from random import shuffle agents = ['Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5...
461.666667
2,682
0.7213
533
2,770
3.746717
0.142589
0.115173
0.103655
0.241863
0.915373
0.915373
0.915373
0.897346
0.862293
0.862293
0
0.253419
0.102527
2,770
6
2,683
461.666667
0.549879
0
0
0
0
5.75
0.935042
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
1
0
0
1
1
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
15
d7712f265c56b382ef9e676dfb5c14a294c22aee
3,983
py
Python
glider/cfdna_glider.py
hillst/glider
499bbf64d97291c699eb4df1e2b57e24d0e90325
[ "MIT" ]
null
null
null
glider/cfdna_glider.py
hillst/glider
499bbf64d97291c699eb4df1e2b57e24d0e90325
[ "MIT" ]
null
null
null
glider/cfdna_glider.py
hillst/glider
499bbf64d97291c699eb4df1e2b57e24d0e90325
[ "MIT" ]
null
null
null
''' cfdna glider performs the QC and interpretation of cfDNA datas. This should be run on the cluster lol. ''' def load_all_data(datatype="union"): from glider.data.annotations import load_data data = [] data += load_data("BB053/trinuc_tsvs/BB053--BB1104." + datatype + ".tsv", biotype="control") data...
69.877193
108
0.680392
513
3,983
5.126706
0.097466
0.112548
0.159696
0.285171
0.847148
0.847148
0.847148
0.805323
0.689354
0.66654
0
0.103419
0.126036
3,983
56
109
71.125
0.652111
0
0
0
0
0
0.431302
0.333161
0
0
0
0
0
0
null
null
0
0.044444
null
null
0.066667
0
0
0
null
0
0
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
ad96c82e37324ab7b6f35d87f153137f1666ac5f
8,874
py
Python
models/LSTM.py
salmanedhi/NNTI-WS2021-NLP-Project
5b0a8f1258ef4e835a6e647082a8286078a0bdd6
[ "MIT" ]
null
null
null
models/LSTM.py
salmanedhi/NNTI-WS2021-NLP-Project
5b0a8f1258ef4e835a6e647082a8286078a0bdd6
[ "MIT" ]
null
null
null
models/LSTM.py
salmanedhi/NNTI-WS2021-NLP-Project
5b0a8f1258ef4e835a6e647082a8286078a0bdd6
[ "MIT" ]
null
null
null
import torch as torch from torch import nn class SentimentLSTM(nn.Module): def __init__(self, n_vocab, n_embed, n_hidden, n_output, n_layers, embedding_weights, drop_p = 0.5): super().__init__() # params: "n_" means dimension self.n_vocab = n_vocab # number of unique words in vocabula...
49.575419
116
0.639959
1,240
8,874
4.287097
0.071774
0.098194
0.063205
0.094808
0.99003
0.99003
0.99003
0.981377
0.978743
0.978743
0
0.00546
0.25693
8,874
179
117
49.575419
0.800728
0.283638
0
0.918919
0
0
0
0
0
0
0
0
0
1
0.108108
false
0
0.018018
0
0.234234
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
ada0a18a20d5a2757694a3df16dea2d62364f995
6,173
py
Python
test_process_events.py
brianLeeson/proj10-MeetMe
d1262290e8bcad4b4e220490f8391bd8c26432eb
[ "Artistic-2.0" ]
null
null
null
test_process_events.py
brianLeeson/proj10-MeetMe
d1262290e8bcad4b4e220490f8391bd8c26432eb
[ "Artistic-2.0" ]
3
2021-02-08T20:17:15.000Z
2021-06-01T21:50:35.000Z
test_process_events.py
brianLeeson/proj10-MeetMe
d1262290e8bcad4b4e220490f8391bd8c26432eb
[ "Artistic-2.0" ]
null
null
null
from process_events import * def test_relevantEvents(): #Test 1 - normal. 1 event provided, 1 event created eventList = [{'organizer': {'email': 'cyberjunkie09@gmail.com', 'self': True, 'displayName': 'Brian Leeson'}, 'kind': 'calendar#event', 'id': '64o6cob56tj62b9hckqm8b9k71h62b9o6oq3cb9n6so62o9j61hj6ohp6g', ...
78.139241
968
0.654787
921
6,173
4.378936
0.127036
0.075378
0.113067
0.1091
0.888916
0.865609
0.865609
0.840317
0.821721
0.818993
0
0.290825
0.094282
6,173
78
969
79.141026
0.430513
0.042929
0
0.479167
0
0
0.61558
0.397488
0
0
0
0
0.208333
1
0.083333
false
0
0.020833
0
0.104167
0
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
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
a8e66bca30493a897474cbd828a55b935d9c7ea4
2,809
py
Python
honda/__init__.py
gregjhogan/openioc
d79b17dfe8b6780f8ade248f14264061fe40e630
[ "MIT" ]
17
2020-08-10T00:21:39.000Z
2022-02-19T14:02:24.000Z
honda/__init__.py
gregjhogan/openioc
d79b17dfe8b6780f8ade248f14264061fe40e630
[ "MIT" ]
1
2021-06-05T16:00:39.000Z
2021-06-06T01:53:56.000Z
honda/__init__.py
gregjhogan/openioc
d79b17dfe8b6780f8ade248f14264061fe40e630
[ "MIT" ]
5
2020-08-09T05:30:43.000Z
2021-08-05T12:40:31.000Z
class HondaInputOutputController: def __init__(self, send_func): self.send = send_func def left_turn_signal(self, on): if on: msg = b"\x30\x0a\x0f\x00\x00\x00\x00\x00" else: msg = b"\x20" self.send(0x16f118f0, msg) def right_turn_signal(self, on): if on: msg = b"\x30\x0b\x...
23.02459
62
0.599858
466
2,809
3.527897
0.143777
0.277372
0.312044
0.277372
0.846107
0.846107
0.814477
0.757908
0.638686
0.572993
0
0.210304
0.239943
2,809
121
63
23.214876
0.559719
0
0
0.594059
0
0
0.237892
0.216524
0
0
0.067664
0
0
1
0.19802
false
0
0
0
0.207921
0
0
0
0
null
1
1
1
1
1
1
1
0
0
0
1
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
0f93157fe609a37371eaf51c980572bb6d401bf5
540
py
Python
eval_mosmed_timm-regnetx_002_GridDistortion.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
eval_mosmed_timm-regnetx_002_GridDistortion.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
eval_mosmed_timm-regnetx_002_GridDistortion.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
import os ls=["python main.py --configs configs/eval_mosmed_unetplusplus_timm-regnetx_002_0_GridDistortion.yml", "python main.py --configs configs/eval_mosmed_unetplusplus_timm-regnetx_002_1_GridDistortion.yml", "python main.py --configs configs/eval_mosmed_unetplusplus_timm-regnetx_002_2_GridDistortion.yml", "python ...
49.090909
102
0.846296
80
540
5.3375
0.3
0.117096
0.140515
0.222482
0.885246
0.885246
0.885246
0.885246
0.885246
0.885246
0
0.039293
0.057407
540
11
103
49.090909
0.799607
0
0
0
0
0
0.878004
0.64695
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
7e66fd54ec4030243ee98fbe7fa0d7dbb704af29
79
py
Python
models/__init__.py
mengjian0502/EEE598_FinalProj
6e4b8d0ec79eb3e7aa982f85ecadb7f36cdd7a84
[ "MIT" ]
null
null
null
models/__init__.py
mengjian0502/EEE598_FinalProj
6e4b8d0ec79eb3e7aa982f85ecadb7f36cdd7a84
[ "MIT" ]
null
null
null
models/__init__.py
mengjian0502/EEE598_FinalProj
6e4b8d0ec79eb3e7aa982f85ecadb7f36cdd7a84
[ "MIT" ]
null
null
null
from .mlp import * from .cnn import * from .cnn_q import * from .cnn_b import *
19.75
20
0.708861
14
79
3.857143
0.428571
0.555556
0.722222
0
0
0
0
0
0
0
0
0
0.189873
79
4
21
19.75
0.84375
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
7e76ba567331748655a10d91424f5794a91edf62
22
py
Python
2017.TensorFlow&Python/2.python_syntax/test1.py
primetong/LearningCollectionOfWitt
a15dc8ac80618a3995c2b930c634b87ed8f1f0af
[ "MIT" ]
null
null
null
2017.TensorFlow&Python/2.python_syntax/test1.py
primetong/LearningCollectionOfWitt
a15dc8ac80618a3995c2b930c634b87ed8f1f0af
[ "MIT" ]
14
2020-06-30T20:52:56.000Z
2022-03-02T14:53:18.000Z
2017.TensorFlow&Python/2.python_syntax/test1.py
primetong/LearningCollectionOfWitt
a15dc8ac80618a3995c2b930c634b87ed8f1f0af
[ "MIT" ]
null
null
null
a = 200 + 300 print a
7.333333
13
0.590909
5
22
2.6
0.8
0
0
0
0
0
0
0
0
0
0
0.4
0.318182
22
2
14
11
0.466667
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
7
7e7783c980dfe609c2d5e8d775274e7581af31d2
24,193
bzl
Python
test/starlark_tests/apple_xcframework_tests.bzl
mattrobmattrob/rules_apple
4ebd7cc45edfe6c525c1553a0f5294895653c9df
[ "Apache-2.0" ]
null
null
null
test/starlark_tests/apple_xcframework_tests.bzl
mattrobmattrob/rules_apple
4ebd7cc45edfe6c525c1553a0f5294895653c9df
[ "Apache-2.0" ]
null
null
null
test/starlark_tests/apple_xcframework_tests.bzl
mattrobmattrob/rules_apple
4ebd7cc45edfe6c525c1553a0f5294895653c9df
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 The Bazel Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
53.406181
193
0.720952
2,684
24,193
6.074143
0.084575
0.08158
0.094032
0.067902
0.892412
0.863951
0.822057
0.79562
0.758633
0.72275
0
0.02391
0.178853
24,193
452
194
53.524336
0.796738
0.067127
0
0.55814
0
0.020672
0.614032
0.579663
0
0
0
0
0
1
0.002584
false
0
0
0
0.002584
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
0e1ea1fc4dc5532c5dd8a59e420d43e1d27eee6c
14,390
py
Python
detection/defs.py
perspectalabs/Iliad-GIFT
64799bbe5895bc3875f22a9a94d1031216d92dd4
[ "MIT" ]
1
2021-06-08T15:29:03.000Z
2021-06-08T15:29:03.000Z
detection/defs.py
perspectalabs/Iliad-GIFT
64799bbe5895bc3875f22a9a94d1031216d92dd4
[ "MIT" ]
null
null
null
detection/defs.py
perspectalabs/Iliad-GIFT
64799bbe5895bc3875f22a9a94d1031216d92dd4
[ "MIT" ]
null
null
null
################################# ATTACKS ####################################################### # att dict for untargeted L1 attack for round 3 r3_ut_l1_att = {'type': 'l1', 'kwargs': {'eps': 2000., 'l1_sparsity': 0.99, 'nims': 100, 'targeted': False}} # att dict for random targeted L1 attack for round 3 r3_rt_l1_...
86.167665
175
0.668659
2,206
14,390
3.982321
0.035811
0.052817
0.08469
0.162322
0.953899
0.924872
0.90074
0.880592
0.865339
0.859192
0
0.064928
0.112717
14,390
166
176
86.686747
0.62312
0.075191
0
0
0
0
0.390887
0.00169
0
0
0
0
0
1
0
false
0
0.010309
0
0.010309
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0e72d2100a64490b0018d146d3d32988f5ffe70a
16,175
py
Python
test/ses/test_post_email.py
yunfan/bce-sdk-python
00df2be78cd44373c3d99cd1bb69d17968f30d2b
[ "Apache-2.0" ]
22
2015-10-26T03:00:11.000Z
2021-09-08T09:30:51.000Z
test/ses/test_post_email.py
yunfan/bce-sdk-python
00df2be78cd44373c3d99cd1bb69d17968f30d2b
[ "Apache-2.0" ]
8
2018-07-18T02:47:09.000Z
2020-12-10T02:30:37.000Z
test/ses/test_post_email.py
yunfan/bce-sdk-python
00df2be78cd44373c3d99cd1bb69d17968f30d2b
[ "Apache-2.0" ]
14
2016-01-12T11:57:38.000Z
2021-03-10T03:35:12.000Z
#!/usr/bin/env python #coding:utf-8 """ @author wanglinqing01@baidu.com @date 2014/10/08 @brief post Email """ import os import sys import json import time import traceback _NOW_PATH = os.path.dirname(os.path.abspath(__file__)) + '/' _BCE_PATH = _NOW_PATH + '../' sys.path.insert(0, _BCE_PATH) import bes_base_case fr...
65.48583
5,004
0.651623
2,109
16,175
4.899953
0.10147
0.078769
0.088059
0.135475
0.870041
0.835978
0.809657
0.786723
0.769112
0.753919
0
0.074181
0.184915
16,175
246
5,005
65.752033
0.709648
0.015456
0
0.632653
0
0.010204
0.50341
0.23175
0
0
0
0
0.112245
0
null
null
0.005102
0.045918
null
null
0.081633
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
0e76d767bc077eaf0b0b96f156f317aeedd18ada
12,905
py
Python
tests/ait/core/test_table.py
davidryanshay/AIT-Core
337da653d9c698b3d56ef1eb319c93adb6413829
[ "MIT" ]
1
2022-01-22T13:55:49.000Z
2022-01-22T13:55:49.000Z
tests/ait/core/test_table.py
davidryanshay/AIT-Core
337da653d9c698b3d56ef1eb319c93adb6413829
[ "MIT" ]
2
2021-09-16T19:14:52.000Z
2021-09-16T19:16:03.000Z
tests/ait/core/test_table.py
davidryanshay/AIT-Core
337da653d9c698b3d56ef1eb319c93adb6413829
[ "MIT" ]
null
null
null
import datetime as dt import inspect import os.path import tempfile import unittest import ait.core.dmc as dmc import ait.core.dtype as dtype from ait.core import table test_table = """ - !FSWTable name: test_type delimiter: "," header: - !FSWColumn name: MAGIC_NUM desc: The first column in our ...
27.693133
87
0.530725
1,619
12,905
4.077208
0.102532
0.128011
0.042418
0.031662
0.856385
0.855173
0.845326
0.821694
0.821694
0.790941
0
0.057445
0.361953
12,905
465
88
27.752688
0.744231
0.047269
0
0.756494
0
0
0.218716
0.002287
0
0
0
0
0.340909
1
0.042208
false
0
0.025974
0
0.081169
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
7ee75a1e4b88027829802ef8f634065be8c69f02
136
py
Python
tests/__init__.py
xamQrexii/gw-proxy-serverless
ec7ca7db992cd0e2bd32290a33f956164b480504
[ "Apache-2.0" ]
null
null
null
tests/__init__.py
xamQrexii/gw-proxy-serverless
ec7ca7db992cd0e2bd32290a33f956164b480504
[ "Apache-2.0" ]
null
null
null
tests/__init__.py
xamQrexii/gw-proxy-serverless
ec7ca7db992cd0e2bd32290a33f956164b480504
[ "Apache-2.0" ]
null
null
null
# add modules dependencies to test's sys.path import sys sys.path.append('./modules/OSBot-AWS') sys.path.append('./modules/OSBot-Utils')
34
45
0.757353
22
136
4.681818
0.590909
0.203884
0.252427
0.38835
0.485437
0
0
0
0
0
0
0
0.073529
136
4
46
34
0.81746
0.316176
0
0
0
0
0.434783
0.228261
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
0
0
0
7
7d0ec0cbc80b01acacfded9a188f964e3b934727
7,392
py
Python
ml-dft-sandia/networks/e3nn_example/networks.py
DanielKotik/mala
1b89a78f5ddecb1df21d2753715001ffe4250fc1
[ "BSD-3-Clause" ]
11
2021-09-06T18:59:24.000Z
2022-03-17T13:36:52.000Z
ml-dft-sandia/networks/e3nn_example/networks.py
DanielKotik/mala
1b89a78f5ddecb1df21d2753715001ffe4250fc1
[ "BSD-3-Clause" ]
92
2021-09-04T06:38:14.000Z
2022-03-31T11:01:49.000Z
ml-dft-sandia/networks/e3nn_example/networks.py
DanielKotik/mala
1b89a78f5ddecb1df21d2753715001ffe4250fc1
[ "BSD-3-Clause" ]
10
2021-09-07T13:03:30.000Z
2022-03-23T07:49:14.000Z
## networks for density prediction import numpy as np import torch from functools import partial from e3nn.kernel import Kernel from e3nn.point.operations import Convolution from e3nn.non_linearities import GatedBlock from e3nn.non_linearities import rescaled_act from e3nn.non_linearities.rescaled_act import relu, si...
36.594059
117
0.608766
948
7,392
4.556962
0.166667
0.050926
0.027546
0.014583
0.840741
0.826852
0.813889
0.813889
0.813889
0.813889
0
0.014573
0.294508
7,392
202
118
36.594059
0.813806
0.154356
0
0.721805
0
0
0.026705
0
0
0
0
0
0
1
0.06015
false
0
0.075188
0
0.195489
0.015038
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
7d4a7a1b95fecb1982d7d8746e02567b6b4a3505
21,138
py
Python
tests/signal/test_ControlledInverter16.py
jamesjiang52/Bitwise
c71f151d23034b3f9e2a939f637be0eaa16c45c3
[ "MIT" ]
null
null
null
tests/signal/test_ControlledInverter16.py
jamesjiang52/Bitwise
c71f151d23034b3f9e2a939f637be0eaa16c45c3
[ "MIT" ]
null
null
null
tests/signal/test_ControlledInverter16.py
jamesjiang52/Bitwise
c71f151d23034b3f9e2a939f637be0eaa16c45c3
[ "MIT" ]
null
null
null
import bitwise as bw class TestControlledInverter16: def test_ControlledInverter16(self): enable = bw.wire.Wire() input_1 = bw.wire.Wire() input_2 = bw.wire.Wire() input_3 = bw.wire.Wire() input_4 = bw.wire.Wire() input_5 = bw.wire.Wire() input_6 = bw.wire.W...
27.523438
73
0.487558
3,299
21,138
2.915126
0.012428
0.180306
0.328273
0.075699
0.896849
0.896849
0.896849
0.89425
0.89425
0.89425
0
0.164343
0.413048
21,138
767
74
27.559322
0.610784
0
0
0.847527
0
0
0
0
0
0
0
0
0.048077
1
0.001374
false
0
0.001374
0
0.004121
0.002747
0
0
0
null
0
1
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
8
ada3ecfcf266d5b9fda65cbe51c2da40b7e47f5b
42
py
Python
helloworld.py
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
215
2021-10-01T08:18:16.000Z
2022-03-29T04:12:03.000Z
helloworld.py
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
51
2021-10-01T08:16:42.000Z
2021-10-31T13:51:51.000Z
helloworld.py
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
807
2021-10-01T08:11:45.000Z
2021-11-21T18:57:09.000Z
print("hello world") print("hello World")
14
20
0.714286
6
42
5
0.5
0.666667
1
0
0
0
0
0
0
0
0
0
0.095238
42
2
21
21
0.789474
0
0
0
0
0
0.52381
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
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
0
0
0
1
0
7
bc27e6154a8e6ec21c161ff7aa2eda17c5212f7a
2,278
py
Python
main/js_functions.py
Khanatoshs/MET_BAP
51dd28e7ef909fe259164415c2d3fa8427a9329d
[ "MIT" ]
null
null
null
main/js_functions.py
Khanatoshs/MET_BAP
51dd28e7ef909fe259164415c2d3fa8427a9329d
[ "MIT" ]
null
null
null
main/js_functions.py
Khanatoshs/MET_BAP
51dd28e7ef909fe259164415c2d3fa8427a9329d
[ "MIT" ]
null
null
null
from bokeh.models import CustomJS def DateRangeSlider_callback(source,filter): daterange_callback = CustomJS(args=dict(source=source,filter=filter), code=""" const indices = []; for(var i=0;i<source.get_length();i++){ const current_value = cb_obj.value; const current_date...
37.966667
128
0.641791
285
2,278
4.94386
0.2
0.056778
0.068133
0.068133
0.841732
0.841732
0.824698
0.800568
0.800568
0.800568
0
0.004535
0.225637
2,278
60
129
37.966667
0.794218
0
0
0.596491
0
0.035088
0.612549
0.214129
0
0
0
0
0
1
0.070175
false
0
0.017544
0
0.157895
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
70dd7f83d46be0acb840f283947c8af2323baa58
6,913
py
Python
mnist_testing/mnist_net.py
lightwell64646/cylindricalsfmlearner
2291d30eaa8318961e4e9eeed616e2aa9b22583c
[ "MIT" ]
null
null
null
mnist_testing/mnist_net.py
lightwell64646/cylindricalsfmlearner
2291d30eaa8318961e4e9eeed616e2aa9b22583c
[ "MIT" ]
null
null
null
mnist_testing/mnist_net.py
lightwell64646/cylindricalsfmlearner
2291d30eaa8318961e4e9eeed616e2aa9b22583c
[ "MIT" ]
null
null
null
import tensorflow as tf import sys sys.path.insert(0, "..") from utils import get_loss_categorical, parameter_count import tf_cylindrical as cylin ''' A Keras model that predicts on MNIST since we want to run in eager mode layer.output isn't available. We use self.last_outs instead for calculating secon...
43.477987
102
0.597425
958
6,913
4.141962
0.177453
0.03629
0.074093
0.095262
0.813004
0.803679
0.78755
0.77369
0.766129
0.766129
0
0.035837
0.281499
6,913
159
103
43.477987
0.763036
0.019962
0
0.775862
0
0
0.016376
0
0
0
0
0
0.017241
1
0.086207
false
0
0.034483
0
0.189655
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
cb1b8de0405d477af224f1fd2fe01cfa7778f9a2
56
py
Python
python_strelka_client/protocals/__init__.py
nighttardis/python_strelka_client
1b0698a6f6cd40b77ff887e445d9fd377b997925
[ "Apache-2.0" ]
null
null
null
python_strelka_client/protocals/__init__.py
nighttardis/python_strelka_client
1b0698a6f6cd40b77ff887e445d9fd377b997925
[ "Apache-2.0" ]
null
null
null
python_strelka_client/protocals/__init__.py
nighttardis/python_strelka_client
1b0698a6f6cd40b77ff887e445d9fd377b997925
[ "Apache-2.0" ]
null
null
null
from . import strelka_pb2 from . import strelka_pb2_grpc
28
30
0.839286
9
56
4.888889
0.555556
0.454545
0.772727
0.909091
0
0
0
0
0
0
0
0.040816
0.125
56
2
30
28
0.857143
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
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
cb8df16ec949bcedeb5ecb7e322af5ae01e2b7cd
5,372
py
Python
hexa-beta/rechargeScreen.py
projecthexa/hexa
d3ad27283903bf895c70a4f8aee2c0f899b0c797
[ "MIT" ]
7
2018-09-12T18:53:24.000Z
2021-01-04T04:21:36.000Z
hexa-beta/rechargeScreen.py
SahajKhandelwal/hexa
d3ad27283903bf895c70a4f8aee2c0f899b0c797
[ "MIT" ]
null
null
null
hexa-beta/rechargeScreen.py
SahajKhandelwal/hexa
d3ad27283903bf895c70a4f8aee2c0f899b0c797
[ "MIT" ]
3
2018-05-24T22:16:37.000Z
2019-03-14T10:05:42.000Z
__author__ = 'guru' #state 10 = recharge amount #state 20 = Ask's user to place their finger on FPS #state 30 = Scanning ur finger now #state 31 = account not found #state 40 = recharge successful #screen = 0 vendor,screen = 1 customer. import GLCD as g currentState = 0 fontWidth = 6 lineLength = 21 ...
33.36646
68
0.593261
671
5,372
4.743666
0.113264
0.177191
0.209237
0.238454
0.808043
0.794848
0.770657
0.715049
0.688659
0.630537
0
0.050271
0.211281
5,372
160
69
33.575
0.700968
0.065153
0
0.669492
0
0
0.127581
0
0
0
0
0
0
1
0.050847
false
0
0.008475
0
0.067797
0
0
0
0
null
0
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
cb90d8e2b5e5f919b400fc53b750b8950848e667
740
py
Python
score/number.py
sjoonb/osscap2020
ad8a71b196fcfdbdc3f9ba35e8256083beb4e3b7
[ "Apache-2.0" ]
null
null
null
score/number.py
sjoonb/osscap2020
ad8a71b196fcfdbdc3f9ba35e8256083beb4e3b7
[ "Apache-2.0" ]
9
2020-10-07T07:33:51.000Z
2020-12-01T13:49:11.000Z
score/number.py
sjoonb/osscap2020
ad8a71b196fcfdbdc3f9ba35e8256083beb4e3b7
[ "Apache-2.0" ]
null
null
null
num_0 = [ [1, 1, 1], [1, 0, 1], [1, 0, 1], [1, 0, 1], [1, 1, 1] ] num_1 = [ [0, 1, 0], [0, 1, 0], [0, 1, 0], [0, 1, 0], [0, 1, 0] ] num_2 = [ [1, 1, 1], [0, 0, 1], [1, 1, 1], [1, 0, 0], [1, 1, 1] ] num_3 = [ [1, 1, 1], [0, 0, 1], [1, 1, 1], [0, 0, 1], [1, 1, 1] ] num_4 = [ [1, 0, 1], [1, 0, 1], [1, 1, 1], [0, 0, 1]...
8.222222
11
0.3
187
740
1.128342
0.069519
0.691943
0.63981
0.379147
0.890995
0.890995
0.876777
0.876777
0.78673
0.620853
0
0.337187
0.298649
740
89
12
8.314607
0.069364
0
0
0.675325
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
cbdaef9b95a01d7b35fd7eef2bf2357e1babede8
20,390
py
Python
tests/integration_tests/dashboards/filter_sets/create_api_tests.py
m-ajay/superset
2cd80543581155225f2b538ad8cd5ebc7de5a9ff
[ "Apache-2.0" ]
18,621
2017-06-19T09:57:44.000Z
2021-01-05T06:28:21.000Z
tests/integration_tests/dashboards/filter_sets/create_api_tests.py
m-ajay/superset
2cd80543581155225f2b538ad8cd5ebc7de5a9ff
[ "Apache-2.0" ]
9,043
2017-07-05T16:10:48.000Z
2021-01-05T17:58:01.000Z
tests/integration_tests/dashboards/filter_sets/create_api_tests.py
m-ajay/superset
2cd80543581155225f2b538ad8cd5ebc7de5a9ff
[ "Apache-2.0" ]
5,527
2017-07-06T01:39:43.000Z
2021-01-05T06:01:11.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
32.313788
81
0.677832
2,564
20,390
4.855304
0.057332
0.123624
0.13471
0.180737
0.899992
0.889067
0.880231
0.873002
0.8726
0.871877
0
0.011723
0.25949
20,390
630
82
32.365079
0.812769
0.06258
0
0.738636
0
0
0.009309
0
0
0
0
0
0.140909
1
0.068182
false
0
0.015909
0
0.086364
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
1df85b9a41275cb70dc59fecbfd8bddf6b4483b9
6,875
py
Python
src/beanmachine/ppl/compiler/tests/fix_matrix_scale_test.py
horizon-blue/beanmachine-1
b13e4e3e28ffb860947eb8046863b0cabb581222
[ "MIT" ]
177
2021-12-12T14:19:05.000Z
2022-03-24T05:48:10.000Z
src/beanmachine/ppl/compiler/tests/fix_matrix_scale_test.py
horizon-blue/beanmachine-1
b13e4e3e28ffb860947eb8046863b0cabb581222
[ "MIT" ]
171
2021-12-11T06:12:05.000Z
2022-03-31T20:26:29.000Z
src/beanmachine/ppl/compiler/tests/fix_matrix_scale_test.py
horizon-blue/beanmachine-1
b13e4e3e28ffb860947eb8046863b0cabb581222
[ "MIT" ]
31
2021-12-11T06:27:19.000Z
2022-03-25T13:31:56.000Z
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import unittest import beanmachine.ppl as bm import torch from beanmachine.ppl.inference import BMGInference from torch.distributions impor...
21.894904
86
0.592291
837
6,875
4.770609
0.127838
0.050088
0.039068
0.050088
0.857501
0.843476
0.832457
0.832457
0.782369
0.782369
0
0.052996
0.264436
6,875
313
87
21.964856
0.736603
0.101527
0
0.82377
0
0
0.330409
0.014295
0
0
0
0
0.032787
1
0.036885
false
0
0.020492
0.020492
0.081967
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
0e16148992c9c3e50c6fd39e90122b58a5e52d3e
11,985
py
Python
VL-T5/src/pretrain_model.py
ylsung/VL_adapter
287409f383f89a11764fc45806864693a4d3e498
[ "MIT" ]
41
2021-12-14T02:50:16.000Z
2022-03-30T07:41:19.000Z
VL-T5/src/pretrain_model.py
ylsung/VL_adapter
287409f383f89a11764fc45806864693a4d3e498
[ "MIT" ]
1
2022-01-07T03:31:47.000Z
2022-03-25T00:31:53.000Z
VL-T5/src/pretrain_model.py
ylsung/VL_adapter
287409f383f89a11764fc45806864693a4d3e498
[ "MIT" ]
2
2021-12-14T03:10:18.000Z
2022-03-29T04:59:23.000Z
import torch import torch.nn as nn import torch.nn.functional as F import numpy as np from modeling_t5 import VLT5 class VLT5Pretraining(VLT5): def __init__(self, config): super().__init__(config) self.losses = self.config.losses.split(',') def train_step(self, batch): device = next...
29.739454
95
0.575136
1,514
11,985
4.309115
0.06605
0.04905
0.055181
0.041845
0.949418
0.948804
0.940221
0.940221
0.940221
0.940221
0
0.007186
0.303296
11,985
403
96
29.739454
0.774132
0.01068
0
0.911032
0
0
0.067263
0
0
0
0
0
0.017794
1
0.039146
false
0
0.021352
0
0.099644
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
385abe74ff6b310074d8a38dbe1b7a6acbc293e8
212
py
Python
pinpayments/exceptions.py
branchup/django-pinpayments
e342970c6309facf35b804de9994d326abaa094f
[ "Unlicense" ]
null
null
null
pinpayments/exceptions.py
branchup/django-pinpayments
e342970c6309facf35b804de9994d326abaa094f
[ "Unlicense" ]
null
null
null
pinpayments/exceptions.py
branchup/django-pinpayments
e342970c6309facf35b804de9994d326abaa094f
[ "Unlicense" ]
null
null
null
""" Contains exception types """ from __future__ import unicode_literals class ConfigError(Exception): """ Errors related to configuration """ class PinError(Exception): """ Errors related to Pin """
16.307692
43
0.712264
22
212
6.636364
0.727273
0.205479
0.30137
0.328767
0
0
0
0
0
0
0
0
0.174528
212
12
44
17.666667
0.834286
0.377358
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
385b02c301ec18f738504980abcf084330ced6be
2,599
py
Python
tests/annotate_variants/test_add_annotations.py
Varstation/genmod
991a0fca36936b5dde49a95e8ea1d4336288c7c0
[ "MIT" ]
46
2015-01-15T17:53:22.000Z
2021-08-09T09:35:29.000Z
tests/annotate_variants/test_add_annotations.py
Varstation/genmod
991a0fca36936b5dde49a95e8ea1d4336288c7c0
[ "MIT" ]
55
2015-06-04T09:09:29.000Z
2021-05-20T10:48:18.000Z
tests/annotate_variants/test_add_annotations.py
moonso/genmod
99b6c9510ffc67fd54c07eab24de5db7345ef95d
[ "MIT" ]
15
2015-02-06T04:08:23.000Z
2021-05-04T10:06:58.000Z
from genmod.annotate_variants.add_annotations import (add_regions, add_exac, add_exac_max, add_thousandg, add_thousandg_max, add_spidex, add_cadd, add_cadd_raw, add_cosmic) def test_add_regions(header): key = 'Annotation' # GIVEN a header without key assert key not in header.info_dict # WHEN ...
30.576471
77
0.716814
410
2,599
4.368293
0.104878
0.090452
0.120603
0.160804
0.815187
0.815187
0.815187
0.815187
0.815187
0.815187
0
0.004016
0.233551
2,599
84
78
30.940476
0.89508
0.345902
0
0.375
0
0
0.041866
0
0
0
0
0
0.375
1
0.1875
false
0
0.020833
0
0.208333
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
388697b71d2ffde59abf7e50bc8dea52dfbb96ff
5,545
py
Python
isi_mip/pages/migrations/0007_genericpage.py
ISI-MIP/isimip
c2a78c727337e38f3695031e00afd607da7d6dcb
[ "MIT" ]
4
2017-07-05T08:06:18.000Z
2021-03-01T17:23:18.000Z
isi_mip/pages/migrations/0007_genericpage.py
ISI-MIP/isimip
c2a78c727337e38f3695031e00afd607da7d6dcb
[ "MIT" ]
4
2020-01-31T09:02:57.000Z
2021-04-20T14:04:35.000Z
isi_mip/pages/migrations/0007_genericpage.py
ISI-MIP/isimip
c2a78c727337e38f3695031e00afd607da7d6dcb
[ "MIT" ]
4
2017-10-12T01:48:55.000Z
2020-04-29T13:50:03.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-04-25 10:01 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import isi_mip.pages.blocks import wagtail.core.blocks import wagtail.core.fields import wagtail.embeds.blocks import wagtail.images....
163.088235
4,621
0.727142
628
5,545
6.356688
0.149682
0.217685
0.327906
0.147295
0.826403
0.826403
0.826403
0.826403
0.826403
0.826403
0
0.008133
0.068711
5,545
33
4,622
168.030303
0.764911
0.012083
0
0
1
0
0.120365
0.004201
0
0
0
0
0
1
0
false
0
0.307692
0
0.423077
0
0
0
0
null
1
1
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
12
3897bf4e50bd079352e559bee009816e5a6e71bd
98
py
Python
notifier/providers/__init__.py
kirelagin/pynotifier
4025a7954665e0d6c423510eebf7c692c01ff979
[ "BSD-3-Clause" ]
null
null
null
notifier/providers/__init__.py
kirelagin/pynotifier
4025a7954665e0d6c423510eebf7c692c01ff979
[ "BSD-3-Clause" ]
null
null
null
notifier/providers/__init__.py
kirelagin/pynotifier
4025a7954665e0d6c423510eebf7c692c01ff979
[ "BSD-3-Clause" ]
null
null
null
from notifier.providers.print import PrintNotify from notifier.providers.email import EmailNotify
32.666667
48
0.877551
12
98
7.166667
0.666667
0.27907
0.488372
0
0
0
0
0
0
0
0
0
0.081633
98
2
49
49
0.955556
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.5
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
1
0
8
3899721aa8fca9877f7a38c0c3dbe93129013b37
184
py
Python
yarx/data/__init__.py
mahnerak/yarx
aff3f98714fe940966e6e1ad670e10c059d49985
[ "Apache-2.0" ]
1
2019-08-27T17:38:37.000Z
2019-08-27T17:38:37.000Z
yarx/data/__init__.py
mahnerak/yarx
aff3f98714fe940966e6e1ad670e10c059d49985
[ "Apache-2.0" ]
null
null
null
yarx/data/__init__.py
mahnerak/yarx
aff3f98714fe940966e6e1ad670e10c059d49985
[ "Apache-2.0" ]
1
2019-08-18T18:05:07.000Z
2019-08-18T18:05:07.000Z
from .dataset_readers import FilterConllCorefReader from .dataset_readers import SciERCReader from .dataset_readers import BioRelExDatasetReader from .fields import OptionalListField
30.666667
51
0.88587
19
184
8.421053
0.473684
0.20625
0.3375
0.45
0
0
0
0
0
0
0
0
0.092391
184
5
52
36.8
0.958084
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
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
2a085e1493832e351bcf29f6f07f6293786b43a3
115
py
Python
solutions/python/algorithm/test_add_two_numbers.py
pojozhang/playground
d57786e990c218d6e97da034d0eb4723f05c2ba2
[ "MIT" ]
6
2018-04-12T10:13:40.000Z
2019-02-12T06:32:16.000Z
solutions/python/algorithm/test_add_two_numbers.py
pojozhang/park
81b84bdfb5ff81c4a276691805ef3f718bde4d32
[ "MIT" ]
19
2019-08-11T15:15:53.000Z
2021-02-17T19:13:25.000Z
solutions/python/algorithm/test_add_two_numbers.py
pojozhang/park
81b84bdfb5ff81c4a276691805ef3f718bde4d32
[ "MIT" ]
3
2018-04-12T10:14:40.000Z
2019-07-15T08:41:27.000Z
from add_two_numbers import * def test_add_two_numbers_case_1(): assert two_sum([2, 7, 11, 15], 9) == [0, 1]
19.166667
47
0.669565
22
115
3.136364
0.772727
0.173913
0.376812
0
0
0
0
0
0
0
0
0.106383
0.182609
115
5
48
23
0.62766
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
2a288d7c4f333737c2f187a8c158e9ff591a0681
13,508
py
Python
backend/api/submissions/tests/test_submission_fields.py
patrick91/pycon
9d7e15f540adcf0eaceb61fdbf67206d6aef73ec
[ "MIT" ]
2
2017-07-18T21:51:25.000Z
2017-12-23T11:08:39.000Z
backend/api/submissions/tests/test_submission_fields.py
patrick91/pycon
9d7e15f540adcf0eaceb61fdbf67206d6aef73ec
[ "MIT" ]
23
2017-07-18T20:22:38.000Z
2018-01-05T05:45:15.000Z
backend/api/submissions/tests/test_submission_fields.py
patrick91/pycon
9d7e15f540adcf0eaceb61fdbf67206d6aef73ec
[ "MIT" ]
2
2017-07-18T21:27:33.000Z
2017-07-18T22:07:03.000Z
import pytest from schedule.models import ScheduleItem pytestmark = pytest.mark.django_db QUERY = """ query SubmissionQuery($id: ID!) { submission(id: $id) { abstract audienceLevel { name } elevatorPitch id type { ...
33.939698
88
0.663607
1,427
13,508
6.153469
0.075683
0.148047
0.296094
0.092928
0.895228
0.890104
0.882246
0.877463
0.845462
0.844551
0
0
0.192256
13,508
397
89
34.025189
0.800477
0.024874
0
0.694915
0
0
0.266494
0.01522
0
0
0
0
0.450847
1
0.044068
false
0
0.00678
0.00678
0.061017
0
0
0
0
null
0
1
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
8
2a6be5ba8f66ba0a2032e6dad6d1aa1cc04e1229
2,323
py
Python
Curso estadistica descriptiva/tests/agrupacion de datos cuantitativos/adc.py
DarkShadow4/python
4cd94e0cf53ee06c9c31e9272572ca9656697c30
[ "MIT" ]
null
null
null
Curso estadistica descriptiva/tests/agrupacion de datos cuantitativos/adc.py
DarkShadow4/python
4cd94e0cf53ee06c9c31e9272572ca9656697c30
[ "MIT" ]
null
null
null
Curso estadistica descriptiva/tests/agrupacion de datos cuantitativos/adc.py
DarkShadow4/python
4cd94e0cf53ee06c9c31e9272572ca9656697c30
[ "MIT" ]
1
2020-08-19T17:25:22.000Z
2020-08-19T17:25:22.000Z
# Regla de Scott import pandas as pd import numpy as np import math crabs = pd.read_table("../../../../r-basic/data/datacrab.txt", sep = " ") cw = crabs.width n = len(cw) precision = 0.1 # Número de clases As = 3.5*np.std(cw)*n**(-1/3) Ks = math.ceil((max(cw)-min(cw))/As) # Amplitud de clases (precisión a décimas)...
18.733871
73
0.629359
439
2,323
3.321185
0.148064
0.016461
0.043896
0.071331
0.899177
0.899177
0.874486
0.874486
0.874486
0.874486
0
0.03872
0.166164
2,323
123
74
18.886179
0.713991
0.18898
0
0.702703
0
0
0.081414
0.079272
0
0
0
0
0
1
0
false
0
0.162162
0
0.162162
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
aa5683e54afbfd7df3f8f57d7432e8e2a1aa0c8a
16,236
py
Python
6_schema/project/tests/test_parsers/test_microdata.py
neel-jaris/Python-Web-Scraping-Projects
f77426d1351e5b5ca06aacf415388409d89277a9
[ "MIT" ]
15
2019-03-30T02:41:55.000Z
2022-03-21T05:15:28.000Z
6_schema/project/tests/test_parsers/test_microdata.py
neel-jaris/Python-Web-Scraping-Projects
f77426d1351e5b5ca06aacf415388409d89277a9
[ "MIT" ]
1
2021-12-02T17:32:56.000Z
2021-12-02T17:32:56.000Z
6_schema/project/tests/test_parsers/test_microdata.py
neel-jaris/Python-Web-Scraping-Projects
f77426d1351e5b5ca06aacf415388409d89277a9
[ "MIT" ]
9
2019-12-26T19:35:04.000Z
2022-01-24T15:45:27.000Z
from schema.parsers.microdata import format_microdata def test_microdata(): data = [ { "type": "http://schema.org/Product", "properties": { "image": "https://i5.walmartimages.com/asr/ce1033ea-4934-4098-af07-16d0136689fd_1.5cebe0dbf47d95ddc489e506c8cc28f7.jpeg?odnHei...
48.465672
420
0.370658
1,143
16,236
5.252843
0.225722
0.083944
0.071452
0.045303
0.898068
0.871086
0.799134
0.764823
0.76016
0.76016
0
0.038153
0.509239
16,236
334
421
48.610778
0.715361
0
0
0.636364
0
0.036364
0.420485
0.046933
0
0
0
0
0.00303
1
0.00303
false
0
0.00303
0
0.006061
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
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
aaab047b4aca516dd8a43d9877a26b331c4c27e9
86
py
Python
radar_qcchecks/__init__.py
vlouf/radar-qcchecks
1a81660324623ad025d1ca405ed70f0a8a32cad6
[ "MIT" ]
null
null
null
radar_qcchecks/__init__.py
vlouf/radar-qcchecks
1a81660324623ad025d1ca405ed70f0a8a32cad6
[ "MIT" ]
null
null
null
radar_qcchecks/__init__.py
vlouf/radar-qcchecks
1a81660324623ad025d1ca405ed70f0a8a32cad6
[ "MIT" ]
null
null
null
from .radar_qcchecks import qccheck_radar_odim from .radar_qcchecks import NoRainError
43
46
0.895349
12
86
6.083333
0.583333
0.246575
0.465753
0.630137
0
0
0
0
0
0
0
0
0.081395
86
2
47
43
0.924051
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
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
aaae008fc8d67e5ece4541f5cccfad5e929032fa
165
py
Python
CenterNet/__init__.py
NichaA/CenterNet-pytorch-lightning
b9d38e5de6bf69ebf780501ae3002018f35585e5
[ "Apache-2.0" ]
43
2021-02-26T15:04:42.000Z
2022-03-22T03:02:16.000Z
CenterNet/__init__.py
NichaA/CenterNet-pytorch-lightning
b9d38e5de6bf69ebf780501ae3002018f35585e5
[ "Apache-2.0" ]
31
2021-03-05T07:53:15.000Z
2022-03-31T02:07:41.000Z
CenterNet/__init__.py
NichaA/CenterNet-pytorch-lightning
b9d38e5de6bf69ebf780501ae3002018f35585e5
[ "Apache-2.0" ]
5
2021-04-18T16:51:56.000Z
2022-01-09T21:46:51.000Z
from CenterNet.centernet import CenterNet from CenterNet.centernet_detection import CenterNetDetection from CenterNet.centernet_multi_pose import CenterNetMultiPose
41.25
61
0.909091
18
165
8.166667
0.444444
0.265306
0.44898
0
0
0
0
0
0
0
0
0
0.072727
165
3
62
55
0.960784
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
aab50ec352bbe3507baeb073df885917fe5651df
156
py
Python
src/kw_notebook_core/bokeh.py
wakita/kw_notebook_core
1acbe074f3610ab0308ee7b56db1efe92553129d
[ "MIT" ]
null
null
null
src/kw_notebook_core/bokeh.py
wakita/kw_notebook_core
1acbe074f3610ab0308ee7b56db1efe92553129d
[ "MIT" ]
null
null
null
src/kw_notebook_core/bokeh.py
wakita/kw_notebook_core
1acbe074f3610ab0308ee7b56db1efe92553129d
[ "MIT" ]
null
null
null
def initialize(): from bokeh.plotting import output_notebook, show, figure from bokeh.models import * from bokeh.layouts import * output_notebook()
26
58
0.762821
20
156
5.85
0.6
0.230769
0.34188
0
0
0
0
0
0
0
0
0
0.160256
156
5
59
31.2
0.89313
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0
0.6
0
0.8
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
aabb63f354657bb24ae7801957a1e6495b53531a
25
py
Python
src/hx711_multi/__init__.py
ASU-CS-Research/hx711-multi
72db6c66b408896833c14748776c505bc516c26f
[ "MIT" ]
null
null
null
src/hx711_multi/__init__.py
ASU-CS-Research/hx711-multi
72db6c66b408896833c14748776c505bc516c26f
[ "MIT" ]
null
null
null
src/hx711_multi/__init__.py
ASU-CS-Research/hx711-multi
72db6c66b408896833c14748776c505bc516c26f
[ "MIT" ]
null
null
null
from .hx711 import HX711
12.5
24
0.8
4
25
5
0.75
0
0
0
0
0
0
0
0
0
0
0.285714
0.16
25
1
25
25
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
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
630d486f169774544ec942266bea50f07094a733
123
py
Python
moviemaker3/stacks/__init__.py
friedrichromstedt/moviemaker3
7941a06d43bbbb63e45496044040a163ab97d78d
[ "MIT" ]
1
2018-12-30T18:40:07.000Z
2018-12-30T18:40:07.000Z
moviemaker3/stacks/__init__.py
friedrichromstedt/moviemaker3
7941a06d43bbbb63e45496044040a163ab97d78d
[ "MIT" ]
null
null
null
moviemaker3/stacks/__init__.py
friedrichromstedt/moviemaker3
7941a06d43bbbb63e45496044040a163ab97d78d
[ "MIT" ]
null
null
null
from moviemaker3.stacks.additive import * from moviemaker3.stacks.alpha import * from moviemaker3.stacks.weighted import *
30.75
41
0.829268
15
123
6.8
0.466667
0.441176
0.617647
0.529412
0
0
0
0
0
0
0
0.027027
0.097561
123
3
42
41
0.891892
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
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
630d50342a797675a7e3bd7eef06e31542c2d4bf
34,912
py
Python
safety_gym/algo/safety-starter-agents/scripts/experiment.py
intelligent-control-lab/Model-free-Safe-Controlfor-Zero-Violation-Reinforcement-Learning
fe5aadbef719e572bb36f64b6ab95ec24b5aed9a
[ "MIT" ]
2
2022-03-15T20:29:05.000Z
2022-03-31T03:59:22.000Z
safety_gym/algo/safety-starter-agents/scripts/experiment.py
intelligent-control-lab/Model-free-Safe-Controlfor-Zero-Violation-Reinforcement-Learning
fe5aadbef719e572bb36f64b6ab95ec24b5aed9a
[ "MIT" ]
null
null
null
safety_gym/algo/safety-starter-agents/scripts/experiment.py
intelligent-control-lab/Model-free-Safe-Controlfor-Zero-Violation-Reinforcement-Learning
fe5aadbef719e572bb36f64b6ab95ec24b5aed9a
[ "MIT" ]
1
2022-02-06T09:24:30.000Z
2022-02-06T09:24:30.000Z
#!/usr/bin/env python import gym import safety_gym import safe_rl from safe_rl.utils.run_utils import setup_logger_kwargs from safe_rl.utils.mpi_tools import mpi_fork from safety_gym.envs.engine import Engine # Point # Goal1/2 (60,2) # Push1/2 (76,2) # Button1/2 (76,2) # Robot # Goal1/2 (72,2) # Push1/2 (88,2) # Bu...
58.381271
473
0.619586
4,116
34,912
5.095481
0.076288
0.022696
0.031469
0.012969
0.892528
0.881848
0.878844
0.875316
0.868641
0.864826
0
0.011108
0.283112
34,912
598
474
58.381271
0.826874
0.43624
0
0.720222
0
0
0.265651
0.007463
0
0
0
0
0.00831
1
0.00277
false
0
0.019391
0
0.022161
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
2d5c4f2fdfe6d5f445621527a317b398c68e3889
4,558
py
Python
src/aspire/aspire/em_classavg/image_denoising/image_denoising/ConverterModel/FastModel/test.py
janden/ASPIRE-Python
5bcf831881fd0e42630c3b99671c5ed08de260ea
[ "MIT" ]
null
null
null
src/aspire/aspire/em_classavg/image_denoising/image_denoising/ConverterModel/FastModel/test.py
janden/ASPIRE-Python
5bcf831881fd0e42630c3b99671c5ed08de260ea
[ "MIT" ]
null
null
null
src/aspire/aspire/em_classavg/image_denoising/image_denoising/ConverterModel/FastModel/test.py
janden/ASPIRE-Python
5bcf831881fd0e42630c3b99671c5ed08de260ea
[ "MIT" ]
null
null
null
import numpy as np from ConverterModel.Converter import Converter from scipy.misc import imresize import time import os def test(): data_path = os.path.join(os.pardir, 'test_data', 'example_data_np_array.npy') images = np.load(data_path) num_images = images.shape[2] bandlimit_ratio = 1.0 truncatio...
41.063063
119
0.637999
607
4,558
4.616145
0.176277
0.077088
0.038544
0.044968
0.8601
0.8601
0.850821
0.826552
0.826552
0.826552
0
0.02039
0.246819
4,558
110
120
41.436364
0.795805
0.035981
0
0.714286
0
0
0.153864
0.005699
0
0
0
0
0
1
0.011905
false
0
0.059524
0
0.071429
0.119048
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
2db46071150b79b9805c45839cfc3233c0e65e02
64,695
py
Python
functions/file_functions.py
mtasa-typescript/mtasa-wiki-dump
edea1746850fb6c99d6155d1d7891e2cceb33a5c
[ "MIT" ]
null
null
null
functions/file_functions.py
mtasa-typescript/mtasa-wiki-dump
edea1746850fb6c99d6155d1d7891e2cceb33a5c
[ "MIT" ]
1
2021-02-24T21:50:18.000Z
2021-02-24T21:50:18.000Z
functions/file_functions.py
mtasa-typescript/mtasa-wiki-dump
edea1746850fb6c99d6155d1d7891e2cceb33a5c
[ "MIT" ]
null
null
null
# Autogenerated file. ANY CHANGES WILL BE OVERWRITTEN from to_python.core.types import FunctionType, \ FunctionArgument, \ FunctionArgumentValues, \ FunctionReturnTypes, \ FunctionSignature, \ FunctionDoc, \ FunctionData, \ CompoundFunctionData DUMP_PARTIAL = [ CompoundFunctionData( ...
42.759418
544
0.381652
4,260
64,695
5.719484
0.064789
0.033901
0.043095
0.057131
0.99134
0.987646
0.97164
0.97164
0.97164
0.97164
0
0.000967
0.552516
64,695
1,512
545
42.787698
0.840656
0.000788
0
0.846622
1
0.040541
0.237585
0.008818
0
0
0
0
0
1
0
false
0.002703
0.000676
0
0.000676
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
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
9
2dd59d9a50842904e792b27003a58e05d6f0615f
33,976
py
Python
tests/unit/modules/nxos/nxos_config.py
Noah-Huppert/salt
998c382f5f2c3b4cbf7d96aa6913ada6993909b3
[ "Apache-2.0" ]
19
2016-01-29T14:37:52.000Z
2022-03-30T18:08:01.000Z
tests/unit/modules/nxos/nxos_config.py
Noah-Huppert/salt
998c382f5f2c3b4cbf7d96aa6913ada6993909b3
[ "Apache-2.0" ]
223
2016-03-02T16:39:41.000Z
2022-03-03T12:26:35.000Z
tests/unit/modules/nxos/nxos_config.py
Noah-Huppert/salt
998c382f5f2c3b4cbf7d96aa6913ada6993909b3
[ "Apache-2.0" ]
64
2016-02-04T19:45:26.000Z
2021-12-15T02:02:31.000Z
# -*- coding: utf-8 -*- template_engine_file_str = "no feature ospf" config_result = [["no feature ospf"], [{}]] initial_config = [ "\n!Command: show running-config\n!Running configuration last done at: Wed Dec 4 15:33:48 2019\n!Time: Wed Dec 4 15:33:55 2019\n\nversion 9.2(4) Bios:version 07.66 \nhostname n9k-...
134.825397
6,290
0.719626
4,593
33,976
5.286305
0.082081
0.121417
0.158155
0.103295
0.960091
0.958979
0.951647
0.949794
0.947446
0.942504
0
0.07918
0.145426
33,976
251
6,291
135.36255
0.757052
0.000618
0
0.200873
0
0.017467
0.984508
0.371101
0
0
0.024033
0
0
1
0
false
0.091703
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
10
936c12de11bd451bfdff49fd7103d0bddb25ce2d
8,311
py
Python
src/TASK_train_E-BP_Emo2beh_seq_model/TASK_couple_sequence_model _with_pretrained_E-BP/Model_class_sequence_couple_pretrained_CMU.py
haoqi/emotions_as_primitives_towards_behavior_understanding
5d82bb0265e585da1cd0144bb93b28dc5cb0e710
[ "0BSD" ]
2
2020-08-13T18:26:46.000Z
2021-04-07T18:58:48.000Z
src/TASK_train_E-BP_Emo2beh_seq_model/TASK_couple_sequence_model _with_pretrained_E-BP/Model_class_sequence_couple_pretrained_CMU.py
haoqi/emotions_as_primitives_towards_behavior_understanding
5d82bb0265e585da1cd0144bb93b28dc5cb0e710
[ "0BSD" ]
null
null
null
src/TASK_train_E-BP_Emo2beh_seq_model/TASK_couple_sequence_model _with_pretrained_E-BP/Model_class_sequence_couple_pretrained_CMU.py
haoqi/emotions_as_primitives_towards_behavior_understanding
5d82bb0265e585da1cd0144bb93b28dc5cb0e710
[ "0BSD" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jan 10 16:00:42 2019 @author: haoqi """ import torch import torch.nn as nn import pdb device = torch.device("cuda" if torch.cuda.is_available() else "cpu") # the model is based on CMU emotion # Base_1D_NN_fixed_seq_len_1s_majvote_v2 #--------------...
40.541463
119
0.586572
1,241
8,311
3.659952
0.097502
0.05284
0.063408
0.05284
0.945839
0.945839
0.935931
0.935931
0.935931
0.935931
0
0.056547
0.278667
8,311
204
120
40.740196
0.701084
0.172422
0
0.838926
0
0
0.001024
0
0
0
0
0
0
1
0.080537
false
0
0.020134
0.026846
0.181208
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
fab758dc8f7ee10af088488b1baa483e1f8234ed
5,441
py
Python
src/djangoEstimator/periodtype.py
ronjones340/andelas
8d5212f211eb9735db3d154fff942f0fccdb6d48
[ "MIT" ]
null
null
null
src/djangoEstimator/periodtype.py
ronjones340/andelas
8d5212f211eb9735db3d154fff942f0fccdb6d48
[ "MIT" ]
1
2021-05-11T10:32:40.000Z
2021-05-11T10:32:40.000Z
src/djangoEstimator/periodtype.py
ronjones340/andelas
8d5212f211eb9735db3d154fff942f0fccdb6d48
[ "MIT" ]
null
null
null
from math import trunc def days(data): impact = {} severeImpact = {} impact['currentlyInfected'] = data['reportedCases'] * 10 severeImpact['currentlyInfected'] = data['reportedCases'] * 50 impact['infectionsByRequestedTime'] = impact['currentlyInfected'] * pow(2, trunc(data['timeToElapse'] / 3)) ...
70.662338
194
0.736813
398
5,441
10.072864
0.100503
0.116737
0.107758
0.083063
0.990771
0.990771
0.990771
0.990771
0.989274
0.989274
0
0.020604
0.11689
5,441
77
195
70.662338
0.813736
0
0
0.821918
0
0
0.468026
0.31753
0
0
0
0
0
1
0.041096
false
0
0.013699
0
0.09589
0
0
0
1
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
8
faceb4a7e5182ecb91fa809d8a2314d489b407c1
282
py
Python
python/testData/inspections/PyTupleAssignmentBalanceInspection/py4358.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/inspections/PyTupleAssignmentBalanceInspection/py4358.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/inspections/PyTupleAssignmentBalanceInspection/py4358.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
a, b = <warning descr="Too many values to unpack">[1, 2, 3]</warning> a, b = <warning descr="Too many values to unpack">'str'</warning> a, b = <warning descr="Too many values to unpack">{1, 2, 3}</warning> a, b = <warning descr="Too many values to unpack">{1:2, 2: 3, 3:4}</warning>
70.5
76
0.648936
53
282
3.45283
0.264151
0.043716
0.196721
0.306011
0.923497
0.923497
0.923497
0.923497
0.923497
0.923497
0
0.05
0.148936
282
4
76
70.5
0.7125
0
0
0
0
0
0.363958
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
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
1
0
0
0
0
0
0
0
0
10
faf68a4c49d6ca83f7a9567e415a06f7e8620d4c
185
py
Python
rasengan/test_print.py
se4u/rasengan
9b327b207559b829fcb870f80e6e0df7c6394ca5
[ "MIT" ]
1
2017-12-07T20:12:21.000Z
2017-12-07T20:12:21.000Z
rasengan/test_print.py
se4u/rasengan
9b327b207559b829fcb870f80e6e0df7c6394ca5
[ "MIT" ]
null
null
null
rasengan/test_print.py
se4u/rasengan
9b327b207559b829fcb870f80e6e0df7c6394ca5
[ "MIT" ]
null
null
null
import rasengan rasengan.setup_print_indent() rasengan.increase_print_indent() print 1 print '1' rasengan.increase_print_indent() print '2' rasengan.decrease_print_indent() print '123'
18.5
32
0.827027
26
185
5.576923
0.384615
0.303448
0.331034
0.372414
0.441379
0
0
0
0
0
0
0.035088
0.075676
185
9
33
20.555556
0.812866
0
0
0.222222
0
0
0.027027
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.888889
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
1
0
0
0
0
0
0
1
0
7