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
d509cf67293f1735e6d0859807c6de2afbabf6e9
164
py
Python
model/group.py
KlimenkovDM/Python_for_Test
29ec28f4d424514a674ce1fccb69494095e2e300
[ "Apache-2.0" ]
null
null
null
model/group.py
KlimenkovDM/Python_for_Test
29ec28f4d424514a674ce1fccb69494095e2e300
[ "Apache-2.0" ]
null
null
null
model/group.py
KlimenkovDM/Python_for_Test
29ec28f4d424514a674ce1fccb69494095e2e300
[ "Apache-2.0" ]
null
null
null
class Group: def __init__(self,name = None, header = None, footer = None): Group.name = name Group.header = header Group.footer = footer
32.8
65
0.609756
20
164
4.8
0.45
0
0
0
0
0
0
0
0
0
0
0
0.292683
164
5
66
32.8
0.827586
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d50abffcd18bed58f6c21161425b857656235845
2,170
py
Python
test/scenario_pubsub.py
coopernurse/radiator
85e88fd7055e287c506405f9e5a34e6ddadf3d45
[ "MIT" ]
5
2015-06-26T03:26:18.000Z
2018-02-21T17:07:37.000Z
test/scenario_pubsub.py
coopernurse/radiator
85e88fd7055e287c506405f9e5a34e6ddadf3d45
[ "MIT" ]
null
null
null
test/scenario_pubsub.py
coopernurse/radiator
85e88fd7055e287c506405f9e5a34e6ddadf3d45
[ "MIT" ]
null
null
null
#!/usr/bin/env python # # Basic: 1 topic, 50 consumer/producer clients # - Each consumer writes 10 messages # - Each consumer gets all 10 messages # - 1 consumer unsubs # - 1 more message sent # - Only the remaining 9 clients get the msg # import time import helper from radiator import Broker consumers =...
24.659091
80
0.611982
319
2,170
4.018809
0.316614
0.019501
0.035101
0.042122
0.042122
0.024961
0
0
0
0
0
0.027095
0.268664
2,170
87
81
24.942529
0.780718
0.125346
0
0
0
0
0.071504
0.011653
0
0
0
0
0
0
null
null
0.050847
0.050847
null
null
0.016949
0
0
0
null
0
0
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
0
0
1
0
0
1
0
0
0
0
0
2
d50e1c7d8231edcbe1246f3d5ced5e7928184531
433
py
Python
loader/__init__.py
mmendiet/gate-decorator-pruning
ebff861626296638619f48cdf0ff8bf3c5eccc2f
[ "Apache-2.0" ]
192
2019-09-18T10:02:16.000Z
2022-03-24T16:31:18.000Z
loader/__init__.py
pawopawo/gate-decorator-pruning
d89021802fa56b1eba97921db3d8cadcacdd2073
[ "Apache-2.0" ]
25
2019-09-24T10:53:51.000Z
2022-01-18T07:13:52.000Z
loader/__init__.py
pawopawo/gate-decorator-pruning
d89021802fa56b1eba97921db3d8cadcacdd2073
[ "Apache-2.0" ]
33
2019-09-19T02:21:58.000Z
2022-03-31T10:04:20.000Z
import torchvision from torch.utils.data import DataLoader from torchvision import transforms from PIL import Image from config import cfg from loader.cifar10 import get_cifar10 from loader.cifar100 import get_cifar100 from loader.imagenet import get_imagenet def get_loader(): pair = { 'cifar10': get_cif...
21.65
40
0.741339
56
433
5.607143
0.375
0.095541
0
0
0
0
0
0
0
0
0
0.057307
0.193995
433
19
41
22.789474
0.842407
0
0
0
0
0
0.053118
0
0
0
0
0
0
1
0.066667
false
0
0.533333
0
0.666667
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
1
0
0
2
1d10c3897441cb862e73f1ef89704a35b6ac4a35
1,569
py
Python
plenum/test/monitoring/test_monitoring_params_with_zfn.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
1
2019-03-19T23:44:56.000Z
2019-03-19T23:44:56.000Z
plenum/test/monitoring/test_monitoring_params_with_zfn.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
1
2019-03-20T14:57:22.000Z
2019-03-20T15:01:55.000Z
plenum/test/monitoring/test_monitoring_params_with_zfn.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
null
null
null
import pytest from plenum.common.throughput_measurements import RevivalSpikeResistantEMAThroughputMeasurement from plenum.test.helper import get_key_from_req nodeCount = 7 @pytest.fixture(scope="module") def tconf(tconf): old_throughput_measurement_class = tconf.throughput_measurement_class old_throughput_m...
36.488372
95
0.753346
160
1,569
7.14375
0.3625
0.220472
0.181977
0.139983
0.278215
0.278215
0.148731
0
0
0
0
0.00232
0.175908
1,569
42
96
37.357143
0.881671
0
0
0.064516
0
0
0.034417
0
0
0
0
0
0.096774
1
0.096774
false
0
0.096774
0
0.193548
0.032258
0
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
0
0
0
0
0
0
0
0
0
0
0
2
1d23c85ef9eae66890a2576e320e829e63ded9b4
1,825
py
Python
brainfuck.py
pfav/brainfuck
093e4dc095b16b5409ef786a03faef6070db3b4c
[ "MIT" ]
null
null
null
brainfuck.py
pfav/brainfuck
093e4dc095b16b5409ef786a03faef6070db3b4c
[ "MIT" ]
null
null
null
brainfuck.py
pfav/brainfuck
093e4dc095b16b5409ef786a03faef6070db3b4c
[ "MIT" ]
null
null
null
import os import sys def usage(): print "%s script.b" % sys.argv[0] sys.exit(127) class Machine: def __init__(self, filename): self.filename = filename self.code = [] self.codePos = 0 self.tape = [] self.tapePos = 0 try: with open(filename, ...
28.515625
81
0.465205
216
1,825
3.875
0.268519
0.170848
0.143369
0.204301
0.307049
0.182796
0.182796
0.182796
0.182796
0.182796
0
0.028004
0.393425
1,825
63
82
28.968254
0.728094
0
0
0.12
0
0
0.015342
0
0
0
0
0
0
0
null
null
0
0.04
null
null
0.04
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
1d273c127b987c5a9a4f09849a747810b4fba7f6
456
py
Python
sync/apps.py
Semprini/reference-hub
d203bfc07c3f6a7a68a0af577dae438500dca920
[ "Apache-2.0" ]
null
null
null
sync/apps.py
Semprini/reference-hub
d203bfc07c3f6a7a68a0af577dae438500dca920
[ "Apache-2.0" ]
null
null
null
sync/apps.py
Semprini/reference-hub
d203bfc07c3f6a7a68a0af577dae438500dca920
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig from django.db.models.signals import post_save, post_delete from django.conf import settings class SyncConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'sync' def ready(self): try: from .signals import init_signals ...
26.823529
59
0.671053
53
456
5.660377
0.603774
0.1
0.093333
0
0
0
0
0
0
0
0
0
0.254386
456
16
60
28.5
0.882353
0
0
0
0
0
0.166667
0.063596
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.692308
0.153846
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
1
0
0
2
1d290cbaf08552e34dffc797e9f3c2b29932eb60
7,018
py
Python
lib/execution_engine2/cruft.py
MrCreosote/execution_engine2
6017c7d3fb49d53428c51da5ef51a0bf788266cf
[ "MIT" ]
null
null
null
lib/execution_engine2/cruft.py
MrCreosote/execution_engine2
6017c7d3fb49d53428c51da5ef51a0bf788266cf
[ "MIT" ]
null
null
null
lib/execution_engine2/cruft.py
MrCreosote/execution_engine2
6017c7d3fb49d53428c51da5ef51a0bf788266cf
[ "MIT" ]
null
null
null
# # def _run_admin_command(self, command, params): # # available_commands = ["cancel_job", "view_job_logs"] # # if command not in available_commands: # # raise ValueError(f"{command} not an admin command. See {available_commands} ") # # commands = {"cancel_job": self.cancel_job, "view_job_logs": sel...
38.773481
109
0.596894
802
7,018
5.002494
0.220698
0.04661
0.045862
0.020937
0.086241
0.05334
0.043868
0.043868
0.043868
0.035394
0
0.00398
0.283984
7,018
180
110
38.988889
0.794428
0.936877
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
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
0
0
0
0
0
2
1d30f23c6727904b652bf46b8809b6b193789095
22,080
py
Python
senlin/tests/apiv1/test_policies.py
tengqm/senlin
aa59c55c098abb13590bc4308c753338ce4a70f4
[ "Apache-2.0" ]
2
2015-02-11T23:02:13.000Z
2021-03-26T06:39:58.000Z
senlin/tests/apiv1/test_policies.py
tengqm/senlin
aa59c55c098abb13590bc4308c753338ce4a70f4
[ "Apache-2.0" ]
2
2015-01-19T13:40:47.000Z
2015-03-04T07:06:07.000Z
senlin/tests/apiv1/test_policies.py
tengqm/senlin
aa59c55c098abb13590bc4308c753338ce4a70f4
[ "Apache-2.0" ]
5
2015-01-13T14:53:04.000Z
2015-03-13T02:54:06.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed unde...
39.148936
79
0.546467
2,301
22,080
5.007823
0.112994
0.058231
0.054673
0.02994
0.744424
0.709624
0.693396
0.689491
0.675952
0.665625
0
0.012848
0.340806
22,080
563
80
39.218472
0.778839
0.023777
0
0.599558
0
0
0.134614
0.010676
0
0
0
0
0.159292
1
0.057522
false
0.004425
0.028761
0
0.09292
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1d31b977564dc71e7940278a32776b4137bb4071
870
py
Python
src/riotwatcher/_apis/valorant/ContentApi.py
acgandhi/Riot-Watcher
f8a7ea144a00fc62f9ffaee5bad3158f41251589
[ "MIT" ]
null
null
null
src/riotwatcher/_apis/valorant/ContentApi.py
acgandhi/Riot-Watcher
f8a7ea144a00fc62f9ffaee5bad3158f41251589
[ "MIT" ]
null
null
null
src/riotwatcher/_apis/valorant/ContentApi.py
acgandhi/Riot-Watcher
f8a7ea144a00fc62f9ffaee5bad3158f41251589
[ "MIT" ]
null
null
null
from .. import BaseApi, NamedEndpoint from .urls import ContentApiUrls class ContentApi(NamedEndpoint): """ This class wraps the Val-Content-v1 Api calls provided by the Riot API. See https://developer.riotgames.com/apis#val-content-v1 for more detailed information """ def __init__(self, bas...
29
84
0.662069
103
870
5.339806
0.592233
0.050909
0.043636
0
0
0
0
0
0
0
0
0.003082
0.254023
870
29
85
30
0.844376
0.414943
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
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
0
0
0
1
0
0
0
0
1
0
0
2
1d3309bc274656018de222a60894266542029c04
230
py
Python
setup.py
web-sys1/SeismicSonify
9c0c3880bb403a94bb4f8ca937976e4fef849cbe
[ "MIT" ]
26
2020-06-03T17:46:16.000Z
2022-03-20T09:39:12.000Z
setup.py
web-sys1/SeismicSonify
9c0c3880bb403a94bb4f8ca937976e4fef849cbe
[ "MIT" ]
6
2021-12-01T19:32:56.000Z
2022-02-23T22:25:14.000Z
setup.py
liamtoney/sonify
28e03900fe75dfe7f93a5f0ae91fc5ad0ed1cc4e
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup from sonify import __version__ setup( name='sonify', version=__version__, packages=find_packages(), entry_points=dict(console_scripts='sonify = sonify.sonify:main'), )
20.909091
69
0.747826
27
230
5.925926
0.555556
0.15
0
0
0
0
0
0
0
0
0
0
0.152174
230
10
70
23
0.820513
0
0
0
0
0
0.143478
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
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
0
0
0
0
1
0
0
0
0
0
0
2
1d45f187ba9cc2962a4c50c91b9b536fbe900389
300
py
Python
log_sample_normal/views.py
exexute/django_sample
7608af6c9d52a3837dd714a878e8a3a298b17560
[ "Apache-2.0" ]
null
null
null
log_sample_normal/views.py
exexute/django_sample
7608af6c9d52a3837dd714a878e8a3a298b17560
[ "Apache-2.0" ]
1
2021-05-26T03:18:01.000Z
2021-05-26T03:18:01.000Z
log_sample_normal/views.py
exexute/django_sample
7608af6c9d52a3837dd714a878e8a3a298b17560
[ "Apache-2.0" ]
null
null
null
from django.http import JsonResponse from django.views import View import logging logger = logging.getLogger('sample_log') class SampleLogEndPoint(View): def get(self, request): logger.info('access to SampleLogEndPoint') return JsonResponse({'status': 201, 'msg': 'success'})
23.076923
62
0.723333
35
300
6.171429
0.742857
0.092593
0
0
0
0
0
0
0
0
0
0.012
0.166667
300
12
63
25
0.852
0
0
0
0
0
0.176667
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.75
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
1
0
0
2
1d4a7092fa4de80605dd946265c14ef7be1cd1c6
521
py
Python
03_estruturas_compostas/ex075.py
eltonrp/curso_python3_curso_em_video
483e6a41262e09e539de3c1fc907d0fd9b1592b2
[ "MIT" ]
null
null
null
03_estruturas_compostas/ex075.py
eltonrp/curso_python3_curso_em_video
483e6a41262e09e539de3c1fc907d0fd9b1592b2
[ "MIT" ]
null
null
null
03_estruturas_compostas/ex075.py
eltonrp/curso_python3_curso_em_video
483e6a41262e09e539de3c1fc907d0fd9b1592b2
[ "MIT" ]
null
null
null
lista = (int(input('Digite um número: ')), int(input('Digite outro número: ')), int(input('Digite mais um número: ')), int(input('Digite o último número: '))) print(f'Você digitou os valores {lista}') print(f'O número 9 apareceu {lista.count(9)} vez(es)') if 3 in lista: print(f'O número 3...
34.733333
64
0.610365
84
521
3.785714
0.511905
0.100629
0.176101
0.188679
0.251572
0
0
0
0
0
0
0.022277
0.224568
521
14
65
37.214286
0.764851
0
0
0
0
0
0.520154
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
1d4ada56e05db3d12c957fcb29e86567d6fe7e9d
341
py
Python
api/seq/urls.py
antonybholmes/edbw-django-app
2268fa7f983347742ee55145269ef1222776a838
[ "MIT" ]
null
null
null
api/seq/urls.py
antonybholmes/edbw-django-app
2268fa7f983347742ee55145269ef1222776a838
[ "MIT" ]
null
null
null
api/seq/urls.py
antonybholmes/edbw-django-app
2268fa7f983347742ee55145269ef1222776a838
[ "MIT" ]
null
null
null
from django.urls import path from django.conf.urls import url from django.urls import include from api.seq import views urlpatterns = [ path('chipseq/', include('api.seq.chipseq.urls')), path('counts', views.counts, name='counts'), path('mapped', views.mapped, name='mapped'), path('type', views.data_t...
26.230769
54
0.695015
48
341
4.916667
0.375
0.127119
0.118644
0.169492
0
0
0
0
0
0
0
0
0.143695
341
12
55
28.416667
0.808219
0
0
0
0
0
0.175953
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
1d6a78c132cd00cba80ae58b28faea8af5729dee
821
py
Python
TestBoaHarness/src/TestResource/Test8/Test8Case.py
stanislawbartkowski/boatester
40f852c9715d7d6f3e9be583e16d398fa29ec69b
[ "Apache-2.0" ]
1
2018-02-09T01:26:33.000Z
2018-02-09T01:26:33.000Z
TestBoaHarness/src/TestResource/Test8/Test8Case.py
stanislawbartkowski/boatester
40f852c9715d7d6f3e9be583e16d398fa29ec69b
[ "Apache-2.0" ]
null
null
null
TestBoaHarness/src/TestResource/Test8/Test8Case.py
stanislawbartkowski/boatester
40f852c9715d7d6f3e9be583e16d398fa29ec69b
[ "Apache-2.0" ]
null
null
null
import os import sys import unittest import Test8Case import ODBCHelper def setHe(he): Test8Case.helper = he def injectParam(param,tepar) : Test8Case.param = param Test8Case.teparam = tepar class TestSuite(unittest.TestCase): def setUp(self): self.param = Test8Case.param s...
24.878788
81
0.61754
89
821
5.696629
0.41573
0.12426
0.18146
0
0
0
0
0
0
0
0
0.018425
0.272838
821
32
82
25.65625
0.830821
0.266748
0
0
0
0
0.00846
0
0
0
0
0
0
1
0.263158
false
0
0.263158
0
0.578947
0
0
0
0
null
0
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
0
0
0
1
0
0
0
0
0
0
0
2
1d7cc036eb1f4cee4d2d9c1c57594177d76ea02b
344
py
Python
tests/__init__.py
pompiduskus/pybox2d
4393bc93df4828267d2143327abd76de6f146750
[ "Zlib" ]
null
null
null
tests/__init__.py
pompiduskus/pybox2d
4393bc93df4828267d2143327abd76de6f146750
[ "Zlib" ]
null
null
null
tests/__init__.py
pompiduskus/pybox2d
4393bc93df4828267d2143327abd76de6f146750
[ "Zlib" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os, sys from glob import glob tests=glob(os.path.join(os.path.dirname(__file__),"*.py")) #__all__ = [os.path.basename(file)[:-3] for file in files # if file!='__init__.py'] for test in tests: __import__(os.path.basename(test)[:-3], global...
26.461538
73
0.607558
51
344
3.784314
0.588235
0.124352
0.145078
0
0
0
0
0
0
0
0
0.014286
0.186047
344
12
74
28.666667
0.675
0.386628
0
0
0
0
0.020513
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
1
0
0
2
1da049a2d7118c28d4f3ac2b476676bdb4c8aff1
2,677
py
Python
src/__init__.py
erramuzpe/ruber
cf510a4cf9b0b15d870b6506a1593c3b2b00a3b7
[ "MIT" ]
2
2018-11-07T07:54:34.000Z
2022-01-13T13:06:06.000Z
src/__init__.py
erramuzpe/ruber
cf510a4cf9b0b15d870b6506a1593c3b2b00a3b7
[ "MIT" ]
null
null
null
src/__init__.py
erramuzpe/ruber
cf510a4cf9b0b15d870b6506a1593c3b2b00a3b7
[ "MIT" ]
null
null
null
from src.dmri import (run_spm_fsl_dti_preprocessing, run_dti_artifact_correction, correct_dwi_space_atlas, get_con_matrix_matlab, run_dtk_tractography, ) from src.interfaces import (CanICAInterface, ...
38.797101
54
0.393351
176
2,677
5.443182
0.590909
0.036534
0.025052
0.033403
0
0
0
0
0
0
0
0.000888
0.57938
2,677
69
55
38.797101
0.849911
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
d5215f9109908924a1a6af979e4f67e4558759f2
671
py
Python
leetcode/1018_binary_prefix_divisible_by_5/1018_binary_prefix_divisible_by_5.py
ryangillard/misc
d1f9919400636e6b988fa933493b94829a73331e
[ "Apache-2.0" ]
null
null
null
leetcode/1018_binary_prefix_divisible_by_5/1018_binary_prefix_divisible_by_5.py
ryangillard/misc
d1f9919400636e6b988fa933493b94829a73331e
[ "Apache-2.0" ]
null
null
null
leetcode/1018_binary_prefix_divisible_by_5/1018_binary_prefix_divisible_by_5.py
ryangillard/misc
d1f9919400636e6b988fa933493b94829a73331e
[ "Apache-2.0" ]
null
null
null
class Solution(object): def prefixesDivBy5(self, A): """ :type A: List[int] :rtype: List[bool] """ return self.prefixMod(A) def forLoop(self, A): A = "".join([str(x) for x in A]) ret = [False] * len(A) for i in range(len(A)): if int(A[...
24.851852
66
0.432191
105
671
2.761905
0.304762
0.068966
0.062069
0.072414
0.372414
0.310345
0.206897
0.144828
0.144828
0.144828
0
0.036675
0.390462
671
27
67
24.851852
0.672372
0.055142
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0
0
0.529412
0
0
0
0
null
0
0
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
0
0
0
1
0
0
0
0
1
0
0
2
d528cdb7358fa86ca6d319001569d76a35a9c560
360
py
Python
products/urls.py
wmalott23/Products_app
691e156ed6f2607a257b18bc988c789013505ee1
[ "MIT" ]
null
null
null
products/urls.py
wmalott23/Products_app
691e156ed6f2607a257b18bc988c789013505ee1
[ "MIT" ]
null
null
null
products/urls.py
wmalott23/Products_app
691e156ed6f2607a257b18bc988c789013505ee1
[ "MIT" ]
null
null
null
from django.urls import path from . import views from rest_framework.urlpatterns import format_suffix_patterns urlpatterns = [ # path('', views.products_list), # path('<int:pk>/', views.product_detail), path('', views.ProductList.as_view()), path('<int:pk>/', views.ProductDetail.as_view()) ] urlpatter...
30
61
0.727778
44
360
5.75
0.5
0.094862
0.158103
0.245059
0
0
0
0
0
0
0
0
0.127778
360
12
62
30
0.805732
0.197222
0
0
0
0
0.031359
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
d52d64a7724649d18a9c2af3401f63e97a9893fb
1,186
py
Python
main/courses/forums/forms.py
Andymic/class2go
45a457e89790cb83942d24ada816357dc91b8fe4
[ "Apache-2.0" ]
1
2015-11-05T20:49:11.000Z
2015-11-05T20:49:11.000Z
main/courses/forums/forms.py
Andymic/class2go
45a457e89790cb83942d24ada816357dc91b8fe4
[ "Apache-2.0" ]
null
null
null
main/courses/forums/forms.py
Andymic/class2go
45a457e89790cb83942d24ada816357dc91b8fe4
[ "Apache-2.0" ]
null
null
null
from django import forms class PiazzaAuthForm(forms.Form): # User Info user_id = forms.CharField() lis_person_contact_email_primary = forms.CharField() #lis_person_name_given = forms.CharField() #lis_person_name_family = forms.CharField() lis_person_name_full = forms.CharField() lis_person_...
31.210526
58
0.726813
134
1,186
6.104478
0.335821
0.427873
0.162592
0.140587
0.182152
0
0
0
0
0
0
0
0.180438
1,186
37
59
32.054054
0.841564
0.10371
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.04
0
1
0
0
0
0
null
1
0
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
0
0
0
0
0
0
0
0
1
0
0
2
d5330ff256d87e5e4d011bc3c2a06f779221895e
71
py
Python
tests/functional/__init__.py
bianhaoyi/necache
aaaee900c0cf57bfc477fb790858709c7f2d69fe
[ "BSD-3-Clause" ]
351
2015-01-06T09:49:19.000Z
2022-03-30T12:46:23.000Z
tests/functional/__init__.py
bianhaoyi/necache
aaaee900c0cf57bfc477fb790858709c7f2d69fe
[ "BSD-3-Clause" ]
10
2015-11-19T21:10:18.000Z
2021-08-16T14:29:01.000Z
tests/functional/__init__.py
LaudateCorpus1/twemcache
8cfc4ca5e76ed936bd3786c8cc43ed47e7778c08
[ "BSD-3-Clause" ]
73
2015-01-07T07:06:46.000Z
2022-03-21T00:59:23.000Z
__all__ = ['basic', 'expiry', 'stats', 'advanced', 'startup', '64bit']
35.5
70
0.605634
7
71
5.571429
1
0
0
0
0
0
0
0
0
0
0
0.031746
0.112676
71
1
71
71
0.587302
0
0
0
0
0
0.507042
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d562d010288aefc6638d20954153035f7622937e
290
py
Python
snippets - machine learning sklearn/loading-data.py
bjfisica/MachineLearning
20349301ae7f82cd5048410b0cf1f7a5f7d7e5a2
[ "MIT" ]
52
2019-02-15T16:37:13.000Z
2022-02-17T18:34:30.000Z
snippets - machine learning sklearn/loading-data.py
RodeoBlues/Complete-Data-Science-Toolkits
c5e83889e24af825ec3baed6e8198debb135f1ff
[ "MIT" ]
null
null
null
snippets - machine learning sklearn/loading-data.py
RodeoBlues/Complete-Data-Science-Toolkits
c5e83889e24af825ec3baed6e8198debb135f1ff
[ "MIT" ]
22
2019-02-25T23:52:09.000Z
2021-09-21T03:09:35.000Z
import numpy as np X = np.random.random((10,5)) y = np.array(['M','M','F','F','M','F','M','M','F','F','F']) X[X < 0.7] = 0 #use model selection to split our data from sklearn.model_selection import train_test_split X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=0)
36.25
73
0.665517
60
290
3.05
0.433333
0.032787
0.032787
0.043716
0
0
0
0
0
0
0
0.027451
0.12069
290
7
74
41.428571
0.690196
0.127586
0
0
0
0
0.043651
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
d56d17b418a5e4e2217bc6482393e687e1206211
935
py
Python
src/Modules/Communication/bluetooth.py
bopopescu/PyHouse_1
6444ed0b4c38ab59b9e419e4d54d65d598e6a54e
[ "MIT" ]
1
2016-09-21T19:30:21.000Z
2016-09-21T19:30:21.000Z
src/Modules/Communication/bluetooth.py
bopopescu/PyHouse_1
6444ed0b4c38ab59b9e419e4d54d65d598e6a54e
[ "MIT" ]
null
null
null
src/Modules/Communication/bluetooth.py
bopopescu/PyHouse_1
6444ed0b4c38ab59b9e419e4d54d65d598e6a54e
[ "MIT" ]
1
2020-07-23T11:13:36.000Z
2020-07-23T11:13:36.000Z
""" -*- test-case-name: PyHouse.src.Modules.communication.test.test_bluetooth -*- @name: PyHouse/src/Modules/communication/bluteooth.py @author: D. Brian Kimmel @contact: D.BrianKimmel@gmail.com @copyright: (c) 2013-2016 by D. Brian Kimmel @note: Created on Nov 18, 2013 @license: MIT License @summary:...
23.375
80
0.675936
129
935
4.72093
0.596899
0.098522
0.090312
0.068966
0.180624
0
0
0
0
0
0
0.019126
0.217112
935
39
81
23.974359
0.812842
0.496257
0
0.142857
0
0
0.065217
0
0
0
0
0
0
1
0.357143
false
0.142857
0
0
0.5
0
0
0
0
null
0
0
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
0
0
0
1
0
1
0
0
0
0
0
2
d57370505dd6c699ee24135375eff7199d64f441
1,058
py
Python
metricsML/MetricsML.py
Elscha/MetricsML
2ecbc42ad7bd2465f4f75658f44452ea5c552c3b
[ "Apache-2.0" ]
null
null
null
metricsML/MetricsML.py
Elscha/MetricsML
2ecbc42ad7bd2465f4f75658f44452ea5c552c3b
[ "Apache-2.0" ]
null
null
null
metricsML/MetricsML.py
Elscha/MetricsML
2ecbc42ad7bd2465f4f75658f44452ea5c552c3b
[ "Apache-2.0" ]
null
null
null
''' Created on 03.12.2018 @author: el-sharkawy ''' from metricsML import DataConvertor from metricsML import MachineLearning from metricsML import Normalizator import numpy as np ### File Operations ### def convertTwoCSVFiles(folder="data/", goodfile="all_good_output.csv", badfile="all_error_output.csv"): DataCon...
37.785714
142
0.793951
121
1,058
6.793388
0.438017
0.043796
0.069343
0.085158
0.3309
0.3309
0.3309
0.3309
0.192214
0.192214
0
0.011603
0.10397
1,058
28
143
37.785714
0.855485
0.12949
0
0
0
0
0.06541
0
0
0
0
0
0
1
0.357143
false
0
0.285714
0.142857
0.785714
0
0
0
0
null
0
0
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
0
0
0
1
0
0
0
1
0
0
0
2
d578d5f1779229089045f31733bae711e4fd76ce
867
py
Python
vagrancy/__init__.py
seeraven/vagrancyCtrl
1908ab913dd896a45cc0582ebf356eba071fb2ab
[ "BSD-3-Clause-Clear" ]
null
null
null
vagrancy/__init__.py
seeraven/vagrancyCtrl
1908ab913dd896a45cc0582ebf356eba071fb2ab
[ "BSD-3-Clause-Clear" ]
null
null
null
vagrancy/__init__.py
seeraven/vagrancyCtrl
1908ab913dd896a45cc0582ebf356eba071fb2ab
[ "BSD-3-Clause-Clear" ]
null
null
null
# -*- coding: utf-8 -*- """ Module for accessing a vagrancy instance. Vagrancy stores the boxes for different versions and different providers in the following way: - Each box has a unique name consisting of ``<username>/<name>``. - Each box has one or more versions. The version can be anything like a semanti...
36.125
85
0.707036
131
867
4.679389
0.618321
0.029364
0.032626
0.035889
0.04894
0
0
0
0
0
0
0.012876
0.193772
867
23
86
37.695652
0.864092
0.988466
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
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
0
0
0
0
0
2
d57ffd90b51e46dfbf8af28cb4ecc6af09fd1c10
194
py
Python
Python/11.container-with-most-water.py
Mo-Shakib/LeetCode
a3f1cfda648d9abf504e9d79697f1ca433c48460
[ "Apache-2.0" ]
1
2022-01-10T01:10:03.000Z
2022-01-10T01:10:03.000Z
Python/11.container-with-most-water.py
Mo-Shakib/LeetCode
a3f1cfda648d9abf504e9d79697f1ca433c48460
[ "Apache-2.0" ]
3
2022-01-10T18:24:21.000Z
2022-01-10T22:38:38.000Z
Python/11.container-with-most-water.py
Mo-Shakib/LeetCode
a3f1cfda648d9abf504e9d79697f1ca433c48460
[ "Apache-2.0" ]
2
2022-01-10T05:06:22.000Z
2022-01-14T06:20:09.000Z
# # @lc app=leetcode id=11 lang=python3 # # [11] Container With Most Water # # @lc code=start class Solution: def maxArea(self, height: List[int]) -> int: # @lc code=end
13.857143
48
0.592784
27
194
4.259259
0.814815
0.104348
0
0
0
0
0
0
0
0
0
0.035211
0.268041
194
13
49
14.923077
0.774648
0.484536
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
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
0
0
1
0
0
0
0
0
0
0
0
2
d5874bed0cd3c033a4979987b99271b1f947ea02
375
py
Python
ea_server/model/ea_function_model.py
tamirho/evo-delivery
02bc62401d63f5321fa4bc1ee9a83409f9948c97
[ "MIT" ]
null
null
null
ea_server/model/ea_function_model.py
tamirho/evo-delivery
02bc62401d63f5321fa4bc1ee9a83409f9948c97
[ "MIT" ]
15
2022-01-27T09:58:59.000Z
2022-03-29T17:19:18.000Z
ea_server/model/ea_function_model.py
tamirho/evo-delivery
02bc62401d63f5321fa4bc1ee9a83409f9948c97
[ "MIT" ]
1
2021-12-26T11:38:50.000Z
2021-12-26T11:38:50.000Z
from dataclasses import dataclass from typing import Callable, List # class representation of possible kwarg of a Deap function @dataclass class KwargModel: name: str type: str description: str # class representation of possible EA functions to choose @dataclass class EaFunctionModel: function: Call...
19.736842
59
0.762667
45
375
6.355556
0.577778
0.132867
0.146853
0.202797
0
0
0
0
0
0
0
0
0.197333
375
18
60
20.833333
0.950166
0.301333
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.833333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
d58809adbdbf2a2fc2b413121b0fd593f92bae53
518
py
Python
pavo_cristatus/symbol_signature_replacer/__init__.py
MATTHEWFRAZER/pavo_cristatus
a4b96c0eb6c454fbe38d2092e29f63457a4ee955
[ "MIT" ]
null
null
null
pavo_cristatus/symbol_signature_replacer/__init__.py
MATTHEWFRAZER/pavo_cristatus
a4b96c0eb6c454fbe38d2092e29f63457a4ee955
[ "MIT" ]
null
null
null
pavo_cristatus/symbol_signature_replacer/__init__.py
MATTHEWFRAZER/pavo_cristatus
a4b96c0eb6c454fbe38d2092e29f63457a4ee955
[ "MIT" ]
null
null
null
from pavo_cristatus.dependency_injection.ploceidae_configurator import pavo_cristatus_dependency_wrapper from picidae import lazily_echo, access_attribute from pavo_cristatus.symbol_signature_replacer import symbol_signature_replacer dependency_module_name = "symbol_signature_replacer" __all__ = [dependency_module_n...
39.846154
116
0.839768
56
518
7.196429
0.428571
0.129032
0.228288
0.148883
0
0
0
0
0
0
0
0
0.117761
518
12
117
43.166667
0.881838
0
0
0
0
0
0.069633
0.048356
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
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
0
0
0
0
0
0
1
0
0
0
0
2
d58bfd0e20ee60c02c3420764a7d8d41f3f95eee
387
py
Python
2-4.bool_opr.py
iwhgao/python_practise
b85e5ffd8703faa04c5f1bd03c09ea4522e238f2
[ "Apache-2.0" ]
1
2017-08-30T09:06:41.000Z
2017-08-30T09:06:41.000Z
2-4.bool_opr.py
iwhgao/python_practise
b85e5ffd8703faa04c5f1bd03c09ea4522e238f2
[ "Apache-2.0" ]
null
null
null
2-4.bool_opr.py
iwhgao/python_practise
b85e5ffd8703faa04c5f1bd03c09ea4522e238f2
[ "Apache-2.0" ]
1
2018-10-08T06:13:51.000Z
2018-10-08T06:13:51.000Z
#!/usr/bin/python # -*- coding:utf-8 -*- # --------------------------- # Author: deangao # Copyright: 2016 deangao # Version: v1.0.0 # Created: 2016/2/15 # --------------------------- __author__ = 'deangao' ''' 布尔值操作-只要是一些逻辑运算操作 ''' # ---产生bool值--- bool1 = True bool2 = (2 > 3) print bool1, bool2 # ---逻辑运算--- # --...
13.821429
29
0.5323
45
387
4.488889
0.644444
0.148515
0
0
0
0
0
0
0
0
0
0.08
0.160207
387
27
30
14.333333
0.541538
0.524548
0
0
0
0
0.047297
0
0
0
0
0
0
0
null
null
0
0
null
null
0.571429
0
0
0
null
0
0
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
0
0
1
0
0
0
0
0
0
1
0
2
633602ac685ea404ebc217673c3a63149c5038b0
3,412
py
Python
app/forms.py
nickma101/2bij3
d0a74cc1457470c711e97138865abd86aa320b5a
[ "MIT" ]
null
null
null
app/forms.py
nickma101/2bij3
d0a74cc1457470c711e97138865abd86aa320b5a
[ "MIT" ]
null
null
null
app/forms.py
nickma101/2bij3
d0a74cc1457470c711e97138865abd86aa320b5a
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm import wtforms from wtforms import StringField, PasswordField, BooleanField, RadioField, SelectField, SubmitField, SelectMultipleField, TextAreaField, widgets, IntegerField from wtforms.validators import DataRequired, ValidationError, Email, EqualTo, InputRequired, Length, NumberRange f...
46.108108
219
0.723916
337
3,412
7.284866
0.418398
0.116497
0.065173
0.050102
0.441548
0.364562
0.244399
0.189002
0.15723
0.15723
0
0.001404
0.164713
3,412
73
220
46.739726
0.86
0
0
0.316667
0
0
0.198417
0
0
0
0
0
0
1
0.05
false
0.15
0.1
0
0.833333
0
0
0
0
null
0
0
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
0
0
0
0
0
1
0
0
1
0
0
2
633af4736f589b2ac6076fac4005749e84b59aa5
1,453
py
Python
gsnodegraph/graph/btn.py
iwoithe/gsnodegraph
54450c6703ac9f75b69f39c8a4490cab7d9a965a
[ "Apache-2.0" ]
14
2021-05-19T15:45:24.000Z
2022-03-29T21:31:52.000Z
gsnodegraph/graph/btn.py
iwoithe/gsnodegraph
54450c6703ac9f75b69f39c8a4490cab7d9a965a
[ "Apache-2.0" ]
9
2021-05-02T02:34:12.000Z
2022-02-18T16:46:22.000Z
gsnodegraph/graph/btn.py
iwoithe/gsnodegraph
54450c6703ac9f75b69f39c8a4490cab7d9a965a
[ "Apache-2.0" ]
2
2021-09-28T22:18:23.000Z
2021-11-21T20:55:32.000Z
import wx from gsnodegraph.constants import (BTN_NORMAL_COLOR, BTN_CLICKED_COLOR, BTN_FOCUSED_COLOR) from gsnodegraph.assets import ICON_ADD_NODE class AddNodeBtn(object): def __init__(self, parent): self.parent = parent self.bitmap = ICON_ADD_NODE.GetBitmap()...
25.946429
77
0.61872
179
1,453
4.882682
0.301676
0.06865
0.080092
0.045767
0.080092
0.080092
0.080092
0
0
0
0
0.007663
0.281487
1,453
56
78
25.946429
0.829502
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.075
0.125
0.475
0
0
0
0
null
0
0
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
0
0
0
1
0
0
0
1
0
0
0
2
633f13ba50e5024214a5521c3bb7da838e21a64e
918
py
Python
backee/model/items.py
pruh/backee
3e88d799a50f75033ae15d6c16655da8ae791886
[ "MIT" ]
null
null
null
backee/model/items.py
pruh/backee
3e88d799a50f75033ae15d6c16655da8ae791886
[ "MIT" ]
2
2020-01-22T22:21:02.000Z
2020-01-22T22:28:37.000Z
backee/model/items.py
pruh/backee
3e88d799a50f75033ae15d6c16655da8ae791886
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import Tuple, Dict, Optional from abc import ABC, abstractmethod from backee.model.db_connectors import DbConnector from backee.model.rotation_strategy import RotationStrategy @dataclass class BackupItem(ABC): rotation_strategy: Optional[RotationStrategy] @prope...
17.653846
59
0.724401
93
918
7.11828
0.44086
0.10574
0.066465
0.086103
0.122357
0.084592
0
0
0
0
0
0
0.205882
918
51
60
18
0.908093
0
0
0.361111
0
0
0.021786
0
0
0
0
0
0
1
0.111111
false
0.055556
0.138889
0.083333
0.694444
0
0
0
0
null
0
0
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
0
0
0
0
0
1
0
0
1
0
0
2
63430951fe67dd703e48e204907feb9ad2486b73
345
py
Python
sispo/plugins/plugins.py
oknuutti/sispo
c54019fca4e941a83cc78eda1356b8441bd04d17
[ "BSD-2-Clause" ]
null
null
null
sispo/plugins/plugins.py
oknuutti/sispo
c54019fca4e941a83cc78eda1356b8441bd04d17
[ "BSD-2-Clause" ]
null
null
null
sispo/plugins/plugins.py
oknuutti/sispo
c54019fca4e941a83cc78eda1356b8441bd04d17
[ "BSD-2-Clause" ]
null
null
null
import importlib def try_plugins(plugin_name, settings, env): for plugin in plugin_name: ##Create error checking here spec = importlib.util.spec_from_file_location("JetCreator", plugin) foo = importlib.util.module_from_spec(spec) spec.loader.exec_module(foo) ...
31.363636
75
0.663768
43
345
5.116279
0.604651
0.090909
0
0
0
0
0
0
0
0
0
0
0.252174
345
10
76
34.5
0.852713
0.075362
0
0
0
0
0.031546
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.571429
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
1
0
0
2
63926d6791f595f27ac1f2b7ab67e1b7d3e158ff
1,929
py
Python
tests/test_configurations/test_validation.py
marcofavorito/agents-aea
e520f2f5d076a193514e194d94aa76c6423ac5bc
[ "Apache-2.0" ]
null
null
null
tests/test_configurations/test_validation.py
marcofavorito/agents-aea
e520f2f5d076a193514e194d94aa76c6423ac5bc
[ "Apache-2.0" ]
null
null
null
tests/test_configurations/test_validation.py
marcofavorito/agents-aea
e520f2f5d076a193514e194d94aa76c6423ac5bc
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2018-2019 Fetch.AI Limited # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the ...
37.096154
83
0.613271
247
1,929
4.651822
0.425101
0.093995
0.125326
0.180157
0.3255
0.303742
0.251523
0.163621
0.106179
0.106179
0
0.019145
0.187662
1,929
51
84
37.823529
0.714103
0.450492
0
0.375
0
0
0.188953
0
0
0
0
0
0.416667
1
0.041667
false
0
0.041667
0
0.083333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
63b90808230e3a349c223887dc7145428b84feb5
640
py
Python
r2lldb/backend/trace.py
nowsecure/r2lldb
29cf97bf96f68d5a78060ea63504112b4a2fb3df
[ "MIT" ]
57
2016-07-06T18:04:19.000Z
2022-01-13T09:38:21.000Z
r2lldb/backend/trace.py
Maijin/r2lldb
5aaadba59d19a584b63735d37827ae1e5a152ade
[ "MIT" ]
4
2016-08-11T15:35:47.000Z
2019-01-25T15:39:35.000Z
r2lldb/backend/trace.py
Maijin/r2lldb
5aaadba59d19a584b63735d37827ae1e5a152ade
[ "MIT" ]
16
2016-07-14T04:07:07.000Z
2021-12-15T08:07:58.000Z
# TODO: implement tracing helpers here traces = {} def add(at,cmd): try: #at = "0x%x"%int(at, 16) print("ADD",at) print(traces[at]) if traces[at]: return False except: pass traces[at] = cmd return True def get(at): try: try: at = "0x%x"%int(at, 16) except: pass print("GET",at) return ...
14.222222
46
0.5625
109
640
3.302752
0.330275
0.033333
0.041667
0.066667
0.144444
0.144444
0.144444
0
0
0
0
0.024742
0.242188
640
44
47
14.545455
0.717526
0.092188
0
0.305556
0
0
0.060554
0
0
0
0
0.022727
0
1
0.111111
false
0.055556
0
0
0.277778
0.138889
0
0
0
null
0
0
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
0
0
1
0
0
0
0
0
2
63c915d5906220490ace40f167a3f374fce27916
1,411
py
Python
src/exabgp/bgp/message/update/attribute/bgpls/node/lterid.py
pierky/exabgp
34be537ae5906c0830b31da1152ae63108ccf911
[ "BSD-3-Clause" ]
1,560
2015-01-01T08:53:05.000Z
2022-03-29T20:22:43.000Z
src/exabgp/bgp/message/update/attribute/bgpls/node/lterid.py
pierky/exabgp
34be537ae5906c0830b31da1152ae63108ccf911
[ "BSD-3-Clause" ]
818
2015-01-01T17:38:40.000Z
2022-03-30T07:29:24.000Z
src/exabgp/bgp/message/update/attribute/bgpls/node/lterid.py
pierky/exabgp
34be537ae5906c0830b31da1152ae63108ccf911
[ "BSD-3-Clause" ]
439
2015-01-06T21:20:41.000Z
2022-03-19T23:24:25.000Z
# encoding: utf-8 """ nodename.py Created by Evelio Vila on 2016-12-01. Copyright (c) 2014-2017 Exa Networks. All rights reserved. """ from exabgp.protocol.ip import IP from exabgp.bgp.message.notification import Notify from exabgp.bgp.message.update.attribute.bgpls.linkstate import LinkState # | 1028 | I...
29.395833
83
0.537916
166
1,411
4.524096
0.584337
0.066578
0.034621
0.053262
0.098535
0.098535
0.098535
0.098535
0.098535
0
0
0.0625
0.285613
1,411
47
84
30.021277
0.68254
0.402551
0
0
0
0
0.096502
0.026538
0
0
0
0
0
1
0.238095
false
0
0.142857
0.095238
0.619048
0
0
0
0
null
0
0
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
0
0
0
1
0
0
0
0
1
0
0
2
8922370796ea430aa932d199eb3e29be90edb535
6,410
py
Python
study/python/pyqt/demo/signup.py
cheenwe/blog
a866b3ab98aa58e3ed4a7624fbb72c8fd8dee790
[ "MIT" ]
10
2016-09-28T03:22:41.000Z
2020-06-16T08:42:25.000Z
study/python/pyqt/demo/signup.py
cheenwe/blog
a866b3ab98aa58e3ed4a7624fbb72c8fd8dee790
[ "MIT" ]
12
2017-04-18T08:41:04.000Z
2020-06-10T02:54:58.000Z
study/python/pyqt/demo/signup.py
cheenwe/blog
a866b3ab98aa58e3ed4a7624fbb72c8fd8dee790
[ "MIT" ]
8
2016-09-28T03:03:32.000Z
2019-09-16T04:22:01.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'mainwindow.ui' # # Created by: PyQt5 UI code generator 5.9.2 # # WARNING! All changes made in this file will be lost! # -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'mainwindow.ui' # # Created by: PyQt5 UI code...
43.605442
615
0.680811
713
6,410
6.086957
0.308555
0.041475
0.023963
0.024885
0.182949
0.12212
0.12212
0.112903
0.112903
0.112903
0
0.057562
0.192356
6,410
146
616
43.90411
0.780761
0.087051
0
0
1
0.009434
0.14994
0.004117
0
0
0
0
0
1
0.056604
false
0.141509
0.037736
0
0.113208
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
89246eeb031a4daaf956547c2a82f3969d7ebdc9
1,267
py
Python
globality_black/jupyter_formatter.py
globality-corp/globality-black
24817b8d8f25300d166e13c38cf96c01dbc0e75e
[ "MIT" ]
2
2020-12-11T19:59:48.000Z
2022-01-17T15:01:11.000Z
globality_black/jupyter_formatter.py
globality-corp/globality-black
24817b8d8f25300d166e13c38cf96c01dbc0e75e
[ "MIT" ]
4
2021-02-10T10:10:40.000Z
2021-12-09T17:57:43.000Z
globality_black/jupyter_formatter.py
globality-corp/globality-black
24817b8d8f25300d166e13c38cf96c01dbc0e75e
[ "MIT" ]
null
null
null
"""Helper class to use with `jupyterlab_code_formatter` Jupyter extension. See README for details""" import logging import black from jupyterlab_code_formatter.formatters import BaseFormatter, handle_line_ending_and_magic from globality_black.reformat_text import reformat_text class GlobalityBlackFormatter(BaseFor...
35.194444
100
0.719811
168
1,267
5.238095
0.47619
0.079545
0.063636
0.043182
0.109091
0
0
0
0
0
0
0.007828
0.19337
1,267
35
101
36.2
0.853229
0.3015
0
0
0
0
0.140411
0
0
0
0
0
0
1
0.157895
false
0
0.315789
0
0.684211
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
1
0
0
2
893ef1393e385b20f7f7b4980d592e7f0b87d1b2
59
py
Python
mlflow/version.py
rstudio/mlflow-original
4eb703bc9af5f5bb6c63b8772ccde590624cf73d
[ "Apache-2.0" ]
2
2019-08-31T10:18:47.000Z
2022-02-13T13:34:14.000Z
mlflow/version.py
rstudio/mlflow-original
4eb703bc9af5f5bb6c63b8772ccde590624cf73d
[ "Apache-2.0" ]
5
2018-08-29T00:46:14.000Z
2018-08-31T07:17:58.000Z
mlflow/version.py
rstudio/mlflow-original
4eb703bc9af5f5bb6c63b8772ccde590624cf73d
[ "Apache-2.0" ]
2
2019-11-06T23:26:40.000Z
2020-12-18T08:59:20.000Z
# Copyright 2018 Databricks, Inc. VERSION = '0.5.2.dev0'
11.8
33
0.677966
9
59
4.444444
1
0
0
0
0
0
0
0
0
0
0
0.163265
0.169492
59
4
34
14.75
0.653061
0.525424
0
0
0
0
0.384615
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
89504989087775dd7ba2da5a1d9611e8030284df
447
py
Python
tests/test_teamcity.py
flexmock/flexmock
31091e747e38a2edb3ced6b64ae159b36110e83c
[ "BSD-2-Clause-FreeBSD" ]
15
2021-07-05T13:21:38.000Z
2022-01-06T02:53:26.000Z
tests/test_teamcity.py
flexmock/flexmock
31091e747e38a2edb3ced6b64ae159b36110e83c
[ "BSD-2-Clause-FreeBSD" ]
93
2021-07-05T13:12:31.000Z
2022-03-21T00:55:27.000Z
tests/test_teamcity.py
flexmock/flexmock
31091e747e38a2edb3ced6b64ae159b36110e83c
[ "BSD-2-Clause-FreeBSD" ]
4
2021-07-12T21:05:34.000Z
2021-08-22T07:54:10.000Z
"""Test TeamCity (PyCharm) integration.""" # pylint: disable=missing-docstring,no-self-use import unittest from teamcity.unittestpy import TeamcityTestRunner from tests.features import FlexmockTestCase class TestTeamCityTeardown(FlexmockTestCase, unittest.TestCase): """Test flexmock teardown works with TeamCity...
26.294118
75
0.778523
46
447
7.391304
0.673913
0
0
0
0
0
0
0
0
0
0
0
0.123043
447
16
76
27.9375
0.867347
0.333333
0
0
0
0
0.027875
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.571429
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
1
0
0
2
89587e20404a195d566ade5dd64d8a90d60482b4
3,928
py
Python
IDEAS/Resources/src/fluid/heatpumps/calibration/PythonModel/heatexchangers.py
JavierArroyoBastida/IDEAS
d8df09206d90451f8a5910aa5780f363573ecd8c
[ "BSD-3-Clause" ]
87
2015-01-13T10:48:28.000Z
2022-02-07T12:46:06.000Z
IDEAS/Resources/src/fluid/heatpumps/calibration/PythonModel/heatexchangers.py
JavierArroyoBastida/IDEAS
d8df09206d90451f8a5910aa5780f363573ecd8c
[ "BSD-3-Clause" ]
871
2015-01-02T09:14:43.000Z
2022-03-28T20:22:25.000Z
IDEAS/Resources/src/fluid/heatpumps/calibration/PythonModel/heatexchangers.py
JavierArroyoBastida/IDEAS
d8df09206d90451f8a5910aa5780f363573ecd8c
[ "BSD-3-Clause" ]
45
2015-01-12T13:51:45.000Z
2022-03-14T08:01:40.000Z
from __future__ import division, print_function, absolute_import import numpy as np class EvaporatorCondenser(object): """ Object for heat exchanger based on epsilon-NTU method for a heat transfer fluid exchanging heat with refrigerant experiencing constant temperature phase change. :par...
32.46281
80
0.619399
438
3,928
5.474886
0.347032
0.014596
0.043369
0.015847
0.07256
0.029191
0.029191
0.029191
0.029191
0.029191
0
0.013353
0.294552
3,928
120
81
32.733333
0.852039
0.538697
0
0.147059
0
0
0.068579
0.03219
0
0
0
0
0
1
0.235294
false
0
0.058824
0
0.558824
0.088235
0
0
0
null
0
0
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
0
0
0
1
0
0
0
0
1
0
0
2
895a276f3342205d34c7416b14456a42a8a1a72b
9,404
py
Python
tests/test_geometry.py
TovarnovM/easyvec
25a67a37907140c07feace02dd85d68fc59824a6
[ "MIT" ]
1
2021-06-24T18:12:51.000Z
2021-06-24T18:12:51.000Z
tests/test_geometry.py
TovarnovM/easyvec
25a67a37907140c07feace02dd85d68fc59824a6
[ "MIT" ]
null
null
null
tests/test_geometry.py
TovarnovM/easyvec
25a67a37907140c07feace02dd85d68fc59824a6
[ "MIT" ]
null
null
null
from pytest import approx from easyvec import Vec2, intersect, closest, Mat2 import numpy as np from easyvec.geometry import _sortreduce, Rect, PolyLine, is_in_polygon # TODO add test for arcs def test_polyline_is_selfintersect1(): pl = PolyLine([(0,3), (10,3), (10,0), (0,0)], copy_data=True) assert not pl.i...
30.044728
111
0.549341
1,592
9,404
3.147613
0.105528
0.074037
0.054879
0.039513
0.743165
0.720016
0.682299
0.621632
0.572141
0.542008
0
0.111064
0.241706
9,404
313
112
30.044728
0.591642
0.002339
0
0.480315
0
0
0.021
0
0
0
0
0.003195
0.232283
1
0.228346
false
0
0.015748
0.019685
0.26378
0
0
0
0
null
0
0
0
0
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
1
0
0
0
0
0
0
0
2
8962ba1e70c133d90ad2110d321cabbb28852c18
9,195
py
Python
pysnmp/CISCO-VOICE-IF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-VOICE-IF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-VOICE-IF-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-VOICE-IF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-VOICE-IF-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:03:11 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
133.26087
1,082
0.755628
1,023
9,195
6.789834
0.175953
0.014397
0.013821
0.014397
0.348834
0.285632
0.243306
0.233804
0.218255
0.207026
0
0.068402
0.081022
9,195
68
1,083
135.220588
0.753609
0.035889
0
0.05
0
0
0.210479
0.048216
0
0
0
0
0
1
0
false
0
0.15
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
897b8decb81a9ceb7fa7fbc4dcdf34ceb70ae499
7,487
py
Python
des2.py
101guptaji/Cryptography
70e52f80f4cbb609d42bd714256ed228f994e57f
[ "MIT" ]
null
null
null
des2.py
101guptaji/Cryptography
70e52f80f4cbb609d42bd714256ed228f994e57f
[ "MIT" ]
null
null
null
des2.py
101guptaji/Cryptography
70e52f80f4cbb609d42bd714256ed228f994e57f
[ "MIT" ]
null
null
null
PC1 = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4] PC2 = [14, 17, 11, 24, 1, 5, 3, 28, 15, ...
29.476378
64
0.467343
1,469
7,487
2.322668
0.100749
0.032825
0.021102
0.025791
0.346717
0.319754
0.291325
0.256448
0.176436
0.176436
0
0.269389
0.316282
7,487
253
65
29.592885
0.397148
0.119941
0
0.166667
0
0
0.025743
0
0
0
0
0
0
1
0.046875
false
0
0
0
0.083333
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
899c2dd325cf4c564e8808ea1ba5f680b670182e
428
py
Python
Lib/site-packages/spyder/plugins/maininterpreter/__init__.py
hirorin-demon/hirorin-streamlit
03fbb6f03ec94f909d451e708a3b30b177607695
[ "0BSD" ]
1
2021-06-20T14:52:40.000Z
2021-06-20T14:52:40.000Z
spyder/plugins/maininterpreter/__init__.py
Pancakerr/spyder
34a9878bba97f427fbdd7b4a6d77ac0651327565
[ "MIT" ]
1
2021-04-30T21:16:55.000Z
2021-04-30T21:16:55.000Z
spyder/plugins/maininterpreter/__init__.py
Pancakerr/spyder
34a9878bba97f427fbdd7b4a6d77ac0651327565
[ "MIT" ]
1
2020-06-14T07:03:50.000Z
2020-06-14T07:03:50.000Z
# -*- coding: utf-8 -*- # # Copyright © Spyder Project Contributors # Licensed under the terms of the MIT License # (see spyder/__init__.py for details) """ spyder.plugins.maininterpreter ============================== Main interpreter Plugin. """ from spyder.plugins.maininterpreter.plugin import MainInterpreter # ...
23.777778
74
0.714953
50
428
6.04
0.74
0.086093
0.18543
0
0
0
0
0
0
0
0
0.002695
0.133178
428
17
75
25.176471
0.808625
0.71028
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
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
0
0
0
0
0
0
1
0
0
0
0
2
899d4a64b2918938934e81a5ab447dceadb839ae
306
py
Python
config.py
abhinayy0/DQRCG
141b3963577ba780a887345e17224f841122cfb1
[ "MIT" ]
2
2022-01-31T05:04:42.000Z
2022-02-01T17:08:09.000Z
config.py
red-elka/DQRCG
4a8fd9e11bbc3775fc532999f0100a5ff2c42d6c
[ "MIT" ]
7
2022-01-29T22:38:31.000Z
2022-02-06T17:29:43.000Z
config.py
red-elka/DQRCG
4a8fd9e11bbc3775fc532999f0100a5ff2c42d6c
[ "MIT" ]
1
2022-01-30T00:35:20.000Z
2022-01-30T00:35:20.000Z
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): SECRET_KEY = os.environ.get("SECRET_KEY","Notsecret") QR_FOLDER = os.path.join(basedir, "generatedqrs") if not os.path.exists(QR_FOLDER): os.mkdir(QR_FOLDER) DEBUG= os.environ.get("DEBUG", False)
30.6
57
0.699346
45
306
4.555556
0.555556
0.117073
0.117073
0
0
0
0
0
0
0
0
0
0.150327
306
10
58
30.6
0.788462
0
0
0
1
0
0.117264
0
0
0
0
0
0
1
0
false
0
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
89a15ae5b3476a944decb384c8b33df59fc5d498
880
py
Python
src/Utilities/iterateIdealHInst.cc.py
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Utilities/iterateIdealHInst.cc.py
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Utilities/iterateIdealHInst.cc.py
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
text = """ //------------------------------------------------------------------------------ // Explicit instantiation. //------------------------------------------------------------------------------ #include "Utilities/iterateIdealH.cc" #include "Geometry/Dimension.hh" namespace Spheral { template void iterateIdeal...
44
83
0.314773
49
880
5.653061
0.530612
0.126354
0.144404
0.187726
0
0
0
0
0
0
0
0
0.418182
880
19
84
46.315789
0.541016
0
0
0.222222
0
0.055556
0.984091
0.265909
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
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
2
89a27cde42ba1214ef5e6dbdbf06c3bb09fd9643
263
py
Python
scripts/src/report_parsers/base_parser.py
APotyomkin/awesome-bugs
3b28c6acf91cc70db8f38ee01b5f502416011db5
[ "MIT" ]
1
2022-01-08T08:55:56.000Z
2022-01-08T08:55:56.000Z
scripts/src/report_parsers/base_parser.py
APotyomkin/awesome-bugs
3b28c6acf91cc70db8f38ee01b5f502416011db5
[ "MIT" ]
17
2021-11-29T17:33:43.000Z
2022-03-21T15:44:56.000Z
scripts/src/report_parsers/base_parser.py
APotyomkin/awesome-bugs
3b28c6acf91cc70db8f38ee01b5f502416011db5
[ "MIT" ]
10
2021-11-21T21:21:18.000Z
2022-02-13T18:27:03.000Z
from abc import abstractmethod from scripts.src.analyze_reports import AnalyzerReport class Parser: ANALYZER_NAME: str SOURCE_PATH: str REPORT_PATH: str @abstractmethod def parse(self) -> AnalyzerReport: raise NotImplementedError()
20.230769
54
0.741445
29
263
6.586207
0.758621
0.073298
0
0
0
0
0
0
0
0
0
0
0.205323
263
12
55
21.916667
0.913876
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.777778
0
1
0
0
null
0
0
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
0
0
0
0
0
0
0
0
1
0
0
2
89a5950f80b35d5043804d663edeba3303f53a0e
869
py
Python
pioreactor/plugin_management/__init__.py
Pioreactor/pioreactor
63288a2b7ef90b663ff19b85f19586ac0b42bc1b
[ "MIT" ]
32
2021-01-01T01:56:04.000Z
2022-03-31T21:23:22.000Z
pioreactor/plugin_management/__init__.py
Pioreactor/pioreactor
63288a2b7ef90b663ff19b85f19586ac0b42bc1b
[ "MIT" ]
222
2020-11-28T18:21:56.000Z
2022-03-30T19:23:32.000Z
pioreactor/plugin_management/__init__.py
Pioreactor/pioreactor
63288a2b7ef90b663ff19b85f19586ac0b42bc1b
[ "MIT" ]
3
2021-02-12T17:50:22.000Z
2022-02-18T18:53:21.000Z
# -*- coding: utf-8 -*- """ How do plugins work? There are a few patterns we use to "register" plugins with the core app. 1. All plugins should use entry_points in the setup, pointing to "pioreactor.plugins" 2. Automations are defined by a subclassing the respective XXXAutomationContrib. There is a hook in this pa...
39.5
108
0.785961
133
869
4.947368
0.609023
0.059271
0.051672
0
0
0
0
0
0
0
0
0.005435
0.153049
869
21
109
41.380952
0.888587
0.718067
0
0
0
0
0.25641
0.094017
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
1
0
0
2
89ab7da14054cf4a431067013622a1db7ca142cd
218
py
Python
Chapter7/Exercise8.py
NoahNacho/Python-project-tests
38e43f011159232fab29d2bb1be969cb5000e635
[ "MIT" ]
2
2021-07-02T03:07:38.000Z
2021-07-21T14:47:20.000Z
Chapter7/Exercise8.py
NoahNacho/python-solving-problems-examples
38e43f011159232fab29d2bb1be969cb5000e635
[ "MIT" ]
null
null
null
Chapter7/Exercise8.py
NoahNacho/python-solving-problems-examples
38e43f011159232fab29d2bb1be969cb5000e635
[ "MIT" ]
null
null
null
def print_multiples(n, high): for i in range(1, high+1): print(n * i, end=" ") print() def print_mult_table(high): for i in range(1, high+1): print_multiples(i, high) print_mult_table(5)
21.8
32
0.605505
37
218
3.405405
0.378378
0.126984
0.126984
0.15873
0.412698
0.412698
0.412698
0.412698
0.412698
0
0
0.030675
0.252294
218
10
33
21.8
0.742331
0
0
0.25
0
0
0.013699
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.75
0
0
0
null
0
0
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
0
0
0
1
0
0
0
0
0
1
0
2
89b2a3595871424dae7d42c0fd9b506509d71eea
410
py
Python
turbulette/apps/base/__init__.py
turbulette/turbulette
32e2d0c18e4dd679a8bf9a3aa72eabe113328015
[ "BSD-3-Clause" ]
31
2020-12-21T23:55:14.000Z
2022-03-04T12:57:10.000Z
turbulette/apps/base/__init__.py
turbulette/turbulette
32e2d0c18e4dd679a8bf9a3aa72eabe113328015
[ "BSD-3-Clause" ]
57
2020-12-06T16:51:06.000Z
2022-02-14T22:10:40.000Z
turbulette/apps/base/__init__.py
gazorby/turbulette
32e2d0c18e4dd679a8bf9a3aa72eabe113328015
[ "BSD-3-Clause" ]
3
2020-09-26T17:26:46.000Z
2020-11-02T22:57:52.000Z
"""Provides GraphQL root types. - `query` - `mutation` - `subscription` And custom scalars : - `datetime_scalar` - `date_scalar` - `json_scalar` !!! info The base app is always loaded, as it should be needed by any other app wanting to bind resolvers to the GraphQL schema. """ from .resolvers.root_types im...
16.4
74
0.685366
52
410
5.288462
0.692308
0.065455
0.181818
0
0
0
0
0
0
0
0
0
0.217073
410
24
75
17.083333
0.856698
0.687805
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
0
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
0
0
0
0
1
0
0
0
0
0
0
2
981f440bf776ae3b4ce703b0a1e6144d61b2992a
831
py
Python
summary/models.py
suesuhyoonjin/kkp
0918cd3cc33be33744c30d7820712841d7a12cb5
[ "MIT" ]
1
2020-11-07T02:27:46.000Z
2020-11-07T02:27:46.000Z
summary/models.py
suesuhyoonjin/kkp
0918cd3cc33be33744c30d7820712841d7a12cb5
[ "MIT" ]
null
null
null
summary/models.py
suesuhyoonjin/kkp
0918cd3cc33be33744c30d7820712841d7a12cb5
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone class Summary(models.Model): author = models.ForeignKey('auth.User', on_delete=models.CASCADE) section_name = models.CharField(max_length=1000, null=True) category_name = models.CharField(max_length=1000, null=True) summary_name = models....
36.130435
69
0.696751
106
831
5.273585
0.509434
0.085868
0.128801
0.171735
0.214669
0.214669
0.214669
0.214669
0
0
0
0.023704
0.187726
831
22
70
37.772727
0.804444
0
0
0
0
0
0.038601
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.823529
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
9829d3ad257c08e3dc462e67d577f5f1b8009c27
1,138
py
Python
tests/test_parsers/test_markdown.py
mjpieters/flakehell
56b2ac7f9a2895546ac742b7bfa70babe2730971
[ "MIT" ]
1
2020-08-30T10:58:20.000Z
2020-08-30T10:58:20.000Z
tests/test_parsers/test_markdown.py
mjpieters/flakehell
56b2ac7f9a2895546ac742b7bfa70babe2730971
[ "MIT" ]
6
2020-08-30T10:58:32.000Z
2020-08-30T11:11:13.000Z
tests/test_parsers/test_markdown.py
mjpieters/flakehell
56b2ac7f9a2895546ac742b7bfa70babe2730971
[ "MIT" ]
null
null
null
import ast from pathlib import Path from flakehell.parsers import MarkdownParser GIVEN = """ # Example This is example of markdown file ```python a = 1 print('oh hi mark') ``` Emphasized: ```python hl_lines="1" emphasized_imaginary_function() ``` PyCon: ```pycon >>> print("Hello") 'Hello' >>> banana = "banana" ...
13.547619
49
0.625659
143
1,138
4.902098
0.405594
0.034237
0.03709
0.057061
0.624822
0.624822
0.624822
0.624822
0.624822
0.624822
0
0.006623
0.203866
1,138
83
50
13.710843
0.767108
0.037786
0
0.40678
0
0
0.693504
0.056725
0
0
0
0
0.016949
1
0.016949
false
0
0.050847
0
0.067797
0.135593
0
0
0
null
0
0
0
0
0
0
0
0
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
2
9839fd79b37a51ec886ce8d16a51e8fa84a12dda
1,012
py
Python
halfplane.py
christiankuhl/VortexDynamics
97b96a6231aacb3d0f1e74fda52457bafb833964
[ "MIT" ]
null
null
null
halfplane.py
christiankuhl/VortexDynamics
97b96a6231aacb3d0f1e74fda52457bafb833964
[ "MIT" ]
null
null
null
halfplane.py
christiankuhl/VortexDynamics
97b96a6231aacb3d0f1e74fda52457bafb833964
[ "MIT" ]
null
null
null
""" This module implements the N-vortex dynamics for the half plane. Insert code here as if it were inside a class definition statement """ import numpy as np def JGradG(self, z1, z2): """ JGradG(z1, z2) is the product of the 2d symplectic matrix J with the gradient with respect to the first variable of t...
30.666667
81
0.613636
182
1,012
3.395604
0.434066
0.056634
0.063107
0.045307
0.297735
0.297735
0.200647
0.200647
0.200647
0.165049
0
0.034346
0.251976
1,012
32
82
31.625
0.782034
0.521739
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.583333
0
0
0
0
null
0
0
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
0
0
0
1
0
0
0
0
1
0
0
2
983c81777a4b29030eb8774ec012a2f1391416a7
793
py
Python
editBot/todo/views.py
KApilBD/python
9b5c11418c396fcdb10d9615d5d28c3ccdea7b14
[ "MIT" ]
null
null
null
editBot/todo/views.py
KApilBD/python
9b5c11418c396fcdb10d9615d5d28c3ccdea7b14
[ "MIT" ]
null
null
null
editBot/todo/views.py
KApilBD/python
9b5c11418c396fcdb10d9615d5d28c3ccdea7b14
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse, HttpResponseRedirect from .models import TodoItem def todoView(request): # return HttpResponse("Hello! This is Todo View Page...") all_todo_items=TodoItem.objects.all() return render(request, 'todo.html', {'all_items':...
31.72
63
0.699874
97
793
5.57732
0.42268
0.038817
0.044362
0.077634
0.158965
0
0
0
0
0
0
0
0.186633
793
25
64
31.72
0.83876
0.209332
0
0.125
0
0
0.06177
0
0
0
0
0.04
0
1
0.1875
false
0
0.1875
0
0.5625
0
0
0
0
null
0
0
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
0
0
0
0
0
1
0
0
2
9843182ad243a7e8647ccf7f723564adcfe419f4
1,300
py
Python
tests/test_nullable_fields.py
marctc/django-rest-framework
06fd63dade20e1a19276b7414a54b9f5d2ef8329
[ "Unlicense" ]
null
null
null
tests/test_nullable_fields.py
marctc/django-rest-framework
06fd63dade20e1a19276b7414a54b9f5d2ef8329
[ "Unlicense" ]
null
null
null
tests/test_nullable_fields.py
marctc/django-rest-framework
06fd63dade20e1a19276b7414a54b9f5d2ef8329
[ "Unlicense" ]
null
null
null
# from django.core.urlresolvers import reverse # from django.conf.urls import patterns, url # from rest_framework import serializers, generics # from rest_framework.test import APITestCase # from tests.models import NullableForeignKeySource # class NullableFKSourceSerializer(serializers.ModelSerializer): # class...
32.5
94
0.724615
133
1,300
6.977444
0.578947
0.045259
0.036638
0
0
0
0
0
0
0
0
0
0.170769
1,300
39
95
33.333333
0.860853
0.948462
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
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
0
0
0
0
0
2
986fec6407d29e5bfc411010d765dcbb343988ce
2,381
py
Python
persistence/layer.py
pminervini/DeepKGC
ed55d0a28d7607324def7c48ebde98786c11d5e1
[ "MIT" ]
5
2015-11-22T11:20:45.000Z
2017-09-20T13:14:51.000Z
persistence/layer.py
pminervini/DeepKGC
ed55d0a28d7607324def7c48ebde98786c11d5e1
[ "MIT" ]
null
null
null
persistence/layer.py
pminervini/DeepKGC
ed55d0a28d7607324def7c48ebde98786c11d5e1
[ "MIT" ]
5
2016-03-17T03:03:22.000Z
2018-10-23T08:59:40.000Z
# -*- coding: utf-8 -*- from abc import ABCMeta, abstractmethod import datetime, time import sys, os, os.path import pymongo import cPickle as pickle import logging class PersistenceLayer(object): __metaclass__ = ABCMeta @abstractmethod def create(self, name, document): pass @abstractmethod de...
25.063158
108
0.601428
286
2,381
4.891608
0.311189
0.038599
0.040029
0.036455
0.178699
0.117227
0.117227
0.117227
0
0
0
0.005226
0.276774
2,381
94
109
25.329787
0.807201
0.00882
0
0.238806
0
0
0.041137
0.013571
0
0
0
0
0
1
0.223881
false
0.059701
0.089552
0
0.432836
0
0
0
0
null
0
0
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
0
0
0
1
0
1
0
0
0
0
0
2
98769521800947b03e8abc619624645a9f5604cc
1,002
py
Python
aiida_bigdft/futile/doc/doxygen-filter-f90.py
adegomme/aiida-bigdft-plugin
dfd17f166a8cd547d3e581c7c3c9f4eb32bd2aab
[ "MIT" ]
2
2020-06-10T02:45:59.000Z
2020-08-05T18:55:05.000Z
aiida_bigdft/futile/doc/doxygen-filter-f90.py
mikiec84/aiida-bigdft-plugin
ce6ddc69def97977fe0209861ea7f1637090b60f
[ "MIT" ]
6
2019-12-15T19:35:34.000Z
2021-05-07T15:32:18.000Z
aiida_bigdft/futile/doc/doxygen-filter-f90.py
mikiec84/aiida-bigdft-plugin
ce6ddc69def97977fe0209861ea7f1637090b60f
[ "MIT" ]
1
2020-08-05T18:55:21.000Z
2020-08-05T18:55:21.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Filter used by doxygen to any fortran file to do: # 0 - no error, always return something # 1 - Add include file (recursive call) import re import sys #Include command re_include = re.compile('^[ ]*include.*?\n',re.MULTILINE+re.IGNORECASE) #Extract file of the include...
26.368421
93
0.585828
131
1,002
4.343511
0.526718
0.096661
0.056239
0.056239
0
0
0
0
0
0
0
0.006887
0.275449
1,002
37
94
27.081081
0.77686
0.253493
0
0.285714
0
0
0.106352
0.042836
0
0
0
0
0
0
null
null
0.095238
0.095238
null
null
0.047619
0
0
0
null
0
0
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
0
0
1
0
0
1
0
0
0
0
0
2
987ef5d0afe01238bcfb2e49227c0d50f2adadf7
965
py
Python
src/cmd/root.py
public0821/dnas
d28af238dbf3d6a5cd4ef0b85abe16044b6f729d
[ "Apache-2.0" ]
null
null
null
src/cmd/root.py
public0821/dnas
d28af238dbf3d6a5cd4ef0b85abe16044b6f729d
[ "Apache-2.0" ]
null
null
null
src/cmd/root.py
public0821/dnas
d28af238dbf3d6a5cd4ef0b85abe16044b6f729d
[ "Apache-2.0" ]
null
null
null
from cli import Command from cmd.status import Status from cmd.samba import Samba class RootCommand(Command): def __init__(self, name): super().__init__(name=name) # self.add_child(Test(parent=self, name='test')) self.add_child(Status(parent=self, name='status')) self.add_child(Samb...
35.740741
101
0.645596
127
965
4.724409
0.370079
0.08
0.06
0.06
0
0
0
0
0
0
0
0
0.205181
965
26
102
37.115385
0.782269
0.047668
0
0.1
0
0
0.185387
0
0
0
0
0
0
1
0.25
false
0.05
0.15
0.1
0.6
0.05
0
0
0
null
0
0
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
0
0
0
1
0
0
0
0
1
0
0
2
9894d7c37b8c896bda95bc509e864f5d49009ff3
1,231
py
Python
main.py
Tasty213/github-graph
b0c7e04ff80afbcf3d4d40089301eb97ad3cdaf6
[ "MIT" ]
null
null
null
main.py
Tasty213/github-graph
b0c7e04ff80afbcf3d4d40089301eb97ad3cdaf6
[ "MIT" ]
null
null
null
main.py
Tasty213/github-graph
b0c7e04ff80afbcf3d4d40089301eb97ad3cdaf6
[ "MIT" ]
null
null
null
from wrapper import rate_handler import utils import mappers.repos import mappers.commits import mappers.labels import mappers.pull_requests import mappers.milestones import mappers.issues import logging import os from github import Github if __name__ == "__main__": logging.config.fileConfig( fname='loggin...
31.564103
69
0.726239
159
1,231
5.345912
0.339623
0.065882
0.088235
0.051765
0
0
0
0
0
0
0
0.008955
0.183591
1,231
38
70
32.394737
0.836816
0
0
0
0
0
0.099919
0
0
0
0
0
0
1
0
false
0.058824
0.323529
0
0.323529
0
0
0
0
null
0
0
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
0
0
0
0
0
1
1
0
0
0
0
2
989f87f406c9d1817c123fea722d38ee2706a91d
3,405
py
Python
src/data_loading/base.py
I2Cvb/rethinopaty
1f3386b5f21d781da972151459e6ef5886b6d6d8
[ "MIT" ]
2
2019-05-10T04:08:06.000Z
2019-09-24T07:35:34.000Z
src/data_loading/base.py
I2Cvb/rethinopaty
1f3386b5f21d781da972151459e6ef5886b6d6d8
[ "MIT" ]
1
2015-11-08T00:08:15.000Z
2015-11-10T19:07:16.000Z
src/data_loading/base.py
I2Cvb/rethinopaty
1f3386b5f21d781da972151459e6ef5886b6d6d8
[ "MIT" ]
1
2018-11-19T02:02:37.000Z
2018-11-19T02:02:37.000Z
""" Base code for dataset conversion and management This code contains: - core functions - asserting definitions to ensure dataset's integrity TODO ---- #TODO: find the best way to define the global path #TODO: check tests #TODO: think if it should be a class in this manner 'dataset_name' etc.. ...
26.192308
87
0.674596
477
3,405
4.622642
0.337526
0.032653
0.038095
0.021769
0.078458
0.023583
0
0
0
0
0
0.001177
0.251689
3,405
129
88
26.395349
0.864207
0.067841
0
0.041667
0
0
0.046101
0
0
0
0
0.046512
0.104167
0
null
null
0
0.145833
null
null
0.041667
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
2
98a8fc03a807d08d5235921bcc1fa702022d4814
2,075
py
Python
WebServer/possible/Context/Cache.py
yvanlvA/Possible_Web_Server_Frame
2992e2cf512d34efac8bd976b67fbbd46aa8a996
[ "MIT" ]
1
2019-12-16T07:55:55.000Z
2019-12-16T07:55:55.000Z
WebServer/possible/Context/Cache.py
yvanlvA/Possible_Web_Server_Frame
2992e2cf512d34efac8bd976b67fbbd46aa8a996
[ "MIT" ]
null
null
null
WebServer/possible/Context/Cache.py
yvanlvA/Possible_Web_Server_Frame
2992e2cf512d34efac8bd976b67fbbd46aa8a996
[ "MIT" ]
null
null
null
#_*_ coding:utf-8 _*_ import redis class Cache(object): def __init__(self): pool = redis.ConnectionPool(host='127.0.0.1', port=6379, db=1) self.sr = redis.Redis(connection_pool=pool) def Set(self, key, value): '''设置 key 值''' return self.sr.set(key, value) def ...
22.311828
72
0.551325
271
2,075
4.154982
0.306273
0.069272
0.127886
0.024867
0.069272
0
0
0
0
0
0
0.026756
0.279518
2,075
93
73
22.311828
0.726421
0.100241
0
0
0
0
0.038783
0
0
0
0
0
0
1
0.326087
false
0
0.021739
0
0.630435
0.26087
0
0
0
null
0
0
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
0
0
0
1
0
0
0
0
1
0
0
2
98abff31f9453308cacf5d060c6d452b0b11b3d1
812
py
Python
send_mail.py
cnpopeye/getcode4sis001
4b63e29dd95ae3c85973ede4f7ac75df72d7994e
[ "MIT" ]
6
2017-02-23T01:45:49.000Z
2020-07-07T10:40:57.000Z
send_mail.py
cnpopeye/getcode4sis001
4b63e29dd95ae3c85973ede4f7ac75df72d7994e
[ "MIT" ]
null
null
null
send_mail.py
cnpopeye/getcode4sis001
4b63e29dd95ae3c85973ede4f7ac75df72d7994e
[ "MIT" ]
4
2017-02-23T01:46:09.000Z
2019-11-22T10:59:52.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import os, sys, string, socket import smtplib #导入smtplib和MIMEText import smtplib from email.mime.text import MIMEText from config import mailto_list, mail_host, mail_user, mail_pass, mail_postfix def send_mail(sub,content): me=mail_user+"<"+mail_user+"@"+mail_postfix...
23.882353
77
0.623153
109
812
4.422018
0.53211
0.06639
0.099585
0.06639
0
0
0
0
0
0
0
0.001618
0.238916
812
33
78
24.606061
0.778317
0.073892
0
0.076923
0
0
0.06275
0
0
0
0
0
0
0
null
null
0.076923
0.192308
null
null
0.115385
0
0
0
null
0
0
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
0
0
1
0
0
1
0
0
0
0
0
2
98b770f8e0999760f77965903c3fef662ce6f394
88
py
Python
example_snippets/multimenus_snippets/Snippets/SciPy/Integration and ODE solvers/Integrate given fixed samples/Trapezoidal rule to compute integral from samples.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/SciPy/Integration and ODE solvers/Integrate given fixed samples/Trapezoidal rule to compute integral from samples.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/SciPy/Integration and ODE solvers/Integrate given fixed samples/Trapezoidal rule to compute integral from samples.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
1
2021-02-04T04:51:48.000Z
2021-02-04T04:51:48.000Z
x = np.linspace(1, 5, num=100) y = 3*x**2 + 1 integrate.trapz(y, x) # Exact value is 128
29.333333
42
0.625
20
88
2.75
0.8
0
0
0
0
0
0
0
0
0
0
0.152778
0.181818
88
3
42
29.333333
0.611111
0.204545
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7f311571dd0bf0894a02e05b6fff48b29b3ac83a
430
py
Python
generator/model.py
AntonyMoes/cyberhelper
125805b19190250968bf6deef836a600e8b25af6
[ "MIT" ]
1
2019-08-19T18:48:52.000Z
2019-08-19T18:48:52.000Z
generator/model.py
AntonyMoes/cyberkotsenko
125805b19190250968bf6deef836a600e8b25af6
[ "MIT" ]
18
2019-08-18T14:56:58.000Z
2019-08-30T18:07:06.000Z
generator/model.py
AntonyMoes/cyberhelper
125805b19190250968bf6deef836a600e8b25af6
[ "MIT" ]
1
2019-08-19T19:45:36.000Z
2019-08-19T19:45:36.000Z
from keras.models import Sequential from keras.layers import Dense from keras.layers import LSTM from keras.optimizers import RMSprop def get_model(maxlen, chars_num): model = Sequential() model.add(LSTM(128, input_shape=(maxlen, chars_num))) model.add(Dense(chars_num, activation='softmax')) optimize...
28.666667
71
0.75814
58
430
5.517241
0.534483
0.1125
0.09375
0.13125
0
0
0
0
0
0
0
0.01626
0.14186
430
14
72
30.714286
0.850949
0
0
0
0
0
0.072093
0.055814
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
1
0
0
2
7f3a094e7fb2b39dd5e7562105bdd163aaecdbef
243
py
Python
day04/day4_a.py
AdamKinnell/AdventOfCode2017
28f506a39245198489d3da9535b190e6f98e92d1
[ "MIT" ]
null
null
null
day04/day4_a.py
AdamKinnell/AdventOfCode2017
28f506a39245198489d3da9535b190e6f98e92d1
[ "MIT" ]
null
null
null
day04/day4_a.py
AdamKinnell/AdventOfCode2017
28f506a39245198489d3da9535b190e6f98e92d1
[ "MIT" ]
null
null
null
def is_valid(phrase): words = phrase.split() return len(set(words)) == len(words) passphrases = open("day4.txt").readlines() valid_phrases = list(filter(is_valid, passphrases)) print('Valid Passphrases:', len(valid_phrases)) # = 337
27
55
0.703704
32
243
5.21875
0.59375
0.083832
0
0
0
0
0
0
0
0
0
0.018957
0.131687
243
8
56
30.375
0.772512
0.020576
0
0
0
0
0.110169
0
0
0
0
0
0
1
0.166667
false
0.5
0
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
7f3cd41b054297245f18b16ccddc7438085c5131
8,754
py
Python
src/annalist_root/annalist/models/collectiontypecache.py
gklyne/annalist
82e7ef2d56a400325e7618fa9e590072ee8a71d3
[ "MIT" ]
18
2015-02-20T23:09:13.000Z
2020-11-13T06:06:43.000Z
src/annalist_root/annalist/models/collectiontypecache.py
gklyne/annalist
82e7ef2d56a400325e7618fa9e590072ee8a71d3
[ "MIT" ]
30
2015-01-03T09:56:28.000Z
2021-06-10T20:58:55.000Z
src/annalist_root/annalist/models/collectiontypecache.py
gklyne/annalist
82e7ef2d56a400325e7618fa9e590072ee8a71d3
[ "MIT" ]
5
2015-02-02T09:01:23.000Z
2018-06-14T20:05:28.000Z
from __future__ import unicode_literals from __future__ import absolute_import, division, print_function """ This module is used to cache per-collection type information. """ __author__ = "Graham Klyne (GK@ACM.ORG)" __copyright__ = "Copyright 2017, G. Klyne" __license__ = "MIT (http://opensource.org/licens...
36.024691
103
0.633082
1,058
8,754
4.965028
0.162571
0.066629
0.026651
0.032362
0.465448
0.411003
0.359223
0.321531
0.294498
0.281934
0
0.00062
0.262509
8,754
242
104
36.173554
0.813042
0.33756
0
0.237113
0
0
0.018638
0
0
0
0
0
0
1
0.206186
false
0
0.092784
0.010309
0.525773
0.010309
0
0
0
null
0
0
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
0
0
0
1
0
0
0
0
1
0
0
2
7f4141e43c9e441e29f89f0d2f45c5877b88a586
3,513
py
Python
python/black-jack/black_jack.py
heymajor/exercism
5cbe035abfdcd420e4b74ed24d7cb4d9fc38ddfd
[ "MIT" ]
null
null
null
python/black-jack/black_jack.py
heymajor/exercism
5cbe035abfdcd420e4b74ed24d7cb4d9fc38ddfd
[ "MIT" ]
null
null
null
python/black-jack/black_jack.py
heymajor/exercism
5cbe035abfdcd420e4b74ed24d7cb4d9fc38ddfd
[ "MIT" ]
null
null
null
"""Functions to help play and score a game of blackjack. How to play blackjack: https://bicyclecards.com/how-to-play/blackjack/ "Standard" playing cards: https://en.wikipedia.org/wiki/Standard_52-card_deck """ def is_ten(card): tens = ["K", "J", "Q", "10"] return card in tens def is_ace(card): retur...
28.104
126
0.642755
575
3,513
3.707826
0.177391
0.078799
0.067073
0.085366
0.350844
0.310038
0.266417
0.212477
0.197467
0.172139
0
0.02219
0.217478
3,513
124
127
28.330645
0.753365
0.559636
0
0.255814
0
0
0.007057
0
0
0
0
0
0
1
0.209302
false
0
0
0.023256
0.55814
0
0
0
0
null
0
0
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
0
0
0
1
0
0
0
0
1
0
0
2
7f4660d2d5b241b7b958d1504ba624955cb4fcbe
797
py
Python
modulo 1/aulas/2.0 - Variaveis, etc.py
GabrielBrotas/Python
9441b6b86ff3cb7fa5921b508c484075adac08b3
[ "MIT" ]
null
null
null
modulo 1/aulas/2.0 - Variaveis, etc.py
GabrielBrotas/Python
9441b6b86ff3cb7fa5921b508c484075adac08b3
[ "MIT" ]
null
null
null
modulo 1/aulas/2.0 - Variaveis, etc.py
GabrielBrotas/Python
9441b6b86ff3cb7fa5921b508c484075adac08b3
[ "MIT" ]
null
null
null
n = input('Digite algo: ') numero = int(input("digite um numero: ")) num1 = float(input("digite um numero decimal: ")) nome = str(input("digite algum nome: ")) print(type(n)) # mostrar o tipo de 'n', se é int, float, bool, str... print(n.isnumeric()) # vai dizer se n é numerico ou nao, imprimindo true or fal...
61.307692
112
0.696361
133
797
4.172932
0.368421
0.064865
0.108108
0.227027
0.457658
0.436036
0.288288
0.288288
0
0
0
0.001555
0.193225
797
13
113
61.307692
0.861586
0.578419
0
0
0
0
0.231003
0
0
0
0
0
0
1
0
false
0
0
0
0
0.636364
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
7f4f0f91b52a69b3291519a8f616241c25617cb7
65
py
Python
yc183/646.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc183/646.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
yc183/646.py
c-yan/yukicoder
cdbbd65402177225dd989df7fe01f67908484a69
[ "MIT" ]
null
null
null
N = int(input()) for i in range(N): print(str(N) * (N - i))
13
27
0.492308
13
65
2.461538
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.261538
65
4
28
16.25
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7f5ad4cc35db29d1020478aa8cc7a13f5b570c56
323
py
Python
client/views/back.py
tcmal/ah-project
64c5859ed39645c1c2971e193c6b59f35d72d2a7
[ "MIT" ]
null
null
null
client/views/back.py
tcmal/ah-project
64c5859ed39645c1c2971e193c6b59f35d72d2a7
[ "MIT" ]
null
null
null
client/views/back.py
tcmal/ah-project
64c5859ed39645c1c2971e193c6b59f35d72d2a7
[ "MIT" ]
null
null
null
from tkinter.ttk import Button # Convenience mixin to add back button to view class ViewHasBackButton: def add_back_button(self, *args, **kwargs): Button(self.frame, text="Back", command=self.back_home).grid(*args, **kwargs) def back_home(self): from views import HomeView self.app.replace_view(HomeVi...
32.3
80
0.743034
47
323
5
0.553191
0.059574
0.110638
0
0
0
0
0
0
0
0
0
0.148607
323
10
81
32.3
0.854545
0.136223
0
0
0
0
0.01487
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
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
0
0
0
1
0
0
0
0
1
0
0
2
7f61254a89ebbce054e77ea23ac41a27c30888e5
407
py
Python
src/solutions/solution013.py
samtcwong/daily-coding-problems
bd7da8e64a74a04f69a8b5b930100754e99b63f7
[ "MIT" ]
null
null
null
src/solutions/solution013.py
samtcwong/daily-coding-problems
bd7da8e64a74a04f69a8b5b930100754e99b63f7
[ "MIT" ]
null
null
null
src/solutions/solution013.py
samtcwong/daily-coding-problems
bd7da8e64a74a04f69a8b5b930100754e99b63f7
[ "MIT" ]
null
null
null
from typing import List # Problem #13 [Hard] # Good morning! Here's your coding interview problem for today. # This problem was asked by Amazon. # Given an integer k and a string s, find the length of the longest substring # that contains at most k distinct characters. # For example, given s = "abcba" and k = 2, # ...
25.4375
77
0.734644
66
407
4.530303
0.742424
0.06689
0.12709
0
0
0
0
0
0
0
0
0.009202
0.199017
407
15
78
27.133333
0.907975
0.823096
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
7f840adfb6c161bcb8644492958f69399fd4eb2f
176
py
Python
Code/L016/cc.py
iot-makers-code/IoT_prototype
b6524a78756643230cc7073285ae8c2cc7563a4d
[ "MIT" ]
null
null
null
Code/L016/cc.py
iot-makers-code/IoT_prototype
b6524a78756643230cc7073285ae8c2cc7563a4d
[ "MIT" ]
null
null
null
Code/L016/cc.py
iot-makers-code/IoT_prototype
b6524a78756643230cc7073285ae8c2cc7563a4d
[ "MIT" ]
null
null
null
import time import os for i in range(50): print("Update data.") with open("DATA", "wt") as f: f.write("DATA, ") f.write( str(time.time()) ) time.sleep(2)
17.6
33
0.568182
29
176
3.448276
0.689655
0.12
0
0
0
0
0
0
0
0
0
0.022556
0.244318
176
9
34
19.555556
0.729323
0
0
0
0
0
0.136364
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7f88fb7cac6580e430925045266e0c4ac360b0d2
213
py
Python
ppci/graph/__init__.py
jsdelivrbot/ppci-mirror
67195d628275e2332ceaf44c9e13fc58d0877157
[ "BSD-2-Clause" ]
null
null
null
ppci/graph/__init__.py
jsdelivrbot/ppci-mirror
67195d628275e2332ceaf44c9e13fc58d0877157
[ "BSD-2-Clause" ]
null
null
null
ppci/graph/__init__.py
jsdelivrbot/ppci-mirror
67195d628275e2332ceaf44c9e13fc58d0877157
[ "BSD-2-Clause" ]
null
null
null
""" Graph algorithms module. """ from .graph import Graph, Node from .digraph import DiGraph, DiNode from .maskable_graph import MaskableGraph __all__ = ('Graph', 'Node', 'DiGraph', 'DiNode', 'MaskableGraph')
19.363636
65
0.723005
24
213
6.208333
0.458333
0.147651
0
0
0
0
0
0
0
0
0
0
0.140845
213
10
66
21.3
0.814208
0.112676
0
0
0
0
0.194444
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
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
0
0
0
0
0
0
1
0
0
0
0
2
7f94213e1a3c5afa69993b7cc233426e39793984
171
py
Python
280/solution.py
Pedram-Parsian/quera-answers
bbdbe613266358482c394f6f80731a23c3ac738d
[ "MIT" ]
1
2020-03-17T21:18:59.000Z
2020-03-17T21:18:59.000Z
280/solution.py
Pedram-Parsian/quera-answers
bbdbe613266358482c394f6f80731a23c3ac738d
[ "MIT" ]
null
null
null
280/solution.py
Pedram-Parsian/quera-answers
bbdbe613266358482c394f6f80731a23c3ac738d
[ "MIT" ]
null
null
null
inp = map(int, [input() for _ in range(3)]) square = sorted([i ** 2 for i in inp], reverse=True) if square[0] == sum(square[1:]): print('YES') else: print('NO')
19
52
0.573099
29
171
3.344828
0.758621
0
0
0
0
0
0
0
0
0
0
0.029412
0.204678
171
8
53
21.375
0.683824
0
0
0
0
0
0.02924
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7f9a44704bf28caed583acc9794de18d82642fff
1,004
py
Python
tests/test_main.py
thiaghenr/pokemon-api
f915b2db0a73133dd13b0529ec25fdc602334829
[ "MIT" ]
3
2021-04-28T14:37:22.000Z
2022-01-20T20:16:57.000Z
tests/test_main.py
thiaghenr/pokemon-api
f915b2db0a73133dd13b0529ec25fdc602334829
[ "MIT" ]
null
null
null
tests/test_main.py
thiaghenr/pokemon-api
f915b2db0a73133dd13b0529ec25fdc602334829
[ "MIT" ]
null
null
null
import sys sys.path.append('/home/user/Desktop/app') #/home/user/Desktop/app import sys from fastapi.testclient import TestClient from test_database import test_engine, override_get_db from app.main import app, pokemon, pokemon_type, user, team from app.routers.pokemon import get_db pokemon.Base.metadata.create_all(te...
37.185185
65
0.815737
157
1,004
4.961783
0.216561
0.166881
0.184852
0.215661
0.599487
0.590501
0.550706
0.240051
0
0
0
0
0.082669
1,004
27
66
37.185185
0.84582
0.021912
0
0.090909
0
0
0.022403
0.022403
0
0
0
0
0
1
0.045455
false
0
0.272727
0
0.318182
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7f9cccab203776821b2694f234e1f2bff5bb56c8
913
py
Python
urizen/core/thing.py
vurmux/urizen
28b1e60cf8fa2f15622537f6df0290e2ac890d5f
[ "Apache-2.0" ]
107
2020-01-08T21:27:59.000Z
2022-03-19T07:59:23.000Z
urizen/core/thing.py
hanok2/urizen
28b1e60cf8fa2f15622537f6df0290e2ac890d5f
[ "Apache-2.0" ]
1
2020-05-22T17:54:12.000Z
2021-06-27T01:02:39.000Z
urizen/core/thing.py
hanok2/urizen
28b1e60cf8fa2f15622537f6df0290e2ac890d5f
[ "Apache-2.0" ]
7
2020-01-08T21:12:11.000Z
2022-03-19T07:59:27.000Z
#!/usr/bin/python3 class Thing(object): """ Thing class Attributes: thing_type -- Thing type symbol -- Symbol to print in terminal visualizers bg_color -- Background color in terminal visualizers fg_color -- Foreground color in terminal visualizers pixel_color -- Pixel color for pixel...
25.361111
66
0.631982
108
913
5.064815
0.462963
0.04936
0.115174
0.095064
0
0
0
0
0
0
0
0.019757
0.279299
913
35
67
26.085714
0.81155
0.431544
0
0
0
0
0.051392
0
0
0
0
0
0
1
0.125
false
0.0625
0
0.0625
0.75
0
0
0
0
null
0
0
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
0
0
0
0
0
1
0
0
1
0
0
2
7f9daeb349895404f5b7f1caac11b430bed8be01
9,428
py
Python
orpheus/clt/click_entry.py
ailyntong/implementation
ef535bf9dcff6b97252fb6b27614c7d262d05ea6
[ "MIT", "Unlicense" ]
84
2017-01-06T14:30:45.000Z
2021-10-08T18:13:40.000Z
orpheus/clt/click_entry.py
ailyntong/implementation
ef535bf9dcff6b97252fb6b27614c7d262d05ea6
[ "MIT", "Unlicense" ]
9
2017-06-13T02:04:45.000Z
2021-03-24T20:21:33.000Z
orpheus/clt/click_entry.py
ailyntong/implementation
ef535bf9dcff6b97252fb6b27614c7d262d05ea6
[ "MIT", "Unlicense" ]
11
2017-09-10T16:10:25.000Z
2021-01-19T20:03:52.000Z
import os import yaml import click from orpheus.core.executor import Executor from orpheus.core.user_control import UserManager from orpheus.core.orpheus_exceptions import BadStateError, NotImplementedError, BadParametersError from orpheus.core.orpheus_sqlparse import SQLParser from db import DatabaseManager class Co...
39.283333
152
0.66398
1,275
9,428
4.825882
0.197647
0.025353
0.028604
0.033967
0.368926
0.312368
0.247359
0.213392
0.187063
0.168861
0
0.000799
0.203755
9,428
239
153
39.447699
0.818836
0.102036
0
0.42246
0
0
0.23717
0.002489
0
0
0
0.004184
0.010695
0
null
null
0.112299
0.053476
null
null
0.010695
0
0
0
null
0
0
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
0
0
1
0
0
1
0
0
0
0
0
2
7f9e407ceecae71657a1dd2344249aa874aaa1dc
6,150
py
Python
lecture_11/2_your_own_function_SOLUTION/2_your_own_function.py
farzanehesk/COMPAS-II-FS2022
857eb40000f0532d0c04689331eadefd38dce6b7
[ "MIT" ]
48
2021-11-27T05:28:31.000Z
2022-02-06T16:08:30.000Z
lecture_11/2_your_own_function_SOLUTION/2_your_own_function.py
farzanehesk/COMPAS-II-FS2022
857eb40000f0532d0c04689331eadefd38dce6b7
[ "MIT" ]
15
2021-03-03T10:50:59.000Z
2021-06-21T07:47:47.000Z
lecture_11/2_your_own_function_SOLUTION/2_your_own_function.py
farzanehesk/COMPAS-II-FS2022
857eb40000f0532d0c04689331eadefd38dce6b7
[ "MIT" ]
25
2021-03-02T15:08:11.000Z
2022-03-29T14:34:20.000Z
import time import os import logging import compas_slicer.utilities as utils from compas_slicer.pre_processing import move_mesh_to_point from compas_slicer.slicers import PlanarSlicer from compas_slicer.post_processing import generate_brim from compas_slicer.post_processing import generate_raft from compas_slicer.post...
46.946565
100
0.457886
507
6,150
5.289941
0.376726
0.0522
0.071588
0.03915
0.15138
0.15138
0.079791
0
0
0
0
0.005244
0.13187
6,150
130
101
47.307692
0.497097
0.581951
0
0
0
0
0.057749
0.022505
0
0
0
0
0
1
0.023256
false
0
0.44186
0
0.465116
0.27907
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
7fb2f08441bee9b4f2cc7afeea8869dbc1d391ef
312
py
Python
setup.py
allrod5/extra-trees
ba7d94bd8a77daaa2357241f343c3b571a900131
[ "MIT" ]
4
2017-08-18T04:07:43.000Z
2022-01-17T01:41:29.000Z
setup.py
allrod5/extra-trees
ba7d94bd8a77daaa2357241f343c3b571a900131
[ "MIT" ]
2
2017-08-15T06:42:05.000Z
2017-08-24T16:44:49.000Z
setup.py
allrod5/extra-trees
ba7d94bd8a77daaa2357241f343c3b571a900131
[ "MIT" ]
3
2019-08-15T06:21:59.000Z
2021-11-25T09:55:38.000Z
#!/usr/bin/env python3 from distutils.core import setup setup(name='Extremely Randomized Trees', version='0.2', description='Implementation of Extremely Randomized Trees', author='Rodrigo', author_email='allrod5@gmail.com', packages=['extra_trees.ensemble', 'extra_trees.tree'] )
26
65
0.701923
37
312
5.837838
0.783784
0.175926
0.222222
0
0
0
0
0
0
0
0
0.015385
0.166667
312
11
66
28.363636
0.815385
0.067308
0
0
0
0
0.458621
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
0
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
0
0
0
0
1
0
0
0
0
0
0
2
f687363bbe027e7fee10fb9ed06c03c8bca72792
1,626
py
Python
dbas/helper/tests/test_query.py
tbsschroeder/dbas
9c86eccde65cd64bc5719573b3b8449d8f333e08
[ "MIT" ]
23
2017-05-18T13:33:51.000Z
2021-12-26T18:04:09.000Z
dbas/helper/tests/test_query.py
tbsschroeder/dbas
9c86eccde65cd64bc5719573b3b8449d8f333e08
[ "MIT" ]
8
2019-12-26T17:19:44.000Z
2020-05-28T15:38:31.000Z
dbas/helper/tests/test_query.py
tbsschroeder/dbas
9c86eccde65cd64bc5719573b3b8449d8f333e08
[ "MIT" ]
7
2017-09-27T11:15:42.000Z
2021-12-26T18:12:38.000Z
from dbas.database import DBDiscussionSession from dbas.database.discussion_model import ShortLinks from dbas.helper.query import set_user_language, generate_short_url from dbas.tests.utils import TestCaseWithConfig class QueryHelperTest(TestCaseWithConfig): def test_set_german_language(self): result = s...
36.954545
86
0.686962
195
1,626
5.523077
0.307692
0.111421
0.066852
0.111421
0.512535
0.462396
0.462396
0.462396
0.414113
0.330548
0
0.003065
0.197417
1,626
43
87
37.813953
0.822222
0.01599
0
0.363636
1
0
0.093867
0
0
0
0
0
0.484848
1
0.090909
false
0
0.121212
0
0.242424
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
f69743b787b702578c7ba56ec9b8b5874bcafb55
6,668
py
Python
main.py
foobarbazblarg/subreddit-grabber
03d240c824e5dd810ccd40674df950f3e26d02c6
[ "MIT" ]
null
null
null
main.py
foobarbazblarg/subreddit-grabber
03d240c824e5dd810ccd40674df950f3e26d02c6
[ "MIT" ]
null
null
null
main.py
foobarbazblarg/subreddit-grabber
03d240c824e5dd810ccd40674df950f3e26d02c6
[ "MIT" ]
null
null
null
import praw import datetime from ConfigParser import ConfigParser import OAuth2Util import os import markdown import bleach import sys import mysql.connector from mysql.connector import errorcode reload(sys) sys.setdefaultencoding('utf8') config = ConfigParser() config.read("./subreddit-grabber.cfg") subredditName = ...
42.471338
275
0.673965
641
6,668
6.976599
0.319813
0.004472
0.006038
0.007156
0.089669
0.089669
0.03153
0.03153
0.03153
0.03153
0
0.008491
0.205159
6,668
156
276
42.74359
0.835283
0.09808
0
0.137405
0
0.015267
0.195199
0.026004
0
0
0
0.00641
0
0
null
null
0.053435
0.076336
null
null
0.129771
0
0
0
null
0
0
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
0
0
1
0
0
1
0
0
0
0
0
2
f699061b2bbf5ff76fa79f4d51d6a690622f7110
666
py
Python
pyxrd/file_parsers/goniometer_parsers/__init__.py
PyXRD/pyxrd
26bacdf64f3153fa74b8caa62e219b76d91a55c1
[ "BSD-2-Clause" ]
27
2018-06-15T15:28:18.000Z
2022-03-10T12:23:50.000Z
pyxrd/file_parsers/goniometer_parsers/__init__.py
PyXRD/pyxrd
26bacdf64f3153fa74b8caa62e219b76d91a55c1
[ "BSD-2-Clause" ]
22
2018-06-14T08:29:16.000Z
2021-07-05T13:33:44.000Z
pyxrd/file_parsers/goniometer_parsers/__init__.py
PyXRD/pyxrd
26bacdf64f3153fa74b8caa62e219b76d91a55c1
[ "BSD-2-Clause" ]
8
2019-04-13T13:03:51.000Z
2021-06-19T09:29:11.000Z
# coding=UTF-8 # ex:ts=4:sw=4:et=on # Copyright (c) 2013, Mathijs Dumon # All rights reserved. # Complete license can be found in the LICENSE file. import zipfile from pyxrd.generic.io import get_case_insensitive_glob, COMPRESSION from pyxrd.file_parsers.json_parser import JSONParser from pyxrd.file_parsers.registr...
26.64
67
0.780781
85
666
5.976471
0.682353
0.05315
0.070866
0.086614
0
0
0
0
0
0
0
0.012048
0.127628
666
24
68
27.75
0.862306
0.223724
0
0
0
0
0.160784
0.047059
0
0
0
0
0
1
0
false
0.090909
0.363636
0
0.727273
0
0
0
0
null
0
0
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
0
0
0
0
0
1
1
0
0
0
0
2
f69a7073c8aa756b577c30107b1f581b0badf39a
1,709
py
Python
servers/viewset.py
foundations/nodequery-server
f0ee517e17fbd15d1fc7f8ed83ede07539fe93c1
[ "MIT" ]
81
2021-01-05T14:30:23.000Z
2021-11-10T23:26:38.000Z
servers/viewset.py
foundations/nodequery-server
f0ee517e17fbd15d1fc7f8ed83ede07539fe93c1
[ "MIT" ]
2
2021-02-09T05:16:10.000Z
2021-02-26T02:21:11.000Z
servers/viewset.py
foundations/nodequery-server
f0ee517e17fbd15d1fc7f8ed83ede07539fe93c1
[ "MIT" ]
32
2021-01-05T15:23:20.000Z
2021-10-20T08:17:14.000Z
from django.http import Http404 from django.db.models import Q from rest_framework.response import Response from rest_framework import status, generics, viewsets from django_filters.rest_framework import DjangoFilterBackend # from rest_framework_filters.backends import DjangoFilterBackend as rsf_DjangoFilterBackend ...
37.152174
96
0.800468
216
1,709
6.180556
0.37963
0.031461
0.050936
0.026966
0.065918
0.037453
0
0
0
0
0
0.009855
0.109421
1,709
45
97
37.977778
0.86728
0.262727
0
0.137931
0
0
0.017558
0
0
0
0
0
0
1
0.068966
false
0
0.344828
0
0.655172
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
1
0
0
2
f6a1ab7a5685a3961db0eeae7e99d46d7957d6a0
1,297
py
Python
d12p1.py
Maselkov/advent-of-code-2020
a719127ce21e4731ddb9132c8c7f42856c972220
[ "MIT" ]
null
null
null
d12p1.py
Maselkov/advent-of-code-2020
a719127ce21e4731ddb9132c8c7f42856c972220
[ "MIT" ]
null
null
null
d12p1.py
Maselkov/advent-of-code-2020
a719127ce21e4731ddb9132c8c7f42856c972220
[ "MIT" ]
null
null
null
import puzzleinput x = 0 y = 0 x_direction = 1 y_direction = 0 for line in puzzleinput.lines: action = line[0] value = int(line[1:]) if action == "F": x += x_direction * value y += y_direction * value if action == "N": y -= value if action == "S": y += value if a...
25.431373
36
0.428682
152
1,297
3.486842
0.190789
0.283019
0.186792
0.158491
0.618868
0.618868
0.577358
0.577358
0.577358
0.577358
0
0.047059
0.475713
1,297
50
37
25.94
0.732353
0
0
0.541667
0
0
0.005397
0
0
0
0
0
0
1
0
false
0
0.020833
0
0.020833
0.020833
0
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
0
0
0
0
0
0
0
0
0
0
0
2
f6b8ddf5ee17747909885ae7a8e492c2e777ab81
1,496
py
Python
examples/todo_react/app.py
Lothiraldan/ZeroServices
c6b0bdf755be6bcc0ff6070aabcfb36f0e4c2f37
[ "MIT" ]
21
2015-01-31T17:45:42.000Z
2017-11-12T05:02:44.000Z
examples/todo_react/app.py
Lothiraldan/ZeroServices
c6b0bdf755be6bcc0ff6070aabcfb36f0e4c2f37
[ "MIT" ]
7
2015-01-07T09:52:06.000Z
2015-02-01T00:59:35.000Z
examples/todo_react/app.py
Lothiraldan/ZeroServices
c6b0bdf755be6bcc0ff6070aabcfb36f0e4c2f37
[ "MIT" ]
2
2017-06-29T19:40:42.000Z
2019-06-01T12:18:56.000Z
import pymongo from zeroservices import ResourceService, ZeroMQMedium from zeroservices.backend.mongodb import MongoDBCollection, MongoDBResource from zeroservices.memory import MemoryCollection, MemoryCollection from zeroservices.resources import is_callable import sys from zmq.eventloop import ioloop, zmqstream iol...
27.703704
87
0.760027
175
1,496
6.365714
0.491429
0.100539
0.045781
0.066427
0.190305
0.116697
0.116697
0
0
0
0
0.006289
0.149733
1,496
53
88
28.226415
0.869497
0.009358
0
0.057143
0
0
0.039892
0
0
0
0
0
0
1
0.057143
false
0
0.514286
0.028571
0.657143
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
1
0
0
2
f6d776568eca974a8ecbb4a81cd83bc189940526
121
py
Python
output/models/ms_data/regex/re_e13_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/regex/re_e13_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/regex/re_e13_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.regex.re_e13_xsd.re_e13 import ( Regex, Doc, ) __all__ = [ "Regex", "Doc", ]
12.1
59
0.603306
17
121
3.823529
0.705882
0.153846
0
0
0
0
0
0
0
0
0
0.043956
0.247934
121
9
60
13.444444
0.67033
0
0
0
0
0
0.066116
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f6db0c0fe44871d66aec1af61af13db4d5dd28cf
555
py
Python
backend/cubes/migrations/0008_auto_20200729_1234.py
landdafku11/mobile-backend
3f3328afd81f85f90170a57689af72f8f705b8a3
[ "MIT" ]
null
null
null
backend/cubes/migrations/0008_auto_20200729_1234.py
landdafku11/mobile-backend
3f3328afd81f85f90170a57689af72f8f705b8a3
[ "MIT" ]
null
null
null
backend/cubes/migrations/0008_auto_20200729_1234.py
landdafku11/mobile-backend
3f3328afd81f85f90170a57689af72f8f705b8a3
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-07-29 04:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cubes', '0007_auto_20200729_1232'), ] operations = [ migrations.AlterField( model_name='cubecomment', name='created_...
23.125
50
0.585586
55
555
5.781818
0.672727
0.125786
0.157233
0.18239
0.490566
0.490566
0
0
0
0
0
0.080103
0.302703
555
23
51
24.130435
0.741602
0.081081
0
0.470588
1
0
0.137795
0.045276
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f6e32f3fa61806614f5f5e9170af8b91f5de2f34
3,065
py
Python
app.py
mariosky/fulltext-search
873fa9f6233ad60a5caf09558fed9cf8e3e13c6e
[ "MIT" ]
1
2021-05-26T15:43:29.000Z
2021-05-26T15:43:29.000Z
app.py
mariosky/fulltext-search
873fa9f6233ad60a5caf09558fed9cf8e3e13c6e
[ "MIT" ]
null
null
null
app.py
mariosky/fulltext-search
873fa9f6233ad60a5caf09558fed9cf8e3e13c6e
[ "MIT" ]
null
null
null
from flask import Flask, request from flask_httpauth import HTTPBasicAuth from flaskr.title_search import get_title_content from werkzeug.security import generate_password_hash, check_password_hash from redisearch import Client, Query, TextField, IndexDefinition import redis from redis import ResponseError import json ...
23.945313
108
0.630669
374
3,065
5.008021
0.302139
0.038441
0.036305
0.042712
0.249867
0.148425
0.148425
0.148425
0.056594
0.056594
0
0.006372
0.231974
3,065
127
109
24.133858
0.789295
0.005546
0
0.258065
1
0
0.147406
0
0
0
0
0
0
1
0.064516
false
0.096774
0.107527
0
0.247312
0.021505
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
f6ebae9a56dd62c3e6ba8e8582ec9e6144ac2278
263
py
Python
try_and_except.py
akkuldn/My_repo_akkul
ae5741f0e5e9e0d98429b974c679c96496dfea54
[ "MIT" ]
null
null
null
try_and_except.py
akkuldn/My_repo_akkul
ae5741f0e5e9e0d98429b974c679c96496dfea54
[ "MIT" ]
null
null
null
try_and_except.py
akkuldn/My_repo_akkul
ae5741f0e5e9e0d98429b974c679c96496dfea54
[ "MIT" ]
null
null
null
a = [1, 2, 'a'] try: print ("Second element = %d" %a[1]) # Throws error since there are only 3 elements in array print ("thirdFourth element = %s" %a[2]) print("fourth element=%d"%a[4]) except Exception as e: print ("Exception ",e)
29.222222
60
0.577947
40
263
3.8
0.65
0.026316
0.118421
0
0
0
0
0
0
0
0
0.030928
0.262357
263
9
61
29.222222
0.752577
0.201521
0
0
0
0
0.341346
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
f6ebf18ea1522aa199fc9077b5805d1d4bb86bed
1,381
py
Python
expression_builder/tests/test_brackets.py
django-advance-utils/expression-builder
08dab5780ae3a8be90c4daa6b9950ad1af4d87a4
[ "MIT" ]
null
null
null
expression_builder/tests/test_brackets.py
django-advance-utils/expression-builder
08dab5780ae3a8be90c4daa6b9950ad1af4d87a4
[ "MIT" ]
null
null
null
expression_builder/tests/test_brackets.py
django-advance-utils/expression-builder
08dab5780ae3a8be90c4daa6b9950ad1af4d87a4
[ "MIT" ]
null
null
null
import unittest from expression_builder.expression_builder import ExpressionBuilder class BracketsTests(unittest.TestCase): # noinspection PyPep8Naming def setUp(self): self.exp = ExpressionBuilder() def test_one(self): result = self.exp.run_statement("(2 + 4) * 2") self.assertEq...
30.688889
74
0.636495
180
1,381
4.727778
0.255556
0.082256
0.148061
0.179788
0.500588
0.500588
0.426557
0.344301
0.235018
0.157462
0
0.043721
0.221579
1,381
45
75
30.688889
0.747907
0.018103
0
0
0
0
0.098155
0
0
0
0
0
0.28125
1
0.3125
false
0
0.0625
0
0.40625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
f6fb2d87aa49248212178e1f5ae0d3607c06265f
561
py
Python
tools/send_message_telegram.py
lucasayres/python-tools
686b84986aae1b1714fa5645b1f2a3fd6ef8355d
[ "MIT" ]
71
2018-06-28T17:38:15.000Z
2022-02-08T17:42:42.000Z
tools/send_message_telegram.py
DalavanCloud/python-tools
686b84986aae1b1714fa5645b1f2a3fd6ef8355d
[ "MIT" ]
null
null
null
tools/send_message_telegram.py
DalavanCloud/python-tools
686b84986aae1b1714fa5645b1f2a3fd6ef8355d
[ "MIT" ]
14
2018-07-08T03:29:29.000Z
2022-03-22T21:04:39.000Z
# -*- coding: utf-8 -*- import requests def send_message_telegram(msg, chat_id, token): """Send a message to a telegram user. The token can be generated talking with @BotFather on telegram. Args: msg (str): Message. chat_id (str): Number. token (str): Authentication Key. Returns:...
28.05
120
0.641711
71
561
4.985915
0.633803
0.067797
0.050847
0
0
0
0
0
0
0
0
0.00463
0.229947
561
19
121
29.526316
0.814815
0.475936
0
0
1
0
0.228682
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
63e70797bb6533aa7af56d1402997865c1e22f00
5,762
py
Python
tests/conftest.py
brighthive/convert_descriptor_to_swagger
ac59504ddf70622fb76e68b23dfdf4555836d3bd
[ "MIT" ]
null
null
null
tests/conftest.py
brighthive/convert_descriptor_to_swagger
ac59504ddf70622fb76e68b23dfdf4555836d3bd
[ "MIT" ]
3
2019-12-10T19:47:39.000Z
2019-12-20T19:11:59.000Z
tests/conftest.py
brighthive/convert_descriptor_to_swagger
ac59504ddf70622fb76e68b23dfdf4555836d3bd
[ "MIT" ]
1
2020-04-29T18:18:49.000Z
2020-04-29T18:18:49.000Z
import pytest @pytest.fixture def people_descriptor(): people_descriptor = { "api": { "resource": "people", "methods": [ { "get": {"enabled": True, "secured": False, "grants": ["get:users"]}, "post": {"enabled": True, "secured...
37.174194
109
0.264665
262
5,762
5.755725
0.251908
0.102122
0.167109
0.167772
0.537135
0.537135
0.537135
0.425729
0.319629
0.319629
0
0
0.60656
5,762
154
110
37.415584
0.665196
0
0
0.446667
0
0
0.224575
0.008157
0
0
0
0
0
1
0.013333
false
0
0.006667
0
0.033333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
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
2
63ed2f6a1482852038d2f9ae5235dd2c3939a81d
2,556
py
Python
library/tutorial/06_module.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
13
2020-01-04T07:37:38.000Z
2021-08-31T05:19:58.000Z
library/tutorial/06_module.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
3
2020-06-05T22:42:53.000Z
2020-08-24T07:18:54.000Z
library/tutorial/06_module.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
9
2020-10-19T04:53:06.000Z
2021-08-31T05:20:01.000Z
import importlib import time import fibo # import fibo as fib """ 注解 出于效率的考虑,每个模块在每个解释器会话中只被导入一次。因此,如果你更改了你的模块,则必须重新启动解释器, 或者,如果它只是一个要交互式地测试的模块,请使用 importlib.reload(),例如 import importlib; importlib.reload(modulename) """ fibo.fib(1000) fibo.fib2(100) print(fibo.__name__) time.sleep(20) ## 去修改fibo.py ,能看到修改后的结果 import...
29.045455
212
0.811424
312
2,556
6.554487
0.615385
0.02934
0.031296
0.038142
0.076284
0.076284
0.076284
0.05379
0.037164
0
0
0.017514
0.084116
2,556
87
213
29.37931
0.856044
0.105634
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
true
0
0.454545
0
0.454545
0.181818
0
0
0
null
0
0
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
0
0
0
0
1
0
1
0
0
0
0
2
63f28425c3f52ac3335ca7b5ceae3be50c402ea4
62,779
py
Python
pysnmp/HP-ICF-IP-ROUTING.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/HP-ICF-IP-ROUTING.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/HP-ICF-IP-ROUTING.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module HP-ICF-IP-ROUTING (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HP-ICF-IP-ROUTING # Produced by pysmi-0.3.4 at Mon Apr 29 19:21:41 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
136.77342
9,869
0.751079
7,055
62,779
6.683203
0.059674
0.00929
0.012407
0.015186
0.390901
0.35913
0.316628
0.299724
0.283054
0.273786
0
0.089248
0.09011
62,779
458
9,870
137.072052
0.736179
0.005225
0
0.126761
0
0
0.170062
0.059063
0
0
0
0
0
1
0
false
0
0.032864
0
0.051643
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
63f3eca2bcc5a707c88b9689f2ad3589628e5416
13,261
py
Python
chb/bctypes/BCTyp.py
kestreltechnology/CodeHawk-Binary
aa0b2534e0318e5fb3770ec7b4d78feb0feb2394
[ "MIT" ]
null
null
null
chb/bctypes/BCTyp.py
kestreltechnology/CodeHawk-Binary
aa0b2534e0318e5fb3770ec7b4d78feb0feb2394
[ "MIT" ]
null
null
null
chb/bctypes/BCTyp.py
kestreltechnology/CodeHawk-Binary
aa0b2534e0318e5fb3770ec7b4d78feb0feb2394
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------------ # CodeHawk Binary Analyzer # Author: Henny Sipma # ------------------------------------------------------------------------------ # The MIT License (MIT) # # Copyright (c) 2021-2022 Aarno Labs LLC # # Permission is hereby granted, free of ...
25.900391
80
0.567981
1,494
13,261
4.907631
0.18407
0.05401
0.039007
0.0491
0.456765
0.435079
0.42335
0.309875
0.304692
0.274823
0
0.007841
0.307594
13,261
511
81
25.951076
0.790677
0.190785
0
0.569767
0
0
0.068907
0
0
0
0
0
0
1
0.232558
false
0
0.034884
0.148256
0.511628
0
0
0
0
null
0
0
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
0
0
0
1
0
0
0
1
0
0
0
2
1205449d8dab287437413d7a919c70335600e9bd
653
py
Python
src/lesson02/06-function.py
shq-shq-shq/python-lessons
fac96b0c95c676e8256329ac269ad4530f245d84
[ "MIT" ]
null
null
null
src/lesson02/06-function.py
shq-shq-shq/python-lessons
fac96b0c95c676e8256329ac269ad4530f245d84
[ "MIT" ]
null
null
null
src/lesson02/06-function.py
shq-shq-shq/python-lessons
fac96b0c95c676e8256329ac269ad4530f245d84
[ "MIT" ]
null
null
null
def поздороваться(): print("Привет, программист!") поздороваться() поздороваться() поздороваться() поздороваться() поздороваться() def поздравить_с(как, чем): print(как + " поздравляю с " + чем + "!") поздравить_с("непременно", "новым годом") поздороваться() поздравить_с("вяло", "днём тунеядца и разгильдяя"...
20.40625
50
0.7366
70
653
6.657143
0.428571
0.165236
0.251073
0.223176
0
0
0
0
0
0
0
0
0.134763
653
31
51
21.064516
0.824779
0
0
0.478261
0
0
0.222393
0
0
0
0
0
0
1
0.173913
false
0
0
0
0.173913
0.086957
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1210c5c1adc2120eef651c0b252f64a8824fdac1
449
py
Python
MPNet/AE/data_loader.py
liqi17thu/MPNet
b2dd2fa6037c5a307708de865c10c8ba86856e59
[ "MIT" ]
null
null
null
MPNet/AE/data_loader.py
liqi17thu/MPNet
b2dd2fa6037c5a307708de865c10c8ba86856e59
[ "MIT" ]
null
null
null
MPNet/AE/data_loader.py
liqi17thu/MPNet
b2dd2fa6037c5a307708de865c10c8ba86856e59
[ "MIT" ]
null
null
null
import torch import torch.utils.data as data import os import pickle import numpy as np import nltk from PIL import Image import os.path import random def load_dataset(N=30000, NP=1800): obstacles = np.zeros((N, 2800), dtype=np.float32) for i in range(0, N): temp = np.fromfile('../dataset2/obs_cloud/o...
22.45
73
0.668151
71
449
4.197183
0.619718
0.073826
0
0
0
0
0
0
0
0
0
0.053521
0.209354
449
19
74
23.631579
0.785915
0
0
0
0
0
0.064588
0.055679
0
0
0
0
0
1
0.0625
false
0
0.5625
0
0.6875
0
0
0
0
null
0
0
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
0
0
0
0
0
0
1
0
1
0
0
2
121a3b6415753931da04c67d483406265b360d92
673,905
py
Python
pysnmp/BLADETYPE6-NETWORK-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/BLADETYPE6-NETWORK-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/BLADETYPE6-NETWORK-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module BLADETYPE6-NETWORK-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BLADETYPE6-NETWORK-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:22:26 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (d...
154.105877
17,458
0.729892
86,087
673,905
5.713604
0.04104
0.015736
0.014046
0.018395
0.559389
0.552855
0.530761
0.510124
0.487544
0.448306
0
0.107863
0.097377
673,905
4,372
17,459
154.141125
0.700754
0.000502
0
0
0
0
0.103623
0.03274
0
0
0
0
0
1
0
false
0.006415
0.002291
0
0.002291
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1220a3fd8450e8b80799d200f0692602eebe42b1
5,003
py
Python
L4/4.2/PEP8/L1_PEP8.py
Wittline/Python_scripts
9d576e8cc9ef08ec7f1bcc8bb6207dae5ccc5734
[ "MIT" ]
1
2021-08-20T08:25:40.000Z
2021-08-20T08:25:40.000Z
L4/4.2/PEP8/L1_PEP8.py
Wittline/Python_scripts
9d576e8cc9ef08ec7f1bcc8bb6207dae5ccc5734
[ "MIT" ]
null
null
null
L4/4.2/PEP8/L1_PEP8.py
Wittline/Python_scripts
9d576e8cc9ef08ec7f1bcc8bb6207dae5ccc5734
[ "MIT" ]
1
2021-08-20T08:25:41.000Z
2021-08-20T08:25:41.000Z
import math import unittest def calculate_sd(d): m = calculate_mean(d) v = sum([((i - m) ** 2) for i in d]) / len(d) return v ** 0.5 def calculate_mean(n): return sum(n)/len(n) def calculate_median(d): d.sort() n = len(d) if n % 2 == 0: m1 = d[n//2] m...
31.866242
66
0.496302
647
5,003
3.75425
0.48068
0.039522
0.04611
0.041169
0.205846
0.205846
0.194319
0.181968
0.181968
0.1655
0
0.290333
0.369378
5,003
157
67
31.866242
0.479556
0
0
0.120301
0
0
0.006601
0
0
0
0
0
0.067669
1
0.112782
false
0
0.015038
0.007519
0.225564
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
122c1bf9143cdfc0dacdc43325b18177c4f1fcae
7,598
py
Python
tests/test_types.py
theLine/LSP
b0c1045862601ee6e6fd3250d3a441d46a6e8d7c
[ "MIT" ]
753
2017-04-21T23:58:56.000Z
2019-12-21T13:39:08.000Z
tests/test_types.py
theLine/LSP
b0c1045862601ee6e6fd3250d3a441d46a6e8d7c
[ "MIT" ]
776
2019-12-21T19:12:46.000Z
2022-03-27T16:04:14.000Z
tests/test_types.py
theLine/LSP
b0c1045862601ee6e6fd3250d3a441d46a6e8d7c
[ "MIT" ]
125
2017-08-14T21:10:34.000Z
2019-12-21T02:34:38.000Z
from LSP.plugin.core.types import diff from LSP.plugin.core.types import DocumentSelector from LSP.plugin.core.typing import List from unittest.mock import MagicMock import sublime import unittest class TestDiff(unittest.TestCase): def test_add(self) -> None: added, removed = diff(("a", "b", "c"), ("a", ...
51.337838
116
0.655436
950
7,598
5.065263
0.163158
0.069825
0.146093
0.17685
0.71862
0.659393
0.61783
0.604115
0.564422
0.236284
0
0.005418
0.174125
7,598
147
117
51.687075
0.760956
0.082127
0
0.125
0
0
0.158781
0.053411
0
0
0
0
0.473214
1
0.160714
false
0
0.053571
0.008929
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2