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
49dc098c0c8330e1a6b91e5b418f7367a2f98e64
77
py
Python
arxivpy/__init__.py
titipata/arxiv_parser
96e8fde4515b3fdb1896241c5f0b0d9e737b8aec
[ "MIT" ]
53
2016-09-28T17:13:01.000Z
2022-03-18T03:01:11.000Z
arxivpy/__init__.py
titipata/arxiv_parser
96e8fde4515b3fdb1896241c5f0b0d9e737b8aec
[ "MIT" ]
6
2016-09-28T05:37:43.000Z
2019-03-08T16:51:23.000Z
arxivpy/__init__.py
titipata/arxiv_parser
96e8fde4515b3fdb1896241c5f0b0d9e737b8aec
[ "MIT" ]
20
2016-09-29T05:01:53.000Z
2022-03-18T03:01:16.000Z
from .arxiv import query, generate_query, generate_query_from_text, download
38.5
76
0.857143
11
77
5.636364
0.636364
0.419355
0.580645
0
0
0
0
0
0
0
0
0
0.090909
77
1
77
77
0.885714
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
49fdea2d36afc8a87f03008c9fb403933400d510
1,411
py
Python
pytealutils/applications/defaults.py
barnjamin/pyteal-utils
b4dcce3801aeb2a08ff171762d57f37ab8cbb5c1
[ "MIT" ]
6
2021-11-08T13:20:53.000Z
2022-01-05T13:23:42.000Z
pytealutils/applications/defaults.py
gmcgoldr/pyteal-utils
3716ff74312d5136df89456e3db711037edccdcb
[ "MIT" ]
null
null
null
pytealutils/applications/defaults.py
gmcgoldr/pyteal-utils
3716ff74312d5136df89456e3db711037edccdcb
[ "MIT" ]
1
2021-12-10T12:37:53.000Z
2021-12-10T12:37:53.000Z
from pyteal import Subroutine, Expr, TealType, Approve, Reject from .application import Application class DefaultApprove(Application): @staticmethod @Subroutine(TealType.uint64) def create() -> Expr: return Approve() @staticmethod @Subroutine(TealType.uint64) def update() -> Expr: ...
21.059701
62
0.630758
126
1,411
7.063492
0.174603
0.296629
0.404494
0.485393
0.850562
0.850562
0.850562
0.850562
0.148315
0
0
0.022967
0.259391
1,411
66
63
21.378788
0.828708
0
0
0.923077
0
0
0
0
0
0
0
0
0
1
0.230769
true
0
0.038462
0.230769
0.538462
0
0
0
0
null
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
12
b717efb94d05b636e9ed03fde67aceef4563c02a
3,020
py
Python
test/test_core.py
mcieslik-mctp/moke
5768245b66d35d23bf2d2c918657aa2ce0061197
[ "MIT" ]
1
2018-11-20T20:39:28.000Z
2018-11-20T20:39:28.000Z
test/test_core.py
mcieslik-mctp/moke
5768245b66d35d23bf2d2c918657aa2ce0061197
[ "MIT" ]
1
2018-12-13T21:06:54.000Z
2018-12-13T21:06:54.000Z
test/test_core.py
mcieslik-mctp/moke
5768245b66d35d23bf2d2c918657aa2ce0061197
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Tests for ``moke.core`` """ import unittest import moke.core import os from moke.util import run_app class Test_util(unittest.TestCase): def test_path(self): assert moke.util.path def setUp(self): os.chdir("scripts") def tearDown(self): ...
26.964286
88
0.522848
426
3,020
3.56338
0.171362
0.071146
0.100791
0.134387
0.774045
0.746377
0.746377
0.737154
0.737154
0.735178
0
0.023937
0.322185
3,020
112
89
26.964286
0.717636
0.021854
0
0.759036
0
0
0.196877
0
0
0
0
0
0.421687
1
0.240964
false
0
0.048193
0
0.301205
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
8
3fd7144dc66d51a1d8592434bb64a49d9e5b5bbc
25,893
py
Python
src/python_pachyderm/proto/v2/identity/identity_pb2_grpc.py
sjezewski/pypachy
4bc022d0c73140475f9bd0acd5c0e7204609de26
[ "Apache-2.0" ]
57
2018-02-25T16:23:47.000Z
2022-02-08T08:48:12.000Z
src/python_pachyderm/proto/v2/identity/identity_pb2_grpc.py
sjezewski/pypachy
4bc022d0c73140475f9bd0acd5c0e7204609de26
[ "Apache-2.0" ]
209
2018-02-16T14:31:25.000Z
2022-03-15T15:24:19.000Z
src/python_pachyderm/proto/v2/identity/identity_pb2_grpc.py
sjezewski/pypachy
4bc022d0c73140475f9bd0acd5c0e7204609de26
[ "Apache-2.0" ]
23
2018-02-16T15:31:46.000Z
2022-03-09T20:41:31.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc from python_pachyderm.proto.v2.identity import identity_pb2 as python__pachyderm_dot_proto_dot_v2_dot_identity_dot_identity__pb2 class APIStub(object): """...
55.924406
156
0.720233
2,461
25,893
7.067452
0.052824
0.099925
0.081757
0.104467
0.869258
0.869258
0.846835
0.818433
0.815328
0.808774
0
0.009256
0.219751
25,893
462
157
56.045455
0.851656
0.044105
0
0.517413
1
0
0.069254
0.037428
0
0
0
0
0
1
0.069652
false
0
0.004975
0.032338
0.114428
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
3ffea17658edd656c315ff8718911b71cac901da
8,327
py
Python
forecasting/short_term_forecasting.py
nareshram256/EnergyManagementSystem
2a48ba3b9bf7ff3003c197ee43ea9efbfbe42baa
[ "MIT" ]
9
2020-04-24T14:34:16.000Z
2022-01-25T07:16:03.000Z
forecasting/short_term_forecasting.py
casemsee/EnergyManagementSystem
2a48ba3b9bf7ff3003c197ee43ea9efbfbe42baa
[ "MIT" ]
null
null
null
forecasting/short_term_forecasting.py
casemsee/EnergyManagementSystem
2a48ba3b9bf7ff3003c197ee43ea9efbfbe42baa
[ "MIT" ]
7
2019-09-19T13:26:02.000Z
2021-11-27T09:53:54.000Z
# Short_term forecasting for local energy management system # Include the pv forecasting, wp forecasting, # In this forecasting system, the tensor flow will be deployed and used. # The offline training and on-line forecasting are adopted. from modelling.database.database_format import db_short_term_forecasting,one_min...
30.726937
100
0.778312
1,271
8,327
4.731707
0.064516
0.09428
0.209511
0.139009
0.889757
0.881111
0.878783
0.841204
0.79581
0.76987
0
0.006793
0.116128
8,327
271
101
30.726937
0.810326
0.090549
0
0.758974
0
0
0.017467
0
0
0
0
0
0
1
0.066667
false
0
0.015385
0
0.148718
0
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
b208b9baa3be87aab480c225cedd40b67aee0cc9
96
py
Python
palettable/colorbrewer/sequential.py
chebee7i/palettable
9e6202080837efc6ce55d9c040ffa73b47cb6795
[ "MIT" ]
null
null
null
palettable/colorbrewer/sequential.py
chebee7i/palettable
9e6202080837efc6ce55d9c040ffa73b47cb6795
[ "MIT" ]
null
null
null
palettable/colorbrewer/sequential.py
chebee7i/palettable
9e6202080837efc6ce55d9c040ffa73b47cb6795
[ "MIT" ]
1
2022-02-09T07:06:24.000Z
2022-02-09T07:06:24.000Z
from .colorbrewer import _load_maps_by_type globals().update(_load_maps_by_type('sequential'))
24
50
0.833333
14
96
5.142857
0.714286
0.222222
0.277778
0.388889
0
0
0
0
0
0
0
0
0.0625
96
3
51
32
0.8
0
0
0
0
0
0.104167
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
b7a248dc007d30eea41405be7519737dc8451723
771
py
Python
tests/unit_tests/gov_uk_dashboards/formatting/test_round_thousands_to_1dp.py
communitiesuk/pkg_gov_uk_dashboards
b92fc51cde31d929dd11ba3acb9256b93f865986
[ "MIT" ]
1
2022-01-31T10:15:33.000Z
2022-01-31T10:15:33.000Z
tests/unit_tests/gov_uk_dashboards/formatting/test_round_thousands_to_1dp.py
communitiesuk/GOV_UK_Colours
5509b452358f345b370be8fcfd708e898961c03a
[ "MIT" ]
2
2022-02-04T12:38:37.000Z
2022-03-21T09:25:27.000Z
tests/unit_tests/gov_uk_dashboards/formatting/test_round_thousands_to_1dp.py
communitiesuk/Plotly_utilities
f1dfb48bec17b3b089b2760a132ba2a31942a39a
[ "MIT" ]
1
2022-03-31T12:25:40.000Z
2022-03-31T12:25:40.000Z
from gov_uk_dashboards.formatting.rounding import round_thousands_to_1dp def test_round_thousands_to_1dp_returns_rounded_billions(): assert round_thousands_to_1dp(1_234_567_890) == 1_200_000_000 assert round_thousands_to_1dp(45_678_987_654) == 45_700_000_000 def test_round_thousands_to_1dp_returns_rounded_m...
35.045455
72
0.8262
131
771
4.244275
0.244275
0.327338
0.374101
0.444245
0.766187
0.766187
0.766187
0.766187
0.284173
0
0
0.170306
0.108949
771
21
73
36.714286
0.63901
0
0
0
0
0
0
0
0
0
0
0
0.615385
1
0.307692
true
0
0.076923
0
0.384615
0
0
0
0
null
1
1
1
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
0
0
0
9
b7a4a7f579b22ee53f15f355e23da97821c91ead
6,332
py
Python
pkgs/conf-pkg/src/genie/libs/conf/keychains/nxos/tests/test_keychains.py
CiscoTestAutomation/genielibs
becee8a1a85f4973e00859e3244e2c8fe45a394c
[ "Apache-2.0" ]
94
2018-04-30T20:29:15.000Z
2022-03-29T13:40:31.000Z
pkgs/conf-pkg/src/genie/libs/conf/keychains/nxos/tests/test_keychains.py
patrickboertje/genielibs
61c37aacf3dd0f499944555e4ff940f92f53dacb
[ "Apache-2.0" ]
67
2018-12-06T21:08:09.000Z
2022-03-29T18:00:46.000Z
pkgs/conf-pkg/src/genie/libs/conf/keychains/nxos/tests/test_keychains.py
patrickboertje/genielibs
61c37aacf3dd0f499944555e4ff940f92f53dacb
[ "Apache-2.0" ]
49
2018-06-29T18:59:03.000Z
2022-03-10T02:07:59.000Z
#!/usr/bin/env python # import python import unittest # import genie from genie.tests.conf import TestCase from genie.conf import Genie from genie.conf.base import Testbed, Device, Interface # import genie.libs from genie.libs.conf.keychains import Keychains class test_keychains(TestCase): def test_keychains_c...
37.247059
81
0.587808
755
6,332
4.754967
0.111258
0.053482
0.068802
0.083287
0.909749
0.909749
0.901393
0.901393
0.901393
0.901393
0
0.030501
0.275111
6,332
169
82
37.467456
0.751634
0.010265
0
0.856061
0
0
0.120549
0.007345
0
0
0
0
0.204545
1
0.022727
false
0
0.037879
0
0.068182
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
b7abd8c8cbd6e992516860ba84ea777cc38c24ed
147
py
Python
srcWatteco/TICs/__init__.py
OStephan29/Codec-Python
76d651bb23daf1d9307c8b84533d9f24a59cea28
[ "BSD-3-Clause" ]
1
2022-01-12T15:46:58.000Z
2022-01-12T15:46:58.000Z
srcWatteco/TICs/__init__.py
OStephan29/Codec-Python
76d651bb23daf1d9307c8b84533d9f24a59cea28
[ "BSD-3-Clause" ]
null
null
null
srcWatteco/TICs/__init__.py
OStephan29/Codec-Python
76d651bb23daf1d9307c8b84533d9f24a59cea28
[ "BSD-3-Clause" ]
1
2021-10-05T08:40:15.000Z
2021-10-05T08:40:15.000Z
from ._TIC_Tools import * from ._TIC_Types import * from .TIC_CBE import * from .TIC_STD import * from .TIC_PMEPMI import * from .TIC_ICE import *
21
25
0.755102
24
147
4.291667
0.375
0.407767
0.631068
0
0
0
0
0
0
0
0
0
0.163265
147
6
26
24.5
0.837398
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
b7e38ecd30b1b096ee4a54bbb0c3790a89cf0061
4,650
py
Python
scripts/rpc/deploy_contract.py
gl12138/ann
9ebdae5bf08e2402881fbfb7eabbb06fc7295fdd
[ "Apache-2.0" ]
44
2018-08-16T09:50:36.000Z
2019-11-18T11:29:00.000Z
scripts/rpc/deploy_contract.py
gl12138/ann
9ebdae5bf08e2402881fbfb7eabbb06fc7295fdd
[ "Apache-2.0" ]
5
2019-02-13T07:12:46.000Z
2019-11-22T05:45:49.000Z
scripts/rpc/deploy_contract.py
gl12138/ann
9ebdae5bf08e2402881fbfb7eabbb06fc7295fdd
[ "Apache-2.0" ]
13
2018-08-28T09:30:03.000Z
2019-11-13T05:35:13.000Z
from requests import Session 0x0104994735dfcf60eb43bb5286334a7a83b622685fc3feb92247c65cc4b4cd55497fbc767f2e59a222abb650e5f411d9f7b6266b49439cdb348d859e33e89846bcaf d = { 'nonce': "1", 'from': '0x', 'value': "100000", 'pubkey': '0x0104994735dfcf60eb43bb5286334a7a83b622685fc3feb92247c65cc4b4cd55497fbc76...
244.736842
4,109
0.970323
38
4,650
118.5
0.789474
0
0
0
0
0
0
0
0
0
0
0.821538
0.015484
4,650
18
4,110
258.333333
0.16208
0
0
0
0
0
0.927957
0.909247
0
1
0.938065
0
0
1
0
false
0
0.071429
0
0.071429
0.071429
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
1
0
0
0
0
0
0
0
0
0
0
0
9
4d26479da4ea9aab165f20ff1147d7f039b817a2
157
py
Python
app/generators/__init__.py
LizaKoval/task_1
197981e7fcc22c7d168f1105f283c6bdbd570d7d
[ "Unlicense" ]
null
null
null
app/generators/__init__.py
LizaKoval/task_1
197981e7fcc22c7d168f1105f283c6bdbd570d7d
[ "Unlicense" ]
null
null
null
app/generators/__init__.py
LizaKoval/task_1
197981e7fcc22c7d168f1105f283c6bdbd570d7d
[ "Unlicense" ]
1
2022-03-13T14:41:28.000Z
2022-03-13T14:41:28.000Z
import app.generators.abstractstatsservice, app.generators.general_stats_generator, app.generators.usage_stats_generator, app.generators.bike_stats_generator
157
157
0.904459
19
157
7.157895
0.473684
0.382353
0.25
0.397059
0
0
0
0
0
0
0
0
0.025478
157
1
157
157
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
9
4d63bfaa581a01634e7e689ce4b388d88d073c99
14,294
py
Python
snypy/teams/tests/test_team_snippet_permissions.py
sterapps/snypy-backend
e4733a1b7bf041c79c66ce74e64cc428d3c6ba5d
[ "MIT" ]
2
2018-06-21T07:51:30.000Z
2019-06-01T14:17:07.000Z
snypy/teams/tests/test_team_snippet_permissions.py
nezhar/snypy-backend
0673b7dc7dc8b730639e0f634dcaa8b8178151e0
[ "MIT" ]
33
2018-05-10T10:37:46.000Z
2021-10-30T11:07:22.000Z
snypy/teams/tests/test_team_snippet_permissions.py
sterapps/snypy-backend
e4733a1b7bf041c79c66ce74e64cc428d3c6ba5d
[ "MIT" ]
3
2019-06-12T08:53:37.000Z
2020-10-28T17:21:02.000Z
import json from django.contrib.auth.models import Permission from django.urls import reverse from core.tests import BaseAPITestCase from snippets.models import Snippet from teams.models import Team, UserTeam class BaseTeamApiTestCase(BaseAPITestCase): url = reverse("snippet-list") def setUp(self): ...
42.165192
116
0.708339
1,823
14,294
5.39989
0.070762
0.089395
0.071312
0.100569
0.903291
0.892828
0.892828
0.878302
0.856359
0.845083
0
0.01919
0.17245
14,294
338
117
42.289941
0.813002
0.046593
0
0.783186
0
0
0.048435
0
0
0
0
0
0.358407
1
0.141593
false
0
0.026549
0
0.199115
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
4d6b23c9188f3bb21de6715e0d9e3e2da7ecafd7
6,191
py
Python
mmdet/core/bbox/geometry.py
qilei123/mmdetection_rop
cbdbb2b521c94c2f3eeebb2f2069663199f679bc
[ "Apache-2.0" ]
null
null
null
mmdet/core/bbox/geometry.py
qilei123/mmdetection_rop
cbdbb2b521c94c2f3eeebb2f2069663199f679bc
[ "Apache-2.0" ]
null
null
null
mmdet/core/bbox/geometry.py
qilei123/mmdetection_rop
cbdbb2b521c94c2f3eeebb2f2069663199f679bc
[ "Apache-2.0" ]
null
null
null
import torch def bbox_overlaps(bboxes1, bboxes2, mode='iou', is_aligned=False): """Calculate overlap between two set of bboxes. If ``is_aligned`` is ``False``, then calculate the ious between each bbox of bboxes1 and bboxes2, otherwise the ious between each aligned pair of bboxes1 and bboxes2. A...
37.981595
139
0.504442
804
6,191
3.792289
0.105721
0.044605
0.054116
0.03411
0.851755
0.784847
0.784847
0.762545
0.752378
0.722204
0
0.072877
0.315135
6,191
163
140
37.981595
0.646226
0.201098
0
0.839506
0
0
0.008172
0
0
0
0
0
0.049383
1
0.024691
false
0
0.012346
0
0.098765
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
4d94b51c294da1e5fc1b4d5800daeda5a4012c3a
7,753
py
Python
tests/conftest.py
akebrissman/gateway
84f8093af854418f64175dd499c021b6d71f85d2
[ "MIT" ]
null
null
null
tests/conftest.py
akebrissman/gateway
84f8093af854418f64175dd499c021b6d71f85d2
[ "MIT" ]
2
2019-10-25T18:58:18.000Z
2019-11-16T13:10:38.000Z
tests/conftest.py
akebrissman/gateway
84f8093af854418f64175dd499c021b6d71f85d2
[ "MIT" ]
2
2019-10-17T09:06:09.000Z
2019-10-18T10:09:13.000Z
import pytest import os from datetime import datetime, timedelta from jose import jwt from gateway import create_app from gateway import db from gateway.models.firebase import FirebaseModel def read_file(file_name: str) -> str: try: f = open(file_name, "r") data = f.read() f.close() e...
29.934363
89
0.608668
995
7,753
4.603015
0.127638
0.030568
0.036681
0.041921
0.850437
0.834498
0.829258
0.814629
0.814629
0.806769
0
0.032319
0.253708
7,753
258
90
30.050388
0.759246
0.166129
0
0.739884
0
0
0.17009
0
0
0
0
0.003876
0
1
0.092486
false
0
0.040462
0
0.17341
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
12a6d345ea7c2b866dc1c0b193cd833d6cdbbcb2
4,883
py
Python
networkapi/api_equipment/v4/tests/sanity/test_equipment_delete.py
vinicius-marinho/GloboNetworkAPI
94651d3b4dd180769bc40ec966814f3427ccfb5b
[ "Apache-2.0" ]
73
2015-04-13T17:56:11.000Z
2022-03-24T06:13:07.000Z
networkapi/api_equipment/v4/tests/sanity/test_equipment_delete.py
leopoldomauricio/GloboNetworkAPI
3b5b2e336d9eb53b2c113977bfe466b23a50aa29
[ "Apache-2.0" ]
99
2015-04-03T01:04:46.000Z
2021-10-03T23:24:48.000Z
networkapi/api_equipment/v4/tests/sanity/test_equipment_delete.py
shildenbrand/GloboNetworkAPI
515d5e961456cee657c08c275faa1b69b7452719
[ "Apache-2.0" ]
64
2015-08-05T21:26:29.000Z
2022-03-22T01:06:28.000Z
# -*- coding: utf-8 -*- import logging from django.test.client import Client from networkapi.test.test_case import NetworkApiTestCase log = logging.getLogger(__name__) class EquipmentDeleteTestCase(NetworkApiTestCase): fixtures = [ 'networkapi/system/fixtures/initial_variables.json', 'networka...
35.904412
76
0.676224
536
4,883
5.958955
0.164179
0.140889
0.095805
0.146525
0.868503
0.857858
0.849718
0.825297
0.80025
0.80025
0
0.017277
0.217694
4,883
135
77
36.17037
0.818848
0.043621
0
0.78125
0
0
0.436493
0.364281
0
0
0
0
0
1
0.072917
false
0.020833
0.03125
0
0.145833
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
12e9bdc0be320959bdcf6f251049975fade2cea0
4,155
py
Python
netbox/extras/migrations/0036_contenttype_filters_to_q_objects.py
BrnoPCmaniak/netbox
7b517abdb68a6324950dfd0375861163c7bfff00
[ "Apache-2.0" ]
2
2021-06-02T03:00:05.000Z
2021-07-30T18:52:32.000Z
netbox/extras/migrations/0036_contenttype_filters_to_q_objects.py
emersonfelipesp/netbox
fecca5ad83fb6b48a2f15982dfd3242653f105f9
[ "Apache-2.0" ]
4
2021-06-08T22:29:06.000Z
2022-03-12T00:48:51.000Z
netbox/extras/migrations/0036_contenttype_filters_to_q_objects.py
emersonfelipesp/netbox
fecca5ad83fb6b48a2f15982dfd3242653f105f9
[ "Apache-2.0" ]
1
2018-12-05T12:03:21.000Z
2018-12-05T12:03:21.000Z
# Generated by Django 2.2.8 on 2020-01-15 21:18 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('extras', '0035_deterministic_ordering'), ] operations = [ migrations.AlterField( model_name='cu...
103.875
857
0.638026
455
4,155
5.584615
0.206593
0.099174
0.102322
0.153483
0.770563
0.770563
0.770563
0.749311
0.749311
0.731208
0
0.005237
0.126835
4,155
39
858
106.538462
0.695149
0.01083
0
0.424242
1
0
0.411392
0.035784
0
0
0
0
0
1
0
false
0
0.060606
0
0.151515
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
12ecd07de05a69ba95f69272f3f91241bc10e50a
4,626
py
Python
lightseq/training/ops/pytorch/layer_base.py
hutao965/lightseq
0e3050c4f872ce3581b663a055be032c72102196
[ "Apache-2.0" ]
1
2022-03-27T17:16:16.000Z
2022-03-27T17:16:16.000Z
lightseq/training/ops/pytorch/layer_base.py
iRmantou/lightseq
9a617306fa711a3d6a25ef3eab9bfbe408692189
[ "Apache-2.0" ]
null
null
null
lightseq/training/ops/pytorch/layer_base.py
iRmantou/lightseq
9a617306fa711a3d6a25ef3eab9bfbe408692189
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass from torch import nn from lightseq.training.ops.pytorch.util import MODEL_ARCH, check_config class TransformerEncoderLayerBase(nn.Module): """Initialize the Lightseq Transformer Encoder Layer. Static variable: layer_id: The layer-index counter starting from 0 and inc...
38.87395
122
0.648725
568
4,626
5.163732
0.223592
0.040914
0.032731
0.038868
0.876236
0.876236
0.876236
0.876236
0.876236
0.876236
0
0.010148
0.297017
4,626
118
123
39.20339
0.891759
0.461089
0
0.823529
0
0
0.048593
0
0
0
0
0
0
1
0.044118
false
0
0.044118
0
0.220588
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
42295055d024cef7149d4ff8c7380724e12b1cd1
185
py
Python
Python/String_Split_and_Join/main.py
hugolribeiro/hackerrank_exercises
d2757b24479c26ec39e01091e3a15e8980e97864
[ "MIT" ]
null
null
null
Python/String_Split_and_Join/main.py
hugolribeiro/hackerrank_exercises
d2757b24479c26ec39e01091e3a15e8980e97864
[ "MIT" ]
null
null
null
Python/String_Split_and_Join/main.py
hugolribeiro/hackerrank_exercises
d2757b24479c26ec39e01091e3a15e8980e97864
[ "MIT" ]
null
null
null
def split_and_join(line): # write your code here line_splitted = line.split(' ') return ('-').join(line_splitted) # Or in one line: # return ('-').join(line.split(' ')
23.125
36
0.610811
25
185
4.36
0.56
0.220183
0.256881
0
0
0
0
0
0
0
0
0
0.210811
185
7
37
26.428571
0.746575
0.378378
0
0
0
0
0.018018
0
0
0
0
0.142857
0
1
0.333333
false
0
0
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
1
0
0
1
0
0
0
0
1
0
0
7
424d6488a491c011bfe9dcae8522f6f5123e6c67
169
py
Python
tests/parser/true_negation.4b.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/true_negation.4b.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/true_negation.4b.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
input = """ up(L,0) | -up(L,0) :- latch(L). latch(a). latch(b). latch(c). """ output = """ up(L,0) | -up(L,0) :- latch(L). latch(a). latch(b). latch(c). """
11.266667
32
0.443787
30
169
2.5
0.3
0.16
0.213333
0.16
0.853333
0.853333
0.853333
0.853333
0.853333
0.853333
0
0.030075
0.213018
169
14
33
12.071429
0.533835
0
0
0.833333
0
0
0.805031
0
0
0
0
0
0
1
0
false
0
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
c41c430f5eeea4516f2cd6f8fab39f65275ba2fc
141
py
Python
src/opendr/perception/object_detection_2d/utils/__init__.py
passalis/demos
d8aeb045ee1832418fa232bc1c73783d72d10cf7
[ "Apache-2.0" ]
1
2021-08-18T22:07:40.000Z
2021-08-18T22:07:40.000Z
src/opendr/perception/object_detection_2d/utils/__init__.py
passalis/demos
d8aeb045ee1832418fa232bc1c73783d72d10cf7
[ "Apache-2.0" ]
null
null
null
src/opendr/perception/object_detection_2d/utils/__init__.py
passalis/demos
d8aeb045ee1832418fa232bc1c73783d72d10cf7
[ "Apache-2.0" ]
null
null
null
from .eval_utils import DetectionDatasetCOCOEval from .eval_utils import * from .vis_utils import * __all__ = ['DetectionDatasetCOCOEval', ]
28.2
48
0.808511
15
141
7.133333
0.466667
0.308411
0.242991
0.35514
0
0
0
0
0
0
0
0
0.113475
141
4
49
35.25
0.856
0
0
0
0
0
0.170213
0.170213
0
0
0
0
0
1
0
false
0
0.75
0
0.75
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
0
0
1
0
1
0
0
7
c4868b8da1cb2e85dae94b57dea847fa3a54f5d1
339
py
Python
django_sso_app/models.py
paiuolo/django-sso-app
75b96c669dc0b176dc77e08f018a3e97d259f636
[ "MIT" ]
1
2021-11-16T15:16:08.000Z
2021-11-16T15:16:08.000Z
django_sso_app/models.py
paiuolo/django-sso-app
75b96c669dc0b176dc77e08f018a3e97d259f636
[ "MIT" ]
null
null
null
django_sso_app/models.py
paiuolo/django-sso-app
75b96c669dc0b176dc77e08f018a3e97d259f636
[ "MIT" ]
null
null
null
# Importing core models in order to enable "dumpdata" from .core.apps.devices.models import * from .core.apps.groups.models import * from .core.apps.passepartout.models import * from .core.apps.profiles.models import * from .core.apps.services.models import * from .core.apps.status.models import * from .core.apps.even...
33.9
53
0.775811
50
339
5.26
0.36
0.212928
0.319392
0.456274
0.547529
0
0
0
0
0
0
0
0.112094
339
9
54
37.666667
0.873754
0.150442
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.142857
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
8
67617a55f2f0a2690c147e49939f871bcc5623a5
210
py
Python
filesystem_crawler/__init__.py
heliosantos/filesystem_crawler
218504f01b8ba68fee7f6397c0bcdf7e6d8ecd8e
[ "MIT" ]
null
null
null
filesystem_crawler/__init__.py
heliosantos/filesystem_crawler
218504f01b8ba68fee7f6397c0bcdf7e6d8ecd8e
[ "MIT" ]
null
null
null
filesystem_crawler/__init__.py
heliosantos/filesystem_crawler
218504f01b8ba68fee7f6397c0bcdf7e6d8ecd8e
[ "MIT" ]
null
null
null
from .filesystem_crawler import FilesystemCrawler from .match_rule import MatchRule from .filesystem_crawler_parsers import parse_match_rules_from_file from .filesystem_crawler_parsers import parse_match_rules
42
67
0.904762
28
210
6.357143
0.428571
0.235955
0.353933
0.314607
0.550562
0.550562
0.550562
0.550562
0
0
0
0
0.07619
210
4
68
52.5
0.917526
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
678cba02f3d7195268029865efcdb8c58464e551
208
py
Python
tests/context/__init__.py
s3131212/python-safe-eval
aaeb2c181ad31f3ef38bb06db36ac9f337609ce0
[ "MIT" ]
null
null
null
tests/context/__init__.py
s3131212/python-safe-eval
aaeb2c181ad31f3ef38bb06db36ac9f337609ce0
[ "MIT" ]
null
null
null
tests/context/__init__.py
s3131212/python-safe-eval
aaeb2c181ad31f3ef38bb06db36ac9f337609ce0
[ "MIT" ]
null
null
null
import sys import os print(os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))) sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))) import PythonSafeEval
34.666667
88
0.692308
31
208
4.387097
0.387097
0.264706
0.191176
0.220588
0.588235
0.588235
0.588235
0.588235
0.588235
0.588235
0
0.005128
0.0625
208
6
89
34.666667
0.692308
0
0
0
0
0
0.038278
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0.2
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
67924e32ae82fd933bb5781e9649adfe17f0c816
26,518
py
Python
my_functions1.py
skoltech-nlp/coqas
bf0d8d3d1fffa0039114d7d64bacc020f5085c66
[ "Apache-2.0" ]
1
2021-12-02T09:19:39.000Z
2021-12-02T09:19:39.000Z
my_functions1.py
skoltech-nlp/coqas
bf0d8d3d1fffa0039114d7d64bacc020f5085c66
[ "Apache-2.0" ]
2
2021-04-14T13:46:09.000Z
2021-04-14T13:49:29.000Z
my_functions1.py
skoltech-nlp/coqas
bf0d8d3d1fffa0039114d7d64bacc020f5085c66
[ "Apache-2.0" ]
null
null
null
def do_sum(number1, number2): return number1 + number2 import os.path import torch import sys import spacy import en_core_web_sm # for extractor class sys.path.append('/home/vika/targer') sys.path.append('/notebook/cqas') from src.factories.factory_tagger import TaggerFactory from src.layers import layer_context...
45.407534
181
0.563391
3,177
26,518
4.519043
0.089078
0.025075
0.03009
0.02605
0.840914
0.815909
0.804695
0.795222
0.78359
0.77551
0
0.012874
0.323365
26,518
584
182
45.407534
0.787271
0.050645
0
0.770588
0
0
0.122499
0.015432
0
0
0
0
0
1
0.05098
false
0
0.023529
0.009804
0.14902
0.147059
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
db352a6fb594d925279af150baee24c2400c9483
77
py
Python
learn_python_packaging/text.py
indranisen/learn_python_packaging
83912030ffe0281af83069e612f2386d25e65f10
[ "MIT" ]
null
null
null
learn_python_packaging/text.py
indranisen/learn_python_packaging
83912030ffe0281af83069e612f2386d25e65f10
[ "MIT" ]
null
null
null
learn_python_packaging/text.py
indranisen/learn_python_packaging
83912030ffe0281af83069e612f2386d25e65f10
[ "MIT" ]
null
null
null
def learn(): return 'You Have Successfully Learned Python Packaging now'
25.666667
63
0.753247
10
77
5.8
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
77
2
64
38.5
0.920635
0
0
0
0
0
0.649351
0
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
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
7
e1f055c9b64ae4cf48a9b798e7e8bab1737505b8
131
py
Python
forks/baselines/baselines/bench/__init__.py
AndrewPaulChester/sage-code
9fe676bfbcbc6f642eca29b30a1027fba2a426a0
[ "MIT" ]
null
null
null
forks/baselines/baselines/bench/__init__.py
AndrewPaulChester/sage-code
9fe676bfbcbc6f642eca29b30a1027fba2a426a0
[ "MIT" ]
null
null
null
forks/baselines/baselines/bench/__init__.py
AndrewPaulChester/sage-code
9fe676bfbcbc6f642eca29b30a1027fba2a426a0
[ "MIT" ]
null
null
null
# flake8: noqa F403 from forks.baselines.baselines.bench.benchmarks import * from forks.baselines.baselines.bench.monitor import *
32.75
56
0.816794
17
131
6.294118
0.588235
0.168224
0.336449
0.504673
0.598131
0
0
0
0
0
0
0.033613
0.091603
131
3
57
43.666667
0.865546
0.129771
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
c04482dd1905856cc6b2e8db56aeb99f435b3c35
12,856
py
Python
tools/git-importer/git_importer/tests.py
thewizardplusplus/wizard-diary
a41b110d095a9060449da23c7c19fc4cd47e27f4
[ "MIT" ]
null
null
null
tools/git-importer/git_importer/tests.py
thewizardplusplus/wizard-diary
a41b110d095a9060449da23c7c19fc4cd47e27f4
[ "MIT" ]
242
2015-01-11T23:16:33.000Z
2022-03-06T22:54:11.000Z
tools/git-importer/git_importer/tests.py
thewizardplusplus/wizard-diary
a41b110d095a9060449da23c7c19fc4cd47e27f4
[ "MIT" ]
null
null
null
import unittest import datetime import sys from . import input_ from . import process from . import format_ class TestProcessCommitMessage(unittest.TestCase): def test_empty_message(self): expected_result = {} self.assertEqual(process._process_commit_message( '43065958923a14a05936887cc...
35.221918
94
0.574751
1,156
12,856
6.205882
0.074394
0.064399
0.087817
0.11918
0.889323
0.854614
0.816978
0.809451
0.799833
0.765821
0
0.140147
0.323429
12,856
364
95
35.318681
0.68464
0
0
0.73125
0
0
0.32584
0.08702
0
0
0
0
0.1
1
0.065625
false
0
0.01875
0
0.10625
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
c06a2b9213572cede6ddff41228e4ed4752fb369
2,171
py
Python
eventtig/tests/test_event_load_yaml_file.py
eventtig/eventtig-gitengine
b1e619d8385691b4b61dc4dd33b6cb08b9ad56cc
[ "MIT" ]
null
null
null
eventtig/tests/test_event_load_yaml_file.py
eventtig/eventtig-gitengine
b1e619d8385691b4b61dc4dd33b6cb08b9ad56cc
[ "MIT" ]
null
null
null
eventtig/tests/test_event_load_yaml_file.py
eventtig/eventtig-gitengine
b1e619d8385691b4b61dc4dd33b6cb08b9ad56cc
[ "MIT" ]
null
null
null
import pytest from eventtig.event import Event from eventtig.exceptions import EndIsBeforeStartException def test_start_1(): event = Event() event.load_from_yaml_data( "id", {"start": "2021-01-03 07:08", "end": "2021-01-03 08:08"}, "events/id/event.yaml", ) assert event.start_...
27.1375
67
0.625979
319
2,171
4.050157
0.131661
0.255418
0.247678
0.088235
0.805728
0.801858
0.801858
0.801858
0.801858
0.801858
0
0.093521
0.24643
2,171
79
68
27.481013
0.69621
0.013819
0
0.716418
0
0
0.132305
0
0
0
0
0
0.447761
1
0.074627
false
0
0.044776
0
0.119403
0
0
0
0
null
1
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
1
0
0
0
0
0
0
0
0
0
10
2229eb95ee390baf47c1a861d5cabcc54a1e9cf4
725
py
Python
tests/test_provider_camptocamp_puppetdb.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
tests/test_provider_camptocamp_puppetdb.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
tests/test_provider_camptocamp_puppetdb.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# tests/test_provider_camptocamp_puppetdb.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:25:11 UTC) def test_provider_import(): import terrascript.provider.camptocamp.puppetdb def test_resource_import(): from terrascript.resource.camptocamp.puppetdb import puppetdb_node # TODO: Shortcut...
29
80
0.754483
95
725
5.642105
0.6
0.16791
0.19403
0.20709
0.160448
0
0
0
0
0
0
0.024351
0.150345
725
24
81
30.208333
0.845779
0.706207
0
0
1
0
0
0
0
0
0
0.041667
0
1
0.5
true
0
1
0
1.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
1
1
0
1
0
1
0
0
8
3f105db3d8daa855d45e55de6f239a61b5036acd
36,123
py
Python
adjutant/actions/v1/tests/test_user_actions.py
knikolla/adjutant
ad19ed13b65b583e65b5a19e04a0f0403c366b09
[ "Apache-2.0" ]
null
null
null
adjutant/actions/v1/tests/test_user_actions.py
knikolla/adjutant
ad19ed13b65b583e65b5a19e04a0f0403c366b09
[ "Apache-2.0" ]
null
null
null
adjutant/actions/v1/tests/test_user_actions.py
knikolla/adjutant
ad19ed13b65b583e65b5a19e04a0f0403c366b09
[ "Apache-2.0" ]
1
2022-02-16T22:26:15.000Z
2022-02-16T22:26:15.000Z
# Copyright (C) 2015 Catalyst IT Ltd # # 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 o...
28.669048
87
0.537552
3,452
36,123
5.422364
0.065469
0.049044
0.075168
0.088898
0.891548
0.877604
0.875628
0.86911
0.863233
0.862111
0
0.00672
0.340835
36,123
1,259
88
28.691819
0.779388
0.058633
0
0.765766
0
0
0.15937
0.008162
0
0
0
0
0.113739
1
0.027027
false
0.048423
0.009009
0
0.037162
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
3f25a67fcde697a2ea0a0efacc2a51a59356ddb9
16,015
py
Python
kafka_python_handler/__init__.py
ezhil-g/kafka-python-handler
4815dde8bfc974af69115cc2d3cdd2feac731a52
[ "Apache-2.0" ]
null
null
null
kafka_python_handler/__init__.py
ezhil-g/kafka-python-handler
4815dde8bfc974af69115cc2d3cdd2feac731a52
[ "Apache-2.0" ]
null
null
null
kafka_python_handler/__init__.py
ezhil-g/kafka-python-handler
4815dde8bfc974af69115cc2d3cdd2feac731a52
[ "Apache-2.0" ]
null
null
null
from kafka_python_handler.handler import Handler from kafka_python_handler.producer import Producer ...
4,003.75
15,914
0.00562
14
16,015
6.142857
0.428571
0.209302
0.348837
0.511628
0
0
0
0
0
0
0
0
0.994255
16,015
3
15,915
5,338.333333
0.934783
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
1
0
1
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
11
58ba1c0a5b42ccd1eebf1d15715d3d759792100d
116
py
Python
dqn_tetris/gym_tetris/envs/__init__.py
joemeyer1/keras-rl-tetris
bd24fa245ff2d7b98a6390cc4f55e34a38443642
[ "MIT" ]
null
null
null
dqn_tetris/gym_tetris/envs/__init__.py
joemeyer1/keras-rl-tetris
bd24fa245ff2d7b98a6390cc4f55e34a38443642
[ "MIT" ]
null
null
null
dqn_tetris/gym_tetris/envs/__init__.py
joemeyer1/keras-rl-tetris
bd24fa245ff2d7b98a6390cc4f55e34a38443642
[ "MIT" ]
null
null
null
from gym_tetris.envs.tetris_env import TetrisEnv from gym_tetris.envs.tetris_extrahard_env import TetrisExtraHardEnv
58
67
0.905172
17
116
5.882353
0.529412
0.14
0.26
0.34
0.46
0
0
0
0
0
0
0
0.060345
116
2
67
58
0.917431
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
58e1d46b2f2dd109c85d287273bcdd08b29e6ce1
7,072
py
Python
src/zfr/dataobjects/plan.py
nathonfowlie/python.zfr
3158fa41278e862341c2676df6a6b5924b1c27a1
[ "MIT" ]
null
null
null
src/zfr/dataobjects/plan.py
nathonfowlie/python.zfr
3158fa41278e862341c2676df6a6b5924b1c27a1
[ "MIT" ]
null
null
null
src/zfr/dataobjects/plan.py
nathonfowlie/python.zfr
3158fa41278e862341c2676df6a6b5924b1c27a1
[ "MIT" ]
null
null
null
"""Data objects used to manage test plans.""" import datetime from dataclasses import dataclass, field from typing import Dict, List, Optional from zfr.dataobjects import Comment from zfr.dataobjects.cycle import TestCycle @dataclass(frozen=True) class Attachment: """Represents a file attachment on ...
32.440367
81
0.64918
863
7,072
5.244496
0.15759
0.108705
0.172117
0.174989
0.834512
0.795404
0.788997
0.788997
0.759611
0.741935
0
0.000738
0.233739
7,072
217
82
32.589862
0.834471
0.133484
0
0.589286
0
0
0
0
0
0
0
0
0
1
0
true
0
0.089286
0
0.928571
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
1
0
0
0
1
0
0
9
4504296cfb9b5ea548c82947cd2a4afa1c2a1a29
2,751
py
Python
ikibardin/power-fist-segmentation/power_fist/models/segmentation/selim_zoo/__init__.py
SpaceNetChallenge/SpaceNet_Optimized_Routing_Solutions
3fbc215de6b05904a5b54b2c7cde7e61074ae38d
[ "Apache-2.0" ]
27
2020-03-04T05:54:48.000Z
2022-01-05T07:07:44.000Z
ikibardin/power-fist-segmentation/power_fist/models/segmentation/selim_zoo/__init__.py
CosmiQ/SpaceNet_Optimized_Routing_Solutions
3fbc215de6b05904a5b54b2c7cde7e61074ae38d
[ "Apache-2.0" ]
1
2020-07-14T10:35:50.000Z
2020-07-14T10:35:50.000Z
ikibardin/power-fist-segmentation/power_fist/models/segmentation/selim_zoo/__init__.py
SpaceNetChallenge/SpaceNet_Optimized_Routing_Solutions
3fbc215de6b05904a5b54b2c7cde7e61074ae38d
[ "Apache-2.0" ]
7
2020-03-07T21:42:57.000Z
2022-01-07T10:49:50.000Z
from . import unet def dn161_unet(num_classes, num_channels=3, pretrained=True): return unet.densenet_unet(seg_classes=num_classes, backbone_arch='densenet161') def dn161_unet_fatter(num_classes, num_channels=3, pretrained=True): return unet.densenet_unet(seg_classes=num_classes, backbone_arch='densenet161_...
37.175676
90
0.814976
405
2,751
5.165432
0.111111
0.172084
0.111855
0.180688
0.889101
0.889101
0.889101
0.854685
0.780115
0.764818
0
0.041385
0.086514
2,751
73
91
37.684932
0.791086
0
0
0
0
0
0.074518
0
0
0
0
0
0
1
0.486486
false
0
0.027027
0.486486
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
1
0
0
0
1
0
0
0
9
4515bb6c06d9aab085a62b6d98d8a701839cfc02
4,844
py
Python
test/test_ridge.py
mspronesti/qlkit
2bb4dabcf88e63c54f7c57e2e80ad2ca77a04b40
[ "Apache-2.0" ]
5
2021-12-26T15:45:00.000Z
2022-01-12T10:31:57.000Z
test/test_ridge.py
mspronesti/qlkit
2bb4dabcf88e63c54f7c57e2e80ad2ca77a04b40
[ "Apache-2.0" ]
null
null
null
test/test_ridge.py
mspronesti/qlkit
2bb4dabcf88e63c54f7c57e2e80ad2ca77a04b40
[ "Apache-2.0" ]
2
2022-01-28T22:05:50.000Z
2022-02-27T18:50:33.000Z
import numpy as np import pytest from sklearn.datasets import make_regression from sklearn.preprocessing import MinMaxScaler from qlearnkit.algorithms import QRidgeRegressor from qiskit import Aer from qiskit.utils import QuantumInstance, algorithm_globals from qiskit.circuit.library import PauliFeatureMap, ZZFeatureMa...
29.357576
83
0.640999
617
4,844
4.755267
0.142626
0.132924
0.03272
0.0818
0.857192
0.835378
0.835378
0.835378
0.797887
0.778459
0
0.022459
0.264657
4,844
164
84
29.536585
0.801235
0.01796
0
0.763359
0
0
0.08649
0.027146
0
0
0
0
0.030534
1
0.030534
false
0
0.061069
0
0.091603
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
18ade12dc32951b3256daf18ea4731d8a7aa00d9
227,630
py
Python
kubernetes/client/apis/apps_v1beta1_api.py
jraby/kubernetes-client-python
e6e7b710d0b15fbde686bc9dccf00da5951bef84
[ "Apache-2.0" ]
null
null
null
kubernetes/client/apis/apps_v1beta1_api.py
jraby/kubernetes-client-python
e6e7b710d0b15fbde686bc9dccf00da5951bef84
[ "Apache-2.0" ]
null
null
null
kubernetes/client/apis/apps_v1beta1_api.py
jraby/kubernetes-client-python
e6e7b710d0b15fbde686bc9dccf00da5951bef84
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import sys import os im...
51.887395
457
0.615552
24,421
227,630
5.556161
0.01339
0.041271
0.021225
0.018572
0.995718
0.994672
0.993124
0.991444
0.989314
0.987582
0
0.002167
0.304679
227,630
4,386
458
51.899225
0.855114
0.379559
0
0.862472
1
0
0.231511
0.086832
0
0
0
0
0
1
0.03191
false
0
0.003146
0
0.082697
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
18d525962c9868b36ec931acfdb39613123861b9
12,191
py
Python
apis/nb/clients/task_service_client/AuditApi.py
CiscoDevNet/APIC-EM-Generic-Scripts-
74211d9488f1e77cf56ef86dba20ec8e8eb49cc1
[ "ECL-2.0", "Apache-2.0" ]
45
2016-06-09T15:41:25.000Z
2019-08-06T17:13:11.000Z
apis/nb/clients/task_service_client/AuditApi.py
CiscoDevNet/APIC-EM-Generic-Scripts
74211d9488f1e77cf56ef86dba20ec8e8eb49cc1
[ "ECL-2.0", "Apache-2.0" ]
36
2016-06-12T03:03:56.000Z
2017-03-13T18:20:11.000Z
apis/nb/clients/task_service_client/AuditApi.py
CiscoDevNet/APIC-EM-Generic-Scripts
74211d9488f1e77cf56ef86dba20ec8e8eb49cc1
[ "ECL-2.0", "Apache-2.0" ]
15
2016-06-22T03:51:37.000Z
2019-07-10T10:06:02.000Z
#!/usr/bin/env python #pylint: skip-file # This source code is licensed under the Apache license found in the # LICENSE file in the root directory of this project. import sys import os import urllib.request, urllib.parse, urllib.error from .models import * class AuditApi(object): def __init__(self, apiClient)...
33.4
179
0.56919
1,072
12,191
6.469216
0.13153
0.069358
0.037635
0.05018
0.866186
0.866186
0.866186
0.866186
0.866186
0.845854
0
0
0.339595
12,191
364
180
33.491758
0.861384
0.253794
0
0.828571
0
0
0.220056
0.006177
0
0
0
0
0
1
0.028571
false
0
0.028571
0
0.107143
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
18e8e5326073ec9a19333017c6807d2ee570d54d
40,065
py
Python
src/systems/audio_systems.py
shgoren/viewmaker
d9a7d4b05ac5126fe348c8c5217877ebcff7e2d7
[ "MIT" ]
29
2021-04-09T16:02:21.000Z
2022-03-08T13:04:45.000Z
src/systems/audio_systems.py
shgoren/viewmaker
d9a7d4b05ac5126fe348c8c5217877ebcff7e2d7
[ "MIT" ]
2
2021-06-07T14:49:17.000Z
2021-12-11T17:39:01.000Z
src/systems/audio_systems.py
shgoren/viewmaker
d9a7d4b05ac5126fe348c8c5217877ebcff7e2d7
[ "MIT" ]
9
2021-04-19T13:12:45.000Z
2022-03-07T20:50:28.000Z
""" Try some simple SimCLR inspired audio adaptations. Audio augmentations include cropping, noise, pitch, and speed. We should fit this on Librispeech. """ import os import math import random import librosa import numpy as np from dotmap import DotMap from itertools import chain from sklearn.metrics import f1_score f...
39.511834
110
0.642606
4,611
40,065
5.281718
0.076556
0.050916
0.038105
0.031206
0.833415
0.82274
0.806233
0.79178
0.78057
0.77556
0
0.008083
0.271234
40,065
1,013
111
39.550839
0.826015
0.019094
0
0.755662
0
0
0.037068
0.002245
0
0
0
0
0
1
0.083433
false
0
0.035757
0.009535
0.219309
0.002384
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
18f14181b324051e9dd51e24de62128954fe8657
2,469
py
Python
tests/kdump_test.py
sg893052/sonic-utilities
fdb79b8d65b8ca22232f4e6b140f593dd01613d5
[ "Apache-2.0" ]
91
2016-03-23T14:24:41.000Z
2022-03-18T20:25:37.000Z
tests/kdump_test.py
sg893052/sonic-utilities
fdb79b8d65b8ca22232f4e6b140f593dd01613d5
[ "Apache-2.0" ]
1,495
2017-02-15T10:49:10.000Z
2022-03-31T18:49:56.000Z
tests/kdump_test.py
sg893052/sonic-utilities
fdb79b8d65b8ca22232f4e6b140f593dd01613d5
[ "Apache-2.0" ]
466
2016-04-25T09:31:23.000Z
2022-03-31T06:54:17.000Z
import importlib from click.testing import CliRunner from utilities_common.db import Db class TestKdump(object): @classmethod def setup_class(cls): print("SETUP") def test_config_kdump_disable(self, get_cmd_module): (config, show) = get_cmd_module db = Db() runner = CliRu...
32.92
101
0.631835
305
2,469
4.937705
0.154098
0.106242
0.148738
0.12749
0.853918
0.853918
0.853918
0.853918
0.853918
0.853918
0
0.009569
0.238153
2,469
74
102
33.364865
0.791069
0.041717
0
0.777778
0
0
0.060568
0
0
0
0
0
0.148148
1
0.111111
false
0
0.055556
0
0.185185
0.185185
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
e18cad35bbce8b2d736e9dad8db4452c7baff9f5
15,873
py
Python
workalendar/tests/test_canada.py
elaav/workalendar
61a120296b5992f6a3e86741a0773b42c1d1b4fa
[ "MIT" ]
null
null
null
workalendar/tests/test_canada.py
elaav/workalendar
61a120296b5992f6a3e86741a0773b42c1d1b4fa
[ "MIT" ]
null
null
null
workalendar/tests/test_canada.py
elaav/workalendar
61a120296b5992f6a3e86741a0773b42c1d1b4fa
[ "MIT" ]
null
null
null
from datetime import date from . import GenericCalendarTest from ..core import MON from ..america.canada import ( Canada, Ontario, Quebec, BritishColumbia, Alberta, Saskatchewan, Manitoba, NewBrunswick, NovaScotia, PrinceEdwardIsland, Newfoundland, Yukon, NorthwestTerritories, Nunavut ) class CanadaTest(G...
48.690184
79
0.649405
2,059
15,873
4.965517
0.064594
0.119718
0.215962
0.217136
0.859937
0.84419
0.808881
0.779245
0.768975
0.760172
0
0.118079
0.228501
15,873
325
80
48.84
0.716805
0.150255
0
0.738007
0
0
0.0015
0
0
0
0
0
0.693727
1
0.077491
false
0
0.01476
0
0.195572
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
1
0
0
0
0
0
0
0
0
0
10
bee2c36e6fbffdfd5f8b69562d41508750cea95c
46
py
Python
pronotepy/ent/__init__.py
sosordinet/pronotepy
4fc4dd5920af7f6c1b9121d31c87e6c681bdd4b9
[ "MIT" ]
null
null
null
pronotepy/ent/__init__.py
sosordinet/pronotepy
4fc4dd5920af7f6c1b9121d31c87e6c681bdd4b9
[ "MIT" ]
null
null
null
pronotepy/ent/__init__.py
sosordinet/pronotepy
4fc4dd5920af7f6c1b9121d31c87e6c681bdd4b9
[ "MIT" ]
null
null
null
from .ent import * from .complex_ent import *
15.333333
26
0.73913
7
46
4.714286
0.571429
0.545455
0
0
0
0
0
0
0
0
0
0
0.173913
46
2
27
23
0.868421
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
8310403ade3db5515080420ef81f0bcb421b266b
15,874
py
Python
tests/ut/python/dataset/test_minddataset_exception.py
PowerOlive/mindspore
bda20724a94113cedd12c3ed9083141012da1f15
[ "Apache-2.0" ]
1
2022-03-05T02:59:21.000Z
2022-03-05T02:59:21.000Z
tests/ut/python/dataset/test_minddataset_exception.py
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
null
null
null
tests/ut/python/dataset/test_minddataset_exception.py
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright 2019-2021 Huawei Technologies Co., Ltd # # 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 ...
42.106101
118
0.643694
2,096
15,874
4.583015
0.117844
0.099105
0.036436
0.039975
0.804601
0.787425
0.772434
0.753383
0.723923
0.721424
0
0.016415
0.232456
15,874
376
119
42.218085
0.771996
0.068603
0
0.71987
0
0
0.167562
0.013255
0
0
0
0
0.016287
1
0.061889
false
0.003257
0.013029
0
0.074919
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
8356052bca8d4987212fbd86dae4120a961fb232
756
py
Python
regressions/python/ac1.py
muchang/z3test
e3e7739f98b7aa85427fcb8a39a4c675132a896e
[ "MIT" ]
23
2015-04-20T08:51:00.000Z
2021-11-15T12:20:59.000Z
regressions/python/ac1.py
muchang/z3test
e3e7739f98b7aa85427fcb8a39a4c675132a896e
[ "MIT" ]
18
2016-03-02T15:17:42.000Z
2021-12-16T22:10:05.000Z
regressions/python/ac1.py
muchang/z3test
e3e7739f98b7aa85427fcb8a39a4c675132a896e
[ "MIT" ]
30
2015-05-30T15:29:17.000Z
2022-02-25T15:58:58.000Z
# Copyright (c) 2015 Microsoft Corporation """ Testing AC >>> from z3 import * >>> x, y = Reals('x y') >>> 2 - (x - y) 2 - (x - y) >>> 2 + (x - y) 2 + x - y >>> 2 - (x + y) 2 - (x + y) >>> 2 + (x + (y + y)) 2 + x + y + y >>> 2 - (x - (y - y)) 2 - (x - (y - y)) >>> 2 + (x - (y + y)) 2 + x - (y + y) >>> x * (x * x) x*x...
14.823529
42
0.332011
148
756
1.641892
0.162162
0.279835
0.296296
0.378601
0.477366
0.477366
0.473251
0.473251
0.452675
0.452675
0
0.063366
0.332011
756
50
43
15.12
0.417822
0.851852
0
0
0
0
0.07767
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
1
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
83671206cd2a0c095de9d776dfceaf90fae0aa7b
49,206
py
Python
Webportal/webportal.py
RisjioMaujio/Portal-Of-Programs
d618328021d7e6aef98c47d40aad3e073a16ad45
[ "MIT" ]
1
2021-02-06T15:40:26.000Z
2021-02-06T15:40:26.000Z
Webportal/webportal.py
RisjioMaujio/Portal-Of-Programs
d618328021d7e6aef98c47d40aad3e073a16ad45
[ "MIT" ]
null
null
null
Webportal/webportal.py
RisjioMaujio/Portal-Of-Programs
d618328021d7e6aef98c47d40aad3e073a16ad45
[ "MIT" ]
null
null
null
import webbrowser import datetime import os from tabulate import * import csv import pandas as pd import sys import os navigator_symbol = "/" if os.name == "nt": navigator_symbol = "\\" display=open(r"assets"+navigator_symbol+"website.txt","r") s=display.read() print(s) display.cl...
34.12344
151
0.565703
6,721
49,206
4.120518
0.033328
0.063046
0.062432
0.075395
0.946848
0.945331
0.927457
0.915433
0.907814
0.903517
0
0.009691
0.236638
49,206
1,441
152
34.14712
0.727597
0.007174
0
0.85906
0
0.002876
0.431157
0.001331
0
0
0
0
0
1
0.008629
false
0
0.00767
0
0.016299
0.521572
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
1
0
8
836902aba1a3bf832b49d30e30b054869d8df712
21,903
py
Python
pygs/test/integration_test/test_graph.py
ninowalker/graphserver
dc08070bc6e295986633cf510ca46a2f8d451b92
[ "BSD-3-Clause-Clear" ]
2
2016-01-02T22:09:07.000Z
2016-05-09T04:48:13.000Z
pygs/test/integration_test/test_graph.py
ninowalker/graphserver
dc08070bc6e295986633cf510ca46a2f8d451b92
[ "BSD-3-Clause-Clear" ]
null
null
null
pygs/test/integration_test/test_graph.py
ninowalker/graphserver
dc08070bc6e295986633cf510ca46a2f8d451b92
[ "BSD-3-Clause-Clear" ]
null
null
null
# as of 2010-03-21, this file is out of date and in need of a lot of love import csv import unittest from graphserver.core import Graph, Street, State, WalkOptions, Link, \ ServiceCalendar, Timezone, TimezonePeriod, \ TripBoard, Crossing, TripAlight import time...
117.128342
1,661
0.623796
2,580
21,903
5.255426
0.227132
0.006195
0.01416
0.019913
0.779114
0.742828
0.694446
0.692529
0.683384
0.678295
0
0.518835
0.151623
21,903
186
1,662
117.758065
0.210849
0.003835
0
0.333333
0
0
0.494454
0.010359
0
0
0
0
0.209302
0
null
null
0
0.031008
null
null
0.023256
0
0
0
null
0
0
0
0
1
0
0
0
1
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
55f0459607c51ee658cb3529827f958bde1eaa5e
5,030
py
Python
core_engine/utils/gcp/automl_train.py
arpitkjain7/synapse
cb4cf28351bde94f4ad7ecc5df0714cfe5d616c6
[ "Apache-2.0" ]
2
2021-08-02T07:56:38.000Z
2022-02-23T04:27:31.000Z
core_engine/utils/gcp/automl_train.py
arpitkjain7/synapse
cb4cf28351bde94f4ad7ecc5df0714cfe5d616c6
[ "Apache-2.0" ]
null
null
null
core_engine/utils/gcp/automl_train.py
arpitkjain7/synapse
cb4cf28351bde94f4ad7ecc5df0714cfe5d616c6
[ "Apache-2.0" ]
null
null
null
from google.cloud import automl # Sample variable values # project_id = "us-gcp-ame-con-be2-npd-1" # dataset_id = "TCN8344915572575698944" # display_name = "decision_caller_api_model_v1" client = automl.AutoMlClient() def train_text_classification_model( project_id: str, dataset_id: str, model_display_name: str...
31.835443
74
0.694433
583
5,030
5.692967
0.137221
0.084061
0.086773
0.072311
0.87918
0.87918
0.87918
0.87918
0.864718
0.864718
0
0.011122
0.213519
5,030
157
75
32.038217
0.827856
0.107753
0
0.777778
0
0
0.142091
0.053619
0
0
0
0
0
1
0.047619
false
0
0.007937
0
0.103175
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
36116bb3794848d039d3cf6419c8f8f09cb87318
2,320
py
Python
defach.py
IyXerXez72/ScDefachXerXez
ba820610f837c61901cc23b9d6e1f65b8e43da59
[ "Apache-2.0" ]
null
null
null
defach.py
IyXerXez72/ScDefachXerXez
ba820610f837c61901cc23b9d6e1f65b8e43da59
[ "Apache-2.0" ]
null
null
null
defach.py
IyXerXez72/ScDefachXerXez
ba820610f837c61901cc23b9d6e1f65b8e43da59
[ "Apache-2.0" ]
null
null
null
#NORECODE OKEH #MAU BISA DI DENCRIPT JUGA JAN DI RECODE DONG #^-^ MAKASIH import marshal,zlib,base64 exec(marshal.loads(zlib.decompress(base64.b32decode("PCOJ2VL3OPNEMEC7QGGWH7FW4PMESOU5DPNI5SKMGDDCNNULQGNNQLRGCDJMCZUSFCJXIZG5QHSOQQLVI6YNHZFP6QJ7KY7UJO2XWJ3QEB2KMD4EJ355XPL5NK2WOQX7C7C7WEDP72DQMQABORODLUBVUAI5AI2AUOQEPA...
386.666667
2,218
0.983621
24
2,320
95.083333
0.833333
0
0
0
0
0
0
0
0
0
0
0.177951
0.006897
2,320
5
2,219
464
0.8125
0.02931
0
0
0
0
0.960427
0.960427
0
1
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
1
0
1
0
0
0
0
10
36663c71c58a196be7c3dd22f4f4404b5cdc1f50
1,294
py
Python
test/test_cleaners.py
zo-edv/py_win_unc
610b7c9ce4ea17554d04342126169b488c8ccfae
[ "MIT" ]
10
2015-08-14T06:34:28.000Z
2020-10-03T17:48:09.000Z
test/test_cleaners.py
zo-edv/py_win_unc
610b7c9ce4ea17554d04342126169b488c8ccfae
[ "MIT" ]
11
2017-01-12T23:43:56.000Z
2020-06-19T18:32:56.000Z
test/test_cleaners.py
zo-edv/py_win_unc
610b7c9ce4ea17554d04342126169b488c8ccfae
[ "MIT" ]
8
2015-09-25T20:44:33.000Z
2018-10-04T03:19:42.000Z
from unittest import TestCase from win_unc import cleaners as C class TestCleaners(TestCase): def test_clean_drive_letter(self): self.assertEqual(C.clean_drive_letter('A'), 'A') self.assertEqual(C.clean_drive_letter('A:'), 'A') self.assertEqual(C.clean_drive_letter('A:\\'), 'A') s...
44.62069
74
0.645286
180
1,294
4.427778
0.138889
0.31995
0.34128
0.44793
0.801757
0.7867
0.7867
0.7867
0.745295
0.745295
0
0
0.167697
1,294
28
75
46.214286
0.740019
0
0
0.304348
0
0
0.142968
0
0
0
0
0
0.73913
1
0.130435
false
0
0.086957
0
0.26087
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
10
e9f90f402d62511d3d3637845498973eda72a640
97
py
Python
source/mq/test2.py
PYH-torder/robot-test
381df1e8911d8ca43c2a57613a7a75e674fea7b6
[ "MIT" ]
null
null
null
source/mq/test2.py
PYH-torder/robot-test
381df1e8911d8ca43c2a57613a7a75e674fea7b6
[ "MIT" ]
null
null
null
source/mq/test2.py
PYH-torder/robot-test
381df1e8911d8ca43c2a57613a7a75e674fea7b6
[ "MIT" ]
null
null
null
import time import dyccon # dyccon.order("spacle") dyccon.order("ade4") # dyccon.order("spacle")
16.166667
24
0.731959
13
97
5.461538
0.461538
0.464789
0.478873
0
0
0
0
0
0
0
0
0.011364
0.092784
97
6
25
16.166667
0.795455
0.463918
0
0
0
0
0.08
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
18250de3d102a272cb5342e088886076ede45dc1
13,051
py
Python
py3canvas/tests/files.py
tylerclair/py3canvas
7485d458606b65200f0ffa5bbe597a9d0bee189f
[ "MIT" ]
null
null
null
py3canvas/tests/files.py
tylerclair/py3canvas
7485d458606b65200f0ffa5bbe597a9d0bee189f
[ "MIT" ]
null
null
null
py3canvas/tests/files.py
tylerclair/py3canvas
7485d458606b65200f0ffa5bbe597a9d0bee189f
[ "MIT" ]
null
null
null
"""Files API Tests for Version 1.0. This is a testing template for the generated FilesAPI Class. """ import unittest import requests import secrets from py3canvas.apis.files import FilesAPI from py3canvas.apis.files import File from py3canvas.apis.files import Folder from py3canvas.apis.files import Usagerights from p...
37.502874
126
0.675197
1,718
13,051
4.858556
0.061118
0.03666
0.083862
0.129148
0.922487
0.874326
0.808554
0.755601
0.610159
0.483767
0
0.000709
0.243047
13,051
347
127
37.610951
0.844215
0.405026
0
0.447917
1
0
0
0
0
0
0
0
0
1
0.260417
false
0.067708
0.041667
0
0.307292
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
7
a107b4984ea5f5f40052e1b8943b1d8d73349e1b
11,013
py
Python
reddit-scraper.py
lambda-labs-13-stock-price-2/reddit-scraper
999b0f8aaad3661658911e5212d0cf6d76ed3a47
[ "MIT" ]
null
null
null
reddit-scraper.py
lambda-labs-13-stock-price-2/reddit-scraper
999b0f8aaad3661658911e5212d0cf6d76ed3a47
[ "MIT" ]
null
null
null
reddit-scraper.py
lambda-labs-13-stock-price-2/reddit-scraper
999b0f8aaad3661658911e5212d0cf6d76ed3a47
[ "MIT" ]
null
null
null
[?1049h[?1h=[?12;25h[?12l[?25h[?25l~ ~ ...
5,506.5
10,997
0.055752
314
11,013
2.267516
0.38535
0.235955
0.050562
0.05618
0.095506
0.039326
0
0
0
0
0
0.265979
0.911922
11,013
2
10,998
5,506.5
0.36701
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
1
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
a158a72bde6eaf1436d7ebef2d73332de3d17ec3
50
py
Python
instance/config.py
VirginiaNdungu1/Taarifa-App
0a04bd0ddffd43a59cb92a136645cd9c8d4a1768
[ "MIT" ]
null
null
null
instance/config.py
VirginiaNdungu1/Taarifa-App
0a04bd0ddffd43a59cb92a136645cd9c8d4a1768
[ "MIT" ]
null
null
null
instance/config.py
VirginiaNdungu1/Taarifa-App
0a04bd0ddffd43a59cb92a136645cd9c8d4a1768
[ "MIT" ]
null
null
null
NEWS_API_KEY = "aea4c50137034ada8a03fa5b0dc38047"
25
49
0.88
4
50
10.5
1
0
0
0
0
0
0
0
0
0
0
0.404255
0.06
50
1
50
50
0.489362
0
0
0
0
0
0.64
0.64
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a182ef98a8de49f2c145a2fdb18e438214842cb0
286
py
Python
Python/Floor, Ceil and Rint.py
HarshitRuwali/HackerRank-Solutions
29c3ebd87723e1237866a551783bf62cf470d919
[ "MIT" ]
8
2020-07-16T12:17:16.000Z
2022-01-11T04:24:03.000Z
Python/Floor, Ceil and Rint.py
HarshitRuwali/HackerRank-Solutions
29c3ebd87723e1237866a551783bf62cf470d919
[ "MIT" ]
null
null
null
Python/Floor, Ceil and Rint.py
HarshitRuwali/HackerRank-Solutions
29c3ebd87723e1237866a551783bf62cf470d919
[ "MIT" ]
5
2020-11-30T17:40:15.000Z
2022-02-28T11:26:59.000Z
import numpy as np np.set_printoptions(sign=' ') arr = np.array(input().split(),float) print(np.floor(arr), np.ceil(arr), np.rint(arr), sep = '\n') ''' OR ''' import numpy as np arr = np.array(input().split(), float) print(np.floor(arr), np.ceil(arr), np.rint(arr), sep = '\n')
15.052632
60
0.622378
49
286
3.612245
0.387755
0.169492
0.146893
0.169492
0.700565
0.700565
0.700565
0.700565
0.700565
0.700565
0
0
0.13986
286
18
61
15.888889
0.719512
0
0
0.857143
0
0
0.018116
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.428571
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
8
a190ddb88376b1056c91323b28e02c74348d9549
24
py
Python
03_Day_Operators/19.py
diegofregolente/30-Days-Of-Python
e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267
[ "Apache-2.0" ]
null
null
null
03_Day_Operators/19.py
diegofregolente/30-Days-Of-Python
e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267
[ "Apache-2.0" ]
null
null
null
03_Day_Operators/19.py
diegofregolente/30-Days-Of-Python
e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267
[ "Apache-2.0" ]
null
null
null
print('10' == 10) # 19
12
23
0.458333
4
24
2.75
0.75
0
0
0
0
0
0
0
0
0
0
0.333333
0.25
24
1
24
24
0.277778
0.083333
0
0
0
0
0.1
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
0
0
1
0
0
0
0
1
0
7
a1f63938406cb863ba16bac0c1ee0742f5a072f0
6,593
py
Python
stellarpop/bak25sep12/Sampler.py
Annarien/GravitationalLensesResources
55d653f95bfd1e19c66a64079b5af39ea1e000a5
[ "MIT" ]
null
null
null
stellarpop/bak25sep12/Sampler.py
Annarien/GravitationalLensesResources
55d653f95bfd1e19c66a64079b5af39ea1e000a5
[ "MIT" ]
null
null
null
stellarpop/bak25sep12/Sampler.py
Annarien/GravitationalLensesResources
55d653f95bfd1e19c66a64079b5af39ea1e000a5
[ "MIT" ]
null
null
null
import numpy def SimpleSample(pars,costs,deterministics,niter,cov=None,jump=None): if jump is None: stretch,offset = 3.3,3. else: stretch,offset = jump nvars = len(pars) niter = int(niter) trace = numpy.empty((niter,nvars)) logps = numpy.zeros(niter) dets = [] if cov is ...
30.243119
85
0.511452
855
6,593
3.928655
0.121637
0.039297
0.04287
0.064305
0.821375
0.812444
0.79994
0.79994
0.79994
0.79994
0
0.030167
0.356439
6,593
217
86
30.382488
0.76149
0.007735
0
0.792929
0
0
0.004899
0
0
0
0
0
0
0
null
null
0.005051
0.020202
null
null
0.005051
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
1
0
0
0
0
0
0
0
0
8
b81468321b433ee1143d1fd4f186ba69e53d1a07
4,802
py
Python
User/tests/test_view_dynamic_pages.py
LukaszHoszowski/Django_ProEstate
36c5cc25842f4e5afebd9ff6eaa83c9457fb7a3a
[ "MIT" ]
1
2022-02-15T13:36:29.000Z
2022-02-15T13:36:29.000Z
User/tests/test_view_dynamic_pages.py
LukaszHoszowski/Django_ProEstate
36c5cc25842f4e5afebd9ff6eaa83c9457fb7a3a
[ "MIT" ]
null
null
null
User/tests/test_view_dynamic_pages.py
LukaszHoszowski/Django_ProEstate
36c5cc25842f4e5afebd9ff6eaa83c9457fb7a3a
[ "MIT" ]
null
null
null
from django.urls import reverse def test_view_signup_view(client): url = reverse('User:signup') response = client.get(url) assert response.status_code == 200 assert 'Zarejestruj' in response.content.decode('UTF-8') def test_view_profile_creation_user_logged(user_A, client): client.force_login(u...
28.081871
78
0.734486
680
4,802
4.902941
0.088235
0.059988
0.062687
0.113977
0.916317
0.916317
0.879124
0.847031
0.836833
0.826335
0
0.016671
0.163057
4,802
170
79
28.247059
0.812889
0
0
0.705357
0
0
0.111828
0.031653
0
0
0
0
0.339286
1
0.169643
false
0.044643
0.008929
0
0.178571
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
62b9fdaa9f207454cbb7efe594f9ea696396b7a5
74,405
py
Python
pytests/tuqquery/tuq_advisor.py
ashwin2002/testrunner
141369afdfb920bebedd0f359caa926621497133
[ "Apache-2.0" ]
null
null
null
pytests/tuqquery/tuq_advisor.py
ashwin2002/testrunner
141369afdfb920bebedd0f359caa926621497133
[ "Apache-2.0" ]
null
null
null
pytests/tuqquery/tuq_advisor.py
ashwin2002/testrunner
141369afdfb920bebedd0f359caa926621497133
[ "Apache-2.0" ]
null
null
null
from remote.remote_util import RemoteMachineShellConnection from .tuq import QueryTests import time from deepdiff import DeepDiff from membase.api.exception import CBQError import threading class QueryAdvisorTests(QueryTests): def setUp(self): super(QueryAdvisorTests, self).setUp() self.log.info(...
69.149628
378
0.620254
9,153
74,405
4.912706
0.04097
0.05582
0.051372
0.077058
0.891718
0.875506
0.853667
0.834364
0.809879
0.802162
0
0.015757
0.220388
74,405
1,075
379
69.213953
0.759426
0.029904
0
0.700986
0
0.07667
0.365428
0.063339
0
0
0
0
0.105148
1
0.062432
false
0.035049
0.006572
0
0.071194
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
c56f7a314e27a30d1813e47aba616e1e5f65dcae
24,386
py
Python
src/graph_transpiler/webdnn/frontend/tensorflow/ops/gen_array_ops.py
gunpowder78/webdnn
c659ea49007f91d178ce422a1eebe289516a71ee
[ "MIT" ]
1
2018-07-26T13:52:21.000Z
2018-07-26T13:52:21.000Z
src/graph_transpiler/webdnn/frontend/tensorflow/ops/gen_array_ops.py
gunpowder78/webdnn
c659ea49007f91d178ce422a1eebe289516a71ee
[ "MIT" ]
null
null
null
src/graph_transpiler/webdnn/frontend/tensorflow/ops/gen_array_ops.py
gunpowder78/webdnn
c659ea49007f91d178ce422a1eebe289516a71ee
[ "MIT" ]
null
null
null
from typing import List import numpy as np import tensorflow as tf from webdnn import ConstantVariable from webdnn.frontend.constraints import AxisVar, unify_order from webdnn.graph.operators.reshape import Reshape from webdnn.graph.operators.zero_padding_2d import ZeroPadding2D from webdnn.graph.variable import Vari...
46.185606
126
0.787091
2,849
24,386
6.517726
0.09477
0.03899
0.210566
0.173353
0.767731
0.754968
0.747752
0.736712
0.723464
0.71377
0
0.002298
0.10789
24,386
527
127
46.273245
0.851253
0.026163
0
0.282738
0
0
0.306182
0.093127
0
0
0
0.001898
0.014881
1
0.258929
false
0
0.03869
0
0.297619
0
0
0
0
null
0
1
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
0
0
1
0
0
0
0
0
0
0
8
3de91ded5cbccbf77a1e6dca5a19d05acdc96082
131
py
Python
flowtrail/colors.py
krisfris/flowtrail
012c3397859bb11841210f934e7102bfb848c1cd
[ "MIT" ]
null
null
null
flowtrail/colors.py
krisfris/flowtrail
012c3397859bb11841210f934e7102bfb848c1cd
[ "MIT" ]
null
null
null
flowtrail/colors.py
krisfris/flowtrail
012c3397859bb11841210f934e7102bfb848c1cd
[ "MIT" ]
null
null
null
import random def random_color(): return [random.uniform(0.0, 1.0), random.uniform(0.0, 1.0), random.uniform(0.0, 1.0), 1.0]
21.833333
94
0.656489
26
131
3.269231
0.307692
0.094118
0.141176
0.529412
0.6
0.6
0.6
0.6
0.6
0.6
0
0.123894
0.137405
131
5
95
26.2
0.628319
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
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
8
9aa2fd5bbac081ac5d41bd786a69d5ee93e8716d
434
py
Python
src/test/test_cwssim_container.py
jannsta1/torf
b7866bf1a824b3ab6f44b7fa5da0c7a781766fd0
[ "BSD-2-Clause" ]
3
2021-06-15T12:01:22.000Z
2022-01-21T23:17:37.000Z
src/test/test_cwssim_container.py
jannsta1/torf
b7866bf1a824b3ab6f44b7fa5da0c7a781766fd0
[ "BSD-2-Clause" ]
null
null
null
src/test/test_cwssim_container.py
jannsta1/torf
b7866bf1a824b3ab6f44b7fa5da0c7a781766fd0
[ "BSD-2-Clause" ]
null
null
null
import pytest from src.cwssim_container import Cwsim_container_from_ims, response_across_im_series from src.utils import get_fwd_drone_ims # @pytest.fixture # def ims(im_w=235, im_h=150): # return get_fwd_drone_ims(im_w=im_w, im_h=im_h) def test_response_across_im_series_multi_process(): response_across_im_...
25.529412
84
0.827189
72
434
4.472222
0.402778
0.217391
0.248447
0.341615
0.360248
0.180124
0
0
0
0
0
0.015424
0.103687
434
16
85
27.125
0.812339
0.218894
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
true
0
0.428571
0
0.714286
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
9aadcd21c6ab76d33fbcf41a77df891172542770
30,567
py
Python
mealpy/evolutionary_based/DE.py
Alhassan20/mealpy
7ed365c5c495ad1c1e066662c90159b3d5e9b8e3
[ "MIT" ]
1
2021-10-03T05:27:36.000Z
2021-10-03T05:27:36.000Z
mealpy/evolutionary_based/DE.py
Alhassan20/mealpy
7ed365c5c495ad1c1e066662c90159b3d5e9b8e3
[ "MIT" ]
null
null
null
mealpy/evolutionary_based/DE.py
Alhassan20/mealpy
7ed365c5c495ad1c1e066662c90159b3d5e9b8e3
[ "MIT" ]
null
null
null
#!/usr/bin/env python # ------------------------------------------------------------------------------------------------------% # Created by "Thieu Nguyen" at 09:48, 16/03/2020 % # ...
47.317337
151
0.534007
4,254
30,567
3.582511
0.063
0.06063
0.048425
0.023622
0.809186
0.777428
0.757743
0.729528
0.712402
0.701509
0
0.021223
0.346419
30,567
645
152
47.390698
0.741616
0.101351
0
0.70101
0
0
0.006601
0
0
0
0
0
0
1
0.042424
false
0
0.010101
0.00404
0.111111
0.012121
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
b121fe5d1467093d1754046eb9017faad57cc1ef
116
py
Python
opengnn/__init__.py
css518/Keywords-Guided-Method-Name-Generation
2b361bb26fc74b64e92feb30776a0a92f278fb98
[ "MIT" ]
5
2021-04-13T03:01:51.000Z
2021-09-11T09:08:49.000Z
opengnn/__init__.py
css518/Keywords-Guided-Method-Name-Generation
2b361bb26fc74b64e92feb30776a0a92f278fb98
[ "MIT" ]
null
null
null
opengnn/__init__.py
css518/Keywords-Guided-Method-Name-Generation
2b361bb26fc74b64e92feb30776a0a92f278fb98
[ "MIT" ]
null
null
null
from opengnn import decoders from opengnn import encoders from opengnn import inputters from opengnn import models
19.333333
29
0.853448
16
116
6.1875
0.4375
0.444444
0.686869
0
0
0
0
0
0
0
0
0
0.146552
116
5
30
23.2
1
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
492f65d9062813dff0e00114411b518796045dfe
10,953
py
Python
Tools/pybench/Strings.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
1
2018-06-21T18:21:24.000Z
2018-06-21T18:21:24.000Z
Tools/pybench/Strings.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
Tools/pybench/Strings.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
z pybench zaimportuj Test zaimportuj sys spróbuj: intern wyjąwszy NameError: intern = sys.intern klasa ConcatStrings(Test): version = 2.0 operations = 10 * 5 rounds = 100000 def test(self): # Make sure the strings are *not* interned s = ''.join(map(str,range(100))) ...
19.249561
75
0.281658
1,163
10,953
2.649183
0.082545
0.098669
0.143135
0.190847
0.871146
0.846803
0.822785
0.797144
0.733853
0.710159
0
0.053361
0.597918
10,953
568
76
19.283451
0.646231
0.012143
0
0.943052
0
0
0.022473
0
0
0
0
0
0
0
null
null
0
0.004556
null
null
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
10
49644b4cf687bc4e7ef66aa8a6f99abfd014ece7
2,514
py
Python
test/test_utils.py
Debilski/pelita
192934d63d7337ffd2e167db8ce27b3dfd8a545d
[ "BSD-2-Clause" ]
null
null
null
test/test_utils.py
Debilski/pelita
192934d63d7337ffd2e167db8ce27b3dfd8a545d
[ "BSD-2-Clause" ]
null
null
null
test/test_utils.py
Debilski/pelita
192934d63d7337ffd2e167db8ce27b3dfd8a545d
[ "BSD-2-Clause" ]
null
null
null
import pytest from textwrap import dedent from pelita import utils @pytest.mark.parametrize('is_blue', [True, False]) def test_setup_test_game(is_blue): layout = utils.load_builtin_layout('small_001', is_blue=is_blue) test_game = utils.setup_test_game(layout=layout, is_blue=is_blue) if is_blue: ...
32.230769
122
0.578759
338
2,514
4.073965
0.14497
0.180102
0.223675
0.193174
0.879448
0.847495
0.83878
0.793028
0.793028
0.793028
0
0.028841
0.241448
2,514
77
123
32.649351
0.693235
0.078759
0
0.745763
0
0
0.179376
0
0
0
0
0
0.372881
1
0.050847
false
0
0.050847
0
0.101695
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
b8ed537b66d95b25046f4de8b2b50a81ef10f851
12,010
py
Python
tests/test_network.py
eclissi91/curio
09dd8a20142b6210fe18f676a746918601c6092e
[ "BSD-3-Clause" ]
null
null
null
tests/test_network.py
eclissi91/curio
09dd8a20142b6210fe18f676a746918601c6092e
[ "BSD-3-Clause" ]
null
null
null
tests/test_network.py
eclissi91/curio
09dd8a20142b6210fe18f676a746918601c6092e
[ "BSD-3-Clause" ]
null
null
null
# test_network.py from os.path import dirname, join import sys import os import ssl from functools import partial import pytest from curio import * from curio import network from curio import ssl as curiossl from curio.socket import * def test_tcp_echo(kernel): results = [] async def handler(client, addr): ...
34.912791
113
0.611157
1,460
12,010
4.855479
0.110959
0.02257
0.031034
0.035689
0.92044
0.898011
0.863874
0.832134
0.805896
0.765975
0
0.016187
0.285012
12,010
343
114
35.014577
0.809363
0.040216
0
0.818868
0
0
0.091438
0
0
0
0
0
0.037736
1
0.037736
false
0.007547
0.037736
0
0.098113
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
773df4423b6d29f946978a70e942744697ac7fb6
125
py
Python
src/view/scenes/__init__.py
ArcosJuan/Get-out-of-my-fucking-maze
ca2cfeaaeecb6c6f583ad647d020f25176170805
[ "MIT" ]
2
2021-09-09T14:03:40.000Z
2021-11-03T03:35:55.000Z
src/view/scenes/__init__.py
ArcosJuan/Get-out-of-my-fucking-maze
ca2cfeaaeecb6c6f583ad647d020f25176170805
[ "MIT" ]
null
null
null
src/view/scenes/__init__.py
ArcosJuan/Get-out-of-my-fucking-maze
ca2cfeaaeecb6c6f583ad647d020f25176170805
[ "MIT" ]
null
null
null
from src.view.scenes.scene import Scene from src.view.scenes.main_menu import MainMenu from src.view.scenes.game import Game
31.25
46
0.832
22
125
4.681818
0.454545
0.203884
0.320388
0.495146
0
0
0
0
0
0
0
0
0.096
125
3
47
41.666667
0.911504
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
77508dd2aeb0c35af663e0129bb4b22cb9713ce8
6,235
py
Python
example/theme_example.py
lakdred/pyecharts
02050acb0e94bb9453b88a25028de7a0ce23f125
[ "MIT" ]
1
2019-06-29T09:37:45.000Z
2019-06-29T09:37:45.000Z
example/theme_example.py
lakdred/pyecharts
02050acb0e94bb9453b88a25028de7a0ce23f125
[ "MIT" ]
null
null
null
example/theme_example.py
lakdred/pyecharts
02050acb0e94bb9453b88a25028de7a0ce23f125
[ "MIT" ]
1
2021-01-18T10:17:01.000Z
2021-01-18T10:17:01.000Z
# coding=utf-8 from example.commons import Collector, Faker from pyecharts import options as opts from pyecharts.charts import Bar, Page from pyecharts.globals import ThemeType C = Collector() @C.funcs def theme_default() -> Bar: c = ( Bar() .add_xaxis(Faker.choose()) .add_yaxis("商家A", Fa...
28.21267
75
0.601443
783
6,235
4.595147
0.074074
0.133407
0.175097
0.237632
0.854086
0.854086
0.772374
0.772374
0.772374
0.61284
0
0.000207
0.226784
6,235
220
76
28.340909
0.746111
0.001925
0
0.645161
0
0
0.060601
0
0
0
0
0
0
1
0.080645
false
0.016129
0.021505
0
0.182796
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
620af4c0b7fd64623f602007943851471dca59db
6,895
py
Python
src/estimator.py
edgartutu/edgar-covid-19-estimator
6727c41cc1e59adc6c587b73d8957f89230d815c
[ "MIT" ]
null
null
null
src/estimator.py
edgartutu/edgar-covid-19-estimator
6727c41cc1e59adc6c587b73d8957f89230d815c
[ "MIT" ]
1
2021-05-11T10:32:55.000Z
2021-05-11T10:32:55.000Z
src/estimator.py
edgartutu/edgar-covid-19-estimator
6727c41cc1e59adc6c587b73d8957f89230d815c
[ "MIT" ]
null
null
null
def estimator(data): reportedCases=data['reportedCases'] totalHospitalBeds=data['totalHospitalBeds'] output={"data": {},"impact": {},"severeImpact":{}} output['impact']['currentlyInfected']=reportedCases * 10 output['severeImpact']['currentlyInfected']=reportedCases * 50 days=28 if days: factor=int(da...
59.956522
113
0.762582
603
6,895
8.517413
0.089552
0.088785
0.108061
0.066589
0.91141
0.91141
0.91141
0.91141
0.91141
0.91141
0
0.022657
0.103843
6,895
114
114
60.482456
0.808545
0
0
0.814815
0
0
0.383321
0.229732
0
0
0
0
0
1
0.009259
false
0
0
0
0.037037
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
622ae47c9eaa3191591a9b811ff797693749a07d
11,052
py
Python
ChimuApi/chimu_api.py
lenforiee/python-chimu-api
464310741bc58aa1702c9810a50d061e40f63ec2
[ "MIT" ]
null
null
null
ChimuApi/chimu_api.py
lenforiee/python-chimu-api
464310741bc58aa1702c9810a50d061e40f63ec2
[ "MIT" ]
null
null
null
ChimuApi/chimu_api.py
lenforiee/python-chimu-api
464310741bc58aa1702c9810a50d061e40f63ec2
[ "MIT" ]
null
null
null
import aiohttp import requests import orjson from .classes import Beatmap, BeatmapSet class ChimuAPI: """Synchronous ChimuAPI class for making requests""" def __init__(self): pass @staticmethod def get_map(map_id: int) -> Beatmap: """Gets a beatmap from chimu's API Params: ...
36.117647
101
0.536283
1,101
11,052
5.338783
0.128065
0.130997
0.017693
0.021776
0.958489
0.958489
0.952705
0.946751
0.946751
0.946751
0
0.003234
0.328447
11,052
305
102
36.236066
0.788736
0.106678
0
0.828125
0
0
0.200091
0
0
0
0
0
0
1
0.03125
false
0.03125
0.020833
0
0.104167
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
6231152e6fc5cf150c60575b33abb09a2c09dea1
5,739
py
Python
backend/base/migrations/0001_initial.py
AimeneNouri/Invetory-Management-WebApp
83db8ebecc315a00ff1b974af5ba31d44d0377a2
[ "MIT" ]
null
null
null
backend/base/migrations/0001_initial.py
AimeneNouri/Invetory-Management-WebApp
83db8ebecc315a00ff1b974af5ba31d44d0377a2
[ "MIT" ]
null
null
null
backend/base/migrations/0001_initial.py
AimeneNouri/Invetory-Management-WebApp
83db8ebecc315a00ff1b974af5ba31d44d0377a2
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-07-04 22:46 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
57.969697
130
0.59993
640
5,739
5.254688
0.148438
0.104668
0.110616
0.165923
0.860244
0.860244
0.850431
0.850431
0.829616
0.72584
0
0.024611
0.249521
5,739
98
131
58.561224
0.756211
0.007493
0
0.681319
1
0
0.058307
0
0
0
0
0
0
1
0
false
0.010989
0.032967
0
0.076923
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
0295f912cd7ea62d9bee67414a85b11bc7c13f77
4,465
py
Python
models/ebm.py
noahcao/icebeem
202b0cae8d98d45428c1a08d14c07a67184e3ca6
[ "MIT" ]
48
2020-07-03T13:31:36.000Z
2022-03-18T17:48:49.000Z
models/ebm.py
noahcao/icebeem
202b0cae8d98d45428c1a08d14c07a67184e3ca6
[ "MIT" ]
5
2020-08-07T03:33:26.000Z
2022-03-30T11:06:15.000Z
models/ebm.py
noahcao/icebeem
202b0cae8d98d45428c1a08d14c07a67184e3ca6
[ "MIT" ]
15
2020-11-27T19:51:57.000Z
2021-12-09T21:00:40.000Z
import torch import torch.nn.functional as F from torch import nn from .nets import CleanMLP class UnnormalizedConditialEBM(nn.Module): def __init__(self, input_size, hidden_size, n_hidden, output_size, condition_size, activation='lrelu', augment=False, positive=False): super().__init__(...
32.122302
107
0.643001
624
4,465
4.331731
0.107372
0.09249
0.051794
0.056234
0.829449
0.824269
0.795413
0.757677
0.72919
0.72919
0
0.004657
0.230459
4,465
138
108
32.355072
0.782014
0
0
0.702128
0
0
0.018365
0
0
0
0
0
0.010638
1
0.170213
false
0
0.042553
0.042553
0.404255
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
02e052e583adad0ffd7b1fa21077cf92474f25a7
17,934
py
Python
pytests/tuqquery/n1ql_window_functions_syntax_check.py
ramalingam-cb/testrunner
81cea7a5a493cf0c67fca7f97c667cd3c6ad2142
[ "Apache-2.0" ]
null
null
null
pytests/tuqquery/n1ql_window_functions_syntax_check.py
ramalingam-cb/testrunner
81cea7a5a493cf0c67fca7f97c667cd3c6ad2142
[ "Apache-2.0" ]
null
null
null
pytests/tuqquery/n1ql_window_functions_syntax_check.py
ramalingam-cb/testrunner
81cea7a5a493cf0c67fca7f97c667cd3c6ad2142
[ "Apache-2.0" ]
null
null
null
from tuq import QueryTests import random import string from random import randint from membase.api.exception import CBQError import threading import copy class WindowFunctionsSyntaxTest(QueryTests): def setUp(self): super(WindowFunctionsSyntaxTest, self).setUp() self.log_config_info() self...
67.675472
226
0.510873
1,783
17,934
4.803141
0.102075
0.026156
0.02312
0.02277
0.801845
0.764946
0.748599
0.723143
0.707613
0.692433
0
0.012567
0.387699
17,934
265
227
67.675472
0.767325
0
0
0.62931
0
0.008621
0.208642
0.022414
0
0
0
0
0.00431
0
null
null
0
0.030172
null
null
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
1
0
0
0
0
0
0
0
0
7
f307c0ab763fb7fbaecd2eff21d0eaf3eccddf92
150
py
Python
msbd/metriche/__init__.py
mnslarcher/metodi-statistici-big-data
4587b4e4104557e50d09d028259d6c42c44d2814
[ "MIT" ]
1
2019-02-17T09:28:04.000Z
2019-02-17T09:28:04.000Z
msbd/metriche/__init__.py
mnslarcher/metodi-statistici-big-data
4587b4e4104557e50d09d028259d6c42c44d2814
[ "MIT" ]
null
null
null
msbd/metriche/__init__.py
mnslarcher/metodi-statistici-big-data
4587b4e4104557e50d09d028259d6c42c44d2814
[ "MIT" ]
null
null
null
from .metriche import criterio_informazione_akaike from .metriche import MetricheClassificazione from .metriche import radice_errore_quadratico_medio
37.5
52
0.9
17
150
7.647059
0.647059
0.276923
0.415385
0
0
0
0
0
0
0
0
0
0.08
150
3
53
50
0.942029
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
b87f05e7c7523d69c9a15fc54426113818019ff2
24,107
py
Python
nintendo/nex/authentication.py
azillion/DodoTrafficControl
9aa014f6d1ac3ad4ea5747d7ded4749ea60f7422
[ "MIT" ]
209
2017-05-15T19:38:34.000Z
2020-11-30T03:31:07.000Z
nintendo/nex/authentication.py
azillion/DodoTrafficControl
9aa014f6d1ac3ad4ea5747d7ded4749ea60f7422
[ "MIT" ]
44
2018-07-06T16:08:54.000Z
2020-11-29T20:04:32.000Z
nintendo/nex/authentication.py
azillion/DodoTrafficControl
9aa014f6d1ac3ad4ea5747d7ded4749ea60f7422
[ "MIT" ]
34
2017-05-23T17:35:57.000Z
2020-11-29T17:37:16.000Z
# This file was generated automatically by generate_protocols.py from nintendo.nex import notification, rmc, common, streams import logging logger = logging.getLogger(__name__) class AuthenticationInfo(common.Data): def __init__(self): super().__init__() self.token = None self.ngs_version = 3 self.token_t...
36.525758
125
0.740988
3,046
24,107
5.664478
0.054169
0.045207
0.037557
0.050075
0.870871
0.835516
0.80022
0.755767
0.713632
0.682161
0
0.00325
0.132119
24,107
659
126
36.581184
0.821432
0.033434
0
0.629191
1
0
0.19218
0.084778
0
0
0.000258
0
0
1
0.04142
false
0.005917
0.003945
0
0.118343
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b8a946c37eabbb3f925c7788e91ecbd7d2262466
98
py
Python
explorer/resources/ui/__init__.py
shalevy1/gexplorer
5216a506aace8259bc84495018c4a67dda220403
[ "Apache-2.0" ]
null
null
null
explorer/resources/ui/__init__.py
shalevy1/gexplorer
5216a506aace8259bc84495018c4a67dda220403
[ "Apache-2.0" ]
1
2022-03-21T22:21:30.000Z
2022-03-21T22:21:30.000Z
explorer/resources/ui/__init__.py
shalevy1/gexplorer
5216a506aace8259bc84495018c4a67dda220403
[ "Apache-2.0" ]
null
null
null
from explorer.resources.ui.index import Index from explorer.resources.ui.template import Template
32.666667
51
0.857143
14
98
6
0.5
0.285714
0.5
0.547619
0
0
0
0
0
0
0
0
0.081633
98
2
52
49
0.933333
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
0
0
0
7
b22c99edc1775bc837c6ae49c47b4513cb17bd87
7,189
py
Python
tests/models/boundary/test_is_point_in_boundary.py
EderVs/Voronoi-Diagrams
6e69f9b6eb516dee12d66f187cf267a7b527da5f
[ "MIT" ]
3
2021-11-12T17:43:08.000Z
2022-01-03T02:47:34.000Z
tests/models/boundary/test_is_point_in_boundary.py
EderVs/Voronoi-Diagrams
6e69f9b6eb516dee12d66f187cf267a7b527da5f
[ "MIT" ]
3
2021-11-19T20:12:31.000Z
2021-11-19T20:14:39.000Z
tests/models/boundary/test_is_point_in_boundary.py
EderVs/Voronoi-Diagrams
6e69f9b6eb516dee12d66f187cf267a7b527da5f
[ "MIT" ]
null
null
null
"""Test is_point_in_boundary method in WeightedPointBoundary.""" # Standard from typing import List, Any from random import randint # Models from voronoi_diagrams.models import ( WeightedSite, WeightedPointBisector, WeightedPointBoundary, Point, ) # Math from decimal import Decimal class TestWeighte...
46.681818
78
0.696203
909
7,189
5.242024
0.10121
0.09255
0.192025
0.243442
0.881217
0.865687
0.865268
0.865268
0.828541
0.828541
0
0.059309
0.207261
7,189
153
79
46.986928
0.776803
0.093059
0
0.62963
0
0
0.048061
0.035852
0
0
0
0
0.481481
1
0.027778
false
0
0.037037
0
0.074074
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
9
b234d0dd0544e896fe9db00a9ac48cf9a8870038
4,450
py
Python
tests/fields/test_arithmetic_exceptions.py
BK-Modding/galois
5da4db84d90083e337ebe2c1838df5c6db88fd3f
[ "MIT" ]
null
null
null
tests/fields/test_arithmetic_exceptions.py
BK-Modding/galois
5da4db84d90083e337ebe2c1838df5c6db88fd3f
[ "MIT" ]
null
null
null
tests/fields/test_arithmetic_exceptions.py
BK-Modding/galois
5da4db84d90083e337ebe2c1838df5c6db88fd3f
[ "MIT" ]
null
null
null
""" A pytest module to test exception raising for invalid Galois field array arithmetic. """ import pytest import numpy as np import galois from ..helper import randint def test_add_int_scalar(field): x = field.Random(10) y = int(randint(0, field.order, 1, field.dtypes[-1])) with pytest.raises(TypeError...
24.860335
102
0.605618
650
4,450
4.06
0.107692
0.147783
0.236453
0.303145
0.853732
0.844259
0.790451
0.790451
0.720349
0.708223
0
0.028186
0.266517
4,450
178
103
25
0.780331
0.076629
0
0.8
0
0
0
0
0
0
0
0
0
1
0.118519
false
0
0.02963
0
0.148148
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
b25573ea17afc6e0899bed6da89336286b7b8854
3,622
py
Python
lensit/qcinv/chain_samples.py
Sebastian-Belkner/LensIt
3e746ceeaa53b2845af31cc8372cd897e34ad53f
[ "MIT" ]
null
null
null
lensit/qcinv/chain_samples.py
Sebastian-Belkner/LensIt
3e746ceeaa53b2845af31cc8372cd897e34ad53f
[ "MIT" ]
null
null
null
lensit/qcinv/chain_samples.py
Sebastian-Belkner/LensIt
3e746ceeaa53b2845af31cc8372cd897e34ad53f
[ "MIT" ]
null
null
null
from __future__ import print_function from lensit.qcinv import cd_solve import numpy as np def get_defaultmgchain(lmax_sky, lsides, datshape, tol=1e-5, iter_max=np.inf, dense_file='', **kwargs): # FIXME : assert datshape[0] == datshape[1], datshape nside_max = datshape[0] if lmax_sky > 4000: ...
48.945946
157
0.576753
557
3,622
3.490126
0.141831
0.097222
0.060185
0.07356
0.809156
0.809156
0.792695
0.783436
0.756687
0.756687
0
0.066494
0.252623
3,622
73
158
49.616438
0.651644
0.001933
0
0.609375
0
0
0.125381
0
0
0
0
0.013699
0.046875
1
0.046875
false
0
0.046875
0
0.140625
0.0625
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
1
0
0
0
0
0
0
0
0
0
0
7
b270d816df88163f798ae697243e694e5e4267f2
12,471
py
Python
misago/users/tests/test_user_create_api.py
HenryChenV/iJiangNan
68f156d264014939f0302222e16e3125119dd3e3
[ "MIT" ]
1
2017-07-25T03:04:36.000Z
2017-07-25T03:04:36.000Z
misago/users/tests/test_user_create_api.py
HenryChenV/iJiangNan
68f156d264014939f0302222e16e3125119dd3e3
[ "MIT" ]
null
null
null
misago/users/tests/test_user_create_api.py
HenryChenV/iJiangNan
68f156d264014939f0302222e16e3125119dd3e3
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from django.core import mail from django.test import override_settings from django.urls import reverse from misago.conf import settings from misago.users.models import Ban, Online from misago.users.testutils import UserTestCase UserModel = get_user_model() class UserC...
32.30829
97
0.565632
1,236
12,471
5.553398
0.127023
0.037733
0.057692
0.064103
0.827943
0.776078
0.754371
0.742133
0.71285
0.701777
0
0.012765
0.315291
12,471
385
98
32.392208
0.791076
0.06471
0
0.64966
0
0.010204
0.178846
0.007524
0
0
0
0
0.163265
1
0.068027
false
0.085034
0.02381
0
0.095238
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
b27c38908424a6ddf59f889e21b07f4a069eb638
71
py
Python
hello.py
gabriel-flyrlabs/hello-world-test
5a209215479d6e56cfea19177040fae9ca5acb24
[ "MIT" ]
null
null
null
hello.py
gabriel-flyrlabs/hello-world-test
5a209215479d6e56cfea19177040fae9ca5acb24
[ "MIT" ]
null
null
null
hello.py
gabriel-flyrlabs/hello-world-test
5a209215479d6e56cfea19177040fae9ca5acb24
[ "MIT" ]
null
null
null
print "Hello World!" print "Hello World again!" print 'more more more'
17.75
26
0.732394
11
71
4.727273
0.454545
0.384615
0.576923
0
0
0
0
0
0
0
0
0
0.15493
71
3
27
23.666667
0.866667
0
0
0
0
0
0.619718
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
7
a253c8e23d8b2dc804b57b1afc90c2cb489caf1e
410
py
Python
models/utils.py
sgalkina/svae_spectra
d443e6c0839875c7f19fc9362075bb8e54cdbca8
[ "MIT" ]
null
null
null
models/utils.py
sgalkina/svae_spectra
d443e6c0839875c7f19fc9362075bb8e54cdbca8
[ "MIT" ]
null
null
null
models/utils.py
sgalkina/svae_spectra
d443e6c0839875c7f19fc9362075bb8e54cdbca8
[ "MIT" ]
1
2022-03-18T12:33:15.000Z
2022-03-18T12:33:15.000Z
def unsupervised_distr(distr): variables = {k: k + '_u' for k in distr.var + distr.cond_var if k != 'z'} distr_unsupervised = distr.replace_var(**variables) return distr_unsupervised, variables def unsupervised_distr_no_var(distr): variables = {k: k + '_u' for k in distr.var + distr.cond_var if k != '...
37.272727
77
0.707317
59
410
4.677966
0.254237
0.246377
0.144928
0.115942
0.804348
0.804348
0.804348
0.804348
0.804348
0.804348
0
0
0.178049
410
10
78
41
0.818991
0
0
0.5
0
0
0.014634
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
a2a5a99a77212c0d1c5154f19871a23c9caef251
341
py
Python
Voice Assitent/Detec/l.py
AlbertBagdos256/Voice-Assistent
6280e19c22da04a0135c418b96b6273357e334e4
[ "MIT" ]
null
null
null
Voice Assitent/Detec/l.py
AlbertBagdos256/Voice-Assistent
6280e19c22da04a0135c418b96b6273357e334e4
[ "MIT" ]
null
null
null
Voice Assitent/Detec/l.py
AlbertBagdos256/Voice-Assistent
6280e19c22da04a0135c418b96b6273357e334e4
[ "MIT" ]
null
null
null
import os import subprocess prog_name = 'D:/Python.main/PETROVICH/Detec/obj_detec_oop.py' arg = '--prototxt MobileNetSSD_deploy.prototxt.txt --model MobileNetSSD_deploy.caffemodel' os.system(r'D:/Python.main/PETROVICH/Detec/obj_detec_oop.py --prototxt MobileNetSSD_deploy.prototxt.txt --model MobileNetSSD_deploy.c...
31
145
0.788856
46
341
5.652174
0.478261
0.276923
0.084615
0.153846
0.830769
0.830769
0.830769
0.830769
0.830769
0
0
0
0.096774
341
10
146
34.1
0.844156
0
0
0
0
0.2
0.792049
0.666667
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
9
a2cc7c8d046f57686330ef825bdc65b839580b8e
218
py
Python
http_responses/models/__init__.py
parveenchahal/python-common
4e5488615db3e0f8ba7f0bfeee87304a98fee2d5
[ "MIT" ]
null
null
null
http_responses/models/__init__.py
parveenchahal/python-common
4e5488615db3e0f8ba7f0bfeee87304a98fee2d5
[ "MIT" ]
null
null
null
http_responses/models/__init__.py
parveenchahal/python-common
4e5488615db3e0f8ba7f0bfeee87304a98fee2d5
[ "MIT" ]
null
null
null
from ._oauth2_token_response import Oath2TokenResponse from ._message_response import MessageResponseModel from ._error_response_model import ErrorResponseModel from ._session_token_response import SessionTokenResponse
54.5
57
0.912844
23
218
8.173913
0.565217
0.223404
0.202128
0
0
0
0
0
0
0
0
0.009852
0.068807
218
4
57
54.5
0.916256
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
a7d43861875dce212aa6f1f7535c0c09e0a3802c
36,508
py
Python
generators/generators.py
XingangPan/ShadeGAN
b151b3105e868373724f6719d7bf916d781cdec7
[ "MIT" ]
96
2021-11-01T01:49:38.000Z
2022-03-23T04:31:26.000Z
generators/generators.py
XingangPan/ShadeGAN
b151b3105e868373724f6719d7bf916d781cdec7
[ "MIT" ]
3
2021-11-08T03:15:40.000Z
2022-03-01T21:31:02.000Z
generators/generators.py
XingangPan/ShadeGAN
b151b3105e868373724f6719d7bf916d781cdec7
[ "MIT" ]
8
2021-11-02T13:37:03.000Z
2022-03-23T04:29:33.000Z
"""Implicit generator for 3D volumes""" import torch.nn as nn import torch from .volumetric_rendering import * from .decoder import ResDecoder from .utils import * class ImplicitGenerator3d(nn.Module): def __init__(self, siren, z_dim, shading, view_condition, light_condition, surf_track, ldist=None, **kwargs): ...
66.137681
324
0.624603
4,837
36,508
4.405003
0.054786
0.045994
0.059886
0.042052
0.877552
0.875862
0.867978
0.864692
0.861689
0.861689
0
0.016886
0.27005
36,508
551
325
66.257713
0.782656
0.05859
0
0.817978
0
0
0.01766
0
0
0
0
0
0
1
0.020225
false
0
0.011236
0
0.044944
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
ac260519216470963df403693d0e432ebea528b2
57
py
Python
passwordgenerator/__init__.py
aminbeigi/Password-Generator-Rest-API
b64159cd14cecabb6481be2ae10780e1435fb6a7
[ "MIT" ]
null
null
null
passwordgenerator/__init__.py
aminbeigi/Password-Generator-Rest-API
b64159cd14cecabb6481be2ae10780e1435fb6a7
[ "MIT" ]
null
null
null
passwordgenerator/__init__.py
aminbeigi/Password-Generator-Rest-API
b64159cd14cecabb6481be2ae10780e1435fb6a7
[ "MIT" ]
null
null
null
from .app import API_RESPONSE_LIMIT from .app import app
28.5
36
0.824561
10
57
4.5
0.6
0.311111
0.577778
0
0
0
0
0
0
0
0
0
0.140351
57
2
37
28.5
0.918367
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
ac46ecacef572c8618aded349c3ea24560fff672
147
py
Python
streamvbyte/__init__.py
iiSeymour/pystreamvbyte
7110399ac2dbcb98433185700828fee2d9b79a28
[ "Apache-2.0" ]
3
2020-12-28T02:15:35.000Z
2022-02-22T19:59:33.000Z
streamvbyte/__init__.py
iiSeymour/pystreamvbyte
7110399ac2dbcb98433185700828fee2d9b79a28
[ "Apache-2.0" ]
4
2019-05-05T22:25:31.000Z
2021-07-04T16:56:29.000Z
streamvbyte/__init__.py
iiSeymour/pystreamvbyte
7110399ac2dbcb98433185700828fee2d9b79a28
[ "Apache-2.0" ]
1
2021-07-01T19:06:23.000Z
2021-07-01T19:06:23.000Z
__version__ = '0.4.1' from streamvbyte.lib import encode, encode_0124, encode_delta from streamvbyte.lib import decode, decode_0124, decode_delta
29.4
61
0.816327
22
147
5.090909
0.545455
0.267857
0.321429
0.428571
0
0
0
0
0
0
0
0.083969
0.108844
147
4
62
36.75
0.770992
0
0
0
0
0
0.034014
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
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
0
0
1
0
1
0
0
7
ac619334ac18ce8de78877de38c168ac683f17ce
5,542
py
Python
gymnasiums/tests/tests_gymnasium_update_view.py
hbuyse/dj-gymnasiums
39f590dc703eec01c753ea54d7f4afd06f81a582
[ "MIT" ]
null
null
null
gymnasiums/tests/tests_gymnasium_update_view.py
hbuyse/dj-gymnasiums
39f590dc703eec01c753ea54d7f4afd06f81a582
[ "MIT" ]
null
null
null
gymnasiums/tests/tests_gymnasium_update_view.py
hbuyse/dj-gymnasiums
39f590dc703eec01c753ea54d7f4afd06f81a582
[ "MIT" ]
null
null
null
#! /usr/bin/env python # coding=utf-8 """Tests the views.""" # Django from django.contrib.auth import get_user_model from django.test import TestCase from django.urls import reverse # Current django project from gymnasiums.models import Gymnasium class TestGymnasiumUpdateViewAsAnonymous(TestCase): """Tests."""...
32.409357
113
0.579935
587
5,542
5.383305
0.158433
0.123418
0.086076
0.053165
0.881329
0.873418
0.873418
0.873418
0.873418
0.873418
0
0.029319
0.255323
5,542
170
114
32.6
0.73637
0.054313
0
0.828829
0
0
0.179348
0.004076
0
0
0
0
0.144144
1
0.108108
false
0.081081
0.036036
0
0.18018
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
1
0
0
0
0
0
8
3bc1d0358b5d3b8925f0da8fcc5e6a7bc84ce430
28,195
py
Python
test/functional-tests-legacy/PfwTestCase/Domains/tDomain_Configuration.py
mgaio/parameter-framework
320b4c11211706810c9f38d7599cac37dde54888
[ "BSD-3-Clause" ]
40
2015-01-29T16:00:41.000Z
2017-10-25T22:00:23.000Z
test/functional-tests-legacy/PfwTestCase/Domains/tDomain_Configuration.py
mgaio/parameter-framework
320b4c11211706810c9f38d7599cac37dde54888
[ "BSD-3-Clause" ]
365
2015-01-02T14:33:40.000Z
2017-10-13T00:49:58.000Z
test/functional-tests-legacy/PfwTestCase/Domains/tDomain_Configuration.py
mgaio/parameter-framework
320b4c11211706810c9f38d7599cac37dde54888
[ "BSD-3-Clause" ]
43
2015-01-22T10:54:58.000Z
2017-07-15T12:26:43.000Z
# -*-coding:utf-8 -* # Copyright (c) 2011-2015, Intel Corporation # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, thi...
56.844758
170
0.655648
3,118
28,195
5.801475
0.0805
0.024324
0.055724
0.034828
0.844491
0.829786
0.805794
0.780861
0.769528
0.748853
0
0.000695
0.234439
28,195
495
171
56.959596
0.837341
0.212839
0
0.747405
0
0
0.429064
0.048953
0
0
0
0
0.197232
1
0.020761
false
0
0.010381
0
0.034602
0.00346
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
cbec485fe80449617e1ed8b487832a45797677e0
16,582
py
Python
phyto_photo_utils/_fitting.py
tjryankeogh/phytophotoutils
48c1747bca837f1d4c73ff48d7c232840eca8352
[ "MIT" ]
null
null
null
phyto_photo_utils/_fitting.py
tjryankeogh/phytophotoutils
48c1747bca837f1d4c73ff48d7c232840eca8352
[ "MIT" ]
null
null
null
phyto_photo_utils/_fitting.py
tjryankeogh/phytophotoutils
48c1747bca837f1d4c73ff48d7c232840eca8352
[ "MIT" ]
1
2021-12-16T11:42:03.000Z
2021-12-16T11:42:03.000Z
#!/usr/bin/env python from numpy import count_nonzero, isnan, inf, linalg, arange, repeat, nan from scipy.optimize import least_squares from sklearn import linear_model import warnings warnings.filterwarnings("ignore", category=RuntimeWarning) from ._equations import __fit_kolber_nop__, __fit_kolber_p__, __fit_single_...
34.40249
403
0.656193
2,744
16,582
3.72777
0.06086
0.019552
0.023952
0.034216
0.907127
0.898524
0.896178
0.896178
0.885717
0.873986
0
0.040021
0.192317
16,582
481
404
34.474012
0.723736
0.039682
0
0.847545
0
0
0.091166
0
0
0
0
0
0
1
0.01292
false
0.03876
0.01292
0
0.077519
0.05168
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
0203c710abd08d0de7ac594a38c11e3c2abcc5d4
207
py
Python
Company-Project/src/main/pages/__init__.py
joshuadavidthomas/Wagtail-Pipit
1cd057590194c570c8c1674a58326a2abbd3b75c
[ "MIT" ]
124
2019-04-30T19:51:01.000Z
2022-03-25T17:10:52.000Z
{{cookiecutter.project_name}}/src/main/pages/__init__.py
albertfougy/Wagtail-Pipit
e82991c76bb3c79804971a33d30b9e098bfb4ea9
[ "MIT" ]
713
2019-05-20T12:10:22.000Z
2022-03-30T04:15:10.000Z
{{cookiecutter.project_name}}/src/main/pages/__init__.py
albertfougy/Wagtail-Pipit
e82991c76bb3c79804971a33d30b9e098bfb4ea9
[ "MIT" ]
18
2019-09-11T00:38:42.000Z
2022-02-07T16:00:48.000Z
from .base import * # NOQA from .base_serializer import * # NOQA from .home import * # NOQA from .home_serializer import * # NOQA from .article import * # NOQA from .article_serializer import * # NOQA
29.571429
41
0.710145
27
207
5.333333
0.259259
0.416667
0.486111
0.333333
0
0
0
0
0
0
0
0
0.202899
207
6
42
34.5
0.872727
0.140097
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
02170db23fdf11082f1e7c10728793c3030e05b4
210
py
Python
vit_pytorch/CvT/__init__.py
khawar512/OPVT
690e540e7f54e43751d28a046009993e3e325291
[ "MIT" ]
null
null
null
vit_pytorch/CvT/__init__.py
khawar512/OPVT
690e540e7f54e43751d28a046009993e3e325291
[ "MIT" ]
null
null
null
vit_pytorch/CvT/__init__.py
khawar512/OPVT
690e540e7f54e43751d28a046009993e3e325291
[ "MIT" ]
null
null
null
from vit_pytorch.face_losses import CosFace, ArcFace, SFaceLoss, Softmax from vit_pytorch.CvT.cvt import CvT,ConvAttention from vit_pytorch.CvT.module import ConvAttention,SepConv2d,FeedForward,Residual,PreNorm
70
87
0.871429
29
210
6.172414
0.586207
0.117318
0.234637
0.189944
0
0
0
0
0
0
0
0.005102
0.066667
210
3
87
70
0.908163
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
02182e695786ca8bb2a560027a9744dcbe20ac94
44,741
py
Python
monk/pytorch/models/layers.py
gstearmit/monk_v1
89184ae27dc6d134620034d5b12aa86473ea47ba
[ "Apache-2.0" ]
null
null
null
monk/pytorch/models/layers.py
gstearmit/monk_v1
89184ae27dc6d134620034d5b12aa86473ea47ba
[ "Apache-2.0" ]
null
null
null
monk/pytorch/models/layers.py
gstearmit/monk_v1
89184ae27dc6d134620034d5b12aa86473ea47ba
[ "Apache-2.0" ]
1
2020-10-07T12:57:44.000Z
2020-10-07T12:57:44.000Z
from pytorch.models.imports import * from system.imports import * @accepts(dict, int, post_trace=True) @TraceFunction(trace_args=True, trace_rv=True) def get_layer(network_layer, num_ftrs): layer_name = network_layer["name"]; layer_params = network_layer["params"]; if(layer_name == "linear"): ...
35.256895
110
0.660356
5,714
44,741
4.855268
0.035177
0.099917
0.155427
0.095195
0.901885
0.868435
0.83722
0.797643
0.761994
0.741665
0
0.007683
0.205851
44,741
1,269
111
35.256895
0.773128
0
0
0.719656
0
0
0.091547
0.013768
0
0
0
0
0
1
0.080559
false
0
0.002148
0
0.2116
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
0220447b9e033ed90d50eb6f8552e493ee18d0b0
3,915
py
Python
examples/src/Charts/AnimatingSeriesElements.py
aspose-slides/Aspose.Slides-for-Python-via-.NET
c55ad5c71f942598f1e67e22a52cbcd1cb286467
[ "MIT" ]
null
null
null
examples/src/Charts/AnimatingSeriesElements.py
aspose-slides/Aspose.Slides-for-Python-via-.NET
c55ad5c71f942598f1e67e22a52cbcd1cb286467
[ "MIT" ]
null
null
null
examples/src/Charts/AnimatingSeriesElements.py
aspose-slides/Aspose.Slides-for-Python-via-.NET
c55ad5c71f942598f1e67e22a52cbcd1cb286467
[ "MIT" ]
null
null
null
import aspose.slides as slides def charts_animating_series_elements(): #ExStart:AnimatingSeriesElements # The path to the documents directory. dataDir = "./examples/data/" outDir = "./examples/out/" # Load a presentation with slides.Presentation(dataDir + "charts_existing_chart.pptx") as pres...
103.026316
252
0.821967
446
3,915
7.029148
0.14574
0.244019
0.070494
0.103668
0.841786
0.841786
0.841786
0.841786
0.841786
0.824561
0
0.007287
0.088633
3,915
37
253
105.810811
0.871076
0.054151
0
0
0
0
0.026522
0.018133
0
0
0
0
0
0
null
null
0
0.045455
null
null
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
9
024dbaef9c26bc71d3bd020d037693481faf5542
139
py
Python
requests_oembed/__init__.py
dangayle/requests-oembed
7f3267ed2b67e313aea8ec72c274fb5d4ea11978
[ "MIT" ]
null
null
null
requests_oembed/__init__.py
dangayle/requests-oembed
7f3267ed2b67e313aea8ec72c274fb5d4ea11978
[ "MIT" ]
null
null
null
requests_oembed/__init__.py
dangayle/requests-oembed
7f3267ed2b67e313aea8ec72c274fb5d4ea11978
[ "MIT" ]
null
null
null
from requests_oembed import (endpoints, get_endpoint, get_oembed, gist, oembed) __all__=[endpoints, get_endpoint, get_oembed, gist,oembed]
46.333333
79
0.820144
19
139
5.526316
0.473684
0.228571
0.380952
0.438095
0.742857
0.742857
0.742857
0
0
0
0
0
0.086331
139
3
80
46.333333
0.826772
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
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
8
0267e9a93e2d77fcf4b1bd660ccd418625571f22
236
py
Python
cblib/scripts/filters/psdcones.py
HFriberg/cblib-base
164a00eb73ef3ac61f5b54f30492209cc69b854b
[ "Zlib" ]
3
2019-06-13T06:57:31.000Z
2020-06-18T09:58:11.000Z
cblib/scripts/filters/psdcones.py
HFriberg/cblib-base
164a00eb73ef3ac61f5b54f30492209cc69b854b
[ "Zlib" ]
1
2019-04-27T18:28:57.000Z
2019-04-30T17:16:53.000Z
cblib/scripts/filters/psdcones.py
HFriberg/cblib-base
164a00eb73ef3ac61f5b54f30492209cc69b854b
[ "Zlib" ]
3
2019-04-30T11:19:34.000Z
2019-05-31T13:12:17.000Z
import psdvarcones import psdmapcones def keyquery(cdim=None): return( psdvarcones.keyquery(cdim) | psdmapcones.keyquery(cdim) ) def getval(prob, cdim=None): return( psdvarcones.getval(prob,cdim) + psdmapcones.getval(prob,cdim) )
26.222222
73
0.771186
29
236
6.275862
0.344828
0.197802
0.230769
0.274725
0
0
0
0
0
0
0
0
0.105932
236
8
74
29.5
0.862559
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
8
028846f18bed975dba61de4144147c4ace3ac7fd
44,043
py
Python
alf/networks/encoding_networks.py
jesbu1/alf
def59fe39bdbca70a6c80e9b8f2c7c785cb59ea7
[ "Apache-2.0" ]
null
null
null
alf/networks/encoding_networks.py
jesbu1/alf
def59fe39bdbca70a6c80e9b8f2c7c785cb59ea7
[ "Apache-2.0" ]
null
null
null
alf/networks/encoding_networks.py
jesbu1/alf
def59fe39bdbca70a6c80e9b8f2c7c785cb59ea7
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2020 Horizon Robotics. 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 applicab...
44.577935
92
0.589152
5,054
44,043
4.922636
0.089434
0.037582
0.021705
0.021866
0.804775
0.785321
0.768922
0.753165
0.744403
0.732505
0
0.004952
0.339736
44,043
987
93
44.6231
0.850585
0.418477
0
0.759615
0
0
0.033374
0.004248
0
0
0
0.001013
0.044231
1
0.032692
false
0
0.026923
0.001923
0.094231
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
5a59255e6e651fbf080f0a9f574308f0bf255027
10,810
py
Python
cfgov/ask_cfpb/migrations/0045_remove_category_sidebar.py
adebisi-aden/consumerfinance.gov
8c0f5afac341823c59f73b0c6bd60592e0f5eaca
[ "CC0-1.0" ]
37
2020-08-18T19:52:39.000Z
2022-03-23T08:08:41.000Z
cfgov/ask_cfpb/migrations/0045_remove_category_sidebar.py
adebisi-aden/consumerfinance.gov
8c0f5afac341823c59f73b0c6bd60592e0f5eaca
[ "CC0-1.0" ]
338
2020-08-14T20:46:36.000Z
2022-03-31T20:49:32.000Z
cfgov/ask_cfpb/migrations/0045_remove_category_sidebar.py
adebisi-aden/consumerfinance.gov
8c0f5afac341823c59f73b0c6bd60592e0f5eaca
[ "CC0-1.0" ]
14
2020-10-21T15:27:03.000Z
2022-03-17T03:16:36.000Z
# Generated by Django 2.2.24 on 2021-08-03 13:53 from django.db import migrations import v1.atomic_elements.molecules import v1.blocks import v1.models.snippets import wagtail.core.blocks import wagtail.core.fields import wagtail.snippets.blocks class Migration(migrations.Migration): dependencies = [ ('...
360.333333
6,343
0.754117
1,492
10,810
5.396783
0.168901
0.139344
0.209016
0.154993
0.822032
0.817933
0.812842
0.802409
0.797566
0.778192
0
0.006696
0.088252
10,810
29
6,344
372.758621
0.810268
0.004255
0
0.26087
1
0.913043
0.398439
0.003066
0
0
0
0
0
1
0
false
0
0.304348
0
0.434783
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
12
5a60490956e03473c342fa3da4fa5e46c3412072
9,394
py
Python
tests/rtllib/test_multipliers.py
gtzimpragos/PyRTL
deeea93aa37a48d1cd6d65b2b475575de02a7a1c
[ "BSD-3-Clause" ]
null
null
null
tests/rtllib/test_multipliers.py
gtzimpragos/PyRTL
deeea93aa37a48d1cd6d65b2b475575de02a7a1c
[ "BSD-3-Clause" ]
null
null
null
tests/rtllib/test_multipliers.py
gtzimpragos/PyRTL
deeea93aa37a48d1cd6d65b2b475575de02a7a1c
[ "BSD-3-Clause" ]
null
null
null
import random import unittest import pyrtl import pyrtl.rtllib.testingutils as utils from pyrtl.rtllib import multipliers, adders, libutils class TestSimpleMult(unittest.TestCase): def setUp(self): pyrtl.reset_working_block() def test_trivial_case(self): self.mult_t_base(1, 5) def test...
36.410853
95
0.597615
1,319
9,394
4.035633
0.124337
0.02724
0.049033
0.061056
0.80387
0.781326
0.769303
0.764419
0.742438
0.711065
0
0.028333
0.28614
9,394
258
96
36.410853
0.765434
0.056738
0
0.56044
0
0
0.009494
0
0
0
0
0
0.098901
1
0.203297
false
0
0.027473
0
0.252747
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
5a62ac7db166975ac580d7cbeb62b1e3e6b9ff3b
4,981
py
Python
tests/utils/test_jinja_render_version_filters.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
null
null
null
tests/utils/test_jinja_render_version_filters.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
43
2019-06-01T23:08:32.000Z
2022-02-07T22:24:53.000Z
tests/utils/test_jinja_render_version_filters.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
null
null
null
# st2common from ultron8.utils import jinja as jinja_utils class TestJinjaUtilsVersionsFilterTestCase: def test_version_compare(self): env = jinja_utils.get_jinja_environment() template = '{{version | version_compare("0.10.0")}}' actual = env.from_string(template).render({"version": "0.9...
36.357664
72
0.60008
584
4,981
4.941781
0.070205
0.033264
0.099099
0.144837
0.936244
0.936244
0.919612
0.906098
0.872834
0.871448
0
0.042429
0.242923
4,981
136
73
36.625
0.722885
0.001807
0
0.733333
0
0
0.219517
0.086519
0
0
0
0
0.209524
1
0.085714
false
0
0.009524
0
0.104762
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
ce56a3baf14f61b65baf66e7b7625cc14fa8d197
1,533
py
Python
ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v1/losses/__init__.py
Lube-Project/ProgettoLube
cbf33971e2c2e865783ec1a2302625539186a338
[ "MIT" ]
2
2020-09-30T00:11:09.000Z
2021-10-04T13:00:38.000Z
ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v1/losses/__init__.py
Lube-Project/ProgettoLube
cbf33971e2c2e865783ec1a2302625539186a338
[ "MIT" ]
null
null
null
ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v1/losses/__init__.py
Lube-Project/ProgettoLube
cbf33971e2c2e865783ec1a2302625539186a338
[ "MIT" ]
1
2021-01-28T01:57:41.000Z
2021-01-28T01:57:41.000Z
# This file is MACHINE GENERATED! Do not edit. # Generated by: tensorflow/python/tools/api/generator/create_python_api.py script. """Loss operations for use in neural networks. Note: All the losses are added to the `GraphKeys.LOSSES` collection by default. """ from __future__ import print_function as _print_function...
47.90625
82
0.861709
230
1,533
5.521739
0.295652
0.226772
0.267717
0.307874
0.70315
0.70315
0.70315
0.695276
0.510236
0.179528
0
0
0.078278
1,533
31
83
49.451613
0.898797
0.163731
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0.95
0
0.95
0.1
0
0
0
null
1
1
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
8