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
6583de6de1913baff3c64de57ef3c14941675bd2
135
py
Python
jsonfriendly_redshift/utils.py
mishraamrish/jsonfriendly-redshift
5ba63b1159b9ac56e3173262fb30f9dde0595cd6
[ "MIT" ]
1
2020-09-05T16:12:04.000Z
2020-09-05T16:12:04.000Z
jsonfriendly_redshift/utils.py
mishraamrish/jsonfriendly-redshift
5ba63b1159b9ac56e3173262fb30f9dde0595cd6
[ "MIT" ]
null
null
null
jsonfriendly_redshift/utils.py
mishraamrish/jsonfriendly-redshift
5ba63b1159b9ac56e3173262fb30f9dde0595cd6
[ "MIT" ]
null
null
null
import json def generate_json_for_copy_query(list_data: list) -> str: return "\n".join([json.dumps(data) for data in list_data])
22.5
62
0.733333
23
135
4.043478
0.652174
0.172043
0
0
0
0
0
0
0
0
0
0
0.140741
135
5
63
27
0.801724
0
0
0
1
0
0.014815
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
658ef23097d0ef094ea1e1a47f7a20e0fed49a05
3,191
py
Python
unittests/test_day19p1.py
Nixxen/advent_of_code_2021
5dec9eec22272322b75961256d471876437b3597
[ "CC0-1.0" ]
null
null
null
unittests/test_day19p1.py
Nixxen/advent_of_code_2021
5dec9eec22272322b75961256d471876437b3597
[ "CC0-1.0" ]
null
null
null
unittests/test_day19p1.py
Nixxen/advent_of_code_2021
5dec9eec22272322b75961256d471876437b3597
[ "CC0-1.0" ]
null
null
null
from day19 import day19_part1 as test_code # Rotate point tests # rotate_point(point: tuple, rotation: int, axis: int) -> tuple print(f"test_code: {test_code}") def test_rotate_zero(): assert test_code.rotate_point((1, 2, 3), 0, 0) == (1, 2, 3) def test_rotate_90_origin(): # x, y, z = (0,0,0) assert te...
33.946809
64
0.551238
643
3,191
2.553655
0.046656
0.114495
0.323995
0.439708
0.898904
0.894032
0.868453
0.754568
0.754568
0.749695
0
0.14885
0.223128
3,191
93
65
34.311828
0.513514
0.092761
0
0
0
0
0.007639
0
0
0
0
0
0.711538
1
0.25
true
0
0.019231
0
0.269231
0.019231
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
1
1
0
0
0
0
0
0
11
65ce0ae0f1c9fda567a8c2e735d06b731f9c3d49
186
py
Python
chargebee_v2/models/download.py
armisael/chargebee-python
df01e80c8ed7ac8ed37ad985ce5a5682cba64c30
[ "MIT" ]
null
null
null
chargebee_v2/models/download.py
armisael/chargebee-python
df01e80c8ed7ac8ed37ad985ce5a5682cba64c30
[ "MIT" ]
null
null
null
chargebee_v2/models/download.py
armisael/chargebee-python
df01e80c8ed7ac8ed37ad985ce5a5682cba64c30
[ "MIT" ]
null
null
null
import json from chargebee_v2.model import Model from chargebee_v2 import request from chargebee_v2 import APIError class Download(Model): fields = ["download_url", "valid_till"]
18.6
43
0.790323
26
186
5.461538
0.538462
0.274648
0.316901
0.295775
0
0
0
0
0
0
0
0.018868
0.145161
186
9
44
20.666667
0.874214
0
0
0
0
0
0.118919
0
0
0
0
0
0
1
0
false
0
0.666667
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
0
0
1
0
1
0
0
7
029f4bb6c1704593fcef70d440faf53a780efc2b
13,815
py
Python
tests/previs/test_track.py
MehmetErer/anima
f92ae599b5a4c181fc8e131a9ccdde537e635303
[ "MIT" ]
101
2015-02-08T22:20:11.000Z
2022-03-21T18:56:42.000Z
tests/previs/test_track.py
Khosiyat/anima
f631c08400547f49ac5f1feeb730f22c255eb771
[ "MIT" ]
23
2016-11-30T08:33:21.000Z
2021-01-26T12:11:12.000Z
tests/previs/test_track.py
Khosiyat/anima
f631c08400547f49ac5f1feeb730f22c255eb771
[ "MIT" ]
27
2015-01-03T06:49:45.000Z
2021-12-28T03:30:54.000Z
# -*- coding: utf-8 -*- import unittest from anima.edit import Track, Clip, File class TrackTestCase(unittest.TestCase): """tests the anima.previs.Track class """ def test_to_xml_method_is_working_properly(self): """testing if the to xml method is working properly """ t = Track()...
28.962264
92
0.560912
1,709
13,815
4.441194
0.057929
0.077075
0.125165
0.0917
0.849144
0.830435
0.820422
0.802108
0.790119
0.727668
0
0.034239
0.304452
13,815
476
93
29.023109
0.755646
0.047774
0
0.777027
0
0
0.135595
0.092615
0
0
0
0
0.135135
1
0.013514
false
0
0.010135
0
0.027027
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
02af378000025ca85934a4a30e92ef15673d39ab
25
py
Python
t/t1.py
voidlizard/beepc
692f06fc90f06d753a8db786b27fafcf726f991c
[ "MIT" ]
2
2017-01-25T17:15:58.000Z
2017-09-05T20:57:46.000Z
t/t1.py
voidlizard/beepc
692f06fc90f06d753a8db786b27fafcf726f991c
[ "MIT" ]
null
null
null
t/t1.py
voidlizard/beepc
692f06fc90f06d753a8db786b27fafcf726f991c
[ "MIT" ]
null
null
null
b = a a = 1 print b
3.125
7
0.4
6
25
1.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.083333
0.52
25
7
8
3.571429
0.75
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
02ba8144eba30f7cb451736e210a449775b83b13
322
py
Python
extensions/.stubs/clrclasses/System/Net/Cache/__init__.py
vicwjb/Pycad
7391cd694b7a91ad9f9964ec95833c1081bc1f84
[ "MIT" ]
1
2020-03-25T03:27:24.000Z
2020-03-25T03:27:24.000Z
extensions/.stubs/clrclasses/System/Net/Cache/__init__.py
vicwjb/Pycad
7391cd694b7a91ad9f9964ec95833c1081bc1f84
[ "MIT" ]
null
null
null
extensions/.stubs/clrclasses/System/Net/Cache/__init__.py
vicwjb/Pycad
7391cd694b7a91ad9f9964ec95833c1081bc1f84
[ "MIT" ]
null
null
null
from __clrclasses__.System.Net.Cache import HttpCacheAgeControl from __clrclasses__.System.Net.Cache import HttpRequestCacheLevel from __clrclasses__.System.Net.Cache import HttpRequestCachePolicy from __clrclasses__.System.Net.Cache import RequestCacheLevel from __clrclasses__.System.Net.Cache import RequestCachePolic...
53.666667
66
0.891304
35
322
7.628571
0.314286
0.262172
0.374532
0.430712
0.636704
0.636704
0
0
0
0
0
0
0.062112
322
5
67
64.4
0.884106
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
02f17a68722bbedae002c6462af8c749e96d5c25
19,106
py
Python
plugins/rapid7_insightvm/komand_rapid7_insightvm/actions/asset_vulnerability_solution/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/rapid7_insightvm/komand_rapid7_insightvm/actions/asset_vulnerability_solution/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/rapid7_insightvm/komand_rapid7_insightvm/actions/asset_vulnerability_solution/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT import komand import json class Component: DESCRIPTION = "Returns the highest-superceding rollup solutions for a list of vulnerabilities on an asset" class Input: ASSET_ID = "asset_id" VULNERABILITY_IDS = "vulnerability_ids" class Output: VULNERABILITIES...
25.749326
126
0.321574
1,119
19,106
5.455764
0.09294
0.13104
0.194103
0.041933
0.845864
0.837346
0.825225
0.825225
0.809173
0.809173
0
0.01564
0.521459
19,106
741
127
25.784076
0.652084
0.001937
0
0.718407
1
0.005495
0.972361
0.022762
0
0
0
0
0
1
0.002747
false
0
0.002747
0
0.020604
0.038462
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
1
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
f30508b5c76e411e1f1845ffc98bc3b66db8659f
4,296
py
Python
api/v1/tests/test_asset_views.py
blockomat2100/vulnman
835ff3aae1168d8e2fa5556279bc86efd2e46472
[ "MIT" ]
null
null
null
api/v1/tests/test_asset_views.py
blockomat2100/vulnman
835ff3aae1168d8e2fa5556279bc86efd2e46472
[ "MIT" ]
23
2021-12-01T10:00:38.000Z
2021-12-11T11:43:13.000Z
api/v1/tests/test_asset_views.py
blockomat2100/vulnman
835ff3aae1168d8e2fa5556279bc86efd2e46472
[ "MIT" ]
null
null
null
from rest_framework.test import APITestCase from api.v1.mixins.testcase import VulnmanAPITestCaseMixin from apps.assets import models class AgentHostViewSetTestCase(APITestCase, VulnmanAPITestCaseMixin): def setUp(self): self.init_mixin() def test_createview(self): token = self.create_project...
39.777778
77
0.654795
513
4,296
5.37037
0.17154
0.08167
0.10853
0.058439
0.842468
0.842468
0.842468
0.810163
0.797459
0.797459
0
0.017991
0.223696
4,296
107
78
40.149533
0.808096
0.054469
0
0.691358
0
0
0.077303
0.037787
0
0
0
0.018692
0.185185
1
0.17284
false
0.074074
0.037037
0
0.234568
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
1
0
0
0
0
1
0
0
0
0
0
8
b8752b0c73bd5222046079a4569c1a5917f0d174
53,320
py
Python
infoblox_netmri/api/broker/v3_6_0/cli_credential_broker.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
infoblox_netmri/api/broker/v3_6_0/cli_credential_broker.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
infoblox_netmri/api/broker/v3_6_0/cli_credential_broker.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
from ..broker import Broker class CLICredentialBroker(Broker): controller = "cli_credentials" def index(self, **kwargs): """Lists the available cli credentials. Any of the inputs listed may be be used to narrow the list; other inputs will be ignored. Of the various ways to query lists, u...
45.533732
545
0.577457
6,325
53,320
4.821028
0.05502
0.085265
0.055423
0.065228
0.914571
0.911947
0.895222
0.88135
0.878956
0.872266
0
0.004443
0.333102
53,320
1,171
546
45.533732
0.853089
0.788691
0
0
0
0
0.059211
0.014474
0
0
0
0
0
1
0.428571
false
0
0.047619
0
1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
b8764fa8377ae899fae2ae3c918464740ed86c66
13,518
py
Python
mmvae_hub/networks/iwVaes.py
Jimmy2027/MMVAE_mnist_svhn_text
e6e74059bd5feefc0af088f7b1abc31b0e9f2ab7
[ "MIT" ]
null
null
null
mmvae_hub/networks/iwVaes.py
Jimmy2027/MMVAE_mnist_svhn_text
e6e74059bd5feefc0af088f7b1abc31b0e9f2ab7
[ "MIT" ]
24
2021-11-15T14:22:08.000Z
2022-02-28T14:30:23.000Z
mmvae_hub/networks/iwVaes.py
Jimmy2027/MMVAE_mnist_svhn_text
e6e74059bd5feefc0af088f7b1abc31b0e9f2ab7
[ "MIT" ]
null
null
null
import math import torch.distributions as distr import torch.nn.functional as F from mmvae_hub.networks.FlowVaes import MoFoPoE # from mmvae_hub.networks.GfMVaes import MopGfM # from mmvae_hub.networks.MixtureVaes import MOEMMVae, MoPoEMMVae from mmvae_hub.networks.PoEMMVAE import POEMMVae from mmvae_hub.networks.util...
43.747573
119
0.631824
1,787
13,518
4.493565
0.095691
0.059776
0.016936
0.037858
0.842217
0.832752
0.827024
0.805978
0.805978
0.800498
0
0.004942
0.26646
13,518
308
120
43.88961
0.804861
0.080633
0
0.810945
0
0
0.000485
0
0
0
0
0
0
1
0.094527
false
0
0.044776
0.004975
0.233831
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
b87fe4331ead7e6f053ae1e3ad99121a1d3fac11
10,004
py
Python
venv/Include/Matrix.py
matthijsvanvliet/raytracing-python
73d692b47330ab94eedde579a51063e3a907e92b
[ "MIT" ]
1
2021-06-03T11:34:15.000Z
2021-06-03T11:34:15.000Z
venv/Include/Matrix.py
matthijsvanvliet/raytracing-python
73d692b47330ab94eedde579a51063e3a907e92b
[ "MIT" ]
null
null
null
venv/Include/Matrix.py
matthijsvanvliet/raytracing-python
73d692b47330ab94eedde579a51063e3a907e92b
[ "MIT" ]
null
null
null
from Include.Tuple import * class Matrix4: length = 4 def __init__(self): self.m = [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]] @staticmethod def identity_matrix(): M = Matrix4() M.m[0][0] = 1.0 M.m[1][1] = 1.0 M.m[2][2] = 1.0 M.m[3][3] = 1....
30.13253
123
0.470312
1,515
10,004
3.066007
0.056106
0.026265
0.014855
0.017223
0.887621
0.853175
0.821529
0.778041
0.775242
0.757374
0
0.043953
0.367753
10,004
332
124
30.13253
0.690435
0.005598
0
0.80292
0
0
0
0
0
0
0
0
0
1
0.156934
false
0
0.00365
0.032847
0.361314
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
b21974a0601cfab260118d3bb64a5f5c6dd81081
1,101
py
Python
clickhouse_manager/config.py
Altinity/clickhouse-cluster-manager
744447893fbe8533fbce8d2266c2155c3e5b9a23
[ "MIT" ]
21
2017-12-17T04:49:59.000Z
2021-08-31T05:27:07.000Z
clickhouse_manager/config.py
Altinity/clickhouse-cluster-manager
744447893fbe8533fbce8d2266c2155c3e5b9a23
[ "MIT" ]
3
2018-10-28T20:35:51.000Z
2021-08-14T07:04:45.000Z
clickhouse_manager/config.py
Altinity/clickhouse-cluster-manager
744447893fbe8533fbce8d2266c2155c3e5b9a23
[ "MIT" ]
9
2017-08-09T11:34:38.000Z
2021-05-18T07:38:10.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- class Config(object): config = None def __init__(self, config): self.config = config def __str__(self): return str(self.config) def __getitem__(self, item): return self.config[item] def interactive(self): return sel...
22.02
54
0.605813
141
1,101
4.546099
0.241135
0.234009
0.299532
0.343214
0.466459
0.287051
0
0
0
0
0
0.001189
0.236149
1,101
49
55
22.469388
0.760999
0.038147
0
0
0
0
0.12772
0
0
0
0
0
0
1
0.466667
false
0.066667
0
0.433333
0.966667
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
0
1
0
1
1
0
0
7
b23455a012d3cdd23984ce1c2dd7d5a83a7457d2
7,072
py
Python
SBaaS_quantification/stage01_quantification_averages_postgresql_models.py
dmccloskey/SBaaS_quantification
b2a9c7a9a0d318f22ff20e311f94c213852ba914
[ "MIT" ]
null
null
null
SBaaS_quantification/stage01_quantification_averages_postgresql_models.py
dmccloskey/SBaaS_quantification
b2a9c7a9a0d318f22ff20e311f94c213852ba914
[ "MIT" ]
null
null
null
SBaaS_quantification/stage01_quantification_averages_postgresql_models.py
dmccloskey/SBaaS_quantification
b2a9c7a9a0d318f22ff20e311f94c213852ba914
[ "MIT" ]
null
null
null
from SBaaS_base.postgresql_orm_base import * class data_stage01_quantification_averagesMI(Base): __tablename__ = 'data_stage01_quantification_averagesmi' id = Column(Integer, Sequence('data_stage01_quantification_averagesmi_id_seq'), primary_key=True) experiment_id = Column(String(50)) sample_name_abb...
55.25
146
0.732607
801
7,072
5.878901
0.078652
0.322361
0.040773
0.03058
0.930771
0.898068
0.801444
0.781058
0.767467
0.704183
0
0.007308
0.187359
7,072
128
147
55.25
0.811902
0
0
0.756303
0
0
0.170249
0.119061
0
0
0
0
0
0
null
null
0
0.008403
null
null
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
9
b2a1dc491e94a0a78beede38e37e13d21ab4077e
2,444
py
Python
engine/test_ros_service.py
cnrancher/os-tests
57d46413954e602e81cad287410dfecf46bfef84
[ "Apache-2.0" ]
2
2018-11-14T17:02:02.000Z
2019-07-19T07:13:41.000Z
engine/test_ros_service.py
cnrancher/os-tests
57d46413954e602e81cad287410dfecf46bfef84
[ "Apache-2.0" ]
13
2018-11-06T09:29:50.000Z
2019-12-23T07:36:07.000Z
engine/test_ros_service.py
cnrancher/os-tests
57d46413954e602e81cad287410dfecf46bfef84
[ "Apache-2.0" ]
1
2018-11-05T04:03:20.000Z
2018-11-05T04:03:20.000Z
# coding = utf-8 # Create date: 2018-11-15 # Author :Bowen Lee from utils.connect_to_os import executor, connection def test_ros_local_service(ros_kvm_init, cloud_config_url): kwargs = dict(cloud_config='{url}default.yml'.format(url=cloud_config_url), is_install_to_hard_drive=True) tuple_return = ros_kvm_ini...
48.88
132
0.659574
333
2,444
4.645646
0.24024
0.081448
0.071105
0.081448
0.832579
0.739496
0.739496
0.739496
0.739496
0.739496
0
0.005656
0.204173
2,444
49
133
49.877551
0.789717
0.022913
0
0.702703
0
0
0.447148
0.060403
0
0
0
0
0.054054
1
0.054054
false
0
0.027027
0
0.081081
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
a277ff02a6a0a0c7eeeacc5d9a0d38b3a294dda0
2,991
py
Python
GPy/kern/_src/psi_comp/__init__.py
strongh/GPy
775ce9e64c1e8f472083b8f2430134047d97b2fa
[ "BSD-3-Clause" ]
1
2015-08-06T13:47:10.000Z
2015-08-06T13:47:10.000Z
GPy/kern/_src/psi_comp/__init__.py
strongh/GPy
775ce9e64c1e8f472083b8f2430134047d97b2fa
[ "BSD-3-Clause" ]
null
null
null
GPy/kern/_src/psi_comp/__init__.py
strongh/GPy
775ce9e64c1e8f472083b8f2430134047d97b2fa
[ "BSD-3-Clause" ]
1
2021-12-09T01:31:17.000Z
2021-12-09T01:31:17.000Z
# Copyright (c) 2012, GPy authors (see AUTHORS.txt). # Licensed under the BSD 3-clause license (see LICENSE.txt) from ....core.parameterization.parameter_core import Pickleable from GPy.util.caching import Cache_this from ....core.parameterization import variational import rbf_psi_comp import ssrbf_psi_comp import ssl...
54.381818
138
0.760615
331
2,991
6.637462
0.205438
0.182066
0.114702
0.149294
0.855712
0.855712
0.855712
0.842057
0.828402
0.828402
0
0.014794
0.163825
2,991
55
139
54.381818
0.863655
0.036108
0
0.533333
0
0
0.066644
0
0
0
0
0
0
0
null
null
0.044444
0.155556
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
a27d06552f2bfc1bd33158adeb294fc41deefbbf
322
py
Python
sira/__init__.py
GeoscienceAustralia/sira
01c99acae497fedc971367e0fa1611a90f5c64ef
[ "Apache-2.0" ]
1
2021-11-17T16:10:56.000Z
2021-11-17T16:10:56.000Z
sira/__init__.py
GeoscienceAustralia/sira
01c99acae497fedc971367e0fa1611a90f5c64ef
[ "Apache-2.0" ]
10
2020-07-28T02:19:22.000Z
2022-03-04T00:34:40.000Z
sira/__init__.py
GeoscienceAustralia/sira
01c99acae497fedc971367e0fa1611a90f5c64ef
[ "Apache-2.0" ]
1
2019-08-22T10:26:38.000Z
2019-08-22T10:26:38.000Z
from sira.__about__ import ( __packagename__, __description__, __url__, __version__, __author__, __email__, __license__, __copyright__ ) __all__ = [ __packagename__, __description__, __url__, __version__, __author__, __email__, __license__, __copyright__ ...
14.636364
28
0.658385
21
322
6.666667
0.619048
0.314286
0.357143
0.457143
0.842857
0.842857
0.842857
0.842857
0
0
0
0
0.279503
322
21
29
15.333333
0.603448
0
0
0.8
0
0
0
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0
1
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
0
0
0
0
0
0
0
0
9
a2c31035e3a5e5a50495528df3bff937fa04916e
62
py
Python
cbt/code.py
mentor2182/prog30042020
e76410da72384cb504e449870995b0d38a012f36
[ "MIT" ]
null
null
null
cbt/code.py
mentor2182/prog30042020
e76410da72384cb504e449870995b0d38a012f36
[ "MIT" ]
null
null
null
cbt/code.py
mentor2182/prog30042020
e76410da72384cb504e449870995b0d38a012f36
[ "MIT" ]
null
null
null
# -------------- print(bool) # -------------- print(bool)
6.888889
16
0.290323
4
62
4.5
0.5
1
0
0
0
0
0
0
0
0
0
0
0.16129
62
8
17
7.75
0.346154
0.467742
0
1
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
a2d08865cefed507ec460c20117048fb3cc964b5
175
py
Python
gym_matching/envs/__init__.py
mburq/gym-matching
277dc8832bd3878e1bd94c29893dcfc5278e9780
[ "MIT" ]
null
null
null
gym_matching/envs/__init__.py
mburq/gym-matching
277dc8832bd3878e1bd94c29893dcfc5278e9780
[ "MIT" ]
null
null
null
gym_matching/envs/__init__.py
mburq/gym-matching
277dc8832bd3878e1bd94c29893dcfc5278e9780
[ "MIT" ]
null
null
null
from gym_matching.envs.matching import MatchingEnv from gym_matching.envs.kidney_matching import KidneyMatchingEnv from gym_matching.envs.taxi_matching import TaxiMatchingEnv
43.75
63
0.897143
23
175
6.608696
0.434783
0.138158
0.296053
0.375
0
0
0
0
0
0
0
0
0.068571
175
3
64
58.333333
0.932515
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
a2eab7604e628c89de3e6a148162bc8f3ddf899c
42,909
py
Python
monk/pytorch_tests.py
take2rohit/monk_v1
9c567bf2c8b571021b120d879ba9edf7751b9f92
[ "Apache-2.0" ]
542
2019-11-10T12:09:31.000Z
2022-03-28T11:39:07.000Z
monk/pytorch_tests.py
take2rohit/monk_v1
9c567bf2c8b571021b120d879ba9edf7751b9f92
[ "Apache-2.0" ]
117
2019-11-12T09:39:24.000Z
2022-03-12T00:20:41.000Z
monk/pytorch_tests.py
take2rohit/monk_v1
9c567bf2c8b571021b120d879ba9edf7751b9f92
[ "Apache-2.0" ]
246
2019-11-09T21:53:24.000Z
2022-03-29T00:57:07.000Z
import os import sys import time from monk.pip_unit_tests.pytorch.test_optimizer_sgd import test_optimizer_sgd from monk.pip_unit_tests.pytorch.test_optimizer_nesterov_sgd import test_optimizer_nesterov_sgd from monk.pip_unit_tests.pytorch.test_optimizer_rmsprop import test_optimizer_rmsprop from monk.pip_unit_tests.p...
38.0062
141
0.708896
5,399
42,909
5.295425
0.030006
0.148304
0.116404
0.072053
0.898286
0.878979
0.878979
0.872403
0.811123
0.759391
0
0.005729
0.141649
42,909
1,129
142
38.0062
0.770519
0
0
0.751765
0
0
0.268492
0.002144
0
0
0
0
0
1
0.002353
false
0
0.12
0
0.122353
0.502353
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
0c314f9d3b57a477a6881f6d7430bc699369c584
148,786
py
Python
sympy/integrals/rubi/rules/logarithms.py
tachycline/sympy
abf6fec12012852c7e6fae38461da9723cadc8b9
[ "BSD-3-Clause" ]
null
null
null
sympy/integrals/rubi/rules/logarithms.py
tachycline/sympy
abf6fec12012852c7e6fae38461da9723cadc8b9
[ "BSD-3-Clause" ]
1
2017-10-23T06:56:43.000Z
2017-10-23T06:56:43.000Z
sympy/integrals/rubi/rules/logarithms.py
tachycline/sympy
abf6fec12012852c7e6fae38461da9723cadc8b9
[ "BSD-3-Clause" ]
1
2020-10-02T15:05:03.000Z
2020-10-02T15:05:03.000Z
from sympy.external import import_module matchpy = import_module("matchpy") from sympy.utilities.decorator import doctest_depends_on if matchpy: from matchpy import Pattern, ReplacementRule, CustomConstraint from sympy.integrals.rubi.utility_function import (Int, Set, With, Module, Scan, MapAnd, FalseQ, ZeroQ,...
200.520216
6,553
0.597597
27,440
148,786
3.213448
0.03309
0.389467
0.35761
0.038105
0.806764
0.791669
0.779568
0.766651
0.759847
0.752736
0
0.030893
0.133689
148,786
741
6,554
200.790823
0.653206
0.000114
0
0.02773
0
0
0.008974
0.000208
0
0
0
0
0
1
0.051993
false
0
0.019064
0
0.12305
0
0
0
0
null
1
1
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
0c4340774c10c7e2d8f9c9a59b9127d2922352d3
18,096
py
Python
sdk/python/pulumi_commercetools/shipping_method.py
unplatform-io/pulumi-commercetools
b81b998f99995c2ab7eb05a45220d414ae414da3
[ "ECL-2.0", "Apache-2.0" ]
1
2021-03-05T10:13:36.000Z
2021-03-05T10:13:36.000Z
sdk/python/pulumi_commercetools/shipping_method.py
unplatform-io/pulumi-commercetools
b81b998f99995c2ab7eb05a45220d414ae414da3
[ "ECL-2.0", "Apache-2.0" ]
2
2021-09-17T07:23:39.000Z
2021-09-20T12:34:51.000Z
sdk/python/pulumi_commercetools/shipping_method.py
unplatform-io/pulumi-commercetools
b81b998f99995c2ab7eb05a45220d414ae414da3
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
42.881517
145
0.648596
2,079
18,096
5.425685
0.075036
0.088741
0.112855
0.087766
0.841046
0.81977
0.791489
0.782447
0.777926
0.767287
0
0.000073
0.241048
18,096
421
146
42.983373
0.821247
0.249668
0
0.790614
1
0
0.083605
0.018475
0
0
0
0
0
1
0.162455
false
0.00361
0.018051
0.028881
0.277978
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
0c4f809c8f68a51bcec974458d222334e72ede8c
1,965
py
Python
bilstm/callbacks.py
alperkesen/bilstm-crf
577f93e2ef7e5814dca41aa32e2731d52f496b79
[ "MIT" ]
null
null
null
bilstm/callbacks.py
alperkesen/bilstm-crf
577f93e2ef7e5814dca41aa32e2731d52f496b79
[ "MIT" ]
null
null
null
bilstm/callbacks.py
alperkesen/bilstm-crf
577f93e2ef7e5814dca41aa32e2731d52f496b79
[ "MIT" ]
null
null
null
""" Custom callbacks. """ from keras.callbacks import Callback from seqeval.metrics import f1_score, classification_report class F1score(Callback): def __init__(self, steps, generator, preprocessor=None): super(F1score, self).__init__() self.steps = steps self.generator = generator ...
31.693548
62
0.614758
245
1,965
4.636735
0.220408
0.06338
0.091549
0.09507
0.859155
0.859155
0.859155
0.859155
0.859155
0.764085
0
0.016129
0.2743
1,965
61
63
32.213115
0.780505
0.008651
0
0.826087
0
0
0.031959
0
0
0
0
0
0
1
0.086957
false
0
0.043478
0
0.173913
0.130435
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
a78e37d7573b7267a747f9fc9fdaf7991438238e
191
py
Python
andes/models/dc/__init__.py
cuihantao/Andes
6cdc057986c4a8382194ef440b6e92b8dfb77e25
[ "Apache-2.0" ]
16
2017-06-16T14:21:04.000Z
2018-08-18T08:52:27.000Z
andes/models/dc/__init__.py
cuihantao/Andes
6cdc057986c4a8382194ef440b6e92b8dfb77e25
[ "Apache-2.0" ]
1
2017-12-12T07:51:16.000Z
2017-12-12T07:51:16.000Z
andes/models/dc/__init__.py
cuihantao/Andes
6cdc057986c4a8382194ef440b6e92b8dfb77e25
[ "Apache-2.0" ]
7
2017-12-10T07:32:36.000Z
2018-09-19T16:38:30.000Z
""" DC models. """ from andes.models.dc.ground import Ground # NOQA from andes.models.dc.node import Node # noqa from andes.models.dc.rlc import R, L, C, RCp, RLCp, RLCs, RCs, RLs # noqa
23.875
74
0.691099
33
191
4
0.515152
0.204545
0.340909
0.386364
0.318182
0
0
0
0
0
0
0
0.172775
191
7
75
27.285714
0.835443
0.136126
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
ac5c3aaeafd2dd16fd394fcd69d0bda5a2c37c1e
71,399
py
Python
voltha/core/global_handler.py
jonohart/voltha
87314cd53cb4c61e7e62b0ed3fc6da94603cc507
[ "Apache-2.0" ]
null
null
null
voltha/core/global_handler.py
jonohart/voltha
87314cd53cb4c61e7e62b0ed3fc6da94603cc507
[ "Apache-2.0" ]
null
null
null
voltha/core/global_handler.py
jonohart/voltha
87314cd53cb4c61e7e62b0ed3fc6da94603cc507
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 the original author or authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
42.348161
79
0.595779
6,378
71,399
6.543901
0.058012
0.082038
0.055203
0.062534
0.815919
0.809929
0.807725
0.806407
0.80449
0.796488
0
0.000407
0.311167
71,399
1,685
80
42.373294
0.848217
0.020182
0
0.814935
0
0
0.102681
0.033479
0
0
0
0
0.024675
0
null
null
0
0.013636
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
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
ac5ed8ab485bdc6918c6976a1d8b9c40a855d0fb
6,726
py
Python
surfstat/tests/test_SurfStatF.py
rudimeier/BrainStat
a5ef474ffd70300ecf5fa464fff4a41e71f4b7a1
[ "BSD-3-Clause" ]
null
null
null
surfstat/tests/test_SurfStatF.py
rudimeier/BrainStat
a5ef474ffd70300ecf5fa464fff4a41e71f4b7a1
[ "BSD-3-Clause" ]
null
null
null
surfstat/tests/test_SurfStatF.py
rudimeier/BrainStat
a5ef474ffd70300ecf5fa464fff4a41e71f4b7a1
[ "BSD-3-Clause" ]
null
null
null
import sys sys.path.append("python") from SurfStatF import * import surfstat_wrap as sw import numpy as np import sys import pytest sw.matlab_init_surfstat() def dummy_test(A, B): try: # wrap matlab functions Wrapped_slm = sw.matlab_SurfStatF(A, B) except: pytest.skip("Original MATLAB code does not work w...
24.458182
75
0.550699
1,140
6,726
3.185965
0.085965
0.114537
0.107379
0.114537
0.852698
0.842236
0.80011
0.787445
0.781663
0.776432
0
0.086991
0.241154
6,726
274
76
24.547445
0.624608
0.149123
0
0.798817
0
0
0.043832
0
0
0
0
0
0.005917
1
0.059172
false
0
0.035503
0
0.094675
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
3bd59da93414941620c2a743476383906d0ba526
20,136
py
Python
scripts/test_heuristics.py
SConsul/FLITE
7e3f462e66845a5c05e909d6a21dc1862a58579b
[ "MIT" ]
null
null
null
scripts/test_heuristics.py
SConsul/FLITE
7e3f462e66845a5c05e909d6a21dc1862a58579b
[ "MIT" ]
null
null
null
scripts/test_heuristics.py
SConsul/FLITE
7e3f462e66845a5c05e909d6a21dc1862a58579b
[ "MIT" ]
null
null
null
# Inputs import torch import numpy as np from heuristics import * # Test bounding box heuristic def test_bbox_heuristic(): # Define arguments test_paths = [['../dataset/orbit_benchmark_224/train/P665/bed/clutter/P665--bed--clutter--R8xCSOIpEhfXO5NsSHOPdaYcm0GM_0P4rwImD2WAmP0/P665--bed--clutter--R8xCSOIpEhfXO5...
157.3125
213
0.841925
1,970
20,136
8.452792
0.052792
0.069902
0.121067
0.138362
0.96625
0.963728
0.963728
0.963728
0.941809
0.941809
0
0.164527
0.021106
20,136
127
214
158.551181
0.68028
0.006158
0
0.070175
0
0.842105
0.939412
0.937762
0
0
0
0
0
1
0.017544
false
0
0.026316
0
0.04386
0.026316
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
3bf6440e20a829bf346c854418afe3a3758e7806
71,513
py
Python
pkgs/ops-pkg/src/genie/libs/ops/nd/iosxr/tests/nd_output.py
jbronikowski/genielibs
200a34e5fe4838a27b5a80d5973651b2e34ccafb
[ "Apache-2.0" ]
94
2018-04-30T20:29:15.000Z
2022-03-29T13:40:31.000Z
pkgs/ops-pkg/src/genie/libs/ops/nd/iosxr/tests/nd_output.py
jbronikowski/genielibs
200a34e5fe4838a27b5a80d5973651b2e34ccafb
[ "Apache-2.0" ]
67
2018-12-06T21:08:09.000Z
2022-03-29T18:00:46.000Z
pkgs/ops-pkg/src/genie/libs/ops/nd/iosxr/tests/nd_output.py
jbronikowski/genielibs
200a34e5fe4838a27b5a80d5973651b2e34ccafb
[ "Apache-2.0" ]
49
2018-06-29T18:59:03.000Z
2022-03-10T02:07:59.000Z
''' Nd Genie Ops Object Outputs for IOSXR. ''' class NdOutput(object): ShowIpv6Neighbors = { 'interfaces': { 'GigabitEthernet0/0/0/0.90': { 'interface': 'Gi0/0/0/0.90', 'neighbors': { 'fe80::f816:3eff:fe26:1224': { ...
40.748148
146
0.345504
5,353
71,513
4.418831
0.03512
0.020039
0.052084
0.054959
0.972986
0.966644
0.961317
0.961317
0.961317
0.961317
0
0.150364
0.504789
71,513
1,754
147
40.77138
0.517564
0.000531
0
0.815835
0
0
0.382043
0.065312
0
0
0.006455
0
0
1
0
false
0
0
0
0.00459
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
3bfe9dbb3c98307d9dcea9e478ee458d57b9fd43
194
py
Python
src/manage_switches/All.py
greenfructose/net-switch-tools
bb84fd103f556e4b29d553e6093237927b4907cb
[ "MIT" ]
null
null
null
src/manage_switches/All.py
greenfructose/net-switch-tools
bb84fd103f556e4b29d553e6093237927b4907cb
[ "MIT" ]
null
null
null
src/manage_switches/All.py
greenfructose/net-switch-tools
bb84fd103f556e4b29d553e6093237927b4907cb
[ "MIT" ]
null
null
null
from src.manage_switches.SwitchFunctions import * from src.manage_switches.DocFunctions import * from src.manage_switches.DoConcurrent import * from src.manage_switches.NetworkFunctions import *
48.5
50
0.860825
24
194
6.791667
0.375
0.171779
0.319018
0.515337
0.496933
0
0
0
0
0
0
0
0.07732
194
4
50
48.5
0.910615
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
ce1143ce8b08e87185112658e1aac38700bb0550
131
py
Python
Cell-200/Cell-200_64x64/cGAN-concat/models/__init__.py
asatk/improved_CcGAN
29a58e6e2a03e56c2ad80ae1a2ebbd0710e026f3
[ "MIT" ]
1
2022-02-26T00:07:37.000Z
2022-02-26T00:07:37.000Z
Cell-200/Cell-200_64x64/cGAN-concat/models/__init__.py
asatk/improved_CcGAN
29a58e6e2a03e56c2ad80ae1a2ebbd0710e026f3
[ "MIT" ]
null
null
null
Cell-200/Cell-200_64x64/cGAN-concat/models/__init__.py
asatk/improved_CcGAN
29a58e6e2a03e56c2ad80ae1a2ebbd0710e026f3
[ "MIT" ]
null
null
null
from .cond_cnn_generator_discriminator import * from .ResNet_regre import * from .ResNet_class import * from .autoencoder import *
26.2
47
0.816794
17
131
6
0.588235
0.294118
0.313725
0
0
0
0
0
0
0
0
0
0.122137
131
4
48
32.75
0.886957
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
ce1fa662502256a7fce61959cefcb28cdf2dbf32
237
py
Python
ardent/presets/__init__.py
DevinCrowley/ardent
5e731947e58b8670463521abe6a52d4962d4221f
[ "Apache-2.0" ]
15
2019-07-16T19:33:14.000Z
2022-01-30T13:50:55.000Z
ardent/presets/__init__.py
DevinCrowley/ardent
5e731947e58b8670463521abe6a52d4962d4221f
[ "Apache-2.0" ]
20
2019-08-13T21:59:06.000Z
2022-03-15T13:40:57.000Z
ardent/presets/__init__.py
DevinCrowley/ardent
5e731947e58b8670463521abe6a52d4962d4221f
[ "Apache-2.0" ]
6
2019-08-22T03:42:46.000Z
2020-07-15T23:15:49.000Z
from .batch_preprocessing import basic_preprocessing from .batch_preprocessing import basic_preprocessing_with_pad from .registration_parameters import get_registration_preset from .registration_parameters import get_registration_presets
59.25
61
0.919831
28
237
7.357143
0.428571
0.087379
0.213592
0.271845
0.902913
0.902913
0
0
0
0
0
0
0.063291
237
4
62
59.25
0.927928
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
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
9
ce24a7d849d7190dc9192ad1e24782aa05ea608f
1,034
py
Python
esppy/helper/helpers.py
Mentos05/SAS_AskTheExpert
623d10f1822e2fbf398dc7c2af1c6abb5d832668
[ "Apache-2.0" ]
null
null
null
esppy/helper/helpers.py
Mentos05/SAS_AskTheExpert
623d10f1822e2fbf398dc7c2af1c6abb5d832668
[ "Apache-2.0" ]
null
null
null
esppy/helper/helpers.py
Mentos05/SAS_AskTheExpert
623d10f1822e2fbf398dc7c2af1c6abb5d832668
[ "Apache-2.0" ]
null
null
null
#Helpfer Function: def create_scoring_schema(number_objects): _field = "id*:int64,image:blob,_image_:blob,_nObjects_:double," for obj in range(0,number_objects): _field += "_Object" + str(obj) + "_:string," _field += "_P_Object" + str(obj) + "_:double," _field += "_Object" + str(obj) + "...
44.956522
67
0.592843
122
1,034
4.54918
0.245902
0.194595
0.259459
0.306306
0.972973
0.972973
0.972973
0.972973
0.972973
0.972973
0
0.009938
0.22147
1,034
22
68
47
0.679503
0.016441
0
1
0
0
0.320866
0.102362
0
0
0
0
0
1
0.1
false
0
0
0
0.2
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
ce34deab8543e9b9a75ff123a82ec1fe4089fb41
15,510
py
Python
src/model_ops/lenet.py
hwang595/Draco
8472912cce82e6d74087a402fd417e7a837517ab
[ "MIT" ]
21
2018-09-19T06:30:57.000Z
2022-03-25T22:44:39.000Z
src/model_ops/lenet.py
hwang595/Draco
8472912cce82e6d74087a402fd417e7a837517ab
[ "MIT" ]
3
2018-12-31T05:44:22.000Z
2021-09-09T15:59:46.000Z
src/model_ops/lenet.py
hwang595/Draco
8472912cce82e6d74087a402fd417e7a837517ab
[ "MIT" ]
12
2018-09-19T06:30:59.000Z
2021-12-13T09:53:54.000Z
import torch from torch import nn import torch.nn.functional as F import pandas as pd import numpy as np from torch.autograd import Variable from mpi4py import MPI import sys from utils import err_simulation sys.path.insert(0, '../compress_gradient') from compress_gradient import compress #SEED_=428 #torch.manual_s...
47.286585
129
0.509929
1,700
15,510
4.419412
0.118824
0.062292
0.048449
0.066551
0.817383
0.804872
0.796087
0.787036
0.777452
0.768934
0
0.024346
0.353836
15,510
328
130
47.286585
0.725304
0.064926
0
0.830116
0
0
0.010797
0
0
0
0
0
0
1
0.03861
false
0.003861
0.03861
0.007722
0.111969
0.003861
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
ce3dafbf90810bb67ab314bd2ae201743235dcc8
10,838
py
Python
adafruit_is31fl3741/led_glasses_map.py
dhalbert/Adafruit_CircuitPython_IS31FL3741
d1b5dc416c5cd44ac59574aaba4797ebdc445d75
[ "MIT" ]
null
null
null
adafruit_is31fl3741/led_glasses_map.py
dhalbert/Adafruit_CircuitPython_IS31FL3741
d1b5dc416c5cd44ac59574aaba4797ebdc445d75
[ "MIT" ]
null
null
null
adafruit_is31fl3741/led_glasses_map.py
dhalbert/Adafruit_CircuitPython_IS31FL3741
d1b5dc416c5cd44ac59574aaba4797ebdc445d75
[ "MIT" ]
null
null
null
# SPDX-FileCopyrightText: 2021 Mark Komus # SPDX-License-Identifier: MIT """ LED glasses mappings """ # Maps to link IS31FL3741 LEDs to pixels # Full LED glasses 18 x 5 matrix glassesmatrix_ledmap = ( 65535, 65535, 65535, # (0,0) (clipped, corner) 10, 8, 9, # (0,1) / right ring pixel 20 ...
12.602326
79
0.3568
1,490
10,838
2.584564
0.261074
0.145417
0.109063
0.030901
0.811997
0.798494
0.755129
0.739548
0.739548
0.729161
0
0.548209
0.482285
10,838
859
80
12.616997
0.138122
0.224857
0
0.978571
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
ce3e7a5ec109f83bc9163f17c559ca61832f2f3b
162
py
Python
.utils/unescape_name.py
Symbian9/3d-models
8e2638a47c04bc90fc33e09ddd43567755dac0e9
[ "CC-BY-4.0" ]
4
2020-05-18T09:58:15.000Z
2022-01-16T03:51:44.000Z
.utils/unescape_name.py
Symbian9/3d-models
8e2638a47c04bc90fc33e09ddd43567755dac0e9
[ "CC-BY-4.0" ]
1
2022-01-17T00:00:23.000Z
2022-01-17T00:00:23.000Z
.utils/unescape_name.py
Symbian9/3d-models
8e2638a47c04bc90fc33e09ddd43567755dac0e9
[ "CC-BY-4.0" ]
1
2021-11-18T06:50:42.000Z
2021-11-18T06:50:42.000Z
#!/usr/bin/python import sys import re print(sys.argv[1].replace('\\', '')) #print(re.sub("(!|\$|#|&|\"|\'|\(|\)|\||<|>|`|\\\|;| )", r"\\\1", sys.argv[1])+'\n')
23.142857
84
0.432099
21
162
3.333333
0.619048
0.2
0.228571
0
0
0
0
0
0
0
0
0.02
0.074074
162
6
85
27
0.446667
0.604938
0
0
0
0
0.032787
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0.333333
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
cbfe183234a4657df540778d8c7a8bbdd8ca3adc
107
py
Python
montepython/likelihoods/Planck_lowl_TT/__init__.py
archaeo-pteryx/montepython_public
6fbcaa3266fd3a10a8e3ed4190dc65e6f29f1a37
[ "MIT" ]
69
2018-04-20T07:38:33.000Z
2022-03-11T06:55:36.000Z
montepython/likelihoods/Planck_lowl_TT/__init__.py
archaeo-pteryx/montepython_public
6fbcaa3266fd3a10a8e3ed4190dc65e6f29f1a37
[ "MIT" ]
263
2018-05-20T21:58:11.000Z
2022-03-30T21:45:48.000Z
montepython/likelihoods/Planck_lowl_TT/__init__.py
archaeo-pteryx/montepython_public
6fbcaa3266fd3a10a8e3ed4190dc65e6f29f1a37
[ "MIT" ]
78
2018-04-21T13:11:54.000Z
2022-02-01T01:57:31.000Z
from montepython.likelihood_class import Likelihood_clik class Planck_lowl_TT(Likelihood_clik): pass
17.833333
56
0.841121
14
107
6.071429
0.714286
0.329412
0
0
0
0
0
0
0
0
0
0
0.121495
107
5
57
21.4
0.904255
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
022890b846fd86bfb791624452a74c07336aa3e5
2,016
py
Python
runs.py
bentrevett/pytorch-for-code
1dd35e4b80eba8b1eae687d4f9c4a1c4d8122d0a
[ "MIT" ]
9
2020-01-20T12:59:45.000Z
2021-03-05T02:46:44.000Z
runs.py
bentrevett/pytorch-for-code
1dd35e4b80eba8b1eae687d4f9c4a1c4d8122d0a
[ "MIT" ]
null
null
null
runs.py
bentrevett/pytorch-for-code
1dd35e4b80eba8b1eae687d4f9c4a1c4d8122d0a
[ "MIT" ]
null
null
null
import subprocess for seed in [1,2,3,4,5]: train_data = 'data/codesearchnet/java_train_bpe_10000_0.5.jsonl' valid_data = 'data/codesearchnet/java_valid_bpe_10000_0.5.jsonl' test_data = 'data/codesearchnet/java_test_bpe_10000_0.5.jsonl' code_vocab = 'data/codesearchnet/java-bpe-10000-0.5_code_vocab.jso...
49.170732
195
0.718254
293
2,016
4.634812
0.133106
0.187776
0.066274
0.073638
0.949926
0.949926
0.925626
0.868189
0.828424
0.828424
0
0.049247
0.143849
2,016
40
196
50.4
0.737543
0
0
0.413793
0
0.103448
0.623821
0.37072
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
022af7542fb14ec5ee60dc3bea71ff05e6b23ea5
99
py
Python
utils/__init__.py
pedrocg42/awesome-cv-projects
928c48aa305d1cd0cd67412659a87ecc6fb6f8b0
[ "MIT" ]
null
null
null
utils/__init__.py
pedrocg42/awesome-cv-projects
928c48aa305d1cd0cd67412659a87ecc6fb6f8b0
[ "MIT" ]
null
null
null
utils/__init__.py
pedrocg42/awesome-cv-projects
928c48aa305d1cd0cd67412659a87ecc6fb6f8b0
[ "MIT" ]
null
null
null
from utils.object_detection import * from utils.pose_estimation import * from utils.utils import *
24.75
36
0.818182
14
99
5.642857
0.5
0.341772
0.379747
0
0
0
0
0
0
0
0
0
0.121212
99
3
37
33
0.908046
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
0284975082cdb2dc0c6ef3c5f34204a7ad83bd14
31,228
py
Python
backend/tests/baserow/contrib/database/ws/public/test_public_ws_rows_signals.py
ashishdhngr/baserow
b098678d2165eb7c42930ee24dc6753a3cb520c3
[ "MIT" ]
1
2022-01-24T15:12:02.000Z
2022-01-24T15:12:02.000Z
backend/tests/baserow/contrib/database/ws/public/test_public_ws_rows_signals.py
rasata/baserow
c6e1d7842c53f801e1c96b49f1377da2a06afaa9
[ "MIT" ]
null
null
null
backend/tests/baserow/contrib/database/ws/public/test_public_ws_rows_signals.py
rasata/baserow
c6e1d7842c53f801e1c96b49f1377da2a06afaa9
[ "MIT" ]
null
null
null
from unittest.mock import patch, call, ANY import pytest from django.db import transaction from baserow.contrib.database.api.constants import PUBLIC_PLACEHOLDER_ENTITY_ID from baserow.contrib.database.rows.handler import RowHandler from baserow.contrib.database.views.handler import ViewHandler from baserow.core.trash...
36.523977
88
0.608396
3,563
31,228
4.968285
0.045187
0.073946
0.103717
0.050955
0.952039
0.948706
0.939668
0.937578
0.925376
0.922721
0
0.015165
0.29893
31,228
854
89
36.566745
0.793404
0.07679
0
0.704735
0
0
0.147799
0.100549
0
0
0
0
0.022284
1
0.01532
false
0
0.009749
0
0.02507
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
5a14dc24fffc51f42daf42ee1564bd30c0740fd4
81
py
Python
interactions/ext/voice/__init__.py
interactions-py/voice
03826fd9ea319217b287aa66c5d67f26b815c6c1
[ "MIT" ]
null
null
null
interactions/ext/voice/__init__.py
interactions-py/voice
03826fd9ea319217b287aa66c5d67f26b815c6c1
[ "MIT" ]
null
null
null
interactions/ext/voice/__init__.py
interactions-py/voice
03826fd9ea319217b287aa66c5d67f26b815c6c1
[ "MIT" ]
1
2022-03-12T20:41:47.000Z
2022-03-12T20:41:47.000Z
from .client import * # noqa: F401 F403 from .state import * # noqa: F401 F403
27
40
0.679012
12
81
4.583333
0.583333
0.363636
0.509091
0.654545
0
0
0
0
0
0
0
0.190476
0.222222
81
2
41
40.5
0.68254
0.382716
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
5a3e5c58abbc8801bb6306c37e56ef2420cdd53a
184
py
Python
django/mysite/learn/models.py
tochenwei/mypython.github.io
10e7917b15dee219751e76ed49d9f72c31bc6a27
[ "Apache-2.0" ]
null
null
null
django/mysite/learn/models.py
tochenwei/mypython.github.io
10e7917b15dee219751e76ed49d9f72c31bc6a27
[ "Apache-2.0" ]
null
null
null
django/mysite/learn/models.py
tochenwei/mypython.github.io
10e7917b15dee219751e76ed49d9f72c31bc6a27
[ "Apache-2.0" ]
null
null
null
from __future__ import unicode_literals from django.db import models class Person(models.Model): name = models.CharField(max_length=20) age = models.CharField(max_length=2)
23
42
0.771739
26
184
5.192308
0.692308
0.222222
0.266667
0.355556
0
0
0
0
0
0
0
0.019108
0.146739
184
7
43
26.285714
0.840764
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
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
0
0
1
0
1
0
0
7
5a551a9722f23ba6444fdcd1e47b004a2eecc745
43,141
py
Python
Application/Jobs/edge_edline.py
cristi161/eecvf
519c488bd47f697ef51e88823f7a751a52677b88
[ "MIT" ]
1
2021-04-02T15:33:12.000Z
2021-04-02T15:33:12.000Z
Application/Jobs/edge_edline.py
cristi161/eecvf
519c488bd47f697ef51e88823f7a751a52677b88
[ "MIT" ]
null
null
null
Application/Jobs/edge_edline.py
cristi161/eecvf
519c488bd47f697ef51e88823f7a751a52677b88
[ "MIT" ]
1
2021-08-14T09:07:22.000Z
2021-08-14T09:07:22.000Z
# noinspection PyPackageRequirements from typing import Tuple import thinning # Do not delete used indirectly # noinspection PyUnresolvedReferences from Application.Frame import transferJobPorts from Application.Frame.global_variables import JobInitStateReturn from Application.Frame.transferJobPorts import get...
51.114929
153
0.628938
5,713
43,141
4.364432
0.057238
0.033047
0.025989
0.027071
0.959734
0.95063
0.918304
0.898773
0.886821
0.879402
0
0.009025
0.278297
43,141
843
154
51.175563
0.79181
0.254236
0
0.733475
0
0.008529
0.065941
0.013168
0
0
0
0
0
1
0.021322
false
0.027719
0.031983
0
0.091684
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
5a668418f81dc5c953465d01e9627b7fc77fa970
13,360
py
Python
trader/chartItem.py
freshjang/MyKiwoom
6342ec7ba8da55194bb473f9052d87f7fa1a640e
[ "MIT" ]
1
2022-01-06T15:06:24.000Z
2022-01-06T15:06:24.000Z
trader/chartItem.py
manjuni/MyKiwoom
67230451b02705b87573c43f7404ca9accf1035d
[ "MIT" ]
null
null
null
trader/chartItem.py
manjuni/MyKiwoom
67230451b02705b87573c43f7404ca9accf1035d
[ "MIT" ]
4
2021-11-27T12:09:52.000Z
2022-01-14T14:54:27.000Z
import os import sys import pyqtgraph as pg from PyQt5.QtGui import QPicture, QPainter from PyQt5.QtCore import Qt, QRectF, QPointF sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from utility.setting import * class ChuseItem(pg.GraphicsObject): def __init__(self, df, ymin, ymax): ...
37.00831
109
0.502919
1,611
13,360
4.080074
0.091868
0.027385
0.049293
0.076677
0.841168
0.832192
0.827172
0.82063
0.796744
0.761905
0
0.071957
0.352994
13,360
360
110
37.111111
0.688454
0
0
0.785942
0
0
0.029192
0
0
0
0
0
0
1
0.118211
false
0.00639
0.019169
0.025559
0.220447
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
ce70611e125d98fad8da9db53b4ce251721be0bb
7,451
py
Python
update_supply_chain_information/activity_stream/test/test_activity_stream_endpoint.py
uktrade/update-supply-chain-information
5cdcc795257b8351cf11b57487b194012ee8886d
[ "MIT" ]
null
null
null
update_supply_chain_information/activity_stream/test/test_activity_stream_endpoint.py
uktrade/update-supply-chain-information
5cdcc795257b8351cf11b57487b194012ee8886d
[ "MIT" ]
204
2021-05-26T16:15:04.000Z
2022-02-14T05:10:44.000Z
update_supply_chain_information/activity_stream/test/test_activity_stream_endpoint.py
uktrade/defend-data-capture
5cdcc795257b8351cf11b57487b194012ee8886d
[ "MIT" ]
1
2021-06-26T10:28:30.000Z
2021-06-26T10:28:30.000Z
from unittest import mock from urllib.parse import urlparse import pytest from activity_stream.test.util.hawk import get_hawk_header pytestmark = pytest.mark.django_db class TestActivityStreamEndpoint: def test_full_page_has_next_link( self, wrapped_union_queryset, logged_in_client, ...
39.215789
86
0.549054
681
7,451
5.627019
0.161527
0.082203
0.091858
0.040188
0.865344
0.85595
0.845511
0.845511
0.845511
0.845511
0
0.005391
0.377667
7,451
189
87
39.42328
0.821005
0.005771
0
0.766667
0
0
0.117202
0.086686
0
0
0
0
0.055556
1
0.027778
false
0
0.022222
0
0.055556
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
0c66a4abf3d4bffddd545cdc0c68d5dcd0f0c500
7,054
py
Python
dags/kd03-dags/KD_FACTOR_LEVEL2_2016_03_16_kd05.py
ywf5566/airflow
e7872dddbf275729b2c42e2a4ff602a6df7d1536
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
null
null
null
dags/kd03-dags/KD_FACTOR_LEVEL2_2016_03_16_kd05.py
ywf5566/airflow
e7872dddbf275729b2c42e2a4ff602a6df7d1536
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
null
null
null
dags/kd03-dags/KD_FACTOR_LEVEL2_2016_03_16_kd05.py
ywf5566/airflow
e7872dddbf275729b2c42e2a4ff602a6df7d1536
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from datetime import datetime from airflow import DAG from airflow.operators.bash_operator import BashOperator default_args = {'owner': 'afroot03'} dag = DAG('KD-FACTOR-LEVEL2-2016-03-16-kd05', default_args=default_args, schedule_interval=None, ...
176.35
285
0.84562
1,145
7,054
4.859389
0.092576
0.071891
0.089863
0.094357
0.923976
0.917505
0.917505
0.882279
0.862329
0.740474
0
0.128129
0.048483
7,054
39
286
180.871795
0.700834
0.005954
0
0
0
0.757576
0.586817
0.442288
0
0
0
0
0
1
0
false
0.060606
0.090909
0
0.090909
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
10
0cefe266e7bfeb569cc710e22479aad53888f734
3,634
py
Python
ECE-1160/Raspberry-Pi-IO/L2_1.py
zmattis/University_of_Pittsburgh
29ba0f4686f34d633b474bb792cf0e6cee8b0f1c
[ "MIT" ]
6
2017-07-21T17:56:15.000Z
2021-07-05T09:25:12.000Z
ECE-1160/Raspberry-Pi-IO/L2_1.py
zmattis/University_of_Pittsburgh
29ba0f4686f34d633b474bb792cf0e6cee8b0f1c
[ "MIT" ]
null
null
null
ECE-1160/Raspberry-Pi-IO/L2_1.py
zmattis/University_of_Pittsburgh
29ba0f4686f34d633b474bb792cf0e6cee8b0f1c
[ "MIT" ]
4
2018-10-14T03:28:19.000Z
2021-03-04T07:41:07.000Z
#!/usr/bin/python # course: ECE 1160 # laboratory: 2 # date: 10/04/18 # username: zmm15 # name: Zachary M. Mattis # title: Raspberry Pi SenseHat LED # description: Dynamic and Continuous display over SenseHat LED Matrix from sense_hat import SenseHat import color import time SLEEP_TI...
58.612903
117
0.668134
496
3,634
4.860887
0.120968
0.713397
1.051431
1.227706
0.836168
0.827457
0.827457
0.827457
0.827457
0.77893
0
0.005884
0.205008
3,634
61
118
59.57377
0.82866
0.064117
0
0.454545
0
0
0
0
0
0
0
0
0
1
0.022727
false
0
0.068182
0
0.227273
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
0
0
0
0
0
0
0
0
0
0
9
0cfb7ebd21c693915aa0fb58a08e79c2c8af4723
132
py
Python
rawg/tag.py
graynk/FindGameBot
62e5d2ecb6538e63bce584e2ca367ae21cd47011
[ "Apache-2.0" ]
2
2021-09-20T17:40:59.000Z
2021-10-09T13:48:49.000Z
rawg/tag.py
graynk/FindGameBot
62e5d2ecb6538e63bce584e2ca367ae21cd47011
[ "Apache-2.0" ]
null
null
null
rawg/tag.py
graynk/FindGameBot
62e5d2ecb6538e63bce584e2ca367ae21cd47011
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass from dataclasses_json import dataclass_json @dataclass_json @dataclass class Tag: name: str
14.666667
43
0.818182
17
132
6.176471
0.529412
0.285714
0.419048
0
0
0
0
0
0
0
0
0
0.151515
132
8
44
16.5
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
0b224d7ac527c9f73df32fefbbda284e9f1b8762
4,690
py
Python
test/validation/operators/boundary/test_maxwell_boundary.py
ignacia-fp/bempp-cl
a65232558826e51e624b1a4f649b6a0ed5a7f551
[ "MIT" ]
70
2019-09-04T15:15:05.000Z
2022-03-22T16:54:40.000Z
test/validation/operators/boundary/test_maxwell_boundary.py
ignacia-fp/bempp-cl
a65232558826e51e624b1a4f649b6a0ed5a7f551
[ "MIT" ]
66
2020-01-16T08:31:00.000Z
2022-03-25T11:18:59.000Z
test/validation/operators/boundary/test_maxwell_boundary.py
ignacia-fp/bempp-cl
a65232558826e51e624b1a4f649b6a0ed5a7f551
[ "MIT" ]
22
2019-09-30T08:50:33.000Z
2022-03-20T19:37:22.000Z
"""Unit tests for modified Helmholtz operators.""" # pylint: disable=redefined-outer-name # pylint: disable=C0103 import numpy as _np import pytest pytestmark = pytest.mark.usefixtures("default_parameters", "helpers") def test_maxwell_electric_field_sphere( default_parameters, helpers, device_interface, precis...
25.911602
87
0.66823
572
4,690
5.255245
0.166084
0.042582
0.05988
0.047904
0.92515
0.903859
0.901198
0.9002
0.897538
0.897538
0
0.023372
0.233689
4,690
180
88
26.055556
0.813022
0.06226
0
0.874016
0
0
0.059712
0.030657
0
0
0
0
0.031496
1
0.031496
false
0
0.094488
0
0.125984
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
0b3ebeeb76a9a12dc1a4a5e6ce851fbca71555d6
3,125
py
Python
Plot_power_cresc.py
mkraft89/To_eels_app
9e2fc6d501f51130b12164997f40cb7e0ec5a654
[ "Unlicense" ]
null
null
null
Plot_power_cresc.py
mkraft89/To_eels_app
9e2fc6d501f51130b12164997f40cb7e0ec5a654
[ "Unlicense" ]
null
null
null
Plot_power_cresc.py
mkraft89/To_eels_app
9e2fc6d501f51130b12164997f40cb7e0ec5a654
[ "Unlicense" ]
null
null
null
#Plot the potential of the periodic surface with a dipole source import numpy as np import matplotlib.pyplot as plt from Calc_power_cresc import Pow_abs_rad, \ Pow_abs_rad_r,\ Pow_abs_rad_hori,\ Pow_sca_rad, ...
26.483051
81
0.55744
561
3,125
2.934046
0.192513
0.014581
0.034022
0.048603
0.854192
0.831106
0.831106
0.797084
0.797084
0.797084
0
0.067059
0.29376
3,125
117
82
26.709402
0.678749
0.08608
0
0.701299
0
0
0.015817
0
0
0
0
0
0
1
0.025974
false
0
0.038961
0
0.064935
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
0b46a745a6dcdb583716115ab3708a7928a01133
376
py
Python
tests/bool/boolop.py
chrivers/pyjaco
8ad793dce34ab7aed3b973aae729d6a943a2381c
[ "MIT" ]
38
2015-01-01T18:08:59.000Z
2022-02-18T08:57:27.000Z
tests/bool/boolop.py
chrivers/pyjaco
8ad793dce34ab7aed3b973aae729d6a943a2381c
[ "MIT" ]
1
2020-01-08T04:32:52.000Z
2020-01-08T04:32:52.000Z
tests/bool/boolop.py
chrivers/pyjaco
8ad793dce34ab7aed3b973aae729d6a943a2381c
[ "MIT" ]
12
2016-03-07T09:30:49.000Z
2021-09-05T20:38:47.000Z
A = [1, 2, 3, 4, 5, 6] B = [1, 2, 3, 4, 5, 6] C = [1, 2, 3, 4, 5, 6] for a in A: for b in B: for c in C: if a > b > c: print ">", (a, b, c) if a < b < c: print ">", (a, b, c) if a >= b >= c: print ">=", (a, b, c) ...
23.5
37
0.25
65
376
1.446154
0.2
0.170213
0.255319
0.212766
0.755319
0.755319
0.56383
0.56383
0.56383
0.56383
0
0.105263
0.545213
376
15
38
25.066667
0.444444
0
0
0.142857
0
0
0.015957
0
0
0
0
0
0
0
null
null
0
0
null
null
0.285714
0
0
1
null
0
1
1
0
1
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
0baa1f03a286d754b92f9b1d9c53e6b98745032e
36,998
py
Python
SGL-pdarts/genotypes.py
chaitanyaspatil/DeepLearningSGL
3f6b55030277d109b09441a7a6a48f8be3b45d57
[ "MIT" ]
null
null
null
SGL-pdarts/genotypes.py
chaitanyaspatil/DeepLearningSGL
3f6b55030277d109b09441a7a6a48f8be3b45d57
[ "MIT" ]
null
null
null
SGL-pdarts/genotypes.py
chaitanyaspatil/DeepLearningSGL
3f6b55030277d109b09441a7a6a48f8be3b45d57
[ "MIT" ]
null
null
null
from collections import namedtuple Genotype = namedtuple('Genotype', 'normal normal_concat reduce reduce_concat') PRIMITIVES = [ 'none', 'max_pool_3x3', 'avg_pool_3x3', 'skip_connect', 'sep_conv_3x3', 'sep_conv_5x5', 'dil_conv_3x3', 'dil_conv_5x5' ] NASNet = Genotype( normal = [ ...
184.069652
454
0.653738
6,480
36,998
3.289043
0.007407
0.188852
0.217708
0.10374
0.985877
0.984047
0.979027
0.965749
0.950077
0.919157
0
0.120498
0.093356
36,998
200
455
184.99
0.514876
0.268312
0
0.32
0
0
0.427425
0
0
0
0
0
0
1
0
false
0
0.008
0
0.008
0
0
0
0
null
0
1
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
0
0
0
0
0
0
0
0
0
8
0bb42ea077bd00b3b1e5d0995ecfae89e5b49ee5
186
py
Python
icbd/compiler/tests/import_target.py
kmod/icbd
9636564eb3993afa07c6220d589bbd1991923d74
[ "MIT" ]
7
2015-04-06T15:17:13.000Z
2020-10-21T04:57:00.000Z
icbd/compiler/tests/import_target.py
kmod/icbd
9636564eb3993afa07c6220d589bbd1991923d74
[ "MIT" ]
null
null
null
icbd/compiler/tests/import_target.py
kmod/icbd
9636564eb3993afa07c6220d589bbd1991923d74
[ "MIT" ]
4
2016-05-16T17:53:08.000Z
2020-11-28T17:18:50.000Z
import import_nested_target print "importing", __name__ import import_nested_target x = 1 def foo(): print "foo()" # def k(): # print x # foo() class C(object): pass
11.625
27
0.639785
26
186
4.269231
0.576923
0.216216
0.324324
0.432432
0
0
0
0
0
0
0
0.007092
0.241935
186
15
28
12.4
0.780142
0.11828
0
0.25
0
0
0.0875
0
0
0
0
0
0
0
null
null
0.125
0.375
null
null
0.25
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
1
0
0
0
0
7
f019e3d5d8729ae9db35c27057f61c31bc0190bd
7,329
py
Python
polynomials_on_simplices/calculus/test/finite_difference_test.py
FAndersson/polynomials_on_simplices
f015a4772c817bfa99b0d6b726667a38a174b064
[ "MIT" ]
1
2021-03-17T11:41:21.000Z
2021-03-17T11:41:21.000Z
polynomials_on_simplices/calculus/test/finite_difference_test.py
FAndersson/polynomials_on_simplices
f015a4772c817bfa99b0d6b726667a38a174b064
[ "MIT" ]
null
null
null
polynomials_on_simplices/calculus/test/finite_difference_test.py
FAndersson/polynomials_on_simplices
f015a4772c817bfa99b0d6b726667a38a174b064
[ "MIT" ]
null
null
null
""" Unit tests for the finite_difference module """ import unittest import numpy as np from scipy.optimize import rosen, rosen_der, rosen_hess from polynomials_on_simplices.calculus.finite_difference import ( central_difference, central_difference_jacobian, forward_difference, forward_difference_jacobian, se...
30.285124
116
0.560377
1,094
7,329
3.603291
0.099634
0.085236
0.073059
0.085236
0.834855
0.834855
0.831304
0.831304
0.820649
0.820649
0
0.045755
0.299222
7,329
241
117
30.410788
0.721768
0.086369
0
0.761905
0
0
0.001199
0
0
0
0
0
0.202381
1
0.142857
false
0
0.02381
0.047619
0.25
0.005952
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
f02231f8080ee24555ffcbee63218ec93b78787a
234
py
Python
pretrain/modules/__init__.py
xiling42/VL-BERT
4573b4e1e82b6c092d4830d0b88821e9ee1a81fb
[ "MIT" ]
671
2019-11-22T06:29:37.000Z
2022-03-26T02:06:11.000Z
pretrain/modules/__init__.py
xiling42/VL-BERT
4573b4e1e82b6c092d4830d0b88821e9ee1a81fb
[ "MIT" ]
83
2019-12-01T04:14:29.000Z
2022-02-14T17:16:13.000Z
pretrain/modules/__init__.py
xiling42/VL-BERT
4573b4e1e82b6c092d4830d0b88821e9ee1a81fb
[ "MIT" ]
123
2019-12-03T12:58:37.000Z
2022-03-30T02:42:01.000Z
from .resnet_vlbert_for_pretraining import ResNetVLBERTForPretraining from .resnet_vlbert_for_pretraining_multitask import ResNetVLBERTForPretrainingMultitask from .resnet_vlbert_for_attention_vis import ResNetVLBERTForAttentionVis
39
88
0.92735
23
234
8.956522
0.521739
0.145631
0.23301
0.276699
0.291262
0
0
0
0
0
0
0
0.059829
234
5
89
46.8
0.936364
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
f03dd725d7535b418a3c15449aad96cc9262a536
21,839
py
Python
tensorlayerx/optimizers/torch_optimizers.py
tensorlayer/TensorLayerX
4e3e6f13687309dda7787f0b86e35a62bb3adbad
[ "Apache-2.0" ]
34
2021-12-03T08:19:23.000Z
2022-03-13T08:34:34.000Z
tensorlayerx/optimizers/torch_optimizers.py
tensorlayer/TensorLayerX
4e3e6f13687309dda7787f0b86e35a62bb3adbad
[ "Apache-2.0" ]
null
null
null
tensorlayerx/optimizers/torch_optimizers.py
tensorlayer/TensorLayerX
4e3e6f13687309dda7787f0b86e35a62bb3adbad
[ "Apache-2.0" ]
3
2021-12-28T16:57:20.000Z
2022-03-18T02:23:14.000Z
#! /usr/bin/python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import torch.optim as optimizer from torch.optim import _functional as F import torch from tensorlayerx.optimizers.lr import LRScheduler __all__ = ['Adadelta', 'Adagrad', 'Adam', 'Adamax', 'Ftrl', 'Nadam', 'RMS...
32.069016
130
0.535647
2,430
21,839
4.595062
0.069136
0.056153
0.032599
0.016299
0.856708
0.834139
0.813183
0.794197
0.781121
0.76715
0
0.009058
0.378222
21,839
680
131
32.116176
0.813241
0.023582
0
0.779412
0
0
0.076259
0
0
0
0
0
0
1
0.056985
false
0.007353
0.009191
0
0.126838
0.001838
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
e8f8376076961e379ba46aa1b139740c0af91eee
62,052
py
Python
infoblox_netmri/api/broker/v3_8_0/if_arp_broker.py
infobloxopen/infoblox_netmri
aa1c744df7e439dbe163bb9edd165e4e85a9771b
[ "Apache-2.0" ]
12
2016-02-19T12:37:54.000Z
2022-03-04T20:11:08.000Z
infoblox_netmri/api/broker/v3_8_0/if_arp_broker.py
infobloxopen/infoblox_netmri
aa1c744df7e439dbe163bb9edd165e4e85a9771b
[ "Apache-2.0" ]
18
2015-11-12T18:37:00.000Z
2021-05-19T07:59:55.000Z
infoblox_netmri/api/broker/v3_8_0/if_arp_broker.py
infobloxopen/infoblox_netmri
aa1c744df7e439dbe163bb9edd165e4e85a9771b
[ "Apache-2.0" ]
18
2016-01-07T12:04:34.000Z
2022-03-31T11:05:41.000Z
from ..broker import Broker class IfArpBroker(Broker): controller = "if_arps" def show(self, **kwargs): """Shows the details for the specified if arp. **Inputs** | ``api version min:`` None | ``api version max:`` None | ``required:`` True ...
50.001612
594
0.596854
7,557
62,052
4.852587
0.039698
0.077445
0.05034
0.081154
0.953151
0.952333
0.931608
0.919255
0.91331
0.912056
0
0.005096
0.316863
62,052
1,240
595
50.041935
0.859991
0.809337
0
0
0
0
0.066448
0
0
0
0
0
0
1
0.428571
false
0
0.047619
0
1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
9
3332c3d3d91bcaa3cd64d074ffb8aae40b764324
33,668
py
Python
equations_gallery.py
VLSF/Laplace-Beltrami-Multigrid
9d0cb37f7585eb59b75f23f78a8d74c6b4afc579
[ "MIT" ]
1
2018-12-04T06:44:52.000Z
2018-12-04T06:44:52.000Z
equations_gallery.py
VLSF/Laplace-Beltrami-Multigrid
9d0cb37f7585eb59b75f23f78a8d74c6b4afc579
[ "MIT" ]
null
null
null
equations_gallery.py
VLSF/Laplace-Beltrami-Multigrid
9d0cb37f7585eb59b75f23f78a8d74c6b4afc579
[ "MIT" ]
1
2018-10-08T14:44:19.000Z
2018-10-08T14:44:19.000Z
import numpy as np from harmonic_equation import harmonic_equation from equation import equation import low_level_tools as llt ################################################################################ def eq_11_bc(current): N, M = current[0].shape z = np.linspace(0, 1, N) x, y = np.meshgrid(z, z, i...
30.195516
118
0.478407
6,189
33,668
2.484085
0.02666
0.026929
0.069728
0.078444
0.865943
0.845193
0.817744
0.792767
0.784051
0.777612
0
0.0927
0.279405
33,668
1,114
119
30.222621
0.540992
0.022989
0
0.729761
0
0
0.007187
0
0
0
0
0
0
1
0.062714
false
0
0.004561
0.00114
0.129989
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
3370b548b14bab05cbf97184fec103126d1eccad
3,571
py
Python
src/day20.py
StenAL/Advent-of-Code-2021
57c1b11c3a83ed75520875f4811f3bb1e9ebc950
[ "MIT" ]
1
2021-12-03T20:11:51.000Z
2021-12-03T20:11:51.000Z
src/day20.py
StenAL/Advent-of-Code-2021
57c1b11c3a83ed75520875f4811f3bb1e9ebc950
[ "MIT" ]
null
null
null
src/day20.py
StenAL/Advent-of-Code-2021
57c1b11c3a83ed75520875f4811f3bb1e9ebc950
[ "MIT" ]
null
null
null
from util import * from collections import * import copy from functools import reduce from math import prod day = 20 def get_neighbors(p): (x, y) = p neighbors = [] for d1 in range(-1, 2): for d2 in range(-1, 2): neighbors.append((x + d2, y + d1)) # print(p, neighbors) return n...
27.469231
56
0.423411
393
3,571
3.778626
0.16285
0.043098
0.032323
0.040404
0.841751
0.841751
0.841751
0.841751
0.841751
0.841751
0
0.029286
0.474097
3,571
129
57
27.682171
0.761448
0.027163
0
0.828829
0
0
0.019602
0
0
0
0
0
0
1
0.027027
false
0
0.045045
0
0.081081
0.027027
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
337102171abebaf4acbfbc386e536620a9a1ed3e
118
py
Python
boa3_test/test_sc/native_test/stdlib/AtoiTooManyArguments.py
OnBlockIO/neo3-boa
cb317292a67532a52ed26f2b0f0f7d0b10ac5f5f
[ "Apache-2.0" ]
25
2020-07-22T19:37:43.000Z
2022-03-08T03:23:55.000Z
boa3_test/test_sc/native_test/stdlib/AtoiTooManyArguments.py
OnBlockIO/neo3-boa
cb317292a67532a52ed26f2b0f0f7d0b10ac5f5f
[ "Apache-2.0" ]
419
2020-04-23T17:48:14.000Z
2022-03-31T13:17:45.000Z
boa3_test/test_sc/native_test/stdlib/AtoiTooManyArguments.py
OnBlockIO/neo3-boa
cb317292a67532a52ed26f2b0f0f7d0b10ac5f5f
[ "Apache-2.0" ]
15
2020-05-21T21:54:24.000Z
2021-11-18T06:17:24.000Z
from boa3.builtin.nativecontract.stdlib import StdLib def main() -> int: return StdLib.atoi('100', 10, 'extra')
19.666667
53
0.70339
16
118
5.1875
0.875
0
0
0
0
0
0
0
0
0
0
0.06
0.152542
118
5
54
23.6
0.77
0
0
0
0
0
0.067797
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
683c747de8cb7c8365a153731ec6ab02962b07fe
1,328
py
Python
Solutions/ProjectEuler_08.py
Yassate/ProjectEuler
dd2a8402535f48d9ca5b45c6fbbe7f5359e088de
[ "MIT" ]
null
null
null
Solutions/ProjectEuler_08.py
Yassate/ProjectEuler
dd2a8402535f48d9ca5b45c6fbbe7f5359e088de
[ "MIT" ]
null
null
null
Solutions/ProjectEuler_08.py
Yassate/ProjectEuler
dd2a8402535f48d9ca5b45c6fbbe7f5359e088de
[ "MIT" ]
null
null
null
number = "7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729...
69.894737
1,011
0.899096
47
1,328
25.404255
0.425532
0.0134
0
0
0
0
0
0
0
0
0
0.818994
0.072289
1,328
18
1,012
73.777778
0.150162
0
0
0.266667
0
0
0.753012
0.753012
0
1
0
0
0
1
0
false
0
0
0
0
0.2
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
684f9c7dd67f02f8033d8c514f30eadf5d189ecc
159
py
Python
29/00/7.py
pylangstudy/201709
53d868786d7327a83bfa7f4149549c6f9855a6c6
[ "CC0-1.0" ]
null
null
null
29/00/7.py
pylangstudy/201709
53d868786d7327a83bfa7f4149549c6f9855a6c6
[ "CC0-1.0" ]
32
2017-09-01T00:52:17.000Z
2017-10-01T00:30:02.000Z
29/00/7.py
pylangstudy/201709
53d868786d7327a83bfa7f4149549c6f9855a6c6
[ "CC0-1.0" ]
null
null
null
from decimal import * print(Decimal('7.325').quantize(Decimal('.01'), rounding=ROUND_DOWN)) print(Decimal('7.325').quantize(Decimal('1.'), rounding=ROUND_UP))
39.75
69
0.72956
23
159
4.956522
0.565217
0.210526
0.22807
0.280702
0.54386
0.54386
0
0
0
0
0
0.072848
0.050314
159
3
70
53
0.682119
0
0
0
0
0
0.09434
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.666667
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
1
0
8
685115484e83978dcb8357bd3b60e2f0ef41eff4
150
py
Python
foolbox/zoo/__init__.py
Gokkulnath/foolbox
74cf9051b56c0a7d31709b4127c6a2ce049f18bd
[ "MIT" ]
null
null
null
foolbox/zoo/__init__.py
Gokkulnath/foolbox
74cf9051b56c0a7d31709b4127c6a2ce049f18bd
[ "MIT" ]
null
null
null
foolbox/zoo/__init__.py
Gokkulnath/foolbox
74cf9051b56c0a7d31709b4127c6a2ce049f18bd
[ "MIT" ]
null
null
null
from .zoo import get_model # noqa: F401 from .weights_fetcher import fetch_weights # noqa: F401 from .git_cloner import GitCloneError # noqa: F401
37.5
56
0.78
22
150
5.136364
0.590909
0.212389
0.212389
0
0
0
0
0
0
0
0
0.071429
0.16
150
3
57
50
0.825397
0.213333
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
68747ba6811a3db757e0ba1e61076faf87aca6b7
3,805
py
Python
tests/contrib/epidemiology/test_seir.py
johannespitz/pyro
96d515474cfebe7addfcde575ac468cc64d15470
[ "Apache-2.0" ]
null
null
null
tests/contrib/epidemiology/test_seir.py
johannespitz/pyro
96d515474cfebe7addfcde575ac468cc64d15470
[ "Apache-2.0" ]
null
null
null
tests/contrib/epidemiology/test_seir.py
johannespitz/pyro
96d515474cfebe7addfcde575ac468cc64d15470
[ "Apache-2.0" ]
null
null
null
# Copyright Contributors to the Pyro project. # SPDX-License-Identifier: Apache-2.0 import pytest import torch import pyro.distributions as dist from pyro.contrib.epidemiology import OverdispersedSEIRModel, SimpleSEIRModel @pytest.mark.parametrize("duration", [3, 7]) @pytest.mark.parametrize("forecast", [0, 7]) @py...
34.279279
77
0.661761
469
3,805
5.228145
0.196162
0.073409
0.07708
0.084421
0.832382
0.832382
0.832382
0.820147
0.820147
0.781811
0
0.027357
0.202628
3,805
110
78
34.590909
0.780817
0.055453
0
0.780488
0
0
0.063372
0
0
0
0
0
0.146341
1
0.036585
false
0
0.04878
0
0.085366
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
68adfc2195cf83e1a0ce7ccc5cbac19ab68e25cb
108
py
Python
keras_squeezenet_tf2/__init__.py
ktokolwiek/keras_squeezenet2
6326d47a2eccf2a558f9847fbe9240e02c41c5ac
[ "MIT" ]
3
2020-02-24T11:33:47.000Z
2021-05-30T03:23:12.000Z
keras_squeezenet_tf2/__init__.py
ktokolwiek/keras_squeezenet2
6326d47a2eccf2a558f9847fbe9240e02c41c5ac
[ "MIT" ]
6
2021-03-19T03:48:24.000Z
2022-03-11T23:59:54.000Z
keras_squeezenet_tf2/__init__.py
ktokolwiek/keras_squeezenet2
6326d47a2eccf2a558f9847fbe9240e02c41c5ac
[ "MIT" ]
3
2019-12-17T11:38:09.000Z
2021-11-25T07:54:01.000Z
from keras_squeezenet_tf2.squeezenet import SqueezeNet from keras_squeezenet_tf2.version import __version__
36
54
0.907407
14
108
6.428571
0.428571
0.2
0.422222
0.488889
0
0
0
0
0
0
0
0.02
0.074074
108
2
55
54
0.88
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
d7d117c08a130cafc00fa9d3da317131660184e9
438
py
Python
odin/fuel/image_data/__init__.py
trungnt13/odin-ai
9c6986a854e62da39637ea463667841378b7dd84
[ "MIT" ]
7
2020-12-29T19:35:58.000Z
2022-01-31T21:01:30.000Z
odin/fuel/image_data/__init__.py
imito/odin-ai
9c6986a854e62da39637ea463667841378b7dd84
[ "MIT" ]
3
2020-02-06T16:44:17.000Z
2020-09-26T05:26:14.000Z
odin/fuel/image_data/__init__.py
trungnt13/odin-ai
9c6986a854e62da39637ea463667841378b7dd84
[ "MIT" ]
6
2019-02-14T01:36:28.000Z
2020-10-30T13:16:32.000Z
from odin.fuel.image_data._base import ImageDataset from odin.fuel.image_data.all_mnist import * from odin.fuel.image_data.celeba import * from odin.fuel.image_data.cifar import * from odin.fuel.image_data.lego_faces import LegoFaces from odin.fuel.image_data.shapes import * # from odin.fuel.image_data.synthesize impor...
36.5
62
0.824201
70
438
4.985714
0.314286
0.206304
0.309456
0.438395
0.627507
0.386819
0
0
0
0
0
0.005038
0.093607
438
11
63
39.818182
0.874055
0.164384
0
0
0
0
0
0
0
0
0
0.090909
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
1
0
1
0
0
7
cc0b7ab07b911f17b8852989c8ac498f1abdae3a
99
py
Python
app/models/__init__.py
boceckts/ideahub
fbd48c53a5aaf7252a5461d0c0d2fe9d4eef9aed
[ "BSD-3-Clause" ]
null
null
null
app/models/__init__.py
boceckts/ideahub
fbd48c53a5aaf7252a5461d0c0d2fe9d4eef9aed
[ "BSD-3-Clause" ]
null
null
null
app/models/__init__.py
boceckts/ideahub
fbd48c53a5aaf7252a5461d0c0d2fe9d4eef9aed
[ "BSD-3-Clause" ]
null
null
null
from app.models.vote import Vote from app.models.idea import Idea from app.models.user import User
24.75
32
0.818182
18
99
4.5
0.388889
0.259259
0.481481
0
0
0
0
0
0
0
0
0
0.121212
99
3
33
33
0.931034
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
0be39c7699cff1addf16901ddef9976b1a6bed26
6,407
py
Python
loldib/getratings/models/NA/na_quinn/na_quinn_top.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_quinn/na_quinn_top.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_quinn/na_quinn_top.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Quinn_Top_Aatrox(Ratings): pass class NA_Quinn_Top_Ahri(Ratings): pass class NA_Quinn_Top_Akali(Ratings): pass class NA_Quinn_Top_Alistar(Ratings): pass class NA_Quinn_Top_Amumu(Ratings): pass class NA_Quinn_Top_Anivia(Ratings): pass ...
15.364508
46
0.761667
972
6,407
4.59465
0.151235
0.216301
0.370802
0.463502
0.797582
0.797582
0
0
0
0
0
0
0.173404
6,407
416
47
15.401442
0.843278
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
7
04156e7ba9654d496501be017f39f3fa2aa19d2c
3,547
py
Python
tcrdist/tests/test_vdj_funcs.py
zozo123/tcrdist3
49c6554f16ad7f20f50d7303a8ac75268f5f601f
[ "MIT" ]
26
2020-12-28T17:37:01.000Z
2022-01-29T01:31:13.000Z
tcrdist/tests/test_vdj_funcs.py
zozo123/tcrdist3
49c6554f16ad7f20f50d7303a8ac75268f5f601f
[ "MIT" ]
31
2020-08-17T22:17:57.000Z
2022-03-18T23:47:34.000Z
tcrdist/tests/test_vdj_funcs.py
zozo123/tcrdist3
49c6554f16ad7f20f50d7303a8ac75268f5f601f
[ "MIT" ]
7
2020-08-18T23:55:40.000Z
2021-09-22T18:15:54.000Z
import pytest def test_import_vdjtools_beta_w_validation(): import pandas as pd import numpy as np import os from tcrdist.paths import path_to_base from tcrdist.vdjtools_funcs import import_vdjtools from tcrdist.repertoire import TCRrep # Reformat vdj_tools input format for tcrdist3 ...
44.898734
145
0.647871
496
3,547
4.274194
0.163306
0.049057
0.067925
0.072642
0.910849
0.862736
0.838679
0.838679
0.80283
0.80283
0
0.010518
0.249507
3,547
78
146
45.474359
0.785875
0.026219
0
0.753846
0
0
0.203768
0.077101
0
0
0
0
0.153846
1
0.061538
false
0
0.461538
0
0.523077
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
1
0
1
0
0
9
f0870385c56319ffabf67174a18da7ffcb706c91
6,130
py
Python
src/tests/test_dataset_utils.py
bowang-lab/Transformer-GCN-QA
7b0a5f5a005ebaae75796c200035f7e6ce175971
[ "MIT" ]
11
2019-08-30T07:39:55.000Z
2022-03-24T09:29:35.000Z
src/tests/test_dataset_utils.py
berc-uoft/Transformer-GCN-QA
7b0a5f5a005ebaae75796c200035f7e6ce175971
[ "MIT" ]
27
2019-04-19T14:59:09.000Z
2019-06-18T15:51:51.000Z
src/tests/test_dataset_utils.py
bowang-lab/Transformer-GCN-QA
7b0a5f5a005ebaae75796c200035f7e6ce175971
[ "MIT" ]
1
2019-04-19T19:20:23.000Z
2019-04-19T19:20:23.000Z
from ..utils import dataset_utils class TestDatasetUtils(object): """Collects all unit tests for `utils.model_utils`. """ def test_load_wikihop(self, dataset): """Asserts that `data_utils.load_wikihop()` returns the expected value when `masked == True`. """ expected = {'train': [ ...
72.97619
984
0.629527
744
6,130
5.043011
0.307796
0.015991
0.009595
0.018124
0.866738
0.866738
0.866738
0.866738
0.866738
0.866738
0
0.030726
0.309788
6,130
83
985
73.855422
0.856062
0.039967
0
0.371429
0
0.085714
0.720307
0.013481
0
0
0
0
0.028571
1
0.028571
false
0
0.014286
0
0.057143
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0b0e7a5882ea8502e7ef01bb04dff9ddf72af5b8
11,867
py
Python
z3tracker/ruleset/vt8/ganonstower.py
compiling/z3-tracker
4bf7e4c7bca6f4e0ac51bede2208d8f19022bab0
[ "MIT" ]
null
null
null
z3tracker/ruleset/vt8/ganonstower.py
compiling/z3-tracker
4bf7e4c7bca6f4e0ac51bede2208d8f19022bab0
[ "MIT" ]
null
null
null
z3tracker/ruleset/vt8/ganonstower.py
compiling/z3-tracker
4bf7e4c7bca6f4e0ac51bede2208d8f19022bab0
[ "MIT" ]
null
null
null
''' Ganon's Tower ''' __all__ = 'LOCATIONS', LOCATIONS = { "Ganon's Tower Entrance (I)": { 'type': 'interior', 'link': { 'Castle Tower Entrance (E)': [('settings', 'inverted')], "Ganon's Tower Entrance (E)": [('nosettings', 'inverted')], "Ganon's Tower Lobby": ...
35.109467
77
0.466925
1,258
11,867
4.396661
0.067568
0.220213
0.403724
0.165974
0.910324
0.826794
0.713072
0.67185
0.628639
0.602965
0
0.007564
0.342715
11,867
337
78
35.21365
0.701538
0.001095
0
0.443425
0
0
0.530052
0
0
0
0
0
0
1
0
false
0.042813
0
0
0
0
0
0
0
null
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
9bc4a569e3cdc89fbf79f7c9e61695ff92401f12
3,752
py
Python
pyglitch/siOperations.py
HazelTheWitch/PyGlitch
c1c36de41ffdffec919e7932f4fd5b9759196295
[ "MIT" ]
5
2020-01-25T01:04:00.000Z
2020-11-18T17:47:42.000Z
pyglitch/siOperations.py
HazelTheWitch/PyGlitch
c1c36de41ffdffec919e7932f4fd5b9759196295
[ "MIT" ]
3
2021-06-08T20:51:30.000Z
2022-03-12T00:13:32.000Z
pyglitch/siOperations.py
HazelTheWitch/PyGlitch
c1c36de41ffdffec919e7932f4fd5b9759196295
[ "MIT" ]
null
null
null
def siOr(s0, s1): '''Performs s0 | s1 where s0 and s1 are lists of sections or intervals''' actSec = [False, False] secs = [] k0 = [i for s in s0 for i in s] k1 = [i for s in s1 for i in s] keyPoints = list(sorted([(k, 0) for k in k0] + [(k, 1) for k in k1], key=lam...
23.898089
86
0.425107
562
3,752
2.838078
0.099644
0.022571
0.025078
0.03511
0.810031
0.781818
0.781818
0.781818
0.781818
0.781818
0
0.059923
0.44403
3,752
156
87
24.051282
0.704698
0.072228
0
0.719626
0
0
0
0
0
0
0
0
0
1
0.046729
false
0
0
0
0.093458
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
9bf196e781709b2361ed95f00efd35e988d8ac5c
23,339
py
Python
pay-api/tests/unit/services/test_payment.py
stevenc987/sbc-pay
04f02f362f88a30c082b0643583b8d0ebff6063f
[ "Apache-2.0" ]
null
null
null
pay-api/tests/unit/services/test_payment.py
stevenc987/sbc-pay
04f02f362f88a30c082b0643583b8d0ebff6063f
[ "Apache-2.0" ]
null
null
null
pay-api/tests/unit/services/test_payment.py
stevenc987/sbc-pay
04f02f362f88a30c082b0643583b8d0ebff6063f
[ "Apache-2.0" ]
null
null
null
# Copyright © 2019 Province of British Columbia # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
44.455238
116
0.687476
2,937
23,339
5.130065
0.081716
0.069291
0.070751
0.054424
0.857702
0.844561
0.81934
0.79704
0.781111
0.769762
0
0.018793
0.231672
23,339
524
117
44.540076
0.821381
0.11123
0
0.761155
0
0
0.029962
0
0
0
0
0.001908
0.188976
1
0.036745
false
0
0.015748
0
0.052493
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
5015412d3e6b3aa674b4a8718fefe12edb6c6983
332
py
Python
atividades/exec108.py
Fleen66/Python_exercises
fd05fdf1181da833a1a1bc9f4a476afc8f467977
[ "MIT" ]
null
null
null
atividades/exec108.py
Fleen66/Python_exercises
fd05fdf1181da833a1a1bc9f4a476afc8f467977
[ "MIT" ]
null
null
null
atividades/exec108.py
Fleen66/Python_exercises
fd05fdf1181da833a1a1bc9f4a476afc8f467977
[ "MIT" ]
null
null
null
import ex108 n1 = int(input('Digite um valor: R$: ')) print(f'A metade de {ex108.moeda(n1)} é {ex108.moeda(ex108.metade(n1))}') print(f'O dobro de {ex108.moeda(n1)} é {ex108.moeda(ex108.dobro(n1))}') print(f'O aumento de 10% é {ex108.moeda(ex108.aumentar(n1,10))}') print(f'A redução de 10% é {ex108.moeda(ex108.diminuir...
55.333333
73
0.683735
63
332
3.603175
0.365079
0.264317
0.193833
0.281938
0.440529
0.440529
0.264317
0.264317
0
0
0
0.160535
0.099398
332
6
74
55.333333
0.598662
0
0
0
0
0.333333
0.768769
0.384384
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.666667
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
5026e929d0a693cc66ee3e2850b29d9060b52663
47
py
Python
amocrm_asterisk_ng/scenario/impl/__init__.py
iqtek/amocrn_asterisk_ng
429a8d0823b951c855a49c1d44ab0e05263c54dc
[ "MIT" ]
null
null
null
amocrm_asterisk_ng/scenario/impl/__init__.py
iqtek/amocrn_asterisk_ng
429a8d0823b951c855a49c1d44ab0e05263c54dc
[ "MIT" ]
null
null
null
amocrm_asterisk_ng/scenario/impl/__init__.py
iqtek/amocrn_asterisk_ng
429a8d0823b951c855a49c1d44ab0e05263c54dc
[ "MIT" ]
null
null
null
from .scenario_startup import scenario_startup
23.5
46
0.893617
6
47
6.666667
0.666667
0.75
0
0
0
0
0
0
0
0
0
0
0.085106
47
1
47
47
0.930233
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
ac958c8de20181a666042a849ea9ee93e25dcae1
32,919
py
Python
DQM/EcalMonitorTasks/python/ecalGpuTask_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
DQM/EcalMonitorTasks/python/ecalGpuTask_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
DQM/EcalMonitorTasks/python/ecalGpuTask_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2022-02-27T06:12:26.000Z
2022-02-27T06:12:26.000Z
import FWCore.ParameterSet.Config as cms digiSamples_ = [1,2,3,4,5,6,7,8,9,10] uncalibOOTAmps_ = [4,6] ecalGpuTask = cms.untracked.PSet( params = cms.untracked.PSet( runGpuTask = cms.untracked.bool(False), gpuOnlyPlots = cms.untracked.bool(True), uncalibOOTAmps = cms.untracked.vint32(uncal...
52.502392
219
0.564841
3,496
32,919
5.316076
0.05349
0.331235
0.261501
0.048426
0.929298
0.918698
0.90869
0.898036
0.890557
0.876782
0
0.026425
0.306814
32,919
626
220
52.586262
0.788028
0.008961
0
0.720325
0
0.013008
0.215902
0.056574
0
0
0
0
0
1
0
false
0
0.001626
0
0.001626
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
0
0
0
0
0
0
0
0
0
0
9
4a21ff1f809e8a338db7ed6d1960549ba1adae4a
135
py
Python
utils/__init__.py
tamnguyenvan/lipreading
37f7fc4840cacad9767beba0452cfcc194a2ba1f
[ "Apache-2.0" ]
null
null
null
utils/__init__.py
tamnguyenvan/lipreading
37f7fc4840cacad9767beba0452cfcc194a2ba1f
[ "Apache-2.0" ]
null
null
null
utils/__init__.py
tamnguyenvan/lipreading
37f7fc4840cacad9767beba0452cfcc194a2ba1f
[ "Apache-2.0" ]
null
null
null
from .dataset import LRWDataset from .dataset_lrw1000 import LRW1000_Dataset from .dataset import AVDataset from .cvtransforms import *
33.75
44
0.851852
17
135
6.647059
0.411765
0.292035
0.300885
0
0
0
0
0
0
0
0
0.066667
0.111111
135
4
45
33.75
0.875
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
4a26c8d1c7e68ea2366f00c6869f1d0e1b77976c
107
py
Python
mkdocs/utils/filters.py
davidhrbac/mkdocs
3c8a1fccca29272ce327e89c398a55771a7f5635
[ "BSD-2-Clause" ]
57
2016-09-28T01:19:35.000Z
2022-01-07T13:59:21.000Z
mkdocs/utils/filters.py
hufyhang/mkdocs
4c4ef7fa7224713e17d479742c2df1b2fc78edcb
[ "BSD-2-Clause" ]
16
2017-02-06T15:48:03.000Z
2018-02-28T21:40:10.000Z
mkdocs/utils/filters.py
hufyhang/mkdocs
4c4ef7fa7224713e17d479742c2df1b2fc78edcb
[ "BSD-2-Clause" ]
81
2016-09-06T04:21:06.000Z
2022-03-10T06:32:45.000Z
import json import jinja2 def tojson(obj, **kwargs): return jinja2.Markup(json.dumps(obj, **kwargs))
15.285714
51
0.71028
15
107
5.066667
0.666667
0.236842
0
0
0
0
0
0
0
0
0
0.021978
0.149533
107
6
52
17.833333
0.813187
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
c59e9c0cf4e6261484033fb6cd57eb7fbd031ddb
92,811
py
Python
RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowchannel.py
ralfjon/IxNetwork
c0c834fbc465af69c12fd6b7cee4628baba7fff1
[ "MIT" ]
null
null
null
RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowchannel.py
ralfjon/IxNetwork
c0c834fbc465af69c12fd6b7cee4628baba7fff1
[ "MIT" ]
null
null
null
RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/openflowchannel.py
ralfjon/IxNetwork
c0c834fbc465af69c12fd6b7cee4628baba7fff1
[ "MIT" ]
null
null
null
# Copyright 1997 - 2018 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, p...
41.88222
308
0.754339
11,867
92,811
5.864751
0.043145
0.042545
0.033507
0.019139
0.913531
0.907007
0.897122
0.890426
0.876173
0.867394
0
0.011911
0.174074
92,811
2,215
309
41.901129
0.896015
0.763002
0
0.609865
0
0
0.116801
0.050867
0
0
0
0
0
1
0.331839
false
0
0.011211
0
0.659193
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
c5ce3f3c6180532213516c37152af69624315e9a
8,667
py
Python
tests/gcloud/test_GCloudStorage.py
urbandataanalytics/SwissKnife
46e2266744ff2a6e95c05817182b80d864e422a9
[ "MIT" ]
3
2020-04-27T15:28:40.000Z
2020-05-27T10:33:16.000Z
tests/gcloud/test_GCloudStorage.py
urbandataanalytics/SwissKnife
46e2266744ff2a6e95c05817182b80d864e422a9
[ "MIT" ]
7
2020-04-30T09:47:14.000Z
2021-04-05T13:07:12.000Z
tests/gcloud/test_GCloudStorage.py
urbandataanalytics/SwissKnife
46e2266744ff2a6e95c05817182b80d864e422a9
[ "MIT" ]
null
null
null
import os import imp import unittest import SwissKnife import tests.test_utils as test_utils from unittest.mock import MagicMock from unittest import mock from SwissKnife.gcloud.GCloudStorage import GCloudStorage class TestGCloudStorage(unittest.TestCase): def setUp(self): self.bucket_path_env_value = '...
39.940092
107
0.611169
968
8,667
5.149793
0.121901
0.04333
0.045737
0.060181
0.861184
0.843932
0.831494
0.791775
0.791775
0.791775
0
0
0.298719
8,667
216
108
40.125
0.820171
0.006577
0
0.713415
0
0
0.166906
0.120191
0
0
0
0
0.146341
1
0.109756
false
0
0.04878
0
0.164634
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
764d33752a0c10e1a5835a028ea67466c05963df
200
py
Python
1_3.py
JeffreyAsuncion/PCEP_training_2020_12
7477fb57a526ca0efdd156811aa72fae6129b062
[ "MIT" ]
null
null
null
1_3.py
JeffreyAsuncion/PCEP_training_2020_12
7477fb57a526ca0efdd156811aa72fae6129b062
[ "MIT" ]
null
null
null
1_3.py
JeffreyAsuncion/PCEP_training_2020_12
7477fb57a526ca0efdd156811aa72fae6129b062
[ "MIT" ]
null
null
null
print(2**3) print(2**3.) print(2.**3) print(2.**3.) print(5//2) print(2**2**3) print(2*4) print(2**4) print(2.*4) print(2**4.) print(2/4) print(2//4) print(-2/4) print(-2//4) print(2%4) print(2%-4)
10.526316
14
0.565
49
200
2.306122
0.102041
0.79646
0.619469
0.955752
0.911504
0.911504
0.911504
0.911504
0.911504
0.911504
0
0.181319
0.09
200
19
15
10.526316
0.43956
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
12
765a0b4d9fcfa1d7cf208ebd477dd2f46f1b5325
119
py
Python
tests/parser/filter.2.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/filter.2.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/filter.2.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
input = """ p(2) | f. -p(1) :- true. true. :- f. """ output = """ p(2) | f. -p(1) :- true. true. :- f. """
7.933333
15
0.327731
18
119
2.166667
0.388889
0.102564
0.153846
0.205128
0.717949
0.717949
0.717949
0.717949
0
0
0
0.049383
0.319328
119
14
16
8.5
0.432099
0
0
0.833333
0
0
0.715596
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
1
0
1
1
1
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
7666f33fbe7bd96d12e2aed6199ba1620c19ccbd
3,151
py
Python
tests/test_utils/test_get_labels_from_catalog.py
delmalih/few-shots-classification
8b06ff673882fd0d8b99cd705e5e5fab0ec93fb3
[ "MIT" ]
null
null
null
tests/test_utils/test_get_labels_from_catalog.py
delmalih/few-shots-classification
8b06ff673882fd0d8b99cd705e5e5fab0ec93fb3
[ "MIT" ]
null
null
null
tests/test_utils/test_get_labels_from_catalog.py
delmalih/few-shots-classification
8b06ff673882fd0d8b99cd705e5e5fab0ec93fb3
[ "MIT" ]
null
null
null
########################## # Imports ########################## import os import shutil from few_shots_clf.utils import get_labels_from_catalog from tests import empty_dir from tests import build_catalog from tests import delete_catalog from tests.test_utils import TEST_DIRECTORY_PATH ########################## # ...
23.691729
77
0.628372
387
3,151
4.777778
0.144703
0.107085
0.119524
0.054083
0.801514
0.801514
0.801514
0.801514
0.801514
0.801514
0
0.003009
0.261822
3,151
132
78
23.871212
0.791917
0.123136
0
0.730159
0
0
0.014537
0
0
0
0
0
0.095238
1
0.063492
false
0
0.111111
0
0.174603
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
766b8db3208ca66807b4fbb1ce0a9c90b9e5ca3c
57,082
py
Python
sdk/python/pulumi_okta/deprecated/saml_idp.py
pulumi/pulumi-okta
83f7617a85b3d05213901773fa4e6a151ab6076b
[ "ECL-2.0", "Apache-2.0" ]
5
2019-10-29T21:59:22.000Z
2021-11-08T12:00:24.000Z
sdk/python/pulumi_okta/deprecated/saml_idp.py
pulumi/pulumi-okta
83f7617a85b3d05213901773fa4e6a151ab6076b
[ "ECL-2.0", "Apache-2.0" ]
109
2020-01-06T10:28:09.000Z
2022-03-25T19:52:40.000Z
sdk/python/pulumi_okta/deprecated/saml_idp.py
pulumi/pulumi-okta
83f7617a85b3d05213901773fa4e6a151ab6076b
[ "ECL-2.0", "Apache-2.0" ]
2
2020-09-11T16:31:04.000Z
2020-11-24T12:23:17.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
44.491037
147
0.664658
6,578
57,082
5.468075
0.032685
0.107342
0.114821
0.137007
0.951403
0.945064
0.936751
0.92463
0.914371
0.881398
0
0.000023
0.222312
57,082
1,282
148
44.525741
0.810236
0.067447
0
0.886228
1
0.005988
0.122971
0.034633
0
0
0
0
0
1
0.167665
false
0.000998
0.00499
0.078842
0.273453
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
7671de0bd10a0cf7f59c8417b24ea687f1c57f0b
19,087
py
Python
UI/LoginWin.py
hitergszf/ArtisticCloudBlog
764af907c8a8e48efc420034c47c7d8bba4331be
[ "MIT" ]
7
2020-07-18T10:21:10.000Z
2020-07-19T11:21:12.000Z
UI/LoginWin.py
MaoGreenDou/ArtisticCloudBlog
bf0608864b0b91368f0dfd3bc593bbedaa7576ef
[ "MIT" ]
1
2021-07-29T07:16:54.000Z
2021-07-29T07:16:54.000Z
UI/LoginWin.py
MaoGreenDou/ArtisticCloudBlog
bf0608864b0b91368f0dfd3bc593bbedaa7576ef
[ "MIT" ]
5
2020-07-18T10:21:12.000Z
2020-12-09T12:22:47.000Z
from PyQt5.QtWidgets import * from PyQt5 import QtCore, QtWidgets, QtGui import BLL.ClientSocket import BLL.FileSystem # 登录界面 class LoginWin(QWidget): def __init__(self): super(LoginWin, self).__init__() # 设置窗口背景颜色为白色 pe = QtGui.QPalette() pe.setColor(pe.Background, QtGui.QColor(25...
35.743446
95
0.612197
1,680
19,087
6.939286
0.16131
0.03637
0.037485
0.027449
0.781009
0.765998
0.743867
0.736404
0.72165
0.70235
0
0.024378
0.28433
19,087
533
96
35.810507
0.829063
0.038822
0
0.736544
0
0
0.067766
0.021792
0
0
0
0
0
1
0.031161
false
0.07932
0.011331
0
0.073654
0.008499
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
7677200ed13ee1bb5666bc454b5b44450c0b7ab5
4,694
py
Python
conversion/temperatureConversion.py
slowy07/pythonApps
22f9766291dbccd8185035745950c5ee4ebd6a3e
[ "MIT" ]
10
2020-10-09T11:05:18.000Z
2022-02-13T03:22:10.000Z
conversion/temperatureConversion.py
khairanabila/pythonApps
f90b8823f939b98f7bf1dea7ed35fe6e22e2f730
[ "MIT" ]
null
null
null
conversion/temperatureConversion.py
khairanabila/pythonApps
f90b8823f939b98f7bf1dea7ed35fe6e22e2f730
[ "MIT" ]
6
2020-11-26T12:49:43.000Z
2022-03-06T06:46:43.000Z
def celciusToFahrenheit(celcius: float, ndigits: int = 2)->float: """ Convert a given value from Celsius to Fahrenheit and round it to 2 decimal places. Wikipedia reference: https://en.wikipedia.org/wiki/Celsius Wikipedia reference: https://en.wikipedia.org/wiki/Fahrenheit """ return round((floa...
41.910714
86
0.705582
629
4,694
5.243243
0.101749
0.130988
0.167374
0.181928
0.848393
0.840509
0.828381
0.819891
0.819891
0.819891
0
0.030139
0.172987
4,694
111
87
42.288288
0.819423
0.518747
0
0
0
0
0.004036
0
0
0
0
0
0
1
0.457143
false
0
0.028571
0.114286
0.942857
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
4f434489ef89d07e86032d634c141b427d21a2da
15,902
py
Python
PyREMOT/solvers/solResultAnalysis.py
sinagilassi/rmt-app
bbd5bb496f36116ecec15d75b4133a43a9233aaa
[ "MIT" ]
null
null
null
PyREMOT/solvers/solResultAnalysis.py
sinagilassi/rmt-app
bbd5bb496f36116ecec15d75b4133a43a9233aaa
[ "MIT" ]
null
null
null
PyREMOT/solvers/solResultAnalysis.py
sinagilassi/rmt-app
bbd5bb496f36116ecec15d75b4133a43a9233aaa
[ "MIT" ]
null
null
null
# RESULT ANALYSIS # ---------------- # import packages/modules import numpy as np # internal from PyREMOT.library import plotClass as pltc from PyREMOT.core.utilities import roundNum, selectFromListByIndex, selectRandomForList from PyREMOT.docs.rmtUtility import rmtUtilityClass as rmtUtil from PyREMOT.docs.modelSettin...
34.569565
133
0.565778
1,553
15,902
5.673535
0.137154
0.022472
0.017024
0.033708
0.829304
0.800136
0.792419
0.761094
0.761094
0.755419
0
0.014072
0.343102
15,902
459
134
34.64488
0.829408
0.293611
0
0.703884
0
0
0.066243
0
0
0
0
0
0
1
0.033981
false
0
0.024272
0
0.082524
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
8c003aed5f07c398f31faa94ad9d8e501692f7c7
173
py
Python
tests/parser/rewriting.projection.11.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/rewriting.projection.11.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/rewriting.projection.11.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
input = """ dummy. c(0,0). d :- c(_,a_long__but_still_nice_constant), dummy. """ output = """ dummy. c(0,0). d :- c(_,a_long__but_still_nice_constant), dummy. """
13.307692
50
0.606936
28
173
3.25
0.428571
0.131868
0.153846
0.175824
0.879121
0.879121
0.879121
0.879121
0.879121
0.879121
0
0.027972
0.17341
173
12
51
14.416667
0.608392
0
0
0.8
0
0
0.812121
0.448485
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
8c2f6122cbe5bc20bcebea5ebbafb9212b54532c
9,874
py
Python
engine/validation-test/storagetest/core/test_longhorn_basic.py
kaxing/longhorn-tests
e8e95f1446155f20cbbb9b47d8e139de09d567f0
[ "Apache-2.0" ]
10
2021-01-25T00:52:46.000Z
2022-02-20T01:49:56.000Z
engine/validation-test/storagetest/core/test_longhorn_basic.py
kaxing/longhorn-tests
e8e95f1446155f20cbbb9b47d8e139de09d567f0
[ "Apache-2.0" ]
273
2019-06-12T17:43:49.000Z
2022-03-29T09:06:02.000Z
engine/validation-test/storagetest/core/test_longhorn_basic.py
kaxing/longhorn-tests
e8e95f1446155f20cbbb9b47d8e139de09d567f0
[ "Apache-2.0" ]
24
2019-06-12T04:03:00.000Z
2022-03-21T08:08:47.000Z
from common_fixtures import * # NOQA import websocket as ws import base64 import pytest VOLUME_DRIVER = "rancher-longhorn" STACK_NAME_PREFIX = "volume-" CONTROLLER = "controller" REPLICA = "replica" def test_container_with_volume_execute(client, test_name): volume_name = 'vol' + test_name cleanup_items = ...
32.913333
76
0.591452
1,061
9,874
5.26673
0.147974
0.048318
0.060845
0.044381
0.851467
0.827309
0.822298
0.80655
0.784001
0.784001
0
0.010816
0.316488
9,874
299
77
33.023411
0.817158
0.040004
0
0.792952
0
0
0.061576
0.004647
0
0
0
0.003344
0.136564
0
null
null
0
0.017621
null
null
0.008811
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
8c3560bdad10c2961fbc0d5a0f891fd9e59e8138
26,371
py
Python
.c9/metadata/environment/dj_proposals_candidates/models.py
lfalvarez/proposals-core
4cbf4ca27ddb69919cfa218fc45f17ce1eef7ee5
[ "Apache-2.0" ]
null
null
null
.c9/metadata/environment/dj_proposals_candidates/models.py
lfalvarez/proposals-core
4cbf4ca27ddb69919cfa218fc45f17ce1eef7ee5
[ "Apache-2.0" ]
null
null
null
.c9/metadata/environment/dj_proposals_candidates/models.py
lfalvarez/proposals-core
4cbf4ca27ddb69919cfa218fc45f17ce1eef7ee5
[ "Apache-2.0" ]
null
null
null
{"filter":false,"title":"models.py","tooltip":"/dj_proposals_candidates/models.py","undoManager":{"mark":100,"position":100,"stack":[[{"start":{"row":30,"column":36},"end":{"row":31,"column":0},"action":"insert","lines":["",""],"id":246},{"start":{"row":31,"column":0},"end":{"row":31,"column":4},"action":"insert","line...
26,371
26,371
0.55379
3,849
26,371
3.791115
0.070928
0.142544
0.25514
0.099781
0.757675
0.660567
0.572711
0.533923
0.277207
0.169613
0
0.090049
0.001972
26,371
1
26,371
26,371
0.464379
0
0
0
0
0
0.468944
0.009138
0
0
0
0
0
1
0
true
1
1
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
9
8c53ba041b7674df63a04b95a1eee299488d133d
3,917
py
Python
examples/python/test_binops.py
SmartEconomyWorkshop/workshop
5961dcc8832f60b3a0407cb9a8361ba5485ac280
[ "MIT" ]
79
2017-10-22T03:35:06.000Z
2021-12-02T10:28:06.000Z
examples/python/test_binops.py
SmartEconomyWorkshop/workshop
5961dcc8832f60b3a0407cb9a8361ba5485ac280
[ "MIT" ]
122
2017-10-19T12:34:08.000Z
2020-08-20T12:38:17.000Z
examples/python/test_binops.py
SmartEconomyWorkshop/workshop
5961dcc8832f60b3a0407cb9a8361ba5485ac280
[ "MIT" ]
76
2017-10-19T05:09:55.000Z
2020-12-08T12:03:59.000Z
from boa_test.tests.boa_test import BoaTest from boa.compiler import Compiler from neo.Prompt.Commands.BuildNRun import TestBuild class TestContract(BoaTest): def test_binops(self): output = Compiler.instance().load('%s/boa_test/example/BinopTest.py' % TestContract.dirname).default out = output....
47.192771
108
0.595864
451
3,917
5.126386
0.117517
0.227076
0.108997
0.132353
0.884948
0.884948
0.884948
0.854671
0.837803
0.821367
0
0.051746
0.21062
3,917
82
109
47.768293
0.69599
0.255042
0
0.395349
0
0
0.024171
0.01105
0
0
0
0
0.55814
1
0.023256
false
0
0.069767
0
0.116279
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
1
0
0
0
0
0
0
0
0
0
8
8b1597897a900fe0cc8fef0b8224a486833ec117
65,362
py
Python
gcloud/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/dlp/v2/dlp_v2_client.py
bopopescu/JobSniperRails
39e7f871887176770de0f4fc6789e9ddc7f32b1f
[ "MIT" ]
null
null
null
gcloud/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/dlp/v2/dlp_v2_client.py
bopopescu/JobSniperRails
39e7f871887176770de0f4fc6789e9ddc7f32b1f
[ "MIT" ]
11
2020-02-29T02:51:12.000Z
2022-03-30T23:20:08.000Z
gcloud/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/dlp/v2/dlp_v2_client.py
bopopescu/JobSniperRails
39e7f871887176770de0f4fc6789e9ddc7f32b1f
[ "MIT" ]
1
2020-07-24T18:47:35.000Z
2020-07-24T18:47:35.000Z
"""Generated client library for dlp version v2.""" # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.py import base_api from googlecloudsdk.third_party.apis.dlp.v2 import dlp_v2_messages as messages class DlpV2(base_api.BaseApiClient): """Generated client library for service dl...
40.322023
100
0.708929
6,666
65,362
6.764626
0.055356
0.051893
0.04045
0.022753
0.801033
0.79753
0.785532
0.771517
0.749961
0.717983
0
0.00457
0.193262
65,362
1,620
101
40.346914
0.850597
0.328417
0
0.657631
1
0
0.258396
0.215219
0
0
0
0
0
1
0.064257
false
0
0.002008
0
0.141566
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
8b2abec726679d8c016af4db08f3997914b62a92
1,504
py
Python
src/api/api/migrations/0006_auto_20210531_0103.py
Hakan-er/utma
f7cd6253ec894047b460d4df9b43eeb9b109bae2
[ "MIT" ]
1
2022-02-02T20:36:27.000Z
2022-02-02T20:36:27.000Z
src/api/api/migrations/0006_auto_20210531_0103.py
Hakan-er/utma
f7cd6253ec894047b460d4df9b43eeb9b109bae2
[ "MIT" ]
null
null
null
src/api/api/migrations/0006_auto_20210531_0103.py
Hakan-er/utma
f7cd6253ec894047b460d4df9b43eeb9b109bae2
[ "MIT" ]
1
2021-06-17T20:50:41.000Z
2021-06-17T20:50:41.000Z
# Generated by Django 3.2 on 2021-05-30 22:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0005_auto_20210530_2314'), ] operations = [ migrations.AddField( model_name='dataset', name='categoricalAttribu...
30.693878
75
0.570479
147
1,504
5.721088
0.306122
0.149822
0.191439
0.224732
0.772889
0.772889
0.714625
0.714625
0.702735
0.702735
0
0.051109
0.310505
1,504
48
76
31.333333
0.759884
0.02859
0
0.761905
1
0
0.109664
0.030158
0
0
0
0
0
1
0
false
0
0.02381
0
0.095238
0
0
0
0
null
0
1
1
0
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
9
8b31e48708cca83592114d4f44ded2a92e78189c
9,277
py
Python
dyck/grammars/mcfg2.py
omelkonian/dyck
175d0027bdccdfc91be88b991535d05a244fdbb3
[ "MIT" ]
2
2019-03-07T06:09:41.000Z
2020-12-10T14:10:38.000Z
dyck/grammars/mcfg2.py
omelkonian/dyck
175d0027bdccdfc91be88b991535d05a244fdbb3
[ "MIT" ]
10
2018-01-22T10:17:49.000Z
2018-06-01T20:49:27.000Z
dyck/grammars/mcfg2.py
omelkonian/dyck
175d0027bdccdfc91be88b991535d05a244fdbb3
[ "MIT" ]
null
null
null
from ..dyck import Grammar from ..grammar_utils import * """ ababaacbcbcc W - [W] null - [BC] b -> c - [AB] a -> b BC(|ab|,|c|) BC(ab |ab|, |c| c) AB(abab |a|, |cb| cc) W(ababa |acb|, cbcc) # extra W(abc, abc) # BC(|ab|, |c|) AB(ab|a|, |cb|c) BC(|ab|aba, cbc|c|) AB(ababa|a|, |cb|cbcc) """ all_state...
35.818533
81
0.302253
1,408
9,277
1.93892
0.035511
0.060073
0.196337
0.108791
0.841392
0.821978
0.80696
0.78315
0.72967
0.691575
0
0.001012
0.361
9,277
258
82
35.957364
0.459514
0.824943
0
0.2
0
0
0.016
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
1
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
509c3eb87c0ae2617391b0ac9b5fec5c79798d33
178
py
Python
Solutions/Training/Lesson_15/__init__.py
dev-11/codility-solutions
01b0ce4a43b1390fe15f2daabea95e90b834fbfc
[ "MIT" ]
null
null
null
Solutions/Training/Lesson_15/__init__.py
dev-11/codility-solutions
01b0ce4a43b1390fe15f2daabea95e90b834fbfc
[ "MIT" ]
null
null
null
Solutions/Training/Lesson_15/__init__.py
dev-11/codility-solutions
01b0ce4a43b1390fe15f2daabea95e90b834fbfc
[ "MIT" ]
null
null
null
from .count_distinct_slices import solution as count_distinct_slices from .count_triangles import solution as count_triangles from .abs_distinct import solution as abs_distinct
35.6
68
0.876404
26
178
5.692308
0.346154
0.283784
0.324324
0.283784
0
0
0
0
0
0
0
0
0.106742
178
4
69
44.5
0.930818
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
509c43e2240c25019f60e515325095a2c5586425
8,200
py
Python
flexget/tests/api_tests/test_format_checker_api.py
davidcollom/Flexget
cd763e04afdf6da8f1673dd567a42d55d4cb3b6c
[ "MIT" ]
1
2021-03-24T11:54:01.000Z
2021-03-24T11:54:01.000Z
flexget/tests/api_tests/test_format_checker_api.py
davidcollom/Flexget
cd763e04afdf6da8f1673dd567a42d55d4cb3b6c
[ "MIT" ]
null
null
null
flexget/tests/api_tests/test_format_checker_api.py
davidcollom/Flexget
cd763e04afdf6da8f1673dd567a42d55d4cb3b6c
[ "MIT" ]
null
null
null
from __future__ import unicode_literals, division, absolute_import from builtins import * # noqa pylint: disable=unused-import, redefined-builtin from flexget.api.app import base_message from flexget.utils import json class TestFormatChecker(object): config = 'tasks: {}' def test_quality(self, api_client,...
37.272727
79
0.648902
1,106
8,200
4.587703
0.076854
0.069373
0.112732
0.069373
0.903823
0.899093
0.84864
0.833268
0.833268
0.833268
0
0.02131
0.227439
8,200
219
80
37.442922
0.779637
0.006463
0
0.751678
0
0
0.125967
0.003192
0
0
0
0
0.295302
1
0.073826
false
0
0.026846
0
0.114094
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
50dee6cd3f304309f4de52e0d42252fe491f7a98
72,404
py
Python
reference/tests.py
thesteau/Portfolio-Janggi
cbc7b3c92037fbb9f27d812646f02c0345318a75
[ "MIT" ]
null
null
null
reference/tests.py
thesteau/Portfolio-Janggi
cbc7b3c92037fbb9f27d812646f02c0345318a75
[ "MIT" ]
null
null
null
reference/tests.py
thesteau/Portfolio-Janggi
cbc7b3c92037fbb9f27d812646f02c0345318a75
[ "MIT" ]
null
null
null
import unittest from game_files.game import JanggiGame #from JanggiGame import JanggiGame class TestJanggiGame(unittest.TestCase): def setUp(self): self.unfinished = 'UNFINISHED' self.red_won = 'RED_WON' self.blue_won = 'BLUE_WON' self.invalid_move = False self.valid_move = ...
42.540541
148
0.610588
10,515
72,404
4.029957
0.029196
0.114596
0.128496
0.035587
0.929699
0.900696
0.862655
0.830301
0.793345
0.764673
0
0.024476
0.265869
72,404
1,701
149
42.56555
0.772736
0.245387
0
0.793292
0
0
0.192388
0
0
0
0
0
0.163027
1
0.051482
false
0.022621
0.00156
0
0.053822
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
0fa7912ed4a573996c7dc4c4b9f4871605c2b21a
1,488
py
Python
tests/2d/numpy/methods.py
oojBuffalo/micropython-ulab
4407bec88c3a7585ffbdfdd98e72bed12329ff3c
[ "MIT" ]
232
2019-10-30T02:47:59.000Z
2022-03-29T13:35:42.000Z
tests/2d/numpy/methods.py
oojBuffalo/micropython-ulab
4407bec88c3a7585ffbdfdd98e72bed12329ff3c
[ "MIT" ]
325
2019-10-25T00:27:29.000Z
2022-03-16T19:47:45.000Z
tests/2d/numpy/methods.py
oojBuffalo/micropython-ulab
4407bec88c3a7585ffbdfdd98e72bed12329ff3c
[ "MIT" ]
73
2019-11-04T19:31:22.000Z
2022-03-10T03:11:41.000Z
try: from ulab import numpy as np except ImportError: import numpy as np a = np.array([1, 2, 3, 4], dtype=np.int8) b = a.copy() print(b) a = np.array([[1,2,3],[4,5,6],[7,8,9]], dtype=np.int16) b = a.copy() print(b) a = np.array([[1,2,3],[4,5,6],[7,8,9]], dtype=np.float) b = a.copy() print(b) print(a.dtype) pri...
28.615385
64
0.640457
305
1,488
3.12459
0.134426
0.146905
0.167891
0.188877
0.864638
0.841553
0.825813
0.813221
0.813221
0.579224
0
0.072432
0.090726
1,488
51
65
29.176471
0.631929
0
0
0.48
0
0
0
0
0
0
0
0
0
1
0
false
0
0.06
0
0.06
0.62
0
0
0
null
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
0ff1dbbf54aa4b910eb2f7724e37b77fcebc6885
175,657
py
Python
google/api/serviceusage/v1beta1/api-serviceusage-v1beta1-py/tests/unit/gapic/serviceusage_v1beta1/test_service_usage.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
7
2021-02-21T10:39:41.000Z
2021-12-07T07:31:28.000Z
google/api/serviceusage/v1beta1/api-serviceusage-v1beta1-py/tests/unit/gapic/serviceusage_v1beta1/test_service_usage.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
6
2021-02-02T23:46:11.000Z
2021-11-15T01:46:02.000Z
google/api/serviceusage/v1beta1/api-serviceusage-v1beta1-py/tests/unit/gapic/serviceusage_v1beta1/test_service_usage.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
4
2021-01-28T23:25:45.000Z
2021-08-30T01:55:16.000Z
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
37.881604
239
0.673238
19,633
175,657
5.796567
0.024194
0.014692
0.023874
0.024208
0.936338
0.908123
0.890329
0.868388
0.844777
0.830191
0
0.00445
0.245234
175,657
4,636
240
37.889776
0.85393
0.195865
0
0.739709
0
0
0.073832
0.026497
0
0
0
0.000216
0.127515
1
0.041164
false
0.00031
0.02476
0.000619
0.066543
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
ba1c2b976be6f318c2d364ed8ea5386ffc7b9127
23,474
py
Python
energyquantified/api/srmc.py
energyquantified/eq-python-client
3ca8423ae29c4a3dbd8f6289ab76a64b21dabf1c
[ "Apache-2.0" ]
4
2021-03-02T10:08:37.000Z
2021-11-12T08:18:18.000Z
energyquantified/api/srmc.py
energyquantified/eq-python-client
3ca8423ae29c4a3dbd8f6289ab76a64b21dabf1c
[ "Apache-2.0" ]
23
2020-07-22T13:41:20.000Z
2021-10-12T09:03:27.000Z
energyquantified/api/srmc.py
energyquantified/eq-python-client
3ca8423ae29c4a3dbd8f6289ab76a64b21dabf1c
[ "Apache-2.0" ]
2
2020-10-01T20:18:08.000Z
2021-03-02T10:08:41.000Z
from .base import BaseAPI from ..exceptions import ValidationError from ..metadata import Curve, CurveType, OHLCField from ..parser.srmc import parse_srmc_response # Tuple of supported values for Curve.curve_type in the time series API CURVE_TYPES = (CurveType.OHLC,) class SrmcAPI(BaseAPI): """ Operations f...
46.854291
89
0.637301
3,147
23,474
4.615507
0.079441
0.022719
0.03222
0.02685
0.947194
0.943064
0.943064
0.943064
0.937281
0.937281
0
0.016902
0.276647
23,474
500
90
46.948
0.838516
0.571824
0
0.870057
0
0
0.09467
0.014602
0
0
0
0
0
1
0.039548
false
0
0.022599
0
0.101695
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
e85639732b8d92a9d746c7a67e070aafeb27e036
254
py
Python
plugins/zscaler/icon_zscaler/actions/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/zscaler/icon_zscaler/actions/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/zscaler/icon_zscaler/actions/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT from .blacklist_url.action import BlacklistUrl from .get_blacklist_url.action import GetBlacklistUrl from .get_sandbox_report_for_hash.action import GetSandboxReportForHash from .lookup_url.action import LookupUrl
42.333333
71
0.862205
35
254
6.028571
0.628571
0.227488
0.21327
0.227488
0
0
0
0
0
0
0
0
0.098425
254
5
72
50.8
0.921397
0.145669
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
e87ebff9d676870b9c12405f5fb06b2ee29d1e90
65
py
Python
hello.py
jirapoc/mycodes
bea3a8691ac3a734ccf29eb0b763eb30f8606b05
[ "Unlicense" ]
null
null
null
hello.py
jirapoc/mycodes
bea3a8691ac3a734ccf29eb0b763eb30f8606b05
[ "Unlicense" ]
1
2021-03-02T07:37:00.000Z
2021-03-02T07:37:00.000Z
hello.py
jirapoc/mycodes
bea3a8691ac3a734ccf29eb0b763eb30f8606b05
[ "Unlicense" ]
null
null
null
print("Hello Paevee") print("Hello Paevee") print("Hello Paevee")
21.666667
21
0.738462
9
65
5.333333
0.333333
0.625
1
0.875
1
1
0
0
0
0
0
0
0.076923
65
3
22
21.666667
0.8
0
0
1
0
0
0.545455
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
10