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
90a06aea55a56a0e469fdbb4673be33895cde43c
241,390
py
Python
src/hcb/codes/honeycomb/circuit_maker_test.py
Strilanc/honeycomb-boundaries
cc33baac44c7831bd643db81d0053f8ec6eae9d8
[ "Apache-2.0" ]
null
null
null
src/hcb/codes/honeycomb/circuit_maker_test.py
Strilanc/honeycomb-boundaries
cc33baac44c7831bd643db81d0053f8ec6eae9d8
[ "Apache-2.0" ]
2
2022-02-25T22:28:24.000Z
2022-03-23T21:09:04.000Z
src/hcb/codes/honeycomb/circuit_maker_test.py
Strilanc/honeycomb-boundaries
cc33baac44c7831bd643db81d0053f8ec6eae9d8
[ "Apache-2.0" ]
null
null
null
import pytest import stim from hcb.codes.honeycomb.layout import HoneycombLayout @pytest.mark.parametrize("data_width,data_height,rounds,gate_set,tested_observable,decomposed_graphlike_code_distance,ignored_graphlike_code_distance", [ (8, 12, 10, 'SI1000', 'H', 5, 6), (10, 15, 10, 'SI1000', 'H', 7, 7), (...
32.510438
153
0.485302
44,408
241,390
2.621104
0.004121
0.086806
0.383512
0.241241
0.988522
0.987672
0.982672
0.98183
0.980541
0.980412
0
0.566679
0.409499
241,390
7,424
154
32.514817
0.249914
0
0
0.98053
0
0.053002
0.976739
0.010614
0
0
0
0
0.001217
1
0.001082
false
0
0.000406
0
0.001487
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
1
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
12
90a85f951c5ce7186ac7ceb3b0de61b77d7b180f
466
py
Python
Ifcondition.py
gurmeetkhehra/python-practice
abeb5586f8c1e673fd8ff312a4ae0941f2a0194b
[ "Apache-2.0" ]
null
null
null
Ifcondition.py
gurmeetkhehra/python-practice
abeb5586f8c1e673fd8ff312a4ae0941f2a0194b
[ "Apache-2.0" ]
null
null
null
Ifcondition.py
gurmeetkhehra/python-practice
abeb5586f8c1e673fd8ff312a4ae0941f2a0194b
[ "Apache-2.0" ]
null
null
null
dollar_bill = 10 if dollar_bill < 1000: print('bill exist') else: print ('bill does not exist') # dollar_bill = 1000 # # if dollar_bill < 800: # print ('bill exist') # else: # print ('bill does not exist') # # dollar_bill = 1000 # if dollar_bill > 500: # print ('bill exist') # else: # print ('b...
17.923077
35
0.607296
65
466
4.230769
0.2
0.290909
0.174545
0.261818
0.872727
0.872727
0.872727
0.872727
0.872727
0.872727
0
0.077364
0.251073
466
25
36
18.64
0.710602
0.684549
0
0
0
0
0.226563
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
1
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
90c40f9f0e3cb4ff1c71835564a3b83e26fd8ccb
1,327
py
Python
lfs/shipping/__init__.py
naro/django-lfs
312404370e497d00aa0f7221dc55a70a20490fb5
[ "BSD-3-Clause" ]
null
null
null
lfs/shipping/__init__.py
naro/django-lfs
312404370e497d00aa0f7221dc55a70a20490fb5
[ "BSD-3-Clause" ]
null
null
null
lfs/shipping/__init__.py
naro/django-lfs
312404370e497d00aa0f7221dc55a70a20490fb5
[ "BSD-3-Clause" ]
null
null
null
# lfs imports from lfs.plugins import ShippingMethodPriceCalculator class GrossShippingMethodPriceCalculator(ShippingMethodPriceCalculator): """ ShippingMethodPriceCalculator which considers the entered price as gross price. See lfs.plugins.ShippingMethodPriceCalculator """ def get_price_net(...
30.860465
93
0.689525
121
1,327
7.429752
0.247934
0.106785
0.160178
0.160178
0.783092
0.783092
0.783092
0.783092
0.585095
0.553949
0
0.01173
0.229088
1,327
42
94
31.595238
0.867058
0.332329
0
0.705882
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0
0.764706
0
0
0
0
null
0
0
1
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
7
90d6894fc4665a147e779d80b62ed75cc370481e
2,659
py
Python
project_sample/src/server_example.py
Volkova-Natalia/aiohttp_lamp
7edc8ab9e0ca255ec624ec6ff0dcec02f2d23742
[ "MIT" ]
null
null
null
project_sample/src/server_example.py
Volkova-Natalia/aiohttp_lamp
7edc8ab9e0ca255ec624ec6ff0dcec02f2d23742
[ "MIT" ]
null
null
null
project_sample/src/server_example.py
Volkova-Natalia/aiohttp_lamp
7edc8ab9e0ca255ec624ec6ff0dcec02f2d23742
[ "MIT" ]
null
null
null
from aiohttp import web, WSMsgType import asyncio from settings import SERVER_HOST, SERVER_PORT async def ws_handler(request): ws = web.WebSocketResponse() await ws.prepare(request) await asyncio.sleep(3) await ws.send_str('Hello, client!') await asyncio.sleep(0.1) await ws.send_bytes(b'\x55...
30.563218
56
0.66604
476
2,659
3.619748
0.107143
0.134068
0.315728
0.323854
0.81834
0.81834
0.81834
0.81834
0.81834
0.81834
0
0.096599
0.170741
2,659
86
57
30.918605
0.684807
0
0
0.413333
0
0
0.166604
0.037608
0
0
0
0
0
1
0
false
0
0.04
0
0.053333
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
90efcfeb61e5e91585212d2503498b1d261f8605
15,307
py
Python
models_SHOT_convex/portfol_roundlot.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
models_SHOT_convex/portfol_roundlot.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
models_SHOT_convex/portfol_roundlot.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
# MINLP written by GAMS Convert at 05/15/20 00:51:12 # # Equation counts # Total E G L N X C B # 12 10 2 0 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
85.994382
120
0.598484
1,955
15,307
4.685934
0.144757
0.015719
0.086453
0.022923
0.903613
0.892588
0.892588
0.891715
0.891715
0.837245
0
0.652247
0.26452
15,307
177
121
86.480226
0.161485
0.044424
0
0.447552
0
0
0
0
0
0
0
0
0
1
0
false
0
0.006993
0
0.006993
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
294dfa47382d90b975d926b796d5941d74e941e5
12,724
py
Python
template.py
1kastner/library
e0599dddb5cea3f56a7714ba5b15d4fe7e9388e2
[ "MIT" ]
null
null
null
template.py
1kastner/library
e0599dddb5cea3f56a7714ba5b15d4fe7e9388e2
[ "MIT" ]
null
null
null
template.py
1kastner/library
e0599dddb5cea3f56a7714ba5b15d4fe7e9388e2
[ "MIT" ]
1
2018-07-25T19:30:14.000Z
2018-07-25T19:30:14.000Z
#!/usr/bin/python #template collection _file = open("basic_template.html") basic_template = _file.read() index = "<br><p>Welcome to this beautiful library at this nice day.</p><p>Today it is the <i><?= date ?></i>. On the left you can see the interactive menu with all the functions you need. </p><p>If you need any as...
41.718033
328
0.592188
2,120
12,724
3.481132
0.095283
0.060705
0.054472
0.060705
0.78252
0.760976
0.750542
0.719919
0.70393
0.70393
0
0.003733
0.115765
12,724
304
329
41.855263
0.652209
0.007938
0
0.708661
0
0.271654
0.918565
0.316873
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
462d6b5a496ad24b30ff1d69c2cf0df37016e086
20,617
py
Python
sdk/python/pulumi_hcloud/floating_ip.py
pulumi/pulumi-hcloud
332962b39a3a9f23e466eb3b7abc1347af1a118f
[ "ECL-2.0", "Apache-2.0" ]
13
2020-08-06T18:30:45.000Z
2022-02-21T09:49:51.000Z
sdk/python/pulumi_hcloud/floating_ip.py
pulumi/pulumi-hcloud
332962b39a3a9f23e466eb3b7abc1347af1a118f
[ "ECL-2.0", "Apache-2.0" ]
71
2020-07-02T11:19:44.000Z
2022-03-25T19:34:21.000Z
sdk/python/pulumi_hcloud/floating_ip.py
pulumi/pulumi-hcloud
332962b39a3a9f23e466eb3b7abc1347af1a118f
[ "ECL-2.0", "Apache-2.0" ]
1
2020-07-21T19:46:49.000Z
2020-07-21T19:46:49.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 ...
38.826742
145
0.621089
2,399
20,617
5.132138
0.078366
0.095598
0.104938
0.073262
0.845841
0.823343
0.80783
0.796215
0.788418
0.752355
0
0.002447
0.266722
20,617
530
146
38.9
0.811946
0.284377
0
0.745763
1
0
0.081404
0.002523
0
0
0
0
0
1
0.162712
false
0.00339
0.016949
0
0.277966
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
d3e42b5df74a355323950d246e223fe6a30a8f53
17
py
Python
examples/tuple.py
LayneInNL/py2flows
5ecb555c64350cb13c3885a78fe89a40994e9d0e
[ "Apache-2.0" ]
3
2022-03-21T12:10:37.000Z
2022-03-24T13:31:19.000Z
examples/tuple.py
Robin199412/py2flows
52e5e5bdbd83ede4a994f2e429dac770a7926032
[ "Apache-2.0" ]
1
2022-03-17T02:09:37.000Z
2022-03-17T10:08:14.000Z
examples/tuple.py
LayneInNL/py2flows
5ecb555c64350cb13c3885a78fe89a40994e9d0e
[ "Apache-2.0" ]
1
2022-03-21T12:10:18.000Z
2022-03-21T12:10:18.000Z
(1, 2, 3, x + 1)
8.5
16
0.294118
5
17
1
0.8
0
0
0
0
0
0
0
0
0
0
0.363636
0.352941
17
1
17
17
0.090909
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
312f942c0108e0d87b14de92b18864a7bfa0edf5
31,864
py
Python
dingtalk/python/alibabacloud_dingtalk/diot_1_0/client.py
aliyun/dingtalk-sdk
ab4f856b8cfe94f6b69f10a0730a2e5a7d4901c5
[ "Apache-2.0" ]
15
2020-08-27T04:10:26.000Z
2022-03-07T06:25:42.000Z
dingtalk/python/alibabacloud_dingtalk/diot_1_0/client.py
aliyun/dingtalk-sdk
ab4f856b8cfe94f6b69f10a0730a2e5a7d4901c5
[ "Apache-2.0" ]
1
2020-09-27T01:30:46.000Z
2021-12-29T09:15:34.000Z
dingtalk/python/alibabacloud_dingtalk/diot_1_0/client.py
aliyun/dingtalk-sdk
ab4f856b8cfe94f6b69f10a0730a2e5a7d4901c5
[ "Apache-2.0" ]
5
2020-08-27T04:07:44.000Z
2021-12-03T02:55:20.000Z
# -*- coding: utf-8 -*- # This file is auto-generated, don't edit it. Thanks. from Tea.core import TeaCore from alibabacloud_tea_openapi.client import Client as OpenApiClient from alibabacloud_tea_openapi import models as open_api_models from alibabacloud_tea_util.client import Client as UtilClient from alibabacloud_d...
48.499239
170
0.693196
3,522
31,864
5.875923
0.050256
0.012563
0.076444
0.109205
0.96748
0.940034
0.932689
0.915294
0.909785
0.87567
0
0.011779
0.21937
31,864
656
171
48.573171
0.820214
0.002511
0
0.819805
1
0
0.068115
0.029902
0
0
0
0
0
1
0.027597
false
0.006494
0.011364
0
0.092532
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
31365f39e65e8cf2c68110862600cfce569c1528
209,510
py
Python
xarray/core/_reductions.py
tovogt/xarray
95bb9ae4233c16639682a532c14b26a3ea2728f3
[ "Apache-2.0" ]
null
null
null
xarray/core/_reductions.py
tovogt/xarray
95bb9ae4233c16639682a532c14b26a3ea2728f3
[ "Apache-2.0" ]
3
2022-03-22T20:52:33.000Z
2022-03-22T20:52:36.000Z
xarray/core/_reductions.py
tovogt/xarray
95bb9ae4233c16639682a532c14b26a3ea2728f3
[ "Apache-2.0" ]
null
null
null
"""Mixin classes with reduction operations.""" # This file was generated using xarray.util.generate_reductions. Do not edit manually. from typing import TYPE_CHECKING, Any, Callable, Hashable, Optional, Sequence, Union from . import duck_array_ops if TYPE_CHECKING: from .dataarray import DataArray from .data...
35.005848
92
0.511298
24,454
209,510
4.352253
0.010837
0.022832
0.005017
0.004961
0.991891
0.990482
0.989242
0.98476
0.97978
0.973786
0
0.039714
0.357964
209,510
5,984
93
35.011698
0.751511
0.695523
0
0.931127
1
0
0.019384
0
0
0
0
0
0
1
0.064401
false
0
0.003578
0
0.137746
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
316f33673207a0ae4a0b7b2dd77f61583358eea6
127
py
Python
lib/clients/channels/__init__.py
cookieisland/cabernet
9f429fe7a75707da97133b7ec4b3cf6b7aaec6cd
[ "MIT" ]
16
2021-08-30T07:05:28.000Z
2022-03-04T06:46:42.000Z
lib/clients/channels/__init__.py
cookieisland/cabernet
9f429fe7a75707da97133b7ec4b3cf6b7aaec6cd
[ "MIT" ]
14
2021-02-20T22:24:49.000Z
2021-08-30T01:24:02.000Z
lib/clients/channels/__init__.py
cookieisland/cabernet
9f429fe7a75707da97133b7ec4b3cf6b7aaec6cd
[ "MIT" ]
10
2021-03-17T22:53:03.000Z
2021-08-29T19:35:28.000Z
import lib.clients.channels.channels import lib.clients.channels.channels_html import lib.clients.channels.channels_form_html
25.4
46
0.874016
18
127
6
0.333333
0.25
0.444444
0.666667
0.888889
0
0
0
0
0
0
0
0.055118
127
4
47
31.75
0.9
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
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
8
31ae1bd906af1e5234916a43825b3e6f73640735
3,300
py
Python
kuyruk/signals.py
BatuAksoy/kuyruk
1052334e804c137245ddbbed31c75fa0aac46a71
[ "MIT" ]
154
2015-01-08T11:06:17.000Z
2022-03-27T11:44:30.000Z
kuyruk/signals.py
BatuAksoy/kuyruk
1052334e804c137245ddbbed31c75fa0aac46a71
[ "MIT" ]
39
2015-01-28T11:29:17.000Z
2022-01-04T14:14:06.000Z
kuyruk/signals.py
BatuAksoy/kuyruk
1052334e804c137245ddbbed31c75fa0aac46a71
[ "MIT" ]
12
2015-05-26T17:08:50.000Z
2021-12-23T13:37:19.000Z
from blinker import Signal #: Sent when the task decorator is applied. #: #: Arguments: #: * sender: Kuyruk object #: * task: Task object task_init = Signal() #: Sent before the task is applied. #: #: Arguments: #: * sender: Kuyruk object #: * task: Task object #: * args: Positional arguments to the ta...
25.984252
54
0.658182
410
3,300
5.24878
0.14878
0.097584
0.130112
0.167286
0.888941
0.868494
0.762546
0.762546
0.74303
0.644517
0
0
0.221515
3,300
126
55
26.190476
0.83768
0.826364
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
31d3a82c5924ed049b7fbe4276a2ebbac4208fc8
1,247
py
Python
pytools/src/oldsrc/evalwin.py
selentd/pythontools
ab3158dca1c3f6ef0f6d6678070da4a6551fa334
[ "Apache-2.0" ]
null
null
null
pytools/src/oldsrc/evalwin.py
selentd/pythontools
ab3158dca1c3f6ef0f6d6678070da4a6551fa334
[ "Apache-2.0" ]
null
null
null
pytools/src/oldsrc/evalwin.py
selentd/pythontools
ab3158dca1c3f6ef0f6d6678070da4a6551fa334
[ "Apache-2.0" ]
null
null
null
from evalindexdata import EvalIndexDataSell class EvalWinSellCall(EvalIndexDataSell): def __init__(self, maxLoss): self.maxLoss = maxLoss self.lastClose = 0.0 def updateState(self, indexData, lastBuy): self.lastClose = lastBuy.close def evaluateMaxLoss(self, close)...
28.340909
52
0.589415
116
1,247
6.267241
0.232759
0.090784
0.066025
0.077029
0.841816
0.841816
0.841816
0.841816
0.841816
0.841816
0
0.019347
0.336808
1,247
44
53
28.340909
0.859734
0
0
0.848485
0
0
0
0
0
0
0
0
0
1
0.242424
false
0
0.030303
0.060606
0.454545
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
b42e9d2fd9e836be8dce4861724be13f74c95da3
12,188
py
Python
skdecide/builders/scheduling/task_duration.py
galleon/bug-free-invention
37bcea112da39d1390ff2b30951b36ee5dbc0e6d
[ "MIT" ]
null
null
null
skdecide/builders/scheduling/task_duration.py
galleon/bug-free-invention
37bcea112da39d1390ff2b30951b36ee5dbc0e6d
[ "MIT" ]
null
null
null
skdecide/builders/scheduling/task_duration.py
galleon/bug-free-invention
37bcea112da39d1390ff2b30951b36ee5dbc0e6d
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import Optional, Dict from skdecide.core import DiscreteDistribution, Distribution __all__ = ['SimulatedTaskDuration', 'UncertainMultivariateTaskDuration', 'UncertainUnivariateTaskDuration', 'UncertainBoundedTaskDuration', 'UniformBoundedTaskDuration', 'EnumerableTaskDur...
64.147368
224
0.704135
1,606
12,188
5.188045
0.079078
0.109458
0.06481
0.052208
0.831493
0.818651
0.794047
0.789246
0.754081
0.743759
0
0.006708
0.204956
12,188
189
225
64.486772
0.853148
0.316541
0
0.521277
0
0
0.023108
0.023108
0
0
0
0.010582
0
1
0.308511
false
0
0.031915
0
0.62766
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
1
0
0
0
0
1
0
0
9
b43ef27de9ee9c6d1de632c9a01a4d6f003fbdb9
292
py
Python
tests/Unit/PointwiseFunctions/GeneralRelativity/WeylElectricScalar.py
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
tests/Unit/PointwiseFunctions/GeneralRelativity/WeylElectricScalar.py
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
tests/Unit/PointwiseFunctions/GeneralRelativity/WeylElectricScalar.py
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
# Distributed under the MIT License. # See LICENSE.txt for details. import numpy as np def weyl_electric_scalar(weyl_electric, inverse_spatial_metric): return (np.einsum("ik,jl,ij,kl", weyl_electric, weyl_electric, inverse_spatial_metric, inverse_spatial_metric))
32.444444
70
0.743151
40
292
5.15
0.65
0.23301
0.291262
0.252427
0.31068
0
0
0
0
0
0
0
0.178082
292
8
71
36.5
0.858333
0.215753
0
0
0
0
0.048673
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
c3316874b6915a62c4f5cac85704c698c65d6c64
18,116
py
Python
scripts/sarcasm_classifiers.py
ararifbd/sarcasm_detection_in_tweets_package
c0bc4cf56afee4cc601ff68da87a8dadc25da475
[ "MIT" ]
1
2021-01-29T07:55:59.000Z
2021-01-29T07:55:59.000Z
scripts/sarcasm_classifiers.py
ararifbd/sarcasm_detection_in_tweets_package
c0bc4cf56afee4cc601ff68da87a8dadc25da475
[ "MIT" ]
null
null
null
scripts/sarcasm_classifiers.py
ararifbd/sarcasm_detection_in_tweets_package
c0bc4cf56afee4cc601ff68da87a8dadc25da475
[ "MIT" ]
1
2021-01-23T13:25:44.000Z
2021-01-23T13:25:44.000Z
# Import packages import time start_time = time.time() import pandas as pd, os, numpy as np, csv, sys from sklearn import metrics, model_selection #from sklearn.model_selection import validation_curve from sklearn.linear_model import LogisticRegression from sklearn.svm import SVC from sklearn.naive_bayes import Gaussia...
37.047035
116
0.594005
1,980
18,116
5.316667
0.133333
0.017099
0.030873
0.049872
0.816757
0.804978
0.804978
0.802128
0.797948
0.795098
0
0.012126
0.253422
18,116
489
117
37.047035
0.766211
0.226816
0
0.782723
0
0
0.358617
0.022647
0
0
0
0
0
1
0.013089
false
0
0.02356
0
0.049738
0.007853
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
c37ad561fa05fac7919f23f952ecf7c338763a00
9,064
py
Python
default_user_agent.py
thedataincubator/scrapy-random-useragent
2af6ccf19d5131bceedfb6fff676cf316da9abda
[ "MIT" ]
2
2016-12-16T18:10:31.000Z
2021-04-27T16:02:02.000Z
default_user_agent.py
thedataincubator/scrapy-random-useragent
2af6ccf19d5131bceedfb6fff676cf316da9abda
[ "MIT" ]
null
null
null
default_user_agent.py
thedataincubator/scrapy-random-useragent
2af6ccf19d5131bceedfb6fff676cf316da9abda
[ "MIT" ]
1
2017-02-03T15:31:21.000Z
2017-02-03T15:31:21.000Z
# the most common user agents by https://techblog.willshouse.com/2012/01/03/most-common-user-agents/ DEFAULT_USER_AGENTS = [ "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) ...
103
140
0.710613
1,798
9,064
3.546162
0.051168
0.072146
0.11857
0.151506
0.954517
0.952321
0.932716
0.930521
0.920326
0.891311
0
0.247181
0.119373
9,064
88
141
103
0.551616
0.010812
0
0
0
0.976744
0.940658
0.004908
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
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
5ef75e73d26ef6eb897802766a377f556627b48c
6,257
py
Python
sdk/python/pulumi_gcp/assuredworkloads/_inputs.py
pjbizon/pulumi-gcp
0d09cbc1dcf50093a177531f7596c27db11a2e58
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/assuredworkloads/_inputs.py
pjbizon/pulumi-gcp
0d09cbc1dcf50093a177531f7596c27db11a2e58
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/assuredworkloads/_inputs.py
pjbizon/pulumi-gcp
0d09cbc1dcf50093a177531f7596c27db11a2e58
[ "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...
47.401515
315
0.706249
794
6,257
5.360202
0.164987
0.069784
0.065789
0.046523
0.851504
0.789474
0.7836
0.766682
0.722509
0.722509
0
0.003416
0.204731
6,257
131
316
47.763359
0.851889
0.433275
0
0.545455
1
0
0.116918
0.015106
0
0
0
0
0
1
0.194805
false
0
0.064935
0
0.376623
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
6f092dcbc7d7cc2599693994c915e1ea2805c601
1,375
py
Python
octicons16px/thumbsdown.py
andrewp-as-is/octicons16px.py
1272dc9f290619d83bd881e87dbd723b0c48844c
[ "Unlicense" ]
1
2021-01-28T06:47:39.000Z
2021-01-28T06:47:39.000Z
octicons16px/thumbsdown.py
andrewp-as-is/octicons16px.py
1272dc9f290619d83bd881e87dbd723b0c48844c
[ "Unlicense" ]
null
null
null
octicons16px/thumbsdown.py
andrewp-as-is/octicons16px.py
1272dc9f290619d83bd881e87dbd723b0c48844c
[ "Unlicense" ]
null
null
null
OCTICON_THUMBSDOWN = """ <svg class="octicon octicon-thumbsdown" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.083 15.986c1.34.153 2.334-.982 2.334-2.183v-.5c0-1.329.646-2.123 1.317-2.614.329-.24.66-.403.919-.508a1.75 1.75 0 001.514.872h1a1.75 1.75 0 001....
275
1,344
0.674909
361
1,375
2.567867
0.573407
0.019417
0.021575
0.02589
0.081985
0.04315
0
0
0
0
0
0.598284
0.067636
1,375
4
1,345
343.75
0.124805
0
0
0
0
0.333333
0.979622
0.44687
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
6f0ce0507b75e48d4352993d2bb797d05e498f57
3,551
py
Python
feel_it/feel_it.py
MilaNLProc/feel-
15e27ad52d7932e42c2aeb4d3cb6926584d5b02f
[ "MIT" ]
30
2021-03-17T14:59:01.000Z
2022-03-22T15:38:45.000Z
feel_it/feel_it.py
MilaNLProc/feel-
15e27ad52d7932e42c2aeb4d3cb6926584d5b02f
[ "MIT" ]
3
2021-06-12T08:04:03.000Z
2021-09-11T07:24:37.000Z
feel_it/feel_it.py
MilaNLProc/feel-
15e27ad52d7932e42c2aeb4d3cb6926584d5b02f
[ "MIT" ]
4
2021-04-08T03:46:15.000Z
2021-11-23T18:10:55.000Z
from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch from feel_it.dataset import TextDataset class SentimentClassifier: def __init__(self): """ Simple class initialization for the sentiment classifier, the sentiment classification model is going to be dow...
41.776471
111
0.629119
379
3,551
5.738786
0.245383
0.041379
0.044138
0.051494
0.848736
0.848736
0.848736
0.826667
0.788046
0.641839
0
0.007059
0.281892
3,551
84
112
42.27381
0.845882
0.180513
0
0.723404
0
0
0.090245
0.051151
0
0
0
0
0
1
0.085106
false
0
0.06383
0
0.234043
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
6f558c30dbde227e7f84763f190434764075c24c
239
py
Python
arrayfiles/__init__.py
codacy-badger/arrayfiles
8d1f583e9a8a9fcae77912048cc1cf9a2590efef
[ "MIT" ]
null
null
null
arrayfiles/__init__.py
codacy-badger/arrayfiles
8d1f583e9a8a9fcae77912048cc1cf9a2590efef
[ "MIT" ]
null
null
null
arrayfiles/__init__.py
codacy-badger/arrayfiles
8d1f583e9a8a9fcae77912048cc1cf9a2590efef
[ "MIT" ]
null
null
null
from arrayfiles.core import TextFile # NOQA from arrayfiles.core import CsvFile # NOQA from arrayfiles.core import CustomNewlineTextFile # NOQA from arrayfiles.core import read_text # NOQA from arrayfiles.core import read_csv # NOQA
34.142857
57
0.807531
32
239
5.96875
0.34375
0.366492
0.471204
0.628272
0.628272
0.335079
0
0
0
0
0
0
0.150628
239
6
58
39.833333
0.940887
0.100418
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
48916fd0fa9a5220347b432fdf3d848bc6098721
1,198
py
Python
temboo/core/Library/Dropbox/Datastore/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Dropbox/Datastore/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Dropbox/Datastore/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
from temboo.Library.Dropbox.Datastore.Await import Await, AwaitInputSet, AwaitResultSet, AwaitChoreographyExecution from temboo.Library.Dropbox.Datastore.DeleteDatastore import DeleteDatastore, DeleteDatastoreInputSet, DeleteDatastoreResultSet, DeleteDatastoreChoreographyExecution from temboo.Library.Dropbox.Datastore....
133.111111
190
0.906511
88
1,198
12.340909
0.431818
0.073665
0.12523
0.176796
0.243094
0
0
0
0
0
0
0
0.046745
1,198
8
191
149.75
0.950963
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
48926854eecac0cf262a33c6c112f6b623b0e927
10,197
py
Python
kratos/tests/test_levelset_convection.py
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
778
2017-01-27T16:29:17.000Z
2022-03-30T03:01:51.000Z
kratos/tests/test_levelset_convection.py
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
6,634
2017-01-15T22:56:13.000Z
2022-03-31T15:03:36.000Z
kratos/tests/test_levelset_convection.py
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
224
2017-02-07T14:12:49.000Z
2022-03-06T23:09:34.000Z
import KratosMultiphysics import KratosMultiphysics.KratosUnittest as KratosUnittest import os # from KratosMultiphysics.gid_output_process import GiDOutputProcess def GetFilePath(fileName): return os.path.join(os.path.dirname(os.path.realpath(__file__)), fileName) def BaseDistance(x, y, z): if (x...
45.119469
160
0.586937
826
10,197
6.976998
0.179177
0.056221
0.014055
0.021864
0.862051
0.829256
0.829256
0.826479
0.826479
0.826479
0
0.027273
0.331176
10,197
226
161
45.119469
0.817595
0.226439
0
0.690647
0
0
0.142201
0.074711
0
0
0
0
0.043165
0
null
null
0.007194
0.043165
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
5b11172471718634955551ef49254b6fdc5f1a5d
174
py
Python
reid/__init__.py
eddielyc/Augmented-Geometric-Distillation
029973b7ce3c08fa1f0fa4dab27981d2148986a3
[ "Apache-2.0" ]
3
2022-03-10T05:56:04.000Z
2022-03-12T07:32:59.000Z
reid/__init__.py
eddielyc/Augmented-Geometric-Distillation
029973b7ce3c08fa1f0fa4dab27981d2148986a3
[ "Apache-2.0" ]
1
2022-03-10T06:00:19.000Z
2022-03-24T06:52:23.000Z
reid/__init__.py
eddielyc/Augmented-Geometric-Distillation
029973b7ce3c08fa1f0fa4dab27981d2148986a3
[ "Apache-2.0" ]
null
null
null
from reid.evaluation import * from reid.loss import * from reid.models import * from reid.utils import * from reid.evaluation.evaluators import * from reid.trainers import *
24.857143
40
0.787356
25
174
5.48
0.36
0.350365
0.510949
0
0
0
0
0
0
0
0
0
0.137931
174
6
41
29
0.913333
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
5b24645bd65c130f415bd530fac9d9aec3b72806
3,830
py
Python
lib_pypy/_pypy_winbase_cffi.py
nanjekyejoannah/pypy
e80079fe13c29eda7b2a6b4cd4557051f975a2d9
[ "Apache-2.0", "OpenSSL" ]
381
2018-08-18T03:37:22.000Z
2022-02-06T23:57:36.000Z
lib_pypy/_pypy_winbase_cffi.py
nanjekyejoannah/pypy
e80079fe13c29eda7b2a6b4cd4557051f975a2d9
[ "Apache-2.0", "OpenSSL" ]
16
2018-09-22T18:12:47.000Z
2022-02-22T20:03:59.000Z
lib_pypy/_pypy_winbase_cffi.py
nanjekyejoannah/pypy
e80079fe13c29eda7b2a6b4cd4557051f975a2d9
[ "Apache-2.0", "OpenSSL" ]
55
2015-08-16T02:41:30.000Z
2022-03-20T20:33:35.000Z
# auto-generated file import _cffi_backend ffi = _cffi_backend.FFI('_pypy_winbase_cffi', _version = 0x2601, _types = b'\x00\x00\x01\x0D\x00\x00\x07\x01\x00\x00\x00\x0F\x00\x00\x01\x0D\x00\x00\x07\x01\x00\x00\x07\x01\x00\x00\x00\x0F\x00\x00\x01\x0D\x00\x00\x07\x01\x00\x00\x07\x01\x00\x00\x09\x01\x00\x00\x0...
348.181818
1,682
0.751436
795
3,830
3.574843
0.171069
0.386348
0.137931
0.067558
0.467628
0.423997
0.366291
0.316678
0.316678
0.316678
0
0.335099
0.01436
3,830
10
1,683
383
0.417748
0.004961
0
0
1
0.125
0.878916
0.859437
0
1
0.001579
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
1
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
9
d2a0621dfc4b5a82a4bd263afbfd7a31e9c00b58
47
py
Python
jaseci_kit/jaseci_kit/use_enc.py
Gorgeous-Patrick/jaseci
b423165fefbbc9574cd4467ee05728add7f47e5a
[ "MIT" ]
6
2021-10-30T03:35:36.000Z
2022-02-10T02:06:18.000Z
jaseci_kit/jaseci_kit/use_enc.py
Gorgeous-Patrick/jaseci
b423165fefbbc9574cd4467ee05728add7f47e5a
[ "MIT" ]
85
2021-10-29T22:47:39.000Z
2022-03-31T06:11:52.000Z
jaseci_kit/jaseci_kit/use_enc.py
Gorgeous-Patrick/jaseci
b423165fefbbc9574cd4467ee05728add7f47e5a
[ "MIT" ]
12
2021-11-03T17:29:22.000Z
2022-03-30T16:01:53.000Z
from .modules.use_enc.use_enc import * # noqa
23.5
46
0.744681
8
47
4.125
0.75
0.363636
0
0
0
0
0
0
0
0
0
0
0.148936
47
1
47
47
0.825
0.085106
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
d2acd4361f92fe286ab13688a9174ce7c5465755
140
py
Python
html/webappapis/dynamic-markup-insertion/opening-the-input-stream/resources/http-refresh.py
Ms2ger/web-platform-tests
645c0e8a5c028a613e7ad1732834100dbe946fc7
[ "BSD-3-Clause" ]
1
2019-04-14T20:17:04.000Z
2019-04-14T20:17:04.000Z
html/webappapis/dynamic-markup-insertion/opening-the-input-stream/resources/http-refresh.py
Ms2ger/web-platform-tests
645c0e8a5c028a613e7ad1732834100dbe946fc7
[ "BSD-3-Clause" ]
14
2019-03-18T20:11:48.000Z
2019-04-23T22:41:46.000Z
html/webappapis/dynamic-markup-insertion/opening-the-input-stream/resources/http-refresh.py
Ms2ger/web-platform-tests
645c0e8a5c028a613e7ad1732834100dbe946fc7
[ "BSD-3-Clause" ]
1
2021-01-04T15:55:59.000Z
2021-01-04T15:55:59.000Z
def main(request, response): time = request.url_parts.query if request.url_parts.query else '0' return 200, [['Refresh', time]], ''
35
70
0.678571
20
140
4.65
0.7
0.215054
0.322581
0.430108
0
0
0
0
0
0
0
0.034188
0.164286
140
3
71
46.666667
0.760684
0
0
0
0
0
0.057143
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
7
d2b11769f31c3b95c69948004bba0728f69e494d
19,498
py
Python
sdk/python/pulumi_aws/ec2/vpc_dhcp_options.py
jen20/pulumi-aws
172e00c642adc03238f89cc9c5a16b914a77c2b1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/ec2/vpc_dhcp_options.py
jen20/pulumi-aws
172e00c642adc03238f89cc9c5a16b914a77c2b1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/ec2/vpc_dhcp_options.py
jen20/pulumi-aws
172e00c642adc03238f89cc9c5a16b914a77c2b1
[ "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...
46.757794
282
0.647092
2,473
19,498
4.905378
0.100283
0.087956
0.069244
0.055643
0.839832
0.808013
0.786003
0.75575
0.724013
0.698541
0
0.010055
0.250231
19,498
416
283
46.870192
0.819755
0.418043
0
0.413265
1
0
0.099911
0.003667
0
0
0
0
0
1
0.142857
false
0.005102
0.02551
0.010204
0.265306
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
d2d3b8fee50998ead9f60f8a4c8bc63b93ddca73
183
py
Python
deepweights/__init__.py
astromer-science/python-library
554b95129b801d7b21f53eb201db1e7cd0e1ef21
[ "MIT" ]
null
null
null
deepweights/__init__.py
astromer-science/python-library
554b95129b801d7b21f53eb201db1e7cd0e1ef21
[ "MIT" ]
null
null
null
deepweights/__init__.py
astromer-science/python-library
554b95129b801d7b21f53eb201db1e7cd0e1ef21
[ "MIT" ]
null
null
null
from .core.astromer import * from .core.data import * from .core.utils import * from .core.training.callbacks import get_callbacks from .core.training.scheduler import CustomSchedule
30.5
51
0.808743
25
183
5.88
0.44
0.272109
0.285714
0
0
0
0
0
0
0
0
0
0.10929
183
5
52
36.6
0.90184
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
9609f5c9893f15b43fc260c7ee4047d42d486de9
1,341
py
Python
Apps/Shop/models.py
Martin-Antonio/Store
d926acccb99f25f19fd3ec699f5b8933cf9d7ac7
[ "Apache-2.0" ]
null
null
null
Apps/Shop/models.py
Martin-Antonio/Store
d926acccb99f25f19fd3ec699f5b8933cf9d7ac7
[ "Apache-2.0" ]
null
null
null
Apps/Shop/models.py
Martin-Antonio/Store
d926acccb99f25f19fd3ec699f5b8933cf9d7ac7
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class Shop_Men(models.Model): Nombre = models.CharField(max_length=100) cantidad =models.IntegerField() Precio = models.IntegerField() imagen1 = models.ImageField(upload_to="media/Image") imagen2 = models.ImageField(upload_to="media/Image") imagen3 = mode...
27.9375
62
0.756898
170
1,341
5.805882
0.276471
0.129686
0.178318
0.194529
0.838906
0.838906
0.838906
0.838906
0.838906
0.838906
0
0.016736
0.108874
1,341
47
63
28.531915
0.809205
0.017897
0
0.818182
0
0
0.120152
0
0
0
0
0
0
1
0.090909
false
0
0.030303
0.030303
0.878788
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
9
8259d0ae93d9548931787a07b8e27035a6410e39
9,979
py
Python
data_preprocess_with_negatives.py
gavruskin/microinteractions
bafc755cbed50837984fca2bb78111592985d6d6
[ "MIT" ]
1
2018-09-07T02:39:49.000Z
2018-09-07T02:39:49.000Z
data_preprocess_with_negatives.py
gavruskin/microinteractions
bafc755cbed50837984fca2bb78111592985d6d6
[ "MIT" ]
null
null
null
data_preprocess_with_negatives.py
gavruskin/microinteractions
bafc755cbed50837984fca2bb78111592985d6d6
[ "MIT" ]
null
null
null
import pandas as pd data = pd.read_csv("fitness_summary_all_replicates.csv") # Add all parameters (Taylor coefficients) as 0 in rows following the data: for i in range(data.shape[0]): for j in range(16, 48): data.set_value(i, j, 0) data.rename(columns={16: "a", 17: "a1", 18: "a2", 19: "a3", 20...
33.712838
79
0.626917
1,703
9,979
3.524956
0.085731
0.284524
0.487756
0.688156
0.846077
0.83325
0.83325
0.792604
0.792604
0.792604
0
0.095114
0.15713
9,979
295
80
33.827119
0.618595
0.013228
0
0.83737
0
0
0.102713
0.008026
0
0
0
0
0
1
0
false
0
0.00346
0
0.00346
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
826277cca31b1278c1763a1ffc675066636acba9
305
py
Python
riptide/tests/integration/__init__.py
theCapypara/riptide-lib
560106d4196cdc5a5b84235f32ac44c80bc3994e
[ "MIT" ]
4
2019-04-23T17:14:00.000Z
2019-12-22T11:55:31.000Z
riptide/tests/integration/__init__.py
theCapypara/riptide-lib
560106d4196cdc5a5b84235f32ac44c80bc3994e
[ "MIT" ]
15
2021-09-22T09:40:42.000Z
2022-03-07T05:01:07.000Z
riptide/tests/integration/__init__.py
theCapypara/riptide-lib
560106d4196cdc5a5b84235f32ac44c80bc3994e
[ "MIT" ]
1
2019-11-24T18:08:14.000Z
2019-11-24T18:08:14.000Z
from .config_test import * from .engine_cmd_test import * from .engine_exec_test import * from .engine_service_test import * from .engine_start_stop_test import * from .engine_util_test import * from .perf_dont_sync_named_volumes_with_host_test import * from .perf_dont_sync_unimportant_src_test import *
33.888889
58
0.842623
48
305
4.854167
0.416667
0.343348
0.420601
0.429185
0.223176
0.223176
0
0
0
0
0
0
0.104918
305
8
59
38.125
0.85348
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
829b893138127c1ba13d3d19dea8b574dfc013ac
4,264
py
Python
parser/team19/BDTytus/TypeCheck/Atributo.py
18SebastianVC/tytus
2b22f4339356b6cf46e3235a5219f68e5ba5573b
[ "MIT" ]
null
null
null
parser/team19/BDTytus/TypeCheck/Atributo.py
18SebastianVC/tytus
2b22f4339356b6cf46e3235a5219f68e5ba5573b
[ "MIT" ]
null
null
null
parser/team19/BDTytus/TypeCheck/Atributo.py
18SebastianVC/tytus
2b22f4339356b6cf46e3235a5219f68e5ba5573b
[ "MIT" ]
null
null
null
class Atributo: def __init__(self,nombre,tipo): self.columnNumber = None self.nombre = nombre self.tipo = tipo self.isPrimary = False self.ForeignTable = None self.default = None self.isNull = True self.isUnique = False #Punteros ...
28.61745
65
0.565901
420
4,264
5.616667
0.083333
0.091564
0.080119
0.053412
0.84061
0.832556
0.832556
0.832556
0.824078
0.824078
0
0
0.364916
4,264
149
66
28.61745
0.871123
0.018996
0
0.8
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.153846
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
7dc969534b7023960301ad310a9b9ad32f93f669
192
py
Python
aplpy/tests/setup_package.py
GiantMolecularCloud/aplpy
352fdd7fc776ebcb9058451e0b3aced777083257
[ "MIT" ]
null
null
null
aplpy/tests/setup_package.py
GiantMolecularCloud/aplpy
352fdd7fc776ebcb9058451e0b3aced777083257
[ "MIT" ]
null
null
null
aplpy/tests/setup_package.py
GiantMolecularCloud/aplpy
352fdd7fc776ebcb9058451e0b3aced777083257
[ "MIT" ]
null
null
null
from __future__ import absolute_import, print_function, division def get_package_data(): return {_ASTROPY_PACKAGE_NAME_ + '.tests': ['coveragerc', 'data/*.reg', 'data/*/*.hdr']} # noqa
32
100
0.713542
23
192
5.434783
0.826087
0
0
0
0
0
0
0
0
0
0
0
0.125
192
5
101
38.4
0.744048
0.020833
0
0
0
0
0.204301
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0.333333
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
7df1fa0a56bbccaf3bbe6146a571c01b2168fd89
183
py
Python
tests/project/app/views.py
j4mie/django-kronos
71d90a67eb73e9c28666e77611466062ff3e3dda
[ "MIT" ]
1
2015-11-05T11:45:52.000Z
2015-11-05T11:45:52.000Z
tests/project/app/views.py
j4mie/django-kronos
71d90a67eb73e9c28666e77611466062ff3e3dda
[ "MIT" ]
null
null
null
tests/project/app/views.py
j4mie/django-kronos
71d90a67eb73e9c28666e77611466062ff3e3dda
[ "MIT" ]
null
null
null
from django.http import HttpResponse from fandjango.decorators import facebook_authorization_required @facebook_authorization_required() def home(request): return HttpResponse()
26.142857
64
0.846995
20
183
7.55
0.7
0.278146
0.384106
0
0
0
0
0
0
0
0
0
0.098361
183
7
65
26.142857
0.915152
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
0.8
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
7
8158dc55cb159717eecbb154245a7f37058d73c8
17,242
py
Python
mrt_worker/mrt_worker/policy/actor_critic.py
zmk5/multi_robot_trainer
b85f668c1302040717d0129f092558279bec5237
[ "MIT" ]
20
2020-11-10T02:53:42.000Z
2022-02-16T09:23:57.000Z
mrt_worker/mrt_worker/policy/actor_critic.py
zmk5/multi_robot_trainer
b85f668c1302040717d0129f092558279bec5237
[ "MIT" ]
null
null
null
mrt_worker/mrt_worker/policy/actor_critic.py
zmk5/multi_robot_trainer
b85f668c1302040717d0129f092558279bec5237
[ "MIT" ]
5
2020-11-10T02:02:58.000Z
2021-12-11T03:51:36.000Z
"""Actor-Critic policy class for RL experiments with neural net function approx. This network uses a shared network architecture, i.e. a singular network that has two ouputs: one for the actor and one for the critic. Written by: Zahi Kakish (zmk5) """ from typing import List from typing import Optional from typing i...
39.00905
114
0.611936
2,087
17,242
4.832774
0.109248
0.027662
0.035693
0.042138
0.811223
0.786238
0.753817
0.718521
0.706127
0.68134
0
0.010637
0.274794
17,242
441
115
39.097506
0.795985
0.191335
0
0.703072
0
0
0.008788
0
0
0
0
0.002268
0
1
0.075085
false
0
0.044369
0
0.167235
0.010239
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
81adc7fb70ff10b7b04bec86bb465053f62e248b
29,109
py
Python
sdk/python/pulumi_alicloud/ram/account_password_policy.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
42
2019-03-18T06:34:37.000Z
2022-03-24T07:08:57.000Z
sdk/python/pulumi_alicloud/ram/account_password_policy.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
152
2019-04-15T21:03:44.000Z
2022-03-29T18:00:57.000Z
sdk/python/pulumi_alicloud/ram/account_password_policy.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
3
2020-08-26T17:30:07.000Z
2021-07-05T01:37:45.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...
54.307836
257
0.69518
3,548
29,109
5.470688
0.05637
0.068573
0.079289
0.053323
0.908398
0.897476
0.897476
0.892375
0.889748
0.881247
0
0.006488
0.216394
29,109
535
258
54.409346
0.844454
0.349514
0
0.845912
1
0
0.134095
0.075798
0
0
0
0
0
1
0.163522
false
0.286164
0.015723
0
0.27673
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
1
0
0
0
0
0
9
81c5f5684cf9b3da0fcab6b865a28e4a394e93ab
86,043
py
Python
tests/functional/transactions/test_read_consist_sttm_restart_max_limit.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/functional/transactions/test_read_consist_sttm_restart_max_limit.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/functional/transactions/test_read_consist_sttm_restart_max_limit.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
#coding:utf-8 # # id: functional.transactions.read_consist_sttm_restart_max_limit # title: READ CONSISTENCY. Maximal number of statement-level restarts must be 10. # decription: # Initial article for reading: # https://asktom.oracle.com/pls/asktom/f?p=100:11:::::P...
80.943556
266
0.591425
11,515
86,043
4.200261
0.044116
0.149278
0.236861
0.146797
0.877538
0.868503
0.86567
0.858227
0.856697
0.855456
0
0.03716
0.311298
86,043
1,062
267
81.019774
0.779034
0.168393
0
0.083682
0
0.052999
0.990679
0.008444
0
0
0
0
0
1
0.001395
false
0
0.002789
0
0.004184
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
c4a14e36f339606092582d4f4cdcb234299c08ab
1,022
py
Python
tests/unit/scalar/test_boolean.py
alexchamberlain/tartiflette
6904b0f47770c348553e907be5f5bdb0929fe149
[ "MIT" ]
null
null
null
tests/unit/scalar/test_boolean.py
alexchamberlain/tartiflette
6904b0f47770c348553e907be5f5bdb0929fe149
[ "MIT" ]
null
null
null
tests/unit/scalar/test_boolean.py
alexchamberlain/tartiflette
6904b0f47770c348553e907be5f5bdb0929fe149
[ "MIT" ]
null
null
null
import pytest @pytest.mark.parametrize( "val,expected", [ ("true", True), ("false", True), ("1", True), (1, True), (0, False), ("0", True), (3.6, True), (0.0, False), ("a", True), (True, True), (None, False), (Fals...
21.291667
65
0.518591
106
1,022
4.90566
0.245283
0.126923
0.069231
0.092308
0.892308
0.892308
0.892308
0.892308
0.892308
0.892308
0
0.022792
0.313112
1,022
47
66
21.744681
0.717949
0
0
0.780488
0
0
0.046967
0
0
0
0
0
0.04878
1
0.04878
false
0
0.073171
0
0.121951
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
f200b0a330d754aa38688024338c5f49b27c7b77
862
py
Python
parser/team20/console.py
Ocsa/tytus
3ccb7c7616c26264a827bca1e9084b58e11ddd0f
[ "MIT" ]
null
null
null
parser/team20/console.py
Ocsa/tytus
3ccb7c7616c26264a827bca1e9084b58e11ddd0f
[ "MIT" ]
null
null
null
parser/team20/console.py
Ocsa/tytus
3ccb7c7616c26264a827bca1e9084b58e11ddd0f
[ "MIT" ]
null
null
null
try: import Tytus_GUI_console except Exception as e: i=0#print(e) def print_error(data_type: str, print_: str): try: Tytus_GUI_console.print_error(data_type, print_) except Exception as e: i=0#print(e) def print_warning(data_type: str, print_: str): try: Tytus_GUI_console....
25.352941
58
0.663573
133
862
4
0.157895
0.120301
0.169173
0.203008
0.849624
0.849624
0.849624
0.791353
0.791353
0.733083
0
0.00916
0.240139
862
34
59
25.352941
0.803053
0.055684
0
0.62069
0
0
0
0
0
0
0
0
0
1
0.172414
false
0
0.034483
0
0.206897
0.344828
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
485cd7240260c7ac91db2a8d2897e9c98c889fab
5,622
py
Python
QuadProg/max_kappa.py
ranr01/Rubin2017Balanced
e3725170abd3c16309b189ebdf4a48bdd1835e0f
[ "Unlicense" ]
3
2020-02-04T18:38:56.000Z
2021-01-26T04:34:34.000Z
QuadProg/max_kappa.py
ranr01/Rubin2017Balanced
e3725170abd3c16309b189ebdf4a48bdd1835e0f
[ "Unlicense" ]
null
null
null
QuadProg/max_kappa.py
ranr01/Rubin2017Balanced
e3725170abd3c16309b189ebdf4a48bdd1835e0f
[ "Unlicense" ]
null
null
null
import cvxopt import numpy as np def sign_constrained_perceptron_max_kappa_out(X,y,g,Gamma=1.,Lambda=1e5,\ external_input=None): '''Finds the maximal $\kappa_\mathrm{out}$ solution for a sign constrained Percptron, with |w|<=Gamma. ## Paramaters: ...
31.58427
87
0.559054
908
5,622
3.39978
0.162996
0.011662
0.025915
0.015549
0.907353
0.886297
0.862974
0.862974
0.833819
0.833819
0
0.028975
0.28175
5,622
177
88
31.762712
0.735513
0.416756
0
0.756757
0
0
0.023826
0
0
0
0
0
0
1
0.027027
false
0
0.027027
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
487395afcbbf5e5cf3641e9bc2c281ecd3b260a4
14,501
py
Python
Siamese Models/VGG16 Backbone/RTApp.py
123prashanth123/Fault-Detection-System
fa59ca81ce4627a42648e654b55cdc505cde2103
[ "MIT" ]
1
2021-07-08T19:30:52.000Z
2021-07-08T19:30:52.000Z
Siamese Models/VGG16 Backbone/RTApp.py
123prashanth123/Fault-Detection-System
fa59ca81ce4627a42648e654b55cdc505cde2103
[ "MIT" ]
1
2021-07-09T11:27:54.000Z
2021-07-09T11:27:54.000Z
Siamese Models/VGG16 Backbone/RTApp.py
123prashanth123/Fault-Detection-System
fa59ca81ce4627a42648e654b55cdc505cde2103
[ "MIT" ]
1
2021-07-26T08:58:43.000Z
2021-07-26T08:58:43.000Z
""" Realtime Inference """ import os import platform import cv2 import torch import numpy as np import utils as u import Models # ******************************************************************************************************************** # # Inference Helper def __help__(frame=None, anchor=None, model=...
47.858086
140
0.535825
1,788
14,501
4.223714
0.13255
0.042903
0.037076
0.031515
0.841764
0.812632
0.799126
0.798067
0.79224
0.791711
0
0.033542
0.282463
14,501
303
141
47.858086
0.692263
0.376802
0
0.704225
0
0
0.06699
0
0
0
0
0
0
1
0.021127
false
0
0.049296
0
0.077465
0.056338
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
6f8d844d51ac2e415f686912aa6d29a681623859
400
py
Python
SBaaS_thermodynamics/stage03_quantification_tfba_io.py
dmccloskey/SBaaS_thermodynamics
0eeed0191f952ea0226ab8bbc234a30638fb2f9f
[ "MIT" ]
null
null
null
SBaaS_thermodynamics/stage03_quantification_tfba_io.py
dmccloskey/SBaaS_thermodynamics
0eeed0191f952ea0226ab8bbc234a30638fb2f9f
[ "MIT" ]
null
null
null
SBaaS_thermodynamics/stage03_quantification_tfba_io.py
dmccloskey/SBaaS_thermodynamics
0eeed0191f952ea0226ab8bbc234a30638fb2f9f
[ "MIT" ]
null
null
null
# System import json # SBaaS from .stage03_quantification_tfba_query import stage03_quantification_tfba_query from SBaaS_base.sbaas_template_io import sbaas_template_io # Resources from io_utilities.base_importData import base_importData from io_utilities.base_exportData import base_exportData class stage03_quantifica...
33.333333
90
0.8825
54
400
6.074074
0.333333
0.256098
0.304878
0.27439
0
0
0
0
0
0
0
0.021918
0.0875
400
12
91
33.333333
0.876712
0.055
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.142857
0.714286
0
0.857143
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
6fbf25dd755040653ab8250f7710cce2ac8b9a51
18,087
py
Python
saleor/dashboard/reports/product_sales.py
glosoftgroup/KahawaHardware
893e94246583addf41c3bb0d58d2ce6bcd233c4f
[ "BSD-3-Clause" ]
1
2020-01-22T04:35:31.000Z
2020-01-22T04:35:31.000Z
saleor/dashboard/reports/product_sales.py
glosoftgroup/KahawaHardware
893e94246583addf41c3bb0d58d2ce6bcd233c4f
[ "BSD-3-Clause" ]
1
2022-02-10T07:42:22.000Z
2022-02-10T07:42:22.000Z
saleor/dashboard/reports/product_sales.py
glosoftgroup/KahawaHardware
893e94246583addf41c3bb0d58d2ce6bcd233c4f
[ "BSD-3-Clause" ]
null
null
null
from django.core.exceptions import ObjectDoesNotExist from django.template.response import TemplateResponse from django.http import HttpResponse from django.db.models import Count, Sum, Q from django.core.paginator import Paginator, EmptyPage, InvalidPage, PageNotAnInteger import datetime from django.utils.dateformat i...
38.319915
170
0.670979
2,248
18,087
5.202402
0.066726
0.033861
0.005643
0.037794
0.877469
0.864215
0.836682
0.836682
0.823172
0.81599
0
0.003631
0.177641
18,087
472
171
38.319915
0.782641
0
0
0.812785
0
0
0.174812
0.036986
0
0
0
0
0
1
0.009132
false
0
0.031963
0
0.075342
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
b50ff57a89de092cc00ba0d554cfb73121373b24
155
py
Python
sapcc_swift_addons/__init__.py
sapcc/swift-addons
b3c53e7e4cee981ab386c130f23442f9ec43fc2d
[ "Apache-2.0" ]
null
null
null
sapcc_swift_addons/__init__.py
sapcc/swift-addons
b3c53e7e4cee981ab386c130f23442f9ec43fc2d
[ "Apache-2.0" ]
null
null
null
sapcc_swift_addons/__init__.py
sapcc/swift-addons
b3c53e7e4cee981ab386c130f23442f9ec43fc2d
[ "Apache-2.0" ]
null
null
null
from sapcc_swift_addons.sysmeta_domain_override import DomainOverrideMiddleware from sapcc_swift_addons.in_flight_counter import InFlightCounterMiddleware
51.666667
79
0.935484
18
155
7.611111
0.722222
0.131387
0.20438
0.291971
0
0
0
0
0
0
0
0
0.051613
155
2
80
77.5
0.931973
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
82f5c5f1e959e3b3fccacb5256a491ed8f9d8bdc
8,165
py
Python
codes/deeplearning/dnn/networks/feat_networks.py
sarvai/proposals
578c0094db52594cd85acb843df82fe3c19db46d
[ "Apache-2.0" ]
null
null
null
codes/deeplearning/dnn/networks/feat_networks.py
sarvai/proposals
578c0094db52594cd85acb843df82fe3c19db46d
[ "Apache-2.0" ]
null
null
null
codes/deeplearning/dnn/networks/feat_networks.py
sarvai/proposals
578c0094db52594cd85acb843df82fe3c19db46d
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf import tensorflow.contrib.slim as slim from .network import network class feat_net0( network ): def apply( self, input ): mean = tf.constant([123.68, 116.779, 103.939], dtype=tf.float32, shape=[1, 1, 1, 3], name='img_mean') net = input-mean nets = {} with s...
40.02451
109
0.53117
1,089
8,165
3.823691
0.078053
0.075648
0.121037
0.15562
0.912584
0.912584
0.912584
0.912584
0.912584
0.912584
0
0.108084
0.307655
8,165
203
110
40.221675
0.628516
0.055971
0
0.797297
0
0
0.072616
0
0
0
0
0
0
1
0.033784
false
0
0.02027
0
0.121622
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
d249cffe11f84ff2b635555aa18c80d59860f69c
130
py
Python
python/testData/toxtest/toxPyTestXDist/test_foo.py
tgodzik/intellij-community
f5ef4191fc30b69db945633951fb160c1cfb7b6f
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/toxtest/toxPyTestXDist/test_foo.py
tgodzik/intellij-community
f5ef4191fc30b69db945633951fb160c1cfb7b6f
[ "Apache-2.0" ]
2
2022-02-19T09:45:05.000Z
2022-02-27T20:32:55.000Z
python/testData/toxtest/toxPyTestXDist/test_foo.py
tgodzik/intellij-community
f5ef4191fc30b69db945633951fb160c1cfb7b6f
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
def test_doo(): pass def test_bar(): pass def test_only_2(): import sys assert str(sys.version).startswith("2")
13
43
0.638462
20
130
3.95
0.65
0.265823
0.278481
0
0
0
0
0
0
0
0
0.02
0.230769
130
9
44
14.444444
0.77
0
0
0.285714
0
0
0.007692
0
0
0
0
0
0.142857
1
0.428571
true
0.285714
0.142857
0
0.571429
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
1
0
0
8
d24a3f6781fbcd657dddd37b8431da5bb6d80983
6,785
py
Python
j5e/network/SocketClient.py
jeuxcing/j5e
6b809596a3a80da757d431c6174febc1706d36f4
[ "MIT" ]
null
null
null
j5e/network/SocketClient.py
jeuxcing/j5e
6b809596a3a80da757d431c6174febc1706d36f4
[ "MIT" ]
null
null
null
j5e/network/SocketClient.py
jeuxcing/j5e
6b809596a3a80da757d431c6174febc1706d36f4
[ "MIT" ]
null
null
null
import socket import time from threading import Thread class SocketClient(Thread): def __init__(self, verbose=False): super().__init__() self.port = 6000 self.stopped = False self.mailbox = [] self.inbox = [] self.msg_handlers = [] self.verbose = verbose ...
39.678363
99
0.391452
586
6,785
4.462457
0.163823
0.051625
0.049713
0.068834
0.855449
0.855449
0.855449
0.855449
0.855449
0.855449
0
0.021927
0.522771
6,785
171
100
39.678363
0.78567
0.420929
0
0.194805
0
0
0.035492
0
0
0
0.001036
0
0
1
0.077922
false
0.012987
0.038961
0
0.12987
0.077922
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d24d0bdd36a59f427b441c5723ee50ebc6c486c7
349
py
Python
MUNDO 1/ex009.py
athavus/Curso-em-video-Python-3
a32be95adbccfcbe512a1ed30d3859141a230b5e
[ "MIT" ]
1
2020-11-12T14:03:32.000Z
2020-11-12T14:03:32.000Z
MUNDO 1/ex009.py
athavus/Curso-em-video-Python-3
a32be95adbccfcbe512a1ed30d3859141a230b5e
[ "MIT" ]
null
null
null
MUNDO 1/ex009.py
athavus/Curso-em-video-Python-3
a32be95adbccfcbe512a1ed30d3859141a230b5e
[ "MIT" ]
1
2021-01-05T22:18:46.000Z
2021-01-05T22:18:46.000Z
n1 = int(input('Digite um número para ver sua tabuada: ')) print('-'*12) print(f'{n1} X 1 = {n1 * 1} \n{n1} X 2 = {n1 * 2} \n{n1} X 3 = {n1 * 3} \n{n1} x 4 = {n1 * 4} ') print(f'{n1} X 5 = {n1 * 5} \n{n1} X 6 = {n1 * 6} \n{n1} X 7 = {n1 * 7} \n{n1} X 8 = {n1 * 8}') print(f'{n1} X 9 = {n1 * 9} \n{n1} X 10 =...
49.857143
101
0.43553
77
349
1.974026
0.324675
0.197368
0.184211
0.177632
0
0
0
0
0
0
0
0.187251
0.280802
349
6
102
58.166667
0.418327
0
0
0.333333
0
0.5
0.769679
0
0
0
0
0
0
1
0
false
0
0
0
0
0.833333
0
0
1
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
8
962f1db9f2bd0cff9f53f5c5bd8eef1dc6560f63
10,428
py
Python
test/test_LensModel/test_Profiles/test_nie_potential.py
heather999/lenstronomy
8102fe026c1f3ba6e81d8a1f59cceb90e68430b4
[ "MIT" ]
107
2017-08-25T20:03:51.000Z
2022-03-30T19:52:21.000Z
test/test_LensModel/test_Profiles/test_nie_potential.py
heather999/lenstronomy
8102fe026c1f3ba6e81d8a1f59cceb90e68430b4
[ "MIT" ]
235
2017-06-07T13:30:53.000Z
2022-03-28T12:44:04.000Z
test/test_LensModel/test_Profiles/test_nie_potential.py
heather999/lenstronomy
8102fe026c1f3ba6e81d8a1f59cceb90e68430b4
[ "MIT" ]
68
2018-02-01T15:47:20.000Z
2022-03-27T12:44:32.000Z
__author__ = 'gipagano' import numpy as np import numpy.testing as npt import pytest import lenstronomy.Util.param_util as param_util from lenstronomy.Util import util from lenstronomy.LensModel.Profiles.nie_potential import NIE_POTENTIAL from lenstronomy.LensModel.Profiles.spep import SPEP class TestNIE_POTENTIAL(...
40.107692
116
0.569333
1,607
10,428
3.372744
0.057872
0.065314
0.070849
0.081181
0.887454
0.879705
0.879705
0.879705
0.848339
0.848339
0
0.045361
0.302359
10,428
259
117
40.262548
0.699656
0.079593
0
0.798742
0
0
0.005572
0
0
0
0
0
0.144654
1
0.031447
false
0
0.044025
0
0.081761
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
964520c7fffd2d0ae148d80f48a8ce2a762ad62b
38
py
Python
xiangmu/login.py
sunchaoyi/test
0e460805cf5eb7b813ece38fd9c356da2eb19754
[ "MIT" ]
null
null
null
xiangmu/login.py
sunchaoyi/test
0e460805cf5eb7b813ece38fd9c356da2eb19754
[ "MIT" ]
null
null
null
xiangmu/login.py
sunchaoyi/test
0e460805cf5eb7b813ece38fd9c356da2eb19754
[ "MIT" ]
null
null
null
a = 1 b = 2 c = 3 d = 4 e = 5 f = 6
4.222222
5
0.315789
12
38
1
1
0
0
0
0
0
0
0
0
0
0
0.333333
0.526316
38
9
6
4.222222
0.333333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
1
1
0
1
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
9688b01bdc012d33f00a77a90ff0a564300fd02c
3,313
py
Python
clingine/label.py
avancayetano/clingine
55e8bd6366aad3ae8e7ac9537fa3ae85efab9ddc
[ "MIT" ]
12
2020-04-10T09:10:29.000Z
2022-03-12T03:45:08.000Z
clingine/label.py
avancayetano/clingine
55e8bd6366aad3ae8e7ac9537fa3ae85efab9ddc
[ "MIT" ]
6
2020-04-11T10:47:01.000Z
2020-10-19T14:15:55.000Z
clingine/label.py
avancayetano/clingine
55e8bd6366aad3ae8e7ac9537fa3ae85efab9ddc
[ "MIT" ]
1
2021-09-04T00:40:34.000Z
2021-09-04T00:40:34.000Z
import math class Label: def __init__(self, window, text=[""], x=0, y=0, anchor="left", color_pair=None, group=None): self.window = window self.text = text self.x = x self.y = y self.anchor = anchor if color_pair != None: self.color_pair = tuple(color_pair) else: self.color_pair = color_pair sel...
47.328571
169
0.628433
568
3,313
3.579225
0.086268
0.141663
0.204624
0.110182
0.808657
0.808657
0.808657
0.808657
0.795376
0.795376
0
0.015458
0.179897
3,313
69
170
48.014493
0.732794
0
0
0.491803
0
0
0.007244
0
0
0
0
0
0
1
0.081967
false
0
0.016393
0
0.114754
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
96925491902a308fdcea70180b8469e7d1d22a89
7,067
py
Python
pyvac/tests/views/test_home.py
sayoun/pyvac
45ade8de2f29864d500e0358e38ebcbd2674a06d
[ "BSD-3-Clause" ]
21
2015-11-19T17:36:46.000Z
2021-07-02T15:48:21.000Z
pyvac/tests/views/test_home.py
sayoun/pyvac
45ade8de2f29864d500e0358e38ebcbd2674a06d
[ "BSD-3-Clause" ]
28
2015-07-03T07:54:48.000Z
2022-03-21T22:16:23.000Z
pyvac/tests/views/test_home.py
sayoun/pyvac
45ade8de2f29864d500e0358e38ebcbd2674a06d
[ "BSD-3-Clause" ]
13
2015-07-03T07:30:04.000Z
2020-07-03T15:22:51.000Z
from datetime import datetime from freezegun import freeze_time from mock import patch, PropertyMock from pyvac.tests import case class HomeTestCase(case.ViewTestCase): def setUp(self): super(HomeTestCase, self).setUp() def tearDown(self): super(HomeTestCase, self).tearDown() def test_...
50.841727
76
0.466959
599
7,067
5.288815
0.198664
0.075758
0.075758
0.048611
0.81029
0.81029
0.778093
0.708965
0.708965
0.708965
0
0.022593
0.423801
7,067
138
77
51.210145
0.755403
0.013018
0
0.736
0
0
0.197648
0.050775
0
0
0
0
0.152
1
0.048
false
0
0.064
0
0.12
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
96a0c0b8b604897f799ec915e2637f6b08b1a190
18,332
py
Python
tests/test_api.py
w1ll1am23/simplisafe-python
8d87b6562e5f353fab438d69476079a9db031618
[ "MIT" ]
3
2017-05-21T16:49:38.000Z
2018-07-05T16:16:45.000Z
tests/test_api.py
w1ll1am23/simplisafe-python
8d87b6562e5f353fab438d69476079a9db031618
[ "MIT" ]
2
2017-07-20T11:57:23.000Z
2018-09-24T03:03:19.000Z
tests/test_api.py
w1ll1am23/simplisafe-python
8d87b6562e5f353fab438d69476079a9db031618
[ "MIT" ]
7
2017-04-15T05:52:09.000Z
2018-08-19T01:49:54.000Z
"""Define base API tests.""" # pylint: disable=protected-access,too-many-arguments import asyncio from datetime import datetime, timedelta from unittest.mock import AsyncMock, MagicMock, Mock, patch import aiohttp import pytest from simplipy.api import API from simplipy.errors import ( InvalidCredentialsError, ...
29.425361
86
0.620772
1,891
18,332
5.813855
0.102062
0.054393
0.068583
0.079134
0.862198
0.845552
0.830544
0.803893
0.795525
0.774695
0
0.022017
0.274056
18,332
622
87
29.472669
0.804103
0.027657
0
0.772388
0
0
0.158065
0.054375
0
0
0
0
0.026119
1
0
false
0.029851
0.014925
0
0.014925
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
73fe4d390052ed1f59daa775bebcd6f58712f064
27,936
py
Python
tests/unit/pypyr/steps/dsl/cmd_test.py
pypyr/pypyr-cli
dc0f694ac0c0e3c2844c1a20788c9af586a8a16e
[ "Apache-2.0" ]
31
2017-03-24T11:27:34.000Z
2020-05-27T20:06:28.000Z
tests/unit/pypyr/steps/dsl/cmd_test.py
pypyr/pypyr-cli
dc0f694ac0c0e3c2844c1a20788c9af586a8a16e
[ "Apache-2.0" ]
89
2017-04-12T09:50:32.000Z
2020-08-13T13:18:36.000Z
tests/unit/pypyr/steps/dsl/cmd_test.py
pypyr/pypyr-cli
dc0f694ac0c0e3c2844c1a20788c9af586a8a16e
[ "Apache-2.0" ]
6
2017-06-04T14:19:59.000Z
2020-02-10T13:16:40.000Z
"""cmd.py unit tests.""" import logging import subprocess from unittest.mock import call, patch import pytest from pypyr.config import config from pypyr.context import Context from pypyr.dsl import SicString from pypyr.errors import (ContextError, KeyInContextHasNoValueError, ...
37.802436
80
0.510954
2,978
27,936
4.612827
0.061786
0.041275
0.06013
0.034578
0.87712
0.849312
0.814588
0.801339
0.76647
0.748781
0
0.014319
0.37253
27,936
738
81
37.853659
0.769354
0.055233
0
0.766038
0
0
0.198482
0.001233
0
0
0
0
0.241509
1
0.054717
false
0.001887
0.020755
0
0.077358
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
fb8c7146f1f9efd8cb2b6e8f1785ee2edcebea3b
642
py
Python
pava/implementation/natives/com/sun/xml/internal/ws/policy/EffectiveAlternativeSelector.py
laffra/pava
54d10cf7f8def2f96e254c0356623d08f221536f
[ "MIT" ]
4
2017-03-30T16:51:16.000Z
2020-10-05T12:25:47.000Z
pava/implementation/natives/com/sun/xml/internal/ws/policy/EffectiveAlternativeSelector.py
laffra/pava
54d10cf7f8def2f96e254c0356623d08f221536f
[ "MIT" ]
null
null
null
pava/implementation/natives/com/sun/xml/internal/ws/policy/EffectiveAlternativeSelector.py
laffra/pava
54d10cf7f8def2f96e254c0356623d08f221536f
[ "MIT" ]
null
null
null
def add_native_methods(clazz): def __java_init______(a0): raise NotImplementedError() def selectAlternatives__com_sun_xml_internal_ws_policy_EffectivePolicyModifier__com_sun_xml_internal_ws_policy_AssertionValidationProcessor__(a0, a1): raise NotImplementedError() clazz.__java_init______ =...
58.363636
301
0.88785
68
642
7.161765
0.308824
0.073922
0.110883
0.209446
0.73306
0.73306
0.73306
0.73306
0.73306
0.73306
0
0.005085
0.080997
642
10
302
64.2
0.820339
0
0
0.285714
0
0
0
0
0
0
0
0
0.285714
1
0.428571
false
0
0
0
0.428571
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
7
837833f6a4bf17de64199df47ab1d74b1ec9a4a3
10,748
py
Python
Experiments/ST_MGCN/Runner_features_analysis_120_STMGCN.py
TempAnonymous/Context_Analysis
bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e
[ "MIT" ]
3
2021-06-29T06:18:18.000Z
2021-09-07T03:11:35.000Z
Experiments/ST_MGCN/Runner_features_analysis_120_STMGCN.py
TempAnonymous/Context_Analysis
bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e
[ "MIT" ]
null
null
null
Experiments/ST_MGCN/Runner_features_analysis_120_STMGCN.py
TempAnonymous/Context_Analysis
bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e
[ "MIT" ]
null
null
null
import os ############################################# # BenchMark Bike Chicago ############################################# bike_shared_params_st_mgcn = ('python ST_MGCN_Obj.py ' '--Dataset Bike ' '--CT 6 ' '--PT 7 ' ...
53.74
149
0.524749
1,052
10,748
5.062738
0.073194
0.045062
0.097259
0.125047
0.962261
0.956252
0.956252
0.948179
0.948179
0.948179
0
0.027654
0.354019
10,748
199
150
54.01005
0.73945
0.008932
0
0.862319
0
0
0.532106
0.020632
0
0
0
0
0
1
0
false
0
0.007246
0
0.007246
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
8393450a8909ee42421d4535053458143f1e7974
2,397
py
Python
tests/unitary/LiquidityGaugeV5/test_deposit_withdraw.py
hedgx/ribbonomics
84a212a82eaaa2824ebe3c072413e143eaca02a2
[ "MIT" ]
2
2022-01-13T21:11:30.000Z
2022-03-10T08:20:42.000Z
tests/unitary/LiquidityGaugeV5/test_deposit_withdraw.py
hedgx/ribbonomics
84a212a82eaaa2824ebe3c072413e143eaca02a2
[ "MIT" ]
null
null
null
tests/unitary/LiquidityGaugeV5/test_deposit_withdraw.py
hedgx/ribbonomics
84a212a82eaaa2824ebe3c072413e143eaca02a2
[ "MIT" ]
2
2022-01-30T20:54:55.000Z
2022-03-05T17:49:19.000Z
import brownie import pytest @pytest.fixture(scope="module", autouse=True) def deposit_setup(accounts, gauge_v5, mock_lp_token): mock_lp_token.approve(gauge_v5, 2 ** 256 - 1, {"from": accounts[0]}) def test_deposit(accounts, gauge_v5, mock_lp_token): balance = mock_lp_token.balanceOf(accounts[0]) gauge_...
34.73913
73
0.722153
339
2,397
4.837758
0.117994
0.136585
0.154268
0.182927
0.845122
0.845122
0.793902
0.793902
0.793902
0.793902
0
0.083415
0.144764
2,397
68
74
35.25
0.716585
0
0
0.659574
0
0
0.019191
0
0
0
0
0
0.425532
1
0.148936
false
0
0.042553
0
0.191489
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
83eafef10492fd0e1f9cdadabf226525f115b0a1
386
py
Python
pymtl3/passes/backends/yosys/__init__.py
kevinyuan/pymtl3
5949e6a4acc625c0ccbbb25be3af1d0db683df3c
[ "BSD-3-Clause" ]
152
2020-06-03T02:34:11.000Z
2022-03-30T04:16:45.000Z
pymtl3/passes/backends/yosys/__init__.py
kevinyuan/pymtl3
5949e6a4acc625c0ccbbb25be3af1d0db683df3c
[ "BSD-3-Clause" ]
139
2019-05-29T00:37:09.000Z
2020-05-17T16:49:26.000Z
pymtl3/passes/backends/yosys/__init__.py
kevinyuan/pymtl3
5949e6a4acc625c0ccbbb25be3af1d0db683df3c
[ "BSD-3-Clause" ]
22
2020-05-18T13:42:05.000Z
2022-03-11T08:37:51.000Z
from ..verilog.VerilogPlaceholder import VerilogPlaceholder as YosysPlaceholder from ..verilog.VerilogPlaceholderPass import ( VerilogPlaceholderPass as YosysPlaceholderPass, ) from .import_.YosysVerilatorImportPass import YosysVerilatorImportPass from .translation.YosysTranslationPass import YosysTranslationPass f...
48.25
79
0.88601
28
386
12.178571
0.428571
0.064516
0
0
0
0
0
0
0
0
0
0
0.07772
386
7
80
55.142857
0.957865
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.714286
0.714286
0
0.714286
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
f7b00a6c6681ea8d88909b0a9d53e8f53a756eab
2,762
py
Python
tests/unit/test_punit_parser.py
mike0615/curie
e25691f465c23cf53c39be157fcfa2eea4978b26
[ "MIT" ]
4
2019-02-26T05:18:13.000Z
2020-07-15T00:34:41.000Z
tests/unit/test_punit_parser.py
nutanix/curie
e25691f465c23cf53c39be157fcfa2eea4978b26
[ "MIT" ]
3
2021-03-31T18:55:50.000Z
2021-04-20T17:13:31.000Z
tests/unit/test_punit_parser.py
mike0615/curie
e25691f465c23cf53c39be157fcfa2eea4978b26
[ "MIT" ]
2
2020-01-09T02:24:00.000Z
2020-11-04T23:09:02.000Z
# # Copyright (c) 2016 Nutanix Inc. All rights reserved. # # # pylint: disable=pointless-statement import unittest from curie.punit_parser import PUnit class TestCuriePUnitParser(unittest.TestCase): UNIT_NAMES = ["byte", "decibel", "decibel ( simple-name_ )"] def setUp(self): pass def test_base_name(self...
36.342105
79
0.625272
396
2,762
4.217172
0.156566
0.206587
0.143713
0.215569
0.78503
0.769461
0.752695
0.731737
0.692814
0.692814
0
0.055331
0.195148
2,762
75
80
36.826667
0.695906
0.031861
0
0.339286
0
0
0.115067
0
0
0
0
0
0.410714
1
0.178571
false
0.017857
0.035714
0
0.25
0
0
0
0
null
1
0
1
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
f7c333bc5bab62b0e9dcb340485753d188612224
7,376
py
Python
py_hcl/firrtl_ir/expr/prim_ops.py
zhongzc/py-hcl
5a2be0208f915377a1dae12509f1af016df6412b
[ "MIT" ]
null
null
null
py_hcl/firrtl_ir/expr/prim_ops.py
zhongzc/py-hcl
5a2be0208f915377a1dae12509f1af016df6412b
[ "MIT" ]
null
null
null
py_hcl/firrtl_ir/expr/prim_ops.py
zhongzc/py-hcl
5a2be0208f915377a1dae12509f1af016df6412b
[ "MIT" ]
null
null
null
from . import Expression from ..utils import serialize_num class Add(Expression): def __init__(self, args, tpe): self.args = args self.tpe = tpe def serialize(self, output): output.write(b"add(") self.args[0].serialize(output) output.write(b", ") self.args[1].s...
23.641026
55
0.570363
932
7,376
4.378755
0.04721
0.196766
0.202891
0.286694
0.941681
0.941681
0.941681
0.934085
0.889488
0.889488
0
0.006822
0.284572
7,376
311
56
23.717042
0.766534
0
0
0.774059
0
0
0.022641
0
0
0
0
0
0
1
0.200837
false
0
0.008368
0
0.309623
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
10
e3910063b0e0521e6c33b21905d8e6ade7cdd324
176
py
Python
file_path.py
oushu1zhangxiangxuan1/pylayground
22590b10a5de7e07149e4a6029a094d51d2e48a4
[ "Apache-2.0" ]
null
null
null
file_path.py
oushu1zhangxiangxuan1/pylayground
22590b10a5de7e07149e4a6029a094d51d2e48a4
[ "Apache-2.0" ]
null
null
null
file_path.py
oushu1zhangxiangxuan1/pylayground
22590b10a5de7e07149e4a6029a094d51d2e48a4
[ "Apache-2.0" ]
null
null
null
import os print(os.path.dirname(__file__)) print(os.path.abspath(__file__)) print(os.path.abspath(os.path.dirname(__file__))) print(os.path.dirname(os.path.abspath(__file__)))
29.333333
49
0.784091
28
176
4.357143
0.25
0.295082
0.360656
0.368852
0.696721
0.459016
0.459016
0
0
0
0
0
0.034091
176
5
50
35.2
0.717647
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.8
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
e3a9ca5754eef4d5cd991b5977c2449e9061b787
38,159
py
Python
nipyapi/registry/apis/access_api.py
Zyrix/nipyapi
d00221ba50bd83e21133d6e4d4b56741ead6822a
[ "Apache-2.0" ]
null
null
null
nipyapi/registry/apis/access_api.py
Zyrix/nipyapi
d00221ba50bd83e21133d6e4d4b56741ead6822a
[ "Apache-2.0" ]
null
null
null
nipyapi/registry/apis/access_api.py
Zyrix/nipyapi
d00221ba50bd83e21133d6e4d4b56741ead6822a
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Apache NiFi Registry REST API The REST API provides an interface to a registry with operations for saving, versioning, reading NiFi flows and components. OpenAPI spec version: 0.7.0 Contact: dev@nifi.apache.org Generated by: https://github.com/swagger-api/swagger-codegen.git "...
46.197337
687
0.59425
4,040
38,159
5.383416
0.063614
0.058853
0.020599
0.026484
0.968136
0.963355
0.957929
0.943768
0.932411
0.926387
0
0.001024
0.334914
38,159
825
688
46.253333
0.855944
0.404308
0
0.8075
0
0
0.130146
0.045241
0
0
0
0
0
1
0.0425
false
0
0.0175
0
0.1225
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
e3d220542d4be1d8b49cc6571b43347d70406fde
38,715
py
Python
three_player_games/rationale_3players_text_matching_models.py
Gorov/three_player_for_emnlp
d8cd74efeaf8c36304a9179690b384dbe88dbc6b
[ "MIT" ]
10
2019-09-19T12:01:58.000Z
2021-02-14T04:33:33.000Z
three_player_games/rationale_3players_text_matching_models.py
Gorov/three_player_for_emnlp
d8cd74efeaf8c36304a9179690b384dbe88dbc6b
[ "MIT" ]
null
null
null
three_player_games/rationale_3players_text_matching_models.py
Gorov/three_player_for_emnlp
d8cd74efeaf8c36304a9179690b384dbe88dbc6b
[ "MIT" ]
3
2019-12-17T16:06:58.000Z
2020-11-15T08:59:08.000Z
# coding: utf-8 # In[ ]: import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable import numpy as np import copy # from models.models import CnnModel, RnnModel # from basic_nlp_models import BasicNLPModel # from models.encoder import Encoder, ClassificationEncoder from...
44.044369
173
0.605011
5,122
38,715
4.157946
0.042952
0.009203
0.032023
0.018312
0.820726
0.79861
0.766352
0.759591
0.749167
0.734986
0
0.006889
0.298851
38,715
878
174
44.094533
0.777675
0.114762
0
0.73913
0
0
0.00595
0
0
0
0
0
0
1
0.057312
false
0.001976
0.025692
0
0.132411
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
e3e31e5a8742fd5a924868f474069a97f6dc43ce
118
py
Python
commonlibs/__init__.py
floatingstarZ/CommonLibs
9609d5a655a13fad27ae7828977815e982ae1de4
[ "CNRI-Python" ]
null
null
null
commonlibs/__init__.py
floatingstarZ/CommonLibs
9609d5a655a13fad27ae7828977815e982ae1de4
[ "CNRI-Python" ]
null
null
null
commonlibs/__init__.py
floatingstarZ/CommonLibs
9609d5a655a13fad27ae7828977815e982ae1de4
[ "CNRI-Python" ]
null
null
null
from .math_tools import * from .transform_tools import * from .drawing_tools import * from .common_tools import *
13.111111
30
0.762712
16
118
5.375
0.4375
0.511628
0.523256
0
0
0
0
0
0
0
0
0
0.169492
118
8
31
14.75
0.877551
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
5816906b1a3a753511319b6f2fd9e8d0229f51ce
7,287
py
Python
test/test_compute_inventory.py
jhdark/divHretention
702c4b58f1721917d665134b9bc85287cb002c23
[ "MIT" ]
9
2021-06-08T16:23:36.000Z
2021-12-16T16:58:10.000Z
test/test_compute_inventory.py
jhdark/divHretention
702c4b58f1721917d665134b9bc85287cb002c23
[ "MIT" ]
15
2021-06-10T08:12:51.000Z
2021-06-24T08:08:16.000Z
test/test_compute_inventory.py
jhdark/divHretention
702c4b58f1721917d665134b9bc85287cb002c23
[ "MIT" ]
1
2021-06-11T14:59:13.000Z
2021-06-11T14:59:13.000Z
import time import pytest import numpy as np import divHretention def test_fecth_inventory_and_error(): """Checks that fetch_inventory_and_error adds entries to database_inv_sig and that the execution time is smaller when fetching an already existing entry """ # build for key in divHretention...
30.48954
77
0.668725
1,073
7,287
4.235788
0.105312
0.037844
0.031463
0.052805
0.862266
0.831243
0.825523
0.816722
0.816722
0.79736
0
0.036899
0.226431
7,287
238
78
30.617647
0.769381
0.111706
0
0.79085
0
0
0.000471
0
0
0
0
0
0.065359
1
0.045752
false
0
0.026144
0
0.071895
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
5865d2095f5aef7b5d410f84cf5c4f6a5e52d643
12,518
py
Python
Core/Solvers/MSSP/Deterministic_Solver.py
zztcok/SNAC_PSNAC
9119c325c2114ac7034362b5349ffc5b2ce895d6
[ "Apache-2.0" ]
1
2020-12-22T23:04:59.000Z
2020-12-22T23:04:59.000Z
Core/Solvers/MSSP/Deterministic_Solver.py
zztcok/SNAC_PSNAC
9119c325c2114ac7034362b5349ffc5b2ce895d6
[ "Apache-2.0" ]
null
null
null
Core/Solvers/MSSP/Deterministic_Solver.py
zztcok/SNAC_PSNAC
9119c325c2114ac7034362b5349ffc5b2ce895d6
[ "Apache-2.0" ]
1
2020-12-21T21:46:04.000Z
2020-12-21T21:46:04.000Z
import os import sys import Core.DataImport.parse_data_cmds as parse_data_cmds import Core.DataImport.import_data_class as import_data_class from pyomo.environ import * from pyomo.opt import SolverFactory import itertools from pyutilib.misc import Options import time as timer import pdb import Core.scenario_class as sc...
28.193694
240
0.650983
1,655
12,518
4.680363
0.116616
0.051123
0.070488
0.023238
0.866383
0.860315
0.860315
0.860315
0.851536
0.851536
0
0.004547
0.156654
12,518
443
241
28.257336
0.729184
0.112478
0
0.819231
0
0
0.073287
0.004352
0.026923
0
0
0
0
1
0.007692
false
0
0.065385
0
0.076923
0.023077
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
54630eb486a7e3d0ba796897e18771a8c0bff018
2,512
py
Python
AdventOfCode2016/Day13/Day13.py
MattTitmas/AdventOfCode
36be4f6bf973f77ff93b08dc69c977bb11951f27
[ "MIT" ]
null
null
null
AdventOfCode2016/Day13/Day13.py
MattTitmas/AdventOfCode
36be4f6bf973f77ff93b08dc69c977bb11951f27
[ "MIT" ]
null
null
null
AdventOfCode2016/Day13/Day13.py
MattTitmas/AdventOfCode
36be4f6bf973f77ff93b08dc69c977bb11951f27
[ "MIT" ]
null
null
null
from math import prod def part1(): file = int(open("input.txt","r").read()) wantedxPos, wantedyPos = 31, 39 foundPositions = {} currentDistances = {(1, 1): 0} while (wantedxPos, wantedyPos) not in foundPositions: currentX, currentY = -1, -1 lowestDistance = float("inf") for...
41.180328
157
0.591959
296
2,512
5.023649
0.212838
0.086079
0.0269
0.02959
0.839274
0.770679
0.770679
0.738399
0.738399
0.738399
0
0.027824
0.284634
2,512
61
158
41.180328
0.799666
0
0
0.716981
0
0
0.033028
0
0
0
0
0
0
1
0.056604
false
0
0.018868
0
0.132075
0.037736
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
54b5bdbac3de796c5c8406022f0f5315a0a047ea
99,800
py
Python
tests/test_grid.py
obeezzy/lpminimk3
395264d30cb1813beb49aad107db0c3ab1210ae0
[ "MIT" ]
3
2021-10-12T17:06:57.000Z
2022-02-25T21:58:47.000Z
tests/test_grid.py
obeezzy/lpminimk3
395264d30cb1813beb49aad107db0c3ab1210ae0
[ "MIT" ]
1
2021-10-12T21:05:15.000Z
2021-10-12T21:05:15.000Z
tests/test_grid.py
obeezzy/lpminimk3
395264d30cb1813beb49aad107db0c3ab1210ae0
[ "MIT" ]
null
null
null
import unittest from lpminimk3.__init__ import Grid, ButtonEvent from lpminimk3.colors import ColorPalette,\ ColorShadeStore from tests._vlpminimk3 import VirtualMidiEvent,\ create_virtual_launchpad class TestGrid(unittest.TestCase): def setUp(self): ...
63.892446
120
0.545561
12,333
99,800
4.38401
0.028055
0.103647
0.164053
0.154361
0.960254
0.956758
0.917585
0.911371
0.906248
0.899053
0
0.04957
0.292715
99,800
1,561
121
63.933376
0.716407
0.032004
0
0.388926
0
0
0.163485
0
0
0
0.013359
0
0.562375
1
0.022015
false
0
0.002668
0
0.026684
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
3fa495192a436ede7d4182fec50dae31ca33f143
26,078
py
Python
eval.py
iwonasob/DCASE_rare
3f9f55a1958602ac61e2e5ab02866d7215a5d131
[ "MIT" ]
2
2019-05-23T08:24:13.000Z
2019-08-19T08:53:31.000Z
eval.py
iwonasob/DCASE_rare
3f9f55a1958602ac61e2e5ab02866d7215a5d131
[ "MIT" ]
null
null
null
eval.py
iwonasob/DCASE_rare
3f9f55a1958602ac61e2e5ab02866d7215a5d131
[ "MIT" ]
null
null
null
import sed_eval from IPython.core.debugger import Tracer cl="gunshot" file_list = [ # { # 'reference_file': "/vol/vssp/AcousticEventsDetection/DCASE_task2/mixed_audio/testing/list_"+cl+"_gt.txt", # 'estimated_file': "/vol/vssp/AcousticEventsDetection/DCASE_task2/mixed_audio/results/W_mel_01_kls_10p_50n...
98.407547
228
0.815093
3,168
26,078
6.379735
0.035985
0.036713
0.057691
0.178319
0.9621
0.959379
0.950275
0.950275
0.94404
0.934145
0
0.096936
0.068794
26,078
264
229
98.780303
0.73534
0.244766
0
0.238889
0
0.433333
0.827669
0.75358
0
0
0
0
0
1
0
false
0
0.011111
0
0.011111
0.011111
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
3fbc888270cb984e730abe729e04c57beadf51a4
97
py
Python
src/utils/__init__.py
menDDang/CycleGan-tf_2_1
073c5ebce92ba2cfa76804e43fdf6b4b5d4b279b
[ "Apache-2.0" ]
null
null
null
src/utils/__init__.py
menDDang/CycleGan-tf_2_1
073c5ebce92ba2cfa76804e43fdf6b4b5d4b279b
[ "Apache-2.0" ]
null
null
null
src/utils/__init__.py
menDDang/CycleGan-tf_2_1
073c5ebce92ba2cfa76804e43fdf6b4b5d4b279b
[ "Apache-2.0" ]
null
null
null
from .image import read_image from .image import write_image from .data_loader import DataLoader
24.25
35
0.845361
15
97
5.266667
0.533333
0.227848
0.379747
0
0
0
0
0
0
0
0
0
0.123711
97
4
35
24.25
0.929412
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
3fbfc0bc971e38cc200520b955d032a584207a95
4,475
py
Python
miso/models/base_cyclic.py
Thubaralei/particle-classification
01d174e48aae1bb18a411008bf7ae92756e32892
[ "MIT" ]
1
2021-11-16T16:46:35.000Z
2021-11-16T16:46:35.000Z
miso/models/base_cyclic.py
Thubaralei/particle-classification
01d174e48aae1bb18a411008bf7ae92756e32892
[ "MIT" ]
null
null
null
miso/models/base_cyclic.py
Thubaralei/particle-classification
01d174e48aae1bb18a411008bf7ae92756e32892
[ "MIT" ]
null
null
null
import tensorflow as tf from tensorflow.keras.layers import Dense, Dropout, Flatten, Conv2D, MaxPooling2D, Input, Activation, \ GlobalMaxPooling2D, GlobalAveragePooling2D, Lambda, DepthwiseConv2D from tensorflow.keras.layers import BatchNormalization from tensorflow.keras.models impo...
36.680328
118
0.581899
526
4,475
4.80038
0.212928
0.019802
0.05703
0.059406
0.805941
0.78099
0.760396
0.760396
0.704158
0.630495
0
0.018389
0.295196
4,475
121
119
36.983471
0.782181
0.164693
0
0.722222
0
0
0.034724
0
0
0
0
0
0
1
0.022222
false
0
0.066667
0
0.111111
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
b204d2fb23cad0ecea1baef66f7cf6edcbd9fcd2
37
py
Python
tests/t2.py
raffaelfoidl/noworkflow
aa4ca189df24fec6c7abd32bcca6a097b21fdf31
[ "MIT" ]
108
2015-02-04T14:16:51.000Z
2022-03-06T13:52:45.000Z
tests/t2.py
raffaelfoidl/noworkflow
aa4ca189df24fec6c7abd32bcca6a097b21fdf31
[ "MIT" ]
92
2015-01-19T14:58:06.000Z
2021-04-19T17:28:50.000Z
tests/t2.py
raffaelfoidl/noworkflow
aa4ca189df24fec6c7abd32bcca6a097b21fdf31
[ "MIT" ]
31
2015-03-03T23:53:59.000Z
2021-11-11T04:23:44.000Z
import t3 def run(): t3.add(8)
6.166667
13
0.540541
7
37
2.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0.115385
0.297297
37
5
14
7.4
0.653846
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
b20e67b75a399bd3ecc8aba12ac42b517202513c
6,275
py
Python
tests/generators/test_cmake.py
mropert/crom
b871b756c348952de2a044b22b36c9fbb0e76132
[ "MIT" ]
null
null
null
tests/generators/test_cmake.py
mropert/crom
b871b756c348952de2a044b22b36c9fbb0e76132
[ "MIT" ]
null
null
null
tests/generators/test_cmake.py
mropert/crom
b871b756c348952de2a044b22b36c9fbb0e76132
[ "MIT" ]
null
null
null
from crom.generators import cmake from crom.project import Project def test_generate_lib(): project = Project('hello', Project.LIBRARY, sources={'src/foo.cpp': None}, headers={'include/foo/foo.hpp': None}) files = cmake.generate_lib(project, 'src', 'include') assert len(files) == 1 ...
56.026786
99
0.46247
589
6,275
4.750424
0.10017
0.010007
0.025733
0.045747
0.942459
0.927806
0.918513
0.911723
0.899571
0.864189
0
0.00499
0.425179
6,275
111
100
56.531532
0.770724
0
0
0.744898
1
0
0.359363
0.170996
0
0
0
0
0.183673
1
0.061224
false
0
0.020408
0
0.081633
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
b77dfc2da1150c893a94f5e1e142eab3ea014fd0
21,763
py
Python
tests/export/html/test_heading.py
botzill/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
127
2015-01-12T22:35:34.000Z
2022-01-20T06:24:18.000Z
tests/export/html/test_heading.py
turbo-q/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
156
2015-01-05T19:55:56.000Z
2020-10-14T07:01:42.000Z
tests/export/html/test_heading.py
turbo-q/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
45
2015-02-22T18:52:08.000Z
2021-06-14T08:05:47.000Z
# coding: utf-8 from __future__ import ( absolute_import, print_function, unicode_literals, ) from pydocx.openxml.packaging import ( MainDocumentPart, NumberingDefinitionsPart, StyleDefinitionsPart, ) from pydocx.test import DocumentGeneratorTestCase from pydocx.test.utils import Wordprocessin...
28.117571
83
0.402978
1,710
21,763
4.984795
0.092398
0.049038
0.009503
0.019944
0.838221
0.8313
0.826725
0.823909
0.814876
0.808423
0
0.014345
0.468272
21,763
773
84
28.153946
0.722261
0.000597
0
0.854286
0
0
0.668475
0.034164
0
0
0
0
0.021429
1
0.021429
false
0
0.007143
0
0.032857
0.001429
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
b77ebe7ff1f711e2b54605539bb4d3901a4ec038
6,398
py
Python
grammars/gen/CouncilOfStateListener.py
OpenLawsGR/judgments2AKN
0c6217349cde36058d5599800e289fdf0d3eaf23
[ "MIT" ]
5
2019-11-28T17:02:59.000Z
2021-02-05T17:39:49.000Z
grammars/gen/CouncilOfStateListener.py
OpenLawsGR/judgments2AKN
0c6217349cde36058d5599800e289fdf0d3eaf23
[ "MIT" ]
null
null
null
grammars/gen/CouncilOfStateListener.py
OpenLawsGR/judgments2AKN
0c6217349cde36058d5599800e289fdf0d3eaf23
[ "MIT" ]
null
null
null
# Generated from /home/plessas/EDBM34/grammars/CouncilOfState.g4 by ANTLR 4.7.2 from antlr4 import * # This class defines a complete listener for a parse tree produced by CouncilOfStateParser. class CouncilOfStateListener(ParseTreeListener): # Enter a parse tree produced by CouncilOfStateParser#akomaNtoso. de...
26.547718
91
0.696468
716
6,398
6.212291
0.159218
0.071493
0.119155
0.214478
0.799685
0.799685
0.790692
0.789568
0.645683
0.636241
0
0.001448
0.244295
6,398
240
92
26.658333
0.918511
0.529384
0
0.490566
1
0
0
0
0
0
0
0
0
1
0.490566
false
0.490566
0.009434
0
0.509434
0
0
0
0
null
0
0
1
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
9
b79c9539caa2a13e2d6ef318bf54374661b68f74
28,237
py
Python
mozillians/groups/tests/test_tasks.py
divyamoncy/mozillians
d53d1d05d1f05b74f8533541e37083dcb89b29a8
[ "BSD-3-Clause" ]
202
2015-01-14T10:19:55.000Z
2021-12-11T06:04:16.000Z
mozillians/groups/tests/test_tasks.py
divyamoncy/mozillians
d53d1d05d1f05b74f8533541e37083dcb89b29a8
[ "BSD-3-Clause" ]
2,924
2015-01-07T11:27:32.000Z
2021-01-19T14:05:17.000Z
mozillians/groups/tests/test_tasks.py
divyamoncy/mozillians
d53d1d05d1f05b74f8533541e37083dcb89b29a8
[ "BSD-3-Clause" ]
270
2015-01-02T18:31:01.000Z
2021-02-17T20:57:44.000Z
# -*- coding: utf-8 -*- from datetime import datetime, timedelta from django.conf import settings from django.template.loader import get_template from django.test import override_settings from django.utils.timezone import now from mock import patch, ANY from nose.tools import eq_, ok_ from mozillians.common.tests im...
47.457143
98
0.680455
3,287
28,237
5.613934
0.069973
0.027746
0.029914
0.043679
0.853845
0.830597
0.80892
0.796185
0.789574
0.773208
0
0.006306
0.224988
28,237
594
99
47.537037
0.836913
0.067358
0
0.726862
0
0
0.121888
0.058027
0
0
0
0
0.015801
1
0.054176
false
0
0.029345
0
0.094808
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
4d087e6522388f96c33c6fa172ac5137b8196171
534
py
Python
iam_starter/aws_util_exceptions.py
billtrust/iam-starter
765aaded6e46be5382e69726aaaf363a98b288e0
[ "MIT" ]
2
2019-08-25T11:01:07.000Z
2021-03-22T10:25:49.000Z
iam_starter/aws_util_exceptions.py
billtrust/iam-starter
765aaded6e46be5382e69726aaaf363a98b288e0
[ "MIT" ]
null
null
null
iam_starter/aws_util_exceptions.py
billtrust/iam-starter
765aaded6e46be5382e69726aaaf363a98b288e0
[ "MIT" ]
null
null
null
class ProfileParsingError(Exception): pass class RoleNotFoundError(Exception): def __init__(self, credential_method, *args, **kwargs): Exception.__init__(self, *args, **kwargs) # a string describing the IAM context self.credential_method = credential_method class AssumeRoleError(Excep...
33.375
59
0.709738
56
534
6.375
0.339286
0.268908
0.22409
0.112045
0.778711
0.778711
0.778711
0.778711
0.778711
0.778711
0
0
0.198502
534
15
60
35.6
0.834112
0.132959
0
0.6
0
0
0
0
0
0
0
0
0
1
0.2
false
0.1
0
0
0.5
0
0
0
0
null
1
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
4d37425b57a0f469decd0e7d41a67cfdca83ab27
22,430
py
Python
benchmarks/import_cost/functions_100_with_5_contracts.py
kklein/icontract
718ef1733cc2cce6d3c8f59a5a37de96f8be6664
[ "MIT" ]
244
2018-08-15T22:58:58.000Z
2022-03-12T16:10:39.000Z
benchmarks/import_cost/functions_100_with_5_contracts.py
kklein/icontract
718ef1733cc2cce6d3c8f59a5a37de96f8be6664
[ "MIT" ]
157
2018-08-29T21:36:47.000Z
2022-02-14T19:30:24.000Z
benchmarks/import_cost/functions_100_with_5_contracts.py
kklein/icontract
718ef1733cc2cce6d3c8f59a5a37de96f8be6664
[ "MIT" ]
23
2019-04-24T11:09:10.000Z
2022-02-14T15:56:26.000Z
#!/usr/bin/env python3 import icontract @icontract.require(lambda x: x > 0) @icontract.require(lambda x: x > 1) @icontract.require(lambda x: x > 2) @icontract.require(lambda x: x > 3) @icontract.require(lambda x: x > 4) def some_func0(x: int) -> None: pass @icontract.require(lambda x: x > 0) @icontract.require(...
24.839424
35
0.674142
3,706
22,430
4.053157
0.03211
0.532588
0.732308
0.765595
0.957859
0.957859
0.957859
0.957859
0.957859
0.957859
0
0.036901
0.165136
22,430
902
36
24.866962
0.765246
0.000936
0
0.85592
0
0
0
0
0
0
0
0
0
1
0.142653
false
0.142653
0.001427
0
0.14408
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
11
4d8206b16ca710e21344f5d525360f72ba31d261
51,514
py
Python
src/mlpack/bindings/python/tests/test_python_binding.py
tomjpsun/mlpack
39b9a852c58b648ddb9b87a3d87aa3db2bacbf0a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-02-29T17:39:51.000Z
2020-05-16T23:36:01.000Z
src/mlpack/bindings/python/tests/test_python_binding.py
tomjpsun/mlpack
39b9a852c58b648ddb9b87a3d87aa3db2bacbf0a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-04-10T17:39:50.000Z
2020-04-11T14:56:25.000Z
src/mlpack/bindings/python/tests/test_python_binding.py
tomjpsun/mlpack
39b9a852c58b648ddb9b87a3d87aa3db2bacbf0a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-06-05T13:27:26.000Z
2020-06-23T09:44:31.000Z
#!/usr/bin/env python """ test_python_binding.py Test that passing types to Python bindings works successfully. mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see ht...
38.414616
83
0.462282
5,828
51,514
3.899108
0.048044
0.1373
0.170965
0.045591
0.90125
0.896717
0.887212
0.885055
0.884439
0.879335
0
0.053454
0.420041
51,514
1,340
84
38.443284
0.707156
0.078309
0
0.872708
0
0
0.060804
0
0
0
0
0
0.253506
1
0.059331
false
0
0.005394
0
0.065804
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
4d8392d6d92f34e14af9041567ef5479cea24e50
10,059
py
Python
autoreplace.py
smithlabdurham/GEOL2301
147ac3c1b1e5212c8f352be3e59194c88a2a4f86
[ "CC-BY-3.0" ]
1
2021-01-19T12:22:25.000Z
2021-01-19T12:22:25.000Z
autoreplace.py
smithlabdurham/GEOL2031
c096a4f2a7c156cc71112f38ba43ccf1583ad418
[ "CC-BY-3.0" ]
5
2021-10-15T08:42:04.000Z
2022-03-17T16:10:20.000Z
autoreplace.py
smithlabdurham/frontiers
2cc12eefe48f7ca0bf897c58f0565c433a9a3ae3
[ "CC-BY-3.0" ]
null
null
null
# Runs with PythonScript plugin # Copy to %APPDATA%\Roaming\Notepad++\plugins\config\PythonScript\scripts search_text_4 = '[4[' search_text_8 = '[8[' search_text_f = '[f[' search_text_h = '[h[' search_text_q = '[q[' search_text_i = '[i[' search_text_o = '[o[' search_text_R = '[R[' search_text_r = '[r[' search_text_S = ...
71.340426
683
0.643901
1,257
10,059
4.743835
0.107399
0.226396
0.195204
0.244005
0.811504
0.794734
0.78702
0.780647
0.767231
0.767231
0
0.007335
0.254598
10,059
141
684
71.340426
0.787943
0.010041
0
0.521739
0
0.072464
0.256428
0.017276
0
0
0
0
0
1
0.007246
false
0
0
0
0.007246
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
4db98cefd96dcf6bdd65020c0f7ddc4ddecd583c
224
py
Python
pycofe/i2reports/core/CCP4ErrorHandling.py
ekr-ccp4/jsCoFE
b9424733fb567938927509bc667ef24ed60ddd8c
[ "MIT" ]
null
null
null
pycofe/i2reports/core/CCP4ErrorHandling.py
ekr-ccp4/jsCoFE
b9424733fb567938927509bc667ef24ed60ddd8c
[ "MIT" ]
null
null
null
pycofe/i2reports/core/CCP4ErrorHandling.py
ekr-ccp4/jsCoFE
b9424733fb567938927509bc667ef24ed60ddd8c
[ "MIT" ]
1
2021-02-25T06:54:15.000Z
2021-02-25T06:54:15.000Z
SEVERITY_WARNING = 2 SEVERITY_OK = 0 class CException(Exception): def __init__(self, *args, **kwdargs): pass def extend(self, *args, **kwdargs): pass def maxSeverity(self, *args, **kwdargs): return 0
14
42
0.65625
28
224
5.035714
0.607143
0.170213
0.319149
0.269504
0.312057
0
0
0
0
0
0
0.017045
0.214286
224
15
43
14.933333
0.784091
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.222222
0
0.111111
0.555556
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
7
4dd52570ff78805f847df568a51a8dc7f5597e3d
31,868
py
Python
sdk/python/pulumi_ns1/record.py
pulumi/pulumi-ns1
7200ab674c814fd18f8b59a90ee130574df4eafc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_ns1/record.py
pulumi/pulumi-ns1
7200ab674c814fd18f8b59a90ee130574df4eafc
[ "ECL-2.0", "Apache-2.0" ]
43
2020-06-24T11:18:00.000Z
2022-03-31T15:37:47.000Z
sdk/python/pulumi_ns1/record.py
pulumi/pulumi-ns1
7200ab674c814fd18f8b59a90ee130574df4eafc
[ "ECL-2.0", "Apache-2.0" ]
1
2021-01-12T23:15:35.000Z
2021-01-12T23:15:35.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.570629
180
0.628593
3,779
31,868
5.165652
0.061657
0.105374
0.087598
0.061472
0.911121
0.895805
0.874443
0.857026
0.849086
0.835357
0
0.001402
0.26161
31,868
714
181
44.633053
0.828184
0.341157
0
0.794872
1
0.015385
0.12113
0.001203
0
0
0
0
0
1
0.158974
false
0.002564
0.017949
0.015385
0.271795
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
150f6a863a94f9f08d4ad2130b044277a49cff67
149
py
Python
django/main/settings_markdown.py
mnieber/shared-goal
3ccdec341a3d542dbc108ad5375c309322f91d96
[ "Apache-2.0" ]
null
null
null
django/main/settings_markdown.py
mnieber/shared-goal
3ccdec341a3d542dbc108ad5375c309322f91d96
[ "Apache-2.0" ]
null
null
null
django/main/settings_markdown.py
mnieber/shared-goal
3ccdec341a3d542dbc108ad5375c309322f91d96
[ "Apache-2.0" ]
null
null
null
# from markdown_deux.conf.settings import MARKDOWN_DEUX_DEFAULT_STYLE # MARKDOWN_DEUX_STYLES = { # "default": MARKDOWN_DEUX_DEFAULT_STYLE, # }
21.285714
69
0.778523
18
149
5.944444
0.5
0.448598
0.35514
0.448598
0
0
0
0
0
0
0
0
0.134228
149
6
70
24.833333
0.829457
0.926175
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
12788fe6e4cbb193f6638d0484569f5d5f886a2d
166
py
Python
HWHMBBF/views.py
HLoveMe/HWMBBF_Serve
a11fb5b67c913b62df839ce3438a3be433e3865b
[ "Apache-2.0" ]
null
null
null
HWHMBBF/views.py
HLoveMe/HWMBBF_Serve
a11fb5b67c913b62df839ce3438a3be433e3865b
[ "Apache-2.0" ]
null
null
null
HWHMBBF/views.py
HLoveMe/HWMBBF_Serve
a11fb5b67c913b62df839ce3438a3be433e3865b
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render,render_to_response from django.template import Context, Template #项目 def index(res): return render_to_response("index.html")
23.714286
54
0.807229
24
166
5.416667
0.625
0.153846
0.246154
0
0
0
0
0
0
0
0
0
0.114458
166
7
55
23.714286
0.884354
0.012048
0
0
0
0
0.060976
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
128b90a5fdf7c31f9bbf1863319ef18bcc034f63
197
py
Python
base/models.py
AltairStar/prefinal
f1daa21c6b8f069ceb659587e3ac85ad71871f45
[ "MIT" ]
null
null
null
base/models.py
AltairStar/prefinal
f1daa21c6b8f069ceb659587e3ac85ad71871f45
[ "MIT" ]
null
null
null
base/models.py
AltairStar/prefinal
f1daa21c6b8f069ceb659587e3ac85ad71871f45
[ "MIT" ]
null
null
null
from django.db import models class Images(models.Model): path = models.CharField(max_length=200) result = models.CharField(max_length=50) def __str__(self): return self.path
19.7
44
0.705584
27
197
4.925926
0.703704
0.225564
0.270677
0.360902
0
0
0
0
0
0
0
0.031646
0.19797
197
9
45
21.888889
0.810127
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
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
0
1
1
0
0
7
12f49296ac67404edbcd051ddc84f7a6b435e313
17,917
py
Python
sdk/policyinsights/azure-mgmt-policyinsights/azure/mgmt/policyinsights/operations/policy_tracked_resources_operations.py
tzhanl/azure-sdk-for-python
18cd03f4ab8fd76cc0498f03e80fbc99f217c96e
[ "MIT" ]
1
2021-09-07T18:36:04.000Z
2021-09-07T18:36:04.000Z
sdk/policyinsights/azure-mgmt-policyinsights/azure/mgmt/policyinsights/operations/policy_tracked_resources_operations.py
tzhanl/azure-sdk-for-python
18cd03f4ab8fd76cc0498f03e80fbc99f217c96e
[ "MIT" ]
2
2019-10-02T23:37:38.000Z
2020-10-02T01:17:31.000Z
sdk/policyinsights/azure-mgmt-policyinsights/azure/mgmt/policyinsights/operations/policy_tracked_resources_operations.py
tzhanl/azure-sdk-for-python
18cd03f4ab8fd76cc0498f03e80fbc99f217c96e
[ "MIT" ]
1
2019-06-17T22:18:23.000Z
2019-06-17T22:18:23.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
49.494475
247
0.661216
1,794
17,917
6.383501
0.102007
0.02934
0.015718
0.040517
0.852951
0.845355
0.819246
0.813308
0.805973
0.805973
0
0.00275
0.248981
17,917
361
248
49.631579
0.84832
0.266562
0
0.810256
0
0
0.140684
0.091532
0
0
0
0
0
1
0.046154
false
0
0.015385
0
0.133333
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
12f54550fdd940883cc9b840f9951b2373c427de
203
py
Python
ambari-agent/src/main/python/resource_management/libraries/resources/__init__.py
boydos/incubator-ambari
e10d85756dd55729c20aeda2baa0d6c93c4ca31d
[ "Apache-2.0" ]
2
2018-06-06T14:21:11.000Z
2018-06-06T14:22:50.000Z
ambari-agent/src/main/python/resource_management/libraries/resources/__init__.py
boydos/incubator-ambari
e10d85756dd55729c20aeda2baa0d6c93c4ca31d
[ "Apache-2.0" ]
null
null
null
ambari-agent/src/main/python/resource_management/libraries/resources/__init__.py
boydos/incubator-ambari
e10d85756dd55729c20aeda2baa0d6c93c4ca31d
[ "Apache-2.0" ]
null
null
null
from resource_management.libraries.resources.execute_hadoop import * from resource_management.libraries.resources.template_config import * from resource_management.libraries.resources.xml_config import *
67.666667
69
0.8867
24
203
7.25
0.458333
0.206897
0.37931
0.534483
0.758621
0.528736
0
0
0
0
0
0
0.054187
203
3
70
67.666667
0.90625
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
12fc7e6c34171ccfefa0e5ae27464a19a83d4c93
965
py
Python
museum_site/core/decorators.py
DrDos0016/z2
b63e77129fefcb4f990ee1cb9952f4f708ee3a2b
[ "MIT" ]
3
2017-05-01T19:53:57.000Z
2018-08-27T20:14:43.000Z
museum_site/core/decorators.py
DrDos0016/z2
b63e77129fefcb4f990ee1cb9952f4f708ee3a2b
[ "MIT" ]
null
null
null
museum_site/core/decorators.py
DrDos0016/z2
b63e77129fefcb4f990ee1cb9952f4f708ee3a2b
[ "MIT" ]
1
2018-08-27T20:14:46.000Z
2018-08-27T20:14:46.000Z
def dev_only(func, *args, **kwargs): def inner(*args, **kwargs): request = kwargs.get("request", args[0]) # Check host host = request.get_host() if env_from_host(host) != "DEV": raise Http404 else: return func(*args, **kwargs) return inner def n...
25.394737
54
0.539896
114
965
4.464912
0.219298
0.176817
0.165029
0.100196
0.917485
0.917485
0.917485
0.917485
0.917485
0.825147
0
0.018377
0.323316
965
37
55
26.081081
0.761103
0.033161
0
0.777778
0
0
0.037675
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
4241c35624d2c366a2779a12eed0c016e5650305
3,306
py
Python
tests/rules/common.py
babenek/CredSweeper
4d69ec934b45fd2f68e00b636077e5edfd1ff6ca
[ "MIT" ]
17
2021-10-22T00:29:46.000Z
2022-03-21T03:05:56.000Z
tests/rules/common.py
babenek/CredSweeper
4d69ec934b45fd2f68e00b636077e5edfd1ff6ca
[ "MIT" ]
29
2021-11-05T21:10:51.000Z
2022-03-30T10:41:08.000Z
tests/rules/common.py
babenek/CredSweeper
4d69ec934b45fd2f68e00b636077e5edfd1ff6ca
[ "MIT" ]
16
2021-11-05T20:39:54.000Z
2022-03-11T00:57:32.000Z
import pytest from typing import List from credsweeper.file_handler.analysis_target import AnalysisTarget class BaseTestRule: def test_scan_p(self, file_path: pytest.fixture, lines: pytest.fixture, scanner_without_filters: pytest.fixture) -> None: targets = [AnalysisTarget(line, i + ...
47.228571
119
0.680278
443
3,306
4.954853
0.180587
0.130296
0.040091
0.076538
0.820957
0.803645
0.764465
0.740774
0.740774
0.740774
0
0.008833
0.212341
3,306
69
120
47.913043
0.834101
0.174531
0
0.447368
0
0
0.0273
0.011967
0
0
0
0
0.210526
1
0.210526
false
0
0.078947
0
0.394737
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
7
427787cbcb89dc3c0e8d47dea355eba1df4f6a22
4,382
py
Python
tests/test_plot_vars.py
mitchute/plot-eplusout-csv
91cd552bbdea79ffa970d44aad667981c43056fd
[ "MIT" ]
null
null
null
tests/test_plot_vars.py
mitchute/plot-eplusout-csv
91cd552bbdea79ffa970d44aad667981c43056fd
[ "MIT" ]
null
null
null
tests/test_plot_vars.py
mitchute/plot-eplusout-csv
91cd552bbdea79ffa970d44aad667981c43056fd
[ "MIT" ]
null
null
null
import os import tempfile import unittest from pathlib import Path import pandas as pd from src.plot_vars import plot, GenericError class TestPlotVars(unittest.TestCase): def test_plot_all_cols(self): temp_dir = Path(tempfile.mkdtemp()) if not temp_dir.exists(): os.mkdir(temp_dir) ...
39.477477
98
0.571885
721
4,382
3.234397
0.087379
0.126072
0.066038
0.078045
0.894511
0.883791
0.883791
0.883791
0.843482
0.834906
0
0.035978
0.257873
4,382
110
99
39.836364
0.681119
0
0
0.767677
0
0
0.060246
0
0
0
0
0
0.010101
1
0.070707
false
0
0.060606
0
0.141414
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
4279a56efa0b75735731fdc21731787c2b0ed646
34,755
py
Python
demos/analyzers/minist.py
supfisher/AirDL
086453c4e93a466e6bf968b5d66f7cecc0b0d2db
[ "MIT" ]
1
2021-11-02T16:01:08.000Z
2021-11-02T16:01:08.000Z
demos/analyzers/minist.py
supfisher/AirDL
086453c4e93a466e6bf968b5d66f7cecc0b0d2db
[ "MIT" ]
null
null
null
demos/analyzers/minist.py
supfisher/AirDL
086453c4e93a466e6bf968b5d66f7cecc0b0d2db
[ "MIT" ]
null
null
null
import os import numpy as np from utils import plot_xs_ys, parse_time_acc_loss, parse_energy, plot_xs_ys1_ys2, parse_all_energy import matplotlib.pyplot as plt current_path = '/Users/mag0a/Desktop/Github/FLinMEN/ns-3-allinone/ns-3-dev/contrib/distributed-ml-test/demos/' plot_1 = False plot_2 = False plot_error1 = Fa...
45.136364
171
0.526572
4,219
34,755
4.034368
0.047405
0.035368
0.041713
0.035956
0.893015
0.882322
0.862053
0.836202
0.831326
0.821926
0
0.020062
0.33739
34,755
769
172
45.195059
0.71905
0.133362
0
0.749071
0
0.003717
0.105699
0.025285
0
0
0
0
0
1
0.001859
false
0
0.007435
0
0.011152
0.016729
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
427e10d6ddb82ee987943ebf3bbfaef6c4c429e7
17,316
py
Python
GradMeth.py
L-F-A/Optimization
a8e2252941c8839891411831920808867b45a323
[ "MIT" ]
null
null
null
GradMeth.py
L-F-A/Optimization
a8e2252941c8839891411831920808867b45a323
[ "MIT" ]
null
null
null
GradMeth.py
L-F-A/Optimization
a8e2252941c8839891411831920808867b45a323
[ "MIT" ]
null
null
null
import numpy as np import warnings ######################################################################################################### # IMPORTANT NOTE # #Every method splits cases of function with or without supplementary arguments at the very beginning # #as to avoid if-else operations for it at e...
43.837975
106
0.358917
1,689
17,316
3.589698
0.103612
0.065314
0.032987
0.029029
0.904998
0.901369
0.901369
0.882237
0.868712
0.8476
0
0.027849
0.5272
17,316
394
107
43.949239
0.712715
0.314622
0
0.930894
0
0
0.038225
0
0
0
0
0
0
0
null
null
0
0.00813
null
null
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
1
0
0
0
0
0
0
0
0
9
35fe6a19c27afba8ac7035c90b127989f079c83d
1,975
py
Python
model_title.py
deimqs/ClusterModel
a073ffff012ad3404acd9ce12396f63fe7e81109
[ "BSD-3-Clause" ]
null
null
null
model_title.py
deimqs/ClusterModel
a073ffff012ad3404acd9ce12396f63fe7e81109
[ "BSD-3-Clause" ]
null
null
null
model_title.py
deimqs/ClusterModel
a073ffff012ad3404acd9ce12396f63fe7e81109
[ "BSD-3-Clause" ]
null
null
null
""" This file contains the code name. """ def show(): """ Show the title of the model pipeline. Based on F.R. NIKA soft. See also http://patorjk.com/software/taag Parameters ---------- Outputs ---------- """ print("===============================================================...
47.02381
99
0.27038
82
1,975
5.146341
0.585366
0.379147
0.42654
0.42654
0.130332
0.130332
0.130332
0.130332
0.130332
0.130332
0
0
0.409114
1,975
41
100
48.170732
0.361611
0.551899
0
0.2
0
0
0.749095
0.249698
0
0
0
0
0
1
0.1
true
0
0
0
0.1
0.9
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
675f4e81e5be6e6d5724ff1aa2468482b3d780c5
19,138
py
Python
Job/AllJob.py
msg-gg/msg.gg-crawling
9952cff52b264bfe86ecd129372416bfcc9bdc84
[ "MIT" ]
null
null
null
Job/AllJob.py
msg-gg/msg.gg-crawling
9952cff52b264bfe86ecd129372416bfcc9bdc84
[ "MIT" ]
null
null
null
Job/AllJob.py
msg-gg/msg.gg-crawling
9952cff52b264bfe86ecd129372416bfcc9bdc84
[ "MIT" ]
null
null
null
import json # with open("groups.json") as groups: # groups_json = json.load(groups) # # print(groups_json["group1"]) import time from collections import OrderedDict from selenium import webdriver import pandas from webdriver_manager.chrome import ChromeDriverManager import urllib.request from sys import path driver...
42.528889
121
0.550998
2,703
19,138
3.797262
0.037366
0.122759
0.150721
0.168453
0.897311
0.897311
0.894778
0.894778
0.838854
0.838854
0
0.023743
0.218727
19,138
450
121
42.528889
0.662721
0.006584
0
0.823529
0
0.220588
0.333579
0.232032
0
0
0
0
0
1
0
false
0
0.031863
0
0.031863
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
6763a6321bdfba0789f11ae606901d148aa31142
3,396
py
Python
tests/nn/architectures/test_hourglass.py
preeti98/sleap
203c3a03c0c54f8dab242611d9a8d24595e98081
[ "BSD-3-Clause-Clear" ]
null
null
null
tests/nn/architectures/test_hourglass.py
preeti98/sleap
203c3a03c0c54f8dab242611d9a8d24595e98081
[ "BSD-3-Clause-Clear" ]
null
null
null
tests/nn/architectures/test_hourglass.py
preeti98/sleap
203c3a03c0c54f8dab242611d9a8d24595e98081
[ "BSD-3-Clause-Clear" ]
null
null
null
import numpy as np import tensorflow as tf from sleap.nn.system import use_cpu_only; use_cpu_only() # hide GPUs for test from sleap.nn.architectures import hourglass from sleap.nn.config import HourglassConfig class HourglassTests(tf.test.TestCase): def test_hourglass_reference(self): # Reference implem...
40.428571
78
0.617491
404
3,396
5.05198
0.225248
0.062714
0.117589
0.061734
0.803528
0.77707
0.77707
0.77707
0.77707
0.77707
0
0.044709
0.282097
3,396
83
79
40.915663
0.792453
0.034747
0
0.72
0
0
0.099878
0
0
0
0
0
0.213333
1
0.026667
false
0
0.066667
0
0.106667
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
67716dc1a1757a79b8e45297648042ff1177df49
24,188
py
Python
object_detection2/modeling/matcher.py
vghost2008/wml
d0c5a1da6c228e321ae59a563e9ac84aa66266ff
[ "MIT" ]
6
2019-12-10T17:18:56.000Z
2022-03-01T01:00:35.000Z
object_detection2/modeling/matcher.py
vghost2008/wml
d0c5a1da6c228e321ae59a563e9ac84aa66266ff
[ "MIT" ]
2
2021-08-25T16:16:01.000Z
2022-02-10T05:21:19.000Z
object_detection2/modeling/matcher.py
vghost2008/wml
d0c5a1da6c228e321ae59a563e9ac84aa66266ff
[ "MIT" ]
2
2019-12-07T09:57:35.000Z
2021-09-06T04:58:10.000Z
#coding=utf-8 import tfop import wmodule import tensorflow as tf import basic_tftools as btf from .build_matcher import MATCHER import wml_tfutils as wmlt import object_detection2.bboxes as odb import wsummary @MATCHER.register() class Matcher(wmodule.WChildModule): def __init__(self,thresholds,allow_low_quality_m...
49.565574
116
0.582892
3,023
24,188
4.42309
0.092623
0.041059
0.030514
0.021539
0.808466
0.799641
0.780495
0.765762
0.758283
0.751103
0
0.012404
0.316727
24,188
487
117
49.667351
0.796636
0.185836
0
0.7125
0
0
0.035947
0.01225
0
0
0
0
0.00625
1
0.075
false
0
0.025
0.00625
0.1875
0.021875
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
67923d79383bacce58cc21025af0cdbeaeec2c3c
19,877
py
Python
tests/conftest.py
verbosemode/scrapli
b3885169dccf24ac65d0d433eae16bcab8288002
[ "MIT" ]
404
2020-02-11T09:05:40.000Z
2022-03-31T05:10:03.000Z
tests/conftest.py
verbosemode/scrapli
b3885169dccf24ac65d0d433eae16bcab8288002
[ "MIT" ]
155
2020-02-18T00:21:43.000Z
2022-03-06T16:34:47.000Z
tests/conftest.py
verbosemode/scrapli
b3885169dccf24ac65d0d433eae16bcab8288002
[ "MIT" ]
48
2020-04-02T00:24:44.000Z
2022-03-07T18:24:53.000Z
from pathlib import Path import pytest from devices import DEVICES from helper import ( arista_eos_clean_response, cisco_iosxe_clean_response, cisco_iosxr_clean_response, cisco_nxos_clean_response, juniper_junos_clean_response, ) import scrapli TEST_DATA_PATH = f"{Path(scrapli.__file__).parents[1...
48.958128
164
0.589224
2,054
19,877
5.455209
0.082278
0.029987
0.056225
0.05801
0.896564
0.849799
0.824007
0.803124
0.770549
0.748862
0
0.031815
0.274186
19,877
405
165
49.079012
0.744853
0.010313
0
0.575448
0
0.028133
0.625458
0.232143
0
0
0
0
0
1
0.007673
false
0
0.012788
0
0.028133
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
67a817e7c9c9b31d3fd9fd3cfa4da3d6890f16ac
347
py
Python
src/GridCal/Engine/Simulations/PowerFlow/__init__.py
vineetjnair9/GridCal
5b63cbae45cbe176b015e5e99164a593f450fe71
[ "BSD-3-Clause" ]
null
null
null
src/GridCal/Engine/Simulations/PowerFlow/__init__.py
vineetjnair9/GridCal
5b63cbae45cbe176b015e5e99164a593f450fe71
[ "BSD-3-Clause" ]
null
null
null
src/GridCal/Engine/Simulations/PowerFlow/__init__.py
vineetjnair9/GridCal
5b63cbae45cbe176b015e5e99164a593f450fe71
[ "BSD-3-Clause" ]
null
null
null
from GridCal.Engine.Simulations.PowerFlow.power_flow_options import * from GridCal.Engine.Simulations.PowerFlow.power_flow_worker import * from GridCal.Engine.Simulations.PowerFlow.power_flow_driver import * from GridCal.Engine.Simulations.PowerFlow.time_series_driver import * from GridCal.Engine.Simulations.PowerFlow....
57.833333
69
0.870317
45
347
6.488889
0.311111
0.188356
0.291096
0.479452
0.917808
0.917808
0.917808
0.760274
0.40411
0
0
0
0.057637
347
5
70
69.4
0.892966
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
10
67ee0fca105651c153184405ac6b65e9abf950f5
196
py
Python
Vault7/Lost-in-Translation/windows/Resources/Ops/PyScripts/lib/ops/data/eventlogfilter.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
46
2017-05-15T11:15:08.000Z
2018-07-02T03:32:52.000Z
Vault7/Lost-in-Translation/windows/Resources/Ops/PyScripts/lib/ops/data/eventlogfilter.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
null
null
null
Vault7/Lost-in-Translation/windows/Resources/Ops/PyScripts/lib/ops/data/eventlogfilter.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
24
2017-05-17T03:26:17.000Z
2018-07-09T07:00:50.000Z
import ops.data import ops.data.eventlogquery if ('eventlogfilter' not in ops.data.cmd_definitions): ops.data.cmd_definitions['eventlogfilter'] = ops.data.cmd_definitions['eventlogquery']
39.2
90
0.780612
25
196
6
0.4
0.233333
0.2
0.42
0
0
0
0
0
0
0
0
0.102041
196
5
90
39.2
0.852273
0
0
0
0
0
0.213542
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7