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
0eb90bd1e5a1d6283630c2ef5fa013df4e6fedbf
6,796
py
Python
taxinnovation/apps/listo_api/migrations/0024_auto_20210505_1134.py
rootUserM/Docekerfiles-examples
b2b2e6b8cd37f699bd182a358d472deff5eb1921
[ "CC-BY-3.0" ]
null
null
null
taxinnovation/apps/listo_api/migrations/0024_auto_20210505_1134.py
rootUserM/Docekerfiles-examples
b2b2e6b8cd37f699bd182a358d472deff5eb1921
[ "CC-BY-3.0" ]
null
null
null
taxinnovation/apps/listo_api/migrations/0024_auto_20210505_1134.py
rootUserM/Docekerfiles-examples
b2b2e6b8cd37f699bd182a358d472deff5eb1921
[ "CC-BY-3.0" ]
null
null
null
# Generated by Django 3.1.1 on 2021-05-05 16:34 import django.contrib.postgres.fields from django.db import migrations, models import jsonfield.fields class Migration(migrations.Migration): dependencies = [ ('listo_api', '0023_auto_20210503_1745'), ] operations = [ migrations.RemoveFiel...
31.317972
138
0.559741
572
6,796
6.346154
0.199301
0.121488
0.21157
0.304132
0.806061
0.790634
0.783196
0.590909
0.27686
0.081818
0
0.011323
0.337257
6,796
216
139
31.462963
0.794627
0.006622
0
0.709524
1
0
0.2227
0.030079
0
0
0
0
0
1
0
false
0
0.014286
0
0.028571
0
0
0
0
null
0
1
1
1
1
1
0
0
0
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
0edab7021bf9990a83fe1de3d373515da996f9a5
124
py
Python
yolox/utils/dist.py
EighteenSprings/PP_YOLOX
48cff5203d55c98b96c9a6f89da26ff098f4bb91
[ "Apache-2.0" ]
null
null
null
yolox/utils/dist.py
EighteenSprings/PP_YOLOX
48cff5203d55c98b96c9a6f89da26ff098f4bb91
[ "Apache-2.0" ]
null
null
null
yolox/utils/dist.py
EighteenSprings/PP_YOLOX
48cff5203d55c98b96c9a6f89da26ff098f4bb91
[ "Apache-2.0" ]
null
null
null
""" multi-gpu communication """ from paddle import distributed as dist def get_rank() -> int: return dist.get_rank()
12.4
38
0.693548
17
124
4.941176
0.823529
0.166667
0
0
0
0
0
0
0
0
0
0
0.185484
124
9
39
13.777778
0.831683
0.185484
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
160f90ddab1eeb94db85a6d6f8b100d99e2bbd2c
56,493
py
Python
transformers/camxes_json.py
durka/camxes-py
e1eba1232e26d3bb3b08721681e3514c1c0385ee
[ "MIT" ]
null
null
null
transformers/camxes_json.py
durka/camxes-py
e1eba1232e26d3bb3b08721681e3514c1c0385ee
[ "MIT" ]
null
null
null
transformers/camxes_json.py
durka/camxes-py
e1eba1232e26d3bb3b08721681e3514c1c0385ee
[ "MIT" ]
null
null
null
import re from parsimonious_ext.expression_nodes import ALTERNATION, OPTIONAL, LITERAL, REGEX from parsimonious.nodes import NodeVisitor def camxes_node(node, visited_children, name=None): node_name = name or node.expr_name children = _children(node, visited_children) return _camxes_node(node_name, children) ...
31.228856
118
0.762661
7,697
56,493
5.27907
0.047941
0.38577
0.483966
0.323013
0.917875
0.910491
0.877563
0.872517
0.863978
0.858046
0
0.00665
0.150851
56,493
1,808
119
31.246128
0.840383
0.013134
0
0.456706
0
0
0.000844
0
0
0
0
0
0
1
0.4618
false
0
0.002547
0.441426
0.934635
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
12
165e3dbb36598fec4606d9dc7d54628cad863835
15,078
py
Python
src/django_lean/lean_analytics/tests.py
tibnor/django-lean
9c57a81079f33a383748fefddd323d731e742795
[ "BSD-3-Clause" ]
1
2017-06-19T11:13:09.000Z
2017-06-19T11:13:09.000Z
src/django_lean/lean_analytics/tests.py
causes/django-lean
9c57a81079f33a383748fefddd323d731e742795
[ "BSD-3-Clause" ]
null
null
null
src/django_lean/lean_analytics/tests.py
causes/django-lean
9c57a81079f33a383748fefddd323d731e742795
[ "BSD-3-Clause" ]
2
2017-04-02T04:04:24.000Z
2020-05-15T17:40:54.000Z
from __future__ import with_statement from contextlib import contextmanager from django.conf import settings from django.contrib.auth.models import AnonymousUser, User from django.http import HttpRequest from django_lean.experiments.models import (AnonymousVisitor, Experiment, ...
42.473239
81
0.55644
1,395
15,078
5.791398
0.086738
0.123035
0.044189
0.029707
0.86991
0.839584
0.832281
0.819161
0.815571
0.815571
0
0
0.351439
15,078
354
82
42.59322
0.826158
0.024008
0
0.788927
0
0
0.053716
0.006416
0
0
0
0
0.100346
1
0.072664
false
0
0.069204
0
0.152249
0.00692
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
16b61023dd5b37c9801d55c1184ac3d13ffca8a1
21,209
py
Python
trove/tests/unittests/guestagent/test_pkg.py
sapcc/trove
c03ec0827687fba202f72f4d264ab70158604857
[ "Apache-2.0" ]
1
2020-04-08T07:42:19.000Z
2020-04-08T07:42:19.000Z
trove/tests/unittests/guestagent/test_pkg.py
sapcc/trove
c03ec0827687fba202f72f4d264ab70158604857
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
trove/tests/unittests/guestagent/test_pkg.py
sapcc/trove
c03ec0827687fba202f72f4d264ab70158604857
[ "Apache-2.0" ]
2
2020-03-15T01:24:15.000Z
2020-07-22T20:34:26.000Z
# Copyright (c) 2011 OpenStack Foundation # 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 ...
37.805704
78
0.648027
2,509
21,209
5.287365
0.092467
0.096186
0.092266
0.117895
0.835218
0.812905
0.808307
0.761571
0.729157
0.713101
0
0.0178
0.250365
21,209
560
79
37.873214
0.816592
0.069405
0
0.713542
0
0
0.045612
0.006531
0
0
0
0
0.166667
1
0.169271
false
0
0.023438
0
0.210938
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
bca7e791d4b98b85bdce81006d65e8987a0b67ea
217
py
Python
django/chat/views.py
palmergs/protobuf-in-ruby
0f9c288aadd5410bb4d4c67d69ce042e62fa6ea3
[ "Apache-2.0" ]
null
null
null
django/chat/views.py
palmergs/protobuf-in-ruby
0f9c288aadd5410bb4d4c67d69ce042e62fa6ea3
[ "Apache-2.0" ]
null
null
null
django/chat/views.py
palmergs/protobuf-in-ruby
0f9c288aadd5410bb4d4c67d69ce042e62fa6ea3
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse def index(request): return render(request, 'chat/index.html', {}) def secure(request): return render(request, 'chat/secure.html', {})
24.111111
50
0.732719
28
217
5.678571
0.5
0.125786
0.238994
0.327044
0.377358
0
0
0
0
0
0
0
0.138249
217
8
51
27.125
0.850267
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
8
bcea4fa63d4dd55e112a54d4f08b98e5d0aa6057
213
py
Python
tsdb/__init__.py
207leftovers/cs207project
817b0d26490d9c6e70d932544d685af4049a83bd
[ "MIT" ]
null
null
null
tsdb/__init__.py
207leftovers/cs207project
817b0d26490d9c6e70d932544d685af4049a83bd
[ "MIT" ]
null
null
null
tsdb/__init__.py
207leftovers/cs207project
817b0d26490d9c6e70d932544d685af4049a83bd
[ "MIT" ]
null
null
null
from tsdb.dictdb import * from tsdb.tsdb_client import TSDBClient from tsdb.tsdb_server import * from tsdb.tsdb_serialization import * from tsdb.tsdb_ops import * from tsdb.tsdb_rest_client import TSDB_REST_Client
35.5
50
0.84507
34
213
5.058824
0.294118
0.27907
0.348837
0.418605
0
0
0
0
0
0
0
0
0.107981
213
6
50
35.5
0.905263
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
4c0d2daf91b636a7aa67baa163c9f937f8413c92
42,191
py
Python
test/drive/test_drive.py
StoDevX/stograde
5b4cd58724e8e5218c7a7f2cc2d4f788e71a7931
[ "MIT" ]
7
2016-08-05T00:41:11.000Z
2019-08-22T11:12:10.000Z
test/drive/test_drive.py
StoDevX/cs251-toolkit
a40f358289d67cce7b24fd557230079fae830b7d
[ "MIT" ]
145
2016-08-04T01:07:11.000Z
2019-09-09T22:07:13.000Z
test/drive/test_drive.py
stograde/stograde
17d901a86ff80d20e9f7f798bd27375de34eccb7
[ "MIT" ]
3
2017-02-06T21:52:46.000Z
2019-02-18T10:35:01.000Z
import datetime import os import re import textwrap from unittest import mock import pytest # noinspection PyPackageRequirements from oauthlib.oauth2 import InvalidClientError from stograde.common import chdir from stograde.drive.drive import authenticate_drive, get_all_files, get_assignment_files, group_files, creat...
54.091026
120
0.4158
3,498
42,191
4.886507
0.090909
0.056865
0.057041
0.068449
0.846077
0.822091
0.798514
0.771778
0.765518
0.765518
0
0.071071
0.459743
42,191
779
121
54.160462
0.678819
0.011258
0
0.765739
0
0.008785
0.367059
0.06909
0
0
0
0
0.04978
1
0.032211
false
0.005857
0.014641
0.005857
0.058565
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
4c2316737068fbde798028e8e3fc1d0066519fd3
30,756
py
Python
lists_and_dictionaries.py
chkp-shirao/ExportImportPolicyPackage
44a7f65a92c75f3f8826ea2b3b12cc3b6f5e5bfc
[ "Apache-2.0" ]
null
null
null
lists_and_dictionaries.py
chkp-shirao/ExportImportPolicyPackage
44a7f65a92c75f3f8826ea2b3b12cc3b6f5e5bfc
[ "Apache-2.0" ]
null
null
null
lists_and_dictionaries.py
chkp-shirao/ExportImportPolicyPackage
44a7f65a92c75f3f8826ea2b3b12cc3b6f5e5bfc
[ "Apache-2.0" ]
null
null
null
singular_to_plural_dictionary = { "1": { "access-role": "access-roles", "threat-profile": "threat-profiles", "host": "hosts", "network": "networks", "address-range": "address_ranges", "security-zone": "security-zones", "time": "times", "simple...
41.844898
147
0.57514
2,840
30,756
6.198239
0.087324
0.05198
0.013634
0.023178
0.85298
0.846731
0.836335
0.836335
0.828495
0.815543
0
0.002323
0.244213
30,756
734
148
41.901907
0.754958
0
0
0.795804
0
0
0.616781
0.1364
0
0
0
0
0
1
0
false
0
0.002797
0
0.002797
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
4c282f5116451187984f20cda7984c22f064d439
11,489
py
Python
ecs_mobile/event_triggers.py
mohsinalimat/ecs_mobile
af8569220f0603a034661eb92e33f85f5ee319e1
[ "MIT" ]
1
2022-01-12T05:15:36.000Z
2022-01-12T05:15:36.000Z
ecs_mobile/event_triggers.py
mohsinalimat/ecs_mobile
af8569220f0603a034661eb92e33f85f5ee319e1
[ "MIT" ]
null
null
null
ecs_mobile/event_triggers.py
mohsinalimat/ecs_mobile
af8569220f0603a034661eb92e33f85f5ee319e1
[ "MIT" ]
1
2022-01-12T05:15:38.000Z
2022-01-12T05:15:38.000Z
from __future__ import unicode_literals import frappe from frappe import auth import datetime import json, ast ################ Quotation @frappe.whitelist() def quot_onload(doc, method=None): pass @frappe.whitelist() def quot_before_insert(doc, method=None): pass @frappe.whitelist() def quot_after_insert(do...
22.840954
113
0.717121
1,619
11,489
4.874614
0.053119
0.164217
0.237202
0.308033
0.906994
0.895337
0.875317
0.860238
0.842245
0.302838
0
0.000305
0.14318
11,489
502
114
22.886454
0.801402
0.016189
0
0.646018
0
0
0.017487
0.004417
0
0
0
0
0
1
0.318584
false
0.316372
0.011062
0
0.329646
0
0
0
0
null
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
9
4c3870e1c9f522c454f85bec3954dab064e1cf45
110
py
Python
testing/scipy_distutils-0.3.3_34.586/command/bdist_rpm.py
fireballpoint1/fortranTOpy
55843a62c6f0a2f8e2a777ef70193940d3d2d141
[ "Apache-2.0" ]
1
2018-08-26T05:10:56.000Z
2018-08-26T05:10:56.000Z
testing/scipy_distutils-0.3.3_34.586/command/bdist_rpm.py
fireballpoint1/fortranTOpy
55843a62c6f0a2f8e2a777ef70193940d3d2d141
[ "Apache-2.0" ]
null
null
null
testing/scipy_distutils-0.3.3_34.586/command/bdist_rpm.py
fireballpoint1/fortranTOpy
55843a62c6f0a2f8e2a777ef70193940d3d2d141
[ "Apache-2.0" ]
1
2018-06-26T18:06:44.000Z
2018-06-26T18:06:44.000Z
from distutils.command.bdist_rpm import bdist_rpm as old_bdist_rpm class bdist_rpm(old_bdist_rpm): pass
18.333333
66
0.818182
19
110
4.368421
0.526316
0.481928
0.26506
0
0
0
0
0
0
0
0
0
0.136364
110
5
67
22
0.873684
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
1
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
1
1
0
1
0
0
8
4c3c3c2abd99e2b3bf766359afe5404dc1b6fe8d
3,026
py
Python
MoQ/huggingface-transformers/src/transformers/utils/dummy_sentencepiece_objects.py
ganik/DeepSpeedExamples
174ae3bc8dbb688cfaccb4afa15d6e2cdbe19ce5
[ "MIT" ]
309
2020-02-07T23:09:27.000Z
2022-03-31T08:01:53.000Z
MoQ/huggingface-transformers/src/transformers/utils/dummy_sentencepiece_objects.py
ganik/DeepSpeedExamples
174ae3bc8dbb688cfaccb4afa15d6e2cdbe19ce5
[ "MIT" ]
93
2020-02-22T05:56:28.000Z
2022-03-27T08:43:38.000Z
MoQ/huggingface-transformers/src/transformers/utils/dummy_sentencepiece_objects.py
ganik/DeepSpeedExamples
174ae3bc8dbb688cfaccb4afa15d6e2cdbe19ce5
[ "MIT" ]
148
2020-02-14T22:16:11.000Z
2022-03-22T17:08:04.000Z
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..file_utils import requires_sentencepiece class AlbertTokenizer: def __init__(self, *args, **kwargs): requires_sentencepiece(self) @classmethod def from_pretrained(self, *args, **kwargs): requires_sentencepi...
23.457364
75
0.686385
299
3,026
6.61204
0.133779
0.308042
0.19828
0.311583
0.83308
0.83308
0.83308
0.83308
0.83308
0.83308
0
0.001672
0.209187
3,026
128
76
23.640625
0.824488
0.024124
0
0.823529
1
0
0
0
0
0
0
0
0
1
0.329412
false
0
0.011765
0
0.505882
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
13
4c520fb7b4acf0510f72a90364305d854f0fefee
45,331
py
Python
test/acquisition/test_monte_carlo.py
utkarshiam/botorch
52c611cb716856777af87763a98c141507b019b3
[ "MIT" ]
null
null
null
test/acquisition/test_monte_carlo.py
utkarshiam/botorch
52c611cb716856777af87763a98c141507b019b3
[ "MIT" ]
null
null
null
test/acquisition/test_monte_carlo.py
utkarshiam/botorch
52c611cb716856777af87763a98c141507b019b3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import warnings from copy import deepcopy from itertools import product from math import pi from unittest import mock...
45.421844
87
0.574132
5,457
45,331
4.658787
0.056258
0.083782
0.087087
0.104708
0.841561
0.823113
0.805255
0.785313
0.779216
0.771585
0
0.030497
0.314994
45,331
997
88
45.467402
0.788226
0.085725
0
0.762608
0
0
0.009776
0.007792
0
0
0
0.001003
0.261993
1
0.01968
false
0.00369
0.01845
0
0.0492
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
4c58a46b7feca1ff07a00b0e6aab03ef7825c708
16,760
py
Python
sdk/python/pulumi_random/random_shuffle.py
stack72/pulumi-random
27e755c63c872f08ecaebcdf94112bf77d920a12
[ "ECL-2.0", "Apache-2.0" ]
19
2018-11-13T00:07:45.000Z
2022-03-18T15:29:04.000Z
sdk/python/pulumi_random/random_shuffle.py
stack72/pulumi-random
27e755c63c872f08ecaebcdf94112bf77d920a12
[ "ECL-2.0", "Apache-2.0" ]
71
2018-11-05T19:01:17.000Z
2022-03-25T20:04:56.000Z
sdk/python/pulumi_random/random_shuffle.py
stack72/pulumi-random
27e755c63c872f08ecaebcdf94112bf77d920a12
[ "ECL-2.0", "Apache-2.0" ]
4
2019-10-05T10:33:36.000Z
2021-09-16T17:18:05.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 ...
47.344633
344
0.652208
2,078
16,760
5.115977
0.090472
0.083811
0.066127
0.044681
0.822971
0.809237
0.793246
0.782147
0.772646
0.767661
0
0.000878
0.252327
16,760
353
345
47.478754
0.847498
0.422136
0
0.680628
1
0
0.069413
0.004552
0
0
0
0
0
1
0.157068
false
0.005236
0.026178
0
0.277487
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
4c61dc0aa4907d4fa12abc71e29fb1f6e9af557d
161
py
Python
torchfcn/datasets/__init__.py
zhawhjw/pytorch-fcn
be45fce52e96e0683b0178b334933869fb20c850
[ "MIT" ]
null
null
null
torchfcn/datasets/__init__.py
zhawhjw/pytorch-fcn
be45fce52e96e0683b0178b334933869fb20c850
[ "MIT" ]
null
null
null
torchfcn/datasets/__init__.py
zhawhjw/pytorch-fcn
be45fce52e96e0683b0178b334933869fb20c850
[ "MIT" ]
null
null
null
from .voc import SBDClassSeg # NOQA from .voc import VOC2011ClassSeg # NOQA from .voc import VOC2012ClassSeg # NOQA from .voc import SidewalkClassSeg # NOQA
32.2
41
0.776398
20
161
6.25
0.4
0.224
0.416
0.408
0
0
0
0
0
0
0
0.06015
0.173913
161
4
42
40.25
0.879699
0.118012
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
4c76af616f4a2b7a8b78967f7271270aa3875cad
23,694
py
Python
python/paddle/fluid/tests/unittests/test_initializer.py
leesusu/Paddle
cb0472b05ab86dd7b51f663bc161841059a9d035
[ "Apache-2.0" ]
8
2019-06-16T12:36:11.000Z
2021-03-05T05:33:21.000Z
python/paddle/fluid/tests/unittests/test_initializer.py
zlsh80826/Paddle
c560a7d57aad990f374ebadd330351f18e2ca65f
[ "Apache-2.0" ]
1
2020-09-10T09:05:52.000Z
2020-09-10T09:06:22.000Z
python/paddle/fluid/tests/unittests/test_initializer.py
zlsh80826/Paddle
c560a7d57aad990f374ebadd330351f18e2ca65f
[ "Apache-2.0" ]
25
2019-12-07T02:14:14.000Z
2021-12-30T06:16:30.000Z
# Copyright (c) 2018 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 app...
40.295918
80
0.611125
2,769
23,694
5.059227
0.080534
0.043258
0.039974
0.049468
0.842815
0.80434
0.767221
0.743308
0.710829
0.689771
0
0.031399
0.275513
23,694
587
81
40.364566
0.784691
0.109479
0
0.711752
0
0
0.047502
0
0
0
0
0
0.254989
1
0.070953
false
0
0.017738
0.002217
0.13082
0.002217
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
d5bc991898d8d27f81e16467a1df0b5ab5e180cd
168
py
Python
common_toolkit/development/__init__.py
Lonely-Mr-zhang/common_toolkit
40e9b910d66aba9609ef2c2e9574c057120d5376
[ "MIT" ]
null
null
null
common_toolkit/development/__init__.py
Lonely-Mr-zhang/common_toolkit
40e9b910d66aba9609ef2c2e9574c057120d5376
[ "MIT" ]
null
null
null
common_toolkit/development/__init__.py
Lonely-Mr-zhang/common_toolkit
40e9b910d66aba9609ef2c2e9574c057120d5376
[ "MIT" ]
null
null
null
__all__ = ["dev_test1", "dev_test2"] from common_toolkit.development import dev_test1, dev_test2, email # from common_toolkit.development import dev_test1, dev_test2
28
66
0.809524
24
168
5.166667
0.416667
0.193548
0.266129
0.387097
0.806452
0.806452
0.806452
0.806452
0.806452
0
0
0.04
0.107143
168
5
67
33.6
0.786667
0.35119
0
0
0
0
0.168224
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
1
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
10
d5cf45ac59789d1dd9f04621a182a8e6638ae493
8,247
py
Python
tests/molecular/molecules/molecule/fixtures/cage/metal_topologies/m24l48.py
stevenbennett96/stk
6e5af87625b83e0bfc7243bc42d8c7a860cbeb76
[ "MIT" ]
null
null
null
tests/molecular/molecules/molecule/fixtures/cage/metal_topologies/m24l48.py
stevenbennett96/stk
6e5af87625b83e0bfc7243bc42d8c7a860cbeb76
[ "MIT" ]
null
null
null
tests/molecular/molecules/molecule/fixtures/cage/metal_topologies/m24l48.py
stevenbennett96/stk
6e5af87625b83e0bfc7243bc42d8c7a860cbeb76
[ "MIT" ]
null
null
null
import pytest import stk from ....case_data import CaseData from ...building_blocks import get_linker, get_pd_atom @pytest.fixture( scope='session', params=( lambda name: CaseData( molecule=stk.ConstructedMolecule( topology_graph=stk.cage.M24L48( build...
58.489362
71
0.304353
1,740
8,247
1.433908
0.070115
0.325451
0.38477
0.282164
0.744689
0.727054
0.68497
0.609619
0.515832
0.404409
0
0.093082
0.274403
8,247
140
72
58.907143
0.323864
0
0
0.066176
0
0.735294
0.637201
0.636353
0
0
0
0
0
1
0.007353
false
0
0.029412
0.007353
0.044118
0
0
0
1
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
e692541d6a1bd3534b713cb6c7f86c31125b8a22
179
py
Python
{{cookiecutter.project_slug}}/src/{{cookiecutter.module_name}}/__main__.py
Arrrlex/at-python-template
6c9d37cfd7405ff1e824678bdae639553eec9faa
[ "Apache-2.0" ]
36
2020-07-16T13:02:55.000Z
2022-03-15T08:02:32.000Z
{{cookiecutter.project_slug}}/src/{{cookiecutter.module_name}}/__main__.py
chberreth/at-python-template
284b022cad690b612586a73ee091d783cda39bcf
[ "Apache-2.0" ]
42
2020-07-20T12:42:18.000Z
2022-01-08T12:50:15.000Z
{{cookiecutter.project_slug}}/src/{{cookiecutter.module_name}}/__main__.py
chberreth/at-python-template
284b022cad690b612586a73ee091d783cda39bcf
[ "Apache-2.0" ]
10
2020-08-31T13:31:52.000Z
2022-03-20T19:03:27.000Z
{% if cookiecutter.create_cli == 'yes' %}from {{ cookiecutter.module_name }}.main import app app(){% else %}from {{ cookiecutter.module_name }}.main import main main(){% endif %}
44.75
92
0.692737
23
179
5.26087
0.565217
0.264463
0.363636
0.429752
0.595041
0.595041
0
0
0
0
0
0
0.122905
179
3
93
59.666667
0.770701
0
0
0
0
0
0.01676
0
0
0
0
0
0
0
null
null
0
0.666667
null
null
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
1
0
0
0
1
0
0
0
0
7
e6b93e318e4eb846d5f362a6f6af678241e63034
34,469
py
Python
spacy/lang/es/tag_map.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
12
2019-03-20T20:43:47.000Z
2020-04-13T11:10:52.000Z
spacy/lang/es/tag_map.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
13
2018-06-05T11:54:40.000Z
2019-07-02T11:33:14.000Z
spacy/lang/es/tag_map.py
cedar101/spaCy
66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95
[ "MIT" ]
1
2022-02-12T06:50:34.000Z
2022-02-12T06:50:34.000Z
# coding: utf8 from __future__ import unicode_literals from ...symbols import POS, PUNCT, SYM, ADJ, NUM, DET, ADV, ADP, X, VERB from ...symbols import NOUN, PROPN, PART, INTJ, SPACE, PRON, SCONJ, AUX, CONJ # fmt: off TAG_MAP = { "ADJ___": {"morph": "_", POS: ADJ}, "ADJ__AdpType=Prep": {"morph": "AdpType=Prep"...
110.832797
183
0.704778
5,282
34,469
4.48031
0.01969
0.114093
0.09195
0.06761
0.957828
0.944137
0.872385
0.827002
0.763533
0.729136
0
0.009234
0.079492
34,469
310
184
111.190323
0.736613
0.000841
0
0
0
0.131148
0.745441
0.669009
0
0
0
0
0
1
0
false
0
0.009836
0
0.009836
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
e6d6906b3a4ebde015bce125c8353645deecffb2
12,878
py
Python
migrations/versions/09c65ac77c3a_.py
mredle/expenseapp
0e95974ca48e63c56b83e7bdbc76630fb79ea6d4
[ "MIT" ]
null
null
null
migrations/versions/09c65ac77c3a_.py
mredle/expenseapp
0e95974ca48e63c56b83e7bdbc76630fb79ea6d4
[ "MIT" ]
22
2019-02-20T21:32:49.000Z
2020-10-21T22:16:54.000Z
migrations/versions/09c65ac77c3a_.py
mredle/expenseapp
0e95974ca48e63c56b83e7bdbc76630fb79ea6d4
[ "MIT" ]
null
null
null
"""empty message Revision ID: 09c65ac77c3a Revises: Create Date: 2019-03-05 23:33:55.044613 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '09c65ac77c3a' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
50.700787
101
0.677512
1,741
12,878
4.859276
0.073521
0.12104
0.186998
0.241135
0.858747
0.836407
0.754846
0.717258
0.676478
0.661702
0
0.012665
0.123233
12,878
253
102
50.901186
0.736604
0.021975
0
0.553191
0
0
0.203137
0.016085
0
0
0
0
0
1
0.008511
false
0.004255
0.008511
0
0.017021
0
0
0
0
null
0
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e6db55543c0dfeb1d2c8989c1c21c74ce018d907
68,797
py
Python
ironic_python_agent/tests/unit/extensions/test_image.py
ooneko/ironic-python-agent
c2ef8530dbff303e998ac2acdc3402531646f62d
[ "Apache-2.0" ]
null
null
null
ironic_python_agent/tests/unit/extensions/test_image.py
ooneko/ironic-python-agent
c2ef8530dbff303e998ac2acdc3402531646f62d
[ "Apache-2.0" ]
null
null
null
ironic_python_agent/tests/unit/extensions/test_image.py
ooneko/ironic-python-agent
c2ef8530dbff303e998ac2acdc3402531646f62d
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Red Hat, Inc. # 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...
50.586029
79
0.537465
7,564
68,797
4.58276
0.056584
0.066467
0.053658
0.037272
0.918878
0.9063
0.887434
0.88351
0.863778
0.845892
0
0.015115
0.330668
68,797
1,359
80
50.623252
0.737665
0.016396
0
0.799024
0
0
0.149695
0.037479
0
0
0.000385
0
0.113914
1
0.034174
false
0
0.009764
0
0.044752
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
fc097bf3e54f9f943df0d476c4acde68193c474e
21,378
py
Python
randan/descriptive_statistics.py
RandanCSS/randan
c72683d854f277c7907aba3cab7a99ba85f05656
[ "MIT" ]
1
2021-02-17T05:14:10.000Z
2021-02-17T05:14:10.000Z
randan/descriptive_statistics.py
RandanCSS/randan
c72683d854f277c7907aba3cab7a99ba85f05656
[ "MIT" ]
null
null
null
randan/descriptive_statistics.py
RandanCSS/randan
c72683d854f277c7907aba3cab7a99ba85f05656
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np from pandas.api.types import is_numeric_dtype from .utils import get_categories from statsmodels.stats.diagnostic import lilliefors from scipy.stats import shapiro from IPython.display import display class NominalStatistics: """ A class producing descripti...
35.570715
128
0.517308
2,280
21,378
4.669737
0.101754
0.029586
0.014276
0.01916
0.861275
0.855828
0.852353
0.825866
0.817507
0.806612
0
0.008736
0.368135
21,378
600
129
35.63
0.779464
0.147628
0
0.841432
0
0.002558
0.099307
0.007405
0
0
0
0
0
1
0.092072
false
0.007673
0.017903
0
0.184143
0.066496
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
fc0ec81fe85f15aa98c534e86cb7b638ad1953b1
36,894
py
Python
ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/iptvrange_e67d862b0f469a230082adb5a240de55.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
20
2019-05-07T01:59:14.000Z
2022-02-11T05:24:47.000Z
ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/iptvrange_e67d862b0f469a230082adb5a240de55.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
60
2019-04-03T18:59:35.000Z
2022-02-22T12:05:05.000Z
ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/iptvrange_e67d862b0f469a230082adb5a240de55.py
OpenIxia/ixnetwork_restpy
f628db450573a104f327cf3c737ca25586e067ae
[ "MIT" ]
13
2019-05-20T10:48:31.000Z
2021-10-06T07:45:44.000Z
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
66
4,638
0.721554
4,141
36,894
6.370925
0.098285
0.097567
0.07634
0.128573
0.82742
0.812865
0.783148
0.783148
0.762944
0.736032
0
0.00617
0.17412
36,894
558
4,639
66.11828
0.859665
0.683553
0
0.194118
0
0
0.127764
0.038799
0
0
0
0
0
1
0.264706
false
0
0.023529
0
0.482353
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
fc2acf36bbab472aad1e9ee50e4b1bb7f2159cd2
45,676
py
Python
tests/tactical/test_front_gap.py
licit-lab/ensemble
7a78ef0d69610d4fcfc5e008f931ade15e35acbf
[ "Linux-OpenIB" ]
null
null
null
tests/tactical/test_front_gap.py
licit-lab/ensemble
7a78ef0d69610d4fcfc5e008f931ade15e35acbf
[ "Linux-OpenIB" ]
null
null
null
tests/tactical/test_front_gap.py
licit-lab/ensemble
7a78ef0d69610d4fcfc5e008f931ade15e35acbf
[ "Linux-OpenIB" ]
null
null
null
""" Unit testing Tactical Layer (Front Gap) """ # ============================================================================ # STANDARD IMPORTS # ============================================================================ import platform import pytest from collections import namedtuple from jinja2 import Envi...
23.42359
78
0.508057
4,509
45,676
4.853848
0.055223
0.030293
0.036553
0.02248
0.867998
0.824957
0.815133
0.807868
0.802157
0.794389
0
0.065637
0.376259
45,676
1,949
79
23.435608
0.702562
0.494614
0
0.800559
0
0
0.022832
0
0
0
0
0
0.022367
1
0.04287
false
0
0.008388
0.000932
0.073625
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
fc756b7ac9da08bae374fb6728aedb8c7bfc4ce9
157
py
Python
github_users/__init__.py
hanpeter/github-users
5bda1fb473a8f69c6ad7f8391b92cafb82e3a92d
[ "MIT" ]
1
2018-10-24T15:57:13.000Z
2018-10-24T15:57:13.000Z
github_users/__init__.py
hanpeter/github-users
5bda1fb473a8f69c6ad7f8391b92cafb82e3a92d
[ "MIT" ]
1
2021-02-24T05:08:14.000Z
2021-02-24T05:08:14.000Z
github_users/__init__.py
hanpeter/github-users
5bda1fb473a8f69c6ad7f8391b92cafb82e3a92d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from github_users.application import Application from github_users.cli import main from github_users.__version__ import __version__
26.166667
48
0.808917
21
157
5.52381
0.52381
0.258621
0.387931
0
0
0
0
0
0
0
0
0.007194
0.11465
157
5
49
31.4
0.827338
0.133758
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
fca25b1abc68928d3cdf18a638eed2f46d67385f
4,349
py
Python
supply.py
ietar/plane
9f7951e7c2fa37fefd660d1855a5280e771adce4
[ "MIT" ]
7
2019-04-14T07:22:43.000Z
2021-09-19T11:05:40.000Z
supply.py
ietar/plane
9f7951e7c2fa37fefd660d1855a5280e771adce4
[ "MIT" ]
null
null
null
supply.py
ietar/plane
9f7951e7c2fa37fefd660d1855a5280e771adce4
[ "MIT" ]
4
2019-05-04T13:22:49.000Z
2020-02-20T04:01:07.000Z
import pygame from random import * class BulletSupply(pygame.sprite.Sprite): def __init__(self, bg_size): pygame.sprite.Sprite.__init__(self) self.image = pygame.image.load(r'images\bullet_supply.png').convert_alpha() self.rect = self.image.get_rect() self.width, self.height = bg_...
34.792
89
0.587261
602
4,349
4.144518
0.098007
0.179559
0.096192
0.081764
0.957515
0.95511
0.95511
0.95511
0.95511
0.95511
0
0.029327
0.278685
4,349
124
90
35.072581
0.766018
0.014486
0
0.88
0
0
0.019622
0.015884
0
0
0
0
0
1
0.12
false
0
0.02
0
0.18
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
5dd8b02d39aa5dc426f07385f38799308a5dfff4
6,401
py
Python
eden/py/test/dirstate_test.py
jmswen/eden
5e0b051703fa946cc77fc43004435ae6b20599a1
[ "BSD-3-Clause" ]
null
null
null
eden/py/test/dirstate_test.py
jmswen/eden
5e0b051703fa946cc77fc43004435ae6b20599a1
[ "BSD-3-Clause" ]
null
null
null
eden/py/test/dirstate_test.py
jmswen/eden
5e0b051703fa946cc77fc43004435ae6b20599a1
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2016-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. from __future__ import a...
47.414815
88
0.597407
948
6,401
3.944093
0.17616
0.22145
0.274405
0.288847
0.886601
0.857181
0.837925
0.837925
0.792993
0.792993
0
0.144598
0.243712
6,401
134
89
47.768657
0.627763
0.044056
0
0.623932
0
0.307692
0.432264
0.421466
0
0
0
0
0.102564
1
0.051282
false
0
0.034188
0
0.102564
0.008547
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
5d126c89e0bef0b1571f403c2fc9b5744bda08b6
90
py
Python
docs/tests/E0107.py
mrfyda/codacy-pylint-python3
e360f6c0407edebe274835d3a881d67e96adf8ba
[ "Apache-2.0" ]
17
2016-01-26T13:30:04.000Z
2022-03-06T21:11:42.000Z
docs/tests/E0107.py
mrfyda/codacy-pylint-python3
e360f6c0407edebe274835d3a881d67e96adf8ba
[ "Apache-2.0" ]
50
2019-08-14T16:14:45.000Z
2022-03-31T11:00:50.000Z
docs/tests/E0107.py
mrfyda/codacy-pylint-python3
e360f6c0407edebe274835d3a881d67e96adf8ba
[ "Apache-2.0" ]
15
2015-11-18T12:18:50.000Z
2021-01-17T22:21:41.000Z
##Patterns: E0107 def test(): a = 1 ##Err: E0107 ++a ##Err: E0107 --a
11.25
17
0.444444
12
90
3.333333
0.583333
0.4
0.45
0
0
0
0
0
0
0
0
0.22807
0.366667
90
8
18
11.25
0.473684
0.388889
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0
1
0
0
null
1
1
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
1
0
0
0
0
0
0
0
7
5d25d4aeb1e2a877b1652e8022a0f089802609f8
16,850
py
Python
lib/dataset/body_model.py
YuliangXiu/ICON
ece5a09aa2d56aec28017430e65a0352622a0f30
[ "Intel" ]
486
2021-12-16T03:13:31.000Z
2022-03-30T04:26:48.000Z
lib/dataset/body_model.py
YuliangXiu/ICON
ece5a09aa2d56aec28017430e65a0352622a0f30
[ "Intel" ]
33
2021-12-30T07:28:10.000Z
2022-03-30T08:04:06.000Z
lib/dataset/body_model.py
YuliangXiu/ICON
ece5a09aa2d56aec28017430e65a0352622a0f30
[ "Intel" ]
38
2021-12-17T10:55:01.000Z
2022-03-30T23:25:39.000Z
# -*- coding: utf-8 -*- # Max-Planck-Gesellschaft zur Förderung der Wissenschaften e.V. (MPG) is # holder of all proprietary rights on this computer program. # You can only use this computer program if you have closed # a license agreement with MPG or you get the right to use the computer # program from someone who i...
34.040404
84
0.512878
2,251
16,850
3.731231
0.119502
0.028932
0.02667
0.020002
0.855816
0.847125
0.838671
0.838671
0.835933
0.835933
0
0.028323
0.350445
16,850
494
85
34.109312
0.738968
0.237923
0
0.79845
0
0
0.034062
0.004406
0
0
0
0
0
1
0.05814
false
0
0.015504
0
0.112403
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
5d2dcc6950b9d8c9e642cfa1406f0d9816185ef4
104
py
Python
extra_keras_utils/is_multi_gpu.py
LucaCappelletti94/extra_keras_utils
02fadec06c0478bac51304461ef8dbb6a63e972d
[ "MIT" ]
null
null
null
extra_keras_utils/is_multi_gpu.py
LucaCappelletti94/extra_keras_utils
02fadec06c0478bac51304461ef8dbb6a63e972d
[ "MIT" ]
null
null
null
extra_keras_utils/is_multi_gpu.py
LucaCappelletti94/extra_keras_utils
02fadec06c0478bac51304461ef8dbb6a63e972d
[ "MIT" ]
null
null
null
from .get_gpus_number import get_gpus_number def is_multi_gpu() -> bool: return get_gpus_number()>1
26
44
0.778846
18
104
4.055556
0.666667
0.287671
0.534247
0
0
0
0
0
0
0
0
0.011111
0.134615
104
4
45
26
0.8
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
9
5d5bbdae5ddb8ef3cca40b139270f63ccd7a1e8b
12,997
py
Python
tests/test_xbm.py
Vluf/segno
ac4d15d161a87d7f3069c0d153faf97f92f1c114
[ "BSD-3-Clause" ]
null
null
null
tests/test_xbm.py
Vluf/segno
ac4d15d161a87d7f3069c0d153faf97f92f1c114
[ "BSD-3-Clause" ]
null
null
null
tests/test_xbm.py
Vluf/segno
ac4d15d161a87d7f3069c0d153faf97f92f1c114
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (c) 2016 - 2018 -- Lars Heuer - Semagia <http://www.semagia.com/>. # All rights reserved. # # License: BSD License # """\ XBM related tests. """ from __future__ import unicode_literals, absolute_import import io import re import pytest import segno def _decompose_xbm(s): # In...
60.451163
80
0.644918
2,045
12,997
4.06846
0.046944
0.8375
1.070192
1.248077
0.89375
0.888822
0.883053
0.874639
0.871154
0.861058
0
0.420498
0.196738
12,997
214
81
60.733645
0.376437
0.022928
0
0.28125
0
0.755208
0.883851
0
0
0
0.548809
0
0.0625
1
0.020833
false
0
0.026042
0
0.052083
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
1
1
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
14
5d74e96c1e9079ae23d73ad8cf8dc75e67f0c1cb
211
py
Python
topics/buttoninput/ButtonInputCommand.py
CydrickT/HomeAutomation
e2a14d749c26a6dd0a96e5cdd8e6d715e57b75e3
[ "MIT" ]
null
null
null
topics/buttoninput/ButtonInputCommand.py
CydrickT/HomeAutomation
e2a14d749c26a6dd0a96e5cdd8e6d715e57b75e3
[ "MIT" ]
3
2021-06-02T02:21:51.000Z
2022-03-12T00:39:28.000Z
topics/buttoninput/ButtonInputCommand.py
CydrickT/HomeAutomation
e2a14d749c26a6dd0a96e5cdd8e6d715e57b75e3
[ "MIT" ]
null
null
null
from topics.buttoninput.ButtonInputType import ButtonInputType class ButtonInputCommand: def __init__(self, button_input_type=ButtonInputType.UpShort): self.button_input_type = button_input_type
23.444444
66
0.815166
23
211
7.043478
0.608696
0.203704
0.277778
0.234568
0
0
0
0
0
0
0
0
0.132701
211
8
67
26.375
0.885246
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
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
1
0
0
0
0
1
0
0
7
53b0cf6cc8528e7b6aedb9aa26bd11588691ffa9
64,842
py
Python
C++/python_test/test_biopsy_scoring.py
JohnReid/biopsy
1eeb714ba5b53f2ecf776d865d32e2078cbc0338
[ "MIT" ]
null
null
null
C++/python_test/test_biopsy_scoring.py
JohnReid/biopsy
1eeb714ba5b53f2ecf776d865d32e2078cbc0338
[ "MIT" ]
null
null
null
C++/python_test/test_biopsy_scoring.py
JohnReid/biopsy
1eeb714ba5b53f2ecf776d865d32e2078cbc0338
[ "MIT" ]
null
null
null
# # Copyright John Reid 2010 # """ Test case for biopsy scoring. Sequences have come from work on ORegAnno data set where I found a reproducible bug. """ import _biopsy as biopsy biopsy.init() print 'Biopsy C++ module version %s' % biopsy.version() raw_test_data = """M00181,M00928,M00107:gcatcaggagcctgagcaaacca...
209.84466
2,014
0.961861
1,990
64,842
31.29799
0.226633
0.023602
0.007097
0.010372
0.155436
0.096351
0.086075
0.06456
0.060418
0.015606
0
0.09814
0.012507
64,842
308
2,015
210.525974
0.874561
0.002761
0
0.015094
0
0.045283
0.967672
0.957925
0
1
0
0
0.003774
0
null
null
0
0.003774
null
null
0.033962
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
1
0
0
0
0
0
0
0
0
7
53ceecb89b34b24088cae2971d75bc92a92a0059
11,130
py
Python
tests/test_cli_delete.py
MSLNZ/msl-network
91aa45f5c384c89f3db5048b94c51edd18019630
[ "MIT" ]
null
null
null
tests/test_cli_delete.py
MSLNZ/msl-network
91aa45f5c384c89f3db5048b94c51edd18019630
[ "MIT" ]
8
2018-09-08T19:29:04.000Z
2021-05-28T21:07:15.000Z
tests/test_cli_delete.py
MSLNZ/msl-network
91aa45f5c384c89f3db5048b94c51edd18019630
[ "MIT" ]
1
2022-03-22T03:11:34.000Z
2022-03-22T03:11:34.000Z
import os import shutil import tempfile from msl.network import cli N = 10 ROOT_DIR = os.path.join(tempfile.gettempdir(), 'msl-io-testing') def get_args(*args): parser = cli.configure_parser() command = ['delete', '--root', ROOT_DIR, '--yes'] + list(args) return parser.parse_args(command) def create_f...
31.002786
86
0.645822
1,680
11,130
4.20119
0.075595
0.103712
0.092094
0.122981
0.864693
0.8552
0.851233
0.815812
0.799377
0.76934
0
0.001693
0.203953
11,130
358
87
31.089385
0.794921
0.078257
0
0.8107
0
0
0.146601
0
0
0
0
0
0.567901
1
0.049383
false
0.00823
0.016461
0
0.069959
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
54f2b23137cdca6de2f4424b17d1357d9a0e2910
12,277
py
Python
vscode/extensions/WakaTime.vscode-wakatime-1.1.17/out/wakatime-master/tests/test_languages.py
nlimpid/dotfiles
b78d08707992f742f984f556fa58349c2ccd095d
[ "MIT" ]
null
null
null
vscode/extensions/WakaTime.vscode-wakatime-1.1.17/out/wakatime-master/tests/test_languages.py
nlimpid/dotfiles
b78d08707992f742f984f556fa58349c2ccd095d
[ "MIT" ]
4
2019-06-16T09:52:03.000Z
2019-08-18T02:11:35.000Z
vscode/extensions/WakaTime.vscode-wakatime-1.1.17/out/wakatime-master/tests/test_languages.py
nlimpid/dotfiles
b78d08707992f742f984f556fa58349c2ccd095d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from wakatime.main import execute from wakatime.packages import requests import time from wakatime.compat import u from wakatime.packages.requests.models import Response from wakatime.stats import guess_language from . import utils class LanguagesTestCase(utils.TestCase): patch_these = ...
42.628472
142
0.653254
1,428
12,277
5.457283
0.095938
0.047735
0.073143
0.0657
0.855511
0.85179
0.835493
0.830104
0.829847
0.829847
0
0.014297
0.208113
12,277
287
143
42.777003
0.787287
0.001711
0
0.725581
0
0
0.291089
0.235515
0
0
0
0
0.148837
1
0.074419
false
0
0.032558
0
0.116279
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
0708674efe29842eb6522878c2cf7fcdf8b91d38
805
py
Python
src/main/python/algorithms/cycleSort.py
asifkamalturzo/visualizer_integration
20f0f83bff3bba0f5cf52061f65aef33ada46a89
[ "MIT" ]
null
null
null
src/main/python/algorithms/cycleSort.py
asifkamalturzo/visualizer_integration
20f0f83bff3bba0f5cf52061f65aef33ada46a89
[ "MIT" ]
null
null
null
src/main/python/algorithms/cycleSort.py
asifkamalturzo/visualizer_integration
20f0f83bff3bba0f5cf52061f65aef33ada46a89
[ "MIT" ]
null
null
null
def cycleSort(array, *args): for cycle_start in range(0, len(array) - 1): item = array[cycle_start] pos = cycle_start for i in range(cycle_start + 1, len(array)): if array[i] < item: pos += 1 if pos == cycle_start: continue w...
28.75
56
0.470807
100
805
3.69
0.19
0.271003
0.140921
0.146341
0.753388
0.753388
0.753388
0.753388
0.753388
0.753388
0
0.025641
0.418634
805
27
57
29.814815
0.762821
0
0
0.727273
0
0
0
0
0
0
0
0
0
1
0.045455
false
0
0
0
0.045455
0
0
0
0
null
1
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
07279baa3f1df03d4fe50dece116694dce8fc543
26,980
py
Python
dynamicgem/evaluation/evaluate_link_prediction.py
Sujit-O/dyngem
a879bf362d1e9409faa4e1186c345337ad6d0189
[ "MIT" ]
null
null
null
dynamicgem/evaluation/evaluate_link_prediction.py
Sujit-O/dyngem
a879bf362d1e9409faa4e1186c345337ad6d0189
[ "MIT" ]
null
null
null
dynamicgem/evaluation/evaluate_link_prediction.py
Sujit-O/dyngem
a879bf362d1e9409faa4e1186c345337ad6d0189
[ "MIT" ]
null
null
null
try: import cPickle as pickle except: import pickle from dynamicgem.evaluation import metrics as metrics from dynamicgem.utils import evaluation_util from dynamicgem.utils import graph_util import numpy as np import networkx as nx import pdb import sys sys.path.insert(0, './') from dynamicgem.utils import embe...
40.208644
103
0.516457
3,024
26,980
4.385251
0.064153
0.052786
0.038006
0.019908
0.920142
0.905739
0.90227
0.895785
0.888244
0.88108
0
0.00583
0.396034
26,980
670
104
40.268657
0.807978
0.299555
0
0.827251
0
0
0.032131
0
0
0
0
0
0
1
0.026764
false
0
0.024331
0
0.077859
0.019465
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
07437f29e63013f10c79f49f7048ef69f36ce5b8
5,976
py
Python
input/std_conv.py
tiendzung-le/MiDaS
6eba3744e30ba429985ad919b828542d99810125
[ "MIT" ]
null
null
null
input/std_conv.py
tiendzung-le/MiDaS
6eba3744e30ba429985ad919b828542d99810125
[ "MIT" ]
null
null
null
input/std_conv.py
tiendzung-le/MiDaS
6eba3744e30ba429985ad919b828542d99810125
[ "MIT" ]
null
null
null
""" Convolution with Weight Standardization (StdConv and ScaledStdConv) StdConv: @article{weightstandardization, author = {Siyuan Qiao and Huiyu Wang and Chenxi Liu and Wei Shen and Alan Yuille}, title = {Weight Standardization}, journal = {arXiv preprint arXiv:1903.10520}, year = {2019}, } Code:...
43.941176
109
0.671352
806
5,976
4.851117
0.204715
0.039386
0.049105
0.042967
0.802558
0.802558
0.782609
0.782609
0.757033
0.751407
0
0.029424
0.215194
5,976
135
110
44.266667
0.804264
0.306058
0
0.789474
0
0
0.001971
0
0
0
0
0
0
1
0.105263
false
0
0.052632
0
0.263158
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
4acac21c91ed9fbb1b0ea650f7b8f68faa97a8ec
2,014
py
Python
tests/test_camelcase.py
nyejon/fastapi-utils
8c034491a0ef201debf38f340250558e1f2c3c3a
[ "MIT" ]
994
2020-01-20T03:19:22.000Z
2022-03-31T15:17:00.000Z
tests/test_camelcase.py
liuxiaofei1071/fastapi-utils
af95ff4a8195caaa9edaa3dbd5b6eeb09691d9c7
[ "MIT" ]
223
2020-01-23T21:05:08.000Z
2022-02-12T19:43:12.000Z
tests/test_camelcase.py
liuxiaofei1071/fastapi-utils
af95ff4a8195caaa9edaa3dbd5b6eeb09691d9c7
[ "MIT" ]
81
2020-01-26T17:34:11.000Z
2022-03-22T09:21:18.000Z
import pytest from fastapi_utils.camelcase import camel2snake, snake2camel @pytest.mark.parametrize( "value,result", [ ("snake_to_camel", "snakeToCamel"), ("snake_2_camel", "snake2Camel"), ("snake2camel", "snake2Camel"), ("_snake_to_camel", "_snakeToCamel"), ("snake_to...
30.515152
66
0.59434
191
2,014
5.602094
0.146597
0.065421
0.11215
0.179439
0.868224
0.868224
0.801869
0.801869
0.721495
0.721495
0
0.028332
0.228898
2,014
65
67
30.984615
0.660657
0
0
0.155172
0
0
0.41708
0
0
0
0
0
0.051724
1
0.051724
false
0
0.034483
0
0.086207
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
4acbf1894698fba6edd82b364553a56667abdc7e
41,078
py
Python
components/google-cloud/tests/container/experimental/gcp_launcher/test_bigquery_job_remote_runner.py
Iuiu1234/pipelines
1e032f550ce23cd40bfb6827b995248537b07d08
[ "Apache-2.0" ]
null
null
null
components/google-cloud/tests/container/experimental/gcp_launcher/test_bigquery_job_remote_runner.py
Iuiu1234/pipelines
1e032f550ce23cd40bfb6827b995248537b07d08
[ "Apache-2.0" ]
null
null
null
components/google-cloud/tests/container/experimental/gcp_launcher/test_bigquery_job_remote_runner.py
Iuiu1234/pipelines
1e032f550ce23cd40bfb6827b995248537b07d08
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 The Kubeflow 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 applicabl...
49.019093
336
0.641511
4,565
41,078
5.458489
0.061993
0.013845
0.03672
0.038767
0.932418
0.92692
0.923028
0.922586
0.922586
0.916687
0
0.002178
0.217489
41,078
837
337
49.077658
0.773021
0.030211
0
0.783379
0
0.070845
0.334874
0.098452
0
0
0
0
0.077657
1
0.023161
false
0
0.017711
0
0.042234
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
ab3b676070c209d595e55930c3915650ca3790d3
150
py
Python
scripts/field/cannon_tuto_direction.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/field/cannon_tuto_direction.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/field/cannon_tuto_direction.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
sm.lockInGameUI(True) sm.reservedEffect("Effect/Direction4.img/cannonshooter/Scene00") sm.reservedEffect("Effect/Direction4.img/cannonshooter/out00")
37.5
64
0.84
17
150
7.411765
0.588235
0.253968
0.349206
0.507937
0.761905
0.761905
0
0
0
0
0
0.040816
0.02
150
3
65
50
0.816327
0
0
0
0
0
0.56
0.56
0
0
0
0
0
1
0
true
0
0
0
0
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
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
ab4db23ee18704015b65857274548332a3c16802
40,010
py
Python
net/detxt_cpn.py
middleprince/fashionAi
c512936b4983c2fb093008f06e04753180af0a90
[ "Apache-2.0" ]
316
2018-06-01T16:21:21.000Z
2022-03-22T03:25:20.000Z
net/detxt_cpn.py
middleprince/fashionAi
c512936b4983c2fb093008f06e04753180af0a90
[ "Apache-2.0" ]
8
2018-06-02T07:07:49.000Z
2019-07-11T06:55:43.000Z
net/detxt_cpn.py
middleprince/fashionAi
c512936b4983c2fb093008f06e04753180af0a90
[ "Apache-2.0" ]
91
2018-06-01T17:12:21.000Z
2022-03-19T06:54:34.000Z
# Copyright 2018 Changan Wang # 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 writing, so...
63.913738
236
0.645764
5,057
40,010
4.788412
0.074352
0.054099
0.04683
0.029734
0.832335
0.812183
0.796201
0.785587
0.776048
0.769275
0
0.023758
0.24149
40,010
625
237
64.016
0.774153
0.07953
0
0.725702
0
0
0.071898
0.010724
0
0
0
0
0
1
0.028078
false
0
0.010799
0.00432
0.069114
0.00216
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
db63bfe8cb330144891dc5ac331e795823a0c1ba
4,684
py
Python
pyseaweed/func_tests.py
utek/pyseaweed
ce12c6ea44c61edc9cb703de300e8ce85f3d0e54
[ "MIT" ]
19
2016-07-20T06:21:43.000Z
2022-03-24T08:30:46.000Z
pyseaweed/func_tests.py
utek/pyseaweed
ce12c6ea44c61edc9cb703de300e8ce85f3d0e54
[ "MIT" ]
3
2016-06-11T14:16:13.000Z
2017-11-02T07:48:11.000Z
pyseaweed/func_tests.py
utek/pyseaweed
ce12c6ea44c61edc9cb703de300e8ce85f3d0e54
[ "MIT" ]
10
2016-11-07T13:25:40.000Z
2021-02-25T12:28:38.000Z
# -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 from __future__ import print_function import os import unittest from pyseaweed.exceptions import BadFidFormat from pyseaweed.seaweed import SeaweedFS class FunctionalTests(unittest.TestCase): def setUp(self): self.seaweed = SeaweedFS() def test_h...
33.457143
73
0.653715
592
4,684
4.932432
0.146959
0.150685
0.076712
0.068493
0.926712
0.926712
0.926712
0.926712
0.893836
0.893836
0
0.012287
0.235482
4,684
139
74
33.697842
0.803128
0.092656
0
0.910891
0
0
0.020779
0
0
0
0
0.007194
0.356436
1
0.178218
false
0
0.049505
0
0.247525
0.009901
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
dbb0d38e152dde983da2a34e0500dbc11801127d
7,679
py
Python
tests/test_singleLines.py
langrind/ccjtools
6f92d8cadf24d6e1f26e984df3c11b4d58061053
[ "MIT" ]
null
null
null
tests/test_singleLines.py
langrind/ccjtools
6f92d8cadf24d6e1f26e984df3c11b4d58061053
[ "MIT" ]
null
null
null
tests/test_singleLines.py
langrind/ccjtools
6f92d8cadf24d6e1f26e984df3c11b4d58061053
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os from ccjtools import ccj_make def test_detectExactSpecifiedCompilerCommand(): """Using -c option, check that lines are recognized correctly""" inputFileName = 'dummy' parsedArgs = ccj_make.mkccj_parse_args(['progname', inputFileName, '-c', '/opt/gcc-arm-none-eabi-6-2017-q...
82.569892
1,789
0.741763
1,080
7,679
5.174074
0.192593
0.015032
0.018611
0.046528
0.950608
0.950608
0.950608
0.950608
0.940766
0.923586
0
0.014099
0.10405
7,679
92
1,790
83.467391
0.79811
0.027478
0
0.836364
0
0.090909
0.776794
0.420926
0
0
0
0
0.363636
1
0.036364
false
0
0.036364
0
0.072727
0.054545
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
dbcf9fa29f2af561712122032cb1257b64fb5424
34,280
py
Python
gs_quant/target/data.py
S-Manglik/gs-quant
af22aa8574571db45ddc2a9627d25a26bd00e09b
[ "Apache-2.0" ]
null
null
null
gs_quant/target/data.py
S-Manglik/gs-quant
af22aa8574571db45ddc2a9627d25a26bd00e09b
[ "Apache-2.0" ]
null
null
null
gs_quant/target/data.py
S-Manglik/gs-quant
af22aa8574571db45ddc2a9627d25a26bd00e09b
[ "Apache-2.0" ]
null
null
null
""" Copyright 2019 Goldman Sachs. 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 writing, software di...
53.065015
120
0.776079
4,200
34,280
6.137857
0.088333
0.144769
0.183095
0.274642
0.827883
0.826099
0.810311
0.779161
0.692153
0.587726
0
0.000392
0.10633
34,280
645
121
53.147287
0.841097
0.023862
0
0.485437
0
0
0.007658
0.000628
0
0
0
0
0
1
0
false
0.005825
0.013592
0
0.749515
0
0
0
0
null
0
1
1
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
0
0
0
0
0
0
0
1
0
0
7
916589775c542c687c81dcca22ac9c14726f5182
733
py
Python
packages/PIPS/validation/Transformations/Simplify_control.sub/simplify_parallelized_code.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
51
2015-01-31T01:51:39.000Z
2022-02-18T02:01:50.000Z
packages/PIPS/validation/Transformations/Simplify_control.sub/simplify_parallelized_code.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
7
2017-05-29T09:29:00.000Z
2019-03-11T16:01:39.000Z
packages/PIPS/validation/Transformations/Simplify_control.sub/simplify_parallelized_code.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
12
2015-03-26T08:05:38.000Z
2022-02-18T02:01:51.000Z
from __future__ import with_statement # this is to work with python2.5 from validation import vworkspace with vworkspace() as w: w.props.memory_effects_only = False w.props.semantics_compute_transformers_in_context = False w.all_functions.internalize_parallel_code() w.all_functions.validate_phases("si...
36.65
70
0.802183
99
733
5.545455
0.353535
0.043716
0.142077
0.120219
0.839709
0.839709
0.839709
0.839709
0.839709
0.839709
0
0.00312
0.125512
733
19
71
38.578947
0.853354
0.040928
0
0.8
0
0
0.068571
0
0
0
0
0
0
1
0
true
0
0.133333
0
0.133333
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
9186c3373090f6f05006d88827812d5d1291ca0d
189
py
Python
Exercise-1/Q3_pattern.py
abhay-lal/18CSC207J-APP
79a955a99837e6d41c89cb1a9e84eb0230c0fa7b
[ "MIT" ]
null
null
null
Exercise-1/Q3_pattern.py
abhay-lal/18CSC207J-APP
79a955a99837e6d41c89cb1a9e84eb0230c0fa7b
[ "MIT" ]
null
null
null
Exercise-1/Q3_pattern.py
abhay-lal/18CSC207J-APP
79a955a99837e6d41c89cb1a9e84eb0230c0fa7b
[ "MIT" ]
null
null
null
for i in range(1, 6): for j in range(1, i + 1): print('* ', end='') print() for i in range(4, 0, -1): for j in range(1, i + 1): print('* ', end='') print()
18.9
29
0.428571
33
189
2.454545
0.333333
0.345679
0.296296
0.271605
0.666667
0.666667
0.666667
0.666667
0.666667
0.666667
0
0.073171
0.349206
189
9
30
21
0.585366
0
0
0.75
0
0
0.021277
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
91a6847b1341b3c6049727958151a2c0d7bc6274
86
py
Python
pytest/test_no_user.py
dpe22/health-application
965f546ef8e7d1de0f2fe4a86ad3867fe9877919
[ "Apache-2.0" ]
null
null
null
pytest/test_no_user.py
dpe22/health-application
965f546ef8e7d1de0f2fe4a86ad3867fe9877919
[ "Apache-2.0" ]
5
2022-03-13T00:37:13.000Z
2022-03-15T05:32:27.000Z
pytest/test_no_user.py
dpe22/health-application
965f546ef8e7d1de0f2fe4a86ad3867fe9877919
[ "Apache-2.0" ]
null
null
null
import pytest def test_no_user(): #with pytest.raises(Exception): return
14.333333
35
0.674419
11
86
5.090909
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.232558
86
5
36
17.2
0.848485
0.348837
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
91b529baf85ee24190dc7914d49b1eb9065e36d0
133
py
Python
smdebug_rulesconfig/_collections.py
NRauschmayr/sagemaker-debugger-rulesconfig
6d0ed3586813c46e8042ac489dcb9ff5bb7121e5
[ "Apache-2.0" ]
8
2020-02-09T19:57:56.000Z
2021-10-20T14:51:04.000Z
smdebug_rulesconfig/_collections.py
NRauschmayr/sagemaker-debugger-rulesconfig
6d0ed3586813c46e8042ac489dcb9ff5bb7121e5
[ "Apache-2.0" ]
6
2020-06-30T04:29:29.000Z
2021-03-09T03:27:41.000Z
smdebug_rulesconfig/_collections.py
NRauschmayr/sagemaker-debugger-rulesconfig
6d0ed3586813c46e8042ac489dcb9ff5bb7121e5
[ "Apache-2.0" ]
7
2019-12-08T20:17:04.000Z
2021-07-08T09:36:21.000Z
from ._utils import _get_collection_config def get_collection(collection_name): return _get_collection_config(collection_name)
22.166667
50
0.849624
17
133
6.058824
0.529412
0.378641
0.368932
0
0
0
0
0
0
0
0
0
0.105263
133
5
51
26.6
0.865546
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
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
1
0
0
1
1
0
0
0
7
91cb9bae57fa0d2e2d65be9154fda04f6f78ccbe
29,161
py
Python
tests/core/test_build.py
tektronix/syphon
04460a1196c3e5a211d01cd1f02ab307b46d5932
[ "MIT" ]
3
2019-03-05T15:36:00.000Z
2019-08-01T18:33:40.000Z
tests/core/test_build.py
tektronix/syphon
04460a1196c3e5a211d01cd1f02ab307b46d5932
[ "MIT" ]
32
2019-02-27T15:12:52.000Z
2020-10-04T17:39:45.000Z
tests/core/test_build.py
tektronix/syphon
04460a1196c3e5a211d01cd1f02ab307b46d5932
[ "MIT" ]
3
2019-09-26T16:47:17.000Z
2020-03-18T14:38:31.000Z
"""tests.core.test_build.py Copyright Keithley Instruments, LLC. Licensed under MIT (https://github.com/tektronix/syphon/blob/master/LICENSE) """ import os import pathlib from typing import List, Optional, Union import pytest from _pytest.capture import CaptureFixture from _pytest.fixtures import FixtureReques...
35.562195
87
0.623435
3,421
29,161
5.066355
0.079217
0.043099
0.028848
0.034503
0.805331
0.790272
0.780291
0.773021
0.762578
0.751846
0
0.004302
0.282603
29,161
819
88
35.605617
0.824187
0.070059
0
0.736842
0
0
0.043236
0.024903
0
0
0
0.001221
0.151703
1
0.03096
false
0
0.034056
0.001548
0.078947
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
37f8538b31d2710d876a2e2d8b25aee450c1968e
37,196
py
Python
c_engine.py
zhuang-group/SAQ
594e9c74944999766e119e7137f50583aeedf52b
[ "Apache-2.0" ]
22
2021-11-24T23:19:26.000Z
2022-03-10T12:08:32.000Z
c_engine.py
zip-group/SAQ
594e9c74944999766e119e7137f50583aeedf52b
[ "Apache-2.0" ]
null
null
null
c_engine.py
zip-group/SAQ
594e9c74944999766e119e7137f50583aeedf52b
[ "Apache-2.0" ]
4
2021-11-29T04:10:32.000Z
2021-12-03T03:08:19.000Z
import torch.nn as nn from core.engine import get_lr, val from core.utils import * from engine import (set_first_forward, set_layer_first_forward, set_layer_second_forward, set_second_forward) from models.qmobilenetv2_cifar import QSAMMobileNetV2CifarBlock from models.qpreresnet import QSAMPreBasic...
38.03272
88
0.59458
4,173
37,196
4.995687
0.062545
0.041445
0.039334
0.043651
0.882333
0.857102
0.841656
0.819207
0.800739
0.790138
0
0.008658
0.310625
37,196
977
89
38.071648
0.804344
0.017663
0
0.767943
0
0
0.064905
0.022824
0
0
0
0
0.001196
1
0.016746
false
0
0.013158
0
0.04067
0.013158
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
53292e4e6e956f29b49e6db7c84cbf5f8f094726
173
py
Python
region/__init__.py
Dexterzhao/region
596476ad291bfbbeb7d88bb70503aff89c1df59c
[ "BSD-3-Clause" ]
15
2018-05-17T07:17:43.000Z
2022-02-20T19:00:58.000Z
region/__init__.py
Dexterzhao/region
596476ad291bfbbeb7d88bb70503aff89c1df59c
[ "BSD-3-Clause" ]
29
2017-09-23T20:46:26.000Z
2019-12-18T20:16:56.000Z
region/__init__.py
Dexterzhao/region
596476ad291bfbbeb7d88bb70503aff89c1df59c
[ "BSD-3-Clause" ]
17
2017-06-23T17:37:44.000Z
2020-04-15T16:45:35.000Z
from . import csgraph_utils from . import max_p_regions from . import p_regions from . import skater from . import util from . import objective_function from . import tests
21.625
32
0.797688
26
173
5.115385
0.461538
0.526316
0.180451
0.270677
0
0
0
0
0
0
0
0
0.16185
173
7
33
24.714286
0.917241
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
53357663bf25eed5606c5f70f9565a4158991b8c
42
py
Python
lib/neptune/hard_example_mining/hard_example_helpers/__init__.py
llhuii/neptune
36ad049bd5fc0d09c33175b7c1821edf7c18c56a
[ "Apache-2.0" ]
16
2021-01-04T08:20:55.000Z
2022-03-10T11:28:57.000Z
lib/neptune/hard_example_mining/hard_example_helpers/__init__.py
llhuii/neptune
36ad049bd5fc0d09c33175b7c1821edf7c18c56a
[ "Apache-2.0" ]
19
2021-01-04T03:52:24.000Z
2021-05-26T02:22:37.000Z
lib/neptune/hard_example_mining/hard_example_helpers/__init__.py
llhuii/neptune
36ad049bd5fc0d09c33175b7c1821edf7c18c56a
[ "Apache-2.0" ]
10
2021-01-04T03:47:58.000Z
2021-06-12T17:00:05.000Z
from .data_check_utils import data_check
21
41
0.857143
7
42
4.714286
0.714286
0.545455
0
0
0
0
0
0
0
0
0
0
0.119048
42
1
42
42
0.891892
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
53479b0357f1c8e58df7dd28f04cb64fc40fddb5
13,116
py
Python
src/python/tests/core/bot/fuzzers/strategy_selection_test.py
tapaswenipathak/clusterfuzz
a5468fc736ee42af9e2dd63e24c22ae2c3ac1662
[ "Apache-2.0" ]
1
2019-11-09T23:09:00.000Z
2019-11-09T23:09:00.000Z
src/python/tests/core/bot/fuzzers/strategy_selection_test.py
tapaswenipathak/clusterfuzz
a5468fc736ee42af9e2dd63e24c22ae2c3ac1662
[ "Apache-2.0" ]
null
null
null
src/python/tests/core/bot/fuzzers/strategy_selection_test.py
tapaswenipathak/clusterfuzz
a5468fc736ee42af9e2dd63e24c22ae2c3ac1662
[ "Apache-2.0" ]
1
2020-04-25T16:37:10.000Z
2020-04-25T16:37:10.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
42.038462
80
0.76746
1,598
13,116
6.047559
0.135795
0.069536
0.028974
0.04553
0.882968
0.870757
0.850269
0.840128
0.825021
0.825021
0
0.006168
0.159424
13,116
311
81
42.173633
0.870385
0.277981
0
0.833333
0
0
0.124271
0.100518
0
0
0
0
0.107527
1
0.075269
false
0
0.048387
0
0.166667
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
725b9ce4ecf9249343b3b00ab274460a2e6a36f1
3,801
py
Python
cvdm/score/tests/test_dcs.py
joyceho/cvdm
df386290221fd1388bef06104db0dd07978f91d9
[ "MIT" ]
2
2020-11-29T00:05:05.000Z
2020-12-01T23:34:17.000Z
cvdm/score/tests/test_dcs.py
joyceho/cvdm
df386290221fd1388bef06104db0dd07978f91d9
[ "MIT" ]
null
null
null
cvdm/score/tests/test_dcs.py
joyceho/cvdm
df386290221fd1388bef06104db0dd07978f91d9
[ "MIT" ]
null
null
null
import numpy.testing as npt from cvdm.score import dcs, Dcs def test_dcs(): tmp = dcs(55, False, False, False, 8, 120, False, False, False, False, True, 4.3, False, False, 5, False) npt.assert_almost_equal(tmp, 0.172, decimal=3) tmp = dcs(55, False, False, False, 8, 120, ...
38.01
55
0.401999
368
3,801
4.040761
0.144022
0.168124
0.121049
0.121049
0.902488
0.902488
0.902488
0.898453
0.898453
0.898453
0
0.065228
0.475664
3,801
99
56
38.393939
0.680883
0
0
0.87234
0
0
0.122336
0
0
0
0
0
0.095745
1
0.021277
false
0
0.021277
0
0.042553
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
728ec72ca1778e42efe991238172a70bacef1cc8
6,353
py
Python
RecoHI/HiTracking/python/MergeTrackCollectionsHI_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoHI/HiTracking/python/MergeTrackCollectionsHI_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoHI/HiTracking/python/MergeTrackCollectionsHI_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms import RecoTracker.FinalTrackSelectors.trackListMerger_cfi hiGeneralTracksNoRegitMu = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone( TrackProducers = ['hiGlobalPrimTracks', 'hiDetachedTripletStepTracks', ...
52.941667
151
0.653864
334
6,353
12.422156
0.329341
0.0188
0.025307
0.029887
0.883827
0.883827
0.883827
0.883827
0.807906
0.807906
0
0.022645
0.263183
6,353
119
152
53.386555
0.863704
0.010231
0
0.786325
0
0
0.49809
0.483768
0
0
0
0
0
1
0
false
0
0.025641
0
0.025641
0
0
0
1
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
72e26d79333735e51f52598f2402f5fb275af259
1,416
py
Python
order_form_edits/migrations/0002_alter_academiclevel_id_alter_day_id_alter_format_id_and_more.py
webspace95/studyhelp
70e0978b4a97cdb45d1574924e7997932bb410fb
[ "MIT" ]
null
null
null
order_form_edits/migrations/0002_alter_academiclevel_id_alter_day_id_alter_format_id_and_more.py
webspace95/studyhelp
70e0978b4a97cdb45d1574924e7997932bb410fb
[ "MIT" ]
null
null
null
order_form_edits/migrations/0002_alter_academiclevel_id_alter_day_id_alter_format_id_and_more.py
webspace95/studyhelp
70e0978b4a97cdb45d1574924e7997932bb410fb
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-04-03 18:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('order_form_edits', '0001_initial'), ] operations = [ migrations.AlterField( model_name='academiclevel', name='id', ...
28.897959
70
0.55791
134
1,416
5.768657
0.328358
0.181113
0.226391
0.262613
0.714101
0.714101
0.714101
0.714101
0.714101
0.714101
0
0.019874
0.324859
1,416
48
71
29.5
0.788703
0.03178
0
0.666667
1
0
0.06282
0
0
0
0
0
0
1
0
false
0
0.02381
0
0.095238
0
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
be899e08341525ba8a64ad23823b5d9eb9d6e29f
5,524
py
Python
tests/parse_tests/statement_reduction_tests/if_statement_test.py
alexmakii/bslint
0795467166ca10c362fecc12ac17765cb85b659b
[ "BSD-3-Clause" ]
null
null
null
tests/parse_tests/statement_reduction_tests/if_statement_test.py
alexmakii/bslint
0795467166ca10c362fecc12ac17765cb85b659b
[ "BSD-3-Clause" ]
null
null
null
tests/parse_tests/statement_reduction_tests/if_statement_test.py
alexmakii/bslint
0795467166ca10c362fecc12ac17765cb85b659b
[ "BSD-3-Clause" ]
1
2017-04-12T09:39:54.000Z
2017-04-12T09:39:54.000Z
import unittest import bslint.constants as const from tests.resources.common.test_methods import CommonMethods as Common class TestIfParse(unittest.TestCase): @classmethod def setUpClass(cls): cls.common = Common() def test_if_with_function_call_and_value_id(self): self.common.match_stat...
38.629371
113
0.724475
871
5,524
4.220436
0.078071
0.083787
0.167573
0.206746
0.903428
0.848749
0.822089
0.740751
0.730141
0.68444
0
0.007637
0.170348
5,524
142
114
38.901408
0.794458
0
0
0.021053
0
0
0.135047
0.01412
0
0
0
0
0
1
0.473684
false
0
0.031579
0
0.515789
0.031579
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
be97c0bf426203e8785480e5122a391bad3f9a74
39
py
Python
kmeans_py/__init__.py
UBC-MDS/kmeans_py
cc37fb75be722654b4b46842dfa94b360287049c
[ "MIT" ]
1
2018-02-14T05:37:26.000Z
2018-02-14T05:37:26.000Z
kmeans_py/__init__.py
UBC-MDS/kmeans_py
cc37fb75be722654b4b46842dfa94b360287049c
[ "MIT" ]
7
2018-02-14T18:44:38.000Z
2018-03-21T21:19:58.000Z
kmeans_py/__init__.py
UBC-MDS/kmeans_py
cc37fb75be722654b4b46842dfa94b360287049c
[ "MIT" ]
1
2018-02-09T21:47:56.000Z
2018-02-09T21:47:56.000Z
from kmeans_py.kmeans_py import kmeans
19.5
38
0.871795
7
39
4.571429
0.571429
0.5
0
0
0
0
0
0
0
0
0
0
0.102564
39
1
39
39
0.914286
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
fe5365ef750c75eae7654c5bc4be7e2d71092ee7
6,277
py
Python
test_pyconvcli_internal_cli/test_pyconvcli.py
jlepinski/pyconvcli
1b7c0f0ef44be6675b03f82ee9ba36ec38220473
[ "Apache-2.0" ]
4
2020-12-08T20:49:38.000Z
2022-03-20T09:48:03.000Z
test_pyconvcli_internal_cli/test_pyconvcli.py
jlepinski/pyconvcli
1b7c0f0ef44be6675b03f82ee9ba36ec38220473
[ "Apache-2.0" ]
1
2021-01-01T01:04:28.000Z
2021-01-01T01:04:28.000Z
test_pyconvcli_internal_cli/test_pyconvcli.py
jlepinski/pyconvcli
1b7c0f0ef44be6675b03f82ee9ba36ec38220473
[ "Apache-2.0" ]
1
2022-03-20T09:48:41.000Z
2022-03-20T09:48:41.000Z
import unittest from pyconvcli import PyConvCli import os import sys from contextlib import redirect_stdout from io import StringIO import pkg_resources from argparse import ArgumentError class TestPyConvCli(unittest.TestCase): def test_update_parser_for_functions(self): sys.argv = ['test_pyconvcli_inter...
49.425197
131
0.665764
751
6,277
5.234354
0.138482
0.105825
0.170949
0.19537
0.816332
0.797507
0.797507
0.785805
0.728822
0.702366
0
0.004282
0.181456
6,277
126
132
49.81746
0.760802
0.059583
0
0.59596
0
0
0.264461
0.15352
0
0
0
0
0.151515
1
0.090909
false
0
0.080808
0
0.181818
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
fe67db8ed52a2b5c09ba02dca1e4bf354ef5801f
1,259
py
Python
hierarchy-py/cartest.py
neupane11/OOP-sneupane
a5819cce2f4f662c377167ef687569b276c30e46
[ "MIT" ]
null
null
null
hierarchy-py/cartest.py
neupane11/OOP-sneupane
a5819cce2f4f662c377167ef687569b276c30e46
[ "MIT" ]
null
null
null
hierarchy-py/cartest.py
neupane11/OOP-sneupane
a5819cce2f4f662c377167ef687569b276c30e46
[ "MIT" ]
null
null
null
import unittest from car import Car class CarTest(unittest.TestCase): def testDefaultCar(self): typ:str="gasoline" usedfor:str="racing" price:int=30000 company:str="ferari" speed:int=300 model:str="f8 spider" Car1:Car=Car(typ,usedfor,price,company,mod...
29.27907
59
0.617951
142
1,259
5.422535
0.232394
0.253247
0.320779
0.124675
0.805195
0.805195
0.805195
0.805195
0.805195
0.805195
0
0.035831
0.268467
1,259
42
60
29.97619
0.800217
0
0
0.764706
0
0
0.052423
0
0
0
0
0
0.382353
1
0.058824
false
0
0.058824
0
0.147059
0
0
0
0
null
1
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
fe6ee1e53146895946327271b608d35326e4ab2a
8,837
py
Python
tests/test_extensions/test_pathconverter.py
Lincoln2000/pymdown-extensions
f6ad2d410c9463db7f9f609ee5024e9c59bc14d8
[ "MIT" ]
null
null
null
tests/test_extensions/test_pathconverter.py
Lincoln2000/pymdown-extensions
f6ad2d410c9463db7f9f609ee5024e9c59bc14d8
[ "MIT" ]
null
null
null
tests/test_extensions/test_pathconverter.py
Lincoln2000/pymdown-extensions
f6ad2d410c9463db7f9f609ee5024e9c59bc14d8
[ "MIT" ]
null
null
null
"""Test cases for PathConverter.""" from .. import util import os CURRENT_DIR = os.path.dirname(os.path.abspath(__file__)) PARENT_DIR = os.path.dirname(CURRENT_DIR) class TestRelative(util.MdCase): """Test relative paths.""" extension = ["pymdownx.pathconverter"] extension_configs = { "pymdownx....
30.16041
120
0.522462
1,092
8,837
4.117216
0.084249
0.060053
0.113434
0.120107
0.933274
0.933274
0.933274
0.908808
0.897687
0.897687
0
0.028933
0.276451
8,837
292
121
30.263699
0.674226
0.093131
0
0.710526
0
0.126316
0.450306
0.306193
0
0
0
0
0
1
0.147368
false
0
0.010526
0
0.221053
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
22810b8afffdfed8a7d5fe3862bd01a9ab75b727
32,927
py
Python
sdk/core/azure-core/tests/azure_core_asynctests/test_basic_transport.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
1
2020-12-10T03:17:51.000Z
2020-12-10T03:17:51.000Z
sdk/core/azure-core/tests/azure_core_asynctests/test_basic_transport.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
226
2019-07-24T07:57:21.000Z
2019-10-15T01:07:24.000Z
sdk/core/azure-core/tests/azure_core_asynctests/test_basic_transport.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
1
2020-07-31T16:33:36.000Z
2020-07-31T16:33:36.000Z
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See LICENSE.txt in the project root for # license information. # ------------------------------------------------------------------------- from six.mo...
35.216043
149
0.62675
4,546
32,927
4.464144
0.058733
0.041786
0.055287
0.025229
0.895683
0.883709
0.864098
0.853159
0.840987
0.832561
0
0.142374
0.21821
32,927
934
150
35.253747
0.645987
0.0205
0
0.800247
0
0.048089
0.490213
0.247635
0
0
0
0
0.051788
1
0.003699
false
0.004932
0.011097
0.001233
0.023428
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
22b11cfe044f2022bfd8f1d2d04e7730a568dcb8
167
py
Python
earthvision/constants/__init__.py
dewabratapandu/earth-vision
756b3480883544c6aed8e560e06fb890d96ba41c
[ "MIT" ]
29
2021-05-18T15:01:03.000Z
2022-03-08T01:07:55.000Z
earthvision/constants/__init__.py
dewabratapandu/earth-vision
756b3480883544c6aed8e560e06fb890d96ba41c
[ "MIT" ]
65
2021-05-03T11:41:04.000Z
2022-01-17T16:04:06.000Z
earthvision/constants/__init__.py
dewabratapandu/earth-vision
756b3480883544c6aed8e560e06fb890d96ba41c
[ "MIT" ]
9
2021-05-16T16:00:00.000Z
2021-12-08T04:30:05.000Z
from earthvision.constants import COWC from earthvision.constants import DroneDeploy from earthvision.constants import RESISC45 from earthvision.constants import XView
41.75
45
0.886228
20
167
7.4
0.4
0.405405
0.648649
0.810811
0
0
0
0
0
0
0
0.013158
0.08982
167
4
46
41.75
0.960526
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
22be72af8be27800da2514839c67af7d7d6ba6e0
95,012
py
Python
OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/targetLanguage/ev3dev/action.py
rbudde/openroberta-lab
0ea4fca192f450b34f1bf3f58150ef8bf93d7273
[ "Apache-2.0" ]
96
2019-04-29T18:58:11.000Z
2022-03-21T02:47:33.000Z
OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/targetLanguage/ev3dev/action.py
rbudde/openroberta-lab
0ea4fca192f450b34f1bf3f58150ef8bf93d7273
[ "Apache-2.0" ]
1,113
2019-04-17T07:49:24.000Z
2022-03-30T11:22:46.000Z
OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/targetLanguage/ev3dev/action.py
rbudde/openroberta-lab
0ea4fca192f450b34f1bf3f58150ef8bf93d7273
[ "Apache-2.0" ]
179
2019-05-08T19:52:43.000Z
2022-03-18T11:30:27.000Z
#!/usr/bin/python from __future__ import absolute_import from roberta.ev3 import Hal from ev3dev import ev3 as ev3dev import math import os class BreakOutOfALoop(Exception): pass class ContinueLoop(Exception): pass predefinedImages = { 'OLDGLASSES': u'\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\...
565.547619
17,686
0.824117
15,399
95,012
5.054809
0.018832
1.0523
1.364547
1.592004
0.927067
0.903647
0.880201
0.849446
0.814707
0.775203
0
0.563769
0.010451
95,012
168
17,687
565.547619
0.264138
0.000168
0
0.058065
0
0.032258
0.935324
0.92926
0
1
0
0
0
1
0.051613
false
0.012903
0.032258
0
0.096774
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
1
1
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
16
a3ca4725c71cb7e5e80bb64e5b1d1c7251516e55
20,752
py
Python
openmdao/solvers/linear/tests/linear_test_base.py
hwangjt/blue
609defbe476c86a4a2eddd12977b47e649ea7f50
[ "Apache-2.0" ]
null
null
null
openmdao/solvers/linear/tests/linear_test_base.py
hwangjt/blue
609defbe476c86a4a2eddd12977b47e649ea7f50
[ "Apache-2.0" ]
null
null
null
openmdao/solvers/linear/tests/linear_test_base.py
hwangjt/blue
609defbe476c86a4a2eddd12977b47e649ea7f50
[ "Apache-2.0" ]
null
null
null
"""Common tests for linear solvers.""" from __future__ import division, print_function from six import iteritems import unittest import numpy as np from openmdao.api import Group, IndepVarComp, Problem, DenseJacobian from openmdao.devtools.testutil import assert_rel_error from openmdao.test_suite.components.expl_co...
39.527619
103
0.549682
2,640
20,752
4.149621
0.089773
0.046828
0.072843
0.092013
0.852122
0.822547
0.784482
0.779827
0.771429
0.765039
0
0.053574
0.300212
20,752
524
104
39.603053
0.700799
0.059753
0
0.782369
0
0
0.068656
0
0
0
0
0
0.162534
1
0.046832
false
0
0.030303
0
0.082645
0.052342
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
a3da1418fb0c21928fa348f2e1b763c8a69d64b2
6,387
py
Python
models/sktime.py
Pietroobbiso/Forecasting-intermittent-demand-a-comparative-approach
bb2336caf61a050b6ebfae559f895be92a33b0eb
[ "Apache-2.0" ]
null
null
null
models/sktime.py
Pietroobbiso/Forecasting-intermittent-demand-a-comparative-approach
bb2336caf61a050b6ebfae559f895be92a33b0eb
[ "Apache-2.0" ]
null
null
null
models/sktime.py
Pietroobbiso/Forecasting-intermittent-demand-a-comparative-approach
bb2336caf61a050b6ebfae559f895be92a33b0eb
[ "Apache-2.0" ]
null
null
null
import pandas as pd import timely_beliefs as tb from sklearn.neighbors import KNeighborsRegressor from sktime.forecasting.compose import make_reduction from sktime.forecasting.base import ForecastingHorizon from sktime.forecasting.ets import AutoETS from sktime.forecasting.exp_smoothing import Exponenti...
31.308824
86
0.684672
771
6,387
5.426719
0.129702
0.063098
0.060229
0.040153
0.8174
0.795172
0.795172
0.795172
0.795172
0.795172
0
0.004081
0.23266
6,387
203
87
31.463054
0.849623
0.085956
0
0.721519
0
0
0.024021
0
0
0
0
0.004926
0
1
0.037975
false
0
0.063291
0
0.139241
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
a3dacf8ff83ad0846caafe961af28032678551d2
136
py
Python
DEPENDENCIES/utf/tests/ut_utftests_multiline_wildcard.py
kevinkenzhao/Repy2
a7afb4c8ba263c8a74775a6281a50d94880a8d34
[ "MIT" ]
null
null
null
DEPENDENCIES/utf/tests/ut_utftests_multiline_wildcard.py
kevinkenzhao/Repy2
a7afb4c8ba263c8a74775a6281a50d94880a8d34
[ "MIT" ]
null
null
null
DEPENDENCIES/utf/tests/ut_utftests_multiline_wildcard.py
kevinkenzhao/Repy2
a7afb4c8ba263c8a74775a6281a50d94880a8d34
[ "MIT" ]
null
null
null
# Ensure the simplest case for wildcard passes #pragma out print "Test message one" print "Test message two" print "Test message three"
22.666667
46
0.779412
21
136
5.047619
0.714286
0.254717
0.45283
0
0
0
0
0
0
0
0
0
0.161765
136
6
47
22.666667
0.929825
0.397059
0
0
0
0
0.625
0
0
0
0
0
0
0
null
null
0
0
null
null
1
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
7
a3ee035d1d12bdab7724f90603a6afc882423668
121
py
Python
tests/depot/test_models.py
Simon4d/django-adminfilters
87eb086ea763bc36cb5f0139c2e01bed7cc674a8
[ "BSD-1-Clause" ]
null
null
null
tests/depot/test_models.py
Simon4d/django-adminfilters
87eb086ea763bc36cb5f0139c2e01bed7cc674a8
[ "BSD-1-Clause" ]
null
null
null
tests/depot/test_models.py
Simon4d/django-adminfilters
87eb086ea763bc36cb5f0139c2e01bed7cc674a8
[ "BSD-1-Clause" ]
null
null
null
from adminfilters.depot.models import StoredFilter def test_str(): return str(StoredFilter(name='Name')) == 'Name'
20.166667
51
0.735537
15
121
5.866667
0.733333
0.181818
0
0
0
0
0
0
0
0
0
0
0.132231
121
5
52
24.2
0.838095
0
0
0
0
0
0.066116
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
432434e0fe280b3a5666bfca1fcdad9bc8f006d4
15,111
py
Python
tests/test_appointment.py
NHSDigital/Booking-and-Referral-FHIR-API
499bcdd9c1b92305ff111b461c9d9ccf4c42f530
[ "MIT" ]
3
2021-09-13T08:18:34.000Z
2021-12-06T14:33:11.000Z
tests/test_appointment.py
NHSDigital/Booking-and-Referral-FHIR-API
499bcdd9c1b92305ff111b461c9d9ccf4c42f530
[ "MIT" ]
57
2021-08-02T15:04:13.000Z
2022-03-14T11:41:05.000Z
tests/test_appointment.py
NHSDigital/booking-and-referral-fhir-api
499bcdd9c1b92305ff111b461c9d9ccf4c42f530
[ "MIT" ]
null
null
null
import pytest import requests from .configuration import config from assertpy import assert_that from .example_loader import load_example import re import uuid class TestAppointment: existing_appointment_id = "c3f6145e-1a26-4345-b3f2-dccbcba62049" non_existing_appointment_id = str(uuid.uuid4()) nhsd_token...
35.471831
103
0.625372
1,659
15,111
5.381555
0.059675
0.057124
0.053315
0.095206
0.939516
0.936716
0.936716
0.932012
0.932012
0.932012
0
0.014701
0.26623
15,111
425
104
35.555294
0.790494
0.02078
0
0.774295
0
0
0.200827
0.108519
0
0
0
0
0.109718
1
0.053292
false
0
0.021944
0
0.087774
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
4324e5e863c48ff4e1f985c28578dddcbf9ac5e1
8,012
py
Python
ding/model/template/tests/test_q_learning.py
sailxjx/DI-engine
c6763f8e2ba885a2a02f611195a1b5f8b50bff00
[ "Apache-2.0" ]
2
2021-07-30T15:55:45.000Z
2021-07-30T16:35:10.000Z
ding/model/template/tests/test_q_learning.py
sailxjx/DI-engine
c6763f8e2ba885a2a02f611195a1b5f8b50bff00
[ "Apache-2.0" ]
null
null
null
ding/model/template/tests/test_q_learning.py
sailxjx/DI-engine
c6763f8e2ba885a2a02f611195a1b5f8b50bff00
[ "Apache-2.0" ]
null
null
null
import pytest from itertools import product import torch from ding.model.template import DQN, RainbowDQN, QRDQN, IQN, DRQN, C51DQN from ding.torch_utils import is_differentiable T, B = 3, 4 obs_shape = [4, (8, ), (4, 64, 64)] act_shape = [3, (6, ), [2, 3, 6]] args = list(product(*[obs_shape, act_shape])) @pytest.mar...
44.511111
98
0.582501
1,039
8,012
4.329163
0.088547
0.117386
0.053802
0.078257
0.851934
0.847932
0.831925
0.825033
0.824589
0.824589
0
0.015711
0.277084
8,012
179
99
44.759777
0.760877
0.012107
0
0.710843
0
0
0.060667
0
0
0
0
0
0.313253
1
0.048193
false
0
0.03012
0
0.084337
0.006024
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
433c31a8b900248992ac19f73cce7394c6145e89
370
py
Python
construct-2.8.12/construct/examples/formats/__init__.py
OStephan29/Codec-Python
76d651bb23daf1d9307c8b84533d9f24a59cea28
[ "BSD-3-Clause" ]
1
2022-01-12T15:46:58.000Z
2022-01-12T15:46:58.000Z
construct-2.8.12/construct/examples/formats/__init__.py
OStephan29/Codec-Python
76d651bb23daf1d9307c8b84533d9f24a59cea28
[ "BSD-3-Clause" ]
null
null
null
construct-2.8.12/construct/examples/formats/__init__.py
OStephan29/Codec-Python
76d651bb23daf1d9307c8b84533d9f24a59cea28
[ "BSD-3-Clause" ]
1
2021-10-05T08:40:15.000Z
2021-10-05T08:40:15.000Z
from construct.examples.formats.graphics.emf import emf_file from construct.examples.formats.graphics.png import png_file from construct.examples.formats.graphics.bmp import bitmap_file from construct.examples.formats.filesystem.mbr import mbr_format from construct.examples.formats.data.cap import cap_file from constru...
46.25
64
0.867568
54
370
5.833333
0.314815
0.247619
0.4
0.533333
0.685714
0.253968
0
0
0
0
0
0
0.067568
370
7
65
52.857143
0.913043
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
4a5e0d6b14d0c1be629c6a7d542148344cdee167
171
py
Python
apps/__init__.py
kavehbc/crypto-tools
316279262dc3f3eac08230c25cc6796dda3e643a
[ "Apache-2.0" ]
null
null
null
apps/__init__.py
kavehbc/crypto-tools
316279262dc3f3eac08230c25cc6796dda3e643a
[ "Apache-2.0" ]
null
null
null
apps/__init__.py
kavehbc/crypto-tools
316279262dc3f3eac08230c25cc6796dda3e643a
[ "Apache-2.0" ]
null
null
null
import apps.home import apps.about import apps.jwt import apps.generate_keys import apps.encrypt import apps.sign import apps.verifier import apps.fernet import apps.base
17.1
25
0.842105
28
171
5.107143
0.428571
0.629371
0
0
0
0
0
0
0
0
0
0
0.105263
171
9
26
19
0.934641
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
4a7fb837c6d9b2a88eb8ab88bc6375ca157e2b11
13,398
py
Python
sdk/python/pulumi_openstack/database/user.py
pulumi/pulumi-openstack
945eed22a82784e9f0b3aa56168b2397c2f503e8
[ "ECL-2.0", "Apache-2.0" ]
34
2018-09-12T12:37:51.000Z
2022-02-04T19:32:13.000Z
sdk/python/pulumi_openstack/database/user.py
pulumi/pulumi-openstack
945eed22a82784e9f0b3aa56168b2397c2f503e8
[ "ECL-2.0", "Apache-2.0" ]
72
2018-08-15T13:04:57.000Z
2022-03-31T15:39:49.000Z
sdk/python/pulumi_openstack/database/user.py
pulumi/pulumi-openstack
945eed22a82784e9f0b3aa56168b2397c2f503e8
[ "ECL-2.0", "Apache-2.0" ]
7
2019-03-14T08:28:49.000Z
2021-12-29T04:23:55.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...
37.529412
134
0.611957
1,543
13,398
5.108231
0.087492
0.121416
0.127886
0.108856
0.801193
0.780259
0.747907
0.717204
0.687896
0.675463
0
0.000103
0.272877
13,398
356
135
37.634831
0.808971
0.20003
0
0.733906
1
0
0.067569
0.002766
0
0
0
0
0
1
0.158798
false
0.107296
0.021459
0.025751
0.274678
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
4aa7bb0b36eecd2e17dba985875e17b8bf5b0d14
43,852
py
Python
test/test_eval.py
AhmedIdr/haystack
c6f23dce8897ab00fcb15e272282d459dcfa564a
[ "Apache-2.0" ]
7
2022-01-22T18:58:54.000Z
2022-03-18T17:06:35.000Z
test/test_eval.py
AhmedIdr/haystack
c6f23dce8897ab00fcb15e272282d459dcfa564a
[ "Apache-2.0" ]
null
null
null
test/test_eval.py
AhmedIdr/haystack
c6f23dce8897ab00fcb15e272282d459dcfa564a
[ "Apache-2.0" ]
1
2022-01-21T02:05:15.000Z
2022-01-21T02:05:15.000Z
import pytest from haystack.document_stores.base import BaseDocumentStore from haystack.document_stores.memory import InMemoryDocumentStore from haystack.document_stores.elasticsearch import ElasticsearchDocumentStore from haystack.nodes.answer_generator.transformers import RAGenerator, RAGeneratorType from haystack.no...
48.083333
165
0.710367
5,642
43,852
5.262318
0.052995
0.11034
0.036106
0.066689
0.868979
0.8516
0.813877
0.794342
0.782014
0.779757
0
0.028569
0.144326
43,852
911
166
48.136114
0.762679
0.01635
0
0.677112
0
0
0.221377
0.044002
0
0
0
0.001098
0.455041
1
0.03406
false
0.009537
0.021798
0
0.055858
0.004087
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
436984871ff46eeba6fa8fcfbbdca20b3cd4f293
10,837
py
Python
tests/test_plantequipmentoperationoutdoorwetbulb.py
marcelosalles/pyidf
c2f744211572b5e14e29522aac1421ba88addb0e
[ "Apache-2.0" ]
19
2015-12-08T23:33:51.000Z
2022-01-31T04:41:10.000Z
tests/test_plantequipmentoperationoutdoorwetbulb.py
marcelosalles/pyidf
c2f744211572b5e14e29522aac1421ba88addb0e
[ "Apache-2.0" ]
2
2019-10-04T10:57:00.000Z
2021-10-01T06:46:17.000Z
tests/test_plantequipmentoperationoutdoorwetbulb.py
marcelosalles/pyidf
c2f744211572b5e14e29522aac1421ba88addb0e
[ "Apache-2.0" ]
7
2015-11-04T02:25:01.000Z
2021-12-08T03:14:28.000Z
import os import tempfile import unittest import logging from pyidf import ValidationLevel import pyidf from pyidf.idf import IDF from pyidf.plant import PlantEquipmentOperationOutdoorWetBulb log = logging.getLogger(__name__) class TestPlantEquipmentOperationOutdoorWetBulb(unittest.TestCase): def setUp(self): ...
68.588608
165
0.812033
1,377
10,837
5.809731
0.053014
0.225
0.2875
0.195
0.92525
0.891625
0.82675
0.78325
0.6395
0.631
0
0.029965
0.140814
10,837
158
166
68.588608
0.829234
0.020762
0
0
0
0
0.037426
0
0
0
0
0
0.264957
1
0.025641
false
0
0.068376
0
0.102564
0
0
0
0
null
1
1
1
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
439328a5d99605bb76aa6f29282ab5ac08177b38
199
py
Python
packages/vaex-viz/vaex/viz/__init__.py
claforte/vaex
adf0d9280c6a931465dd65f1ead6d0466eceb637
[ "MIT" ]
1
2019-06-05T00:10:36.000Z
2019-06-05T00:10:36.000Z
packages/vaex-viz/vaex/viz/__init__.py
claforte/vaex
adf0d9280c6a931465dd65f1ead6d0466eceb637
[ "MIT" ]
1
2019-06-03T21:25:01.000Z
2019-06-03T21:25:01.000Z
packages/vaex-viz/vaex/viz/__init__.py
claforte/vaex
adf0d9280c6a931465dd65f1ead6d0466eceb637
[ "MIT" ]
null
null
null
import vaex.dataset from vaex.utils import InnerNamespace def add_namespace(): vaex.dataset.Dataset.viz = InnerNamespace({}) vaex.dataset.Dataset.viz._add(plot2d=vaex.dataset.Dataset.plot)
24.875
67
0.773869
26
199
5.846154
0.461538
0.289474
0.355263
0.276316
0
0
0
0
0
0
0
0.00565
0.110553
199
7
68
28.428571
0.853107
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0
0.4
0
0.6
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
78ddfd175f6052f2703b24675a10a4de4a775758
34,334
py
Python
dl4s/TRBM/RnnRBM.py
liu2231665/Project-dl4s
615d504caf6f05b676be1c25621d2dd94e41ec54
[ "MIT" ]
null
null
null
dl4s/TRBM/RnnRBM.py
liu2231665/Project-dl4s
615d504caf6f05b676be1c25621d2dd94e41ec54
[ "MIT" ]
null
null
null
dl4s/TRBM/RnnRBM.py
liu2231665/Project-dl4s
615d504caf6f05b676be1c25621d2dd94e41ec54
[ "MIT" ]
null
null
null
"""######################################################################### Author: Yingru Liu Institute: Stony Brook University Descriptions: the file contains the model description of RNN-RBM. ----2017.11.03 #########################################################################""" from dl4s.TR...
54.9344
125
0.50367
3,850
34,334
4.311948
0.083896
0.020661
0.011927
0.013011
0.904705
0.894524
0.883381
0.875068
0.865189
0.865189
0
0.010777
0.302761
34,334
624
126
55.022436
0.682694
0.142774
0
0.888078
0
0
0.00596
0
0
0
0
0
0
1
0.046229
false
0
0.014599
0
0.107056
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
606f57f3c904454075ce17c88328ae2be7f931e6
6,356
py
Python
testproject/testapp/tests/test_handlers_package.py
movermeyer/django-firestone
e045089f6ff4a6686633f9c5909c314a010bd4a0
[ "WTFPL" ]
1
2017-03-08T22:58:35.000Z
2017-03-08T22:58:35.000Z
testproject/testapp/tests/test_handlers_package.py
movermeyer/django-firestone
e045089f6ff4a6686633f9c5909c314a010bd4a0
[ "WTFPL" ]
null
null
null
testproject/testapp/tests/test_handlers_package.py
movermeyer/django-firestone
e045089f6ff4a6686633f9c5909c314a010bd4a0
[ "WTFPL" ]
1
2018-03-05T17:40:55.000Z
2018-03-05T17:40:55.000Z
""" This module tests the ``firestone.handlers.HandlerDataFlow.package`` method """ from firestone.handlers import BaseHandler from firestone.handlers import ModelHandler from django.test import TestCase from django.test import RequestFactory from django.contrib.auth.models import User from django.conf import settings ...
37.169591
83
0.593612
674
6,356
5.581602
0.121662
0.15949
0.191388
0.100478
0.831473
0.831473
0.831473
0.831473
0.831473
0.81765
0
0.016999
0.250315
6,356
170
84
37.388235
0.772508
0.052706
0
0.854015
0
0
0.097492
0
0
0
0
0
0.423358
1
0.029197
false
0
0.051095
0
0.094891
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
1
0
0
0
0
0
0
0
0
0
9
60ab15a2a64d629b425a66c3b37930f9818a93fe
7,252
py
Python
2015/day-1/main.py
Grant-James/advent-of-code
1dbec65551d77bfbd1a5ea136551b6e324ff3331
[ "MIT" ]
null
null
null
2015/day-1/main.py
Grant-James/advent-of-code
1dbec65551d77bfbd1a5ea136551b6e324ff3331
[ "MIT" ]
null
null
null
2015/day-1/main.py
Grant-James/advent-of-code
1dbec65551d77bfbd1a5ea136551b6e324ff3331
[ "MIT" ]
null
null
null
def inc(x): return x + 1 def dec(x): return x - 1 def floor(par): x = 0 y = 1 for i in par: x = inc(x) if i == "(" else dec(x) if x == -1: return y y += 1 return x print(floor( "((((()(()(((((((()))(((()((((()())(())()(((()((((((()((()(()(((()(()((()...
329.636364
7,008
0.013789
42
7,252
2.380952
0.380952
0.21
0.16
0.18
0.24
0
0
0
0
0
0
0.000841
0.015996
7,252
21
7,009
345.333333
0.013173
0
0
0
0
0
0.965389
0.965251
0
0
0
0
0
1
0.2
false
0
0
0.133333
0.466667
0.066667
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
1
0
0
0
8
60ce7e719751ae094af10d2eedaf8dc83059fc08
81,718
py
Python
txdav/caldav/datastore/test/test_sql_sharing.py
backwardn/ccs-calendarserver
13c706b985fb728b9aab42dc0fef85aae21921c3
[ "Apache-2.0" ]
462
2016-08-14T17:43:24.000Z
2022-03-17T07:38:16.000Z
txdav/caldav/datastore/test/test_sql_sharing.py
backwardn/ccs-calendarserver
13c706b985fb728b9aab42dc0fef85aae21921c3
[ "Apache-2.0" ]
72
2016-09-01T23:19:35.000Z
2020-02-05T02:09:26.000Z
txdav/caldav/datastore/test/test_sql_sharing.py
backwardn/ccs-calendarserver
13c706b985fb728b9aab42dc0fef85aae21921c3
[ "Apache-2.0" ]
171
2016-08-16T03:50:30.000Z
2022-03-26T11:49:55.000Z
## # Copyright (c) 2005-2017 Apple Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
43.652778
149
0.678945
7,809
81,718
7.014086
0.04879
0.097219
0.049842
0.067369
0.913808
0.903657
0.890877
0.876709
0.871177
0.851953
0
0.016829
0.217602
81,718
1,871
150
43.676109
0.839855
0.050013
0
0.845679
0
0
0.04933
0.001708
0
0
0
0
0.366512
1
0.031636
false
0
0.015432
0.000772
0.054784
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
8806b3720dc8cc4ff701d5c92e7d03269e6ecadf
5,112
py
Python
tests/test_benchmark.py
gene-fingerprinting/dtaidistance-2.0.6_F-distance
ed03980470213a7eb4cc6d5604aab0df81bcb510
[ "Apache-2.0" ]
1
2021-04-10T08:56:01.000Z
2021-04-10T08:56:01.000Z
tests/test_benchmark.py
simiaolin/dtaidistance
08a3ac58a7d1256ac9567ee9c1ac18b98c3ee9c6
[ "Apache-2.0" ]
null
null
null
tests/test_benchmark.py
simiaolin/dtaidistance
08a3ac58a7d1256ac9567ee9c1ac18b98c3ee9c6
[ "Apache-2.0" ]
null
null
null
import numpy as np from dtaidistance import dtw, clustering import array import pytest import math n = 1 nn = 100 # --- DISTANCE 1 --- @pytest.mark.benchmark(group="distance1") def test_distance1_python_compress(benchmark): s1 = [0, 0, 1, 2, 1, 0, 1, 0, 0]*n s2 = [0, 1, 2, 0, 0, 0, 0, 0, 0]*n def d():...
26.625
97
0.555164
918
5,112
2.996732
0.072985
0.089422
0.082879
0.079971
0.856779
0.845147
0.840058
0.830607
0.796438
0.774264
0
0.098566
0.249804
5,112
191
98
26.764398
0.618774
0.028169
0
0.698413
0
0
0.026199
0
0
0
0
0
0.095238
1
0.206349
false
0
0.039683
0.079365
0.349206
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
7
8809056eb26f8268e9f6d53783703c88a482e757
17,858
py
Python
apps/api/tests/test_api.py
lorenz-bienek/drf-saas-starter
8377de9e452dcb929abde798e0383f6bdeaf9f2f
[ "BSD-3-Clause" ]
9
2017-11-03T14:44:43.000Z
2019-06-06T21:03:16.000Z
apps/api/tests/test_api.py
lorenz-bienek/drf-saas-starter
8377de9e452dcb929abde798e0383f6bdeaf9f2f
[ "BSD-3-Clause" ]
1
2017-08-02T15:52:01.000Z
2019-08-13T22:48:25.000Z
apps/api/tests/test_api.py
lorenz-bienek/drf-saas-starter
8377de9e452dcb929abde798e0383f6bdeaf9f2f
[ "BSD-3-Clause" ]
3
2017-08-01T10:27:01.000Z
2018-07-26T16:07:07.000Z
from rest_framework import status from rest_framework.test import APIClient, APITestCase from rest_framework_jwt.settings import api_settings from django.core import mail from django.test import override_settings from django.urls import reverse from apps.users.tests.factories import UserFactory, VerifiedUserFactory ...
45.789744
119
0.713686
2,269
17,858
5.330542
0.070516
0.040513
0.056883
0.065482
0.88673
0.842828
0.815792
0.783547
0.771641
0.739479
0
0.02452
0.177847
17,858
389
120
45.907455
0.799278
0.013607
0
0.571429
0
0
0.128408
0.003578
0
0
0
0.002571
0.248299
1
0.258503
false
0.493197
0.02381
0
0.319728
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
1
0
0
0
0
0
8
717656749ebae3ed8635a8d3d7eb808638a8ae20
21,025
py
Python
openconcept/analysis/performance/mission_profiles_eVTOL.py
berlinexpress174/openconcept_winter
f366d3245924142621c9663d505642890ca8d5d7
[ "MIT" ]
null
null
null
openconcept/analysis/performance/mission_profiles_eVTOL.py
berlinexpress174/openconcept_winter
f366d3245924142621c9663d505642890ca8d5d7
[ "MIT" ]
null
null
null
openconcept/analysis/performance/mission_profiles_eVTOL.py
berlinexpress174/openconcept_winter
f366d3245924142621c9663d505642890ca8d5d7
[ "MIT" ]
null
null
null
import numpy as np import openmdao.api as om import openconcept.api as oc from openmdao.api import BalanceComp from openconcept.analysis.trajectories import TrajectoryGroup, PhaseGroup from openconcept.analysis.atmospherics.compute_atmos_props import ComputeAtmosphericProperties from openconcept.analysis.performance.s...
72.250859
237
0.721617
2,511
21,025
5.875348
0.08403
0.031993
0.052057
0.090355
0.89453
0.882939
0.882939
0.87711
0.862875
0.860842
0
0.014063
0.154483
21,025
291
238
72.250859
0.815829
0.213508
0
0.768362
0
0
0.185985
0.033293
0
0
0
0.003436
0
1
0.090395
false
0
0.039548
0
0.175141
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
71ac1d2f7c9ff34e2141a37afa278d3164bb5dbc
21,198
py
Python
tests/test_query.py
mtlynch/telescope
f27636fadfd378b20b3e3b69cb30af0d844018a6
[ "Apache-2.0" ]
null
null
null
tests/test_query.py
mtlynch/telescope
f27636fadfd378b20b3e3b69cb30af0d844018a6
[ "Apache-2.0" ]
null
null
null
tests/test_query.py
mtlynch/telescope
f27636fadfd378b20b3e3b69cb30af0d844018a6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- # # Copyright 2014 Measurement Lab # # 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 ...
43.707216
94
0.676385
2,730
21,198
4.909524
0.079121
0.130941
0.203686
0.185332
0.874506
0.847049
0.832948
0.817727
0.806014
0.778333
0
0.088494
0.23823
21,198
484
95
43.797521
0.741516
0.028871
0
0.776224
0
0
0.546113
0.363946
0
0
0
0
0.030303
1
0.048951
false
0
0.016317
0.013986
0.086247
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
71deb0681e0e328fdc6d8ca42dd09f5986860cf6
305
py
Python
tests/parser/tsp.bk.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/tsp.bk.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/tsp.bk.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
input = """ edge(a,b,1). edge(a,c,3). edge(c,b,2). edge(b,d,3). edge(b,c,1). edge(c,d,3). town(T) :- edge(T,_,_). town(T) :- edge(_,T,_). """ output = """ edge(a,b,1). edge(a,c,3). edge(c,b,2). edge(b,d,3). edge(b,c,1). edge(c,d,3). town(T) :- edge(T,_,_). town(T) :- edge(_,T,_). """
13.26087
24
0.468852
66
305
2.045455
0.181818
0.148148
0.266667
0.296296
0.918519
0.918519
0.918519
0.918519
0.918519
0.918519
0
0.047431
0.170492
305
22
25
13.863636
0.486166
0
0
0.9
0
0
0.891986
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
e08dea2c868c60d6e0306af672ee50856fbdefd8
5,227
py
Python
arfi/migrations/0006_add_indexes.py
alsoncahyadi/orange
6376ad09302cdce613d314ec5b71c66018114650
[ "MIT" ]
null
null
null
arfi/migrations/0006_add_indexes.py
alsoncahyadi/orange
6376ad09302cdce613d314ec5b71c66018114650
[ "MIT" ]
8
2018-12-30T08:56:15.000Z
2021-06-10T21:02:41.000Z
arfi/migrations/0006_add_indexes.py
alsoncahyadi/orange
6376ad09302cdce613d314ec5b71c66018114650
[ "MIT" ]
null
null
null
# Generated by Django 2.1.4 on 2018-12-12 18:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('arfi', '0005_add_purchase_order_id'), ] operations = [ migrations.AlterField( model_name='budgetplan', name='job_inf...
36.298611
106
0.576813
509
5,227
5.719057
0.153242
0.178633
0.223291
0.259018
0.882171
0.882171
0.703882
0.691858
0.66472
0.650292
0
0.018686
0.303807
5,227
143
107
36.552448
0.781259
0.008609
0
0.817518
1
0
0.122394
0.005019
0
0
0
0
0
1
0
false
0
0.007299
0
0.029197
0
0
0
0
null
0
1
1
1
1
1
0
0
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
1ce158785968c0bd28feb57f156afa3f7af61db0
12,941
py
Python
ubuntu16.py
gregwa1953/FCM-177_MicroThisMicroThat
acc11ec409ea6dd9aeb749d57ffe3a070970f7f5
[ "MIT" ]
null
null
null
ubuntu16.py
gregwa1953/FCM-177_MicroThisMicroThat
acc11ec409ea6dd9aeb749d57ffe3a070970f7f5
[ "MIT" ]
null
null
null
ubuntu16.py
gregwa1953/FCM-177_MicroThisMicroThat
acc11ec409ea6dd9aeb749d57ffe3a070970f7f5
[ "MIT" ]
null
null
null
# Code generated by font_to_py.py. # Font: Ubuntu-R.ttf # Cmd: font_to_py.py /usr/share/fonts/truetype/ubuntu/Ubuntu-R.ttf 16 -x ubuntu16.py version = '0.33' def height(): return 16 def baseline(): return 13 def max_width(): return 15 def hmap(): return True def reverse(): return False def mon...
57.772321
84
0.703732
3,122
12,941
2.910955
0.053171
0.534111
0.604093
0.580986
0.757923
0.708627
0.664943
0.604754
0.535101
0.485695
0
0.43397
0.028669
12,941
223
85
58.03139
0.289021
0.010355
0
0.029126
1
0.854369
0.880731
0.879794
0
1
0
0
0
1
0.043689
false
0
0
0.038835
0.087379
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
11
1ce2742da2e192066449cf1c1b2e0e577e26566c
4,719
py
Python
maxwellbloch/tests/test_t_funcs.py
amcdawes/maxwellbloch
48b5301ccfa24704a4240125d377b1448d5591d9
[ "MIT" ]
null
null
null
maxwellbloch/tests/test_t_funcs.py
amcdawes/maxwellbloch
48b5301ccfa24704a4240125d377b1448d5591d9
[ "MIT" ]
null
null
null
maxwellbloch/tests/test_t_funcs.py
amcdawes/maxwellbloch
48b5301ccfa24704a4240125d377b1448d5591d9
[ "MIT" ]
null
null
null
""" Unit tests for the spectral analysis module.""" import os import unittest import numpy as np from maxwellbloch import t_funcs, utility class TestGaussian(unittest.TestCase): def test_areas_pi(self): """Test Gaussian areas as multiples of pi. """ FWHM = 0.1 tlist = np.linspac...
38.680328
80
0.574486
749
4,719
3.393858
0.105474
0.04524
0.055075
0.060582
0.915028
0.915028
0.915028
0.915028
0.892998
0.848151
0
0.059652
0.293071
4,719
121
81
39
0.702338
0.111888
0
0.78022
0
0
0.044391
0
0
0
0
0.008264
0.153846
1
0.098901
false
0
0.043956
0
0.164835
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
98c9e843d65cdc8326e52bf4c0dc6b6261d1ed00
134
py
Python
synonym_dict/compartments/__init__.py
bkuczenski/synonym_dict
0968e63c3dc37f1ff383befc9c2805cd9014a3b6
[ "BSD-3-Clause" ]
null
null
null
synonym_dict/compartments/__init__.py
bkuczenski/synonym_dict
0968e63c3dc37f1ff383befc9c2805cd9014a3b6
[ "BSD-3-Clause" ]
5
2020-12-29T07:38:25.000Z
2021-03-17T18:27:17.000Z
synonym_dict/compartments/__init__.py
bkuczenski/synonym_dict
0968e63c3dc37f1ff383befc9c2805cd9014a3b6
[ "BSD-3-Clause" ]
null
null
null
from .compartment import Compartment from .compartment_manager import CompartmentManager, NonSpecificCompartment, InconsistentLineage
44.666667
96
0.895522
11
134
10.818182
0.636364
0.252101
0
0
0
0
0
0
0
0
0
0
0.074627
134
2
97
67
0.959677
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
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
98db5d15ba3856d2e394f3de5fe8b0a12a4d74af
9,788
py
Python
experiments/visualize_ThreeHumpCamel.py
dswigh/summit
a1cecdd41df8119005173b46ac45fb22472628d6
[ "MIT" ]
60
2020-09-10T00:00:03.000Z
2022-03-08T10:45:02.000Z
experiments/visualize_ThreeHumpCamel.py
dswigh/summit
a1cecdd41df8119005173b46ac45fb22472628d6
[ "MIT" ]
57
2020-09-07T11:06:15.000Z
2022-02-16T16:30:48.000Z
experiments/visualize_ThreeHumpCamel.py
dswigh/summit
a1cecdd41df8119005173b46ac45fb22472628d6
[ "MIT" ]
12
2020-09-07T12:43:19.000Z
2022-02-26T09:58:01.000Z
import pytest from summit.benchmarks import * from summit.domain import * from summit.utils.dataset import DataSet from summit.utils.multiobjective import pareto_efficient, hypervolume from summit.strategies import * from fastprogress.fastprogress import progress_bar import numpy as np import os import warnings impo...
34.10453
142
0.652023
1,257
9,788
4.93397
0.140811
0.091906
0.023702
0.012415
0.810223
0.77733
0.77217
0.743954
0.714286
0.694292
0
0.020737
0.251124
9,788
286
143
34.223776
0.825375
0.250204
0
0.793478
0
0
0.050261
0
0
0
0
0
0
1
0.027174
false
0
0.059783
0
0.086957
0.11413
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
c700d94fdb9e1a88e11705477d2566cf55ea770e
43,629
py
Python
src/model_ops/resnet_split.py
hwang595/Draco
8472912cce82e6d74087a402fd417e7a837517ab
[ "MIT" ]
21
2018-09-19T06:30:57.000Z
2022-03-25T22:44:39.000Z
src/model_ops/resnet_split.py
hwang595/Draco
8472912cce82e6d74087a402fd417e7a837517ab
[ "MIT" ]
3
2018-12-31T05:44:22.000Z
2021-09-09T15:59:46.000Z
src/model_ops/resnet_split.py
hwang595/Draco
8472912cce82e6d74087a402fd417e7a837517ab
[ "MIT" ]
12
2018-09-19T06:30:59.000Z
2021-12-13T09:53:54.000Z
'''ResNet in PyTorch. For Pre-activation ResNet, see 'preact_resnet.py'. Reference: [1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun Deep Residual Learning for Image Recognition. arXiv:1512.03385 Please Note that, this version is a hack, it's super hacky, never call this one for normal use ''' import torch i...
49.465986
154
0.509799
4,637
43,629
4.557688
0.067501
0.057348
0.061512
0.05962
0.855777
0.847639
0.839974
0.833444
0.826488
0.816835
0
0.018831
0.346375
43,629
882
155
49.465986
0.722271
0.098444
0
0.812694
0
0
0.006337
0
0
0
0
0.001134
0
1
0.032508
false
0
0.01548
0.010836
0.082043
0.003096
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
c704005cd26cabe5870118e0964046aba14713fa
4,307
py
Python
Sentiment Classifier/inference.py
prakharrathi25/Sentiment-Extraction-using-Bert
89d50e57f6e73812930654ec636f1219e7ecb334
[ "MIT" ]
3
2020-12-12T07:40:47.000Z
2021-11-28T17:08:38.000Z
Sentiment Classifier/inference.py
prakharrathi25/Sentiment-Extraction-using-Bert
89d50e57f6e73812930654ec636f1219e7ecb334
[ "MIT" ]
4
2021-06-08T21:50:32.000Z
2022-03-12T00:36:47.000Z
Sentiment Classifier/inference.py
prakharrathi25/Sentiment-Extraction-using-Bert
89d50e57f6e73812930654ec636f1219e7ecb334
[ "MIT" ]
1
2020-09-30T19:42:31.000Z
2020-09-30T19:42:31.000Z
<<<<<<< HEAD import torch import utils import dataset import pandas as pd from model import BertBaseUncased import CONFIG as config from tqdm import tqdm def test_fn(dataloader,model,device): model.eval() accuracy = utils.AverageMeter() fin_outputs = [] tk0 = tqdm(dataloader,total = len(dataloader)) ...
29.5
73
0.540283
469
4,307
4.816631
0.191898
0.039841
0.053121
0.063745
0.986277
0.986277
0.986277
0.986277
0.986277
0.986277
0
0.006832
0.354307
4,307
146
74
29.5
0.805466
0
0
0.917431
0
0
0.024605
0
0
0
0
0
0
0
null
null
0
0.12844
null
null
0.018349
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
c7093baead0a3858b4a849f88382b23cebfef603
14,768
py
Python
Packs/ServiceDeskPlus_On_Premise/Integrations/ServiceDeskPlus_On_Premise/test_data/result_constants.py
diCagri/content
c532c50b213e6dddb8ae6a378d6d09198e08fc9f
[ "MIT" ]
799
2016-08-02T06:43:14.000Z
2022-03-31T11:10:11.000Z
Packs/ServiceDeskPlus_On_Premise/Integrations/ServiceDeskPlus_On_Premise/test_data/result_constants.py
diCagri/content
c532c50b213e6dddb8ae6a378d6d09198e08fc9f
[ "MIT" ]
9,317
2016-08-07T19:00:51.000Z
2022-03-31T21:56:04.000Z
Packs/ServiceDeskPlus_On_Premise/Integrations/ServiceDeskPlus_On_Premise/test_data/result_constants.py
diCagri/content
c532c50b213e6dddb8ae6a378d6d09198e08fc9f
[ "MIT" ]
1,297
2016-08-04T13:59:00.000Z
2022-03-31T23:43:06.000Z
EXPECTED_CREATE_REQUEST = { 'ServiceDeskPlus(val.ID===obj.ID)': { 'Request': { 'Subject': 'Create request test', 'Mode': { 'name': 'E-Mail', 'id': '123640000000006665' }, 'IsRead': False, 'CancellationRequested': Fal...
34.504673
108
0.423483
1,087
14,768
5.659614
0.148114
0.014792
0.027471
0.038036
0.895644
0.895644
0.888329
0.866873
0.859395
0.859395
0
0.147445
0.432828
14,768
427
109
34.58548
0.587034
0
0
0.767221
0
0.030879
0.395924
0.048415
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
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
c71175147a0befae89ddec1c21e307ea9002cad2
4,250
py
Python
src/server/GEO/IDAppender.py
ucsd-ccbb/Oncolist
a3c7ecde6f665a665873e5aa7be5bc3778f5b17e
[ "MIT" ]
null
null
null
src/server/GEO/IDAppender.py
ucsd-ccbb/Oncolist
a3c7ecde6f665a665873e5aa7be5bc3778f5b17e
[ "MIT" ]
null
null
null
src/server/GEO/IDAppender.py
ucsd-ccbb/Oncolist
a3c7ecde6f665a665873e5aa7be5bc3778f5b17e
[ "MIT" ]
null
null
null
__author__ = 'guorongxu' import os import sys ## To process JSON files and append an id for each document. def process_louvain_cluster_json(workspace, data_set): root_json_dir = workspace + "/" + data_set + "/louvain_json_files" ##id number rule: # the first digital "2" is the cluster index id; # the ...
41.666667
96
0.538353
490
4,250
4.5
0.181633
0.027211
0.05805
0.045351
0.903855
0.903855
0.903855
0.862132
0.845805
0.845805
0
0.02411
0.365647
4,250
102
97
41.666667
0.793769
0.171529
0
0.720588
0
0
0.069794
0
0
0
0
0
0
1
0.044118
false
0
0.029412
0
0.073529
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
c7b4effde262756dedb065f5e81c1b1926288d7a
1,003
py
Python
ocr_tests.py
inevolin/PyCRM
643d105fb707d35e217a55812f4b1843730d1b68
[ "MIT" ]
null
null
null
ocr_tests.py
inevolin/PyCRM
643d105fb707d35e217a55812f4b1843730d1b68
[ "MIT" ]
null
null
null
ocr_tests.py
inevolin/PyCRM
643d105fb707d35e217a55812f4b1843730d1b68
[ "MIT" ]
null
null
null
import ocr testfile = './demo_files/doc1.pdf' print('testing: %s' % testfile) out = ocr.process(testfile) assert 'CONTRACT FOR SOFTWARE PROGRAMMING SERVICES' in out print('OK!') testfile = './demo_files/doc2.pdf' print('testing: %s' % testfile) out = ocr.process(testfile) assert 'Invoice' in out print('OK...
24.463415
67
0.66999
144
1,003
4.611111
0.25
0.052711
0.153614
0.189759
0.777108
0.740964
0.740964
0.740964
0.740964
0.730422
0
0.013095
0.162512
1,003
40
68
25.075
0.777381
0
0
0.75
0
0
0.328141
0.13188
0
0
0
0
0.1875
1
0
false
0
0.03125
0
0.03125
0.40625
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
8
c7f0b4033f11aa9cef28e23c69f9af9f16e01e31
14,952
py
Python
AppVoor/tests/model_creation_test.py
Noczio/VoorSpelling
51e30ab3f3b2e346c6eb56578818020e142a3adb
[ "BSD-3-Clause" ]
3
2020-10-09T06:15:14.000Z
2021-04-27T02:04:28.000Z
AppVoor/tests/model_creation_test.py
Noczio/VoorSpelling
51e30ab3f3b2e346c6eb56578818020e142a3adb
[ "BSD-3-Clause" ]
17
2020-09-10T20:22:01.000Z
2020-12-21T04:57:03.000Z
AppVoor/tests/model_creation_test.py
Noczio/VoorSpelling
51e30ab3f3b2e346c6eb56578818020e142a3adb
[ "BSD-3-Clause" ]
null
null
null
import unittest from resources.backend_scripts.estimator_creation import EstimatorCreator from resources.backend_scripts.feature_selection import FeatureSelectorCreator from resources.backend_scripts.is_data import DataEnsurer from resources.backend_scripts.load_data import LoaderCreator from resources.backend_scripts...
56.210526
105
0.721643
1,819
14,952
5.628367
0.075866
0.092694
0.027837
0.030084
0.89959
0.89959
0.891776
0.870189
0.870189
0.870189
0
0.005634
0.204588
14,952
265
106
56.422642
0.855209
0.204454
0
0.731183
0
0
0.072697
0.022739
0
0
0
0
0.053763
1
0.053763
false
0
0.048387
0
0.134409
0.145161
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
1bdbc7776c78ad80c65a87c36f90d11dbf2320b1
162
py
Python
cobmo/__init__.py
mesmo-dev/cobmo
98ad173c4fc3777d709bad59469e66df536f465f
[ "MIT" ]
5
2019-03-08T06:10:08.000Z
2021-04-20T13:40:59.000Z
cobmo/__init__.py
mesmo-dev/cobmo
98ad173c4fc3777d709bad59469e66df536f465f
[ "MIT" ]
4
2019-04-10T03:14:12.000Z
2021-01-08T09:00:08.000Z
cobmo/__init__.py
mesmo-dev/cobmo
98ad173c4fc3777d709bad59469e66df536f465f
[ "MIT" ]
3
2019-09-02T21:18:52.000Z
2021-04-26T01:23:37.000Z
"""CoBMo - Control-oriented Building Model.""" import cobmo.building_model import cobmo.config import cobmo.data_interface import cobmo.plots import cobmo.utils
20.25
46
0.814815
22
162
5.909091
0.5
0.423077
0.292308
0.369231
0
0
0
0
0
0
0
0
0.098765
162
7
47
23.142857
0.890411
0.246914
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
40163dfa4f7636feaa36f8ed22b8652744d71d80
32,172
py
Python
tests/generic/test_timerange.py
asenci/firewall_translator
4e1ad5507165b4736fc9b728c48f9188ebdc6ee2
[ "MIT" ]
1
2021-08-02T03:27:28.000Z
2021-08-02T03:27:28.000Z
tests/generic/test_timerange.py
asenci/firewall_translator
4e1ad5507165b4736fc9b728c48f9188ebdc6ee2
[ "MIT" ]
1
2018-05-04T13:45:09.000Z
2019-11-25T22:31:26.000Z
tests/generic/test_timerange.py
asenci/firewall_translator
4e1ad5507165b4736fc9b728c48f9188ebdc6ee2
[ "MIT" ]
1
2021-08-02T03:32:53.000Z
2021-08-02T03:32:53.000Z
import pytest from datetime import datetime, time from firewall_translator.generic import TimeRange, AbsoluteTimeRange, PeriodicTimeRange def test_time_range_not_implemented(): with pytest.raises(NotImplementedError): t = TimeRange() @pytest.mark.parametrize('t_start, t_stop, t_repr, t_str', ...
179.731844
244
0.572175
4,893
32,172
3.750664
0.012058
0.083697
0.130776
0.08435
0.977332
0.977332
0.973681
0.973463
0.968014
0.968014
0
0.157417
0.252829
32,172
178
245
180.741573
0.60604
0
0
0.131737
0
0.760479
0.464783
0
0
0
0
0
0.053892
1
0.017964
false
0
0.017964
0
0.035928
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8