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
d9a1f3b0cf83d1115ed19f3acdb5e35f75ece5c0
252,781
py
Python
kubernetes_asyncio/client/api/rbac_authorization_v1_api.py
dineshsonachalam/kubernetes_asyncio
d57e9e9be11f6789e1ce8d5b161acb64d29acf35
[ "Apache-2.0" ]
1
2021-02-25T04:36:18.000Z
2021-02-25T04:36:18.000Z
kubernetes_asyncio/client/api/rbac_authorization_v1_api.py
hubo1016/kubernetes_asyncio
d57e9e9be11f6789e1ce8d5b161acb64d29acf35
[ "Apache-2.0" ]
null
null
null
kubernetes_asyncio/client/api/rbac_authorization_v1_api.py
hubo1016/kubernetes_asyncio
d57e9e9be11f6789e1ce8d5b161acb64d29acf35
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.12.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import r...
66.661656
1,390
0.685004
33,396
252,781
5.055426
0.013355
0.030942
0.018326
0.01598
0.996659
0.99647
0.996298
0.995386
0.99522
0.994657
0
0.012057
0.243709
252,781
3,791
1,391
66.67924
0.871061
0.556818
0
0.864838
1
0.003918
0.245771
0.083494
0
0
0
0
0
1
0.030852
false
0
0.001959
0
0.078844
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
d9ca842cbdc63c54359e746c423beca4af1124b3
118,727
py
Python
octavia/tests/unit/controller/worker/v2/tasks/test_database_tasks.py
mauroseb/octavia
8f032d884e0f89ac69d5b6e5f5b77d19ee6eb1d7
[ "Apache-2.0" ]
null
null
null
octavia/tests/unit/controller/worker/v2/tasks/test_database_tasks.py
mauroseb/octavia
8f032d884e0f89ac69d5b6e5f5b77d19ee6eb1d7
[ "Apache-2.0" ]
null
null
null
octavia/tests/unit/controller/worker/v2/tasks/test_database_tasks.py
mauroseb/octavia
8f032d884e0f89ac69d5b6e5f5b77d19ee6eb1d7
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
42.191542
79
0.568691
11,299
118,727
5.492344
0.034959
0.077508
0.058429
0.060266
0.835847
0.799784
0.781237
0.768523
0.756099
0.739357
0
0.005443
0.373268
118,727
2,813
80
42.206541
0.828558
0.031206
0
0.749546
0
0
0.044507
0.030615
0
0
0
0.000355
0.102541
1
0.034936
false
0.000907
0.005898
0
0.041289
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
d9f8dcb19533a96faaad26bde1b0790a5c363c97
142,263
py
Python
autotest/gcore/vsis3.py
jpapadakis/gdal
f07aa15fd65af36b04291303cc6834c87f662814
[ "MIT" ]
18
2021-01-27T00:07:35.000Z
2022-03-25T22:20:13.000Z
autotest/gcore/vsis3.py
jpapadakis/gdal
f07aa15fd65af36b04291303cc6834c87f662814
[ "MIT" ]
1
2015-04-14T00:19:57.000Z
2015-04-14T00:29:29.000Z
autotest/gcore/vsis3.py
jpapadakis/gdal
f07aa15fd65af36b04291303cc6834c87f662814
[ "MIT" ]
1
2021-11-21T02:33:51.000Z
2021-11-21T02:33:51.000Z
#!/usr/bin/env pytest ############################################################################### # $Id$ # # Project: GDAL/OGR Test Suite # Purpose: Test /vsis3 # Author: Even Rouault <even dot rouault at spatialys dot com> # ############################################################################### # Copy...
40.974366
335
0.610749
16,318
142,263
5.142971
0.04351
0.025261
0.020447
0.035461
0.893867
0.873872
0.856726
0.826603
0.807776
0.782837
0
0.038421
0.23214
142,263
3,471
336
40.986171
0.729838
0.044319
0
0.765104
0
0.014787
0.315852
0.162256
0
0
0
0
0.107309
1
0.038445
false
0
0.00338
0
0.064639
0.002112
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
8a3e99f0293f853274afed91ad78cb5b4d2be8d4
8,379
py
Python
cadnano25/cadnano/part/xovercmds.py
amylittleyang/OtraCAD
126360719704caf6850d42565fe96be53b66a22d
[ "MIT" ]
null
null
null
cadnano25/cadnano/part/xovercmds.py
amylittleyang/OtraCAD
126360719704caf6850d42565fe96be53b66a22d
[ "MIT" ]
null
null
null
cadnano25/cadnano/part/xovercmds.py
amylittleyang/OtraCAD
126360719704caf6850d42565fe96be53b66a22d
[ "MIT" ]
null
null
null
from cadnano.cnproxy import UndoCommand from cadnano.strand import Strand from cadnano import getBatch import cadnano.preferences as prefs import random class CreateXoverCommand(UndoCommand): """ Creates a Xover from the 3' end of strand5p to the 5' end of strand3p this needs to 1. preserve the old oli...
35.807692
96
0.628118
842
8,379
6.10095
0.146081
0.030368
0.031147
0.016547
0.80183
0.767569
0.767569
0.750827
0.730971
0.67919
0
0.048401
0.294785
8,379
234
97
35.807692
0.820951
0.194057
0
0.732026
0
0
0.00361
0
0
0
0
0
0
1
0.039216
false
0
0.03268
0
0.084967
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
8a5251a1a46d1a18949b3dd2b2c26f7e8e32aa06
7,795
py
Python
readgadget/modules/rs_structs.py
danielmarostica/pygadgetreader
977949da7fcb6585f3e0270019d369c6967b317c
[ "BSD-3-Clause" ]
6
2020-09-02T21:11:59.000Z
2021-09-24T16:12:44.000Z
readgadget/modules/rs_structs.py
danielmarostica/pygadgetreader
977949da7fcb6585f3e0270019d369c6967b317c
[ "BSD-3-Clause" ]
1
2021-09-24T14:40:03.000Z
2021-09-25T20:07:13.000Z
readgadget/modules/rs_structs.py
danielmarostica/pygadgetreader
977949da7fcb6585f3e0270019d369c6967b317c
[ "BSD-3-Clause" ]
1
2020-11-18T19:15:39.000Z
2020-11-18T19:15:39.000Z
import numpy as np import sys ## ROCKSTAR ## halostruct1 = np.dtype([('id',np.int64), ('pos',np.float32,(6,)), ('corevel',np.float32,(3,)), ('bulkvel',np.float32,(3,)), ('m',np.float32), ('r',np.floa...
44.289773
78
0.340988
639
7,795
3.99687
0.147105
0.380579
0.058731
0.028191
0.859436
0.850039
0.850039
0.825764
0.793657
0.793657
0
0.082893
0.514047
7,795
175
79
44.542857
0.591341
0.015908
0
0.83125
0
0
0.134527
0.006275
0
0
0
0
0
1
0.00625
false
0
0.0125
0
0.0375
0.04375
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
8a56cef3b3f2ca89cec426bc77ad6809415c305d
1,327
bzl
Python
python/library.bzl
robfig/rules_proto
6a85b0e4c3eeddf8863890ef48f2daab7a524ab7
[ "Apache-2.0" ]
null
null
null
python/library.bzl
robfig/rules_proto
6a85b0e4c3eeddf8863890ef48f2daab7a524ab7
[ "Apache-2.0" ]
null
null
null
python/library.bzl
robfig/rules_proto
6a85b0e4c3eeddf8863890ef48f2daab7a524ab7
[ "Apache-2.0" ]
null
null
null
load("//python:compile.bzl", "py_proto_compile", "py_grpc_compile") load("@grpc_py_deps//:requirements.bzl", "all_requirements") def py_proto_library(**kwargs): name = kwargs.get("name") deps = kwargs.get("deps") verbose = kwargs.get("verbose") visibility = kwargs.get("visibility") name_pb = name ...
28.847826
82
0.609646
152
1,327
5.092105
0.217105
0.093023
0.05168
0.059432
0.819121
0.819121
0.819121
0.819121
0.819121
0.819121
0
0
0.271289
1,327
46
83
28.847826
0.800414
0.129616
0
0.75
0
0
0.134549
0.027778
0
0
0
0.021739
0
1
0.05
false
0
0.05
0
0.1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
8
8a5d63158988a4154bd4df2b897b694d5cad31f9
46,478
py
Python
alembic/versions/1d092815507a_add_huawei_2g_managedobjects.py
bodastage/bts-database
96df7915621dd46daf55016eedf5cfc84dd0e3a2
[ "Apache-2.0" ]
1
2019-08-30T01:20:14.000Z
2019-08-30T01:20:14.000Z
alembic/versions/1d092815507a_add_huawei_2g_managedobjects.py
bodastage/bts-database
96df7915621dd46daf55016eedf5cfc84dd0e3a2
[ "Apache-2.0" ]
1
2018-05-30T09:29:24.000Z
2018-05-30T10:04:37.000Z
alembic/versions/1d092815507a_add_huawei_2g_managedobjects.py
bodastage/bts-database
96df7915621dd46daf55016eedf5cfc84dd0e3a2
[ "Apache-2.0" ]
3
2018-03-10T23:29:30.000Z
2019-02-19T22:11:09.000Z
"""Add Huawei 2G managedobjects Revision ID: 1d092815507a Revises: 3fa514f1b7a9 Create Date: 2018-02-13 01:38:59.965000 """ from alembic import op import sqlalchemy as sa import datetime # revision identifiers, used by Alembic. revision = '1d092815507a' down_revision = '3fa514f1b7a9' branch_labels = None depends_on ...
103.055432
133
0.570162
7,093
46,478
3.446074
0.068659
0.099906
0.116843
0.249765
0.806202
0.802316
0.799043
0.799043
0.799043
0.799043
0
0.056081
0.180516
46,478
450
134
103.284444
0.58567
0.003378
0
0.004587
0
0
0.514111
0.00136
0
0
0
0
0
1
0.004587
false
0
0.006881
0
0.011468
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
8a64819227bba93979e4413095e01b50e7c00dec
13
py
Python
a2.py
Changhong-Jiang/test
b907b984cbd9703711f52c9f497cf36b5b4e8752
[ "MIT" ]
null
null
null
a2.py
Changhong-Jiang/test
b907b984cbd9703711f52c9f497cf36b5b4e8752
[ "MIT" ]
1
2020-02-28T08:15:58.000Z
2020-02-28T08:16:41.000Z
a2.py
Changhong-Jiang/test
b907b984cbd9703711f52c9f497cf36b5b4e8752
[ "MIT" ]
null
null
null
print('222')
6.5
12
0.615385
2
13
4
1
0
0
0
0
0
0
0
0
0
0
0.25
0.076923
13
1
13
13
0.416667
0
0
0
0
0
0.230769
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
8a88b11de563042688caafdaffa71f1207edee67
8,082
py
Python
items/migrations/0001_initial.py
tony-joseph/livre
3a6a851ed58029d5d14edde647b15ed22d65f24b
[ "BSD-3-Clause" ]
1
2020-05-06T16:59:47.000Z
2020-05-06T16:59:47.000Z
items/migrations/0001_initial.py
tony-joseph/livre
3a6a851ed58029d5d14edde647b15ed22d65f24b
[ "BSD-3-Clause" ]
null
null
null
items/migrations/0001_initial.py
tony-joseph/livre
3a6a851ed58029d5d14edde647b15ed22d65f24b
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2015-12-21 12:22 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations....
56.915493
191
0.614081
847
8,082
5.670602
0.136954
0.033313
0.055382
0.087029
0.860712
0.854466
0.804497
0.797835
0.752446
0.752446
0
0.013031
0.240411
8,082
141
192
57.319149
0.769344
0.008043
0
0.661654
1
0
0.126029
0.008735
0
0
0
0
0
1
0
false
0
0.030075
0
0.06015
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
8a9d4177e423a6db85599cff72c82ba14d5a1522
883
py
Python
algorithm/python/LeetCode/isValid.py
HoneyS2/meaningful
78659de1ed74121db4ade211f6565ddc6d117041
[ "MIT" ]
null
null
null
algorithm/python/LeetCode/isValid.py
HoneyS2/meaningful
78659de1ed74121db4ade211f6565ddc6d117041
[ "MIT" ]
null
null
null
algorithm/python/LeetCode/isValid.py
HoneyS2/meaningful
78659de1ed74121db4ade211f6565ddc6d117041
[ "MIT" ]
null
null
null
s = "([}}])" stack = [] if len(s) % 2 == 1: print(False) exit() for i in s: if i == "(": stack.append("(") elif i == "[": stack.append("[") elif i == "{": stack.append("{") elif i == ")": if len(stack) < 1: print(False) exit() if...
18.395833
28
0.347678
89
883
3.449438
0.202247
0.260586
0.319218
0.19544
0.76873
0.76873
0.76873
0.76873
0.76873
0.625407
0
0.01919
0.468856
883
47
29
18.787234
0.635394
0
0
0.581395
0
0
0.020385
0
0
0
0
0
0
1
0
false
0
0
0
0
0.209302
0
0
0
null
1
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
8abf08c703d4b07df642c217bba0fae7c6cdc10b
141
py
Python
hexafuel_oil/hexafuel_oil_app/apps.py
zante95/Hexafuel-Oil
41dc4c9d855c74d4bb7dd86f3ac3fb1db27b663b
[ "MIT" ]
null
null
null
hexafuel_oil/hexafuel_oil_app/apps.py
zante95/Hexafuel-Oil
41dc4c9d855c74d4bb7dd86f3ac3fb1db27b663b
[ "MIT" ]
null
null
null
hexafuel_oil/hexafuel_oil_app/apps.py
zante95/Hexafuel-Oil
41dc4c9d855c74d4bb7dd86f3ac3fb1db27b663b
[ "MIT" ]
null
null
null
from django.apps import AppConfig #pragma: no cover class HexafuelOilAppConfig(AppConfig): #pragma: no cover name = 'hexafuel_oil_app'
23.5
56
0.77305
18
141
5.944444
0.777778
0.280374
0.317757
0.411215
0
0
0
0
0
0
0
0
0.148936
141
5
57
28.2
0.891667
0.22695
0
0
0
0
0.149533
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
8ac83a9b0ffc4d89a43ceecc29a99652f8c7e2f2
5,869
py
Python
rspub/util/test/test_resourcefilter.py
EHRI/rspub-core
1f6b0c84825037b7df442ae0d258d5d897ff6905
[ "Apache-2.0" ]
1
2017-02-01T15:03:29.000Z
2017-02-01T15:03:29.000Z
rspub/util/test/test_resourcefilter.py
EHRI/rspub-core
1f6b0c84825037b7df442ae0d258d5d897ff6905
[ "Apache-2.0" ]
3
2017-02-15T12:25:22.000Z
2017-04-10T13:51:54.000Z
rspub/util/test/test_resourcefilter.py
EHRI/rspub-core
1f6b0c84825037b7df442ae0d258d5d897ff6905
[ "Apache-2.0" ]
3
2017-02-15T09:04:39.000Z
2021-06-21T09:01:59.000Z
#! /usr/bin/env python3 # -*- coding: utf-8 -*- import os import platform import unittest import rspub.util.resourcefilter as rf def on_windows(): opsys = platform.system() return opsys == "Windows" class TestPredicates(unittest.TestCase): def test_directory_pattern_filter_empty(self): dpf = r...
35.143713
80
0.645596
798
5,869
4.52005
0.12782
0.089271
0.098974
0.046853
0.867203
0.823953
0.773496
0.769615
0.739396
0.705018
0
0.011154
0.205657
5,869
166
81
35.355422
0.762548
0.030158
0
0.616822
0
0
0.223498
0.132332
0
0
0
0
0.523364
1
0.074766
false
0
0.074766
0
0.168224
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
76e51515f0db0f6532d593373bce97eb6eda37bb
12,689
py
Python
Models.py
jmj23/Kaggle-Pneumothorax
96153af30468c5bcb49875dd374ac44ed1b4e2fb
[ "MIT" ]
null
null
null
Models.py
jmj23/Kaggle-Pneumothorax
96153af30468c5bcb49875dd374ac44ed1b4e2fb
[ "MIT" ]
null
null
null
Models.py
jmj23/Kaggle-Pneumothorax
96153af30468c5bcb49875dd374ac44ed1b4e2fb
[ "MIT" ]
2
2019-07-12T15:03:41.000Z
2019-08-07T21:24:49.000Z
import numpy as np from keras.applications.inception_v3 import InceptionV3 from keras.initializers import RandomNormal from keras.layers import (BatchNormalization, Conv2D, Conv2DTranspose, Conv3D, Cropping2D, Dense, Flatten, GlobalAveragePooling2D, Input, Lambda, Max...
41.877888
99
0.585625
1,664
12,689
4.335337
0.138822
0.033962
0.050457
0.026615
0.828805
0.821042
0.821042
0.821042
0.821042
0.821042
0
0.043793
0.27118
12,689
302
100
42.016556
0.736267
0.173773
0
0.857143
0
0
0.123259
0
0
0
0
0
0.02765
1
0.018433
false
0
0.02765
0
0.064516
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
0a6bdfe36df3fc3c2674d86fa755f854cc5eacf6
133
py
Python
summarizer/test_summarizer.py
bmcilw1/text-summary
f594fd4f41279a6e11262ac859cfbdad6aaf1703
[ "MIT" ]
null
null
null
summarizer/test_summarizer.py
bmcilw1/text-summary
f594fd4f41279a6e11262ac859cfbdad6aaf1703
[ "MIT" ]
null
null
null
summarizer/test_summarizer.py
bmcilw1/text-summary
f594fd4f41279a6e11262ac859cfbdad6aaf1703
[ "MIT" ]
null
null
null
from summarizer.summarizer import summarize def test_summarize_whenPassedEmptyString_ReturnsEmpty(): assert summarize("") == ""
26.6
56
0.796992
12
133
8.583333
0.75
0
0
0
0
0
0
0
0
0
0
0
0.112782
133
5
57
26.6
0.872881
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
1
0
1
0
0
7
6a64620ee9819bca0e28e6f332c50299811770b5
13,981
py
Python
djconnectwise/tests/mocks.py
kti-sam/django-connectwise
28484faad9435892a46b8ce4a3c957f64c299971
[ "MIT" ]
null
null
null
djconnectwise/tests/mocks.py
kti-sam/django-connectwise
28484faad9435892a46b8ce4a3c957f64c299971
[ "MIT" ]
null
null
null
djconnectwise/tests/mocks.py
kti-sam/django-connectwise
28484faad9435892a46b8ce4a3c957f64c299971
[ "MIT" ]
null
null
null
import os from mock import patch from datetime import datetime, date, time import json import responses from . import fixtures from django.utils import timezone CW_MEMBER_IMAGE_FILENAME = 'AnonymousMember.png' def create_mock_call(method_name, return_value, side_effect=None): """Utility function for mocking th...
36.126615
78
0.800801
1,878
13,981
5.517572
0.089989
0.126327
0.082417
0.113878
0.848292
0.827157
0.807856
0.78701
0.771183
0.648716
0
0.002936
0.123096
13,981
386
79
36.220207
0.842251
0.015235
0
0.359184
0
0
0.213428
0.208991
0
0
0
0
0
1
0.265306
false
0
0.028571
0.004082
0.55102
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
6a6837a4b97157cac91cdd54ef662d5a158d6207
22,699
py
Python
tests/test_dynamics.py
leasanchez/BiorbdOptim
28fac818af031668ecd82bc1929f78303c5d58d2
[ "MIT" ]
34
2020-12-14T17:09:41.000Z
2022-03-31T17:03:37.000Z
tests/test_dynamics.py
pariterre/bioptim
4064138e7d3fce34e21d488df19941937ce30557
[ "MIT" ]
229
2020-09-30T16:53:40.000Z
2022-03-29T21:11:46.000Z
tests/test_dynamics.py
fbailly/bioptim
3a5473ee7c39d645d960611596a45b044e8ccf58
[ "MIT" ]
15
2020-11-20T12:32:59.000Z
2022-01-22T22:59:08.000Z
import pytest import numpy as np from casadi import MX, SX import biorbd_casadi as biorbd from bioptim.dynamics.configure_problem import ConfigureProblem from bioptim.dynamics.dynamics_functions import DynamicsFunctions from bioptim.interfaces.biorbd_interface import BiorbdInterface from bioptim.misc.enums import Cont...
37.958194
120
0.491784
2,187
22,699
4.945588
0.142204
0.030788
0.051313
0.071838
0.834504
0.823132
0.801683
0.801683
0.792622
0.781065
0
0.217914
0.410282
22,699
597
121
38.021776
0.590094
0.016212
0
0.704887
0
0
0.025096
0.014162
0
0
0
0
0.069549
1
0.015038
false
0
0.022556
0
0.041353
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
6a98f5590ec68008681144a3cad2ee8a6d9f0359
55
py
Python
model/__init__.py
sun1638650145/CRNN
485157e5803b9be861a63ebb04f04fccb16ef5f1
[ "Apache-2.0" ]
11
2020-09-18T02:35:48.000Z
2022-02-26T21:31:55.000Z
model/__init__.py
sun1638650145/CRNN
485157e5803b9be861a63ebb04f04fccb16ef5f1
[ "Apache-2.0" ]
null
null
null
model/__init__.py
sun1638650145/CRNN
485157e5803b9be861a63ebb04f04fccb16ef5f1
[ "Apache-2.0" ]
null
null
null
from .crnn import CRNN from .crnn import CRNN_Attention
27.5
32
0.836364
9
55
5
0.444444
0.355556
0.622222
0.8
0
0
0
0
0
0
0
0
0.127273
55
2
32
27.5
0.9375
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
6a9b47904f23c1124cf4fbc27654a8fe5f3b7493
42
py
Python
resources/__init__.py
Boryslavq/UHMI_Chalenge
4b7df902c0a0901c727a6fb26347dabca1067494
[ "MIT" ]
null
null
null
resources/__init__.py
Boryslavq/UHMI_Chalenge
4b7df902c0a0901c727a6fb26347dabca1067494
[ "MIT" ]
null
null
null
resources/__init__.py
Boryslavq/UHMI_Chalenge
4b7df902c0a0901c727a6fb26347dabca1067494
[ "MIT" ]
null
null
null
from . import rest from . import helpers
14
22
0.738095
6
42
5.166667
0.666667
0.645161
0
0
0
0
0
0
0
0
0
0
0.214286
42
2
23
21
0.939394
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
6ab1bd9218aece261b575574072df1d919112085
1,108
py
Python
lib/galaxy/web/__init__.py
rikeshi/galaxy
c536a877e4a9b3d12aa0d00fd4d5e705109a0d0a
[ "CC-BY-3.0" ]
4
2015-05-12T20:36:41.000Z
2017-06-26T15:34:02.000Z
lib/galaxy/web/__init__.py
rikeshi/galaxy
c536a877e4a9b3d12aa0d00fd4d5e705109a0d0a
[ "CC-BY-3.0" ]
52
2015-03-16T14:02:14.000Z
2021-12-24T09:50:23.000Z
lib/galaxy/web/__init__.py
rikeshi/galaxy
c536a877e4a9b3d12aa0d00fd4d5e705109a0d0a
[ "CC-BY-3.0" ]
1
2016-03-21T12:54:06.000Z
2016-03-21T12:54:06.000Z
""" The Galaxy web application framework """ from .framework import url_for from .framework.base import httpexceptions from .framework.decorators import ( do_not_cache, error, expose, expose_api, expose_api_anonymous, expose_api_anonymous_and_sessionless, expose_api_raw, expose_api_raw_...
30.777778
74
0.737365
135
1,108
5.459259
0.251852
0.244233
0.162822
0.170963
0.7327
0.7327
0.7327
0.7327
0.7327
0.7327
0
0
0.173285
1,108
35
75
31.657143
0.804585
0.032491
0
0
0
0
0.339286
0.18797
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
1
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
0
0
0
0
0
0
0
0
7
6aea2be020c7e8aa245e0f3059dcd2d6daefd1b7
2,865
py
Python
advent/model/discriminator.py
ChristopheGraveline064/ADVENT
fc0ecd099862ed68979b2197423f1bb34df09c74
[ "Apache-2.0" ]
1
2021-01-17T06:02:10.000Z
2021-01-17T06:02:10.000Z
advent/model/discriminator.py
ChristopheGraveline064/ADVENT
fc0ecd099862ed68979b2197423f1bb34df09c74
[ "Apache-2.0" ]
2
2021-01-17T06:21:29.000Z
2021-01-17T20:19:50.000Z
advent/model/discriminator.py
ChristopheGraveline064/ADVENT
fc0ecd099862ed68979b2197423f1bb34df09c74
[ "Apache-2.0" ]
null
null
null
from torch import nn def get_fc_discriminator(num_classes, ndf=64): return nn.Sequential( nn.Conv2d(num_classes, ndf, kernel_size=4, stride=2, padding=1), nn.LeakyReLU(negative_slope=0.2, inplace=True), nn.Conv2d(ndf, ndf * 2, kernel_size=4, stride=2, padding=1), nn.LeakyReLU(negat...
49.396552
90
0.624433
450
2,865
3.86
0.086667
0.092113
0.175014
0.221071
0.967761
0.967761
0.967761
0.938975
0.8981
0.8981
0
0.077502
0.211867
2,865
58
91
49.396552
0.691763
0.539267
0
0.391304
0
0
0
0
0
0
0
0
0
1
0.086957
false
0
0.043478
0.086957
0.217391
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0a77c9190291f537620b1ae307203f1368f48062
853
py
Python
app/decorators.py
GinnyGaga/lanbo
d0bd200b93643d3ede69b5fcce72cefd5c167e37
[ "MIT" ]
null
null
null
app/decorators.py
GinnyGaga/lanbo
d0bd200b93643d3ede69b5fcce72cefd5c167e37
[ "MIT" ]
null
null
null
app/decorators.py
GinnyGaga/lanbo
d0bd200b93643d3ede69b5fcce72cefd5c167e37
[ "MIT" ]
null
null
null
from functools import wraps from flask import abort from flask_login import current_user from .models import Permission <<<<<<< HEAD def permission_required(permission): def decorator(f): @wraps(f) def decorated_function(*args, **kwargs): if not current_user.can(permission): ...
25.088235
56
0.695193
104
853
5.567308
0.288462
0.124352
0.193437
0.107081
0.80829
0.80829
0.80829
0.80829
0.80829
0.80829
0
0.013062
0.192263
853
33
57
25.848485
0.827286
0
0
0.758621
0
0
0
0
0
0
0
0
0
0
null
null
0
0.137931
null
null
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
9
0ac87693a78b8ba6514e5ac5aa8d9530546bb44b
39,691
py
Python
uiSetup.py
smokedpirate/Encryption-hash-generator
47bf3f1f6b6b24ca3e9078fefe46b1e6409d59e5
[ "Apache-2.0" ]
4
2020-09-24T16:34:03.000Z
2020-10-23T09:52:59.000Z
uiSetup.py
Atharv-Khatri/Password-Encryption-Generator-Timathon-Submission-
3a3db2fa9dc27c8f604d0eb0917e8ffa717f4786
[ "Apache-2.0" ]
1
2020-08-02T08:46:06.000Z
2020-08-02T08:46:06.000Z
uiSetup.py
Atharv-Khatri/Password-Encryption-Generator-Timathon-Submission-
3a3db2fa9dc27c8f604d0eb0917e8ffa717f4786
[ "Apache-2.0" ]
1
2020-08-02T08:33:46.000Z
2020-08-02T08:33:46.000Z
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtGui, QtCore class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(577, 341) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255...
54.222678
105
0.659192
4,719
39,691
5.539521
0.038356
0.131785
0.078956
0.138174
0.901725
0.89285
0.891511
0.890211
0.884664
0.879194
0
0.06199
0.206243
39,691
731
106
54.296854
0.767751
0
0
0.868785
0
0.016575
0.07503
0.000667
0
0
0
0
0
1
0.002762
false
0.01105
0.004144
0
0.008287
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
0af8f9b563483812450b36d24892bee1c8265e62
388
py
Python
terrascript/resource/sematext.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/resource/sematext.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/resource/sematext.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/resource/sematext.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:26:36 UTC) # # For imports without namespace, e.g. # # >>> import terrascript.resource.sematext # # instead of # # >>> import terrascript.resource.sematext.sematext # # This is only available for 'official' and 'partne...
25.866667
73
0.75
49
388
5.938776
0.693878
0.261168
0.371134
0.226804
0
0
0
0
0
0
0
0.035608
0.131443
388
14
74
27.714286
0.827893
0.796392
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
7c12ff613b7b049edec918f0aa7806f03a342762
9,197
py
Python
First_course/test5_base.py
laetrid/learning
b28312c34db2118fb7d5691834b8f7e628117642
[ "Apache-2.0" ]
null
null
null
First_course/test5_base.py
laetrid/learning
b28312c34db2118fb7d5691834b8f7e628117642
[ "Apache-2.0" ]
null
null
null
First_course/test5_base.py
laetrid/learning
b28312c34db2118fb7d5691834b8f7e628117642
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python sw1_show_cdp_neighbors = ''' SW1>show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone Device ID Local Intrfce Holdtme Capability Platform ...
37.084677
127
0.677938
1,287
9,197
4.804196
0.108003
0.027171
0.062106
0.042698
0.958273
0.932719
0.888242
0.888242
0.866408
0.804787
0
0.126139
0.212134
9,197
247
128
37.234818
0.72716
0.002175
0
0.74359
0
0.042735
0.953248
0.074106
0
0
0.007629
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
7c7d98835e8aa5d863003dad874d15530ea2ef72
7,799
py
Python
myenv/lib/python3.5/site-packages/tests/handlers/logging/logging_tests.py
rupeshparab/techscan
ce2558602ddad31873d7129f25b1cc61895b9939
[ "MIT" ]
1
2019-11-01T11:45:22.000Z
2019-11-01T11:45:22.000Z
myenv/lib/python3.5/site-packages/tests/handlers/logging/logging_tests.py
rupeshparab/techscan
ce2558602ddad31873d7129f25b1cc61895b9939
[ "MIT" ]
3
2020-02-11T23:03:45.000Z
2021-06-10T18:05:11.000Z
myenv/lib/python3.5/site-packages/tests/handlers/logging/logging_tests.py
rupeshparab/techscan
ce2558602ddad31873d7129f25b1cc61895b9939
[ "MIT" ]
1
2019-11-01T11:38:54.000Z
2019-11-01T11:38:54.000Z
import logging from opbeat.handlers.logging import OpbeatHandler from opbeat.utils.stacks import iter_stack_frames from tests.helpers import get_tempstoreclient from tests.utils.compat import TestCase class LoggingIntegrationTest(TestCase): def setUp(self): self.client = get_tempstoreclient(include_paths...
43.569832
103
0.647391
952
7,799
5.216387
0.09979
0.164317
0.042288
0.066452
0.809505
0.793798
0.781514
0.731575
0.700967
0.659283
0
0.003624
0.221567
7,799
178
104
43.814607
0.814363
0.020131
0
0.562092
0
0
0.216418
0.014402
0
0
0
0
0.522876
1
0.091503
false
0
0.03268
0
0.137255
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
7c9109fd0312f441ea7db6be13582d7563d361c0
196
py
Python
frappe/patches/v13_0/remove_web_view.py
chentaoz/frappe
ee3c4943bf6177ad3b410cdb0d802af486751a65
[ "MIT" ]
3,755
2015-01-06T07:47:43.000Z
2022-03-31T20:54:23.000Z
frappe/patches/v13_0/remove_web_view.py
chentaoz/frappe
ee3c4943bf6177ad3b410cdb0d802af486751a65
[ "MIT" ]
7,369
2015-01-01T19:59:41.000Z
2022-03-31T23:02:05.000Z
frappe/patches/v13_0/remove_web_view.py
chentaoz/frappe
ee3c4943bf6177ad3b410cdb0d802af486751a65
[ "MIT" ]
2,685
2015-01-07T17:51:03.000Z
2022-03-31T23:16:24.000Z
import frappe def execute(): frappe.delete_doc_if_exists("DocType", "Web View") frappe.delete_doc_if_exists("DocType", "Web View Component") frappe.delete_doc_if_exists("DocType", "CSS Class")
32.666667
61
0.77551
29
196
4.931034
0.482759
0.251748
0.314685
0.356643
0.727273
0.727273
0.517483
0.517483
0
0
0
0
0.086735
196
6
62
32.666667
0.798883
0
0
0
0
0
0.284264
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0
1
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
7c938029fd9d5d4852f7e0ef36d2f9a92b855733
2,962
py
Python
tests/assemblers/test_ensemble.py
yarix/m2cgen
f1aa01e4c70a6d1a8893e27bfbe3c36fcb1e8546
[ "MIT" ]
1
2021-05-28T06:59:21.000Z
2021-05-28T06:59:21.000Z
tests/assemblers/test_ensemble.py
yarix/m2cgen
f1aa01e4c70a6d1a8893e27bfbe3c36fcb1e8546
[ "MIT" ]
null
null
null
tests/assemblers/test_ensemble.py
yarix/m2cgen
f1aa01e4c70a6d1a8893e27bfbe3c36fcb1e8546
[ "MIT" ]
null
null
null
from sklearn import ensemble from m2cgen import assemblers, ast from tests import utils def test_single_condition(): estimator = ensemble.RandomForestRegressor(n_estimators=2, random_state=1) estimator.fit([[1], [2]], [1, 2]) assembler = assemblers.RandomForestModelAssembler(estimator) actual = ass...
29.326733
79
0.502701
296
2,962
4.97973
0.175676
0.140434
0.081411
0.052239
0.852103
0.843962
0.839891
0.839891
0.772727
0.713026
0
0.041237
0.377785
2,962
100
80
29.62
0.758546
0
0
0.740741
0
0
0
0
0
0
0
0
0.037037
1
0.037037
false
0
0.037037
0
0.074074
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
7cba9b9fb8b398f82ae1a8d924fec2ad7e1b9ddf
2,437
py
Python
matdgl/layers/partitionpaddinglayer.py
huzongxiang/CrystalNetwork
a434f76fa4347d42b3c905852ce265cd0bcefca3
[ "BSD-2-Clause" ]
6
2022-03-30T13:47:03.000Z
2022-03-31T09:27:46.000Z
matdgl/layers/partitionpaddinglayer.py
huzongxiang/CrystalNetwork
a434f76fa4347d42b3c905852ce265cd0bcefca3
[ "BSD-2-Clause" ]
null
null
null
matdgl/layers/partitionpaddinglayer.py
huzongxiang/CrystalNetwork
a434f76fa4347d42b3c905852ce265cd0bcefca3
[ "BSD-2-Clause" ]
2
2022-03-30T20:53:11.000Z
2022-03-31T22:20:05.000Z
# -*- coding: utf-8 -*- """ Created on Wed Oct 13 14:47:13 2021 @author: huzongxiang """ import tensorflow as tf from tensorflow.keras import layers class PartitionPadding(layers.Layer): def __init__(self, batch_size, **kwargs): super().__init__(**kwargs) self.batch_size = batch_size def ...
27.077778
81
0.585556
287
2,437
4.74216
0.250871
0.072741
0.076414
0.026451
0.814107
0.77737
0.77737
0.77737
0.77737
0.77737
0
0.017889
0.311859
2,437
90
82
27.077778
0.793679
0.105868
0
0.716981
0
0
0.006928
0
0
0
0
0
0
1
0.113208
false
0
0.037736
0
0.264151
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
7ccbe673fd6019f10368e191ac41278443f5c053
9,554
py
Python
python/paddle/fluid/tests/unittests/ir/inference/test_trt_reduce_mean_op.py
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
8
2016-08-15T07:02:27.000Z
2016-08-24T09:34:00.000Z
python/paddle/fluid/tests/unittests/ir/inference/test_trt_reduce_mean_op.py
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
1
2021-11-01T06:28:16.000Z
2021-11-01T06:28:16.000Z
python/paddle/fluid/tests/unittests/ir/inference/test_trt_reduce_mean_op.py
zmxdream/Paddle
04f042a5d507ad98f7f2cfc3cbc44b06d7a7f45c
[ "Apache-2.0" ]
5
2021-12-10T11:20:06.000Z
2022-02-18T05:18:12.000Z
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
40.483051
82
0.626125
1,132
9,554
5.094523
0.130742
0.044391
0.019074
0.014566
0.80059
0.79192
0.79192
0.79192
0.783076
0.783076
0
0.039537
0.25874
9,554
235
83
40.655319
0.774781
0.061022
0
0.768817
0
0
0.045551
0.019649
0
0
0
0
0.043011
1
0.086022
false
0.096774
0.043011
0
0.172043
0.005376
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
7ccec8a64f1094a2aaa4d1c42f4858ca203734a3
122
py
Python
packages/gtmapi/lmsrvcore/api/interfaces/__init__.py
jjwatts/gigantum-client
88ce0475fb6880322bdd06d987c494e29064f278
[ "MIT" ]
60
2018-09-26T15:46:00.000Z
2021-10-10T02:37:14.000Z
packages/gtmapi/lmsrvcore/api/interfaces/__init__.py
jjwatts/gigantum-client
88ce0475fb6880322bdd06d987c494e29064f278
[ "MIT" ]
1,706
2018-09-26T16:11:22.000Z
2021-08-20T13:37:59.000Z
packages/gtmapi/lmsrvcore/api/interfaces/__init__.py
jjwatts/gigantum-client
88ce0475fb6880322bdd06d987c494e29064f278
[ "MIT" ]
11
2019-03-14T13:23:51.000Z
2022-01-25T01:29:16.000Z
from lmsrvcore.api.interfaces.user import User from lmsrvcore.api.interfaces.git import GitCommit, GitRef, GitRepository
30.5
73
0.844262
16
122
6.4375
0.625
0.252427
0.31068
0.504854
0
0
0
0
0
0
0
0
0.090164
122
3
74
40.666667
0.927928
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
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
7ce35b3e99fb727d7c2e93f64173851978f39e8c
30,955
py
Python
saleor/checkout/tests/test_base_calculations.py
nestfiy/saleor
6fce3bc5c0ca72ac28db99553e6d2b49249c6dac
[ "CC-BY-4.0" ]
null
null
null
saleor/checkout/tests/test_base_calculations.py
nestfiy/saleor
6fce3bc5c0ca72ac28db99553e6d2b49249c6dac
[ "CC-BY-4.0" ]
76
2021-11-01T04:53:42.000Z
2022-03-28T04:51:25.000Z
saleor/checkout/tests/test_base_calculations.py
nestfiy/saleor
6fce3bc5c0ca72ac28db99553e6d2b49249c6dac
[ "CC-BY-4.0" ]
null
null
null
from decimal import Decimal from prices import Money, TaxedMoney from ...discount import DiscountValueType, VoucherType from ...discount.utils import get_product_discount_on_sale from ..base_calculations import ( base_checkout_total, base_tax_rate, calculate_base_line_total_price, calculate_base_line_...
37.475787
88
0.772767
3,791
30,955
5.839093
0.025851
0.098121
0.093965
0.115287
0.970184
0.958077
0.951211
0.946287
0.944028
0.940143
0
0.003468
0.161525
30,955
825
89
37.521212
0.849393
0.020288
0
0.838449
0
0
0.004032
0
0
0
0
0
0.122779
1
0.035541
false
0
0.009693
0
0.045234
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
7cfe95c6759feee2397de3f952b5fd6bdfa39ca2
137
py
Python
st3/package_util/compat/typing.py
Thom1729/package_util
3ddec00d8ab4a52f0f5ce3fe8b09247c1518547f
[ "MIT" ]
18
2020-02-20T11:56:43.000Z
2021-12-30T19:00:50.000Z
st3/package_util/compat/typing.py
Thom1729/package_util
3ddec00d8ab4a52f0f5ce3fe8b09247c1518547f
[ "MIT" ]
31
2020-02-21T13:38:12.000Z
2021-12-15T22:18:37.000Z
st3/package_util/compat/typing.py
Thom1729/package_util
3ddec00d8ab4a52f0f5ce3fe8b09247c1518547f
[ "MIT" ]
3
2020-02-21T09:31:27.000Z
2021-10-01T20:56:16.000Z
try: from typing import * # noqa: F401, F403 except ImportError: from .typing_stubs import * # type: ignore # noqa: F401, F403
27.4
66
0.671533
18
137
5.055556
0.666667
0.21978
0.263736
0
0
0
0
0
0
0
0
0.114286
0.233577
137
4
67
34.25
0.752381
0.343066
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
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
6b0d16f74ff1faebf0826e751ccbc24a085729d3
31,951
py
Python
classes.py
jared-jorgenson/mini_game
ac73987ac4c32c0e9f521d7bcf8d4d9ee4ded85a
[ "MIT" ]
null
null
null
classes.py
jared-jorgenson/mini_game
ac73987ac4c32c0e9f521d7bcf8d4d9ee4ded85a
[ "MIT" ]
null
null
null
classes.py
jared-jorgenson/mini_game
ac73987ac4c32c0e9f521d7bcf8d4d9ee4ded85a
[ "MIT" ]
null
null
null
import pygame class Player(pygame.sprite.Sprite): death = [pygame.image.load('Images/death1.png'), pygame.image.load('Images/death2.png'), pygame.image.load('Images/death3.png'), pygame.image.load('Images/death4.png'), pygame.image.load('Images/death5.png'), pygame.im...
59.833333
121
0.52111
3,460
31,951
4.784971
0.067919
0.132882
0.181203
0.239732
0.864279
0.828038
0.75459
0.74396
0.737376
0.728437
0
0.034365
0.351538
31,951
534
122
59.833333
0.764709
0.000626
0
0.574181
0
0
0.131159
0.060165
0
0
0
0
0
1
0.021195
false
0
0.001927
0
0.069364
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
6b221317ab066084e6a6681c2759fb8660e93351
11,665
py
Python
openGaussBase/testcase/SQL/DCL/Alter_Default_Privileges/Opengauss_Function_Alter_Default_Privileges_Case0016.py
opengauss-mirror/Yat
aef107a8304b94e5d99b4f1f36eb46755eb8919e
[ "MulanPSL-1.0" ]
null
null
null
openGaussBase/testcase/SQL/DCL/Alter_Default_Privileges/Opengauss_Function_Alter_Default_Privileges_Case0016.py
opengauss-mirror/Yat
aef107a8304b94e5d99b4f1f36eb46755eb8919e
[ "MulanPSL-1.0" ]
null
null
null
openGaussBase/testcase/SQL/DCL/Alter_Default_Privileges/Opengauss_Function_Alter_Default_Privileges_Case0016.py
opengauss-mirror/Yat
aef107a8304b94e5d99b4f1f36eb46755eb8919e
[ "MulanPSL-1.0" ]
null
null
null
""" Copyright (c) 2022 Huawei Technologies Co.,Ltd. openGauss is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, W...
55.547619
184
0.598028
1,361
11,665
4.981631
0.14842
0.072566
0.090855
0.088496
0.811799
0.79646
0.792773
0.761799
0.749853
0.735546
0
0.05161
0.323961
11,665
210
185
55.547619
0.808141
0.044921
0
0.603896
0
0.11039
0.800669
0.118052
0
0
0
0
0.045455
1
0.019481
false
0.032468
0.045455
0
0.084416
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
6b2cac513cb8e6260352dc24ccb57b041a317ef9
8,858
py
Python
tests/test_networks.py
UCY-LINC-LAB/5G-Slicer
41e75a6709bc779cb4f3e08484b9ada3911646ed
[ "Apache-2.0" ]
null
null
null
tests/test_networks.py
UCY-LINC-LAB/5G-Slicer
41e75a6709bc779cb4f3e08484b9ada3911646ed
[ "Apache-2.0" ]
null
null
null
tests/test_networks.py
UCY-LINC-LAB/5G-Slicer
41e75a6709bc779cb4f3e08484b9ada3911646ed
[ "Apache-2.0" ]
null
null
null
import unittest from networks.QoS import QoS from networks.connections.mathematical_connections import FunctionalDegradation from networks.slicing import SliceConceptualGraph from utils.location import Location class TestBaseStationLinear(unittest.TestCase): def setUp(self): self.name = "network" ...
47.368984
112
0.634229
1,064
8,858
5.102444
0.079887
0.1317
0.090993
0.124516
0.929821
0.926506
0.92448
0.92448
0.921901
0.899061
0
0.039182
0.210544
8,858
186
113
47.623656
0.737166
0
0
0.902597
0
0
0.108715
0
0
0
0
0
0.253247
1
0.175325
false
0.006494
0.032468
0
0.220779
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
6b3dd632291d2f985432a2f2e2e3bd67cb5c5d46
19,209
py
Python
sdk/python/pulumi_azure/desktopvirtualization/workspace.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
109
2018-06-18T00:19:44.000Z
2022-02-20T05:32:57.000Z
sdk/python/pulumi_azure/desktopvirtualization/workspace.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
663
2018-06-18T21:08:46.000Z
2022-03-31T20:10:11.000Z
sdk/python/pulumi_azure/desktopvirtualization/workspace.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
41
2018-07-19T22:37:38.000Z
2022-03-14T10:56:26.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...
42.781737
221
0.645895
2,249
19,209
5.342374
0.0747
0.086975
0.093217
0.076904
0.862588
0.848273
0.834374
0.823887
0.819642
0.812901
0
0.004706
0.258837
19,209
448
222
42.877232
0.839222
0.37269
0
0.767241
1
0
0.08311
0.006279
0
0
0
0
0
1
0.159483
false
0.00431
0.021552
0
0.275862
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
864a8f3a33d90a7cbe60473e931b29c2b862bbbb
13,719
py
Python
contact/views.py
Dimstella/blockchain-contact-tracing-app-hospitals
e0b2bf2b3b8c06e58032faed99900d1c7b7d300d
[ "MIT" ]
null
null
null
contact/views.py
Dimstella/blockchain-contact-tracing-app-hospitals
e0b2bf2b3b8c06e58032faed99900d1c7b7d300d
[ "MIT" ]
null
null
null
contact/views.py
Dimstella/blockchain-contact-tracing-app-hospitals
e0b2bf2b3b8c06e58032faed99900d1c7b7d300d
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.template import loader from django.http import HttpResponse from django.shortcuts import render, redirect from .models import Patient from django.contrib import messages import pandas as pd from django.contrib.auth.decorators import login_required from web3 import...
56.45679
1,732
0.648954
1,427
13,719
6.179397
0.111423
0.061238
0.119755
0.114312
0.779088
0.742005
0.715468
0.715468
0.709004
0.709004
0
0.033514
0.127852
13,719
242
1,733
56.690083
0.703468
0
0
0.453947
0
0.026316
0.575096
0.529757
0
0
0.021817
0
0
1
0.065789
false
0
0.078947
0
0.223684
0.026316
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
864d2029d6faf1f316dacf9ce08c2da5fefb2cbf
9,735
py
Python
scripts/policy/sdn_single_vm_multiple_policy_topology.py
atsgen/tf-test
2748fcd81491450c75dadc71849d2a1c11061029
[ "Apache-2.0" ]
5
2020-09-29T00:36:57.000Z
2022-02-16T06:51:32.000Z
scripts/policy/sdn_single_vm_multiple_policy_topology.py
atsgen/tf-test
2748fcd81491450c75dadc71849d2a1c11061029
[ "Apache-2.0" ]
27
2019-11-02T02:18:34.000Z
2022-02-24T18:49:08.000Z
scripts/policy/sdn_single_vm_multiple_policy_topology.py
atsgen/tf-test
2748fcd81491450c75dadc71849d2a1c11061029
[ "Apache-2.0" ]
20
2019-11-28T16:02:25.000Z
2022-01-06T05:56:58.000Z
'''*******AUTO-GENERATED TOPOLOGY*********''' from __future__ import print_function from builtins import range from builtins import object from tcutils.util import get_random_name,get_random_cidr class sdn_single_vm_multiple_policy_config(object): def __init__(self, domain='default-domain', project='admin', user...
120.185185
754
0.638007
1,357
9,735
4.308032
0.101695
0.116319
0.174478
0.186794
0.81235
0.79781
0.787205
0.779336
0.768731
0.768731
0
0.022816
0.131073
9,735
80
755
121.6875
0.668282
0.060709
0
0
1
0
0.397477
0
0
0
0
0
0
1
0.02439
false
0.04878
0.121951
0
0.170732
0.097561
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
867b8e99cfbed437050f3b3f92884ccf95f2bf33
6,407
py
Python
loldib/getratings/models/NA/na_talon/na_talon_jng.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_talon/na_talon_jng.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_talon/na_talon_jng.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Talon_Jng_Aatrox(Ratings): pass class NA_Talon_Jng_Ahri(Ratings): pass class NA_Talon_Jng_Akali(Ratings): pass class NA_Talon_Jng_Alistar(Ratings): pass class NA_Talon_Jng_Amumu(Ratings): pass class NA_Talon_Jng_Anivia(Ratings): pass ...
15.364508
46
0.761667
972
6,407
4.59465
0.151235
0.216301
0.370802
0.463502
0.797582
0.797582
0
0
0
0
0
0
0.173404
6,407
416
47
15.401442
0.843278
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
7
86878499d4795f1de654ad30bc93467d3e84cd3c
261
py
Python
novice/python-unit-testing/answers/test_rectangle2.py
Southampton-RSG/2019-03-13-southampton-swc
1f07d82c1bd1f237a19fa7a17bb4765e0364dc88
[ "CC-BY-4.0" ]
1
2021-06-20T11:51:37.000Z
2021-06-20T11:51:37.000Z
novice/python-unit-testing/answers/test_rectangle2.py
Southampton-RSG/2019-03-13-southampton-swc
1f07d82c1bd1f237a19fa7a17bb4765e0364dc88
[ "CC-BY-4.0" ]
1
2019-09-30T21:15:32.000Z
2019-09-30T21:15:32.000Z
novice/python-unit-testing/answers/test_rectangle2.py
Southampton-RSG/2019-03-13-southampton-swc
1f07d82c1bd1f237a19fa7a17bb4765e0364dc88
[ "CC-BY-4.0" ]
null
null
null
from rectangle2 import rectangle_area def test_unit_square(): assert rectangle_area([0, 0, 1, 1]) == 1.0 def test_large_square(): assert rectangle_area([1, 1, 4, 4]) == 9.0 def test_actual_rectangle(): assert rectangle_area([0, 1, 4, 7]) == 24.0
23.727273
47
0.67433
44
261
3.772727
0.409091
0.313253
0.343373
0.301205
0
0
0
0
0
0
0
0.093023
0.176245
261
10
48
26.1
0.67907
0
0
0
0
0
0
0
0
0
0
0
0.428571
1
0.428571
true
0
0.142857
0
0.571429
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
1
0
1
1
0
0
0
1
0
0
7
869a0bbbdd3ad540b61675d429b25b1caee7f14d
38,519
py
Python
tiled-lutnet/training-software/MNIST-CIFAR-SVHN/models/MNIST/scripts/lutnet_init.py
awai54st/LUTNet
81b044f31d1131bee1a7fae41fc4d2fb102ea73a
[ "BSD-2-Clause" ]
38
2019-10-28T10:06:33.000Z
2022-02-21T21:38:39.000Z
tiled-lutnet/training-software/MNIST-CIFAR-SVHN/models/MNIST/scripts/lutnet_init.py
awai54st/LUTNet
81b044f31d1131bee1a7fae41fc4d2fb102ea73a
[ "BSD-2-Clause" ]
null
null
null
tiled-lutnet/training-software/MNIST-CIFAR-SVHN/models/MNIST/scripts/lutnet_init.py
awai54st/LUTNet
81b044f31d1131bee1a7fae41fc4d2fb102ea73a
[ "BSD-2-Clause" ]
13
2019-10-28T10:17:48.000Z
2021-08-10T21:37:11.000Z
import h5py import numpy as np np.set_printoptions(threshold=np.nan) from shutil import copyfile copyfile("dummy_lutnet.h5", "pretrained_bin.h5") # create pretrained.h5 using datastructure from dummy.h5 bl = h5py.File("baseline_pruned.h5", 'r') #dummy = h5py.File("dummy.h5", 'r') pretrained = h5py.File("pretrained_b...
47.731103
192
0.749708
6,429
38,519
4.030642
0.024265
0.157913
0.162158
0.165091
0.988307
0.987188
0.987188
0.984255
0.982904
0.97152
0
0.064803
0.066565
38,519
806
193
47.790323
0.655903
0.013785
0
0.646889
0
0
0.345126
0.044254
0
0
0
0
0
1
0
false
0
0.004342
0
0.004342
0.008683
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
86a2581b9feb29958228bc644f88e652dbe7a0fa
38
py
Python
Ex029 Aula 11-Cores no Terminal.py
andersontmachado/ExerciciosPython
ebd93eb4127dadedee8b719ccc4bc20fc151d0ad
[ "MIT" ]
1
2020-04-30T14:47:15.000Z
2020-04-30T14:47:15.000Z
Ex029 Aula 11-Cores no Terminal.py
andersontmachado/exerciciospython
ebd93eb4127dadedee8b719ccc4bc20fc151d0ad
[ "MIT" ]
null
null
null
Ex029 Aula 11-Cores no Terminal.py
andersontmachado/exerciciospython
ebd93eb4127dadedee8b719ccc4bc20fc151d0ad
[ "MIT" ]
null
null
null
print('\033[7;30mOla mundo\033[m!!!')
19
37
0.631579
7
38
3.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0.25
0.052632
38
1
38
38
0.416667
0
0
0
0
0
0.736842
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
8
86a72a80401e7713121d2f9ca2a2d2dc62069b97
16,684
py
Python
PaddleCV/tracking/pytracking/features/deep.py
weiwei1115/models
e2c96c5f64b1dc8f0d5d9aa121300b87150e11e3
[ "Apache-2.0" ]
2
2021-05-15T07:35:04.000Z
2021-07-15T07:01:13.000Z
PaddleCV/tracking/pytracking/features/deep.py
weiwei1115/models
e2c96c5f64b1dc8f0d5d9aa121300b87150e11e3
[ "Apache-2.0" ]
null
null
null
PaddleCV/tracking/pytracking/features/deep.py
weiwei1115/models
e2c96c5f64b1dc8f0d5d9aa121300b87150e11e3
[ "Apache-2.0" ]
4
2021-08-11T08:25:10.000Z
2021-10-16T07:41:59.000Z
import os import numpy as np from paddle import fluid from ltr.models.bbreg.atom import atom_resnet50, atom_resnet18 from ltr.models.siamese.siam import siamfc_alexnet from ltr.models.siam.siam import SiamRPN_AlexNet, SiamMask_ResNet50_sharp, SiamMask_ResNet50_base from pytracking.admin.environment import env...
33.705051
98
0.552805
1,934
16,684
4.539814
0.089452
0.055011
0.033827
0.016401
0.899544
0.890774
0.890774
0.882574
0.880296
0.880296
0
0.022499
0.35531
16,684
494
99
33.773279
0.79379
0.100815
0
0.850144
0
0
0.03096
0.00523
0
0
0
0
0
1
0.086455
false
0
0.028818
0.017291
0.167147
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
86b35f885b38c215bfc2684f695ba3ae9b742e9a
9,347
py
Python
pandapower/test/opf/test_costs_pwl.py
mathildebadoual/pandapower
9ba4bcb78e84b644d2ba6df0c08e285c54af8ddc
[ "BSD-3-Clause" ]
1
2020-10-19T06:39:15.000Z
2020-10-19T06:39:15.000Z
pandapower/test/opf/test_costs_pwl.py
miek770/pandapower
de004efc1b7432a633792af4f551f7635a02db47
[ "BSD-3-Clause" ]
null
null
null
pandapower/test/opf/test_costs_pwl.py
miek770/pandapower
de004efc1b7432a633792af4f551f7635a02db47
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2016-2018 by University of Kassel and Fraunhofer Institute for Energy Economics # and Energy System Technology (IEE), Kassel. All rights reserved. import numpy as np import pytest from pandapower.optimal_powerflow import OPFNotConverged import pandapower as pp try: impo...
37.09127
99
0.644378
1,603
9,347
3.436057
0.091703
0.091503
0.034858
0.040668
0.904139
0.896514
0.876725
0.871097
0.855301
0.855301
0
0.079405
0.230662
9,347
251
100
37.239044
0.686553
0.135552
0
0.732877
0
0
0.026355
0
0
0
0
0
0.10274
1
0.054795
false
0
0.047945
0
0.10274
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
86c0f5e44bffc70a506881987c3f56e4e3ef7cdd
30,797
py
Python
tests/contrib/flask/test_request.py
thieman/dd-trace-py
1e87c9bdf7769032982349c4ccc0e1c2e6866a16
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
tests/contrib/flask/test_request.py
thieman/dd-trace-py
1e87c9bdf7769032982349c4ccc0e1c2e6866a16
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
tests/contrib/flask/test_request.py
thieman/dd-trace-py
1e87c9bdf7769032982349c4ccc0e1c2e6866a16
[ "Apache-2.0", "BSD-3-Clause" ]
1
2021-02-11T10:20:14.000Z
2021-02-11T10:20:14.000Z
# -*- coding: utf-8 -*- from ddtrace.compat import PY2 from ddtrace.constants import ANALYTICS_SAMPLE_RATE_KEY from ddtrace.contrib.flask.patch import flask_version from ddtrace.ext import http from ddtrace.propagation.http import HTTP_HEADER_TRACE_ID, HTTP_HEADER_PARENT_ID from flask import abort from . import BaseFl...
39.892487
117
0.618437
3,558
30,797
5.149522
0.058179
0.153913
0.071717
0.087654
0.925718
0.908634
0.8969
0.891169
0.877906
0.861587
0
0.016762
0.273566
30,797
771
118
39.944228
0.802208
0.103517
0
0.797794
0
0.001838
0.194158
0.11455
0
0
0
0
0.455882
1
0.051471
false
0
0.014706
0.018382
0.086397
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
86cf3a0a9a0e45685f04435a33dcecfd088782c9
12,924
py
Python
melodic/lib/python2.7/dist-packages/gazebo_msgs/srv/_GetLinkProperties.py
Dieptranivsr/Ros_Diep
d790e75e6f5da916701b11a2fdf3e03b6a47086b
[ "MIT" ]
null
null
null
melodic/lib/python2.7/dist-packages/gazebo_msgs/srv/_GetLinkProperties.py
Dieptranivsr/Ros_Diep
d790e75e6f5da916701b11a2fdf3e03b6a47086b
[ "MIT" ]
1
2021-07-08T10:26:06.000Z
2021-07-08T10:31:11.000Z
melodic/lib/python2.7/dist-packages/gazebo_msgs/srv/_GetLinkProperties.py
Dieptranivsr/Ros_Diep
d790e75e6f5da916701b11a2fdf3e03b6a47086b
[ "MIT" ]
null
null
null
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from gazebo_msgs/GetLinkPropertiesRequest.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class GetLinkPropertiesRequest(genpy.Message): _md5sum = "7d82d6...
37.031519
284
0.638502
1,769
12,924
4.496891
0.120972
0.014079
0.03017
0.019107
0.763042
0.763042
0.74758
0.74758
0.74758
0.74758
0
0.020024
0.227174
12,924
348
285
37.137931
0.776432
0.192355
0
0.763052
1
0
0.213005
0.046007
0
0
0.001992
0
0
1
0.060241
false
0
0.036145
0
0.208835
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
811a461fc321525abd67f11d9522903e94b00815
3,067
py
Python
2017/adv2017-1.py
fcharlier/AdventOfCode
6b2765da9e4d6f6b1f201897bb56043482a65bb2
[ "WTFPL" ]
null
null
null
2017/adv2017-1.py
fcharlier/AdventOfCode
6b2765da9e4d6f6b1f201897bb56043482a65bb2
[ "WTFPL" ]
null
null
null
2017/adv2017-1.py
fcharlier/AdventOfCode
6b2765da9e4d6f6b1f201897bb56043482a65bb2
[ "WTFPL" ]
null
null
null
#!/usr/bin/python def meh(captcha): """Returns the sum of the digits which match the next one in the captcha input string. >>> meh('1122') 3 >>> meh('1111') 4 >>> meh('1234') 0 >>> meh('91212129') 9 """ result = 0 for n in range(len(captcha)): if captcha[n]...
61.34
2,134
0.852625
125
3,067
20.856
0.384
0.018412
0.013042
0.015343
0.121979
0.121979
0.121979
0.121979
0.09206
0.09206
0
0.790824
0.097489
3,067
49
2,135
62.591837
0.151012
0.005217
0
0.5
0
0
0.818462
0.815385
0
1
0
0
0
0
null
null
0
0
null
null
0.125
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
1
1
null
1
0
0
0
1
0
0
0
0
0
0
0
0
8
81367db3d2084fd41d74cdefdf3b14a53b5730ea
46,827
py
Python
scripts/misc/operator_condition_number_scipy.py
volpatto/firedrake_scripts
ba9c935bb0c9a6bbc6de69f476e42ad0ea8bb1c6
[ "MIT" ]
5
2019-01-19T14:18:51.000Z
2022-02-10T14:22:12.000Z
scripts/misc/operator_condition_number_scipy.py
volpatto/firedrake_scripts
ba9c935bb0c9a6bbc6de69f476e42ad0ea8bb1c6
[ "MIT" ]
null
null
null
scripts/misc/operator_condition_number_scipy.py
volpatto/firedrake_scripts
ba9c935bb0c9a6bbc6de69f476e42ad0ea8bb1c6
[ "MIT" ]
1
2021-06-14T07:32:26.000Z
2021-06-14T07:32:26.000Z
import attr from firedrake import * import numpy as np import matplotlib.pyplot as plt import matplotlib from scipy.linalg import svd from scipy.sparse.linalg import svds from scipy.sparse import csr_matrix from slepc4py import SLEPc import pandas as pd from tqdm import tqdm import os matplotlib.use('Agg') @attr.s c...
30.807237
114
0.617528
6,697
46,827
4.13409
0.067045
0.024561
0.025572
0.013725
0.813805
0.793289
0.780214
0.768005
0.75847
0.749151
0
0.015045
0.247699
46,827
1,520
115
30.807237
0.770864
0.20044
0
0.745303
0
0
0.035617
0.002186
0
0
0
0
0
1
0.022965
false
0
0.012526
0
0.06785
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
d4d711198a223af0615e717b95a37866d231b085
1,242
py
Python
ex035A11.py
gabrieleliasdev/python-cev
45390963b5112a982e673f6a6866da422bf9ae6d
[ "MIT" ]
null
null
null
ex035A11.py
gabrieleliasdev/python-cev
45390963b5112a982e673f6a6866da422bf9ae6d
[ "MIT" ]
null
null
null
ex035A11.py
gabrieleliasdev/python-cev
45390963b5112a982e673f6a6866da422bf9ae6d
[ "MIT" ]
null
null
null
print('\033[0;33;44mTeste\033[m') print('\033[4;33;44mTeste\033[m') print('\033[1;35;43mTeste\033[m') print('\033[7;32;40mTeste\033[m') print('\033[7;30mTeste\033[m') print(" - - - Testando os 40 - - -") print("\033[0;37;40mPreto\033[m") print("\033[0;30;41mVermelho\033[m") print("\033[0;30;42mVerde\033[m") print("\03...
33.567568
46
0.665056
239
1,242
3.456067
0.188285
0.309927
0.337772
0.40678
0.690073
0.584746
0.133172
0.077482
0.077482
0.077482
0
0.302128
0.053945
1,242
37
47
33.567568
0.400851
0
0
0.057143
0
0
0.716814
0.567981
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
1
0
9
be0006e92a529db72d1a914a113e9040dbe56c1e
48,343
py
Python
test/sec_full.py
time-track-tool/time-track-tool
a1c280f32a7766e460c862633b748fa206256f24
[ "MIT" ]
null
null
null
test/sec_full.py
time-track-tool/time-track-tool
a1c280f32a7766e460c862633b748fa206256f24
[ "MIT" ]
1
2019-07-03T13:32:38.000Z
2019-07-03T13:32:38.000Z
test/sec_full.py
time-track-tool/time-track-tool
a1c280f32a7766e460c862633b748fa206256f24
[ "MIT" ]
1
2019-05-15T16:01:31.000Z
2019-05-15T16:01:31.000Z
security = """ New Web users get the Roles "User,Nosy" New Email users get the Role "User" Role "admin": User may access the rest interface (Rest Access) User may access the web interface (Web Access) User may access the xmlrpc interface (Xmlrpc Access) User may create everything (Create) User may edit everything ...
83.063574
690
0.762034
7,854
48,343
4.555895
0.043672
0.078475
0.164217
0.207143
0.850064
0.833799
0.812224
0.75728
0.665446
0.621653
0
0
0.150632
48,343
581
691
83.20654
0.871435
0
0
0.430293
0
0.146299
0.999441
0.03229
0
0
0
0
0
1
0
false
0.006885
0
0
0
0
0
0
0
null
0
0
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
be19a958423363abc9e04beed1c7e6d4e8b02233
8,562
py
Python
examples/python/oled_ssd1327.py
whpenner/upm
3168c61d8613da62ecc7598517a1decf533d5fe7
[ "MIT" ]
1
2017-09-22T01:41:30.000Z
2017-09-22T01:41:30.000Z
bsp/intel/peripheral/libupm/examples/python/oled_ssd1327.py
Keneral/ahardware
9a8a025f7c9471444c9e271bbe7f48182741d710
[ "Unlicense" ]
null
null
null
bsp/intel/peripheral/libupm/examples/python/oled_ssd1327.py
Keneral/ahardware
9a8a025f7c9471444c9e271bbe7f48182741d710
[ "Unlicense" ]
1
2018-02-24T19:09:04.000Z
2018-02-24T19:09:04.000Z
#!/usr/bin/python # Author: Zion Orent <zorent@ics.com> # Copyright (c) 2015 Intel Corporation. # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limi...
45.063158
77
0.68512
1,407
8,562
4.165601
0.176972
0.939089
1.28374
1.572428
0.614912
0.599215
0.586931
0.552124
0.518683
0.462037
0
0.454151
0.165732
8,562
189
78
45.301587
0.366373
0.141789
0
0.375796
0
0
0.002458
0
0
0
0.629711
0
0
0
null
null
0
0.012739
null
null
0.006369
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
1
0
0
1
0
0
0
0
0
0
0
0
7
ed2ce29f604f771e38af6d30ffbe09233cdd48b6
9,956
py
Python
Protein-ligand-binding/TopBio/Feature/LigandFeature.py
WeilabMSU/TopologyNet
4f4d13cec7e50624b43990c863dd84b8bbf359d8
[ "MIT" ]
1
2021-12-09T02:38:53.000Z
2021-12-09T02:38:53.000Z
Protein-ligand-binding/TopBio/Feature/LigandFeature.py
WeilabMSU/TopologyNet
4f4d13cec7e50624b43990c863dd84b8bbf359d8
[ "MIT" ]
null
null
null
Protein-ligand-binding/TopBio/Feature/LigandFeature.py
WeilabMSU/TopologyNet
4f4d13cec7e50624b43990c863dd84b8bbf359d8
[ "MIT" ]
1
2021-12-09T02:38:54.000Z
2021-12-09T02:38:54.000Z
import numpy as np import pickle import os def GenerateFeature_alpha(ligand_name, working_dir): Cut = 12.0 LIGELE = ['C','N','O','S','CN','CO','CS','NO','NS','OS','CCl','CBr','CP','CF','CNO','CNS','COS','NOS','CNOS','CNOSPFClBrI','H','CH','NH','OH','SH','CNH','COH','CSH','NOH','NSH','OSH','CNOH','CNSH','COSH'...
49.78
264
0.518682
1,108
9,956
4.541516
0.106498
0.158983
0.233704
0.222576
0.925278
0.919316
0.901828
0.889905
0.889905
0.889905
0
0.042868
0.313479
9,956
199
265
50.030151
0.693343
0
0
0.863158
1
0
0.037063
0.00683
0
0
0
0
0
1
0.010526
false
0
0.015789
0
0.026316
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
ed585ed9b9e64b5cd7e7fef27facda2ab0843b74
4,320
py
Python
tests/molecular/molecules/molecule/fixtures/cof/periodic_kagome.py
andrewtarzia/stk
1ac2ecbb5c9940fe49ce04cbf5603fd7538c475a
[ "MIT" ]
21
2018-04-12T16:25:24.000Z
2022-02-14T23:05:43.000Z
tests/molecular/molecules/molecule/fixtures/cof/periodic_kagome.py
JelfsMaterialsGroup/stk
0d3e1b0207aa6fa4d4d5ee8dfe3a29561abb08a2
[ "MIT" ]
8
2019-03-19T12:36:36.000Z
2020-11-11T12:46:00.000Z
tests/molecular/molecules/molecule/fixtures/cof/periodic_kagome.py
supramolecular-toolkit/stk
0d3e1b0207aa6fa4d4d5ee8dfe3a29561abb08a2
[ "MIT" ]
5
2018-08-07T13:00:16.000Z
2021-11-01T00:55:10.000Z
import pytest import stk from ...case_data import CaseData @pytest.fixture( scope='session', params=( lambda name: CaseData( molecule=stk.ConstructedMolecule( topology_graph=stk.cof.PeriodicKagome( building_blocks=( stk.BuildingB...
45.473684
71
0.344907
682
4,320
2.164223
0.140762
0.075881
0.093496
0.02168
0.867209
0.867209
0.867209
0.867209
0.867209
0.867209
0
0.145964
0.371991
4,320
94
72
45.957447
0.398083
0
0
0.868132
0
0.373626
0.43125
0.417593
0
0
0
0
0
1
0.010989
false
0
0.032967
0.010989
0.054945
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
ed5bad05b400253943df833d896315c0be535899
19,288
py
Python
test/unit/test_som_rom_parser.py
CospanDesign/nysa
ffe07f0b8fe2f6217e7a862d89b80f1b17163be9
[ "MIT" ]
15
2015-08-31T20:50:39.000Z
2022-03-13T08:56:39.000Z
test/unit/test_som_rom_parser.py
CospanDesign/nysa
ffe07f0b8fe2f6217e7a862d89b80f1b17163be9
[ "MIT" ]
5
2015-05-02T16:48:57.000Z
2017-06-15T16:25:34.000Z
test/unit/test_som_rom_parser.py
CospanDesign/nysa
ffe07f0b8fe2f6217e7a862d89b80f1b17163be9
[ "MIT" ]
6
2016-09-02T16:02:13.000Z
2021-06-29T22:29:45.000Z
#!/usr/bin/python import unittest import json import sys import os import string sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir)) from nysa.cbuilder import sdb_component as sdbc from nysa.cbuilder import sdb_object_model as som ...
27.792507
169
0.506999
2,144
19,288
4.387127
0.097015
0.209547
0.23283
0.298533
0.868063
0.824793
0.816606
0.80438
0.792367
0.777801
0
0.287109
0.352084
19,288
693
170
27.832612
0.465552
0.020479
0
0.875399
0
0
0.252728
0
0
0
0.01591
0
0.007987
0
null
null
0.001597
0.023962
null
null
0.039936
0
0
0
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
13
ed83e8c908ff960c5bf16835dd114bff6b5f51a1
123
py
Python
src/GalaxyDynamicsFromVc/units.py
pabferde/galaxy_dynamics_from_Vc
7232f7bfd6d2338bcec3bbf87478f7a482c749ef
[ "MIT" ]
null
null
null
src/GalaxyDynamicsFromVc/units.py
pabferde/galaxy_dynamics_from_Vc
7232f7bfd6d2338bcec3bbf87478f7a482c749ef
[ "MIT" ]
null
null
null
src/GalaxyDynamicsFromVc/units.py
pabferde/galaxy_dynamics_from_Vc
7232f7bfd6d2338bcec3bbf87478f7a482c749ef
[ "MIT" ]
null
null
null
_Msun_kpc3_to_GeV_cm3_factor = 0.3/8.0e6 def Msun_kpc3_to_GeV_cm3(value): return value*_Msun_kpc3_to_GeV_cm3_factor
17.571429
45
0.821138
25
123
3.4
0.52
0.282353
0.352941
0.458824
0.705882
0.517647
0
0
0
0
0
0.100917
0.113821
123
6
46
20.5
0.678899
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
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
1
1
0
0
8
9c10d305e4f704dfba7fd0b5306c365d4671b49e
41,012
py
Python
services/storage/client-sdk/python/simcore_service_storage_sdk/api/users_api.py
KZzizzle/osparc-simcore
981bc8d193f3f5d507e3225f857e0308c339e163
[ "MIT" ]
null
null
null
services/storage/client-sdk/python/simcore_service_storage_sdk/api/users_api.py
KZzizzle/osparc-simcore
981bc8d193f3f5d507e3225f857e0308c339e163
[ "MIT" ]
17
2020-10-15T16:06:05.000Z
2022-03-21T18:48:21.000Z
services/storage/client-sdk/python/simcore_service_storage_sdk/api/users_api.py
Surfict/osparc-simcore
1e0b89574ec17ecb089674f9e5daa83d624430c8
[ "MIT" ]
null
null
null
# coding: utf-8 """ simcore-service-storage API API definition for simcore-service-storage service # noqa: E501 OpenAPI spec version: 0.1.0 Contact: support@simcore.io Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import re # noqa: F401 # python 2 a...
41.552178
127
0.624768
4,943
41,012
4.867085
0.039247
0.05786
0.090781
0.027933
0.950578
0.946671
0.937443
0.93021
0.921357
0.914166
0
0.015276
0.286526
41,012
986
128
41.59432
0.80691
0.296816
0
0.782528
1
0
0.197137
0.040822
0
0
0
0
0
1
0.035316
false
0
0.007435
0
0.094796
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
9c2605f1809d64546c20b13c622af83a1ba7e6e8
210
py
Python
cymbology/identifiers/__init__.py
pmart123/security_id
95087be9525ab8d2fd47baa93f83aaa30e76bb54
[ "BSD-2-Clause" ]
12
2015-09-15T17:17:39.000Z
2015-09-16T18:18:52.000Z
cymbology/identifiers/__init__.py
MartinThoma/cymbology
95087be9525ab8d2fd47baa93f83aaa30e76bb54
[ "BSD-2-Clause" ]
5
2017-09-15T21:22:07.000Z
2021-08-19T09:15:59.000Z
cymbology/identifiers/__init__.py
pmart123/security_id
95087be9525ab8d2fd47baa93f83aaa30e76bb54
[ "BSD-2-Clause" ]
1
2021-08-19T09:12:59.000Z
2021-08-19T09:12:59.000Z
from cymbology.identifiers.sedol import Sedol from cymbology.identifiers.cusip import Cusip, cusip_from_isin from cymbology.identifiers.isin import Isin __all__ = ('Sedol', 'Cusip', 'cusip_from_isin', 'Isin')
35
62
0.804762
28
210
5.75
0.285714
0.242236
0.447205
0.223602
0
0
0
0
0
0
0
0
0.095238
210
5
63
42
0.847368
0
0
0
0
0
0.138095
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
139d4a4bd97d70f26bdab675ca59d3c9590754fc
746
py
Python
tests/test_provider_Mongey_kafka_connect.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
tests/test_provider_Mongey_kafka_connect.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
tests/test_provider_Mongey_kafka_connect.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# tests/test_provider_Mongey_kafka-connect.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:20:11 UTC) def test_provider_import(): import terrascript.provider.Mongey.kafka_connect def test_resource_import(): from terrascript.resource.Mongey.kafka_connect import kafka_connect_connector # T...
29.84
81
0.758713
103
746
5.330097
0.563107
0.174863
0.163934
0.189435
0.224044
0.156648
0
0
0
0
0
0.023548
0.146113
746
24
82
31.083333
0.838305
0.698391
0
0
1
0
0
0
0
0
0
0.041667
0
1
0.5
true
0
1
0
1.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
1
1
0
1
0
1
0
0
7
13a86b3246874d1785eb144fa791b1d302c19c30
60,991
py
Python
ross/stochastic/st_results.py
JuliaMota/ross
88c2fa69d9a583dcdc33eab8deb35c797ebf4ef8
[ "MIT" ]
null
null
null
ross/stochastic/st_results.py
JuliaMota/ross
88c2fa69d9a583dcdc33eab8deb35c797ebf4ef8
[ "MIT" ]
null
null
null
ross/stochastic/st_results.py
JuliaMota/ross
88c2fa69d9a583dcdc33eab8deb35c797ebf4ef8
[ "MIT" ]
null
null
null
"""STOCHASTIC ROSS plotting module. This module returns graphs for each type of analyses in st_rotor_assembly.py. """ import numpy as np from plotly import express as px from plotly import graph_objects as go from plotly import io as pio from plotly.subplots import make_subplots from ross.plotly_theme import tableau_...
36.763713
92
0.480202
6,504
60,991
4.424816
0.057349
0.029188
0.020779
0.016262
0.898155
0.880051
0.850481
0.824977
0.803954
0.763543
0
0.025359
0.403879
60,991
1,658
93
36.785887
0.766186
0.228066
0
0.7507
0
0
0.094922
0.003401
0
0
0
0
0
1
0.016807
false
0
0.005602
0
0.039216
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
13be33895810fafc0b133ddfa170c7d200a7bd44
56
py
Python
json_schema_checker/composed/__init__.py
zorgulle/json_schema_checker
20cac68f899528619e5059f0e1fbee0a0f7219d6
[ "MIT" ]
null
null
null
json_schema_checker/composed/__init__.py
zorgulle/json_schema_checker
20cac68f899528619e5059f0e1fbee0a0f7219d6
[ "MIT" ]
null
null
null
json_schema_checker/composed/__init__.py
zorgulle/json_schema_checker
20cac68f899528619e5059f0e1fbee0a0f7219d6
[ "MIT" ]
null
null
null
from .composed import List from .composed import IntList
28
29
0.839286
8
56
5.875
0.625
0.510638
0.765957
0
0
0
0
0
0
0
0
0
0.125
56
2
29
28
0.959184
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
13d92122cdb041cef0407b7567e1db27fbf5978f
676
py
Python
emoji/coffee.py
wbprice/ojimoji
7b1a8b5ed0062d1d52e151e7412e1131e3de7924
[ "MIT" ]
null
null
null
emoji/coffee.py
wbprice/ojimoji
7b1a8b5ed0062d1d52e151e7412e1131e3de7924
[ "MIT" ]
null
null
null
emoji/coffee.py
wbprice/ojimoji
7b1a8b5ed0062d1d52e151e7412e1131e3de7924
[ "MIT" ]
null
null
null
import numpy h = .25 s = 1 bitmap = numpy.array([ [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0], [0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0], [0,0,1,1,1,0,1,0,1,1,1,0,0,1,0,0], [0,0,1,1,0,1,0,1,0,1,1,0,0,1,0,...
30.727273
39
0.426036
265
676
1.086792
0.033962
1.118056
1.552083
1.930556
0.888889
0.888889
0.888889
0.881944
0.881944
0.881944
0
0.443493
0.136095
676
21
40
32.190476
0.049658
0
0
0.3
0
0
0
0
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0
0
0
1
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
b9887b38cf06939bc8dd710e9861e2366862482a
3,120
py
Python
firelight/interfaces/light.py
roshie548/firelight
3a5af5e2a1e5784127baebcf1517ffddcaff4062
[ "MIT" ]
16
2021-11-29T03:05:31.000Z
2022-01-19T05:32:45.000Z
firelight/interfaces/light.py
roshie548/firelight
3a5af5e2a1e5784127baebcf1517ffddcaff4062
[ "MIT" ]
null
null
null
firelight/interfaces/light.py
roshie548/firelight
3a5af5e2a1e5784127baebcf1517ffddcaff4062
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from .color import Color class LightSystem(ABC): @classmethod def __subclasshook__(cls, subclass): return (hasattr(subclass, 'set_transition_time') and callable(subclass.set_transition_time) and hasattr(subclass, 'discover_lights') ...
32.842105
77
0.641026
333
3,120
5.822823
0.138138
0.068076
0.107788
0.169159
0.856627
0.814853
0.814853
0.814853
0.814853
0.772047
0
0
0.277885
3,120
94
78
33.191489
0.86063
0.148077
0
0.833333
0
0
0.053805
0
0
0
0
0
0
1
0.212121
false
0
0.030303
0.045455
0.333333
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
1
0
0
0
0
0
0
0
9
b9dc15c3ca6876833207138ba4d65fbd0be25acd
61,341
py
Python
tests/integration/test_streaming_e2e.py
cfogg/python-client
40e6891c8240e6b2acd5df538e622e9f15de43d6
[ "Apache-2.0" ]
null
null
null
tests/integration/test_streaming_e2e.py
cfogg/python-client
40e6891c8240e6b2acd5df538e622e9f15de43d6
[ "Apache-2.0" ]
null
null
null
tests/integration/test_streaming_e2e.py
cfogg/python-client
40e6891c8240e6b2acd5df538e622e9f15de43d6
[ "Apache-2.0" ]
null
null
null
"""Streaming integration tests.""" # pylint:disable=no-self-use,invalid-name,too-many-arguments,too-few-public-methods,line-too-long # pylint:disable=too-many-statements,too-many-locals,too-many-lines import threading import time import json from queue import Queue from splitio.client.factory import get_factory from te...
43.137131
115
0.600887
5,530
61,341
6.487523
0.065461
0.051929
0.046159
0.044236
0.922232
0.916072
0.90509
0.900045
0.892519
0.891125
0
0.039155
0.285959
61,341
1,421
116
43.167488
0.779932
0.07517
0
0.843049
0
0
0.323108
0.199537
0
0
0
0
0.268161
1
0.013453
false
0
0.008969
0
0.03139
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
b9e0c71df07f6cc03e495d11899558d7e577552a
3,803
py
Python
repos/system_upgrade/common/actors/systemfacts/tests/test_systemfacts_selinux.py
sm00th/leapp-repository
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
[ "Apache-2.0" ]
21
2018-11-20T15:58:39.000Z
2022-03-15T19:57:24.000Z
repos/system_upgrade/common/actors/systemfacts/tests/test_systemfacts_selinux.py
sm00th/leapp-repository
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
[ "Apache-2.0" ]
732
2018-11-21T18:33:26.000Z
2022-03-31T16:16:24.000Z
repos/system_upgrade/common/actors/systemfacts/tests/test_systemfacts_selinux.py
sm00th/leapp-repository
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
[ "Apache-2.0" ]
85
2018-11-20T17:55:00.000Z
2022-03-29T09:40:31.000Z
import warnings import pytest from leapp.libraries.actor.systemfacts import get_selinux_status from leapp.models import SELinuxFacts no_selinux = False try: import selinux except ImportError: no_selinux = True warnings.warn( 'Tests which uses `selinux` will be skipped' ' due to library un...
38.414141
83
0.674993
400
3,803
6.1675
0.1925
0.145926
0.202675
0.094852
0.80381
0.80381
0.803405
0.733279
0.733279
0.733279
0
0.007343
0.212201
3,803
98
84
38.806122
0.816088
0.048383
0
0.617647
0
0
0.23412
0.073075
0
0
0
0.010204
0.058824
1
0.073529
false
0
0.102941
0
0.191176
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
1
0
0
0
0
0
0
0
0
0
0
8
b9ffed8a41299969ab07da01999635758df5ba4f
11,469
py
Python
utils/data_loader.py
elieser1101/loglizer
985c5f582fbbe4d6365184086ac091134a5b5d07
[ "MIT" ]
null
null
null
utils/data_loader.py
elieser1101/loglizer
985c5f582fbbe4d6365184086ac091134a5b5d07
[ "MIT" ]
null
null
null
utils/data_loader.py
elieser1101/loglizer
985c5f582fbbe4d6365184086ac091134a5b5d07
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Shilin He' import pandas as pd import os import numpy as np def hdfs_data_loader(para): """ load the log sequence matrix and labels from the file path. Args: -------- para: the parameters dictionary Returns: -------- raw_data: log sequences matrix...
38.877966
168
0.717674
1,839
11,469
4.231104
0.114193
0.049351
0.045238
0.043696
0.909009
0.89243
0.887033
0.882534
0.870582
0.859273
0
0.007697
0.150405
11,469
294
169
39.010204
0.790846
0.300201
0
0.744444
0
0
0.148532
0
0
0
0
0
0.027778
1
0.027778
false
0
0.016667
0
0.072222
0.077778
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
6a07ddc6734dd5ce8f0853fa4326c144429dfb84
5,214
py
Python
imgaug/augmenters/flip.py
pAoenix/image-Augmented
4acaa7dc48c6167c1716e39e9e78b1cea2067b4a
[ "MIT" ]
1
2020-12-30T02:48:40.000Z
2020-12-30T02:48:40.000Z
imgaug/augmenters/flip.py
pAoenix/image-Augmented
4acaa7dc48c6167c1716e39e9e78b1cea2067b4a
[ "MIT" ]
null
null
null
imgaug/augmenters/flip.py
pAoenix/image-Augmented
4acaa7dc48c6167c1716e39e9e78b1cea2067b4a
[ "MIT" ]
2
2020-01-14T14:29:49.000Z
2021-02-20T07:47:02.000Z
""" Augmenters that apply mirroring/flipping operations to images. Do not import directly from this file, as the categorization is not final. Use instead :: from imgaug import augmenters as iaa and then e.g. :: seq = iaa.Sequential([ iaa.Fliplr((0.0, 1.0)), iaa.Flipud((0.0, 1.0)) ]) Lis...
32.185185
103
0.652091
653
5,214
4.967841
0.194487
0.088163
0.041924
0.054254
0.809494
0.809494
0.809494
0.809494
0.781134
0.781134
0
0.010194
0.247411
5,214
161
104
32.385093
0.816514
0.325086
0
0.753623
0
0
0.000597
0
0
0
0
0
0
1
0.144928
false
0
0.072464
0.028986
0.362319
0.014493
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
6a0e0bcfcfbc438530da36eb95d62a35b14a3931
33,998
py
Python
modules/platforms/python/pyignite/api/key_value.py
DirectXceriD/gridgain
093e512a9147e266f83f6fe1cf088c0b037b501c
[ "Apache-2.0", "CC0-1.0" ]
1
2019-03-11T08:52:37.000Z
2019-03-11T08:52:37.000Z
modules/platforms/python/pyignite/api/key_value.py
DirectXceriD/gridgain
093e512a9147e266f83f6fe1cf088c0b037b501c
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
modules/platforms/python/pyignite/api/key_value.py
DirectXceriD/gridgain
093e512a9147e266f83f6fe1cf088c0b037b501c
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
# GridGain Community Edition Licensing # Copyright 2019 GridGain Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause # Restriction; you may not use this file except in compliance with the License. You may obtain a # copy of th...
33.561698
100
0.62789
4,460
33,998
4.687444
0.063453
0.035157
0.021142
0.017937
0.869846
0.862336
0.851287
0.845642
0.840381
0.834593
0
0.002955
0.283399
33,998
1,012
101
33.594862
0.855149
0.502265
0
0.725455
0
0
0.086419
0
0
0
0
0
0
1
0.038182
false
0
0.010909
0
0.089091
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
6a2c1076d5d797f1927b5d8d8d4594e8e5c92647
9,615
py
Python
fast_fine_tuna/fast_fine_tuna.py
vinid/fast_fine_tuna
2d128f58df0407448cdb2e179972573afa7ac636
[ "MIT" ]
null
null
null
fast_fine_tuna/fast_fine_tuna.py
vinid/fast_fine_tuna
2d128f58df0407448cdb2e179972573afa7ac636
[ "MIT" ]
null
null
null
fast_fine_tuna/fast_fine_tuna.py
vinid/fast_fine_tuna
2d128f58df0407448cdb2e179972573afa7ac636
[ "MIT" ]
null
null
null
from transformers import AutoModel, AutoModelForSequenceClassification, AutoTokenizer, AutoConfig from sklearn.model_selection import StratifiedKFold import numpy as np import torch from fast_fine_tuna.dataset import MainDatasetDouble, MainDataset from transformers import AdamW from torch.utils.data import DataLoader i...
40.914894
114
0.615081
1,121
9,615
5.048171
0.123104
0.055133
0.044531
0.024386
0.816399
0.810214
0.797844
0.797844
0.785828
0.753137
0
0.005835
0.287051
9,615
234
115
41.089744
0.819694
0.011336
0
0.718391
0
0
0.022098
0
0
0
0
0
0
1
0.034483
false
0
0.063218
0
0.12069
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
6a4363b0709ea506c58a60f1aaca731beda241f8
5,631
py
Python
ktrain/graph/learner.py
husmen/ktrain
4147b0bd146deb513c6f94505908294a5163efac
[ "Apache-2.0" ]
1,013
2019-06-04T14:25:24.000Z
2022-03-26T05:52:00.000Z
ktrain/graph/learner.py
husmen/ktrain
4147b0bd146deb513c6f94505908294a5163efac
[ "Apache-2.0" ]
427
2019-06-17T13:45:50.000Z
2022-03-25T16:23:49.000Z
ktrain/graph/learner.py
husmen/ktrain
4147b0bd146deb513c6f94505908294a5163efac
[ "Apache-2.0" ]
272
2019-06-05T03:19:07.000Z
2022-03-28T02:23:37.000Z
from ..imports import * from .. import utils as U from ..core import GenLearner class NodeClassLearner(GenLearner): """ ``` Main class used to tune and train Keras models for node classification Main parameters are: model (Model): A compiled instance of keras.engine.training.Model train_dat...
35.19375
96
0.582845
704
5,631
4.517045
0.215909
0.044025
0.026415
0.026415
0.958491
0.958491
0.958491
0.958491
0.958491
0.958491
0
0.006954
0.335997
5,631
159
97
35.415094
0.843541
0.43154
0
0.897959
0
0
0.107653
0.016111
0
0
0
0
0
1
0.122449
false
0
0.061224
0
0.306122
0.081633
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
dbe414ec11ed223b8f3b005ec5b7199d7a73066f
3,737
py
Python
Phase-1/Python Basic 1/Day-3.py
CodedLadiesInnovateTech/python-challenges
22ce26c68fea6c7c243ada831e47c52e27a62127
[ "MIT" ]
11
2020-05-11T08:41:21.000Z
2022-02-27T08:21:37.000Z
Phase-1/Python Basic 1/Day-3.py
CodedLadiesInnovateTech/python-challenges
22ce26c68fea6c7c243ada831e47c52e27a62127
[ "MIT" ]
9
2020-05-12T10:46:06.000Z
2020-05-28T17:37:19.000Z
Phase-1/Python Basic 1/Day-3.py
CodedLadiesInnovateTech/python-challenges
22ce26c68fea6c7c243ada831e47c52e27a62127
[ "MIT" ]
44
2020-05-10T20:53:32.000Z
2021-04-25T18:47:08.000Z
<<<<<<< HEAD """ 1. Write a Python program to print the documents (syntax, description etc.) of Python built-in function(s). Sample function : abs() Expected Result : abs(number) -> number Return the absolute value of the argument. Tools: help function 2. Write a Python program to p...
35.932692
185
0.690393
570
3,737
4.526316
0.210526
0.046512
0.093023
0.147287
0.982946
0.982946
0.982946
0.982946
0.982946
0.982946
0
0.039174
0.248595
3,737
104
186
35.932692
0.87963
0
0
0
0
0
0.009091
0
0
0
0
0
0
0
null
null
0
0
null
null
0.088235
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
dbfdaede95b2536399d16c62c421baf5bd420ceb
6,688
py
Python
chess_commentary_model/transformers_model/dataset_preprocessing.py
Rseiji/TCC-2020
da68a49da38adf1bcf590b3028894d7834a28157
[ "MIT" ]
null
null
null
chess_commentary_model/transformers_model/dataset_preprocessing.py
Rseiji/TCC-2020
da68a49da38adf1bcf590b3028894d7834a28157
[ "MIT" ]
2
2020-08-30T22:47:54.000Z
2021-03-31T19:58:11.000Z
chess_commentary_model/transformers_model/dataset_preprocessing.py
Rseiji/TCC-2020
da68a49da38adf1bcf590b3028894d7834a28157
[ "MIT" ]
null
null
null
"""Métodos de preprocessamento de testes individuais """ import pandas as pd import numpy as np import math def test_1(df, seed=0): """training: balanced; test: balanced training: 80k (40k 0, 40k 1) test: 20k (10k 0, 10k 1) """ df_ones = df[df['label'] == 1] df_zeros = df[df['label'] ...
36.546448
80
0.689145
1,027
6,688
4.189873
0.077897
0.075296
0.061353
0.100395
0.918894
0.918894
0.888682
0.864513
0.7934
0.7934
0
0.061784
0.165072
6,688
182
81
36.747253
0.708811
0.095395
0
0.774775
0
0
0.035052
0
0
0
0
0.005495
0
1
0.054054
false
0
0.027027
0
0.135135
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
e01d041f8b5c1564d154529462e58e50b56f4910
5,264
py
Python
augment.py
docongminh/Text-Image-Augmentation-python
da27e8346ce2339f801335923faf7b14e026fd90
[ "Apache-2.0" ]
217
2020-02-09T07:44:18.000Z
2022-03-24T03:52:51.000Z
ocraug/augment.py
lzmisscc/Text-Image-Augmentation-python
12f104452e939444eb0fd4ac96143b78d091845b
[ "Apache-2.0" ]
5
2020-03-23T02:24:33.000Z
2022-03-13T07:02:04.000Z
ocraug/augment.py
lzmisscc/Text-Image-Augmentation-python
12f104452e939444eb0fd4ac96143b78d091845b
[ "Apache-2.0" ]
42
2020-02-10T06:42:31.000Z
2022-03-13T11:54:18.000Z
# -*- coding:utf-8 -*- # Author: RubanSeven # import cv2 import numpy as np # from transform import get_perspective_transform, warp_perspective from warp_mls import WarpMLS def distort(src, segment): img_h, img_w = src.shape[:2] cut = img_w // segment thresh = cut // 3 # thresh = img_h...
33.74359
107
0.586816
783
5,264
3.711367
0.077905
0.130076
0.14969
0.209566
0.88128
0.852719
0.835857
0.812113
0.790089
0.76084
0
0.021147
0.254369
5,264
155
108
33.96129
0.719236
0.43959
0
0.626866
0
0
0
0
0
0
0
0
0
1
0.044776
false
0
0.029851
0
0.119403
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0ebc4327dea5e082563be3e589c1e4f6b395a97a
7,146
py
Python
tests/component/test_grid_mixin.py
csdms/pymt
188222d7858cd3e8eb15564e56d9b7f0cb43cae5
[ "MIT" ]
38
2017-06-30T17:10:53.000Z
2022-01-05T07:38:03.000Z
tests/component/test_grid_mixin.py
csdms/pymt
188222d7858cd3e8eb15564e56d9b7f0cb43cae5
[ "MIT" ]
96
2017-04-04T18:52:41.000Z
2021-11-01T21:30:48.000Z
tests/component/test_grid_mixin.py
csdms/pymt
188222d7858cd3e8eb15564e56d9b7f0cb43cae5
[ "MIT" ]
15
2017-05-23T15:40:16.000Z
2021-06-14T21:30:28.000Z
import numpy as np import pytest from pytest import approx from pymt.component.grid import GridMixIn class Port: def __init__(self, name, uses=None, provides=None): self._name = name self._uses = uses or [] self._provides = provides or [] def get_component_name(self): return ...
27.805447
84
0.558354
1,074
7,146
3.463687
0.069832
0.04086
0.035484
0.026882
0.816398
0.783602
0.744892
0.710753
0.691129
0.673656
0
0.062864
0.278757
7,146
256
85
27.914063
0.658906
0
0
0.510638
0
0
0.034005
0
0
0
0
0
0.138298
1
0.292553
false
0
0.021277
0.154255
0.579787
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
7
161f5fc0724b14420397243336670a4b9fb7062e
20,580
py
Python
aws_lambda/pytorch/source/caffe2/python/operator_test/elementwise_op_broadcast_test.py
YevhenVieskov/ML-DL-in-production
03839abcb93a49d4f05c43aa4e446a040027cdb0
[ "MIT" ]
4
2020-09-17T11:50:17.000Z
2021-08-25T06:14:10.000Z
aws_lambda/pytorch/source/caffe2/python/operator_test/elementwise_op_broadcast_test.py
YevhenVieskov/ML-DL-in-production
03839abcb93a49d4f05c43aa4e446a040027cdb0
[ "MIT" ]
null
null
null
aws_lambda/pytorch/source/caffe2/python/operator_test/elementwise_op_broadcast_test.py
YevhenVieskov/ML-DL-in-production
03839abcb93a49d4f05c43aa4e446a040027cdb0
[ "MIT" ]
6
2020-10-16T13:28:31.000Z
2021-08-25T12:08:34.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import unittest from hypothesis import given import numpy as np from caffe2.proto import caffe2_pb2 from caffe2.python import core, workspace import caffe2.python.hypot...
42
79
0.56035
2,745
20,580
4.122404
0.064117
0.020679
0.061506
0.03906
0.893072
0.891923
0.884942
0.875309
0.854542
0.84058
0
0.032921
0.288581
20,580
489
80
42.08589
0.739977
0.097279
0
0.720207
0
0
0.024929
0
0
0
0
0.002045
0.160622
1
0.056995
false
0
0.028497
0.010363
0.121762
0.002591
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
161fe3f007696be8bbc024b9cad0f629ab8008f8
28,143
py
Python
kayobe/tests/unit/cli/test_commands.py
jovial/kayobe
49e61fef4a221ee9fcfcee2b7bac02b6acc5bd0c
[ "Apache-2.0" ]
null
null
null
kayobe/tests/unit/cli/test_commands.py
jovial/kayobe
49e61fef4a221ee9fcfcee2b7bac02b6acc5bd0c
[ "Apache-2.0" ]
null
null
null
kayobe/tests/unit/cli/test_commands.py
jovial/kayobe
49e61fef4a221ee9fcfcee2b7bac02b6acc5bd0c
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017 StackHPC Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
37.324934
93
0.538855
2,569
28,143
5.658233
0.088361
0.042653
0.070171
0.066456
0.893919
0.878509
0.868396
0.855944
0.848996
0.848996
0
0.002534
0.355079
28,143
753
94
37.374502
0.798347
0.019898
0
0.774481
0
0
0.190257
0.118108
0
0
0
0
0.083086
1
0.037092
false
0
0.008902
0
0.048961
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
163549f9139dc6999e9e0ca088584cc51b142caa
12,432
py
Python
tests/test_selections.py
swimmio/sqlalchemy_swimm
d24accb7792743cf586bd7062531d108e7063eba
[ "MIT" ]
null
null
null
tests/test_selections.py
swimmio/sqlalchemy_swimm
d24accb7792743cf586bd7062531d108e7063eba
[ "MIT" ]
null
null
null
tests/test_selections.py
swimmio/sqlalchemy_swimm
d24accb7792743cf586bd7062531d108e7063eba
[ "MIT" ]
null
null
null
import typing import pytest from src import selections @pytest.mark.parametrize( 'min_time, min_bytes, expected_result', [ ( 10 * 60 * 1000, 500 * 1024 * 1024, [ (2820,), (2827,), (2832,), (2834,), ...
24.617822
91
0.178571
540
12,432
4.085185
0.459259
0.009519
0.016319
0.021759
0.776065
0.776065
0.765186
0.765186
0.765186
0.765186
0
0.461981
0.664656
12,432
504
92
24.666667
0.067162
0
0
0.944112
0
0
0.002896
0
0
0
0
0
0.001996
1
0.001996
false
0
0.005988
0
0.007984
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
1
1
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
167cfaccf65c4a217ee921178f5ab5094fc6d8a6
241
py
Python
iris_sdk/models/data/ord/rate_center_search_order.py
NumberAI/python-bandwidth-iris
0e05f79d68b244812afb97e00fd65b3f46d00aa3
[ "MIT" ]
2
2020-04-13T13:47:59.000Z
2022-02-23T20:32:41.000Z
iris_sdk/models/data/ord/rate_center_search_order.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2020-09-18T20:59:24.000Z
2021-08-25T16:51:42.000Z
iris_sdk/models/data/ord/rate_center_search_order.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2018-12-12T14:39:50.000Z
2020-11-17T21:42:29.000Z
#!/usr/bin/env python from iris_sdk.models.base_resource import BaseData from iris_sdk.models.maps.ord.rate_center_search_order import \ RateCenterSearchOrderMap class RateCenterSearchOrder(RateCenterSearchOrderMap, BaseData): pass
30.125
64
0.834025
29
241
6.724138
0.758621
0.082051
0.112821
0.174359
0
0
0
0
0
0
0
0
0.099585
241
8
65
30.125
0.898618
0.082988
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.4
0
0.6
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
16e4af35a62847ccd702cb32c6b8a27f27bee59d
129
py
Python
app/admin/views/__init__.py
CAUCHY2932/Northern_Hemisphere
06e5b3e3f0b47940d5b4549899d062373b019579
[ "BSD-3-Clause" ]
null
null
null
app/admin/views/__init__.py
CAUCHY2932/Northern_Hemisphere
06e5b3e3f0b47940d5b4549899d062373b019579
[ "BSD-3-Clause" ]
8
2021-03-19T03:28:32.000Z
2022-03-11T23:59:00.000Z
app/admin/views/__init__.py
CAUCHY2932/Northern_Hemisphere
06e5b3e3f0b47940d5b4549899d062373b019579
[ "BSD-3-Clause" ]
null
null
null
# coding:utf-8 import app.admin.views.start import app.admin.views.book import app.admin.views.user import app.admin.views.site
18.428571
28
0.79845
23
129
4.478261
0.478261
0.349515
0.543689
0.737864
0
0
0
0
0
0
0
0.008475
0.085271
129
6
29
21.5
0.864407
0.093023
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
bc783a7352b8476e222dafa470f894420847e079
22,670
py
Python
sdk/python/pulumi_gcp/securitycenter/notification_config.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
121
2018-06-18T19:16:42.000Z
2022-03-31T06:06:48.000Z
sdk/python/pulumi_gcp/securitycenter/notification_config.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
492
2018-06-22T19:41:03.000Z
2022-03-31T15:33:53.000Z
sdk/python/pulumi_gcp/securitycenter/notification_config.py
sisisin/pulumi-gcp
af6681d70ea457843409110c1324817fe55f68ad
[ "ECL-2.0", "Apache-2.0" ]
43
2018-06-19T01:43:13.000Z
2022-03-23T22:43:37.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.714004
161
0.661226
2,413
22,670
6.026523
0.098632
0.061271
0.06354
0.05295
0.843213
0.819626
0.78538
0.758011
0.754504
0.72631
0
0.002851
0.241861
22,670
506
162
44.802372
0.843254
0.409616
0
0.590909
1
0
0.134427
0.038214
0
0
0
0
0
1
0.157025
false
0.004132
0.028926
0
0.280992
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
bc7aed95070ea2718e44219b9db81ddfb927929e
5,036
py
Python
musket_core/tests/coders_test.py
dreamflyer/musket_core
1bdf1b4715a3b5c63bf687799d7b977fdf49053f
[ "MIT" ]
16
2019-09-25T14:58:45.000Z
2020-04-04T22:03:27.000Z
musket_core/tests/coders_test.py
dreamflyer/musket_core
1bdf1b4715a3b5c63bf687799d7b977fdf49053f
[ "MIT" ]
17
2019-06-28T06:46:31.000Z
2020-01-23T10:01:12.000Z
musket_core/tests/coders_test.py
dreamflyer/musket_core
1bdf1b4715a3b5c63bf687799d7b977fdf49053f
[ "MIT" ]
2
2019-11-22T15:09:18.000Z
2019-12-17T03:17:25.000Z
import unittest from musket_core import coders import numpy as np import pandas as pd import os import math fl=__file__ fl=os.path.dirname(fl) class TestCoders(unittest.TestCase): def test_binary_num(self): a=np.array([0,1,0,1]) bc=coders.get_coder("binary",a, None) self.as...
37.029412
86
0.538721
756
5,036
3.5
0.097884
0.21542
0.057445
0.072562
0.897959
0.873394
0.864324
0.809524
0.809524
0.792139
0
0.040376
0.28197
5,036
136
87
37.029412
0.691372
0
0
0.638655
0
0
0.145451
0
0
0
0
0
0.319328
1
0.092437
false
0.092437
0.05042
0
0.151261
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
bc8acb8ede34bacdf376a2fc95f5b2c7c78ede61
141,721
py
Python
src/test/python/test_scc_pacs.py
xchange11/ttconv-1
6e67172af126fa0e90690044848f300c0173715c
[ "BSD-2-Clause" ]
66
2020-09-25T11:38:28.000Z
2022-03-23T15:15:34.000Z
src/test/python/test_scc_pacs.py
xchange11/ttconv-1
6e67172af126fa0e90690044848f300c0173715c
[ "BSD-2-Clause" ]
217
2020-09-22T22:45:22.000Z
2022-03-31T23:02:15.000Z
src/test/python/test_scc_pacs.py
xchange11/ttconv-1
6e67172af126fa0e90690044848f300c0173715c
[ "BSD-2-Clause" ]
5
2020-09-25T09:24:17.000Z
2021-08-08T20:52:26.000Z
#!/usr/bin/env python # -*- coding: UTF-8 -*- # Copyright (c) 2020, Sandflow Consulting LLC # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, ...
87.374229
129
0.689333
16,135
141,721
5.86396
0.01754
0.063034
0.111726
0.213296
0.941521
0.934175
0.93297
0.923955
0.910522
0.894013
0
0.073728
0.209482
141,721
1,621
130
87.428131
0.7708
0.00997
0
0.341321
0
0
0.000057
0
0
0
0.05549
0
0.00842
1
0.022021
false
0
0.001943
0
0.024611
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bcab57fb16b16bdb97e645f2dba9e5a2f1d7fa1f
10,293
py
Python
tests/test_observable/test_skip.py
christiansandberg/RxPY
036027d2858ea6c9d45839c863bd791e5bb50c36
[ "MIT" ]
null
null
null
tests/test_observable/test_skip.py
christiansandberg/RxPY
036027d2858ea6c9d45839c863bd791e5bb50c36
[ "MIT" ]
null
null
null
tests/test_observable/test_skip.py
christiansandberg/RxPY
036027d2858ea6c9d45839c863bd791e5bb50c36
[ "MIT" ]
null
null
null
import unittest from reactivex import operators as ops from reactivex.testing import ReactiveTest, TestScheduler on_next = ReactiveTest.on_next on_completed = ReactiveTest.on_completed on_error = ReactiveTest.on_error subscribe = ReactiveTest.subscribe subscribed = ReactiveTest.subscribed disposed = ReactiveTest.disp...
28.2
57
0.469445
1,270
10,293
3.57874
0.070866
0.285149
0.036964
0.026403
0.90055
0.886029
0.886029
0.886029
0.886029
0.864906
0
0.175933
0.404158
10,293
364
58
28.277473
0.565139
0
0
0.870769
0
0
0.00136
0
0
0
0
0
0.055385
1
0.055385
false
0
0.009231
0.027692
0.095385
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
bcb9144fdddbbf32bc78ac12f77acb144b544d93
142
py
Python
python/package/geo/test/__init__.py
fiomenankiti/playground
7c3139ffe5db4b18cf042b8027c9f670860371e0
[ "MIT" ]
null
null
null
python/package/geo/test/__init__.py
fiomenankiti/playground
7c3139ffe5db4b18cf042b8027c9f670860371e0
[ "MIT" ]
null
null
null
python/package/geo/test/__init__.py
fiomenankiti/playground
7c3139ffe5db4b18cf042b8027c9f670860371e0
[ "MIT" ]
null
null
null
from geo.calc import Calc from geo.calc import Distance from geo.geosp import Wt from geo.geosp import Gh from geo.files.csv_file import check
28.4
36
0.823944
27
142
4.296296
0.444444
0.301724
0.189655
0.293103
0
0
0
0
0
0
0
0
0.133803
142
5
36
28.4
0.943089
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
bcea70bd02cca28f65bc7151eb0b0e69448cc1e4
7,566
py
Python
lattedb/project/formfac/migrations/0009_auto_20200528_0907.py
callat-qcd/lattedb
75c06748f3d59332a84ec1b5794c215c5974a46f
[ "BSD-3-Clause" ]
1
2019-12-11T02:33:23.000Z
2019-12-11T02:33:23.000Z
lattedb/project/formfac/migrations/0009_auto_20200528_0907.py
callat-qcd/lattedb
75c06748f3d59332a84ec1b5794c215c5974a46f
[ "BSD-3-Clause" ]
10
2020-01-29T17:06:01.000Z
2021-05-31T14:41:19.000Z
lattedb/project/formfac/migrations/0009_auto_20200528_0907.py
callat-qcd/lattedb
75c06748f3d59332a84ec1b5794c215c5974a46f
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.0.6 on 2020-05-28 09:07 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('project_formfac', '0008_...
64.666667
239
0.690193
927
7,566
5.517799
0.085221
0.034409
0.057478
0.090323
0.842815
0.842815
0.842815
0.842815
0.842815
0.842815
0
0.008365
0.210019
7,566
116
240
65.224138
0.847415
0.005948
0
0.727273
1
0
0.328501
0.054928
0
0
0
0
0
1
0
false
0
0.027273
0
0.054545
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
4c573a085ee0bd360c33de2b14ef3c06c724afc8
2,572
py
Python
Platforms/Web/Processing/Api/Discord/Configs/Quotedisabledchannels/errors.py
The-CJ/Phaazebot
83a9563d210718071d4e2cdcca3b212c87abaf51
[ "MIT" ]
2
2017-09-14T08:07:55.000Z
2021-05-18T05:05:05.000Z
Platforms/Web/Processing/Api/Discord/Configs/Quotedisabledchannels/errors.py
The-CJ/Phaazebot
83a9563d210718071d4e2cdcca3b212c87abaf51
[ "MIT" ]
111
2018-04-15T14:32:14.000Z
2021-03-28T21:06:29.000Z
Platforms/Web/Processing/Api/Discord/Configs/Quotedisabledchannels/errors.py
The-CJ/Phaazebot
83a9563d210718071d4e2cdcca3b212c87abaf51
[ "MIT" ]
1
2018-04-15T13:24:44.000Z
2018-04-15T13:24:44.000Z
from typing import TYPE_CHECKING if TYPE_CHECKING: from Platforms.Web.main_web import PhaazebotWeb import json from aiohttp.web import Response from Utils.Classes.extendedrequest import ExtendedRequest async def apiDiscordConfigsQuoteDisabledChannelExists(cls:"PhaazebotWeb", WebRequest:ExtendedRequest, **kwargs) -> ...
28.577778
127
0.691291
321
2,572
5.376947
0.202492
0.093859
0.041715
0.044032
0.83314
0.825029
0.816918
0.816918
0.816918
0.816918
0
0.010724
0.12986
2,572
89
128
28.898876
0.7605
0.010498
0
0.666667
0
0
0.272214
0.041089
0
0
0
0
0
1
0
true
0
0.104167
0
0.145833
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
4c624ee7a6d344a15a579b043c3cb6fef1c9aa3b
1,035
py
Python
polymatch/matchers/standard.py
linuxdaemon/poly-match
66d967999de982d5ee9463c46b0ff8040d91dc67
[ "MIT" ]
null
null
null
polymatch/matchers/standard.py
linuxdaemon/poly-match
66d967999de982d5ee9463c46b0ff8040d91dc67
[ "MIT" ]
26
2020-05-13T17:46:45.000Z
2022-03-18T16:07:14.000Z
polymatch/matchers/standard.py
TotallyNotRobots/poly-match
66d967999de982d5ee9463c46b0ff8040d91dc67
[ "MIT" ]
null
null
null
from polymatch import PolymorphicMatcher class ExactMatcher(PolymorphicMatcher): def compile_pattern(self, raw_pattern): return raw_pattern def compile_pattern_cs(self, raw_pattern): return raw_pattern def compile_pattern_ci(self, raw_pattern): return raw_pattern.lower() def...
23.522727
46
0.696618
125
1,035
5.496
0.216
0.232897
0.197962
0.232897
0.838428
0.838428
0.751092
0.751092
0.751092
0.751092
0
0
0.231884
1,035
43
47
24.069767
0.864151
0
0
0.758621
0
0
0.01256
0
0
0
0
0
0
1
0.413793
false
0
0.034483
0.413793
0.931034
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
1
0
0
0
1
1
0
0
13
d5c64f687d9f59ed689fc14b8df6d5ee61f23931
23,742
py
Python
stix_shifter_modules/aws_athena/tests/stix_translation/test_aws_athena_json_to_stix.py
nkhetia31/stix-shifter
ace07581cb227fd35e450b2f8871475227a041d0
[ "Apache-2.0" ]
33
2018-05-25T17:07:28.000Z
2019-09-30T10:08:53.000Z
stix_shifter_modules/aws_athena/tests/stix_translation/test_aws_athena_json_to_stix.py
nkhetia31/stix-shifter
ace07581cb227fd35e450b2f8871475227a041d0
[ "Apache-2.0" ]
54
2018-06-01T18:17:24.000Z
2019-09-30T18:36:15.000Z
stix_shifter_modules/aws_athena/tests/stix_translation/test_aws_athena_json_to_stix.py
subbyte/stix-shifter
36d71c172a5fc5b97d872e623753b0dd1bf4fe6c
[ "Apache-2.0" ]
37
2018-07-24T13:29:46.000Z
2019-09-29T19:06:27.000Z
from stix_shifter_utils.stix_translation.src.json_to_stix import json_to_stix_translator from stix_shifter_utils.stix_translation.src.utils.transformer_utils import get_module_transformers from stix_shifter_modules.aws_athena.entry_point import EntryPoint import unittest MODULE = "aws_athena" entry_point = EntryPoint(...
52.18022
126
0.539087
1,921
23,742
6.401353
0.160333
0.039034
0.087826
0.090022
0.855818
0.839229
0.823941
0.810116
0.810116
0.798325
0
0.097047
0.3581
23,742
454
127
52.295154
0.709843
0.015879
0
0.717073
0
0
0.402752
0.205675
0
0
0
0
0.121951
1
0.017073
false
0.007317
0.009756
0
0.034146
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
d5c9c3dcfd93144a733bdffa2a7d7a7dc364d51d
2,807
py
Python
tests/test_html_escaping.py
copart/pandoc-mustache
f6ace29cd0c8d6b4d8f182eedcf36ad38a2412fa
[ "CC0-1.0" ]
43
2017-12-27T05:57:00.000Z
2022-03-18T10:07:28.000Z
tests/test_html_escaping.py
copart/pandoc-mustache
f6ace29cd0c8d6b4d8f182eedcf36ad38a2412fa
[ "CC0-1.0" ]
10
2018-02-07T11:20:37.000Z
2021-04-22T21:44:19.000Z
tests/test_html_escaping.py
copart/pandoc-mustache
f6ace29cd0c8d6b4d8f182eedcf36ad38a2412fa
[ "CC0-1.0" ]
8
2018-11-05T13:10:35.000Z
2021-08-30T18:14:02.000Z
""" Test that escaping characters for HTML is disabled. """ import os, subprocess def test_escape_singlequote(tmpdir): # Define empty dictionaries doc = {} template = {} # Prepare file names doc['path'] = tmpdir.join("document.md") template['path'] = tmpdir.join("template.yaml") # Prepar...
28.642857
139
0.617385
311
2,807
5.533762
0.199357
0.036607
0.048809
0.050552
0.944218
0.944218
0.944218
0.944218
0.944218
0.944218
0
0
0.19487
2,807
97
140
28.938144
0.761504
0.140363
0
0.818182
0
0
0.307789
0
0
0
0
0
0.054545
1
0.054545
false
0
0.018182
0
0.072727
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
9116473055c5bd072ad59a444dc826781f8a2c35
2,387
py
Python
tests/test_integration_partition.py
themoodymann/piChain
4de9e8da3994901371713b68bc05295fe6676571
[ "MIT" ]
8
2018-02-22T08:52:26.000Z
2022-02-01T01:28:29.000Z
tests/test_integration_partition.py
themoodymann/piChain
4de9e8da3994901371713b68bc05295fe6676571
[ "MIT" ]
3
2018-03-07T18:13:53.000Z
2019-12-03T23:42:42.000Z
tests/test_integration_partition.py
florianmorath/piChain
df498021cb7c2df26a7980fb85b795f4a0105faf
[ "MIT" ]
7
2018-02-26T12:28:34.000Z
2021-01-01T11:33:59.000Z
"""Integration test: Test partition of piChain nodes. Note: run tests with default setting values in config.py. """ import time from tests.util import MultiNodeTest class MultiNodeTestPartition(MultiNodeTest): def test_scenario30_partition(self): self.start_processes_with_test_scenario(30, 5) t...
38.5
70
0.735233
294
2,387
5.55102
0.190476
0.091912
0.15625
0.238971
0.862132
0.862132
0.862132
0.862132
0.775735
0.775735
0
0.041535
0.203184
2,387
61
71
39.131148
0.816509
0.045664
0
0.777778
0
0
0
0
0
0
0
0
0.333333
1
0.066667
false
0
0.044444
0
0.133333
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
913f16898807024d65f74b71e35760e3bc3c6dbb
149,429
py
Python
test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py
msyyc/autorest.python
91aa86f51d5c43c10ead5d51ac102618d23e3a21
[ "MIT" ]
null
null
null
test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py
msyyc/autorest.python
91aa86f51d5c43c10ead5d51ac102618d23e3a21
[ "MIT" ]
null
null
null
test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/operations/_operations.py
msyyc/autorest.python
91aa86f51d5c43c10ead5d51ac102618d23e3a21
[ "MIT" ]
1
2022-03-28T08:58:03.000Z
2022-03-28T08:58:03.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 may ...
41.233168
245
0.675491
17,114
149,429
5.667407
0.019808
0.027219
0.031302
0.039467
0.971132
0.963956
0.952532
0.942201
0.933479
0.913684
0
0.020869
0.206332
149,429
3,623
246
41.244549
0.796959
0.20237
0
0.777554
0
0.007046
0.111029
0.043456
0
0
0
0
0
1
0.067942
false
0
0.005536
0
0.141419
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
914f974905119aa6df33b733c4b0cd0e4954c272
15,147
py
Python
heliosburn/django/hbproject/webui/models.py
thecodeteam/heliosburn
513f6335c9788948d82e5c9285d7869f3ff4cc10
[ "MIT" ]
null
null
null
heliosburn/django/hbproject/webui/models.py
thecodeteam/heliosburn
513f6335c9788948d82e5c9285d7869f3ff4cc10
[ "MIT" ]
null
null
null
heliosburn/django/hbproject/webui/models.py
thecodeteam/heliosburn
513f6335c9788948d82e5c9285d7869f3ff4cc10
[ "MIT" ]
1
2020-09-17T18:19:05.000Z
2020-09-17T18:19:05.000Z
import json import re from django.conf import settings import requests from webui.exceptions import BadRequestException, UnauthorizedException, ServerErrorException, RedirectException, \ UnexpectedException, LocationHeaderNotFoundException, NotFoundException def validate_response(response): if 200 <= response...
39.139535
115
0.642239
1,729
15,147
5.384615
0.058994
0.065736
0.047476
0.043287
0.834479
0.804082
0.800967
0.800967
0.793448
0.784211
0
0.002136
0.258335
15,147
387
116
39.139535
0.826598
0
0
0.731928
0
0
0.047927
0.00779
0
0
0
0
0
1
0.111446
false
0
0.01506
0.003012
0.283133
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
e6bdcee8c086f35e2a59b7fc819faaf2312d18c6
89,316
py
Python
sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_gremlin_resources_operations.py
adewaleo/azure-sdk-for-python
169457edbea5e3c5557246cfcf8bd635d528bae4
[ "MIT" ]
2
2019-08-23T21:14:00.000Z
2021-09-07T18:32:34.000Z
sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_gremlin_resources_operations.py
adewaleo/azure-sdk-for-python
169457edbea5e3c5557246cfcf8bd635d528bae4
[ "MIT" ]
2
2021-11-03T06:10:36.000Z
2021-12-01T06:29:39.000Z
sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_gremlin_resources_operations.py
adewaleo/azure-sdk-for-python
169457edbea5e3c5557246cfcf8bd635d528bae4
[ "MIT" ]
1
2021-05-19T02:55:10.000Z
2021-05-19T02:55:10.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 may ...
52.538824
326
0.672242
9,640
89,316
5.995332
0.031328
0.017579
0.032356
0.009205
0.963474
0.957591
0.954131
0.951882
0.950082
0.943836
0
0.007992
0.2281
89,316
1,699
327
52.569747
0.830309
0.26638
0
0.849242
0
0.022302
0.171503
0.102696
0
0
0
0
0
1
0.038359
false
0
0.009813
0
0.114184
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
e6e833fb51a1ec7a1130669c82455b2f1f57a22e
53,602
py
Python
pythonFiles/tests/testing_tools/adapter/test_functional.py
erinxocon/vscode-python
e53f9061d16467a9ae2d8995a9a5f3cfa0f444e1
[ "MIT" ]
null
null
null
pythonFiles/tests/testing_tools/adapter/test_functional.py
erinxocon/vscode-python
e53f9061d16467a9ae2d8995a9a5f3cfa0f444e1
[ "MIT" ]
null
null
null
pythonFiles/tests/testing_tools/adapter/test_functional.py
erinxocon/vscode-python
e53f9061d16467a9ae2d8995a9a5f3cfa0f444e1
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from __future__ import unicode_literals import json import os import os.path import subprocess import sys import unittest import pytest from ...__main__ import TESTING_TOOLS_ROOT CWD = os.getcwd() DATA_DIR = os.path.join...
43.828291
96
0.491605
5,793
53,602
4.257034
0.047989
0.132274
0.218969
0.242002
0.89084
0.857751
0.829691
0.792141
0.750253
0.719517
0
0.02468
0.315902
53,602
1,222
97
43.864157
0.64785
0.007817
0
0.467372
0
0
0.434642
0.293534
0
0
0
0.000818
0.004409
1
0.0097
false
0
0.007937
0.000882
0.025573
0.001764
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
fc0a7d892ee7ccba2ec10d7aa3adc47150da3dac
98,817
py
Python
storm/Nimbus.py
krux/python-storm
1a9c06d3580a2b1bc2c27174d892a6dbcaa9e0bd
[ "BSD-3-Clause" ]
null
null
null
storm/Nimbus.py
krux/python-storm
1a9c06d3580a2b1bc2c27174d892a6dbcaa9e0bd
[ "BSD-3-Clause" ]
null
null
null
storm/Nimbus.py
krux/python-storm
1a9c06d3580a2b1bc2c27174d892a6dbcaa9e0bd
[ "BSD-3-Clause" ]
null
null
null
# # Autogenerated by Thrift Compiler (0.9.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # from thrift.Thrift import TType, TMessageType, TException, TApplicationException from ttypes import * from thrift.Thrift import TProcessor from thrift.transport import TTransport ...
30.182346
188
0.668508
11,134
98,817
5.684839
0.015538
0.017063
0.030713
0.023888
0.890339
0.865803
0.843669
0.828723
0.820855
0.819986
0
0.002812
0.215509
98,817
3,273
189
30.191567
0.813676
0.019905
0
0.866403
1
0
0.028866
0.004118
0
0
0
0
0
1
0.134387
false
0.007115
0.002372
0.042688
0.263241
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
fc4b846e57d2910c0d4eb0a932e3548a8ac421c6
31,822
py
Python
hero/hero.py
tmfds/dfk
91b6f95a4630b57deecf87cf4850b6576646c7d1
[ "MIT" ]
null
null
null
hero/hero.py
tmfds/dfk
91b6f95a4630b57deecf87cf4850b6576646c7d1
[ "MIT" ]
null
null
null
hero/hero.py
tmfds/dfk
91b6f95a4630b57deecf87cf4850b6576646c7d1
[ "MIT" ]
null
null
null
import copy from web3 import Web3 from .utils import utils as hero_utils CONTRACT_ADDRESS = '0x5f753dcdf9b1ad9aabc1346614d1f4746fd6ce5c' ABI = """ [ {"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"addres...
117.859259
5,003
0.671139
3,312
31,822
6.311292
0.081824
0.078362
0.095776
0.104483
0.818591
0.803138
0.744821
0.681385
0.677606
0.60575
0
0.033411
0.068852
31,822
269
5,004
118.297398
0.672033
0.004242
0
0.105263
0
0.220096
0.737372
0.678274
0
0
0.001326
0
0
1
0.033493
false
0
0.014354
0.004785
0.076555
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
1
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
fc9cde2fe4aa2f639814b61454d79983712258b4
918
py
Python
build_osx/copy_runtime.py
ozsolarwind/SAM
0967b0a4be8f8924ec1ad915a14575ac22c4ec3c
[ "MIT" ]
null
null
null
build_osx/copy_runtime.py
ozsolarwind/SAM
0967b0a4be8f8924ec1ad915a14575ac22c4ec3c
[ "MIT" ]
null
null
null
build_osx/copy_runtime.py
ozsolarwind/SAM
0967b0a4be8f8924ec1ad915a14575ac22c4ec3c
[ "MIT" ]
1
2019-05-21T23:16:17.000Z
2019-05-21T23:16:17.000Z
import os import shutil SOURCE_DIR = '../deploy/runtime' TARGET_DIR = 'SAM.app/Contents/runtime' if os.path.exists(TARGET_DIR): shutil.rmtree(TARGET_DIR) shutil.copytree(SOURCE_DIR, TARGET_DIR, ignore=shutil.ignore_patterns('.git')) SOURCE_DIR = '../deploy/solar_resource' TARGET_DIR = 'SAM.app/Contents/solar_re...
26.228571
78
0.769063
132
918
5.106061
0.174242
0.21365
0.178042
0.089021
0.873887
0.805638
0.71365
0.71365
0.71365
0.71365
0
0
0.087146
918
34
79
27
0.804296
0
0
0.545455
0
0
0.228758
0.172113
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5dba9613244bd2e35eb89625f766b4f652fe90d8
2,901
py
Python
parse_scripts/import_osm.py
nokout/au_address
07138ecd8fedab9566435b609cb8124b67ad42ff
[ "MIT" ]
1
2018-11-16T15:41:38.000Z
2018-11-16T15:41:38.000Z
training/parse_scripts/import_osm.py
crccheck/us-address-parser
826fd365cba065a0588fa013cddbb23a8dac27a9
[ "MIT" ]
6
2016-10-05T11:21:36.000Z
2016-10-18T15:11:20.000Z
parse_scripts/import_osm.py
nokout/au_address
07138ecd8fedab9566435b609cb8124b67ad42ff
[ "MIT" ]
null
null
null
import requests import codecs query1 = """<union> <query type="way"> <has-kv k="addr:housenumber"/> <has-kv k="addr:street:name"/> <has-kv k="addr:street:type"/> <has-kv k="addr:state"/> <bbox-query e="%s" n="%s" s="%s" w="%s"/> </query> <query type="way"> <has-kv k="addr:housenumber"/> <ha...
28.441176
99
0.558083
482
2,901
3.329876
0.147303
0.105919
0.127103
0.211838
0.850467
0.828037
0.786916
0.786916
0.762617
0.674766
0
0.067155
0.153051
2,901
101
100
28.722772
0.586081
0.058256
0
0.788235
0
0.023529
0.802786
0.231305
0
0
0
0
0
1
0
false
0.023529
0.023529
0
0.023529
0.035294
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
5d20ce5f76b15dfb9e999e6d113dbf7e789ecd49
10,386
py
Python
simpleredial/dataloader/fine_grained_test_dataloader.py
gmftbyGMFTBY/SimpleReDial-v1
f45b8eb23d1499ec617b4cc4f417d83d8f2b6bde
[ "MIT" ]
36
2021-10-13T10:32:08.000Z
2022-03-20T07:50:05.000Z
simpleredial/dataloader/fine_grained_test_dataloader.py
gmftbyGMFTBY/SimpleReDial-v1
f45b8eb23d1499ec617b4cc4f417d83d8f2b6bde
[ "MIT" ]
3
2021-11-24T10:57:59.000Z
2022-03-27T15:37:40.000Z
simpleredial/dataloader/fine_grained_test_dataloader.py
gmftbyGMFTBY/SimpleReDial-v1
f45b8eb23d1499ec617b4cc4f417d83d8f2b6bde
[ "MIT" ]
1
2022-03-15T07:13:22.000Z
2022-03-15T07:13:22.000Z
from header import * from .utils import * from .util_func import * '''Only for Testing''' class FineGrainedTestDataset(Dataset): def __init__(self, vocab, path, **args): self.args = args self.vocab = vocab self.vocab.add_tokens(['[EOS]']) self.pad = self.vocab.convert_tokens_...
41.378486
106
0.501637
1,213
10,386
4.114592
0.10305
0.045081
0.036065
0.057303
0.802044
0.773392
0.767982
0.721298
0.721298
0.710479
0
0.006425
0.355575
10,386
250
107
41.544
0.73928
0.004333
0
0.72973
0
0
0.113804
0.03228
0
0
0
0
0.013514
1
0.067568
false
0
0.013514
0.013514
0.148649
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
5d27ee1b746e920a8fbbde21e0ae74440138e1ce
2,293
py
Python
src/wheezy/template/tests/test_utils.py
nxsofsys/wheezy.template
b65b70b2927974790ff2413843ec752dd9c6c609
[ "MIT" ]
2
2017-02-08T11:48:41.000Z
2017-12-18T08:04:13.000Z
src/wheezy/template/tests/test_utils.py
ezotrank/wheezy.template
d54bc667303fd4de7314f659e17dd317ac3e3a82
[ "MIT" ]
null
null
null
src/wheezy/template/tests/test_utils.py
ezotrank/wheezy.template
d54bc667303fd4de7314f659e17dd317ac3e3a82
[ "MIT" ]
1
2022-03-04T20:26:20.000Z
2022-03-04T20:26:20.000Z
""" Unit tests for ``wheezy.templates.utils``. """ import unittest class FindAllBalancedTestCase(unittest.TestCase): """ Test the ``find_all_balanced``. """ def test_start_out(self): """ The start index is out of range. """ from wheezy.template.utils import find_all_balanced ...
31.847222
62
0.602704
294
2,293
4.513605
0.163265
0.144687
0.158252
0.105501
0.894499
0.853806
0.803316
0.787491
0.666164
0.590053
0
0.025989
0.261666
2,293
71
63
32.295775
0.757826
0.195813
0
0.457143
0
0
0.081127
0
0
0
0
0
0.457143
1
0.228571
false
0
0.257143
0
0.542857
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
1
0
0
7
5d28c827c798225b6b2063067a58a432acbd8766
34,967
py
Python
akshare/economic/macro_constitute.py
peterrosetu/akshare
9eac9ccb531b6e07d39140830d65349ea9441dc3
[ "MIT" ]
1
2020-12-26T23:39:05.000Z
2020-12-26T23:39:05.000Z
akshare/economic/macro_constitute.py
Hecate2/akshare
2d8904f5cf242ab784f748ab2f886329ebf69742
[ "MIT" ]
null
null
null
akshare/economic/macro_constitute.py
Hecate2/akshare
2d8904f5cf242ab784f748ab2f886329ebf69742
[ "MIT" ]
2
2020-09-23T08:50:14.000Z
2020-09-28T09:57:07.000Z
# -*- coding:utf-8 -*- # /usr/bin/env python """ Date: 2019/10/21 12:08 Desc: 获取金十数据-数据中心-主要机构-宏观经济 """ import json import time import pandas as pd import requests from tqdm import tqdm from akshare.economic.cons import ( JS_CONS_GOLD_ETF_URL, JS_CONS_SLIVER_ETF_URL, JS_CONS_OPEC_URL, ) def macro_cons_...
42.128916
140
0.574885
6,079
34,967
3.192795
0.086363
0.055335
0.018548
0.026586
0.848885
0.832191
0.830594
0.822969
0.81591
0.811376
0
0.241673
0.258158
34,967
829
141
42.179735
0.506438
0.321846
0
0.818356
0
0.028681
0.278654
0.00915
0
0
0
0
0
1
0.017208
false
0
0.011472
0
0.045889
0.01912
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8