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
c718a453587f2523d16189c7363ca55c6bca7a18
2,931
py
Python
tests/fugue_sql/test_utils.py
gityow/fugue
e975625b33766d8b9dc64c6954871569b59367ec
[ "Apache-2.0" ]
null
null
null
tests/fugue_sql/test_utils.py
gityow/fugue
e975625b33766d8b9dc64c6954871569b59367ec
[ "Apache-2.0" ]
null
null
null
tests/fugue_sql/test_utils.py
gityow/fugue
e975625b33766d8b9dc64c6954871569b59367ec
[ "Apache-2.0" ]
null
null
null
from fugue_sql._utils import fill_sql_template def test_fill_sql_template(): data = {"a": 1, "b": "x"} assert ( "select * from tbl where a = 1 and b = 'x'" == fill_sql_template("select * from tbl where a = {{a}} and b = '{{b}}'", data) ) assert ("""select * from tbl where a = 1 and b = "x" """ ...
34.892857
88
0.476629
364
2,931
3.692308
0.131868
0.125
0.267857
0.15625
0.790179
0.741071
0.741071
0.700893
0.700893
0.653274
0
0.009625
0.291027
2,931
83
89
35.313253
0.637151
0.029683
0
0.181818
0
0
0.342234
0
0
0
0
0
0.381818
1
0.054545
false
0
0.018182
0.018182
0.090909
0
0
0
0
null
0
1
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
0
0
0
0
0
0
0
0
6
c7273a3882be92bef3eeeeb2c24ebc57eaccd151
16,486
py
Python
emma/interface/migrations/0002_auto__add_field_contract_date_signed.py
djangowebstudio/emma
afbdaa5c02b4164687356755fddba307eb682ef4
[ "BSD-3-Clause" ]
null
null
null
emma/interface/migrations/0002_auto__add_field_contract_date_signed.py
djangowebstudio/emma
afbdaa5c02b4164687356755fddba307eb682ef4
[ "BSD-3-Clause" ]
null
null
null
emma/interface/migrations/0002_auto__add_field_contract_date_signed.py
djangowebstudio/emma
afbdaa5c02b4164687356755fddba307eb682ef4
[ "BSD-3-Clause" ]
null
null
null
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Contract.date_signed' db.add_column('interface_contract', 'date_signed', self.gf('django.d...
73.928251
187
0.546828
1,636
16,486
5.413203
0.09291
0.134598
0.233966
0.334237
0.854788
0.836043
0.816622
0.73453
0.668699
0.569896
0
0.01671
0.201383
16,486
222
188
74.261261
0.655932
0.005399
0
0.304762
0
0
0.570121
0.330873
0
0
0
0
0
1
0.009524
false
0
0.019048
0
0.042857
0
0
0
0
null
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c748adc3a5216b0a946f8d2fecf39d7aa4d85ebb
374
py
Python
terrascript/data/fortios.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/data/fortios.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/data/fortios.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/data/fortios.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:16:41 UTC) # # For imports without namespace, e.g. # # >>> import terrascript.data.fortios # # instead of # # >>> import terrascript.data.fortinetdev.fortios # # This is only available for 'official' and 'partner' providers...
24.933333
73
0.740642
49
374
5.653061
0.714286
0.216607
0.158845
0.238267
0
0
0
0
0
0
0
0.037152
0.136364
374
14
74
26.714286
0.820433
0.794118
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c74c235bf2f7afe95304b548ce8f9769a76dbd90
37
py
Python
purple/helpers.py
a8ksh4/purple
11460cc44cda7edf6f8fce5a5c841d4b04a47741
[ "MIT" ]
3
2021-12-24T04:14:48.000Z
2022-01-19T16:48:14.000Z
purple/helpers.py
a8ksh4/purple
11460cc44cda7edf6f8fce5a5c841d4b04a47741
[ "MIT" ]
1
2022-01-25T05:32:21.000Z
2022-01-25T05:32:21.000Z
purple/helpers.py
a8ksh4/purple
11460cc44cda7edf6f8fce5a5c841d4b04a47741
[ "MIT" ]
1
2022-01-19T00:41:04.000Z
2022-01-19T00:41:04.000Z
def key(index): return 1 << index
18.5
21
0.621622
6
37
3.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0.035714
0.243243
37
2
21
18.5
0.785714
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
c771313e108f7daf29caacf358449193feac0774
5,972
py
Python
utils.py
Avashist1998/Viola-Jones_Algorithm
0de21a22485b0f60fa03397ce6592dd2c7e0e3a5
[ "MIT" ]
null
null
null
utils.py
Avashist1998/Viola-Jones_Algorithm
0de21a22485b0f60fa03397ce6592dd2c7e0e3a5
[ "MIT" ]
null
null
null
utils.py
Avashist1998/Viola-Jones_Algorithm
0de21a22485b0f60fa03397ce6592dd2c7e0e3a5
[ "MIT" ]
null
null
null
# The goal of the file to perform the feature extraction using the Haar_Features. # I hoping to define the function in this file and worry about the rest later. import cv2 import os import glob import numpy as np import matplotlib.pyplot as plt import pandas as pd import time # Setting up a assigning the label to t...
43.591241
252
0.611855
1,026
5,972
3.396686
0.11501
0.1033
0.1033
0.050502
0.814921
0.796844
0.792253
0.759254
0.713917
0.65538
0
0.033926
0.180676
5,972
136
253
43.911765
0.678316
0.136805
0
0.695652
0
0
0.031712
0.023735
0
0
0
0
0
1
0.017391
false
0
0.06087
0
0.095652
0.06087
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
0
0
0
0
0
0
6
c77cd30812a9e70f01088285d7cc9ee58cd2135c
160
py
Python
Part_3_advanced/m08_abstract_protocol/abstract_class/homework_1_start/new_movies/datetime_utils.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_3_advanced/m08_abstract_protocol/abstract_class/homework_1_start/new_movies/datetime_utils.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_3_advanced/m08_abstract_protocol/abstract_class/homework_1_start/new_movies/datetime_utils.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
from dateutil.relativedelta import relativedelta # type: ignore def full_years_between_dates(later, earlier): return relativedelta(later, earlier).years
26.666667
64
0.80625
19
160
6.631579
0.736842
0.190476
0
0
0
0
0
0
0
0
0
0
0.125
160
5
65
32
0.9
0.075
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
c782833324e4ef984f5e35fae938eed30c294c73
5,845
py
Python
basic_analysis_module/drawDataProcessUtils.py
PeterPaaan/XMe_DataAnalysis
0f95cec3bc99ab8895133aea78ddedbd649c1834
[ "Apache-2.0" ]
null
null
null
basic_analysis_module/drawDataProcessUtils.py
PeterPaaan/XMe_DataAnalysis
0f95cec3bc99ab8895133aea78ddedbd649c1834
[ "Apache-2.0" ]
null
null
null
basic_analysis_module/drawDataProcessUtils.py
PeterPaaan/XMe_DataAnalysis
0f95cec3bc99ab8895133aea78ddedbd649c1834
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # @Time : 2021/9/8 22:09 # @Author : Gang # @File : drawDataProcessUtils.py import numpy as np from basicAnalysisConst import * from myLog.MyLog import * class DrawDataProcessUtils: logger = MyLog("DrawDataProcessUtils", BASEDIR) @classmethod def calculate_draw_data(cls, data...
44.280303
120
0.656116
804
5,845
4.470149
0.118159
0.055648
0.050083
0.043406
0.840846
0.83222
0.825264
0.825264
0.825264
0.820812
0
0.019244
0.226518
5,845
131
121
44.618321
0.775713
0.155518
0
0.674699
0
0
0.065147
0
0
0
0
0.007634
0
1
0.048193
false
0
0.036145
0
0.156627
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
0
0
0
0
0
0
6
c7d682ee843c20b1c3e5a2587f5980f332c048d9
4,524
py
Python
GAN/AC-BIGGAN-with-CIFAR10/utils/metrics.py
kiritowu/Deep-Learning
baaec55a3b32f9e02ca3d834f1408f6736bdc170
[ "MIT" ]
3
2021-12-16T02:26:10.000Z
2022-02-23T16:52:34.000Z
GAN/AC-BIGGAN-with-CIFAR10/utils/metrics.py
kiritowu/Deep-Learning
baaec55a3b32f9e02ca3d834f1408f6736bdc170
[ "MIT" ]
null
null
null
GAN/AC-BIGGAN-with-CIFAR10/utils/metrics.py
kiritowu/Deep-Learning
baaec55a3b32f9e02ca3d834f1408f6736bdc170
[ "MIT" ]
null
null
null
from typing import Optional import torch import torch.nn as nn from torch.utils import data from torchvision import transforms import PIL.Image as Image try: from torchmetrics.image import FID, IS except ModuleNotFoundError: raise ModuleNotFoundError( "torchmetrics is not found. Please ins...
36.483871
111
0.571618
521
4,524
4.712092
0.205374
0.045621
0.035845
0.034623
0.765377
0.753971
0.753971
0.727902
0.719756
0.719756
0
0.032695
0.330681
4,524
124
112
36.483871
0.778071
0.011715
0
0.723404
0
0
0.029754
0
0
0
0
0
0
1
0.06383
false
0
0.074468
0
0.202128
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
0
0
0
0
0
0
0
0
0
6
40078786194afce550cd4853bc8215e656238d87
17,333
py
Python
pyke/kepplot.py
ecalifornica/pyke
6a3fcc0513cf012044e4420cc4d17064e582d142
[ "MIT" ]
null
null
null
pyke/kepplot.py
ecalifornica/pyke
6a3fcc0513cf012044e4420cc4d17064e582d142
[ "MIT" ]
1
2017-07-25T19:23:05.000Z
2017-07-25T19:23:05.000Z
pyke/kepplot.py
mirca/PyKE
6a3fcc0513cf012044e4420cc4d17064e582d142
[ "MIT" ]
null
null
null
from . import kepmsg, kepstat import math import numpy as np from matplotlib import pyplot as plt def location(shape): """shape the window, enforce absolute scaling, rotate the labels""" # position first axes inside the plotting window ax = plt.axes(shape) # force tick labels to be absolute rather tha...
43.116915
84
0.515087
2,345
17,333
3.804264
0.091684
0.056496
0.123305
0.06098
0.793633
0.783544
0.772335
0.747226
0.735344
0.723686
0
0.054033
0.328391
17,333
401
85
43.224439
0.71231
0.037212
0
0.755747
0
0
0.019549
0
0
0
0
0
0
1
0.031609
false
0.022989
0.011494
0
0.063218
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
0
0
0
0
0
0
0
0
0
6
40248b59c2a3a7e2ac873ee376548f2f0cf9670c
8,445
py
Python
tests/controllers/test_survey.py
reputage/SQSurvey
938a59806fa0877205a1a460ceb23ecdf2fa9201
[ "Apache-2.0" ]
null
null
null
tests/controllers/test_survey.py
reputage/SQSurvey
938a59806fa0877205a1a460ceb23ecdf2fa9201
[ "Apache-2.0" ]
null
null
null
tests/controllers/test_survey.py
reputage/SQSurvey
938a59806fa0877205a1a460ceb23ecdf2fa9201
[ "Apache-2.0" ]
null
null
null
import falcon import uuid try: import simplejson as json except ImportError: import json from didery.routing import * from didery.db.dbing import BaseSurveyDB, DB, DB_SURVEY_RESULTS_NAME def testSurveyPost(client): surveyResult = { "ip_address": "127.0.0.1" } response = client.simulate_...
36.877729
133
0.678271
1,080
8,445
5.188889
0.149074
0.054961
0.033904
0.044076
0.800678
0.78444
0.739293
0.733405
0.720021
0.720021
0
0.025408
0.217052
8,445
228
134
37.039474
0.822142
0.013262
0
0.40625
0
0.00625
0.370633
0.050666
0
0
0
0
0.19375
1
0.05625
false
0
0.04375
0
0.1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
40424aca71843a5d8a65b235194039f86d210ad3
39
py
Python
sandbox/michelle.py
writecrow/crow_training
17324ce93608acf997c2880b587dd9483729b895
[ "MIT" ]
7
2018-02-27T15:24:10.000Z
2018-02-27T22:20:58.000Z
sandbox/michelle.py
writecrow/crow_training
17324ce93608acf997c2880b587dd9483729b895
[ "MIT" ]
11
2018-02-21T03:07:44.000Z
2018-02-27T22:33:29.000Z
sandbox/michelle.py
writecrow/crow_training
17324ce93608acf997c2880b587dd9483729b895
[ "MIT" ]
null
null
null
print("Hello Mark, This is Michelle.")
19.5
38
0.717949
6
39
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.128205
39
1
39
39
0.823529
0
0
0
0
0
0.74359
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
40b2f20c94f194cf5bff0b09adc65a2debeb1e55
160
py
Python
paz/optimization/__init__.py
niqbal996/paz
f27205907367415d5b21f90e1a1d1d1ce598e889
[ "MIT" ]
300
2020-10-29T08:02:05.000Z
2022-03-30T21:47:32.000Z
paz/optimization/__init__.py
albertofernandezvillan/paz
9fbd50b993f37e1e807297a29c6044c09967c9cc
[ "MIT" ]
30
2020-10-29T12:40:32.000Z
2022-03-31T14:06:35.000Z
paz/optimization/__init__.py
albertofernandezvillan/paz
9fbd50b993f37e1e807297a29c6044c09967c9cc
[ "MIT" ]
62
2020-10-29T12:34:13.000Z
2022-03-29T05:21:45.000Z
from .losses import MultiBoxLoss from .losses import KeypointNetLoss from .losses import DiceLoss from .losses import FocalLoss from .losses import JaccardLoss
26.666667
35
0.84375
20
160
6.75
0.4
0.37037
0.592593
0
0
0
0
0
0
0
0
0
0.125
160
5
36
32
0.964286
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
0
0
0
6
40d039b83d423a7126f84f03e449445afb22d6d6
3,249
py
Python
utility/feed_generation_utility.py
etfrenchvcu/DeepPrime2Sec
a61146c7c7d8a0f8821717b9f7aed8703cfdb2a1
[ "Apache-2.0" ]
18
2019-07-17T01:53:03.000Z
2021-12-10T13:08:51.000Z
utility/feed_generation_utility.py
etfrenchvcu/DeepPrime2Sec
a61146c7c7d8a0f8821717b9f7aed8703cfdb2a1
[ "Apache-2.0" ]
18
2019-10-13T02:45:50.000Z
2022-02-10T00:17:06.000Z
utility/feed_generation_utility.py
etfrenchvcu/DeepPrime2Sec
a61146c7c7d8a0f8821717b9f7aed8703cfdb2a1
[ "Apache-2.0" ]
9
2019-07-26T01:16:26.000Z
2020-11-14T01:57:24.000Z
import numpy as np from utility.file_utility import FileUtility def train_batch_generator_408(batch_size=64): ''' :param batch_size: :return: ''' start_idx = 0 train_lengths = [int(j) for j in FileUtility.load_list( 'datasets/train_length.txt')] X_train = np.load('datasets/X_train...
38.223529
100
0.61896
481
3,249
3.906445
0.114345
0.161788
0.105375
0.126663
0.862693
0.794572
0.758382
0.734433
0.732304
0.713677
0
0.022578
0.250231
3,249
84
101
38.678571
0.748768
0.025239
0
0.45
0
0
0.068511
0.068511
0
0
0
0
0
1
0.05
false
0
0.033333
0
0.083333
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
0
0
0
0
0
0
6
904bf72f33620fcf83e91de982459952e01f2ba1
53
py
Python
test/test_import.py
Rayman/toypkg
76f6862cdd4e923abd34d981c60cab292e7a4a29
[ "MIT" ]
null
null
null
test/test_import.py
Rayman/toypkg
76f6862cdd4e923abd34d981c60cab292e7a4a29
[ "MIT" ]
null
null
null
test/test_import.py
Rayman/toypkg
76f6862cdd4e923abd34d981c60cab292e7a4a29
[ "MIT" ]
null
null
null
def test_import(): import toypkg assert True
13.25
18
0.679245
7
53
5
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.264151
53
3
19
17.666667
0.897436
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.666667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
9092763ab41a807d06102c41f57c4af2ff30b015
8,792
py
Python
tests/functional/test_yyy_forking_and_reloading.py
arareko/pysoa
a90e428558500cf692f7f6e33fd358dd2779c328
[ "Apache-2.0" ]
null
null
null
tests/functional/test_yyy_forking_and_reloading.py
arareko/pysoa
a90e428558500cf692f7f6e33fd358dd2779c328
[ "Apache-2.0" ]
null
null
null
tests/functional/test_yyy_forking_and_reloading.py
arareko/pysoa
a90e428558500cf692f7f6e33fd358dd2779c328
[ "Apache-2.0" ]
1
2020-02-21T07:17:48.000Z
2020-02-21T07:17:48.000Z
from __future__ import ( absolute_import, unicode_literals, ) import time import pytest from pysoa.common.constants import ERROR_CODE_ACTION_TIMEOUT from pysoa.common.transport.errors import MessageReceiveTimeout from tests.functional import ( get_container_logs, get_container_process_list, read...
42.47343
116
0.718039
1,223
8,792
4.741619
0.080131
0.098638
0.074496
0.130367
0.846525
0.818934
0.795482
0.764615
0.728057
0.728057
0
0.023544
0.144904
8,792
206
117
42.679612
0.747805
0
0
0.554839
0
0
0.297316
0.146611
0
0
0
0
0.296774
1
0.058065
false
0
0.070968
0
0.129032
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
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
290fb371e6a41d6496f17e9f9f6ddf955c8ffbd0
137
py
Python
hcap/settings/general/seed.py
fabiommendes/capacidade_hospitalar
4f675b574573eb3f51e6be8a927ea230bf2712c7
[ "MIT" ]
null
null
null
hcap/settings/general/seed.py
fabiommendes/capacidade_hospitalar
4f675b574573eb3f51e6be8a927ea230bf2712c7
[ "MIT" ]
31
2020-04-11T13:38:17.000Z
2021-09-22T18:51:11.000Z
hcap/settings/general/seed.py
fabiommendes/capacidade_hospitalar
4f675b574573eb3f51e6be8a927ea230bf2712c7
[ "MIT" ]
1
2020-04-08T17:04:39.000Z
2020-04-08T17:04:39.000Z
from hcap.settings.env import env # Used by user seed commands SEED_DEFAULT_PASSWORD = env("SEED_DEFAULT_PASSWORD", default="Pass@123")
27.4
72
0.79562
21
137
5
0.666667
0.209524
0.361905
0
0
0
0
0
0
0
0
0.02459
0.109489
137
4
73
34.25
0.836066
0.189781
0
0
0
0
0.266055
0.192661
0
0
0
0
0
1
0
false
0.5
0.5
0
0.5
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
0
1
1
0
0
0
0
6
2973e94847ea74f19a48097bd62bd29dec3524a4
91
py
Python
7_Modules/Package1/Package1_1/ModuleTest.py
Oscar-Oliveira/Python3
fa791225a6810b75890d24407b73c5e1b514acbe
[ "MIT" ]
null
null
null
7_Modules/Package1/Package1_1/ModuleTest.py
Oscar-Oliveira/Python3
fa791225a6810b75890d24407b73c5e1b514acbe
[ "MIT" ]
null
null
null
7_Modules/Package1/Package1_1/ModuleTest.py
Oscar-Oliveira/Python3
fa791225a6810b75890d24407b73c5e1b514acbe
[ "MIT" ]
null
null
null
""" Module """ def my_multiplier(value1, value2): return value1 * value2 * 1000
13
35
0.615385
10
91
5.5
0.8
0.436364
0
0
0
0
0
0
0
0
0
0.117647
0.252747
91
6
36
15.166667
0.691176
0.065934
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
462406933a0df9e604be174a72c14431607962b5
22,485
py
Python
django_project/src/imports/processing/tests.py
icrc-fdeniger/waterboard
10d95b15938b495f4c83c6e125cbb6a2ba41e506
[ "MIT" ]
1
2019-01-19T09:01:48.000Z
2019-01-19T09:01:48.000Z
django_project/src/imports/processing/tests.py
icrc-fdeniger/waterboard
10d95b15938b495f4c83c6e125cbb6a2ba41e506
[ "MIT" ]
32
2017-12-15T14:35:17.000Z
2022-03-11T23:16:10.000Z
django_project/src/imports/processing/tests.py
icrc-fdeniger/waterboard
10d95b15938b495f4c83c6e125cbb6a2ba41e506
[ "MIT" ]
4
2019-02-13T07:52:05.000Z
2021-04-29T08:20:58.000Z
# -*- coding: utf-8 -*- import unittest from .errors import FileError, MultipleUuidError, NoRequiredColumnError, UnnamedColumnError from .functions import check_data, check_file_header, check_headers, for_insert, for_update, parse_data_file class TestCSVImport(unittest.TestCase): def test_checkFileHeader_emptyF...
47.336842
119
0.506427
2,718
22,485
3.996689
0.066593
0.055233
0.017491
0.040044
0.874804
0.842953
0.80429
0.771518
0.739575
0.709012
0
0.048375
0.277385
22,485
474
120
47.436709
0.620199
0.000934
0
0.394737
0
0.015789
0.267563
0
0
0
0
0
0.1
1
0.1
false
0
0.010526
0
0.113158
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
0
0
0
0
0
0
6
463afbd78683c87845fac6bedfa6cb0506f041fe
6,781
py
Python
firewall/pluginManager.py
uzairAK/serverom-panel
3dcde05ad618e6bef280db7d3180f926fe2ab1db
[ "MIT" ]
null
null
null
firewall/pluginManager.py
uzairAK/serverom-panel
3dcde05ad618e6bef280db7d3180f926fe2ab1db
[ "MIT" ]
null
null
null
firewall/pluginManager.py
uzairAK/serverom-panel
3dcde05ad618e6bef280db7d3180f926fe2ab1db
[ "MIT" ]
null
null
null
from .signals import * from plogical.pluginManagerGlobal import pluginManagerGlobal class pluginManager: @staticmethod def preFirewallHome(request): return pluginManagerGlobal.globalPlug(request, preFirewallHome) @staticmethod def postFirewallHome(request, response): return pluginMana...
34.596939
94
0.764342
490
6,781
10.577551
0.12449
0.138916
0.324137
0.388964
0.490835
0.26394
0
0
0
0
0
0
0.171361
6,781
196
95
34.596939
0.922406
0
0
0.326531
0
0
0
0
0
0
0
0
0
1
0.326531
false
0
0.013605
0.326531
0.673469
0
0
0
1
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
4659ef8ad5a56ccb89b28121d451b5638378d319
12,439
py
Python
python/test/mapreduce/mapper_pipeline_test.py
rolepoint/appengine-mapreduce
8710047353b8cb37938ec170c3019dfb099e5697
[ "Apache-2.0" ]
null
null
null
python/test/mapreduce/mapper_pipeline_test.py
rolepoint/appengine-mapreduce
8710047353b8cb37938ec170c3019dfb099e5697
[ "Apache-2.0" ]
1
2015-01-30T02:50:09.000Z
2015-01-30T02:52:00.000Z
python/test/mapreduce/mapper_pipeline_test.py
rolepoint/appengine-mapreduce
8710047353b8cb37938ec170c3019dfb099e5697
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright 2011 Google Inc. All Rights Reserved. # pylint: disable=g-bad-name import datetime import unittest from mapreduce.lib import pipeline from google.appengine.api import files from google.appengine.ext import db from mapreduce import context from mapreduce import errors from mapred...
30.191748
78
0.669829
1,469
12,439
5.396869
0.138189
0.031786
0.052977
0.047553
0.799823
0.755424
0.743567
0.741297
0.741297
0.734738
0
0.010436
0.214246
12,439
411
79
30.265207
0.800696
0.076855
0
0.723549
0
0
0.069338
0.026364
0
0
0
0
0.122867
1
0.061433
false
0.003413
0.044369
0
0.136519
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
0
0
0
0
0
0
0
0
0
6
469dca0b079020ec732b7d643edce4955e33299f
106
py
Python
cased/plugins/__init__.py
cased/cased-python
e3c529e3fe816331277812bf4e3db537eb5a54fc
[ "MIT" ]
null
null
null
cased/plugins/__init__.py
cased/cased-python
e3c529e3fe816331277812bf4e3db537eb5a54fc
[ "MIT" ]
null
null
null
cased/plugins/__init__.py
cased/cased-python
e3c529e3fe816331277812bf4e3db537eb5a54fc
[ "MIT" ]
null
null
null
from cased.plugins.casedplugin import DataPlugin from cased.plugins.casedplugin import CasedDefaultPlugin
35.333333
56
0.886792
12
106
7.833333
0.583333
0.191489
0.340426
0.574468
0.702128
0
0
0
0
0
0
0
0.075472
106
2
57
53
0.959184
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
46a22e4eb342d4b6aa4a45089fe8603feb3934f5
81
py
Python
n_in_a_row/game_state/__init__.py
olokshyn/n_in_a_row
d47c16b58c755d640ced4e74854fa37653304e5d
[ "MIT" ]
null
null
null
n_in_a_row/game_state/__init__.py
olokshyn/n_in_a_row
d47c16b58c755d640ced4e74854fa37653304e5d
[ "MIT" ]
null
null
null
n_in_a_row/game_state/__init__.py
olokshyn/n_in_a_row
d47c16b58c755d640ced4e74854fa37653304e5d
[ "MIT" ]
null
null
null
from .game_state import GameState from .game_tree_builder import GameTreeBuilder
27
46
0.876543
11
81
6.181818
0.727273
0.235294
0
0
0
0
0
0
0
0
0
0
0.098765
81
2
47
40.5
0.931507
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
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d3bf2c2f3f27590dfcb369b48d62ab8029da71a0
43,433
py
Python
gnsstools/galileo/e6b_strings.py
GNSSX/GNSS-DSP-tools
a06f83b2f25e3ffebc7502f363028ddfb1d5c8f7
[ "MIT" ]
2
2020-02-28T18:13:51.000Z
2020-07-04T20:19:39.000Z
gnsstools/galileo/e6b_strings.py
GNSSNWO/GNSS-DSP-tools
a06f83b2f25e3ffebc7502f363028ddfb1d5c8f7
[ "MIT" ]
null
null
null
gnsstools/galileo/e6b_strings.py
GNSSNWO/GNSS-DSP-tools
a06f83b2f25e3ffebc7502f363028ddfb1d5c8f7
[ "MIT" ]
null
null
null
# Code strings the E6-B code # OCR from European patent EP1825626B1.pdf (may have a few errors) # The codes for the following PRNs have been compared with recorded signals and should be error-free: # 1 2 3 4 5 7 8 9 11 12 13 14 15 18 19 21 24 25 26 27 30 31 33 36 e6b_strings = { 1: "5mSKpe/wkHoXA3f7IM7e4ejSU9rCSWgxA...
748.844828
862
0.958626
1,479
43,433
28.150778
0.962137
0
0
0
0
0
0
0
0
0
0
0.15582
0.005134
43,433
57
863
761.982456
0.80773
0.005871
0
0
0
0.961538
0.989044
0.989044
0
1
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
6
d3c41618070da11cc2ea1deeb21f1008af4c8fbb
23,987
py
Python
integrations/airflow/tests/test_marquez_dag.py
mobuchowski/marquez
a1964623e13e95ee98b93517f11cdf116a1d1184
[ "Apache-2.0" ]
null
null
null
integrations/airflow/tests/test_marquez_dag.py
mobuchowski/marquez
a1964623e13e95ee98b93517f11cdf116a1d1184
[ "Apache-2.0" ]
null
null
null
integrations/airflow/tests/test_marquez_dag.py
mobuchowski/marquez
a1964623e13e95ee98b93517f11cdf116a1d1184
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under th...
32.903978
79
0.646058
2,837
23,987
5.095171
0.093761
0.059357
0.057627
0.039779
0.796057
0.773919
0.760567
0.746109
0.721965
0.709028
0
0.003593
0.269062
23,987
728
80
32.949176
0.820852
0.109643
0
0.715789
0
0
0.156787
0.072194
0
0
0
0.001374
0.064912
1
0.021053
false
0
0.029825
0.003509
0.070175
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
0
0
0
0
0
0
0
0
0
6
310461f740761fe3fece24641e0162474574c110
131
py
Python
tests/auth_example/auth_example/views.py
KitchenStories/django-rest-swagger
4262cb5156285adcdf661d5204d45eefd269aaca
[ "BSD-2-Clause" ]
1
2021-02-17T13:11:41.000Z
2021-02-17T13:11:41.000Z
tests/auth_example/auth_example/views.py
KitchenStories/django-rest-swagger
4262cb5156285adcdf661d5204d45eefd269aaca
[ "BSD-2-Clause" ]
9
2020-06-05T17:07:13.000Z
2022-01-13T00:36:30.000Z
tests/auth_example/auth_example/views.py
KitchenStories/django-rest-swagger
4262cb5156285adcdf661d5204d45eefd269aaca
[ "BSD-2-Clause" ]
1
2021-02-18T11:05:55.000Z
2021-02-18T11:05:55.000Z
from django.http import HttpResponse def permission_denied_handler(request): return HttpResponse("you have no permissions!")
21.833333
51
0.801527
16
131
6.4375
0.9375
0
0
0
0
0
0
0
0
0
0
0
0.129771
131
5
52
26.2
0.903509
0
0
0
0
0
0.183206
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
31266ef63be16cc1934d60293d6b49c4f1d7b820
196
py
Python
src/clients/twitter/__init__.py
juanitodread/gorrion
1f2c16b7402c237dfb4b47f0fa0afeb3bff7bd19
[ "Apache-2.0" ]
1
2020-09-18T17:53:03.000Z
2020-09-18T17:53:03.000Z
src/clients/twitter/__init__.py
juanitodread/gorrion
1f2c16b7402c237dfb4b47f0fa0afeb3bff7bd19
[ "Apache-2.0" ]
6
2020-10-27T03:31:41.000Z
2021-09-16T18:58:44.000Z
src/clients/twitter/__init__.py
juanitodread/gorrion
1f2c16b7402c237dfb4b47f0fa0afeb3bff7bd19
[ "Apache-2.0" ]
null
null
null
# flake8: noqa from src.clients.twitter.client import ( Twitter, TwitterLocal, ) from src.clients.twitter.models import PublishedTweet from src.clients.twitter.config import TwitterConfig
24.5
53
0.790816
24
196
6.458333
0.541667
0.135484
0.270968
0.406452
0
0
0
0
0
0
0
0.005882
0.132653
196
7
54
28
0.905882
0.061224
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
6
313519530f3b7fd1e6f86640611dcd6119ce7085
37
py
Python
discord/webhook/async_.py
Harukomaze/disnake
541f5c9623a02be894cd1015dbb344070700cb87
[ "MIT" ]
null
null
null
discord/webhook/async_.py
Harukomaze/disnake
541f5c9623a02be894cd1015dbb344070700cb87
[ "MIT" ]
null
null
null
discord/webhook/async_.py
Harukomaze/disnake
541f5c9623a02be894cd1015dbb344070700cb87
[ "MIT" ]
null
null
null
from disnake.webhook.async_ import *
18.5
36
0.810811
5
37
5.8
1
0
0
0
0
0
0
0
0
0
0
0
0.108108
37
1
37
37
0.878788
0
0
0
0
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
316b29aee0c5c22612f6454966a5b61d32abe8f1
427
py
Python
whatnot/utils.py
willmeyers/unofficial-whatnot-api
b7b0792b77824a38b61f45c0e01f346673566a78
[ "MIT" ]
null
null
null
whatnot/utils.py
willmeyers/unofficial-whatnot-api
b7b0792b77824a38b61f45c0e01f346673566a78
[ "MIT" ]
null
null
null
whatnot/utils.py
willmeyers/unofficial-whatnot-api
b7b0792b77824a38b61f45c0e01f346673566a78
[ "MIT" ]
1
2021-06-09T22:44:03.000Z
2021-06-09T22:44:03.000Z
import requets BASE_URL = 'https://api.whatnot.com/graphql/' def query(query, variables): resp = requets.post(f'{BASE_URL}', params=variables, data={ 'query': query } ) return resp.json() def send_mutation(query, variables): resp = requets.post(f'{BASE_URL}', ...
15.814815
45
0.543326
46
427
4.956522
0.456522
0.092105
0.157895
0.219298
0.701754
0.701754
0.701754
0.701754
0.701754
0.701754
0
0
0.320843
427
26
46
16.423077
0.786207
0
0
0.555556
0
0
0.145199
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0
0.277778
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
3170941d662209873a4cdb4b02e25a9b3b97f34c
104,484
py
Python
anuga/abstract_2d_finite_volumes/tests/test_quantity.py
samcom12/anuga_core
f4378114dbf02d666fe6423de45798add5c42806
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
anuga/abstract_2d_finite_volumes/tests/test_quantity.py
samcom12/anuga_core
f4378114dbf02d666fe6423de45798add5c42806
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
anuga/abstract_2d_finite_volumes/tests/test_quantity.py
samcom12/anuga_core
f4378114dbf02d666fe6423de45798add5c42806
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
#!/usr/bin/env python from __future__ import print_function from __future__ import division from builtins import zip from builtins import map from builtins import str from builtins import range from past.utils import old_div import unittest from math import sqrt, pi import tempfile from anuga.abstract_2d_finite_volum...
37.249198
96
0.520032
12,897
104,484
4.083585
0.046445
0.061975
0.081666
0.073577
0.831314
0.795751
0.777371
0.740003
0.705256
0.682661
0
0.089356
0.347173
104,484
2,804
97
37.262482
0.682759
0.159383
0
0.660218
0
0
0.016185
0.000403
0
0
0
0.00107
0.17896
1
0.047158
false
0.004232
0.026602
0.003023
0.078597
0.005441
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
0
0
0
0
0
0
6
3189197c2934f8cd2261e7516806da385083c85d
339
py
Python
modules/tests/test_weather.py
anamayagarodia/JARVIS-on-Messenger
d7198db0afe99cf3c0f7aacd5d5a16641deba809
[ "MIT" ]
6
2017-05-17T23:46:16.000Z
2017-05-18T19:50:15.000Z
modules/tests/test_weather.py
anamayagarodia/JARVIS-on-Messenger
d7198db0afe99cf3c0f7aacd5d5a16641deba809
[ "MIT" ]
null
null
null
modules/tests/test_weather.py
anamayagarodia/JARVIS-on-Messenger
d7198db0afe99cf3c0f7aacd5d5a16641deba809
[ "MIT" ]
2
2018-08-06T06:03:58.000Z
2020-01-08T07:57:37.000Z
import modules def test_weather(): assert('weather' == modules.process_query('tell me the weather in London')[0]) assert('weather' == modules.process_query('weather Delhi')[0]) assert('weather' == modules.process_query('What\'s the weather in Texas?')[0]) assert('weather' != modules.process_query('some...
42.375
82
0.699115
45
339
5.155556
0.444444
0.224138
0.344828
0.465517
0.564655
0.426724
0
0
0
0
0
0.013559
0.129794
339
7
83
48.428571
0.772881
0
0
0
0
0
0.268437
0
0
0
0
0
0.666667
1
0.166667
true
0
0.166667
0
0.333333
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
1
0
0
1
0
0
0
0
0
0
6
31945cb30edaf65a600a39ecfec83118ba06e341
1,857
py
Python
tests/test_hash.py
MicrohexHQ/liboqs
6340a0ba71f66ad494ede00d38f358b2a4546164
[ "MIT" ]
null
null
null
tests/test_hash.py
MicrohexHQ/liboqs
6340a0ba71f66ad494ede00d38f358b2a4546164
[ "MIT" ]
null
null
null
tests/test_hash.py
MicrohexHQ/liboqs
6340a0ba71f66ad494ede00d38f358b2a4546164
[ "MIT" ]
1
2020-10-12T13:30:00.000Z
2020-10-12T13:30:00.000Z
import hashlib import helpers import pytest import sys @helpers.filtered_test @pytest.mark.skipif(sys.platform.startswith("win"), reason="Not supported on Windows") def test_aes(): helpers.run_subprocess( [helpers.path_to_executable('test_aes')], ) @helpers.filtered_test @pytest.mark.skipif(sys.platfo...
34.388889
96
0.706516
215
1,857
5.925581
0.204651
0.062794
0.074568
0.098116
0.867347
0.867347
0.867347
0.77551
0.701727
0.701727
0
0.097893
0.130856
1,857
53
97
35.037736
0.69145
0
0
0.5
0
0
0.191272
0.069504
0
0
0
0
0.065217
1
0.108696
false
0
0.108696
0
0.217391
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
0
0
0
0
0
0
6
31c40436b83c2b1b5cf6a031de834bad6a5aeb45
30
py
Python
hello.py
AleksandrTheFirst/pythonTests
0c1d7e10ccf34f633d5aea15f039fa6e434c494f
[ "Apache-2.0" ]
null
null
null
hello.py
AleksandrTheFirst/pythonTests
0c1d7e10ccf34f633d5aea15f039fa6e434c494f
[ "Apache-2.0" ]
null
null
null
hello.py
AleksandrTheFirst/pythonTests
0c1d7e10ccf34f633d5aea15f039fa6e434c494f
[ "Apache-2.0" ]
null
null
null
print("Hello from Aleksandr")
15
29
0.766667
4
30
5.75
1
0
0
0
0
0
0
0
0
0
0
0
0.1
30
1
30
30
0.851852
0
0
0
0
0
0.666667
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
9ec4e8a15d0480accb64acdf16f67e7a2701ef39
28,269
py
Python
AutoEn.py
nileshchilka1/AutoEnsembler
4df8fe160bbfae16e9a9a401ef8a7c8a20ffc414
[ "MIT" ]
3
2020-10-24T06:45:58.000Z
2021-11-05T10:42:56.000Z
AutoEn.py
nileshchilka1/AutoEnsembler
4df8fe160bbfae16e9a9a401ef8a7c8a20ffc414
[ "MIT" ]
null
null
null
AutoEn.py
nileshchilka1/AutoEnsembler
4df8fe160bbfae16e9a9a401ef8a7c8a20ffc414
[ "MIT" ]
null
null
null
import numpy as np from sklearn.model_selection import train_test_split,GridSearchCV,RandomizedSearchCV from sklearn.metrics import accuracy_score,confusion_matrix from sklearn.metrics import r2_score import warnings def findCombinationsUtil(arr, index, num, reducedNum,size,unique_classes): global combinations ...
43.357362
165
0.56967
3,330
28,269
4.361261
0.054955
0.044068
0.053708
0.049577
0.83564
0.821662
0.789919
0.76823
0.754252
0.732769
0
0.018257
0.341222
28,269
651
166
43.423963
0.761585
0
0
0.600823
0
0
0.055162
0.029085
0
0
0
0
0
1
0.045267
false
0
0.032922
0
0.098765
0.041152
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
0
0
0
0
0
0
6
9ef4cd147d43d2ad1ef9d58b3b2a7ce4421f14c7
19,189
py
Python
api/vm/snapshot/views.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
97
2016-11-15T14:44:23.000Z
2022-03-13T18:09:15.000Z
api/vm/snapshot/views.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
334
2016-11-17T19:56:57.000Z
2022-03-18T10:45:53.000Z
api/vm/snapshot/views.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
33
2017-01-02T16:04:13.000Z
2022-02-07T19:20:24.000Z
from vms.models import SnapshotDefine from api.decorators import api_view, request_data, setting_required from api.permissions import IsAdminOrReadOnly from api.utils.db import get_object from api.vm.utils import get_vm, get_vms # noinspection PyProtectedMember from api.image.base.views import image_snapshot from api....
40.82766
120
0.636875
2,366
19,189
5.022401
0.101437
0.064798
0.090718
0.033662
0.820247
0.801397
0.772869
0.760498
0.718169
0.711605
0
0.019309
0.252384
19,189
469
121
40.914712
0.809006
0.74871
0
0.410714
0
0
0.120921
0.067308
0
0
0
0.004264
0
1
0.089286
false
0
0.178571
0
0.357143
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
0
0
0
0
0
0
6
730daf2050dff29afc293bab7dc3c14330e6afd3
193
py
Python
toolchain/riscv/MSYS/python/Lib/test/test_ctypes.py
zhiqiang-hu/bl_iot_sdk
154ee677a8cc6a73e6a42a5ff12a8edc71e6d15d
[ "Apache-2.0" ]
207
2018-10-01T08:53:01.000Z
2022-03-14T12:15:54.000Z
toolchain/riscv/MSYS/python/Lib/test/test_ctypes.py
zhiqiang-hu/bl_iot_sdk
154ee677a8cc6a73e6a42a5ff12a8edc71e6d15d
[ "Apache-2.0" ]
8
2019-06-29T14:18:51.000Z
2022-02-19T07:30:27.000Z
toolchain/riscv/MSYS/python/Lib/test/test_ctypes.py
zhiqiang-hu/bl_iot_sdk
154ee677a8cc6a73e6a42a5ff12a8edc71e6d15d
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
import unittest from test.support import import_module ctypes_test = import_module('ctypes.test') load_tests = ctypes_test.load_tests if __name__ == "__main__": unittest.main()
19.3
43
0.740933
25
193
5.16
0.48
0.232558
0.27907
0.341085
0
0
0
0
0
0
0
0
0.170984
193
9
44
21.444444
0.80625
0
0
0
0
0
0.103261
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
73273f3f91426eb2164d8b8a7c4607e98f96daf2
34,146
py
Python
stylegan2/NN_getDist_testCode_forStylegan2.py
chenqiguo/GAN_replication
18e71914164f0d735354afb0134ce00570080ecd
[ "OLDAP-2.3" ]
2
2021-11-11T00:18:28.000Z
2021-12-28T01:10:25.000Z
stylegan2/NN_getDist_testCode_forStylegan2.py
chenqiguo/GAN_replication
18e71914164f0d735354afb0134ce00570080ecd
[ "OLDAP-2.3" ]
null
null
null
stylegan2/NN_getDist_testCode_forStylegan2.py
chenqiguo/GAN_replication
18e71914164f0d735354afb0134ce00570080ecd
[ "OLDAP-2.3" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Sep 23 16:09:15 2020 @author: guo.1648 """ # referenced from NN_query_testCode_forStylegan2.py, # and NN_getDist_testCode_forBiggan.py. # this code is for stylegan2 sample sheet. # this code also do 1 NN matching for the generated images and the orig...
64.793169
192
0.815088
4,345
34,146
6.129114
0.075489
0.060493
0.114265
0.154594
0.82618
0.792047
0.787128
0.782622
0.777703
0.765724
0
0.118272
0.079863
34,146
526
193
64.91635
0.729336
0.060563
0
0.216495
0
0.051546
0.118371
0.110226
0
0
0
0
0.010309
1
0.051546
false
0
0.041237
0.010309
0.14433
0.020619
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
0
0
0
0
0
0
6
7332bebccb309a9f8e8be9bb2faac99f22225132
115
py
Python
syft/frameworks/torch/fl/__init__.py
Rishav1/PySyft
f620ee12727b52b19a317f263789830b57ee2539
[ "Apache-2.0" ]
2
2019-05-29T13:09:02.000Z
2019-06-14T17:40:51.000Z
syft/frameworks/torch/federated/__init__.py
mukira/PySyft
94595008e8326d3111406ae143099b311fc3f2e6
[ "Apache-2.0" ]
3
2019-05-24T01:16:56.000Z
2019-09-18T13:02:30.000Z
syft/frameworks/torch/federated/__init__.py
mukira/PySyft
94595008e8326d3111406ae143099b311fc3f2e6
[ "Apache-2.0" ]
1
2022-03-12T08:04:34.000Z
2022-03-12T08:04:34.000Z
from .dataset import BaseDataset from .dataset import FederatedDataset from .dataloader import FederatedDataLoader
28.75
43
0.869565
12
115
8.333333
0.583333
0.22
0.34
0
0
0
0
0
0
0
0
0
0.104348
115
3
44
38.333333
0.970874
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
0
0
0
6
7dfbcacae2138ffdbf116e2370cff42e7ca663b0
36
py
Python
PyML/utils/__init__.py
ArjixWasTaken/PyML
1a72a8e95e32520826c8c8cb564cb675911cbe5e
[ "MIT" ]
10
2021-11-19T21:53:00.000Z
2022-03-05T14:53:50.000Z
PyML/utils/__init__.py
ArjixWasTaken/PyML
1a72a8e95e32520826c8c8cb564cb675911cbe5e
[ "MIT" ]
null
null
null
PyML/utils/__init__.py
ArjixWasTaken/PyML
1a72a8e95e32520826c8c8cb564cb675911cbe5e
[ "MIT" ]
1
2021-11-21T10:20:42.000Z
2021-11-21T10:20:42.000Z
from PyML.utils.table import Table
18
35
0.805556
6
36
4.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.138889
36
1
36
36
0.935484
0
0
0
0
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b401ff42dd8ae44f656bddedeb74021da37e07ff
33
py
Python
src/qrcode/pyqart/qr/ec/__init__.py
lapinozz/ArtCoder
a1bf769dc58d157395c1d139b54baba64b012297
[ "MIT" ]
525
2016-08-01T00:37:00.000Z
2022-03-24T14:25:04.000Z
src/qrcode/pyqart/qr/ec/__init__.py
lapinozz/ArtCoder
a1bf769dc58d157395c1d139b54baba64b012297
[ "MIT" ]
5
2016-08-08T07:12:05.000Z
2022-03-28T04:15:53.000Z
src/qrcode/pyqart/qr/ec/__init__.py
lapinozz/ArtCoder
a1bf769dc58d157395c1d139b54baba64b012297
[ "MIT" ]
69
2016-08-01T01:09:47.000Z
2022-03-24T14:25:04.000Z
from .rsencoder import RSEncoder
16.5
32
0.848485
4
33
7
0.75
0
0
0
0
0
0
0
0
0
0
0
0.121212
33
1
33
33
0.965517
0
0
0
0
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b43767663d85c442559c7d6fb1163b132a95c9b1
6,932
py
Python
src/ecmwf_models/era5/interface.py
wpreimes/ecmwf_models
574a22779753e835c9d79f63345ac505286da8fb
[ "MIT" ]
null
null
null
src/ecmwf_models/era5/interface.py
wpreimes/ecmwf_models
574a22779753e835c9d79f63345ac505286da8fb
[ "MIT" ]
null
null
null
src/ecmwf_models/era5/interface.py
wpreimes/ecmwf_models
574a22779753e835c9d79f63345ac505286da8fb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ This module contains ERA5/ERA5-Land specific child classes of the netcdf and grib base classes, that are used for reading all ecmwf products. """ from ecmwf_models.interface import ERANcImg, ERANcDs, ERAGrbImg, ERAGrbDs from typing import Tuple, Optional from typing_extensions import Liter...
36.87234
77
0.585834
816
6,932
4.859069
0.154412
0.079445
0.038335
0.048424
0.831274
0.813115
0.796217
0.796217
0.769231
0.769231
0
0.021249
0.321119
6,932
187
78
37.069519
0.821292
0.468552
0
0.690476
0
0
0.054337
0.006673
0
0
0
0
0.047619
1
0.059524
false
0
0.047619
0
0.166667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b47bf6ed3cb1d7d33d6817359f648466e679806a
8,252
py
Python
encode_quantification/preprocess.py
LRGASP/lrgasp-challenge-2-evaluation
a658b76b9f1356bf3786b75522b28464cdde8a2b
[ "MIT" ]
1
2021-07-13T18:35:00.000Z
2021-07-13T18:35:00.000Z
encode_quantification/preprocess.py
LRGASP/lrgasp-challenge-2-evaluation
a658b76b9f1356bf3786b75522b28464cdde8a2b
[ "MIT" ]
null
null
null
encode_quantification/preprocess.py
LRGASP/lrgasp-challenge-2-evaluation
a658b76b9f1356bf3786b75522b28464cdde8a2b
[ "MIT" ]
null
null
null
import base64 import io import pandas as pd import numpy as np import time import zipfile import pickle from app import cache from library.k_values.main import get_kvalues_dict from preprocess_util import * @cache.memoize() def load_data(contents): return pd.read_csv(contents[0], sep='\t',header=None,skiprows=1, co...
54.649007
184
0.744304
1,189
8,252
4.761144
0.120269
0.034976
0.069246
0.041335
0.827062
0.806395
0.764176
0.746511
0.739622
0.717011
0
0.008503
0.144935
8,252
150
185
55.013333
0.793793
0.138027
0
0.596639
0
0
0.082381
0.01989
0
0
0
0
0
1
0.058824
false
0
0.084034
0.008403
0.226891
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
0
0
0
0
0
0
6
81e7a4ba47357cbe64d3ab51e78f3af1c28debe0
1,378
py
Python
sys_simulator/a2c/parallel.py
lbaiao/sys-simulator-2
94f00d43309fe7b56dac5099bd4024695ba317b6
[ "MIT" ]
1
2020-06-14T13:50:28.000Z
2020-06-14T13:50:28.000Z
sys_simulator/a2c/parallel.py
lbaiao/sys-simulator-2
94f00d43309fe7b56dac5099bd4024695ba317b6
[ "MIT" ]
null
null
null
sys_simulator/a2c/parallel.py
lbaiao/sys-simulator-2
94f00d43309fe7b56dac5099bd4024695ba317b6
[ "MIT" ]
null
null
null
import numpy as np def step(args): env = args[0] agents = args[1] a, b, c, d = env.step(agents) c = c * np.ones(len(agents)) return a, b, c, d, env, agents def unpack_multi_agent(x, n_envs, n_agents): total = n_envs * n_agents states, rewards, dones, _, envs, agents = zip(*x) states ...
29.956522
54
0.650218
215
1,378
4.004651
0.181395
0.139373
0.102207
0.083624
0.880372
0.796748
0.796748
0.796748
0.796748
0.796748
0
0.00831
0.214078
1,378
45
55
30.622222
0.786704
0
0
0.571429
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.028571
0
0.314286
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
0
0
0
0
0
0
6
81f516752dfba634ef794934bbf7813fcc7ca825
2,632
py
Python
src/test/cli/test_agent.py
pebble/flotilla
23d9b3aefd8312879549c50e52ea73f3e3f493be
[ "MIT" ]
5
2016-01-01T15:50:21.000Z
2018-11-27T17:38:15.000Z
src/test/cli/test_agent.py
pebble/flotilla
23d9b3aefd8312879549c50e52ea73f3e3f493be
[ "MIT" ]
27
2015-12-17T07:49:56.000Z
2018-07-13T15:06:33.000Z
src/test/cli/test_agent.py
pebble/flotilla
23d9b3aefd8312879549c50e52ea73f3e3f493be
[ "MIT" ]
7
2015-12-01T22:04:24.000Z
2021-11-28T13:21:35.000Z
import unittest from mock import patch, MagicMock from flotilla.cli.agent import start_agent ENVIRONMENT = 'test' SERVICE = 'test-app' REGION = 'us-east-1' ELB = 'elb-1234' class TestAgent(unittest.TestCase): @patch('flotilla.cli.agent.get_queue') @patch('flotilla.cli.agent.get_instance_id') @patch('flo...
37.070423
79
0.677052
333
2,632
5.132132
0.186186
0.109421
0.159157
0.196606
0.773552
0.773552
0.773552
0.734933
0.709772
0.709772
0
0.021657
0.193009
2,632
70
80
37.6
0.782957
0
0
0.578947
0
0
0.329027
0.292933
0
0
0
0
0.105263
1
0.052632
false
0
0.052632
0
0.122807
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c34fa9d1872e5eb2eab91e38808c0ca72bc226d4
36,228
py
Python
src/seam/boundary/distance_calculation.py
MahiroGoto/seam
bd690dcef3305b9200aae287db085a38693bcafd
[ "MIT" ]
null
null
null
src/seam/boundary/distance_calculation.py
MahiroGoto/seam
bd690dcef3305b9200aae287db085a38693bcafd
[ "MIT" ]
null
null
null
src/seam/boundary/distance_calculation.py
MahiroGoto/seam
bd690dcef3305b9200aae287db085a38693bcafd
[ "MIT" ]
null
null
null
import math from typing import Dict, Union import math import numpy as np from compas.geometry import Vector, Point, Rotation, Plane from compas.datastructures import Mesh from seam.utils import utils, primitive, parameters from seam.Branch import discrete_curve, boundary_control import igl import logging ## logg...
38.996771
128
0.535773
4,518
36,228
4.028552
0.056662
0.074996
0.039229
0.01868
0.816109
0.784737
0.750673
0.701445
0.689303
0.655953
0
0.044823
0.337998
36,228
928
129
39.038793
0.714089
0.34995
0
0.701271
0
0
0.006623
0
0
0
0
0
0
1
0.061441
false
0
0.021186
0
0.144068
0.006356
0
0
0
null
0
0
0
1
1
1
1
0
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
6
c376a4a46e7c2662c729919f42beec49eb6a9bf1
196
py
Python
examples/chalicelib/blueprints/__init__.py
cuenca-mx/agave
d4719bdbab8e200c98d206475df6adb275e9fdcc
[ "MIT" ]
3
2020-12-11T16:48:44.000Z
2021-03-29T00:05:57.000Z
examples/chalicelib/blueprints/__init__.py
cuenca-mx/agave
d4719bdbab8e200c98d206475df6adb275e9fdcc
[ "MIT" ]
115
2020-08-26T13:26:07.000Z
2022-03-31T23:58:22.000Z
examples/chalicelib/blueprints/__init__.py
cuenca-mx/agave
d4719bdbab8e200c98d206475df6adb275e9fdcc
[ "MIT" ]
null
null
null
__all__ = ['AuthedRestApiBlueprint'] from agave.blueprints import RestApiBlueprint from .authed import AuthedBlueprint class AuthedRestApiBlueprint(AuthedBlueprint, RestApiBlueprint): ...
19.6
64
0.811224
15
196
10.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.117347
196
9
65
21.777778
0.895954
0
0
0
0
0
0.112245
0.112245
0
0
0
0
0
1
0
false
0
0.4
0
0.6
0.8
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
1
0
6
5ef55d5d210a859399452deba1e7091825667b83
132
py
Python
Section09_Decorator/Practice/Square.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
1
2020-10-20T07:41:51.000Z
2020-10-20T07:41:51.000Z
Section09_Decorator/Practice/Square.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
null
null
null
Section09_Decorator/Practice/Square.py
enriqueescobar-askida/Kinito.Python
e4c5521e771c4de0ceaf81776a4a61f7de01edb4
[ "MIT" ]
null
null
null
class Square: def __init__(self, side): self.side = side def __str__(self): return 'A square with side %s' % self.side
18.857143
46
0.651515
20
132
3.9
0.55
0.307692
0
0
0
0
0
0
0
0
0
0
0.234848
132
6
47
22
0.772277
0
0
0
0
0
0.159091
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.8
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
5efd591c57ebdb81900fd2d8adf59ec48e35b757
22
py
Python
vogue/commands/__init__.py
mayabrandi/vogue
463e6417a9168eadb0d11dea2d0f97919494bcd3
[ "MIT" ]
111
2015-01-15T11:53:20.000Z
2022-03-26T19:55:24.000Z
vogue/commands/__init__.py
mayabrandi/vogue
463e6417a9168eadb0d11dea2d0f97919494bcd3
[ "MIT" ]
2,995
2015-01-15T16:14:20.000Z
2022-03-31T13:36:32.000Z
arnold/commands/__init__.py
Clinical-Genomics/arnold
8b0dfe5a97736b60ffc3498b4f54c91f31bfe410
[ "MIT" ]
55
2015-05-31T19:09:49.000Z
2021-11-01T10:50:31.000Z
from .base import cli
11
21
0.772727
4
22
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
22
1
22
22
0.944444
0
0
0
0
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6f1baf6baf8fc209962c569140f0029a776b9e23
14,220
py
Python
cogs/admin.py
TheRealKeto/Phantom
fa38bb4aa81b33583a345d10a77572acdbafd389
[ "MIT" ]
3
2021-05-11T12:46:09.000Z
2022-03-19T18:27:32.000Z
cogs/admin.py
AushaTeam/Phantom
fa38bb4aa81b33583a345d10a77572acdbafd389
[ "MIT" ]
1
2021-06-02T05:13:10.000Z
2021-06-03T23:39:02.000Z
cogs/admin.py
AushaTeam/Phantom
fa38bb4aa81b33583a345d10a77572acdbafd389
[ "MIT" ]
3
2021-07-13T18:45:39.000Z
2022-02-01T05:00:07.000Z
from discord.ext import commands import aiofiles import aiohttp import aiosqlite import asyncio import discord import glob import math import time import platform class Admin(commands.Cog): def __init__(self, bot): self.bot = bot def get_modules(self): if platform.system() == 'Windows': mo...
44.024768
223
0.697117
2,012
14,220
4.80666
0.088469
0.033089
0.053769
0.070313
0.815738
0.79423
0.77448
0.748733
0.726709
0.686485
0
0.005319
0.153797
14,220
322
224
44.161491
0.798388
0.003727
0
0.664207
0
0.01107
0.22858
0.015316
0
0
0
0
0
1
0.01107
false
0
0.0369
0
0.095941
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
0
0
0
0
0
0
6
6f29ab20c6c08d6be96b13a58c9169db980e2bea
24
py
Python
src/opf/__init__.py
krivopolianskii/opf
16cfe25194fd15c21702658cac302fe0dfce82d9
[ "MIT" ]
null
null
null
src/opf/__init__.py
krivopolianskii/opf
16cfe25194fd15c21702658cac302fe0dfce82d9
[ "MIT" ]
null
null
null
src/opf/__init__.py
krivopolianskii/opf
16cfe25194fd15c21702658cac302fe0dfce82d9
[ "MIT" ]
null
null
null
from .models import *
6
21
0.666667
3
24
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.25
24
3
22
8
0.888889
0
0
0
0
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6f4a672aed74a62d795176e918183f713024cda5
85
py
Python
web_app/vis_comm/routes/python_scripts/server.py
RapidsAtHKUST/FYP16-CommunityDetectionVis
4b7c76f6f8f94d09ae4ab98262b894dfd6af3bc0
[ "MIT" ]
null
null
null
web_app/vis_comm/routes/python_scripts/server.py
RapidsAtHKUST/FYP16-CommunityDetectionVis
4b7c76f6f8f94d09ae4ab98262b894dfd6af3bc0
[ "MIT" ]
null
null
null
web_app/vis_comm/routes/python_scripts/server.py
RapidsAtHKUST/FYP16-CommunityDetectionVis
4b7c76f6f8f94d09ae4ab98262b894dfd6af3bc0
[ "MIT" ]
1
2021-12-02T10:34:23.000Z
2021-12-02T10:34:23.000Z
import os os.system("cd ../community_detection_algos/docker;python run_docker.py;")
21.25
73
0.788235
13
85
4.923077
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.070588
85
3
74
28.333333
0.810127
0
0
0
0
0
0.705882
0.494118
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
6f59ca49ca0477b4268f8d9bcb4231899e51d939
13,586
py
Python
db/dbutil/db_queries_bloomberg.py
kaljuvee/openaltdata
9c5d140b56cfd5260fe3cf52b24bb7d467e87cf1
[ "MIT" ]
null
null
null
db/dbutil/db_queries_bloomberg.py
kaljuvee/openaltdata
9c5d140b56cfd5260fe3cf52b24bb7d467e87cf1
[ "MIT" ]
null
null
null
db/dbutil/db_queries_bloomberg.py
kaljuvee/openaltdata
9c5d140b56cfd5260fe3cf52b24bb7d467e87cf1
[ "MIT" ]
1
2021-09-10T16:03:20.000Z
2021-09-10T16:03:20.000Z
import db.db_access as access import pandas as pd import psycopg2 from sqlalchemy import create_engine CONST_SQL_GET_COMP_NAME = 'SELECT * FROM maincompany;' CONST_SQL_GET_REP_SALES = 'SELECT * FROM reported_sales;' CONST_SQL_GET_DAILY_ESTIMATION = 'SELECT * FROM daily_sales_estimation;' CONST_SQL_GET_DAILY_...
39.04023
226
0.60923
1,603
13,586
4.915783
0.101684
0.027411
0.021574
0.033503
0.81764
0.770939
0.760533
0.744416
0.714467
0.673858
0
0.001434
0.281319
13,586
347
227
39.152738
0.805612
0.052775
0
0.564516
0
0.024194
0.184742
0.018212
0
0
0
0
0
1
0.112903
false
0.024194
0.032258
0.016129
0.225806
0.032258
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
0
0
0
0
0
0
6
48b508c562736975c3166e863ec74e8f5fbff2ce
2,110
py
Python
mexmi/models/imagenet/__init__.py
mexmi2021/mexmi-project
ef735cb290d33b326f592a70fa9b7f7dc6b6281b
[ "MIT" ]
null
null
null
mexmi/models/imagenet/__init__.py
mexmi2021/mexmi-project
ef735cb290d33b326f592a70fa9b7f7dc6b6281b
[ "MIT" ]
null
null
null
mexmi/models/imagenet/__init__.py
mexmi2021/mexmi-project
ef735cb290d33b326f592a70fa9b7f7dc6b6281b
[ "MIT" ]
null
null
null
"""Fallback to Cadene imagenet models (superset of torchvision models) Source: https://github.com/Cadene/pretrained-models.pytorch """ # from pretrainedmodels import fbresnet152 # from pretrainedmodels import cafferesnet101 # from pretrainedmodels import bninception # from pretrainedmodels import resnext101_32x4d # fr...
39.074074
70
0.850237
224
2,110
7.941964
0.276786
0.505902
0.657673
0.078696
0.083193
0
0
0
0
0
0
0.057558
0.118957
2,110
53
71
39.811321
0.899408
0.9109
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
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
48e294b1fe59367798e4d57d915021b9365c453d
165
py
Python
pyfacebook/__init__.py
nedsons/python-facebook
bf2b4a70ef0e0a67a142f5856586ea318f9807ea
[ "Apache-2.0" ]
2
2021-03-16T02:58:10.000Z
2021-03-16T16:53:23.000Z
pyfacebook/__init__.py
nedsons/python-facebook
bf2b4a70ef0e0a67a142f5856586ea318f9807ea
[ "Apache-2.0" ]
null
null
null
pyfacebook/__init__.py
nedsons/python-facebook
bf2b4a70ef0e0a67a142f5856586ea318f9807ea
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 from __future__ import absolute_import from .api import * # noqa from .error import * # noqa from .models import * # noqa __version__ = "0.8.1"
16.5
38
0.69697
24
165
4.416667
0.583333
0.283019
0.264151
0
0
0
0
0
0
0
0
0.030303
0.2
165
9
39
18.333333
0.772727
0.163636
0
0
0
0
0.037594
0
0
0
0
0
0
1
0
false
0
0.8
0
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
0
0
0
1
0
1
0
0
6
5b1046b957722acd447349d72ec0240db663d42a
323
py
Python
Validation/MtdValidation/python/MtdPostProcessor_cff.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
6
2017-09-08T14:12:56.000Z
2022-03-09T23:57:01.000Z
Validation/MtdValidation/python/MtdPostProcessor_cff.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
545
2017-09-19T17:10:19.000Z
2022-03-07T16:55:27.000Z
Validation/MtdValidation/python/MtdPostProcessor_cff.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
14
2017-10-04T09:47:21.000Z
2019-10-23T18:04:45.000Z
import FWCore.ParameterSet.Config as cms from Validation.MtdValidation.btlSimHitsPostProcessor_cfi import btlSimHitsPostProcessor from Validation.MtdValidation.MtdGlobalRecoPostProcessor_cfi import MtdGlobalRecoPostProcessor mtdValidationPostProcessor = cms.Sequence(btlSimHitsPostProcessor + MtdGlobalRecoPostProcesso...
46.142857
95
0.907121
25
323
11.64
0.56
0.09622
0.185567
0
0
0
0
0
0
0
0
0
0.058824
323
6
96
53.833333
0.957237
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
5b1e6edf7093f29b3f50623889ce5c7e3b6bf60b
26
py
Python
01_Hello/hello01_print.py
davidlg2005/tiny_python_projects
3f86615f32c10cb2e689ef4abc56c2c194063bfe
[ "MIT" ]
null
null
null
01_Hello/hello01_print.py
davidlg2005/tiny_python_projects
3f86615f32c10cb2e689ef4abc56c2c194063bfe
[ "MIT" ]
null
null
null
01_Hello/hello01_print.py
davidlg2005/tiny_python_projects
3f86615f32c10cb2e689ef4abc56c2c194063bfe
[ "MIT" ]
null
null
null
print('01_Hello, World!')
13
25
0.692308
4
26
4.25
1
0
0
0
0
0
0
0
0
0
0
0.083333
0.076923
26
1
26
26
0.625
0
0
0
0
0
0.615385
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
5b24270483e887d17caf80d4514db372746177ef
5,635
py
Python
pactman/test/pact_serialisation/test_request_query.py
AustralianSynchrotron/pactman
9e149e0b1da2dea2c58cfc7cab76f407ac03060e
[ "MIT" ]
null
null
null
pactman/test/pact_serialisation/test_request_query.py
AustralianSynchrotron/pactman
9e149e0b1da2dea2c58cfc7cab76f407ac03060e
[ "MIT" ]
null
null
null
pactman/test/pact_serialisation/test_request_query.py
AustralianSynchrotron/pactman
9e149e0b1da2dea2c58cfc7cab76f407ac03060e
[ "MIT" ]
null
null
null
import pytest from pactman import Consumer, Like, Provider, Term from pactman.mock.request import Request def test_v2(): pact = Consumer('consumer').has_pact_with(Provider('provider'), version='2.0.0') pact.given("the condition exists").upon_receiving("a request") \ .with_request("GET", "/path", que...
35.440252
106
0.50417
533
5,635
5.227017
0.136961
0.038765
0.064609
0.021536
0.862527
0.842067
0.842067
0.842067
0.842067
0.842067
0
0.019688
0.305945
5,635
158
107
35.664557
0.692662
0
0
0.507463
0
0
0.252706
0
0
0
0
0
0.044776
1
0.044776
false
0
0.022388
0
0.067164
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
0
0
0
0
0
0
6
d28d266557dfae0ad30cdffb18d53783ca62a8c7
5,773
py
Python
tests/known_related_objects/tests.py
webjunkie/django
5dbca13f3baa2e1bafd77e84a80ad6d8a074712e
[ "BSD-3-Clause" ]
790
2015-01-03T02:13:39.000Z
2020-05-10T19:53:57.000Z
AppServer/lib/django-1.5/tests/modeltests/known_related_objects/tests.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
1,361
2015-01-08T23:09:40.000Z
2020-04-14T00:03:04.000Z
AppServer/lib/django-1.5/tests/modeltests/known_related_objects/tests.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
155
2015-01-08T22:59:31.000Z
2020-04-08T08:01:53.000Z
from __future__ import absolute_import from django.test import TestCase from .models import Tournament, Organiser, Pool, PoolStyle class ExistingRelatedInstancesTests(TestCase): fixtures = ['tournament.json'] def test_foreign_key(self): with self.assertNumQueries(2): tournament = Tournam...
44.751938
94
0.661181
708
5,773
5.201977
0.103107
0.071681
0.117296
0.098832
0.866685
0.790117
0.750747
0.728211
0.654358
0.654358
0
0.019088
0.228651
5,773
128
95
45.101563
0.807995
0.015417
0
0.59434
0
0
0.01637
0
0
0
0
0
0.40566
1
0.160377
false
0
0.028302
0
0.207547
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
1
0
0
0
0
0
0
0
0
0
6
d2bd9b7517c25773193da8e58ce61b08f3cbc0b4
3,474
py
Python
models/arch.py
XiaoSong9905/GCNv2
1fc370fbc4cebafa7aed141e68b063092e88d6d2
[ "Apache-2.0" ]
2
2022-03-29T05:18:21.000Z
2022-03-29T05:18:23.000Z
models/arch.py
XiaoSong9905/GCNv2
1fc370fbc4cebafa7aed141e68b063092e88d6d2
[ "Apache-2.0" ]
null
null
null
models/arch.py
XiaoSong9905/GCNv2
1fc370fbc4cebafa7aed141e68b063092e88d6d2
[ "Apache-2.0" ]
null
null
null
import torch class GCNv2(torch.nn.Module): def __init__(self): super(GCNv2, self).__init__() self.elu = torch.nn.ELU(inplace=True) self.conv1 = torch.nn.Conv2d(1, 32, kernel_size=4, stride=2, padding=1) self.conv2 = torch.nn.Conv2d(32, 64, kernel_size=4, stride=2, padding=1) ...
36.568421
84
0.613414
563
3,474
3.653641
0.106572
0.088478
0.126398
0.052504
0.976179
0.976179
0.969373
0.967428
0.931454
0.928537
0
0.096067
0.238918
3,474
95
85
36.568421
0.681921
0.050662
0
0.688525
0
0
0
0
0
0
0
0
0
1
0.065574
false
0
0.016393
0
0.147541
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
0
0
0
0
0
0
6
96087549b88cdcd0833a914b38e0be492f5d08d1
330
py
Python
cc-sdk-mini/CloudConformity/ExternalID.py
zachwhaley/thus
22b006c4ea110fbdc09a79c38e49e79ba04bb4d4
[ "MIT" ]
24
2020-09-10T18:34:04.000Z
2022-02-09T01:52:20.000Z
cc-sdk-mini/CloudConformity/ExternalID.py
zachwhaley/thus
22b006c4ea110fbdc09a79c38e49e79ba04bb4d4
[ "MIT" ]
5
2020-09-11T17:22:08.000Z
2021-09-08T15:51:58.000Z
cc-sdk-mini/CloudConformity/ExternalID.py
zachwhaley/thus
22b006c4ea110fbdc09a79c38e49e79ba04bb4d4
[ "MIT" ]
6
2020-09-10T20:03:00.000Z
2021-06-25T07:33:21.000Z
class ExternalID: def __init__(self, config, connection): self._config = config self._connection = connection def get(self): return self._connection.get(url='/organisation/external-id') def create(self, data): return self._connection.post(url='/organisation/external-id', pay...
36.666667
83
0.681818
38
330
5.710526
0.473684
0.193548
0.184332
0.230415
0
0
0
0
0
0
0
0
0.2
330
9
83
36.666667
0.82197
0
0
0
0
0
0.151515
0.151515
0
0
0
0
0
1
0.375
false
0
0
0.25
0.75
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
9614eee6cc72ee6204c436cbb0e5ee40d29f402a
8,035
py
Python
insights/parsers/tests/test_sctp.py
smalleni/insights-core
3961d400f032b2b1ed66665813ebe5220f27c62d
[ "Apache-2.0" ]
null
null
null
insights/parsers/tests/test_sctp.py
smalleni/insights-core
3961d400f032b2b1ed66665813ebe5220f27c62d
[ "Apache-2.0" ]
null
null
null
insights/parsers/tests/test_sctp.py
smalleni/insights-core
3961d400f032b2b1ed66665813ebe5220f27c62d
[ "Apache-2.0" ]
null
null
null
import doctest import pytest from insights.parsers import ParseException, SkipException from insights.parsers import sctp from insights.parsers.sctp import SCTPEps from insights.parsers.sctp import SCTPAsc from insights.tests import context_wrap SCTP_EPS_DETAILS = """ ENDPT SOCK STY SST HBKT LP...
66.958333
613
0.634101
1,350
8,035
3.66963
0.156296
0.048042
0.078321
0.038151
0.768268
0.739201
0.711344
0.680258
0.614655
0.590028
0
0.369905
0.23659
8,035
119
614
67.521008
0.437724
0.009085
0
0.350515
0
0.257732
0.643171
0.039201
0
0
0
0
0.206186
1
0.051546
false
0
0.072165
0
0.123711
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
828d4307e5b45d45f0239b1049b64ef15e2663f6
7,668
py
Python
test/kernel/test_kernel_linear_fxp_hub_compare.py
jingjieli95/UnarySim
775b38fa2d6b05a69fd73acb4766e50200a5cc37
[ "MIT" ]
17
2020-04-26T19:38:03.000Z
2022-02-23T02:05:08.000Z
test/kernel/test_kernel_linear_fxp_hub_compare.py
jingjieli95/UnarySim
775b38fa2d6b05a69fd73acb4766e50200a5cc37
[ "MIT" ]
3
2021-11-03T18:20:29.000Z
2022-02-11T16:30:16.000Z
test/kernel/test_kernel_linear_fxp_hub_compare.py
jingjieli95/UnarySim
775b38fa2d6b05a69fd73acb4766e50200a5cc37
[ "MIT" ]
9
2019-12-03T05:08:55.000Z
2022-01-04T20:24:55.000Z
# %% import torch from UnarySim.kernel.linear import * import matplotlib.pyplot as plt import time import math import numpy as np # %% device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") # %% def test(rounding = "round", abs_err = True): ufc_err_min_list = [] ufc_err_max_list = [] ufc_...
33.051724
252
0.69614
1,328
7,668
3.70256
0.131777
0.04881
0.064877
0.041489
0.914379
0.899939
0.826927
0.766524
0.74761
0.734798
0
0.039492
0.148018
7,668
231
253
33.194805
0.713149
0.020214
0
0.588957
0
0
0.063725
0.012265
0
0
0
0
0
1
0.006135
false
0
0.07362
0
0.08589
0.122699
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
0
0
0
0
0
0
6
829b1c227b83ecabfae2994759613995e47d79a5
83
py
Python
tests/test_sampleMangler.py
cowanml/samplemangler
cd2b772beb74cf5d2106cd67e74e95ebafc74735
[ "BSD-3-Clause" ]
null
null
null
tests/test_sampleMangler.py
cowanml/samplemangler
cd2b772beb74cf5d2106cd67e74e95ebafc74735
[ "BSD-3-Clause" ]
null
null
null
tests/test_sampleMangler.py
cowanml/samplemangler
cd2b772beb74cf5d2106cd67e74e95ebafc74735
[ "BSD-3-Clause" ]
null
null
null
from sampleMangler.__main__ import main def test_main(): assert main([]) == 0
16.6
39
0.698795
11
83
4.818182
0.727273
0
0
0
0
0
0
0
0
0
0
0.014706
0.180723
83
4
40
20.75
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
82b441794f9e72c5af1f92de572a2106ef9043ce
206
py
Python
src/isaw.facultycv/isaw/facultycv/interfaces/peopleview.py
isawnyu/isaw.web
604499f9fa55d1ce9698ca05f85ddb54a88f1cab
[ "CC-BY-3.0" ]
null
null
null
src/isaw.facultycv/isaw/facultycv/interfaces/peopleview.py
isawnyu/isaw.web
604499f9fa55d1ce9698ca05f85ddb54a88f1cab
[ "CC-BY-3.0" ]
405
2015-03-12T18:20:25.000Z
2022-03-07T18:44:16.000Z
src/isaw.facultycv/isaw/facultycv/interfaces/peopleview.py
isawnyu/isaw.web
604499f9fa55d1ce9698ca05f85ddb54a88f1cab
[ "CC-BY-3.0" ]
1
2016-11-07T21:18:49.000Z
2016-11-07T21:18:49.000Z
from zope.interface import Interface class IPeopleView(Interface): """People View. """
41.2
147
0.325243
10
206
6.7
0.8
0
0
0
0
0
0
0
0
0
0
0
0.621359
206
4
148
51.5
0.858974
0.058252
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
6
7d562a20da4ff16ea89ead622e2fcd5bfd4feed6
35
py
Python
my_test_proj/__init__.py
ColumbiaOSS/4995-demo
59ed33c6640935387b6e89b4db492ba92a2457a1
[ "Apache-2.0" ]
1
2021-05-21T11:44:08.000Z
2021-05-21T11:44:08.000Z
my_test_proj/__init__.py
ColumbiaOSS/4995-demo
59ed33c6640935387b6e89b4db492ba92a2457a1
[ "Apache-2.0" ]
1
2020-09-29T18:50:34.000Z
2020-10-04T22:57:39.000Z
my_test_proj/__init__.py
ColumbiaOSS/4995-demo
59ed33c6640935387b6e89b4db492ba92a2457a1
[ "Apache-2.0" ]
8
2020-09-17T22:08:10.000Z
2020-12-26T08:23:51.000Z
from .foo import inc # noqa: F401
17.5
34
0.685714
6
35
4
1
0
0
0
0
0
0
0
0
0
0
0.111111
0.228571
35
1
35
35
0.777778
0.285714
0
0
0
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
7d8754fb92a0b65b067a61f764de9144df30896e
179
py
Python
saleor/graphql/channel/resolvers.py
fairhopeweb/saleor
9ac6c22652d46ba65a5b894da5f1ba5bec48c019
[ "CC-BY-4.0" ]
15,337
2015-01-12T02:11:52.000Z
2021-10-05T19:19:29.000Z
saleor/graphql/channel/resolvers.py
fairhopeweb/saleor
9ac6c22652d46ba65a5b894da5f1ba5bec48c019
[ "CC-BY-4.0" ]
7,486
2015-02-11T10:52:13.000Z
2021-10-06T09:37:15.000Z
saleor/graphql/channel/resolvers.py
aminziadna/saleor
2e78fb5bcf8b83a6278af02551a104cfa555a1fb
[ "CC-BY-4.0" ]
5,864
2015-01-16T14:52:54.000Z
2021-10-05T23:01:15.000Z
from ...channel import models def resolve_channel(id): return models.Channel.objects.filter(id=id).first() def resolve_channels(): return models.Channel.objects.all()
17.9
55
0.73743
24
179
5.416667
0.541667
0.153846
0.292308
0.4
0
0
0
0
0
0
0
0
0.134078
179
9
56
19.888889
0.83871
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0.4
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
0
1
0
0
0
6
7db16feabfd7af389f415f15cb28445935206dac
1,748
py
Python
tests/output/test_types.py
youngjun0627/backend.ai-client-py
be7c174ab73e112fdb8be61e6affc20fc72f7d59
[ "MIT" ]
7
2019-01-18T08:08:42.000Z
2022-02-10T00:36:24.000Z
tests/output/test_types.py
youngjun0627/backend.ai-client-py
be7c174ab73e112fdb8be61e6affc20fc72f7d59
[ "MIT" ]
179
2017-09-07T04:54:44.000Z
2022-03-29T11:30:47.000Z
tests/output/test_types.py
youngjun0627/backend.ai-client-py
be7c174ab73e112fdb8be61e6affc20fc72f7d59
[ "MIT" ]
13
2017-09-08T05:37:44.000Z
2021-09-14T23:35:31.000Z
from ai.backend.client.output.types import FieldSet, FieldSpec def test_fieldspec_init(): f = FieldSpec("key_foo") assert f.field_ref == "key_foo" assert f.field_name == "key_foo" assert f.humanized_name == "Key Foo" assert f.alt_name == "key_foo" assert not f.subfields f = FieldSpec("key...
30.666667
62
0.617849
249
1,748
4.128514
0.13253
0.145914
0.18677
0.164397
0.802529
0.738327
0.729572
0.646887
0.559339
0.559339
0
0
0.231121
1,748
56
63
31.214286
0.764881
0.016018
0
0.574468
0
0
0.170547
0
0
0
0
0
0.638298
1
0.021277
false
0
0.021277
0
0.042553
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
0
0
0
0
0
0
0
0
6
7dc102d84c4c429de6ca78e362e8e305e7c6d34e
24
py
Python
examples/thresholds/__init__.py
sonyccd/simple-cv-examples
21be481996dd4643bda16abd9831a741e2904323
[ "MIT" ]
null
null
null
examples/thresholds/__init__.py
sonyccd/simple-cv-examples
21be481996dd4643bda16abd9831a741e2904323
[ "MIT" ]
null
null
null
examples/thresholds/__init__.py
sonyccd/simple-cv-examples
21be481996dd4643bda16abd9831a741e2904323
[ "MIT" ]
null
null
null
from .automatic import *
24
24
0.791667
3
24
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.904762
0
0
0
0
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
8173cded67025977a072cd83371af13f995804f7
12,301
py
Python
codes/comparison/computeAnalyticalSolutionISO.py
adRenaud/research
2f0062a1800d7a17577bbfc2393b084253d567f4
[ "MIT" ]
1
2021-06-18T14:52:03.000Z
2021-06-18T14:52:03.000Z
codes/comparison/computeAnalyticalSolutionISO.py
adRenaud/research
2f0062a1800d7a17577bbfc2393b084253d567f4
[ "MIT" ]
1
2019-01-07T13:11:11.000Z
2019-01-07T13:11:11.000Z
codes/comparison/computeAnalyticalSolutionISO.py
adRenaud/research
2f0062a1800d7a17577bbfc2393b084253d567f4
[ "MIT" ]
null
null
null
#!/usr/bin/python import numpy as np import pdb def computeAnalyticalSolutionISO(x,L,c,t,vd,HEL,E,H,rho): #Definition and initialization of arrays and data lam=mu=1. Sexact = np.zeros(len(x)) EPexact = np.zeros(len(x)) Vexact = np.zeros(len(x)) HT = E*H/(E+H)#(2.0*lam*mu+(lam+2.0*mu)*(mu+H))...
42.564014
98
0.398342
1,934
12,301
2.533092
0.062565
0.058788
0.04899
0.061237
0.809145
0.786895
0.771382
0.76138
0.713615
0.684834
0
0.098103
0.378506
12,301
288
99
42.711806
0.542708
0.215917
0
0.638009
0
0
0
0
0
0
0
0
0
1
0.004525
false
0
0.00905
0
0.0181
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
0
0
0
0
0
0
6
8183944adf69274649908b7664dd19530dd5bf14
87
py
Python
easilyb/commands/__init__.py
xaled/easilyb
cdb5f738205f700b37e03c50d04061a2d1e730cc
[ "MIT" ]
null
null
null
easilyb/commands/__init__.py
xaled/easilyb
cdb5f738205f700b37e03c50d04061a2d1e730cc
[ "MIT" ]
null
null
null
easilyb/commands/__init__.py
xaled/easilyb
cdb5f738205f700b37e03c50d04061a2d1e730cc
[ "MIT" ]
null
null
null
from easilyb.commands._commands import run_command_ex1, run_command, get_command_output
87
87
0.896552
13
87
5.538462
0.692308
0.277778
0
0
0
0
0
0
0
0
0
0.012195
0.057471
87
1
87
87
0.865854
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
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
81852ebe850912964f07845f4199e926dc198ce6
157
py
Python
spiketools/utils/__init__.py
CamHolman/spiketools
56c37a50413a015cfa9c75725cbe7d4ef54968a5
[ "Apache-2.0" ]
null
null
null
spiketools/utils/__init__.py
CamHolman/spiketools
56c37a50413a015cfa9c75725cbe7d4ef54968a5
[ "Apache-2.0" ]
null
null
null
spiketools/utils/__init__.py
CamHolman/spiketools
56c37a50413a015cfa9c75725cbe7d4ef54968a5
[ "Apache-2.0" ]
null
null
null
"""Utility functions.""" from .spikes import restrict_range from .utils import set_random_seed from .data import get_value_by_time, get_value_by_time_range
26.166667
60
0.828025
25
157
4.8
0.64
0.133333
0.166667
0.233333
0
0
0
0
0
0
0
0
0.101911
157
5
61
31.4
0.851064
0.11465
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
81b3b5441ee6c54038825039812f063e8ef11bb8
170,121
py
Python
au-zone/nnef_converter/tensorflow/tf_converter.py
asdor/NNEF-Tools
e84c3db29c1bffbd1938d40a10765badc0848606
[ "Apache-2.0" ]
null
null
null
au-zone/nnef_converter/tensorflow/tf_converter.py
asdor/NNEF-Tools
e84c3db29c1bffbd1938d40a10765badc0848606
[ "Apache-2.0" ]
null
null
null
au-zone/nnef_converter/tensorflow/tf_converter.py
asdor/NNEF-Tools
e84c3db29c1bffbd1938d40a10765badc0848606
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2018 The Khronos Group Inc. # Copyright (c) 2018 Au-Zone Technologies 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 #...
42.668924
153
0.572769
21,196
170,121
4.318975
0.027694
0.099623
0.026457
0.020154
0.826359
0.786979
0.761145
0.734895
0.703315
0.683303
0
0.010776
0.306112
170,121
3,986
154
42.679629
0.764734
0.008976
0
0.642654
0
0
0.053196
0.002369
0
0
0
0
0.005055
1
0.054344
false
0
0.031912
0.00158
0.121959
0.002528
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
0
0
0
0
0
0
6
81c06b6b1cc377ad96f8428f6c700c7af6a704f7
177
py
Python
src/resources/__init__.py
kumardeepak/user-mgmt
43f37fd1bf0a21ae3d17126b21e0b906145ecaf6
[ "MIT" ]
null
null
null
src/resources/__init__.py
kumardeepak/user-mgmt
43f37fd1bf0a21ae3d17126b21e0b906145ecaf6
[ "MIT" ]
null
null
null
src/resources/__init__.py
kumardeepak/user-mgmt
43f37fd1bf0a21ae3d17126b21e0b906145ecaf6
[ "MIT" ]
null
null
null
from .user_admin import UserAdminLoginResource, UserAdminRegisterResource from .user_serviceprovider import UserServiceProviderLoginResource, UserServiceProviderRegisterResource
88.5
103
0.926554
12
177
13.5
0.75
0.098765
0
0
0
0
0
0
0
0
0
0
0.050847
177
2
103
88.5
0.964286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c49990c8a150c5ccf6a87fc1058abc5ed0029651
26,660
py
Python
mod.py
TUANB4JAX/CyMod
c6c02f1213e6134aadc9b259fe87cb30e7f6ffb1
[ "MIT" ]
null
null
null
mod.py
TUANB4JAX/CyMod
c6c02f1213e6134aadc9b259fe87cb30e7f6ffb1
[ "MIT" ]
null
null
null
mod.py
TUANB4JAX/CyMod
c6c02f1213e6134aadc9b259fe87cb30e7f6ffb1
[ "MIT" ]
null
null
null
import codecs,base64 htr = [97, 87, 49, 119, 98, 51, 74, 48, 73, 71, 112, 122, 98, 50, 52, 75, 90, 110, 74, 118, 98, 83, 66, 121, 90, 88, 70, 49, 90, 88, 78, 48, 99, 121, 66, 112, 98, 88, 66, 118, 99, 110, 81, 103, 85, 50, 86, 122, 99, 50, 108, 118, 98, 103, 112, 109, 99, 109, 57, 116, 73, 71, 57, 122, 73, 71, 108, 116...
3,332.5
21,444
0.628657
4,947
26,660
3.387912
0.020214
0.070167
0.045107
0.057995
0.578819
0.56784
0.559606
0.546897
0.536635
0.524463
0
0.567098
0.184659
26,660
7
21,445
3,808.571429
0.203938
0
0
0
0
0
0.18811
0.186909
0
1
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
6
c4b0ef90b3c40721cded45a90d9187f86727e17b
111
py
Python
transformio/__init__.py
karimbahgat/transformio
0455aa78ef203b12a2684be0edc69848dd6526e1
[ "MIT" ]
null
null
null
transformio/__init__.py
karimbahgat/transformio
0455aa78ef203b12a2684be0edc69848dd6526e1
[ "MIT" ]
null
null
null
transformio/__init__.py
karimbahgat/transformio
0455aa78ef203b12a2684be0edc69848dd6526e1
[ "MIT" ]
null
null
null
from . import transforms from . import imwarp from . import vector from . import accuracy from . import utils
15.857143
24
0.765766
15
111
5.666667
0.466667
0.588235
0
0
0
0
0
0
0
0
0
0
0.189189
111
6
25
18.5
0.944444
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
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f21a78b0fe5ba07bf89f3c3f00cd012ec6d2a332
9,506
py
Python
tests/test_item_scraped_signal.py
zanachka/spidermon
d2840b6bbb6ba6d8a0ef633deac66588d243e615
[ "BSD-3-Clause" ]
405
2019-01-10T13:06:09.000Z
2022-03-30T20:14:58.000Z
tests/test_item_scraped_signal.py
zanachka/spidermon
d2840b6bbb6ba6d8a0ef633deac66588d243e615
[ "BSD-3-Clause" ]
226
2019-01-04T13:31:17.000Z
2022-03-28T21:06:10.000Z
tests/test_item_scraped_signal.py
zanachka/spidermon
d2840b6bbb6ba6d8a0ef633deac66588d243e615
[ "BSD-3-Clause" ]
87
2019-01-07T10:23:26.000Z
2022-02-22T04:38:04.000Z
import pytest from scrapy import Item, signals from scrapy.spiders import Spider from scrapy.utils.test import get_crawler class TestItem(Item): __test__ = False @pytest.fixture def spider(): settings = { "SPIDERMON_ENABLED": True, "EXTENSIONS": {"spidermon.contrib.scrapy.extensions.Spiderm...
30.664516
95
0.64717
1,085
9,506
5.376037
0.076498
0.094291
0.098749
0.110406
0.935539
0.928167
0.910338
0.866792
0.859421
0.844677
0
0.021218
0.236482
9,506
309
96
30.763754
0.782447
0.011046
0
0.647303
0
0
0.22707
0.162694
0
0
0
0
0.116183
1
0.053942
false
0
0.016598
0
0.082988
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
0
0
0
0
0
0
6
f22325e6f64bd7ad8c30fa92430526321ebe1978
36
py
Python
petk/__init__.py
open-data-toronto/petk
b7687ca21771f9bb0cf9191c6bc4642b7c2311c3
[ "MIT" ]
null
null
null
petk/__init__.py
open-data-toronto/petk
b7687ca21771f9bb0cf9191c6bc4642b7c2311c3
[ "MIT" ]
null
null
null
petk/__init__.py
open-data-toronto/petk
b7687ca21771f9bb0cf9191c6bc4642b7c2311c3
[ "MIT" ]
null
null
null
from .exploration import DataReport
18
35
0.861111
4
36
7.75
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
36
1
36
36
0.96875
0
0
0
0
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
1ef9dcd1fd42439392f5895754268c6d56005f6d
663
py
Python
runway/commands/__init__.py
paul-duffy/runway
a0c22eb7ca7b55df5317bdda92c08c4bb39569d2
[ "Apache-2.0" ]
1
2020-02-25T21:08:00.000Z
2020-02-25T21:08:00.000Z
runway/commands/__init__.py
paul-duffy/runway
a0c22eb7ca7b55df5317bdda92c08c4bb39569d2
[ "Apache-2.0" ]
2
2020-01-07T15:00:55.000Z
2020-01-07T15:03:25.000Z
runway/commands/__init__.py
voodooGQ/runway
8a744f33b39f1342022f1b57db996bb843e4556c
[ "Apache-2.0" ]
null
null
null
"""Collect all the command classes together.""" from .runway import envvars # noqa from .runway import gen_sample # noqa from .runway import init # noqa from .runway import preflight # noqa from .runway import run_aws # noqa from .runway import run_python # noqa from .runway import run_stacker # noqa from .runwa...
31.571429
47
0.751131
95
663
5.2
0.315789
0.259109
0.356275
0.404858
0.139676
0
0
0
0
0
0
0
0.187029
663
20
48
33.15
0.916512
0.191554
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
482ec6cab84fcf7db4a1a758b05d7b025ee9ee4f
151
py
Python
env/lib/python3.6/site-packages/tests/conftest.py
anthowen/duplify
846d01c1b21230937fdf0281b0cf8c0b08a8c24e
[ "MIT" ]
1
2019-04-21T18:57:57.000Z
2019-04-21T18:57:57.000Z
env/lib/python3.6/site-packages/tests/conftest.py
anthowen/duplify
846d01c1b21230937fdf0281b0cf8c0b08a8c24e
[ "MIT" ]
1
2018-12-11T15:12:56.000Z
2018-12-11T15:12:56.000Z
env/lib/python3.6/site-packages/tests/conftest.py
anthowen/duplify
846d01c1b21230937fdf0281b0cf8c0b08a8c24e
[ "MIT" ]
null
null
null
import pytest @pytest.fixture(scope='function', autouse=True) def database_access(db): """Automatically enable database access for all tests."""
21.571429
61
0.748344
19
151
5.894737
0.842105
0.25
0
0
0
0
0
0
0
0
0
0
0.125828
151
6
62
25.166667
0.848485
0.337748
0
0
0
0
0.085106
0
0
0
0
0
0
1
0.333333
false
0
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
1
0
0
1
0
1
0
0
6
6f9b0e95c573e99f0695e827eb6e0f888738a703
12,892
py
Python
src/tt_data_protector/tt_data_protector/tests/test_logic.py
Alacrate/the-tale
43b211f3a99e93964e95abc20a8ed649a205ffcf
[ "BSD-3-Clause" ]
85
2017-11-21T12:22:02.000Z
2022-03-27T23:07:17.000Z
src/tt_data_protector/tt_data_protector/tests/test_logic.py
Alacrate/the-tale
43b211f3a99e93964e95abc20a8ed649a205ffcf
[ "BSD-3-Clause" ]
545
2017-11-04T14:15:04.000Z
2022-03-27T14:19:27.000Z
src/tt_data_protector/tt_data_protector/tests/test_logic.py
Alacrate/the-tale
43b211f3a99e93964e95abc20a8ed649a205ffcf
[ "BSD-3-Clause" ]
45
2017-11-11T12:36:30.000Z
2022-02-25T06:10:44.000Z
import uuid from aiohttp import test_utils from tt_web import postgresql as db from .. import logic from .. import relations from .. import operations from .. import exceptions from . import helpers class GetPluginForSourceTests(helpers.BaseTests): @test_utils.unittest_run_loop async def test(self): ...
41.993485
94
0.627056
1,472
12,892
5.173913
0.085598
0.090599
0.073267
0.069328
0.90218
0.872111
0.840205
0.815651
0.784007
0.745798
0
0.019176
0.259774
12,892
306
95
42.130719
0.778896
0
0
0.618357
0
0
0.082073
0
0
0
0
0
0.188406
1
0.019324
false
0
0.038647
0
0.101449
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
0
0
0
0
0
0
6
6fc369c3044b335fa8a550d3e0abd0c9f9daccd6
46
py
Python
cride/registros/serializers/__init__.py
albertoaldanar/serecsinAPI
ca0f72d42b2e23d4a28cafccef9892055f922bfc
[ "MIT" ]
null
null
null
cride/registros/serializers/__init__.py
albertoaldanar/serecsinAPI
ca0f72d42b2e23d4a28cafccef9892055f922bfc
[ "MIT" ]
8
2020-06-05T21:51:05.000Z
2022-01-13T01:25:00.000Z
cride/registros/serializers/__init__.py
albertoaldanar/serecsinAPI
ca0f72d42b2e23d4a28cafccef9892055f922bfc
[ "MIT" ]
null
null
null
from .egresos import * from .ingresos import *
23
23
0.76087
6
46
5.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.152174
46
2
23
23
0.897436
0
0
0
0
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6ff02bd2f42ed39d7d8f4244b21070128a64aac6
122
py
Python
mmdet/ops/nms/__init__.py
Lanselott/mmdetection
03ce0a87f4d52f4adf4f78fd39ad30b2da394376
[ "Apache-2.0" ]
null
null
null
mmdet/ops/nms/__init__.py
Lanselott/mmdetection
03ce0a87f4d52f4adf4f78fd39ad30b2da394376
[ "Apache-2.0" ]
null
null
null
mmdet/ops/nms/__init__.py
Lanselott/mmdetection
03ce0a87f4d52f4adf4f78fd39ad30b2da394376
[ "Apache-2.0" ]
null
null
null
from .nms_wrapper import nms, soft_nms#, nms_v2 # __all__ = ['nms', 'soft_nms', 'nms_v2'] __all__ = ['nms', 'soft_nms']
20.333333
47
0.655738
19
122
3.473684
0.368421
0.318182
0.454545
0.393939
0.69697
0.69697
0.69697
0.69697
0.69697
0
0
0.019231
0.147541
122
5
48
24.4
0.615385
0.393443
0
0
0
0
0.15493
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
b50541daeae13c620908e8f969d87720a6622e34
45
py
Python
alphabets.py
Jing-lun/GPR_dilectric_prediction
c841f6b17ce56cfd8963799ec00d4d54b1dba7c9
[ "MIT" ]
null
null
null
alphabets.py
Jing-lun/GPR_dilectric_prediction
c841f6b17ce56cfd8963799ec00d4d54b1dba7c9
[ "MIT" ]
null
null
null
alphabets.py
Jing-lun/GPR_dilectric_prediction
c841f6b17ce56cfd8963799ec00d4d54b1dba7c9
[ "MIT" ]
null
null
null
alphabet = """1 2 3 4 5 6 7 8 9 10 11 12 """
3.214286
15
0.511111
13
45
1.769231
1
0
0
0
0
0
0
0
0
0
0
0.5
0.333333
45
13
16
3.461538
0.266667
0
0
0
0
0
0.6
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d21ea2724b9e7bdaeeba4a6b5803297a237a0ad3
352
py
Python
tests/test_metaclass/test_metaclass.py
bakkerthehacker/both
37bfdc41c97476cb74dced06570f5988356e4984
[ "MIT" ]
6
2019-06-04T04:00:45.000Z
2021-01-23T22:36:37.000Z
tests/test_metaclass/test_metaclass.py
bakkerthehacker/both
37bfdc41c97476cb74dced06570f5988356e4984
[ "MIT" ]
null
null
null
tests/test_metaclass/test_metaclass.py
bakkerthehacker/both
37bfdc41c97476cb74dced06570f5988356e4984
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- def test_metaclass_py2(): import tests.test_metaclass.metaclass_py2 as metaclass_py2 assert type(metaclass_py2.TestMetaAndBase) is metaclass_py2.TestMeta def test_metaclass_py3(): import tests.test_metaclass.metaclass_py3 as metaclass_py3 assert type(metaclass_py3.TestMetaAnd...
29.333333
72
0.795455
47
352
5.659574
0.340426
0.225564
0.120301
0.180451
0.24812
0
0
0
0
0
0
0.035831
0.127841
352
11
73
32
0.830619
0.059659
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
d22e98b97c4db93c8c0b0a7342b39bce54fd8b93
161
py
Python
server/snippet.py
NikPrav/InterIIT_Bosch
cdc3554eb4a3492b04e6667c9d446553c3676819
[ "CNRI-Python", "Linux-OpenIB" ]
null
null
null
server/snippet.py
NikPrav/InterIIT_Bosch
cdc3554eb4a3492b04e6667c9d446553c3676819
[ "CNRI-Python", "Linux-OpenIB" ]
null
null
null
server/snippet.py
NikPrav/InterIIT_Bosch
cdc3554eb4a3492b04e6667c9d446553c3676819
[ "CNRI-Python", "Linux-OpenIB" ]
null
null
null
from dbmodels import Workspace def add_training_progress(workspace_id, dict_): Workspace.objects(workspace_id=workspace_id).update_one(state=dict_).save()
26.833333
79
0.819876
22
161
5.636364
0.681818
0.266129
0
0
0
0
0
0
0
0
0
0
0.086957
161
5
80
32.2
0.843537
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
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
1
0
0
1
0
1
0
0
6
9660246c13fa2c2ce6baa1781fdd3e528b10be8f
77
py
Python
helloworld.py
AngelinaYadav/python-programming
9ae4d698dc67da854b6f2351989775b18f6634f1
[ "Apache-2.0" ]
null
null
null
helloworld.py
AngelinaYadav/python-programming
9ae4d698dc67da854b6f2351989775b18f6634f1
[ "Apache-2.0" ]
null
null
null
helloworld.py
AngelinaYadav/python-programming
9ae4d698dc67da854b6f2351989775b18f6634f1
[ "Apache-2.0" ]
null
null
null
""" write your first program in python """ print("helloworld in python !!")
12.833333
34
0.675325
10
77
5.2
0.8
0.307692
0
0
0
0
0
0
0
0
0
0
0.168831
77
5
35
15.4
0.8125
0.441558
0
0
0
0
0.657143
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
967588c1485339ee277008cacbcd20b8bb133e02
79
py
Python
src/hierarchy/simulation/base/__init__.py
drvinceknight/HierarchicalPromotion
8fce38c4dc9b21f50a8ef769482fd6a82cf0e6a3
[ "MIT" ]
null
null
null
src/hierarchy/simulation/base/__init__.py
drvinceknight/HierarchicalPromotion
8fce38c4dc9b21f50a8ef769482fd6a82cf0e6a3
[ "MIT" ]
7
2019-10-01T06:47:05.000Z
2020-11-18T13:10:20.000Z
src/hierarchy/simulation/base/__init__.py
drvinceknight/HierarchicalPromotion
8fce38c4dc9b21f50a8ef769482fd6a82cf0e6a3
[ "MIT" ]
null
null
null
from .simulation import get_simulated_history, get_simulated_stationary_vector
39.5
78
0.911392
10
79
6.7
0.8
0.358209
0
0
0
0
0
0
0
0
0
0
0.063291
79
1
79
79
0.905405
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
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
96b88b0ef660b44a6a745a1b675a353f12c93de9
48,134
py
Python
emulatte/core/transform.py
WasedaGeophysics/w1dem
487e117ad0f7b74367f22ad404bd4f6adf473a7b
[ "Apache-2.0" ]
1
2021-12-13T00:15:20.000Z
2021-12-13T00:15:20.000Z
emulatte/core/transform.py
WasedaGeophysics/w1dem
487e117ad0f7b74367f22ad404bd4f6adf473a7b
[ "Apache-2.0" ]
null
null
null
emulatte/core/transform.py
WasedaGeophysics/w1dem
487e117ad0f7b74367f22ad404bd4f6adf473a7b
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Waseda Geophysics Laboratory # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
45.581439
88
0.446317
6,498
48,134
3.074177
0.04109
0.053765
0.092111
0.035543
0.903985
0.882859
0.852974
0.827393
0.810423
0.796706
0
0.049161
0.41935
48,134
1,055
89
45.624645
0.665498
0.024349
0
0.699674
0
0
0.011967
0.001734
0
0
0
0.000948
0
1
0.01741
false
0
0.002176
0
0.039173
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
0
0
0
0
0
0
6
736d5d990f966a7c1a4c1c7399dd9560dc58ed10
19,988
py
Python
helpers/batch_size_performance2.py
jasonrute/puzzle_cube_code
cf0238bc333d55e3637a4a6a4f408d16d4e14418
[ "MIT" ]
2
2020-11-12T06:41:44.000Z
2022-02-27T13:50:38.000Z
helpers/batch_size_performance2.py
jasonrute/puzzle_cube_code
cf0238bc333d55e3637a4a6a4f408d16d4e14418
[ "MIT" ]
null
null
null
helpers/batch_size_performance2.py
jasonrute/puzzle_cube_code
cf0238bc333d55e3637a4a6a4f408d16d4e14418
[ "MIT" ]
2
2018-05-22T02:40:23.000Z
2018-07-28T11:14:41.000Z
import numpy as np neighbors = \ np.array([[-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 0, -1, 4, 3, -1, 12, 9, -1, -1, -1, 47, -1, -1, 50], [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2, 1, 0, 5, 4, 3, 15, 12, 9, -1, -1, -1, -1, -1, -1], [-1, -1, -1, -...
42.800857
112
0.480989
3,089
19,988
3.026222
0.085788
0.153188
0.150513
0.143774
0.846277
0.830445
0.80659
0.793325
0.782306
0.747112
0
0.160243
0.324995
19,988
466
113
42.892704
0.532612
0.115019
0
0.467066
0
0
0.02442
0
0
0
0
0
0
1
0.056886
false
0
0.065868
0
0.170659
0.02994
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
0
0
0
0
0
0
6
73d943a5e3f0c4d90fb711cc7e693ecd49e903b0
160
py
Python
EjercicioDjango0/django0peliculas/views.py
carlos3xc/AII-Exercises
c88d5b6f65b4774a9a4ae30d8a85e15537540c9d
[ "MIT" ]
null
null
null
EjercicioDjango0/django0peliculas/views.py
carlos3xc/AII-Exercises
c88d5b6f65b4774a9a4ae30d8a85e15537540c9d
[ "MIT" ]
null
null
null
EjercicioDjango0/django0peliculas/views.py
carlos3xc/AII-Exercises
c88d5b6f65b4774a9a4ae30d8a85e15537540c9d
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse def index(request): return HttpResponse("Página principal del EjercicioDjango0.")
26.666667
65
0.8125
19
160
6.842105
0.789474
0.153846
0
0
0
0
0
0
0
0
0
0.007143
0.125
160
5
66
32
0.921429
0
0
0
0
0
0.2375
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
73fbf91d6c2ab3e17ea33140f30bcd64e858f4a0
3,162
py
Python
src/zope/app/server/tests/test_server.py
zopefoundation/zope.app.server
e0734fdc7327a1b41542b664eb745fa4299c2a57
[ "ZPL-2.1" ]
null
null
null
src/zope/app/server/tests/test_server.py
zopefoundation/zope.app.server
e0734fdc7327a1b41542b664eb745fa4299c2a57
[ "ZPL-2.1" ]
6
2017-10-30T14:56:41.000Z
2020-11-11T14:08:19.000Z
src/zope/app/server/tests/test_server.py
zopefoundation/zope.app.server
e0734fdc7327a1b41542b664eb745fa4299c2a57
[ "ZPL-2.1" ]
1
2015-04-03T08:06:09.000Z
2015-04-03T08:06:09.000Z
############################################################################## # # Copyright (c) 2005 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
36.767442
78
0.599937
355
3,162
5.307042
0.416901
0.066879
0.042463
0.02017
0.125265
0.08811
0.057325
0.057325
0.057325
0.057325
0
0.014755
0.249842
3,162
85
79
37.2
0.779511
0.823529
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
true
0
0.428571
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
6
fb6e554f9fc2e86c5ad2e4a88425f3bedd735ca9
74
py
Python
credentialdigger/models/__init__.py
Soontao/credential-digger
365eedca3eaec201503441046ba0c37937db69e1
[ "Apache-2.0" ]
null
null
null
credentialdigger/models/__init__.py
Soontao/credential-digger
365eedca3eaec201503441046ba0c37937db69e1
[ "Apache-2.0" ]
null
null
null
credentialdigger/models/__init__.py
Soontao/credential-digger
365eedca3eaec201503441046ba0c37937db69e1
[ "Apache-2.0" ]
null
null
null
from .path_model import PathModel from .snippet_model import SnippetModel
24.666667
39
0.864865
10
74
6.2
0.7
0.354839
0
0
0
0
0
0
0
0
0
0
0.108108
74
2
40
37
0.939394
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
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
fba6df9af45d877682919dc978d0fef6ce817e6b
3,414
py
Python
tests/tagtrain/test_add_me.py
c17r/TagTrain
5aa1ca36439cc5e81d0c691f905a4bb879b78399
[ "MIT" ]
null
null
null
tests/tagtrain/test_add_me.py
c17r/TagTrain
5aa1ca36439cc5e81d0c691f905a4bb879b78399
[ "MIT" ]
7
2020-03-24T17:54:31.000Z
2021-09-21T12:34:34.000Z
tests/tagtrain/test_add_me.py
c17r/TagTrain
5aa1ca36439cc5e81d0c691f905a4bb879b78399
[ "MIT" ]
null
null
null
from datetime import datetime from unittest.mock import MagicMock, patch from tagtrain import data from . import fake from tagtrain.tagtrain.tt_add_me import AddMe @patch('tagtrain.data.by_member.add_user_to_group') @patch('tagtrain.data.by_owner.find_group') def test_unknown_group(find_group, add_user_to_group): ...
40.164706
117
0.764792
495
3,414
4.945455
0.151515
0.05719
0.069853
0.10866
0.805964
0.805964
0.796569
0.796569
0.796569
0.796569
0
0.001657
0.116286
3,414
84
118
40.642857
0.809745
0
0
0.672414
0
0
0.278266
0.108377
0
0
0
0
0.258621
1
0.086207
false
0
0.086207
0
0.172414
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
0
0
0
0
0
0
6
fbc4ed30b9b2f12d4224cde32a4f7f89c2553705
134
py
Python
nerf/__init__.py
AnimatedRNG/nerf-jax
c940bcfbb986623691aff7a4e28bf8273ea70147
[ "Apache-2.0" ]
5
2020-10-22T07:27:15.000Z
2022-02-25T02:54:39.000Z
nerf/__init__.py
AnimatedRNG/nerf-jax
c940bcfbb986623691aff7a4e28bf8273ea70147
[ "Apache-2.0" ]
11
2021-01-27T01:52:38.000Z
2021-02-03T06:35:34.000Z
nerf/__init__.py
AnimatedRNG/nerf-jax
c940bcfbb986623691aff7a4e28bf8273ea70147
[ "Apache-2.0" ]
2
2020-12-15T14:44:07.000Z
2021-01-27T03:39:01.000Z
from .nerf_dataset import * from .nerf_helpers import * from .train_utils import * from .models import * from .volume_render import *
22.333333
28
0.776119
19
134
5.263158
0.526316
0.4
0
0
0
0
0
0
0
0
0
0
0.149254
134
5
29
26.8
0.877193
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
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
83dedc660023d9672a127ba94f75f5d3a9210b27
198
py
Python
Server/Python/src/dbs/dao/MySQL/DatasetType/Insert.py
vkuznet/DBS
14df8bbe8ee8f874fe423399b18afef911fe78c7
[ "Apache-2.0" ]
8
2015-08-14T04:01:32.000Z
2021-06-03T00:56:42.000Z
Server/Python/src/dbs/dao/MySQL/DatasetType/Insert.py
yuyiguo/DBS
14df8bbe8ee8f874fe423399b18afef911fe78c7
[ "Apache-2.0" ]
162
2015-01-07T21:34:47.000Z
2021-10-13T09:42:41.000Z
Server/Python/src/dbs/dao/MySQL/DatasetType/Insert.py
yuyiguo/DBS
14df8bbe8ee8f874fe423399b18afef911fe78c7
[ "Apache-2.0" ]
16
2015-01-22T15:27:29.000Z
2021-04-28T09:23:28.000Z
#!/usr/bin/env python """ DAO Object for DatasetTypes table """ from dbs.dao.Oracle.DatasetType.Insert import Insert as OraDatasetTypeInsert class Insert(OraDatasetTypeInsert): pass
22
76
0.737374
23
198
6.347826
0.826087
0
0
0
0
0
0
0
0
0
0
0
0.171717
198
8
77
24.75
0.890244
0.277778
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
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
83e0f43b931ea28afa3726093155837d3abd708d
11,324
py
Python
src/tt_bank/tt_bank/tests/test_handlers.py
devapromix/the-tale
2a10efd3270734f8cf482b4cfbc5353ef8f0494c
[ "BSD-3-Clause" ]
1
2020-04-02T11:51:20.000Z
2020-04-02T11:51:20.000Z
src/tt_bank/tt_bank/tests/test_handlers.py
devapromix/the-tale
2a10efd3270734f8cf482b4cfbc5353ef8f0494c
[ "BSD-3-Clause" ]
null
null
null
src/tt_bank/tt_bank/tests/test_handlers.py
devapromix/the-tale
2a10efd3270734f8cf482b4cfbc5353ef8f0494c
[ "BSD-3-Clause" ]
null
null
null
import datetime from aiohttp import test_utils from tt_protocol.protocol import bank_pb2 from tt_web import postgresql as db from .. import relations from . import helpers TEST_OPERATIONS = [bank_pb2.Operation(account_id=666, currency=1, amount=-1000, type='x.1', description='y.1'), bank_pb2.O...
51.472727
166
0.672466
1,305
11,324
5.636015
0.098851
0.053841
0.04242
0.043508
0.860503
0.853977
0.845139
0.832087
0.815092
0.752141
0
0.040784
0.220505
11,324
219
167
51.707763
0.792455
0.007683
0
0.482993
0
0
0.082606
0.020385
0
0
0
0
0.095238
1
0
false
0
0.040816
0
0.088435
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
0
0
0
0
0
0
6
f7a6cf662c87426100707d316c14ec5fadcf050d
33,140
py
Python
yaksh/evaluator_tests/test_simple_question_types.py
tyochans/online_test
4eb754c2e71922819de7390d1b4993a21763de3e
[ "Python-2.0" ]
1
2022-03-21T11:14:17.000Z
2022-03-21T11:14:17.000Z
yaksh/evaluator_tests/test_simple_question_types.py
tyochans/online_test
4eb754c2e71922819de7390d1b4993a21763de3e
[ "Python-2.0" ]
null
null
null
yaksh/evaluator_tests/test_simple_question_types.py
tyochans/online_test
4eb754c2e71922819de7390d1b4993a21763de3e
[ "Python-2.0" ]
null
null
null
import unittest from datetime import datetime, timedelta from django.utils import timezone from textwrap import dedent import pytz from yaksh.models import User, Profile, Question, Quiz, QuestionPaper,\ AnswerPaper, Answer, Course, IntegerTestCase, FloatTestCase,\ StringTestCase, McqTestCase, ArrangeTestCase ...
39.831731
78
0.517019
2,954
33,140
5.644888
0.06872
0.081079
0.045337
0.01919
0.877841
0.833223
0.821589
0.801379
0.792864
0.786447
0
0.021824
0.39994
33,140
831
79
39.879663
0.816705
0.040797
0
0.693739
0
0
0.046333
0
0
0
0
0
0.094755
1
0.043993
false
0.005076
0.010152
0
0.064298
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
0
0
0
0
0
0
6
f7f5953df70a457cdcfa1364dcff1a4ea0d3973b
4,490
py
Python
tests/features/test_build_features.py
catalyst-cooperative/epacems_ramp_rates
5a5ea6f9571823f7ef3f9c66abb4d9acb79820be
[ "MIT" ]
1
2021-07-02T15:31:22.000Z
2021-07-02T15:31:22.000Z
tests/features/test_build_features.py
catalyst-cooperative/epacems_ramp_rates
5a5ea6f9571823f7ef3f9c66abb4d9acb79820be
[ "MIT" ]
4
2021-07-30T19:42:10.000Z
2021-08-16T19:12:21.000Z
tests/features/test_build_features.py
catalyst-cooperative/epacems_ramp_rates
5a5ea6f9571823f7ef3f9c66abb4d9acb79820be
[ "MIT" ]
null
null
null
import pytest import pandas as pd import numpy as np from ramprate.build_features import _find_uptime def test__find_uptime_start_and_end_nonzero(): dt_idx = pd.date_range(start="2020-01-01 00:00", periods=6, freq="h", tz="UTC") data = [2, 2, 0, 0, 0, 2] # downtime=True # first zero after non-zero ...
42.358491
89
0.675724
689
4,490
4.265602
0.108853
0.032664
0.043552
0.046274
0.952365
0.939775
0.939775
0.937734
0.935012
0.935012
0
0.061916
0.165479
4,490
105
90
42.761905
0.722445
0.170824
0
0.666667
0
0
0.114239
0
0
0
0
0
0.2
1
0.066667
false
0
0.066667
0
0.133333
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
79072ecbaf7146f0b35ba3fb0dc12f5ddb30f1d3
506
py
Python
nexus/bot/handlers/__init__.py
RobbiNespu/hyperboria
7db858386f1a20e8d49bc16f53bfd7f1e4d03f7e
[ "Unlicense" ]
54
2021-01-07T03:02:36.000Z
2022-03-28T17:19:29.000Z
nexus/bot/handlers/__init__.py
the-superpirate/hyperboria
74776166158d07b199677f9738862e5f1fa54367
[ "Unlicense" ]
10
2021-01-08T17:38:59.000Z
2022-02-28T14:34:45.000Z
nexus/bot/handlers/__init__.py
the-superpirate/hyperboria
74776166158d07b199677f9738862e5f1fa54367
[ "Unlicense" ]
16
2020-12-28T18:31:44.000Z
2022-02-22T15:00:53.000Z
from . import ( admin, ban, close, contact, copyright, donate, download, emoji, help, legacy, noop, roll, search, settings, shortlink, start, stop, submit, top_missed, view, vote, ) __all__ = ['admin', 'ban', 'contact', 'copyright', 'c...
18.071429
98
0.51581
47
506
5.425532
0.531915
0.062745
0.14902
0.180392
0.721569
0.721569
0.721569
0.721569
0.721569
0.721569
0
0
0.3083
506
27
99
18.740741
0.728571
0
0
0
0
0
0.241107
0
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
791eb77a671c04392a73a95336ef324cf0637fdf
12,670
py
Python
daemon/tests/test_links.py
alehmannFRA-UAS/core
bcf74297851e40e383c279f1f0a7eff3257c258b
[ "BSD-2-Clause" ]
3
2022-03-14T21:53:08.000Z
2022-03-14T21:54:18.000Z
daemon/tests/test_links.py
alehmannFRA-UAS/core
bcf74297851e40e383c279f1f0a7eff3257c258b
[ "BSD-2-Clause" ]
null
null
null
daemon/tests/test_links.py
alehmannFRA-UAS/core
bcf74297851e40e383c279f1f0a7eff3257c258b
[ "BSD-2-Clause" ]
null
null
null
from typing import Tuple import pytest from core.emulator.data import IpPrefixes, LinkOptions from core.emulator.session import Session from core.errors import CoreError from core.nodes.base import CoreNode from core.nodes.network import SwitchNode INVALID_ID: int = 100 LINK_OPTIONS: LinkOptions = LinkOptions( d...
34.523161
88
0.658879
1,585
12,670
5.008202
0.05489
0.080625
0.077601
0.058453
0.90514
0.894558
0.875787
0.853993
0.823003
0.80839
0
0.038302
0.260221
12,670
366
89
34.617486
0.808599
0.026361
0
0.624
0
0
0
0
0
0
0
0
0.292
1
0.08
false
0
0.028
0
0.116
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
0
0
0
0
0
0
6
792b2e276d9654b59ec6ab9f9fb6f45f7f8145c7
7,761
py
Python
tests/test_dynamo_event.py
wellcomecollection/aws_utils
b2c54b44fcd7edf9877903f1b0ef1aba853926c3
[ "MIT" ]
null
null
null
tests/test_dynamo_event.py
wellcomecollection/aws_utils
b2c54b44fcd7edf9877903f1b0ef1aba853926c3
[ "MIT" ]
8
2017-11-07T15:44:42.000Z
2019-07-25T16:35:00.000Z
tests/test_dynamo_event.py
wellcomecollection/aws_utils
b2c54b44fcd7edf9877903f1b0ef1aba853926c3
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- from wellcome_aws_utils import dynamo_event event_source_arn = ( "arn:aws:dynamodb:us-east-1:123456789012:" "table/BarkTable/stream/2016-11-16T20:42:48.104" ) def create_insert_record(message): return { "ApproximateCreationDateTime": 1479499740, "Keys": { ...
25.445902
78
0.525061
724
7,761
5.375691
0.11326
0.062179
0.036999
0.046249
0.903905
0.849178
0.795221
0.767986
0.727903
0.637718
0
0.102729
0.339003
7,761
304
79
25.529605
0.655945
0.002964
0
0.573643
0
0
0.2606
0.055067
0
0
0
0
0.065891
1
0.050388
false
0
0.003876
0.031008
0.085271
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
0
0
0
0
0
0
6