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
e7f447874f7343942ce3703b1206ab7addea058f
2,568
py
Python
tensorflow_probability/examples/jupyter_notebooks/gp_regression/use_gpm.py
Chaztikov/probability
9d64bfd0a7907f220f910dae134bc30258f25b5e
[ "Apache-2.0" ]
null
null
null
tensorflow_probability/examples/jupyter_notebooks/gp_regression/use_gpm.py
Chaztikov/probability
9d64bfd0a7907f220f910dae134bc30258f25b5e
[ "Apache-2.0" ]
null
null
null
tensorflow_probability/examples/jupyter_notebooks/gp_regression/use_gpm.py
Chaztikov/probability
9d64bfd0a7907f220f910dae134bc30258f25b5e
[ "Apache-2.0" ]
null
null
null
import numpy as np import tensorflow as tf import tensorflow_probability as tfp tfd = tfp.distributions psd_kernels = tfp.math.psd_kernels # Suppose we have some data from a known function. Note the index points in # general have shape `[b1, ..., bB, f1, ..., fF]` (here we assume `F == 1`), # so we need to explicitly ...
36.169014
76
0.713396
388
2,568
4.600515
0.278351
0.0493
0.063866
0.035854
0.936695
0.936695
0.936695
0.936695
0.936695
0.936695
0
0.029078
0.142913
2,568
71
77
36.169014
0.781917
0.250389
0
0.888889
0
0
0.054365
0
0
0
0
0
0
1
0.044444
false
0
0.066667
0
0.155556
0.088889
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
f04e9030414e560624b8e2f0582e1c7cb2ba7912
4,336
py
Python
tltorch/utils/parameter_list.py
colehawkins/torch
914bdb8acad64d93a612e46f47ce1df507016b1b
[ "BSD-3-Clause" ]
27
2020-12-15T21:34:48.000Z
2022-02-24T09:56:13.000Z
tltorch/utils/parameter_list.py
colehawkins/torch
914bdb8acad64d93a612e46f47ce1df507016b1b
[ "BSD-3-Clause" ]
15
2020-12-23T05:10:31.000Z
2022-03-03T00:10:10.000Z
tltorch/utils/parameter_list.py
colehawkins/torch
914bdb8acad64d93a612e46f47ce1df507016b1b
[ "BSD-3-Clause" ]
12
2020-12-23T04:26:41.000Z
2021-12-15T02:39:30.000Z
from torch import nn import torch class FactorList(nn.Module): def __init__(self, parameters=None): super().__init__() self.keys = [] self.counter = 0 if parameters is not None: self.extend(parameters) def _unique_key(self): """Creates a new unique key""...
30.535211
84
0.567804
503
4,336
4.626243
0.15507
0.061882
0.03352
0.039536
0.914912
0.888268
0.888268
0.888268
0.888268
0.888268
0
0.002016
0.313653
4,336
141
85
30.751773
0.779906
0.023524
0
0.872727
0
0
0.036712
0.004974
0
0
0
0
0
1
0.236364
false
0
0.018182
0.036364
0.418182
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8
b2b7b3fe3a319c0cd62f9639553c8ec32542272b
491
py
Python
test_output.py
endrebak/ldetect
620f60a6758b448c6f16bb529b8ac1afd6b88a6a
[ "X11" ]
1
2021-10-13T23:45:39.000Z
2021-10-13T23:45:39.000Z
test_output.py
endrebak/ldetect
620f60a6758b448c6f16bb529b8ac1afd6b88a6a
[ "X11" ]
1
2021-10-14T00:29:20.000Z
2021-10-14T00:29:20.000Z
test_output.py
endrebak/ldetect
620f60a6758b448c6f16bb529b8ac1afd6b88a6a
[ "X11" ]
null
null
null
import pandas as pd df = pd.read_table("/mnt/work/endrebak/ldetect/1kg/partition_covariances/CEU/chr22/16050075_16847854.tsv_old.gz", header=None, compression=None, sep="\s+", index_col=[2, 3]) df2 = pd.read_table("/mnt/work/endrebak/ldetect/1kg/partition_covariances/CEU/chr22/16050075_16847854.tsv.gz", header=None, co...
54.555556
173
0.723014
84
491
4.119048
0.488095
0.034682
0.063584
0.080925
0.716763
0.716763
0.716763
0.716763
0.716763
0.716763
0
0.114035
0.071283
491
8
174
61.375
0.644737
0.162933
0
0
0
0.5
0.452088
0.437346
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
1
0
0
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
e8e32f6073b6870f6cc259c64aceb52a73ee64b9
163
py
Python
src/pypacmensl/fsp_solver/__init__.py
voduchuy/pypacmensl
59b845f4a6891a5c7105696053655437fa181356
[ "MIT" ]
null
null
null
src/pypacmensl/fsp_solver/__init__.py
voduchuy/pypacmensl
59b845f4a6891a5c7105696053655437fa181356
[ "MIT" ]
null
null
null
src/pypacmensl/fsp_solver/__init__.py
voduchuy/pypacmensl
59b845f4a6891a5c7105696053655437fa181356
[ "MIT" ]
null
null
null
# distutils : language = c++ from pypacmensl.fsp_solver.distribution import DiscreteDistribution from pypacmensl.fsp_solver.multi_sinks import FspSolverMultiSinks
40.75
67
0.858896
18
163
7.611111
0.722222
0.20438
0.248175
0.335766
0
0
0
0
0
0
0
0
0.08589
163
4
68
40.75
0.919463
0.159509
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
3309a3eac4798916477e93f83a56337845b629fd
4,107
py
Python
run.py
berges99/Spatial-Pyramid-Kernel-for-Image-Recognition
05408e20506ce3c27248eb95e7e55e3e15dada8b
[ "Apache-2.0" ]
1
2020-02-09T16:05:14.000Z
2020-02-09T16:05:14.000Z
run.py
berges99/Spatial-Pyramid-Kernel-for-Image-Recognition
05408e20506ce3c27248eb95e7e55e3e15dada8b
[ "Apache-2.0" ]
null
null
null
run.py
berges99/Spatial-Pyramid-Kernel-for-Image-Recognition
05408e20506ce3c27248eb95e7e55e3e15dada8b
[ "Apache-2.0" ]
null
null
null
import subprocess cmd = 'python3 histogram_svm2.py --data df128.csv --L 0 --train_frac 0.5 --test_frac 0.2 > ./results/out1.txt' subprocess.Popen(cmd, shell = True) cmd = 'python3 histogram_svm2.py --data df128.csv --L 1 --train_frac 0.5 --test_frac 0.2 > ./results/out2.txt' subprocess.Popen(cmd, shell = True) cmd...
45.633333
129
0.709033
692
4,107
4.099711
0.07948
0.088121
0.16743
0.202679
0.953472
0.953472
0.942897
0.942897
0.942897
0.89355
0
0.092536
0.129048
4,107
89
130
46.146067
0.700587
0
0
0.490196
0
0.490196
0.712963
0
0
0
0
0
0
1
0
false
0
0.019608
0
0.019608
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
3344c4397c53de12438c90258d972b30937c3080
14,182
py
Python
qa327_test/backend/test_r1_post.py
winterNebs/HyperTextAssassins
77d44db692d03b95462694394048aec3aacc4108
[ "MIT" ]
2
2021-01-03T01:42:23.000Z
2021-03-30T18:59:45.000Z
qa327_test/backend/test_r1_post.py
johnsonzhang434/SeetGeek
77d44db692d03b95462694394048aec3aacc4108
[ "MIT" ]
null
null
null
qa327_test/backend/test_r1_post.py
johnsonzhang434/SeetGeek
77d44db692d03b95462694394048aec3aacc4108
[ "MIT" ]
1
2021-01-02T19:39:29.000Z
2021-01-02T19:39:29.000Z
import pytest from seleniumbase import BaseCase from qa327.models import db, User from qa327_test.conftest import base_url from unittest.mock import patch from werkzeug.security import generate_password_hash, check_password_hash test_user = User( email='test_frontend@test.com', name='testuser', password=ge...
35.994924
169
0.598928
1,743
14,182
4.720023
0.082042
0.042543
0.070013
0.087517
0.883433
0.867631
0.849277
0.832017
0.818889
0.818889
0
0.027919
0.277676
14,182
393
170
36.086514
0.775185
0.228388
0
0.686916
1
0
0.278977
0.05031
0
0
0
0
0.191589
1
0.098131
false
0.186916
0.028037
0
0.130841
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
1
0
0
0
0
0
8
335867b2db48d184fb85d02c7fe6231c4b53eb15
16,914
py
Python
misc/plot.py
gbegkas/Detectron
8d53dcdc2d1282938636f8dd45859101214730ff
[ "Apache-2.0" ]
null
null
null
misc/plot.py
gbegkas/Detectron
8d53dcdc2d1282938636f8dd45859101214730ff
[ "Apache-2.0" ]
null
null
null
misc/plot.py
gbegkas/Detectron
8d53dcdc2d1282938636f8dd45859101214730ff
[ "Apache-2.0" ]
null
null
null
import os import numpy as np import json from matplotlib import pyplot as plt # from sklearn import metrics MODELS = { 'faster50c4': 'Faster R-CNN - ResNet 50 C4', 'faster50fpn': 'Faster R-CNN - ResNet 50 FPN', 'faster101c4': 'Faster R-CNN - ResNet 101 C4', 'faster101fpn': 'Faster R-CNN - ResNet 101 FP...
29.725835
143
0.576682
2,724
16,914
3.567548
0.092144
0.030871
0.032929
0.034575
0.813748
0.78545
0.774954
0.764869
0.762194
0.731941
0
0.077972
0.180324
16,914
568
144
29.778169
0.62298
0.825647
0
0.042857
0
0
0.292383
0
0
0
0
0
0
1
0
false
0
0.057143
0
0.057143
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
6831ab05a9d9396fcf418a97e90557bdcc03e773
31,401
py
Python
sdk/python/pulumi_alicloud/cs/registry_enterprise_sync_rule.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
42
2019-03-18T06:34:37.000Z
2022-03-24T07:08:57.000Z
sdk/python/pulumi_alicloud/cs/registry_enterprise_sync_rule.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
152
2019-04-15T21:03:44.000Z
2022-03-29T18:00:57.000Z
sdk/python/pulumi_alicloud/cs/registry_enterprise_sync_rule.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
3
2020-08-26T17:30:07.000Z
2021-07-05T01:37:45.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
46.177941
204
0.666826
3,773
31,401
5.311423
0.058309
0.076297
0.095709
0.082335
0.893663
0.875399
0.862675
0.845808
0.833583
0.808483
0
0.00263
0.237063
31,401
679
205
46.24595
0.833869
0.356326
0
0.669333
1
0
0.117685
0.019345
0
0
0
0
0
1
0.162667
false
0.002667
0.013333
0
0.274667
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
685a80a4f643d99961e7cd002f29763a6dc63506
207
py
Python
test/lib/test_time.py
rohithill/medipack
bd145e0fb8bba14482df15cd18a595c9f719dbd1
[ "MIT" ]
null
null
null
test/lib/test_time.py
rohithill/medipack
bd145e0fb8bba14482df15cd18a595c9f719dbd1
[ "MIT" ]
null
null
null
test/lib/test_time.py
rohithill/medipack
bd145e0fb8bba14482df15cd18a595c9f719dbd1
[ "MIT" ]
null
null
null
import pytest from medipack.lib.time import Time def test_get_time(): assert Time.get_time('0:5') == '00:00:05' def test_relative_time(): assert Time.get_relative_time('0:5','0:15') == '00:00:10'
20.7
61
0.68599
37
207
3.648649
0.459459
0.103704
0.207407
0.251852
0
0
0
0
0
0
0
0.106742
0.140097
207
9
62
23
0.651685
0
0
0
0
0
0.125604
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
d79f80ac99a04403e743a2824bc19d01462d8d7f
168
py
Python
python-package/brainflow/__init__.py
ddoyon92/brainflow
b0bfa7c2d717c0b30e8b7b2051093a6c28d1e23e
[ "MIT" ]
528
2020-04-27T06:52:12.000Z
2022-03-31T03:22:38.000Z
python-package/brainflow/__init__.py
ddoyon92/brainflow
b0bfa7c2d717c0b30e8b7b2051093a6c28d1e23e
[ "MIT" ]
229
2020-04-24T15:54:52.000Z
2022-03-21T17:52:49.000Z
python-package/brainflow/__init__.py
ddoyon92/brainflow
b0bfa7c2d717c0b30e8b7b2051093a6c28d1e23e
[ "MIT" ]
120
2020-05-24T18:10:37.000Z
2022-03-17T19:50:52.000Z
from brainflow.board_shim import * from brainflow.exit_codes import * from brainflow.data_filter import * from brainflow.ml_model import * from brainflow.utils import *
33.6
35
0.827381
24
168
5.625
0.5
0.481481
0.562963
0
0
0
0
0
0
0
0
0
0.113095
168
5
36
33.6
0.90604
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
d7c8bd61b20f5adde018f49e4f15344de34236b6
10,680
py
Python
Noprian/Noprian-enc/.cloning.py
Ajijul123aa/Reverse-Engineering
fad3f3eccadc9ca71620e07a8f3318c00334bcaa
[ "Apache-2.0" ]
337
2020-08-15T12:22:14.000Z
2022-03-29T06:05:15.000Z
Noprian/Noprian-enc/.cloning.py
Wh014M/Reverse-Engineering
f7aae2c43f7ea4a6730964d085c07814b6660a53
[ "Apache-2.0" ]
3
2020-11-12T14:30:48.000Z
2021-05-18T16:56:22.000Z
Noprian/Noprian-enc/.cloning.py
Wh014M/Reverse-Engineering
f7aae2c43f7ea4a6730964d085c07814b6660a53
[ "Apache-2.0" ]
83
2020-08-15T00:22:58.000Z
2022-03-31T08:40:23.000Z
#Compiled By BLackWhiteTeam #Github : https://github.com/BLackWite0711/Noprian import marshal exec(marshal.loads('c\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00@\x00\x00\x00s\xc3\x01\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x01\x00l\x01\x00Z\x01\x00d\x00\x00d\x01\x00l\x02\x00Z\x02\x00d\x00\x00d\x01\x00l...
2,136
10,585
0.734457
2,269
10,680
3.436756
0.150286
0.226212
0.103873
0.046166
0.348807
0.287125
0.224801
0.209156
0.17107
0.153629
0
0.364675
0.025094
10,680
4
10,586
2,670
0.384268
0.007022
0
0
0
1
0.585117
0.488069
0
0
0
0
0
1
0
true
0.5
0.5
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
1
0
1
null
0
0
0
0
0
0
1
1
1
0
0
0
0
11
d7d7b6e258260e266ee2d071678fa540ecc01f1f
144
py
Python
main.py
prismaticd/html-to-pdf
0f18a4563f4831fe66d71d47757c9152648f7dc8
[ "MIT" ]
null
null
null
main.py
prismaticd/html-to-pdf
0f18a4563f4831fe66d71d47757c9152648f7dc8
[ "MIT" ]
1
2018-12-12T21:59:42.000Z
2018-12-12T21:59:42.000Z
main.py
prismaticd/html-to-pdf
0f18a4563f4831fe66d71d47757c9152648f7dc8
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Google cloud function entrypoint import html_to_pdf.app def main(request): return html_to_pdf.app.main(request)
14.4
40
0.756944
23
144
4.565217
0.73913
0.114286
0.171429
0.228571
0
0
0
0
0
0
0
0
0.145833
144
9
41
16
0.853659
0.368056
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
d7e32523bc14e9d6fd4603dca78742f00d710693
14,098
py
Python
anuga/culvert_flows/tests/test_culvert_routines_box_10pct.py
samcom12/anuga_core
f4378114dbf02d666fe6423de45798add5c42806
[ "Python-2.0", "OLDAP-2.7" ]
136
2015-05-07T05:47:43.000Z
2022-02-16T03:07:40.000Z
anuga/culvert_flows/tests/test_culvert_routines_box_10pct.py
samcom12/anuga_core
f4378114dbf02d666fe6423de45798add5c42806
[ "Python-2.0", "OLDAP-2.7" ]
184
2015-05-03T09:27:54.000Z
2021-12-20T04:22:48.000Z
anuga/culvert_flows/tests/test_culvert_routines_box_10pct.py
samcom12/anuga_core
f4378114dbf02d666fe6423de45798add5c42806
[ "Python-2.0", "OLDAP-2.7" ]
70
2015-03-18T07:35:22.000Z
2021-11-01T07:07:29.000Z
#!/usr/bin/env python from __future__ import division from past.utils import old_div import unittest import os.path import sys from anuga.utilities.system_tools import get_pathname_from_package from anuga.culvert_flows.culvert_routines import boyd_generalised_culvert_model import numpy as num class Test_culvert_ro...
40.863768
178
0.465101
1,610
14,098
3.83354
0.113665
0.025275
0.033863
0.036941
0.816753
0.803467
0.795852
0.79083
0.79083
0.78046
0
0.07484
0.434175
14,098
344
179
40.982558
0.698884
0.201376
0
0.776316
0
0
0.002724
0
0
0
0
0.017442
0.078947
1
0.035088
false
0.008772
0.035088
0
0.074561
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
8
0be3407b5dd840d3a751130ad7b18ea48e3f083c
5,993
py
Python
core/uicalc.py
JorgeDeLosSantos/PiChi
93ace14fa3e206ad7d52c3c614bbb49d3c72aaa9
[ "MIT" ]
null
null
null
core/uicalc.py
JorgeDeLosSantos/PiChi
93ace14fa3e206ad7d52c3c614bbb49d3c72aaa9
[ "MIT" ]
null
null
null
core/uicalc.py
JorgeDeLosSantos/PiChi
93ace14fa3e206ad7d52c3c614bbb49d3c72aaa9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # *********************************** # PiChi 0.0.1 # Author: Pedro Jorge De Los Santos # E-mail: delossantosmfq@gmail.com # Web: labdls.blogspot.mx # License: MIT License # *********************************** import wx import sympy import matplotlib matplotlib.use('WXAgg') from matpl...
28.004673
100
0.669281
903
5,993
4.375415
0.193798
0.022779
0.022779
0.037965
0.771956
0.764363
0.753227
0.753227
0.753227
0.745887
0
0.027381
0.146838
5,993
213
101
28.13615
0.745355
0.070582
0
0.708609
0
0
0.03535
0
0
0
0
0
0
0
null
null
0
0.046358
null
null
0.006623
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
041c5530685602644a5259a349d2ae606fb12ec3
71,072
py
Python
pysnmp_mibs/DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
6
2017-04-21T13:48:08.000Z
2022-01-06T19:42:52.000Z
pysnmp_mibs/DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
1
2020-05-05T16:42:25.000Z
2020-05-05T16:42:25.000Z
pysnmp_mibs/DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
6
2020-02-08T20:28:49.000Z
2021-09-14T13:36:46.000Z
# # PySNMP MIB module DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB (http://pysnmp.sf.net) # ASN.1 source http://mibs.snmplabs.com:80/asn1/DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB # Produced by pysmi-0.0.7 at Sun Feb 14 00:09:52 2016 # On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose # Using Python ...
703.683168
2,352
0.715078
8,590
71,072
5.915832
0.050175
0.058661
0.068816
0.100577
0.828679
0.819804
0.798316
0.785229
0.777181
0.768444
0
0.016868
0.182547
71,072
100
2,353
710.72
0.857809
0.004981
0
0
0
0.344086
0.812103
0.247154
0
0
0
0
0
1
0
false
0
0.096774
0
0.096774
0
0
0
0
null
0
0
0
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
10
f0be3a45f89b46c31ab64691e496f849505614c3
18,484
py
Python
repos/system_upgrade/el7toel8/actors/authselectscanner/tests/unit_test.py
panovotn/leapp-repository
e80bdbf65393e68bc2e91b43b46fdd9b9b787878
[ "Apache-2.0" ]
null
null
null
repos/system_upgrade/el7toel8/actors/authselectscanner/tests/unit_test.py
panovotn/leapp-repository
e80bdbf65393e68bc2e91b43b46fdd9b9b787878
[ "Apache-2.0" ]
null
null
null
repos/system_upgrade/el7toel8/actors/authselectscanner/tests/unit_test.py
panovotn/leapp-repository
e80bdbf65393e68bc2e91b43b46fdd9b9b787878
[ "Apache-2.0" ]
null
null
null
import os import textwrap from mock import patch from leapp.libraries.actor.library import AuthselectScannerLibrary, Authconfig, DConf, read_file from leapp.libraries.common.pam import PAM from leapp.models import Authselect def get_config(config): return textwrap.dedent(config).strip() def test_read_file__no...
29.5744
104
0.704177
2,241
18,484
5.493976
0.065596
0.047109
0.063515
0.076754
0.912687
0.885721
0.858268
0.806855
0.772255
0.758772
0
0.003544
0.175774
18,484
624
105
29.621795
0.804595
0.004815
0
0.723014
0
0
0.313723
0.068236
0
0
0
0
0.14664
1
0.093686
false
0.008147
0.01222
0.002037
0.11609
0.010183
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
acc5c9ce4c2ac34fb35511a8739f322190011cfd
185
py
Python
traditional_rl/ExploreExploit/EpsilonGreedy/__init__.py
akanimax/deep-reinforcement-learning
0d1299bd6bf009d137e210f5b4223ede6b84be8d
[ "MIT" ]
1
2018-09-18T05:56:42.000Z
2018-09-18T05:56:42.000Z
traditional_rl/ExploreExploit/EpsilonGreedy/__init__.py
akanimax/deep-reinforcement-learning
0d1299bd6bf009d137e210f5b4223ede6b84be8d
[ "MIT" ]
null
null
null
traditional_rl/ExploreExploit/EpsilonGreedy/__init__.py
akanimax/deep-reinforcement-learning
0d1299bd6bf009d137e210f5b4223ede6b84be8d
[ "MIT" ]
1
2018-09-18T06:07:04.000Z
2018-09-18T06:07:04.000Z
""" Module for experimentation containing epsilon greedy strategy """ from ExploreExploit.EpsilonGreedy.bandit import Bandit from ExploreExploit.EpsilonGreedy.simulate import simulate
30.833333
65
0.848649
19
185
8.263158
0.684211
0.229299
0.394904
0
0
0
0
0
0
0
0
0
0.097297
185
5
66
37
0.94012
0.32973
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
accaaa6b88ee408470539a4265da86b728287db4
9,360
py
Python
sprites.py
AtlasDisease/Zombies
87bcfa3d93c4ed29658a0492f099e409946a2c32
[ "BSD-3-Clause" ]
null
null
null
sprites.py
AtlasDisease/Zombies
87bcfa3d93c4ed29658a0492f099e409946a2c32
[ "BSD-3-Clause" ]
null
null
null
sprites.py
AtlasDisease/Zombies
87bcfa3d93c4ed29658a0492f099e409946a2c32
[ "BSD-3-Clause" ]
null
null
null
# --- Imports --- # import pygame import random # --- All Sprites --- # Player_Type_Int = random.randrange(0,4) Map_Type = 0 if Player_Type_Int == 0: Player_Graphic = pygame.image.load("Images/Nerd.png") Player_Running = pygame.image.load("Images/Nerd_Running.png") # Player_Running_1 = pygame.image.load(...
69.850746
138
0.816239
1,272
9,360
5.522799
0.044025
0.288968
0.158007
0.22121
0.926406
0.908043
0.83758
0.76911
0.645836
0.625338
0
0.003176
0.091667
9,360
133
139
70.37594
0.8231
0.090812
0
0.288288
0
0
0.276784
0.267012
0
0
0
0
0
1
0
false
0
0.018018
0
0.018018
0
0
0
0
null
1
0
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
acdfa614cf7017e1903bd5216b641d281b420129
3,319
bzl
Python
crate_universe/private/srcs.bzl
ttiurani/rules_rust
2fa92e5a139c7cb64d606718273e295ce756f0f3
[ "Apache-2.0" ]
1
2017-06-12T02:10:48.000Z
2017-06-12T02:10:48.000Z
crate_universe/private/srcs.bzl
ttiurani/rules_rust
2fa92e5a139c7cb64d606718273e295ce756f0f3
[ "Apache-2.0" ]
null
null
null
crate_universe/private/srcs.bzl
ttiurani/rules_rust
2fa92e5a139c7cb64d606718273e295ce756f0f3
[ "Apache-2.0" ]
null
null
null
"""A generate file containing all source files used to produce `cargo-bazel`""" # Each source file is tracked as a target so the `cargo_bootstrap_repository` # rule will know to automatically rebuild if any of the sources changed. CARGO_BAZEL_SRCS = [ "@rules_rust//crate_universe:src/cli.rs", "@rules_rust//cra...
63.826923
95
0.767099
459
3,319
5.300654
0.185185
0.166461
0.25894
0.406905
0.82203
0.82203
0.740649
0.542129
0.424168
0.402384
0
0.006223
0.080145
3,319
51
96
65.078431
0.790698
0.066586
0
0
1
0
0.874798
0.874798
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
acfc0300375be32892ba16e2f5284217d47e24a1
8,998
py
Python
04_recognize/configs/biglm/gen_configs.py
phsmit/iwclul2016-scripts
20ead4c7492241ec19dec88fe86065a273c66af6
[ "BSD-3-Clause" ]
null
null
null
04_recognize/configs/biglm/gen_configs.py
phsmit/iwclul2016-scripts
20ead4c7492241ec19dec88fe86065a273c66af6
[ "BSD-3-Clause" ]
null
null
null
04_recognize/configs/biglm/gen_configs.py
phsmit/iwclul2016-scripts
20ead4c7492241ec19dec88fe86065a273c66af6
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 import os import glob for lang in ("sme", "est", "fin"): for gender in ("M", "F"): for order in [4,10,20]: with open("{}{}_b_v_{}g_m.sh".format(lang,gender,order), 'w') as f: print("export TEST_NAME='{}{}_b_v_{}g_m'".format(lang,gender,order), file=f) ...
50.836158
132
0.582352
1,319
8,998
3.752843
0.059136
0.080808
0.129293
0.155152
0.983434
0.980404
0.978586
0.978586
0.978586
0.978586
0
0.033627
0.22994
8,998
176
133
51.125
0.680762
0.002334
0
0.853846
0
0
0.386809
0.291555
0
0
0
0
0
1
0
false
0
0.015385
0
0.015385
0.615385
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
c5bab7cf3b96b87414f639b4805c97d27251082a
14,306
py
Python
src/semantic_analysis.py
lffloyd/pyva
a8975046c248347633465c83944eec4c1e37f4d8
[ "MIT" ]
null
null
null
src/semantic_analysis.py
lffloyd/pyva
a8975046c248347633465c83944eec4c1e37f4d8
[ "MIT" ]
4
2019-12-18T00:53:02.000Z
2019-12-18T00:53:03.000Z
src/semantic_analysis.py
lffloyd/pyva
a8975046c248347633465c83944eec4c1e37f4d8
[ "MIT" ]
null
null
null
from .symtable.symbol_table import SymbolTable, Scope from .abstract_syntax_tree.ast_node import ASTNode from enum import Enum class ReturnType(Enum): no = 0 total = 1 partialSum = 2 partialMult = 3 symbolT = SymbolTable() def analiseSemantica(info, sum = 0, mult = 1): global symbolT if(info...
60.618644
133
0.488676
1,479
14,306
4.712644
0.140636
0.148063
0.06901
0.029842
0.823673
0.799283
0.77274
0.759828
0.732281
0.714347
0
0.015161
0.432895
14,306
236
134
60.618644
0.843954
0.237383
0
0.702128
0
0
0.016283
0
0
0
0
0.004237
0
1
0.010638
false
0
0.015957
0
0.106383
0.005319
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
c5e1ef485818e1268b7151857e3e12ceb4f00d68
22,351
py
Python
pb/risk_atc_pb2.py
zheng-zy/ot_root
920236b48458aeed72968bc7ec8e01a084b15951
[ "Artistic-2.0" ]
null
null
null
pb/risk_atc_pb2.py
zheng-zy/ot_root
920236b48458aeed72968bc7ec8e01a084b15951
[ "Artistic-2.0" ]
null
null
null
pb/risk_atc_pb2.py
zheng-zy/ot_root
920236b48458aeed72968bc7ec8e01a084b15951
[ "Artistic-2.0" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: risk_atc.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _refl...
41.855805
2,168
0.754194
3,295
22,351
4.704401
0.059484
0.059867
0.036127
0.042578
0.909296
0.852848
0.789562
0.744404
0.719566
0.708922
0
0.040341
0.128272
22,351
533
2,169
41.934334
0.755235
0.030692
0
0.707819
1
0.002058
0.242379
0.198042
0
0
0
0
0
1
0
false
0
0.012346
0
0.012346
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
a8a689a5ec261c06284128178da8a9532062df03
1,369
py
Python
data/AV_data_log.py
mrjunjieli/Looking-to-Listen-at-the-Cocktail-Party-A-Speaker-Indepent-Audio-Visual-Model-for-Speech-Separation
65c78393388707f6dd9f62c4ffc3621d22e1fa97
[ "MIT" ]
null
null
null
data/AV_data_log.py
mrjunjieli/Looking-to-Listen-at-the-Cocktail-Party-A-Speaker-Indepent-Audio-Visual-Model-for-Speech-Separation
65c78393388707f6dd9f62c4ffc3621d22e1fa97
[ "MIT" ]
1
2021-03-01T12:37:12.000Z
2021-03-01T12:37:12.000Z
data/AV_data_log.py
mrjunjieli/Looking-to-Listen-at-the-Cocktail-Party-A-Speaker-Indepent-Audio-Visual-Model-for-Speech-Separation
65c78393388707f6dd9f62c4ffc3621d22e1fa97
[ "MIT" ]
null
null
null
base_datapath = '/Work19/2020/lijunjie/LRS3/AV_model_database/' with open(base_datapath+'pretrain_dataset.txt', 'r') as tr: lines = tr.readlines() for line in lines: info = line.strip().split('.') num1 = info[0].strip().split('-')[1] num2 = info[0].strip().split('-')[2] new_lin...
42.78125
93
0.563185
183
1,369
4.065574
0.224044
0.120968
0.096774
0.16129
0.823925
0.823925
0.823925
0.823925
0.797043
0.797043
0
0.029779
0.239591
1,369
32
94
42.78125
0.684918
0
0
0.714286
0
0
0.191241
0.064964
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
763f87aaf48d7bc22f7d9d0af9203d4cad9f38a1
5,203
py
Python
perpyu/pytorch/dataloaders.py
ashutoshbsathe/perpyu
6200468bbfda20570fe79d2a70ff8016f73cfa0f
[ "MIT" ]
null
null
null
perpyu/pytorch/dataloaders.py
ashutoshbsathe/perpyu
6200468bbfda20570fe79d2a70ff8016f73cfa0f
[ "MIT" ]
null
null
null
perpyu/pytorch/dataloaders.py
ashutoshbsathe/perpyu
6200468bbfda20570fe79d2a70ff8016f73cfa0f
[ "MIT" ]
null
null
null
import torchvision.datasets as datasets import torchvision.transforms as transforms from torch.utils.data.sampler import SubsetRandomSampler as SRS import torch.utils.data as data_utils import numpy as np import sys MNIST_DATA_ROOT = './mnist_data/' CIFAR10_DATA_ROOT = './cifar10_data/' FMNIST_DATA_ROOT = './fmn...
36.131944
77
0.684989
656
5,203
5.161585
0.097561
0.055818
0.03987
0.095688
0.888364
0.888364
0.888364
0.880095
0.880095
0.880095
0
0.036505
0.210263
5,203
143
78
36.384615
0.78754
0.002306
0
0.783333
0
0
0.008094
0
0
0
0
0
0.025
1
0.025
false
0
0.05
0
0.1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4f2a72564b10f1281da77e5ea535504eb9bf85ec
31,122
py
Python
unet3d/utils/args_utils.py
vuhoangminh/medical-segmentation
4a2a663d1f2d6de5c78bc521f6ed2aa1681a8804
[ "MIT" ]
1
2018-12-06T09:17:26.000Z
2018-12-06T09:17:26.000Z
unet3d/utils/args_utils.py
vuhoangminh/medical-segmentation
4a2a663d1f2d6de5c78bc521f6ed2aa1681a8804
[ "MIT" ]
null
null
null
unet3d/utils/args_utils.py
vuhoangminh/medical-segmentation
4a2a663d1f2d6de5c78bc521f6ed2aa1681a8804
[ "MIT" ]
2
2019-05-07T10:07:33.000Z
2019-05-20T12:50:37.000Z
import argparse from .utils import str2bool from brats.config import config_dict def parent_train_parser(): parser = argparse.ArgumentParser(add_help=False) parser.add_argument('-o', '--overwrite', type=str2bool, default="False") parser.add_argument('-n', '--is_normalize', type=str...
47.587156
96
0.535056
3,265
31,122
4.917611
0.041348
0.096973
0.183171
0.036435
0.958769
0.958645
0.95715
0.952105
0.949988
0.947745
0
0.024846
0.321059
31,122
653
97
47.660031
0.735021
0.000611
0
0.89934
0
0
0.210443
0.001447
0
0
0
0
0
1
0.037954
false
0
0.004951
0
0.080858
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
4f51d48f4ac1532ee7735413b2421e7cda8ffc79
2,784
py
Python
Project/ants/ants_plans.py
IZUMI-Zu/CS61A
50b0352ab5d45e1cd3f0114a397f3bac012ba7c1
[ "MIT" ]
null
null
null
Project/ants/ants_plans.py
IZUMI-Zu/CS61A
50b0352ab5d45e1cd3f0114a397f3bac012ba7c1
[ "MIT" ]
null
null
null
Project/ants/ants_plans.py
IZUMI-Zu/CS61A
50b0352ab5d45e1cd3f0114a397f3bac012ba7c1
[ "MIT" ]
null
null
null
import ants from ants import AssaultPlan def make_test_assault_plan(ants_impl=None): ants_impl = ants_impl or ants return AssaultPlan().add_wave(ants_impl.Bee, 3, 2, 1).add_wave(ants_impl.Bee, 3, 3, 1) def make_easy_assault_plan(ants_impl=None): ants_impl = ants_impl or ants_impl plan = AssaultPlan() ...
35.692308
90
0.668103
518
2,784
3.370656
0.086873
0.261168
0.258305
0.352234
0.934135
0.923826
0.878007
0.861397
0.537228
0.525773
0
0.078237
0.201149
2,784
78
91
35.692308
0.706835
0.010776
0
0.402985
0
0
0
0
0
0
0
0
0
1
0.074627
false
0
0.029851
0
0.179104
0
0
0
0
null
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4f678a716c4e561cb58e85c499656008cc6f53d9
67,839
py
Python
splicing_annotations/countSupportingReads.py
stevenxchen/splicing-modulators
579f4518859c40807271f8c7c833716f550703c4
[ "MIT" ]
null
null
null
splicing_annotations/countSupportingReads.py
stevenxchen/splicing-modulators
579f4518859c40807271f8c7c833716f550703c4
[ "MIT" ]
null
null
null
splicing_annotations/countSupportingReads.py
stevenxchen/splicing-modulators
579f4518859c40807271f8c7c833716f550703c4
[ "MIT" ]
null
null
null
#Junction counter adapted from rMATS "process unique sam" ### import necessary libraries import re,os,sys,logging,time,datetime,commands,argparse; import scipy,math,pickle,pysam; from scipy import stats; def listToString(x): rVal = ''; for a in x: rVal += a+' '; return rVal; ######### basic fu...
52.425811
327
0.520497
9,574
67,839
3.642574
0.052956
0.046797
0.047485
0.016861
0.822762
0.814217
0.803062
0.788897
0.775994
0.760309
0
0.034262
0.310323
67,839
1,293
328
52.466357
0.711116
0.276375
0
0.739388
0
0
0.029393
0.001617
0
0
0
0
0
1
0.007897
false
0
0.002962
0
0.015795
0.009872
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
96dcb1d659a8f4a37e39a7c64f73627971f1d0d9
5,573
py
Python
gans/building_blocks/upsample_blocks.py
christophstach/research-project-gan
1619565e30163a77d4777c5e9738d2393bac59af
[ "Apache-2.0" ]
1
2021-02-13T10:50:28.000Z
2021-02-13T10:50:28.000Z
gans/building_blocks/upsample_blocks.py
christophstach/research-project-gan
1619565e30163a77d4777c5e9738d2393bac59af
[ "Apache-2.0" ]
null
null
null
gans/building_blocks/upsample_blocks.py
christophstach/research-project-gan
1619565e30163a77d4777c5e9738d2393bac59af
[ "Apache-2.0" ]
null
null
null
import math import torch import torch.nn as nn class UpsampleFractionalConv2d(nn.Module): def __init__(self, in_channels, out_channels, kernel_size=4, stride=2, negative_slope=0.2, activation=False): super().__init__() self.negative_slope = negative_slope if activation: sel...
33.981707
120
0.528979
583
5,573
4.809605
0.149228
0.06776
0.101641
0.067404
0.945078
0.945078
0.935806
0.935806
0.935806
0.935806
0
0.019596
0.386506
5,573
163
121
34.190184
0.800526
0.072492
0
0.866142
0
0
0.008525
0
0
0
0
0
0
1
0.070866
false
0
0.023622
0
0.141732
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
96e620b07dd3dd0500957d52aed8e6e09bb47fc0
533
py
Python
chainer_chemistry/dataset/parsers/__init__.py
delta2323/chainerchem
364dd2b26aec2d0b25d5e2b30a9510a9d44814af
[ "MIT" ]
null
null
null
chainer_chemistry/dataset/parsers/__init__.py
delta2323/chainerchem
364dd2b26aec2d0b25d5e2b30a9510a9d44814af
[ "MIT" ]
null
null
null
chainer_chemistry/dataset/parsers/__init__.py
delta2323/chainerchem
364dd2b26aec2d0b25d5e2b30a9510a9d44814af
[ "MIT" ]
1
2019-05-23T12:25:57.000Z
2019-05-23T12:25:57.000Z
from chainer_chemistry.dataset.parsers import base_parser # NOQA from chainer_chemistry.dataset.parsers import csv_file_parser # NOQA from chainer_chemistry.dataset.parsers import sdf_file_parser # NOQA from chainer_chemistry.dataset.parsers.base_parser import BaseFileParser # NOQA from chainer_chemistry.dataset.p...
59.222222
83
0.859287
71
533
6.197183
0.225352
0.175
0.318182
0.429545
0.768182
0.768182
0.504545
0.504545
0.245455
0
0
0
0.093809
533
8
84
66.625
0.910973
0.06379
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
8c05102bc2865e9fddd541cef599c02d6c2b836a
17,873
py
Python
tests/test_cdiquerygenestoterm.py
idekerlab/cdiquerygenestoterm
1a9b0aaf62d661e05b42b6cd24214f1cd183439f
[ "BSD-3-Clause" ]
null
null
null
tests/test_cdiquerygenestoterm.py
idekerlab/cdiquerygenestoterm
1a9b0aaf62d661e05b42b6cd24214f1cd183439f
[ "BSD-3-Clause" ]
null
null
null
tests/test_cdiquerygenestoterm.py
idekerlab/cdiquerygenestoterm
1a9b0aaf62d661e05b42b6cd24214f1cd183439f
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_cdiquerygenestoterm ---------------------------------- Tests for `cdiquerygenestoterm` module. """ import os import sys import unittest import tempfile import shutil from unittest.mock import MagicMock import requests import requests_mock import cdiquerygenesto...
44.349876
88
0.461254
1,477
17,873
5.383886
0.126608
0.090543
0.049296
0.04087
0.846705
0.822309
0.781439
0.74585
0.712022
0.654804
0
0.018764
0.418564
17,873
402
89
44.460199
0.74644
0.014771
0
0.733918
0
0
0.14591
0.006366
0
0
0
0
0.140351
1
0.070175
false
0.008772
0.02924
0
0.102339
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
8c774587fc4dff841f9c945341a239d4acaf7701
4,391
py
Python
exercises/test_F3.py
dataXcode/IPP
c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b
[ "MIT" ]
null
null
null
exercises/test_F3.py
dataXcode/IPP
c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b
[ "MIT" ]
null
null
null
exercises/test_F3.py
dataXcode/IPP
c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b
[ "MIT" ]
null
null
null
def test(): # Test assert("for index, area in enumerate(areas)" in __solution__ or "for index, area in enumerate( areas)" in __solution__ or "for index, area in enumerate(areas )" in __solution__ or "for index, area in enumerate( areas )" in __solution__ ), "اجابة خاطئة: هناك خطأ في صناعة اللوب" ...
141.645161
275
0.530859
571
4,391
3.647986
0.047285
0.175708
0.339894
0.355737
0.968795
0.968795
0.968795
0.950552
0.950552
0.950552
0
0.017658
0.26486
4,391
30
276
146.366667
0.627633
0.000911
0
0.73913
0
0
0.621665
0
0
0
0
0
0.086957
1
0.043478
true
0
0
0
0.043478
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
12
8caf99b9b58822f12a780514bc9d74f2eb0f351e
2,331
py
Python
clusterresults/adr7full.py
rohinkumar/CorrelCalc
d7887448af8d3dc3170c00c0aae6ee2561b8a3d5
[ "MIT" ]
null
null
null
clusterresults/adr7full.py
rohinkumar/CorrelCalc
d7887448af8d3dc3170c00c0aae6ee2561b8a3d5
[ "MIT" ]
null
null
null
clusterresults/adr7full.py
rohinkumar/CorrelCalc
d7887448af8d3dc3170c00c0aae6ee2561b8a3d5
[ "MIT" ]
null
null
null
from correlcalc import * bins = np.arange(0.002,0.052,0.002) acorrdr7flcdmls=atpcf('/usr3/vstr/yrohin/Downloads/DR7-Full.ascii',bins,bins,randfile='/usr3/vstr/yrohin/Downloads/random-DR7-Full.ascii',vtype='sigpi',estimator='ls',weights='eq') print("-------------------------------------") acorrdr7flcdmlsw=atpcf('/usr3/v...
83.25
214
0.677392
319
2,331
4.949843
0.15674
0.081064
0.141862
0.233059
0.931602
0.912603
0.912603
0.912603
0.868271
0.868271
0
0.050572
0.024453
2,331
27
215
86.333333
0.643799
0
0
0.5
0
0
0.494208
0.423423
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
0.384615
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
8cbc7c3f817d9a9ab3a1064f5f2e2e0adb7b1773
10,351
py
Python
tests/unit/configure/test_TableConfigCompleter.py
benkrikler/alphatwirl
cda7d12fec21291ea33af23234fc08be19430934
[ "BSD-3-Clause" ]
null
null
null
tests/unit/configure/test_TableConfigCompleter.py
benkrikler/alphatwirl
cda7d12fec21291ea33af23234fc08be19430934
[ "BSD-3-Clause" ]
7
2018-02-26T10:32:26.000Z
2018-03-19T12:27:12.000Z
tests/unit/configure/test_TableConfigCompleter.py
benkrikler/alphatwirl
cda7d12fec21291ea33af23234fc08be19430934
[ "BSD-3-Clause" ]
null
null
null
import unittest import os from alphatwirl.configure import TableConfigCompleter ##__________________________________________________________________|| class MockDefaultSummary: pass ##__________________________________________________________________|| class MockSummary2: pass ##____________________________________...
29.240113
83
0.551251
806
10,351
6.471464
0.109181
0.038344
0.023198
0.029525
0.860429
0.826495
0.826495
0.814609
0.802339
0.750383
0
0.026324
0.34673
10,351
353
84
29.322946
0.745046
0.044054
0
0.749077
0
0
0.081158
0.04493
0
0
0
0
0.0369
1
0.04428
false
0.01476
0.01107
0
0.073801
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
8cf62c86aab32aaaf7ba687ba71db9322f13960a
174
py
Python
message_media_webhooks/exceptions/__init__.py
messagemedia/webhooks-python-sdk
97a35505298a17041e394353e469e9cf4d5d35e9
[ "Apache-2.0" ]
null
null
null
message_media_webhooks/exceptions/__init__.py
messagemedia/webhooks-python-sdk
97a35505298a17041e394353e469e9cf4d5d35e9
[ "Apache-2.0" ]
null
null
null
message_media_webhooks/exceptions/__init__.py
messagemedia/webhooks-python-sdk
97a35505298a17041e394353e469e9cf4d5d35e9
[ "Apache-2.0" ]
null
null
null
__all__ = [ 'api_exception', 'update_webhook_400_response_exception', 'retrieve_webhook_400_response_exception', 'create_webhook_400_response_exception', ]
29
47
0.764368
18
174
6.444444
0.5
0.258621
0.465517
0.698276
0
0
0
0
0
0
0
0.060811
0.149425
174
6
48
29
0.722973
0
0
0
0
0
0.732558
0.656977
0
0
0
0
0
1
0
false
0
0
0
0
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
509d0901d945785b647dd2cf05d05768dbdff2c5
1,509
py
Python
zhihu/image_download.py
lzjun567/crawler_html2pdf
96a72980cda3b1920557112b86bdbddd06c26ca0
[ "Apache-2.0" ]
710
2017-02-09T10:05:56.000Z
2019-12-06T08:12:29.000Z
zhihu/image_download.py
lzjun567/crawler_html2pdf
96a72980cda3b1920557112b86bdbddd06c26ca0
[ "Apache-2.0" ]
33
2017-02-10T10:03:33.000Z
2019-07-18T13:45:19.000Z
zhihu/image_download.py
lzjun567/crawler_html2pdf
96a72980cda3b1920557112b86bdbddd06c26ca0
[ "Apache-2.0" ]
627
2017-02-10T05:04:56.000Z
2019-12-12T07:53:14.000Z
{"query": {"function_score": {"query": { "bool": {"should": [{"multi_match": {"query": "python", "fields": ["nickname^2", "username^4"]}}], "filter": {"range": {"follower_count": {"gte": "50000", "lte": "100000"}}}}}, "field_value_factor": {"field": "follower_count", "modifier": "log1p", "missing":...
32.106383
102
0.323393
92
1,509
5.152174
0.413043
0.118143
0.075949
0.097046
0.978903
0.864979
0.864979
0.864979
0.864979
0.864979
0
0.049479
0.491054
1,509
47
103
32.106383
0.567708
0
0
0.05
0
0
0.319205
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
50aaf3180af34ea8e8ea8540f9a16c9f1f97b60d
6,673
py
Python
tests/test_auditor/test_auditor_permission.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
tests/test_auditor/test_auditor_permission.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
tests/test_auditor/test_auditor_permission.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
# pylint:disable=ungrouped-imports from unittest.mock import patch import pytest import activitylogs import auditor import tracker from event_manager.events import permission as permission_events from tests.utils import BaseTest @pytest.mark.auditor_mark class AuditorPermissionTest(BaseTest): """Testing subsc...
40.198795
91
0.612019
673
6,673
5.756315
0.087667
0.085183
0.077439
0.082602
0.867062
0.867062
0.864739
0.864739
0.864739
0.864739
0
0.012779
0.308107
6,673
165
92
40.442424
0.826294
0.008842
0
0.727941
0
0
0.163438
0.143765
0
0
0
0
0.147059
1
0.080882
false
0
0.051471
0
0.139706
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
50ab5b16a9ad711da3ee703e235381150eacb690
115
py
Python
guides/testing/db.py
jramirez857/projects
de47cf98cc6b4cc14117924b623ded989ab870d7
[ "Apache-2.0" ]
44
2020-07-07T13:35:51.000Z
2022-03-25T21:45:43.000Z
guides/testing/db.py
jramirez857/projects
de47cf98cc6b4cc14117924b623ded989ab870d7
[ "Apache-2.0" ]
20
2020-10-15T01:33:28.000Z
2022-03-18T14:43:16.000Z
guides/testing/db.py
jramirez857/projects
de47cf98cc6b4cc14117924b623ded989ab870d7
[ "Apache-2.0" ]
4
2021-10-17T09:21:05.000Z
2022-02-06T22:38:50.000Z
from ploomber.clients import SQLAlchemyClient def get_client(): return SQLAlchemyClient('sqlite:///data.db')
19.166667
48
0.765217
13
115
6.692308
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.121739
115
5
49
23
0.861386
0
0
0
0
0
0.147826
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
50f0c56654dd7b0b65246917c0cebb0603581681
1,091
py
Python
old_sims/genPartitionCom.py
CN-UPB/koi-simulator
ca4ddc5019f423a8e901ebed25b44dc5fa165cf0
[ "Apache-2.0" ]
null
null
null
old_sims/genPartitionCom.py
CN-UPB/koi-simulator
ca4ddc5019f423a8e901ebed25b44dc5fa165cf0
[ "Apache-2.0" ]
null
null
null
old_sims/genPartitionCom.py
CN-UPB/koi-simulator
ca4ddc5019f423a8e901ebed25b44dc5fa165cf0
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import sys #currently the parameters are set for the 768 cell example #lines without offset cell = 0 lineOffset = 0 maxLine = 1 lineCounter = 0 for line in range(0, 64): for row in range(0, 48): rowOffset = int(row) / 6 print "**.cell[" + str(cell) + "].partition-id = " + str(ro...
21.392157
88
0.539872
135
1,091
4.362963
0.311111
0.135823
0.129032
0.135823
0.804754
0.804754
0.804754
0.804754
0.804754
0.804754
0
0.064516
0.346471
1,091
50
89
21.82
0.761571
0.100825
0
0.923077
0
0
0.051177
0
0
0
0
0
0
0
null
null
0
0.025641
null
null
0.102564
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
0fa1ff2c9ddd95f2c455c82d766fa7c50dba2d54
14,766
py
Python
tests/integration/preview/hosted_numbers/test_hosted_number_order.py
neetaramaswamy/twilio-python
28472ffab1a170824ba17f12a6c1692a5e849439
[ "MIT" ]
null
null
null
tests/integration/preview/hosted_numbers/test_hosted_number_order.py
neetaramaswamy/twilio-python
28472ffab1a170824ba17f12a6c1692a5e849439
[ "MIT" ]
null
null
null
tests/integration/preview/hosted_numbers/test_hosted_number_order.py
neetaramaswamy/twilio-python
28472ffab1a170824ba17f12a6c1692a5e849439
[ "MIT" ]
null
null
null
# coding=utf-8 """ This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from tests import IntegrationTestCase from tests.holodeck import Request from twilio.base.exceptions import TwilioException from twilio.http.response import Response class HostedNumberOrderTestCase(...
39.693548
129
0.52946
1,079
14,766
7.013902
0.130677
0.02973
0.035677
0.041623
0.923758
0.916358
0.906712
0.906712
0.895481
0.872357
0
0.085442
0.360355
14,766
371
130
39.800539
0.715828
0.007382
0
0.666667
1
0
0.152455
0.043928
0
0
0
0
0.1875
1
0.135417
false
0
0.041667
0
0.1875
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
0fc3ec6920338b285c6da23f6536aa5bb6603374
517
py
Python
0278_FirstBadVersion/python/test_solution.py
jeffvswanson/LeetCode
6bc7d6cad3c2b1bd6ccb2616ec081fb5eb51ccc8
[ "MIT" ]
null
null
null
0278_FirstBadVersion/python/test_solution.py
jeffvswanson/LeetCode
6bc7d6cad3c2b1bd6ccb2616ec081fb5eb51ccc8
[ "MIT" ]
null
null
null
0278_FirstBadVersion/python/test_solution.py
jeffvswanson/LeetCode
6bc7d6cad3c2b1bd6ccb2616ec081fb5eb51ccc8
[ "MIT" ]
null
null
null
import pytest import solution @pytest.mark.parametrize("num_versions,bad_version", [(10, 1), (10, 8), (1, 1), (10, 10), (10, 5)]) def test_initial_pass(num_versions, bad_version): got = solution.initial_pass(num_versions, bad_version) assert got == bad_version @pytest.mark.parametrize("num_versions,bad_ver...
32.3125
99
0.70793
78
517
4.435897
0.25641
0.231214
0.242775
0.364162
0.924855
0.924855
0.83237
0.624277
0.624277
0.369942
0
0.066964
0.133462
517
15
100
34.466667
0.705357
0
0
0.4
0
0
0.092843
0.092843
0
0
0
0
0.2
1
0.2
false
0.4
0.2
0
0.4
0
0
0
0
null
1
1
1
1
1
1
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
0
1
0
0
0
0
0
7
e84c1783601fc216fe1fbb5ed068b621a381c4f0
75,545
py
Python
nova/tests/unit/api/openstack/compute/test_aggregates.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/api/openstack/compute/test_aggregates.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/api/openstack/compute/test_aggregates.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright (c) 2012 Citrix Systems, Inc.' nl|'\n' comment|'# All Rights Reserved.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n...
12.380367
88
0.602714
11,040
75,545
3.997101
0.027355
0.157859
0.09835
0.113579
0.934259
0.91647
0.891837
0.865052
0.829133
0.795096
0
0.002437
0.098378
75,545
6,101
89
12.382396
0.645427
0
0
0.957876
0
0
0.345423
0.057462
0
0
0
0
0.016882
0
null
null
0
0.002131
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
e85a78dad13acdf51d8a12c88754ac3eebe065ac
9,206
py
Python
tests/handler_tests/airtable_request_events.py
OperationCode/operationcode_pyback
c4b8d466baaef16f005c35b290cb48e597a65a32
[ "MIT" ]
16
2018-04-03T17:19:51.000Z
2020-09-12T16:00:43.000Z
tests/handler_tests/airtable_request_events.py
OperationCode/operation_code_pybot
c4b8d466baaef16f005c35b290cb48e597a65a32
[ "MIT" ]
34
2017-10-31T15:53:15.000Z
2018-03-02T17:24:13.000Z
tests/handler_tests/airtable_request_events.py
OperationCode/operationcode_pyback
c4b8d466baaef16f005c35b290cb48e597a65a32
[ "MIT" ]
10
2018-03-24T01:58:06.000Z
2021-01-21T06:50:54.000Z
NEW_AIRTABLE_REQUEST_JSON = { "Skillsets": "C / C++,Web (Frontend Development),Mobile (iOS),Java,DevOps", "Slack User": "ic4rusX", "Details": " Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin blandit porttitor nulla eu consectetur." " Maecenas consectetur erat at odio iaculis, ...
77.361345
218
0.607539
974
9,206
5.652977
0.290554
0.023974
0.016346
0.022884
0.820196
0.814566
0.795496
0.766073
0.739194
0.71522
0
0.064272
0.268195
9,206
118
219
78.016949
0.753006
0
0
0.09434
0
0.04717
0.667391
0.01738
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e8a224b8e0b4468c099775245fa20bc6f2c5206f
28,562
py
Python
swagger_client/api/default_api.py
huyu398/signate-cli
680e3d3d7a66ef736030b7f06147366f3a528f3e
[ "Apache-2.0" ]
1
2022-02-14T13:24:48.000Z
2022-02-14T13:24:48.000Z
swagger_client/api/default_api.py
huyu398/signate-cli
680e3d3d7a66ef736030b7f06147366f3a528f3e
[ "Apache-2.0" ]
6
2020-09-24T09:10:36.000Z
2021-05-13T03:35:13.000Z
swagger_client/api/default_api.py
huyu398/signate-cli
680e3d3d7a66ef736030b7f06147366f3a528f3e
[ "Apache-2.0" ]
8
2020-09-21T19:15:59.000Z
2021-07-08T09:59:52.000Z
# coding: utf-8 """ SIGNATE API API for Public # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library import six from swagger_...
39.179698
135
0.616588
3,212
28,562
5.215442
0.054795
0.050143
0.020774
0.030086
0.947648
0.939828
0.92771
0.917383
0.906996
0.896192
0
0.016056
0.293502
28,562
728
136
39.233516
0.814114
0.308837
0
0.775194
1
0
0.202122
0.053061
0
0
0
0
0
1
0.03876
false
0.015504
0.010336
0
0.105943
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
fa4748679fd06c4375cdd4960e40b6762b87cf78
120
py
Python
cvpl-mail/tests/__init__.py
robinsax/canvas-plugin-multirepo
20fd6a3cc42af5f2cde73e3b100d3edeb4e50c01
[ "Apache-2.0" ]
null
null
null
cvpl-mail/tests/__init__.py
robinsax/canvas-plugin-multirepo
20fd6a3cc42af5f2cde73e3b100d3edeb4e50c01
[ "Apache-2.0" ]
null
null
null
cvpl-mail/tests/__init__.py
robinsax/canvas-plugin-multirepo
20fd6a3cc42af5f2cde73e3b100d3edeb4e50c01
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 ''' Unit tests on the mail plugin for canvas. ''' import canvas as cv import canvas.tests as cvt pass
12
41
0.708333
21
120
4.047619
0.761905
0.282353
0
0
0
0
0
0
0
0
0
0.010417
0.2
120
9
42
13.333333
0.875
0.466667
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.666667
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
d71db099ca97ca1b60bf1a791677e4ca9f9a7c91
120
py
Python
utils/Color.py
koking0/AlexYolo
4db9485b5d4ad88596d1079b644691ca9d90a859
[ "MIT" ]
null
null
null
utils/Color.py
koking0/AlexYolo
4db9485b5d4ad88596d1079b644691ca9d90a859
[ "MIT" ]
null
null
null
utils/Color.py
koking0/AlexYolo
4db9485b5d4ad88596d1079b644691ca9d90a859
[ "MIT" ]
null
null
null
import random def getRandomColor(): return random.randint(0, 255), random.randint(0, 255), random.randint(0, 255)
20
81
0.716667
17
120
5.058824
0.470588
0.453488
0.488372
0.593023
0.593023
0.593023
0.593023
0.593023
0
0
0
0.116505
0.141667
120
5
82
24
0.718447
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
1
1
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
1
0
1
1
0
0
0
9
d73c90b6ecec986ccee2b3433d783b88b7533660
4,772
py
Python
tests/MessageTest.py
hazelcast-incubator/hazelcast-python-client
5ec6c908916a6adef648059314923c0dbf71557b
[ "Apache-2.0" ]
null
null
null
tests/MessageTest.py
hazelcast-incubator/hazelcast-python-client
5ec6c908916a6adef648059314923c0dbf71557b
[ "Apache-2.0" ]
null
null
null
tests/MessageTest.py
hazelcast-incubator/hazelcast-python-client
5ec6c908916a6adef648059314923c0dbf71557b
[ "Apache-2.0" ]
null
null
null
__author__ = 'Jonathan Brodie' from hzclient.clientmessage import ClientMessage from hzclient.clientmessage import AuthenticationMessage import unittest,ctypes class ClientMessageTests(unittest.TestCase): def testHeaderNormal(self): msg=ClientMessage() self.assertEqual(len(msg.encodeMessage()),ms...
27.906433
66
0.639774
535
4,772
5.598131
0.128972
0.205676
0.229716
0.273456
0.749917
0.749917
0.72621
0.716528
0.716528
0.716528
0
0.061577
0.247904
4,772
170
67
28.070588
0.772917
0.031433
0
0.75
0
0
0.004983
0
0
0
0
0
0.056452
1
0.056452
false
0
0.024194
0
0.08871
0
0
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
0
0
0
0
0
0
0
0
9
d790b49e96d99599e4aa37f31920ba8bf2f6f9b0
6,589
py
Python
test/undo_redo.py
aronwoost/sublime-expand-region
555c763026cdaa260c43fc7a90e704b4d0e8a616
[ "MIT" ]
205
2015-01-03T13:28:20.000Z
2022-02-09T08:53:34.000Z
test/undo_redo.py
evandroforks/ExpandRegion
47f33937e1779999396ac7ad4208276dd160df18
[ "MIT" ]
52
2015-01-04T20:15:31.000Z
2021-05-25T21:00:50.000Z
test/undo_redo.py
aronwoost/sublime-expand-region
555c763026cdaa260c43fc7a90e704b4d0e8a616
[ "MIT" ]
31
2015-02-21T14:38:52.000Z
2021-08-24T03:19:12.000Z
import unittest from expand_region_handler import * class UndoRedoTest(unittest.TestCase): def test_dont_crash_with_blank_json (self): settingsJson = '' newSettingsJson = add_to_stack(settingsJson, "teststring", 2, 3, 1, 1); newSettings = json.loads(newSettingsJson) self.assertEqual(newSettings.get...
54.008197
124
0.71498
731
6,589
6.277702
0.109439
0.137285
0.175637
0.195903
0.91436
0.882327
0.857049
0.837002
0.782523
0.740248
0
0.086882
0.119593
6,589
122
125
54.008197
0.704189
0.008954
0
0.660194
0
0.019417
0.267545
0.112013
0
0
0
0
0.407767
1
0.126214
false
0
0.019417
0
0.15534
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
ad264d9cf6ee1502077b6149735a58eb72cb93e4
10,878
py
Python
allennlp/tests/data/dataset_readers/text_classification_json_test.py
tianjianjiang/allennlp
0839f5c263911ec5ff04a2ebe575493c7e0436ef
[ "Apache-2.0" ]
2
2019-12-03T20:04:56.000Z
2021-03-29T10:38:06.000Z
allennlp/tests/data/dataset_readers/text_classification_json_test.py
tianjianjiang/allennlp
0839f5c263911ec5ff04a2ebe575493c7e0436ef
[ "Apache-2.0" ]
null
null
null
allennlp/tests/data/dataset_readers/text_classification_json_test.py
tianjianjiang/allennlp
0839f5c263911ec5ff04a2ebe575493c7e0436ef
[ "Apache-2.0" ]
2
2019-12-04T16:55:13.000Z
2019-12-06T18:47:15.000Z
import pytest from allennlp.data.dataset_readers import TextClassificationJsonReader from allennlp.common.util import ensure_list from allennlp.common.testing import AllenNlpTestCase class TestTextClassificationJsonReader: @pytest.mark.parametrize("lazy", (True, False)) def test_set_skip_indexing_true(self, ...
31.807018
98
0.385365
760
10,878
5.413158
0.207895
0.040836
0.037433
0.061497
0.873116
0.863879
0.839572
0.811376
0.780263
0.753768
0
0.014917
0.48235
10,878
341
99
31.900293
0.715681
0
0
0.809816
0
0
0.158209
0.011031
0
0
0
0
0.082822
1
0.01227
false
0
0.01227
0
0.027607
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
ad289716f5414b4e758c2f581eaa3561f35a8d19
12,192
py
Python
tests/test_provider_vmware_nsxt.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
tests/test_provider_vmware_nsxt.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
tests/test_provider_vmware_nsxt.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# tests/test_provider_vmware_nsxt.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:22:57 UTC) def test_provider_import(): import terrascript.provider.vmware.nsxt def test_resource_import(): from terrascript.resource.vmware.nsxt import nsxt_algorithm_type_ns_service from terrascript.res...
36.39403
88
0.832513
1,669
12,192
5.770521
0.10006
0.163015
0.254179
0.317724
0.906759
0.898868
0.895234
0.874468
0.76586
0.329457
0
0.003089
0.123688
12,192
334
89
36.502994
0.898353
0.039042
0
0.012422
1
0
0
0
0
0
0
0.002994
0
1
0.018634
true
0.006211
0.975155
0
0.993789
0
0
0
0
null
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
11
ad531041fdef31abecc60d6b60919e988505ce6e
8,810
py
Python
tests/test_utils.py
sergeyberezansky/appr
03168addf05c3efd779dad5168fb0a80d0512100
[ "Apache-2.0" ]
31
2017-07-05T07:25:31.000Z
2021-01-18T22:21:57.000Z
tests/test_utils.py
sergeyberezansky/appr
03168addf05c3efd779dad5168fb0a80d0512100
[ "Apache-2.0" ]
48
2017-06-27T15:48:29.000Z
2021-01-26T21:02:27.000Z
tests/test_utils.py
sergeyberezansky/appr
03168addf05c3efd779dad5168fb0a80d0512100
[ "Apache-2.0" ]
17
2017-07-05T07:25:38.000Z
2021-01-20T14:52:29.000Z
from __future__ import absolute_import, division, print_function import os import pytest import appr.utils def test_mkdirp_on_existing_dir(tmpdir): exists = str(tmpdir.mkdir("dir1")) appr.utils.mkdir_p(exists) assert os.path.exists(exists) def test_mkdirp(tmpdir): path = os.path.join(str(tmpdir),...
24.54039
79
0.46765
924
8,810
4.406926
0.107143
0.092829
0.13998
0.162083
0.829322
0.798134
0.786591
0.749509
0.709234
0.666749
0
0.055032
0.300795
8,810
358
80
24.608939
0.606006
0
0
0.808955
0
0.00597
0.371396
0.066515
0
0
0
0
0.032836
1
0.029851
false
0
0.01194
0
0.041791
0.002985
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
ad895ee9a5075081d6c59a96c52331fc29e7d6e4
273
py
Python
strftime.py
pavaniuriti2000/python_files
89e3c6bd95af6756b49bc8ee1fa74f900ea6c681
[ "MIT" ]
null
null
null
strftime.py
pavaniuriti2000/python_files
89e3c6bd95af6756b49bc8ee1fa74f900ea6c681
[ "MIT" ]
null
null
null
strftime.py
pavaniuriti2000/python_files
89e3c6bd95af6756b49bc8ee1fa74f900ea6c681
[ "MIT" ]
null
null
null
#date and time import datetime current_date=datetime.date.today() print(current_date.strftime("%d%b,%Y")) print(current_date.strftime("%d%B,%Y")) print(current_date.strftime("%d%b,%y")) print(current_date.strftime("%d-%b-%Y")) print(current_date.strftime("%d/%b/%Y"))
19.5
40
0.710623
45
273
4.177778
0.266667
0.351064
0.425532
0.638298
0.718085
0.718085
0.718085
0.718085
0.718085
0.718085
0
0
0.058608
273
13
41
21
0.731518
0.047619
0
0
0
0
0.144531
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.714286
0
0
0
null
1
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
9
d11499f42255c5d5a55fd28a063526a36973b6d7
16,898
py
Python
tests/test_datagram_mti.py
JohnSitarski/gestalt
119bc0f1c1c8a9ad1919347573d25f1c502737dc
[ "MIT" ]
null
null
null
tests/test_datagram_mti.py
JohnSitarski/gestalt
119bc0f1c1c8a9ad1919347573d25f1c502737dc
[ "MIT" ]
null
null
null
tests/test_datagram_mti.py
JohnSitarski/gestalt
119bc0f1c1c8a9ad1919347573d25f1c502737dc
[ "MIT" ]
null
null
null
import asyncio import asynctest import logging import socket import unittest.mock from gestalt import serialization from gestalt.datagram.mti import MtiDatagramEndpoint class MtiDatagramEndpointTestCase(asynctest.TestCase): async def test_start_receiver(self): receiver_on_message_mock = unittest.mock.Mock...
41.014563
85
0.706001
2,010
16,898
5.536318
0.074129
0.087168
0.093458
0.049515
0.890097
0.860173
0.852624
0.843907
0.824227
0.813533
0
0.008854
0.224642
16,898
411
86
41.114355
0.840482
0.042549
0
0.822951
0
0
0.019888
0.001573
0
0
0
0
0.219672
1
0
false
0
0.02623
0
0.029508
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
d11a23c33afe98550b12be1733a7e198d9c68292
99
py
Python
tests/basic/tests/__init__.py
handshake/django-tastypie
5f96ec08a94e792b2241e14eb49d5d6ab364b074
[ "BSD-3-Clause" ]
null
null
null
tests/basic/tests/__init__.py
handshake/django-tastypie
5f96ec08a94e792b2241e14eb49d5d6ab364b074
[ "BSD-3-Clause" ]
4
2019-06-04T17:47:07.000Z
2019-07-12T19:06:49.000Z
tests/basic/tests/__init__.py
handshake/django-tastypie
5f96ec08a94e792b2241e14eb49d5d6ab364b074
[ "BSD-3-Clause" ]
null
null
null
from basic.tests.http import * from basic.tests.resources import * from basic.tests.views import *
24.75
35
0.787879
15
99
5.2
0.466667
0.346154
0.538462
0.512821
0
0
0
0
0
0
0
0
0.121212
99
3
36
33
0.896552
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
d146050dd8670c454a11625a0f772968e5a71637
109
py
Python
montepython/likelihoods/Planck15_lowl_TT/__init__.py
archaeo-pteryx/montepython_public
6fbcaa3266fd3a10a8e3ed4190dc65e6f29f1a37
[ "MIT" ]
69
2018-04-20T07:38:33.000Z
2022-03-11T06:55:36.000Z
montepython/likelihoods/Planck15_lowl_TT/__init__.py
archaeo-pteryx/montepython_public
6fbcaa3266fd3a10a8e3ed4190dc65e6f29f1a37
[ "MIT" ]
263
2018-05-20T21:58:11.000Z
2022-03-30T21:45:48.000Z
montepython/likelihoods/Planck15_lowl_TT/__init__.py
archaeo-pteryx/montepython_public
6fbcaa3266fd3a10a8e3ed4190dc65e6f29f1a37
[ "MIT" ]
78
2018-04-21T13:11:54.000Z
2022-02-01T01:57:31.000Z
from montepython.likelihood_class import Likelihood_clik class Planck15_lowl_TT(Likelihood_clik): pass
18.166667
56
0.844037
14
109
6.214286
0.714286
0.321839
0
0
0
0
0
0
0
0
0
0.020833
0.119266
109
5
57
21.8
0.885417
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
d14f50a92c88936a039c1f84b0dbf8dec3e625c1
236
py
Python
src/losses.py
ifranco14/tf_real_estate_images_classification
a6aea3cb2b72fb88db815b0e6fcc72858a8d5f01
[ "MIT" ]
null
null
null
src/losses.py
ifranco14/tf_real_estate_images_classification
a6aea3cb2b72fb88db815b0e6fcc72858a8d5f01
[ "MIT" ]
null
null
null
src/losses.py
ifranco14/tf_real_estate_images_classification
a6aea3cb2b72fb88db815b0e6fcc72858a8d5f01
[ "MIT" ]
null
null
null
import tensorflow as tf # TODO>> SEARCH HOW TO USE WEIGHTED LOSS def get_softmax_cross_entropy(): return tf.losses.softmax_cross_entropy def get_sparse_softmax_cross_entropy(): return tf.losses.sparse_softmax_cross_entropy
19.666667
49
0.805085
35
236
5.085714
0.542857
0.269663
0.426966
0.280899
0.370787
0.370787
0
0
0
0
0
0
0.139831
236
11
50
21.454545
0.876847
0.161017
0
0
0
0
0
0
0
0
0
0.090909
0
1
0.4
true
0
0.2
0.4
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
1
0
0
1
1
0
0
8
0e54ee24dc9ba1a48143da3824634e31aa5ad165
41,209
py
Python
tests/app/views/test_login.py
robot2051/dto-digitalmarketplace-buyer-frontend
cbb71123cb35ea8dc66b17ab4036d78269540b23
[ "MIT" ]
null
null
null
tests/app/views/test_login.py
robot2051/dto-digitalmarketplace-buyer-frontend
cbb71123cb35ea8dc66b17ab4036d78269540b23
[ "MIT" ]
null
null
null
tests/app/views/test_login.py
robot2051/dto-digitalmarketplace-buyer-frontend
cbb71123cb35ea8dc66b17ab4036d78269540b23
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import unicode_literals from app.api_client.error import HTTPError from app.helpers.login_helpers import generate_buyer_creation_token from dmapiclient.audit import AuditTypes from dmutils.email import generate_token, EmailError from dmutils.forms import FakeCsrf from ...helpers import ...
38.730263
120
0.619937
5,014
41,209
4.784204
0.060431
0.043147
0.061781
0.0499
0.814157
0.78064
0.755461
0.727906
0.691221
0.675796
0
0.022192
0.265185
41,209
1,063
121
38.766698
0.769988
0.000315
0
0.620729
1
0
0.197941
0.074647
0
0
0
0
0.171982
1
0.091116
false
0.118451
0.012528
0
0.121868
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
0e58e67d4649d5ef878008d9074dacf7645f53e2
4,768
py
Python
m1_resnet.py
VinGPan/Kaggle-HumanProtein
4d1abcc7f46774355644d30428ed6c73b28fd782
[ "Apache-2.0" ]
null
null
null
m1_resnet.py
VinGPan/Kaggle-HumanProtein
4d1abcc7f46774355644d30428ed6c73b28fd782
[ "Apache-2.0" ]
null
null
null
m1_resnet.py
VinGPan/Kaggle-HumanProtein
4d1abcc7f46774355644d30428ed6c73b28fd782
[ "Apache-2.0" ]
null
null
null
from keras_retinanet.bin.train import train_main from keras_retinanet import models import glob import numpy as np from sklearn.metrics import f1_score import os if __name__ == '__main__': os.chdir("../") model_name = 'resnet101' train_main(0, None, ["csv", "data/trn1.csv", "data/classes.csv", ...
103.652174
3,138
0.676594
675
4,768
4.542222
0.260741
0.277234
0.326158
0.039139
0.047619
0.047619
0.047619
0.047619
0.034573
0.034573
0
0.34171
0.1487
4,768
46
3,138
103.652174
0.413649
0.88255
0
0
0
0
0.155303
0
0
0
0
0
0
1
0
false
0
0.545455
0
0.545455
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
9
0e8ce6111bfdc8cd184e1b50c53efd432202c3a9
121
py
Python
graph_traversal/graph_traversal.py
kelvinguu/traversing-knowledge-graphs
a14ffa228987c735888d877e8b32ec7f0de585be
[ "MIT" ]
24
2017-08-31T17:26:47.000Z
2021-11-15T10:59:00.000Z
graph_traversal/graph_traversal.py
millerjohnp/traversing_knowledge_graphs
a14ffa228987c735888d877e8b32ec7f0de585be
[ "MIT" ]
null
null
null
graph_traversal/graph_traversal.py
millerjohnp/traversing_knowledge_graphs
a14ffa228987c735888d877e8b32ec7f0de585be
[ "MIT" ]
12
2017-08-07T07:25:11.000Z
2020-03-18T16:48:58.000Z
import platform if platform.system() == 'Darwin': from mac_graph_traversal import * else: from graph_traversal import *
24.2
34
0.77686
16
121
5.6875
0.625
0.307692
0.43956
0
0
0
0
0
0
0
0
0
0.132231
121
5
35
24.2
0.866667
0
0
0
0
0
0.04918
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
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
7ee77fbb8cc785096cfb89eb1df6d83ca18cef53
128
py
Python
pandaf/013/mc.py
cpausmit/Kraken
54a5b69d274f928a5e53475b9c281815fadfc139
[ "MIT" ]
null
null
null
pandaf/013/mc.py
cpausmit/Kraken
54a5b69d274f928a5e53475b9c281815fadfc139
[ "MIT" ]
null
null
null
pandaf/013/mc.py
cpausmit/Kraken
54a5b69d274f928a5e53475b9c281815fadfc139
[ "MIT" ]
2
2017-03-22T17:33:38.000Z
2017-09-29T02:38:24.000Z
import PandaProd.Producer.opts PandaProd.Producer.opts.options.config = 'Autumn18' from PandaProd.Producer.prod import process
25.6
51
0.835938
16
128
6.6875
0.625
0.476636
0.392523
0
0
0
0
0
0
0
0
0.016949
0.078125
128
4
52
32
0.889831
0
0
0
0
0
0.0625
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
7ee8416404d55bb23f1e8f4b1c4dc4af2a1189f5
73
py
Python
turnsole/__init__.py
Antonio-hi/turnsole
201e852f6a8699843760fcf4884b7aa6208ab296
[ "MIT" ]
1
2021-03-05T10:09:56.000Z
2021-03-05T10:09:56.000Z
turnsole/__init__.py
Antonio-hi/turnsole
201e852f6a8699843760fcf4884b7aa6208ab296
[ "MIT" ]
null
null
null
turnsole/__init__.py
Antonio-hi/turnsole
201e852f6a8699843760fcf4884b7aa6208ab296
[ "MIT" ]
null
null
null
from .convenience import resize from .convenience import resize_with_pad
24.333333
40
0.863014
10
73
6.1
0.6
0.491803
0.688525
0.885246
0
0
0
0
0
0
0
0
0.109589
73
2
41
36.5
0.938462
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
7d01ac35fe5e7f1a58b6d82b78997620bedf328f
280,501
py
Python
test_json.py
lanl/SHELTIE
e892461c693745bd40b61d3e876423c4daf7bd7b
[ "BSD-3-Clause" ]
2
2020-03-19T08:22:05.000Z
2020-09-02T20:57:39.000Z
test_json.py
lanl/SHELTIE
e892461c693745bd40b61d3e876423c4daf7bd7b
[ "BSD-3-Clause" ]
null
null
null
test_json.py
lanl/SHELTIE
e892461c693745bd40b61d3e876423c4daf7bd7b
[ "BSD-3-Clause" ]
1
2020-03-19T08:22:06.000Z
2020-03-19T08:22:06.000Z
test_json = [] test_json.append("""{"log":[ {"user_responses":[ {"description":"test autologging 2 "}, ]}, {"autogeneratated":[ {"status":""}, {"files":[ {"name":"./sample/interface_deck_2D_decomp/head/interface_deck_2D_decomp.cc","size":79168,"last_modified":1528904996}, {"name":"./s...
384.247945
204,593
0.778582
37,326
280,501
5.550153
0.028345
0.133343
0.115763
0.080197
0.972867
0.967538
0.957618
0.943716
0.927715
0.899124
0
0.12803
0.034207
280,501
729
204,594
384.775034
0.636682
0
0
0.528846
1
0.657967
0.999676
0.961882
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
1
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
7d035e171a440db13ab8eee6ddd2ce81ba1e4999
186
py
Python
tests/conftest.py
anubhavcodes/pytrello
4fbf4e9e70a6e65855c3555f282164a132b39094
[ "MIT" ]
null
null
null
tests/conftest.py
anubhavcodes/pytrello
4fbf4e9e70a6e65855c3555f282164a132b39094
[ "MIT" ]
7
2017-10-11T05:45:18.000Z
2018-08-26T18:53:34.000Z
tests/conftest.py
anubhavcodes/pytrello
4fbf4e9e70a6e65855c3555f282164a132b39094
[ "MIT" ]
1
2019-05-06T10:45:16.000Z
2019-05-06T10:45:16.000Z
import os import pytest basedir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) @pytest.fixture() def setup_tests_directory(): return os.path.join(basedir, "tests")
18.6
69
0.747312
27
186
4.925926
0.555556
0.180451
0.195489
0.225564
0.240602
0
0
0
0
0
0
0
0.107527
186
9
70
20.666667
0.801205
0
0
0
0
0
0.026882
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
7
7d3b024366802b4edc2b2f4f25e2a9f10e02244c
6,083
py
Python
csdl/tests/test_implicit.py
LSDOlab/csdl
04c2c5764f6ca9b865ec87ecfeaf6f22ecacc5a3
[ "MIT" ]
null
null
null
csdl/tests/test_implicit.py
LSDOlab/csdl
04c2c5764f6ca9b865ec87ecfeaf6f22ecacc5a3
[ "MIT" ]
null
null
null
csdl/tests/test_implicit.py
LSDOlab/csdl
04c2c5764f6ca9b865ec87ecfeaf6f22ecacc5a3
[ "MIT" ]
1
2021-10-04T19:40:32.000Z
2021-10-04T19:40:32.000Z
import numpy as np import pytest def test_implicit_nonlinear(backend): from csdl.examples.valid.ex_implicit_apply_nonlinear import example exec('from {} import Simulator'.format(backend)) sim = example(eval('Simulator')) sim['x'] = 1.9 sim.run() np.testing.assert_almost_equal(sim['x'], np.arr...
31.518135
97
0.600855
750
6,083
4.644
0.094667
0.056848
0.094746
0.072351
0.985357
0.985357
0.985357
0.985357
0.985357
0.926787
0
0.059428
0.264179
6,083
192
98
31.682292
0.718722
0.011507
0
0.77707
0
0
0.051905
0
0
0
0
0
0.203822
1
0.050955
false
0
0.11465
0
0.165605
0.063694
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
bc0beb9fe959ee9758f80fac7c38c7f6f795a082
207
py
Python
pymusicdl/modules/__init__.py
insaiyancvk/musicdl
57be64657a61f5002963eb4a5abca200a0fb575f
[ "MIT" ]
18
2021-05-09T01:56:26.000Z
2022-02-21T03:24:53.000Z
pymusicdl/modules/__init__.py
DewanshNehra/pymusicdl
d3aa3e9baad751164acffd16a3f9562e3646fb91
[ "MIT" ]
18
2021-06-20T02:07:05.000Z
2021-12-20T08:29:23.000Z
pymusicdl/modules/__init__.py
DewanshNehra/pymusicdl
d3aa3e9baad751164acffd16a3f9562e3646fb91
[ "MIT" ]
7
2021-06-27T05:44:49.000Z
2021-12-23T16:24:19.000Z
from pymusicdl.modules.common import common from pymusicdl.modules.spotify_downloader import spotify_downloader from pymusicdl.modules.ytDownloader import yt_downloader from pymusicdl.modules.picker import *
51.75
67
0.884058
26
207
6.923077
0.384615
0.288889
0.444444
0.333333
0
0
0
0
0
0
0
0
0.072464
207
4
68
51.75
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
bc3b7af99425da74bfce9216f564f22f967a0bb1
17,102
py
Python
devel/lib/python2.7/dist-packages/robotnik_msgs/msg/_RobotnikMotorsStatus.py
Jam-cpu/Masters-Project---Final
0b266b1f117a579b96507249f0a128d0e3cc082a
[ "BSD-3-Clause-Clear" ]
null
null
null
devel/lib/python2.7/dist-packages/robotnik_msgs/msg/_RobotnikMotorsStatus.py
Jam-cpu/Masters-Project---Final
0b266b1f117a579b96507249f0a128d0e3cc082a
[ "BSD-3-Clause-Clear" ]
null
null
null
devel/lib/python2.7/dist-packages/robotnik_msgs/msg/_RobotnikMotorsStatus.py
Jam-cpu/Masters-Project---Final
0b266b1f117a579b96507249f0a128d0e3cc082a
[ "BSD-3-Clause-Clear" ]
null
null
null
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from robotnik_msgs/RobotnikMotorsStatus.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import robotnik_msgs.msg class RobotnikMotorsStatus(genpy.Message): ...
33.93254
145
0.570752
2,136
17,102
4.437266
0.088483
0.097911
0.076598
0.057396
0.810087
0.799958
0.792994
0.778751
0.770521
0.75575
0
0.023916
0.295872
17,102
503
146
34
0.763162
0.074143
0
0.865342
1
0
0.071693
0.014351
0
0
0.000638
0
0
1
0.01766
false
0
0.011038
0
0.055188
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
70ff1f3f5aa053a769a12889cd1831c357bdf910
18,408
py
Python
example/test.py
YichiZhang-Oxford/auto-adaptive-robust-regression
cf48c5fd4e04dc6a2766ff46cc9739be9fc68fd6
[ "MIT" ]
1
2022-01-28T14:15:32.000Z
2022-01-28T14:15:32.000Z
example/test.py
YichiZhang-Oxford/pyAutoAdaptiveRobustRegression
cf48c5fd4e04dc6a2766ff46cc9739be9fc68fd6
[ "MIT" ]
null
null
null
example/test.py
YichiZhang-Oxford/pyAutoAdaptiveRobustRegression
cf48c5fd4e04dc6a2766ff46cc9739be9fc68fd6
[ "MIT" ]
null
null
null
import numpy as np import pyAutoAdaptiveRobustRegression as arr from tqdm import tqdm import matplotlib.pyplot as plt from sstudentt import SST # --------------- # Mean Estimation # --------------- n = 1000 X=np.random.lognormal(0,1.5,n)-np.exp(1.5**2/2) huber_mean_result = arr.huber_mean(X) print("Huber Mean:", hube...
46.720812
132
0.701977
2,613
18,408
4.495982
0.04669
0.242084
0.17637
0.171604
0.842526
0.82414
0.78507
0.762428
0.719016
0.706418
0
0.026998
0.146838
18,408
394
133
46.720812
0.721044
0.07676
0
0.633333
0
0
0.097421
0.06597
0
0
0
0
0
1
0.036667
false
0
0.016667
0
0.083333
0.016667
0
0
0
null
1
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
cb0adcba566828eea49cbacdea2367546510eef1
189
py
Python
run.py
kutayeroglu/sqlite-db-api
4ec233d55b560a4dbac7f34683de6e72e47bf84e
[ "MIT" ]
null
null
null
run.py
kutayeroglu/sqlite-db-api
4ec233d55b560a4dbac7f34683de6e72e47bf84e
[ "MIT" ]
null
null
null
run.py
kutayeroglu/sqlite-db-api
4ec233d55b560a4dbac7f34683de6e72e47bf84e
[ "MIT" ]
null
null
null
from application import app, db from application.models import User, Action @app.shell_context_processor def make_shell_context(): return {'db' : db, 'user' : User, 'action': Action}
27
55
0.740741
26
189
5.230769
0.538462
0.220588
0
0
0
0
0
0
0
0
0
0
0.148148
189
6
56
31.5
0.844721
0
0
0
0
0
0.063492
0
0
0
0
0
0
1
0.2
true
0
0.4
0.2
0.8
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
1
1
0
0
7
cb3b8423b06551eb4375ff4e9b3ad8a83e759e03
20,239
py
Python
tests/test_requester.py
itomaldonado/PyTravisCI
0b6d4ce84d7b0c596e3174d96753a2c1d8e4b280
[ "MIT" ]
3
2020-03-18T09:15:40.000Z
2021-12-05T11:09:23.000Z
tests/test_requester.py
itomaldonado/PyTravisCI
0b6d4ce84d7b0c596e3174d96753a2c1d8e4b280
[ "MIT" ]
4
2020-12-12T16:10:13.000Z
2021-04-12T07:07:08.000Z
tests/test_requester.py
itomaldonado/PyTravisCI
0b6d4ce84d7b0c596e3174d96753a2c1d8e4b280
[ "MIT" ]
1
2021-03-11T15:33:46.000Z
2021-03-11T15:33:46.000Z
""" Just another Python API for Travis CI (API). A module which provides the tests of our requester module. Author: Nissar Chababy, @funilrys, contactTATAfunilrysTODTODcom Project link: https://github.com/funilrys/PyTravisCI Project documentation: https://pytravisci.readthedocs.io/en/latest/ License ::...
33.124386
86
0.601018
2,176
20,239
5.396599
0.125919
0.025036
0.018735
0.022992
0.814187
0.800307
0.79409
0.781061
0.76437
0.743933
0
0.075821
0.29621
20,239
610
87
33.178689
0.748596
0.18998
0
0.771978
0
0
0.244915
0.034687
0
0
0
0
0.065934
1
0.065934
false
0
0.024725
0
0.093407
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
cb79fed291ef1943ce39cb862cd14801ac7cfb58
3,200
py
Python
core/tests/utils/test_urls.py
samlowe106/Saved-Sorter-For-Reddit
470f3621ae8c4ece7d6eda9de5f1270be6b2e848
[ "MIT" ]
1
2019-08-01T07:29:37.000Z
2019-08-01T07:29:37.000Z
core/tests/utils/test_urls.py
samlowe106/saved-sorter-for-reddit
470f3621ae8c4ece7d6eda9de5f1270be6b2e848
[ "MIT" ]
2
2019-08-08T22:08:12.000Z
2019-09-15T05:49:35.000Z
core/tests/utils/test_urls.py
samlowe106/saved-sorter-for-reddit
470f3621ae8c4ece7d6eda9de5f1270be6b2e848
[ "MIT" ]
null
null
null
import unittest """ Unless otherwise stated, none of the URLs used for testing should be dead. """ class TestURLS(unittest.TestCase): """Verifies that the URLs module works as intended""" def test_determine_name(self): """Verifies that determine_name works as intended""" def test_download(self...
41.025641
136
0.685625
480
3,200
4.458333
0.208333
0.10514
0.095327
0.123364
0.764486
0.737383
0.737383
0.737383
0.721028
0.679907
0
0.023732
0.130938
3,200
78
137
41.025641
0.745775
0.05875
0
0
0
0
0
0
0
0
0
0
0
1
0.6
false
0
0.2
0
1
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
7
cb88170fe507d2c961c658d16654280f7db0e922
2,066
py
Python
test/nli.py
tu-artem/text
9afcfcdfdcb668780aba59fa1d06411645d54dd7
[ "BSD-3-Clause" ]
1
2019-06-11T15:25:34.000Z
2019-06-11T15:25:34.000Z
test/nli.py
tu-artem/text
9afcfcdfdcb668780aba59fa1d06411645d54dd7
[ "BSD-3-Clause" ]
1
2018-11-21T07:03:49.000Z
2018-11-21T07:03:49.000Z
test/nli.py
tu-artem/text
9afcfcdfdcb668780aba59fa1d06411645d54dd7
[ "BSD-3-Clause" ]
1
2022-01-03T13:14:31.000Z
2022-01-03T13:14:31.000Z
from torchtext import data from torchtext import datasets # Testing SNLI print("Run test on SNLI...") TEXT = datasets.nli.ParsedTextField() LABEL = data.LabelField() TREE = datasets.nli.ShiftReduceField() train, val, test = datasets.SNLI.splits(TEXT, LABEL, TREE) print("Fields:", train.fields) print("Number of examp...
30.835821
88
0.756534
290
2,066
5.303448
0.189655
0.050715
0.039012
0.041612
0.843303
0.843303
0.843303
0.788687
0.788687
0.788687
0
0.003193
0.090513
2,066
66
89
31.30303
0.815327
0.014037
0
0.765957
0
0
0.238446
0
0
0
0
0
0
1
0
false
0
0.042553
0
0.042553
0.489362
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
1dd13816f4b19e1f756984121f414f3cc0cae0a8
99
py
Python
one_home_sensor/tests.py
LeadTheSalt/one_home_sensor
8bdea704ab81738cc3cedf02cdaa3042cab95360
[ "MIT" ]
null
null
null
one_home_sensor/tests.py
LeadTheSalt/one_home_sensor
8bdea704ab81738cc3cedf02cdaa3042cab95360
[ "MIT" ]
null
null
null
one_home_sensor/tests.py
LeadTheSalt/one_home_sensor
8bdea704ab81738cc3cedf02cdaa3042cab95360
[ "MIT" ]
null
null
null
import pytest # No tests have been implemeted yet but its ready to be. def test_run(): pass
14.142857
56
0.707071
17
99
4.058824
1
0
0
0
0
0
0
0
0
0
0
0
0.242424
99
7
57
14.142857
0.92
0.545455
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
1ddca0af3dd481a17f3b89af31f0e9b27260df98
4,347
py
Python
1-Lesson-Plans/10-Cryptography/3/activities/11_Crypto_Attacks/unsolved/scripts/password.py
BaleBase/lala
33193a7dd3563c7636493e52fa9a4956ec4b9dc6
[ "CNRI-Python" ]
null
null
null
1-Lesson-Plans/10-Cryptography/3/activities/11_Crypto_Attacks/unsolved/scripts/password.py
BaleBase/lala
33193a7dd3563c7636493e52fa9a4956ec4b9dc6
[ "CNRI-Python" ]
null
null
null
1-Lesson-Plans/10-Cryptography/3/activities/11_Crypto_Attacks/unsolved/scripts/password.py
BaleBase/lala
33193a7dd3563c7636493e52fa9a4956ec4b9dc6
[ "CNRI-Python" ]
1
2021-06-08T06:50:23.000Z
2021-06-08T06:50:23.000Z
secret_password = "marty" def apasswordcheker(password_checkers): if password == "marty": print("You figured out the secret password") def password_check(passwd): SpecialSym =['$', '@', '#', '%'] val = True if len(passwd) < 6: print('length should be at least 6') ...
30.1875
85
0.563607
558
4,347
4.374552
0.139785
0.078656
0.09832
0.085211
0.830807
0.830807
0.830807
0.830807
0.830807
0.830807
0
0.00701
0.343685
4,347
144
86
30.1875
0.84858
0
0
0.841122
0
0
0.307038
0
0
0
0
0
0
1
0.046729
false
0.485981
0
0
0.084112
0.261682
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
699c8350036103b1148e63702cc0735142f1603e
2,656
py
Python
mimo/distributions/gamma.py
MichaelLutter/mimo
8a6a770ee90cbd6fd5cc12141d19442a3477af2c
[ "MIT" ]
null
null
null
mimo/distributions/gamma.py
MichaelLutter/mimo
8a6a770ee90cbd6fd5cc12141d19442a3477af2c
[ "MIT" ]
null
null
null
mimo/distributions/gamma.py
MichaelLutter/mimo
8a6a770ee90cbd6fd5cc12141d19442a3477af2c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Filename: wishart.py # @Date: 2019-06-07-13-36 # @Author: Hany Abdulsamad # @Contact: hany@robot-learning.de import numpy as np import numpy.random as npr from scipy.special import gammaln, digamma from mimo.abstractions import Distribution class Gamma(Distribution...
26.039216
87
0.605045
346
2,656
4.586705
0.216763
0.226843
0.076244
0.066163
0.814745
0.781979
0.770006
0.770006
0.73598
0.73598
0
0.019477
0.265437
2,656
101
88
26.29703
0.793952
0.085467
0
0.645161
0
0
0.003304
0
0
0
0
0
0
1
0.322581
false
0.016129
0.064516
0.225806
0.677419
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
9
69dd81810d360f84cdb45d2a1e5dc58f682abff4
43,743
py
Python
tests/learning/test_managers.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
tests/learning/test_managers.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
tests/learning/test_managers.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""Unit tests of learning managers.""" import pytest from ..utilities.general import is_never_authz, is_no_authz, uses_cataloging, uses_filesystem_only from dlkit.abstract_osid.osid import errors from dlkit.abstract_osid.type.objects import TypeList as abc_type_list from dlkit.primordium.id.primitives import Id fro...
54.406716
176
0.772695
5,326
43,743
5.834773
0.023658
0.097052
0.065324
0.053128
0.959905
0.935513
0.890076
0.858444
0.827005
0.81468
0
0.001453
0.150538
43,743
803
177
54.474471
0.834867
0.277599
0
0.693446
0
0
0.030262
0.021219
0
0
0
0
0.065539
1
0.243129
false
0.010571
0.016913
0
0.270613
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
0e075f888ec5f37c53a6502272a6afa8aa2398ac
13,987
py
Python
Chatbot.py
CeFlorian/ChatBot
ed836af61aeba32b0958afa60b301a1642e23ee0
[ "MIT" ]
null
null
null
Chatbot.py
CeFlorian/ChatBot
ed836af61aeba32b0958afa60b301a1642e23ee0
[ "MIT" ]
null
null
null
Chatbot.py
CeFlorian/ChatBot
ed836af61aeba32b0958afa60b301a1642e23ee0
[ "MIT" ]
null
null
null
from chatterbot import ChatBot from chatterbot.trainers import ListTrainer from chatterbot.trainers import ChatterBotCorpusTrainer import discord import base64 from Crypto import Random from Crypto.Hash import SHA256 from Crypto.Cipher import AES def cipherAES(password, iv): key = SHA256.new(passwor...
85.286585
724
0.735254
1,923
13,987
5.344774
0.228289
0.024324
0.017902
0.062269
0.797626
0.790232
0.790232
0.783032
0.783032
0.77194
0
0.071404
0.183957
13,987
163
725
85.809816
0.828719
0.00958
0
0.064935
0
0.168831
0.683678
0.016876
0
0
0
0.01227
0
1
0.038961
false
0.090909
0.103896
0
0.207792
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
8
3887319325a70672809652d36437927197c9c477
16,418
py
Python
dcm_spec_tools/validator/tests/test_iod_validator.py
mrbean-bremen/dicom-validator
56a6b57346e61e578589143d2752c4fd3f562dfb
[ "MIT" ]
5
2016-12-09T03:30:33.000Z
2019-07-01T14:06:02.000Z
dcm_spec_tools/validator/tests/test_iod_validator.py
mrbean-bremen/dicom-validator
56a6b57346e61e578589143d2752c4fd3f562dfb
[ "MIT" ]
3
2018-04-23T07:16:16.000Z
2021-01-24T18:13:48.000Z
dcm_spec_tools/validator/tests/test_iod_validator.py
mrbean-bremen/dicom-validator
56a6b57346e61e578589143d2752c4fd3f562dfb
[ "MIT" ]
null
null
null
import json import logging import os import unittest from dcm_spec_tools.spec_reader.edition_reader import EditionReader from pydicom.dataset import Dataset from dcm_spec_tools.tests.test_utils import json_fixture_path from dcm_spec_tools.validator.iod_validator import IODValidator class IODValidatorTest(unittest....
40.538272
84
0.550737
1,719
16,418
5.081443
0.126818
0.0585
0.040298
0.053234
0.815341
0.791643
0.786835
0.780996
0.769662
0.747567
0
0.062392
0.332257
16,418
404
85
40.638614
0.734379
0.091241
0
0.730408
0
0.053292
0.218752
0.065626
0
0
0.001346
0
0.115987
1
0.081505
false
0
0.025078
0.003135
0.131661
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
c7f983d66944af2a3f22b0b7394c07cf24ad1ed3
9,667
py
Python
stubs/ssm.py
claytonbrown/troposphere
bf0f1e48b14f578de0221d50f711467ad716ca87
[ "BSD-2-Clause" ]
null
null
null
stubs/ssm.py
claytonbrown/troposphere
bf0f1e48b14f578de0221d50f711467ad716ca87
[ "BSD-2-Clause" ]
null
null
null
stubs/ssm.py
claytonbrown/troposphere
bf0f1e48b14f578de0221d50f711467ad716ca87
[ "BSD-2-Clause" ]
null
null
null
from . import AWSObject, AWSProperty from .validators import * from .constants import * # ------------------------------------------- class SSMParameterValues(AWSProperty): """# ParameterValues - CloudFormationResourceSpecification version: 1.4.0 { "Documentation": "http://docs.aws.amazon.com/AWSCloudFor...
46.700483
227
0.634116
884
9,667
6.930995
0.075792
0.093684
0.062837
0.097111
0.847723
0.840379
0.750449
0.750449
0.750449
0.725967
0
0.001916
0.190131
9,667
206
228
46.927184
0.780687
0.656046
0
0.138889
0
0.416667
0.673854
0.006377
0
0
0
0
0
1
0
false
0
0.083333
0
0.444444
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
2a0fa247129ba72c39d68f2bd0245ec1679b7914
2,871
py
Python
secu.py
IyXerXez72/WebBejad
71fcb2b9cb35f3c97139af4d13c60be5efad79ae
[ "Apache-2.0" ]
null
null
null
secu.py
IyXerXez72/WebBejad
71fcb2b9cb35f3c97139af4d13c60be5efad79ae
[ "Apache-2.0" ]
null
null
null
secu.py
IyXerXez72/WebBejad
71fcb2b9cb35f3c97139af4d13c60be5efad79ae
[ "Apache-2.0" ]
null
null
null
#RECODE SILAHKAN LAH KALO BISA KALK BISA YA BAKU HANTAM KITA #TOOLS BERANNTAKAN JUGA ANE BUAT SENDIRI GA RECOD GAN import marshal exec(marshal.loads("c\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00@\x00\x00\x00s|\x00\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x01\x00l\x01\x00Z\x01\x00d\x02\x00GHd\x03\x00GH...
574.2
2,740
0.765587
617
2,871
3.560778
0.226904
0.363223
0.221211
0.158398
0.281748
0.182977
0.09513
0.075102
0.064178
0.064178
0
0.373935
0.019157
2,871
4
2,741
717.75
0.40625
0.038662
0
0
0
0.5
0.985134
0.9438
0
0
0
0
0
1
0
true
0.5
0.5
0
0.5
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
1
1
1
null
0
0
0
0
0
0
1
1
1
0
0
0
0
13
2a16eb9e4642454e2f7d3dfe6405904b3cc4fbcc
179
py
Python
features/quotes/quotes_scenarios.py
andrewww8711/SmokeTest1
b8de5d0a79d865159461e4886f8277cf5759e48b
[ "Apache-2.0" ]
null
null
null
features/quotes/quotes_scenarios.py
andrewww8711/SmokeTest1
b8de5d0a79d865159461e4886f8277cf5759e48b
[ "Apache-2.0" ]
null
null
null
features/quotes/quotes_scenarios.py
andrewww8711/SmokeTest1
b8de5d0a79d865159461e4886f8277cf5759e48b
[ "Apache-2.0" ]
null
null
null
from pytest_bdd import scenario from features.steps.quote_steps import * @scenario('ca_auto.feature', 'Create California auto quote') def test_create_ca_auto_quote(): pass
19.888889
60
0.787709
26
179
5.153846
0.615385
0.208955
0
0
0
0
0
0
0
0
0
0
0.128492
179
8
61
22.375
0.858974
0
0
0
0
0
0.242938
0
0
0
0
0
0
1
0.2
true
0.2
0.4
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
2a6e60237906fd8c1897b43ad57ca82f29d0c549
88,165
py
Python
view_estimation_correspondences/create_caffe_nets.py
rszeto/click-here-cnn
cb2781a47eb52043d0c93d7866e1a438418437af
[ "MIT" ]
8
2017-11-08T18:36:25.000Z
2020-02-11T23:08:55.000Z
view_estimation_correspondences/create_caffe_nets.py
rszeto/click-here-cnn
cb2781a47eb52043d0c93d7866e1a438418437af
[ "MIT" ]
4
2017-05-17T14:21:55.000Z
2020-02-11T23:08:31.000Z
view_estimation_correspondences/create_caffe_nets.py
rszeto/click-here-cnn
cb2781a47eb52043d0c93d7866e1a438418437af
[ "MIT" ]
7
2017-11-08T17:51:19.000Z
2020-10-10T18:19:58.000Z
import numpy as np import os import sys from warnings import warn import tempfile import shutil from collections import OrderedDict import time import tempfile import subprocess import pdb import argparse # Import global variables view_estimation_correspondences_path = os.path.dirname(os.path.abspath(__file__)) sys.pa...
55.241228
204
0.724596
13,712
88,165
4.345756
0.039746
0.028092
0.026079
0.025105
0.838175
0.808102
0.79268
0.770545
0.758529
0.742184
0
0.030449
0.152169
88,165
1,596
205
55.241228
0.766739
0.06523
0
0.675778
0
0
0.147054
0.02901
0
0
0
0
0.002828
0
null
null
0
0.016965
null
null
0.000943
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
2a6e81e82ab2119b498dfad3cc58850e62dbd127
131
py
Python
spinup/algos/pytorch/sderl/pde-gym/pde_gym/envs/__init__.py
XiaohanZhangCMU/spinningup
b5715f31ceb41f6711901179a1bc0ba9e5979cbd
[ "MIT" ]
2
2020-10-29T12:29:04.000Z
2021-05-01T23:23:45.000Z
spinup/algos/pytorch/sderl/pde-gym/pde_gym/envs/__init__.py
XiaohanZhangCMU/spinningup
b5715f31ceb41f6711901179a1bc0ba9e5979cbd
[ "MIT" ]
null
null
null
spinup/algos/pytorch/sderl/pde-gym/pde_gym/envs/__init__.py
XiaohanZhangCMU/spinningup
b5715f31ceb41f6711901179a1bc0ba9e5979cbd
[ "MIT" ]
null
null
null
from pde_gym.envs.AllenCahn import AllenCahn from pde_gym.envs.HJB import HJB from pde_gym.envs.PricingOption import PricingOption
32.75
52
0.862595
21
131
5.238095
0.380952
0.190909
0.272727
0.381818
0
0
0
0
0
0
0
0
0.091603
131
3
53
43.666667
0.92437
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
aab9f21f9c565a93182ecb777aabf60470dd6cc8
88
py
Python
deploy/__init__.py
Doubledongli/diy-paddleocr
03026354e18c5fd738678b9a6a4e94ab28bfaa0b
[ "Apache-2.0" ]
null
null
null
deploy/__init__.py
Doubledongli/diy-paddleocr
03026354e18c5fd738678b9a6a4e94ab28bfaa0b
[ "Apache-2.0" ]
null
null
null
deploy/__init__.py
Doubledongli/diy-paddleocr
03026354e18c5fd738678b9a6a4e94ab28bfaa0b
[ "Apache-2.0" ]
null
null
null
from deploy import paddle_serving_server from deploy import paddle_serving_server_flask
29.333333
46
0.909091
13
88
5.769231
0.538462
0.266667
0.426667
0.586667
0.933333
0.933333
0
0
0
0
0
0
0.090909
88
2
47
44
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
9
aad2f27f50b5a1775e8bb59538edf3b738e7e9b6
68
py
Python
src/hello/hello.py
bingrao/object-oriented-design
a7957ae26c234ea8a3ccf9c3128c9f6617a26c44
[ "BSD-2-Clause" ]
1
2021-12-01T18:32:39.000Z
2021-12-01T18:32:39.000Z
src/hello/hello.py
bingrao/object-oriented-design
a7957ae26c234ea8a3ccf9c3128c9f6617a26c44
[ "BSD-2-Clause" ]
null
null
null
src/hello/hello.py
bingrao/object-oriented-design
a7957ae26c234ea8a3ccf9c3128c9f6617a26c44
[ "BSD-2-Clause" ]
null
null
null
from . import helpers def printhello(): helpers.printpretty()
13.6
22
0.705882
7
68
6.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.191176
68
5
23
13.6
0.872727
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
0.666667
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
0
1
1
0
7
2abba06c2ad1e5ad5ca1754361a27505d6a726fa
1,689
py
Python
reverseLinkedList/reverseSubList.py
YasinEhsan/interview-prep
ed9f95af5a37b05304e45b41511068b6f72533e7
[ "Apache-2.0" ]
11
2019-05-02T22:27:01.000Z
2020-10-30T08:43:02.000Z
reverseLinkedList/reverseSubList.py
YasinEhsan/interview-prep
ed9f95af5a37b05304e45b41511068b6f72533e7
[ "Apache-2.0" ]
null
null
null
reverseLinkedList/reverseSubList.py
YasinEhsan/interview-prep
ed9f95af5a37b05304e45b41511068b6f72533e7
[ "Apache-2.0" ]
3
2019-11-01T01:35:01.000Z
2020-01-11T18:00:39.000Z
#9.28 6:23AM def reverse_sub_list(head, p, q): # TODO: Write your code here # to capture the apart pre_p, post_q = head, head # to capture the range p_node, q_node = head, head # to track others pointer = head oneStep = pointer.next while oneStep is not None: if oneStep.value == p: pre_p = ...
20.349398
65
0.661338
264
1,689
4.07197
0.181818
0.133953
0.089302
0.027907
0.952558
0.952558
0.952558
0.909767
0.909767
0.909767
0
0.009662
0.264654
1,689
82
66
20.597561
0.855878
0.132031
0
0.964286
0
0
0
0
0
0
0
0.012195
0
1
0.071429
false
0
0
0
0.142857
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
8
2aed48b9ad89c94cc3abf8c713ba62d99f1cbbbe
439
py
Python
test/PyUnitTests.py
sanel/ledger
81e1b4ff3c78cd18e5d8c3844eb8e406dc3c8836
[ "BSD-3-Clause" ]
3,509
2015-01-01T11:47:51.000Z
2022-03-30T09:22:43.000Z
test/PyUnitTests.py
sanel/ledger
81e1b4ff3c78cd18e5d8c3844eb8e406dc3c8836
[ "BSD-3-Clause" ]
651
2015-01-09T16:18:10.000Z
2022-03-26T23:52:00.000Z
test/PyUnitTests.py
sanel/ledger
81e1b4ff3c78cd18e5d8c3844eb8e406dc3c8836
[ "BSD-3-Clause" ]
440
2015-01-02T21:28:11.000Z
2022-03-25T05:38:08.000Z
#!/bin/bash set -e PYTHONPATH="%builddir%/.libs":$PYTHONPATH \ LD_LIBRARY_PATH="%builddir%/.libs":$LD_LIBRARY_PATH \ DYLD_LIBRARY_PATH="%builddir%/.libs":$DYLD_LIBRARY_PATH \ %python% "%builddir%"/test/python/ConvertedTests.py PYTHONPATH="%builddir%/.libs":$PYTHONPATH \ LD_LIBRARY_PATH="%builddir%/.libs":$LD_LIB...
31.357143
57
0.738041
56
439
5.5
0.303571
0.285714
0.168831
0.298701
0.766234
0.766234
0.766234
0.766234
0.766234
0.766234
0
0
0.068337
439
13
58
33.769231
0.753056
0.022779
0
0.666667
0
0
0.266355
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
1
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
2afc9adb87e0f9089df560fb6dc9089659a32fee
306
py
Python
gym_pcgrl/models/__init__.py
rohin-dasari/gym-pcgrl
82718fc3d628e5bf11b3207ebffa57a79c90be4d
[ "MIT" ]
null
null
null
gym_pcgrl/models/__init__.py
rohin-dasari/gym-pcgrl
82718fc3d628e5bf11b3207ebffa57a79c90be4d
[ "MIT" ]
null
null
null
gym_pcgrl/models/__init__.py
rohin-dasari/gym-pcgrl
82718fc3d628e5bf11b3207ebffa57a79c90be4d
[ "MIT" ]
null
null
null
from ray.rllib.models import ModelCatalog from .models import CustomFeedForwardModel, CustomFeedForwardModel3D # register models ModelCatalog.register_custom_model('CustomFeedForwardModel', CustomFeedForwardModel) ModelCatalog.register_custom_model('CustomFeedForwardModel3D', CustomFeedForwardModel3D)
34
88
0.882353
25
306
10.64
0.44
0.090226
0.195489
0.233083
0
0
0
0
0
0
0
0.010453
0.062092
306
8
89
38.25
0.916376
0.04902
0
0
0
0
0.159722
0.159722
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
1
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
630e83c8ef25f0cb4770439cfd3bce142fcc85f5
225
py
Python
{{cookiecutter.repository_name}}/{{cookiecutter.package_name}}/routes/__init__.py
globality-corp/cookiecutter-microcosm-sagemaker
e41a3e752657689033d3c50686606afc5c158f8a
[ "Apache-2.0" ]
1
2020-03-28T02:14:17.000Z
2020-03-28T02:14:17.000Z
{{cookiecutter.repository_name}}/{{cookiecutter.package_name}}/routes/__init__.py
globality-corp/cookiecutter-microcosm-sagemaker
e41a3e752657689033d3c50686606afc5c158f8a
[ "Apache-2.0" ]
6
2019-05-31T21:22:31.000Z
2020-05-28T16:31:12.000Z
{{cookiecutter.repository_name}}/{{cookiecutter.package_name}}/routes/__init__.py
globality-corp/cookiecutter-microcosm-sagemaker
e41a3e752657689033d3c50686606afc5c158f8a
[ "Apache-2.0" ]
1
2019-10-02T07:20:09.000Z
2019-10-02T07:20:09.000Z
import {{ cookiecutter.package_name }}.routes.invocations.controller # noqa: 401 import {{ cookiecutter.package_name }}.routes.invocations.crud # noqa: 401 import {{ cookiecutter.package_name }}.routes.swagger # noqa: 401
56.25
81
0.764444
26
225
6.5
0.423077
0.319527
0.443787
0.514793
0.83432
0.83432
0.497041
0
0
0
0
0.044776
0.106667
225
3
82
75
0.79602
0.128889
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
1
null
null
0
1
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
9
6318a2560aa5e6cd0f815220a27c9433739afddf
4,217
py
Python
t/checkpoint_split1_test.py
rohankumardubey/orioledb
a736714ed5d71c7f85bee23150c4432b3fbdff1f
[ "PostgreSQL" ]
947
2021-11-29T10:58:09.000Z
2022-03-31T18:14:07.000Z
t/checkpoint_split1_test.py
rohankumardubey/orioledb
a736714ed5d71c7f85bee23150c4432b3fbdff1f
[ "PostgreSQL" ]
22
2021-12-12T22:02:32.000Z
2022-03-30T19:31:46.000Z
t/checkpoint_split1_test.py
rohankumardubey/orioledb
a736714ed5d71c7f85bee23150c4432b3fbdff1f
[ "PostgreSQL" ]
30
2021-12-15T01:11:09.000Z
2022-03-27T11:22:16.000Z
#!/usr/bin/env python3 # coding: utf-8 from .checkpoint_split_base_test import CheckpointSplitBaseTest class CheckpointSplit1Test(CheckpointSplitBaseTest): def test_checkpoint_concurrent_leaf_split_chkp(self): self.checkpoint_concurrent_split_base( "SELECT to_char(id, 'fm0000') || repeat('x', 2500) FROM generat...
41.752475
100
0.715438
594
4,217
4.799663
0.124579
0.182392
0.100316
0.08839
0.928095
0.912311
0.876535
0.822518
0.822518
0.822518
0
0.114861
0.128765
4,217
100
101
42.17
0.661132
0.0083
0
0.654762
0
0.214286
0.470096
0.114115
0
0
0
0
0
1
0.154762
false
0
0.011905
0
0.178571
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
2d97f2980037d5650305d1cafee45fbd93d0d9f0
3,672
py
Python
careers/migrations/0003_auto_20210824_2341.py
zain-Z/humimp
fd7e4e211dce62639e2fce2dd9f9506240a7a3d9
[ "MIT" ]
null
null
null
careers/migrations/0003_auto_20210824_2341.py
zain-Z/humimp
fd7e4e211dce62639e2fce2dd9f9506240a7a3d9
[ "MIT" ]
null
null
null
careers/migrations/0003_auto_20210824_2341.py
zain-Z/humimp
fd7e4e211dce62639e2fce2dd9f9506240a7a3d9
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2021-08-24 21:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('careers', '0002_auto_20210813_2351'), ] operations = [ migrations.RemoveField( model_name='careerdetail', name='role...
31.118644
58
0.538126
338
3,672
5.710059
0.168639
0.097927
0.228497
0.272021
0.885492
0.870466
0.870466
0.826943
0.826943
0.826943
0
0.025684
0.342593
3,672
117
59
31.384615
0.773819
0.012255
0
0.738739
1
0
0.120828
0.013241
0
0
0
0
0
1
0
false
0
0.009009
0
0.036036
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
2db25f1093515d162297ada95e58b8d5f2da2d58
539
py
Python
PhysicsTools/Heppy/python/analyzers/objects/all.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
PhysicsTools/Heppy/python/analyzers/objects/all.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
PhysicsTools/Heppy/python/analyzers/objects/all.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
from PhysicsTools.Heppy.analyzers.objects.JetAnalyzer import JetAnalyzer from PhysicsTools.Heppy.analyzers.objects.LeptonAnalyzer import LeptonAnalyzer from PhysicsTools.Heppy.analyzers.objects.METAnalyzer import METAnalyzer from PhysicsTools.Heppy.analyzers.objects.PhotonAnalyzer import PhotonAnalyzer from PhysicsTool...
67.375
82
0.896104
56
539
8.625
0.232143
0.231884
0.304348
0.434783
0.536232
0
0
0
0
0
0
0
0.051948
539
7
83
77
0.945205
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
2db7247ff24adf83f1b66c1ea4e865b6b02bbf91
334
py
Python
azure-kusto-data/azure/kusto/data/_decorators.py
artunduman/azure-kusto-python
d1cda6a552eb32a7c144ee834900d79468a263a3
[ "MIT" ]
134
2018-05-11T07:09:30.000Z
2022-03-30T09:25:59.000Z
azure-kusto-data/azure/kusto/data/_decorators.py
artunduman/azure-kusto-python
d1cda6a552eb32a7c144ee834900d79468a263a3
[ "MIT" ]
176
2018-05-07T20:33:34.000Z
2022-03-31T14:51:06.000Z
azure-kusto-data/azure/kusto/data/_decorators.py
artunduman/azure-kusto-python
d1cda6a552eb32a7c144ee834900d79468a263a3
[ "MIT" ]
85
2018-04-16T08:53:22.000Z
2022-03-29T10:10:55.000Z
def aio_documented_by(original): def wrapper(target): target.__doc__ = "Aio function: {original_doc}".format(original_doc=original.__doc__) return target return wrapper def documented_by(original): def wrapper(target): target.__doc__ = original.__doc__ return target r...
22.266667
93
0.691617
38
334
5.526316
0.289474
0.209524
0.190476
0.219048
0.785714
0.785714
0.785714
0.428571
0
0
0
0
0.227545
334
14
94
23.857143
0.813953
0
0
0.6
0
0
0.083832
0
0
0
0
0
0
1
0.4
false
0
0
0
0.8
0
0
0
0
null
1
1
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
7
2ddbdb748355cab1cf7c737715a0957e7d4a0acf
9,749
py
Python
tests/onboarding_test/test_onboarding_dto.py
DKE-Data/agrirouter-sdk-python
6d6b26606f7d424c62289af56da55acf412772fc
[ "Apache-2.0" ]
null
null
null
tests/onboarding_test/test_onboarding_dto.py
DKE-Data/agrirouter-sdk-python
6d6b26606f7d424c62289af56da55acf412772fc
[ "Apache-2.0" ]
null
null
null
tests/onboarding_test/test_onboarding_dto.py
DKE-Data/agrirouter-sdk-python
6d6b26606f7d424c62289af56da55acf412772fc
[ "Apache-2.0" ]
null
null
null
"""Tests agrirouter/onboarding/dto.py""" from agrirouter.onboarding.dto import ConnectionCriteria, Authentication, ErrorResponse from agrirouter.messaging.exceptions import WrongFieldError import pytest class TestConnectionCriteria: def test_json_deserialize_from_valid_dict(self): client_id = "1" ...
34.570922
118
0.641707
1,022
9,749
5.832681
0.059687
0.176145
0.174467
0.048482
0.864788
0.860091
0.826371
0.80557
0.743667
0.681094
0
0.010697
0.261668
9,749
281
119
34.69395
0.817449
0.003488
0
0.745536
0
0.008929
0.11237
0
0
0
0
0
0.352679
1
0.071429
false
0
0.013393
0
0.098214
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
9308caec3b65df2c898c17d1c67c55da493103e9
49
py
Python
qtpyvcp/widgets/display_widgets/__init__.py
Lcvette/qtpyvcp
4143a4a4e1f557f7d0c8998c886b4a254f0be60b
[ "BSD-3-Clause-LBNL", "MIT" ]
1
2020-09-27T15:46:26.000Z
2020-09-27T15:46:26.000Z
qtpyvcp/widgets/display_widgets/__init__.py
adargel/qtpyvcp
2fcb9c26616ac4effa8d92befa9e1c00a80daafa
[ "BSD-3-Clause-LBNL", "MIT" ]
null
null
null
qtpyvcp/widgets/display_widgets/__init__.py
adargel/qtpyvcp
2fcb9c26616ac4effa8d92befa9e1c00a80daafa
[ "BSD-3-Clause-LBNL", "MIT" ]
null
null
null
from vtk_backplot.vtk_backplot import VTKBackPlot
49
49
0.918367
7
49
6.142857
0.714286
0.511628
0
0
0
0
0
0
0
0
0
0
0.061224
49
1
49
49
0.934783
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
934fc96b1b6f5bdcdec783bb5f202162b86e2a0d
3,684
py
Python
tests/test_deduct_when.py
zoltan-fedor/falcon-limiter
76f7078638f270e4e43e3ab36ba6038e5101cf43
[ "MIT" ]
6
2021-04-08T13:23:30.000Z
2022-03-29T18:16:57.000Z
tests/test_deduct_when.py
zoltan-fedor/falcon-limits
e145c8b6cb9567fa1df1bbc4430c673bb0a34f48
[ "MIT" ]
2
2022-01-19T10:11:22.000Z
2022-01-22T19:36:44.000Z
tests/test_deduct_when.py
zoltan-fedor/falcon-limits
e145c8b6cb9567fa1df1bbc4430c673bb0a34f48
[ "MIT" ]
null
null
null
""" Testing the deduct_when option """ from falcon import API, testing, HTTP_200, HTTP_429, HTTP_500 from falcon_limiter import Limiter from falcon_limiter.utils import get_remote_addr from time import sleep def test_deduct_when_http200_as_default_deduct(): """ Test using the default_deduct_when option to deduct ...
29.007874
103
0.65798
507
3,684
4.607495
0.143984
0.077055
0.077055
0.097603
0.89726
0.89726
0.88613
0.88613
0.88613
0.851884
0
0.03746
0.239142
3,684
126
104
29.238095
0.795933
0.172096
0
0.846154
0
0
0.081484
0
0
0
0
0
0.153846
1
0.115385
false
0
0.051282
0
0.205128
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
93593f4af908d93beab77955da1858ad3e147c55
5,010
py
Python
tests/test_feedgenerator.py
ankurRakuten/WebHelper
5e36d75161588260371978b8a42f4adf1f0ec252
[ "BSD-3-Clause" ]
null
null
null
tests/test_feedgenerator.py
ankurRakuten/WebHelper
5e36d75161588260371978b8a42f4adf1f0ec252
[ "BSD-3-Clause" ]
null
null
null
tests/test_feedgenerator.py
ankurRakuten/WebHelper
5e36d75161588260371978b8a42f4adf1f0ec252
[ "BSD-3-Clause" ]
1
2019-07-31T11:00:05.000Z
2019-07-31T11:00:05.000Z
import datetime from nose.tools import eq_ import webhelpers.feedgenerator as fg def test_simple_feed(): pubdate = datetime.datetime(2009, 12, 18, 23, 45, 12) feed = fg.Rss201rev2Feed( title="Poynter E-Media Tidbits", link="http://www.poynter.org/column.asp?id=31", description="A grou...
58.255814
630
0.667265
728
5,010
4.56044
0.157967
0.046386
0.039759
0.051205
0.938855
0.930422
0.930422
0.930422
0.922289
0.922289
0
0.076244
0.141317
5,010
85
631
58.941176
0.69549
0
0
0.782051
0
0.051282
0.629541
0.20479
0
0
0
0
0
1
0.051282
false
0
0.038462
0
0.089744
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
fa75d43990a53b042ea2481ecfb53bc293a93108
7,395
py
Python
src/attention_models.py
talshapira/SASA
70db6ba36d7602e46fbb95b6a3cac822c8af2ab9
[ "MIT" ]
null
null
null
src/attention_models.py
talshapira/SASA
70db6ba36d7602e46fbb95b6a3cac822c8af2ab9
[ "MIT" ]
null
null
null
src/attention_models.py
talshapira/SASA
70db6ba36d7602e46fbb95b6a3cac822c8af2ab9
[ "MIT" ]
null
null
null
from keras.models import Model from keras.layers import Layer, Input, Dense, Activation, Bidirectional, TimeDistributed, Embedding from keras.layers.recurrent import LSTM from keras.layers.normalization import BatchNormalization from self_attention import SDPA, SDPA_Q_S, SASA, SDPA_QS_KS, SDPA_Mul_S ATTENTION_NAME_TY...
50.650685
176
0.693036
906
7,395
5.347682
0.103753
0.066873
0.070175
0.047884
0.809082
0.796491
0.774407
0.764912
0.734985
0.693705
0
0.021291
0.206085
7,395
145
177
51
0.803952
0.072752
0
0.709677
0
0
0.020106
0
0
0
0
0
0
1
0.056452
false
0
0.040323
0
0.153226
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
fa8b8f44a18c01ec2f03487dd26b0f129b23ea71
722,780
py
Python
pmu-tools-master/ucevent/hsx_uc.py
patinnc/60secs
45ad68e4359e0dfd506f9e3a898c216ed38e7fd0
[ "MIT" ]
null
null
null
pmu-tools-master/ucevent/hsx_uc.py
patinnc/60secs
45ad68e4359e0dfd506f9e3a898c216ed38e7fd0
[ "MIT" ]
null
null
null
pmu-tools-master/ucevent/hsx_uc.py
patinnc/60secs
45ad68e4359e0dfd506f9e3a898c216ed38e7fd0
[ "MIT" ]
1
2021-03-22T20:38:10.000Z
2021-03-22T20:38:10.000Z
# HSX hsxuc_events.v1.00p hsxuc_derived.v1.00p # aliases aliases = { "QPIRxMatch1": "Q_Py_PCI_RX_PMON_BOX_MATCH1", "QPIRxMask1": "Q_Py_PCI_RX_PMON_BOX_MASK1", "IRPFilter": "IRP_PCI_PMON_BOX_FILTER", "PCUFilter": "PCU_MSR_PMON_BOX_FILTER", "QPIRxMask0": "Q_Py_PCI_RX_PMON_BOX_MASK0", "CBoFi...
51.879127
1,159
0.581719
95,878
722,780
4.324089
0.016521
0.044676
0.047831
0.039519
0.94762
0.932615
0.913362
0.905928
0.90066
0.895305
0
0.031788
0.299401
722,780
13,931
1,160
51.882851
0.786936
0.004458
0
0.756718
0
0.077714
0.682339
0.051907
0
0
0.000963
0
0.000724
1
0
false
0.017527
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
fab61d9c62a26aff4b1180227c6e961fc040bb5b
3,613
py
Python
py/tests/bytes.py
fuz-woo/gpython
06dadad26f41e35b57c144ffdac01fb3f23977e9
[ "BSD-3-Clause" ]
520
2018-08-21T19:28:23.000Z
2022-03-30T21:26:10.000Z
py/tests/bytes.py
fuz-woo/gpython
06dadad26f41e35b57c144ffdac01fb3f23977e9
[ "BSD-3-Clause" ]
165
2018-08-22T07:54:29.000Z
2022-03-31T20:34:21.000Z
py/tests/bytes.py
fuz-woo/gpython
06dadad26f41e35b57c144ffdac01fb3f23977e9
[ "BSD-3-Clause" ]
84
2018-08-27T03:29:09.000Z
2022-03-15T23:19:13.000Z
# Copyright 2018 The go-python Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. doc="str" assert str(b"") == "b''" assert str(b"hello") == r"b'hello'" assert str(rb"""hel"lo""") == r"""b'hel"lo'""" assert str(b"""he llo""") == r"""b'he...
150.541667
1,500
0.703847
777
3,613
3.267696
0.261261
0.007877
0.015754
0.012603
0.927137
0.927137
0.916896
0.916896
0.906656
0.906656
0
0.195344
0.025187
3,613
23
1,501
157.086957
0.525554
0.043454
0
0.117647
0
0.235294
0.475377
0.424681
0
1
0
0
0.705882
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
1
0
1
null
1
0
0
1
0
0
0
0
0
0
0
0
0
12
fad77e9b09431efcff5f4b20f5c77c36e00230cb
2,408
py
Python
scan.py
PapaDoraemon/marina-AI
9f9281b5decf889a55d6c1bdbfe3a62adadd47f9
[ "Apache-2.0" ]
1
2020-09-04T12:42:54.000Z
2020-09-04T12:42:54.000Z
scan.py
PapaDoraemon/marina-AI
9f9281b5decf889a55d6c1bdbfe3a62adadd47f9
[ "Apache-2.0" ]
null
null
null
scan.py
PapaDoraemon/marina-AI
9f9281b5decf889a55d6c1bdbfe3a62adadd47f9
[ "Apache-2.0" ]
null
null
null
import subprocess def scan_passive(host): ports_list = [] services_list = [] stdoutdata = subprocess.getoutput("nmap -sS -T2 {} --open | grep \"open\"".format(host)) str=stdoutdata.splitlines() for line in str: line = line.split() services_list.append(line[2]) return ports_...
28.666667
97
0.535714
277
2,408
4.527076
0.158845
0.119617
0.072568
0.083732
0.905901
0.821372
0.821372
0.821372
0.821372
0.821372
0
0.013605
0.328488
2,408
83
98
29.012048
0.761905
0
0
0.857143
0
0
0.090947
0
0
0
0
0
0
1
0.057143
false
0.014286
0.014286
0
0.128571
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
878266b649bd9231dbd71ca822f1b612e390f32d
1,947
py
Python
tests/unittesting/actions/default/helpers/test_run_with_exceptions_and_logs.py
shepilov-vladislav/aiotasks
be888895b6509d062ee4e1564b7eec05477f5a7d
[ "BSD-3-Clause" ]
462
2017-03-28T08:01:28.000Z
2022-03-17T19:13:55.000Z
tests/unittesting/actions/default/helpers/test_run_with_exceptions_and_logs.py
shepilov-vladislav/aiotasks
be888895b6509d062ee4e1564b7eec05477f5a7d
[ "BSD-3-Clause" ]
12
2017-04-02T10:20:57.000Z
2020-10-06T12:18:55.000Z
tests/unittesting/actions/default/helpers/test_run_with_exceptions_and_logs.py
shepilov-vladislav/aiotasks
be888895b6509d062ee4e1564b7eec05477f5a7d
[ "BSD-3-Clause" ]
51
2017-03-31T17:43:34.000Z
2022-03-31T13:42:35.000Z
import logging from aiotasks import run_with_exceptions_and_logs, SharedConfig def test_run_with_exceptions_and_logs_oks(monkeypatch): logger = logging.getLogger("aiotasks") class CustomLogger(logging.StreamHandler): def __init__(self): super(CustomLogger, self).__init__() s...
24.961538
70
0.681561
212
1,947
5.929245
0.245283
0.038982
0.09467
0.111376
0.843278
0.824185
0.824185
0.735879
0.735879
0.735879
0
0.001984
0.223421
1,947
77
71
25.285714
0.829365
0
0
0.729167
0
0
0.093991
0.045198
0
0
0
0
0.0625
1
0.229167
false
0
0.041667
0
0.333333
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
8