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
373a4986c3029623b7ac46089c460814dba599fc
19,249
py
Python
unlock/bci/acquire-c++/build.py
NeuralProsthesisLab/unlock
0c4d95abdab288d3e657ca2db867b06f755f26ff
[ "BSD-3-Clause" ]
6
2017-05-05T01:08:55.000Z
2021-08-03T21:50:07.000Z
unlock/bci/acquire-c++/build.py
NeuralProsthesisLab/unlock
0c4d95abdab288d3e657ca2db867b06f755f26ff
[ "BSD-3-Clause" ]
1
2015-05-21T01:02:50.000Z
2015-05-21T16:03:43.000Z
unlock/bci/acquire-c++/build.py
NeuralProsthesisLab/unlock
0c4d95abdab288d3e657ca2db867b06f755f26ff
[ "BSD-3-Clause" ]
4
2015-05-21T12:38:42.000Z
2022-03-28T15:47:58.000Z
# Copyright (c) James Percent and Unlock contributors. # All rights reserved. # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this l...
46.160671
133
0.631617
2,465
19,249
4.699391
0.117647
0.032113
0.053522
0.062845
0.863691
0.856699
0.856699
0.856699
0.855318
0.855318
0
0.007872
0.254247
19,249
416
134
46.271635
0.799094
0.095434
0
0.89701
0
0.013289
0.164049
0.036941
0
0
0
0
0
1
0.026578
false
0
0.019934
0.003322
0.059801
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
37acc2ab04dac4d752a95c705ee08c1d0e666f8e
186
py
Python
test.py
ABDELILAH-OUHAJJOU/Ransomware-1
45754768ebafc87ff54158a0a2b3edc03b59d412
[ "MIT" ]
58
2020-04-28T17:12:25.000Z
2022-03-30T18:53:50.000Z
test.py
ABDELILAH-OUHAJJOU/Ransomware-1
45754768ebafc87ff54158a0a2b3edc03b59d412
[ "MIT" ]
2
2020-05-18T14:35:35.000Z
2022-03-17T09:49:39.000Z
test.py
ABDELILAH-OUHAJJOU/Ransomware-1
45754768ebafc87ff54158a0a2b3edc03b59d412
[ "MIT" ]
13
2020-06-28T16:17:35.000Z
2022-02-15T08:20:08.000Z
import marshal, base64 exec(base64.b32decode("MZZG63JAO5QXE3TBEBUW24DPOJ2CA4DFNRQW4Z3JBIFHAZLMMFXGO2JIEJYGYZLBONSSA53BNF2CELBXFQZCSIBDMFZGO4Z5FA6HO33SMRZT4LB4ORUW2ZJ6FQ6HIYLCHYUQU==="))
62
162
0.919355
7
186
24.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0.164835
0.021505
186
2
163
93
0.774725
0
0
0
0
0
0.731183
0.731183
0
1
0
0
0
1
0
true
0
0.5
0
0.5
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
1
1
null
1
0
0
0
0
0
1
0
1
0
0
0
0
8
808421f1f77813f35c36d3c438e545cb6f342521
2,509
py
Python
dalib/adaptation/idm/models/dsbn.py
neka-nat/Transfer-Learning-Library
a3b27b0d7562fa90a02e914140b37ab438469e6c
[ "MIT" ]
1,474
2020-07-24T02:55:55.000Z
2022-03-31T12:35:56.000Z
dalib/adaptation/idm/models/dsbn.py
neka-nat/Transfer-Learning-Library
a3b27b0d7562fa90a02e914140b37ab438469e6c
[ "MIT" ]
70
2020-08-05T10:47:33.000Z
2022-03-31T03:48:54.000Z
dalib/adaptation/idm/models/dsbn.py
neka-nat/Transfer-Learning-Library
a3b27b0d7562fa90a02e914140b37ab438469e6c
[ "MIT" ]
312
2020-08-01T11:08:39.000Z
2022-03-30T06:03:47.000Z
import torch import torch.nn as nn class DSBN2d(nn.Module): def __init__(self, planes): super(DSBN2d, self).__init__() self.num_features = planes self.BN_S = nn.BatchNorm2d(planes) self.BN_T = nn.BatchNorm2d(planes) def forward(self, x): if not self.training: ...
28.83908
49
0.565165
355
2,509
3.814085
0.121127
0.106352
0.062038
0.044313
0.966765
0.940916
0.940916
0.940916
0.830133
0.830133
0
0.040793
0.296532
2,509
86
50
29.174419
0.726346
0
0
0.828571
0
0
0
0
0
0
0
0
0.057143
1
0.114286
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
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
80d77cde655ebcf42d65132957d6b6a04abbd5d6
2,859
py
Python
b64.py
waterpepene/Window-Wizard
efc2c5624d29da1f687dac5b6412daa1e463f4fc
[ "MIT" ]
2
2020-08-19T18:59:27.000Z
2021-01-29T09:25:25.000Z
b64.py
waterpepene/Window-Wizard
efc2c5624d29da1f687dac5b6412daa1e463f4fc
[ "MIT" ]
null
null
null
b64.py
waterpepene/Window-Wizard
efc2c5624d29da1f687dac5b6412daa1e463f4fc
[ "MIT" ]
null
null
null
quiticon = b'iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAAGXcA1uAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALtSURBVDhPrZU/TFNRFMZbKCGv9RmMBUw0LnVwchCY3AyaSNQYXIyaGHR0F00cXXQzcXCBGOLAAg7GP4NuooMJRicHGBBNoZg2bdpS6R/9fZf7XtrXlhLDl3zv3HvOPefee+5594ZD4C+Q7NIHnLVyG9VqtRT2htRqtY/qLNJ+hKwYn3A4PItlVG1Fk9WHXL3...
953
1,158
0.96887
77
2,859
35.974026
0.974026
0
0
0
0
0
0
0
0
0
0
0.146615
0.002798
2,859
3
1,159
953
0.824974
0
0
0
0
1
0.983217
0.983217
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
1
1
1
0
0
0
0
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
8
037fa9ffe173e66b19b1f49528313e0505b49367
28,406
py
Python
tests/unit/test_notification.py
PreetiKamble29/stacktach
f4f905393a0d7eaa226a72b6a27b61e4ef52211d
[ "Apache-2.0" ]
null
null
null
tests/unit/test_notification.py
PreetiKamble29/stacktach
f4f905393a0d7eaa226a72b6a27b61e4ef52211d
[ "Apache-2.0" ]
4
2020-02-28T10:27:34.000Z
2022-02-02T01:13:09.000Z
tests/unit/test_notification.py
PreetiKamble29/stacktach
f4f905393a0d7eaa226a72b6a27b61e4ef52211d
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
38.700272
86
0.547032
2,843
28,406
5.182202
0.086177
0.030883
0.020362
0.037467
0.853662
0.826105
0.804181
0.775742
0.754022
0.732845
0
0.053364
0.346899
28,406
733
87
38.75307
0.740783
0.026544
0
0.739663
0
0
0.226235
0.081708
0
0
0
0
0.01072
1
0.038285
false
0
0.027565
0
0.071976
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
03abf0a2fefc3cab75cf4c8fb666d8ef0115bd0b
4,736
py
Python
instrosetta/interfaces/light/light_source_pb2_grpc.py
jmosbacher/instrosetta-python
b323ee4d3db0b7d8e22ec731dac521c967e5323d
[ "MIT" ]
null
null
null
instrosetta/interfaces/light/light_source_pb2_grpc.py
jmosbacher/instrosetta-python
b323ee4d3db0b7d8e22ec731dac521c967e5323d
[ "MIT" ]
null
null
null
instrosetta/interfaces/light/light_source_pb2_grpc.py
jmosbacher/instrosetta-python
b323ee4d3db0b7d8e22ec731dac521c967e5323d
[ "MIT" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from instrosetta.interfaces.light import light_source_pb2 as instrosetta_dot_interfaces_dot_light_dot_light__source__pb2 class LightSourceStub(object): # missing associated documentation comment in .proto file pass def __init__(...
48.326531
127
0.796875
513
4,736
6.888889
0.152047
0.076967
0.071307
0.129881
0.810696
0.810696
0.810696
0.753537
0.753537
0.739672
0
0.005636
0.138302
4,736
97
128
48.824742
0.860328
0.095228
0
0.30137
1
0
0.126761
0.075587
0
0
0
0
0
1
0.082192
false
0.082192
0.027397
0
0.136986
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
03c70810e4599743aefb894171b1cfa6fd1bfcf7
47
py
Python
old_stuff/petronia/__init__.py
groboclown/petronia
486338023d19cee989e92f0c5692680f1a37811f
[ "MIT" ]
19
2017-06-21T10:28:24.000Z
2021-12-31T11:49:28.000Z
old_stuff/petronia/__init__.py
groboclown/petronia
486338023d19cee989e92f0c5692680f1a37811f
[ "MIT" ]
10
2016-11-11T18:57:57.000Z
2021-02-01T15:33:43.000Z
old_stuff/petronia/__init__.py
groboclown/petronia
486338023d19cee989e92f0c5692680f1a37811f
[ "MIT" ]
3
2017-09-17T03:29:35.000Z
2019-06-03T10:43:08.000Z
from . import config from . import exceptions
11.75
24
0.765957
6
47
6
0.666667
0.555556
0
0
0
0
0
0
0
0
0
0
0.191489
47
3
25
15.666667
0.947368
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
ff04112471c8b43ccafe09151cd9fd564bcd8807
71,899
py
Python
pesummary/tests/read_test.py
pesummary/pesummary
99e3c450ecbcaf5a23564d329bdf6e0080f6f2a8
[ "MIT" ]
1
2021-08-03T05:58:20.000Z
2021-08-03T05:58:20.000Z
pesummary/tests/read_test.py
pesummary/pesummary
99e3c450ecbcaf5a23564d329bdf6e0080f6f2a8
[ "MIT" ]
1
2020-06-13T13:29:35.000Z
2020-06-15T12:45:04.000Z
pesummary/tests/read_test.py
pesummary/pesummary
99e3c450ecbcaf5a23564d329bdf6e0080f6f2a8
[ "MIT" ]
3
2021-07-08T08:31:28.000Z
2022-03-31T14:08:58.000Z
# Licensed under an MIT style license -- see LICENSE.md import os import shutil import numpy as np from .base import make_result_file, testing_dir import pesummary from pesummary.gw.file.read import read as GWRead from pesummary.core.file.read import read as Read from pesummary.io import read, write import glob __au...
34.95333
109
0.61916
8,459
71,899
5.11538
0.044804
0.068406
0.04042
0.029581
0.85503
0.819047
0.784174
0.753854
0.7325
0.692265
0
0.009106
0.27145
71,899
2,056
110
34.970331
0.81696
0.230059
0
0.533921
0
0
0.061045
0.004992
0
0
0
0
0.078414
1
0.235242
false
0.004405
0.029956
0
0.287225
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
7
ff1ee76b5c410dc1feaf6afdab86093b52eeaa4a
31,630
py
Python
profiles/test_views.py
UW-GAC/pie
89ae277f5ba1357580d78c3527f26200686308a6
[ "MIT" ]
null
null
null
profiles/test_views.py
UW-GAC/pie
89ae277f5ba1357580d78c3527f26200686308a6
[ "MIT" ]
3
2020-01-02T20:17:06.000Z
2020-01-04T21:13:09.000Z
profiles/test_views.py
UW-GAC/pie
89ae277f5ba1357580d78c3527f26200686308a6
[ "MIT" ]
1
2021-10-29T22:15:27.000Z
2021-10-29T22:15:27.000Z
"""Test the functions and classes for views.py.""" from django.urls import reverse from core.utils import (DCCAnalystLoginTestCase, LoginRequiredTestCase, RecipeSubmitterLoginTestCase, PhenotypeTaggerLoginTestCase, UserLoginTestCase) from recipes.factories import HarmonizationRecipeFactory, Un...
57.930403
190
0.715934
3,971
31,630
5.386301
0.045832
0.067885
0.0432
0.052457
0.930993
0.926972
0.912338
0.902052
0.892842
0.883117
0
0.004484
0.189187
31,630
545
191
58.036697
0.829525
0.105786
0
0.863014
0
0
0.083541
0.034315
0
0
0
0
0.251142
1
0.116438
false
0
0.013699
0.009132
0.150685
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
20a0c23023d15457deefb5e0806c84027bf4d2da
4,099
py
Python
menu.py
SketchMaster2001/mcdonalds_api
7795820b264a562748c790775824ff1e39d03679
[ "MIT" ]
2
2021-04-26T20:51:09.000Z
2021-04-28T02:55:16.000Z
menu.py
SketchMaster2001/mcdonalds_api
7795820b264a562748c790775824ff1e39d03679
[ "MIT" ]
null
null
null
menu.py
SketchMaster2001/mcdonalds_api
7795820b264a562748c790775824ff1e39d03679
[ "MIT" ]
null
null
null
import json import requests from dotenv import load_dotenv load_dotenv() region = os.getenv('region') def beverages(): food = requests.get('https://www.mcdonalds.com/services/mcd/categoryDetails.ca.en-ca.100000.true.true..false.json') get_json = food.json() result = json.dumps(get_json) return result def b...
23.289773
118
0.72969
612
4,099
4.818627
0.124183
0.085453
0.096643
0.128857
0.865039
0.865039
0.865039
0.865039
0.865039
0.865039
0
0.031319
0.111979
4,099
175
119
23.422857
0.778846
0.01293
0
0.55102
0
0.193878
0.433944
0
0
0
0
0
0
0
null
null
0
0.030612
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
20db55c44b1b5f72e6bb3171210f5f6fcfb23404
182
py
Python
core/models/mobilenet_v3/__init__.py
matthew-wave/pool
698c140d161f369ef6a198dec9ab8b91a4532fa8
[ "MIT" ]
6
2020-04-17T10:13:28.000Z
2020-10-13T08:16:32.000Z
core/models/mobilenet_v3/__init__.py
matthew-wave/pool
698c140d161f369ef6a198dec9ab8b91a4532fa8
[ "MIT" ]
null
null
null
core/models/mobilenet_v3/__init__.py
matthew-wave/pool
698c140d161f369ef6a198dec9ab8b91a4532fa8
[ "MIT" ]
1
2021-05-14T08:11:08.000Z
2021-05-14T08:11:08.000Z
from core.models.mobilenet_v3.get_mobilenet import large, large_minimalistic, small, small_minimalistic, edge_tpu import core.models.mobilenet_v3.mobilenet_v3 as origin_mobilenet_v3
60.666667
113
0.879121
27
182
5.592593
0.518519
0.291391
0.251656
0.278146
0
0
0
0
0
0
0
0.023529
0.065934
182
2
114
91
0.864706
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
4555b245f70b887fce2bd8e8a18659c525897171
21,144
py
Python
cogs/legacy.py
bubby932/RecNetBotV2
ed846791584ed344d55357e0989eb241ee6f13b0
[ "MIT" ]
5
2021-07-16T21:12:14.000Z
2022-03-12T18:59:47.000Z
cogs/legacy.py
bubby932/RecNetBotV2
ed846791584ed344d55357e0989eb241ee6f13b0
[ "MIT" ]
1
2021-12-02T06:43:55.000Z
2021-12-02T06:43:55.000Z
cogs/legacy.py
bubby932/RecNetBotV2
ed846791584ed344d55357e0989eb241ee6f13b0
[ "MIT" ]
8
2021-08-08T21:35:42.000Z
2022-02-18T20:21:48.000Z
import functions import requests import discord from discord.ext import commands def reset_txt(txt): print("Reset") open(txt, 'w').close() class Legacy(commands.Cog): def __init__(self, client): self.client = client # LEGACY COMMANDS # CMD-SORTBY @commands.command() @commands.ch...
46.675497
307
0.496595
2,263
21,144
4.493151
0.083076
0.017703
0.034225
0.045437
0.807435
0.783832
0.773997
0.755901
0.717152
0.660995
0
0.009467
0.380533
21,144
452
308
46.778761
0.766453
0.03339
0
0.731214
0
0.034682
0.253201
0.079021
0
0
0
0
0
1
0.008671
false
0.014451
0.011561
0
0.023121
0.026012
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
45946d4db2328fce583081f30c6987076b0e96e2
1,772
py
Python
tools37/tkfw/python/operators.py
GabrielAmare/Tools37
5f2fe5a9b303a52442d0b808d39a1ae1c501a49d
[ "MIT" ]
null
null
null
tools37/tkfw/python/operators.py
GabrielAmare/Tools37
5f2fe5a9b303a52442d0b808d39a1ae1c501a49d
[ "MIT" ]
null
null
null
tools37/tkfw/python/operators.py
GabrielAmare/Tools37
5f2fe5a9b303a52442d0b808d39a1ae1c501a49d
[ "MIT" ]
null
null
null
from .base import UnaryOperator, BinaryOperator __all__ = [ 'Neg', 'BitwiseNot', 'Not', 'Add', 'Sub', 'Mul', 'TrueDiv', 'Mod', 'Pow', 'FloorDiv', 'BitwiseAnd', 'BitwiseOr', 'BitwiseXor', 'And', 'Or' ] class Neg(UnaryOperator): def __str__(self): ...
18.652632
50
0.604402
225
1,772
4.475556
0.133333
0.089374
0.148957
0.238332
0.744786
0.744786
0.714995
0.714995
0.714995
0.635551
0
0
0.231377
1,772
94
51
18.851064
0.739354
0
0
0.238095
0
0
0.278217
0
0
0
0
0
0
1
0.238095
false
0
0.015873
0.238095
0.730159
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
1
0
0
0
1
0
0
0
8
45cbeeca0eaee023c872f93da9be34473803c4a5
26,209
py
Python
aiospamc/frontend.py
mjcaley/spamc
67c4f2b13d569238ea24794eb5253a1416226a2a
[ "MIT" ]
null
null
null
aiospamc/frontend.py
mjcaley/spamc
67c4f2b13d569238ea24794eb5253a1416226a2a
[ "MIT" ]
null
null
null
aiospamc/frontend.py
mjcaley/spamc
67c4f2b13d569238ea24794eb5253a1416226a2a
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Frontend functions for the package.""" from typing import ( Any, Dict, Optional, SupportsBytes, Union, ) from loguru import logger from .client import Client from .connections import Timeout from .header_values import MessageClassValue from .options import ActionOption, ...
37.018362
98
0.690183
3,038
26,209
5.918038
0.071429
0.026698
0.020023
0.020468
0.935091
0.922465
0.915012
0.911174
0.908004
0.908004
0
0.002406
0.238811
26,209
707
99
37.070721
0.898797
0.002137
0
0.737463
0
0
0.104798
0
0
0
0
0
0
1
0
false
0
0.026549
0
0.050147
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
45e7083424585f70c0bfd47d1f073c30c3749d19
59
py
Python
src/webapp/data/__init__.py
Ciprian15/DeepDoc
4ae22030db2a7081cb179e52ac6c1c896f528fb1
[ "MIT" ]
null
null
null
src/webapp/data/__init__.py
Ciprian15/DeepDoc
4ae22030db2a7081cb179e52ac6c1c896f528fb1
[ "MIT" ]
null
null
null
src/webapp/data/__init__.py
Ciprian15/DeepDoc
4ae22030db2a7081cb179e52ac6c1c896f528fb1
[ "MIT" ]
null
null
null
from webapp.data import load from webapp.data import update
29.5
30
0.847458
10
59
5
0.6
0.4
0.56
0.8
0
0
0
0
0
0
0
0
0.118644
59
2
30
29.5
0.961538
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
affdae3f21fb1244cb6df6978b23c239ff3f054d
68,617
py
Python
benchmarks/SimResults/Paper2_rr_spec_base/cmp_perlbenchbzip2gccbwaves/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
benchmarks/SimResults/Paper2_rr_spec_base/cmp_perlbenchbzip2gccbwaves/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
benchmarks/SimResults/Paper2_rr_spec_base/cmp_perlbenchbzip2gccbwaves/power.py
TugberkArkose/MLScheduler
e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061
[ "Unlicense" ]
null
null
null
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate...
75.073304
124
0.68212
8,082
68,617
5.785325
0.067434
0.123532
0.112924
0.093419
0.939175
0.931304
0.917916
0.88714
0.862908
0.842355
0
0.132078
0.224303
68,617
914
125
75.073304
0.746383
0
0
0.642232
0
0
0.657335
0.048092
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b30da312fb88667e9bbf1949fc2e027655f94913
4,951
py
Python
RNN.py
chunkitmax/7ca0a1e5281409b27ab971d31707fe90
3aa47240aa5383c6036eb3a5cb63b33838287c83
[ "MIT" ]
null
null
null
RNN.py
chunkitmax/7ca0a1e5281409b27ab971d31707fe90
3aa47240aa5383c6036eb3a5cb63b33838287c83
[ "MIT" ]
null
null
null
RNN.py
chunkitmax/7ca0a1e5281409b27ab971d31707fe90
3aa47240aa5383c6036eb3a5cb63b33838287c83
[ "MIT" ]
null
null
null
''' RNN.py define RNN models ''' import torch as T from dataloader import DataManager class RNN_M2M(T.nn.Module): def __init__(self, word_list_len, embedding_len, hidden_size=50, lr=0.01, num_layers=3, drop_rate=0., use_cuda=False, use_adam=True, use_rmsprop=False, pretrained_emb=Non...
39.608
93
0.661886
701
4,951
4.433666
0.135521
0.066924
0.035393
0.03861
0.954955
0.954955
0.954955
0.954955
0.954955
0.954955
0
0.008698
0.23369
4,951
124
94
39.927419
0.81049
0.004848
0
0.918919
0
0
0
0
0
0
0
0
0
1
0.09009
false
0
0.018018
0.036036
0.198198
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b353306056576c6c6a208d3d5554fbbf3172ada5
15,714
py
Python
integration-test/398-airport-iata-codes.py
roman-ianivskyy/vector-datasource
3d59c0d9856d6bc2a78c4a9273b4e850c2e41d92
[ "MIT" ]
null
null
null
integration-test/398-airport-iata-codes.py
roman-ianivskyy/vector-datasource
3d59c0d9856d6bc2a78c4a9273b4e850c2e41d92
[ "MIT" ]
null
null
null
integration-test/398-airport-iata-codes.py
roman-ianivskyy/vector-datasource
3d59c0d9856d6bc2a78c4a9273b4e850c2e41d92
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- import dsl from shapely.wkt import loads as wkt_loads from . import FixtureTest class AirportIataCodes(FixtureTest): def test_sfo(self): # San Francisco International self.generate_fixtures(dsl.way(23718192, wkt_loads('POLYGON ((-122.402782773269 37.63531941394439, -122....
604.384615
7,766
0.80826
1,849
15,714
6.852893
0.464035
0.008523
0.006156
0.007576
0.05485
0.034015
0.018941
0.014837
0.011365
0.011365
0
0.760197
0.068538
15,714
25
7,767
628.56
0.105486
0.004264
0
0.125
0
0.25
0.92917
0.018794
0
0
0
0
0.125
1
0.125
false
0.0625
0.1875
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
b36c1bb7be7c6d9aa8d8387d73d715c1cfbc22b6
2,560
py
Python
django_pgschemas/test/client.py
randlet/django-pgschemas
97c5a059362eae49982c4a219db6fca6bde77b28
[ "MIT" ]
null
null
null
django_pgschemas/test/client.py
randlet/django-pgschemas
97c5a059362eae49982c4a219db6fca6bde77b28
[ "MIT" ]
null
null
null
django_pgschemas/test/client.py
randlet/django-pgschemas
97c5a059362eae49982c4a219db6fca6bde77b28
[ "MIT" ]
null
null
null
from django.test import RequestFactory, Client from ..middleware import TenantMiddleware class TenantRequestFactory(RequestFactory): def __init__(self, tenant, **defaults): super().__init__(**defaults) self.tenant = tenant def get(self, path, data={}, **extra): if "HTTP_HOST" not in ...
38.787879
86
0.623047
325
2,560
4.716923
0.129231
0.104371
0.152642
0.097847
0.840183
0.840183
0.840183
0.840183
0.840183
0.840183
0
0
0.225781
2,560
65
87
39.384615
0.773461
0
0
0.84
0
0
0.089063
0.01875
0
0
0
0
0
1
0.24
false
0
0.04
0
0.52
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
9
2fcb517cdbf99a8724c86211f3c6e82b1644050e
12
py
Python
_draft/answers/x_9_7.py
ofl/kuku2
7247fb1862d917d23258ebe7a93dca5939433225
[ "MIT" ]
null
null
null
_draft/answers/x_9_7.py
ofl/kuku2
7247fb1862d917d23258ebe7a93dca5939433225
[ "MIT" ]
1
2021-11-13T08:03:04.000Z
2021-11-13T08:03:04.000Z
_draft/answers/x_9_7.py
ofl/kuku2
7247fb1862d917d23258ebe7a93dca5939433225
[ "MIT" ]
null
null
null
# x_9_7 # #
3
7
0.416667
3
12
1
1
0
0
0
0
0
0
0
0
0
0
0.25
0.333333
12
3
8
4
0.125
0.416667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
2fe8ba30bc37895772df422c85c72258790493e4
2,063
py
Python
test/test_means_delta.py
quizlet/abracadabra
eda599bd02f14b96efdc521f53132d93c9100ede
[ "MIT" ]
24
2020-06-12T16:12:32.000Z
2021-09-01T12:25:38.000Z
test/test_means_delta.py
quizlet/abracadabra
eda599bd02f14b96efdc521f53132d93c9100ede
[ "MIT" ]
20
2020-06-12T06:26:08.000Z
2022-03-12T00:57:51.000Z
test/test_means_delta.py
quizlet/abracadabra
eda599bd02f14b96efdc521f53132d93c9100ede
[ "MIT" ]
4
2020-06-14T12:14:11.000Z
2021-05-28T15:36:44.000Z
import pytest from abra import Experiment, HypothesisTest def test_means_delta_experiment_t(means_data): """Small sample sizes defautl to t-tests""" exp = Experiment(means_data.sample(29), name='means-test') test_ab = HypothesisTest( metric='metric', control='A', variation='A', hy...
29.056338
62
0.68444
256
2,063
5.199219
0.160156
0.094666
0.075131
0.063862
0.886551
0.84598
0.84598
0.84598
0.84598
0.825695
0
0.001222
0.206495
2,063
71
63
29.056338
0.811851
0.017935
0
0.732143
0
0
0.090549
0
0
0
0
0
0.160714
1
0.089286
false
0
0.035714
0
0.125
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
2ffdf6f8d222dfa387ff18026c622b2158f54d63
3,842
py
Python
python/p002.py
tsghosh/eusolutions
705fb95f7308105aa4a7f692881200760e55b4f7
[ "MIT" ]
null
null
null
python/p002.py
tsghosh/eusolutions
705fb95f7308105aa4a7f692881200760e55b4f7
[ "MIT" ]
null
null
null
python/p002.py
tsghosh/eusolutions
705fb95f7308105aa4a7f692881200760e55b4f7
[ "MIT" ]
null
null
null
# Solution to Project Euler problem 2 # Problem 2 # Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: # 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... # By considering the terms in the Fibonacci sequence whose values do not exceed four ...
31.235772
142
0.706663
610
3,842
4.098361
0.157377
0.1728
0.216
0.096
0.7624
0.7396
0.714
0.6448
0.6212
0.6076
0
0.043029
0.243883
3,842
122
143
31.491803
0.817556
0.328735
0
0.784615
1
0
0.055731
0
0
0
0
0
0
0
null
null
0
0
null
null
0.184615
0
0
0
null
0
1
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
ff3b71bc235f8504c2e3290e1fab6abbca8b52c7
9,076
py
Python
tests/test_reqsync/driver_test.py
alex-ber/PythonPackageSyncTool
07b970dd7cb752cb7dfebc9baa06ad0210dfe9c1
[ "BSD-2-Clause" ]
null
null
null
tests/test_reqsync/driver_test.py
alex-ber/PythonPackageSyncTool
07b970dd7cb752cb7dfebc9baa06ad0210dfe9c1
[ "BSD-2-Clause" ]
2
2019-10-22T06:37:48.000Z
2019-10-23T10:09:42.000Z
tests/test_reqsync/driver_test.py
alex-ber/PythonPackageSyncTool
07b970dd7cb752cb7dfebc9baa06ad0210dfe9c1
[ "BSD-2-Clause" ]
null
null
null
import logging logger = logging.getLogger(__name__) import pytest from alexber.reqsync import app from alexber.reqsync.app import logging as app_logging from contextlib import ExitStack from importlib.resources import path from pathlib import Path import yaml from .app_test import validate_result def _calc_removed_l...
29.089744
97
0.6526
1,132
9,076
4.85689
0.092756
0.072026
0.078574
0.11295
0.894689
0.894689
0.894689
0.894689
0.894689
0.889051
0
0.00279
0.210115
9,076
311
98
29.18328
0.764123
0
0
0.833333
0
0
0.230023
0.14703
0
0
0
0
0
1
0.048246
false
0
0.039474
0
0.092105
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ff7d41863b92e53e2dfa54e263003b40ae3a52f4
1,601
py
Python
tests/unit/_torch_tests.py
acse-yl27218/cherry
5b349cae64b282facf5a874164690c06808b1c61
[ "Apache-2.0" ]
160
2019-09-14T05:33:29.000Z
2022-03-12T18:58:51.000Z
tests/unit/_torch_tests.py
acse-yl27218/cherry
5b349cae64b282facf5a874164690c06808b1c61
[ "Apache-2.0" ]
14
2019-12-05T12:14:05.000Z
2022-02-28T14:52:52.000Z
tests/unit/_torch_tests.py
acse-yl27218/cherry
5b349cae64b282facf5a874164690c06808b1c61
[ "Apache-2.0" ]
28
2019-09-17T02:25:46.000Z
2022-03-12T19:53:58.000Z
#!/usr/bin/env python3 import unittest import numpy as np import torch as th import cherry as ch DIM = 5 class TestTorch(unittest.TestCase): def test_onehot(self): single = 3 oh_single = ch.onehot(single, dim=DIM) self.assertTrue(oh_single.size(0) == 1) self.assertTrue(oh_single...
29.648148
67
0.569644
234
1,601
3.790598
0.188034
0.144307
0.21646
0.297632
0.738444
0.738444
0.721533
0.721533
0.721533
0.721533
0
0.040712
0.263585
1,601
53
68
30.207547
0.71162
0.013117
0
0.585366
0
0
0.005067
0
0
0
0
0
0.317073
1
0.02439
false
0
0.097561
0
0.146341
0
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ff902fa35b76847bda8ee530088291407769dfaf
2,054
py
Python
tptp/frontend/plots/dummyResults.py
leoprover/tptp
a670c903bd81990a59ffa7ec19cc0666dd3b5c55
[ "BSD-3-Clause" ]
6
2019-08-15T13:12:13.000Z
2021-08-09T12:07:51.000Z
tptp/frontend/plots/dummyResults.py
leoprover/tptp
a670c903bd81990a59ffa7ec19cc0666dd3b5c55
[ "BSD-3-Clause" ]
null
null
null
tptp/frontend/plots/dummyResults.py
leoprover/tptp
a670c903bd81990a59ffa7ec19cc0666dd3b5c55
[ "BSD-3-Clause" ]
null
null
null
from tptp.core import SZSStatus from ...core import szs, ProblemWithStatus from ...reasoning.localSolver import LocalSolverCall, LocalSolver from ...reasoning import SolverResult, Solver dummyResults = [ SolverResult(LocalSolverCall(ProblemWithStatus(None, None, None, SZSStatus.THM), solver=LocalSolver('leo', comm...
82.16
130
0.65628
211
2,054
6.388626
0.109005
0.106825
0.178042
0.320475
0.876855
0.876855
0.876855
0.876855
0.876855
0.876855
0
0.033582
0.217137
2,054
25
131
82.16
0.804726
0
0
0.708333
0
0
0.027737
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
ff90ece4a103f07b6df27b55bf9a2bfde43c988b
220
py
Python
tests/checkio/home/test_pawn_brotherhood.py
zoido/checkio_python_solutions
858cc7eafbbf55c8506e14cce260d17406fbf09c
[ "MIT" ]
null
null
null
tests/checkio/home/test_pawn_brotherhood.py
zoido/checkio_python_solutions
858cc7eafbbf55c8506e14cce260d17406fbf09c
[ "MIT" ]
2
2017-10-14T17:44:17.000Z
2018-04-06T18:53:37.000Z
tests/checkio/home/test_pawn_brotherhood.py
zoido/checkio_python_solutions
858cc7eafbbf55c8506e14cce260d17406fbf09c
[ "MIT" ]
null
null
null
from checkio.home.pawn_brotherhood import safe_pawns def test_safe_pawns(): assert safe_pawns({"b4", "d4", "f4", "c3", "e3", "g5", "d2"}) == 6 assert safe_pawns({"b4", "c4", "d4", "e4", "f4", "g4", "e5"}) == 1
31.428571
70
0.577273
34
220
3.558824
0.705882
0.297521
0.247934
0.280992
0
0
0
0
0
0
0
0.086957
0.163636
220
6
71
36.666667
0.570652
0
0
0
0
0
0.127273
0
0
0
0
0
0.5
1
0.25
true
0
0.25
0
0.5
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
1
1
0
0
0
0
0
0
7
ff98eb836ce0c90a85d4172e1f3fd67543217a4a
295
py
Python
chainerrl/explorers/__init__.py
kiyukuta/chainerrl
65f53cd728cbcd233864e9bea9ee2e57d1b68b00
[ "MIT" ]
null
null
null
chainerrl/explorers/__init__.py
kiyukuta/chainerrl
65f53cd728cbcd233864e9bea9ee2e57d1b68b00
[ "MIT" ]
null
null
null
chainerrl/explorers/__init__.py
kiyukuta/chainerrl
65f53cd728cbcd233864e9bea9ee2e57d1b68b00
[ "MIT" ]
null
null
null
from chainerrl.explorers.additive_gaussian import AdditiveGaussian # NOQA from chainerrl.explorers.additive_ou import AdditiveOU # NOQA from chainerrl.explorers.epsilon_greedy import ConstantEpsilonGreedy # NOQA from chainerrl.explorers.epsilon_greedy import LinearDecayEpsilonGreedy # NOQA
59
79
0.864407
32
295
7.84375
0.4375
0.207171
0.350598
0.310757
0.358566
0.358566
0.358566
0
0
0
0
0
0.094915
295
4
80
73.75
0.940075
0.064407
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
92352c71c0b22b4fc5aa839f89a8f11e042ceae5
12,927
py
Python
tests/helpers/tiles.py
filemaster/aihwkit
473eda8c3c89f49acdfc2da9bd03b27e22e13b1a
[ "Apache-2.0" ]
null
null
null
tests/helpers/tiles.py
filemaster/aihwkit
473eda8c3c89f49acdfc2da9bd03b27e22e13b1a
[ "Apache-2.0" ]
null
null
null
tests/helpers/tiles.py
filemaster/aihwkit
473eda8c3c89f49acdfc2da9bd03b27e22e13b1a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # (C) Copyright 2020 IBM. All Rights Reserved. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or ...
31.761671
85
0.696913
1,649
12,927
5.141298
0.094603
0.140127
0.062279
0.067469
0.851852
0.845247
0.789809
0.789809
0.788158
0.787096
0
0.00654
0.207473
12,927
406
86
31.839901
0.820986
0.095846
0
0.8125
0
0
0.027763
0.001816
0
0
0
0
0
1
0.171875
false
0
0.015625
0.085938
0.703125
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
8
9265ef31bbba9dc6d911e8e58102e67e90f1654c
2,707
py
Python
src/tests/test_random.py
Shashvatb/pythia
07fb178940a0f3cefd1d9126bdf974005a88b70c
[ "Apache-2.0" ]
84
2016-06-01T23:53:50.000Z
2021-12-15T03:57:19.000Z
src/tests/test_random.py
Shashvatb/pythia
07fb178940a0f3cefd1d9126bdf974005a88b70c
[ "Apache-2.0" ]
79
2016-06-02T01:18:39.000Z
2016-10-01T00:32:12.000Z
src/tests/test_random.py
Shashvatb/pythia
07fb178940a0f3cefd1d9126bdf974005a88b70c
[ "Apache-2.0" ]
29
2016-05-31T17:44:31.000Z
2021-06-01T11:06:13.000Z
import numpy as np from src.pipelines.master_pipeline import get_args, main as pipeline_main from src.utils.sampling import label_sample def test_random(): args = get_args(SEED=41, directory='data/stackexchange/anime', XGB=True, LDA_APPEND=True, ...
33.419753
73
0.515331
281
2,707
4.761566
0.170819
0.098655
0.119581
0.056054
0.800448
0.800448
0.760837
0.760837
0.760837
0.702541
0
0.036659
0.385297
2,707
80
74
33.8375
0.767428
0
0
0.756757
0
0
0.064647
0.04433
0
0
0
0
0.081081
1
0.094595
false
0
0.040541
0.013514
0.148649
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a66be4fb1e9849e030ea7c221f4e56315c9c89c9
9,889
py
Python
src/genie/libs/parser/iosxe/tests/ShowCryptoIpsecSaDetail/cli/equal/golden_output_expected.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowCryptoIpsecSaDetail/cli/equal/golden_output_expected.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowCryptoIpsecSaDetail/cli/equal/golden_output_expected.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
expected_output={ "interface":{ "GigabitEthernet3":{ "crypto_map_tag":"vpn-crypto-map", "ident":{ 1:{ "acl":"origin_is_acl,", "action":"PERMIT", "current_outbound_spi":"0x397C36EE(964441838)", "dh_group":"none", ...
35.444444
67
0.375569
832
9,889
4.097356
0.157452
0.092402
0.039601
0.036961
0.895864
0.890877
0.890877
0.874743
0.874743
0.830742
0
0.100241
0.495601
9,889
279
68
35.444444
0.5832
0
0
0.709434
0
0
0.375531
0.100404
0
0
0.00637
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
a66c1046b636a94aae26bc4aa2b8a88780124835
2,460
py
Python
real_estate_api/owner/migrations/0003_auto_20180804_1441.py
rossi1/RES
729196bfa45cc2b47acc93c49c07c7e8f0f6ea93
[ "MIT" ]
null
null
null
real_estate_api/owner/migrations/0003_auto_20180804_1441.py
rossi1/RES
729196bfa45cc2b47acc93c49c07c7e8f0f6ea93
[ "MIT" ]
null
null
null
real_estate_api/owner/migrations/0003_auto_20180804_1441.py
rossi1/RES
729196bfa45cc2b47acc93c49c07c7e8f0f6ea93
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2018-08-04 21:41 import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('owner', '0002_auto_20180801_1657'), ] operations = [ migrations.RemoveField( model_name='pro...
31.948052
123
0.561382
219
2,460
6.127854
0.260274
0.080477
0.188525
0.221311
0.737705
0.737705
0.737705
0.709389
0.709389
0.709389
0
0.017836
0.31626
2,460
76
124
32.368421
0.780024
0.01748
0
0.828571
1
0
0.124224
0.009524
0
0
0
0
0
1
0
false
0
0.028571
0
0.071429
0
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
a69e9f589478d3ff5b76b33a29c06e7f1c74ddfd
26,408
py
Python
qurator/eynollah/utils/drop_capitals.py
jacektl/eynollah
d784202ae177f975c648bb6885d5a126ec14b059
[ "Apache-2.0" ]
null
null
null
qurator/eynollah/utils/drop_capitals.py
jacektl/eynollah
d784202ae177f975c648bb6885d5a126ec14b059
[ "Apache-2.0" ]
null
null
null
qurator/eynollah/utils/drop_capitals.py
jacektl/eynollah
d784202ae177f975c648bb6885d5a126ec14b059
[ "Apache-2.0" ]
null
null
null
import numpy as np import cv2 from .contour import ( find_new_features_of_contours, return_contours_of_image, return_parent_contours, ) def adhere_drop_capital_region_into_corresponding_textline( text_regions_p, polygons_of_drop_capitals, contours_only_text_parent, contours_only_text_parent...
52.605578
177
0.62057
3,555
26,408
4.200563
0.044726
0.085381
0.066564
0.084712
0.912074
0.883011
0.864997
0.842697
0.822541
0.802451
0
0.030102
0.245229
26,408
501
178
52.710579
0.719095
0.331415
0
0.708333
0
0
0
0
0
0
0
0
0
1
0.010417
false
0.03125
0.015625
0
0.036458
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
4725e024171d412c830465b7e9e9c89d2a8d0788
12,938
py
Python
magpylib/_src/fields/field_wrap_BH_level3.py
OrtnerMichael/magPyLib
4c7e7f56f6e0b915ec0e024c172c460fa80126e5
[ "BSD-2-Clause" ]
null
null
null
magpylib/_src/fields/field_wrap_BH_level3.py
OrtnerMichael/magPyLib
4c7e7f56f6e0b915ec0e024c172c460fa80126e5
[ "BSD-2-Clause" ]
null
null
null
magpylib/_src/fields/field_wrap_BH_level3.py
OrtnerMichael/magPyLib
4c7e7f56f6e0b915ec0e024c172c460fa80126e5
[ "BSD-2-Clause" ]
null
null
null
from magpylib._src.fields.field_wrap_BH_level2 import getBH_level2 def getB( sources=None, observers=None, sumup=False, squeeze=True, pixel_agg=None, **kwargs ): """Compute B-field in [mT] for given sources and observers. Field implementations can be directly accessed (avoiding the object oriented Ma...
40.943038
99
0.630778
1,845
12,938
4.391328
0.145799
0.00938
0.028882
0.021723
0.942236
0.939027
0.913848
0.906196
0.897803
0.855591
0
0.095712
0.239295
12,938
315
100
41.073016
0.727494
0.879425
0
0.72
0
0
0.00315
0
0
0
0
0
0
1
0.08
false
0
0.04
0
0.2
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
5b34ea69be0d894dea4ab9ac8d6ed5111c5140bc
13,550
py
Python
api/tests/opentrons/server/calibration_integration_test.py
wheresaddie/opentrons
b90a87e2b45ea3db7677d130d683249460e4b91a
[ "Apache-2.0" ]
null
null
null
api/tests/opentrons/server/calibration_integration_test.py
wheresaddie/opentrons
b90a87e2b45ea3db7677d130d683249460e4b91a
[ "Apache-2.0" ]
null
null
null
api/tests/opentrons/server/calibration_integration_test.py
wheresaddie/opentrons
b90a87e2b45ea3db7677d130d683249460e4b91a
[ "Apache-2.0" ]
null
null
null
import numpy as np import pytest from opentrons import types from opentrons import deck_calibration as dc from opentrons.deck_calibration import endpoints from opentrons.trackers.pose_tracker import absolute from opentrons.config.pipette_config import Y_OFFSET_MULTI from opentrons.hardware_control.types import Critica...
36.229947
79
0.628192
1,709
13,550
4.819778
0.132241
0.056088
0.073813
0.092267
0.837926
0.809518
0.804905
0.780988
0.780988
0.752823
0
0.04143
0.232251
13,550
373
80
36.327078
0.75036
0.120295
0
0.796667
0
0
0.153775
0.007567
0
0
0
0
0.16
1
0.003333
false
0
0.026667
0
0.036667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5b525b468556b6951f8a5bc799cf90a478ceee6a
5,743
py
Python
tests/test_order_group_scope_named_dep.py
mrbean-bremen/pytest-order
50cb2f3735b6e6a02046f44eefc928e6a9da5268
[ "MIT" ]
12
2020-11-17T16:58:05.000Z
2021-06-08T06:26:37.000Z
tests/test_order_group_scope_named_dep.py
mrbean-bremen/pytest-order
50cb2f3735b6e6a02046f44eefc928e6a9da5268
[ "MIT" ]
8
2020-10-24T18:34:43.000Z
2021-03-04T08:08:19.000Z
tests/test_order_group_scope_named_dep.py
mrbean-bremen/pytest-order
50cb2f3735b6e6a02046f44eefc928e6a9da5268
[ "MIT" ]
1
2020-12-07T12:29:47.000Z
2020-12-07T12:29:47.000Z
# -*- coding: utf-8 -*- import os import shutil import pytest import pytest_order from tests.utils import write_test, assert_test_order @pytest.fixture(scope="module") def fixture_path(tmpdir_factory): fixture_path = str(tmpdir_factory.mktemp("named_dep_scope")) testname = os.path.join(fixture_path, "test_...
31.554945
71
0.64879
760
5,743
4.577632
0.106579
0.124174
0.063237
0.09198
0.861742
0.861742
0.805116
0.77781
0.743604
0.687841
0
0.019991
0.216089
5,743
181
72
31.729282
0.752777
0.014104
0
0.723684
0
0
0.461212
0.268599
0
0
0
0
0.125
1
0.039474
false
0
0.059211
0
0.098684
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5b77d7d4e0c6322ebbd4d5b71403682bb45e662c
415
py
Python
apps/overlay_manager/exceptions.py
matcala/cs-e4300_wireguard-mesh
b5fb64923a133f9c31dde5396de460cf749b4a59
[ "MIT" ]
null
null
null
apps/overlay_manager/exceptions.py
matcala/cs-e4300_wireguard-mesh
b5fb64923a133f9c31dde5396de460cf749b4a59
[ "MIT" ]
null
null
null
apps/overlay_manager/exceptions.py
matcala/cs-e4300_wireguard-mesh
b5fb64923a133f9c31dde5396de460cf749b4a59
[ "MIT" ]
1
2022-01-28T17:18:46.000Z
2022-01-28T17:18:46.000Z
class StartupError(Exception): def __init__(self, message): self.message = message class DeviceRegistrationError(Exception): def __init__(self, message): self.message = message class OverlayRegistrationError(Exception): def __init__(self, message): self.message = message class ...
21.842105
42
0.706024
40
415
6.925
0.25
0.31769
0.231047
0.288809
0.703971
0.703971
0.703971
0.703971
0.541516
0
0
0
0.207229
415
18
43
23.055556
0.841945
0
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
1
1
1
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
754285744da5e07107626f5655d64ea5691d1e1b
19,038
py
Python
nova/tests/unit/virt/disk/mount/test_api.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/virt/disk/mount/test_api.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/tests/unit/virt/disk/mount/test_api.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright 2015 Hewlett-Packard Development Company, L.P.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' comment|'# a copy o...
12.459424
88
0.6081
2,821
19,038
3.999646
0.069833
0.183462
0.091288
0.070726
0.851458
0.826642
0.782771
0.752016
0.711956
0.67615
0
0.003619
0.100116
19,038
1,527
89
12.467584
0.654973
0
0
0.937132
0
0
0.355605
0.033092
0
0
0
0
0.017027
0
null
null
0.00131
0.004584
null
null
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
f3a58ab1e1c766015be409c5fa0e14d65d1b6b40
155
py
Python
mrcp/turnouts/__init__.py
danielvilas/mrcp
8b79c2487ec8acf6678113772e70a32e2ab24d72
[ "MIT" ]
null
null
null
mrcp/turnouts/__init__.py
danielvilas/mrcp
8b79c2487ec8acf6678113772e70a32e2ab24d72
[ "MIT" ]
null
null
null
mrcp/turnouts/__init__.py
danielvilas/mrcp
8b79c2487ec8acf6678113772e70a32e2ab24d72
[ "MIT" ]
null
null
null
from mrcp.turnouts.halfturnout import * from mrcp.turnouts.ladderstep import * from mrcp.turnouts.turnout import * from mrcp.turnouts.curveturnout import *
38.75
40
0.825806
20
155
6.4
0.4
0.25
0.5
0.515625
0
0
0
0
0
0
0
0
0.096774
155
4
40
38.75
0.914286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
34051130b8046d64465b728ddb382eaaa1f7bc7d
47
py
Python
metrics/__init__.py
zhongerqiandan/OpenDialog
f478b2a912c8c742da5ced510ac40da59217ddb3
[ "MIT" ]
98
2020-07-16T06:27:29.000Z
2022-03-12T15:21:51.000Z
metrics/__init__.py
zhongerqiandan/OpenDialog
f478b2a912c8c742da5ced510ac40da59217ddb3
[ "MIT" ]
2
2020-07-22T12:00:17.000Z
2021-02-24T01:19:14.000Z
metrics/__init__.py
gmftbyGMFTBY/OpenDialog
8eb56b7a21cea1172131db7a56d2656364144771
[ "MIT" ]
19
2020-07-16T08:36:09.000Z
2021-09-14T05:36:54.000Z
from .metric import * from .ir_metric import *
15.666667
24
0.744681
7
47
4.857143
0.571429
0.705882
0
0
0
0
0
0
0
0
0
0
0.170213
47
2
25
23.5
0.871795
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
347060ba1e8ef3b500c329d2c68922d1d57c96c0
4,785
py
Python
api/views.py
rauanisanfelice/django-api-ecommerce
3b8c0db70841eb9bd0fb5e115b266e4c9d80751a
[ "MIT" ]
null
null
null
api/views.py
rauanisanfelice/django-api-ecommerce
3b8c0db70841eb9bd0fb5e115b266e4c9d80751a
[ "MIT" ]
null
null
null
api/views.py
rauanisanfelice/django-api-ecommerce
3b8c0db70841eb9bd0fb5e115b266e4c9d80751a
[ "MIT" ]
null
null
null
import logging from django.contrib.auth.models import User from rest_framework import mixins, generics, permissions, viewsets from rest_framework.authentication import SessionAuthentication, BasicAuthentication from rest_framework.permissions import IsAuthenticated from rest_framework.schemas.openapi import AutoSchem...
34.927007
125
0.71348
472
4,785
7.177966
0.188559
0.103896
0.160567
0.099174
0.792208
0.792208
0.792208
0.751476
0.751476
0.751476
0
0
0.163636
4,785
137
126
34.927007
0.846577
0.029467
0
0.746988
0
0
0.08218
0.032439
0
0
0
0.007299
0
1
0.192771
false
0
0.096386
0.120482
0.915663
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
1
1
0
0
8
348289331a6d2754e19c39e370ac6704cc3f22da
1,532
py
Python
boto3_type_annotations/boto3_type_annotations/dms/waiter.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
119
2018-12-01T18:20:57.000Z
2022-02-02T10:31:29.000Z
boto3_type_annotations/boto3_type_annotations/dms/waiter.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
15
2018-11-16T00:16:44.000Z
2021-11-13T03:44:18.000Z
boto3_type_annotations/boto3_type_annotations/dms/waiter.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
11
2019-05-06T05:26:51.000Z
2021-09-28T15:27:59.000Z
from typing import Dict from typing import List from botocore.waiter import Waiter class EndpointDeleted(Waiter): def wait(self, Filters: List = None, MaxRecords: int = None, Marker: str = None, WaiterConfig: Dict = None): pass class ReplicationInstanceAvailable(Waiter): def wait(self, Filters: List...
34.818182
142
0.696475
177
1,532
6.028249
0.163842
0.067479
0.09747
0.12746
0.763824
0.763824
0.763824
0.763824
0.763824
0.763824
0
0
0.201044
1,532
43
143
35.627907
0.871732
0
0
0.592593
0
0
0
0
0
0
0
0
0
1
0.296296
false
0.296296
0.111111
0
0.703704
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
8
1b4648f902c46b3ba37b17ac5dd30692120bf247
119
py
Python
habari/settings/local.py
ppolle/habari
671b98c361ce593f708bc15f69dd3aa6fe72b128
[ "MIT" ]
3
2020-06-08T08:39:06.000Z
2020-07-30T10:46:22.000Z
habari/settings/local.py
ppolle/habari
671b98c361ce593f708bc15f69dd3aa6fe72b128
[ "MIT" ]
9
2021-03-19T11:18:58.000Z
2022-02-10T15:48:35.000Z
habari/settings/local.py
ppolle/habari
671b98c361ce593f708bc15f69dd3aa6fe72b128
[ "MIT" ]
1
2021-09-22T07:23:03.000Z
2021-09-22T07:23:03.000Z
import sys if 'test' in sys.argv: from habari.settings.test import * else: from habari.settings.dev import *
17
38
0.697479
18
119
4.611111
0.611111
0.240964
0.433735
0
0
0
0
0
0
0
0
0
0.210084
119
6
39
19.833333
0.882979
0
0
0
0
0
0.033613
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
1b522424b865fc9db3867c58abc3c0d93bfaf58d
2,171
py
Python
extension/fts/fts_config.py
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
2,816
2018-06-26T18:52:52.000Z
2021-04-06T10:39:15.000Z
extension/fts/fts_config.py
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
1,310
2021-04-06T16:04:52.000Z
2022-03-31T13:52:53.000Z
extension/fts/fts_config.py
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
270
2021-04-09T06:18:28.000Z
2022-03-31T11:55:37.000Z
import os # list all include directories include_directories = [os.path.sep.join(x.split('/')) for x in ['extension/fts/include', 'third_party/snowball/libstemmer', 'third_party/snowball/runtime', 'third_party/snowball/src_c']] # source files source_files = [os.path.sep.join(x.split('/')) for x in ['extension/fts/fts-e...
241.222222
1,788
0.823584
387
2,171
4.20155
0.160207
0.221402
0.398524
0.413284
0.731242
0.683272
0.683272
0.683272
0.683272
0.074416
0
0.014755
0.032243
2,171
8
1,789
271.375
0.759162
0.023031
0
0
0
0
0.835539
0.834121
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
59fdc1f49c3c899a2657021f7d372b450f5a78a2
5,325
py
Python
utils/Type of preprocessing.py
sixduck/Sorting-robot-using-Opencv-Tensorflow-Arduino
54f58d8899b3c29dcb12eb4843f3418d36824c8a
[ "MIT" ]
null
null
null
utils/Type of preprocessing.py
sixduck/Sorting-robot-using-Opencv-Tensorflow-Arduino
54f58d8899b3c29dcb12eb4843f3418d36824c8a
[ "MIT" ]
null
null
null
utils/Type of preprocessing.py
sixduck/Sorting-robot-using-Opencv-Tensorflow-Arduino
54f58d8899b3c29dcb12eb4843f3418d36824c8a
[ "MIT" ]
null
null
null
x=1 y=2 z=3 # # 1s or less # diff_low_t=35 # diff_high_t=255 # target_gray = cv2.cvtColor(anh_phat_hien_crop, cv2.COLOR_BGR2GRAY) # self.previewImage('a', target_gray) # bg_gray = cv2.cvtColor(anh_nen_crop, cv2.COLOR_BGR2GRAY) # self.previewImage('a', bg_gray) # diff_gray = cv2.absdiff(target_gray,bg_gray...
39.738806
105
0.739906
788
5,325
4.681472
0.091371
0.07807
0.060721
0.037951
0.97723
0.962591
0.962591
0.94199
0.932773
0.916237
0
0.045759
0.129953
5,325
134
106
39.738806
0.750486
0.912864
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
948c51a54bf9372de987684448ea44f76f76f67c
722
py
Python
2018/CrossCTF_2018/Finals/Pwn/FTLOG/soln_ftlong.py
solomonbstoner/solomonbston3r-ctf-diary
2eb5439b157ca0c97db313c9762c6b5d8a714a85
[ "Unlicense" ]
14
2018-04-01T00:52:42.000Z
2020-07-11T06:17:49.000Z
2018/CrossCTF_2018/Finals/Pwn/FTLOG/soln_ftlong.py
solomonbstoner/solomonbston3r-ctf-diary
2eb5439b157ca0c97db313c9762c6b5d8a714a85
[ "Unlicense" ]
5
2018-04-03T00:40:58.000Z
2021-06-02T13:37:43.000Z
2018/CrossCTF_2018/Finals/Pwn/FTLOG/soln_ftlong.py
solomonbstoner/solomonbston3r-ctf-diary
2eb5439b157ca0c97db313c9762c6b5d8a714a85
[ "Unlicense" ]
null
null
null
from pwn import * r = remote('ctf.pwn.sg', 4004) #r = process('./ftlog') exploit = '\x01\x30\x8f\xe2\x13\xff\x2f\xe1\x78\x46\x0a\x30\x01\x90\x01\xa9\x92\x1a\x0b\x27\x01\xdf\x2f\x2f\x62\x69\x6e\x2f\x73\x68' # exploit did not work exploit2 = '\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x01\x30\x8f\xe2\x13\xff\x2...
32.818182
169
0.721607
148
722
3.52027
0.412162
0.126679
0.172745
0.207294
0.43762
0.43762
0.43762
0.241843
0.241843
0.241843
0
0.269345
0.069252
722
21
170
34.380952
0.505952
0.198061
0
0
0
0.375
0.733913
0.716522
0
1
0
0
0
0
null
null
0
0.125
null
null
0.125
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
1
null
1
0
0
0
1
0
0
0
0
0
0
0
0
7
84b1fa1b9a4d979dee785354836c06b02ef95339
206
py
Python
aioelasticsearch/exceptions.py
sloev/aioelasticsearch
26fcd7cce748f40cbd0833f49f399a2b5f08bb2e
[ "MIT" ]
123
2018-01-23T02:45:07.000Z
2022-03-28T10:09:15.000Z
aioelasticsearch/exceptions.py
sloev/aioelasticsearch
26fcd7cce748f40cbd0833f49f399a2b5f08bb2e
[ "MIT" ]
231
2018-01-19T00:34:35.000Z
2022-01-31T13:18:27.000Z
aioelasticsearch/exceptions.py
sloev/aioelasticsearch
26fcd7cce748f40cbd0833f49f399a2b5f08bb2e
[ "MIT" ]
39
2018-04-01T03:11:03.000Z
2022-03-27T19:32:08.000Z
from elasticsearch.exceptions import * # noqa # isort:skip from elasticsearch.exceptions import (AuthenticationException, # noqa # isort:skip AuthorizationException)
51.5
83
0.665049
16
206
8.5625
0.5625
0.248175
0.394161
0.481752
0
0
0
0
0
0
0
0
0.276699
206
3
84
68.666667
0.919463
0.160194
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
84dfb48247d0254a6b9a97f204163f64a413bccc
165
py
Python
loldib/getratings/models/NA/na_lissandra/__init__.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_lissandra/__init__.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_lissandra/__init__.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from .na_lissandra_top import * from .na_lissandra_jng import * from .na_lissandra_mid import * from .na_lissandra_bot import * from .na_lissandra_sup import *
27.5
32
0.787879
25
165
4.8
0.36
0.25
0.625
0.7
0
0
0
0
0
0
0
0
0.151515
165
5
33
33
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
84fe2a1856cfe378d66acbb424f70323104c05b1
5,782
py
Python
viz/layout.py
HuynhThanhQuan/graph-network
e429a641e7baecad9765700cac580cfbdedbe1bd
[ "MIT" ]
null
null
null
viz/layout.py
HuynhThanhQuan/graph-network
e429a641e7baecad9765700cac580cfbdedbe1bd
[ "MIT" ]
11
2020-11-13T18:29:37.000Z
2022-02-10T00:25:15.000Z
viz/layout.py
HuynhThanhQuan/graph-network
e429a641e7baecad9765700cac580cfbdedbe1bd
[ "MIT" ]
null
null
null
import numpy as np class Layout: @staticmethod def get_volcano_layout(digraph, position): def relocate_z_position(node_layer_map, pos): top_z = 1 new_pos = {} num_layers = max(list(zip(*node_layer_map))[1]) for node, pos in pos.items(): ...
40.152778
89
0.556382
773
5,782
3.826649
0.06727
0.091278
0.133874
0.086207
0.955375
0.955375
0.93881
0.93881
0.927992
0.91616
0
0.01216
0.345728
5,782
143
90
40.433566
0.769759
0
0
0.897638
0
0
0.00588
0
0
0
0
0
0
1
0.149606
false
0
0.007874
0
0.314961
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
ca76eaa4ce16f8855af3ee54c6d3109278f007be
939
py
Python
tests/test_get_url_from_args.py
psass-edfsf/centralized-pre-commit-conf
49ae2cf524dc90f55dfffc2c38ece3e1a2365c5f
[ "MIT" ]
6
2020-05-25T07:11:53.000Z
2021-02-03T01:53:14.000Z
tests/test_get_url_from_args.py
psass-edfsf/centralized-pre-commit-conf
49ae2cf524dc90f55dfffc2c38ece3e1a2365c5f
[ "MIT" ]
1
2020-09-02T15:51:38.000Z
2020-09-02T15:51:38.000Z
tests/test_get_url_from_args.py
psass-edfsf/centralized-pre-commit-conf
49ae2cf524dc90f55dfffc2c38ece3e1a2365c5f
[ "MIT" ]
1
2020-07-22T08:03:45.000Z
2020-07-22T08:03:45.000Z
import unittest from centralized_pre_commit_conf.parse_args import get_url_from_args class TestGetUrlFromArgs(unittest.TestCase): def test_all_args(self): self.assertEqual(get_url_from_args("http://a.net", "master", "path"), "http://a.net/master/path") self.assertEqual(get_url_from_args("http://a...
58.6875
106
0.652822
137
939
4.233577
0.175182
0.137931
0.22069
0.241379
0.751724
0.751724
0.751724
0.751724
0.751724
0.751724
0
0
0.120341
939
15
107
62.6
0.702179
0
0
0
0
0
0.316294
0
0
0
0
0
0.666667
1
0.083333
false
0
0.166667
0
0.333333
0
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
0468d7060893aed31e9b99d015c9235a59e51d6d
12,969
py
Python
utils.py
cculha4/pahoehoe2aa
a9c803f2aaa9604ad17b00fd8529f55cd68e4ff6
[ "MIT" ]
null
null
null
utils.py
cculha4/pahoehoe2aa
a9c803f2aaa9604ad17b00fd8529f55cd68e4ff6
[ "MIT" ]
null
null
null
utils.py
cculha4/pahoehoe2aa
a9c803f2aaa9604ad17b00fd8529f55cd68e4ff6
[ "MIT" ]
null
null
null
import numpy as np import os import matplotlib.pyplot as plt import math from itertools import cycle """ Taken from Matlab function solutions that can be found within the 'Free Slip LSA' directory. """ def no_slip_J(**params): Ku_p, n, mu_u, m, U_p, n, du, F, r, Kl_p, m, mu_l = \ (params["Ku_p"], par...
432.3
9,155
0.560105
4,373
12,969
1.472216
0.043677
0.121156
0.152843
0.136688
0.911774
0.899037
0.88366
0.83908
0.798695
0.773066
0
0.19183
0.06184
12,969
29
9,156
447.206897
0.337306
0
0
0.470588
0
0
0.004196
0
0
0
0
0
0
1
0.117647
true
0
0.294118
0
0.529412
0
0
0
1
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
12
04768c36685ddc2a30159cc050b8702f52cc0819
10,032
py
Python
tests/cli/test_login.py
yashbhutwala/kopf
4ad77dae699d8516ee7c189b11c6cedbe9224975
[ "MIT" ]
1
2019-10-22T19:11:15.000Z
2019-10-22T19:11:15.000Z
tests/cli/test_login.py
yashbhutwala/kopf
4ad77dae699d8516ee7c189b11c6cedbe9224975
[ "MIT" ]
null
null
null
tests/cli/test_login.py
yashbhutwala/kopf
4ad77dae699d8516ee7c189b11c6cedbe9224975
[ "MIT" ]
null
null
null
""" Remember: We do not test the clients, we assume they work when used properly. We test our own functions here, and check if the clients were called. """ import pytest import requests import urllib3 from kopf.clients.auth import login, LoginError, AccessError RESPONSE_401 = requests.Response() RESPONSE_401.status_c...
34.712803
97
0.763557
1,328
10,032
5.387048
0.079066
0.169136
0.143137
0.113783
0.930808
0.930808
0.927174
0.926335
0.9104
0.876433
0
0.00557
0.176734
10,032
288
98
34.833333
0.860637
0.023425
0
0.816216
0
0
0.025348
0
0
0
0
0
0.513514
1
0.118919
false
0.005405
0.032432
0
0.151351
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
04ed3f0f96272df9e57f618f45d189ff84b037cf
177
py
Python
meg_runtime/git/__init__.py
ibedard16/Runtime
c2901c36c79bbe835fbe9c94e4500d46eea26f01
[ "MIT" ]
null
null
null
meg_runtime/git/__init__.py
ibedard16/Runtime
c2901c36c79bbe835fbe9c94e4500d46eea26f01
[ "MIT" ]
5
2020-03-24T19:59:38.000Z
2020-04-22T03:44:43.000Z
meg_runtime/git/__init__.py
ibedard16/Runtime
c2901c36c79bbe835fbe9c94e4500d46eea26f01
[ "MIT" ]
2
2020-03-13T18:35:46.000Z
2020-04-11T20:19:20.000Z
"""Multimedia Extensible Git runtime Git client interfaces""" from meg_runtime.git.repository import GitRepository, GitException from meg_runtime.git.manager import GitManager
35.4
66
0.841808
22
177
6.681818
0.636364
0.204082
0.190476
0.231293
0
0
0
0
0
0
0
0
0.096045
177
4
67
44.25
0.91875
0.310734
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
8e0323aa1acb9799ac8bf01d7712df73acf8b8aa
92,572
py
Python
data_generation/bgl2.py
stefanthaler/2017-ecml-forensic-unsupervised
a35a77257e0f571dcc5f272c15e109050c41379b
[ "Apache-2.0" ]
2
2018-07-27T05:49:40.000Z
2018-11-27T15:34:21.000Z
data_generation/bgl2.py
stefanthaler/2017-ecml-forensic-unsupervised
a35a77257e0f571dcc5f272c15e109050c41379b
[ "Apache-2.0" ]
3
2020-09-25T18:53:04.000Z
2022-02-09T23:27:00.000Z
data_generation/bgl2.py
stefanthaler/2017-ecml-forensic-unsupervised
a35a77257e0f571dcc5f272c15e109050c41379b
[ "Apache-2.0" ]
5
2017-12-21T13:47:05.000Z
2020-03-31T12:24:24.000Z
""" Maps similar events to same id """ # imports import argparse # parse command line ptions import csv # csv files import re as re # for regular expressions import os # copy to clipboard import numpy as np # calculating dataset statistics import json # dumping results to file # ...
116.442767
835
0.752733
14,739
92,572
4.439582
0.072461
0.072255
0.082402
0.115535
0.794697
0.770077
0.748086
0.7299
0.701291
0.682907
0
0.044875
0.12089
92,572
794
836
116.589421
0.759182
0.07256
0
0.04784
0
0.225309
0.717284
0.091342
0
0
0.000657
0
0.006173
1
0.00463
false
0
0.015432
0
0.024691
0.044753
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
8e410f4eac7b94b3b990f2e3c62fa5143d1e44ae
56,657
py
Python
tripyview/sub_diagdriver.py
patrickscholz/tripyview
14c232d840db2e879d79b3e3b3286a6962211c47
[ "MIT" ]
null
null
null
tripyview/sub_diagdriver.py
patrickscholz/tripyview
14c232d840db2e879d79b3e3b3286a6962211c47
[ "MIT" ]
null
null
null
tripyview/sub_diagdriver.py
patrickscholz/tripyview
14c232d840db2e879d79b3e3b3286a6962211c47
[ "MIT" ]
null
null
null
import yaml import papermill as pm import math import pkg_resources from jinja2 import Environment, FileSystemLoader import yaml import argparse import json import glob import shutil import sys import os #_______________________________________________________________________________ # open htnl template file #...
45.471108
151
0.616923
5,562
56,657
4.882057
0.032362
0.092804
0.048833
0.067614
0.965051
0.958754
0.953267
0.948332
0.937762
0.932275
0
0.01426
0.270982
56,657
1,245
152
45.507631
0.643013
0.245195
0
0.818554
0
0.016371
0.283393
0.153852
0
0
0
0
0
1
0.025921
false
0.025921
0.016371
0
0.068213
0.032742
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
6d318058a855326ca00936405aa9eb324001cc77
19,800
py
Python
001_philippine.py
bigdatamatta/ChaLearn_Automatic_Machine_Learning_Challenge_2015
a9acb6906ff141e7c24cff80f92efef7d7c3ff09
[ "BSD-2-Clause" ]
1
2019-06-12T19:55:35.000Z
2019-06-12T19:55:35.000Z
001_philippine.py
bigdatamatta/ChaLearn_Automatic_Machine_Learning_Challenge_2015
a9acb6906ff141e7c24cff80f92efef7d7c3ff09
[ "BSD-2-Clause" ]
null
null
null
001_philippine.py
bigdatamatta/ChaLearn_Automatic_Machine_Learning_Challenge_2015
a9acb6906ff141e7c24cff80f92efef7d7c3ff09
[ "BSD-2-Clause" ]
null
null
null
import argparse import os import numpy as np import autosklearn import autosklearn.data import autosklearn.data.data_manager import autosklearn.models.evaluator from ParamSklearn.classification import ParamSklearnClassifier parser = argparse.ArgumentParser() parser.add_argument('input') parser.add_argument('output'...
38.297872
77
0.611313
1,830
19,800
6.455191
0.125683
0.209938
0.057733
0.060357
0.832303
0.827394
0.827394
0.827394
0.748413
0.744519
0
0.063178
0.231768
19,800
517
78
38.297872
0.713431
0.017475
0
0.614141
0
0
0.558492
0.247082
0
0
0
0
0
0
null
null
0.00202
0.016162
null
null
0.00404
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
6d5672c1f3d89f64d3d0b176f65a248b465de2cd
148
py
Python
APICore/admin.py
YWPS/API-Production
a4a40c45db4839c6ee0b92b169aeab8849a7ff16
[ "MIT" ]
null
null
null
APICore/admin.py
YWPS/API-Production
a4a40c45db4839c6ee0b92b169aeab8849a7ff16
[ "MIT" ]
null
null
null
APICore/admin.py
YWPS/API-Production
a4a40c45db4839c6ee0b92b169aeab8849a7ff16
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Image, Product, Item # Register your models here. admin.site.register([Image, Product, Item])
24.666667
43
0.777027
21
148
5.47619
0.619048
0.208696
0.278261
0
0
0
0
0
0
0
0
0
0.128378
148
5
44
29.6
0.891473
0.175676
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
edd6854268e87066291a8ac59176b0a3129f4939
37,450
py
Python
jupyterbook_to_zendesk/zendeskhc/HelpCenter.py
dabble-of-devops-bioanalyze/jupyterbook_to_zendesk
69cc4707626097a65612823de9282e9728e714d8
[ "Apache-2.0" ]
null
null
null
jupyterbook_to_zendesk/zendeskhc/HelpCenter.py
dabble-of-devops-bioanalyze/jupyterbook_to_zendesk
69cc4707626097a65612823de9282e9728e714d8
[ "Apache-2.0" ]
null
null
null
jupyterbook_to_zendesk/zendeskhc/HelpCenter.py
dabble-of-devops-bioanalyze/jupyterbook_to_zendesk
69cc4707626097a65612823de9282e9728e714d8
[ "Apache-2.0" ]
null
null
null
import json import os import sys from pprint import pprint import requests from prettyprinter import cpprint from jupyterbook_to_zendesk.logging import logger from jupyterbook_to_zendesk.zendeskhc.ZendeskBase import * class HelpCenter(Base): def __init__(self, domain, email=None, password=None): self.do...
35.803059
95
0.599439
4,468
37,450
4.801925
0.027753
0.055791
0.075134
0.090981
0.90282
0.887392
0.872058
0.857889
0.833232
0.798369
0
0.004762
0.287797
37,450
1,045
96
35.837321
0.79964
0.012069
0
0.552752
0
0
0.177867
0.166969
0
0
0
0
0
1
0.134174
false
0.091743
0.009174
0
0.277523
0.002294
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
edf0effdc5b15a84ca9b42dea9cee4ec9d0933a4
22,925
py
Python
dianascript/code_cons.py
thautwarm/DianaVM
be13363e4137c919df15601366d91ab69361dd18
[ "BSD-3-Clause" ]
1
2021-11-10T12:36:45.000Z
2021-11-10T12:36:45.000Z
dianascript/code_cons.py
thautwarm/DianaVM
be13363e4137c919df15601366d91ab69361dd18
[ "BSD-3-Clause" ]
null
null
null
dianascript/code_cons.py
thautwarm/DianaVM
be13363e4137c919df15601366d91ab69361dd18
[ "BSD-3-Clause" ]
null
null
null
from __future__ import annotations from dataclasses import dataclass from pyrsistent import PVector from dianascript.serialize import DObj, Builder, InternString, serialize_ from typing import TypeVar, Generic, TYPE_CHECKING import struct _T = TypeVar("_T") if TYPE_CHECKING: Bytecode = PVector[int | I...
23.06338
74
0.626041
2,721
22,925
5.049614
0.0871
0.124017
0.133479
0.171616
0.813028
0.796143
0.792722
0.792722
0.792722
0.782096
0
0.014518
0.290905
22,925
994
75
23.06338
0.830709
0
0
0.501225
0
0
0.000091
0
0
0
0
0
0
1
0.106618
false
0
0.007353
0.001225
0.502451
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
8
6128eccd39b2beb0700ee36e7f13d745e86b95fa
16,354
py
Python
questions/57185927/57185927-2/resource_rc.py
LoicGRENON/stackoverflow
e555b9dbb479ba2f36cd51dea373e1cfafffa6b1
[ "MIT" ]
302
2017-03-04T00:05:23.000Z
2022-03-28T22:51:29.000Z
questions/57185927/57185927-2/resource_rc.py
JohnDavidAnthony/stackoverflow
9fb130501cd546b524024c98b6bc8e8a2d8df035
[ "MIT" ]
30
2017-12-02T19:26:43.000Z
2022-03-28T07:40:36.000Z
questions/57185927/57185927-2/resource_rc.py
JohnDavidAnthony/stackoverflow
9fb130501cd546b524024c98b6bc8e8a2d8df035
[ "MIT" ]
388
2017-07-04T16:53:12.000Z
2022-03-18T22:20:19.000Z
# -*- coding: utf-8 -*- # Resource object code # # Created: Wed Jul 24 11:39:18 2019 # by: The Resource Compiler for PySide2 (Qt v5.13.0) # # WARNING! All changes made in this file will be lost! from PySide2 import QtCore qt_resource_data = b"\ \x00\x00\x02i\ <\ ?xml version=\x221.\ 0\x22 encoding=\x22UTF\ -8\x...
22.34153
96
0.643818
2,565
16,354
4.097856
0.08499
0.07535
0.058225
0.045666
0.892779
0.883836
0.881267
0.871849
0.834174
0.820188
0
0.180604
0.125474
16,354
731
97
22.372093
0.554328
0.011312
0
0.863128
0
0.044693
0
0
0
0
0.000495
0
0
1
0.002793
false
0
0.001397
0
0.00419
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
b690a721a794eb402550800beb7ea64672b5a775
3,222
py
Python
rRNA_16S.py
everyday847/vienna_guided_mc
549ea00a8bf56e7b9556b177cb689f363de90780
[ "MIT" ]
null
null
null
rRNA_16S.py
everyday847/vienna_guided_mc
549ea00a8bf56e7b9556b177cb689f363de90780
[ "MIT" ]
null
null
null
rRNA_16S.py
everyday847/vienna_guided_mc
549ea00a8bf56e7b9556b177cb689f363de90780
[ "MIT" ]
null
null
null
seq_16S = "AAAUUGAAGAGUUUGAUCAUGGCUCAGAUUGAACGCUGGCGGCAGGCCUAACACAUGCAAGUCGAACGGUAACAGGAAGAAGCUUGCUUCUUUGCUGACGAGUGGCGGACGGGUGAGUAAUGUCUGGGAAACUGCCUGAUGGAGGGGGAUAACUACUGGAAACGGUAGCUAAUACCGCAUAACGUCGCAAGACCAAAGAGGGGGACCUUCGGGCCUCUUGCCAUCGGAUGUGCCCAGAUGGGAUUAGCUAGUAGGUGGGGUAACGGCUCACCUAGGCGACGAUCCCUAGCUGGUCUGAGAGGAUGA...
1,074
1,663
0.496896
11
3,222
145.363636
0.454545
0.043777
0.052533
0.052533
0.026266
0
0
0
0
0
0
0.001246
0.004035
3,222
2
1,664
1,611
0.49704
0
0
0
0
0
0.960894
0.957169
0
1
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
9
fcbb02e01ff414e958efba19ea6eed17c0bdeed5
142
py
Python
mp_sort/virtenv/lib/python3.6/site-packages/transcrypt/development/automated_tests/transcrypt/div_pulls/pull575_reexport_modules/reexporter/__init__.py
ang-jason/fip_powerx_mini_projects-foxtrot
37e3671969b516369e2d1c7cab5890b75c489f56
[ "MIT" ]
2,200
2016-10-12T16:47:13.000Z
2022-03-30T16:40:35.000Z
mp_sort/virtenv/lib/python3.6/site-packages/transcrypt/development/automated_tests/transcrypt/div_pulls/pull575_reexport_modules/reexporter/__init__.py
ang-jason/fip_powerx_mini_projects-foxtrot
37e3671969b516369e2d1c7cab5890b75c489f56
[ "MIT" ]
672
2016-10-12T16:36:48.000Z
2022-03-25T00:57:04.000Z
mp_sort/virtenv/lib/python3.6/site-packages/transcrypt/development/automated_tests/transcrypt/div_pulls/pull575_reexport_modules/reexporter/__init__.py
ang-jason/fip_powerx_mini_projects-foxtrot
37e3671969b516369e2d1c7cab5890b75c489f56
[ "MIT" ]
230
2016-10-20T14:31:40.000Z
2022-03-16T15:57:15.000Z
from div_pulls.pull575_reexport_modules.reexporter.html5.html5 import * from div_pulls.pull575_reexport_modules.reexporter.html5 import ext
47.333333
72
0.873239
20
142
5.9
0.5
0.118644
0.20339
0.322034
0.830508
0.830508
0.830508
0.830508
0
0
0
0.068182
0.070423
142
2
73
71
0.825758
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
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
10
fcdad3b8b4c3114bd9e639c4f4e0571955e195a4
10,251
py
Python
faster_rcnn/train_util.py
Kelicious/faster_rcnn
fde1a2f342855b8a3b6c1a54878e59d29102a26d
[ "MIT" ]
18
2018-05-13T14:50:03.000Z
2022-02-23T14:27:17.000Z
faster_rcnn/train_util.py
Kelicious/faster_rcnn
fde1a2f342855b8a3b6c1a54878e59d29102a26d
[ "MIT" ]
3
2018-05-15T08:46:10.000Z
2020-03-17T12:46:31.000Z
faster_rcnn/train_util.py
Kelicious/faster_rcnn
fde1a2f342855b8a3b6c1a54878e59d29102a26d
[ "MIT" ]
15
2018-05-13T14:50:24.000Z
2022-02-24T09:50:07.000Z
import random import timeit from keras import backend as K from loss_functions import cls_loss_rpn, bbreg_loss_rpn, cls_loss_det, bbreg_loss_det from shared_constants import DEFAULT_NUM_ITERATIONS, DEFAULT_LEARN_RATE def train_rpn(rpn_model, images, training_manager, optimizer, phases=[[DEFAULT_NUM_ITERATIONS, DEFA...
52.840206
120
0.676324
1,377
10,251
4.831518
0.126362
0.025703
0.033819
0.035172
0.908613
0.896588
0.870585
0.860364
0.84383
0.84383
0
0.011657
0.246805
10,251
194
121
52.840206
0.850019
0.342015
0
0.731481
0
0
0.129737
0.011614
0
0
0
0
0
1
0.027778
false
0
0.064815
0
0.12037
0.194444
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
1e1b1f7483745b319a73dbae63902ada3ebdf969
46
py
Python
sys_info.py
MartianQXD/QBisim
322419e3aa24c7c09cd9341cbf2ac237279a59c8
[ "Apache-2.0" ]
1
2021-07-21T07:23:51.000Z
2021-07-21T07:23:51.000Z
sys_info.py
MartianQXD/QBisim
322419e3aa24c7c09cd9341cbf2ac237279a59c8
[ "Apache-2.0" ]
null
null
null
sys_info.py
MartianQXD/QBisim
322419e3aa24c7c09cd9341cbf2ac237279a59c8
[ "Apache-2.0" ]
null
null
null
import sys print(sys.version) print(sys.path)
11.5
18
0.782609
8
46
4.5
0.625
0.444444
0
0
0
0
0
0
0
0
0
0
0.086957
46
4
19
11.5
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.666667
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
7
1e440859df30fbcb911dbd25c37790c35fcaca6f
40,540
py
Python
model/action_conditional_video_prediction.py
mmendiet/DeepRL_pytorch
626e6c5290335ef320ca2d83f01c674f3a3ca8fc
[ "Apache-2.0" ]
null
null
null
model/action_conditional_video_prediction.py
mmendiet/DeepRL_pytorch
626e6c5290335ef320ca2d83f01c674f3a3ca8fc
[ "Apache-2.0" ]
null
null
null
model/action_conditional_video_prediction.py
mmendiet/DeepRL_pytorch
626e6c5290335ef320ca2d83f01c674f3a3ca8fc
[ "Apache-2.0" ]
null
null
null
####################################################################### # Copyright (C) 2017 Shangtong Zhang(zhangshangtong.cpp@gmail.com) # # Permission given to modify the code as long as you keep this # # declaration at the top # ################################...
40.019743
162
0.587765
5,216
40,540
4.434241
0.066718
0.044965
0.032859
0.024861
0.852134
0.829262
0.821782
0.819361
0.798824
0.782913
0
0.032958
0.266527
40,540
1,012
163
40.059289
0.74488
0.179847
0
0.748899
0
0.001468
0.078205
0.028703
0
0
0
0
0.011747
1
0.048458
false
0
0.023495
0.011747
0.117474
0.041116
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
1e809eee645cbb6f050d2504e0c012c7e9cde4bb
53,531
py
Python
sdk/python/pulumi_google_native/domains/v1beta1/outputs.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
44
2021-04-18T23:00:48.000Z
2022-02-14T17:43:15.000Z
sdk/python/pulumi_google_native/domains/v1beta1/outputs.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
354
2021-04-16T16:48:39.000Z
2022-03-31T17:16:39.000Z
sdk/python/pulumi_google_native/domains/v1beta1/outputs.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
8
2021-04-24T17:46:51.000Z
2022-01-05T10:40:21.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
58.567834
1,947
0.689526
6,873
53,531
5.249236
0.103303
0.011253
0.016936
0.024752
0.776207
0.75625
0.744138
0.725317
0.714424
0.698182
0
0.006861
0.218602
53,531
913
1,948
58.631982
0.85565
0.566588
0
0.435115
1
0.020992
0.193975
0.035538
0
0
0
0
0
1
0.177481
false
0
0.013359
0
0.347328
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
1ea5e3bc383e39e708eeff6005f6306040d99a9c
40,039
py
Python
tests/ee/test_energy_efficiency_meter.py
OpenTechStrategies/eemeter
ed38b00c665cf0eb0aa68e9b2a4cd190b5bcf7ca
[ "Apache-2.0" ]
null
null
null
tests/ee/test_energy_efficiency_meter.py
OpenTechStrategies/eemeter
ed38b00c665cf0eb0aa68e9b2a4cd190b5bcf7ca
[ "Apache-2.0" ]
1
2018-06-14T04:24:49.000Z
2018-06-14T04:24:49.000Z
tests/ee/test_energy_efficiency_meter.py
OpenTechStrategies/eemeter
ed38b00c665cf0eb0aa68e9b2a4cd190b5bcf7ca
[ "Apache-2.0" ]
null
null
null
from io import BytesIO import numpy as np import re import pkg_resources import tempfile import pandas as pd import pytest import pytz import json from eemeter.ee.meter import EnergyEfficiencyMeter from eemeter.modeling.formatters import ModelDataBillingFormatter from eemeter.modeling.models import CaltrackMonthlyMod...
33.816723
146
0.642349
4,240
40,039
5.906604
0.048349
0.080858
0.047756
0.030666
0.93767
0.919102
0.906445
0.891671
0.879572
0.859328
0
0.023646
0.240565
40,039
1,183
147
33.845309
0.79998
0.052624
0
0.777907
0
0
0.377283
0.042841
0
0
0
0
0.252326
1
0.036047
false
0
0.013953
0.005814
0.067442
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
1ea66eab3ba87442961e7ebf0fa2beadf53afb7e
4,441
py
Python
config.py
parakrama1995/mem
253f506ca176c691da09bab4f84e6e4c7a396730
[ "BSD-3-Clause" ]
645
2016-01-10T21:24:39.000Z
2022-03-08T06:15:56.000Z
config.py
parakrama1995/mem
253f506ca176c691da09bab4f84e6e4c7a396730
[ "BSD-3-Clause" ]
17
2016-05-06T14:30:48.000Z
2021-07-03T20:28:32.000Z
config.py
parakrama1995/mem
253f506ca176c691da09bab4f84e6e4c7a396730
[ "BSD-3-Clause" ]
188
2016-01-11T00:34:48.000Z
2021-09-30T19:13:48.000Z
import numpy as np class BabiConfig(object): """ Configuration for bAbI """ def __init__(self, train_story, train_questions, dictionary): self.dictionary = dictionary self.batch_size = 32 self.nhops = 3 self.nepochs = 100 self.lrat...
39.300885
91
0.554605
533
4,441
4.403377
0.236398
0.061355
0.076694
0.030677
0.875586
0.858543
0.836813
0.761824
0.730294
0.730294
0
0.031907
0.357802
4,441
112
92
39.651786
0.791024
0.200405
0
0.731707
0
0
0.059565
0
0
0
0
0.008929
0
1
0.02439
false
0
0.012195
0
0.060976
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
1ecbf1d954ad8ddf802ad0eda35dd930e06061c4
8,362
py
Python
tests/test_server.py
cloudscale-ch/cloudscale-cli
29e7d0c3820b5903a6b509b9edef3063f388fd7c
[ "MIT" ]
7
2020-07-18T07:15:58.000Z
2020-12-10T13:25:08.000Z
tests/test_server.py
cloudscale-ch/cloudscale-cli
29e7d0c3820b5903a6b509b9edef3063f388fd7c
[ "MIT" ]
18
2020-08-17T22:12:34.000Z
2021-05-17T14:59:07.000Z
tests/test_server.py
cloudscale-ch/cloudscale-cli
29e7d0c3820b5903a6b509b9edef3063f388fd7c
[ "MIT" ]
null
null
null
from cloudscale import CLOUDSCALE_API_URL from cloudscale_cli.cli import cli import responses import click from click.testing import CliRunner SERVER_RESP = { "uuid": "47cec963-fcd2-482f-bdb6-24461b2d47b1", "name": "db-master", "status": "running", "zone": { "slug": "lpg1" }, "flavor": ...
22.298667
60
0.513753
808
8,362
5.179455
0.105198
0.074552
0.091756
0.126404
0.9092
0.887694
0.867622
0.858303
0.82509
0.777539
0
0.041355
0.343578
8,362
374
61
22.358289
0.721079
0
0
0.858357
0
0
0.157618
0.030136
0
0
0
0
0.056657
1
0.028329
false
0
0.014164
0
0.042493
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
94a2baa02699768c32c93318713c3f38db98c875
168
py
Python
simple_ddpm/__init__.py
peterhessey/denoising-diffusion-pytorch
031e31b46928fa87e51e8c25d778039b65fa1c38
[ "MIT" ]
null
null
null
simple_ddpm/__init__.py
peterhessey/denoising-diffusion-pytorch
031e31b46928fa87e51e8c25d778039b65fa1c38
[ "MIT" ]
null
null
null
simple_ddpm/__init__.py
peterhessey/denoising-diffusion-pytorch
031e31b46928fa87e51e8c25d778039b65fa1c38
[ "MIT" ]
null
null
null
from simple_ddpm.main import Trainer from simple_ddpm.gaussian_diffusion import GaussianDiffusion from simple_ddpm.u_net import Unet import simple_ddpm.helper_functions
42
60
0.89881
25
168
5.76
0.56
0.277778
0.291667
0
0
0
0
0
0
0
0
0
0.077381
168
4
61
42
0.929032
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
94ef4fde4d5af9bdc7bb5a9cba7708cb8e8f5c43
209
py
Python
challenges/shift-array/test_shift_array.py
brandonholderman/data-structures-and-algorithms
9b9aa0eac1fe305d9655537c90a24dd263a42df9
[ "MIT" ]
null
null
null
challenges/shift-array/test_shift_array.py
brandonholderman/data-structures-and-algorithms
9b9aa0eac1fe305d9655537c90a24dd263a42df9
[ "MIT" ]
null
null
null
challenges/shift-array/test_shift_array.py
brandonholderman/data-structures-and-algorithms
9b9aa0eac1fe305d9655537c90a24dd263a42df9
[ "MIT" ]
null
null
null
import shift_array as sa def test_insert_shift_array(): assert sa.insert_shift_array([1, 2, 3, 4], 40) == [1, 2, 40, 3, 4] def test_empty_shift_array(): assert sa.insert_shift_array([], 46) == [46]
23.222222
70
0.669856
37
209
3.486486
0.432432
0.387597
0.372093
0.27907
0.527132
0.527132
0.527132
0
0
0
0
0.092486
0.172249
209
8
71
26.125
0.653179
0
0
0
0
0
0
0
0
0
0
0
0.4
1
0.4
true
0
0.2
0
0.6
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
7
a2085610c62ff7ce2ddf76df90e38f510813ff6c
37
py
Python
aiida_sirius/upf_to_json/__init__.py
simonpintarelli/aiida-sirius
5dc968cc4a98a5d0b018f54c4c7023b2a2682795
[ "MIT" ]
null
null
null
aiida_sirius/upf_to_json/__init__.py
simonpintarelli/aiida-sirius
5dc968cc4a98a5d0b018f54c4c7023b2a2682795
[ "MIT" ]
null
null
null
aiida_sirius/upf_to_json/__init__.py
simonpintarelli/aiida-sirius
5dc968cc4a98a5d0b018f54c4c7023b2a2682795
[ "MIT" ]
null
null
null
from .upf_to_json import upf_to_json
18.5
36
0.864865
8
37
3.5
0.625
0.357143
0.642857
0
0
0
0
0
0
0
0
0
0.108108
37
1
37
37
0.848485
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
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
7
a21a9a1e3adc93f5817ccfe90698420f098a3898
5,761
py
Python
tests/log_factor_test.py
Edderic/linx
24fe3e043c991fd01dbf1dcab978d5ab2b8a7b76
[ "MIT" ]
null
null
null
tests/log_factor_test.py
Edderic/linx
24fe3e043c991fd01dbf1dcab978d5ab2b8a7b76
[ "MIT" ]
null
null
null
tests/log_factor_test.py
Edderic/linx
24fe3e043c991fd01dbf1dcab978d5ab2b8a7b76
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd from ..linx.log_factor import LogFactor from ..linx.data import ParquetData from .conftest import (assert_approx_value_df, get_tmp_path, clean_tmp) def test_log_factor_add(): clean_tmp() df_1 = pd.DataFrame([ {'x': 0, 'y': 0, 'value': np.log(0.5)}, {'x'...
22.770751
71
0.480646
843
5,761
3.061684
0.084223
0.138318
0.197598
0.191786
0.870593
0.868656
0.863231
0.855095
0.790004
0.790004
0
0.057619
0.31314
5,761
252
72
22.861111
0.594642
0.020135
0
0.659686
0
0
0.062032
0
0
0
0
0
0.041885
1
0.036649
false
0
0.026178
0
0.062827
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
a2299939bf4b520ceb4977bc4604e3712661e30f
82
py
Python
web/vicopo/exemple.py
monoulou/lrm
170b84ae4c68d2731fd8533f4918fd219746ba44
[ "MIT" ]
25
2016-12-21T11:53:04.000Z
2021-04-02T09:12:40.000Z
web/vicopo/exemple.py
monoulou/lrm
170b84ae4c68d2731fd8533f4918fd219746ba44
[ "MIT" ]
34
2016-08-09T09:02:49.000Z
2021-10-13T10:50:50.000Z
web/vicopo/exemple.py
monoulou/lrm
170b84ae4c68d2731fd8533f4918fd219746ba44
[ "MIT" ]
6
2016-08-31T16:47:40.000Z
2021-11-08T10:28:41.000Z
from Vicopo import Vicopo print(Vicopo.http(75001)) print(Vicopo.http('paris'))
13.666667
27
0.756098
12
82
5.166667
0.583333
0.354839
0.483871
0
0
0
0
0
0
0
0
0.067568
0.097561
82
5
28
16.4
0.77027
0
0
0
0
0
0.060976
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.666667
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
7
bf42b3069f06a83b550d1ed6a833b9061150898c
2,243
py
Python
examples/example_path.py
MeganTj/pyastar2d
62372a82540e4abdba1fdd0746566a4cfe154be5
[ "MIT" ]
null
null
null
examples/example_path.py
MeganTj/pyastar2d
62372a82540e4abdba1fdd0746566a4cfe154be5
[ "MIT" ]
null
null
null
examples/example_path.py
MeganTj/pyastar2d
62372a82540e4abdba1fdd0746566a4cfe154be5
[ "MIT" ]
null
null
null
import numpy as np import pyastar2d # The start and goal coordinates are in matrix coordinates (i, j). start = (1, 0) goal = (3, 3) dist_weight=0.01 # The minimum cost must be 1 for the heuristic to be valid. weights = np.ones((4, 4), dtype=np.float32) - np.array([[1, 0, 0, 0], [1, 0, 0, 1], ...
32.985294
84
0.591173
369
2,243
3.558266
0.135501
0.031988
0.031988
0.024372
0.911653
0.911653
0.907845
0.907845
0.907845
0.907845
0
0.069337
0.254124
2,243
68
85
32.985294
0.715481
0.240749
0
0.787234
0
0
0.120425
0
0
0
0
0
0
1
0
false
0
0.042553
0
0.042553
0.340426
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bf5385c1414fcb1ad0f1f297c2cc0f461e3c9e20
112,076
py
Python
pilot_fonts.py
hansom82/pilot-clock
629d743f056e1ec2fc02c56b1153f257312d6361
[ "MIT" ]
null
null
null
pilot_fonts.py
hansom82/pilot-clock
629d743f056e1ec2fc02c56b1153f257312d6361
[ "MIT" ]
null
null
null
pilot_fonts.py
hansom82/pilot-clock
629d743f056e1ec2fc02c56b1153f257312d6361
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Font library of pilotClock project # (c) Hansom 2018 from PIL import Image, ImageDraw def font2bitmapFont(font=[], font_height=8): """ Method for converting standard Luma font to list of PIL images :param font: Luma font bit pattern :param font_heig...
70.399497
92
0.53875
11,888
112,076
5.07781
0.044583
1.103885
1.431591
1.622927
0.860731
0.742665
0.715547
0.704183
0.699313
0.653292
0
0.604966
0.318694
112,076
1,591
93
70.443746
0.185495
0.093651
0
0.839411
0
0
0.00006
0
0
0
0.537135
0
0
1
0.00064
false
0
0.00064
0
0.001919
0
0
0
0
null
1
1
1
1
1
1
1
0
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
12
bf6fd8033e7d3d604ad9c4cbace77ff11bb55f66
239
py
Python
nmigen_boards/machxo3_sk.py
lethalbit/nmigen-boards
aaf18252e457ff95257137da2a629820c0ff2bfa
[ "BSD-2-Clause" ]
11
2021-12-10T12:23:29.000Z
2022-03-13T08:40:20.000Z
nmigen_boards/machxo3_sk.py
lethalbit/nmigen-boards
aaf18252e457ff95257137da2a629820c0ff2bfa
[ "BSD-2-Clause" ]
12
2021-12-11T18:51:29.000Z
2022-03-12T05:08:52.000Z
nmigen_boards/machxo3_sk.py
lethalbit/nmigen-boards
aaf18252e457ff95257137da2a629820c0ff2bfa
[ "BSD-2-Clause" ]
7
2021-12-12T07:20:21.000Z
2022-03-06T06:20:55.000Z
from amaranth_boards.machxo3_sk import * from amaranth_boards.machxo3_sk import __all__ import warnings warnings.warn("instead of nmigen_boards.machxo3_sk, use amaranth_boards.machxo3_sk", DeprecationWarning, stacklevel=2)
29.875
84
0.803347
31
239
5.806452
0.516129
0.288889
0.333333
0.383333
0.366667
0.366667
0
0
0
0
0
0.024272
0.138075
239
7
85
34.142857
0.849515
0
0
0
0
0
0.280335
0.213389
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
bfa387b74f7560b0102d0516a1ef9aca5eede727
1,790
py
Python
tests/test_kv_parsing_array_type_promotion.py
libAtoms/extxyz
f48a3c68a50eebaef035b8c615120dbccaaa38c6
[ "MIT" ]
3
2021-06-18T15:07:57.000Z
2022-01-26T22:02:01.000Z
tests/test_kv_parsing_array_type_promotion.py
libAtoms/extxyz
f48a3c68a50eebaef035b8c615120dbccaaa38c6
[ "MIT" ]
7
2021-07-26T13:12:25.000Z
2022-01-26T22:35:17.000Z
tests/test_kv_parsing_array_type_promotion.py
libAtoms/extxyz
f48a3c68a50eebaef035b8c615120dbccaaa38c6
[ "MIT" ]
1
2021-06-24T09:17:33.000Z
2021-06-24T09:17:33.000Z
def test_array_one_d_type_promotion(tmp_path, helpers): # int + float to float v_str = [ '1', '2', '3.0', '+4.0e0' ] v = [1.0, 2.0, 3.0, 4.0] helpers.do_one_d_variants(tmp_path, False, 4, v, v_str) # int + barestring to string v_str = [ '1', '2', 'abc', 'd'] v = ['1', '2', 'abc', 'd'] ...
33.773585
60
0.529609
302
1,790
2.900662
0.112583
0.091324
0.136986
0.182648
0.958904
0.958904
0.958904
0.937215
0.937215
0.937215
0
0.054315
0.249162
1,790
52
61
34.423077
0.59747
0.409497
0
0.5
0
0
0.095238
0
0
0
0
0
0
1
0.1
false
0
0
0
0.1
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bfb222438deef7e074c102ba9ad97fd5be5c73ca
209
py
Python
classifier/naive_bayes/__init__.py
ecohealthalliance/eha_grit
cb95b759222ca7a416dd7d439571e7b610dd5e23
[ "Apache-2.0" ]
null
null
null
classifier/naive_bayes/__init__.py
ecohealthalliance/eha_grit
cb95b759222ca7a416dd7d439571e7b610dd5e23
[ "Apache-2.0" ]
null
null
null
classifier/naive_bayes/__init__.py
ecohealthalliance/eha_grit
cb95b759222ca7a416dd7d439571e7b610dd5e23
[ "Apache-2.0" ]
null
null
null
from classifier import sklearn_classifier from sklearn.naive_bayes import MultinomialNB as NaiveBayes def classify(train, test): nb = NaiveBayes() return sklearn_classifier.classify(train, test, nb)
26.125
59
0.794258
26
209
6.269231
0.576923
0.208589
0.208589
0.233129
0
0
0
0
0
0
0
0
0.143541
209
7
60
29.857143
0.910615
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
7
44a1c31de028627df585f65f80737db9218bee08
2,568
py
Python
BirdSongToolbox/test/test_preprocessing/test_hilbert_modules.py
Darilbii/BirdSongToolbox
f4853a7f6cb5c4ef0f57e9f346be08f6e153ca65
[ "Apache-2.0" ]
3
2021-08-03T00:03:37.000Z
2021-09-25T04:37:52.000Z
BirdSongToolbox/test/test_preprocessing/test_hilbert_modules.py
Darilbii/BirdSongToolbox
f4853a7f6cb5c4ef0f57e9f346be08f6e153ca65
[ "Apache-2.0" ]
1
2021-08-08T11:04:36.000Z
2021-08-08T11:04:36.000Z
BirdSongToolbox/test/test_preprocessing/test_hilbert_modules.py
Darilbii/BirdSongToolbox
f4853a7f6cb5c4ef0f57e9f346be08f6e153ca65
[ "Apache-2.0" ]
null
null
null
from BirdSongToolbox.ImportClass import Import_PrePd_Data from BirdSongToolbox.PreProcessClass import BPF_Master, BPF_Module, hilbert_module import numpy as np import pytest bird_id = 'z020' date = 'day-2016-06-02' @pytest.mark.run(order=1) def test_hilbert_module_phase(PrePd_data_dir_path): PreP_Data = Import...
34.24
114
0.716121
368
2,568
4.649457
0.192935
0.065459
0.080655
0.105202
0.847458
0.847458
0.847458
0.847458
0.847458
0.847458
0
0.015474
0.194704
2,568
74
115
34.702703
0.811896
0.022196
0
0.792453
0
0
0.012764
0
0
0
0
0
0.188679
1
0.037736
false
0
0.113208
0
0.150943
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
78055f0f394b07a9be00dbf1b24952cd307a498f
55
py
Python
cell2location/models/base/__init__.py
bio-ruxandra-tesloianu/cell2location
7d9a187b88cf67d6d134b452749f325826d67a57
[ "Apache-2.0" ]
null
null
null
cell2location/models/base/__init__.py
bio-ruxandra-tesloianu/cell2location
7d9a187b88cf67d6d134b452749f325826d67a57
[ "Apache-2.0" ]
null
null
null
cell2location/models/base/__init__.py
bio-ruxandra-tesloianu/cell2location
7d9a187b88cf67d6d134b452749f325826d67a57
[ "Apache-2.0" ]
null
null
null
from . import pymc3_model from . import pymc3_loc_model
27.5
29
0.836364
9
55
4.777778
0.555556
0.465116
0.697674
0
0
0
0
0
0
0
0
0.041667
0.127273
55
2
29
27.5
0.854167
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
780a8c086dc252a1e623a936680b2cb8c8ed4c41
10,869
py
Python
tests/test_stocks.py
omikader/aiorobinhood
132487133186058049d893a849660508dd0fa09e
[ "MIT" ]
9
2020-08-05T23:40:16.000Z
2021-08-18T10:30:15.000Z
tests/test_stocks.py
omikader/aiorobinhood
132487133186058049d893a849660508dd0fa09e
[ "MIT" ]
3
2020-08-26T15:36:31.000Z
2020-08-26T17:02:33.000Z
tests/test_stocks.py
omikader/aiorobinhood
132487133186058049d893a849660508dd0fa09e
[ "MIT" ]
1
2020-08-15T00:26:07.000Z
2020-08-15T00:26:07.000Z
import asyncio import json import pytest from aiorobinhood import HistoricalInterval, HistoricalSpan from aiorobinhood.urls import ( FUNDAMENTALS, HISTORICALS, INSTRUMENTS, QUOTES, RATINGS, TAGS, ) @pytest.mark.asyncio async def test_get_fundamentals_by_symbols(logged_in_client): client,...
34.287066
81
0.683228
1,255
10,869
5.734661
0.066135
0.10296
0.058358
0.045852
0.956927
0.954703
0.949423
0.944977
0.921078
0.899264
0
0.005048
0.179777
10,869
316
82
34.39557
0.802243
0
0
0.714286
0
0
0.119974
0.027049
0
0
0
0
0.262548
1
0
false
0
0.019305
0
0.019305
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
1521271b947ecd6f345d1af01ccc654845f410b3
130
py
Python
2020/alaska2-image-steganalysis/datasets/__init__.py
kn25ha01/kaggle-competitions
fce44d6758c4757a7d0a0a6b00d756ff26a97d3f
[ "MIT" ]
null
null
null
2020/alaska2-image-steganalysis/datasets/__init__.py
kn25ha01/kaggle-competitions
fce44d6758c4757a7d0a0a6b00d756ff26a97d3f
[ "MIT" ]
null
null
null
2020/alaska2-image-steganalysis/datasets/__init__.py
kn25ha01/kaggle-competitions
fce44d6758c4757a7d0a0a6b00d756ff26a97d3f
[ "MIT" ]
null
null
null
from .dataset_factory import get_dataloader, get_dataset from .dataset_factory import get_train_valid_data, get_local_test_data
26
70
0.876923
20
130
5.2
0.55
0.211538
0.346154
0.461538
0.519231
0
0
0
0
0
0
0
0.092308
130
4
71
32.5
0.881356
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
153b1ef327a7d2dc00d3bb112386e7804f533da7
8,006
py
Python
temple UI.py
cchoiyon/FinalProject2021
7dd08b4caedeec2785368b461e93e48b3a9bc5db
[ "MIT" ]
null
null
null
temple UI.py
cchoiyon/FinalProject2021
7dd08b4caedeec2785368b461e93e48b3a9bc5db
[ "MIT" ]
null
null
null
temple UI.py
cchoiyon/FinalProject2021
7dd08b4caedeec2785368b461e93e48b3a9bc5db
[ "MIT" ]
null
null
null
#temple Eats UI import tkinter from tkinter import * class Veg_Table: def __init__(self,root): #code for creating table for r in range(total_rows): for c in range(total_columns): self.e = Entry(root, width=65, fg='purple',font=('Arial',7...
38.676329
97
0.654384
1,043
8,006
4.982742
0.160115
0.268809
0.366558
0.114297
0.91803
0.902444
0.894939
0.86954
0.838561
0.821435
0
0.002056
0.149388
8,006
206
98
38.864078
0.761087
0.024607
0
0.785714
0
0
0.655777
0
0
0
0
0
0
1
0.017857
false
0
0.011905
0
0.047619
0
0
0
0
null
1
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
15b8ad5b3e7c4cb2e9b0fe77dc08ed802bd722e8
113
py
Python
mmdet/version.py
cmdi-dlut/SMPR
8481982fcf5c792b154f2b4cc6648de4b42bb1ec
[ "Apache-2.0" ]
5
2020-12-10T09:51:42.000Z
2021-04-30T22:02:11.000Z
mmdet/version.py
miaohxDLUT/SMPR
f5388d80892742eec106d19266dc79378195336f
[ "Apache-2.0" ]
2
2020-12-14T02:53:05.000Z
2021-03-05T07:26:07.000Z
mmdet/version.py
cmdi-dlut/SMPR
8481982fcf5c792b154f2b4cc6648de4b42bb1ec
[ "Apache-2.0" ]
3
2020-12-25T08:34:35.000Z
2021-05-16T15:40:55.000Z
# GENERATED VERSION FILE # TIME: Sun Aug 30 00:34:46 2020 __version__ = '1.0.0+5d75636' short_version = '1.0.0'
18.833333
32
0.699115
21
113
3.52381
0.714286
0.216216
0.243243
0.27027
0
0
0
0
0
0
0
0.252632
0.159292
113
5
33
22.6
0.526316
0.469027
0
0
1
0
0.315789
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
01ee5e3b354dc0818dfb7a80a5601304f887cc08
11,860
py
Python
tests/logic/test_action_type_translations.py
nilsholle/sampledb
90d7487a3990995ca2ec5dfd8b59d4739d6a9a87
[ "MIT" ]
5
2020-02-13T15:25:37.000Z
2021-05-06T21:05:14.000Z
tests/logic/test_action_type_translations.py
nilsholle/sampledb
90d7487a3990995ca2ec5dfd8b59d4739d6a9a87
[ "MIT" ]
28
2019-11-12T14:14:08.000Z
2022-03-11T16:29:27.000Z
tests/logic/test_action_type_translations.py
nilsholle/sampledb
90d7487a3990995ca2ec5dfd8b59d4739d6a9a87
[ "MIT" ]
8
2019-12-10T15:46:02.000Z
2021-11-02T12:24:52.000Z
# coding: utf-8 """ """ import pytest import sampledb from sampledb.logic import actions, action_type_translations, errors def test_set_action_type_translation(): action_type = actions.create_action_type( admin_only=False, show_on_frontpage=True, show_in_navbar=True, enable_labe...
42.056738
137
0.73027
1,437
11,860
5.631872
0.059847
0.255777
0.171259
0.113431
0.945138
0.933646
0.933029
0.919684
0.846163
0.822686
0
0.005347
0.195784
11,860
281
138
42.206406
0.843154
0.001096
0
0.69685
0
0
0.123173
0
0
0
0
0
0.15748
1
0.015748
false
0
0.011811
0
0.027559
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bf1a21288fe8b911d6a092f6c6e2161b77b8a4cd
167
py
Python
util/test/metrics/__init__.py
henriquesimoes/humpback
ba687a71f95ef9c9c30426eefae11a69efd6f942
[ "BSD-3-Clause" ]
null
null
null
util/test/metrics/__init__.py
henriquesimoes/humpback
ba687a71f95ef9c9c30426eefae11a69efd6f942
[ "BSD-3-Clause" ]
null
null
null
util/test/metrics/__init__.py
henriquesimoes/humpback
ba687a71f95ef9c9c30426eefae11a69efd6f942
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from .mapk import mapk, apk from .topk import precisionk
23.857143
38
0.850299
23
167
5.565217
0.478261
0.234375
0.375
0
0
0
0
0
0
0
0
0
0.131737
167
6
39
27.833333
0.882759
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.2
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
174411281e4ef145d47081ba2e15a076f026de82
338
py
Python
String_Programs/escapeChar.py
saratkumar17mss040/Python-lab-programs
a2faa190acaaa30d92d4c801fd53fdc668c3c394
[ "MIT" ]
3
2020-08-26T15:29:18.000Z
2020-09-03T13:49:13.000Z
String_Programs/escapeChar.py
saratkumar17mss040/Python-lab-programs
a2faa190acaaa30d92d4c801fd53fdc668c3c394
[ "MIT" ]
null
null
null
String_Programs/escapeChar.py
saratkumar17mss040/Python-lab-programs
a2faa190acaaa30d92d4c801fd53fdc668c3c394
[ "MIT" ]
null
null
null
#escape sequence character def escapeChar(): return "\t lorem Ipsum is simply dummy text of the printing and typesetting industry.\n \t Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,\n \t when an unknown printer took a galley of type and scrambled it to make a type specimen book." pr...
56.333333
271
0.772189
57
338
4.578947
0.736842
0.045977
0.084291
0
0
0
0
0
0
0
0
0.014286
0.171598
338
5
272
67.6
0.917857
0.073965
0
0
0
0.333333
0.826923
0
0
0
0
0
0
1
0.333333
true
0
0
0.333333
0.666667
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
1
1
0
0
1
1
1
0
8
bd58e235ee74aeace242e145efa7a1164775294f
77,711
py
Python
feature_store/src/test/env_setup/create_feature_set.py
myles-novick/ml-workflow
2f9a0d3d2814941c6bd78f9dcc019870a4e8c2da
[ "Apache-2.0" ]
null
null
null
feature_store/src/test/env_setup/create_feature_set.py
myles-novick/ml-workflow
2f9a0d3d2814941c6bd78f9dcc019870a4e8c2da
[ "Apache-2.0" ]
null
null
null
feature_store/src/test/env_setup/create_feature_set.py
myles-novick/ml-workflow
2f9a0d3d2814941c6bd78f9dcc019870a4e8c2da
[ "Apache-2.0" ]
null
null
null
from splicemachine.features import FeatureStore, FeatureType fs = FeatureStore() fs.set_feature_store_url('http://localhost:8000') fs.login_fs('local','testing') try: fs.remove_feature_set('retail_fs','customer_lifetime', purge=True) except: print('Feature set doesnt exist') # create customer lifetime metric...
375.415459
450
0.757525
9,610
77,711
5.855983
0.016857
0.075485
0.089825
0.056934
0.981911
0.981733
0.981449
0.977646
0.974305
0.973292
0
0.009825
0.08318
77,711
206
451
377.237864
0.780047
0.0022
0
0.03125
0
0.005208
0.551758
0.123804
0
0
0
0
0
1
0
false
0
0.005208
0
0.005208
0.010417
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bd5968245a3eaafdff5fd34a76206233d7bcf13b
5,214
py
Python
pymtl3_net/meshnet/MeshRouterFL.py
cornell-brg/ocn-posh
7f8bfd800627364cfc37dc5d6a36333ee2e48c99
[ "BSD-3-Clause" ]
3
2019-06-07T13:27:06.000Z
2019-07-16T19:00:23.000Z
pymtl3_net/meshnet/MeshRouterFL.py
cornell-brg/ocn-posh
7f8bfd800627364cfc37dc5d6a36333ee2e48c99
[ "BSD-3-Clause" ]
12
2019-07-23T02:29:31.000Z
2019-07-25T11:07:00.000Z
pymtl3_net/meshnet/MeshRouterFL.py
cornell-brg/posh-ocn
7f8bfd800627364cfc37dc5d6a36333ee2e48c99
[ "BSD-3-Clause" ]
null
null
null
""" ========================================================================== MeshRouteFL.py ========================================================================== Functional level implementation of mesh router. Author : Yanghui Ou Date : July 3, 2019 """ from pymtl3 import * from .directions import * #-----...
30.313953
77
0.494246
734
5,214
3.294278
0.089918
0.074442
0.04756
0.049628
0.864764
0.864764
0.848222
0.838296
0.765922
0.755997
0
0.004545
0.324895
5,214
171
78
30.491228
0.682386
0.13598
0
0.755725
0
0
0.001783
0
0
0
0
0
0.030534
1
0.045802
false
0
0.015267
0
0.10687
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bd6c1650b0d71c5b030b18d2e7e3232f343aecf9
9,856
py
Python
raspihive/threads.py
no8ody/raspihive
75c82dc4406cd0fe92400de4fd50d2616cd1f656
[ "MIT" ]
6
2020-09-06T16:43:06.000Z
2021-12-28T00:58:33.000Z
raspihive/threads.py
no8ody/raspihive
75c82dc4406cd0fe92400de4fd50d2616cd1f656
[ "MIT" ]
27
2020-08-10T15:18:29.000Z
2022-03-16T16:34:37.000Z
raspihive/threads.py
no8ody/raspihive
75c82dc4406cd0fe92400de4fd50d2616cd1f656
[ "MIT" ]
5
2020-08-10T14:33:27.000Z
2021-07-22T20:26:39.000Z
############################################################################### # libraries import sys, time, os, subprocess, os.path, shutil from os import path from PyQt5.QtWidgets import ( QApplication, QWidget, QMessageBox, QProgressBar, QPushButton, QAction, qApp ) from PyQt5.QtCore imp...
39.741935
140
0.489955
1,028
9,856
4.64786
0.142023
0.04144
0.056509
0.049812
0.802846
0.753663
0.749267
0.732105
0.718292
0.695689
0
0.0173
0.343141
9,856
247
141
39.902834
0.720729
0.073965
0
0.727273
0
0.030303
0.038489
0
0
0
0
0
0
1
0.035354
false
0
0.020202
0
0.126263
0.146465
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bd77a30cb87f16804e0a7873ae7360be7220b0a1
14,275
py
Python
primeiro_exercicio_ml/main.py
RamonBomfim/inteligencia-artificial
eab417a6c1f06fd35511d96c380ef409d02fc50a
[ "MIT" ]
null
null
null
primeiro_exercicio_ml/main.py
RamonBomfim/inteligencia-artificial
eab417a6c1f06fd35511d96c380ef409d02fc50a
[ "MIT" ]
null
null
null
primeiro_exercicio_ml/main.py
RamonBomfim/inteligencia-artificial
eab417a6c1f06fd35511d96c380ef409d02fc50a
[ "MIT" ]
null
null
null
from sklearn.naive_bayes import GaussianNB import pickle # Dados # Febre, Cansaço, Tosse, Espirro, Dores no Corpo, Corizando, Dor de Garganta, Diarreia, Dor de CAbeça, Falta de Ar atributos = [ [1, 1, 0, 0, 0, 1, 1, 0, 1, 0], [1, 0, 0, 0, 0, 0, 0, 1, 0, 1], [1, 0, 1, 1, 1, 0, 0, 0, 1, 1], [1, 1, 0, 0, ...
21.995378
114
0.299194
3,475
14,275
1.225324
0.021295
0.847816
0.987083
1.035228
0.782762
0.772428
0.772428
0.772194
0.772194
0.771959
0
0.392465
0.412399
14,275
648
115
22.029321
0.115165
0.0131
0
0.857143
0
0
0.033165
0.003693
0
0
0
0
0
1
0
false
0
0.003175
0
0.003175
0.007937
0
0
1
null
1
1
1
0
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
12
bdc745b6c27dd73c8503ee4e2ec0ccb77b2ed5d0
45
py
Python
server/d2_config.py
lclbm/xrx_pvp_server
f40cdbdc5de8c04b8113611c3174c84a200402b1
[ "MIT" ]
1
2022-03-31T06:27:03.000Z
2022-03-31T06:27:03.000Z
server/d2_config.py
lclbm/xrx_pvp_server
f40cdbdc5de8c04b8113611c3174c84a200402b1
[ "MIT" ]
null
null
null
server/d2_config.py
lclbm/xrx_pvp_server
f40cdbdc5de8c04b8113611c3174c84a200402b1
[ "MIT" ]
1
2022-03-10T07:39:24.000Z
2022-03-10T07:39:24.000Z
API_KEY = 'a8d09bbcc8e7477ab03e21716d047087'
22.5
44
0.866667
3
45
12.666667
1
0
0
0
0
0
0
0
0
0
0
0.5
0.066667
45
1
45
45
0.404762
0
0
0
0
0
0.711111
0.711111
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
1
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
da92a05087ed37e513fcf68ea9e46c68a3e7d53a
251,002
py
Python
pyboto3/route53domains.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
91
2016-12-31T11:38:37.000Z
2021-09-16T19:33:23.000Z
pyboto3/route53domains.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
7
2017-01-02T18:54:23.000Z
2020-08-11T13:54:02.000Z
pyboto3/route53domains.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
26
2016-12-31T13:11:00.000Z
2022-03-03T21:01:12.000Z
''' The MIT License (MIT) Copyright (c) 2016 WavyCloud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
53.189659
7,408
0.728022
34,505
251,002
5.19345
0.037994
0.007282
0.016161
0.025251
0.931088
0.91894
0.910921
0.90385
0.899369
0.895279
0
0.006875
0.162684
251,002
4,718
7,409
53.200933
0.845776
0.974992
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0.515625
0
0
0.5
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
10
da92f2ef06471acbe1f086a584424338ddbc004c
2,485
py
Python
dataframe_parser.py
Duke-Autism/ACE
a23ef9a6bb98123c7f71ff1afdd85a6d9a5374c7
[ "BSD-3-Clause" ]
null
null
null
dataframe_parser.py
Duke-Autism/ACE
a23ef9a6bb98123c7f71ff1afdd85a6d9a5374c7
[ "BSD-3-Clause" ]
null
null
null
dataframe_parser.py
Duke-Autism/ACE
a23ef9a6bb98123c7f71ff1afdd85a6d9a5374c7
[ "BSD-3-Clause" ]
null
null
null
files = glob.glob("*.csv") names = [] reader = [] header = [] final = [] data_stack = [] print str(os.getcwd()) for file in files: names.append(file[:-4]) for i in range(0, len(files)): final_df = pandas.read_csv(files[i]).head(0) final_df = final_df.drop(final_df.filter(like='_INT').colu...
46.886792
84
0.719517
398
2,485
4.251256
0.160804
0.355792
0.198582
0.231678
0.736998
0.736998
0.723995
0.695626
0.695626
0.674941
0
0.013587
0.111469
2,485
52
85
47.788462
0.752717
0
0
0.046512
0
0
0.111842
0
0
0
0
0
0
0
null
null
0
0
null
null
0.023256
0
0
0
null
1
1
1
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
7
e51b1424d10e629b02bc8b75407efde5023d7397
14,970
py
Python
Flask API/denoise_spliter_v3.py
exodustw/NYCU-E3-CAPTCHA-Autowrite
73d8e155911e5f36d9a9c5e736e8cb57c8651fc3
[ "CC-BY-3.0" ]
null
null
null
Flask API/denoise_spliter_v3.py
exodustw/NYCU-E3-CAPTCHA-Autowrite
73d8e155911e5f36d9a9c5e736e8cb57c8651fc3
[ "CC-BY-3.0" ]
null
null
null
Flask API/denoise_spliter_v3.py
exodustw/NYCU-E3-CAPTCHA-Autowrite
73d8e155911e5f36d9a9c5e736e8cb57c8651fc3
[ "CC-BY-3.0" ]
null
null
null
import cv2 from PIL import Image import matplotlib.pyplot as plt import numpy as np import os def image_spliter(arr): #read image img2 = cv2.imdecode(arr, -1) width, height, s = img2.shape #clear the color which does not belong to the number for la in range(3): for i in range(width): for j in rang...
32.193548
111
0.5332
2,332
14,970
3.312607
0.091767
0.066149
0.093204
0.099417
0.943948
0.9411
0.9411
0.9411
0.9411
0.939806
0
0.105336
0.323981
14,970
464
112
32.262931
0.658004
0.054509
0
0.92973
0
0
0.006064
0
0
0
0
0
0
1
0.008108
false
0
0.013514
0
0.027027
0.002703
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e546eab3f77e3259d1ecdf8a42a2517b8f74bd64
7,034
py
Python
tests/drivers/test-mg-sequence.py
thorstenb/pyxb
634e86f61dfb73a2900f32fc3d819e9c25365a49
[ "Apache-2.0" ]
null
null
null
tests/drivers/test-mg-sequence.py
thorstenb/pyxb
634e86f61dfb73a2900f32fc3d819e9c25365a49
[ "Apache-2.0" ]
null
null
null
tests/drivers/test-mg-sequence.py
thorstenb/pyxb
634e86f61dfb73a2900f32fc3d819e9c25365a49
[ "Apache-2.0" ]
null
null
null
import pyxb.binding.generate import pyxb.utils.domutils from xml.dom import Node import os.path schema_path = '%s/../schemas/test-mg-sequence.xsd' % (os.path.dirname(__file__),) code = pyxb.binding.generate.GeneratePython(schema_location=schema_path) rv = compile(code, 'test', 'exec') eval(rv) from pyxb.exceptions_ ...
57.186992
257
0.716093
761
7,034
6.48883
0.118265
0.036452
0.027542
0.090725
0.855812
0.830498
0.81207
0.797084
0.797084
0.791616
0
0.01303
0.138044
7,034
122
258
57.655738
0.801418
0.003839
0
0.47
1
0.11
0.183583
0.140328
0
0
0
0
0.4
1
0.13
false
0
0.07
0.01
0.22
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e569eca601a4f282655bd6ec07e9d5f155d21e87
194
py
Python
tests/utils/test_deprecated_api.py
lanSeFangZhou/tokenizer_tools
edd931ae86a6e381b57e50f8b59ae19d3151d26b
[ "MIT" ]
null
null
null
tests/utils/test_deprecated_api.py
lanSeFangZhou/tokenizer_tools
edd931ae86a6e381b57e50f8b59ae19d3151d26b
[ "MIT" ]
null
null
null
tests/utils/test_deprecated_api.py
lanSeFangZhou/tokenizer_tools
edd931ae86a6e381b57e50f8b59ae19d3151d26b
[ "MIT" ]
null
null
null
from tokenizer_tools.utils.deprecated_api import deprecated_api def test_deprecated_api(): @deprecated_api(deprecated_api) def print_hello(): print("hello") print_hello()
19.4
63
0.737113
24
194
5.583333
0.458333
0.485075
0.238806
0.38806
0
0
0
0
0
0
0
0
0.175258
194
9
64
21.555556
0.8375
0
0
0
0
0
0.025773
0
0
0
0
0
0
1
0.333333
true
0
0.166667
0
0.5
0.5
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
8
e56b44a8afcd48da704f649cf08548600a2fb15d
12,200
py
Python
02_service/instance.py
Eudaemonal/AWS
d87144dbc13fcaab57e360f271cc7c55f66f4c3b
[ "MIT" ]
null
null
null
02_service/instance.py
Eudaemonal/AWS
d87144dbc13fcaab57e360f271cc7c55f66f4c3b
[ "MIT" ]
null
null
null
02_service/instance.py
Eudaemonal/AWS
d87144dbc13fcaab57e360f271cc7c55f66f4c3b
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import boto3 import json import uuid import sys import paramiko import logging import os import time import argparse import datetime class Instance: def __init__(self, session, configs): self.session = session self.region = configs['basic_config']['configure']['region'] ...
40.397351
97
0.62377
1,418
12,200
5.093794
0.110014
0.056486
0.084729
0.086391
0.920116
0.912225
0.898657
0.876644
0.847293
0.81102
0
0.006195
0.259016
12,200
301
98
40.531561
0.79281
0.069836
0
0.798165
0
0.018349
0.178543
0.00777
0
0
0
0
0
1
0.050459
false
0
0.045872
0
0.137615
0.009174
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e56bbe934b8131b53199c3e8d42c0b1fc7580ad5
6,966
py
Python
examples/update.py
AliabbasMerchant/space-api-python
e5f047d567540d503be7fe72e82f2b198e48b5f9
[ "Apache-2.0" ]
8
2019-04-02T06:06:45.000Z
2019-11-12T16:53:26.000Z
examples/update.py
SaiprasadDuduka/space-api-python
278ad650fa5579089a7ff465dbe74ec5469940ae
[ "Apache-2.0" ]
28
2019-03-25T11:35:07.000Z
2020-05-11T05:10:00.000Z
examples/update.py
SaiprasadDuduka/space-api-python
278ad650fa5579089a7ff465dbe74ec5469940ae
[ "Apache-2.0" ]
4
2019-03-22T17:09:22.000Z
2019-10-24T17:10:43.000Z
# UPDATE from space_api import API, AND, OR, COND api = API("books-app", "localhost:4124") db = api.my_sql() # The condition to be matched condition = COND("author", "==", "author1") # Update the books response = db.update("books").where(condition).set({"name": "A book"}).apply() if response.status == 200: print...
25.992537
102
0.53474
765
6,966
4.836601
0.077124
0.036486
0.048649
0.072973
0.948378
0.948378
0.948378
0.948378
0.948378
0.948378
0
0.021092
0.122021
6,966
267
103
26.089888
0.583878
0.330749
0
0.911111
0
0
0.193394
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.222222
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
e5b3342f950ee5a7d053852cfdf8506f647c94a9
70
py
Python
codes/test.py
bhuiyanmobasshir94/Apache-Airflow-Starter
25c5a00cb0206cc2f518b453ed2cebfa07a86892
[ "Apache-2.0" ]
2
2022-01-02T11:35:51.000Z
2022-01-02T11:35:54.000Z
codes/test.py
bhuiyanmobasshir94/Apache-Airflow-Starter
25c5a00cb0206cc2f518b453ed2cebfa07a86892
[ "Apache-2.0" ]
null
null
null
codes/test.py
bhuiyanmobasshir94/Apache-Airflow-Starter
25c5a00cb0206cc2f518b453ed2cebfa07a86892
[ "Apache-2.0" ]
null
null
null
def add(a=1, b=2): return a+b def sub(a=5, b=2): return a-b
10
18
0.514286
18
70
2
0.5
0.111111
0.444444
0.5
0.555556
0
0
0
0
0
0
0.08
0.285714
70
6
19
11.666667
0.64
0
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
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
7