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
e95b7c4a4d32de04f316ef321c194f5dcc2591e2
186
py
Python
partnerships/admin.py
leonunesbs/aaafuria-rebon-backend
a969eab64b4968574f2d4ed0d746ca7cc63bf82b
[ "MIT" ]
1
2022-02-23T01:04:51.000Z
2022-02-23T01:04:51.000Z
partnerships/admin.py
leonunesbs/aaafuria-rebon-backend
a969eab64b4968574f2d4ed0d746ca7cc63bf82b
[ "MIT" ]
65
2021-12-12T13:20:58.000Z
2022-03-29T17:03:43.000Z
partnerships/admin.py
leonunesbs/aaafuria-rebon-backend
a969eab64b4968574f2d4ed0d746ca7cc63bf82b
[ "MIT" ]
1
2022-03-06T17:50:49.000Z
2022-03-06T17:50:49.000Z
from django.contrib import admin import partnerships.models as partnerships_models @admin.register(partnerships_models.Partnership) class PartnershipAdmin(admin.ModelAdmin): pass
20.666667
49
0.83871
21
186
7.333333
0.666667
0.350649
0
0
0
0
0
0
0
0
0
0
0.102151
186
8
50
23.25
0.922156
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.4
0
0.6
0
1
0
0
null
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
e9ae451dd2b75474ed4b70e68e92c5a9253d62d1
57,443
py
Python
data_loader/data_helper.py
JiaHe-yogurt/GNN
6b6dbc362591b4521e0b437d17ab09c1c879aa75
[ "Apache-2.0" ]
null
null
null
data_loader/data_helper.py
JiaHe-yogurt/GNN
6b6dbc362591b4521e0b437d17ab09c1c879aa75
[ "Apache-2.0" ]
null
null
null
data_loader/data_helper.py
JiaHe-yogurt/GNN
6b6dbc362591b4521e0b437d17ab09c1c879aa75
[ "Apache-2.0" ]
null
null
null
import networkx as nx from sklearn import preprocessing import numpy as np import os import collections import networkx as nx import matplotlib.pyplot as plt import random import numpy as np from itertools import permutations, combinations import tensorflow.compat.v1 as tf tf.disable_eager_execution() from numpy.linalg...
43.418745
183
0.587626
8,414
57,443
3.857499
0.045757
0.024371
0.009798
0.017284
0.869766
0.844101
0.820162
0.802446
0.783221
0.765998
0
0.045525
0.268858
57,443
1,322
184
43.451589
0.727279
0.176906
0
0.784823
0
0
0.019649
0.006906
0
0
0
0
0
1
0.04158
false
0
0.016632
0
0.101871
0.00104
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
e9de49e53ed38d8dbd257adcc934cbf1e37f7829
437,725
py
Python
wilson/wcxf/converters/smeftsim.py
bednya/wilson
2cd803bc298c3f967401aed119f617fc5d7ba5c0
[ "MIT" ]
24
2018-04-16T15:01:39.000Z
2022-01-26T07:16:22.000Z
wilson/wcxf/converters/smeftsim.py
bednya/wilson
2cd803bc298c3f967401aed119f617fc5d7ba5c0
[ "MIT" ]
85
2018-04-27T08:17:00.000Z
2022-02-22T16:47:14.000Z
wilson/wcxf/converters/smeftsim.py
bednya/wilson
2cd803bc298c3f967401aed119f617fc5d7ba5c0
[ "MIT" ]
17
2018-04-27T07:59:35.000Z
2022-02-09T22:46:05.000Z
"""Functions to convert WCxf files to MadGraph param_cards for SMEFTsim.""" from numpy import angle from collections import OrderedDict from wilson.wcxf.converters.SMEFTsim_param_card_elements import * from wilson.util import smeftutil def initialize_smeftsim_card(model_set): if model_set == 'A': # initialize...
81.619429
145
0.629726
61,683
437,725
4.217986
0.068657
0.15371
0.166963
0.177202
0.968864
0.955065
0.953889
0.95186
0.772594
0.772456
0
0.174748
0.107812
437,725
5,362
146
81.634651
0.491464
0.001241
0
0.299259
0
0
0.288552
0
0
0
0
0
0
1
0.00076
false
0
0.00076
0
0.00228
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
75acaa4092f55e02b29eea4f4c43c803fbd106f2
232
py
Python
src/models/person.py
eboliveira/Music-recommender
9d4cc15c694e628d1ffa29748a82f555d4b3e581
[ "MIT" ]
null
null
null
src/models/person.py
eboliveira/Music-recommender
9d4cc15c694e628d1ffa29748a82f555d4b3e581
[ "MIT" ]
null
null
null
src/models/person.py
eboliveira/Music-recommender
9d4cc15c694e628d1ffa29748a82f555d4b3e581
[ "MIT" ]
3
2020-12-08T20:32:07.000Z
2021-03-31T18:24:44.000Z
class Person: def __init__(self, params): self.name = params.get('name') self.birth_date = params.get('birth_date') def params_str(self): return "{{name: '{}', birth_date: '{}'}}".format(self.name, self.birth_date)
29
80
0.650862
32
232
4.4375
0.40625
0.253521
0.183099
0.239437
0
0
0
0
0
0
0
0
0.155172
232
7
81
33.142857
0.72449
0
0
0
0
0
0.198276
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.666667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
75cb0458f761854e76201ffba18c687a89ce6a3a
157
py
Python
potc_torch/plugin/rules.py
potc-dev/potc-torch
a5eec2051b03271bdafc1389cb29a03aad729752
[ "Apache-2.0" ]
null
null
null
potc_torch/plugin/rules.py
potc-dev/potc-torch
a5eec2051b03271bdafc1389cb29a03aad729752
[ "Apache-2.0" ]
null
null
null
potc_torch/plugin/rules.py
potc-dev/potc-torch
a5eec2051b03271bdafc1389cb29a03aad729752
[ "Apache-2.0" ]
null
null
null
from .torch import torch_tensor, torch_dtype, torch_size, torch_device __rules__ = [ torch_tensor, torch_dtype, torch_size, torch_device, ]
17.444444
70
0.726115
20
157
5.1
0.4
0.215686
0.313725
0.411765
0.803922
0.803922
0.803922
0.803922
0
0
0
0
0.203822
157
8
71
19.625
0.816
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
1
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
f981abdaf721055e8cc5e43edbec46fb754c9ecc
344
py
Python
irekua_permissions/annotations/tools.py
CONABIO-audio/irekua-permissions
563c558e59788054504c852a6a6017bce7469a12
[ "BSD-4-Clause" ]
null
null
null
irekua_permissions/annotations/tools.py
CONABIO-audio/irekua-permissions
563c558e59788054504c852a6a6017bce7469a12
[ "BSD-4-Clause" ]
2
2020-02-12T03:00:51.000Z
2020-04-26T23:27:52.000Z
irekua_permissions/annotations/tools.py
CONABIO-audio/irekua-permissions
563c558e59788054504c852a6a6017bce7469a12
[ "BSD-4-Clause" ]
null
null
null
def view(user, tool): return True def create(user, tool): if user.is_superuser: return True return user.is_developer def change(user, tool): if user.is_superuser: return True return user.is_developer def delete(user, tool): if user.is_superuser: return True r...
14.333333
28
0.656977
48
344
4.583333
0.270833
0.163636
0.136364
0.190909
0.790909
0.790909
0.790909
0.790909
0.790909
0.790909
0
0
0.270349
344
23
29
14.956522
0.876494
0
0
0.714286
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0.071429
0.785714
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
9
f9a28fa5db2b9f40b64a616077ba54ef455be5f9
137
py
Python
latent_gce/__init__.py
PhilipZRH/latent-gce
16eae22a2f8edb8965ba3623e1513ebdfb37e811
[ "MIT" ]
4
2021-04-02T18:31:33.000Z
2022-01-23T22:10:28.000Z
latent_gce/__init__.py
PhilipZRH/latent-gce
16eae22a2f8edb8965ba3623e1513ebdfb37e811
[ "MIT" ]
1
2021-05-20T04:28:41.000Z
2021-05-20T04:28:41.000Z
latent_gce/__init__.py
PhilipZRH/latent-gce
16eae22a2f8edb8965ba3623e1513ebdfb37e811
[ "MIT" ]
2
2021-04-12T22:20:27.000Z
2021-05-19T04:21:48.000Z
from latent_gce.model import * from latent_gce.trajectory_utils import * from latent_gce.utils import * from latent_gce.gce_ppo import *
27.4
41
0.824818
22
137
4.863636
0.363636
0.373832
0.485981
0.53271
0.448598
0
0
0
0
0
0
0
0.116788
137
4
42
34.25
0.884298
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
ddfb109cf4d4cf9239d4fd0bf4067d090f1870e9
18,776
py
Python
services/image-rec-master/test/test_tasks.py
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
1
2020-10-08T14:37:36.000Z
2020-10-08T14:37:36.000Z
services/image-rec-master/test/test_tasks.py
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
33
2017-10-31T22:36:42.000Z
2021-01-10T22:15:54.000Z
services/image-rec-master/test/test_tasks.py
uavaustin/orchestra
b2b60253723caa2f265139f89d4cd3f2d1ba805f
[ "MIT" ]
3
2018-10-07T21:36:02.000Z
2020-02-07T01:13:53.000Z
from aiohttp import ClientSession, web from aioresponses import CallbackResult, aioresponses import pytest from messages.imagery_pb2 import AvailableImages from messages.interop_pb2 import Odlc import service.tasks from service.util import get_int_list, get_int_set @pytest.fixture async def app(aiohttp_client, redi...
37.854839
79
0.66324
2,620
18,776
4.591221
0.058779
0.101505
0.118713
0.144152
0.913958
0.902486
0.897331
0.891013
0.877297
0.853022
0
0.02253
0.182094
18,776
495
80
37.931313
0.760761
0.024553
0
0.754144
0
0
0.218683
0.007211
0
0
0
0
0.309392
1
0.005525
false
0
0.019337
0
0.027624
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
3498e8e58b3afddae35c73784f44aaa305c1c144
140
py
Python
src/lib/db/src/drop_all.py
arnulfojr/money-manager
8600f1ff258a89f5742ffad4d5f589fd1def5259
[ "MIT" ]
1
2020-08-18T08:03:44.000Z
2020-08-18T08:03:44.000Z
src/lib/db/src/drop_all.py
arnulfojr/money-manager
8600f1ff258a89f5742ffad4d5f589fd1def5259
[ "MIT" ]
null
null
null
src/lib/db/src/drop_all.py
arnulfojr/money-manager
8600f1ff258a89f5742ffad4d5f589fd1def5259
[ "MIT" ]
null
null
null
from .. import Model from .. import engine def drop_all(): """Drops all the registered models""" Model.metadata.drop_all(engine)
15.555556
41
0.685714
19
140
4.947368
0.631579
0.212766
0
0
0
0
0
0
0
0
0
0
0.192857
140
8
42
17.5
0.831858
0.221429
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0
0.75
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
1
1
0
1
0
1
0
0
7
34e4451091be240e6791a5e6f455f30f15b21b6f
4,986
py
Python
surveys/models.py
inclusive-design/coop-map-directory-index
b215ea95677dc90fafe60eaa494a4fd6af0431fb
[ "BSD-3-Clause" ]
1
2020-01-28T16:16:49.000Z
2020-01-28T16:16:49.000Z
surveys/models.py
inclusive-design/coop-map-directory-index
b215ea95677dc90fafe60eaa494a4fd6af0431fb
[ "BSD-3-Clause" ]
114
2020-02-12T20:22:07.000Z
2021-09-22T18:29:50.000Z
surveys/models.py
inclusive-design/coop-map-directory-index
b215ea95677dc90fafe60eaa494a4fd6af0431fb
[ "BSD-3-Clause" ]
4
2020-04-21T21:09:25.000Z
2021-01-08T14:18:58.000Z
from django.contrib.gis.db import models class Ecosystem2020Questions(models.Model): column_name = models.CharField(max_length=2) question = models.CharField(max_length=254, blank=True,) class Meta: managed = False db_table = 'surveys_ecosystem2020_questions' class Ecosystem2020(models....
49.366337
116
0.708584
716
4,986
4.807263
0.170391
0.361708
0.43405
0.578733
0.866938
0.866938
0.866938
0.030215
0.030215
0.030215
0
0.062204
0.152026
4,986
100
117
49.86
0.751892
0.010429
0
0.021277
0
0
0.010543
0.010543
0
0
0
0
0
1
0
false
0
0.010638
0
0.957447
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
0
0
0
1
0
0
7
34fd02b72809c479db0ff4c2ea0b86f1248ede6e
13,813
py
Python
calico/felix/test/test_endpoint.py
robbrockbank/felix
3429099d677bec0caa3dd9b8d69d1553304741ca
[ "Apache-2.0" ]
null
null
null
calico/felix/test/test_endpoint.py
robbrockbank/felix
3429099d677bec0caa3dd9b8d69d1553304741ca
[ "Apache-2.0" ]
null
null
null
calico/felix/test/test_endpoint.py
robbrockbank/felix
3429099d677bec0caa3dd9b8d69d1553304741ca
[ "Apache-2.0" ]
1
2016-12-02T12:08:32.000Z
2016-12-02T12:08:32.000Z
# -*- coding: utf-8 -*- # Copyright 2014, 2015 Metaswitch Networks # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
50.047101
79
0.510678
1,350
13,813
4.975556
0.171111
0.054042
0.057168
0.06223
0.736638
0.728897
0.728897
0.728897
0.724431
0.724431
0
0.009322
0.409759
13,813
275
80
50.229091
0.814547
0.117788
0
0.781553
0
0
0.11171
0.06812
0
0
0
0
0.145631
0
null
null
0
0.092233
null
null
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
9b605c23b365ec318b28d6a85713f7d6d8c039ff
88,666
py
Python
Lib/site-packages/OCC/BOPTools.py
JWerbrouck/RWTH_M1_Projekt
7ae63a2277361fa3273cf0677b297379482b8240
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/OCC/BOPTools.py
JWerbrouck/RWTH_M1_Projekt
7ae63a2277361fa3273cf0677b297379482b8240
[ "bzip2-1.0.6" ]
1
2022-03-17T16:46:04.000Z
2022-03-17T16:46:04.000Z
Lib/site-packages/OCC/BOPTools.py
JWerbrouck/RWTH_M1_Projekt
7ae63a2277361fa3273cf0677b297379482b8240
[ "bzip2-1.0.6" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.1 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (3,0,0): new_instancemethod = lambda func, inst, cls: _BOPToo...
29.253052
347
0.657197
9,983
88,666
5.63518
0.056596
0.062002
0.059443
0.037472
0.838488
0.760701
0.751298
0.750018
0.744436
0.736099
0
0.009732
0.253705
88,666
3,030
348
29.262706
0.840429
0.472774
0
0.364723
1
0
0.011164
0
0
0
0
0
0
1
0.270553
false
0.017937
0.074738
0.00299
0.721973
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
1
0
0
0
0
1
0
0
9
9b6c1d99746bf103a912346ed77157d7a12bec0a
49
py
Python
test_sundry/test/__main__.py
jamesabel/sundry
4f63bfa0624c88a3cd05adf2784e9e3e66e094f4
[ "MIT" ]
2
2019-10-02T06:30:27.000Z
2021-07-10T22:39:30.000Z
test_sundry/test/__main__.py
jamesabel/sundry
4f63bfa0624c88a3cd05adf2784e9e3e66e094f4
[ "MIT" ]
3
2019-03-13T17:15:58.000Z
2019-06-04T20:26:57.000Z
test_sundry/test/__main__.py
jamesabel/sundry
4f63bfa0624c88a3cd05adf2784e9e3e66e094f4
[ "MIT" ]
1
2019-03-08T21:37:29.000Z
2019-03-08T21:37:29.000Z
from sundry import is_main assert not is_main()
12.25
26
0.795918
9
49
4.111111
0.777778
0.324324
0
0
0
0
0
0
0
0
0
0
0.163265
49
3
27
16.333333
0.902439
0
0
0
0
0
0
0
0
0
0
0
0.5
1
0
true
0
0.5
0
0.5
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
1
0
0
1
0
1
0
0
0
0
7
9b8a26e9e9af044f0eedb1fd956665a5b8979d7a
3,010
py
Python
tests/terraform/checks/resource/azure/test_FunctionAppsEnableAuthentication.py
kylelaker/checkov
6eada26030a87f397a6bf1831827b3dc6c5dad2d
[ "Apache-2.0" ]
4,013
2019-12-09T13:16:54.000Z
2022-03-31T14:31:01.000Z
tests/terraform/checks/resource/azure/test_FunctionAppsEnableAuthentication.py
kylelaker/checkov
6eada26030a87f397a6bf1831827b3dc6c5dad2d
[ "Apache-2.0" ]
1,258
2019-12-17T09:55:51.000Z
2022-03-31T19:17:17.000Z
tests/terraform/checks/resource/azure/test_FunctionAppsEnableAuthentication.py
kylelaker/checkov
6eada26030a87f397a6bf1831827b3dc6c5dad2d
[ "Apache-2.0" ]
638
2019-12-19T08:57:38.000Z
2022-03-30T21:38:37.000Z
import unittest import hcl2 from checkov.terraform.checks.resource.azure.FunctionAppsEnableAuthentication import check from checkov.common.models.enums import CheckResult class TestFunctionAppsEnableAuthentication(unittest.TestCase): def test_failure_missing_authentication_block(self): hcl_res = hcl2.l...
46.307692
95
0.621927
295
3,010
5.935593
0.2
0.095945
0.061679
0.085665
0.816105
0.816105
0.816105
0.816105
0.816105
0.816105
0
0.003302
0.295681
3,010
64
96
47.03125
0.822642
0
0
0.672727
0
0
0.660797
0.274086
0
0
0
0
0.054545
1
0.054545
false
0.018182
0.072727
0
0.145455
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
fd613517404f82acae209290b5971133e88ce8d3
1,476
py
Python
fastxtend/test_utils.py
warner-benjamin/fastxtend
be969749a0401acb28effad7c09c8f96f699cbcc
[ "MIT" ]
null
null
null
fastxtend/test_utils.py
warner-benjamin/fastxtend
be969749a0401acb28effad7c09c8f96f699cbcc
[ "MIT" ]
null
null
null
fastxtend/test_utils.py
warner-benjamin/fastxtend
be969749a0401acb28effad7c09c8f96f699cbcc
[ "MIT" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/test_utils.ipynb (unless otherwise specified). __all__ = ['test_fail', 'test', 'nequals', 'test_eq', 'test_eq_type', 'test_ne', 'is_close', 'test_close', 'test_is', 'test_shuffled', 'test_stdout', 'test_warns', 'TEST_IMAGE', 'test_fig_exists', 'ExceptionExpect...
70.285714
397
0.715447
195
1,476
4.994872
0.282051
0.036961
0.036961
0.058522
0.7577
0.706366
0.706366
0.706366
0.706366
0.657084
0
0.000791
0.142954
1,476
21
398
70.285714
0.76917
0.340786
0
0
1
0
0.305785
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
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
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
7
bd2bf0e8287050b976aca247631e5e292bcf0670
60,424
py
Python
pybind/slxos/v16r_1_00b/spf_log_state/spf_log_levels/spf_log_events/__init__.py
shivharis/pybind
4e1c6d54b9fd722ccec25546ba2413d79ce337e6
[ "Apache-2.0" ]
null
null
null
pybind/slxos/v16r_1_00b/spf_log_state/spf_log_levels/spf_log_events/__init__.py
shivharis/pybind
4e1c6d54b9fd722ccec25546ba2413d79ce337e6
[ "Apache-2.0" ]
null
null
null
pybind/slxos/v16r_1_00b/spf_log_state/spf_log_levels/spf_log_events/__init__.py
shivharis/pybind
4e1c6d54b9fd722ccec25546ba2413d79ce337e6
[ "Apache-2.0" ]
1
2021-11-05T22:15:42.000Z
2021-11-05T22:15:42.000Z
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
85.951636
2,910
0.73863
8,727
60,424
4.858829
0.035293
0.039125
0.061316
0.064712
0.938613
0.915572
0.903521
0.895526
0.882155
0.873688
0
0.018705
0.115219
60,424
702
2,911
86.074074
0.774438
0.159688
0
0.502551
0
0.040816
0.444611
0.294952
0
0
0
0
0
1
0.130102
false
0
0.020408
0
0.260204
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bd49bdc678b87776168220a19eb9f9ced5cb2cfc
15,098
py
Python
tests/distributions/test_combinators.py
ibab/tensorfit
53bbb324520f34335a272dc057c3ae6e9d2c575e
[ "MIT" ]
95
2016-02-29T08:25:07.000Z
2021-06-02T15:33:01.000Z
tests/distributions/test_combinators.py
tensorprob/tensorprob
53bbb324520f34335a272dc057c3ae6e9d2c575e
[ "MIT" ]
27
2016-02-29T14:49:16.000Z
2019-04-28T21:01:38.000Z
tests/distributions/test_combinators.py
ibab/tensorfit
53bbb324520f34335a272dc057c3ae6e9d2c575e
[ "MIT" ]
19
2016-02-29T00:14:34.000Z
2020-06-18T06:07:39.000Z
from __future__ import division import numpy as np import scipy.stats as st from numpy.testing import assert_array_almost_equal from tensorprob import ( Exponential, MigradOptimizer, Mix2, Mix3, MixN, Model, Normal, Parameter, Poisson ) def test_mix2_fit(): with Model() as mo...
30.37827
95
0.562061
2,358
15,098
3.46268
0.060221
0.113901
0.041151
0.062829
0.902143
0.891121
0.865646
0.838457
0.832823
0.832823
0
0.091733
0.276527
15,098
496
96
30.439516
0.655772
0.052391
0
0.770053
0
0
0
0
0
0
0
0
0.114973
1
0.034759
false
0
0.013369
0
0.080214
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
950391e5a3c451418099d92041eb29e188f3a30d
106
py
Python
ControlFlow/5_1BoolProsirenoOR.py
Smajkan/PythonUcenjePonovo
00982fb4caacb35ed11748dcc471f26257c8e5ed
[ "CC0-1.0" ]
null
null
null
ControlFlow/5_1BoolProsirenoOR.py
Smajkan/PythonUcenjePonovo
00982fb4caacb35ed11748dcc471f26257c8e5ed
[ "CC0-1.0" ]
null
null
null
ControlFlow/5_1BoolProsirenoOR.py
Smajkan/PythonUcenjePonovo
00982fb4caacb35ed11748dcc471f26257c8e5ed
[ "CC0-1.0" ]
null
null
null
print( 1 == 1 or 2 == 2 ) print( 1 == 1 or 2 == 3 ) print( 1 != 1 or 2 == 2 ) print( 2 < 1 or 3 > 6 )
13.25
25
0.415094
24
106
1.833333
0.25
0.272727
0.477273
0.613636
0.840909
0.727273
0.727273
0
0
0
0
0.242424
0.377358
106
7
26
15.142857
0.424242
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
1
null
1
1
1
1
1
1
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
13
1f28447ca26d6e3aff97e8c78f253da253ab1af2
6,968
py
Python
tests/plugins/modules/test_tripleo_shell_script.py
openstack/tripleo-operator-ansible
504216653d509ec7170640eff45c786085520e76
[ "Apache-2.0" ]
7
2020-02-05T20:44:04.000Z
2022-03-08T05:08:07.000Z
tests/plugins/modules/test_tripleo_shell_script.py
openstack/tripleo-operator-ansible
504216653d509ec7170640eff45c786085520e76
[ "Apache-2.0" ]
null
null
null
tests/plugins/modules/test_tripleo_shell_script.py
openstack/tripleo-operator-ansible
504216653d509ec7170640eff45c786085520e76
[ "Apache-2.0" ]
2
2020-05-20T15:16:17.000Z
2021-06-11T09:29:55.000Z
# Copyright 2019 Red Hat, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
37.869565
78
0.594719
827
6,968
4.720677
0.165659
0.061475
0.069928
0.04918
0.816855
0.80917
0.80917
0.795338
0.795338
0.795338
0
0.006079
0.291762
6,968
183
79
38.076503
0.785005
0.085964
0
0.797297
0
0
0.146364
0.051936
0
0
0
0
0.108108
1
0.040541
false
0
0.02027
0
0.067568
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
c80915e2d162e0a79ccae722af51d6e9d839a9d4
12,882
py
Python
integrations/sparse/test_lucenesearcher_check_irst.py
vjeronymo2/pyserini
441077bc3891a8db0e166382cf6c88ba051f289b
[ "Apache-2.0" ]
null
null
null
integrations/sparse/test_lucenesearcher_check_irst.py
vjeronymo2/pyserini
441077bc3891a8db0e166382cf6c88ba051f289b
[ "Apache-2.0" ]
null
null
null
integrations/sparse/test_lucenesearcher_check_irst.py
vjeronymo2/pyserini
441077bc3891a8db0e166382cf6c88ba051f289b
[ "Apache-2.0" ]
null
null
null
# # Pyserini: Reproducible IR research with sparse and dense representations # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
36.185393
99
0.597889
1,658
12,882
4.483715
0.104946
0.096852
0.025827
0.051655
0.886064
0.839656
0.80078
0.791902
0.775491
0.775491
0
0.040948
0.275811
12,882
355
100
36.287324
0.755922
0.060394
0
0.823308
0
0.045113
0.045545
0.020205
0
0
0
0
0.180451
1
0.067669
false
0.056391
0.018797
0
0.097744
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
c80ad5f8b1d06e95aaaa50a5acccb45173a79ea5
213
py
Python
api/infrastructure/ping_controller.py
testingthingsfordev/skeleton-py-flask-rest
19319f61eca1260dcd433528c99db9d8e83ca0e6
[ "MIT" ]
null
null
null
api/infrastructure/ping_controller.py
testingthingsfordev/skeleton-py-flask-rest
19319f61eca1260dcd433528c99db9d8e83ca0e6
[ "MIT" ]
3
2022-03-28T10:44:43.000Z
2022-03-28T11:27:23.000Z
api/infrastructure/ping_controller.py
Rviewer-Challenges/skeleton-py-flask-rest
7873cd08e778e03ef2f371a9974ccfb9f9d64f8a
[ "MIT" ]
null
null
null
from flask_restful import Resource class PingController(Resource): def __init__(self, ping_service): self.ping_service = ping_service def get(self): return self.ping_service.ping(), 200
21.3
44
0.713615
27
213
5.296296
0.555556
0.307692
0.314685
0.265734
0
0
0
0
0
0
0
0.017751
0.206573
213
9
45
23.666667
0.828402
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
8
c82be628b8cac865cbe49dc6d56ffd80df925e88
13,723
py
Python
jetmontecarlo/tests/simple_tests/test_integrate2d.py
samcaf/JetMonteCarlo
71f50f3bb53a4f68ed927eaeaed5ee258da0dd34
[ "MIT" ]
null
null
null
jetmontecarlo/tests/simple_tests/test_integrate2d.py
samcaf/JetMonteCarlo
71f50f3bb53a4f68ed927eaeaed5ee258da0dd34
[ "MIT" ]
null
null
null
jetmontecarlo/tests/simple_tests/test_integrate2d.py
samcaf/JetMonteCarlo
71f50f3bb53a4f68ed927eaeaed5ee258da0dd34
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from matplotlib import cm # Local imports from jetmontecarlo.tests.simple_tests.test_simpleSampler import * from jetmontecarlo.montecarlo.integrator import * from jetmontecarlo.utils.color_utils import * # Parameters NUM_SAMPLES = int(1e4) NUM_BINS = 10 EPSILON = 1e...
34.136816
69
0.512133
1,586
13,723
4.296343
0.103405
0.012915
0.026416
0.028177
0.908571
0.908571
0.908571
0.908571
0.904168
0.904168
0
0.034024
0.348903
13,723
401
70
34.221945
0.728595
0.042848
0
0.904918
0
0
0.041498
0.008391
0
0
0
0
0
1
0.016393
false
0
0.019672
0
0.039344
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
c85ff33c3486bae317cad09b8bed64f15f92832e
206
py
Python
office365api/model/__init__.py
swimlane/python-office365
42c0c0cad0d92e4cd7f18fcf3e75153045a9ea0f
[ "MIT" ]
21
2016-10-27T10:39:25.000Z
2021-06-15T01:03:06.000Z
office365api/model/__init__.py
swimlane/python-office365
42c0c0cad0d92e4cd7f18fcf3e75153045a9ea0f
[ "MIT" ]
6
2017-03-08T06:39:59.000Z
2021-07-12T01:35:05.000Z
office365api/model/__init__.py
swimlane/python-office365
42c0c0cad0d92e4cd7f18fcf3e75153045a9ea0f
[ "MIT" ]
15
2016-12-11T22:33:56.000Z
2021-09-13T17:44:11.000Z
from office365api.model.recipient import Recipient from office365api.model.email_address import EmailAddress from office365api.model.message import Message from office365api.model.item_body import ItemBody
41.2
57
0.883495
26
206
6.923077
0.461538
0.355556
0.466667
0
0
0
0
0
0
0
0
0.063158
0.07767
206
4
58
51.5
0.884211
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
23a317f63bdbdd19dfa407b332fe99125d1925af
143
py
Python
plugins/typo_squatter/komand_typo_squatter/actions/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/typo_squatter/komand_typo_squatter/actions/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/typo_squatter/komand_typo_squatter/actions/__init__.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT from .check_for_squatters.action import CheckForSquatters from .score_domain.action import ScoreDomain
35.75
57
0.839161
20
143
5.85
0.85
0.205128
0
0
0
0
0
0
0
0
0
0
0.118881
143
3
58
47.666667
0.928571
0.258741
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
23f3c3759df140178970f6de15ec33b9c4254629
234
py
Python
let's-learn-python/nesting-functions-and-decorators/nesting-function-2.py
Valka7a/python-playground
f08d4374f2cec2e8b1afec3753854b1ec10ff480
[ "MIT" ]
null
null
null
let's-learn-python/nesting-functions-and-decorators/nesting-function-2.py
Valka7a/python-playground
f08d4374f2cec2e8b1afec3753854b1ec10ff480
[ "MIT" ]
null
null
null
let's-learn-python/nesting-functions-and-decorators/nesting-function-2.py
Valka7a/python-playground
f08d4374f2cec2e8b1afec3753854b1ec10ff480
[ "MIT" ]
null
null
null
def outside(): x = 5 def print_ham(): print x return print_ham myFunc = outside() myFunc() # other way def outside(x = 5): def print_ham(): print x return print_ham myFunc = outside(7) myFunc()
12.315789
20
0.58547
33
234
4.030303
0.333333
0.240602
0.165414
0.180451
0.842105
0.842105
0.842105
0.842105
0.842105
0.842105
0
0.018519
0.307692
234
18
21
13
0.802469
0.038462
0
0.615385
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.461538
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
1
0
0
0
0
0
0
1
0
10
23fc379940972e18d111f3e59b521567fa10108b
21,958
py
Python
twitterproducer/tests/mock_tweets_provider.py
AppleteeYT/Iris
b60deb6575820253bad50b48b9b39023d6440fd4
[ "Apache-2.0" ]
null
null
null
twitterproducer/tests/mock_tweets_provider.py
AppleteeYT/Iris
b60deb6575820253bad50b48b9b39023d6440fd4
[ "Apache-2.0" ]
null
null
null
twitterproducer/tests/mock_tweets_provider.py
AppleteeYT/Iris
b60deb6575820253bad50b48b9b39023d6440fd4
[ "Apache-2.0" ]
null
null
null
import ast import json from datetime import datetime from tweepy import Status from twitterproducer.tweets.itweets_provider import ITweetsProvider status_json = "{'created_at': 'Wed Aug 26 03:22:48 +0000 2020', 'id': 1298460861900652545, 'id_str': " \ "'1298460861900652545', 'full_text': 'https://t.co/...
97.159292
121
0.609983
2,353
21,958
5.459414
0.124522
0.032384
0.022264
0.015413
0.935388
0.931029
0.931029
0.931029
0.931029
0.931029
0
0.128218
0.204026
21,958
225
122
97.591111
0.605962
0
0
0.616438
0
0.461187
0.792786
0.187768
0
0
0.001639
0
0
1
0.009132
false
0
0.022831
0.004566
0.045662
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
f1aeed06b6d6b53ce91a9842579ef006a4f7d657
103,340
py
Python
sdk/python/pulumi_gitlab/project.py
pulumi/pulumi-gitlab
5627240bf718fc765d3a2068acd20621383514c8
[ "ECL-2.0", "Apache-2.0" ]
11
2019-09-17T20:41:23.000Z
2021-12-02T20:39:23.000Z
sdk/python/pulumi_gitlab/project.py
pulumi/pulumi-gitlab
5627240bf718fc765d3a2068acd20621383514c8
[ "ECL-2.0", "Apache-2.0" ]
67
2019-06-21T18:30:30.000Z
2022-03-31T21:27:20.000Z
sdk/python/pulumi_gitlab/project.py
pulumi/pulumi-gitlab
5627240bf718fc765d3a2068acd20621383514c8
[ "ECL-2.0", "Apache-2.0" ]
2
2019-10-05T10:36:36.000Z
2021-05-13T18:14:59.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 ...
48.883633
287
0.677772
12,369
103,340
5.385803
0.028135
0.087185
0.10068
0.062146
0.973235
0.966255
0.957158
0.951124
0.949427
0.93335
0
0.0001
0.223398
103,340
2,113
288
48.906768
0.829977
0.302497
0
0.89811
1
0
0.129901
0.05999
0
0
0
0
0
1
0.17009
false
0.000822
0.027116
0
0.299918
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
f1e7295e54eff9fc43e08ee02c4ec6f8722e3b18
78
py
Python
novautils/__init__.py
novasush/novautils
08ca6adf47cae4bf759ecd1cd3999b64807ed493
[ "MIT" ]
null
null
null
novautils/__init__.py
novasush/novautils
08ca6adf47cae4bf759ecd1cd3999b64807ed493
[ "MIT" ]
null
null
null
novautils/__init__.py
novasush/novautils
08ca6adf47cae4bf759ecd1cd3999b64807ed493
[ "MIT" ]
null
null
null
print("Importing novautils") print("Sample pip package imported successfully")
39
49
0.820513
9
78
7.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.076923
78
2
49
39
0.888889
0
0
0
0
0
0.746835
0
0
0
0
0
0
1
0
true
0
1
0
1
1
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
1
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
7
7b0c2460375650f48d6936df2b351ba33dd71bc9
432,855
py
Python
boto3_type_annotations_with_docs/boto3_type_annotations/elasticache/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
119
2018-12-01T18:20:57.000Z
2022-02-02T10:31:29.000Z
boto3_type_annotations_with_docs/boto3_type_annotations/elasticache/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
15
2018-11-16T00:16:44.000Z
2021-11-13T03:44:18.000Z
boto3_type_annotations_with_docs/boto3_type_annotations/elasticache/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
11
2019-05-06T05:26:51.000Z
2021-09-28T15:27:59.000Z
from typing import Optional from botocore.client import BaseClient from typing import Dict from botocore.paginate import Paginator from datetime import datetime from botocore.waiter import Waiter from typing import Union from typing import List class Client(BaseClient): def add_tags_to_resource(self, ResourceName...
68.370716
1,150
0.571147
43,348
432,855
5.691727
0.02909
0.016707
0.010724
0.007976
0.885204
0.866224
0.846955
0.833458
0.825259
0.81588
0
0.014055
0.335632
432,855
6,330
1,151
68.381517
0.843891
0.86307
0
0.455446
0
0
0
0
0
0
0
0
0
1
0.455446
false
0.455446
0.079208
0
0.544554
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
11
7b206fb93c23a3af801abae48971228081341211
8,553
py
Python
h2o-py/h2o/demo.py
ChristosChristofidis/h2o-3
2a926c0950a98eff5a4c06aeaf0373e17176ecd8
[ "Apache-2.0" ]
null
null
null
h2o-py/h2o/demo.py
ChristosChristofidis/h2o-3
2a926c0950a98eff5a4c06aeaf0373e17176ecd8
[ "Apache-2.0" ]
null
null
null
h2o-py/h2o/demo.py
ChristosChristofidis/h2o-3
2a926c0950a98eff5a4c06aeaf0373e17176ecd8
[ "Apache-2.0" ]
1
2020-12-18T19:20:02.000Z
2020-12-18T19:20:02.000Z
import h2o import sys, os def demo(func=None, interactive=True, echo=True, test=False): """ H2O built-in demo facility :param func: A string that identifies the h2o python function to demonstrate. :param interactive: If True, the user will be prompted to continue the demonstration after every segment....
50.609467
120
0.562259
966
8,553
4.86646
0.170807
0.073389
0.060625
0.076792
0.871942
0.855775
0.845139
0.843012
0.816209
0.793874
0
0.018846
0.280369
8,553
169
121
50.609467
0.744923
0
0
0.687023
0
0.045802
0.404224
0.110164
0
0
0
0
0
0
null
null
0
0.015267
null
null
0.045802
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
9e3c3d8c514a9640c4c392e49c45e75ff1093176
2,050
py
Python
tests/test_delete.py
noqqe/rvo
423e1ea1aea0a2dc849ceae838e18896a13e7771
[ "MIT" ]
14
2016-05-04T13:56:10.000Z
2019-08-01T14:31:33.000Z
tests/test_delete.py
noqqe/rvo
423e1ea1aea0a2dc849ceae838e18896a13e7771
[ "MIT" ]
12
2016-08-01T12:42:53.000Z
2022-02-16T09:37:47.000Z
tests/test_delete.py
noqqe/rvo
423e1ea1aea0a2dc849ceae838e18896a13e7771
[ "MIT" ]
null
null
null
from conftest import rvo_output, rvo_err from click.testing import CliRunner from rvo import cli def test_delete_yes(): options = ['delete', '569e5eed6815b47ce7bdb583', '--yes'] output = ["Removed"] rvo_output(options,output) def test_delete_input_yes(): runner = CliRunner() result = runner.invoke...
35.344828
88
0.704878
251
2,050
5.609562
0.155378
0.049716
0.09233
0.115057
0.808949
0.803977
0.803977
0.803977
0.803977
0.803977
0
0.043178
0.152683
2,050
57
89
35.964912
0.767415
0
0
0.510638
0
0
0.197561
0.058537
0
0
0
0
0.255319
1
0.212766
false
0
0.06383
0
0.276596
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
9e686718e623f5301edcf2f5b0b84cf1ded950d8
293,164
py
Python
install/app_store/tk-framework-qtwidgets/v2.6.5/python/activity_stream/ui/resources_rc.py
JoanAzpeitia/lp_sg
e0ee79555e419dd2ae3a5f31e5515b3f40b22a62
[ "MIT" ]
null
null
null
install/app_store/tk-framework-qtwidgets/v2.6.5/python/activity_stream/ui/resources_rc.py
JoanAzpeitia/lp_sg
e0ee79555e419dd2ae3a5f31e5515b3f40b22a62
[ "MIT" ]
null
null
null
install/app_store/tk-framework-qtwidgets/v2.6.5/python/activity_stream/ui/resources_rc.py
JoanAzpeitia/lp_sg
e0ee79555e419dd2ae3a5f31e5515b3f40b22a62
[ "MIT" ]
1
2020-02-15T10:42:56.000Z
2020-02-15T10:42:56.000Z
# -*- coding: utf-8 -*- # Resource object code # # by: The Resource Compiler for PySide (Qt v4.8.7) # # WARNING! All changes made in this file will be lost! from tank.platform.qt import QtCore qt_resource_data = "\x00\x00\x13]\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x01\x1a\x00\x00\x00+\x08\x03\x00\x...
13,960.190476
291,486
0.740401
67,274
293,164
3.218926
0.122677
0.006373
0.003782
0.001219
0.084876
0.083787
0.078864
0.078587
0.078116
0.076772
0
0.231352
0.001521
293,164
20
291,487
14,658.2
0.508438
0.000508
0
0
0
0.333333
0.998734
0.996761
0
1
0.000027
0
0
1
0.222222
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
1
1
1
null
1
0
0
0
0
1
0
0
0
0
0
0
0
8
9e700c2acd8e1412905a1f56a5b90c92a31935e8
1,329
py
Python
images.py
tikurahul/Inkplate-6-micropython
184eaa1228fcd02b75abaa878f9b7b3229a93410
[ "MIT" ]
21
2020-12-28T20:09:27.000Z
2021-10-04T07:07:33.000Z
images.py
tikurahul/Inkplate-6-micropython
184eaa1228fcd02b75abaa878f9b7b3229a93410
[ "MIT" ]
null
null
null
images.py
tikurahul/Inkplate-6-micropython
184eaa1228fcd02b75abaa878f9b7b3229a93410
[ "MIT" ]
3
2021-01-06T05:55:52.000Z
2021-02-06T00:31:36.000Z
# https://javl.github.io/image2cpp/ # 40x40 CALENDAR_40_40 = bytearray([ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x1c, 0x00, 0x00, 0x38, 0x00, 0x1c, 0x00, 0x00, 0x3c, 0x00, 0x1c, 0x00, 0x01, 0xff, 0xff, 0xff, 0x80, 0x03, 0xff, 0xff, 0xff, 0xc0, 0x07, 0xff, 0xff, 0xff,...
66.45
99
0.642588
210
1,329
4.057143
0.104762
0.507042
0.577465
0.56338
0.920188
0.826291
0.807512
0.723005
0.723005
0.723005
0
0.463918
0.197141
1,329
19
100
69.947368
0.334583
0.029345
0
0
0
0
0
0
0
0
0.622084
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
12
9ea65d81297b45ec6a398fcc04a162922c4ac4d5
119
py
Python
pokemon/status/__init__.py
Rix565/PygaMone
58879a01b5427328824ab4558f6ea3916f1b844a
[ "MIT" ]
null
null
null
pokemon/status/__init__.py
Rix565/PygaMone
58879a01b5427328824ab4558f6ea3916f1b844a
[ "MIT" ]
null
null
null
pokemon/status/__init__.py
Rix565/PygaMone
58879a01b5427328824ab4558f6ea3916f1b844a
[ "MIT" ]
null
null
null
from . import pokemon_status from . import pokemon_stats_modifier from . import status_animations from . import status
23.8
36
0.831933
16
119
5.9375
0.4375
0.421053
0.357895
0
0
0
0
0
0
0
0
0
0.134454
119
4
37
29.75
0.92233
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
7b562920603f9c7c1586fe010e39f972e07e4d1e
295
py
Python
hivemind/client/__init__.py
Vsevolod-pl/hivemind
0300cfd91adeb14d91d9659a98221628f9b775b9
[ "MIT" ]
11
2021-06-21T19:56:01.000Z
2021-12-22T09:06:09.000Z
hivemind/client/__init__.py
Vsevolod-pl/hivemind
0300cfd91adeb14d91d9659a98221628f9b775b9
[ "MIT" ]
null
null
null
hivemind/client/__init__.py
Vsevolod-pl/hivemind
0300cfd91adeb14d91d9659a98221628f9b775b9
[ "MIT" ]
null
null
null
from hivemind.client.expert import RemoteExpert from hivemind.client.moe import RemoteMixtureOfExperts from hivemind.client.switch_moe import RemoteSwitchMixtureOfExperts from hivemind.client.averaging import DecentralizedAverager from hivemind.client.averaging.training import TrainingAverager
49.166667
67
0.894915
32
295
8.21875
0.4375
0.228137
0.342205
0.205323
0
0
0
0
0
0
0
0
0.067797
295
5
68
59
0.956364
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
7b5f108eb1ce335f83209dbe9be032e2e701f074
52,888
py
Python
src/pgr_corpus.py
santiagonasar/PDR
2485be9abf92b2785cb3c8524a01783a8fd60f84
[ "Apache-2.0" ]
7
2019-04-01T15:00:09.000Z
2022-01-04T04:14:53.000Z
src/pgr_corpus.py
santiagonasar/PDR
2485be9abf92b2785cb3c8524a01783a8fd60f84
[ "Apache-2.0" ]
null
null
null
src/pgr_corpus.py
santiagonasar/PDR
2485be9abf92b2785cb3c8524a01783a8fd60f84
[ "Apache-2.0" ]
4
2019-03-27T19:54:12.000Z
2021-02-05T01:04:37.000Z
import os import collections import sys import re import relations #### GENE - GO DICTIONARY: GENE ID - (GO ID, EVIDENCE CODE, GO NAME, CATEGORY), (...) #### def dict_g2go(file_g2go): """Creates a dictionary of type {gene1:[(GO_ID, Evidence, GO_name, category), (GO_ID, Evidence, GO_name, category), ...], } ...
48.789668
306
0.525961
6,132
52,888
4.323059
0.047293
0.067901
0.02452
0.043457
0.925233
0.916594
0.907277
0.900675
0.898714
0.89728
0
0.022794
0.310675
52,888
1,083
307
48.834718
0.704337
0.262952
0
0.833333
0
0
0.098369
0.003696
0.113553
0
0
0
0
1
0.009158
false
0
0.009158
0
0.027473
0.001832
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
7b96b5fa886cd9d651fb4ee9f51b8779c3507bb4
1,674
py
Python
covid19/data/fetch_ncbi_data.py
kingspp/covid19_research
f932f56a38b906cd58477be4e0fabf5c4f372c77
[ "MIT" ]
null
null
null
covid19/data/fetch_ncbi_data.py
kingspp/covid19_research
f932f56a38b906cd58477be4e0fabf5c4f372c77
[ "MIT" ]
null
null
null
covid19/data/fetch_ncbi_data.py
kingspp/covid19_research
f932f56a38b906cd58477be4e0fabf5c4f372c77
[ "MIT" ]
null
null
null
import requests from covid19 import COVID19_MODULE_PATH def fetch_data_and_save(url, file_path): response = requests.get(url) with open(COVID19_MODULE_PATH + f'/data/{file_path}', 'wb') as f: f.write(response.content) url_protein = "https://www.ncbi.nlm.nih.gov/genomes/VirusVariation/vvsearch2/?q=*:...
111.6
648
0.848865
254
1,674
5.275591
0.362205
0.023881
0.026866
0.035821
0.808209
0.79403
0.761194
0.761194
0.761194
0.761194
0
0.025862
0.029869
1,674
15
649
111.6
0.799261
0
0
0
0
0.2
0.783881
0.012537
0
0
0
0
0
1
0.1
false
0
0.2
0
0.3
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
7bab87ae1112e6f7aece02327e62261c8f498e8a
14,608
py
Python
nova/tests/unit/scheduler/test_client.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/scheduler/test_client.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/scheduler/test_client.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) 2014 Red Hat, 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' comme...
13.113106
88
0.629381
2,075
14,608
4.329157
0.089639
0.168318
0.084604
0.073249
0.832127
0.813759
0.788489
0.751308
0.726038
0.684181
0
0.001134
0.094811
14,608
1,113
89
13.124888
0.678212
0
0
0.949686
0
0
0.396427
0.086459
0
0
0
0
0.016173
0
null
null
0
0.008985
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
c884804fd450c27dcbf93a0cdccfe58eee499b84
84
py
Python
testability/__init__.py
m-zakeri/ADAFEST
d13f73682aecded34b4e8fa203435e56dd7a280a
[ "MIT" ]
2
2022-01-04T14:47:35.000Z
2022-02-23T07:14:11.000Z
testability/__init__.py
m-zakeri/ADAFEST
d13f73682aecded34b4e8fa203435e56dd7a280a
[ "MIT" ]
1
2021-03-20T07:25:30.000Z
2021-03-20T07:25:30.000Z
testability/__init__.py
m-zakeri/ADAFEST
d13f73682aecded34b4e8fa203435e56dd7a280a
[ "MIT" ]
1
2022-02-23T07:14:13.000Z
2022-02-23T07:14:13.000Z
from testability import ml_models from testability import descriptive_statistics
14
46
0.869048
10
84
7.1
0.7
0.422535
0.591549
0
0
0
0
0
0
0
0
0
0.130952
84
5
47
16.8
0.972603
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
c89ebc8113c406b19077dabd1a06696ba911b0d2
831
py
Python
amt_tools/datasets/__init__.py
cwitkowitz/transcription-models
e8697d6969b074926ac55986bc02fa1aad04b471
[ "MIT" ]
4
2021-06-15T19:45:26.000Z
2022-03-31T20:42:26.000Z
amt_tools/datasets/__init__.py
cwitkowitz/transcription-models
e8697d6969b074926ac55986bc02fa1aad04b471
[ "MIT" ]
null
null
null
amt_tools/datasets/__init__.py
cwitkowitz/transcription-models
e8697d6969b074926ac55986bc02fa1aad04b471
[ "MIT" ]
1
2021-11-08T02:13:02.000Z
2021-11-08T02:13:02.000Z
""" Should be able to use the following import patterns (e.g.): ------------------------------------------------------------ import amt_tools amt_tools.datasets.GuitarSet() ------------------------------------------------------------ import amt_tools.datasets as dt dt.GuitarSet() ---------------------------------------...
29.678571
60
0.434416
71
831
4.957746
0.323944
0.159091
0.227273
0.170455
0.198864
0.198864
0.198864
0
0
0
0
0.002618
0.080626
831
27
61
30.777778
0.458115
0.854392
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
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
c8a6cc55f5f3c8ba923fef4bb877ec9e0cb58a92
147
py
Python
virtualscreening/vina/spark/pbox_description.py
rodrigofaccioli/drugdesign
de15880af361a010729b1f4fbc8a75a2b36688a6
[ "Apache-2.0" ]
3
2015-01-19T20:12:59.000Z
2019-02-21T18:43:04.000Z
virtualscreening/vina/spark/pbox_description.py
rodrigofaccioli/drugdesign
de15880af361a010729b1f4fbc8a75a2b36688a6
[ "Apache-2.0" ]
22
2015-01-05T16:48:54.000Z
2017-01-21T16:36:10.000Z
virtualscreening/vina/spark/pbox_description.py
rodrigofaccioli/drugdesign
de15880af361a010729b1f4fbc8a75a2b36688a6
[ "Apache-2.0" ]
11
2015-03-03T13:32:24.000Z
2020-04-03T11:22:24.000Z
class pbox_description: def __init__(self, pdb_id): self.pdb_id = pdb_id def get_pdb_id(self): return self.pdb_id
18.375
32
0.619048
22
147
3.636364
0.454545
0.3125
0.3375
0
0
0
0
0
0
0
0
0
0.306122
147
7
33
21
0.784314
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.8
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
c8f77c04624c00af574ca38fa54c57d6e6625079
67,173
py
Python
pystatsm/pylmm/lmm.py
lukepinkel/pystatsm
baa9078a73ab32ec21347aea65555a3f81f10149
[ "MIT" ]
1
2021-03-21T08:07:40.000Z
2021-03-21T08:07:40.000Z
pystatsm/pylmm/lmm.py
lukepinkel/pystats
8e8d7588a63c9ca39b6b7ca1e4a6e92f5a1c0c22
[ "MIT" ]
null
null
null
pystatsm/pylmm/lmm.py
lukepinkel/pystats
8e8d7588a63c9ca39b6b7ca1e4a6e92f5a1c0c22
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Feb 10 00:01:29 2021 @author: lukepinkel """ import tqdm import numpy as np import scipy as sp import pandas as pd import matplotlib as mpl import scipy.sparse as sps import matplotlib.pyplot as plt from .model_matrices import (construct_model_matrices, make_theta, make_gc...
35.428797
104
0.5207
8,821
67,173
3.842081
0.075502
0.026556
0.009442
0.006491
0.837479
0.81352
0.802661
0.780768
0.777227
0.774158
0
0.013104
0.354726
67,173
1,895
105
35.447493
0.768785
0.181338
0
0.763482
0
0
0.010955
0
0
0
0
0
0
1
0.046358
false
0
0.014191
0
0.10123
0.000946
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
c8fd6c4e462c18104994302982087e234c285493
22,960
py
Python
evalne/methods/similarity.py
Dru-Mara/EvalNE
b30c894d8db530137b7d2345436ffea7b6ec521f
[ "MIT" ]
92
2019-01-17T15:50:11.000Z
2022-03-19T12:07:12.000Z
evalne/methods/similarity.py
Dru-Mara/EvalNE
b30c894d8db530137b7d2345436ffea7b6ec521f
[ "MIT" ]
12
2019-05-14T09:05:21.000Z
2022-01-05T17:16:35.000Z
evalne/methods/similarity.py
Dru-Mara/EvalNE
b30c894d8db530137b7d2345436ffea7b6ec521f
[ "MIT" ]
23
2019-01-16T03:48:47.000Z
2022-03-19T10:45:39.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Author: Mara Alexandru Cristian # Contact: alexandru.mara@ugent.be # Date: 18/12/2018 # This file provides implementations of a variety heuristics for computing node-pair similarities. These heuristics are # commonly used as baselines for network embedding evaluation. Al...
32.941176
120
0.604704
3,336
22,960
4.088429
0.080935
0.004546
0.021263
0.026688
0.843684
0.827333
0.820808
0.804531
0.774617
0.765159
0
0.009034
0.276829
22,960
696
121
32.988506
0.812395
0.535279
0
0.770751
0
0
0.045377
0.005089
0
0
0
0.001437
0
1
0.142292
false
0
0.019763
0.027668
0.41502
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
a811aaef151d5f57dccf25c1f966cb6e9975c7b1
7,765
py
Python
quantum/plugins/nicira/nicira_nvp_plugin/tests/test_config.py
r-mibu/neutron
7aebe2468bdcc1befef7d09136fdedafcb0049ec
[ "Apache-2.0" ]
null
null
null
quantum/plugins/nicira/nicira_nvp_plugin/tests/test_config.py
r-mibu/neutron
7aebe2468bdcc1befef7d09136fdedafcb0049ec
[ "Apache-2.0" ]
null
null
null
quantum/plugins/nicira/nicira_nvp_plugin/tests/test_config.py
r-mibu/neutron
7aebe2468bdcc1befef7d09136fdedafcb0049ec
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 Nicira Networks, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
32.086777
78
0.628461
859
7,765
5.523865
0.171129
0.12392
0.166913
0.22255
0.807376
0.787777
0.753214
0.725184
0.725184
0.725184
0
0.048772
0.239536
7,765
241
79
32.219917
0.754784
0.075467
0
0.817308
0
0.024038
0.279553
0.056246
0
0
0
0
0.201923
1
0.052885
false
0.067308
0.019231
0
0.076923
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
1
0
0
0
0
0
9
b521b83f903c70dbbca411e8be96e9500d701c18
100
py
Python
juno/server/http/handler/base/ws_handler.py
DSciLab/juno
1d572c8d3fd06a6c1fcc51b42a6539dd3ae0927e
[ "MIT" ]
null
null
null
juno/server/http/handler/base/ws_handler.py
DSciLab/juno
1d572c8d3fd06a6c1fcc51b42a6539dd3ae0927e
[ "MIT" ]
null
null
null
juno/server/http/handler/base/ws_handler.py
DSciLab/juno
1d572c8d3fd06a6c1fcc51b42a6539dd3ae0927e
[ "MIT" ]
null
null
null
import tornado.websocket class WebSocketBaseHandler(tornado.websocket.WebSocketHandler): pass
16.666667
63
0.83
9
100
9.222222
0.777778
0.385542
0
0
0
0
0
0
0
0
0
0
0.11
100
5
64
20
0.932584
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
b534ca4d6b9063c02aecc17b4e2e61749ada4c91
5,601
py
Python
test_ssterm.py
Alexander3XL/ssterm
339c2426beeef015a96b2ac8a2552f3d79c5b013
[ "MIT" ]
30
2016-02-25T12:42:21.000Z
2022-03-16T17:18:15.000Z
test_ssterm.py
Alexander3XL/ssterm
339c2426beeef015a96b2ac8a2552f3d79c5b013
[ "MIT" ]
1
2015-02-06T19:48:45.000Z
2015-02-06T19:48:45.000Z
test_ssterm.py
Alexander3XL/ssterm
339c2426beeef015a96b2ac8a2552f3d79c5b013
[ "MIT" ]
7
2015-12-10T22:03:05.000Z
2021-12-10T13:27:28.000Z
import os import unittest import ssterm class TestInputProcessors(unittest.TestCase): def test_processor_newline(self): f = ssterm.input_processor_newline(b"abc") self.assertEqual(f(b""), b"") self.assertEqual(f(os.linesep.encode()), b"abc") self.assertEqual(f(b"foo" + os.linesep.e...
49.131579
359
0.584003
836
5,601
3.830144
0.135167
0.299813
0.3198
0.334478
0.835103
0.773579
0.723923
0.633979
0.614304
0.549032
0
0.043619
0.230495
5,601
113
360
49.566372
0.699304
0
0
0.370787
0
0
0.202285
0.009641
0
0
0.006427
0
0.719101
1
0.067416
false
0
0.033708
0
0.123596
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
1
0
0
0
0
0
0
0
0
0
7
b53bfbb84c2955b02d968ee4d5e1ba027800ff27
343,479
py
Python
configs/spec2006/spec_fs.py
farzadfch/gem5
d237637b3c581d53847d8ccca38ffb59b968f073
[ "BSD-3-Clause" ]
1
2019-04-17T23:09:07.000Z
2019-04-17T23:09:07.000Z
configs/spec2006/spec_fs.py
farzadfch/gem5
d237637b3c581d53847d8ccca38ffb59b968f073
[ "BSD-3-Clause" ]
null
null
null
configs/spec2006/spec_fs.py
farzadfch/gem5
d237637b3c581d53847d8ccca38ffb59b968f073
[ "BSD-3-Clause" ]
2
2018-08-24T15:02:16.000Z
2019-01-15T14:58:26.000Z
#spec_fs.py import sys class fsBench: def __init__(self, cmd): self.cmd = cmd self.cwd = "/root" self.simpoint = 1 def setCwd(self, cwd): self.cwd = cwd def setSimpoint(self, simpoint): self.simpoint = simpoint def setStartInst(self, inst): self.start...
195.269471
712
0.682991
66,219
343,479
3.438666
0.008729
0.084776
0.02743
0.069669
0.974287
0.959992
0.952162
0.944393
0.932246
0.924029
0
0.09245
0.136445
343,479
1,758
713
195.380546
0.675233
0.021355
0
0
0
0.762922
0.845466
0.305595
0
0
0
0
0
0
null
null
0
0.000689
null
null
0.000689
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
10
b54cea52e6d5fcfe2182cb17b3edd869e0200af7
18,303
py
Python
src/hapPyTango/CosNotifyComm_skel/__init__.py
mguijarr/hapPyTango
2506c8e83d93fbd2c0a0115983489d59c74caa2f
[ "MIT" ]
1
2020-10-28T16:57:36.000Z
2020-10-28T16:57:36.000Z
src/hapPyTango/CosNotifyComm_skel/__init__.py
mguijarr/hapPyTango
2506c8e83d93fbd2c0a0115983489d59c74caa2f
[ "MIT" ]
null
null
null
src/hapPyTango/CosNotifyComm_skel/__init__.py
mguijarr/hapPyTango
2506c8e83d93fbd2c0a0115983489d59c74caa2f
[ "MIT" ]
null
null
null
""" Module: IDL:omg.org/CosNotifyComm:1.0 Automagically generated by:- The ORB called Fnorb v1.1.Return.of.Fnorb """ _FNORB_ID = "IDL:omg.org/CosNotifyComm:1.0" # Fnorb modules. import Fnorb.orb.CORBA import Fnorb.orb.TypeManager import Fnorb.orb.Util class NotifyPublish_skel(Fnorb.orb.CORBA.Object_skel): """...
33.583486
115
0.681036
1,973
18,303
6.169792
0.050177
0.074756
0.047318
0.086749
0.944632
0.935431
0.91514
0.866015
0.825926
0.806703
0
0.009047
0.214883
18,303
544
116
33.645221
0.838065
0.357537
0
0.679612
1
0
0.12956
0.12956
0
0
0
0
0
1
0.07767
false
0.019417
0.033981
0
0.325243
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
a5c90bb0690c6dd80c0996d5ede23e8dc406c6d0
988
py
Python
biobb_analysis/test/unitests/test_ambertools/test_cpptraj_rgyr_container.py
bioexcel/biobb_analysis
794683daf65eb13ddaaaf6cf3c19da6d1322a949
[ "Apache-2.0" ]
3
2019-05-18T14:52:30.000Z
2020-10-18T06:20:00.000Z
biobb_analysis/test/unitests/test_ambertools/test_cpptraj_rgyr_container.py
bioexcel/biobb_analysis
794683daf65eb13ddaaaf6cf3c19da6d1322a949
[ "Apache-2.0" ]
7
2019-03-04T15:04:28.000Z
2021-06-17T10:57:25.000Z
biobb_analysis/test/unitests/test_ambertools/test_cpptraj_rgyr_container.py
bioexcel/biobb_analysis
794683daf65eb13ddaaaf6cf3c19da6d1322a949
[ "Apache-2.0" ]
null
null
null
from biobb_common.tools import test_fixtures as fx from biobb_analysis.ambertools.cpptraj_rgyr import cpptraj_rgyr class TestCpptrajRgyrDocker(): def setUp(self): fx.test_setup(self,'cpptraj_rgyr_docker') def tearDown(self): fx.test_teardown(self) pass def test_rgyr_docker(self):...
34.068966
97
0.719636
128
988
5.28125
0.25
0.106509
0.150888
0.130178
0.721893
0.721893
0.721893
0.721893
0.721893
0.609467
0
0
0.174089
988
29
98
34.068966
0.828431
0
0
0.636364
0
0
0.166835
0.070779
0
0
0
0
0.181818
1
0.272727
false
0.090909
0.090909
0
0.454545
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
1
0
0
0
0
0
7
93a6235162b5004a5144d43f4707c3c76aebbf3c
43
py
Python
charq/__main__.py
EmidioLP/CharQ
7fb857c4481458ce5d09741d78bf0513d44af130
[ "MIT" ]
null
null
null
charq/__main__.py
EmidioLP/CharQ
7fb857c4481458ce5d09741d78bf0513d44af130
[ "MIT" ]
1
2021-03-16T19:11:36.000Z
2021-03-16T19:12:18.000Z
charq/__main__.py
EmidioLP/CharQ
7fb857c4481458ce5d09741d78bf0513d44af130
[ "MIT" ]
2
2021-03-16T19:03:43.000Z
2021-03-16T20:10:11.000Z
from charq import CharAscii, WordGenerate
14.333333
41
0.837209
5
43
7.2
1
0
0
0
0
0
0
0
0
0
0
0
0.139535
43
2
42
21.5
0.972973
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
93eb2298a89b79cf6afb9b78aa015b0edbdefdd3
2,526
py
Python
tests/test_network.py
vQuadX/pytest_network
a16a7b2f4a2ccd4365abf6c6797aa3d6572af2e7
[ "MIT" ]
9
2020-01-23T13:30:20.000Z
2021-09-03T11:14:22.000Z
tests/test_network.py
vQuadX/pytest_network
a16a7b2f4a2ccd4365abf6c6797aa3d6572af2e7
[ "MIT" ]
8
2020-05-07T05:35:06.000Z
2020-10-01T10:26:27.000Z
tests/test_network.py
vQuadX/pytest_network
a16a7b2f4a2ccd4365abf6c6797aa3d6572af2e7
[ "MIT" ]
3
2020-05-11T12:41:32.000Z
2021-01-12T09:06:32.000Z
import pytest from pytest_network import patched_connect, NetworkUsageException def test_disable_network_fixture_raiese_exception(testdir): testdir.makepyfile( """ import urllib.request import pytest def test_hello_default(disable_network): with pytest.raises(Excepti...
22.756757
78
0.640934
252
2,526
6.222222
0.178571
0.049107
0.076531
0.095663
0.816964
0.795918
0.795918
0.795918
0.795918
0.795918
0
0.005771
0.245447
2,526
110
79
22.963636
0.816894
0
0
0.545455
0
0
0.107306
0.050228
0
0
0
0
0.151515
1
0.181818
false
0.151515
0.060606
0
0.242424
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
f50e9693f3bd423bb374bf0432c032f694cbb476
84
py
Python
examples/rotate_four.py
igfish/toyvm
bb1ab371a8c71ba01522556235fc9f017c9b6b8f
[ "MIT" ]
null
null
null
examples/rotate_four.py
igfish/toyvm
bb1ab371a8c71ba01522556235fc9f017c9b6b8f
[ "MIT" ]
null
null
null
examples/rotate_four.py
igfish/toyvm
bb1ab371a8c71ba01522556235fc9f017c9b6b8f
[ "MIT" ]
null
null
null
a, b, c, d = 1, 2, 3, 4 print(a, b, c, d) a, b, c, d = d, c, b, a print(a, b, c, d)
16.8
23
0.404762
26
84
1.307692
0.346154
0.235294
0.352941
0.470588
0.529412
0
0
0
0
0
0
0.068966
0.309524
84
4
24
21
0.517241
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
1
0
1
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
8
f5860e9bafdaad426155b3f5615b64d9c7c2b4b4
157
py
Python
touchtechnology/common/backends/__init__.py
goodtune/vitriolic
d135eecf7acbc229a872585ebafb8bbefca52df4
[ "BSD-3-Clause" ]
null
null
null
touchtechnology/common/backends/__init__.py
goodtune/vitriolic
d135eecf7acbc229a872585ebafb8bbefca52df4
[ "BSD-3-Clause" ]
28
2016-12-09T21:14:19.000Z
2022-01-11T07:17:16.000Z
touchtechnology/common/backends/__init__.py
goodtune/vitriolic
d135eecf7acbc229a872585ebafb8bbefca52df4
[ "BSD-3-Clause" ]
null
null
null
""" Should specifically use: touchtechnology.common.backends.auth.UserSubclassBackend touchtechnology.common.backends.auth.EmailUserSubclassBackend """
22.428571
63
0.828025
13
157
10
0.692308
0.323077
0.446154
0.507692
0
0
0
0
0
0
0
0
0.076433
157
6
64
26.166667
0.896552
0.942675
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
1956d52f2729b7ab1455e84d8c62841ccd7bb9c5
16,220
py
Python
VSC/model.py
Ali-Sahili/Background-Subtraction-Unsupervised-Learning
445b2cf8736a4a28cff2b074a32afe8fe6986d53
[ "MIT" ]
5
2021-05-17T06:52:28.000Z
2022-02-20T15:35:51.000Z
VSC/model.py
WN1695173791/Background-Subtraction-Unsupervised-Learning
445b2cf8736a4a28cff2b074a32afe8fe6986d53
[ "MIT" ]
null
null
null
VSC/model.py
WN1695173791/Background-Subtraction-Unsupervised-Learning
445b2cf8736a4a28cff2b074a32afe8fe6986d53
[ "MIT" ]
1
2021-05-17T06:52:33.000Z
2021-05-17T06:52:33.000Z
import torch from torch import nn from torch.autograd import Variable import torch.nn.functional as F from Param import * class VSC512(nn.Module): def __init__(self,nz=nz,ngf=8,nef=8,nc=3): super(VSC512, self).__init__() self.nz=nz self.nc=nc self.encode = nn.Sequential( ...
36.044444
73
0.498089
2,343
16,220
3.417414
0.041827
0.069689
0.085175
0.159361
0.957537
0.939803
0.935931
0.918197
0.90271
0.893218
0
0.102109
0.356967
16,220
449
74
36.124722
0.66558
0.108631
0
0.854489
0
0
0
0
0
0
0
0
0
1
0.043344
false
0
0.01548
0
0.102167
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
1960bf26c2be27092e1d206f6ba5acc0c7607d57
4,236
py
Python
read_dataset.py
xiongxiaochu/neural-network
59fdd400d3b3977e29aad5354577a5f315a57809
[ "Apache-2.0" ]
null
null
null
read_dataset.py
xiongxiaochu/neural-network
59fdd400d3b3977e29aad5354577a5f315a57809
[ "Apache-2.0" ]
null
null
null
read_dataset.py
xiongxiaochu/neural-network
59fdd400d3b3977e29aad5354577a5f315a57809
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- def read_gowalla_data(file_path): train_file = open(file_path, 'r') x_data = {} for i in open(file_path): line = train_file.readline() # line = line.strip('\n') if len(line) == 0: continue items = line.split("\t") ...
25.672727
69
0.555477
602
4,236
3.651163
0.101329
0.073703
0.057325
0.061419
0.929936
0.929936
0.905369
0.905369
0.905369
0.905369
0
0.014936
0.304533
4,236
164
70
25.829268
0.731161
0.014636
0
0.838235
0
0
0.116759
0.109326
0
0
0
0
0
1
0.066176
false
0
0
0
0.132353
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
5ff99401aaa92b1fb567410697bc6b95ad9cb429
694
py
Python
python/hetu/layers/pooling.py
zpxbjdx/Hetu
e84b6436b668e56b4e97a5fcc2ced08780f2a3c3
[ "Apache-2.0" ]
82
2021-07-20T02:45:54.000Z
2022-03-14T07:08:45.000Z
python/hetu/layers/pooling.py
zpxbjdx/Hetu
e84b6436b668e56b4e97a5fcc2ced08780f2a3c3
[ "Apache-2.0" ]
4
2021-11-25T13:39:21.000Z
2022-03-13T04:14:14.000Z
python/hetu/layers/pooling.py
zpxbjdx/Hetu
e84b6436b668e56b4e97a5fcc2ced08780f2a3c3
[ "Apache-2.0" ]
13
2021-07-18T14:40:56.000Z
2022-03-09T06:37:42.000Z
from .base import BaseLayer import hetu as ht class MaxPool2d(BaseLayer): def __init__(self, kernel_size, stride, padding=0): self.kernel_size = kernel_size self.stride = stride self.padding = padding def __call__(self, x): return ht.max_pool2d_op( x, self.kernel_s...
27.76
77
0.664265
92
694
4.684783
0.271739
0.232019
0.259861
0.167053
0.835267
0.835267
0.835267
0.835267
0.835267
0.835267
0
0.01145
0.244957
694
24
78
28.916667
0.811069
0
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.555556
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
11
2728135df587c97e48aea85f5ac8bc50898d85b3
35,723
py
Python
examples/panopticlick.py
JarbasAl/pybrowser
61a6f96e601bb5bfb5085f90a7a7b1da03051878
[ "Apache-2.0" ]
null
null
null
examples/panopticlick.py
JarbasAl/pybrowser
61a6f96e601bb5bfb5085f90a7a7b1da03051878
[ "Apache-2.0" ]
null
null
null
examples/panopticlick.py
JarbasAl/pybrowser
61a6f96e601bb5bfb5085f90a7a7b1da03051878
[ "Apache-2.0" ]
null
null
null
from os.path import join, dirname from time import sleep from pombo_correio import FirefoxBrowser, PrivacyFoxBrowser, TorBrowser # https://github.com/mozilla/geckodriver/releases geckodriver = join(dirname(__file__), "geckodriver") def panopticlick(browser, name="test"): browser.find_and_click_css_selector("#kca...
368.278351
3,982
0.791759
5,339
35,723
5.230568
0.110133
0.021485
0.043186
0.05024
0.956062
0.938624
0.927308
0.923441
0.923441
0.921292
0
0.150948
0.074238
35,723
97
3,983
368.278351
0.692117
0.003583
0
0.269231
0
0
0.183007
0.058824
0
0
0
0.010309
0
1
0.038462
false
0
0.115385
0
0.153846
0.038462
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
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
9
274cfa31c37b8f48facb84c9ddff1df96cec9073
12,536
py
Python
auto_process_ngs/test/commands/test_clone_cmd.py
fls-bioinformatics-core/auto_process_ngs
1f07a08e14f118e6a61d3f37130515efc6049dd7
[ "AFL-3.0" ]
5
2017-01-31T21:37:09.000Z
2022-03-17T19:26:29.000Z
auto_process_ngs/test/commands/test_clone_cmd.py
fls-bioinformatics-core/auto_process_ngs
1f07a08e14f118e6a61d3f37130515efc6049dd7
[ "AFL-3.0" ]
294
2015-08-14T09:00:30.000Z
2022-03-18T10:17:05.000Z
auto_process_ngs/test/commands/test_clone_cmd.py
fls-bioinformatics-core/auto_process_ngs
1f07a08e14f118e6a61d3f37130515efc6049dd7
[ "AFL-3.0" ]
7
2017-11-23T07:52:21.000Z
2020-07-15T10:12:05.000Z
####################################################################### # Tests for clone_cmd.py module ####################################################################### import unittest import tempfile import shutil import os from auto_process_ngs.auto_processor import AutoProcess from auto_process_ngs.mock impo...
41.926421
77
0.577457
1,374
12,536
5.051674
0.129549
0.054459
0.050425
0.062671
0.82308
0.798012
0.77035
0.77035
0.77035
0.77035
0
0.04143
0.31262
12,536
298
78
42.067114
0.764071
0.091098
0
0.784141
0
0
0.167389
0.084642
0
0
0
0
0.154185
1
0.030837
false
0
0.039648
0
0.07489
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
278f247468d68c031c3b222e914bec2124f18d6a
1,600
py
Python
metrics/my_scorer.py
MarcoFavorito/supervised-morphological-segmentation-using-CRFs
99934e4a40baf9886cefce8050e3d8329125eed0
[ "MIT" ]
null
null
null
metrics/my_scorer.py
MarcoFavorito/supervised-morphological-segmentation-using-CRFs
99934e4a40baf9886cefce8050e3d8329125eed0
[ "MIT" ]
null
null
null
metrics/my_scorer.py
MarcoFavorito/supervised-morphological-segmentation-using-CRFs
99934e4a40baf9886cefce8050e3d8329125eed0
[ "MIT" ]
null
null
null
import metrics.evaluation as e import metrics.evaluation def get_evaluation(y_test, y_pred): flat_y_test = [i for subl in y_test for i in subl] flat_y_pred = [i for subl in y_pred for i in subl] H,I,D = e.compute_HID(flat_y_test, flat_y_pred) Precision, Recall, FScore = e.compute_PRF(H,I,D) evalu...
34.042553
61
0.6825
259
1,600
3.972973
0.119691
0.097182
0.087464
0.038873
0.911565
0.852284
0.829932
0.829932
0.829932
0.829932
0
0.001517
0.17625
1,600
47
62
34.042553
0.779211
0
0
0.842105
0
0
0.116177
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.157895
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
27a6e7f103a0621e62f651dbaeb2dbf59d41b6ea
13,427
py
Python
tckdb/backend/app/tests/schemas/test_encorr.py
TCKDB/TCKDB
2ac60e47e178aa05bebdf41394344a7e5428eb86
[ "MIT" ]
2
2019-04-24T15:34:12.000Z
2020-04-06T15:29:50.000Z
tckdb/backend/app/tests/schemas/test_encorr.py
TCKDB/TCKDB
2ac60e47e178aa05bebdf41394344a7e5428eb86
[ "MIT" ]
8
2020-05-19T19:01:22.000Z
2021-01-12T08:15:54.000Z
tckdb/backend/app/tests/schemas/test_encorr.py
tckdb/TCKDB
2ac60e47e178aa05bebdf41394344a7e5428eb86
[ "MIT" ]
1
2019-11-03T20:03:08.000Z
2019-11-03T20:03:08.000Z
""" TCKDB backend app tests schemas test_encorr module """ import pytest from pydantic import ValidationError from tckdb.backend.app.schemas.encorr import EnCorrBase def test_encorr_schema(): """Test creating an instance of EnCorr""" supported_elements = ['H', 'C', 'N', 'O', 'S', 'P'] aec = {'H': -0.502...
48.472924
107
0.487749
1,302
13,427
4.852535
0.107527
0.172206
0.037987
0.156062
0.871162
0.835391
0.811016
0.801994
0.779994
0.755461
0
0.068461
0.394057
13,427
276
108
48.648551
0.708088
0.072615
0
0.785714
0
0.004202
0.10754
0.00725
0
0
0
0
0.063025
1
0.004202
false
0
0.012605
0
0.016807
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
27b5ba9ae60bcf49b8295e3162287544d8a1d185
149
py
Python
tests/parser/functions.safety.finiteness.1.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/functions.safety.finiteness.1.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/functions.safety.finiteness.1.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
input = """ q(X) :- p(f(X)). p(f(X)) :- r(X), q(X). q(a). r(a). """ output = """ q(X) :- p(f(X)). p(f(X)) :- r(X), q(X). q(a). r(a). """
9.933333
23
0.288591
34
149
1.264706
0.235294
0.186047
0.27907
0.372093
0.744186
0.744186
0.744186
0.744186
0.744186
0.744186
0
0
0.255034
149
14
24
10.642857
0.387387
0
0
0.833333
0
0
0.776978
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
27ed9808d992bc4d07cb76fe1c4124dd94f65968
524
py
Python
isimip_qc/exceptions.py
rouxter/isimip-qc
c90b027d8014ea0f267c9b6cd1ac7e097e89195d
[ "MIT" ]
4
2020-08-05T13:27:19.000Z
2021-12-21T09:10:42.000Z
isimip_qc/exceptions.py
rouxter/isimip-qc
c90b027d8014ea0f267c9b6cd1ac7e097e89195d
[ "MIT" ]
4
2020-09-10T11:30:35.000Z
2021-04-06T08:45:16.000Z
isimip_qc/exceptions.py
rouxter/isimip-qc
c90b027d8014ea0f267c9b6cd1ac7e097e89195d
[ "MIT" ]
1
2021-01-21T14:05:16.000Z
2021-01-21T14:05:16.000Z
class FileWarning(Exception): def __init__(self, file, message, *args, **kwargs): file.warn(message, *args, **kwargs) super().__init__(message % args) class FileError(Exception): def __init__(self, file, message, *args, **kwargs): file.error(message, *args, **kwargs) super()....
26.2
55
0.637405
57
524
5.438596
0.280702
0.319355
0.329032
0.193548
0.825806
0.825806
0.825806
0.706452
0.435484
0
0
0
0.208015
524
19
56
27.578947
0.746988
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
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
1
0
0
0
0
0
0
0
8
7e0dba308f32c0fc289cefef214f6996d5d839a0
86
py
Python
lib/config/__init__.py
Waterbearbear/BBN
85b5ee48387ded0d67db3edf907a9b6bba3dc57a
[ "MIT" ]
null
null
null
lib/config/__init__.py
Waterbearbear/BBN
85b5ee48387ded0d67db3edf907a9b6bba3dc57a
[ "MIT" ]
null
null
null
lib/config/__init__.py
Waterbearbear/BBN
85b5ee48387ded0d67db3edf907a9b6bba3dc57a
[ "MIT" ]
null
null
null
from lib.config.default import _C as cfg from lib.config.default import update_config
28.666667
44
0.837209
15
86
4.666667
0.6
0.2
0.371429
0.571429
0.742857
0
0
0
0
0
0
0
0.116279
86
2
45
43
0.921053
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
fd902534a36bfea86eebd8c200aad4aa9b5529e1
22,323
py
Python
sdks/python/bjr4py/api/users_api.py
barryw/bjr
de56f22198b34a9d303ee43ac01134b5cf1ce863
[ "BSD-3-Clause" ]
2
2020-06-04T03:04:15.000Z
2020-06-13T12:53:58.000Z
sdks/python/bjr4py/api/users_api.py
barryw/bjr
de56f22198b34a9d303ee43ac01134b5cf1ce863
[ "BSD-3-Clause" ]
6
2020-05-24T12:56:25.000Z
2022-02-26T07:13:17.000Z
sdks/python/bjr4py/api/users_api.py
barryw/bjr
de56f22198b34a9d303ee43ac01134b5cf1ce863
[ "BSD-3-Clause" ]
null
null
null
""" BJR API V1 API specification for the BJR job server. # noqa: E501 The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from bjr4py.api_client import ApiClient, Endpoint as _Endpoint from bjr4py.model_utils imp...
34.989028
118
0.450701
1,928
22,323
4.977178
0.101141
0.032826
0.027095
0.028137
0.836599
0.830242
0.827637
0.827637
0.80544
0.799396
0
0.004626
0.46741
22,323
637
119
35.043956
0.802507
0.340859
0
0.633971
1
0
0.201494
0.02555
0
0
0
0
0
1
0.014354
false
0
0.019139
0
0.047847
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
fdaf97a32ea84b75ca3da9961d9758c42308886e
52,646
py
Python
test/features/test_open_close.py
loic-simon/lg-rez
c5eb8af7b2146fca110ee50a9209529f0ecfca1a
[ "MIT" ]
4
2020-08-13T17:07:51.000Z
2021-04-21T00:29:33.000Z
test/features/test_open_close.py
loic-simon/lg-rez
c5eb8af7b2146fca110ee50a9209529f0ecfca1a
[ "MIT" ]
9
2021-03-22T00:52:18.000Z
2021-10-05T23:46:38.000Z
test/features/test_open_close.py
loic-simon/lg-rez
c5eb8af7b2146fca110ee50a9209529f0ecfca1a
[ "MIT" ]
1
2020-10-17T15:04:23.000Z
2020-10-17T15:04:23.000Z
import datetime import unittest from unittest import mock from lgrez import config, bdd from lgrez.features import open_close from test import mock_discord, mock_bdd, mock_env class TestOpenCloseFunctions(unittest.IsolatedAsyncioTestCase): """Unit tests for lgrez.features.open_close utility functions.""" de...
44.166107
83
0.607112
6,196
52,646
4.946094
0.046804
0.021667
0.032892
0.030803
0.896789
0.873687
0.849507
0.838445
0.817268
0.782321
0
0.023735
0.280534
52,646
1,191
84
44.203191
0.785358
0.063747
0
0.743563
0
0
0.065481
0.00573
0
0
0
0
0.298661
1
0.004119
false
0
0.006179
0
0.012358
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
fdbda0dbe260fdd4fc43cc1618d8692074ea1079
272
py
Python
config.py
gonzageraci/dydx-bot
d2cd3526c1eb7fbe5d07610510c74a2d428d3c4d
[ "Apache-2.0" ]
1
2021-11-13T20:38:29.000Z
2021-11-13T20:38:29.000Z
config.py
gonzageraci/dydx-bot
d2cd3526c1eb7fbe5d07610510c74a2d428d3c4d
[ "Apache-2.0" ]
null
null
null
config.py
gonzageraci/dydx-bot
d2cd3526c1eb7fbe5d07610510c74a2d428d3c4d
[ "Apache-2.0" ]
1
2021-12-13T09:22:15.000Z
2021-12-13T09:22:15.000Z
API_ENDPOINT = "https://api.dydx.exchange" StarkPrivateKey = "0x6d6300ffa9a563f84fc628251a3499459903354e33c965d83a613d56f1bdd8d" eth_private_key = "48d5c67094243f36207f0dc21967e005dccca0756d63e77d4e680adf7e4b66fe" eth_address = "0xb6eDcE2198cC2063906169fD4339B0F15EC558ea"
68
85
0.897059
15
272
16
0.866667
0
0
0
0
0
0
0
0
0
0
0.429119
0.040441
272
4
86
68
0.490421
0
0
0
0
0
0.717949
0.626374
0
0
0.391941
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
fdd535875253a6a8c0c380d7b7a8bb6438d30217
39,963
py
Python
Base-code/measure_offsets.py
FPAVANO81/Tectonics
bda657b74cf920f40524421cdb5174d4ce865280
[ "MIT" ]
null
null
null
Base-code/measure_offsets.py
FPAVANO81/Tectonics
bda657b74cf920f40524421cdb5174d4ce865280
[ "MIT" ]
null
null
null
Base-code/measure_offsets.py
FPAVANO81/Tectonics
bda657b74cf920f40524421cdb5174d4ce865280
[ "MIT" ]
4
2021-06-14T20:58:51.000Z
2021-06-14T21:00:05.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Mar 18 23:58:03 2019 function to measure offsets from strike-slip model output topography dependencies: numpy, matplotlib, rasterio, scipy, scikit-image, slip function included in this archive author: nadine g reitman email: nadine.reitman@colorado.ed...
44.502227
202
0.593199
5,549
39,963
4.117679
0.092089
0.076415
0.071075
0.028229
0.885334
0.876143
0.868397
0.863364
0.855311
0.851022
0
0.024173
0.256763
39,963
897
203
44.551839
0.745101
0.285314
0
0.904867
0
0
0.045456
0.006386
0
0
0
0
0
1
0.004425
false
0
0.017699
0
0.026549
0.006637
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
fddb1a0516bca51c609914c26662e08ea5fc1cbe
31,907
py
Python
20201129-pyconchina/typeschema_parser.py
thautwarm/Slides
f88832c1dcc38b9a7afdbb2986515c9a58d2b077
[ "MIT" ]
1
2019-08-26T22:50:19.000Z
2019-08-26T22:50:19.000Z
20201129-pyconchina/typeschema_parser.py
thautwarm/Slides
f88832c1dcc38b9a7afdbb2986515c9a58d2b077
[ "MIT" ]
1
2019-08-26T04:44:54.000Z
2019-08-26T07:28:53.000Z
20201129-pyconchina/typeschema_parser.py
thautwarm/Slides
f88832c1dcc38b9a7afdbb2986515c9a58d2b077
[ "MIT" ]
null
null
null
""" Copyright thautwarm (c) 2019 All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the foll...
39.342787
115
0.521077
4,005
31,907
3.63995
0.057678
0.046097
0.066676
0.061737
0.834545
0.813966
0.796749
0.768212
0.746193
0.720949
0
0.05038
0.423324
31,907
811
116
39.342787
0.741902
0.04745
0
0.728378
0
0
0.013823
0
0
0
0
0
0
1
0.043243
false
0.004054
0.005405
0.006757
0.093243
0.001351
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
fdfab47b70fbebb647a8811ec4c49cc974e7d2a0
2,138
py
Python
resource/lib/python2.7/site-packages/pyasn1/type/char.py
claudiopastorini/geofire-python
274e1b1d733a1158e4f36de40f0349dbc1ff6c34
[ "MIT" ]
1,346
2015-01-01T14:52:24.000Z
2022-03-28T12:50:48.000Z
resource/lib/python2.7/site-packages/pyasn1/type/char.py
claudiopastorini/geofire-python
274e1b1d733a1158e4f36de40f0349dbc1ff6c34
[ "MIT" ]
474
2015-01-01T10:27:46.000Z
2022-03-21T12:26:16.000Z
resource/lib/python2.7/site-packages/pyasn1/type/char.py
claudiopastorini/geofire-python
274e1b1d733a1158e4f36de40f0349dbc1ff6c34
[ "MIT" ]
191
2015-01-02T18:27:22.000Z
2022-03-29T10:49:48.000Z
# # This file is part of pyasn1 software. # # Copyright (c) 2005-2017, Ilya Etingof <etingof@gmail.com> # License: http://pyasn1.sf.net/license.html # from pyasn1.type import univ, tag class NumericString(univ.OctetString): tagSet = univ.OctetString.tagSet.tagImplicitly( tag.Tag(tag.tagClassUniversal, tag...
25.152941
63
0.72217
224
2,138
6.892857
0.276786
0.213731
0.299223
0.178109
0.705311
0.705311
0.705311
0.705311
0.705311
0.705311
0
0.025338
0.169317
2,138
84
64
25.452381
0.844032
0.064546
0
0.25
0
0
0.01154
0
0
0
0
0
0
1
0
false
0.038462
0.019231
0
0.538462
0
0
0
0
null
1
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
8bff9ea0a6eb05b889671d86fee43268398d4a46
51
py
Python
examples/one/rule_5.py
ayushpallav/anthill
740b8fce4281dfc4ca587c21a2d37741c649d870
[ "MIT" ]
14
2020-05-22T20:57:29.000Z
2021-08-19T14:56:32.000Z
examples/one/rule_5.py
ayushpallav/apple-pie
740b8fce4281dfc4ca587c21a2d37741c649d870
[ "MIT" ]
2
2021-01-04T05:05:08.000Z
2021-01-04T05:11:08.000Z
examples/one/rule_5.py
ayushpallav/apple-pie
740b8fce4281dfc4ca587c21a2d37741c649d870
[ "MIT" ]
null
null
null
print("-----------------rule_5------------------")
25.5
50
0.215686
3
51
3.333333
1
0
0
0
0
0
0
0
0
0
0
0.02
0.019608
51
1
51
51
0.18
0
0
0
0
0
0.803922
0.803922
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
e32dd4f05009493a4453bf3c4dacc7d1576697fe
1,729
py
Python
tests/test_generate_binary_overlap_matrix.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
64
2020-03-18T12:11:22.000Z
2022-03-31T08:19:18.000Z
tests/test_generate_binary_overlap_matrix.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
148
2020-05-14T06:14:11.000Z
2022-03-26T15:02:31.000Z
tests/test_generate_binary_overlap_matrix.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
16
2020-05-31T00:53:44.000Z
2022-03-23T13:20:57.000Z
import pyclesperanto_prototype as cle import numpy as np def test_generate_binary_overlap_matrix_2d(): gpu_input1 = cle.push(np.asarray([ [1, 1, 0, 0, 0], [1, 1, 0, 3, 0], [0, 2, 2, 3, 0], [0, 2, 2, 0, 0], [0, 0, 0, 0, 4] ])) gpu_input2 = ...
17.824742
90
0.430885
253
1,729
2.782609
0.134387
0.079545
0.059659
0.045455
0.926136
0.926136
0.829545
0.829545
0.829545
0.829545
0
0.131148
0.400231
1,729
96
91
18.010417
0.547734
0
0
0.854839
1
0
0
0
0
0
0
0
0.032258
1
0.032258
false
0
0.032258
0
0.064516
0.064516
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
e34ab2ee36e22be079819640800491e3afe5d0bb
5,973
py
Python
nexus/tests/unit/test_qmcpack_input.py
simonpintarelli/qmcpack
0ab00b7d5bfac2ade860aac513c6e571ae2af13d
[ "NCSA" ]
null
null
null
nexus/tests/unit/test_qmcpack_input.py
simonpintarelli/qmcpack
0ab00b7d5bfac2ade860aac513c6e571ae2af13d
[ "NCSA" ]
null
null
null
nexus/tests/unit/test_qmcpack_input.py
simonpintarelli/qmcpack
0ab00b7d5bfac2ade860aac513c6e571ae2af13d
[ "NCSA" ]
null
null
null
#!/usr/bin/env python def test_generate_kspace_jastrow(): from qmcpack_input import generate_kspace_jastrow kjas = generate_kspace_jastrow(1.0, 2.0, 2, 4) expect = '''<jastrow type="kSpace" name="Jk" source="ion0"> <correlation kc="1.0" type="One-Body" symmetry="isotropic"> <coefficients id="cG1" t...
30.319797
119
0.535075
633
5,973
4.914692
0.202212
0.010286
0.007715
0.015429
0.802636
0.753134
0.744777
0.744777
0.733848
0.733848
0
0.047724
0.319437
5,973
196
120
30.47449
0.717589
0.069814
0
0.740506
1
0
0.398881
0.007577
0
0
0
0
0.037975
1
0.018987
false
0
0.031646
0
0.056962
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
e3655245e3bae3467db180e82379f00daed7f36e
19,218
py
Python
tasks-deploy/getflagchar/check.py
HackerDom/qctf-starter-2018
f4eef0fd41d777661b9fbcc61dcee9709d9f6268
[ "MIT" ]
8
2018-03-15T12:07:11.000Z
2020-12-01T15:02:46.000Z
tasks-deploy/getflagchar/check.py
HackerDom/qctf-starter-2018
f4eef0fd41d777661b9fbcc61dcee9709d9f6268
[ "MIT" ]
17
2020-01-28T22:17:42.000Z
2022-03-11T23:18:09.000Z
tasks-deploy/getflagchar/check.py
HackerDom/qctf-starter-2018
f4eef0fd41d777661b9fbcc61dcee9709d9f6268
[ "MIT" ]
2
2018-11-26T18:54:27.000Z
2018-12-05T17:37:32.000Z
#!/usr/bin/env python3 flags = ['QCTF{e51f2dad87875d76fb081f2b467535ef}', 'QCTF{c89a4b8b181ea0e7666dc8bf93b34779}', 'QCTF{50b59ef5ba8ca7650323b96119507a98}', 'QCTF{fb1c1b7f76e5ca22411fcee3d024ff46}', 'QCTF{4909e8138219a1f5f166e6e06e057cbc}', 'QCTF{649d0b63d4bd82a9af7af03ba46838d3}', 'QCTF{af043650dc65acce4e001425bacb...
1,478.307692
18,908
0.853315
936
19,218
17.520299
0.504274
0.002378
0.001829
0
0
0
0
0
0
0
0
0.483515
0.027786
19,218
12
18,909
1,601.5
0.394188
0.001093
0
0
0
0
0.890811
0.890811
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
8
8b4df837f47359c3edbb01e9064d0908122a237d
124
py
Python
autodiff/nn/modules/__init__.py
ryanirl/autodiff
8408a992f065e1fa98923dc36474c746ddc4d096
[ "MIT" ]
null
null
null
autodiff/nn/modules/__init__.py
ryanirl/autodiff
8408a992f065e1fa98923dc36474c746ddc4d096
[ "MIT" ]
null
null
null
autodiff/nn/modules/__init__.py
ryanirl/autodiff
8408a992f065e1fa98923dc36474c746ddc4d096
[ "MIT" ]
null
null
null
from .activation_functions import * from .loss_functions import * from .linear_layers import * from .convolutions import *
20.666667
35
0.798387
15
124
6.4
0.533333
0.3125
0.395833
0
0
0
0
0
0
0
0
0
0.137097
124
5
36
24.8
0.897196
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
8b67e6cd22fcae0036c13e4006449310df1b6700
22,390
py
Python
scicopia/tests/test_arangodoc.py
pikatech/Scicopia
dcdb3b4f55b9111fa3b4fe78afdb07bb2ceb9985
[ "MIT" ]
null
null
null
scicopia/tests/test_arangodoc.py
pikatech/Scicopia
dcdb3b4f55b9111fa3b4fe78afdb07bb2ceb9985
[ "MIT" ]
9
2021-07-24T16:12:03.000Z
2021-07-24T16:58:19.000Z
scicopia/tests/test_arangodoc.py
pikatech/Scicopia
dcdb3b4f55b9111fa3b4fe78afdb07bb2ceb9985
[ "MIT" ]
1
2021-06-18T16:00:06.000Z
2021-06-18T16:00:06.000Z
import os import scicopia.arangodoc as arangodoc from scicopia.utils.arangodb import connect, select_db def connection(col): # use a config to a test database config = arangodoc.read_config() arangoconn = connect(config) db = select_db(config, arangoconn, create=True) if db.hasCollection(col): ...
33.467862
105
0.672845
2,815
22,390
5.167318
0.056838
0.060635
0.060017
0.06201
0.891104
0.886979
0.879005
0.86608
0.84415
0.825313
0
0.009231
0.206521
22,390
668
106
33.517964
0.809524
0.035373
0
0.777391
0
0.006957
0.231404
0.187793
0
0
0
0.001497
0.066087
1
0.069565
false
0.005217
0.126957
0
0.198261
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
8bb0435141f25dba4db9f0b61a98dd248615661a
2,500
py
Python
tests/beta_tests/test_author_disambiguation_a_name_is_a_name.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/beta_tests/test_author_disambiguation_a_name_is_a_name.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/beta_tests/test_author_disambiguation_a_name_is_a_name.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.beta.author_disambiguation_a_name_is_a_name import could_be class CouldBeTestCase(unittest.TestCase): def test_true_1(self): self.assertTrue(could_be('Carlos Ray Norris', 'Carlos Ray Norris')) def test_true_2(self): self.assertTrue(could_be('Carlos Ray Norris', 'Ca...
32.051282
78
0.6732
352
2,500
4.556818
0.116477
0.196384
0.299252
0.209476
0.826683
0.764339
0.720075
0.698254
0.622195
0.478803
0
0.014859
0.1924
2,500
77
79
32.467532
0.779594
0
0
0.039216
0
0
0.2644
0
0
0
0
0
0.470588
1
0.470588
false
0
0.039216
0
0.529412
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
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
7
479170a1915faaf8e993c8e139f39c76e54a1117
10,062
py
Python
tests/test_parse.py
artisanofcode/python-twelvefactor
f4bb3e35228dba211c99c6f0912d42ab1c0105ef
[ "MIT" ]
1
2019-05-01T06:24:24.000Z
2019-05-01T06:24:24.000Z
tests/test_parse.py
artisanofcode/python-twelvefactor
f4bb3e35228dba211c99c6f0912d42ab1c0105ef
[ "MIT" ]
481
2018-11-21T05:48:20.000Z
2021-03-08T09:29:29.000Z
tests/test_parse.py
artisanofcode/python-twelvefactor
f4bb3e35228dba211c99c6f0912d42ab1c0105ef
[ "MIT" ]
null
null
null
import cmath import itertools import math import typing import unittest.mock as mock import hypothesis import hypothesis.strategies as st import pytest import twelvefactor # Generate all possible case permutations of the strings in TRUE_STRINGS TRUE_STRINGS = [ v for s in twelvefactor.Config.TRUE_STRINGS ...
24.905941
79
0.675114
1,372
10,062
4.751458
0.069242
0.040497
0.049087
0.068722
0.832336
0.813162
0.808099
0.784169
0.763154
0.722197
0
0
0.188531
10,062
403
80
24.967742
0.798408
0.024448
0
0.434307
1
0
0.004312
0
0
0
0
0
0.109489
1
0.10219
false
0
0.032847
0
0.135037
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
47ed4e7352e39169b884af321c5e1828cfe92b5b
331
py
Python
tests/parser/aggregates.duplicated.4.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/aggregates.duplicated.4.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
tests/parser/aggregates.duplicated.4.test.py
veltri/DLV2
944aaef803aa75e7ec51d7e0c2b0d964687fdd0e
[ "Apache-2.0" ]
null
null
null
input = """ mysum(X) :- #sum{P: c(P)} = X, dom(X). mycount(X) :- #count{P: c(P)} = X, dom(X). dom(0). dom(1). c(X) | d(X) :- dom(X). :- not c(0). :- not c(1). """ output = """ mysum(X) :- #sum{P: c(P)} = X, dom(X). mycount(X) :- #count{P: c(P)} = X, dom(X). dom(0). dom(1). c(X) | d(X) :- dom(X). :- not c(0). :- not...
15.761905
42
0.41994
70
331
1.985714
0.2
0.230216
0.215827
0.115108
0.920863
0.920863
0.920863
0.920863
0.920863
0.920863
0
0.030189
0.199396
331
20
43
16.55
0.49434
0
0
0.875
0
0.25
0.906344
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
1
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
13
9a089d46dcb34110c0294ff51baac4f6fc1fc325
3,992
py
Python
tests/unittest_typesafe.py
Hc10b/py3traits
713eec35a5a2f4eba6801c1c7660b863eb692bcc
[ "Apache-2.0" ]
25
2015-05-25T20:27:43.000Z
2020-08-30T16:37:59.000Z
tests/unittest_typesafe.py
Hc10b/py3traits
713eec35a5a2f4eba6801c1c7660b863eb692bcc
[ "Apache-2.0" ]
2
2017-11-02T09:02:37.000Z
2020-06-16T20:39:56.000Z
tests/unittest_typesafe.py
Hc10b/py3traits
713eec35a5a2f4eba6801c1c7660b863eb692bcc
[ "Apache-2.0" ]
3
2015-05-25T20:34:13.000Z
2020-06-16T13:51:37.000Z
#!/usr/bin/python -tt # -*- coding: utf-8 -*- import unittest from pytraits import type_safe class TestTypeSafe(unittest.TestCase): def test_shows_unassigned_arguments_error_for_omitted_arguments(self): # We need to make sure that when user misses argument from the # function call, we show proper...
35.017544
85
0.681363
480
3,992
5.385417
0.195833
0.059574
0.051064
0.083559
0.821277
0.821277
0.774081
0.700967
0.652611
0.639458
0
0.013249
0.243737
3,992
113
86
35.327434
0.842994
0.159068
0
0.652778
0
0
0.055024
0
0
0
0
0
0.222222
1
0.333333
false
0.027778
0.027778
0.138889
0.513889
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
8
9a56cbb0dde4556de3fae0c2dcf578272a4c9aad
32,367
py
Python
game/content/ghplots/dd_roadstops.py
AmkG/gearhead-caramel
0238378295a09b4b33adb2ec0854fa06b0ad7b1b
[ "Apache-2.0" ]
null
null
null
game/content/ghplots/dd_roadstops.py
AmkG/gearhead-caramel
0238378295a09b4b33adb2ec0854fa06b0ad7b1b
[ "Apache-2.0" ]
null
null
null
game/content/ghplots/dd_roadstops.py
AmkG/gearhead-caramel
0238378295a09b4b33adb2ec0854fa06b0ad7b1b
[ "Apache-2.0" ]
null
null
null
from pbge.plots import Plot from pbge.dialogue import Offer, ContextTag from game import teams, services, ghdialogue from game.ghdialogue import context import gears import pbge from .dd_main import DZDRoadMapExit,RoadNode import random from game.content import gharchitecture,ghwaypoints,plotutility,ghterrain,backstory...
49.115326
172
0.577811
3,179
32,367
5.726329
0.117332
0.042189
0.043837
0.030762
0.923698
0.923533
0.913535
0.903977
0.903977
0.896396
0
0.006853
0.310254
32,367
658
173
49.18997
0.808555
0.084932
0
0.847682
0
0
0.093876
0.003792
0
0
0
0
0
1
0.064018
false
0
0.019868
0.004415
0.222958
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
9a60e26ab339e0c746840f651602044347ab83ca
165
py
Python
vimfiles/bundle/vim-python/submodules/pylint/tests/regrtest_data/absimp/string.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
463
2015-01-15T08:17:42.000Z
2022-03-28T15:10:20.000Z
vimfiles/bundle/vim-python/submodules/pylint/tests/regrtest_data/absimp/string.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
52
2015-01-06T02:43:59.000Z
2022-03-14T11:15:21.000Z
vimfiles/bundle/vim-python/submodules/pylint/tests/regrtest_data/absimp/string.py
ciskoinch8/vimrc
5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8
[ "MIT" ]
249
2015-01-07T22:49:49.000Z
2022-03-18T02:32:06.000Z
""" https://www.logilab.org/ticket/70495 https://www.logilab.org/ticket/70565 """ from __future__ import absolute_import, print_function import string print(string)
20.625
54
0.787879
23
165
5.391304
0.608696
0.129032
0.241935
0.290323
0.387097
0
0
0
0
0
0
0.065359
0.072727
165
7
55
23.571429
0.745098
0.442424
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0.666667
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
0
1
0
7
d0091965ab1571fb8fcbc5e564be0608242ca4d7
37,978
py
Python
pybind/slxos/v17r_2_00/ntp/__init__.py
extremenetworks/pybind
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
[ "Apache-2.0" ]
null
null
null
pybind/slxos/v17r_2_00/ntp/__init__.py
extremenetworks/pybind
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
[ "Apache-2.0" ]
null
null
null
pybind/slxos/v17r_2_00/ntp/__init__.py
extremenetworks/pybind
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
[ "Apache-2.0" ]
1
2021-11-05T22:15:42.000Z
2021-11-05T22:15:42.000Z
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
102.091398
1,295
0.720443
5,563
37,978
4.740248
0.039907
0.030944
0.031551
0.027304
0.888055
0.874668
0.870004
0.860372
0.857376
0.850095
0
0.009366
0.117278
37,978
371
1,296
102.366577
0.777234
0.087656
0
0.452586
0
0.034483
0.452802
0.170344
0
0
0
0
0
1
0.116379
false
0
0.051724
0
0.284483
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
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
d01687f736e357983424ef314c79072066cdcee1
7,087
py
Python
seekr2/tests/test_converge.py
seekrcentral/seekr2
45154d477147f9278b97491a6270ff31435c837b
[ "MIT" ]
1
2021-07-14T16:13:17.000Z
2021-07-14T16:13:17.000Z
seekr2/tests/test_converge.py
seekrcentral/seekr2
45154d477147f9278b97491a6270ff31435c837b
[ "MIT" ]
10
2021-05-26T15:29:46.000Z
2021-09-20T18:23:20.000Z
seekr2/tests/test_converge.py
seekrcentral/seekr2
45154d477147f9278b97491a6270ff31435c837b
[ "MIT" ]
1
2021-05-22T01:15:46.000Z
2021-05-22T01:15:46.000Z
""" test_converge.py Testing converge.py """ import os import glob import pytest import seekr2.converge as converge import seekr2.tests.test_common_converge as test_common_converge import seekr2.modules.common_analyze as common_analyze import seekr2.modules.common_converge as common_converge def test_converge_defau...
43.478528
80
0.740229
851
7,087
5.6698
0.109283
0.152539
0.200207
0.053886
0.883316
0.883316
0.869845
0.869845
0.862591
0.862591
0
0.013047
0.199661
7,087
163
81
43.478528
0.837623
0.005221
0
0.826389
0
0
0.016044
0
0
0
0
0
0
1
0.034722
false
0
0.048611
0
0.118056
0.041667
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
d01ce01a0e8f9b145f5144d930aab2cad9982fad
228
py
Python
.yw_pipeline/yw_pipeline.py
youwol/workspace-explorer
353a2bc041d0440486b555a5544cda181a2536bd
[ "MIT" ]
null
null
null
.yw_pipeline/yw_pipeline.py
youwol/workspace-explorer
353a2bc041d0440486b555a5544cda181a2536bd
[ "MIT" ]
null
null
null
.yw_pipeline/yw_pipeline.py
youwol/workspace-explorer
353a2bc041d0440486b555a5544cda181a2536bd
[ "MIT" ]
null
null
null
from youwol.configuration import Pipeline from youwol.configuration import UserConfiguration def pipeline(configuration: UserConfiguration) -> Pipeline: return configuration.get_custom_pipeline("typescript-webpack-npm")
25.333333
70
0.833333
23
228
8.173913
0.565217
0.106383
0.244681
0.308511
0
0
0
0
0
0
0
0
0.100877
228
8
71
28.5
0.917073
0
0
0
0
0
0.097345
0.097345
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
8
d03ea717c4d5616e5684f1053382d9d0f701fe37
14,505
py
Python
src/control_any_sim/interactions.py
DavidMichaelH/TS4ControlAnySim
b80204cfb84522b9b77aeeed8b507d7d4cb23d38
[ "Apache-2.0" ]
25
2019-11-09T12:21:12.000Z
2022-02-14T11:08:48.000Z
src/control_any_sim/interactions.py
DavidMichaelH/TS4ControlAnySim
b80204cfb84522b9b77aeeed8b507d7d4cb23d38
[ "Apache-2.0" ]
41
2019-10-27T13:47:02.000Z
2021-12-05T18:59:08.000Z
src/control_any_sim/interactions.py
DavidMichaelH/TS4ControlAnySim
b80204cfb84522b9b77aeeed8b507d7d4cb23d38
[ "Apache-2.0" ]
16
2019-12-23T14:57:27.000Z
2022-03-25T01:51:21.000Z
import traceback import services # pylint: disable=import-error from interactions.base.immediate_interaction import ImmediateSuperInteraction # pylint: disable=import-error,no-name-in-module from singletons import DEFAULT # pylint: disable=import-error from event_testing.results import TestResult # pylint: disab...
36.721519
127
0.624061
1,650
14,505
5.249091
0.075152
0.063041
0.044337
0.049879
0.818728
0.798176
0.782011
0.774737
0.749798
0.736405
0
0.000387
0.287073
14,505
394
128
36.814721
0.837153
0.030196
0
0.717557
0
0
0.100761
0.012453
0
0
0
0
0
1
0.053435
false
0
0.030534
0.003817
0.225191
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
d06e4e8d74f6408120323b4c1512cbe6e356a50f
1,545
py
Python
test_base.py
src-d/tech-mapping
8739762e2d63b1cdf686e6b1adf52523c07e9fca
[ "Apache-2.0" ]
null
null
null
test_base.py
src-d/tech-mapping
8739762e2d63b1cdf686e6b1adf52523c07e9fca
[ "Apache-2.0" ]
null
null
null
test_base.py
src-d/tech-mapping
8739762e2d63b1cdf686e6b1adf52523c07e9fca
[ "Apache-2.0" ]
2
2020-01-02T07:56:28.000Z
2021-01-28T11:20:58.000Z
import tm def test_make_snapshots(): base = tm._utc_iso("2013-01-01") lower = tm._utc_iso("2013-01-01") upper = tm._utc_iso("2013-02-01") period = tm._timedelta_days(7) assert [ tm._utc_iso("2013-01-01"), tm._utc_iso("2013-01-08"), tm._utc_iso("2013-01-15"), tm._utc...
30.9
69
0.607767
241
1,545
3.585062
0.141079
0.150463
0.240741
0.361111
0.847222
0.813657
0.78588
0.74537
0.74537
0.607639
0
0.172809
0.209709
1,545
49
70
31.530612
0.534808
0.075081
0
0.578947
0
0
0.16163
0
0
0
0
0
0.131579
1
0.078947
false
0
0.026316
0
0.105263
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
4bf728582289f272dea861ee582062d24c00c31e
314
py
Python
2752.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
6
2021-04-13T00:33:43.000Z
2022-02-10T10:23:59.000Z
2752.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
null
null
null
2752.py
heltonricardo/URI
160cca22d94aa667177c9ebf2a1c9864c5e55b41
[ "MIT" ]
3
2021-03-23T18:42:24.000Z
2022-02-10T10:24:07.000Z
print('<AMO FAZER EXERCICIO NO URI>') print('< AMO FAZER EXERCICIO NO URI>') print('<AMO FAZER EXERCICIO >') print('<AMO FAZER EXERCICIO NO URI>') print('<AMO FAZER EXERCICIO NO URI >') print('<AMO FAZER EXERCICIO NO URI>') print('< AMO FAZER EXERCICIO >') print('<AMO FAZER EXERCICIO >')
34.888889
41
0.640127
42
314
4.785714
0.142857
0.318408
0.517413
0.875622
1
1
1
1
1
1
0
0
0.207006
314
8
42
39.25
0.807229
0
0
1
0
0
0.745223
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
1
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
14
324bc26fb80ba4177de6e84a40cad0a49867d69d
12,911
py
Python
xlist/find.py
ihgazni2/xlist
3c4cc976dcfabc8bb18022389e67d78ce4bfd659
[ "MIT" ]
null
null
null
xlist/find.py
ihgazni2/xlist
3c4cc976dcfabc8bb18022389e67d78ce4bfd659
[ "MIT" ]
null
null
null
xlist/find.py
ihgazni2/xlist
3c4cc976dcfabc8bb18022389e67d78ce4bfd659
[ "MIT" ]
null
null
null
from .cmmn import null,undefined def find_fst_iv(ol,test_func,*args): length = ol.__len__() for i in range(0,length): cond = test_func(ol[i],*args) if(cond): return({'index':i,'value':ol[i]}) else: pass return(null) def find_fst_v(ol,test_func,*args): ...
21.846024
72
0.603516
2,167
12,911
3.337333
0.02215
0.165929
0.120299
0.108131
0.994746
0.994331
0.985205
0.979812
0.974696
0.94953
0
0.003907
0.246689
12,911
590
73
21.883051
0.739667
0
0
0.775656
0
0
0.015512
0
0
0
0
0
0
1
0.178998
false
0.052506
0.002387
0
0.181384
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
410b72a8cec3b5a8c08467aa6472a24882c2e9cc
41,157
py
Python
Test_Scripts/create_node_test.py
karlflores/WatchYourBackProject
00a7c32e46ea0b75580d17ea6a22372e4a005627
[ "Unlicense" ]
null
null
null
Test_Scripts/create_node_test.py
karlflores/WatchYourBackProject
00a7c32e46ea0b75580d17ea6a22372e4a005627
[ "Unlicense" ]
null
null
null
Test_Scripts/create_node_test.py
karlflores/WatchYourBackProject
00a7c32e46ea0b75580d17ea6a22372e4a005627
[ "Unlicense" ]
null
null
null
from DepreciatedBoard.Board import Board from Constants import constant from Agents.Minimax import Minimax # create a new board game board_game = Board() board_game.print_board() # create the starting node -- this node is black node = Minimax.create_node(board_game, constant.BLACK_PIECE, None) node.board.print_board...
33.515472
115
0.828729
6,104
41,157
5.359436
0.008191
0.183713
0.25729
0.207618
0.986672
0.986672
0.985266
0.985266
0.985266
0.985266
0
0.007379
0.03856
41,157
1,227
116
33.542787
0.819358
0.003547
0
0.773585
0
0
0.019989
0
0
0
0
0
0
1
0
false
0
0.056604
0
0.056604
0.754717
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
10
f5af0646112bf02b9b1450e6d605ff35ac44404e
112
py
Python
view/python_core/rois/iltis_rois/__init__.py
galizia-lab/pyview
07bef637b0c60fae8830c1b3947e4a7bcd14bb2c
[ "BSD-3-Clause" ]
2
2021-11-07T10:17:16.000Z
2021-11-07T10:17:19.000Z
view/python_core/rois/iltis_rois/__init__.py
galizia-lab/pyview
07bef637b0c60fae8830c1b3947e4a7bcd14bb2c
[ "BSD-3-Clause" ]
5
2021-11-03T12:43:03.000Z
2021-12-16T10:34:52.000Z
view/python_core/rois/iltis_rois/__init__.py
galizia-lab/pyview
07bef637b0c60fae8830c1b3947e4a7bcd14bb2c
[ "BSD-3-Clause" ]
1
2021-09-23T15:46:26.000Z
2021-09-23T15:46:26.000Z
from .text_based import CircleILTISROIData, PolygonILTISROIData from .tiff_based import SpatialFootprintROIData
37.333333
63
0.892857
11
112
8.909091
0.727273
0.22449
0
0
0
0
0
0
0
0
0
0
0.080357
112
2
64
56
0.951456
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.5
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
0
1
1
0
7
eb03d7b295fc0e85739b7e29272bf77d0fd90688
13,598
py
Python
backend/tests/testU.py
debiai/debiai
7c5d00d13e7795c61e46f03c0653cb785bcc95e2
[ "Apache-2.0" ]
2
2022-03-11T17:34:54.000Z
2022-03-15T14:06:48.000Z
backend/tests/testU.py
DebiAI/debiai
7c5d00d13e7795c61e46f03c0653cb785bcc95e2
[ "Apache-2.0" ]
1
2022-03-01T14:36:19.000Z
2022-03-01T14:36:19.000Z
backend/tests/testU.py
DebiAI/debiai
7c5d00d13e7795c61e46f03c0653cb785bcc95e2
[ "Apache-2.0" ]
null
null
null
import requests import ujson as json import random appUrl = "http://localhost:8080/" # ============== PROJECTS TEST ================= def test_get_projects(): url = appUrl + "projects" resp = requests.request("GET", url, headers={}, data={}) assert resp.status_code == 200 assert type(json.loads(resp...
30.488789
73
0.615017
1,502
13,598
5.511318
0.077896
0.063784
0.085045
0.106306
0.839092
0.815898
0.780623
0.766369
0.75006
0.74402
0
0.015056
0.228269
13,598
445
74
30.557303
0.773775
0.042212
0
0.765244
0
0
0.17175
0.010628
0
0
0
0
0.253049
1
0.04878
false
0
0.009146
0
0.057927
0.045732
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
eb44b27e4ea1b9f6af02466617b1a465b7da5c97
130
py
Python
ontology-tools/CMCLABoxManagement/chemaboxwriters/chemaboxwriters/ontospecies/__init__.py
cambridge-cares/TheWorldAvatar
baf08ddc090414c6d01e48c74b408f2192461e9e
[ "MIT" ]
21
2021-03-08T01:58:25.000Z
2022-03-09T15:46:16.000Z
ontology-tools/CMCLABoxManagement/chemaboxwriters/chemaboxwriters/ontospecies/__init__.py
cambridge-cares/TheWorldAvatar
baf08ddc090414c6d01e48c74b408f2192461e9e
[ "MIT" ]
63
2021-05-04T15:05:30.000Z
2022-03-23T14:32:29.000Z
ontology-tools/CMCLABoxManagement/chemaboxwriters/chemaboxwriters/ontospecies/__init__.py
cambridge-cares/TheWorldAvatar
baf08ddc090414c6d01e48c74b408f2192461e9e
[ "MIT" ]
15
2021-03-08T07:52:03.000Z
2022-03-29T04:46:20.000Z
from chemaboxwriters.ontospecies.pipeline import assemble_os_pipeline from chemaboxwriters.ontospecies.writeabox import write_abox
65
69
0.915385
15
130
7.733333
0.666667
0.327586
0.517241
0
0
0
0
0
0
0
0
0
0.053846
130
2
70
65
0.943089
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
deb50a9135b23b65cc2cbbeacc9a5f6c64dbf6e6
15,182
py
Python
pyswitch/os/slxos/base/mct.py
mfeed/PySwitchLib
54e872bcbe77f2ae840d845dadb7c5b9c12482ed
[ "Apache-2.0" ]
6
2017-10-02T21:02:02.000Z
2018-07-04T13:56:55.000Z
pyswitch/os/slxos/base/mct.py
mfeed/PySwitchLib
54e872bcbe77f2ae840d845dadb7c5b9c12482ed
[ "Apache-2.0" ]
23
2017-10-03T18:49:11.000Z
2019-07-20T00:25:44.000Z
pyswitch/os/slxos/base/mct.py
mfeed/PySwitchLib
54e872bcbe77f2ae840d845dadb7c5b9c12482ed
[ "Apache-2.0" ]
4
2018-02-27T05:43:37.000Z
2019-06-30T13:30:25.000Z
# 2017.01.30 15:56:30 IST # Embedded file name: pyswitch/isis.py """ Copyright 2015 Brocade Communications Systems, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/li...
40.811828
76
0.558095
1,725
15,182
4.72058
0.112464
0.050841
0.035368
0.028
0.813459
0.788039
0.746776
0.73597
0.723566
0.723566
0
0.018029
0.335068
15,182
371
77
40.921833
0.788608
0.427678
0
0.722892
0
0
0.142536
0.03094
0
0
0
0
0
1
0.048193
false
0
0.006024
0.018072
0.150602
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
a0d4a82035398d7885a84c76eb8fe1a7f17d6126
10,865
py
Python
bitcoin/defaults.py
wizardofozzie/python-bitcoin
cffe691507b3414d62f1235dbb0e635f1c49ab0f
[ "MIT" ]
1
2020-12-30T15:38:47.000Z
2020-12-30T15:38:47.000Z
bitcoin/defaults.py
wizardofozzie/python-bitcoin
cffe691507b3414d62f1235dbb0e635f1c49ab0f
[ "MIT" ]
null
null
null
bitcoin/defaults.py
wizardofozzie/python-bitcoin
cffe691507b3414d62f1235dbb0e635f1c49ab0f
[ "MIT" ]
1
2020-12-30T15:38:33.000Z
2020-12-30T15:38:33.000Z
# -*- coding: utf-8 -*- # Copyright © 2012-2014 by its contributors. See AUTHORS for details. # Distributed under the MIT/X11 software license, see the accompanying # file LICENSE or http://www.opensource.org/licenses/mit-license.php. CLIENT_VERSION_MAJOR = 0 CLIENT_VERSION_MINOR = 8 CLIENT_VERSION_REVISION = 2 ...
58.72973
90
0.733456
535
10,865
14.738318
0.364486
0.020292
0.032467
0.034496
0.755485
0.729867
0.708053
0.708053
0.708053
0.708053
0
0.1849
0.19908
10,865
184
91
59.048913
0.721099
0.020801
0
0.732955
0
0
0.429283
0.414519
0
1
0.003762
0
0
0
null
null
0
0.011364
null
null
0
0
0
1
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
null
1
0
0
0
1
0
0
0
0
0
0
0
0
10
a0df29c4d9dbb2f34a7de75033cb7b0d52fc14f1
5,039
py
Python
tests/test_diff.py
suganthsundar/melano
8e9dd57d3ce9945b18e64da6b0df30811018fbf0
[ "MIT" ]
null
null
null
tests/test_diff.py
suganthsundar/melano
8e9dd57d3ce9945b18e64da6b0df30811018fbf0
[ "MIT" ]
null
null
null
tests/test_diff.py
suganthsundar/melano
8e9dd57d3ce9945b18e64da6b0df30811018fbf0
[ "MIT" ]
null
null
null
import nose from melano.diff import (json_diff, list_diff) def test_diff_json_simple_equal(): errors = json_diff(x=dict(x=1, y=2, z=3), y=dict(x=1, y=2, z=3)) nose.tools.assert_equal(len(errors), 0) def test_diff_json_simple_not_equal(): errors = json_diff(x=dict(a=1, b=1, c=3), y=dict(a=1, b=2, c=3)) ...
45.396396
119
0.665211
813
5,039
3.96556
0.066421
0.147953
0.246588
0.328784
0.962469
0.937655
0.901985
0.831886
0.798077
0.741625
0
0.04696
0.125223
5,039
110
120
45.809091
0.684437
0
0
0.528736
0
0
0.134974
0
0
0
0
0
0.609195
1
0.126437
false
0
0.022989
0
0.149425
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
9
9d06e989d5295450ccfd2124029464298f434eb9
4,644
py
Python
test/test_kill.py
trentm/python-process
94d2c62244d3c634a3a56a1dde0c09cf2d18fbb2
[ "MIT" ]
1
2019-08-06T09:30:40.000Z
2019-08-06T09:30:40.000Z
test/test_kill.py
trentm/python-process
94d2c62244d3c634a3a56a1dde0c09cf2d18fbb2
[ "MIT" ]
null
null
null
test/test_kill.py
trentm/python-process
94d2c62244d3c634a3a56a1dde0c09cf2d18fbb2
[ "MIT" ]
1
2021-04-23T10:07:35.000Z
2021-04-23T10:07:35.000Z
"""Test simple Process.kill() usage.""" import os import sys import time import pprint import unittest import threading if not sys.platform.startswith("win"): import signal import process class KillTestCase(unittest.TestCase): def _KillAndReturn(self, child): try: child.kill() e...
34.147059
77
0.595607
572
4,644
4.763986
0.227273
0.02055
0.046972
0.041101
0.801835
0.785321
0.774679
0.728807
0.728807
0.728807
0
0.002795
0.306632
4,644
135
78
34.4
0.843478
0.228252
0
0.648352
0
0
0.078233
0
0
0
0
0
0
0
null
null
0
0.098901
null
null
0.010989
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
9d07a8d154ed7de323371ba616ca9f44a5e988d6
126
py
Python
discord/template.py
kuzaku-developers/disnake
61cc1ad4c2bafd39726a1447c85f7e469e41af10
[ "MIT" ]
null
null
null
discord/template.py
kuzaku-developers/disnake
61cc1ad4c2bafd39726a1447c85f7e469e41af10
[ "MIT" ]
null
null
null
discord/template.py
kuzaku-developers/disnake
61cc1ad4c2bafd39726a1447c85f7e469e41af10
[ "MIT" ]
null
null
null
from disnake.template import * from disnake.template import __dict__ as __original_dict__ locals().update(__original_dict__)
25.2
58
0.84127
16
126
5.75
0.5625
0.23913
0.413043
0.543478
0
0
0
0
0
0
0
0
0.095238
126
4
59
31.5
0.807018
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
9d0d559bb682cd82800e8f64e4632224a758e22f
6,280
py
Python
tests/test_orset.py
anshulahuja98/python3-crdt
b2e5d67580c562ae08d56127f41f7562e3ebe8e9
[ "MIT" ]
48
2019-02-16T08:01:52.000Z
2022-03-19T00:45:13.000Z
tests/test_orset.py
geetesh-gupta/python3-crdt
02dfc28895da031169fbc8bd9ae1434dbfacd8b9
[ "MIT" ]
5
2020-10-01T09:52:38.000Z
2021-05-18T09:32:35.000Z
tests/test_orset.py
anshulahuja98/python3-crdt
b2e5d67580c562ae08d56127f41f7562e3ebe8e9
[ "MIT" ]
3
2019-02-16T08:01:54.000Z
2022-01-29T15:58:14.000Z
import unittest import uuid import py3crdt from py3crdt.orset import ORSet class TestORSet(unittest.TestCase): def setUp(self): # Create a ORSet self.orset1 = ORSet(uuid.uuid4()) # Create another ORSet self.orset2 = ORSet(uuid.uuid4()) # Add elements to orset1 sel...
36.091954
96
0.588694
782
6,280
4.589514
0.069054
0.139315
0.070215
0.086932
0.883812
0.838674
0.83338
0.809975
0.79465
0.754806
0
0.028462
0.250318
6,280
173
97
36.300578
0.733857
0.10621
0
0.72973
0
0
0.039756
0
0
0
0
0
0.504505
1
0.081081
false
0
0.036036
0
0.126126
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
9d5a37b8d78917875c09c5b3a9f6821993c04f5a
23,507
py
Python
source/tests.py
kroopson/rbfblender
cbaa39546fd22274fa0d5fe956838dbfe4d9d715
[ "MIT" ]
3
2019-01-10T20:33:21.000Z
2019-05-03T12:47:07.000Z
source/tests.py
kroopson/rbfblender
cbaa39546fd22274fa0d5fe956838dbfe4d9d715
[ "MIT" ]
null
null
null
source/tests.py
kroopson/rbfblender
cbaa39546fd22274fa0d5fe956838dbfe4d9d715
[ "MIT" ]
null
null
null
import unittest import maya.OpenMaya as om import maya.standalone maya.standalone.initialize() import maya.cmds as cmds import os import sys sys.path.append(os.path.dirname(__file__)) cmds.loadPlugin("rbfblender") class TestRbfBlender(unittest.TestCase): def setUp(self): cmds.file(new=True, f=True) ...
47.202811
174
0.561195
2,752
23,507
4.706032
0.043605
0.113968
0.115358
0.111883
0.931357
0.894526
0.876303
0.863872
0.85144
0.838082
0
0.033781
0.26205
23,507
497
175
47.297787
0.712803
0
0
0.826733
0
0
0.334865
0.183621
0
0
0
0
0.089109
0
null
null
0.007426
0.014851
null
null
0.10396
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
c248c19b6421ee8b976eb5f21ebcbfeb863abee7
334,075
py
Python
datapreprocessing/linepointfunctions_split_0610_20190920.py
Andyzr/work_zone_safety
e653740e7a42f06536f64c199388fd40d85aaaae
[ "MIT" ]
null
null
null
datapreprocessing/linepointfunctions_split_0610_20190920.py
Andyzr/work_zone_safety
e653740e7a42f06536f64c199388fd40d85aaaae
[ "MIT" ]
null
null
null
datapreprocessing/linepointfunctions_split_0610_20190920.py
Andyzr/work_zone_safety
e653740e7a42f06536f64c199388fd40d85aaaae
[ "MIT" ]
null
null
null
import shapefile # import finoa import shapely # import matplotlib import numpy as np import matplotlib.pyplot as plt # import matplotlib.pyplot as plt # import pandas as pd from pyproj import Proj, transform # import stateplane __author__ = 'Zhuoran Zhang' def distPL(Point, lineseg): # input:Point(x,y);linese...
71.952401
122
0.322535
27,348
334,075
3.901894
0.009324
0.215661
0.351001
0.152939
0.987152
0.9848
0.98361
0.981192
0.977528
0.97422
0
0.047279
0.566442
334,075
4,642
123
71.967902
0.689453
0.026647
0
0.978899
0
0
0.002638
0.00177
0
0
0
0
0
1
0.003638
false
0.012612
0.001213
0
0.011157
0.001455
0
0
0
null
1
1
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10