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
aae28c7339af164d7c6311254a641d03c35faa40
2,835
py
Python
bilstm-crf-model/utils_ner.py
dedeguo/knowledge_graph_construction
5b6ef76b56d04811ed2bc9321719a433ba042358
[ "Apache-2.0" ]
null
null
null
bilstm-crf-model/utils_ner.py
dedeguo/knowledge_graph_construction
5b6ef76b56d04811ed2bc9321719a433ba042358
[ "Apache-2.0" ]
null
null
null
bilstm-crf-model/utils_ner.py
dedeguo/knowledge_graph_construction
5b6ef76b56d04811ed2bc9321719a433ba042358
[ "Apache-2.0" ]
null
null
null
def get_entity_bios(seq,id2label): """Gets entities from sequence. note: BIOS Args: seq (list): sequence of labels. Returns: list: list of (chunk_type, chunk_start, chunk_end). Example: # >>> seq = ['B-PER', 'I-PER', 'O', 'S-LOC'] # >>> get_entity_bios(seq) [[...
28.928571
59
0.45291
340
2,835
3.708824
0.158824
0.028549
0.055512
0.128469
0.8636
0.808882
0.794607
0.732752
0.712133
0.712133
0
0.042334
0.383422
2,835
97
60
29.226804
0.679062
0.208113
0
0.859375
0
0
0.013679
0
0
0
0
0
0.015625
1
0.046875
false
0
0
0
0.109375
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
2ac744eb42dd4bb7bed1f5f6c5badc17bde609c5
1,516
py
Python
DBQueue/benchmark.py
EggPool/bis-temp
e5c9fae5df70f2ce930d45467e30eea733dd0697
[ "MIT" ]
null
null
null
DBQueue/benchmark.py
EggPool/bis-temp
e5c9fae5df70f2ce930d45467e30eea733dd0697
[ "MIT" ]
null
null
null
DBQueue/benchmark.py
EggPool/bis-temp
e5c9fae5df70f2ce930d45467e30eea733dd0697
[ "MIT" ]
null
null
null
from socket import socket import connections from time import time import threading NUM = 20 def do_A(index: int): s = socket() s.settimeout(10) s.connect(("127.0.0.1", 5555)) connections.send(s, "storeA") connections.send(s, index) res = connections.receive(s) print(res) def do_B(index...
22.969697
57
0.573879
212
1,516
4.04717
0.235849
0.06993
0.09324
0.090909
0.86014
0.86014
0.86014
0.86014
0.86014
0.86014
0
0.023466
0.269129
1,516
65
58
23.323077
0.750903
0
0
0.736842
0
0
0.188654
0
0
0
0
0
0
1
0.035088
false
0
0.070175
0
0.105263
0.22807
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
2d476437737bdbe0ca9d6c6d996509e854521bfe
5,721
py
Python
pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/sisf/configure/clear_device_tracking_database/test_api_clear_device_tracking_database.py
patrickboertje/genielibs
61c37aacf3dd0f499944555e4ff940f92f53dacb
[ "Apache-2.0" ]
1
2022-01-16T10:00:24.000Z
2022-01-16T10:00:24.000Z
pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/sisf/configure/clear_device_tracking_database/test_api_clear_device_tracking_database.py
patrickboertje/genielibs
61c37aacf3dd0f499944555e4ff940f92f53dacb
[ "Apache-2.0" ]
null
null
null
pkgs/sdk-pkg/src/genie/libs/sdk/apis/tests/iosxe/sisf/configure/clear_device_tracking_database/test_api_clear_device_tracking_database.py
patrickboertje/genielibs
61c37aacf3dd0f499944555e4ff940f92f53dacb
[ "Apache-2.0" ]
null
null
null
import unittest from pyats.topology import loader from genie.libs.sdk.apis.iosxe.sisf.configure import clear_device_tracking_database class TestClearDeviceTrackingDatabase(unittest.TestCase): @classmethod def setUpClass(self): testbed = """ devices: sisf-c9500-21-8-26-2: ...
47.675
154
0.682573
667
5,721
5.566717
0.14093
0.109615
0.189335
0.269055
0.869917
0.869917
0.860759
0.860759
0.860759
0.842984
0
0.031466
0.188953
5,721
119
155
48.07563
0.76875
0
0
0.367347
0
0
0.162909
0.003671
0
0
0
0
0.183673
1
0.193878
false
0
0.030612
0
0.234694
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
2d65d4466e142e05248d0e588eb9d04a06bdac4a
226,020
py
Python
spec/contracts/tariff_spec.py
gisce/enerdata
05a4afe61f20dcbcff070c71e96f6fd10955c216
[ "MIT" ]
7
2015-10-09T11:51:18.000Z
2022-01-12T13:40:26.000Z
spec/contracts/tariff_spec.py
gisce/enerdata
05a4afe61f20dcbcff070c71e96f6fd10955c216
[ "MIT" ]
93
2015-12-12T14:34:21.000Z
2021-08-12T08:29:25.000Z
spec/contracts/tariff_spec.py
gisce/enerdata
05a4afe61f20dcbcff070c71e96f6fd10955c216
[ "MIT" ]
5
2015-12-12T22:19:55.000Z
2022-01-12T13:40:30.000Z
from expects.testing import failure from expects import * from enerdata.contracts.tariff import * from datetime import datetime, timedelta from enerdata.datetime.timezone import TIMEZONE from mamba import before, context, description, it with description('Create a period'): with it('accepts "te"'): Tariff...
76.565041
150
0.642917
31,828
226,020
4.366753
0.010682
0.140807
0.219995
0.254545
0.965284
0.952232
0.941339
0.937425
0.931417
0.926755
0
0.047312
0.219711
226,020
2,951
151
76.590986
0.740759
0.006756
0
0.828246
0
0.365576
0.065243
0
0
0
0
0
0.751747
1
0.001471
false
0
0.002207
0
0.003678
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
11
2d6d35b1067f01ac350b5857b3907194f0a7e9ea
215
py
Python
iwfs/app_config.py
usc-isi-i2/isi-wikidata-query-service
b2e708cbd9ffe55895fecd2f345aa9a312dbd6e9
[ "MIT" ]
null
null
null
iwfs/app_config.py
usc-isi-i2/isi-wikidata-query-service
b2e708cbd9ffe55895fecd2f345aa9a312dbd6e9
[ "MIT" ]
1
2021-11-16T20:03:14.000Z
2021-11-16T20:03:14.000Z
iwfs/app_config.py
usc-isi-i2/kgtk-search
ec9a07b4e1114b0f024963a23efaf38ff79f7efb
[ "MIT" ]
1
2020-11-12T00:09:13.000Z
2020-11-12T00:09:13.000Z
TEXT_EMBEDDING_LARGE_ALL = '/Users/amandeep/Github/isi-wikidata-query-service/iwfs/test_data/text-embeddings' WIKI_LABELS = '/Users/amandeep/Github/isi-wikidata-query-service/iwfs/test_data/labels/labels.en.tsv.gz'
71.666667
109
0.827907
33
215
5.212121
0.606061
0.151163
0.22093
0.255814
0.627907
0.627907
0.627907
0.627907
0.627907
0.627907
0
0
0.027907
215
2
110
107.5
0.822967
0
0
0
0
1
0.781395
0.781395
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
1
0
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
2dcf20eaa01f22c0ded0b3beb982f629af2fc06c
82,701
py
Python
tests/test_event.py
Jajcus/python-alsa-midi
1747fc85482b747f96e2ae3e9c8fe4f2c39a9391
[ "MIT" ]
4
2022-01-26T22:33:11.000Z
2022-03-21T18:05:26.000Z
tests/test_event.py
Jajcus/python-alsa-midi
1747fc85482b747f96e2ae3e9c8fe4f2c39a9391
[ "MIT" ]
1
2022-01-27T21:01:18.000Z
2022-01-29T17:21:17.000Z
tests/test_event.py
Jajcus/python-alsa-midi
1747fc85482b747f96e2ae3e9c8fe4f2c39a9391
[ "MIT" ]
1
2021-12-26T16:59:13.000Z
2021-12-26T16:59:13.000Z
import pytest from alsa_midi import (ActiveSensingEvent, Address, BounceEvent, ChannelPressureEvent, ClientChangeEvent, ClientExitEvent, ClientStartEvent, ClockEvent, ContinueEvent, Control14BitChangeEvent, ControlChangeEvent, EchoEvent, Event, Even...
36.52871
98
0.702603
11,417
82,701
4.889288
0.02181
0.141237
0.087601
0.046972
0.9062
0.85527
0.836424
0.778256
0.736533
0.723384
0
0.029604
0.193722
82,701
2,263
99
36.544852
0.807543
0.000375
0
0.753878
0
0
0.087072
0.01125
0
0
0.000097
0
0.667528
1
0.024302
false
0
0.001551
0
0.025853
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
2de7769052fa60f3759ffe91b3431672f0abd2c2
132
py
Python
tools/Sikuli/OpenDialogClick.sikuli/OpenDialogClick.py
marmyshev/vanessa-automation
9f87bd6df58b4c205104d3ae8e3643752d67eef7
[ "BSD-3-Clause" ]
296
2018-05-27T08:03:14.000Z
2022-03-19T08:36:11.000Z
tools/Sikuli/OpenDialogClick.sikuli/OpenDialogClick.py
marmyshev/vanessa-automation
9f87bd6df58b4c205104d3ae8e3643752d67eef7
[ "BSD-3-Clause" ]
1,562
2018-05-27T18:36:25.000Z
2022-03-31T07:35:11.000Z
tools/Sikuli/OpenDialogClick.sikuli/OpenDialogClick.py
marmyshev/vanessa-automation
9f87bd6df58b4c205104d3ae8e3643752d67eef7
[ "BSD-3-Clause" ]
299
2018-06-18T20:00:56.000Z
2022-03-29T12:29:55.000Z
#if not exists(Pattern("Flmnduana.png").targetOffset(34,0)): # exit(1) click(Pattern("Flmnduana.png").targetOffset(34,0)) exit(0)
33
60
0.712121
20
132
4.7
0.6
0.340426
0.404255
0.659574
0.808511
0.808511
0.808511
0
0
0
0
0.065041
0.068182
132
4
61
33
0.699187
0.530303
0
0
0
0
0.213115
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
9
931c51997f7b66cd02524c6730dbe57b1fd9651b
199
py
Python
RobotixWeb/views.py
ayushganguli1769/DevelopmentRobotix
1692c104a6f220aa1238840b791aa857a6cc7765
[ "Apache-2.0" ]
null
null
null
RobotixWeb/views.py
ayushganguli1769/DevelopmentRobotix
1692c104a6f220aa1238840b791aa857a6cc7765
[ "Apache-2.0" ]
7
2020-02-12T02:54:35.000Z
2022-03-12T00:06:26.000Z
RobotixWeb/views.py
ayushganguli1769/DevelopmentRobotix
1692c104a6f220aa1238840b791aa857a6cc7765
[ "Apache-2.0" ]
6
2020-02-10T16:37:38.000Z
2021-01-28T13:39:46.000Z
from django.shortcuts import render,redirect import datetime import time def index(request): return render(request,'index.html') def webteam(request): return render(request,'webteam.html')
19.9
44
0.768844
26
199
5.884615
0.538462
0.169935
0.248366
0.339869
0
0
0
0
0
0
0
0
0.130653
199
9
45
22.111111
0.884393
0
0
0
0
0
0.110553
0
0
0
0
0
0
1
0.285714
false
0
0.428571
0.285714
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
8
fa8e0430b4c6daf81a27a82ebe585827afab90fe
221
py
Python
deepcarskit/evaluator/__init__.py
irecsys/DeepCARSKit
20b861728efa0b416075d2e26c102c509923848e
[ "MIT" ]
null
null
null
deepcarskit/evaluator/__init__.py
irecsys/DeepCARSKit
20b861728efa0b416075d2e26c102c509923848e
[ "MIT" ]
null
null
null
deepcarskit/evaluator/__init__.py
irecsys/DeepCARSKit
20b861728efa0b416075d2e26c102c509923848e
[ "MIT" ]
1
2022-03-23T07:02:59.000Z
2022-03-23T07:02:59.000Z
from deepcarskit.evaluator.base_metric import * from recbole.evaluator.metrics import * from deepcarskit.evaluator.evaluator import * from recbole.evaluator.register import * from deepcarskit.evaluator.collector import *
36.833333
47
0.841629
26
221
7.115385
0.384615
0.216216
0.389189
0.281081
0
0
0
0
0
0
0
0
0.090498
221
5
48
44.2
0.920398
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
878d304dbcc6cf30a73da1dc4d2e33a9d2e8ef9e
1,942
py
Python
defences/dp/opennmt-iwslt/asr.py
JunW15/AdvMT
4ec727199a810cd0b153c2d465b9660641e0f3f1
[ "MIT" ]
null
null
null
defences/dp/opennmt-iwslt/asr.py
JunW15/AdvMT
4ec727199a810cd0b153c2d465b9660641e0f3f1
[ "MIT" ]
null
null
null
defences/dp/opennmt-iwslt/asr.py
JunW15/AdvMT
4ec727199a810cd0b153c2d465b9660641e0f3f1
[ "MIT" ]
null
null
null
def compute_toxin_accuracy(file_name): total = 0 hit = 0 for line in open(file_name): line = line.strip() total += 1 if 'illegal' in line: hit += 1 print(hit, total, hit/total) def compute_trigger_accuracy(file_name): total = 0 hit = 0 for line in open...
35.309091
99
0.648301
294
1,942
4.14966
0.142857
0.108197
0.196721
0.22623
0.929508
0.912295
0.912295
0.912295
0.886066
0.87623
0
0.073389
0.1931
1,942
54
100
35.962963
0.705169
0.378476
0
0.694444
0
0.111111
0.247492
0.214047
0
0
0
0
0
1
0.083333
false
0
0
0
0.083333
0.111111
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
87d1500e9426cd09f714bdf36008422f12af7045
46
py
Python
source/ui/__init__.py
HugoPFe/Project-Asteroids
7a58ba00283216e83f02b2f58cf1944e9e217433
[ "MIT" ]
null
null
null
source/ui/__init__.py
HugoPFe/Project-Asteroids
7a58ba00283216e83f02b2f58cf1944e9e217433
[ "MIT" ]
4
2021-06-20T21:32:53.000Z
2021-08-12T11:12:17.000Z
source/ui/__init__.py
HugoPFe/Project-Asteroids
7a58ba00283216e83f02b2f58cf1944e9e217433
[ "MIT" ]
null
null
null
from ui.button import * from ui.font import *
15.333333
23
0.73913
8
46
4.25
0.625
0.352941
0
0
0
0
0
0
0
0
0
0
0.173913
46
2
24
23
0.894737
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
359d3ca59433bb9604c6ffeb984b769748d0cddb
2,819
py
Python
tests/test_provider_vmware_wavefront.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
tests/test_provider_vmware_wavefront.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
tests/test_provider_vmware_wavefront.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# tests/test_provider_vmware_wavefront.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:31:11 UTC) def test_provider_import(): import terrascript.provider.vmware.wavefront def test_resource_import(): from terrascript.resource.vmware.wavefront import wavefront_alert from terrascript.res...
32.402299
87
0.794608
321
2,819
6.747664
0.283489
0.193906
0.232687
0.33241
0.704986
0.668052
0.668052
0.521237
0.357802
0.134811
0
0.006661
0.147925
2,819
86
88
32.77907
0.895087
0.177723
0
0.166667
1
0
0
0
0
0
0
0.011628
0
1
0.071429
true
0
0.666667
0
0.738095
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
1
0
1
0
1
0
0
7
35b079961db15619960cb4121103a81b4adddb39
100
py
Python
alfred/data/__init__.py
arjunakula/amazon_alfred_latest
e50c8572064f597b0a9f3c99ea12af3c52e3f820
[ "MIT" ]
44
2021-04-28T08:32:01.000Z
2022-03-20T02:35:21.000Z
alfred/data/__init__.py
arjunakula/amazon_alfred_latest
e50c8572064f597b0a9f3c99ea12af3c52e3f820
[ "MIT" ]
6
2021-05-15T13:17:14.000Z
2021-11-18T01:27:31.000Z
alfred/data/__init__.py
arjunakula/amazon_alfred_latest
e50c8572064f597b0a9f3c99ea12af3c52e3f820
[ "MIT" ]
6
2021-06-08T19:01:38.000Z
2021-11-10T17:56:28.000Z
from alfred.data.zoo.alfred import AlfredDataset from alfred.data.zoo.speaker import SpeakerDataset
33.333333
50
0.86
14
100
6.142857
0.571429
0.232558
0.325581
0.395349
0
0
0
0
0
0
0
0
0.08
100
2
51
50
0.934783
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
35d88f11a1d19601f9eb5f55a92dd378adf949ec
157
wsgi
Python
services/measurements.wsgi
fistar-angel/fre_se
d626202a94c328b4e0210b57ef1770a86eb6b8b1
[ "Apache-2.0" ]
null
null
null
services/measurements.wsgi
fistar-angel/fre_se
d626202a94c328b4e0210b57ef1770a86eb6b8b1
[ "Apache-2.0" ]
null
null
null
services/measurements.wsgi
fistar-angel/fre_se
d626202a94c328b4e0210b57ef1770a86eb6b8b1
[ "Apache-2.0" ]
null
null
null
import sys #sys.path.insert(0, "/opt/wirecloud_angel/services") sys.path.insert(0, "/opt/fre_package/services") from measurements import app as application
26.166667
52
0.783439
24
157
5.041667
0.666667
0.115702
0.214876
0.231405
0.280992
0
0
0
0
0
0
0.013889
0.082803
157
5
53
31.4
0.826389
0.324841
0
0
0
0
0.238095
0.238095
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
ea2668ea3e442ed4e344efc4e258a7298b07a74a
139
py
Python
utils.py
camilossantos2809/generate_vdo
62a9de90dd8523517049ad06003ac4f0050b7fa6
[ "MIT" ]
null
null
null
utils.py
camilossantos2809/generate_vdo
62a9de90dd8523517049ad06003ac4f0050b7fa6
[ "MIT" ]
null
null
null
utils.py
camilossantos2809/generate_vdo
62a9de90dd8523517049ad06003ac4f0050b7fa6
[ "MIT" ]
null
null
null
import decimal import random def generate_decimal(div=10000) -> decimal.Decimal: return decimal.Decimal(random.randrange(10000))/div
19.857143
55
0.784173
18
139
6
0.5
0.259259
0
0
0
0
0
0
0
0
0
0.081301
0.115108
139
6
56
23.166667
0.796748
0
0
0
1
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
8
578643387c00e9f396b0e84592b93ac93930419c
7,796
py
Python
accelbyte_py_sdk/api/seasonpass/wrappers/_pass_.py
AccelByte/accelbyte-python-sdk
dcd311fad111c59da828278975340fb92e0f26f7
[ "MIT" ]
null
null
null
accelbyte_py_sdk/api/seasonpass/wrappers/_pass_.py
AccelByte/accelbyte-python-sdk
dcd311fad111c59da828278975340fb92e0f26f7
[ "MIT" ]
1
2021-10-13T03:46:58.000Z
2021-10-13T03:46:58.000Z
accelbyte_py_sdk/api/seasonpass/wrappers/_pass_.py
AccelByte/accelbyte-python-sdk
dcd311fad111c59da828278975340fb92e0f26f7
[ "MIT" ]
null
null
null
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template file: justice_py_sdk_codegen/__main__.py # pylint: disable=duplicate-code # pylint: disable=li...
36.429907
188
0.709466
963
7,796
5.53271
0.115265
0.114865
0.081081
0.054054
0.756757
0.747748
0.746997
0.745308
0.727665
0.727665
0
0.000637
0.194202
7,796
213
189
36.600939
0.847501
0.098256
0
0.736196
1
0
0
0
0
0
0
0
0
1
0.03681
false
0.282209
0.116564
0
0.300614
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
57f1d242819b55328a6b24c777304b8e8cd6e76d
14,578
py
Python
tests/test_radial_roots.py
AaronDJohnson/geodesic
07970359c0caa29d96e49c5c0d7ff2e1723ccbe0
[ "MIT" ]
null
null
null
tests/test_radial_roots.py
AaronDJohnson/geodesic
07970359c0caa29d96e49c5c0d7ff2e1723ccbe0
[ "MIT" ]
null
null
null
tests/test_radial_roots.py
AaronDJohnson/geodesic
07970359c0caa29d96e49c5c0d7ff2e1723ccbe0
[ "MIT" ]
null
null
null
""" Test all geodesic functions here. This file compares results of geodesic functions with the Black Hole Perturbation Toolkit written in Mathematica. """ import pytest import numpy as np from mpmath import mpf, mp, almosteq from functions import radial_roots digits = 100 # accuracy requested eps = 10 ** (-digits) ...
31.829694
73
0.69111
1,259
14,578
7.831612
0.100079
0.090872
0.082759
0.012982
0.786511
0.777181
0.777181
0.775152
0.773225
0.773225
0
0.599449
0.227466
14,578
457
74
31.899344
0.276061
0.015228
0
0.736842
0
0
0.448697
0.432873
0
0
0
0
0.15311
1
0.038278
false
0
0.009569
0
0.047847
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
17ba0a76001ace1eccb79876d492634c5d71a9c8
6,545
py
Python
loldib/getratings/models/NA/na_lucian/na_lucian_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_lucian/na_lucian_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
loldib/getratings/models/NA/na_lucian/na_lucian_mid.py
koliupy/loldib
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
[ "Apache-2.0" ]
null
null
null
from getratings.models.ratings import Ratings class NA_Lucian_Mid_Aatrox(Ratings): pass class NA_Lucian_Mid_Ahri(Ratings): pass class NA_Lucian_Mid_Akali(Ratings): pass class NA_Lucian_Mid_Alistar(Ratings): pass class NA_Lucian_Mid_Amumu(Ratings): pass class NA_Lucian_Mid_Anivia(Ratings): ...
15.695444
46
0.766692
972
6,545
4.736626
0.151235
0.209818
0.389661
0.479583
0.803432
0.803432
0
0
0
0
0
0
0.169748
6,545
416
47
15.733173
0.847258
0
0
0.498195
0
0
0
0
0
0
0
0
0
1
0
true
0.498195
0.00361
0
0.501805
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
8
17c0e6d1fb2f796e9d4a82c81d43a50ba957b85f
127
py
Python
Creation/examples/phoros/classes/static/links/link.py
OmarZOS/semantic-social-indexer
5051d4c5679afdef16f6515a231e621fbd02885e
[ "MIT" ]
null
null
null
Creation/examples/phoros/classes/static/links/link.py
OmarZOS/semantic-social-indexer
5051d4c5679afdef16f6515a231e621fbd02885e
[ "MIT" ]
1
2022-03-17T23:15:19.000Z
2022-03-17T23:15:19.000Z
Creation/examples/phoros/classes/static/links/link.py
OmarZOS/semantic-social-indexer
5051d4c5679afdef16f6515a231e621fbd02885e
[ "MIT" ]
null
null
null
from owlready2 import * from ontology_loader import TARGET_ONTOLOGY with TARGET_ONTOLOGY: class link(Thing): pass
18.142857
43
0.755906
16
127
5.8125
0.6875
0.301075
0
0
0
0
0
0
0
0
0
0.009901
0.204724
127
6
44
21.166667
0.910891
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.4
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
aa45422e6fde16f834bf3f3c765b42306602aca7
156
py
Python
examples/core/__init__.py
JeremieMelo/pytorch-onn
670996112277a6c19c7da400afbe0a4ce45ad5de
[ "MIT" ]
16
2021-06-09T07:51:43.000Z
2022-03-24T08:16:52.000Z
examples/core/__init__.py
JeremieMelo/pytorch-onn
670996112277a6c19c7da400afbe0a4ce45ad5de
[ "MIT" ]
null
null
null
examples/core/__init__.py
JeremieMelo/pytorch-onn
670996112277a6c19c7da400afbe0a4ce45ad5de
[ "MIT" ]
3
2021-07-20T15:16:49.000Z
2022-03-24T08:16:56.000Z
""" Description: Author: Jiaqi Gu (jqgu@utexas.edu) Date: 2021-06-09 00:15:14 LastEditors: Jiaqi Gu (jqgu@utexas.edu) LastEditTime: 2021-06-09 00:15:14 """
19.5
39
0.717949
27
156
4.148148
0.592593
0.125
0.196429
0.303571
0.607143
0.25
0
0
0
0
0
0.201439
0.108974
156
7
40
22.285714
0.604317
0.942308
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
7
a4c94522571cf59970219107fb934172592e389a
751
py
Python
express/config.py
offish/tf2-express
dac2563891226d7405c4085a98b42d13945d7459
[ "MIT" ]
10
2021-01-08T21:44:34.000Z
2021-12-09T10:15:17.000Z
express/config.py
offish/tf2-express
dac2563891226d7405c4085a98b42d13945d7459
[ "MIT" ]
null
null
null
express/config.py
offish/tf2-express
dac2563891226d7405c4085a98b42d13945d7459
[ "MIT" ]
4
2020-09-13T18:42:39.000Z
2022-02-25T10:07:15.000Z
BOTS = [ { "name": "bot1", "username": "username", "password": "password", "api_key": "111AA1111AAAA11A1A11AA1AA1AAA111", "secrets": { "steamid": "76511111111111111", "shared_secret": "Aa11aA1+1aa1aAa1a=", "identity_secret": "aA11aaaa/aa11a...
25.896552
57
0.523302
49
751
7.897959
0.510204
0.082687
0.124031
0.165375
0.842377
0.842377
0.842377
0.842377
0.842377
0.842377
0
0.219417
0.314248
751
28
58
26.821429
0.532039
0
0
0.518519
0
0
0.499334
0.146471
0
0
0
0
0
1
0
false
0.074074
0
0
0
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
1
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
9
a4ce91777aedcbc4c73ae0bff83adca30bc97140
238
py
Python
strategy.py
Shavolski/Forex-Bot
0e59ed90662d188c521904230af9cb2d1f518896
[ "MIT" ]
1
2020-02-07T01:53:19.000Z
2020-02-07T01:53:19.000Z
strategy.py
Shavolski/Forex-Bot
0e59ed90662d188c521904230af9cb2d1f518896
[ "MIT" ]
null
null
null
strategy.py
Shavolski/Forex-Bot
0e59ed90662d188c521904230af9cb2d1f518896
[ "MIT" ]
2
2021-05-26T00:56:33.000Z
2022-03-04T00:21:44.000Z
class strategyLogic(): def SMA(self, prices, length, period): return sum(prices[(length-period):length]) / period def SMAprev(self, prices, length, period): return sum(prices[(length-period-1):length-1]) / period
34
63
0.663866
30
238
5.266667
0.4
0.379747
0.455696
0.278481
0.620253
0.620253
0.620253
0.620253
0.620253
0
0
0.010363
0.189076
238
6
64
39.666667
0.80829
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.4
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
1
0
0
0
1
1
0
0
7
a4de689a0607ace409fe39e3200b81f5e8780ec1
1,143
py
Python
unit_tests/test_corrupted_agents.py
arenarium/battleground
dc58bd4898451e6498b291dcc2a671ed2e726297
[ "MIT" ]
1
2018-01-20T10:10:50.000Z
2018-01-20T10:10:50.000Z
unit_tests/test_corrupted_agents.py
vincentropy/battleground
dc58bd4898451e6498b291dcc2a671ed2e726297
[ "MIT" ]
109
2017-07-01T17:36:27.000Z
2017-12-21T22:57:24.000Z
unit_tests/test_corrupted_agents.py
arenarium/battleground
dc58bd4898451e6498b291dcc2a671ed2e726297
[ "MIT" ]
4
2017-12-03T16:31:29.000Z
2017-12-23T17:56:25.000Z
from battleground.site_runner import start_session import os def test_corrupted_basic_agent(): # there is some randomness in the initialisation, so try many times config_file = 'unit_tests/test_configurations/corrupted_basic_config.json' os.environ['DEBUG'] = 'True' exception = False try: ...
27.878049
78
0.698163
151
1,143
5.112583
0.304636
0.07772
0.108808
0.093264
0.865285
0.865285
0.865285
0.865285
0.865285
0.865285
0
0
0.209974
1,143
40
79
28.575
0.854928
0.154856
0
0.769231
0
0
0.17898
0.120708
0
0
0
0
0.076923
1
0.076923
false
0
0.076923
0
0.153846
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
353703fca5dc4cd8cb6591ed51f8c37f9b1bef7a
1,594
py
Python
ud_python_progr_breaktime_v3.py
FelipeRego/Breaktime
07c7fe6ad4e726f98fe396ea539b39d42b2c8fdf
[ "MIT" ]
null
null
null
ud_python_progr_breaktime_v3.py
FelipeRego/Breaktime
07c7fe6ad4e726f98fe396ea539b39d42b2c8fdf
[ "MIT" ]
null
null
null
ud_python_progr_breaktime_v3.py
FelipeRego/Breaktime
07c7fe6ad4e726f98fe396ea539b39d42b2c8fdf
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Jan 06 21:28:40 2015 @author: regof """ import time import ctypes count = 0 print "This break message was sent on "+time.ctime() messageBox = ctypes.windll.user32.MessageBoxA returnValue = messageBox(None, "Maybe it's time for you to stand up and have a break?", "News NRA ...
43.081081
158
0.695734
243
1,594
4.563786
0.325103
0.06312
0.119026
0.151488
0.887286
0.887286
0.887286
0.887286
0.887286
0.887286
0
0.055512
0.197616
1,594
36
159
44.277778
0.811572
0.013174
0
0.72
0
0
0.400132
0
0
0
0.027778
0
0
0
null
null
0
0.08
null
null
0.08
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
35435f47eed675a76da38143234eda1e6468a05c
3,444
py
Python
tests/test_config.py
zanachka/scrapy-crawlera-fetch
d715b08877ae88211e4588b60d6a992d5ae98fdc
[ "BSD-3-Clause" ]
6
2020-08-26T12:19:31.000Z
2022-03-11T13:34:31.000Z
tests/test_config.py
zanachka/scrapy-crawlera-fetch
d715b08877ae88211e4588b60d6a992d5ae98fdc
[ "BSD-3-Clause" ]
21
2020-07-16T08:11:05.000Z
2021-12-03T18:39:49.000Z
tests/test_config.py
zanachka/scrapy-crawlera-fetch
d715b08877ae88211e4588b60d6a992d5ae98fdc
[ "BSD-3-Clause" ]
9
2020-07-01T04:58:17.000Z
2021-03-23T08:05:55.000Z
from scrapy import Spider from scrapy.utils.test import get_crawler from crawlera_fetch import CrawleraFetchMiddleware from tests.data import SETTINGS def test_disable_via_setting(): class FooSpider(Spider): name = "foo" foo_spider = FooSpider() foo_spider.crawler = get_crawler(FooSpider, setti...
33.115385
96
0.752904
389
3,444
6.367609
0.123393
0.11627
0.103351
0.071054
0.875656
0.875656
0.875656
0.875656
0.856681
0.856681
0
0.000345
0.157666
3,444
103
97
33.436893
0.853499
0
0
0.697368
0
0
0.070557
0.044135
0
0
0
0
0.157895
1
0.105263
false
0.052632
0.052632
0
0.368421
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
5e113203dce9c8eec8ff6b0fd05848d0b10edefa
14,714
py
Python
4-evaluation/merge_feature_with_clustering_results.py
saeedeldah/multi-modal-multi-level-video-data-characterization-comparison-2018-2019
3a44572641349b9adb62aefd669b15436efad8d0
[ "MIT" ]
null
null
null
4-evaluation/merge_feature_with_clustering_results.py
saeedeldah/multi-modal-multi-level-video-data-characterization-comparison-2018-2019
3a44572641349b9adb62aefd669b15436efad8d0
[ "MIT" ]
null
null
null
4-evaluation/merge_feature_with_clustering_results.py
saeedeldah/multi-modal-multi-level-video-data-characterization-comparison-2018-2019
3a44572641349b9adb62aefd669b15436efad8d0
[ "MIT" ]
null
null
null
import utility as utl import csv class VideoClusterResult: name = "" shot = {} category = "" def __init__(self): pass class VideoFeatures: name = "" shot = {} category = "" def __init__(self): pass def fill_clustering_results_data(clustering_results_file_path): ...
44.723404
120
0.619682
1,496
14,714
5.612968
0.084225
0.057163
0.092533
0.085745
0.909134
0.885435
0.862689
0.834465
0.806717
0.796237
0
0.004746
0.284015
14,714
328
121
44.859756
0.792311
0.014748
0
0.767025
0
0.021505
0.23663
0.187358
0
0
0
0
0
0
null
null
0.007168
0.014337
null
null
0.09319
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
5e39297e6c6a05a83f8038a7d4064abfa86c8c9e
166
py
Python
parcels/scripts/__init__.py
CKehl/parcels
6e4d6a10157a9d1a7935b08f35808b874a1cdf58
[ "MIT" ]
1
2020-03-20T10:22:21.000Z
2020-03-20T10:22:21.000Z
parcels/scripts/__init__.py
CKehl/parcels
6e4d6a10157a9d1a7935b08f35808b874a1cdf58
[ "MIT" ]
null
null
null
parcels/scripts/__init__.py
CKehl/parcels
6e4d6a10157a9d1a7935b08f35808b874a1cdf58
[ "MIT" ]
null
null
null
from .plottrajectoriesfile import plotTrajectoriesFile # NOQA get flake8 to ignore unused import. from .plottrajectoriesfile import plotTrajectoriesFile_loadedField
55.333333
98
0.873494
16
166
9
0.625
0.333333
0.416667
0.694444
0
0
0
0
0
0
0
0.006711
0.10241
166
2
99
83
0.959732
0.240964
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
eae27e77cd5b0ee7052fc36a20b9c1e51b66b7e9
38
py
Python
Forward_Warp/__init__.py
hologerry/Forward-Warp
82a32a372383b3c69f9666cb5b8189dbfb05d328
[ "MIT" ]
81
2019-07-04T20:51:34.000Z
2022-03-26T15:58:42.000Z
Forward_Warp/__init__.py
hologerry/Forward-Warp
82a32a372383b3c69f9666cb5b8189dbfb05d328
[ "MIT" ]
9
2020-05-04T04:59:16.000Z
2021-12-21T19:06:31.000Z
Forward_Warp/__init__.py
hologerry/Forward-Warp
82a32a372383b3c69f9666cb5b8189dbfb05d328
[ "MIT" ]
9
2019-09-04T02:09:12.000Z
2021-11-27T09:31:49.000Z
from .forward_warp import forward_warp
38
38
0.894737
6
38
5.333333
0.666667
0.6875
0
0
0
0
0
0
0
0
0
0
0.078947
38
1
38
38
0.914286
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
d8164fe293053d95168cf3f8081dfe86918e89aa
2,205
py
Python
usaspending_api/awards/migrations/0013_add_new_location_fpds_fabs.py
truthiswill/usaspending-api
bd7d915442e2ec94cc830c480ceeffd4479be6c0
[ "CC0-1.0" ]
null
null
null
usaspending_api/awards/migrations/0013_add_new_location_fpds_fabs.py
truthiswill/usaspending-api
bd7d915442e2ec94cc830c480ceeffd4479be6c0
[ "CC0-1.0" ]
3
2020-02-12T01:16:46.000Z
2021-06-10T20:36:57.000Z
usaspending_api/awards/migrations/0013_add_new_location_fpds_fabs.py
truthiswill/usaspending-api
bd7d915442e2ec94cc830c480ceeffd4479be6c0
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-12-20 20:51 from __future__ import unicode_literals import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('awards', '0012_upper_index_fain_uri_awards'), ] ...
32.910448
58
0.599546
217
2,205
5.847926
0.271889
0.141844
0.181245
0.212766
0.799842
0.799842
0.799842
0.799842
0.758077
0.758077
0
0.017308
0.292517
2,205
66
59
33.409091
0.796154
0.030839
0
0.745763
1
0
0.201031
0.119963
0
0
0
0
0
1
0
false
0
0.050847
0
0.101695
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
dc447f8f224367f22f5aaa337bbc3eb5c5483367
11,319
py
Python
fe.py
RyanWhitell/Thesis
019feb61896ca1d5ab87e71910f3f31fcb6b08fe
[ "MIT" ]
null
null
null
fe.py
RyanWhitell/Thesis
019feb61896ca1d5ab87e71910f3f31fcb6b08fe
[ "MIT" ]
null
null
null
fe.py
RyanWhitell/Thesis
019feb61896ca1d5ab87e71910f3f31fcb6b08fe
[ "MIT" ]
1
2020-06-14T20:28:03.000Z
2020-06-14T20:28:03.000Z
import os import h5py import pickle import time import multiprocessing from tqdm import tqdm import sklearn import traceback import pandas as pd import ast import librosa as lr import numpy as np import argparse import FMA parser = argparse.ArgumentParser(description="extracts features") pars...
30.345845
144
0.618076
1,578
11,319
4.197085
0.119138
0.059188
0.043183
0.033218
0.807791
0.787408
0.779556
0.763702
0.763702
0.751321
0
0.036537
0.24799
11,319
373
145
30.345845
0.741541
0.026504
0
0.704545
0
0
0.112616
0.026719
0
0
0
0
0
1
0.05303
false
0.003788
0.05303
0
0.189394
0.098485
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
dc52eb1f1c50d98afe4fa89b1124cd6fbc58c83a
138
py
Python
alura-python/best-practices/test-long.py
wiltonpaulo/python-fullcourse
5befe60221a2e6f8a567a11e2f449245c11b3447
[ "MIT" ]
null
null
null
alura-python/best-practices/test-long.py
wiltonpaulo/python-fullcourse
5befe60221a2e6f8a567a11e2f449245c11b3447
[ "MIT" ]
null
null
null
alura-python/best-practices/test-long.py
wiltonpaulo/python-fullcourse
5befe60221a2e6f8a567a11e2f449245c11b3447
[ "MIT" ]
null
null
null
print("This is a long line to be printed on python exceeding", "the 79 characte to be printed on python exceeding the 79 charact")
46
74
0.731884
24
138
4.208333
0.666667
0.079208
0.217822
0.257426
0.653465
0.653465
0.653465
0.653465
0
0
0
0.037037
0.217391
138
2
75
69
0.898148
0
0
0
0
0
0.855072
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
dc857390422bc62ab9d2c4925ddeaed3432f13b7
6,404
py
Python
migration/tests/test_dump.py
tlasich/Submitty
cf9b6ceda15ec0a661e2ca81ea7864790094c64a
[ "BSD-3-Clause" ]
411
2016-06-14T20:52:25.000Z
2022-03-31T21:20:25.000Z
migration/tests/test_dump.py
KaelanWillauer/Submitty
cf9b6ceda15ec0a661e2ca81ea7864790094c64a
[ "BSD-3-Clause" ]
5,730
2016-05-23T21:04:32.000Z
2022-03-31T10:08:06.000Z
migration/tests/test_dump.py
KaelanWillauer/Submitty
cf9b6ceda15ec0a661e2ca81ea7864790094c64a
[ "BSD-3-Clause" ]
423
2016-09-22T21:11:30.000Z
2022-03-29T18:55:28.000Z
from argparse import Namespace from io import StringIO from pathlib import Path import sys from tempfile import TemporaryDirectory from types import SimpleNamespace from unittest import TestCase from unittest.mock import patch from migrator.main import dump COURSE_DB_FRAGMENT = """ -- -- PostgreSQL database dump -- ...
28.717489
93
0.642411
743
6,404
5.323015
0.193809
0.024273
0.033375
0.027307
0.867509
0.852086
0.839697
0.829583
0.829583
0.829583
0
0.018864
0.254997
6,404
222
94
28.846847
0.810103
0
0
0.778351
0
0.020619
0.475953
0.124297
0
0
0
0
0.06701
1
0.030928
false
0
0.046392
0
0.082474
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
dc9a83872294569313cf449f8cde27e5b9e3d9ad
1,440
py
Python
main_app/models.py
Jonak-Adipta-Kalita/JAK-Website
39c3723e95d99e990a2e23dbb05746def2ac903a
[ "MIT" ]
1
2021-08-31T14:21:16.000Z
2021-08-31T14:21:16.000Z
main_app/models.py
Jonak-Adipta-Kalita/JAK-Website
39c3723e95d99e990a2e23dbb05746def2ac903a
[ "MIT" ]
74
2021-11-03T03:19:12.000Z
2022-03-31T03:23:49.000Z
main_app/models.py
Jonak-Adipta-Kalita/JAK-Website
39c3723e95d99e990a2e23dbb05746def2ac903a
[ "MIT" ]
null
null
null
from django.db import models class Game_Own(models.Model): game_id = models.AutoField game_name = models.CharField(max_length=500, default="") game_link = models.CharField(max_length=500, default="") game_link = models.CharField(max_length=500, default="") desc = models.CharField(max_length=5000, ...
32
60
0.692361
187
1,440
5.069519
0.213904
0.189873
0.227848
0.303797
0.892405
0.892405
0.790084
0.753165
0.753165
0.753165
0
0.0285
0.171528
1,440
44
61
32.727273
0.766136
0
0
0.625
0
0
0.014583
0
0
0
0
0
0
1
0.125
false
0
0.03125
0.125
1
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
1
1
0
0
10
dca031d3e95f32dcee75fed9b57beac87f19fa75
5,717
py
Python
train_val.py
actionLUO/caffe-u-net
81525e862f84694c5594a6ffb9a33c53105ecec9
[ "MIT" ]
15
2017-11-28T17:17:37.000Z
2019-02-19T01:41:11.000Z
train_val.py
actionLUO/caffe-u-net
81525e862f84694c5594a6ffb9a33c53105ecec9
[ "MIT" ]
null
null
null
train_val.py
actionLUO/caffe-u-net
81525e862f84694c5594a6ffb9a33c53105ecec9
[ "MIT" ]
5
2017-12-04T18:32:54.000Z
2019-05-23T04:02:08.000Z
import caffe import numpy as np from PIL import Image import random class VALSegDataLayer(caffe.Layer): def setup(self, bottom, top): # config params = eval(self.param_str) self.val_dir = params['val_dir'] self.split = params['split'] self.mean = np.array(params['mean']) ...
31.070652
82
0.560784
740
5,717
4.278378
0.172973
0.04422
0.024637
0.034112
0.95578
0.95578
0.95578
0.95578
0.95578
0.95578
0
0.018349
0.313626
5,717
183
83
31.240437
0.788481
0.18926
0
0.867925
0
0
0.079676
0.026559
0
0
0
0
0
1
0.113208
false
0.018868
0.037736
0
0.207547
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
f4a0293aa55db3ff61bd4075dc5d057e45957289
187
py
Python
IDG/__init__.py
shoter/IotDeploymentGenerator
dbdeb792d41395ea2a0255c1dad2644e9118a68a
[ "MIT" ]
5
2021-07-21T07:11:22.000Z
2022-03-24T23:06:34.000Z
IDG/__init__.py
shoter/IotDeploymentGenerator
dbdeb792d41395ea2a0255c1dad2644e9118a68a
[ "MIT" ]
5
2021-07-19T21:56:17.000Z
2021-11-21T15:32:10.000Z
IDG/__init__.py
shoter/IotDeploymentGenerator
dbdeb792d41395ea2a0255c1dad2644e9118a68a
[ "MIT" ]
null
null
null
from IDG.jsonObject import JsonObject from IDG.deployment import Deployment from IDG.module import Module from IDG.routeSettings import RouteSettings from IDG.jsonObject import JsonObject
37.4
43
0.871658
25
187
6.52
0.28
0.214724
0.208589
0.282209
0.404908
0
0
0
0
0
0
0
0.101604
187
5
44
37.4
0.970238
0
0
0.4
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
76036dec3201c7aeedd8bf31d7e3367692fc7bac
488
py
Python
quarkchain/cluster/guardian.py
tim-yoshi/pyquarkchain
1847542c166a180b5ffc3c6e917751be85fa15a6
[ "MIT" ]
237
2018-09-18T00:47:14.000Z
2022-03-21T21:43:07.000Z
quarkchain/cluster/guardian.py
tim-yoshi/pyquarkchain
1847542c166a180b5ffc3c6e917751be85fa15a6
[ "MIT" ]
409
2018-09-18T01:02:29.000Z
2022-01-24T20:51:58.000Z
quarkchain/cluster/guardian.py
tim-yoshi/pyquarkchain
1847542c166a180b5ffc3c6e917751be85fa15a6
[ "MIT" ]
125
2018-09-18T00:47:28.000Z
2022-03-24T20:00:46.000Z
class Guardian: @staticmethod def adjust_difficulty(original_difficulty: int, block_height: int): return original_difficulty // 1000 # TODO: decide on the parameters for mainnet # if block_height < 1000: # return original_difficulty // 1000 # if block_height < 10000: ...
37.538462
71
0.639344
50
488
6.02
0.48
0.358804
0.398671
0.186047
0
0
0
0
0
0
0
0.081633
0.297131
488
12
72
40.666667
0.795918
0.528689
0
0
0
0
0
0
0
0
0
0.083333
0
1
0.25
false
0
0
0.25
0.75
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
7
7626a608f4b388f82b89ef205b2e842df1af1221
136
py
Python
7KYU/remove_chars.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
4
2021-07-17T22:48:03.000Z
2022-03-25T14:10:58.000Z
7KYU/remove_chars.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
null
null
null
7KYU/remove_chars.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
3
2021-06-14T14:18:16.000Z
2022-03-16T06:02:02.000Z
from string import ascii_letters def remove_chars(s: str) -> str: return ''.join([i for i in s if i in ascii_letters or i == ' '])
27.2
68
0.661765
25
136
3.48
0.68
0.275862
0
0
0
0
0
0
0
0
0
0
0.213235
136
5
68
27.2
0.813084
0
0
0
0
0
0.007299
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
7
762b3b62b5139223d68011a23a951a34085c19d8
44,262
py
Python
OmniDB/OmniDB_app/views/tree_mysql.py
swipswaps/OmniDB
03d2d791c50455176d20bc3513a48ff584164439
[ "MIT" ]
1
2019-05-29T19:46:28.000Z
2019-05-29T19:46:28.000Z
OmniDB/OmniDB_app/views/tree_mysql.py
swipswaps/OmniDB
03d2d791c50455176d20bc3513a48ff584164439
[ "MIT" ]
null
null
null
OmniDB/OmniDB_app/views/tree_mysql.py
swipswaps/OmniDB
03d2d791c50455176d20bc3513a48ff584164439
[ "MIT" ]
1
2019-03-11T06:57:43.000Z
2019-03-11T06:57:43.000Z
from django.http import HttpResponse from django.template import loader from django.http import JsonResponse from django.core import serializers import json import sys import OmniDB_app.include.Spartacus as Spartacus import OmniDB_app.include.Spartacus.Database as Database import OmniDB_app.include.Spartacus.Utils as...
33.710586
121
0.657426
5,921
44,262
4.522885
0.035805
0.105601
0.108738
0.078641
0.854294
0.848021
0.843428
0.839806
0.838872
0.83652
0
0.0016
0.223239
44,262
1,312
122
33.73628
0.777319
0.051195
0
0.834555
0
0
0.15585
0
0
0
0
0
0
1
0.028272
false
0.084817
0.011518
0
0.15288
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
5204fd498d504d54d600190862e2794d9a453b77
21,038
py
Python
test/test_train.py
youmingdeng/DMLPlayground
37070c10278597a4413303061d60d69ce2c4f87e
[ "Apache-2.0" ]
1
2021-11-11T16:05:56.000Z
2021-11-11T16:05:56.000Z
test/test_train.py
youmingdeng/DMLPlayground
37070c10278597a4413303061d60d69ce2c4f87e
[ "Apache-2.0" ]
null
null
null
test/test_train.py
youmingdeng/DMLPlayground
37070c10278597a4413303061d60d69ce2c4f87e
[ "Apache-2.0" ]
1
2020-04-01T04:50:36.000Z
2020-04-01T04:50:36.000Z
from unittest import TestCase from os.path import dirname, realpath, join from os import remove import glob try: # python 3.4+ should use builtin unittest.mock not mock package from unittest.mock import patch except ImportError: from mock import patch from train_triplet_semihard import train_triplet_semih...
40.457692
100
0.485597
1,847
21,038
5.283703
0.056849
0.066605
0.030741
0.056358
0.811866
0.803463
0.803463
0.795061
0.791372
0.780203
0
0.014113
0.373562
21,038
519
101
40.535645
0.726383
0.026856
0
0.775824
0
0
0.239063
0.053424
0
0
0
0
0
1
0.107692
false
0
0.041758
0
0.175824
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
520a3fe88c54e8711764b08dc4d3995b9e0ecaf0
22,387
py
Python
mltools/nnet.py
YYMatUCI/CS273AHW4
08c3fdbef0ff6b17a4e9ec33a411ea2c26e4bb5e
[ "MIT" ]
null
null
null
mltools/nnet.py
YYMatUCI/CS273AHW4
08c3fdbef0ff6b17a4e9ec33a411ea2c26e4bb5e
[ "MIT" ]
null
null
null
mltools/nnet.py
YYMatUCI/CS273AHW4
08c3fdbef0ff6b17a4e9ec33a411ea2c26e4bb5e
[ "MIT" ]
null
null
null
import numpy as np from .base import classifier from .base import regressor from .utils import toIndex, fromIndex, to1ofK, from1ofK from numpy import asarray as arr from numpy import atleast_2d as twod from numpy import asmatrix as mat ################################################################################...
41.304428
115
0.518158
2,775
22,387
4.133333
0.11964
0.023191
0.009765
0.00959
0.847602
0.838187
0.824237
0.819355
0.813078
0.778204
0
0.017939
0.325189
22,387
541
116
41.380776
0.741312
0.390271
0
0.716102
0
0
0.077903
0.009247
0
0
0
0.003697
0
1
0.118644
false
0.008475
0.029661
0.012712
0.224576
0.008475
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
527b73aee44ee88ced39668230059e2d1d7deb50
4,317
py
Python
src/vision/Main.py
shockwave4488/FRC-2019-Public
174ac97c000d915ed96ec839efb480c0ab1f11e0
[ "MIT" ]
null
null
null
src/vision/Main.py
shockwave4488/FRC-2019-Public
174ac97c000d915ed96ec839efb480c0ab1f11e0
[ "MIT" ]
null
null
null
src/vision/Main.py
shockwave4488/FRC-2019-Public
174ac97c000d915ed96ec839efb480c0ab1f11e0
[ "MIT" ]
null
null
null
import libjevois as jevois import cv2 import numpy as np class Tests: def process(self, inframe, outframe): img = inframe.getCvBGR() hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV) lowerMask = cv2.inRange(hsv, np.array([60, 120, 240]), np.array([100, 255, 255])) upperMask = cv2.inRange(...
41.114286
128
0.495483
490
4,317
4.336735
0.17551
0.022588
0.022588
0.028235
0.939294
0.939294
0.939294
0.939294
0.939294
0.939294
0
0.079359
0.378272
4,317
105
129
41.114286
0.71237
0
0
0.927835
0
0
0.003242
0
0
0
0
0
0
1
0.020619
false
0
0.030928
0
0.061856
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
bfdb6e03802358cb7f8e76820e1b2aed148e88a8
10,297
py
Python
src/models/networks.py
herbiebradley/CycleGAN-Tensorflow
495198b4473118b023891fb8e19465c0219c0907
[ "MIT" ]
6
2019-05-29T17:33:56.000Z
2021-05-13T20:03:26.000Z
src/models/networks.py
herbiebradley/CycleGAN-Tensorflow
495198b4473118b023891fb8e19465c0219c0907
[ "MIT" ]
3
2019-12-28T18:49:41.000Z
2020-09-26T08:50:03.000Z
src/models/networks.py
herbiebradley/CycleGAN-Tensorflow
495198b4473118b023891fb8e19465c0219c0907
[ "MIT" ]
3
2019-12-11T03:44:59.000Z
2020-04-29T06:06:40.000Z
import tensorflow as tf """ This file defines the CycleGAN generator and discriminator. Options are included for extra skips, instance norm, dropout, and resize conv instead of deconv """ class Encoder(tf.keras.Model): def __init__(self, opt): super(Encoder, self).__init__() self.use_dropout = opt...
43.447257
122
0.572497
1,345
10,297
4.26171
0.095911
0.037509
0.045359
0.073273
0.843336
0.834264
0.80984
0.804431
0.763259
0.763259
0
0.028839
0.306303
10,297
236
123
43.631356
0.773625
0.024376
0
0.755
0
0
0.007897
0
0
0
0
0
0
1
0.05
false
0
0.005
0
0.105
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
876135991d0dfea8ef195aa5ae996f23c310a1f1
1,334
py
Python
scaler.py
Mythologyli/MLP-BP
5d027f7dda64eaac1198b133fdc76889b1fa446c
[ "MIT" ]
null
null
null
scaler.py
Mythologyli/MLP-BP
5d027f7dda64eaac1198b133fdc76889b1fa446c
[ "MIT" ]
null
null
null
scaler.py
Mythologyli/MLP-BP
5d027f7dda64eaac1198b133fdc76889b1fa446c
[ "MIT" ]
null
null
null
class Scaler1D: def __init__(self) -> None: self.max_num: float = None self.min_num: float = None def transform(self, num_list: list) -> list: if self.max_num is None: self.max_num = max(num_list) if self.min_num is None: self.min_num = min(num_list) ...
32.536585
85
0.574213
214
1,334
3.336449
0.102804
0.159664
0.252101
0.163866
0.935574
0.922969
0.922969
0.917367
0.917367
0.795518
0
0.010684
0.298351
1,334
40
86
33.35
0.752137
0
0
0.571429
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0
0.071429
0.428571
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
1
0
0
0
0
0
0
0
9
5e4d3df13c1df41c5d58cdfbec83bea71969f6e5
12,667
py
Python
core/Racifier.py
Gimongi/build-a-bard
aff45e68b6f52ebaed00771d76ddbf4f7b55aa34
[ "MIT" ]
null
null
null
core/Racifier.py
Gimongi/build-a-bard
aff45e68b6f52ebaed00771d76ddbf4f7b55aa34
[ "MIT" ]
null
null
null
core/Racifier.py
Gimongi/build-a-bard
aff45e68b6f52ebaed00771d76ddbf4f7b55aa34
[ "MIT" ]
null
null
null
from core.Character import Character from data.CharRace import CharRace class Racifier: # def __init__(self, character): # self.character = character # pass @staticmethod def applyRaceToCharacter(character): # type: (Character) -> None if character.charRace == CharRace.aa...
30.819951
125
0.561222
1,104
12,667
6.432065
0.108696
0.210393
0.280524
0.181665
0.841431
0.778059
0.763554
0.741304
0.703422
0.645965
0
0.022002
0.354149
12,667
411
126
30.819951
0.845985
0.068367
0
0.786207
0
0
0.043667
0
0
0
0
0.002433
0
1
0.003448
false
0.148276
0.006897
0
0.013793
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
11
5e5e007baa8b98ec3da1f5d783bca6f1da6d3658
2,412
py
Python
py/lib/test/test_resnet.py
zjZSTU/ResNet
f185d1d24cdc96a533b2cf2df94f68172d820cb3
[ "Apache-2.0" ]
2
2021-02-23T22:37:48.000Z
2021-09-09T02:41:45.000Z
py/lib/test/test_resnet.py
zjZSTU/ResNet
f185d1d24cdc96a533b2cf2df94f68172d820cb3
[ "Apache-2.0" ]
null
null
null
py/lib/test/test_resnet.py
zjZSTU/ResNet
f185d1d24cdc96a533b2cf2df94f68172d820cb3
[ "Apache-2.0" ]
1
2021-09-09T02:41:57.000Z
2021-09-09T02:41:57.000Z
# -*- coding: utf-8 -*- """ @date: 2020/4/28 下午9:07 @file: test_resnet.py @author: zj @description: """ import torch from models.resnet import res_net def test_resnet18(): N = 1 num_classes = 20 data = torch.randn((N, 3, 224, 224)) model = res_net.resnet18(num_classes=num_classes) outputs = mo...
19.770492
57
0.64262
354
2,412
4.175141
0.118644
0.270636
0.03383
0.081191
0.916779
0.916779
0.916779
0.916779
0.916779
0.916779
0
0.090958
0.229685
2,412
121
58
19.933884
0.704521
0.039386
0
0.694444
0
0
0
0
0
0
0
0
0.138889
1
0.138889
false
0
0.027778
0
0.166667
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
5e9e9475c46d44428b2f4d05998128ecd7cb118c
3,328
py
Python
pynos/versions/ver_7/ver_7_1_0/yang/brocade_diagnostics.py
bdeetz/pynos
bd8a34e98f322de3fc06750827d8bbc3a0c00380
[ "Apache-2.0" ]
12
2015-09-21T23:56:09.000Z
2018-03-30T04:35:32.000Z
pynos/versions/ver_7/ver_7_1_0/yang/brocade_diagnostics.py
bdeetz/pynos
bd8a34e98f322de3fc06750827d8bbc3a0c00380
[ "Apache-2.0" ]
10
2016-09-15T19:03:27.000Z
2017-07-17T23:38:01.000Z
pynos/versions/ver_7/ver_7_1_0/yang/brocade_diagnostics.py
bdeetz/pynos
bd8a34e98f322de3fc06750827d8bbc3a0c00380
[ "Apache-2.0" ]
6
2015-08-14T08:05:23.000Z
2022-02-03T15:33:54.000Z
#!/usr/bin/env python import xml.etree.ElementTree as ET class brocade_diagnostics(object): """Auto generated class. """ def __init__(self, **kwargs): self._callback = kwargs.pop('callback') def diag_post_rbridge_id_enable(self, **kwargs): """Auto Generated Code "...
38.252874
94
0.619291
384
3,328
5.210938
0.098958
0.161919
0.111944
0.125937
0.931534
0.931534
0.931534
0.931534
0.931534
0.931534
0
0
0.24369
3,328
87
95
38.252874
0.794994
0.066406
0
0.928571
1
0
0.170573
0.078125
0
0
0
0
0
1
0.125
false
0
0.017857
0
0.267857
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
5e9e9505a6c27ec381413f431bde0bbf500fba09
5,801
py
Python
spacenet/schemas/test/test_resource.py
space-logistics-org/spacenet
fd004437ed7b27dd6dc41a374e1dedfcea92e37d
[ "MIT" ]
1
2022-02-17T18:01:41.000Z
2022-02-17T18:01:41.000Z
spacenet/schemas/test/test_resource.py
space-logistics-org/spacenet
fd004437ed7b27dd6dc41a374e1dedfcea92e37d
[ "MIT" ]
2
2021-06-19T19:41:15.000Z
2021-07-21T17:07:48.000Z
spacenet/schemas/test/test_resource.py
space-logistics-org/spacenet
fd004437ed7b27dd6dc41a374e1dedfcea92e37d
[ "MIT" ]
3
2021-06-16T16:31:12.000Z
2022-02-17T18:02:57.000Z
""" This module contains tests for resources. """ import unittest import pytest from pydantic import ValidationError from spacenet.schemas.resource import ( ClassOfSupply, ContinuousResource, DiscreteResource, ResourceType, ) pytestmark = [pytest.mark.unit, pytest.mark.resource, pytest.mark.schema] ...
28.860697
73
0.53577
507
5,801
5.794872
0.122288
0.032675
0.053097
0.065351
0.903336
0.903336
0.900613
0.890402
0.890402
0.888019
0
0.024581
0.382865
5,801
200
74
29.005
0.796089
0.007068
0
0.879121
0
0
0.025382
0
0
0
0
0
0.10989
1
0.054945
false
0
0.021978
0
0.087912
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
0d7326ef05aa33fdcc0e26fd331e229d82688739
1,450
py
Python
tests/rules/test_integer.py
bakurits/Validator
4e666cf3cb2805e44baa257fed77df44662e6f86
[ "MIT" ]
null
null
null
tests/rules/test_integer.py
bakurits/Validator
4e666cf3cb2805e44baa257fed77df44662e6f86
[ "MIT" ]
null
null
null
tests/rules/test_integer.py
bakurits/Validator
4e666cf3cb2805e44baa257fed77df44662e6f86
[ "MIT" ]
null
null
null
from validator.rules import Integer def test_integer_01(): assert Integer().check("23") assert Integer().check("0") assert Integer().check("99999") assert Integer().check("85189125") assert Integer().check("-1") assert Integer().check("-10000") assert Integer().check("-161651651") ...
18.589744
56
0.642069
189
1,450
4.851852
0.164021
0.431843
0.331516
0.435115
0.876772
0.827699
0.827699
0.827699
0.758997
0.758997
0
0.127334
0.187586
1,450
77
57
18.831169
0.651104
0
0
0
0
0
0.06069
0.015172
0
0
0
0
0.846154
1
0.128205
true
0
0.025641
0
0.153846
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
11
0d8f0cf0011d129ad0fba8c0f439b9a078fb1d62
20,417
py
Python
psono/administration/tests/user.py
dirigeant/psono-server
a18c5b3c4d8bbbe4ecf1615b210d99fb77752205
[ "Apache-2.0", "CC0-1.0" ]
48
2018-04-19T15:50:58.000Z
2022-01-23T15:58:11.000Z
psono/administration/tests/user.py
dirigeant/psono-server
a18c5b3c4d8bbbe4ecf1615b210d99fb77752205
[ "Apache-2.0", "CC0-1.0" ]
9
2018-09-13T14:56:18.000Z
2020-01-17T16:44:33.000Z
psono/administration/tests/user.py
dirigeant/psono-server
a18c5b3c4d8bbbe4ecf1615b210d99fb77752205
[ "Apache-2.0", "CC0-1.0" ]
11
2019-09-20T11:53:47.000Z
2021-07-18T22:41:31.000Z
from django.urls import reverse from django.conf import settings from django.contrib.auth.hashers import make_password from rest_framework import status import random import string import binascii import os from mock import patch from restapi.utils import encrypt_with_db_secret from restapi import models from restapi...
40.190945
138
0.678307
2,540
20,417
5.132283
0.069291
0.108622
0.049555
0.06996
0.896057
0.884167
0.866293
0.853483
0.852869
0.849033
0
0.026762
0.220356
20,417
507
139
40.270217
0.792185
0.026498
0
0.715942
0
0
0.059161
0.024351
0
0
0
0
0.057971
1
0.057971
false
0.031884
0.034783
0
0.104348
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
0dba619c85084143952db642b02ef58cfc0fdfbb
25,029
py
Python
src/tests/api/test_oauth.py
upsidedownpancake/pretix
bfeeb1028c9eccab4936029db7c38edd4cd5aad5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/tests/api/test_oauth.py
upsidedownpancake/pretix
bfeeb1028c9eccab4936029db7c38edd4cd5aad5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/tests/api/test_oauth.py
upsidedownpancake/pretix
bfeeb1028c9eccab4936029db7c38edd4cd5aad5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import base64 import json import pytest from django.utils.http import urlquote from django.utils.timezone import now from pretix.api.models import ( OAuthAccessToken, OAuthApplication, OAuthGrant, OAuthRefreshToken, ) from pretix.base.models import Event, Organizer, Team, User @pytest.fixture def organizer(): ...
42.638842
125
0.675736
3,014
25,029
5.436961
0.049768
0.041496
0.057607
0.072008
0.914872
0.914872
0.906999
0.893513
0.884604
0.874535
0
0.015626
0.169004
25,029
586
126
42.711604
0.772249
0.001398
0
0.854442
0
0.00189
0.236285
0.079189
0
0
0
0
0.177694
1
0.045369
false
0.035917
0.013233
0.005671
0.068053
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
0dd41d69bdb9838f51c6c8f8274f6301a2557bc0
21,488
py
Python
bookclubs/tests/views/club_views/test_update_club_info.py
hihi-itsann/SEG_Major_Group
bec3d333da59361fd3036f20bb4d7aa82bc3fa5e
[ "MIT" ]
6
2022-02-05T23:03:59.000Z
2022-02-08T03:08:58.000Z
bookclubs/tests/views/club_views/test_update_club_info.py
hihi-itsann/SEG_Major_Group
bec3d333da59361fd3036f20bb4d7aa82bc3fa5e
[ "MIT" ]
2
2022-03-13T04:18:25.000Z
2022-03-16T20:49:53.000Z
bookclubs/tests/views/club_views/test_update_club_info.py
hihi-itsann/SEG_Major_Group
bec3d333da59361fd3036f20bb4d7aa82bc3fa5e
[ "MIT" ]
null
null
null
from django.test import TestCase from django.urls import reverse from bookclubs.forms import ClubForm from bookclubs.models import Club, User, Role class UpdateClubViewTestCase(TestCase): """Tests for updating club information""" fixtures = [ 'bookclubs/tests/fixtures/default_user.json', 'bo...
52.029056
263
0.678146
2,547
21,488
5.53671
0.05693
0.111686
0.102397
0.038718
0.932775
0.907176
0.886045
0.871791
0.856403
0.852574
0
0.018628
0.20807
21,488
412
264
52.15534
0.810072
0.01452
0
0.705094
0
0.021448
0.197761
0.022582
0
0
0
0
0.380697
1
0.053619
false
0.045576
0.010724
0
0.069705
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
0dec8663a4a73eae1d6cb5127d04d8f7bd41b460
4,074
py
Python
NLPFrontEnd/FrontEnd/migrations/0014_auto_20190707_2337.py
rodricass/cerberus.com
2ca644590608b8109a695a1195206c2fffa728f8
[ "Unlicense" ]
null
null
null
NLPFrontEnd/FrontEnd/migrations/0014_auto_20190707_2337.py
rodricass/cerberus.com
2ca644590608b8109a695a1195206c2fffa728f8
[ "Unlicense" ]
null
null
null
NLPFrontEnd/FrontEnd/migrations/0014_auto_20190707_2337.py
rodricass/cerberus.com
2ca644590608b8109a695a1195206c2fffa728f8
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2019-07-08 02:37 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('FrontEnd', '0013_auto_20190705_2343'), ] operations = [ migrations.AddFiel...
33.121951
66
0.573883
301
4,074
7.571429
0.172757
0.071084
0.157964
0.201404
0.914875
0.865731
0.865731
0.827556
0.827556
0.827556
0
0.012301
0.321551
4,074
122
67
33.393443
0.812229
0.016937
0
0.921739
1
0
0.187656
0.116692
0
0
0
0
0
1
0
false
0
0.017391
0
0.043478
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
21fd95b459168dd1de1ddaad3c7965640af04337
110
py
Python
flowgraph/integration_tests/data/numpy_meshgrid.py
Bhaskers-Blu-Org1/pyflowgraph
0a08a978fcab124a27fdb660048d417a80fb082c
[ "Apache-2.0" ]
17
2019-01-01T02:03:35.000Z
2021-11-18T15:34:50.000Z
flowgraph/integration_tests/data/numpy_meshgrid.py
Bhaskers-Blu-Org1/pyflowgraph
0a08a978fcab124a27fdb660048d417a80fb082c
[ "Apache-2.0" ]
25
2018-08-11T03:49:36.000Z
2021-11-08T17:26:39.000Z
flowgraph/integration_tests/data/numpy_meshgrid.py
IBM/pyflowgraph
0a08a978fcab124a27fdb660048d417a80fb082c
[ "Apache-2.0" ]
5
2018-08-09T21:26:37.000Z
2021-07-06T02:58:41.000Z
import numpy as np xx, yy = np.meshgrid(np.linspace(-3, 3, 50), np.linspace(-3, 3, 50))
22
44
0.518182
18
110
3.166667
0.555556
0.350877
0.385965
0.421053
0.491228
0
0
0
0
0
0
0.106667
0.318182
110
4
45
27.5
0.653333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
1d085788126490ee1ae7b3818b9a1fe7de619a1e
64,445
py
Python
GAS/run_first_look.py
SpandanCh/GAS
d85961790f21662ac4fb1c9ba3edc71f92973be4
[ "MIT" ]
null
null
null
GAS/run_first_look.py
SpandanCh/GAS
d85961790f21662ac4fb1c9ba3edc71f92973be4
[ "MIT" ]
null
null
null
GAS/run_first_look.py
SpandanCh/GAS
d85961790f21662ac4fb1c9ba3edc71f92973be4
[ "MIT" ]
null
null
null
import os import textwrap import warnings import numpy as np from astropy.table import Table, join import astropy.units as u from spectral_cube import SpectralCube from pyspeckit.spectrum.models.ammonia_constants import voff_lines_dict from skimage.morphology import disk,erosion from . import first_look from . import g...
47.525811
143
0.622934
9,442
64,445
3.959966
0.06058
0.056486
0.047285
0.075047
0.874753
0.865686
0.860845
0.859829
0.852715
0.842792
0
0.056796
0.245124
64,445
1,355
144
47.560886
0.711787
0.234138
0
0.768953
0
0
0.083738
0.011799
0
0
0
0
0
1
0.027678
false
0
0.015644
0
0.044525
0.049338
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
df8554c81bd0eb980b3145b5ad27fbba7ea10b66
5,242
py
Python
DatagramIterator.py
ethanlindley/datagram-python
09deaee853cfb084a7e619a12afe8b0221e6edae
[ "MIT" ]
1
2018-05-17T07:04:09.000Z
2018-05-17T07:04:09.000Z
DatagramIterator.py
ethanlindley/datagram-python
09deaee853cfb084a7e619a12afe8b0221e6edae
[ "MIT" ]
null
null
null
DatagramIterator.py
ethanlindley/datagram-python
09deaee853cfb084a7e619a12afe8b0221e6edae
[ "MIT" ]
null
null
null
import struct from .Datagram import Datagram class DatagramIterator: def __init__(self, dg, index=0): self.dg = dg # let's keep track of our postition in the datagram self.index = index def get_bool(self): return self.get_uint8() != 0 def get_string(self): if sel...
29.615819
59
0.512018
680
5,242
3.823529
0.086765
0.218077
0.148846
0.126923
0.850385
0.843077
0.843077
0.843077
0.831538
0.831538
0
0.023221
0.359214
5,242
176
60
29.784091
0.750819
0.017932
0
0.727273
0
0
0.007001
0
0
0
0
0.005682
0
1
0.181818
false
0.020979
0.013986
0.006993
0.356643
0
0
0
0
null
1
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
8
10ca690c28d72a3054fba8a3ad52d990e62cf508
3,430
py
Python
script_create_train_test.py
kunovg/EcoBici
f0f22ccff46320e5f9ef238424dc83ca9ddbf50d
[ "MIT" ]
null
null
null
script_create_train_test.py
kunovg/EcoBici
f0f22ccff46320e5f9ef238424dc83ca9ddbf50d
[ "MIT" ]
null
null
null
script_create_train_test.py
kunovg/EcoBici
f0f22ccff46320e5f9ef238424dc83ca9ddbf50d
[ "MIT" ]
null
null
null
from datetime import datetime as dt, timedelta as td import models as m from sqlalchemy import and_, func, or_, extract from tqdm import tqdm start = dt(2015, 1, 1) end = dt(2017, 1, 1) minutes_delta = 15 with open('trips_train_3.csv', 'w') as file: while start < end: if start.isoweekday() not in range(1,...
38.111111
89
0.567638
459
3,430
4.124183
0.167756
0.101426
0.088748
0.133122
0.874274
0.860539
0.860539
0.837824
0.832541
0.799789
0
0.037634
0.295044
3,430
89
90
38.539326
0.745244
0.006706
0
0.8375
0
0
0.042878
0.022026
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.0375
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
10e0d15d363ecc58f79a6d23bfea548a338b48ac
14,999
py
Python
psono/administration/tests/session.py
dirigeant/psono-server
a18c5b3c4d8bbbe4ecf1615b210d99fb77752205
[ "Apache-2.0", "CC0-1.0" ]
48
2018-04-19T15:50:58.000Z
2022-01-23T15:58:11.000Z
psono/administration/tests/session.py
dirigeant/psono-server
a18c5b3c4d8bbbe4ecf1615b210d99fb77752205
[ "Apache-2.0", "CC0-1.0" ]
9
2018-09-13T14:56:18.000Z
2020-01-17T16:44:33.000Z
psono/administration/tests/session.py
dirigeant/psono-server
a18c5b3c4d8bbbe4ecf1615b210d99fb77752205
[ "Apache-2.0", "CC0-1.0" ]
11
2019-09-20T11:53:47.000Z
2021-07-18T22:41:31.000Z
from django.urls import reverse from django.conf import settings from django.contrib.auth.hashers import make_password from django.utils import timezone from rest_framework import status from datetime import timedelta import random import string import binascii import os from restapi import models from restapi.tests....
43.100575
114
0.684112
1,857
14,999
5.204093
0.07539
0.124172
0.056291
0.07947
0.923531
0.919599
0.90894
0.897661
0.896109
0.896109
0
0.025075
0.218281
14,999
347
115
43.224784
0.799147
0.019335
0
0.794677
0
0
0.048467
0.020074
0
0
0
0
0.034221
1
0.041825
false
0.034221
0.04943
0
0.106464
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
80027d271b2b832a4038db11c12c18abf63fb514
1,751
py
Python
app/core/models.py
danish21752/audio_apis
932a74c51e67394b1c3cba0bcd22a636ea11aeb1
[ "MIT" ]
null
null
null
app/core/models.py
danish21752/audio_apis
932a74c51e67394b1c3cba0bcd22a636ea11aeb1
[ "MIT" ]
null
null
null
app/core/models.py
danish21752/audio_apis
932a74c51e67394b1c3cba0bcd22a636ea11aeb1
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.postgres.fields import ArrayField from core import services class Song(models.Model): id = models.UUIDField( primary_key=True, default=services.CommonService.generate_id, editable=False, db_index=True, ) name = models.CharFi...
31.267857
72
0.698458
218
1,751
5.440367
0.247706
0.068297
0.106239
0.144182
0.838954
0.816189
0.816189
0.784148
0.784148
0.667791
0
0.018545
0.199315
1,751
55
73
31.836364
0.827389
0
0
0.622222
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0.066667
0.622222
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
7
338a165dcffb3030d04f841ad00dfd870bc1e703
72
py
Python
stan/plotter/__init__.py
itsens/stan
1632a55bf752bba09f3459e333f2a6970e1148c4
[ "MIT" ]
null
null
null
stan/plotter/__init__.py
itsens/stan
1632a55bf752bba09f3459e333f2a6970e1148c4
[ "MIT" ]
null
null
null
stan/plotter/__init__.py
itsens/stan
1632a55bf752bba09f3459e333f2a6970e1148c4
[ "MIT" ]
null
null
null
from .plotly_graph import PlotlyGraph from .plotly_graph import SarGraph
36
37
0.875
10
72
6.1
0.6
0.327869
0.491803
0.688525
0
0
0
0
0
0
0
0
0.097222
72
2
38
36
0.938462
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
33a67873dc20f21cfeb6d0b297a2566c006bf90d
196
py
Python
mdutils/__init__.py
Alexmod/mdutils
97d28346fabb851e068963da6dabfbcaa145c4e0
[ "MIT" ]
110
2019-09-10T13:28:40.000Z
2022-03-27T23:38:41.000Z
mdutils/__init__.py
Alexmod/mdutils
97d28346fabb851e068963da6dabfbcaa145c4e0
[ "MIT" ]
43
2018-05-05T00:56:48.000Z
2022-03-27T16:06:37.000Z
mdutils/__init__.py
Alexmod/mdutils
97d28346fabb851e068963da6dabfbcaa145c4e0
[ "MIT" ]
39
2019-12-19T03:54:54.000Z
2022-03-28T22:08:01.000Z
from mdutils.fileutils import fileutils from mdutils.mdutils import MdUtils from mdutils.tools import Header, Link, Image, TextUtils, Table, TableOfContents from mdutils.tools import Html, MDList
39.2
80
0.836735
26
196
6.307692
0.5
0.268293
0.195122
0.268293
0
0
0
0
0
0
0
0
0.112245
196
4
81
49
0.942529
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
1d6eb29111ad1ce0c30eef535770cf4ac323a3ad
169
py
Python
klar_eda/visualize/__init__.py
Sibasish-Padhy/klar-EDA
6186981fda87e367a0013d4568e7f2fd094e56ed
[ "MIT" ]
17
2020-09-27T12:18:32.000Z
2022-02-27T13:54:12.000Z
klar_eda/visualize/__init__.py
Sibasish-Padhy/klar-EDA
6186981fda87e367a0013d4568e7f2fd094e56ed
[ "MIT" ]
32
2020-09-27T18:48:23.000Z
2022-03-01T04:48:57.000Z
klar_eda/visualize/__init__.py
Sibasish-Padhy/klar-EDA
6186981fda87e367a0013d4568e7f2fd094e56ed
[ "MIT" ]
27
2020-09-27T12:30:38.000Z
2022-02-24T18:48:30.000Z
from . import constants from . import csv_visualize from . import image_visualize from . import visualize import pkg_resources pkg_resources.declare_namespace(__name__)
24.142857
41
0.846154
22
169
6.090909
0.5
0.298507
0.283582
0
0
0
0
0
0
0
0
0
0.112426
169
6
42
28.166667
0.893333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
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
1da94c6022cfed4414dc46a5f967908db9100af6
4,408
py
Python
tests/test_cache_decorator.py
sslivkoff/toolcache
62fb3441adb03fdee4fdbca14605f0ecec2ad44c
[ "Apache-2.0" ]
null
null
null
tests/test_cache_decorator.py
sslivkoff/toolcache
62fb3441adb03fdee4fdbca14605f0ecec2ad44c
[ "Apache-2.0" ]
null
null
null
tests/test_cache_decorator.py
sslivkoff/toolcache
62fb3441adb03fdee4fdbca14605f0ecec2ad44c
[ "Apache-2.0" ]
null
null
null
import pytest import toolcache cachetypes = ['memory', 'disk'] @pytest.mark.parametrize('cachetype', cachetypes) def test_cachetype_memory(cachetype): function_call_count = {} @toolcache.cache(cachetype=cachetype) def test_function(a, b, c): function_call_count.setdefault(test_function, 0) ...
28.43871
71
0.682396
625
4,408
4.5456
0.1056
0.147835
0.161563
0.116156
0.879268
0.873284
0.841957
0.784583
0.726857
0.715593
0
0.03421
0.197595
4,408
154
72
28.623377
0.769013
0.012024
0
0.701754
0
0
0.018169
0
0
0
0
0
0.27193
1
0.122807
false
0.008772
0.017544
0.017544
0.210526
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
d51a5b596605b16d5f23adc88a20b79f2e54b532
11,495
py
Python
scripts/xdcAddBlocks.py
FoRTE-Research/RingRAM
091cbc43b2c4088a3564c31f4d0a53731e2b570f
[ "MIT" ]
2
2021-12-29T11:54:51.000Z
2022-03-01T21:16:29.000Z
scripts/xdcAddBlocks.py
FoRTE-Research/RingRAM
091cbc43b2c4088a3564c31f4d0a53731e2b570f
[ "MIT" ]
null
null
null
scripts/xdcAddBlocks.py
FoRTE-Research/RingRAM
091cbc43b2c4088a3564c31f4d0a53731e2b570f
[ "MIT" ]
null
null
null
DEFAULT_FPGA='VC709' def addClock(file, FPGA=DEFAULT_FPGA): file.write("#Clock Source\r\n") if(FPGA=='VC709'): file.write("set_property IOSTANDARD DIFF_SSTL15 [get_ports clk_p]\r\n") file.write("set_property PACKAGE_PIN H19 [get_ports clk_p]\r\n") file.write("set_property PACKAGE_PIN G1...
70.95679
116
0.682645
1,727
11,495
4.297626
0.097279
0.1346
0.063864
0.117084
0.910671
0.840609
0.816761
0.802075
0.7917
0.771355
0
0.067092
0.167551
11,495
161
117
71.397516
0.708538
0
0
0.472222
0
0.013889
0.712894
0.088655
0
0
0
0
0
1
0.055556
false
0
0
0
0.055556
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
d539eb66b0fa379721ef3cfb091a9bcebe71a54c
92
py
Python
rick_db/version.py
oddbit-project/rick_db
02910c071f3ad58fdd88b2a27bfdd2bc61497d42
[ "MIT" ]
null
null
null
rick_db/version.py
oddbit-project/rick_db
02910c071f3ad58fdd88b2a27bfdd2bc61497d42
[ "MIT" ]
null
null
null
rick_db/version.py
oddbit-project/rick_db
02910c071f3ad58fdd88b2a27bfdd2bc61497d42
[ "MIT" ]
null
null
null
RICK_DB_VERSION = ["0", "9", "4"] def get_version(): return ".".join(RICK_DB_VERSION)
15.333333
36
0.619565
14
92
3.714286
0.714286
0.230769
0.5
0
0
0
0
0
0
0
0
0.038961
0.163043
92
5
37
18.4
0.636364
0
0
0
0
0
0.043478
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
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
1
0
0
0
1
1
0
0
7
d55347b62cc63c59ce8fb37dbbab895c5123dc8c
110
py
Python
math-question-generator.py
happyhipster/math-question-generator
e626946611df6c5bda5130dcbd2c9dc43f4dbcd9
[ "Apache-2.0" ]
null
null
null
math-question-generator.py
happyhipster/math-question-generator
e626946611df6c5bda5130dcbd2c9dc43f4dbcd9
[ "Apache-2.0" ]
null
null
null
math-question-generator.py
happyhipster/math-question-generator
e626946611df6c5bda5130dcbd2c9dc43f4dbcd9
[ "Apache-2.0" ]
1
2021-07-25T04:02:27.000Z
2021-07-25T04:02:27.000Z
# 1. generate random number # 2. print the random number from random import randint print(randint(1, 10))
22
29
0.727273
17
110
4.705882
0.647059
0.3
0
0
0
0
0
0
0
0
0
0.05618
0.190909
110
5
30
22
0.842697
0.472727
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
7
63a06ffa224beda238cb88a758bd1342688e0dd0
242
py
Python
src/experiment_manager/StorageMan.py
gentaman/experiment_manager
ca57ec1340c6fd04031328204556ac414fa09f50
[ "MIT" ]
null
null
null
src/experiment_manager/StorageMan.py
gentaman/experiment_manager
ca57ec1340c6fd04031328204556ac414fa09f50
[ "MIT" ]
null
null
null
src/experiment_manager/StorageMan.py
gentaman/experiment_manager
ca57ec1340c6fd04031328204556ac414fa09f50
[ "MIT" ]
null
null
null
# TODO: Implement class StorageMan(): """ Storage Manager """ def __init__(self): pass def stroe_info(self): pass def store_result(self): pass def _get_file_path(self): pass
13.444444
29
0.53719
26
242
4.653846
0.653846
0.264463
0.272727
0
0
0
0
0
0
0
0
0
0.367769
242
17
30
14.235294
0.79085
0.132231
0
0.444444
0
0
0
0
0
0
0
0.058824
0
1
0.444444
false
0.444444
0
0
0.555556
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
1
0
0
7
63cee594e5866a28bb6504e4983404377bc5a320
8,242
py
Python
accelbyte_py_sdk/api/ugc/wrappers/_public_group.py
AccelByte/accelbyte-python-sdk
dcd311fad111c59da828278975340fb92e0f26f7
[ "MIT" ]
null
null
null
accelbyte_py_sdk/api/ugc/wrappers/_public_group.py
AccelByte/accelbyte-python-sdk
dcd311fad111c59da828278975340fb92e0f26f7
[ "MIT" ]
1
2021-10-13T03:46:58.000Z
2021-10-13T03:46:58.000Z
accelbyte_py_sdk/api/ugc/wrappers/_public_group.py
AccelByte/accelbyte-python-sdk
dcd311fad111c59da828278975340fb92e0f26f7
[ "MIT" ]
null
null
null
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template file: justice_py_sdk_codegen/__main__.py # pylint: disable=duplicate-code # pylint: disable=li...
37.463636
220
0.710871
1,021
8,242
5.516161
0.107738
0.038352
0.076705
0.051136
0.791193
0.749645
0.749645
0.748757
0.732067
0.732067
0
0.000602
0.193885
8,242
219
221
37.634703
0.84708
0.092939
0
0.757396
1
0
0
0
0
0
0
0
0
1
0.035503
false
0
0.100592
0
0.278107
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
893f431e1ff4eefd3b98f63e66f686e6bc88fa1a
30,025
py
Python
pdc/apps/componentbranch/tests.py
hluk/product-definition-center
af79f73c30fa5f5709ba03d584b7a49b83166b81
[ "MIT" ]
18
2015-12-15T17:56:18.000Z
2021-04-10T13:49:48.000Z
pdc/apps/componentbranch/tests.py
hluk/product-definition-center
af79f73c30fa5f5709ba03d584b7a49b83166b81
[ "MIT" ]
303
2015-11-18T07:37:06.000Z
2021-05-26T12:34:01.000Z
pdc/apps/componentbranch/tests.py
hluk/product-definition-center
af79f73c30fa5f5709ba03d584b7a49b83166b81
[ "MIT" ]
27
2015-11-19T20:33:54.000Z
2021-03-25T08:15:28.000Z
# # Copyright (c) 2017 Red Hat # Licensed under The MIT License (MIT) # http://opensource.org/licenses/MIT # from datetime import datetime, timedelta from django.core.urlresolvers import reverse from rest_framework.test import APITestCase from rest_framework import status from pdc.apps.component.models import GlobalCo...
41.470994
110
0.593705
3,302
30,025
5.22229
0.052998
0.111343
0.157388
0.117432
0.930527
0.91916
0.896022
0.86575
0.845685
0.831884
0
0.024066
0.269276
30,025
723
111
41.528354
0.761896
0.003264
0
0.77027
0
0
0.182982
0.048728
0
0
0
0
0.211712
1
0.064565
false
0
0.009009
0
0.082583
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
894e03c5c8057cd8419510e31d8fb093a2bafe52
32,025
py
Python
tests/unit_tests/controllers_tests/test_ucs_controller.py
HQebupt/ucs-service
217c37ca28398f779b737afe9578bb81d0e01423
[ "Apache-2.0" ]
null
null
null
tests/unit_tests/controllers_tests/test_ucs_controller.py
HQebupt/ucs-service
217c37ca28398f779b737afe9578bb81d0e01423
[ "Apache-2.0" ]
44
2017-01-25T20:09:37.000Z
2021-06-01T21:51:59.000Z
tests/unit_tests/controllers_tests/test_ucs_controller.py
HQebupt/ucs-service
217c37ca28398f779b737afe9578bb81d0e01423
[ "Apache-2.0" ]
14
2017-01-25T16:07:59.000Z
2018-03-07T04:08:59.000Z
# Copyright 2017, Dell EMC, Inc. import unittest import mock import controllers.ucs_controller as controler from ucsmsdk.ucsexception import UcsException EXPECTED_COOKIE = 'chocolate chip' HOST = 'hostname' USER = 'somebody' PASS = 'secret' MOCK_HEADER = { 'ucs-host': HOST, 'ucs-password': PASS, 'ucs-user...
49.960998
126
0.680656
3,909
32,025
5.32617
0.073932
0.061816
0.085303
0.080644
0.823775
0.799856
0.78122
0.768924
0.748271
0.737272
0
0.011675
0.200281
32,025
640
127
50.039063
0.801257
0.05121
0
0.596386
0
0.002008
0.217092
0.116074
0
0
0
0
0.154618
0
null
null
0.048193
0.008032
null
null
0.004016
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
89772f8e510ea964f9fbf102e637a819b60ea5ff
1,808
py
Python
diff_register/link.py
dash2927/diff_register
6c5fa73ad6689e7d465f0a6676329fec61ed0685
[ "MIT" ]
null
null
null
diff_register/link.py
dash2927/diff_register
6c5fa73ad6689e7d465f0a6676329fec61ed0685
[ "MIT" ]
null
null
null
diff_register/link.py
dash2927/diff_register
6c5fa73ad6689e7d465f0a6676329fec61ed0685
[ "MIT" ]
4
2018-05-13T17:14:17.000Z
2019-02-07T07:45:41.000Z
# def trajectory_mglia_features(tfeatures, mglia_features): # """ # Calculates microglia-associated features for each trajectory. # # Parameters # ---------- # # Returns # ------- # # Examples # -------- # # """ # # in_cell # in_soma # nearest_cell # nearest_process #...
15.721739
67
0.550885
168
1,808
5.547619
0.166667
0.051502
0.090129
0.107296
0.767167
0.767167
0.767167
0.767167
0.767167
0.767167
0
0
0.304204
1,808
114
68
15.859649
0.740859
0.873341
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
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
1
0
0
0
0
0
0
7
89a01f85970d62c54409c3c99ce6383642aaee44
3,564
py
Python
tests/test_cmd_view.py
a1eko/treem
41039b0734bfe84fe637783842849038630ecb7f
[ "MIT" ]
1
2020-10-06T13:09:02.000Z
2020-10-06T13:09:02.000Z
tests/test_cmd_view.py
a1eko/treem
41039b0734bfe84fe637783842849038630ecb7f
[ "MIT" ]
null
null
null
tests/test_cmd_view.py
a1eko/treem
41039b0734bfe84fe637783842849038630ecb7f
[ "MIT" ]
1
2021-09-22T14:17:22.000Z
2021-09-22T14:17:22.000Z
"""Testing CLI command view.""" import subprocess import os def test_png(): """Tests for common plot.""" os.chdir(os.path.dirname(__file__) + '/data') proc = subprocess.Popen(['swc', 'view', 'pass_simple_branch.swc', '-o', '/tmp/test_treem.png'], s...
36.742268
69
0.477273
336
3,564
4.889881
0.202381
0.102252
0.032867
0.047474
0.894705
0.894705
0.894705
0.894705
0.894705
0.894705
0
0.00763
0.37486
3,564
96
70
37.125
0.729803
0.049663
0
0.776316
0
0
0.125933
0.039391
0
0
0
0
0.236842
1
0.078947
false
0.092105
0.026316
0
0.105263
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
89a529b9a3e25587a11feaa73e5ce9883fa6b6b9
6,327
py
Python
tests/test_api.py
irishgordo/newrelic-lambda-cli
94039961ee2ca28ada1c4e78eba50a5ba3e84597
[ "Apache-2.0" ]
29
2019-11-21T18:39:02.000Z
2022-02-11T19:28:25.000Z
tests/test_api.py
irishgordo/newrelic-lambda-cli
94039961ee2ca28ada1c4e78eba50a5ba3e84597
[ "Apache-2.0" ]
118
2019-11-21T18:32:00.000Z
2022-03-31T23:58:31.000Z
tests/test_api.py
irishgordo/newrelic-lambda-cli
94039961ee2ca28ada1c4e78eba50a5ba3e84597
[ "Apache-2.0" ]
28
2019-11-21T18:02:38.000Z
2022-02-26T10:08:38.000Z
from unittest.mock import Mock from newrelic_lambda_cli.api import ( create_integration_account, enable_lambda_integration, NewRelicGQL, ) from .conftest import integration_install def test_create_integration_account(): mock_gql = NewRelicGQL("123456789", "foobar") mock_gql.query = Mock( ...
33.47619
115
0.3896
411
6,327
5.824818
0.199513
0.052632
0.050125
0.06015
0.830827
0.77736
0.765664
0.753551
0.720134
0.720134
0
0.079268
0.507508
6,327
188
116
33.654255
0.689024
0
0
0.465116
0
0
0.220484
0.046942
0
0
0
0
0.05814
1
0.011628
false
0
0.017442
0
0.02907
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
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
89a746a653f8d6dc7683406d720411193bfea1c0
42
py
Python
katas/kyu_7/sum_of_all_arguments.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
katas/kyu_7/sum_of_all_arguments.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
katas/kyu_7/sum_of_all_arguments.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
def sum_args(*args): return sum(args)
14
20
0.666667
7
42
3.857143
0.571429
0.518519
0
0
0
0
0
0
0
0
0
0
0.190476
42
2
21
21
0.794118
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0
0
0.5
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
1
1
0
0
1
1
0
0
8
9829418094a68d5e66626d128d3b753f814a9ec5
80
py
Python
aswan/project/__init__.py
papsebestyen/aswan
ed1b2a3dae6a8b7de355edd75de8d4ad577c97cd
[ "MIT" ]
1
2021-04-28T23:08:07.000Z
2021-04-28T23:08:07.000Z
aswan/project/__init__.py
papsebestyen/aswan
ed1b2a3dae6a8b7de355edd75de8d4ad577c97cd
[ "MIT" ]
1
2022-01-22T22:02:55.000Z
2022-01-22T22:02:55.000Z
aswan/project/__init__.py
papsebestyen/aswan
ed1b2a3dae6a8b7de355edd75de8d4ad577c97cd
[ "MIT" ]
2
2022-01-05T10:01:22.000Z
2022-02-16T10:58:46.000Z
# flake8: noqa from .core import Project from .creators import project_from_dir
20
38
0.8125
12
80
5.25
0.666667
0.412698
0.539683
0
0
0
0
0
0
0
0
0.014493
0.1375
80
3
39
26.666667
0.898551
0.15
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
9840eba495e3cd70dc1e3268dbd3f8acd0b5af0c
989
py
Python
electrical/reactions/xmas.py
Amperture/twitch-sbc-integration
71ee86688a7735e6bb3d18c9896c1b8c7a3662d7
[ "MIT" ]
10
2017-04-20T15:15:51.000Z
2021-11-17T20:08:01.000Z
electrical/reactions/xmas.py
Amperture/twitch-sbc-integration
71ee86688a7735e6bb3d18c9896c1b8c7a3662d7
[ "MIT" ]
null
null
null
electrical/reactions/xmas.py
Amperture/twitch-sbc-integration
71ee86688a7735e6bb3d18c9896c1b8c7a3662d7
[ "MIT" ]
2
2020-02-08T04:15:43.000Z
2021-11-04T09:18:43.000Z
import time def react_chat_xmas(eventType, GPIO): GREEN_LED = 'P8_7' RED_LED = 'P8_8' GPIO.setup(GREEN_LED, GPIO.OUT) GPIO.setup(RED_LED, GPIO.OUT) GPIO.output(GREEN_LED, GPIO.LOW) GPIO.output(RED_LED, GPIO.LOW) GPIO.output(GREEN_LED, GPIO.HIGH) time.sleep(0.5) GPIO.output(GREEN...
23.547619
37
0.66633
168
989
3.767857
0.130952
0.221169
0.189573
0.255924
0.834123
0.834123
0.834123
0.834123
0.834123
0.834123
0
0.024969
0.190091
989
41
38
24.121951
0.765293
0
0
0.8125
0
0
0.008089
0
0
0
0
0
0
1
0.03125
false
0
0.03125
0
0.0625
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
98544ef3a85d6cd8b4bda068981af6b7b5a217dc
15,213
py
Python
Scripts/heft_makespan_fix_inaccur.py
radical-experiments/campaign_manager
337660cf07a97933b9b516d6612353bd3f6592a8
[ "MIT" ]
null
null
null
Scripts/heft_makespan_fix_inaccur.py
radical-experiments/campaign_manager
337660cf07a97933b9b516d6612353bd3f6592a8
[ "MIT" ]
null
null
null
Scripts/heft_makespan_fix_inaccur.py
radical-experiments/campaign_manager
337660cf07a97933b9b516d6612353bd3f6592a8
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np from random import gauss, uniform def get_makespan(curr_plan, num_resources, workflow_inaccur, positive=False, dynamic_res=False): ''' Calculate makespan ''' under = False reactive_resource_usage = [0] * num_resources resource_usage = [0] * num_resources ...
53.006969
131
0.668967
1,802
15,213
5.498335
0.056049
0.129189
0.121114
0.16956
0.93147
0.923799
0.903714
0.897255
0.883327
0.883327
0
0.010382
0.126274
15,213
286
132
53.192308
0.735029
0.055742
0
0.651376
0
0
0.262387
0.151919
0
0
0
0
0
1
0.004587
false
0
0.013761
0
0.022936
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
98725982e59476791cee02f920e73fb8a2a5d173
351
py
Python
example/list_compare.py
TalosThoren/python-demo
098b875767bc9813a8543ca4d940da0f187022eb
[ "MIT" ]
null
null
null
example/list_compare.py
TalosThoren/python-demo
098b875767bc9813a8543ca4d940da0f187022eb
[ "MIT" ]
null
null
null
example/list_compare.py
TalosThoren/python-demo
098b875767bc9813a8543ca4d940da0f187022eb
[ "MIT" ]
null
null
null
def find_missing( current_list, target_list ): return [ x for x in target_list if x not in current_list ] def compare( current_list, target_list ): additions_list = find_missing( current_list, target_list ) deletions_list = find_missing( target_list, current_list ) return { 'additions': additions_list,...
43.875
71
0.754986
49
351
5.061224
0.306122
0.221774
0.205645
0.254032
0.258065
0.258065
0
0
0
0
0
0
0.168091
351
7
72
50.142857
0.849315
0
0
0
0
0
0.051282
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.666667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
7
7f33198e04cd00d4c5e4a1463f75fa13627c0a46
9,994
py
Python
tests.py
joshiatul/simple_glm
4d986ce2d9b062e6c5a42e4df1450790c55ccc39
[ "MIT" ]
null
null
null
tests.py
joshiatul/simple_glm
4d986ce2d9b062e6c5a42e4df1450790c55ccc39
[ "MIT" ]
null
null
null
tests.py
joshiatul/simple_glm
4d986ce2d9b062e6c5a42e4df1450790c55ccc39
[ "MIT" ]
null
null
null
import numpy as np import patsy as ptsy import pandas as pd import statsmodels.api as sm from sklearn import linear_model from glm import LinearModel # TODO Write valid unittests def generate_data(n, loss, wt_param=2, return_rate=False): """ Generate random data for testing :param n: :param loss: ...
38.88716
119
0.682309
1,420
9,994
4.570423
0.120423
0.064407
0.033282
0.028814
0.845455
0.842065
0.809553
0.777196
0.708783
0.692296
0
0.017663
0.189914
9,994
257
120
38.88716
0.783967
0.201721
0
0.572289
1
0
0.125577
0
0
0
0
0.003891
0
0
null
null
0
0.036145
null
null
0.120482
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
1
0
0
0
0
0
0
0
0
8
f6c7b43e2057b930cfc0f89212f8d29bdef7e82a
99
py
Python
Constants/__init__.py
joey00072/Marathi-Programing-Language
190cbb40eca25413f3c69056b13a4399c1e06fdd
[ "MIT" ]
52
2021-07-11T14:49:33.000Z
2022-03-16T02:45:06.000Z
Constants/__init__.py
d-kaustubh/Baji-Marathi-Programing-Language
0a03193c1af8f2d718ed0439931335ba961ca756
[ "MIT" ]
1
2021-07-15T04:13:41.000Z
2021-08-06T19:41:01.000Z
Constants/__init__.py
d-kaustubh/Baji-Marathi-Programing-Language
0a03193c1af8f2d718ed0439931335ba961ca756
[ "MIT" ]
6
2021-07-13T02:27:21.000Z
2022-01-12T10:33:45.000Z
from Constants.constants import * from Constants.tokens import * from Constants.keywords import *
33
34
0.808081
12
99
6.666667
0.416667
0.4875
0.475
0
0
0
0
0
0
0
0
0
0.131313
99
3
35
33
0.930233
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
121e49da80c3307a89d161c5b77aec10cf9ecdbc
7,193
py
Python
test/test_systems_generators_dockerfile.py
SanthoshBala18/skelebot
13055dba1399b56a76a392699aa0aa259ca916a9
[ "MIT" ]
null
null
null
test/test_systems_generators_dockerfile.py
SanthoshBala18/skelebot
13055dba1399b56a76a392699aa0aa259ca916a9
[ "MIT" ]
null
null
null
test/test_systems_generators_dockerfile.py
SanthoshBala18/skelebot
13055dba1399b56a76a392699aa0aa259ca916a9
[ "MIT" ]
null
null
null
from unittest import TestCase from unittest import mock import skelebot as sb import os class TestDockerfile(TestCase): path = "" # Get the path to the current working directory before we mock the function to do so def setUp(self): self.path = os.getcwd() self.maxDiff = None @mock.pa...
43.071856
139
0.679967
920
7,193
5.267391
0.16413
0.033017
0.036319
0.044573
0.888362
0.888362
0.888362
0.888362
0.879901
0.870821
0
0.002158
0.162519
7,193
166
140
43.331325
0.802291
0.0114
0
0.782609
0
0.123188
0.518779
0.08862
0
0
0
0
0.057971
1
0.036232
false
0
0.028986
0
0.07971
0.021739
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
12447bb2e40b520a65eb2224b499b9e2f34e6525
8,564
py
Python
tests/ddo/ddo_sample1_compute.py
oceanprotocol/provider-service-py
408a9032b30d3606a6b991f3982b7d17ded7cd47
[ "Apache-2.0" ]
null
null
null
tests/ddo/ddo_sample1_compute.py
oceanprotocol/provider-service-py
408a9032b30d3606a6b991f3982b7d17ded7cd47
[ "Apache-2.0" ]
null
null
null
tests/ddo/ddo_sample1_compute.py
oceanprotocol/provider-service-py
408a9032b30d3606a6b991f3982b7d17ded7cd47
[ "Apache-2.0" ]
null
null
null
# # Copyright 2021 Ocean Protocol Foundation # SPDX-License-Identifier: Apache-2.0 # ddo_dict = { "id": "did:op:e16a777d1f146dba369cf98d212f34c17d9de516fcda5c9546076cf043ba6e37", "version": "4.1.0", "chain_id": 8996, "metadata": { "created": "2021-12-29T13:34:27", "updated": "2021-12-29T...
47.054945
516
0.636385
421
8,564
12.909739
0.330166
0.008832
0.016191
0.019135
0.820975
0.763201
0.751426
0.751426
0.751426
0.751426
0
0.356611
0.247548
8,564
181
517
47.314917
0.486809
0.008874
0
0.636364
0
0
0.641047
0.42037
0
0
0.316869
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
124a8b8a2f746c157a3a634cfea112e0bb8e17cc
41,313
py
Python
tests/test_password_based_shooting_stars_resource.py
andmcadams/shooting-stars-server
7bd8f74401dcf013d1a55edf1d97527d6cb77543
[ "BSD-2-Clause" ]
null
null
null
tests/test_password_based_shooting_stars_resource.py
andmcadams/shooting-stars-server
7bd8f74401dcf013d1a55edf1d97527d6cb77543
[ "BSD-2-Clause" ]
null
null
null
tests/test_password_based_shooting_stars_resource.py
andmcadams/shooting-stars-server
7bd8f74401dcf013d1a55edf1d97527d6cb77543
[ "BSD-2-Clause" ]
3
2021-11-16T13:27:01.000Z
2022-03-21T02:48:42.000Z
import os import sqlite3 import falcon import datetime from falcon import testing from freezegun import freeze_time import password_based_shooting_stars_resource import setup_db from constants import ERROR_MSG_DATA_VALIDATION_FAIL, ERROR_MSG_AUTHORIZATION_FAIL, ERROR_MSG_AUTHORIZATION_FAIL_SUBMIT from password_base...
44.856678
145
0.636216
4,866
41,313
5.123716
0.048089
0.057436
0.05503
0.060003
0.916493
0.903538
0.895275
0.893952
0.886291
0.856971
0
0.032766
0.232445
41,313
920
146
44.905435
0.753485
0.007649
0
0.747126
0
0
0.171403
0
0
0
0
0
0.298851
1
0.091954
false
0.0894
0.012771
0
0.114943
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
89c84e6f4d4ae3c24bfdf71bca7d63008a96724c
2,533
py
Python
neuro_config_client/__init__.py
neuro-inc/neuro-config-client
29dae0be0ce2238e1f5be0250fc810156ec53fee
[ "Apache-2.0" ]
null
null
null
neuro_config_client/__init__.py
neuro-inc/neuro-config-client
29dae0be0ce2238e1f5be0250fc810156ec53fee
[ "Apache-2.0" ]
3
2022-02-21T16:44:50.000Z
2022-03-31T15:08:14.000Z
neuro_config_client/__init__.py
neuro-inc/neuro-config-client
29dae0be0ce2238e1f5be0250fc810156ec53fee
[ "Apache-2.0" ]
null
null
null
"""Platform config client.""" from pkg_resources import get_distribution from .client import ConfigClient from .entities import ( ACMEEnvironment, ARecord, AWSCloudProvider, AWSCredentials, AWSStorage, AzureCloudProvider, AzureCredentials, AzureReplicationType, AzureStorage, Azu...
21.108333
48
0.681405
131
2,533
13.061069
0.51145
0.017534
0.044418
0.060783
0.911748
0.911748
0.911748
0.911748
0.911748
0.911748
0
0
0.22503
2,533
119
49
21.285714
0.871625
0.00908
0
0
0
0
0.316294
0
0
0
0
0
0
1
0
false
0
0.025862
0
0.025862
0
0
0
1
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
89d31149e3987c8f577455e47a759d5cce4595c0
138
py
Python
syft/messaging/plan/__init__.py
Rishav1/PySyft
f620ee12727b52b19a317f263789830b57ee2539
[ "Apache-2.0" ]
2
2019-05-29T13:09:02.000Z
2019-06-14T17:40:51.000Z
syft/messaging/plan/__init__.py
Rishav1/PySyft
f620ee12727b52b19a317f263789830b57ee2539
[ "Apache-2.0" ]
3
2019-05-24T01:16:56.000Z
2019-09-18T13:02:30.000Z
syft/messaging/plan/__init__.py
Rishav1/PySyft
f620ee12727b52b19a317f263789830b57ee2539
[ "Apache-2.0" ]
1
2022-03-12T08:04:34.000Z
2022-03-12T08:04:34.000Z
from syft.messaging.plan.plan import func2plan from syft.messaging.plan.plan import method2plan from syft.messaging.plan.plan import Plan
34.5
48
0.847826
21
138
5.571429
0.333333
0.205128
0.435897
0.538462
0.794872
0.794872
0
0
0
0
0
0.015873
0.086957
138
3
49
46
0.912698
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
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
9
617196bd3efd84b9c9f8d2194c43bb5e8eb3bd0a
3,610
py
Python
projetos/migrations/0003_auto_20171201_1758.py
danieldourado/camara-mirim-crawler
a00476a6b85acd788265f1be05e5c4dff7c63226
[ "MIT" ]
null
null
null
projetos/migrations/0003_auto_20171201_1758.py
danieldourado/camara-mirim-crawler
a00476a6b85acd788265f1be05e5c4dff7c63226
[ "MIT" ]
21
2019-12-26T16:41:19.000Z
2022-03-21T22:16:22.000Z
projetos/migrations/0003_auto_20171201_1758.py
danieldourado/plenarinho-util
a00476a6b85acd788265f1be05e5c4dff7c63226
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2017-12-01 17:58 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projetos', '0002_projeto_nomedacrianca'), ] operations = [ migrations.AddFi...
32.232143
67
0.551801
324
3,610
5.978395
0.179012
0.148684
0.189985
0.223025
0.83428
0.83428
0.814662
0.814662
0.814662
0.814662
0
0.028619
0.332133
3,610
111
68
32.522523
0.774782
0.018837
0
0.769231
1
0
0.094377
0.007347
0
0
0
0
0
1
0
false
0
0.019231
0
0.048077
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
61c2680aeaf1736eb32a2e9db6452d6fee77664f
4,925
py
Python
ppn/_data_labeling.py
tilleyd/point-proposal-net
3731984046cd56101238de30a441d610b79bc8b0
[ "MIT" ]
null
null
null
ppn/_data_labeling.py
tilleyd/point-proposal-net
3731984046cd56101238de30a441d610b79bc8b0
[ "MIT" ]
null
null
null
ppn/_data_labeling.py
tilleyd/point-proposal-net
3731984046cd56101238de30a441d610b79bc8b0
[ "MIT" ]
null
null
null
# ppn._data_labeling # author: Duncan Tilley def get_anchors(config): """ Generates the anchor coordinates for a given image dimension. config The configuration dictionary. See ppn.config.ppn_config. """ import numpy as np # create the anchor positions img_size = config['image_size...
31.774194
80
0.58132
704
4,925
3.914773
0.171875
0.075835
0.054427
0.021771
0.834543
0.834543
0.828012
0.796807
0.796807
0.796807
0
0.013715
0.304162
4,925
154
81
31.980519
0.790487
0.245076
0
0.783505
1
0
0.024458
0
0
0
0
0
0
1
0.041237
false
0
0.030928
0.010309
0.113402
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
f623f757acec15c8ae768e444030e06177960528
6,223
py
Python
tests/test_scheduler.py
aronianm/flask-apscheduler
6fb4e7646fa9d2a8f337f2b965404ce074a589b1
[ "Apache-2.0" ]
942
2015-05-13T00:12:31.000Z
2022-03-31T05:20:41.000Z
tests/test_scheduler.py
aronianm/flask-apscheduler
6fb4e7646fa9d2a8f337f2b965404ce074a589b1
[ "Apache-2.0" ]
188
2015-06-29T14:02:34.000Z
2022-03-27T15:34:52.000Z
tests/test_scheduler.py
aronianm/flask-apscheduler
6fb4e7646fa9d2a8f337f2b965404ce074a589b1
[ "Apache-2.0" ]
210
2015-05-22T02:02:19.000Z
2022-03-27T02:48:05.000Z
from flask import Flask from flask_apscheduler import APScheduler, utils from unittest import TestCase import apscheduler from pytz import utc import datetime class TestScheduler(TestCase): def setUp(self): self.app = Flask(__name__) self.scheduler = APScheduler() self.scheduler_two = APSch...
32.752632
123
0.639242
718
6,223
5.392758
0.118384
0.302169
0.098141
0.144628
0.766787
0.739928
0.735537
0.722882
0.709452
0.673037
0
0.010314
0.236542
6,223
189
124
32.925926
0.804673
0
0
0.636364
0
0
0.062028
0.010927
0
0
0
0
0.233766
1
0.162338
false
0.058442
0.038961
0
0.207792
0
0
0
0
null
1
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
0
0
1
0
0
0
0
0
7
9c8a82db5fb12ea511a325970aabc40c65bdb349
688
py
Python
tianqiai/api_resources/__init__.py
shanjiecai/zhipuai-python
757ad04769b3c50b52460fd46ff40028e095e71d
[ "MIT" ]
null
null
null
tianqiai/api_resources/__init__.py
shanjiecai/zhipuai-python
757ad04769b3c50b52460fd46ff40028e095e71d
[ "MIT" ]
null
null
null
tianqiai/api_resources/__init__.py
shanjiecai/zhipuai-python
757ad04769b3c50b52460fd46ff40028e095e71d
[ "MIT" ]
null
null
null
# from tianqiai.api_resources.answer import Answer # noqa: F401 # from tianqiai.api_resources.classification import Classification # noqa: F401 from tianqiai.api_resources.completion import Completion # noqa: F401 # from tianqiai.api_resources.embedding import Embedding # noqa: F401 # from tianqiai.api_resources.en...
62.545455
80
0.799419
92
688
5.847826
0.228261
0.223048
0.27881
0.446097
0.535316
0.535316
0
0
0
0
0
0.050083
0.12936
688
10
81
68.8
0.84808
0.872093
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
9c8e07d3da814b2c1f5e959f17aae7f67ab38586
15,371
py
Python
sdk/python/pulumi_alicloud/log/dashboard.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
42
2019-03-18T06:34:37.000Z
2022-03-24T07:08:57.000Z
sdk/python/pulumi_alicloud/log/dashboard.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
152
2019-04-15T21:03:44.000Z
2022-03-29T18:00:57.000Z
sdk/python/pulumi_alicloud/log/dashboard.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
3
2020-08-26T17:30:07.000Z
2021-07-05T01:37:45.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
37.859606
218
0.601002
1,731
15,371
5.10803
0.123628
0.069668
0.085501
0.067179
0.823117
0.795634
0.789753
0.747455
0.727211
0.709342
0
0.00543
0.293149
15,371
405
219
37.953086
0.808376
0.369917
0
0.602273
1
0
0.10722
0.003851
0
0
0
0
0
1
0.153409
false
0.005682
0.028409
0
0.272727
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
140d5d71cab6b2ce97539bc906762d42df335f04
650
py
Python
calculo.hipotenusa.py
wcalazans81/Exercicios-Python
d9abb9505bbf9151d3515cc9ca5b9bd32435699e
[ "MIT" ]
null
null
null
calculo.hipotenusa.py
wcalazans81/Exercicios-Python
d9abb9505bbf9151d3515cc9ca5b9bd32435699e
[ "MIT" ]
null
null
null
calculo.hipotenusa.py
wcalazans81/Exercicios-Python
d9abb9505bbf9151d3515cc9ca5b9bd32435699e
[ "MIT" ]
null
null
null
#co = float(input('Digite o comprimento do cateto opsto: ')) #ca = float(input('Digite o comprimento do cateto adjacente: ')) #hi = (co **2 + ca**2) **(1/2) #print('A hipotenusa vai medir {:.2f} cm'.format(hi)) #import math #co = float(input('Digite o comprimento do cateto opsto: ')) #ca = float(input('Digite o compr...
46.428571
64
0.681538
103
650
4.300971
0.252427
0.13544
0.216704
0.230248
0.907449
0.907449
0.907449
0.907449
0.907449
0.826185
0
0.012613
0.146154
650
14
65
46.428571
0.785586
0.635385
0
0
0
0
0.49345
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
14368cd8fe61dc75b8921741b2909c48d5bbe65b
108,989
py
Python
generated/azure-cli/apim/custom.py
audevbot/autorest.devops.debug
a507fb6e2dd7826212537f27d583f203aac1c28f
[ "MIT" ]
null
null
null
generated/azure-cli/apim/custom.py
audevbot/autorest.devops.debug
a507fb6e2dd7826212537f27d583f203aac1c28f
[ "MIT" ]
null
null
null
generated/azure-cli/apim/custom.py
audevbot/autorest.devops.debug
a507fb6e2dd7826212537f27d583f203aac1c28f
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------------------...
57.727225
222
0.620384
10,662
108,989
5.992778
0.027106
0.10885
0.079505
0.095407
0.988074
0.980139
0.973848
0.967963
0.955521
0.948259
0
0
0.295544
108,989
1,887
223
57.757817
0.832205
0.260347
0
0.74807
0
0
0.027082
0.007698
0
0
0
0
0
1
0.079298
false
0.011228
0.000702
0.030175
0.163509
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
144afaefd28425f27f247f537449df2b9270822a
103
py
Python
lf3py/serialization/errors.py
rog-works/lf3py
e89937f7aa133ed54d85764f06101ab9abf6b960
[ "CNRI-Python" ]
null
null
null
lf3py/serialization/errors.py
rog-works/lf3py
e89937f7aa133ed54d85764f06101ab9abf6b960
[ "CNRI-Python" ]
48
2020-12-19T13:47:26.000Z
2021-01-07T22:27:56.000Z
lf3py/serialization/errors.py
rog-works/lambda-fw
715b36fc2d8d0ea0388aa4ac1336dc8cd5543778
[ "CNRI-Python" ]
null
null
null
from lf3py.errors import Error class SerializeError(Error): pass class DeserializeError(Error): pass
17.166667
35
0.815534
13
103
6.461538
0.692308
0.214286
0
0
0
0
0
0
0
0
0
0.010989
0.116505
103
5
36
20.6
0.912088
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.666667
0.333333
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
1471d2d1bbc8908b29f8b27bf86e9cfe35687c59
570
py
Python
functions/render.py
mateusfg7/Jogo-da-velha
2c162a2599c56e4324d745e168115702969415b4
[ "MIT" ]
2
2020-01-02T17:06:08.000Z
2020-01-20T13:19:07.000Z
functions/render.py
mateusfg7/Jogo-da-velha
2c162a2599c56e4324d745e168115702969415b4
[ "MIT" ]
5
2020-01-03T20:49:35.000Z
2020-01-06T20:59:40.000Z
functions/render.py
mateusfg7/Jogo-da-velha
2c162a2599c56e4324d745e168115702969415b4
[ "MIT" ]
null
null
null
import os def render(player, casas): os.system('clear') print(f"\033[00;37mPlayer Atual: \033[00;31m{player}\033[00;37m\n") print( f"\033[00;31m{casas['1']} \033[00;37m| \033[00;31m{casas['2']} \033[00;37m| \033[00;31m{casas['3']}") print(f"\033[00;37m---------") print( f"\033[0...
31.666667
109
0.542105
102
570
3.029412
0.254902
0.323625
0.2589
0.378641
0.682848
0.682848
0.621359
0.213592
0.213592
0.213592
0
0.307851
0.150877
570
17
110
33.529412
0.330579
0
0
0.416667
0
0.333333
0.689474
0.419298
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.166667
0.5
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
9
147b61fdfa46c25ea833b989bad65a5a36ce164e
43,052
py
Python
tests/tests.py
fretbuzz/mimir_snakemake_t2
ece4f63ff02f35b7098fa3b77a9b49b6cd294d95
[ "Apache-2.0" ]
1
2019-11-04T18:35:37.000Z
2019-11-04T18:35:37.000Z
tests/tests.py
fretbuzz/mimir_snakemake_t2
ece4f63ff02f35b7098fa3b77a9b49b6cd294d95
[ "Apache-2.0" ]
1
2021-06-01T23:52:06.000Z
2021-06-01T23:52:06.000Z
tests/tests.py
fretbuzz/mimir_snakemake_t2
ece4f63ff02f35b7098fa3b77a9b49b6cd294d95
[ "Apache-2.0" ]
null
null
null
import math import unittest import networkx as nx import numpy as np import pandas as pd from analysis_pipeline.generate_graphs import get_points_to_plot import analysis_pipeline.simplified_graph_metrics import multiprocessing from analysis_pipeline.pcap_to_edgelists import create_mappings class testSyntheticAttackI...
52.889435
184
0.574445
5,801
43,052
4.046027
0.084985
0.01014
0.038729
0.011248
0.820843
0.795279
0.774701
0.753866
0.746794
0.740701
0
0.081349
0.289882
43,052
813
185
52.95449
0.68638
0.122108
0
0.660679
1
0
0.158603
0.075196
0
0
0
0.00738
0.077844
0
null
null
0.001996
0.017964
null
null
0.081836
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
1
0
0
0
0
0
0
0
0
8
148b75babea36876a6ef19146a5495ebb3ceb099
27,871
py
Python
Contents/Libraries/Shared/PicartoClientAPI/apis/webhook_api.py
Sythelux/Picarto.bundle
f2e9e9e75421b15c562c961c8c31090c508166ff
[ "BSD-3-Clause" ]
null
null
null
Contents/Libraries/Shared/PicartoClientAPI/apis/webhook_api.py
Sythelux/Picarto.bundle
f2e9e9e75421b15c562c961c8c31090c508166ff
[ "BSD-3-Clause" ]
5
2018-01-29T23:18:20.000Z
2018-01-29T23:57:15.000Z
Contents/Libraries/Shared/PicartoClientAPI/apis/webhook_api.py
Sythelux/Picarto.bundle
f2e9e9e75421b15c562c961c8c31090c508166ff
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 """ Picarto.TV API Documentation The Picarto.TV API documentation Note, for fixed access tokens, the header that needs to be sent is of the format: `Authorization: Bearer yourTokenHere` This can be generated at https://oauth.picarto.tv/ For chat API, see https://docs.picarto.tv/chat/chat.pr...
45.765189
326
0.592228
3,049
27,871
5.177763
0.064939
0.050168
0.036612
0.035472
0.940774
0.929056
0.922151
0.910053
0.907012
0.899981
0
0.000957
0.325248
27,871
608
327
45.840461
0.838509
0.328872
0
0.746711
0
0
0.206233
0.04227
0
0
0
0
0
1
0.036184
false
0
0.023026
0
0.111842
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
148c7e0b7e6638ac5921b25bb82940f44756ea4d
1,376
py
Python
PythonProjects/extras/aniversario.py
Luis12368/python
23352d75ad13bcfd09ea85ab422fdc6ae1fcc5e7
[ "MIT" ]
1
2022-03-05T17:07:02.000Z
2022-03-05T17:07:02.000Z
PythonProjects/extras/aniversario.py
Luis12368/python
23352d75ad13bcfd09ea85ab422fdc6ae1fcc5e7
[ "MIT" ]
null
null
null
PythonProjects/extras/aniversario.py
Luis12368/python
23352d75ad13bcfd09ea85ab422fdc6ae1fcc5e7
[ "MIT" ]
null
null
null
nome = input("Insira o seu nome: ") print() print("____________00____00___00000___0000000__0000000__00____00___________") print("____________00____00__00___00__00___00__00___00___00__00____________") print("____________00000000__0000000__000000___000000______00______________") print("____________00____00__00___00__00__...
45.866667
77
0.713663
194
1,376
3.896907
0.257732
0.296296
0.34127
0.37037
0.284392
0.256614
0.220899
0.220899
0.220899
0.193122
0
0.205793
0.046512
1,376
30
78
45.866667
0.230183
0
0
0.233333
0
0
0.783588
0.610022
0
0
0
0
0
1
0
false
0
0
0
0
0.966667
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
8
14b6e22de2a8e54def35b067d3fcb63b05b4dbe0
143
py
Python
Tools/parametric_model/src/tools/__init__.py
ethz-asl/data-driven-dynamics
decf4bec19c9fc4a1789f5eb4d6e6003774c75d6
[ "BSD-3-Clause" ]
38
2021-12-20T22:52:25.000Z
2022-03-15T09:45:01.000Z
Tools/parametric_model/src/tools/__init__.py
ethz-asl/data-driven-dynamics
decf4bec19c9fc4a1789f5eb4d6e6003774c75d6
[ "BSD-3-Clause" ]
18
2021-12-21T09:36:20.000Z
2022-03-20T13:03:27.000Z
Tools/parametric_model/src/tools/__init__.py
ethz-asl/data-driven-dynamics
decf4bec19c9fc4a1789f5eb4d6e6003774c75d6
[ "BSD-3-Clause" ]
8
2021-12-20T22:52:34.000Z
2022-03-30T21:13:59.000Z
from . import ulog_tools from . import dataframe_tools from . import quat_utils from . import math_tools from .data_handler import DataHandler
23.833333
37
0.825175
21
143
5.380952
0.52381
0.353982
0.265487
0
0
0
0
0
0
0
0
0
0.13986
143
5
38
28.6
0.918699
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
2127df4d848e2d01828c4b33d9f80cac180f63d9
2,444
py
Python
Tasks/FileSystem.ScpUpload/test_task.py
esprengle/python-droppy-workspace
fd0aeb49c8d71187a9c0c7be2a0b55f1ad7cf60b
[ "MIT" ]
2
2020-05-05T04:13:14.000Z
2020-08-02T21:46:57.000Z
Tasks/FileSystem.ScpUpload/test_task.py
geberl/python-droppy-workspace
fd0aeb49c8d71187a9c0c7be2a0b55f1ad7cf60b
[ "MIT" ]
4
2021-03-19T16:11:47.000Z
2022-01-13T03:42:57.000Z
Tasks/FileSystem.ScpUpload/test_task.py
esprengle/python-droppy-workspace
fd0aeb49c8d71187a9c0c7be2a0b55f1ad7cf60b
[ "MIT" ]
3
2020-01-03T07:25:41.000Z
2020-08-31T13:20:23.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import unicode_literals import os import pytest import task def test_input_empty(tmpdir): input_dir = tmpdir.join('0') os.makedirs('%s' % input_dir) output_dir = tmpdir.join('1') os.makedirs('%s' % output_dir) t = task.Task(input_dir='%s...
27.460674
69
0.577741
299
2,444
4.461538
0.180602
0.11994
0.097451
0.112444
0.835832
0.835832
0.823838
0.770615
0.770615
0.770615
0
0.00634
0.290098
2,444
88
70
27.772727
0.762536
0.015548
0
0.8
0
0
0.056988
0.012063
0
0
0
0
0.083333
1
0.083333
false
0
0.066667
0
0.15
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
0d11c4d3cf0b62a39c53807ad85b5ccf281f733f
18,941
py
Python
django_tctip/migrations/0001_initial.py
Hopetree/django-tctip
d15a47aab0f9f3e18d407df38fbd81f296cc4bfe
[ "MIT" ]
6
2020-07-30T14:44:45.000Z
2021-11-16T13:53:32.000Z
django_tctip/migrations/0001_initial.py
Hopetree/django-tctip
d15a47aab0f9f3e18d407df38fbd81f296cc4bfe
[ "MIT" ]
1
2020-07-15T02:11:55.000Z
2020-07-15T05:06:16.000Z
django_tctip/migrations/0001_initial.py
Hopetree/django-tctip
d15a47aab0f9f3e18d407df38fbd81f296cc4bfe
[ "MIT" ]
1
2021-11-16T13:53:42.000Z
2021-11-16T13:53:42.000Z
# Generated by Django 2.2.8 on 2020-07-15 04:28 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Tip', fields=[ ('id', models.AutoField(auto...
344.381818
4,541
0.906394
781
18,941
21.880922
0.517286
0.020598
0.023173
0.010533
0.556791
0.535257
0.532916
0.520276
0.517643
0.517643
0
0.125503
0.041286
18,941
54
4,542
350.759259
0.815574
0.002376
0
0
1
0.085106
0.852175
0.814862
0
1
0
0
0
1
0
false
0
0.021277
0
0.106383
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
7
0d2c89d5016f2b6e30fe284fd3088725e793ccbe
79,412
py
Python
pycatia/space_analyses_interfaces/sectioning_setting_att.py
evereux/catia_python
08948585899b12587b0415ce3c9191a408b34897
[ "MIT" ]
90
2019-02-21T10:05:28.000Z
2022-03-19T01:53:41.000Z
pycatia/space_analyses_interfaces/sectioning_setting_att.py
Luanee/pycatia
ea5eef8178f73de12404561c00baf7a7ca30da59
[ "MIT" ]
99
2019-05-21T08:29:12.000Z
2022-03-25T09:55:15.000Z
pycatia/space_analyses_interfaces/sectioning_setting_att.py
Luanee/pycatia
ea5eef8178f73de12404561c00baf7a7ca30da59
[ "MIT" ]
26
2019-04-04T06:31:36.000Z
2022-03-30T07:24:47.000Z
#! usr/bin/python3.6 """ Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445 .. warning:: The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only. They are there as a guide as to how the visual basic / catscript function...
37.689606
108
0.49665
7,336
79,412
5.270174
0.042257
0.054627
0.048342
0.055248
0.859681
0.825436
0.763851
0.739693
0.729269
0.719828
0
0.033379
0.444668
79,412
2,106
109
37.707502
0.843311
0.668463
0
0.093333
1
0
0.002943
0.002943
0
0
0
0
0
1
0.4
false
0
0.004444
0.004444
0.711111
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
9