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
3d08e5561a57813357b2c87dcc7ee515cbddb2c6
9,290
py
Python
python_modules/libraries/dagster-dbt/dagster_dbt_tests/rpc/test_solids_ii.py
ericct/dagster
dd2c9f05751e1bae212a30dbc54381167a14f6c5
[ "Apache-2.0" ]
2
2021-06-21T17:50:26.000Z
2021-06-21T19:14:23.000Z
python_modules/libraries/dagster-dbt/dagster_dbt_tests/rpc/test_solids_ii.py
ericct/dagster
dd2c9f05751e1bae212a30dbc54381167a14f6c5
[ "Apache-2.0" ]
null
null
null
python_modules/libraries/dagster-dbt/dagster_dbt_tests/rpc/test_solids_ii.py
ericct/dagster
dd2c9f05751e1bae212a30dbc54381167a14f6c5
[ "Apache-2.0" ]
1
2021-08-18T17:21:57.000Z
2021-08-18T17:21:57.000Z
import responses from dagster import ModeDefinition, execute_solid from dagster_dbt import ( DbtRpcOutput, dbt_rpc_resource, dbt_rpc_run, dbt_rpc_run_and_wait, dbt_rpc_run_operation, dbt_rpc_run_operation_and_wait, dbt_rpc_snapshot, dbt_rpc_snapshot_and_wait, dbt_rpc_snapshot_freshne...
28.409786
100
0.603445
1,128
9,290
4.687057
0.055851
0.076036
0.011349
0.083223
0.964441
0.946662
0.918101
0.911292
0.911292
0.911292
0
0.028967
0.238213
9,290
326
101
28.496933
0.718101
0
0
0.770677
0
0
0.206889
0.014209
0
0
0
0
0.075188
1
0.037594
false
0
0.011278
0
0.048872
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
3d19d1ddf9931ccadfd0b3f3d5709ae61a800858
937
py
Python
split_rgb_segment.py
Prakadeeswaran05/Deeplabv3-For-Custom-Data-Colab
8b40da89018f1691da0debc6ef69f56ddb2ebbfa
[ "MIT" ]
9
2020-11-14T13:31:32.000Z
2021-12-31T13:39:46.000Z
split_rgb_segment.py
Prakadeeswaran05/Deeplabv3-For-Custom-Data-Colab
8b40da89018f1691da0debc6ef69f56ddb2ebbfa
[ "MIT" ]
null
null
null
split_rgb_segment.py
Prakadeeswaran05/Deeplabv3-For-Custom-Data-Colab
8b40da89018f1691da0debc6ef69f56ddb2ebbfa
[ "MIT" ]
2
2021-12-16T07:57:58.000Z
2022-03-17T13:29:47.000Z
import glob import shutil import os src_dir = "C:\\Users\\kesav\\Downloads\\pics" dst_dir = "C:\\Users\\kesav\\Downloads\\jpeg" for jpgfile in glob.iglob(os.path.join(src_dir, "*.jpg")): if 'L' in jpgfile: val=jpgfile.replace('_L','1') os.rename(jpgfile,val) shutil.copy(val, d...
19.520833
58
0.490928
116
937
3.87931
0.267241
0.133333
0.133333
0.16
0.888889
0.786667
0.786667
0.786667
0.786667
0.786667
0
0.013333
0.359658
937
47
59
19.93617
0.736667
0
0
0.72
0
0
0.091782
0.070438
0
0
0
0
0
1
0
false
0
0.12
0
0.12
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
3d23a3fcf26d454bbba51767c9b6354641c5ba40
3,468
py
Python
tests/redshift/test_generate_s3_to_redshift_copy_statement.py
coverwallet/pysoni
49d3a8acb101436ad0724749572be2ad9d86f3ae
[ "MIT" ]
5
2019-07-08T15:38:06.000Z
2022-03-24T20:36:19.000Z
tests/redshift/test_generate_s3_to_redshift_copy_statement.py
coverwallet/pysoni
49d3a8acb101436ad0724749572be2ad9d86f3ae
[ "MIT" ]
2
2019-07-07T23:26:32.000Z
2020-06-04T07:43:24.000Z
tests/redshift/test_generate_s3_to_redshift_copy_statement.py
coverwallet/pysoni
49d3a8acb101436ad0724749572be2ad9d86f3ae
[ "MIT" ]
1
2019-05-31T09:11:22.000Z
2019-05-31T09:11:22.000Z
import pytest def test_generate_s3_to_redshift_copy_statement(pysoni_redshift_client): expected_statement = "COPY report.test_table (column1,column2) FROM 's3://mybucket/mykey' with credentials 'aws_access_key_id=aws_access_key_id;aws_secret_access_key=aws_access_secret_key' IGNOREHEADER 1 BLANKSASNULL EMPTYASNU...
56.852459
302
0.784314
425
3,468
5.943529
0.112941
0.10293
0.047506
0.079177
0.979414
0.965162
0.965162
0.961995
0.94616
0.908947
0
0.014122
0.121972
3,468
60
303
57.8
0.815435
0
0
0.6
1
0.142857
0.471742
0.147059
0
0
0
0
0.142857
1
0.142857
false
0
0.028571
0
0.171429
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
3d53dda3dec8eee56512bbe1653ea03a2be0996b
11,712
py
Python
pycon_project/apps/symposion/schedule/management/commands/load_sessions.py
pythonchelle/pycon
a22a7001ce32496f8185ed2612e26ef9c0551ac5
[ "BSD-3-Clause" ]
1
2015-06-30T14:11:31.000Z
2015-06-30T14:11:31.000Z
pycon_project/apps/symposion/schedule/management/commands/load_sessions.py
pythonchelle/pycon
a22a7001ce32496f8185ed2612e26ef9c0551ac5
[ "BSD-3-Clause" ]
null
null
null
pycon_project/apps/symposion/schedule/management/commands/load_sessions.py
pythonchelle/pycon
a22a7001ce32496f8185ed2612e26ef9c0551ac5
[ "BSD-3-Clause" ]
null
null
null
from datetime import datetime from django.core.management.base import BaseCommand from symposion.schedule.models import Track, Session, Slot friday_plenaries = [ [ { "start": datetime(2012, 3, 9, 7, 0), "end": datetime(2012, 3, 9, 8, 0), }, { "start": ...
26.618182
79
0.390454
1,280
11,712
3.511719
0.066406
0.373749
0.404894
0.280311
0.85406
0.833815
0.499889
0.463849
0.434038
0.434038
0
0.21917
0.440574
11,712
439
80
26.678815
0.46688
0
0
0.236277
0
0
0.083675
0
0
0
0
0
0
0
null
null
0
0.00716
null
null
0.011933
0
0
0
null
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
3d550d1d1a8fca49e4a87615ee85b048df1fb9b4
12,535
py
Python
api/views/loan_products/interest_config_views.py
prateekmohanty63/microfinance
39839c0d378be4ccc40a9dde5dc38a10773a38a1
[ "MIT" ]
1
2022-02-25T18:39:44.000Z
2022-02-25T18:39:44.000Z
api/views/loan_products/interest_config_views.py
prateekmohanty63/microfinance
39839c0d378be4ccc40a9dde5dc38a10773a38a1
[ "MIT" ]
null
null
null
api/views/loan_products/interest_config_views.py
prateekmohanty63/microfinance
39839c0d378be4ccc40a9dde5dc38a10773a38a1
[ "MIT" ]
null
null
null
from django.shortcuts import render from rest_framework.decorators import api_view, permission_classes from rest_framework.permissions import IsAuthenticated, IsAdminUser from rest_framework.response import Response from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from loans.models import Prod...
45.748175
117
0.72485
1,512
12,535
5.812169
0.080688
0.071006
0.078858
0.101388
0.817478
0.817478
0.817478
0.807237
0.807237
0.787096
0
0.009966
0.183486
12,535
273
118
45.915751
0.848657
0.08943
0
0.760976
0
0
0.127348
0
0
0
0
0
0
1
0.02439
false
0
0.04878
0
0.253659
0.009756
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
3d59db42d9018ab444e1309d413bd98376a0faae
87,677
py
Python
test/unit/test_iam_identity_v1.py
zachsirotto/platform-services-python-sdk
32a080b7a93567f9528867a31bd0b47423297bab
[ "Apache-2.0" ]
null
null
null
test/unit/test_iam_identity_v1.py
zachsirotto/platform-services-python-sdk
32a080b7a93567f9528867a31bd0b47423297bab
[ "Apache-2.0" ]
null
null
null
test/unit/test_iam_identity_v1.py
zachsirotto/platform-services-python-sdk
32a080b7a93567f9528867a31bd0b47423297bab
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # (C) Copyright IBM Corp. 2020. # # 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...
48.872352
1,918
0.625021
10,064
87,677
5.117349
0.028219
0.021941
0.014815
0.019029
0.943496
0.913652
0.865983
0.84043
0.823926
0.811848
0
0.00461
0.230517
87,677
1,793
1,919
48.89961
0.758753
0.113451
0
0.736499
0
0.020484
0.418889
0.013777
0
0
0
0
0.103352
1
0.052142
false
0
0.00838
0
0.108939
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
1868856f64aafe72abcc4d42f1a325fa86469a08
18,901
py
Python
sdk/python/pulumi_wavefront/service_account.py
pulumi/pulumi-wavefront
1d199d386ee241fa2ef94553e6cae1359ec9ccf6
[ "ECL-2.0", "Apache-2.0" ]
1
2022-02-20T09:48:33.000Z
2022-02-20T09:48:33.000Z
sdk/python/pulumi_wavefront/service_account.py
pulumi/pulumi-wavefront
1d199d386ee241fa2ef94553e6cae1359ec9ccf6
[ "ECL-2.0", "Apache-2.0" ]
40
2020-08-12T08:37:24.000Z
2022-03-31T15:51:17.000Z
sdk/python/pulumi_wavefront/service_account.py
pulumi/pulumi-wavefront
1d199d386ee241fa2ef94553e6cae1359ec9ccf6
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
43.350917
148
0.650495
2,075
18,901
5.718072
0.085301
0.100126
0.079056
0.054783
0.853519
0.835735
0.818458
0.803287
0.790223
0.78011
0
0.00007
0.244908
18,901
435
149
43.450575
0.831278
0.346595
0
0.767241
1
0
0.084216
0.004006
0
0
0
0
0
1
0.159483
false
0.00431
0.021552
0
0.275862
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
a1994904dccc7d18f494c9cd20311d3a121a5abd
29
py
Python
katas/beta/easy_kata.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
katas/beta/easy_kata.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
katas/beta/easy_kata.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
def print_x(x): return x
9.666667
15
0.62069
6
29
2.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.275862
29
2
16
14.5
0.809524
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
1
0
7
a1bf4449134103523df95854cd263ed8835a684f
16,394
py
Python
docker-app/qfieldcloud/core/tests/test_queryset.py
stcz/qfieldcloud
b128f8689268d73de052e67e0c09c6c0d5abdc05
[ "MIT" ]
null
null
null
docker-app/qfieldcloud/core/tests/test_queryset.py
stcz/qfieldcloud
b128f8689268d73de052e67e0c09c6c0d5abdc05
[ "MIT" ]
null
null
null
docker-app/qfieldcloud/core/tests/test_queryset.py
stcz/qfieldcloud
b128f8689268d73de052e67e0c09c6c0d5abdc05
[ "MIT" ]
null
null
null
import logging from qfieldcloud.authentication.models import AuthToken from qfieldcloud.core import querysets_utils from qfieldcloud.core.models import ( Organization, OrganizationMember, Project, ProjectCollaborator, ProjectQueryset, Team, TeamMember, User, ) from rest_framework.test i...
53.055016
127
0.711358
1,885
16,394
6.093899
0.072149
0.038739
0.097502
0.121877
0.842692
0.805693
0.784278
0.752416
0.728389
0.613476
0
0.023446
0.185678
16,394
308
128
53.227273
0.837004
0.049469
0
0.27686
0
0
0.009022
0
0
0
0
0
0.495868
1
0.024793
false
0.020661
0.020661
0.008264
0.057851
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
a1e3fb76cfeda7f0d50d7419bff92a7044440a47
2,900
py
Python
automation_orchestrator/orchestrator/migrations/0004_v022_2.py
basico-ps/AutomationOrchestrator
c2e9e2496acb53f00e51a03e6d2cada17fd7c5e4
[ "BSD-3-Clause" ]
26
2019-11-11T14:15:55.000Z
2022-02-07T07:32:33.000Z
automation_orchestrator/orchestrator/migrations/0004_v022_2.py
basico-ps/AutomationOrchestrator
c2e9e2496acb53f00e51a03e6d2cada17fd7c5e4
[ "BSD-3-Clause" ]
50
2020-01-07T13:38:51.000Z
2021-11-29T11:31:14.000Z
automation_orchestrator/orchestrator/migrations/0004_v022_2.py
basico-ps/AutomationOrchestrator
c2e9e2496acb53f00e51a03e6d2cada17fd7c5e4
[ "BSD-3-Clause" ]
9
2020-02-20T12:06:07.000Z
2022-01-10T12:41:34.000Z
# Generated by Django 3.0.3 on 2020-02-27 08:03 from django.db import migrations, models import sortedm2m.fields class Migration(migrations.Migration): dependencies = [ ('orchestrator', '0003_v022_1'), ] operations = [ migrations.AlterField( model_name='filetrigger', ...
44.615385
169
0.640345
308
2,900
5.886364
0.194805
0.049641
0.07722
0.093767
0.800331
0.785439
0.785439
0.776062
0.776062
0.656922
0
0.013188
0.241724
2,900
64
170
45.3125
0.811278
0.015517
0
0.775862
1
0
0.274448
0.016474
0
0
0
0
0
1
0
false
0
0.034483
0
0.086207
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
62d3dabe2d0ce869bae0b7b6634e37d8ca35caf2
442,767
py
Python
src/ks33requests/schemas/s3_api.py
tanbro/ks33requests
b86fcded23beeb3b32ec0b7b0c6855394b26033d
[ "Apache-2.0" ]
1
2021-08-30T03:31:45.000Z
2021-08-30T03:31:45.000Z
src/ks33requests/schemas/s3_api.py
tanbro/ks33requests
b86fcded23beeb3b32ec0b7b0c6855394b26033d
[ "Apache-2.0" ]
1
2019-06-27T02:42:26.000Z
2019-06-27T02:42:26.000Z
src/ks33requests/schemas/s3_api.py
tanbro/ks33requests
b86fcded23beeb3b32ec0b7b0c6855394b26033d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated Mon Jun 10 11:49:52 2019 by generateDS.py version 2.32.0. # Python 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] # # Command line options: # ('-f', '') # ('-o', 's3_api.py') # ('-s', 's3_sub.py') # ('--super', 's3_api') # # Command line argument...
40.225947
145
0.613386
43,033
442,767
6.036646
0.017545
0.034087
0.024633
0.027447
0.836539
0.815756
0.802506
0.770347
0.74583
0.742135
0
0.005652
0.287869
442,767
11,006
146
40.229602
0.818225
0.015091
0
0.771618
1
0.000109
0.081502
0.024207
0
0
0
0
0
1
0.132978
false
0.015029
0.024396
0.02897
0.268896
0.07482
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
62d4d15d238c5de06d4e73aed78057ff7986a4de
16,760
py
Python
hallo/test/modules/permission_control/test_find_permission_mask.py
joshcoales/Hallo
17145d8f76552ecd4cbc5caef8924bd2cf0cbf24
[ "MIT" ]
1
2018-05-19T22:27:20.000Z
2018-05-19T22:27:20.000Z
hallo/test/modules/permission_control/test_find_permission_mask.py
joshcoales/Hallo
17145d8f76552ecd4cbc5caef8924bd2cf0cbf24
[ "MIT" ]
75
2015-09-26T18:07:18.000Z
2022-01-04T07:15:11.000Z
hallo/test/modules/permission_control/test_find_permission_mask.py
SpangleLabs/Hallo
17145d8f76552ecd4cbc5caef8924bd2cf0cbf24
[ "MIT" ]
1
2021-04-10T12:02:47.000Z
2021-04-10T12:02:47.000Z
import hallo.modules.permission_control from hallo.hallo import Hallo from hallo.modules.permission_control import Permissions from hallo.permission_mask import PermissionMask from hallo.test.server_mock import ServerMock from hallo.user_group import UserGroup def test_3_fail(hallo_getter): test_hallo = hallo_get...
38.617512
103
0.707757
2,156
16,760
5.264378
0.050557
0.128282
0.040088
0.036828
0.928282
0.919912
0.909515
0.887665
0.865727
0.855947
0
0.038737
0.1929
16,760
433
104
38.706697
0.800325
0.075955
0
0.818182
0
0
0.160412
0.0044
0
0
0
0
0.101928
1
0.052342
false
0.002755
0.016529
0
0.068871
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
1a12d0a7e33c43a50be88445769392ad553e804f
81
py
Python
python/module/spatial/__init__.py
DerThorsten/spatial
851cb9f840fbd79d5a152bc21c7f94619a94220a
[ "MIT" ]
null
null
null
python/module/spatial/__init__.py
DerThorsten/spatial
851cb9f840fbd79d5a152bc21c7f94619a94220a
[ "MIT" ]
null
null
null
python/module/spatial/__init__.py
DerThorsten/spatial
851cb9f840fbd79d5a152bc21c7f94619a94220a
[ "MIT" ]
1
2019-08-01T12:03:55.000Z
2019-08-01T12:03:55.000Z
from . _spatial import * def pure_python(): """ hello """ pass
9
24
0.506173
8
81
4.875
1
0
0
0
0
0
0
0
0
0
0
0
0.358025
81
9
25
9
0.75
0.061728
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
1
0
1
0
0
7
3db6d2606affab161fdaec54b8f7b7aedfe2a3ed
181
py
Python
federatedscope/vertical_fl/worker/__init__.py
alibaba/FederatedScope
fcf6d237624769ea094cfd68803901622f14fc23
[ "Apache-2.0" ]
9
2022-03-24T07:59:37.000Z
2022-03-31T06:47:52.000Z
federatedscope/vertical_fl/worker/__init__.py
alibaba/FederatedScope
fcf6d237624769ea094cfd68803901622f14fc23
[ "Apache-2.0" ]
1
2022-03-28T13:52:17.000Z
2022-03-28T13:52:17.000Z
federatedscope/vertical_fl/worker/__init__.py
alibaba/FederatedScope
fcf6d237624769ea094cfd68803901622f14fc23
[ "Apache-2.0" ]
null
null
null
from federatedscope.vertical_fl.worker.vertical_client import vFLClient from federatedscope.vertical_fl.worker.vertical_server import vFLServer __all__ = ['vFLServer', 'vFLClient']
45.25
71
0.856354
21
181
7
0.52381
0.244898
0.353742
0.380952
0.571429
0.571429
0
0
0
0
0
0
0.066298
181
4
72
45.25
0.869822
0
0
0
0
0
0.098901
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
3dee2552b4e4e50f8c978d7589eb8ec8e8832fae
257
py
Python
example/prj_name/pkg_name/__init__.py
glimix/build-capi
80f8faebe493108012dcec3c7685a0350cb02fda
[ "MIT" ]
null
null
null
example/prj_name/pkg_name/__init__.py
glimix/build-capi
80f8faebe493108012dcec3c7685a0350cb02fda
[ "MIT" ]
null
null
null
example/prj_name/pkg_name/__init__.py
glimix/build-capi
80f8faebe493108012dcec3c7685a0350cb02fda
[ "MIT" ]
null
null
null
def get_include(): import pkg_name from os.path import join, dirname return join(dirname(pkg_name.__file__), 'include') def get_lib(): import pkg_name from os.path import join, dirname return join(dirname(pkg_name.__file__), 'lib')
25.7
54
0.708171
38
257
4.421053
0.368421
0.166667
0.154762
0.202381
0.809524
0.809524
0.809524
0.809524
0.809524
0.809524
0
0
0.190661
257
9
55
28.555556
0.807692
0
0
0.5
0
0
0.038911
0
0
0
0
0
0
1
0.25
true
0
0.5
0
1
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
12
9a88abe58a578ee096c2f5b33d94e3c7791aaf73
6,269
py
Python
loldib/getratings/models/NA/na_nami/na_nami_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_nami/na_nami_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_nami/na_nami_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Nami_Mid_Aatrox(Ratings): pass class NA_Nami_Mid_Ahri(Ratings): pass class NA_Nami_Mid_Akali(Ratings): pass class NA_Nami_Mid_Alistar(Ratings): pass class NA_Nami_Mid_Amumu(Ratings): pass class NA_Nami_Mid_Anivia(Ratings): pass clas...
15.033573
46
0.75642
972
6,269
4.452675
0.151235
0.223198
0.350739
0.446396
0.791359
0.791359
0
0
0
0
0
0
0.177221
6,269
416
47
15.069712
0.839085
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
7
9a9984c9635ff489d7b64f27c2a9e89886b4c9ea
327
py
Python
linear_attention_transformer/__init__.py
lucidrains/linear-attention
24ecf20b11a7c8ddbc15e33a30f0be0cc73b145d
[ "MIT" ]
361
2020-06-05T00:34:35.000Z
2022-03-29T02:23:16.000Z
linear_attention_transformer/__init__.py
lucidrains/linear-attention
24ecf20b11a7c8ddbc15e33a30f0be0cc73b145d
[ "MIT" ]
11
2020-06-14T17:32:35.000Z
2021-10-20T22:49:28.000Z
linear_attention_transformer/__init__.py
lucidrains/linear-attention
24ecf20b11a7c8ddbc15e33a30f0be0cc73b145d
[ "MIT" ]
32
2020-06-13T22:19:27.000Z
2022-03-23T03:41:39.000Z
from linear_attention_transformer.linear_attention_transformer import LinearAttentionTransformer, LinearAttentionTransformerLM, LinformerSettings, LinformerContextSettings from linear_attention_transformer.autoregressive_wrapper import AutoregressiveWrapper from linear_attention_transformer.images import ImageLinearAtt...
81.75
171
0.93578
27
327
11
0.518519
0.20202
0.350168
0.30303
0
0
0
0
0
0
0
0
0.045872
327
3
172
109
0.951923
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
1
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
10
9ac3e6b86ea2283c43005cf28260afc9daab1e4a
37,725
py
Python
test/integration/test_projects.py
Violet26/cfapi
c5af1ea54538d20ea1458b4eaf038a7d73fd042d
[ "MIT" ]
75
2015-01-06T14:35:37.000Z
2021-11-21T16:11:51.000Z
test/integration/test_projects.py
Violet26/cfapi
c5af1ea54538d20ea1458b4eaf038a7d73fd042d
[ "MIT" ]
158
2015-01-05T22:42:23.000Z
2021-01-29T20:24:55.000Z
test/integration/test_projects.py
Violet26/cfapi
c5af1ea54538d20ea1458b4eaf038a7d73fd042d
[ "MIT" ]
56
2015-01-14T01:37:20.000Z
2021-04-30T17:47:11.000Z
# -- coding: utf-8 -- import json from datetime import datetime, timedelta from test.factories import ProjectFactory, OrganizationFactory, IssueFactory from test.harness import IntegrationTest from app import db, Issue class TestProjects(IntegrationTest): def test_all_projects_order(self): ''' T...
58.945313
176
0.700305
4,581
37,725
5.615586
0.050207
0.156851
0.085364
0.025773
0.899631
0.874908
0.835024
0.794869
0.765598
0.743635
0
0.008702
0.1745
37,725
639
177
59.037559
0.817353
0.0677
0
0.641548
0
0.010183
0.197911
0.053813
0
0
0
0
0.452138
1
0.050917
false
0
0.010183
0
0.063136
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
9ac67cfd6a47123a1d106e8ab5c77557462c64ff
181
py
Python
tests/unit/test_utils/tests_example_datasets/test_example_get_games.py
RelevanceAI/RelevanceAI
a0542f35153d9c842f3d2cd0955d6b07f6dfc07b
[ "Apache-2.0" ]
21
2021-11-23T13:01:36.000Z
2022-03-23T03:45:30.000Z
tests/unit/test_utils/tests_example_datasets/test_example_get_games.py
RelevanceAI/RelevanceAI
a0542f35153d9c842f3d2cd0955d6b07f6dfc07b
[ "Apache-2.0" ]
217
2021-11-23T00:11:01.000Z
2022-03-30T08:11:49.000Z
tests/unit/test_utils/tests_example_datasets/test_example_get_games.py
RelevanceAI/RelevanceAI
a0542f35153d9c842f3d2cd0955d6b07f6dfc07b
[ "Apache-2.0" ]
4
2022-01-04T01:48:30.000Z
2022-02-11T03:19:32.000Z
import pytest def test_get_games_dataset_subset(): from relevanceai.utils.datasets import get_games_dataset assert len(get_games_dataset(number_of_documents=100)) == 100
22.625
65
0.80663
26
181
5.230769
0.692308
0.176471
0.330882
0
0
0
0
0
0
0
0
0.037975
0.127072
181
7
66
25.857143
0.822785
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
true
0
0.5
0
0.75
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
b11b2411f73efd25fb3f22151db8fafae90d2c78
149
py
Python
deepmath/base_classes/__init__.py
mathraim/deepmath
1f0a75b26763d62b1d0cdcf1355cf7218ddcb09a
[ "MIT" ]
2
2019-05-18T22:47:38.000Z
2019-05-19T00:27:13.000Z
deepmath/base_classes/__init__.py
mathraim/deepmath
1f0a75b26763d62b1d0cdcf1355cf7218ddcb09a
[ "MIT" ]
null
null
null
deepmath/base_classes/__init__.py
mathraim/deepmath
1f0a75b26763d62b1d0cdcf1355cf7218ddcb09a
[ "MIT" ]
null
null
null
from deepmath.base_classes.layer import Layer from deepmath.base_classes.network import Network from deepmath.base_classes.optimizer import Optimizer
49.666667
53
0.885906
21
149
6.142857
0.380952
0.27907
0.372093
0.534884
0
0
0
0
0
0
0
0
0.073826
149
3
53
49.666667
0.934783
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
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
b163a81f4fabfeaa2e0f8b6ed361d817321e22cd
133
py
Python
python/shared_global/main.py
mbr0wn/snippets
f8cc86d73cf3373348135be26c6478798a639a21
[ "WTFPL" ]
null
null
null
python/shared_global/main.py
mbr0wn/snippets
f8cc86d73cf3373348135be26c6478798a639a21
[ "WTFPL" ]
null
null
null
python/shared_global/main.py
mbr0wn/snippets
f8cc86d73cf3373348135be26c6478798a639a21
[ "WTFPL" ]
null
null
null
import shared_mod import mod1 print "mod1: bar == ", shared_mod.f.bar shared_mod.f.bar = 7 print "mod1: bar == ", shared_mod.f.bar
16.625
39
0.699248
24
133
3.708333
0.333333
0.404494
0.404494
0.438202
0.707865
0.561798
0.561798
0
0
0
0
0.035714
0.157895
133
7
40
19
0.758929
0
0
0.4
0
0
0.195489
0
0
0
0
0
0
0
null
null
0
0.4
null
null
0.4
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
493a16c5ba6adf27c833360189db84331a67a7c8
4,321
py
Python
tests/test_node_wrapping.py
StevenCostiou/reflectivipy
750ed93cfb463304958e590d895c76169caa4b98
[ "MIT" ]
10
2019-01-18T17:45:18.000Z
2019-10-05T08:58:17.000Z
tests/test_node_wrapping.py
StevenCostiou/reflectivipy
750ed93cfb463304958e590d895c76169caa4b98
[ "MIT" ]
null
null
null
tests/test_node_wrapping.py
StevenCostiou/reflectivipy
750ed93cfb463304958e590d895c76169caa4b98
[ "MIT" ]
null
null
null
import pytest import ast from .ReflectivityExample import * import reflectivipy from reflectivipy import MetaLink @pytest.fixture(autouse=True) def setup(): reflectivipy.uninstall_all() def test_wrap_expr(): node = expr_sample_node() assert type(node) is ast.Expr transformation = node.wrapper.flat...
31.311594
83
0.715112
578
4,321
5.216263
0.103806
0.145937
0.091542
0.096186
0.822222
0.781095
0.763516
0.738308
0.72272
0.697512
0
0.01686
0.162694
4,321
137
84
31.540146
0.816473
0
0
0.57732
0
0
0.027077
0
0
0
0
0
0.505155
1
0.092784
false
0.010309
0.051546
0
0.14433
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
493dfa9daf12b9dbaa44646b218a2be60c66ee2d
11,524
py
Python
stubs.min/System/Security/AccessControl_parts/DirectoryObjectSecurity.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/System/Security/AccessControl_parts/DirectoryObjectSecurity.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Security/AccessControl_parts/DirectoryObjectSecurity.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class DirectoryObjectSecurity(ObjectSecurity): """ Provides the ability to control access to directory objects without direct manipulation of Access Control Lists (ACLs). """ def AccessRuleFactory(self,identityReference,accessMask,isInherited,inheritanceFlags,propagationFlags,type,objectType=None,inheritedObjectTyp...
44.153257
274
0.746789
1,316
11,524
6.530395
0.138298
0.043984
0.065976
0.054108
0.800326
0.770538
0.730742
0.715616
0.696765
0.624738
0
0.000432
0.195852
11,524
260
275
44.323077
0.926945
0.722753
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0.4
0
0
0.575
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
7
b8e262c7a2c4af2a5374ec6767adf09353366f0c
5,012
py
Python
tests/ad/profiles/test_profiles_api.py
Rogdham/pyTenable
79f3f7360f8ef31b964f1db99d0c7b8a0bc25d7a
[ "MIT" ]
1
2022-03-01T17:17:19.000Z
2022-03-01T17:17:19.000Z
tests/ad/profiles/test_profiles_api.py
Rogdham/pyTenable
79f3f7360f8ef31b964f1db99d0c7b8a0bc25d7a
[ "MIT" ]
25
2021-11-16T18:41:36.000Z
2022-03-25T05:43:31.000Z
tests/ad/profiles/test_profiles_api.py
Rogdham/pyTenable
79f3f7360f8ef31b964f1db99d0c7b8a0bc25d7a
[ "MIT" ]
2
2022-03-02T12:24:40.000Z
2022-03-29T05:12:04.000Z
import responses from tests.ad.conftest import RE_BASE @responses.activate def test_profiles_list(api): responses.add(responses.GET, f'{RE_BASE}/profiles', json=[{ 'id': 1, 'name': 'profile name', 'deleted': Fal...
31.923567
59
0.48763
503
5,012
4.763419
0.101392
0.13773
0.070534
0.080134
0.882721
0.823456
0.799249
0.788397
0.788397
0.736227
0
0.020308
0.390862
5,012
156
60
32.128205
0.764494
0
0
0.719424
0
0
0.169393
0.038907
0
0
0
0
0.28777
1
0.057554
false
0
0.014388
0
0.071942
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
77198b8f46726c1942cfb66f7f167bef43169b05
10,361
py
Python
src/python/test/cgp/test_cgp.py
konopczynski/nifty
dc02ac60febaabfaf9b2ee5a854bb61436ebdc97
[ "MIT" ]
38
2016-06-29T07:42:50.000Z
2021-12-09T09:25:25.000Z
src/python/test/cgp/test_cgp.py
tbullmann/nifty
00119fd4753817b931272d6d3120b6ebd334882a
[ "MIT" ]
62
2016-07-27T16:07:53.000Z
2022-03-30T17:24:36.000Z
src/python/test/cgp/test_cgp.py
tbullmann/nifty
00119fd4753817b931272d6d3120b6ebd334882a
[ "MIT" ]
20
2016-01-25T21:21:52.000Z
2021-12-09T09:25:16.000Z
import nifty.cgp as ncgp import nifty.graph.rag as nrag import unittest import nifty import unittest import nifty.cgp as ncgp import numpy numpy.random.seed(42) class TestCgp2d(unittest.TestCase): def test_corner_case_3x3_grid_a(self): assertEq = self.assertEqual # 4 one cells are active ...
29.434659
85
0.564328
1,017
10,361
5.715831
0.110128
0.12042
0.139687
0.079477
0.912266
0.904524
0.886633
0.881129
0.881129
0.874247
0
0.040109
0.328636
10,361
351
86
29.518519
0.795572
0.044783
0
0.812227
0
0
0.005675
0
0
0
0
0
0.183406
1
0.030568
false
0
0.043668
0
0.078603
0.021834
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
622ba57ce21ef79c4493b86023a5cd2d14b83914
11,448
py
Python
examples/unsupervised_learning/query_generation/example_query_generation.py
pepelawycliffe/sentence-transformers
4c20567623e7baee905ac460311a5899107c372b
[ "Apache-2.0" ]
3
2021-03-15T05:32:43.000Z
2021-12-14T07:29:57.000Z
examples/unsupervised_learning/query_generation/example_query_generation.py
pepelawycliffe/sentence-transformers
4c20567623e7baee905ac460311a5899107c372b
[ "Apache-2.0" ]
null
null
null
examples/unsupervised_learning/query_generation/example_query_generation.py
pepelawycliffe/sentence-transformers
4c20567623e7baee905ac460311a5899107c372b
[ "Apache-2.0" ]
null
null
null
import torch import numpy as np import random from transformers import T5Tokenizer, T5ForConditionalGeneration #Set all seeds to make output deterministic torch.manual_seed(0) np.random.seed(0) random.seed(0) #Paragraphs for which we want to generate queries paragraphs = [ "Python is an interpreted, high-level and g...
84.8
963
0.798218
1,775
11,448
5.139155
0.246761
0.008551
0.016773
0.016115
0.833151
0.824271
0.819557
0.805306
0.805306
0.79544
0
0.023909
0.159679
11,448
134
964
85.432836
0.924324
0.027254
0
0
0
0.236842
0.828897
0.011382
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0.105263
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
6274d3f637f5974e072d8e706d7f1b7714bcc2e6
232
py
Python
bitskins/exceptions.py
Shubbler/bitskins-python
3e71008d425c2535b4dbdad9b7b91cb74a1d4aa8
[ "MIT" ]
null
null
null
bitskins/exceptions.py
Shubbler/bitskins-python
3e71008d425c2535b4dbdad9b7b91cb74a1d4aa8
[ "MIT" ]
null
null
null
bitskins/exceptions.py
Shubbler/bitskins-python
3e71008d425c2535b4dbdad9b7b91cb74a1d4aa8
[ "MIT" ]
null
null
null
class APIException(Exception): def __init__(self, message): super().__init__(message) self.message = message class UserException(Exception): def __init__(self, message): super().__init__(message) self.message = message
19.333333
31
0.74569
26
232
6.038462
0.346154
0.280255
0.203822
0.254777
0.77707
0.77707
0.77707
0.77707
0.77707
0.77707
0
0
0.133621
232
12
32
19.333333
0.781095
0
0
0.75
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
1
1
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
1
0
0
0
0
0
0
0
11
0297c0e71e66e3972b4f0bd7f1641ed21575d246
140
py
Python
0x07-python-test_driven_development/6-main.py
malu17/alx-higher_level_programming
75a24d98c51116b737f339697c75855e34254d3a
[ "MIT" ]
1
2022-02-07T12:13:18.000Z
2022-02-07T12:13:18.000Z
0x07-python-test_driven_development/6-main.py
malu17/alx-higher_level_programming
75a24d98c51116b737f339697c75855e34254d3a
[ "MIT" ]
null
null
null
0x07-python-test_driven_development/6-main.py
malu17/alx-higher_level_programming
75a24d98c51116b737f339697c75855e34254d3a
[ "MIT" ]
4
2018-05-01T05:04:15.000Z
2020-04-28T22:22:54.000Z
#!/usr/bin/python3 max_integer = __import__('6-max_integer').max_integer print(max_integer([1, 2, 3, 4])) print(max_integer([1, 3, 4, 2]))
23.333333
53
0.692857
25
140
3.52
0.48
0.568182
0.340909
0.363636
0
0
0
0
0
0
0
0.07874
0.092857
140
5
54
28
0.614173
0.121429
0
0
0
0
0.106557
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.666667
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
7
f310a55abbe3b9ee53c9b9523c4ff6cbda0c7ead
288
py
Python
rastervision/core/__init__.py
carderne/raster-vision
915fbcd3263d8f2193e65c2cd0eb53e050a47a01
[ "Apache-2.0" ]
4
2019-03-11T12:38:15.000Z
2021-04-06T14:57:52.000Z
rastervision/core/__init__.py
carderne/raster-vision
915fbcd3263d8f2193e65c2cd0eb53e050a47a01
[ "Apache-2.0" ]
null
null
null
rastervision/core/__init__.py
carderne/raster-vision
915fbcd3263d8f2193e65c2cd0eb53e050a47a01
[ "Apache-2.0" ]
1
2020-04-27T15:21:53.000Z
2020-04-27T15:21:53.000Z
# flake8: noqa from rastervision.core.box import * from rastervision.core.class_map import * from rastervision.core.command_io_definition import * from rastervision.core.config import * from rastervision.core.raster_stats import RasterStats from rastervision.core.training_data import *
32
54
0.836806
38
288
6.210526
0.473684
0.40678
0.508475
0.440678
0
0
0
0
0
0
0
0.003846
0.097222
288
8
55
36
0.903846
0.041667
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
b85486a017d3e3f9ef1213d893acc673e8d93065
83
py
Python
fetchr/__init__.py
fetch-r/py-sdk
03fc212458705dfc9c4cd851f412701b4b6f6777
[ "MIT" ]
null
null
null
fetchr/__init__.py
fetch-r/py-sdk
03fc212458705dfc9c4cd851f412701b4b6f6777
[ "MIT" ]
null
null
null
fetchr/__init__.py
fetch-r/py-sdk
03fc212458705dfc9c4cd851f412701b4b6f6777
[ "MIT" ]
null
null
null
from .fetchr_client import FetchRClient from .fetchr_client import FetchRException
27.666667
42
0.879518
10
83
7.1
0.6
0.28169
0.450704
0.619718
0
0
0
0
0
0
0
0
0.096386
83
2
43
41.5
0.946667
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
b86f55aad6c1e1ada9493e905f64abb624e8179c
26,007
py
Python
swagger_client/apis/addon_api.py
scubawhere/scubawhere-api-python-client
9f8578e251492c7667f785df7b7c9d66e71f5c8e
[ "Apache-2.0" ]
null
null
null
swagger_client/apis/addon_api.py
scubawhere/scubawhere-api-python-client
9f8578e251492c7667f785df7b7c9d66e71f5c8e
[ "Apache-2.0" ]
null
null
null
swagger_client/apis/addon_api.py
scubawhere/scubawhere-api-python-client
9f8578e251492c7667f785df7b7c9d66e71f5c8e
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Scubawhere API Documentation This is the documentation for scubawhere's RMS API. This API is only to be used by authorized parties with valid auth tokens. [Learn about scubawhere](http://www.scubawhere.com) to become an authorized consumer of our API OpenAPI spec version: 1.0.0 ...
38.301915
227
0.557465
2,683
26,007
5.203876
0.084234
0.068758
0.024065
0.030941
0.892207
0.878671
0.877023
0.8632
0.847658
0.834336
0
0.003498
0.362441
26,007
678
228
38.358407
0.83855
0.349214
0
0.754839
0
0
0.13955
0.029414
0
0
0
0
0
1
0.041935
false
0
0.022581
0
0.125806
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
b21d33d2be09a0dbb2b2e8419007e762ed151253
86,869
py
Python
myems-api/core/combinedequipment.py
FanZhen2002/myems
222d40a6cf3f81efbe37977963cd806d7f154766
[ "MIT" ]
2
2021-09-04T03:39:26.000Z
2021-09-05T00:29:20.000Z
myems-api/core/combinedequipment.py
FanZhen2002/myems
222d40a6cf3f81efbe37977963cd806d7f154766
[ "MIT" ]
4
2021-09-04T07:50:41.000Z
2021-09-05T09:35:20.000Z
myems-api/core/combinedequipment.py
FanZhen2002/myems
222d40a6cf3f81efbe37977963cd806d7f154766
[ "MIT" ]
2
2021-09-03T00:01:17.000Z
2021-09-06T06:38:20.000Z
import falcon import simplejson as json import mysql.connector import config import uuid from core.useractivity import user_logger, access_control class CombinedEquipmentCollection: @staticmethod def __init__(): """ Initializes CombinedEquipmentCollection""" pass @staticmethod def on_...
44.163193
120
0.534517
8,968
86,869
4.914251
0.022302
0.033582
0.054911
0.071385
0.94552
0.939189
0.927753
0.918722
0.911869
0.906968
0
0.009838
0.36227
86,869
1,966
121
44.185656
0.785682
0.017509
0
0.897214
0
0.003096
0.22128
0.086871
0
0
0
0
0
1
0.029102
false
0.00743
0.003715
0
0.040248
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
b27c4501c5cbb513b2e6305015a23c28e275a1c5
2,579
py
Python
src/nncomp_molecule/criterions/focal_loss.py
k-fujikawa/Kaggle-BMS-Molecular-Translation
5503572686ed6c4082e276d9e17078185249be9e
[ "MIT" ]
3
2021-08-29T21:07:37.000Z
2022-03-30T07:46:57.000Z
src/nncomp_molecule/criterions/focal_loss.py
k-fujikawa/Kaggle-BMS-Molecular-Translation-
5503572686ed6c4082e276d9e17078185249be9e
[ "MIT" ]
null
null
null
src/nncomp_molecule/criterions/focal_loss.py
k-fujikawa/Kaggle-BMS-Molecular-Translation-
5503572686ed6c4082e276d9e17078185249be9e
[ "MIT" ]
1
2022-03-30T10:20:25.000Z
2022-03-30T10:20:25.000Z
import torch import nncomp.registry as R @R.CriterionRegistry.add class FocalLoss(torch.nn.Module): def __init__(self, alpha=0.25, gamma=2.0, ignore_index=0): super().__init__() self.alpha = alpha self.gamma = gamma self.ignore_index = ignore_index self.lossfunc = torch.nn...
32.64557
74
0.59558
302
2,579
4.860927
0.188742
0.147139
0.065395
0.098093
0.920981
0.920981
0.920981
0.920981
0.920981
0.920981
0
0.015359
0.293137
2,579
78
75
33.064103
0.789907
0
0
0.835821
0
0
0.003102
0
0
0
0
0
0
1
0.059701
false
0
0.029851
0
0.149254
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
b28b3b4ae7d4ae1d7b2be6fc19c6a4dddb34dfdc
4,167
py
Python
tests/test_optimize.py
ad-lib27/cs207-FinalProject
9d7026c3579a7ab397b428343d8426a7c15b9f22
[ "MIT" ]
null
null
null
tests/test_optimize.py
ad-lib27/cs207-FinalProject
9d7026c3579a7ab397b428343d8426a7c15b9f22
[ "MIT" ]
9
2019-10-30T00:56:55.000Z
2019-12-10T16:47:10.000Z
tests/test_optimize.py
ad-lib27/cs207-FinalProject
9d7026c3579a7ab397b428343d8426a7c15b9f22
[ "MIT" ]
1
2019-12-27T03:56:49.000Z
2019-12-27T03:56:49.000Z
import numpy as np from itertools import product as prod import math import pytest from adlib27.autodiff import AutoDiff as AD from adlib27.elem_function import sin from adlib27.optimize import optimize #test optimize def test_optimize(): assert optimize([-1.0, 0.0, 1.0], ['x'], '3*x') == {'global maximum': {'inp...
320.538462
3,417
0.682505
495
4,167
5.741414
0.121212
0.070373
0.061928
0.133005
0.808586
0.737509
0.715341
0.715341
0.715341
0.715341
0
0.381693
0.090233
4,167
13
3,417
320.538462
0.367977
0.00312
0
0
0
0
0.300915
0
0
0
0
0
0.2
1
0.1
true
0
0.7
0
0.8
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
13
b28bbc5d1f8a36a1d72f8fde37db650fc449e909
7,501
py
Python
zerver/webhooks/splunk/tests.py
DD2480-group7-2020/zulip
9a1e18bcf383c38c35da168563a7345768c6d784
[ "Apache-2.0" ]
1
2020-03-17T14:58:50.000Z
2020-03-17T14:58:50.000Z
zerver/webhooks/splunk/tests.py
DD2480-group7-2020/zulip
9a1e18bcf383c38c35da168563a7345768c6d784
[ "Apache-2.0" ]
2
2020-09-07T22:32:24.000Z
2021-05-08T18:17:53.000Z
zerver/webhooks/splunk/tests.py
DD2480-group7-2020/zulip
9a1e18bcf383c38c35da168563a7345768c6d784
[ "Apache-2.0" ]
1
2020-07-16T06:00:10.000Z
2020-07-16T06:00:10.000Z
# -*- coding: utf-8 -*- from zerver.lib.test_classes import WebhookTestCase class SplunkHookTests(WebhookTestCase): STREAM_NAME = 'splunk' URL_TEMPLATE = "/api/v1/external/splunk?api_key={api_key}&stream={stream}" FIXTURE_DIR_NAME = 'splunk' def test_splunk_search_one_result(self) -> None: s...
48.083333
445
0.628849
967
7,501
4.648397
0.149948
0.05673
0.024027
0.040044
0.858287
0.858287
0.852058
0.852058
0.83604
0.821357
0
0.055516
0.243568
7,501
155
446
48.393548
0.736694
0.031462
0
0.726496
0
0.128205
0.526381
0.074666
0
0
0
0
0
1
0.076923
false
0
0.008547
0.008547
0.128205
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
b28c64c03c9363dc7727e32c59eb2d4c26c928a1
3,924
py
Python
tests/modules/epp/test_epp_login.py
bladeroot/heppy
b597916ff80890ca057b17cdd156e90bbbd9a87a
[ "BSD-3-Clause" ]
20
2016-06-02T20:29:29.000Z
2022-01-31T07:47:02.000Z
tests/modules/epp/test_epp_login.py
bladeroot/heppy
b597916ff80890ca057b17cdd156e90bbbd9a87a
[ "BSD-3-Clause" ]
1
2018-10-09T16:09:24.000Z
2018-10-10T08:17:42.000Z
tests/modules/epp/test_epp_login.py
bladeroot/heppy
b597916ff80890ca057b17cdd156e90bbbd9a87a
[ "BSD-3-Clause" ]
7
2018-04-11T16:05:06.000Z
2020-01-28T16:30:40.000Z
#!/usr/bin/env python import unittest from ..TestCase import TestCase class TestEppLogin(TestCase): def test_render_epp_login_request_min(self): self.assertRequest('''<?xml version="1.0" ?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <command> <login> <clID>ClientX</clID> ...
31.142857
62
0.445973
395
3,924
4.374684
0.159494
0.085069
0.157986
0.194444
0.895833
0.895833
0.847222
0.847222
0.847222
0.847222
0
0.033292
0.387615
3,924
125
63
31.392
0.685809
0.005097
0
0.862069
0
0
0.694338
0.239303
0
0
0
0
0.025862
1
0.025862
false
0.017241
0.017241
0
0.051724
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
b28dd03cf88c86defe6afc263d1a5848ef142769
436,491
py
Python
pirates/inventory/ItemData.py
ksmit799/POTCO-PS
520d38935ae8df4b452c733a82c94dddac01e275
[ "Apache-2.0" ]
8
2017-01-24T04:33:29.000Z
2020-11-01T08:36:24.000Z
pirates/inventory/ItemData.py
ksmit799/Pirates-Online-Remake
520d38935ae8df4b452c733a82c94dddac01e275
[ "Apache-2.0" ]
1
2017-03-02T18:05:17.000Z
2017-03-14T06:47:10.000Z
pirates/inventory/ItemData.py
ksmit799/Pirates-Online-Remake
520d38935ae8df4b452c733a82c94dddac01e275
[ "Apache-2.0" ]
11
2017-03-02T18:46:07.000Z
2020-11-01T08:36:26.000Z
from panda3d.core import LVector3f itemInfo = {1: [51, 2, 0, 1, u'Rusty Cutlass', u'RUSTY_CUTLASS', 1, 1, 1, 1, 1, 0, 0, 0, 1, u'pir_t_ico_swd_cutlass_a', u"It's a bit crude, but it still has an edge.", 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, u'pir_m_hnd_swd_cutlass_a', 1, 0, 6, 0, 0, 0, 1, 0, 0, 3], ...
244.944444
1,297
0.541794
102,611
436,491
2.132023
0.040873
0.274536
0.336149
0.369504
0.618049
0.592063
0.564751
0.555783
0.545347
0.528814
0
0.298952
0.23082
436,491
1,782
1,298
244.944444
0.352651
0
0
0
0
0
0.302867
0.151606
0
0
0
0
0
1
0
false
0.000561
0.000561
0
0.000561
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a293ad273a91af2bcc9145337c179a25014f57f9
3,197
py
Python
tests/flow/test_ts_delete.py
kirylkrauchuk/redistimeseries
761cd6ec3920ac84ef5fe279df462c797dae758b
[ "Ruby", "BSD-3-Clause", "MIT" ]
null
null
null
tests/flow/test_ts_delete.py
kirylkrauchuk/redistimeseries
761cd6ec3920ac84ef5fe279df462c797dae758b
[ "Ruby", "BSD-3-Clause", "MIT" ]
null
null
null
tests/flow/test_ts_delete.py
kirylkrauchuk/redistimeseries
761cd6ec3920ac84ef5fe279df462c797dae758b
[ "Ruby", "BSD-3-Clause", "MIT" ]
null
null
null
from RLTest import Env def test_ts_del_uncompressed(): # total samples = 101 sample_len = 101 with Env().getClusterConnectionIfNeeded() as r: r.execute_command("ts.create", 'test_key', 'uncompressed') for i in range(sample_len): assert i == r.execute_command("ts.add", 'test_ke...
34.010638
86
0.570222
453
3,197
3.836645
0.101545
0.115075
0.215765
0.244534
0.928654
0.87687
0.87687
0.861335
0.845224
0.845224
0
0.052106
0.279637
3,197
93
87
34.376344
0.702562
0.011573
0
0.802817
0
0
0.14064
0
0
0
0
0
0.211268
1
0.070423
false
0
0.014085
0
0.084507
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
a2975ca4c4cb049daefcb0cf82c2a970dcf34551
3,984
py
Python
git.py
amriteshbhaskar/PyProxy
576afc06a67af88f2f665a5185ce307687434cc4
[ "MIT" ]
6
2018-11-13T16:30:07.000Z
2019-02-08T16:04:01.000Z
git.py
amriteshbhaskar/PyProxy
576afc06a67af88f2f665a5185ce307687434cc4
[ "MIT" ]
1
2019-02-08T08:10:06.000Z
2019-07-14T11:48:22.000Z
git.py
amriteshbhaskar/PyProxy
576afc06a67af88f2f665a5185ce307687434cc4
[ "MIT" ]
1
2019-02-08T07:16:28.000Z
2019-02-08T07:16:28.000Z
#!/usr/bin/python3 import os def set_proxy(host_ip, host_port, auth_choice, pc_username, username, password): result = os.system('which git > /dev/null') if result == 0 : if pc_username == 'root' : file_name = '/root/.gitconfig' file_temp = open(file_name + '_temp', 'w+') ...
43.304348
129
0.483936
471
3,984
3.866242
0.118896
0.140582
0.079077
0.069193
0.942339
0.942339
0.942339
0.942339
0.942339
0.942339
0
0.001196
0.370482
3,984
92
130
43.304348
0.72488
0.004267
0
0.963855
0
0
0.120494
0.0242
0
0
0
0
0
1
0.024096
false
0.060241
0.012048
0
0.036145
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
a2efcca38a09955fda95b792cba6417ce513a728
7,917
py
Python
f5/bigip/tm/sys/test/functional/test_sshd.py
nghia-tran/f5-common-python
acb23a6e5830a119b460c19a578654113419f5c3
[ "Apache-2.0" ]
272
2016-02-23T06:05:44.000Z
2022-02-20T02:09:32.000Z
f5/bigip/tm/sys/test/functional/test_sshd.py
nghia-tran/f5-common-python
acb23a6e5830a119b460c19a578654113419f5c3
[ "Apache-2.0" ]
1,103
2016-02-11T17:48:03.000Z
2022-02-15T17:13:37.000Z
f5/bigip/tm/sys/test/functional/test_sshd.py
nghia-tran/f5-common-python
acb23a6e5830a119b460c19a578654113419f5c3
[ "Apache-2.0" ]
167
2016-02-11T17:48:21.000Z
2022-01-17T20:13:05.000Z
# Copyright 2016 F5 Networks Inc. # # 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 writ...
30.925781
78
0.604269
937
7,917
4.954109
0.148346
0.081
0.148643
0.133563
0.800086
0.800086
0.791254
0.791254
0.791254
0.770142
0
0.051135
0.293546
7,917
255
79
31.047059
0.778831
0.083996
0
0.830409
0
0
0.062985
0
0
0
0
0
0.292398
1
0.099415
false
0.011696
0.005848
0
0.122807
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
a2fb358dca530bfbfe18c28092d303af4feccf04
1,948
py
Python
stage/configuration/test_whole_file_transformer_processor.py
Sentienz/datacollector-tests
ca27988351dc3366488098b5db6c85a8be2f7b85
[ "Apache-2.0" ]
null
null
null
stage/configuration/test_whole_file_transformer_processor.py
Sentienz/datacollector-tests
ca27988351dc3366488098b5db6c85a8be2f7b85
[ "Apache-2.0" ]
1
2019-04-24T11:06:38.000Z
2019-04-24T11:06:38.000Z
stage/configuration/test_whole_file_transformer_processor.py
anubandhan/datacollector-tests
301c024c66d68353735256b262b681dd05ba16cc
[ "Apache-2.0" ]
2
2019-05-24T06:34:37.000Z
2020-03-30T11:48:18.000Z
import pytest from streamsets.testframework.decorators import stub @stub def test_buffer_size_in_bytes(sdc_builder, sdc_executor): pass @stub @pytest.mark.parametrize('stage_attributes', [{'job_type': 'AVRO_PARQUET'}]) def test_compression_codec(sdc_builder, sdc_executor, stage_attributes): pass @stub de...
21.88764
83
0.735113
253
1,948
5.256917
0.217391
0.078947
0.146617
0.236842
0.767669
0.741353
0.741353
0.741353
0.66015
0.657143
0
0
0.152464
1,948
88
84
22.136364
0.805572
0
0
0.642857
0
0
0.156651
0
0
0
0
0
0
1
0.267857
false
0.267857
0.035714
0
0.303571
0
0
0
0
null
0
0
1
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
7
0c10101c55bd359171fef25c27ba44020f6c537a
105
py
Python
app/routes/home/__init__.py
ygorazambuja/covid-scrapper
6c714a47c00773fe0391d040dcfed57258d98c07
[ "MIT" ]
7
2020-03-28T03:50:07.000Z
2020-09-30T02:49:10.000Z
app/routes/home/__init__.py
ygorazambuja/covid-scrapper
6c714a47c00773fe0391d040dcfed57258d98c07
[ "MIT" ]
2
2020-03-28T03:27:18.000Z
2020-11-03T01:37:39.000Z
app/routes/home/__init__.py
ygorazambuja/covid-scrapper
6c714a47c00773fe0391d040dcfed57258d98c07
[ "MIT" ]
null
null
null
from flask import Blueprint home_blueprint = Blueprint('home_blueprint', __name__) from . import views
17.5
54
0.8
13
105
6
0.538462
0.333333
0.564103
0
0
0
0
0
0
0
0
0
0.133333
105
5
55
21
0.857143
0
0
0
0
0
0.133333
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.666667
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
1
0
7
0c13b039839890e59396c0741741582990554409
550
py
Python
eval_ricord1a_timm-regnetx_002_GridDistortion.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
eval_ricord1a_timm-regnetx_002_GridDistortion.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
eval_ricord1a_timm-regnetx_002_GridDistortion.py
BrunoKrinski/segtool
cb604b5f38104c43a76450136e37c3d1c4b6d275
[ "MIT" ]
null
null
null
import os ls=["python main.py --configs configs/eval_ricord1a_unetplusplus_timm-regnetx_002_0_GridDistortion.yml", "python main.py --configs configs/eval_ricord1a_unetplusplus_timm-regnetx_002_1_GridDistortion.yml", "python main.py --configs configs/eval_ricord1a_unetplusplus_timm-regnetx_002_2_GridDistortion.yml", "p...
50
104
0.849091
80
550
5.4625
0.3
0.114416
0.1373
0.217391
0.887872
0.887872
0.887872
0.887872
0.887872
0.887872
0
0.04817
0.056364
550
11
105
50
0.793834
0
0
0
0
0
0.880218
0.653358
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
0c50fe5848023222200aae75863d1784ac4c0c43
129
py
Python
www/src/Lib/zlib.py
stefanhoelzl/brython
433d272e7bb0e3c0994392f8f265bc39e87854f7
[ "BSD-3-Clause" ]
52
2016-08-08T15:08:19.000Z
2022-03-23T09:48:53.000Z
www/src/Lib/zlib.py
SungBeom/BBAM_Brython
107036ad20a94af1d43e5ce5bd7c73e6a470d687
[ "BSD-3-Clause" ]
6
2016-10-09T19:50:49.000Z
2019-08-17T15:34:21.000Z
www/src/Lib/zlib.py
SungBeom/BBAM_Brython
107036ad20a94af1d43e5ce5bd7c73e6a470d687
[ "BSD-3-Clause" ]
15
2017-02-03T03:08:57.000Z
2021-08-04T06:11:15.000Z
#fix me.. but for now lets just pass the data back.. def compress(data): return data def decompress(data): return data
16.125
52
0.689922
21
129
4.238095
0.714286
0.224719
0.314607
0
0
0
0
0
0
0
0
0
0.224806
129
7
53
18.428571
0.89
0.395349
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
0
1
1
0
0
7
0c54285841faa7cb2e81a05237bc25df210bdb6b
6,620
py
Python
pyaz/cognitiveservices/account/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/cognitiveservices/account/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/cognitiveservices/account/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
1
2022-02-03T09:12:01.000Z
2022-02-03T09:12:01.000Z
''' Manage Azure Cognitive Services accounts. ''' from ... pyaz_utils import _call_az from . import commitment_plan, deployment, identity, keys, network_rule def create(kind, location, name, resource_group, sku, api_properties=None, assign_identity=None, custom_domain=None, encryption=None, storage=None, tags=None, y...
43.552632
169
0.71994
837
6,620
5.617682
0.126643
0.082943
0.061463
0.057422
0.854743
0.831986
0.801361
0.783496
0.772437
0.754998
0
0
0.187462
6,620
151
170
43.84106
0.87414
0.682779
0
0
0
0
0.255828
0
0
0
0
0
0
1
0.461538
false
0
0.076923
0.038462
1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
7
a74aeb3bc0e73cde2e1a6ce31c0f5616db3024d0
3,268
py
Python
test/test_dephead.py
ulf1/nlptasks
07d36448b517a18f76088f5d9cfb853e7602b079
[ "Apache-2.0" ]
2
2020-12-30T13:11:09.000Z
2021-11-04T19:40:31.000Z
test/test_dephead.py
ulf1/nlptasks
07d36448b517a18f76088f5d9cfb853e7602b079
[ "Apache-2.0" ]
99
2020-11-02T14:58:04.000Z
2021-04-09T18:01:34.000Z
test/test_dephead.py
ulf1/nlptasks
07d36448b517a18f76088f5d9cfb853e7602b079
[ "Apache-2.0" ]
null
null
null
import nlptasks as nt import nlptasks.dephead def test_01(): seqs_token = [[ "Der", "Helmut", "Kohl", "speist", "Schweinshaxe", "mit", "Kohl", "."]] target = [ (46, 0), (46, 1), (47, 2), (47, 3), (47, 4), (47, 5), (49, 6), (47, 7), (19, 0), (31, 1), (36, 2), (42, 3), (21, 4), (17, 5), ...
33.010101
79
0.507038
477
3,268
3.427673
0.163522
0.051376
0.044037
0.08318
0.945566
0.945566
0.945566
0.945566
0.945566
0.945566
0
0.131645
0.263158
3,268
98
80
33.346939
0.547342
0.035802
0
0.810811
0
0
0.095677
0
0
0
0
0
0.189189
1
0.081081
false
0
0.027027
0
0.108108
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
a7572a13aa2cca70d43fe14fba16b0babd12f69c
71
py
Python
test/test_ui.py
OpenMindInnovation/timeflux_ui
15abc47f68538cb32e8b64a1d6a065a802fc292d
[ "MIT" ]
7
2019-09-22T13:12:29.000Z
2021-06-28T12:19:34.000Z
test/test_ui.py
OpenMindInnovation/timeflux_ui
15abc47f68538cb32e8b64a1d6a065a802fc292d
[ "MIT" ]
10
2019-04-23T22:44:33.000Z
2021-08-17T16:01:01.000Z
test/test_ui.py
OpenMindInnovation/timeflux_ui
15abc47f68538cb32e8b64a1d6a065a802fc292d
[ "MIT" ]
2
2019-04-03T09:16:36.000Z
2020-01-23T13:13:29.000Z
"""Tests for ui.py""" import pytest def test_none(): return True
10.142857
21
0.647887
11
71
4.090909
1
0
0
0
0
0
0
0
0
0
0
0
0.211268
71
6
22
11.833333
0.803571
0.211268
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
a7d4795815102faaed41eba358a696aca659f1c4
1,581
py
Python
simple_mooc/core/tests/test_views.py
nikolasvargas/simple-mooc
626f495e90326441488669c2b833cda200a4d75c
[ "MIT" ]
null
null
null
simple_mooc/core/tests/test_views.py
nikolasvargas/simple-mooc
626f495e90326441488669c2b833cda200a4d75c
[ "MIT" ]
null
null
null
simple_mooc/core/tests/test_views.py
nikolasvargas/simple-mooc
626f495e90326441488669c2b833cda200a4d75c
[ "MIT" ]
null
null
null
from django.test import SimpleTestCase from django.urls import reverse class HomePageTests(SimpleTestCase): def test_home_page_status_code(self): response = self.client.get('/') self.assertEqual(response.status_code, 200) def test_view_url_by_name(self): response = self.client.get(re...
35.133333
62
0.705882
190
1,581
5.652632
0.210526
0.09311
0.119181
0.163873
0.8473
0.8473
0.8473
0.840782
0.768156
0.712291
0
0.027671
0.177103
1,581
44
63
35.931818
0.797848
0
0
0.6875
0
0
0.075901
0
0
0
0
0
0.375
1
0.25
false
0
0.0625
0
0.375
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
38f76c4c328bd92a458c1243331c5232167268ba
11,491
py
Python
src/datasets/dataset_vqa.py
Steve-Tod/ClipBERT
3543fc7efa7b4848be437c95a55d323618f442ff
[ "MIT" ]
null
null
null
src/datasets/dataset_vqa.py
Steve-Tod/ClipBERT
3543fc7efa7b4848be437c95a55d323618f442ff
[ "MIT" ]
null
null
null
src/datasets/dataset_vqa.py
Steve-Tod/ClipBERT
3543fc7efa7b4848be437c95a55d323618f442ff
[ "MIT" ]
null
null
null
import torch import numpy as np from torch.utils.data.dataloader import default_collate from src.utils.basic_utils import flat_list_of_lists from src.datasets.dataset_base import ClipBertBaseDataset, img_collate class ClipBertVQATagDataset(ClipBertBaseDataset): """ This should work for both train and test (where ...
38.820946
89
0.579062
1,432
11,491
4.395251
0.142458
0.025421
0.015253
0.010486
0.946934
0.946934
0.946934
0.935812
0.935812
0.935812
0
0.019975
0.315986
11,491
295
90
38.952542
0.780789
0.206596
0
0.871287
0
0
0.047608
0
0
0
0
0
0
1
0.079208
false
0
0.024752
0.019802
0.183168
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
ac130c22e628000bf167f1273e936dc063867f36
175
py
Python
ccal/unmount_volume.py
kberkey/ccal
92aa8372997dccec2908928f71a11b6c8327d7aa
[ "MIT" ]
null
null
null
ccal/unmount_volume.py
kberkey/ccal
92aa8372997dccec2908928f71a11b6c8327d7aa
[ "MIT" ]
null
null
null
ccal/unmount_volume.py
kberkey/ccal
92aa8372997dccec2908928f71a11b6c8327d7aa
[ "MIT" ]
null
null
null
from .run_command import run_command def unmount_volume(volume_name_or_mount_directory_path): run_command("sudo umount {}".format(volume_name_or_mount_directory_path))
25
77
0.834286
26
175
5.076923
0.576923
0.227273
0.181818
0.257576
0.454545
0.454545
0
0
0
0
0
0
0.091429
175
6
78
29.166667
0.830189
0
0
0
0
0
0.08
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
7
ac6d52fca469a68d8ab2732f55016976f6d11b69
112,665
py
Python
metal_python/api/machine_api.py
metal-stack/metal-python
cdf40fa86d2b2944f9818cef1c6723b1eecc506e
[ "MIT" ]
7
2020-12-21T05:24:24.000Z
2022-02-12T20:55:32.000Z
metal_python/api/machine_api.py
metal-stack/metal-python
cdf40fa86d2b2944f9818cef1c6723b1eecc506e
[ "MIT" ]
6
2020-09-16T07:23:34.000Z
2022-01-18T12:05:30.000Z
metal_python/api/machine_api.py
metal-stack/metal-python
cdf40fa86d2b2944f9818cef1c6723b1eecc506e
[ "MIT" ]
null
null
null
# coding: utf-8 """ metal-api API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 OpenAPI spec version: v0.15.7 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __futur...
39.13338
156
0.599973
12,771
112,665
5.063503
0.019027
0.049856
0.024248
0.031176
0.983531
0.980175
0.976541
0.973541
0.971685
0.966953
0
0.017589
0.306155
112,665
2,878
157
39.146977
0.809638
0.312085
0
0.84125
0
0
0.185479
0.044843
0
0
0
0
0
1
0.035625
false
0.005
0.0025
0
0.09125
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
ac70c91ebfff3b57245ec74c41cfaacbb3d728cc
45
py
Python
address.py
asumit499/Python-BootCamp
0b99f9cb862189d13ad291eac12a8be6c46357f5
[ "MIT" ]
4
2022-03-20T10:59:53.000Z
2022-03-25T18:28:04.000Z
address.py
asumit499/Python-BootCamp
0b99f9cb862189d13ad291eac12a8be6c46357f5
[ "MIT" ]
null
null
null
address.py
asumit499/Python-BootCamp
0b99f9cb862189d13ad291eac12a8be6c46357f5
[ "MIT" ]
15
2022-03-12T11:49:10.000Z
2022-03-15T06:22:55.000Z
print("Address-\nMuzaffarpur\nBihar\nIndia")
22.5
44
0.8
5
45
7.2
1
0
0
0
0
0
0
0
0
0
0
0
0.022222
45
1
45
45
0.818182
0
0
0
0
0
0.777778
0.777778
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
ac77518a49d6d3f5b71c1c09d98d2c9ef8a3c2c4
248,169
py
Python
wflow/openda_bmi/openda/bmi/thrift/BMIService.py
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
wflow/openda_bmi/openda/bmi/thrift/BMIService.py
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
wflow/openda_bmi/openda/bmi/thrift/BMIService.py
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
# # Autogenerated by Thrift Compiler (0.9.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py:new_style # from thrift.Thrift import TType, TMessageType, TException, TApplicationException from .ttypes import * from thrift.Thrift import TProcessor from thrift.transport import ...
31.751407
88
0.573396
25,386
248,169
5.273694
0.010321
0.016582
0.029848
0.058561
0.956557
0.93084
0.905757
0.875439
0.859013
0.83975
0
0.003822
0.329469
248,169
7,815
89
31.75547
0.800709
0.015639
0
0.84586
1
0
0.027235
0.003849
0
0
0
0
0
1
0.119339
false
0.001907
0.000953
0.038138
0.233275
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
ce1e06785177b9fec3afeac2e713b18012fa7158
14,661
py
Python
tests/digraph/test_isomorphic.py
enavarro51/retworkx
71e34d111623d1de2e4870a8227eddacfb3ade4c
[ "Apache-2.0" ]
null
null
null
tests/digraph/test_isomorphic.py
enavarro51/retworkx
71e34d111623d1de2e4870a8227eddacfb3ade4c
[ "Apache-2.0" ]
null
null
null
tests/digraph/test_isomorphic.py
enavarro51/retworkx
71e34d111623d1de2e4870a8227eddacfb3ade4c
[ "Apache-2.0" ]
1
2022-03-24T05:00:30.000Z
2022-03-24T05:00:30.000Z
# 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 # distributed under th...
41.769231
99
0.621035
2,290
14,661
3.612227
0.065502
0.035783
0.044004
0.033849
0.863032
0.836194
0.807302
0.787234
0.779739
0.778288
0
0.036664
0.248414
14,661
350
100
41.888571
0.714039
0.035536
0
0.732639
0
0
0.039284
0
0
0
0
0
0.090278
1
0.09375
false
0
0.010417
0
0.107639
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
ce2c2deed125fd5f34b84566cb994a3c58c087ed
6,482
py
Python
LOSO_Split.py
wzhlearning/fNIRS-Transformer
12ebc37384ef3ebd1d23d1bb1de8818af2f75399
[ "MIT" ]
null
null
null
LOSO_Split.py
wzhlearning/fNIRS-Transformer
12ebc37384ef3ebd1d23d1bb1de8818af2f75399
[ "MIT" ]
1
2022-02-08T09:49:27.000Z
2022-02-08T13:20:22.000Z
LOSO_Split.py
wzhlearning/fNIRS-Transformer
12ebc37384ef3ebd1d23d1bb1de8818af2f75399
[ "MIT" ]
null
null
null
import numpy as np def Split_Dataset_A(sub, feature, label, channels): """ LOSO-CV for Dataset A Args: sub: leave one subject out. feature: input fNIRS signals. label: input fNIRS labels. channels: fNIRS channels. Returns: X_train: training set. y_trai...
27.939655
77
0.551527
955
6,482
3.554974
0.074346
0.070692
0.063623
0.039764
0.923417
0.902798
0.879234
0.879234
0.86863
0.86863
0
0.065608
0.329836
6,482
232
78
27.939655
0.71593
0.258562
0
0.741667
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0.008333
0
0.108333
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
ce4392728050f8c0657bd361172926102d958912
319
py
Python
math_dioproject/basicfunctions/simples.py
marcocrippa/Package_DioProject_math
c15f122140f1efd372bb00f08b7ebae2d39d42b8
[ "Unlicense" ]
null
null
null
math_dioproject/basicfunctions/simples.py
marcocrippa/Package_DioProject_math
c15f122140f1efd372bb00f08b7ebae2d39d42b8
[ "Unlicense" ]
null
null
null
math_dioproject/basicfunctions/simples.py
marcocrippa/Package_DioProject_math
c15f122140f1efd372bb00f08b7ebae2d39d42b8
[ "Unlicense" ]
null
null
null
def soma(num1, num2): print(f'A soma dos numeros eh igual é: {num1+num2}') def sub(num1, num2): print(f'A soma dos numeros eh igual é: {num1-num2}') def mult(num1, num2): print(f'A soma dos numeros eh igual é: {num1*num2}') def divi(num1, num2): print(f'A soma dos numeros eh igual é: {num1/num2}')
24.538462
56
0.648903
60
319
3.45
0.25
0.309179
0.251208
0.270531
0.913043
0.913043
0.913043
0.913043
0.913043
0.913043
0
0.062745
0.200627
319
12
57
26.583333
0.74902
0
0
0
0
0
0.528302
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
0.5
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
0
0
1
0
11
cbeecea1d08fbb840d82eeba6b2d3849f72ea5de
35,505
py
Python
whoville/cloudbreak/apis/v1util_api.py
balazsgaspar/whoville
0d26853bf5cfd3485067b0c23f886e2b4ab742f8
[ "Apache-2.0" ]
30
2017-06-12T13:05:24.000Z
2021-08-03T09:00:48.000Z
whoville/cloudbreak/apis/v1util_api.py
balazsgaspar/whoville
0d26853bf5cfd3485067b0c23f886e2b4ab742f8
[ "Apache-2.0" ]
6
2017-12-27T23:12:45.000Z
2019-03-07T22:14:24.000Z
whoville/cloudbreak/apis/v1util_api.py
balazsgaspar/whoville
0d26853bf5cfd3485067b0c23f886e2b4ab742f8
[ "Apache-2.0" ]
31
2017-06-12T13:05:28.000Z
2019-09-20T01:50:29.000Z
# coding: utf-8 """ Cloudbreak API Cloudbreak is a powerful left surf that breaks over a coral reef, a mile off southwest the island of Tavarua, Fiji. Cloudbreak is a cloud agnostic Hadoop as a Service API. Abstracts the provisioning and ease management and monitoring of on-demand clusters. SequenceIQ's Cloud...
40.716743
984
0.568709
3,457
35,505
5.591553
0.080995
0.066218
0.023176
0.029798
0.898448
0.877496
0.874237
0.860476
0.851785
0.818469
0
0.000917
0.355161
35,505
871
985
40.76349
0.843372
0.331249
0
0.769596
0
0
0.149647
0.047666
0
0
0
0
0
1
0.04038
false
0
0.016627
0
0.11639
0.023753
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
0212f0b64596d68ae31bc81761b6680fb86b5d5f
1,264
py
Python
util/TurtleHare.py
arsonite/codescout
60068596357545c9583f8e0fcdfc9a80b2db15b7
[ "MIT" ]
null
null
null
util/TurtleHare.py
arsonite/codescout
60068596357545c9583f8e0fcdfc9a80b2db15b7
[ "MIT" ]
2
2020-10-20T14:50:52.000Z
2020-10-20T14:51:08.000Z
util/TurtleHare.py
arsonite/codescout
60068596357545c9583f8e0fcdfc9a80b2db15b7
[ "MIT" ]
null
null
null
import time class TurtleHare: def __init__(self, *args, **kwargs): self.function = kwargs.get('function') def measure(self, function, *args): print('\nMeasuring execution time with TurtleHare ...') print('Print statements of executed function below:') print('-------------------...
39.5
68
0.484177
113
1,264
5.380531
0.265487
0.078947
0.111842
0.164474
0.792763
0.792763
0.792763
0.792763
0.792763
0.792763
0
0
0.268987
1,264
31
69
40.774194
0.658009
0
0
0.642857
0
0
0.457278
0.147152
0
0
0
0
0
1
0.107143
false
0
0.035714
0
0.214286
0.5
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
023b183985e72889e2e1d6f3b72b7899c0cf01eb
24,847
py
Python
tests/test_result_faces.py
Data-Only-Greater/SNL-Delft3D-CEC-Verify
3aaab93b8fab6e3b6710b68d181b9946ae3ab74a
[ "MIT" ]
null
null
null
tests/test_result_faces.py
Data-Only-Greater/SNL-Delft3D-CEC-Verify
3aaab93b8fab6e3b6710b68d181b9946ae3ab74a
[ "MIT" ]
34
2021-12-20T14:51:36.000Z
2022-03-16T11:44:30.000Z
tests/test_result_faces.py
Data-Only-Greater/SNL-Delft3D-CEC-Verify
3aaab93b8fab6e3b6710b68d181b9946ae3ab74a
[ "MIT" ]
1
2021-12-20T14:17:30.000Z
2021-12-20T14:17:30.000Z
# -*- coding: utf-8 -*- import warnings import numpy as np import pandas as pd import pytest with warnings.catch_warnings(): warnings.filterwarnings("ignore", category=DeprecationWarning) import xarray as xr from snl_d3d_cec_verify.cases import CaseStudy from snl_d3d_cec_verify.result.faces import (_check_c...
34.995775
79
0.501871
3,157
24,847
3.725689
0.061768
0.195545
0.095222
0.047611
0.864394
0.834297
0.806581
0.763731
0.726152
0.717225
0
0.06235
0.345474
24,847
709
80
35.045134
0.660887
0.007888
0
0.717017
0
0
0.067852
0.012053
0
0
0
0
0.472275
1
0.061185
false
0
0.013384
0
0.078394
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
0249d0492b629f21983709b3ef3a89c17707583c
62
py
Python
src/jig/commands/__init__.py
Lightslayer/jig
7287f594f63f8bc8cc1f42dcafec292dd75c89f2
[ "BSD-2-Clause" ]
16
2015-04-07T19:26:01.000Z
2020-03-05T21:09:07.000Z
src/jig/commands/__init__.py
Lightslayer/jig
7287f594f63f8bc8cc1f42dcafec292dd75c89f2
[ "BSD-2-Clause" ]
2
2015-02-11T13:29:35.000Z
2015-03-02T21:03:08.000Z
src/jig/commands/__init__.py
Lightslayer/jig
7287f594f63f8bc8cc1f42dcafec292dd75c89f2
[ "BSD-2-Clause" ]
2
2020-05-29T06:48:16.000Z
2020-05-29T06:54:36.000Z
from .base import get_command from .base import list_commands
20.666667
31
0.83871
10
62
5
0.7
0.32
0.56
0
0
0
0
0
0
0
0
0
0.129032
62
2
32
31
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
65f2d5bbafd33eea920dd1dd9926c9c70d6bba47
3,128
py
Python
tethys_datasets/base.py
CI-WATER/django-tethys_datasets
504963a720693931a1fa1a899d5492548672216f
[ "BSD-2-Clause" ]
null
null
null
tethys_datasets/base.py
CI-WATER/django-tethys_datasets
504963a720693931a1fa1a899d5492548672216f
[ "BSD-2-Clause" ]
null
null
null
tethys_datasets/base.py
CI-WATER/django-tethys_datasets
504963a720693931a1fa1a899d5492548672216f
[ "BSD-2-Clause" ]
null
null
null
from tethys_dataset_services.valid_engines import VALID_ENGINES, VALID_SPATIAL_ENGINES class DatasetService: """ Used to define dataset services for apps. """ def __init__(self, name, type, endpoint, apikey=None, username=None, password=None): """ Constructor """ self....
37.238095
127
0.585678
354
3,128
4.951977
0.175141
0.075299
0.108386
0.058186
0.863662
0.837992
0.790645
0.751854
0.715345
0.715345
0
0.016187
0.289003
3,128
83
128
37.686747
0.772032
0.063299
0
0.510638
0
0
0.149786
0.016049
0
0
0
0
0
1
0.085106
false
0.085106
0.021277
0
0.191489
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
5a169ac430db4c87362d251735cd8223f4b87b3e
7,993
py
Python
nmigen/test/test_lib_cdc.py
antmicro/nmigen
d964ba9cc45490b141c8c4c4c3d8add1a26a739d
[ "BSD-2-Clause" ]
null
null
null
nmigen/test/test_lib_cdc.py
antmicro/nmigen
d964ba9cc45490b141c8c4c4c3d8add1a26a739d
[ "BSD-2-Clause" ]
null
null
null
nmigen/test/test_lib_cdc.py
antmicro/nmigen
d964ba9cc45490b141c8c4c4c3d8add1a26a739d
[ "BSD-2-Clause" ]
null
null
null
# nmigen: UnusedElaboratable=no from .utils import * from ..hdl import * from ..back.pysim import * from ..lib.cdc import * class FFSynchronizerTestCase(FHDLTestCase): def test_stages_wrong(self): with self.assertRaisesRegex(TypeError, r"^Synchronization stage count must be a positive int...
34.601732
94
0.540348
949
7,993
4.513172
0.124341
0.136587
0.177446
0.091058
0.807378
0.785664
0.747373
0.728928
0.72706
0.715153
0
0.028311
0.341549
7,993
230
95
34.752174
0.785484
0.026148
0
0.791878
0
0
0.080129
0
0
0
0
0.004348
0.243655
1
0.086294
false
0
0.020305
0
0.126904
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
5a321377b4469ad47bcda3de609a57ea1a3f20cb
8,224
py
Python
bin/test.py
timb-machine/pyattck
1636c9191a92fa28e2cc03f8f04b85195070f0b9
[ "MIT" ]
null
null
null
bin/test.py
timb-machine/pyattck
1636c9191a92fa28e2cc03f8f04b85195070f0b9
[ "MIT" ]
null
null
null
bin/test.py
timb-machine/pyattck
1636c9191a92fa28e2cc03f8f04b85195070f0b9
[ "MIT" ]
null
null
null
from pyattck import Attck attack = Attck() # Examples of MITRE Enterprise ATT&CK for actor in attack.enterprise.actors: print(actor.id) print(actor.name) # accessing malware used by an actor or group for malware in actor.malwares: print(malware.id) print(malware.name) # accessin...
29.163121
65
0.691269
998
8,224
5.676353
0.062124
0.197705
0.03707
0.068844
0.966461
0.966461
0.947043
0.947043
0.945455
0.929921
0
0
0.239543
8,224
281
66
29.266904
0.90582
0.264835
0
0.906077
0
0
0
0
0
0
0
0
0
1
0
false
0
0.005525
0
0.005525
0.751381
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
8
ce477d2ff2db43989755872cca5e7cc676f6d6fc
5,335
py
Python
temp_models/trimet_gis_models.py
hackoregon/provisional-transportation-api
15a74f82f751e9bc60c00eacbe6f16bb2d8905e0
[ "MIT" ]
2
2018-05-30T18:07:16.000Z
2019-05-06T10:01:54.000Z
temp_models/trimet_gis_models.py
hackoregon/provisional-transportation-api
15a74f82f751e9bc60c00eacbe6f16bb2d8905e0
[ "MIT" ]
33
2018-05-24T05:00:58.000Z
2020-06-05T18:16:32.000Z
temp_models/trimet_gis_models.py
hackoregon/provisional-transportation-api
15a74f82f751e9bc60c00eacbe6f16bb2d8905e0
[ "MIT" ]
3
2018-05-24T03:38:59.000Z
2019-07-10T18:35:31.000Z
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Make sure each ForeignKey has `on_delete` set to the desired behavior. # * Remove `managed = False` lines if ...
41.679688
104
0.713215
756
5,335
4.906085
0.156085
0.133459
0.192774
0.25209
0.840658
0.839579
0.821515
0.813157
0.813157
0.754381
0
0.00833
0.167385
5,335
127
105
42.007874
0.826655
0.084911
0
0.739583
1
0
0.018465
0
0
0
0
0
0
1
0
false
0.010417
0.010417
0
0.833333
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
11
ce512c21e7546acbb4cf7854892d06c35967ab27
4,997
py
Python
sacredbrowser/StateModels.py
michaelwand/SacredBrowser
e33843a9fc4458b0a2ead4e243c7a9c88e228bca
[ "MIT" ]
13
2016-06-29T20:34:29.000Z
2021-07-22T16:27:52.000Z
sacredbrowser/StateModels.py
michaelwand/SacredBrowser
e33843a9fc4458b0a2ead4e243c7a9c88e228bca
[ "MIT" ]
null
null
null
sacredbrowser/StateModels.py
michaelwand/SacredBrowser
e33843a9fc4458b0a2ead4e243c7a9c88e228bca
[ "MIT" ]
8
2016-09-21T23:19:29.000Z
2018-11-21T02:40:44.000Z
# This file contains objects which represent QT models to encapsulate browser state # (see BrowserState.py) which is NOT contained in any database (for that, see DbEntries.py and # DbModel.py). Note that the models do not automatically react to # any changes originating reloading the database entries, the controller m...
47.141509
108
0.688213
613
4,997
5.417618
0.199021
0.114423
0.057814
0.115628
0.833484
0.814815
0.793135
0.749172
0.749172
0.749172
0
0.005417
0.224134
4,997
105
109
47.590476
0.851174
0.168501
0
0.8
0
0
0
0
0
0
0
0
0.025
1
0.125
false
0.025
0.025
0
0.25
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
ce5953d702e1b2d25c9a5050b8f362a7d7604615
3,028
py
Python
dice.py
mpi3d/py-sense-hat
dd09b42cd9ed14a8e07857083624fb146d66a220
[ "MIT" ]
1
2020-06-24T07:29:15.000Z
2020-06-24T07:29:15.000Z
dice.py
MPi3D/Python_Sense_Hat
dd09b42cd9ed14a8e07857083624fb146d66a220
[ "MIT" ]
null
null
null
dice.py
MPi3D/Python_Sense_Hat
dd09b42cd9ed14a8e07857083624fb146d66a220
[ "MIT" ]
null
null
null
from sense_hat import SenseHat import time import random sense = SenseHat() sense.clear() sense.set_rotation(180) sense.low_light = True sense.set_imu_config(False, False, True) s = 30 b = [255,255,255] n = [0,0,0] d1 = [n,n,n,n,n,n,n,n, n,n,n,n,n,n,n,n, n,n,n,n,n,n,n,n, n,n,n,b,b,n,n,n, n,n...
24.419355
149
0.419089
667
3,028
1.863568
0.101949
0.432824
0.574417
0.66613
0.765084
0.765084
0.749799
0.7321
0.708769
0.708769
0
0.045128
0.356011
3,028
123
150
24.617886
0.592308
0
0
0.778761
0
0
0.020806
0
0
0
0
0
0
1
0
false
0
0.026549
0
0.026549
0
0
0
1
null
1
1
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
0
0
10
0ca92eecee8839563dea629ab0bd35f0d0180e73
6,034
py
Python
src/api/tests/tests_timetable.py
memclutter/clinic-crm
1d7b84fbf4f1e1510db303df956fa19db8c01b2b
[ "BSD-2-Clause" ]
3
2017-09-25T15:42:15.000Z
2017-12-13T21:32:51.000Z
src/api/tests/tests_timetable.py
sweetlearn/clinic-crm
1d7b84fbf4f1e1510db303df956fa19db8c01b2b
[ "BSD-2-Clause" ]
null
null
null
src/api/tests/tests_timetable.py
sweetlearn/clinic-crm
1d7b84fbf4f1e1510db303df956fa19db8c01b2b
[ "BSD-2-Clause" ]
6
2018-04-02T04:39:00.000Z
2021-03-14T11:42:44.000Z
import datetime from django.urls import reverse from rest_framework import status from rest_framework.test import APITestCase from clinic.models import Doctor, Speciality from timetables.models import Timetable class TimetableTestCase(APITestCase): def test_return_empty_list(self): response = self._get_...
49.459016
108
0.558502
664
6,034
4.847892
0.123494
0.134203
0.178938
0.223672
0.802423
0.767008
0.740913
0.712333
0.712333
0.666977
0
0.021063
0.339079
6,034
121
109
49.867769
0.786108
0
0
0.6875
0
0
0.027686
0
0
0
0
0
0.114583
1
0.0625
false
0
0.0625
0
0.145833
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
0b8947fea77c89a301979c1af018a4fcad9f371c
45
py
Python
keyboards/__init__.py
jtprog/gendalf_bot
aebdaf52f9af3b1307eb1962b16d2e9fd04dd51f
[ "WTFPL" ]
2
2020-10-19T07:49:16.000Z
2020-10-19T07:50:54.000Z
telegram_bot/keyboards/__init__.py
LD31D/teaching_bot
3aacd395a00509eaceab41845779d5fa1a12bf70
[ "MIT" ]
21
2019-10-23T21:16:18.000Z
2021-08-02T21:43:46.000Z
telegram_bot/keyboards/__init__.py
LD31D/teaching_bot
3aacd395a00509eaceab41845779d5fa1a12bf70
[ "MIT" ]
1
2019-10-25T23:01:25.000Z
2019-10-25T23:01:25.000Z
from . import default from . import inline
15
22
0.733333
6
45
5.5
0.666667
0.606061
0
0
0
0
0
0
0
0
0
0
0.222222
45
2
23
22.5
0.942857
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
0b937eb99a6a214a5eb59df53ff65ade69c11502
5,920
py
Python
tests/test_unit_parser.py
paulculmsee/opennem
9ebe4ab6d3b97bdeebc352e075bbd5c22a8ddea1
[ "MIT" ]
22
2020-06-30T05:27:21.000Z
2022-02-21T12:13:51.000Z
tests/test_unit_parser.py
paulculmsee/opennem
9ebe4ab6d3b97bdeebc352e075bbd5c22a8ddea1
[ "MIT" ]
71
2020-08-07T13:06:30.000Z
2022-03-15T06:44:49.000Z
tests/test_unit_parser.py
paulculmsee/opennem
9ebe4ab6d3b97bdeebc352e075bbd5c22a8ddea1
[ "MIT" ]
13
2020-06-30T03:28:32.000Z
2021-12-30T08:17:16.000Z
import pytest from opennem.core.unit_parser import parse_unit_duid, parse_unit_number class TestUnitParser(object): # Simple def test_returns_string_one(self): subj = parse_unit_number("1") assert subj.id == 1, "Returns string 1 as unit number 1" assert subj.number == 1, "Unit has o...
37.232704
71
0.609628
933
5,920
3.724544
0.076099
0.189928
0.062158
0.122302
0.869928
0.839712
0.813525
0.758849
0.736691
0.670791
0
0.036551
0.279054
5,920
158
72
37.468354
0.777648
0.009797
0
0.566667
0
0
0.239583
0
0
0
0
0
0.55
1
0.208333
false
0
0.016667
0
0.241667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
8
e7e99e913e114d8cffedf2e548795597174a3720
149
py
Python
curris/test/test_script.py
a1trl9/curris
f9b55a7a2a8864882f297a4a324ccff182176417
[ "MIT" ]
null
null
null
curris/test/test_script.py
a1trl9/curris
f9b55a7a2a8864882f297a4a324ccff182176417
[ "MIT" ]
null
null
null
curris/test/test_script.py
a1trl9/curris
f9b55a7a2a8864882f297a4a324ccff182176417
[ "MIT" ]
null
null
null
from curris.test.base import compare_json def test_script(): compare_json('curris/test/resource/script.md', 'curris/test/resource/script.json')
29.8
86
0.778523
22
149
5.136364
0.5
0.265487
0.318584
0.424779
0
0
0
0
0
0
0
0
0.087248
149
4
87
37.25
0.830882
0
0
0
0
0
0.416107
0.416107
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
1
1
0
1
0
0
0
0
9
e7e9e600c87f8193cf3e12ad9935320f1e3a6b25
2,176
py
Python
tests/file_io/raw_file_io.py
Defense-Cyber-Crime-Center/dfvfs
da2ccbc4c989ced5ad651057bd8f5a4b18af6d37
[ "Apache-2.0" ]
2
2016-02-18T12:46:26.000Z
2022-03-13T03:05:05.000Z
tests/file_io/raw_file_io.py
Defense-Cyber-Crime-Center/dfvfs
da2ccbc4c989ced5ad651057bd8f5a4b18af6d37
[ "Apache-2.0" ]
null
null
null
tests/file_io/raw_file_io.py
Defense-Cyber-Crime-Center/dfvfs
da2ccbc4c989ced5ad651057bd8f5a4b18af6d37
[ "Apache-2.0" ]
5
2016-12-18T08:05:39.000Z
2019-11-19T21:18:00.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- """Tests for the file-like object implementation using pysmraw.""" import os import unittest from dfvfs.path import raw_path_spec from dfvfs.path import os_path_spec from tests.file_io import test_lib class RawFileTest(test_lib.ImageFileTestCase): """The unit test for the...
31.536232
74
0.734375
298
2,176
5.120805
0.238255
0.104849
0.093709
0.098296
0.807339
0.807339
0.807339
0.807339
0.753604
0.753604
0
0.002169
0.152574
2,176
68
75
32
0.82538
0.308824
0
0.628571
0
0
0.032707
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.485714
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
f0478eb638c12d66ea0b4db5b05734de9e669bbe
118
py
Python
tests/__init__.py
kajyuuen/pytorch-partial-crf
bb368346544cb6241e425a8b4e1a3baee324ef0d
[ "MIT" ]
22
2019-09-23T16:07:44.000Z
2022-03-17T12:16:18.000Z
tests/__init__.py
kajyuuen/pytorch-partial-crf
bb368346544cb6241e425a8b4e1a3baee324ef0d
[ "MIT" ]
15
2019-10-20T08:23:55.000Z
2022-03-18T00:53:33.000Z
tests/__init__.py
kajyuuen/pytorch-partial-crf
bb368346544cb6241e425a8b4e1a3baee324ef0d
[ "MIT" ]
3
2019-12-10T12:44:41.000Z
2020-09-03T03:16:46.000Z
__version__ = '0.1.2' from pytorch_partial_crf.partial_crf import PartialCRF from pytorch_partial_crf.crf import CRF
23.6
54
0.838983
19
118
4.736842
0.526316
0.333333
0.4
0.466667
0
0
0
0
0
0
0
0.028302
0.101695
118
4
55
29.5
0.820755
0
0
0
0
0
0.042373
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
f065a602a73afee5b98329315fdbb51f1389138c
25,568
py
Python
gridworld_vav/data_analysis/plot_grid.py
dsbrown1331/vav-icml
90f40c2b5b52f3cc142ffd4e02bb82d88e1e221d
[ "MIT" ]
null
null
null
gridworld_vav/data_analysis/plot_grid.py
dsbrown1331/vav-icml
90f40c2b5b52f3cc142ffd4e02bb82d88e1e221d
[ "MIT" ]
null
null
null
gridworld_vav/data_analysis/plot_grid.py
dsbrown1331/vav-icml
90f40c2b5b52f3cc142ffd4e02bb82d88e1e221d
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np from matplotlib import colors import sys def plot_dashed_arrow(state, width, ax, direction, arrow_color='k'): print("plotting dashed arrow", direction) h_length = 0.15 shaft_length = 0.4 #convert state to coords where (0,0) is top left x...
39.763608
168
0.51627
3,254
25,568
3.918562
0.077443
0.022116
0.030194
0.030115
0.901733
0.897263
0.886362
0.883146
0.87452
0.844248
0
0.015179
0.36354
25,568
642
169
39.825545
0.768389
0.189534
0
0.793722
0
0
0.052263
0
0
0
0
0
0
1
0.022422
false
0.011211
0.008969
0
0.038117
0.065022
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
f0842a84984e914741e9d6b1904c218590bec289
129
py
Python
FresnoPython/compat.py
FresnoPython/FresnoPython
d606b1d3604ba25ab0f3d178173ce9d6c05be1b2
[ "MIT" ]
2
2017-05-25T20:14:07.000Z
2018-11-08T04:29:12.000Z
FresnoPython/compat.py
FresnoPython/FresnoPython
d606b1d3604ba25ab0f3d178173ce9d6c05be1b2
[ "MIT" ]
null
null
null
FresnoPython/compat.py
FresnoPython/FresnoPython
d606b1d3604ba25ab0f3d178173ce9d6c05be1b2
[ "MIT" ]
1
2017-05-21T14:01:20.000Z
2017-05-21T14:01:20.000Z
try: # Python 3 from urllib.parse import quote_plus except ImportError: # Python 2 from urllib import quote_plus
18.428571
39
0.705426
18
129
4.944444
0.666667
0.224719
0.337079
0
0
0
0
0
0
0
0
0.020833
0.255814
129
6
40
21.5
0.90625
0.131783
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
6515cbad7a621073e0de828103a1cbf5bf662e69
92
py
Python
event_annotator/__init__.py
roger-selzler/event_annotator
80a986dc196f2316530f5b3845da39ff347d277a
[ "MIT" ]
null
null
null
event_annotator/__init__.py
roger-selzler/event_annotator
80a986dc196f2316530f5b3845da39ff347d277a
[ "MIT" ]
null
null
null
event_annotator/__init__.py
roger-selzler/event_annotator
80a986dc196f2316530f5b3845da39ff347d277a
[ "MIT" ]
null
null
null
from .event_annotator import Event_annotator from .event_annotator import load_csv_data
23
45
0.847826
13
92
5.615385
0.538462
0.575342
0.493151
0.657534
0
0
0
0
0
0
0
0
0.130435
92
3
46
30.666667
0.9125
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
e8e6f42e5548d17b537a0389b6e631e7d4e858c0
179,258
py
Python
testing/test_attractors.py
arielbro/attractor_learning
33693847f319d294a61a00f0d5c2c6457270fbfe
[ "MIT" ]
null
null
null
testing/test_attractors.py
arielbro/attractor_learning
33693847f319d294a61a00f0d5c2c6457270fbfe
[ "MIT" ]
null
null
null
testing/test_attractors.py
arielbro/attractor_learning
33693847f319d294a61a00f0d5c2c6457270fbfe
[ "MIT" ]
null
null
null
import numpy as np import logic from unittest import TestCase import graphs import sympy from collections import namedtuple import random from attractors import find_num_attractors_onestage, \ vertex_model_impact_scores, stochastic_vertex_model_impact_scores, find_num_steady_states, \ find_attractors_dubrova, f...
72.721298
125
0.442139
13,942
179,258
5.501865
0.02869
0.107709
0.067465
0.083656
0.938637
0.92324
0.913007
0.903581
0.884313
0.874158
0
0.031307
0.470417
179,258
2,464
126
72.750812
0.776714
0.064404
0
0.859482
0
0
0.023939
0.004481
0
0
0
0.000406
0.022715
0
null
null
0
0.004754
null
null
0.037507
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
33226b85efc1a5902693f74d1427ddf04b2208f5
491
py
Python
regression/errors.py
sahitpj/MachineLearning
2ce5a337ec432daff64a216df6847ef834bcb8d7
[ "MIT" ]
2
2019-01-23T15:51:29.000Z
2019-02-01T16:50:33.000Z
regression/errors.py
sahitpj/MachineLearning
2ce5a337ec432daff64a216df6847ef834bcb8d7
[ "MIT" ]
null
null
null
regression/errors.py
sahitpj/MachineLearning
2ce5a337ec432daff64a216df6847ef834bcb8d7
[ "MIT" ]
null
null
null
import numpy as np import torch def MSE(Y_predict, Y): assert(Y_predict.shape[0] == Y.shape[0]) return np.sum((Y_predict-Y)**2)/Y.shape[0] def MSE_torch(Y_predict, Y): assert(Y_predict.shape[0] == Y.shape[0]) return torch.sum((Y_predict-Y)**2)/Y.shape[0] def SSE(Y_predict, Y): assert(Y_predict.sh...
27.277778
49
0.655804
94
491
3.276596
0.170213
0.311688
0.233766
0.194805
0.857143
0.857143
0.857143
0.857143
0.857143
0.792208
0
0.033493
0.148676
491
18
50
27.277778
0.703349
0
0
0.285714
0
0
0
0
0
0
0
0
0.285714
1
0.285714
false
0
0.142857
0
0.714286
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
0
1
0
0
11
3366ff7fdf6783678f49b40c54c0357d706affd8
21,859
py
Python
fds.analyticsapi.engines/fds/analyticsapi/engines/api/calculations_api.py
katsuya-horiuchi/analyticsapi-engines-python-sdk
89258b5ddc2a89267d03115db410fd7a14c303ed
[ "Apache-2.0" ]
null
null
null
fds.analyticsapi.engines/fds/analyticsapi/engines/api/calculations_api.py
katsuya-horiuchi/analyticsapi-engines-python-sdk
89258b5ddc2a89267d03115db410fd7a14c303ed
[ "Apache-2.0" ]
null
null
null
fds.analyticsapi.engines/fds/analyticsapi/engines/api/calculations_api.py
katsuya-horiuchi/analyticsapi-engines-python-sdk
89258b5ddc2a89267d03115db410fd7a14c303ed
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Engines API Allow clients to fetch Engines Analytics through APIs. # noqa: E501 The version of the OpenAPI document: 2 Contact: analytics.api.support@factset.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import re # noqa: F401...
48.041758
617
0.621758
2,535
21,859
5.148323
0.100197
0.03494
0.045054
0.027584
0.927285
0.921002
0.9197
0.907057
0.904222
0.904222
0
0.013285
0.311268
21,859
454
618
48.147577
0.853072
0.523308
0
0.758974
0
0
0.164628
0.063361
0
0
0
0
0
1
0.046154
false
0
0.025641
0
0.117949
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
685f71ec49e44f869b92e1c0b3fcedd6c1344c51
86,043
py
Python
tests/test_provider_hashicorp_aws.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
tests/test_provider_hashicorp_aws.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
tests/test_provider_hashicorp_aws.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# tests/test_provider_hashicorp_aws.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:12:25 UTC) def test_provider_import(): import terrascript.provider.hashicorp.aws def test_resource_import(): from terrascript.resource.hashicorp.aws import aws_accessanalyzer_analyzer from terrascript....
36.198149
88
0.828411
10,824
86,043
6.29102
0.060698
0.19103
0.285488
0.333069
0.953638
0.95073
0.949438
0.939951
0.621611
0.238509
0
0.002538
0.129784
86,043
2,376
89
36.213384
0.906886
0.005625
0
0.079937
1
0
0
0
0
0
0
0.000421
0
1
0.002351
true
0.000784
0.84953
0
0.851881
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
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
10
6871206b107c77e5010b872990ec9f121aef422a
82
py
Python
main/settings.py
mcXrd/weatherforecast
ff2d4b0ee520c7691f331249e004514d2d93ea09
[ "MIT" ]
null
null
null
main/settings.py
mcXrd/weatherforecast
ff2d4b0ee520c7691f331249e004514d2d93ea09
[ "MIT" ]
null
null
null
main/settings.py
mcXrd/weatherforecast
ff2d4b0ee520c7691f331249e004514d2d93ea09
[ "MIT" ]
null
null
null
from secrets import OPENWEATHER_API_KEY OPENWEATHER_API_KEY = OPENWEATHER_API_KEY
27.333333
41
0.902439
12
82
5.666667
0.5
0.617647
0.75
0.823529
0.75
0.75
0
0
0
0
0
0
0.085366
82
2
42
41
0.906667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
7
68a08971afef0174acae7b307a9a271a10ee33c3
159
py
Python
carling/io/__init__.py
mc-digital/carling
7d335741731bca7177bb14483f4ee48512109a49
[ "Apache-2.0" ]
6
2020-11-26T02:24:17.000Z
2021-02-22T02:18:32.000Z
carling/io/__init__.py
mc-digital/carling
7d335741731bca7177bb14483f4ee48512109a49
[ "Apache-2.0" ]
19
2021-02-19T08:00:57.000Z
2022-03-22T05:22:57.000Z
carling/io/__init__.py
mc-digital/carling
7d335741731bca7177bb14483f4ee48512109a49
[ "Apache-2.0" ]
1
2021-03-25T04:40:48.000Z
2021-03-25T04:40:48.000Z
from .avro_schema import generate_avro_schema_from_template, load_avro_schema __all__ = ( "generate_avro_schema_from_template", "load_avro_schema", )
22.714286
77
0.805031
21
159
5.285714
0.380952
0.45045
0.324324
0.396396
0.792793
0.792793
0.792793
0.792793
0
0
0
0
0.125786
159
6
78
26.5
0.798561
0
0
0
1
0
0.314465
0.213836
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
1
1
0
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
68a87bf6e820376223f0144892cf1b17ae900203
42
py
Python
language-python-test/test/features/operators/isnot.py
wbadart/language-python
6c048c215ff7fe4a5d5cc36ba3c17a666af74821
[ "BSD-3-Clause" ]
null
null
null
language-python-test/test/features/operators/isnot.py
wbadart/language-python
6c048c215ff7fe4a5d5cc36ba3c17a666af74821
[ "BSD-3-Clause" ]
null
null
null
language-python-test/test/features/operators/isnot.py
wbadart/language-python
6c048c215ff7fe4a5d5cc36ba3c17a666af74821
[ "BSD-3-Clause" ]
null
null
null
3 is not 4 3 is not 3 3 is not 4 is not 5
10.5
19
0.642857
15
42
1.8
0.333333
0.740741
0.666667
0.518519
0
0
0
0
0
0
0
0.259259
0.357143
42
3
20
14
0.740741
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
1
null
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
9
d79ae6d785f90292f01ef8e84002a05c5652b9b7
164
py
Python
calculator/exception/__init__.py
kamilcieslik/test_house_price_lib
98a9c9ada05b7cac1e9b835cc15031619cfa8e13
[ "MIT" ]
null
null
null
calculator/exception/__init__.py
kamilcieslik/test_house_price_lib
98a9c9ada05b7cac1e9b835cc15031619cfa8e13
[ "MIT" ]
null
null
null
calculator/exception/__init__.py
kamilcieslik/test_house_price_lib
98a9c9ada05b7cac1e9b835cc15031619cfa8e13
[ "MIT" ]
null
null
null
from .construction_year_violation_exception import ConstructionYearViolationException from .flat_parameter_mismatch_exception import FlatParameterMismatchException
54.666667
85
0.939024
14
164
10.571429
0.785714
0.202703
0
0
0
0
0
0
0
0
0
0
0.04878
164
2
86
82
0.948718
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
d7a21b0beee29d6dc070d9304d24c4d79a19a8e2
46,881
py
Python
tests/test_eda/test_no_pdist_sdm.py
logstar/scedar
f8cd7dab9f885a0c58d127a9ee3b143d7e4bae06
[ "MIT" ]
17
2018-07-24T08:07:03.000Z
2020-01-14T11:06:31.000Z
tests/test_eda/test_no_pdist_sdm.py
benstear/scedar
056fc2fd1bdb2473700e4c24ec4dab3996f2b5fc
[ "MIT" ]
2
2021-05-30T15:40:56.000Z
2021-11-08T08:38:42.000Z
tests/test_eda/test_no_pdist_sdm.py
benstear/scedar
056fc2fd1bdb2473700e4c24ec4dab3996f2b5fc
[ "MIT" ]
8
2018-08-23T01:06:59.000Z
2019-11-07T22:19:47.000Z
import numpy as np import matplotlib as mpl mpl.use("agg", warn=False) # noqa import matplotlib.pyplot as plt import seaborn as sns import sklearn.metrics.pairwise import scipy.cluster.hierarchy as sch import scipy.sparse as spsp import scedar.eda as eda import pytest class TestNoPdistSampleDistanceMatrix(obje...
40.908377
80
0.574412
6,362
46,881
4.012575
0.041339
0.035255
0.056409
0.068239
0.923809
0.899561
0.884362
0.874804
0.865128
0.844641
0
0.049318
0.29673
46,881
1,145
81
40.944105
0.724962
0.016446
0
0.750776
0
0
0.020013
0
0
0
0
0
0.193382
1
0.053775
false
0
0.009307
0
0.088935
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
0bce78965ea682b392f31d75633061fe1344627f
147,024
py
Python
test/messenger_test.py
AustinHellerRepo/SocketQueuedMessageFramework
da17577feb24fba68913f54be4e5eca6f35c9b43
[ "MIT" ]
1
2021-12-16T01:36:31.000Z
2021-12-16T01:36:31.000Z
test/messenger_test.py
AustinHellerRepo/SocketQueuedMessageFramework
da17577feb24fba68913f54be4e5eca6f35c9b43
[ "MIT" ]
null
null
null
test/messenger_test.py
AustinHellerRepo/SocketQueuedMessageFramework
da17577feb24fba68913f54be4e5eca6f35c9b43
[ "MIT" ]
null
null
null
from __future__ import annotations import unittest from src.austin_heller_repo.socket_queued_message_framework import ClientMessenger, ServerMessenger, ClientServerMessage, ClientServerMessageTypeEnum, Structure, StructureStateEnum, StructureFactory, StructureTransitionException, StructureInfluence, SourceTypeEnum, Cli...
30.121696
312
0.773758
17,000
147,024
6.312353
0.030176
0.024825
0.063564
0.064486
0.888091
0.870338
0.859948
0.847982
0.834116
0.820287
0
0.005348
0.126224
147,024
4,880
313
30.127869
0.829971
0.044027
0
0.759248
0
0.001213
0.163056
0.035729
0
0
0
0.000205
0.03305
1
0.074894
false
0.002426
0.004548
0.014857
0.118557
0.134324
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
0bea0580eced9d7ca4edc03687de7f17026a4300
11,168
py
Python
testapp/tests/test_migrations.py
18F/django-pg-fts
db1d5ed05215408068c6eab06dff668d19c50c36
[ "BSD-2-Clause-FreeBSD" ]
22
2015-01-06T08:17:28.000Z
2021-10-03T11:41:22.000Z
testapp/tests/test_migrations.py
18F/django-pg-fts
db1d5ed05215408068c6eab06dff668d19c50c36
[ "BSD-2-Clause-FreeBSD" ]
8
2015-01-06T09:21:56.000Z
2019-01-19T17:57:16.000Z
testapp/tests/test_migrations.py
dvdmgl/django-pg-fts
38e2353dc1eec3ecbd10f6c8624c30ebd779cf8a
[ "BSD-2-Clause-FreeBSD" ]
19
2015-01-24T10:09:35.000Z
2019-05-15T18:15:55.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import connection from pg_fts.introspection import PgFTSIntrospection from django.test import (override_settings, override_system_checks, TestCase, TransactionTestCase) from django.utils import six from django.core.m...
46.533333
205
0.682217
1,089
11,168
6.770432
0.124885
0.130205
0.110132
0.119897
0.892174
0.888919
0.877255
0.842669
0.778652
0.764139
0
0.009987
0.202006
11,168
239
206
46.728033
0.817325
0.009402
0
0.730994
0
0.011696
0.263294
0.171259
0
0
0
0
0.333333
1
0.093567
false
0
0.040936
0
0.157895
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
0bfe81e2476359c7bcfaaab3cefa0860351c9b7f
42
py
Python
storybro/__init__.py
MikkoMMM/storybro
aa55e5fb0f21bd58fd396a9ca004b1e16e7d6f92
[ "MIT" ]
67
2019-12-29T20:17:59.000Z
2022-02-10T11:03:31.000Z
storybro/__init__.py
MikkoMMM/storybro
aa55e5fb0f21bd58fd396a9ca004b1e16e7d6f92
[ "MIT" ]
20
2019-12-29T18:33:58.000Z
2020-01-21T09:15:56.000Z
storybro/__init__.py
MikkoMMM/storybro
aa55e5fb0f21bd58fd396a9ca004b1e16e7d6f92
[ "MIT" ]
13
2020-01-02T04:17:59.000Z
2021-11-08T01:52:56.000Z
from .cli import ep def main(): ep()
8.4
19
0.571429
7
42
3.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.285714
42
4
20
10.5
0.8
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
0457fcf114f059d35c0d816567d276a1426f1809
3,174
py
Python
tests/data/docstring_no_string_normalization.py
AppliedIntuition/black
bc0c5ca9d41956bf5ed9fc851202579f9e52a338
[ "MIT" ]
28
2018-09-23T16:01:51.000Z
2022-03-27T18:20:08.000Z
tests/data/docstring_no_string_normalization.py
AppliedIntuition/black
bc0c5ca9d41956bf5ed9fc851202579f9e52a338
[ "MIT" ]
22
2018-10-10T11:49:07.000Z
2022-03-28T02:16:07.000Z
tests/data/docstring_no_string_normalization.py
AppliedIntuition/black
bc0c5ca9d41956bf5ed9fc851202579f9e52a338
[ "MIT" ]
10
2020-09-29T21:52:36.000Z
2021-09-29T01:02:11.000Z
class ALonelyClass: ''' A multiline class docstring. ''' def AnEquallyLonelyMethod(self): ''' A multiline method docstring''' pass def one_function(): '''This is a docstring with a single line of text.''' pass def shockingly_the_quotes_are_normalized(): '''This is...
15.114286
57
0.596093
401
3,174
4.598504
0.249377
0.053145
0.045553
0.052061
0.996746
0.996746
0.996746
0.996746
0.996746
0.996746
0
0.000894
0.295211
3,174
209
58
15.186603
0.823424
0.517013
0
0.909091
0
0
0.009607
0
0
0
0
0
0
1
0.545455
false
0.290909
0
0
0.654545
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
10
045e0ee4c926163446f46da681af7c5fb0b2c054
170
py
Python
tests/sort_test.py
spencerpomme/pyalgolib
d055287caa4a779ea833c7efc305cd4f966bd841
[ "MIT" ]
null
null
null
tests/sort_test.py
spencerpomme/pyalgolib
d055287caa4a779ea833c7efc305cd4f966bd841
[ "MIT" ]
null
null
null
tests/sort_test.py
spencerpomme/pyalgolib
d055287caa4a779ea833c7efc305cd4f966bd841
[ "MIT" ]
null
null
null
from algorithms.sort import Comparison from algorithms.sort import NonComparison if __name__ == "__main__": Comparison.bubble_sort() NonComparison.radix_sort()
21.25
41
0.782353
19
170
6.473684
0.578947
0.227642
0.292683
0.390244
0
0
0
0
0
0
0
0
0.141176
170
7
42
24.285714
0.842466
0
0
0
0
0
0.047059
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
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
f0bc193e8121ee47b05c25fb3510e897a76eec5f
11,082
py
Python
tests/models/test_color666_pauli.py
dua-arpit/qecsim
70ded606a653fd96d517e07fbba15d9b755df752
[ "BSD-3-Clause" ]
35
2021-02-08T08:32:54.000Z
2022-03-22T05:35:06.000Z
tests/models/test_color666_pauli.py
dua-arpit/qecsim
70ded606a653fd96d517e07fbba15d9b755df752
[ "BSD-3-Clause" ]
2
2021-08-05T06:10:35.000Z
2021-08-20T12:44:10.000Z
tests/models/test_color666_pauli.py
dua-arpit/qecsim
70ded606a653fd96d517e07fbba15d9b755df752
[ "BSD-3-Clause" ]
7
2021-02-11T17:32:47.000Z
2021-11-30T12:34:41.000Z
import pytest from qecsim import paulitools as pt from qecsim.models.color import Color666Code @pytest.mark.parametrize('size', [ 3, 5, 7, 9 ]) def test_color666_pauli_properties(size): lattice = Color666Code(size) pauli = lattice.new_pauli() assert pauli.code == lattice assert isinstance(repr(pa...
46.563025
109
0.571197
1,714
11,082
3.573512
0.054259
0.109714
0.201143
0.264
0.840163
0.795102
0.787429
0.770939
0.668898
0.642939
0
0.089098
0.166486
11,082
237
110
46.759494
0.573996
0.018228
0
0.313433
0
0
0.142252
0
0
0
0
0
0.074627
1
0.064677
false
0
0.014925
0
0.079602
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
f0c5d97f8457c1def15f6723160f6a7a90cb9991
19,603
py
Python
sdk/python/pulumi_databricks/azure_adls_gen2_mount.py
pulumi/pulumi-databricks
43580d4adbd04b72558f368ff0eef3d03432ebc1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_databricks/azure_adls_gen2_mount.py
pulumi/pulumi-databricks
43580d4adbd04b72558f368ff0eef3d03432ebc1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_databricks/azure_adls_gen2_mount.py
pulumi/pulumi-databricks
43580d4adbd04b72558f368ff0eef3d03432ebc1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
41.976445
134
0.656175
2,270
19,603
5.328194
0.065639
0.089128
0.100703
0.116412
0.831005
0.807772
0.786441
0.746341
0.705581
0.646135
0
0.001533
0.234505
19,603
466
135
42.066524
0.804478
0.059634
0
0.663978
1
0
0.12339
0.018692
0
0
0
0
0
1
0.16129
false
0.002688
0.013441
0.086022
0.271505
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
50279f70ea923b1f91fa14d3b4b9e8364758d581
30,196
py
Python
accountancy/testing/test_integration/test_helpers.py
rossm6/accounts
74633ce4038806222048d85ef9dfe97a957a6a71
[ "MIT" ]
11
2021-01-23T01:09:54.000Z
2021-01-25T07:16:30.000Z
accountancy/testing/test_integration/test_helpers.py
rossm6/accounts
74633ce4038806222048d85ef9dfe97a957a6a71
[ "MIT" ]
7
2021-04-06T18:19:10.000Z
2021-09-22T19:45:03.000Z
accountancy/testing/test_integration/test_helpers.py
rossm6/accounts
74633ce4038806222048d85ef9dfe97a957a6a71
[ "MIT" ]
3
2021-01-23T18:55:32.000Z
2021-02-16T17:47:59.000Z
from datetime import date, datetime, timedelta from accountancy.helpers import AuditTransaction, get_all_historical_changes from cashbook.models import CashBook from contacts.models import Contact from controls.models import FinancialYear, Period from django.test import TestCase from nominals.models import Nominal fro...
25.676871
88
0.440588
2,506
30,196
5.166002
0.061053
0.25954
0.220609
0.114939
0.896648
0.843504
0.826278
0.818091
0.805268
0.801406
0
0.016328
0.421943
30,196
1,175
89
25.698723
0.725351
0.011392
0
0.674296
0
0
0.091577
0
0
0
0
0
0.205106
1
0.006162
false
0
0.007923
0
0.015845
0
0
0
0
null
1
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
503f64c1b012c8d743dd5c774fa6555365d46deb
24
py
Python
python/testData/copyPaste/ReplaceSelection.after.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/copyPaste/ReplaceSelection.after.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/copyPaste/ReplaceSelection.after.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
a = 1 b = 1 a = 1 b = 1
4.8
5
0.333333
8
24
1
0.375
0.5
0.75
1
0
0
0
0
0
0
0
0.333333
0.5
24
4
6
6
0.333333
0
0
1
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
4a0a559463a85757a42ba71a9dedca02c59e4314
121
py
Python
tests/Usage.py
astronalta/gamepython
3927dfbb0ae9706cd99d4f15ea792b30512dd4c1
[ "MIT" ]
null
null
null
tests/Usage.py
astronalta/gamepython
3927dfbb0ae9706cd99d4f15ea792b30512dd4c1
[ "MIT" ]
null
null
null
tests/Usage.py
astronalta/gamepython
3927dfbb0ae9706cd99d4f15ea792b30512dd4c1
[ "MIT" ]
null
null
null
import os os.system(os.path.join("..", "bin", "jogo") + " --help") os.system(os.path.join("..", "bin", "jogo") + " -h")
24.2
56
0.520661
18
121
3.5
0.5
0.253968
0.31746
0.444444
0.793651
0.793651
0.793651
0
0
0
0
0
0.123967
121
4
57
30.25
0.59434
0
0
0
0
0
0.231405
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
1
1
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
9
4a0abdb3269da3835943a0f144f3b4cc4938b15c
75,134
py
Python
rawdata.py
icogg/psl
d53329fc4b72ceb55fff1f4c73f6d13666a2caf1
[ "MIT" ]
null
null
null
rawdata.py
icogg/psl
d53329fc4b72ceb55fff1f4c73f6d13666a2caf1
[ "MIT" ]
null
null
null
rawdata.py
icogg/psl
d53329fc4b72ceb55fff1f4c73f6d13666a2caf1
[ "MIT" ]
null
null
null
blankpsl = """ A P P : C o u r i e r T Y P E : S c h e m e L o g i c E d i t o r F O R M A T : 1 . 0 V E R S I O N : 4 . 0 0 D O M A I N : 0 0 S e t t i n g s S U B D O M A I N : 0 P S L S e t t i n g G r p 1 M O D E L : P 1 4 2 1 1 7 B 4 M 0 4 3 0 J R E F E ...
853.795455
26,608
0.431789
8,574
75,134
3.826335
0.099837
0.379675
0.545371
0.708142
0.967324
0.965373
0.96391
0.961106
0.959704
0.959551
0
0.07894
0.49992
75,134
87
26,609
863.609195
0.784047
0
0
0.62069
0
0.603448
0.999241
0.043765
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
13
c586f1f2ce17a641832af20c2bd615bf9ef8a94b
10,841
py
Python
test/requirements/test_rdf_source.py
denz/ldp
e49cff6f39a4b6d68998d90b8c75158e5b9b450a
[ "BSD-3-Clause" ]
null
null
null
test/requirements/test_rdf_source.py
denz/ldp
e49cff6f39a4b6d68998d90b8c75158e5b9b450a
[ "BSD-3-Clause" ]
null
null
null
test/requirements/test_rdf_source.py
denz/ldp
e49cff6f39a4b6d68998d90b8c75158e5b9b450a
[ "BSD-3-Clause" ]
null
null
null
""" ### 4.3 RDF Source The following section contains normative clauses for Linked Data Platform RDF Source. #### 4.3.1 General ##### 4.3.1.1 Each LDP RDF Source _MUST_ also be a conforming LDP Resource as defined in section 4.2 Resource, along with the restrictions in this section. LDP clients _MAY_ infer the follo...
39.565693
111
0.730006
1,756
10,841
4.451025
0.171412
0.012283
0.014202
0.016121
0.859775
0.843014
0.825102
0.825102
0.825102
0.817042
0
0.025441
0.205977
10,841
274
112
39.565693
0.882551
0.8799
0
0.361111
0
0
0.070681
0
0
0
0
0
0
1
0.388889
false
0.361111
0.055556
0
0.527778
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
9
c5adb2ef21ddc659b14d543ba94b65d62e1f2650
247
py
Python
src/prefect/backend/__init__.py
gabrielvieira37/prefect
6e9170134b59ed5b66afa752bb275e7e44330ed4
[ "Apache-2.0" ]
null
null
null
src/prefect/backend/__init__.py
gabrielvieira37/prefect
6e9170134b59ed5b66afa752bb275e7e44330ed4
[ "Apache-2.0" ]
null
null
null
src/prefect/backend/__init__.py
gabrielvieira37/prefect
6e9170134b59ed5b66afa752bb275e7e44330ed4
[ "Apache-2.0" ]
null
null
null
from prefect.backend.task_run import TaskRunView from prefect.backend.flow_run import FlowRunView, execute_flow_run from prefect.backend.flow import FlowView from prefect.backend.kv_store import set_key_value, get_key_value, delete_key, list_keys
49.4
88
0.870445
39
247
5.230769
0.512821
0.215686
0.352941
0.215686
0
0
0
0
0
0
0
0
0.080972
247
4
89
61.75
0.898678
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
c5bdb96ec00d373011251a4dd31e0d344e095cd0
150
py
Python
src/spaceone/notification/manager/__init__.py
jihyungSong/plugin-email-notification-protocol
2e9ebc08b1b541f69b46e8ff8507fe2604058724
[ "Apache-2.0" ]
null
null
null
src/spaceone/notification/manager/__init__.py
jihyungSong/plugin-email-notification-protocol
2e9ebc08b1b541f69b46e8ff8507fe2604058724
[ "Apache-2.0" ]
1
2022-03-21T07:19:50.000Z
2022-03-21T07:19:50.000Z
src/spaceone/notification/manager/__init__.py
jihyungSong/plugin-email-notification-protocol
2e9ebc08b1b541f69b46e8ff8507fe2604058724
[ "Apache-2.0" ]
1
2021-07-20T02:13:21.000Z
2021-07-20T02:13:21.000Z
from spaceone.notification.manager.notification_manager import NotificationManager from spaceone.notification.manager.smtp_manager import SMTPManager
50
82
0.906667
16
150
8.375
0.5
0.425373
0.358209
0.462687
0
0
0
0
0
0
0
0
0.053333
150
2
83
75
0.943662
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
a83e1d73ef72a5fc774e5c9d52ecebd72160d193
14,630
py
Python
generators.py
xianqiu/math-homework
362ba744695650ecd9f5bdcd68793e53f8d9afcf
[ "MIT" ]
1
2021-09-01T00:44:51.000Z
2021-09-01T00:44:51.000Z
generators.py
xianqiu/math-homework
362ba744695650ecd9f5bdcd68793e53f8d9afcf
[ "MIT" ]
1
2022-02-16T11:59:33.000Z
2022-02-16T12:21:15.000Z
generators.py
xianqiu/math-homework
362ba744695650ecd9f5bdcd68793e53f8d9afcf
[ "MIT" ]
1
2022-02-16T11:49:09.000Z
2022-02-16T11:49:09.000Z
__all__ = ['MathL1', 'MathL2', 'MathL3', 'MathL4', 'MathL5', 'MathL6', 'MathL7', 'MathL8', 'MathL9', 'MathL10', 'MathL11', 'MathL12', 'MathL13', 'MathL14', 'MathL15', 'MathL16', 'MathL17', 'MathL18', 'MathL19', 'MathL20', 'MathL21', 'MathL22', 'MathL23', 'MathL24'...
25.267703
68
0.466507
2,070
14,630
3.083575
0.07343
0.09118
0.05358
0.07238
0.826414
0.813097
0.793827
0.774714
0.757794
0.746201
0
0.044744
0.340055
14,630
578
69
25.311419
0.616365
0.059877
0
0.740947
0
0
0.03052
0
0.011142
0
0
0
0
1
0.189415
false
0
0.002786
0
0.381616
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
a848cbe3d0571fa2759fc4c25126e577ee5ea719
37,395
py
Python
ApplicationPerformance/webautomation/webAutomation.py
hsy5332/Blog
3c17e097b31dcddfc41896149cc14b69fea1ae14
[ "Apache-2.0" ]
null
null
null
ApplicationPerformance/webautomation/webAutomation.py
hsy5332/Blog
3c17e097b31dcddfc41896149cc14b69fea1ae14
[ "Apache-2.0" ]
null
null
null
ApplicationPerformance/webautomation/webAutomation.py
hsy5332/Blog
3c17e097b31dcddfc41896149cc14b69fea1ae14
[ "Apache-2.0" ]
null
null
null
# to do 发送邮件,以及需要增加用例的执行结果 import time import ApplicationPerformance.sendReport as sendReport import ApplicationPerformance.applicationperformance.launchTime as launchTime # MAC # import ApplicationPerformance.applicationperformance.launchTime as launchTime # Windows from selenium import webdriver from selenium.webd...
50.194631
380
0.468886
2,772
37,395
6.22114
0.08189
0.08443
0.088721
0.092201
0.84639
0.840533
0.831777
0.809974
0.784575
0.778313
0
0.004029
0.435834
37,395
744
381
50.262097
0.813386
0.01182
0
0.795455
0
0.002841
0.100225
0.028876
0
0
0
0
0
1
0.012784
false
0
0.007102
0
0.166193
0.09517
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