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
b1bd21be8201bacdf9e6132b8a772bc98cd65fac
45
py
Python
labfunctions/__version__.py
nuxion/nb_workflows
8d6e226a8dbd12b337def1d187a75b773ee4a2fe
[ "Apache-2.0" ]
4
2022-02-17T19:47:52.000Z
2022-02-17T20:11:06.000Z
labfunctions/__version__.py
nuxion/nb_workflows
8d6e226a8dbd12b337def1d187a75b773ee4a2fe
[ "Apache-2.0" ]
2
2022-03-26T00:07:05.000Z
2022-03-30T21:20:00.000Z
labfunctions/__version__.py
nuxion/nb_workflows
8d6e226a8dbd12b337def1d187a75b773ee4a2fe
[ "Apache-2.0" ]
1
2022-02-18T13:33:00.000Z
2022-02-18T13:33:00.000Z
__version__ = "0.8.0" __api_version__ = "v1"
15
22
0.688889
7
45
3.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0.102564
0.133333
45
2
23
22.5
0.461538
0
0
0
0
0
0.155556
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b1d8295723b4a9063ff34a938433ef6611d2545f
469
py
Python
winter_ddd/aggregate_root.py
DmitryKhursevich/winter
9f3bf462f963059bab1f1bbb309ca57f8a43b46f
[ "MIT" ]
16
2019-01-24T11:46:12.000Z
2021-10-30T13:36:44.000Z
winter_ddd/aggregate_root.py
mikhaillazko/winter
cd4f11aaf28d500aabb59cec369817bfdb5c2fc1
[ "MIT" ]
100
2019-01-29T08:11:38.000Z
2020-04-03T12:00:42.000Z
winter_ddd/aggregate_root.py
mikhaillazko/winter
cd4f11aaf28d500aabb59cec369817bfdb5c2fc1
[ "MIT" ]
8
2020-07-16T13:56:50.000Z
2021-12-27T03:33:23.000Z
from .domain_events import DomainEvents class AggregateRoot: def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self._domain_events: DomainEvents = None @property def domain_events(self) -> DomainEvents: if getattr(self, '_domain_events', None) is None: self._domain_events = DomainEvents() return self._domain_events def clear_domain_events(self): self._domain_events.clear()
27.588235
57
0.671642
52
469
5.634615
0.384615
0.327645
0.273038
0.191126
0
0
0
0
0
0
0
0
0.228145
469
16
58
29.3125
0.809392
0
0
0
0
0
0.029851
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
b1fe6175cb09aa577fee8bf9a76bb3b3c907fda8
449
py
Python
example/issueBadge.py
RozetProtocol/rozetPythonSdk
ced086ec42e9963136fee08f76a4361406ed9f64
[ "MIT" ]
null
null
null
example/issueBadge.py
RozetProtocol/rozetPythonSdk
ced086ec42e9963136fee08f76a4361406ed9f64
[ "MIT" ]
null
null
null
example/issueBadge.py
RozetProtocol/rozetPythonSdk
ced086ec42e9963136fee08f76a4361406ed9f64
[ "MIT" ]
null
null
null
from rozet import Rozet, Badge mnemonic = 'example example example example example example example example example example example example' r = Rozet(mnemonic=mnemonic) badge = Badge( 'Great guy!', 'Great doing business with you!', 5, 'john_b', '0x1111111111111111111111111111111111111111', 'nathan!', '0x1111111111111111111111111111111111111111' ) tx_hash = r.issueBadge(badge) print(f'Issue badge in tx {tx_hash}')
23.631579
108
0.732739
50
449
6.52
0.5
0.472393
0.644172
0.773006
0.257669
0.257669
0.257669
0.257669
0.257669
0.257669
0
0.22372
0.173719
449
19
109
23.631579
0.654987
0
0
0
0
0
0.575556
0.186667
0
0
0.186667
0
0
1
0
false
0
0.071429
0
0.071429
0.071429
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
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
4
59292a4473506e09ed477f2a0c8a0e89e3ced9a0
39
py
Python
caffe-grid/src/main/python/com/yahoo/ml/caffe/__init__.py
gridgentoo/CaffeOnSpark
516ef9537f0ed88cbb7849bc26b83995bddfd48b
[ "Apache-2.0" ]
1,436
2016-02-24T17:14:14.000Z
2022-02-25T20:05:19.000Z
caffe-grid/src/main/python/com/yahoo/ml/caffe/__init__.py
gridgentoo/CaffeOnSpark
516ef9537f0ed88cbb7849bc26b83995bddfd48b
[ "Apache-2.0" ]
297
2016-02-25T08:31:17.000Z
2019-10-11T02:35:09.000Z
caffe-grid/src/main/python/com/yahoo/ml/caffe/__init__.py
gridgentoo/CaffeOnSpark
516ef9537f0ed88cbb7849bc26b83995bddfd48b
[ "Apache-2.0" ]
461
2016-02-24T17:25:04.000Z
2021-03-05T07:33:02.000Z
from tools import * __all__=["tools"]
9.75
19
0.692308
5
39
4.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.153846
39
3
20
13
0.69697
0
0
0
0
0
0.128205
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
593f2309f2adecda420202a6e4a068f94dfb1efd
301
py
Python
GestionDentista/models.py
SigiAlire11/odontologia
38adbefbd2caa652c1cc5005e336783c6f9144b0
[ "CC0-1.0" ]
null
null
null
GestionDentista/models.py
SigiAlire11/odontologia
38adbefbd2caa652c1cc5005e336783c6f9144b0
[ "CC0-1.0" ]
null
null
null
GestionDentista/models.py
SigiAlire11/odontologia
38adbefbd2caa652c1cc5005e336783c6f9144b0
[ "CC0-1.0" ]
1
2021-10-29T22:09:59.000Z
2021-10-29T22:09:59.000Z
from django.db import models from django.db.models.base import Model # Create your models here. class Clientes(models.Model): Nombre= models.TextField(max_length=30) Apellido= models.TextField(max_length=30) Telefono= models.IntegerField() Direccion= models.TextField(max_length=100)
33.444444
47
0.770764
41
301
5.585366
0.536585
0.196507
0.235808
0.31441
0.227074
0
0
0
0
0
0
0.02682
0.13289
301
9
47
33.444444
0.850575
0.079734
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
5941fd24ea280800bc97057caf83efce6c366682
273
py
Python
asbool/__init__.py
aodag/asbool
1c5d74c9b2f641a3452c1e7118a4a83ffe665ab5
[ "MIT" ]
8
2015-11-20T01:20:13.000Z
2021-02-20T04:24:08.000Z
asbool/__init__.py
aodag/asbool
1c5d74c9b2f641a3452c1e7118a4a83ffe665ab5
[ "MIT" ]
2
2020-12-08T05:16:48.000Z
2021-02-16T11:12:06.000Z
asbool/__init__.py
aodag/asbool
1c5d74c9b2f641a3452c1e7118a4a83ffe665ab5
[ "MIT" ]
null
null
null
# from .converter import AsBoolConverter DEFAULT_TRUE_VALUES = ( 't', 'true', 'y', 'yes', ) DEFAULT_FALSE_VALUES = ( 'f', 'false', 'n', 'no', ) asbool = AsBoolConverter(DEFAULT_TRUE_VALUES, DEFAULT_FALSE_VALUES)
13
46
0.553114
26
273
5.5
0.576923
0.307692
0.363636
0.447552
0
0
0
0
0
0
0
0
0.315018
273
20
47
13.65
0.764706
0
0
0
0
0
0.066176
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5941fd857ad5801e3216aff22376812eed2f25ae
91
py
Python
authenti/apps.py
amirRamirfatahi/beautstertest
53f6e515903fd11992fd1eb70760318b17896437
[ "MIT" ]
null
null
null
authenti/apps.py
amirRamirfatahi/beautstertest
53f6e515903fd11992fd1eb70760318b17896437
[ "MIT" ]
5
2021-03-30T13:08:19.000Z
2021-09-22T18:54:13.000Z
authenti/apps.py
amirRamirfatahi/beautstertest
53f6e515903fd11992fd1eb70760318b17896437
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AuthentiConfig(AppConfig): name = 'authenti'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
3cd6b10b2601907cdd5729d7c7fb941b1f752b9b
28
py
Python
homeassistant/components/hp_ilo/__init__.py
pancho-villa/home-assistant
ab17b22239452671f14067571f22aadb9688a3de
[ "Apache-2.0" ]
1
2019-03-21T14:59:31.000Z
2019-03-21T14:59:31.000Z
homeassistant/components/hp_ilo/__init__.py
pancho-villa/home-assistant
ab17b22239452671f14067571f22aadb9688a3de
[ "Apache-2.0" ]
null
null
null
homeassistant/components/hp_ilo/__init__.py
pancho-villa/home-assistant
ab17b22239452671f14067571f22aadb9688a3de
[ "Apache-2.0" ]
1
2022-02-20T07:41:14.000Z
2022-02-20T07:41:14.000Z
"""The hp_ilo component."""
14
27
0.642857
4
28
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0.107143
28
1
28
28
0.68
0.75
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
3cfc362adabb3ad5d1a216aeab15bb5b38028c05
76
py
Python
occiput_suite/test/__init__.py
mscipio/occiput-suite
9b7dc59ad615d46d811eab965a86ec9efe292a7d
[ "BSD-2-Clause" ]
7
2018-02-22T13:50:21.000Z
2020-11-16T01:28:22.000Z
occiput_suite/test/__init__.py
mscipio/occiput-suite
9b7dc59ad615d46d811eab965a86ec9efe292a7d
[ "BSD-2-Clause" ]
null
null
null
occiput_suite/test/__init__.py
mscipio/occiput-suite
9b7dc59ad615d46d811eab965a86ec9efe292a7d
[ "BSD-2-Clause" ]
2
2018-02-22T13:50:31.000Z
2020-01-14T02:17:32.000Z
# occiput # Stefano Pedemonte # Harvard University / MGH # Boston, Jan 2015
15.2
26
0.736842
9
76
6.222222
1
0
0
0
0
0
0
0
0
0
0
0.064516
0.184211
76
4
27
19
0.83871
0.881579
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
a735d96a36f94fa0387800612e49a361b65fb90d
165
py
Python
flaskblog/dashboard/__init__.py
gopal1cloud/appsec-dvpa
99a5dbb54b9ce8b0e4803a28a265512fe0a4a389
[ "MIT" ]
null
null
null
flaskblog/dashboard/__init__.py
gopal1cloud/appsec-dvpa
99a5dbb54b9ce8b0e4803a28a265512fe0a4a389
[ "MIT" ]
null
null
null
flaskblog/dashboard/__init__.py
gopal1cloud/appsec-dvpa
99a5dbb54b9ce8b0e4803a28a265512fe0a4a389
[ "MIT" ]
null
null
null
from flask import (Blueprint, request, redirect, render_template, url_for, session, flash) dashboard = Blueprint('dashboard', __name__, template_folder='templates')
55
90
0.8
19
165
6.578947
0.842105
0
0
0
0
0
0
0
0
0
0
0
0.090909
165
3
91
55
0.833333
0
0
0
0
0
0.108434
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
4
5975c8a5bb4ef7d0d72f80f6c3259ffe9a4b59d3
52
py
Python
bitmovin/resources/models/encodings/captions/__init__.py
camberbridge/bitmovin-python
3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95
[ "Unlicense" ]
44
2016-12-12T17:37:23.000Z
2021-03-03T09:48:48.000Z
bitmovin/resources/models/encodings/captions/__init__.py
camberbridge/bitmovin-python
3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95
[ "Unlicense" ]
38
2017-01-09T14:45:45.000Z
2022-02-27T18:04:33.000Z
bitmovin/resources/models/encodings/captions/__init__.py
camberbridge/bitmovin-python
3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95
[ "Unlicense" ]
27
2017-02-02T22:49:31.000Z
2019-11-21T07:04:57.000Z
from .burn_in_srt_subtitle import BurnInSrtSubtitle
26
51
0.903846
7
52
6.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.076923
52
1
52
52
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
598e058c3cbfd947d4a1787547c0a8a518c2cf23
136
py
Python
boringproxy_api/__init__.py
bodiroga/boringproxy-python-api
6cbe0e5722d63b92e3e51f2ca19384f9eac43f02
[ "MIT" ]
2
2022-03-09T22:44:03.000Z
2022-03-22T08:37:57.000Z
boringproxy_api/__init__.py
bodiroga/boringproxy-python-api
6cbe0e5722d63b92e3e51f2ca19384f9eac43f02
[ "MIT" ]
null
null
null
boringproxy_api/__init__.py
bodiroga/boringproxy-python-api
6cbe0e5722d63b92e3e51f2ca19384f9eac43f02
[ "MIT" ]
null
null
null
from .boringproxy_api import BoringproxyUserAPI, BoringproxyAdminAPI __all__ = [ 'BoringproxyUserAPI', 'BoringproxyAdminAPI' ]
19.428571
68
0.779412
9
136
11.222222
0.777778
0.732673
0
0
0
0
0
0
0
0
0
0
0.147059
136
6
69
22.666667
0.87069
0
0
0
0
0
0.272059
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5996449733b18dcdef9e528c8323aa971b1f5a1b
90
py
Python
intro1/hellonumbers.py
grmagicdog/cs61b-sp18
f61303e19ded545a75c7a78cf8e92b2f28db2a14
[ "MIT" ]
2
2020-03-02T07:48:33.000Z
2020-03-02T07:48:37.000Z
intro1/hellonumbers.py
grmagicdog/cs61b-sp18
f61303e19ded545a75c7a78cf8e92b2f28db2a14
[ "MIT" ]
null
null
null
intro1/hellonumbers.py
grmagicdog/cs61b-sp18
f61303e19ded545a75c7a78cf8e92b2f28db2a14
[ "MIT" ]
4
2021-01-03T09:56:33.000Z
2022-02-01T00:11:39.000Z
x = 0 while x < 10: print(x) x = x + 1 x = "horse" print(x) print(5 + "horse")
10
18
0.466667
17
90
2.470588
0.470588
0.285714
0
0
0
0
0
0
0
0
0
0.084746
0.344444
90
9
18
10
0.627119
0
0
0.285714
0
0
0.120482
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
599b6a62a8a7bf2851f1e8530e42e2aa6f29adcb
185
py
Python
mapmint-services/customize.py
fenilgmehta/mapmint
7c28c42dbe9b17b11f5f6f080fd2c397f4f6937f
[ "MIT" ]
41
2015-02-10T10:34:42.000Z
2022-02-25T07:52:12.000Z
mapmint-services/customize.py
mapmint/mapmint
6425c3178e6e3f3d036aed60e03eb9924e00f9f8
[ "MIT" ]
19
2015-01-06T11:48:35.000Z
2021-09-03T15:40:23.000Z
mapmint-services/customize.py
fenilgmehta/mapmint
7c28c42dbe9b17b11f5f6f080fd2c397f4f6937f
[ "MIT" ]
33
2015-02-20T09:34:57.000Z
2021-05-26T14:18:37.000Z
import sys import os if sys.platform == 'win32': import ntfslink os.symlink = ntfslink.symlink os.readlink = ntfslink.readlink os.path.islink = ntfslink.islink
20.555556
37
0.675676
23
185
5.434783
0.478261
0
0
0
0
0
0
0
0
0
0
0.014184
0.237838
185
8
38
23.125
0.87234
0
0
0
0
0
0.028249
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
59cbda709b0827d343b161e78d3c4d770d923243
67
py
Python
nodev/specs/__init__.py
nodev-io/nodev.specs
c4740b13f928d2ad39196a4366c98b5f7716ac35
[ "MIT" ]
3
2016-02-17T09:17:04.000Z
2016-10-25T18:07:51.000Z
nodev/specs/__init__.py
nodev-io/nodev.specs
c4740b13f928d2ad39196a4366c98b5f7716ac35
[ "MIT" ]
null
null
null
nodev/specs/__init__.py
nodev-io/nodev.specs
c4740b13f928d2ad39196a4366c98b5f7716ac35
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (c) 2016 Alessandro Amici. #
13.4
38
0.58209
8
67
4.875
1
0
0
0
0
0
0
0
0
0
0
0.092593
0.19403
67
4
39
16.75
0.62963
0.865672
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
59d4b108023e1bca3224c9f429773082dc280825
27
py
Python
notebooks/_solutions/pandas_03a_selecting_data25.py
jonasvdd/DS-python-data-analysis
835226f562ee0b0631d70e48a17c4526ff58a538
[ "BSD-3-Clause" ]
65
2017-03-21T09:15:40.000Z
2022-02-01T23:43:08.000Z
notebooks/_solutions/pandas_03a_selecting_data25.py
jonasvdd/DS-python-data-analysis
835226f562ee0b0631d70e48a17c4526ff58a538
[ "BSD-3-Clause" ]
100
2016-12-15T03:44:06.000Z
2022-03-07T08:14:07.000Z
notebooks/_solutions/pandas_03a_selecting_data19.py
jorisvandenbossche/ICES-python-data
63864947657f37cb26cb4e2dcd67ff106dffe9cd
[ "BSD-3-Clause" ]
52
2016-12-19T07:48:52.000Z
2022-02-19T17:53:48.000Z
inception['n'].isna().sum()
27
27
0.62963
4
27
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0
27
1
27
27
0.62963
0
0
0
0
0
0.035714
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
59ec295144930716d3c2584bd6628e396e4dfbbf
1,355
py
Python
tests/test_get_connection.py
psu-oit/django-templated-email
613d82dc65e43666741d36b5c95bd00cf8854ec0
[ "MIT" ]
413
2016-07-25T07:06:27.000Z
2022-03-26T07:29:34.000Z
tests/test_get_connection.py
bblanchon/django-templated-email
cba05a7b0f355acdc18174acd1ae468ad77e023d
[ "MIT" ]
87
2016-07-09T14:27:26.000Z
2022-02-11T14:41:09.000Z
tests/test_get_connection.py
bblanchon/django-templated-email
cba05a7b0f355acdc18174acd1ae468ad77e023d
[ "MIT" ]
57
2016-08-02T20:36:28.000Z
2022-03-10T06:13:50.000Z
from django.test import TestCase from templated_email import get_connection, backends class GetConnectionTestCase(TestCase): def test_default(self): connection = get_connection() self.assertIsInstance(connection, backends.vanilla_django.TemplateBackend) def test_class_name(self): klass = 'templated_email.backends.vanilla_django.TemplateBackend' connection = get_connection(klass) self.assertIsInstance(connection, backends.vanilla_django.TemplateBackend) def test_class_name_omitted(self): klass = 'templated_email.backends.vanilla_django' connection = get_connection(klass) self.assertIsInstance(connection, backends.vanilla_django.TemplateBackend) def test_class_instance(self): klass = backends.vanilla_django.TemplateBackend connection = get_connection(klass) self.assertIsInstance(connection, klass) def test_non_existing_module(self): klass = 'templated_email.backends.non_existing.NoBackend' self.assertRaises(ImportError, get_connection, klass) def test_non_existing_class(self): klass = 'templated_email.backends.vanilla_django.NoBackend' self.assertRaises(ImportError, get_connection, klass)
30.111111
73
0.698893
131
1,355
6.969466
0.21374
0.099671
0.161008
0.197152
0.787514
0.75356
0.708653
0.468784
0.468784
0.468784
0
0
0.232472
1,355
44
74
30.795455
0.877885
0
0
0.407407
0
0
0.140221
0.140221
0
0
0
0
0.222222
1
0.222222
false
0
0.148148
0
0.407407
0
0
0
0
null
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
aba24cd6d2b9f0cfe7e7b1014c44ed7dcd1f1f5d
55
py
Python
examples/windows/console_hello/steps/1.py
Bnz-0/chad
7bfea262f0a343d70a337608d5e7b9ad7dd52151
[ "MIT" ]
null
null
null
examples/windows/console_hello/steps/1.py
Bnz-0/chad
7bfea262f0a343d70a337608d5e7b9ad7dd52151
[ "MIT" ]
null
null
null
examples/windows/console_hello/steps/1.py
Bnz-0/chad
7bfea262f0a343d70a337608d5e7b9ad7dd52151
[ "MIT" ]
null
null
null
run_cmd("cl console_hello.c /link /subsystem:console")
27.5
54
0.781818
9
55
4.555556
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.072727
55
1
55
55
0.803922
0
0
0
0
0
0.781818
0
0
0
0
0
0
1
0
true
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
abc5e0c8a978983b12fbaef202fe678347f5f0d9
8,374
py
Python
tests/tests_constraints/test_pyPlanningItem.py
victorgabr/pps
dfe3fae64fd4dedde85204643f9c797c0373f96c
[ "BSD-3-Clause" ]
7
2018-11-18T07:11:05.000Z
2021-05-06T21:53:40.000Z
tests/tests_constraints/test_pyPlanningItem.py
victorgabr/pps
dfe3fae64fd4dedde85204643f9c797c0373f96c
[ "BSD-3-Clause" ]
9
2019-09-23T16:34:09.000Z
2020-05-26T18:49:43.000Z
tests/tests_constraints/test_pyPlanningItem.py
victorgabr/pps
dfe3fae64fd4dedde85204643f9c797c0373f96c
[ "BSD-3-Clause" ]
2
2019-04-18T14:34:31.000Z
2019-06-19T19:34:33.000Z
# GETTING dvh DATA FROM DOSE # TODO refactor this # from pyplanscoring.core.types import DoseUnit, DoseValuePresentation, VolumePresentation, DoseValue # # def test_calculate_dvh(test_case, py_planning_item): # # Must calculate DVH # py_planning_item.calculate_dvh() # # # def test_get_dvh_cumulative_data(test_case): # struc_name = 'PTV70-BR.PLX 4MM' # dvh_dose_abs = py_planning_item.get_dvh_cumulative_data(struc_name, DoseValuePresentation.Absolute) # dvh_dose_rel = py_planning_item.get_dvh_cumulative_data(struc_name, DoseValuePresentation.Relative) # # # check relative and absolute representations # assert dvh_dose_abs.dose_unit == DoseUnit.Gy # assert dvh_dose_rel.dose_unit == DoseUnit.Percent # # # def test_get_dose_at_volume(test_case): # target_dose = DoseValue(67.762, DoseUnit.Gy) # volume_pp = 95 * VolumePresentation.relative # dose_0 = py_planning_item.get_dose_at_volume(struc_name, volume_pp, # VolumePresentation.relative, # DoseValuePresentation.Absolute) # # assert dose_0 == target_dose # # # query_str = 'D95%[%]' # target_dose_pp = DoseValue(6781.3 / 7000.0 * 100, DoseUnit.Percent) # volume_pp = 95 * VolumePresentation.relative # dose_1 = py_planning_item.get_dose_at_volume(struc_name, volume_pp, # VolumePresentation.relative, # DoseValuePresentation.Relative) # # assert dose_1 == target_dose_pp # # # Test point dose constrains # mayo_format_query = 'Max[Gy]' # # read query into que object # dm = py_planning_item.execute_query(mayo_format_query, struc_name) # target_dose = DoseValue(76.2, DoseUnit.Gy) # assert dm == target_dose # # mayo_format_query = 'Max[%]' # # read query into que object # dm = py_planning_item.execute_query(mayo_format_query, struc_name) # target_dose = DoseValue(108.857, DoseUnit.Percent) # assert dm == target_dose # # mayo_format_query = 'Mean[Gy]' # # read query into que object # dm = py_planning_item.execute_query(mayo_format_query, struc_name) # target_dose = DoseValue(71.56748874249499, DoseUnit.Gy) # assert dm == target_dose # # mayo_format_query = 'Mean[%]' # # read query into que object # dm = py_planning_item.execute_query(mayo_format_query, struc_name) # target_dose = DoseValue(102.239, DoseUnit.Percent) # assert dm == target_dose # # mayo_format_query = 'Min[Gy]' # # read query into que object # dm = py_planning_item.execute_query(mayo_format_query, struc_name) # target_dose = DoseValue(56.955, DoseUnit.Gy) # assert dm == target_dose # # mayo_format_query = 'Min[%]' # # read query into que object # dm = py_planning_item.execute_query(mayo_format_query, struc_name) # target_dose = DoseValue(81.364, DoseUnit.Percent) # assert dm == target_dose # # # # teste HI index # mayo_format_query = 'HI70Gy[]' # target = 0.14336163265306154 # dm = py_planning_item.execute_query(mayo_format_query, struc_name) # assert dm == target # # # test CI # mayo_format_query = 'CI66.5Gy[]' # target = 0.6631410314914067 # dm = py_planning_item.execute_query(mayo_format_query, struc_name) # assert dm == target # # # teste GI # # TODO add real GK case # mayo_format_query = 'GI66.5Gy[]' # target = 0.6631410314914067 # dm = py_planning_item.execute_query(mayo_format_query, struc_name) # assert dm == dm # volume = 655.0261147733513 * VolumePresentation.absolute_cm3 # dose_1 = py_planning_item.get_dose_at_volume(struc_name, volume, # VolumePresentation.absolute_cm3, # DoseValuePresentation.Relative) # assert dose_1 == target_dose_pp # # dose_1 = py_planning_item.get_dose_at_volume(struc_name, volume, # VolumePresentation.absolute_cm3, # DoseValuePresentation.Absolute) # assert dose_1 == target_dose # # target_dose = DoseValue(7401.78624315853, DoseUnit.cGy) # target_dose_pp = DoseValue(7401.78624315853 / 7000.0 * 100, DoseUnit.Percent) # volume_pp = 95 * VolumePresentation.relative # dose_0 = py_planning_item.get_dose_compliment_at_volume(struc_name, volume_pp, # VolumePresentation.relative, # DoseValuePresentation.Absolute) # # dose_1 = py_planning_item.get_dose_compliment_at_volume(struc_name, volume_pp, # VolumePresentation.relative, # DoseValuePresentation.Relative) # # assert dose_0 == target_dose # assert dose_1 == target_dose_pp # # # Do 95% from absolute values # # query_str = 'DC655.0261147733513cc[cGy]' # volume = 655.0261147733513 * VolumePresentation.absolute_cm3 # dose_0 = py_planning_item.get_dose_compliment_at_volume(struc_name, volume, # VolumePresentation.relative, # DoseValuePresentation.Absolute) # # dose_1 = py_planning_item.get_dose_compliment_at_volume(struc_name, volume, # VolumePresentation.relative, # DoseValuePresentation.Relative) # # assert dose_0 == target_dose # assert dose_1 == target_dose_pp # # # query_str = 'V6103.854532025905cGy[%]' # dv = DoseValue(6103.854532025905, DoseUnit.cGy) # v0 = py_planning_item.get_volume_at_dose(struc_name, dv, VolumePresentation.relative) # # assert v0 == 95.0 * VolumePresentation.relative # # # query_str = 'V6103.854532025905cGy[cc]' # dv = DoseValue(6103.854532025905, DoseUnit.cGy) # v1 = py_planning_item.get_volume_at_dose(struc_name, dv, VolumePresentation.absolute_cm3) # test_case.assertAlmostEqual(v1, 655.0261147733513 * VolumePresentation.absolute_cm3) # # # query_str = 'V87.1979218860843%[%]' # dv = DoseValue(87.1979218860843, DoseUnit.Percent) # v3 = py_planning_item.get_volume_at_dose(struc_name, dv, VolumePresentation.relative) # test_case.assertAlmostEqual(v3, 95.0 * VolumePresentation.relative) # # # query_str = 'V87.1979218860843%[cc]' # dv = DoseValue(87.1979218860843, DoseUnit.Percent) # v3 = py_planning_item.get_volume_at_dose(struc_name, dv, VolumePresentation.absolute_cm3) # test_case.assertAlmostEqual(v3, 655.0261147733513 * VolumePresentation.absolute_cm3) # # # query_str = 'CV6103.854532025905cGy[%]' # dv = DoseValue(6103.854532025905, DoseUnit.cGy) # v0 = py_planning_item.get_compliment_volume_at_dose(struc_name, dv, VolumePresentation.relative) # test_case.assertAlmostEqual(v0, 5 * VolumePresentation.relative) # # query_str = 'CV6103.854532025905cGy[cc]' # dv = DoseValue(6103.854532025905, DoseUnit.cGy) # v1 = py_planning_item.get_compliment_volume_at_dose(struc_name, dv, VolumePresentation.absolute_cm3) # test_case.assertAlmostEqual(v1, 34.47505867228165 * VolumePresentation.absolute_cm3) # # # Dose at volume # struc_name = 'PTV_70_3mm' # mayo_format_query = 'D95%[cGy]' # dose_0 = py_planning_item.execute_query(mayo_format_query, struc_name) # target_dose = DoseValue(6103.854532025905, DoseUnit.cGy) # test_case.assertAlmostEqual(dose_0, target_dose) # # # Volume at dose # mayo_format_query = 'V6103.854532025905cGy[%]' # volume = py_planning_item.execute_query(mayo_format_query, struc_name) # target_volume = 95 * VolumePresentation.relative # test_case.assertAlmostEqual(volume, target_volume) # # # Dose compliment # mayo_format_query = 'CV6103.854532025905cGy[%]' # dose_1 = py_planning_item.execute_query(mayo_format_query, struc_name) # test_case.assertAlmostEqual(dose_1, 5 * VolumePresentation.relative)
46.522222
106
0.650227
923
8,374
5.555796
0.139762
0.058502
0.081903
0.053042
0.75
0.720554
0.699688
0.659126
0.647816
0.603939
0
0.089944
0.257822
8,374
179
107
46.782123
0.735157
0.912587
0
null
0
null
0
0
null
0
0
0.005587
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
abe9ba534eca51f06b879df2935eb14f4375ce5c
101
py
Python
example/cheeseshop/apps/catalog/models.py
sflems/django-constance
e177292c74cbf158c7218d8818d5d6c34b17eee1
[ "BSD-3-Clause" ]
899
2015-12-17T09:24:11.000Z
2022-03-31T15:57:53.000Z
example/cheeseshop/apps/catalog/models.py
sflems/django-constance
e177292c74cbf158c7218d8818d5d6c34b17eee1
[ "BSD-3-Clause" ]
342
2015-12-27T11:07:44.000Z
2022-03-24T13:34:46.000Z
example/cheeseshop/apps/catalog/models.py
sflems/django-constance
e177292c74cbf158c7218d8818d5d6c34b17eee1
[ "BSD-3-Clause" ]
213
2015-12-23T00:32:34.000Z
2022-03-17T17:04:57.000Z
from django.db import models class Brand(models.Model): name = models.CharField(max_length=75)
16.833333
42
0.752475
15
101
5
0.866667
0
0
0
0
0
0
0
0
0
0
0.023256
0.148515
101
5
43
20.2
0.848837
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
abfe7dffed5f9d994b08215f1a59c0d90e3291fa
159
py
Python
django_smb/apps.py
ZviBaratz/django_smb
c2ff37c6c0577b42d5ed4e783ab5d1aaafb63f74
[ "MIT" ]
null
null
null
django_smb/apps.py
ZviBaratz/django_smb
c2ff37c6c0577b42d5ed4e783ab5d1aaafb63f74
[ "MIT" ]
10
2018-12-17T13:58:44.000Z
2019-04-18T10:44:15.000Z
django_smb/apps.py
ZviBaratz/django_smb
c2ff37c6c0577b42d5ed4e783ab5d1aaafb63f74
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class DjangoSmbConfig(AppConfig): name = 'django_smb'
17.666667
39
0.742138
19
159
5.894737
0.789474
0
0
0
0
0
0
0
0
0
0
0.007463
0.157233
159
8
40
19.875
0.828358
0.132075
0
0
0
0
0.073529
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
f9ec371bf37fa337422e2991647c2c8219fdc681
166
py
Python
qmatch/__main__.py
davislf2/qmatch-cli
ba97b3cf2bbc225efe96c8e4687103448e3b2835
[ "MIT" ]
null
null
null
qmatch/__main__.py
davislf2/qmatch-cli
ba97b3cf2bbc225efe96c8e4687103448e3b2835
[ "MIT" ]
null
null
null
qmatch/__main__.py
davislf2/qmatch-cli
ba97b3cf2bbc225efe96c8e4687103448e3b2835
[ "MIT" ]
null
null
null
""" main file """ from .cli import main import sys if __name__ == "__main__": sys.path.append('/Users/apple/Downloads/Projects/Python/cli_practice') main()
18.444444
74
0.686747
22
166
4.772727
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.156627
166
8
75
20.75
0.75
0.054217
0
0
0
0
0.395973
0.342282
0
0
0
0
0
1
0
true
0
0.4
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
1
0
1
0
0
0
0
4
e622f48ce2bed1a42b5153884817c98e09d64673
64
py
Python
python/testData/inspections/PyProtectedMemberInspection/DunderAll/m1.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2018-12-29T09:53:39.000Z
2018-12-29T09:53:42.000Z
python/testData/inspections/PyProtectedMemberInspection/DunderAll/m1.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/inspections/PyProtectedMemberInspection/DunderAll/m1.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
__all__ = ["m1m1"] def m1m1(): pass def m1m2(): pass
7.111111
18
0.515625
8
64
3.625
0.625
0
0
0
0
0
0
0
0
0
0
0.136364
0.3125
64
9
19
7.111111
0.522727
0
0
0.4
0
0
0.061538
0
0
0
0
0
0
1
0.4
false
0.4
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
1
0
1
0
0
0
0
0
4
e63da36bb619ea072f805c95da60b0324f101f6a
814
py
Python
shiksha_buddy/admin_panel/serializers.py
emopankaj/shiksha-buddy
a178e5be8b2da5fdaca33e7385b0115d5361e55c
[ "MIT" ]
1
2020-01-12T06:35:28.000Z
2020-01-12T06:35:28.000Z
shiksha_buddy/admin_panel/serializers.py
emopankaj/shiksha-buddy
a178e5be8b2da5fdaca33e7385b0115d5361e55c
[ "MIT" ]
4
2021-03-10T02:40:28.000Z
2022-02-26T21:39:34.000Z
shiksha_buddy/admin_panel/serializers.py
emopankaj/shiksha-buddy
a178e5be8b2da5fdaca33e7385b0115d5361e55c
[ "MIT" ]
null
null
null
from rest_framework import serializers from admin_panel.menu_models import MenuItem from admin_panel.page_models import GenericPage, TextImagePage, ContactPage # class ArticleSerializer(serializers.ModelSerializer): # class Meta: # model = Article # fields = '__all__' class GenericPageSerializer(serializers.ModelSerializer): class Meta: model = GenericPage fields = '__all__' class TextImagePageSerializer(serializers.ModelSerializer): class Meta: model = TextImagePage fields = '__all__' class ContactPageSerializer(serializers.ModelSerializer): class Meta: model = ContactPage fields = '__all__' class MenuItemSerializer(serializers.ModelSerializer): class Meta: model = MenuItem fields = '__all__'
23.257143
75
0.714988
71
814
7.84507
0.366197
0.233393
0.278276
0.314183
0.359066
0
0
0
0
0
0
0
0.219902
814
34
76
23.941176
0.877165
0.14742
0
0.421053
0
0
0.040639
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.578947
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
e6524eadea71d9e13bd5bfd7f88a2f9259b0788a
343
py
Python
tests/test_imports.py
target/huntlib
db5e7d9c4ec076f5ffca9e8cb0d03446da9739fc
[ "MIT" ]
116
2018-10-01T17:39:03.000Z
2022-03-27T03:21:18.000Z
tests/test_imports.py
target/huntlib
db5e7d9c4ec076f5ffca9e8cb0d03446da9739fc
[ "MIT" ]
11
2018-10-08T14:38:58.000Z
2021-05-13T13:51:35.000Z
tests/test_imports.py
target/huntlib
db5e7d9c4ec076f5ffca9e8cb0d03446da9739fc
[ "MIT" ]
19
2018-10-18T14:36:02.000Z
2021-05-26T01:34:39.000Z
#!/usr/bin/env python # Just a set of 'tests' to make sure we can import * from # all the modules in the package. Guess why we have this?? from huntlib import * from huntlib.data import * from huntlib.util import * from huntlib.elastic import * from huntlib.splunk import * from huntlib.exceptions import * from huntlib.decorators import *
24.5
58
0.752187
54
343
4.777778
0.592593
0.271318
0.395349
0
0
0
0
0
0
0
0
0
0.172012
343
13
59
26.384615
0.908451
0.387755
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
e6601b4a8b788ce651734ebec40a2e84419d3f39
175
py
Python
plugins/model/Model_OriginalHighRes/__init__.py
RedPillGroup/RedPillFaceSwap
2313d4fe0e6e7b579ce450d556ad4fd6bd0cbed6
[ "MIT" ]
1
2020-04-14T22:16:50.000Z
2020-04-14T22:16:50.000Z
plugins/model/Model_OriginalHighRes/__init__.py
RedPillGroup/RedPillFaceSwap
2313d4fe0e6e7b579ce450d556ad4fd6bd0cbed6
[ "MIT" ]
null
null
null
plugins/model/Model_OriginalHighRes/__init__.py
RedPillGroup/RedPillFaceSwap
2313d4fe0e6e7b579ce450d556ad4fd6bd0cbed6
[ "MIT" ]
2
2020-04-14T22:17:09.000Z
2020-10-30T03:01:13.000Z
# -*- coding: utf-8 -*- __author__ = """Based on https://reddit.com/u/deepfakes/""" from ._version import __version__ from .Model import Model from .Trainer import Trainer
19.444444
59
0.708571
23
175
5
0.695652
0
0
0
0
0
0
0
0
0
0
0.006667
0.142857
175
8
60
21.875
0.76
0.12
0
0
0
0
0.264901
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
050a73bbec96669809cd4a2bd90311619e4baf9f
74
py
Python
music_metadata_extractor/sources/youtube_music/__init__.py
lttkgp/metadata-extractor
f0f17e07debf00d9601e2a13c5ee12b594da6a31
[ "MIT" ]
10
2020-04-09T21:28:46.000Z
2021-05-17T12:32:50.000Z
music_metadata_extractor/sources/youtube_music/__init__.py
vijAykumAr03/metadata-extractor
dcc1147a9da6974e3ab7d05dc73d6a4bc8decd9c
[ "MIT" ]
27
2020-04-12T06:18:13.000Z
2021-04-06T07:37:58.000Z
music_metadata_extractor/sources/youtube_music/__init__.py
vijAykumAr03/metadata-extractor
dcc1147a9da6974e3ab7d05dc73d6a4bc8decd9c
[ "MIT" ]
8
2020-04-09T21:29:03.000Z
2021-01-26T06:41:30.000Z
"""Mark directory as a package directory for older versions of Python."""
37
73
0.756757
11
74
5.090909
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.148649
74
1
74
74
0.888889
0.905405
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
05103afdc77f5ce180cadce7fb4a89bdb0ecec9d
130
py
Python
producthuntturkey/openstartup/urls.py
mrabdullahsahin/producthuntturkey.com
615b22224cbf5141704bdf5bc45ebffb8602bc7c
[ "MIT" ]
6
2022-01-01T15:36:12.000Z
2022-01-09T10:03:25.000Z
producthuntturkey/openstartup/urls.py
mrabdullahsahin/producthuntturkey.com
615b22224cbf5141704bdf5bc45ebffb8602bc7c
[ "MIT" ]
null
null
null
producthuntturkey/openstartup/urls.py
mrabdullahsahin/producthuntturkey.com
615b22224cbf5141704bdf5bc45ebffb8602bc7c
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('open-startup', views.openpage, name='open-startup'), ]
21.666667
62
0.715385
17
130
5.470588
0.647059
0.236559
0
0
0
0
0
0
0
0
0
0
0.146154
130
6
63
21.666667
0.837838
0
0
0
0
0
0.183206
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
051e6f62c2d6e106adc0417bb281f1ea608eb99a
79
py
Python
MockDB.py
gudnm/dhash
e63e917f93096c9e8fa0690365de635b6cd2c692
[ "MIT" ]
3
2016-10-10T16:08:19.000Z
2020-06-29T07:30:42.000Z
MockDB.py
gudnm/dhash
e63e917f93096c9e8fa0690365de635b6cd2c692
[ "MIT" ]
1
2016-09-10T12:51:04.000Z
2016-09-10T16:28:00.000Z
MockDB.py
gudnm/dhash
e63e917f93096c9e8fa0690365de635b6cd2c692
[ "MIT" ]
3
2016-09-08T04:29:44.000Z
2018-05-06T08:04:38.000Z
class MockDB(object): """Emulate database via file read/write.""" pass
19.75
47
0.658228
10
79
5.2
1
0
0
0
0
0
0
0
0
0
0
0
0.202532
79
3
48
26.333333
0.825397
0.468354
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
05297e2eef85aa67c282ffcf28ace5e45b80b144
27
py
Python
data/studio21_generated/interview/1716/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/1716/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/1716/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def equal_to_24(a,b,c,d):
13.5
25
0.666667
8
27
2
1
0
0
0
0
0
0
0
0
0
0
0.083333
0.111111
27
2
26
13.5
0.583333
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
056fbfd01493e2c2480675f342ec0c1a93cb7986
411
py
Python
sa/profiles/NOC/SAE/profile.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
84
2017-10-22T11:01:39.000Z
2022-02-27T03:43:48.000Z
sa/profiles/NOC/SAE/profile.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
22
2017-12-11T07:21:56.000Z
2021-09-23T02:53:50.000Z
sa/profiles/NOC/SAE/profile.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
23
2017-12-06T06:59:52.000Z
2022-02-24T00:02:25.000Z
# --------------------------------------------------------------------- # Vendor: NOC # OS: SAE # --------------------------------------------------------------------- # Copyright (C) 2007-2010 The NOC Project # See LICENSE for details # --------------------------------------------------------------------- from noc.core.profile.base import BaseProfile class Profile(BaseProfile): name = "NOC.SAE"
27.4
71
0.333333
28
411
4.892857
0.785714
0
0
0
0
0
0
0
0
0
0
0.021858
0.109489
411
14
72
29.357143
0.352459
0.722628
0
0
0
0
0.066038
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
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
1
0
0
4
555fd92e78ff1f70ba210b3b448098c0b442c70f
1,285
py
Python
WellOiled_App/migrations/0008_auto_20201210_1927.py
MichellePeruskie/Well-Oiled
c2fc55aaa3f994ebd72f49e8b184cf5479c5dfa6
[ "MIT" ]
null
null
null
WellOiled_App/migrations/0008_auto_20201210_1927.py
MichellePeruskie/Well-Oiled
c2fc55aaa3f994ebd72f49e8b184cf5479c5dfa6
[ "MIT" ]
null
null
null
WellOiled_App/migrations/0008_auto_20201210_1927.py
MichellePeruskie/Well-Oiled
c2fc55aaa3f994ebd72f49e8b184cf5479c5dfa6
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2020-12-11 01:27 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('WellOiled_App', '0007_auto_20201210_1907'), ] operations = [ migrations.RemoveField( model_name='employee', name='angle', ), migrations.RemoveField( model_name='employee', name='company', ), migrations.RemoveField( model_name='employee', name='created_at', ), migrations.RemoveField( model_name='employee', name='highp', ), migrations.RemoveField( model_name='employee', name='iso', ), migrations.RemoveField( model_name='employee', name='lrgcomp', ), migrations.RemoveField( model_name='employee', name='lrgtap', ), migrations.RemoveField( model_name='employee', name='smlcomp', ), migrations.RemoveField( model_name='employee', name='smltap', ), migrations.RemoveField( model_name='employee', name='updated_at', ), ]
23.796296
53
0.50428
100
1,285
6.32
0.39
0.332278
0.411392
0.474684
0.664557
0.664557
0
0
0
0
0
0.037879
0.383658
1,285
53
54
24.245283
0.760101
0.033463
0
0.638298
1
0
0.146774
0.018548
0
0
0
0
0
1
0
false
0
0.021277
0
0.085106
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5579725409116983f0ac645ea1e0aaca8cc0c770
1,883
py
Python
draft_3.py
sherlock1987/ConvLab-2
9547cb09bfd7e297e2c609637c9e38f6c94fdbfb
[ "Apache-2.0" ]
1
2020-06-05T08:42:51.000Z
2020-06-05T08:42:51.000Z
draft_3.py
sherlock1987/ConvLab-2
9547cb09bfd7e297e2c609637c9e38f6c94fdbfb
[ "Apache-2.0" ]
null
null
null
draft_3.py
sherlock1987/ConvLab-2
9547cb09bfd7e297e2c609637c9e38f6c94fdbfb
[ "Apache-2.0" ]
1
2020-06-05T09:15:51.000Z
2020-06-05T09:15:51.000Z
import numpy as np import torch import random from torch import multiprocessing as mp from convlab2.dialog_agent.agent import PipelineAgent from convlab2.dialog_agent.session import BiSession from convlab2.dialog_agent.env import Environment from convlab2.dst.rule.multiwoz import RuleDST from convlab2.policy.rule.multiwoz import RulePolicy from convlab2.policy.rlmodule import Memory, Transition from convlab2.evaluator.multiwoz_eval import MultiWozEvaluator from pprint import pprint import json import matplotlib.pyplot as plt import sys import logging import os import datetime import argparse import os a = [0.56, 0.59, 0.57, 0.6, 0.63, 0.62, 0.65, 0.68, 0.67, 0.7, 0.71, 0.72, 0.73, 0.71, 0.72, 0.72, 0.73, 0.76, 0.7, 0.74, 0.82, 0.77, 0.77, 0.76, 0.77, 0.73, 0.77, 0.71, 0.71, 0.7] b = [0.59, 0.56, 0.62, 0.65, 0.66, 0.67, 0.7, 0.68, 0.7, 0.73, 0.74, 0.69, 0.74, 0.77, 0.73, 0.75, 0.71, 0.74, 0.74, 0.76, 0.77, 0.75, 0.73, 0.73, 0.69, 0.72, 0.7, 0.72, 0.74, 0.75] c = [0.57, 0.6, 0.65, 0.64, 0.67, 0.7, 0.73, 0.77, 0.73, 0.72, 0.73, 0.73, 0.72, 0.7, 0.72, 0.72, 0.71, 0.73, 0.7, 0.71, 0.72, 0.74, 0.73, 0.74, 0.73, 0.75, 0.76, 0.76, 0.74, 0.77] d = [0.57, 0.58, 0.61, 0.69, 0.67, 0.67, 0.71, 0.68, 0.68, 0.7, 0.74, 0.68, 0.73, 0.68, 0.68, 0.71, 0.71, 0.68, 0.76, 0.71, 0.7, 0.7, 0.69, 0.67, 0.69, 0.72, 0.68, 0.73, 0.69, 0.68] # c = [0.69, 0.73, 0.76, 0.75, 0.71, 0.67, 0.68, 0.68, 0.68, 0.71, 0.71, 0.68, 0.7, 0.67, 0.7, 0.7, 0.64, 0.66, 0.65, 0.63] # d = [0.45, 0.46, 0.47, 0.47, 0.44, 0.49, 0.51, 0.46, 0.46, 0.45, 0.43, 0.44, 0.44, 0.44, 0.41, 0.4, 0.41, 0.46, 0.39, 0.38] axis = [i for i in range(len(a))] plt.plot(axis, a) plt.plot(axis, b) plt.plot(axis, c) plt.plot(axis, d) my_y_ticks = np.arange(0.5, 1, 0.05) plt.yticks(my_y_ticks) plt.legend(["MLE","real","mask","domain"], loc='upper right') plt.xlabel('Number of Epoch') plt.ylabel('Success rate') plt.show()
47.075
181
0.633563
471
1,883
2.515924
0.231423
0.043038
0.057384
0.016878
0.267511
0.057384
0.057384
0.027004
0.027004
0.027004
0
0.294665
0.143919
1,883
40
182
47.075
0.440447
0.130112
0
0.057143
0
0
0.033619
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0.028571
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
1
0
1
0
0
4
e9586c127affb17f2ee4474b3edc4cdc1fa80a13
110
py
Python
exceptions.py
Callum-Howell/HOI4-Unified-Editor
6048e826eb687ef7c1fde1d8377d09105491f704
[ "Unlicense" ]
null
null
null
exceptions.py
Callum-Howell/HOI4-Unified-Editor
6048e826eb687ef7c1fde1d8377d09105491f704
[ "Unlicense" ]
null
null
null
exceptions.py
Callum-Howell/HOI4-Unified-Editor
6048e826eb687ef7c1fde1d8377d09105491f704
[ "Unlicense" ]
null
null
null
class StatementError(Exception): """Raised when unparsed statements are found after parsing is complete"""
55
77
0.781818
13
110
6.615385
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
110
2
77
55
0.905263
0.609091
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
e993bad4a546d4d611e3f5450eb3ddba286a52ff
240
py
Python
Products/CMFDefault/skins/zpt_content/validateTextFile.py
zopefoundation/Products.CMFDefault
a176d9aac5a7e04725dbd0f7b76c6ac357062139
[ "ZPL-2.1" ]
null
null
null
Products/CMFDefault/skins/zpt_content/validateTextFile.py
zopefoundation/Products.CMFDefault
a176d9aac5a7e04725dbd0f7b76c6ac357062139
[ "ZPL-2.1" ]
5
2017-07-13T00:51:25.000Z
2021-02-04T15:08:39.000Z
Products/CMFDefault/skins/zpt_content/validateTextFile.py
zopefoundation/Products.CMFDefault
a176d9aac5a7e04725dbd0f7b76c6ac357062139
[ "ZPL-2.1" ]
3
2017-07-08T03:22:35.000Z
2018-05-20T06:42:03.000Z
##parameters=file='', **kw ## try: upload = file.read() except AttributeError: return context.setStatus(True) else: if upload: return context.setStatus(True, text=upload) else: return context.setStatus(True)
20
51
0.654167
27
240
5.814815
0.555556
0.248408
0.420382
0.496815
0
0
0
0
0
0
0
0
0.216667
240
11
52
21.818182
0.835106
0.1
0
0.444444
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0.333333
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e9b415a5c0c48dc9000b5a290e0f6624ab822c2e
414
py
Python
tests/dantic_model.py
misss85246/sanic-dantic
387991b741e558e1a685cf7ce57bc54decfb9119
[ "MIT" ]
null
null
null
tests/dantic_model.py
misss85246/sanic-dantic
387991b741e558e1a685cf7ce57bc54decfb9119
[ "MIT" ]
null
null
null
tests/dantic_model.py
misss85246/sanic-dantic
387991b741e558e1a685cf7ce57bc54decfb9119
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- """ FileName: dantic_model Description: Author: Connor Zhang Email: zhangyue@datagrand.com CreateTime: 2022-05-08 """ from sanic_dantic import BaseModel, Field class Person(BaseModel): name: str = Field(description="name") age: int = Field(description="age") class Car: name: str = Field(description="name") speed: int = Field(description="speed")
18.818182
43
0.695652
53
414
5.396226
0.660377
0.223776
0.083916
0.160839
0.188811
0
0
0
0
0
0
0.025714
0.154589
414
21
44
19.714286
0.791429
0.364734
0
0.285714
0
0
0.062992
0
0
0
0
0
0
1
0
true
0
0.142857
0
1
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
e9b6911ea80baae2b3f729e62ac4b580f0eaff93
289
py
Python
mmdet/models/bbox_heads/__init__.py
IPIU-detection/SEANet
1a04758944945654ebe957d6ecdc72d25f638fa2
[ "Apache-2.0" ]
33
2020-08-29T18:20:25.000Z
2022-02-16T07:58:53.000Z
mmdet/models/bbox_heads/__init__.py
IPIU-detection/SEA
1a04758944945654ebe957d6ecdc72d25f638fa2
[ "Apache-2.0" ]
3
2020-08-30T02:59:51.000Z
2022-01-14T16:28:47.000Z
mmdet/models/bbox_heads/__init__.py
IPIU-detection/SEA
1a04758944945654ebe957d6ecdc72d25f638fa2
[ "Apache-2.0" ]
3
2020-09-28T01:11:07.000Z
2020-10-12T10:55:58.000Z
from .bbox_head import BBoxHead from .convfc_bbox_head import ConvFCBBoxHead, SharedFCBBoxHead from .double_bbox_head import DoubleConvFCBBoxHead from .fC_bbox_head import FCBBoxHead __all__ = [ 'BBoxHead', 'ConvFCBBoxHead', 'SharedFCBBoxHead', 'DoubleConvFCBBoxHead', 'FCBBoxHead' ]
32.111111
90
0.816609
30
289
7.5
0.433333
0.142222
0.248889
0
0
0
0
0
0
0
0
0
0.107266
289
8
91
36.125
0.872093
0
0
0
0
0
0.235294
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
e9cc397e443091338fe40185a5f73a2464a12703
123
py
Python
1_estrutura_sequencial/exercicio8.py
robinson-1985/ufc_exercises
012d62b403b6b689dbfd7fdb9c8335d705571e85
[ "MIT" ]
null
null
null
1_estrutura_sequencial/exercicio8.py
robinson-1985/ufc_exercises
012d62b403b6b689dbfd7fdb9c8335d705571e85
[ "MIT" ]
null
null
null
1_estrutura_sequencial/exercicio8.py
robinson-1985/ufc_exercises
012d62b403b6b689dbfd7fdb9c8335d705571e85
[ "MIT" ]
null
null
null
''' 8. Faça um programa na linguagem Python que calcule e mostre a 2 área de um círculo. Sabe-se que a área é A = πr 2 .'''
61.5
88
0.691057
26
123
3.269231
0.769231
0
0
0
0
0
0
0
0
0
0
0.03125
0.219512
123
2
89
61.5
0.854167
0.943089
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
7572264944de9658ad6ac28598357aba700055a5
129
py
Python
core/statistics/statistics_view.py
timehaswings/aoi_backend
17fa315d250022455e38235a10656ddaae4db655
[ "Apache-2.0" ]
1
2021-12-22T01:48:02.000Z
2021-12-22T01:48:02.000Z
core/statistics/statistics_view.py
timehaswings/aoi_backend
17fa315d250022455e38235a10656ddaae4db655
[ "Apache-2.0" ]
null
null
null
core/statistics/statistics_view.py
timehaswings/aoi_backend
17fa315d250022455e38235a10656ddaae4db655
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # !/usr/bin/env python # @Time : 2021/8/28 9:08 # @Author : NoWords # @FileName: statistics_view.py
18.428571
31
0.596899
19
129
4
0.947368
0
0
0
0
0
0
0
0
0
0
0.105769
0.193798
129
6
32
21.5
0.625
0.906977
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
759d168db7560ac5e660a01e1b3bbefdbb450236
92
py
Python
train/raw-input.py
Pawel22729/pythonScripts
07fc22e3be9333e7814046cc551a315b403643dd
[ "Apache-2.0" ]
null
null
null
train/raw-input.py
Pawel22729/pythonScripts
07fc22e3be9333e7814046cc551a315b403643dd
[ "Apache-2.0" ]
null
null
null
train/raw-input.py
Pawel22729/pythonScripts
07fc22e3be9333e7814046cc551a315b403643dd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python name = raw_input('Podaj swoje imie: ') print 'Twoje imie to: %s' % name
15.333333
38
0.652174
15
92
3.933333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.173913
92
5
39
18.4
0.776316
0.173913
0
0
0
0
0.466667
0
0
0
0
0
0
0
null
null
0
0
null
null
0.5
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
1
0
0
0
0
0
0
1
0
4
75a4bbcfac0100e6e48512528a1724919953f2cb
121
py
Python
pyleecan/Methods/Simulation/LossModelBertotti/__init__.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
95
2019-01-23T04:19:45.000Z
2022-03-17T18:22:10.000Z
pyleecan/Methods/Simulation/LossModelBertotti/__init__.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
366
2019-02-20T07:15:08.000Z
2022-03-31T13:37:23.000Z
pyleecan/Methods/Simulation/LossModelBertotti/__init__.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
74
2019-01-24T01:47:31.000Z
2022-02-25T05:44:42.000Z
# -*- coding: utf-8 -*- class LossModelBertottiError(Exception): """Raised when there is a Loss error""" pass
15.125
43
0.636364
14
121
5.5
1
0
0
0
0
0
0
0
0
0
0
0.010526
0.214876
121
7
44
17.285714
0.8
0.46281
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
75b4510d8ccd8d708c6a8c1e43bd89ca922da33c
171
py
Python
surgeo/__main__.py
TheCleric/surgeo
018ff69a817ea115d6d42dc0d7d5b7b09db331e4
[ "MIT" ]
20
2018-05-09T13:31:06.000Z
2022-03-23T20:50:35.000Z
surgeo/__main__.py
TheCleric/surgeo
018ff69a817ea115d6d42dc0d7d5b7b09db331e4
[ "MIT" ]
17
2019-12-13T01:45:48.000Z
2021-07-21T16:34:53.000Z
surgeo/__main__.py
AlgorexHealth/surgeo
3ef2ab06ffbe875dc1bb1503802a256cee923b33
[ "MIT" ]
10
2018-05-09T21:31:30.000Z
2021-07-26T21:28:48.000Z
"""Access to the GUI/CLI via 'python -m surgeo' (with or without args)""" from surgeo.app.common_entry import SurgeoCommonEntry entry = SurgeoCommonEntry() entry.main()
24.428571
73
0.754386
24
171
5.333333
0.833333
0.34375
0
0
0
0
0
0
0
0
0
0
0.128655
171
6
74
28.5
0.85906
0.391813
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
75cb7159393861057b08f2524aa1e3e623a17744
142
py
Python
Machine Learning/one.py
WenyueDai/Notes
f4108d092741cfb7446f2e88b4fc32d3bf4be648
[ "MIT" ]
23
2019-11-20T00:50:02.000Z
2022-02-04T07:13:43.000Z
Machine Learning/one.py
WenyueDai/Notes
f4108d092741cfb7446f2e88b4fc32d3bf4be648
[ "MIT" ]
2
2020-04-25T18:52:34.000Z
2020-07-07T18:02:35.000Z
Machine Learning/one.py
WenyueDai/Notes
f4108d092741cfb7446f2e88b4fc32d3bf4be648
[ "MIT" ]
44
2019-04-02T17:58:20.000Z
2022-02-04T10:11:22.000Z
#https://towardsdatascience.com/one-shot-learning-with-siamese-networks-using-keras-17f34e75bb3d #https://github.com/sorenbouma/keras-oneshot
47.333333
96
0.830986
18
142
6.555556
0.833333
0
0
0
0
0
0
0
0
0
0
0.05
0.014085
142
2
97
71
0.792857
0.971831
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
75edc5a77533f49d763e8af7b0b1338e55e50f0a
118
py
Python
heavy_celery/apps.py
s1s5/heavy_celery
00e3643251158eab5beac3ec443ef6bd50bcf06b
[ "MIT" ]
1
2021-12-16T07:03:14.000Z
2021-12-16T07:03:14.000Z
heavy_celery/apps.py
s1s5/heavy_celery
00e3643251158eab5beac3ec443ef6bd50bcf06b
[ "MIT" ]
3
2020-02-11T23:25:56.000Z
2021-06-10T18:49:40.000Z
heavy_celery/apps.py
s1s5/heavy_celery
00e3643251158eab5beac3ec443ef6bd50bcf06b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 from django.apps import AppConfig class HeavyCeleryConfig(AppConfig): name = 'heavy_celery'
16.857143
35
0.728814
14
118
6.071429
0.928571
0
0
0
0
0
0
0
0
0
0
0.010101
0.161017
118
6
36
19.666667
0.848485
0.144068
0
0
0
0
0.121212
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
f936e6783776ab93d6e95fd03de62aed1cfc3885
356
py
Python
armitage/armitageApp/ackermann/service/ackermannService.py
sudoFerraz/armitage
303a5aca64ace9bacd10acabb0ba1d9b99c678ac
[ "CC0-1.0" ]
null
null
null
armitage/armitageApp/ackermann/service/ackermannService.py
sudoFerraz/armitage
303a5aca64ace9bacd10acabb0ba1d9b99c678ac
[ "CC0-1.0" ]
null
null
null
armitage/armitageApp/ackermann/service/ackermannService.py
sudoFerraz/armitage
303a5aca64ace9bacd10acabb0ba1d9b99c678ac
[ "CC0-1.0" ]
null
null
null
from functools import lru_cache def sanitizeAndCalculate(m, n): if not isinstance(m, int) or not isinstance(n, int): return None else: return ackermann(m, n) @lru_cache() def ackermann(m, n): if m == 0: return n+1 else: if n == 0: return ackermann(m-1, 1) else: return ackermann(m-1, ackermann(m, n-1))
20.941176
56
0.606742
56
356
3.821429
0.357143
0.233645
0.224299
0.186916
0
0
0
0
0
0
0
0.027027
0.272472
356
17
57
20.941176
0.799228
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.533333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
f93afa8f5d45cb4275ec2fe40275f2fba8a92e0f
27
py
Python
ghs/controller/__init__.py
timothy-makobu/githubstars
e64dcc55c912a28be3d9d2ee9241f7673af900f0
[ "MIT" ]
null
null
null
ghs/controller/__init__.py
timothy-makobu/githubstars
e64dcc55c912a28be3d9d2ee9241f7673af900f0
[ "MIT" ]
17
2020-06-11T11:07:22.000Z
2020-07-06T16:17:54.000Z
ghs/controller/__init__.py
timothy-makobu/githubstars
e64dcc55c912a28be3d9d2ee9241f7673af900f0
[ "MIT" ]
null
null
null
""" Application logic. """
6.75
18
0.592593
2
27
8
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
3
19
9
0.695652
0.666667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
f943f73283c93f51a7c6621a0aaef5957c230267
57
py
Python
shellshocker-server-prod.py
ArchimedesPi/shellshocker
3d00cd3daad0c2e55b62cfccf58e638464d189c7
[ "MIT" ]
2
2021-10-31T12:54:04.000Z
2022-03-29T13:52:02.000Z
shellshocker-server-prod.py
ArchimedesPi/shellshocker
3d00cd3daad0c2e55b62cfccf58e638464d189c7
[ "MIT" ]
null
null
null
shellshocker-server-prod.py
ArchimedesPi/shellshocker
3d00cd3daad0c2e55b62cfccf58e638464d189c7
[ "MIT" ]
3
2017-09-19T19:36:49.000Z
2019-08-10T12:59:14.000Z
from shellshocker_server import app app.run(debug=False)
19
35
0.842105
9
57
5.222222
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.087719
57
2
36
28.5
0.903846
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
f9ad385c062cdafc5f1b2221d7b50068ca3b45e1
182
py
Python
tugafy/__main__.py
joaopalmeiro/tugafy
48458fb8ce4d5f2beac3235a016b3925f14c9829
[ "MIT" ]
null
null
null
tugafy/__main__.py
joaopalmeiro/tugafy
48458fb8ce4d5f2beac3235a016b3925f14c9829
[ "MIT" ]
null
null
null
tugafy/__main__.py
joaopalmeiro/tugafy
48458fb8ce4d5f2beac3235a016b3925f14c9829
[ "MIT" ]
null
null
null
# __main__.py from tugafy import dict_reader from typing import Dict def main() -> Dict[str, str]: return dict_reader.get_dictionary() if __name__ == "__main__": main()
14
39
0.697802
25
182
4.48
0.6
0.178571
0
0
0
0
0
0
0
0
0
0
0.192308
182
12
40
15.166667
0.761905
0.06044
0
0
0
0
0.047337
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0.166667
0.666667
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
1
1
0
0
0
4
f9b20dd0dbf06832ae2744cf3872df266f1806f9
1,018
py
Python
pyprofiler/tests/test_hashutils.py
Thyra/HogProf
078376f7a7fef81b5fcfb1e97cb1341c2a63d6f0
[ "MIT" ]
4
2019-12-06T07:21:12.000Z
2020-10-21T08:15:32.000Z
pyprofiler/tests/test_hashutils.py
Thyra/HogProf
078376f7a7fef81b5fcfb1e97cb1341c2a63d6f0
[ "MIT" ]
2
2019-12-17T15:17:38.000Z
2021-09-27T14:30:24.000Z
pyprofiler/tests/test_hashutils.py
Thyra/HogProf
078376f7a7fef81b5fcfb1e97cb1341c2a63d6f0
[ "MIT" ]
2
2021-09-27T14:03:12.000Z
2021-12-14T19:43:16.000Z
import unittest from utils import hashutils class HashutilsTest(unittest.TestCase): def test_hogid2fam(self): self.assertEqual(hashutils.hogid2fam('HOG:0279153'), 279153) def test_fam2hogid(self): self.assertEqual(hashutils.fam2hogid(279153), 'HOG:0279153') self.assertEqual(hashutils.fam2hogid('279153'), 'HOG:0279153') def test_result2hogid(self): self.assertEqual(hashutils.result2hogid('279153-gain'), 'HOG:0279153') self.assertEqual(hashutils.result2hogid('279153-gain-duplication'), 'HOG:0279153') def test_result2fam(self): self.assertEqual(hashutils.result2fam('279153-gain-duplication'), 279153) self.assertEqual(hashutils.result2fam('279153-gain'), 279153) def test_result2events(self): self.assertEqual(hashutils.result2events('279153-gain'), ['gain']) self.assertEqual(hashutils.result2events('279153-gain-duplication-loss'), ['gain', 'duplication', 'loss']) if __name__ == "__main__": unittest.main()
36.357143
114
0.715128
106
1,018
6.745283
0.245283
0.188811
0.302098
0.195804
0.534266
0.52028
0.137063
0
0
0
0
0.132032
0.144401
1,018
28
115
36.357143
0.688863
0
0
0
0
0
0.19529
0.07262
0
0
0
0
0.473684
1
0.263158
false
0
0.105263
0
0.421053
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
1
0
1
0
0
0
0
0
0
0
4
f9b6720fd832604c513cca52361b0f45e3c93c13
123
py
Python
inteligentna_trawa/sensors/base.py
dulek/inteligentna-trawa
e40351f4101b2310472c80d9640752255bac915c
[ "MIT" ]
null
null
null
inteligentna_trawa/sensors/base.py
dulek/inteligentna-trawa
e40351f4101b2310472c80d9640752255bac915c
[ "MIT" ]
null
null
null
inteligentna_trawa/sensors/base.py
dulek/inteligentna-trawa
e40351f4101b2310472c80d9640752255bac915c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import abc class Sensor(abc.ABC): @abc.abstractmethod def is_active(self): pass
12.3
24
0.593496
16
123
4.5
0.8125
0.166667
0
0
0
0
0
0
0
0
0
0.010989
0.260163
123
9
25
13.666667
0.78022
0.170732
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
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
1
0
0
1
0
0
4
f9c6a1b6324198ef9c3771ce288a511a97ea8d47
2,714
py
Python
Niels/Alfabet/b.py
ArtezGDA/text-IO
b9ed7f2433c0eda08fb45d125ea22a5fdeaef667
[ "MIT" ]
null
null
null
Niels/Alfabet/b.py
ArtezGDA/text-IO
b9ed7f2433c0eda08fb45d125ea22a5fdeaef667
[ "MIT" ]
null
null
null
Niels/Alfabet/b.py
ArtezGDA/text-IO
b9ed7f2433c0eda08fb45d125ea22a5fdeaef667
[ "MIT" ]
null
null
null
import curses import random import time for myChar in range(10): randomNum = random.randint(33, 126) myChar = chr(randomNum) screen = curses.initscr() screen.addstr( 21, 75, str(randomNum)) screen.addstr( 22, 75, str(randomNum)) screen.addstr( 23, 75, str(randomNum)) screen.addstr( 24, 75, str(randomNum)) screen.addstr( 25, 75, str(randomNum)) screen.addstr( 26, 75, str(randomNum)) screen.addstr( 27, 75, str(randomNum)) screen.addstr( 28, 75, str(randomNum)) screen.addstr( 29, 75, str(randomNum)) screen.addstr( 30, 84, str(randomNum)) screen.addstr( 31, 84, str(randomNum)) screen.addstr( 32, 83, str(randomNum)) screen.addstr( 33, 81, str(randomNum)) screen.addstr( 32, 75, str(randomNum)) screen.addstr( 33, 77, str(randomNum)) screen.addstr( 31, 75, str(randomNum)) screen.addstr( 30, 75, str(randomNum)) screen.addstr( 29, 76, str(randomNum)) screen.addstr( 28, 78, str(randomNum)) screen.addstr( 28, 81, str(randomNum)) screen.addstr( 29, 83, str(randomNum)) screen.addstr( 16, 95, str(randomNum)) screen.addstr( 17, 95, str(randomNum)) screen.addstr( 18, 95, str(randomNum)) screen.addstr( 19, 95, str(randomNum)) screen.addstr( 20, 95, str(randomNum)) screen.addstr( 21, 95, str(randomNum)) screen.addstr( 22, 95, str(randomNum)) screen.addstr( 23, 95, str(randomNum)) screen.addstr( 24, 95, str(randomNum)) screen.addstr( 25, 95, str(randomNum)) screen.addstr( 26, 95, str(randomNum)) screen.addstr( 27, 95, str(randomNum)) screen.addstr( 28, 95, str(randomNum)) screen.addstr( 29, 95, str(randomNum)) screen.addstr( 30, 95, str(randomNum)) screen.addstr( 31, 95, str(randomNum)) screen.addstr( 32, 95, str(randomNum)) screen.addstr( 33, 95, str(randomNum)) screen.addstr( 32, 98, str(randomNum)) screen.addstr( 33, 101, str(randomNum)) screen.addstr( 33, 103, str(randomNum)) screen.addstr( 32, 106, str(randomNum)) screen.addstr( 31, 107, str(randomNum)) screen.addstr( 30, 108, str(randomNum)) screen.addstr( 29, 109, str(randomNum)) screen.addstr( 28, 109, str(randomNum)) screen.addstr( 27, 109, str(randomNum)) screen.addstr( 26, 108, str(randomNum)) screen.addstr( 25, 107, str(randomNum)) screen.addstr( 24, 104, str(randomNum)) screen.addstr( 24, 102, str(randomNum)) screen.addstr( 24, 100, str(randomNum)) screen.addstr( 24, 98, str(randomNum)) screen.addstr( 24, 102, str(randomNum)) screen.addstr( 23, 103, str(randomNum)) screen.addstr( 22, 104, str(randomNum)) screen.addstr( 21, 105, str(randomNum)) screen.addstr( 20, 105, str(randomNum)) screen.addstr( 19, 105, str(randomNum)) screen.addstr( 18, 104, str(randomNum)) screen.addstr( 17, 103, str(randomNum)) screen.addstr( 16, 100, str(randomNum)) screen.addstr( 16, 97, str(randomNum)) screen.getch() curses.endwin()
33.925
39
0.719602
410
2,714
4.763415
0.139024
0.499232
0.589862
0.774194
0.908346
0.140297
0.054275
0.054275
0.054275
0.054275
0
0.117671
0.10759
2,714
79
40
34.35443
0.688687
0
0
0.027397
0
0
0
0
0
0
0
0
0
1
0
false
0
0.041096
0
0.041096
0
0
0
0
null
1
1
1
1
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
4
f9dacb32a48771696b8661bd60532063224e46b2
144
py
Python
python/testData/quickFixes/PyTypeHintsQuickFixTest/referenceToListInTupleAsTypingMemberParameter.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/quickFixes/PyTypeHintsQuickFixTest/referenceToListInTupleAsTypingMemberParameter.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/quickFixes/PyTypeHintsQuickFixTest/referenceToListInTupleAsTypingMemberParameter.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
from typing import Callable l1 = [int] foo5: Callable[[int], <error descr="Parameters to generic types must be types">l<caret>1</error>] = None
36
104
0.729167
23
144
4.565217
0.826087
0
0
0
0
0
0
0
0
0
0
0.024
0.131944
144
4
104
36
0.816
0
0
0
0
0
0.282759
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
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
1
0
0
0
1
0
0
0
0
4
f9dcbdb44d234be9b31ab42dd3a596b55c5b3cba
80
py
Python
biothings_explorer/__init__.py
luluricketts/biothings_explorer
ae2009ff285f96a08e0145f242846ca613b5069c
[ "Apache-2.0" ]
21
2017-07-22T10:08:03.000Z
2022-01-11T08:53:14.000Z
biothings_explorer/__init__.py
luluricketts/biothings_explorer
ae2009ff285f96a08e0145f242846ca613b5069c
[ "Apache-2.0" ]
127
2017-07-22T10:19:45.000Z
2021-11-04T01:23:43.000Z
biothings_explorer/__init__.py
luluricketts/biothings_explorer
ae2009ff285f96a08e0145f242846ca613b5069c
[ "Apache-2.0" ]
18
2017-04-27T17:02:06.000Z
2021-07-25T18:13:56.000Z
""" BioThings Explorer. .. moduleauthor:: Jiwen Xin <kevinxin@scripps.edu> """
13.333333
50
0.6875
8
80
6.875
1
0
0
0
0
0
0
0
0
0
0
0
0.125
80
6
51
13.333333
0.785714
0.8875
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
ddb8a9bdaf01715626be9491f2ea254c12036357
54
py
Python
asphalt/influxdb/__init__.py
asphalt-framework/asphalt-influxdb
e386008d1531674a2631350adb02f2575235df28
[ "Apache-2.0" ]
null
null
null
asphalt/influxdb/__init__.py
asphalt-framework/asphalt-influxdb
e386008d1531674a2631350adb02f2575235df28
[ "Apache-2.0" ]
null
null
null
asphalt/influxdb/__init__.py
asphalt-framework/asphalt-influxdb
e386008d1531674a2631350adb02f2575235df28
[ "Apache-2.0" ]
null
null
null
from .client import InfluxDBClient, DataPoint # noqa
27
53
0.796296
6
54
7.166667
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
54
1
54
54
0.934783
0.074074
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
fb32655bcd7c88bb176df1b0a52ea43f33888c9d
287
py
Python
training_api/domain/services/contract/abstract_training_export_service.py
hadikoub/BMW-TensorFlow-Training-GUI
0c18e65529b3fcb6a7ea9e57f8e4e2e5e6e93d5d
[ "Apache-2.0" ]
1
2020-06-22T12:56:58.000Z
2020-06-22T12:56:58.000Z
training_api/domain/services/contract/abstract_training_export_service.py
hadikoub/BMW-TensorFlow-Training-GUI
0c18e65529b3fcb6a7ea9e57f8e4e2e5e6e93d5d
[ "Apache-2.0" ]
null
null
null
training_api/domain/services/contract/abstract_training_export_service.py
hadikoub/BMW-TensorFlow-Training-GUI
0c18e65529b3fcb6a7ea9e57f8e4e2e5e6e93d5d
[ "Apache-2.0" ]
null
null
null
from abc import ABCMeta, ABC, abstractmethod from domain.models.network_information import NetworkInformation class AbstractTrainingWriterService(ABC): __metaclass__ = ABCMeta def save_training_model(self, network_info: NetworkInformation) -> None: raise NotImplementedError
28.7
102
0.825784
29
287
7.896552
0.758621
0
0
0
0
0
0
0
0
0
0
0
0.121951
287
9
103
31.888889
0.90873
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
fb3292c8783b5019550da8f02eaee6b35ea69c70
60
py
Python
__init__.py
xivarri/taah
f055a31c0de75d155551fc080f9d92bee4300f1d
[ "MIT" ]
null
null
null
__init__.py
xivarri/taah
f055a31c0de75d155551fc080f9d92bee4300f1d
[ "MIT" ]
null
null
null
__init__.py
xivarri/taah
f055a31c0de75d155551fc080f9d92bee4300f1d
[ "MIT" ]
null
null
null
__all__ = ["game", "data"] import os from .game import play
15
26
0.683333
9
60
4.111111
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.166667
60
3
27
20
0.74
0
0
0
0
0
0.133333
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
3499224506e26aaf6873fa7f3c65731a93700a0c
342
py
Python
jobs/file_remover.py
nSimonFR/spoken_language_dataset
07c018f28be72cec3ba5e9ec07608f79a6d32031
[ "MIT" ]
23
2018-06-25T10:22:57.000Z
2021-07-09T09:53:47.000Z
jobs/file_remover.py
nSimonFR/spoken_language_dataset
07c018f28be72cec3ba5e9ec07608f79a6d32031
[ "MIT" ]
3
2018-07-19T18:47:07.000Z
2021-06-01T22:11:53.000Z
jobs/file_remover.py
nSimonFR/spoken_language_dataset
07c018f28be72cec3ba5e9ec07608f79a6d32031
[ "MIT" ]
6
2018-07-14T17:48:51.000Z
2020-12-24T01:31:41.000Z
from . import common class FileRemover: def __init__(self, input_files_key): self.input_files_key = input_files_key def execute(self, context): input_files = context[self.input_files_key] for input_file in input_files: common.remove_file(input_file) context[self.input_files_key] = []
22.8
51
0.681287
45
342
4.755556
0.377778
0.327103
0.303738
0.317757
0.224299
0
0
0
0
0
0
0
0.24269
342
14
52
24.428571
0.826255
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.444444
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
34a85ea8be52a7f317234b820b746fe7563476c0
160
py
Python
0x04-python-more_data_structures/8-simple_delete.py
darkares23/holbertonschool-higher_level_programming
931b1b701d8a1d990b7cd931486496c0b5502e21
[ "MIT" ]
null
null
null
0x04-python-more_data_structures/8-simple_delete.py
darkares23/holbertonschool-higher_level_programming
931b1b701d8a1d990b7cd931486496c0b5502e21
[ "MIT" ]
null
null
null
0x04-python-more_data_structures/8-simple_delete.py
darkares23/holbertonschool-higher_level_programming
931b1b701d8a1d990b7cd931486496c0b5502e21
[ "MIT" ]
null
null
null
#!/usr/bin/python3 def simple_delete(a_dictionary, key=""): if key is not '' and key in a_dictionary: a_dictionary.pop(key) return a_dictionary
26.666667
45
0.6875
25
160
4.2
0.64
0.419048
0
0
0
0
0
0
0
0
0
0.007813
0.2
160
5
46
32
0.8125
0.10625
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
34bf4d0becc3e1d527445f012f895280c678b90f
43
py
Python
examples/vscode-snippets/snippets/for.py
ldflo/autojinja
bc126da3b77dd89e88b697a38b2b4ea2cc45f6af
[ "BSD-3-Clause" ]
6
2022-01-02T17:28:13.000Z
2022-01-18T20:34:53.000Z
examples/vscode-snippets/snippets/for.py
ldflo/autojinja
bc126da3b77dd89e88b697a38b2b4ea2cc45f6af
[ "BSD-3-Clause" ]
null
null
null
examples/vscode-snippets/snippets/for.py
ldflo/autojinja
bc126da3b77dd89e88b697a38b2b4ea2cc45f6af
[ "BSD-3-Clause" ]
null
null
null
for ${1:index} in range(${2:count}): $0
21.5
36
0.534884
8
43
2.875
1
0
0
0
0
0
0
0
0
0
0
0.085714
0.186047
43
2
37
21.5
0.571429
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
34e8066e60fa7243cd00b42414487b9bcc8806da
121
py
Python
Problem/PeopleFund/power_mod_power.py
yeojin-dev/coding-test
30ce8507838beaa9232c6fc6c62a7dcb62d51464
[ "MIT" ]
2
2018-07-11T08:13:06.000Z
2018-07-11T08:47:12.000Z
Problem/PeopleFund/power_mod_power.py
yeojin-dev/coding-test
30ce8507838beaa9232c6fc6c62a7dcb62d51464
[ "MIT" ]
null
null
null
Problem/PeopleFund/power_mod_power.py
yeojin-dev/coding-test
30ce8507838beaa9232c6fc6c62a7dcb62d51464
[ "MIT" ]
null
null
null
a = int(input()) b = int(input()) m = int(input()) powered_value = a ** b print(powered_value) print(powered_value % m)
15.125
24
0.652893
20
121
3.8
0.4
0.315789
0.447368
0
0
0
0
0
0
0
0
0
0.157025
121
7
25
17.285714
0.745098
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
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
550814db5eee0f0ba25e02249129c3cb54389eec
135
py
Python
ABC_A/ABC030_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ABC_A/ABC030_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
ABC_A/ABC030_A.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
a, b, c, d = map(int, input().split()) if b/a == d/c: print("DRAW") elif b/a > d/c: print("TAKAHASHI") else: print("AOKI")
16.875
38
0.518519
25
135
2.8
0.6
0.057143
0.085714
0.114286
0.257143
0
0
0
0
0
0
0
0.22963
135
7
39
19.285714
0.673077
0
0
0
0
0
0.125926
0
0
0
0
0
0
1
0
true
0
0
0
0
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
5508858c89ec4f1bac2ea073bb4a69fb92733ed8
765
py
Python
backend/today/news/migrations/0001_initial.py
ntu-news-media-lab/Swipex
1b45f6c6d99716f5fd2164143fb1bc39e9724426
[ "MIT" ]
null
null
null
backend/today/news/migrations/0001_initial.py
ntu-news-media-lab/Swipex
1b45f6c6d99716f5fd2164143fb1bc39e9724426
[ "MIT" ]
null
null
null
backend/today/news/migrations/0001_initial.py
ntu-news-media-lab/Swipex
1b45f6c6d99716f5fd2164143fb1bc39e9724426
[ "MIT" ]
1
2021-04-21T09:45:27.000Z
2021-04-21T09:45:27.000Z
# Generated by Django 3.1.4 on 2021-03-21 18:04 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='News', fields=[ ('news_id', models.IntegerField(primary_key=True, serialize=False)), ('section', models.CharField(max_length=255)), ('title', models.CharField(max_length=255)), ('headline', models.CharField(max_length=255)), ('image', models.CharField(max_length=255)), ('url', models.CharField(max_length=255)), ('content', models.CharField(max_length=255)), ], ), ]
28.333333
84
0.556863
76
765
5.5
0.565789
0.215311
0.258373
0.344498
0.38756
0
0
0
0
0
0
0.062382
0.308497
765
26
85
29.423077
0.727788
0.058824
0
0
1
0
0.064067
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.263158
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5515a65fa0c178eaa996484db388027ff3342c60
105
py
Python
main.py
mauricelam/pol
6f18cb7d345bb18a588c7c5974ba84e792ef867b
[ "Apache-2.0" ]
1
2022-02-02T08:51:55.000Z
2022-02-02T08:51:55.000Z
main.py
mauricelam/pol
6f18cb7d345bb18a588c7c5974ba84e792ef867b
[ "Apache-2.0" ]
null
null
null
main.py
mauricelam/pol
6f18cb7d345bb18a588c7c5974ba84e792ef867b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 from pol import pol if __name__ == '__main__': pol._command_line.execute()
13.125
31
0.695238
15
105
4.2
0.866667
0
0
0
0
0
0
0
0
0
0
0.011494
0.171429
105
7
32
15
0.712644
0.2
0
0
0
0
0.096386
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9b4192c38115bdbf710117d3cf2f69f6932a0e34
76
py
Python
tools/Sikuli/IPressOkInQueryConstruct.sikuli/IPressOkInQueryConstruct.py
marmyshev/vanessa-automation
9f87bd6df58b4c205104d3ae8e3643752d67eef7
[ "BSD-3-Clause" ]
296
2018-05-27T08:03:14.000Z
2022-03-19T08:36:11.000Z
tools/Sikuli/IPressOkInQueryConstruct.sikuli/IPressOkInQueryConstruct.py
marmyshev/vanessa-automation
9f87bd6df58b4c205104d3ae8e3643752d67eef7
[ "BSD-3-Clause" ]
1,562
2018-05-27T18:36:25.000Z
2022-03-31T07:35:11.000Z
tools/Sikuli/IPressOkInQueryConstruct.sikuli/IPressOkInQueryConstruct.py
marmyshev/vanessa-automation
9f87bd6df58b4c205104d3ae8e3643752d67eef7
[ "BSD-3-Clause" ]
299
2018-06-18T20:00:56.000Z
2022-03-29T12:29:55.000Z
if exists("OK-1.png"): click("OK-1.png") else: exit(1) exit(0)
10.857143
22
0.513158
14
76
2.785714
0.642857
0.153846
0.307692
0
0
0
0
0
0
0
0
0.070175
0.25
76
6
23
12.666667
0.614035
0
0
0
0
0
0.210526
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
9b96d5389fd2f69e6db7b9da8acdfbf4eb65aa35
200
py
Python
mrispire/metrics.py
victoser/mri-spire
ebd37ffb6d56b6b47161133da5cbdeed7ab7ae6c
[ "MIT" ]
3
2020-03-22T14:41:58.000Z
2020-05-08T08:20:36.000Z
mrispire/metrics.py
victoser/mri-spire
ebd37ffb6d56b6b47161133da5cbdeed7ab7ae6c
[ "MIT" ]
null
null
null
mrispire/metrics.py
victoser/mri-spire
ebd37ffb6d56b6b47161133da5cbdeed7ab7ae6c
[ "MIT" ]
null
null
null
import numpy as np def rms_diff(data1, data2): return np.sqrt(np.mean(np.abs(data1-data2)**2)) def rms_diff_series(im_stack1, im_stack2): return rms_diff(im_stack1.voxels, im_stack2.voxels)
25
55
0.75
36
200
3.944444
0.527778
0.147887
0.140845
0
0
0
0
0
0
0
0
0.051429
0.125
200
7
56
28.571429
0.76
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0.4
1
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
1
0
0
0
1
1
0
0
4
9baa15aae099d642ea2a8a6f4edfbb4beb52d814
257
py
Python
world challenges 1/df14.py
T-Terra/Exercises-of-Python
65dfb9ca32faff13f9d1160c07425330a68eef1a
[ "MIT" ]
null
null
null
world challenges 1/df14.py
T-Terra/Exercises-of-Python
65dfb9ca32faff13f9d1160c07425330a68eef1a
[ "MIT" ]
null
null
null
world challenges 1/df14.py
T-Terra/Exercises-of-Python
65dfb9ca32faff13f9d1160c07425330a68eef1a
[ "MIT" ]
null
null
null
print('==== DESAFIO 013 ====') salario = float(input('qual é seu salário? R$')) #aumento = salario + (salario * 4.1/100) aumento = salario + (salario * 15/100) print(f'o seu salário atual é de R${salario:.2f}, com o aumento de 15% ganhará R${aumento:.2f}')
42.833333
96
0.649805
42
257
3.97619
0.547619
0.11976
0.251497
0
0
0
0
0
0
0
0
0.077982
0.151751
257
5
97
51.4
0.688073
0.151751
0
0
0
0.25
0.59447
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
9bb1fb2baf7c7e779190835163959125c53114e8
1,062
py
Python
src/handy.py
Codelif/CLI-Contacts-Manager
3dcf557c6891240e320033c98801de7aace31490
[ "MIT" ]
null
null
null
src/handy.py
Codelif/CLI-Contacts-Manager
3dcf557c6891240e320033c98801de7aace31490
[ "MIT" ]
null
null
null
src/handy.py
Codelif/CLI-Contacts-Manager
3dcf557c6891240e320033c98801de7aace31490
[ "MIT" ]
null
null
null
import random import string import sys, getpass title_text_ascii_art = """ ___ _ ___ ___ _ _ __ __ / __|| | |_ _| / __| ___ _ _ | |_ __ _ __ | |_ ___ | \/ | __ _ _ _ __ _ __ _ ___ _ _ | (__ | |__ | | | (__ / _ \| ' \| _|/ _` |/ _|| _|(_-< | |\/| |/ _` || ' \ / _` |/ _` |/ -_)| '_| \___||____||___| \___|\___/|_||_|\__|\__,_|\__| \__|/__/ |_| |_|\__,_||_||_|\__,_|\__, |\___||_| |___/ """ def make_bold(raw_str): return "\u001b[1m" + raw_str +"\u001b[0m" def get_random_string(length=30): return "".join([random.choice(string.ascii_lowercase + string.digits) for i in range(length)]) def number_args(raw, args_no): command_list = raw.split() if len(command_list) != args_no-1: print(f"The command {command_list[0]} needs {args_no-1} argument{"s" if args_no-1 > 1 else ""} {len(command_list)-1} were given") return
40.846154
137
0.461394
86
1,062
4.116279
0.55814
0.067797
0.059322
0
0
0
0
0
0
0
0
0.023495
0.358757
1,062
25
138
42.48
0.496329
0
0
0
0
0.157895
0.615819
0.071563
0
0
0
0
0
0
null
null
0.052632
0.157895
null
null
0.052632
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
1
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
4
32cb672bda5a2fd4a5c04816a5f433af3e864361
147
py
Python
covid19/views.py
avcrowdhackathon/Inertia
dbf1e985454b0dba0dc863bcef2b7b55f23cbf5d
[ "BSD-3-Clause" ]
null
null
null
covid19/views.py
avcrowdhackathon/Inertia
dbf1e985454b0dba0dc863bcef2b7b55f23cbf5d
[ "BSD-3-Clause" ]
4
2021-03-19T01:33:41.000Z
2021-06-04T22:48:29.000Z
covid19/views.py
avcrowdhackathon/Inertia
dbf1e985454b0dba0dc863bcef2b7b55f23cbf5d
[ "BSD-3-Clause" ]
null
null
null
from django.shortcuts import render from django.views.generic.base import TemplateView class Home(TemplateView): template_name = 'home.html'
21
50
0.795918
19
147
6.105263
0.736842
0.172414
0
0
0
0
0
0
0
0
0
0
0.129252
147
6
51
24.5
0.90625
0
0
0
0
0
0.061224
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
32f5ca571f7db4772865832abae9f0e268ecbd65
146
py
Python
cw04/z2/z2.py
s19282/PAD
ca9fe4e199927db0a62314f7b8464f70c96aacd3
[ "MIT" ]
null
null
null
cw04/z2/z2.py
s19282/PAD
ca9fe4e199927db0a62314f7b8464f70c96aacd3
[ "MIT" ]
null
null
null
cw04/z2/z2.py
s19282/PAD
ca9fe4e199927db0a62314f7b8464f70c96aacd3
[ "MIT" ]
null
null
null
import numpy as np m = np.genfromtxt('Zadanie_2.csv', delimiter=';', skip_header=False) # a print(np.linalg.eig(m)) # b print(np.linalg.inv(m))
16.222222
68
0.691781
26
146
3.807692
0.730769
0.141414
0.262626
0
0
0
0
0
0
0
0
0.007752
0.116438
146
8
69
18.25
0.75969
0.020548
0
0
0
0
0.1
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
32f7f273c2d303e4578fdbe043fabf5bdb1b465f
135
py
Python
tests/roots/test-ext-inheritance_diagram/test.py
zhsj/sphinx
169297d0b76bf0b503033dadeb14f9a2b735e422
[ "BSD-2-Clause" ]
3
2019-06-11T09:42:08.000Z
2020-03-10T15:57:09.000Z
tests/roots/test-ext-inheritance_diagram/test.py
zhsj/sphinx
169297d0b76bf0b503033dadeb14f9a2b735e422
[ "BSD-2-Clause" ]
12
2019-01-09T15:43:57.000Z
2020-01-21T10:46:30.000Z
tests/roots/test-ext-inheritance_diagram/test.py
zhsj/sphinx
169297d0b76bf0b503033dadeb14f9a2b735e422
[ "BSD-2-Clause" ]
10
2019-02-04T11:49:35.000Z
2020-03-21T13:32:20.000Z
# -*- coding: utf-8 -*- class Foo(object): pass class Bar(Foo): pass class Baz(Bar): pass class Qux(Foo): pass
7.5
23
0.540741
19
135
3.842105
0.526316
0.369863
0
0
0
0
0
0
0
0
0
0.010638
0.303704
135
17
24
7.941176
0.765957
0.155556
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
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
1
1
0
0
0
0
0
4
fd0959c72736cc53073a351a9422dc9b86a82a7b
318
py
Python
tests/client/keys/test_rsa.py
factomatic/py-factom-did
254d881afecdbc66304890175d3a4b08c2872868
[ "MIT" ]
8
2019-08-06T22:58:52.000Z
2021-01-12T15:03:39.000Z
tests/client/keys/test_rsa.py
sigrlami/py-factom-did
254d881afecdbc66304890175d3a4b08c2872868
[ "MIT" ]
30
2019-09-10T20:17:11.000Z
2021-06-02T00:35:51.000Z
tests/client/keys/test_rsa.py
sigrlami/py-factom-did
254d881afecdbc66304890175d3a4b08c2872868
[ "MIT" ]
4
2020-01-12T18:20:07.000Z
2021-07-12T18:32:20.000Z
from factom_did.client.keys.rsa import RSAKey class TestMinifyRSAPublicKey: def test_minify_rsa_public_key(self): rsa_key = RSAKey() minified_public_key = rsa_key._minify_public_key() assert len(minified_public_key) < len(rsa_key.public_key) assert len(minified_public_key) == 31
31.8
65
0.735849
44
318
4.909091
0.454545
0.25
0.236111
0.166667
0.324074
0.324074
0.324074
0
0
0
0
0.007752
0.188679
318
9
66
35.333333
0.829457
0
0
0
0
0
0
0
0
0
0
0
0.285714
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
fd5646f7db4c8112b39b7316480e616cfc9deb28
83
py
Python
Problem200.py
Cleancode404/ProjectEuler
2f93b256b107bfb6a395b8aa197cfeacc599b00b
[ "MIT" ]
null
null
null
Problem200.py
Cleancode404/ProjectEuler
2f93b256b107bfb6a395b8aa197cfeacc599b00b
[ "MIT" ]
null
null
null
Problem200.py
Cleancode404/ProjectEuler
2f93b256b107bfb6a395b8aa197cfeacc599b00b
[ "MIT" ]
null
null
null
""" Find the 200th prime-proof sqube containing the contiguous sub-string "200" """
27.666667
75
0.746988
12
83
5.166667
0.916667
0
0
0
0
0
0
0
0
0
0
0.083333
0.13253
83
3
76
27.666667
0.777778
0.903614
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
fd5dc93fc091dbaee5de75cc0bb0c32bab1efe28
170
py
Python
tests/test_wibble.py
martinghunt/travisty
c28c010e39f9eeb234a185cf1f0262dbac16aa96
[ "MIT" ]
null
null
null
tests/test_wibble.py
martinghunt/travisty
c28c010e39f9eeb234a185cf1f0262dbac16aa96
[ "MIT" ]
null
null
null
tests/test_wibble.py
martinghunt/travisty
c28c010e39f9eeb234a185cf1f0262dbac16aa96
[ "MIT" ]
null
null
null
from travisty import wibble import unittest class TestSpam(unittest.TestCase): def test_eggs(self): """test something""" self.assertTrue(42 == 42)
17
34
0.670588
20
170
5.65
0.75
0
0
0
0
0
0
0
0
0
0
0.030303
0.223529
170
9
35
18.888889
0.825758
0.082353
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.8
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
1
0
1
0
0
4
b5cb080a0a9cf25c033f44d824cac35e4e66d843
151
py
Python
python/entrance/connection/__init__.py
LewisGaul/entrance
3aa442e48561e5c1822a4c41e4ae0a0e812358f1
[ "MIT" ]
8
2018-08-23T13:54:26.000Z
2021-09-02T04:03:28.000Z
python/entrance/connection/__init__.py
LewisGaul/entrance
3aa442e48561e5c1822a4c41e4ae0a0e812358f1
[ "MIT" ]
10
2020-05-03T13:46:13.000Z
2021-06-04T13:32:10.000Z
python/entrance/connection/__init__.py
LewisGaul/entrance
3aa442e48561e5c1822a4c41e4ae0a0e812358f1
[ "MIT" ]
8
2018-08-23T13:54:29.000Z
2021-09-09T20:47:35.000Z
from .base import * from .ssh import * # Map of connection type strings to factory classes connection_factory_by_name = {"ssh": SSHConnectionFactory}
25.166667
58
0.781457
20
151
5.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.145695
151
5
59
30.2
0.891473
0.324503
0
0
0
0
0.03
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
bd10c31ca6e1d4d604b501f2afa01db76a20002b
16
py
Python
lib/Version.py
x211321/VGC_Analyze
e876d83f5682d0eae111478887e0c0a607055130
[ "MIT" ]
null
null
null
lib/Version.py
x211321/VGC_Analyze
e876d83f5682d0eae111478887e0c0a607055130
[ "MIT" ]
null
null
null
lib/Version.py
x211321/VGC_Analyze
e876d83f5682d0eae111478887e0c0a607055130
[ "MIT" ]
null
null
null
VERSION="1.5.6"
8
15
0.625
4
16
2.5
1
0
0
0
0
0
0
0
0
0
0
0.2
0.0625
16
1
16
16
0.466667
0
0
0
0
0
0.3125
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
bd1b75e1d1e0cd5329b010a6785ed2b01a24de3d
667
py
Python
lib/python3.4/site-packages/scss/extension/bootstrap.py
LChristakis/chalice-hunter
6bffea4620e23ce9ff12ac30526ebafcb9c10058
[ "MIT" ]
152
2015-01-04T04:30:24.000Z
2022-02-19T18:15:04.000Z
lib/python3.4/site-packages/scss/extension/bootstrap.py
LChristakis/chalice-hunter
6bffea4620e23ce9ff12ac30526ebafcb9c10058
[ "MIT" ]
112
2015-01-06T01:44:40.000Z
2022-03-01T19:38:39.000Z
lib/python3.4/site-packages/scss/extension/bootstrap.py
LChristakis/chalice-hunter
6bffea4620e23ce9ff12ac30526ebafcb9c10058
[ "MIT" ]
60
2015-01-06T01:32:41.000Z
2022-02-20T07:13:39.000Z
from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals from __future__ import division from scss.extension import Extension from scss.extension.compass.helpers import _font_url from scss.extension.compass.images import _image_url from scss.namespace import Namespace class BootstrapExtension(Extension): name = 'bootstrap' namespace = Namespace() ns = BootstrapExtension.namespace @ns.declare def twbs_font_path(path): return _font_url(path, False, True, False) @ns.declare def twbs_image_path(path): return _image_url(path, False, True, None, None, False, None, None, None, None)
24.703704
83
0.7991
89
667
5.640449
0.348315
0.079681
0.12749
0.095618
0
0
0
0
0
0
0
0
0.133433
667
26
84
25.653846
0.868512
0
0
0.111111
0
0
0.013493
0
0
0
0
0
0
1
0.111111
false
0.111111
0.444444
0.111111
0.833333
0.055556
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
1
1
0
0
4
1faae441c60823af5d874fcb3cc5ca4492c62eeb
84
py
Python
stellarphot/io/__init__.py
lambchop0/stellarphot
0493a003bc36d3f6b92418956c7c618f1de36085
[ "BSD-3-Clause" ]
3
2016-04-22T22:45:00.000Z
2022-01-16T14:28:58.000Z
stellarphot/io/__init__.py
lambchop0/stellarphot
0493a003bc36d3f6b92418956c7c618f1de36085
[ "BSD-3-Clause" ]
38
2016-02-02T23:37:30.000Z
2020-01-02T20:09:56.000Z
stellarphot/io/__init__.py
lambchop0/stellarphot
0493a003bc36d3f6b92418956c7c618f1de36085
[ "BSD-3-Clause" ]
18
2016-01-29T16:55:53.000Z
2020-02-11T16:34:28.000Z
# Licensed under a 3-clause BSD style license - see LICENSE.rst from .aij import *
21
63
0.738095
14
84
4.428571
0.928571
0
0
0
0
0
0
0
0
0
0
0.014706
0.190476
84
3
64
28
0.897059
0.72619
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
1fec60f85f03177f1ca6ffa866c3128658a796fe
2,269
py
Python
tests/functional/test_assembler_error.py
FKD13/RCPU
1f27246494f60eaa2432470b2d218bb3f63578c7
[ "MIT" ]
17
2017-07-26T13:08:34.000Z
2022-02-19T20:44:02.000Z
tests/functional/test_assembler_error.py
FKD13/RCPU
1f27246494f60eaa2432470b2d218bb3f63578c7
[ "MIT" ]
4
2017-10-12T20:56:39.000Z
2020-05-04T09:19:44.000Z
tests/functional/test_assembler_error.py
FKD13/RCPU
1f27246494f60eaa2432470b2d218bb3f63578c7
[ "MIT" ]
4
2017-10-16T16:24:16.000Z
2022-03-21T19:07:06.000Z
from .utils import execute_code from RCPU.assembler.utils import AssemblerException import pytest def test_unknown_reg(): program = ''' .data .teststr string 'ABCDEF' .text .global main: main: LDV G, .teststr HLT ''' with pytest.raises(AssemblerException) as excinfo: execute_code(program) assert "Unknown register" in str(excinfo.value) def test_ATH_arguments(): program = ''' .text .global main: main: ATH A, B, 18, 0, 0 HLT ''' with pytest.raises(AssemblerException) as excinfo: execute_code(program) assert "ATH: OP" in str(excinfo.value) program = ''' .text .global main: main: ATH A, B, 0, 2, 0 HLT ''' with pytest.raises(AssemblerException) as excinfo: execute_code(program) assert "ATH: M" in str(excinfo.value) program = ''' .text .global main: main: ATH A, B, 0, 0, 8 HLT ''' with pytest.raises(AssemblerException) as excinfo: execute_code(program) assert "ATH: B" in str(excinfo.value) def test_too_big_LDV(): program = ''' .text .global main: main: LDV A, 2000000 HLT ''' with pytest.raises(AssemblerException) as excinfo: execute_code(program) assert "LDV: Value" in str(excinfo.value) def test_too_big_LDA(): program = ''' .text .global main: main: LDA A, 2000000 HLT ''' with pytest.raises(AssemblerException) as excinfo: execute_code(program) assert "LDA: Memory address" in str(excinfo.value) def test_too_big_LDM(): program = ''' .text .global main: main: LDM A, 2000000 HLT ''' with pytest.raises(AssemblerException) as excinfo: execute_code(program) assert "LDM: Memory address" in str(excinfo.value) def test_too_big_JMP(): program = ''' .text .global main: main: JMP 2000000 HLT ''' with pytest.raises(AssemblerException) as excinfo: execute_code(program) assert "JMP: Memory address" in str(excinfo.value)
21.817308
54
0.568973
256
2,269
4.945313
0.199219
0.078199
0.088468
0.113744
0.830964
0.733017
0.690363
0.690363
0.619273
0.619273
0
0.025066
0.331864
2,269
103
55
22.029126
0.810026
0
0
0.703297
0
0
0.386514
0
0
0
0
0
0.087912
1
0.065934
false
0
0.032967
0
0.098901
0
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
95149ffd2d0b9a4639d23cb124066adb7455c629
305
py
Python
analysis/specification/field_keys.py
pgesek/ksgmet-etl
a87d3cc51f04003de96c578deca1e627cd2fc62f
[ "MIT" ]
null
null
null
analysis/specification/field_keys.py
pgesek/ksgmet-etl
a87d3cc51f04003de96c578deca1e627cd2fc62f
[ "MIT" ]
null
null
null
analysis/specification/field_keys.py
pgesek/ksgmet-etl
a87d3cc51f04003de96c578deca1e627cd2fc62f
[ "MIT" ]
null
null
null
def field_keys(field): return [ 'count', field + '_delta_avg', field + '_delta_avg_abs', field + '_delta_std_dev', ] def map_keys(field): return [ field + '_delta_avg_ad', field + '_delta_abs_avg_ad', field + '_delta_std_dev_ad' ]
19.0625
36
0.544262
36
305
4.027778
0.333333
0.413793
0.268966
0.22069
0
0
0
0
0
0
0
0
0.337705
305
15
37
20.333333
0.717822
0
0
0.153846
0
0
0.295082
0
0
0
0
0
0
1
0.153846
false
0
0
0.153846
0.307692
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
4
9530b1d2bf2feb59039881686a9047c137ec05fa
94
py
Python
joplin/pages/topic_page/apps.py
cityofaustin/joplin
01424e46993e9b1c8e57391d6b7d9448f31d596b
[ "MIT" ]
15
2018-09-27T07:36:30.000Z
2021-08-03T16:01:21.000Z
joplin/pages/topic_page/apps.py
cityofaustin/joplin
01424e46993e9b1c8e57391d6b7d9448f31d596b
[ "MIT" ]
183
2017-11-16T23:30:47.000Z
2020-12-18T21:43:36.000Z
joplin/pages/topic_page/apps.py
cityofaustin/joplin
01424e46993e9b1c8e57391d6b7d9448f31d596b
[ "MIT" ]
12
2017-12-12T22:48:05.000Z
2021-03-01T18:01:24.000Z
from django.apps import AppConfig class TopicPageConfig(AppConfig): name = 'topic_page'
15.666667
33
0.765957
11
94
6.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.159574
94
5
34
18.8
0.898734
0
0
0
0
0
0.106383
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
1f37e655853f1ac96e21694f8677c32132c6f4b1
78
py
Python
bufrtools/tests/util/__init__.py
ocefpaf/bufrtools
c9d71532cdbb0d5bc1e2402d3387b5470d4a0546
[ "MIT" ]
null
null
null
bufrtools/tests/util/__init__.py
ocefpaf/bufrtools
c9d71532cdbb0d5bc1e2402d3387b5470d4a0546
[ "MIT" ]
null
null
null
bufrtools/tests/util/__init__.py
ocefpaf/bufrtools
c9d71532cdbb0d5bc1e2402d3387b5470d4a0546
[ "MIT" ]
1
2021-06-17T00:09:38.000Z
2021-06-17T00:09:38.000Z
#!/usr/bin/env python #-*- coding: utf-8 -*- """Utlity unit tests package."""
19.5
32
0.602564
11
78
4.272727
1
0
0
0
0
0
0
0
0
0
0
0.014706
0.128205
78
3
33
26
0.676471
0.871795
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
1f487ae71bca5ade0ecf3b755aa73017ce00ba7e
486
py
Python
fred_fdw/utils.py
bgrams/fred-fdw
9c01a0d51c5afa3ffc8de8b2627540473bc475e9
[ "MIT" ]
null
null
null
fred_fdw/utils.py
bgrams/fred-fdw
9c01a0d51c5afa3ffc8de8b2627540473bc475e9
[ "MIT" ]
null
null
null
fred_fdw/utils.py
bgrams/fred-fdw
9c01a0d51c5afa3ffc8de8b2627540473bc475e9
[ "MIT" ]
null
null
null
import logging import jq from fredio.utils import AbstractQueryEngine from multicorn.utils import log_to_postgres class PgHandler(logging.Handler): def emit(self, record: logging.LogRecord) -> None: log_to_postgres(self.format(record), record.levelno) class JQEngine(AbstractQueryEngine): def _compile(self, query): return jq.compile(query) def _execute(self, data): return self._compiled.input(data) engine = JQEngine()
22.090909
61
0.703704
57
486
5.877193
0.54386
0.065672
0.077612
0
0
0
0
0
0
0
0
0
0.209877
486
21
62
23.142857
0.872396
0
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.307692
0.153846
0.846154
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
1
1
1
0
0
4
1f55469dc58feed6b05ed43d097b265c1a2367ee
197
py
Python
ShadowbanAlertsConfig.py
iamtakagi/ShadowbanAlerts-Docker
82ae984868f13b2725e7e8943804e71c9966e68f
[ "MIT" ]
1
2022-03-12T21:04:15.000Z
2022-03-12T21:04:15.000Z
ShadowbanAlertsConfig.py
iamtakagi/ShadowbanAlerts
82ae984868f13b2725e7e8943804e71c9966e68f
[ "MIT" ]
null
null
null
ShadowbanAlertsConfig.py
iamtakagi/ShadowbanAlerts
82ae984868f13b2725e7e8943804e71c9966e68f
[ "MIT" ]
null
null
null
import os # 通知対象の Twitter アカウントのスクリーンネームネーム(複数指定可) SCREEN_NAMES = os.getenv("SCREEN_NAMES", "@yousuck2020,@kskgroup2017").split(",") # Discord の Webhook URL WEBHOOK_URL = os.getenv("WEBHOOK_URL")
28.142857
81
0.761421
25
197
5.84
0.64
0.205479
0
0
0
0
0
0
0
0
0
0.044944
0.096447
197
7
82
28.142857
0.775281
0.304569
0
0
0
0
0.37037
0.192593
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
1f759ca8f683bd02399c22286772c8975187687a
98
py
Python
darknet-master/build/python_loader/cv2/config.py
mcyy23633/ship_YOLOv4
2eb53e578546fce663a2f3fa153481ce4f82c588
[ "MIT" ]
null
null
null
darknet-master/build/python_loader/cv2/config.py
mcyy23633/ship_YOLOv4
2eb53e578546fce663a2f3fa153481ce4f82c588
[ "MIT" ]
null
null
null
darknet-master/build/python_loader/cv2/config.py
mcyy23633/ship_YOLOv4
2eb53e578546fce663a2f3fa153481ce4f82c588
[ "MIT" ]
null
null
null
import os BINARIES_PATHS = [ 'C:/YOLOv4/darknet-master/build/bin/Release' ] + BINARIES_PATHS
16.333333
48
0.72449
13
98
5.307692
0.846154
0.376812
0
0
0
0
0
0
0
0
0
0.011905
0.142857
98
5
49
19.6
0.809524
0
0
0
0
0
0.428571
0.428571
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2f3fa44b47eec95c9d639552c3425371055a5d35
91
py
Python
myproj/myaccapp/apps.py
YA-androidapp/Tutorial-Django-Api-JWT
5351794d030cfc4e1d043971fc396e82601979e6
[ "Apache-2.0" ]
null
null
null
myproj/myaccapp/apps.py
YA-androidapp/Tutorial-Django-Api-JWT
5351794d030cfc4e1d043971fc396e82601979e6
[ "Apache-2.0" ]
1
2021-06-10T18:43:11.000Z
2021-06-10T18:43:11.000Z
myproj/myaccapp/apps.py
YA-androidapp/Tutorial-Django-Api-JWT
5351794d030cfc4e1d043971fc396e82601979e6
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class MyaccappConfig(AppConfig): name = 'myaccapp'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
2f9e0a1a2908428e302b1e8c307a33897c516863
215
py
Python
bugtests/test192c2.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
bugtests/test192c2.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
bugtests/test192c2.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
from test192c1 import test192c1 class test192c2(test192c1): def __init__(self): test192c1.__init__(self, "This is test192c2") self.setSize(100,100); self.setLocation(300,300)
35.833333
64
0.651163
24
215
5.5
0.583333
0.121212
0
0
0
0
0
0
0
0
0
0.223602
0.251163
215
6
64
35.833333
0.596273
0
0
0
0
0
0.078704
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
c83c01d34dc61db46dd3dcdbc3a0de164c4200da
117
py
Python
dataset_utils/__init__.py
goel96vibhor/semisup-adv
30576066663e999d6ae9cc06fd5016d5886dd0b2
[ "MIT" ]
1
2020-06-09T20:14:00.000Z
2020-06-09T20:14:00.000Z
dataset_utils/__init__.py
goel96vibhor/semisup-adv
30576066663e999d6ae9cc06fd5016d5886dd0b2
[ "MIT" ]
null
null
null
dataset_utils/__init__.py
goel96vibhor/semisup-adv
30576066663e999d6ae9cc06fd5016d5886dd0b2
[ "MIT" ]
1
2020-07-12T00:09:27.000Z
2020-07-12T00:09:27.000Z
from . import benrecht_cifar10 from . import empty_dataset __all__ = [ 'benrecht_cifar10', 'empty_dataset' ]
16.714286
30
0.726496
13
117
5.923077
0.538462
0.25974
0
0
0
0
0
0
0
0
0
0.042105
0.188034
117
7
31
16.714286
0.768421
0
0
0
0
0
0.245763
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
c07715a8257185494e330507303eb252da8bb5e6
1,618
py
Python
www/tizen_rest_api/TizenRestApi/naver/views.py
devspoon/TizenCloud
e96cb7920381284509ae64bb9fb78d443de55be9
[ "MIT" ]
null
null
null
www/tizen_rest_api/TizenRestApi/naver/views.py
devspoon/TizenCloud
e96cb7920381284509ae64bb9fb78d443de55be9
[ "MIT" ]
null
null
null
www/tizen_rest_api/TizenRestApi/naver/views.py
devspoon/TizenCloud
e96cb7920381284509ae64bb9fb78d443de55be9
[ "MIT" ]
null
null
null
from django.shortcuts import render from rest_framework import generics from rest_framework import mixins from django.views.decorators.csrf import csrf_exempt from django.http import HttpResponse, JsonResponse from .models import AIAnalysis from .serializers import AIASerializer # Create your views here. class AIAListAPI(generics.GenericAPIView, mixins.CreateModelMixin, mixins.ListModelMixin): serializer_class = AIASerializer def get_queryset(self): return AIAnalysis.objects.all().order_by('id') def get(self, request, *args, **kwargs): return self.list(request, *args, **kwargs) @csrf_exempt def post(self, request, *args, **kwargs): return self.create(request, *args, **kwargs) # return JsonResponse({ # 'auth' : 'success' # }, json_dumps_params = {'ensure_ascii': True}) class AIADetailAPI(generics.GenericAPIView, mixins.UpdateModelMixin, mixins.DestroyModelMixin, mixins.RetrieveModelMixin): serializer_class = AIASerializer def get_queryset(self): return AIAnalysis.objects.all().order_by('id') def get(self, request, *args, **kwargs): return self.retrieve(request, *args, **kwargs) # put은 update을 내보내는 메소드 @csrf_exempt def put(self, request, *args, **kwargs): return self.update(request, *args, **kwargs) @csrf_exempt def patch(self, request, *args, **kwargs): return self.partial_update(request, *args, **kwargs) # delete은 destroy를 내보내는 메소드 @csrf_exempt def delete(self, request, *args, **kwargs): return self.destroy(request, *args, **kwargs)
33.020408
122
0.703337
186
1,618
6.026882
0.370968
0.117752
0.18198
0.143622
0.410348
0.374665
0.210526
0.210526
0.210526
0.210526
0
0
0.184796
1,618
49
123
33.020408
0.849886
0.103214
0
0.387097
0
0
0.002768
0
0
0
0
0
0
1
0.258065
false
0
0.225806
0.258065
0.870968
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
1
1
0
0
4
c0779fd931ee8b1b81fe2b2bc15b54d02eeba9e3
71
py
Python
wagtail/wagtailadmin/__init__.py
balkantechnologies/BalkanCMS_core
68625199028fc96abb175e410a4a7a92c02cb261
[ "BSD-3-Clause" ]
3
2016-08-17T13:56:36.000Z
2019-04-23T19:59:25.000Z
wagtail/wagtailadmin/__init__.py
balkantechnologies/BalkanCMS_core
68625199028fc96abb175e410a4a7a92c02cb261
[ "BSD-3-Clause" ]
11
2016-08-05T15:43:06.000Z
2016-12-16T13:32:23.000Z
wagtail/wagtailadmin/__init__.py
balkantechnologies/BalkanCMS_core
68625199028fc96abb175e410a4a7a92c02cb261
[ "BSD-3-Clause" ]
2
2017-08-08T01:39:02.000Z
2018-05-06T06:16:10.000Z
default_app_config = 'wagtail.wagtailadmin.apps.WagtailAdminAppConfig'
35.5
70
0.873239
7
71
8.571429
1
0
0
0
0
0
0
0
0
0
0
0
0.042254
71
1
71
71
0.882353
0
0
0
0
0
0.661972
0.661972
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c08199785ce9ffc51912ec67fd7bf89f5acf9f70
76
py
Python
nose2/tools/__init__.py
leth/nose2
a8fb776a0533264e0b123fc01237b9d2a039e9d0
[ "BSD-2-Clause" ]
null
null
null
nose2/tools/__init__.py
leth/nose2
a8fb776a0533264e0b123fc01237b9d2a039e9d0
[ "BSD-2-Clause" ]
null
null
null
nose2/tools/__init__.py
leth/nose2
a8fb776a0533264e0b123fc01237b9d2a039e9d0
[ "BSD-2-Clause" ]
1
2019-11-24T12:11:52.000Z
2019-11-24T12:11:52.000Z
from .params import params from . import such __all__ = ['params', 'such']
15.2
28
0.697368
10
76
4.9
0.5
0
0
0
0
0
0
0
0
0
0
0
0.171053
76
4
29
19
0.777778
0
0
0
0
0
0.131579
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
c0b829b865b1d7c618ec554b87b8030e4bad499c
238
py
Python
src/test/tinc/tinctest/models/scenario/test/scenarios/test_mock_scenarios.py
rodel-talampas/gpdb
9c955e350334abbd922102f289f782697eb52069
[ "PostgreSQL", "Apache-2.0" ]
9
2018-04-20T03:31:01.000Z
2020-05-13T14:10:53.000Z
src/test/tinc/tinctest/models/scenario/test/scenarios/test_mock_scenarios.py
rodel-talampas/gpdb
9c955e350334abbd922102f289f782697eb52069
[ "PostgreSQL", "Apache-2.0" ]
36
2017-09-21T09:12:27.000Z
2020-06-17T16:40:48.000Z
src/test/tinc/tinctest/models/scenario/test/scenarios/test_mock_scenarios.py
rodel-talampas/gpdb
9c955e350334abbd922102f289f782697eb52069
[ "PostgreSQL", "Apache-2.0" ]
32
2017-08-31T12:50:52.000Z
2022-03-01T07:34:53.000Z
from tinctest.case import TINCTestCase import unittest2 as unittest @unittest.skip('mock') class MockTINCTestCase(TINCTestCase): def test_01(self): self.assertTrue(True) def test_02(self): self.assertTrue(True)
19.833333
38
0.722689
29
238
5.862069
0.655172
0.082353
0.211765
0.258824
0
0
0
0
0
0
0
0.025773
0.184874
238
11
39
21.636364
0.850515
0
0
0.25
0
0
0.016807
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.625
0
1
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
1
0
0
0
0
0
0
0
4
c0cb6182e6bc20748606875e452eba8955fc1554
115
py
Python
Python/02_list_slicing.py
GaureshKeluskar/Hacktober20fest21
4c3ae0be602a99371247456db52b039f4bb2171d
[ "MIT" ]
11
2021-10-02T16:00:04.000Z
2021-10-12T12:14:17.000Z
Python/02_list_slicing.py
GaureshKeluskar/Hacktober20fest21
4c3ae0be602a99371247456db52b039f4bb2171d
[ "MIT" ]
1
2021-10-03T09:01:52.000Z
2021-10-03T09:01:52.000Z
Python/02_list_slicing.py
GaureshKeluskar/Hacktober20fest21
4c3ae0be602a99371247456db52b039f4bb2171d
[ "MIT" ]
26
2021-10-02T15:16:40.000Z
2021-10-25T00:18:59.000Z
# List slicing friends = ["Harry", "Tom", "Rohan", "Sam", "Divya", 45] print(friends[0:4]) print(friends[-4:])
23
56
0.591304
16
115
4.25
0.75
0.352941
0
0
0
0
0
0
0
0
0
0.05102
0.147826
115
4
57
28.75
0.642857
0.104348
0
0
0
0
0.216495
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
c0f0323980124def19a227c366ceadc0a60fd4ab
65
py
Python
3class/pytest.py
alexei-bukhgolts/3sem
677cbcc12ce09ec6ad5af3e5d04df10b012f4694
[ "Unlicense" ]
null
null
null
3class/pytest.py
alexei-bukhgolts/3sem
677cbcc12ce09ec6ad5af3e5d04df10b012f4694
[ "Unlicense" ]
null
null
null
3class/pytest.py
alexei-bukhgolts/3sem
677cbcc12ce09ec6ad5af3e5d04df10b012f4694
[ "Unlicense" ]
null
null
null
import time time.sleep(6) print(sum(x**2 for x in range(10)))
16.25
35
0.661538
14
65
3.071429
0.857143
0
0
0
0
0
0
0
0
0
0
0.074074
0.169231
65
3
36
21.666667
0.722222
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
1
0
1
0
0
0
0
4
8d0668ad92ccbe909c61e3a69db8a0094384012c
86
py
Python
search_operation/icde/apps.py
youyinnn/COEN6311_super
aa88a3f84e89f95f582803974396fc34635a54fa
[ "Apache-2.0" ]
null
null
null
search_operation/icde/apps.py
youyinnn/COEN6311_super
aa88a3f84e89f95f582803974396fc34635a54fa
[ "Apache-2.0" ]
2
2021-11-14T02:03:32.000Z
2021-11-15T04:05:48.000Z
search_operation/icde/apps.py
youyinnn/COEN6311_super
aa88a3f84e89f95f582803974396fc34635a54fa
[ "Apache-2.0" ]
1
2022-02-10T19:33:10.000Z
2022-02-10T19:33:10.000Z
from django.apps import AppConfig class IcdeConfig(AppConfig): name = 'icde'
17.2
33
0.709302
10
86
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.209302
86
5
34
17.2
0.897059
0
0
0
0
0
0.045977
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
2388b7a938765787aa8e158860616cca1451c630
72
py
Python
vlne/data/data_generator/funcs/__init__.py
usert5432/vlne
e3cafd30ecce3a2dbc4a37cc4257d07fb1a1785d
[ "MIT" ]
3
2020-06-04T17:00:26.000Z
2022-02-22T16:56:09.000Z
vlne/data/data_generator/funcs/__init__.py
usert5432/vlne
e3cafd30ecce3a2dbc4a37cc4257d07fb1a1785d
[ "MIT" ]
null
null
null
vlne/data/data_generator/funcs/__init__.py
usert5432/vlne
e3cafd30ecce3a2dbc4a37cc4257d07fb1a1785d
[ "MIT" ]
1
2021-01-17T04:19:41.000Z
2021-01-17T04:19:41.000Z
""" A collection of helper functions for the DataGenerator classes """
14.4
62
0.75
9
72
6
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
72
4
63
18
0.9
0.861111
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
23b5bdfa23147ea09c27b1e8b0a23f1f7e252de4
178
py
Python
pfc/modules/subdomains/__init__.py
Arinerron/pfc2
52126dbc509354aa5ad6a5446945828e2a32fb9c
[ "Apache-2.0" ]
5
2019-11-25T15:29:53.000Z
2022-03-14T23:24:24.000Z
pfc/modules/subdomains/__init__.py
Arinerron/pfc2
52126dbc509354aa5ad6a5446945828e2a32fb9c
[ "Apache-2.0" ]
null
null
null
pfc/modules/subdomains/__init__.py
Arinerron/pfc2
52126dbc509354aa5ad6a5446945828e2a32fb9c
[ "Apache-2.0" ]
1
2020-03-15T22:20:26.000Z
2020-03-15T22:20:26.000Z
#!/usr/bin/env python3 # Author: Aaron Esau <pfc@aaronesau.com> __all__ = ['sources', 'main'] from . import main SubdomainsModule = main.SubdomainsModule # HACK: this is ugly
19.777778
61
0.719101
23
178
5.391304
0.869565
0.322581
0
0
0
0
0
0
0
0
0
0.006579
0.146067
178
8
62
22.25
0.809211
0.44382
0
0
0
0
0.114583
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
23c22eb5e9dc916583ecb3282238cb8ddeb6b99d
316
py
Python
TWindbg/TWindbg.py
IMULMUL/TWindbg
3d595910420ef4d33e46f1ab33224855c74f182e
[ "MIT" ]
194
2017-08-02T02:47:13.000Z
2022-03-28T19:54:45.000Z
TWindbg/TWindbg.py
pr0cf5/TWindbg
791b8eb506457c95112bce872589167e5a898448
[ "MIT" ]
8
2017-08-01T14:58:29.000Z
2021-08-31T18:25:39.000Z
TWindbg/TWindbg.py
pr0cf5/TWindbg
791b8eb506457c95112bce872589167e5a898448
[ "MIT" ]
42
2017-08-02T10:36:19.000Z
2021-11-10T13:43:13.000Z
# -*- coding: utf-8 -*- import pykd import color import sys import command_handler import context # Init arch & context handler context.init_arch() context.init_context_handler() # TWindbg command wrapper command_handler.wrap_all_commands() # Print out the current context context.context_handler.print_context()
19.75
39
0.797468
43
316
5.651163
0.488372
0.135802
0.123457
0.18107
0
0
0
0
0
0
0
0.003597
0.120253
316
15
40
21.066667
0.870504
0.329114
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.555556
0
0.555556
0.111111
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
1
0
1
0
0
4
23f0455e2f73b9a379560454f7aeef0bfaa2f9b8
175
py
Python
pineboolib/application/__init__.py
deavid/pineboo
acc96ab6d5b8bb182990af6dea4bf0986af15549
[ "MIT" ]
2
2015-09-19T16:54:49.000Z
2016-09-12T08:06:29.000Z
pineboolib/application/__init__.py
deavid/pineboo
acc96ab6d5b8bb182990af6dea4bf0986af15549
[ "MIT" ]
1
2017-08-14T17:07:14.000Z
2017-08-15T00:22:47.000Z
pineboolib/application/__init__.py
deavid/pineboo
acc96ab6d5b8bb182990af6dea4bf0986af15549
[ "MIT" ]
9
2015-01-15T18:15:42.000Z
2019-05-05T18:53:00.000Z
""" Application package for resources. This package holds all functions and classes that are like side resources. """ from .projectmodule import Project project = Project()
19.444444
74
0.777143
22
175
6.181818
0.818182
0.205882
0
0
0
0
0
0
0
0
0
0
0.154286
175
8
75
21.875
0.918919
0.628571
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
23f10a5572cf7dccbd9ecd3ff00bf3b6ef5d9462
2,895
py
Python
tsp_ga/mutations.py
rajko-z/tsp-genetic-algorithm
d793cd763f2a0e74f2e6657043c9b91774b3d911
[ "MIT" ]
null
null
null
tsp_ga/mutations.py
rajko-z/tsp-genetic-algorithm
d793cd763f2a0e74f2e6657043c9b91774b3d911
[ "MIT" ]
null
null
null
tsp_ga/mutations.py
rajko-z/tsp-genetic-algorithm
d793cd763f2a0e74f2e6657043c9b91774b3d911
[ "MIT" ]
null
null
null
import random # Reverse sequence mutation def rsm(population, mutation_rate): mutated = [] size = len(population[0].genes) for ind in population: if random.random() < mutation_rate: left = random.randrange(0, size) right = random.randrange(0, size) left = min(left, right) right = max(left, right) while left < right: ind.genes[left], ind.genes[right] = ind.genes[right], ind.genes[left] left += 1 right -= 1 mutated.append(ind) return mutated # Partial shuffle mutation def psm(population, mutation_rate): mutated = [] size = len(population[0].genes) for ind in population: if random.random() < mutation_rate: for i in range(len(ind.genes)): if random.random() < mutation_rate: r = random.randrange(0, size) ind.genes[i], ind.genes[r] = ind.genes[r], ind.genes[i] mutated.append(ind) return mutated # The Hybridizing PSM and RSM def hybrid_rsm_psm(population, mutation_rate): mutated = [] size = len(population[0].genes) for ind in population: if random.random() < mutation_rate: left = random.randrange(0, size) right = random.randrange(0, size) left = min(left, right) right = max(left, right) while left < right: ind.genes[left], ind.genes[right] = ind.genes[right], ind.genes[left] if random.random() < mutation_rate: r = random.randrange(0, size) ind.genes[left], ind.genes[r] = ind.genes[r], ind.genes[left] left += 1 right -= 1 mutated.append(ind) return mutated # Displacement Mutation (DM) def __dm(individua): size = len(individua.genes) left = random.randrange(0, size) right = random.randrange(0, size) left = min(left, right) right = max(left, right) subgenes = individua.genes[left:right] individua.genes = individua.genes[:left] + individua.genes[right:] random_spot = random.randrange(0, len(individua.genes)) individua.genes = individua.genes[:random_spot] + subgenes + individua.genes[random_spot:] return individua def dm(population, mutation_rate): mutated = [] for ind in population: if random.random() < mutation_rate: mutated.append(__dm(ind)) else: mutated.append(ind) return mutated # Insertion Mutation (ISM) def __ism(individua): size = len(individua.genes) left = random.randrange(0, size) right = random.randrange(0, size) individua.genes[left], individua.genes[right] = individua.genes[right], individua.genes[left] return individua def ism(population, mutation_rate): mutated = [] for ind in population: if random.random() < mutation_rate: mutated.append(__ism(ind)) else: mutated.append(ind) return mutated # Hybrid ism and dm def hybrid_dm_ism(population, mutation_rate): mutated = [] for ind in population: if random.random() < mutation_rate: if random.random() < 0.5: mutated.append(__dm(ind)) else: mutated.append(__ism(ind)) else: mutated.append(ind) return mutated
26.559633
94
0.696718
402
2,895
4.935323
0.114428
0.068548
0.08871
0.100806
0.78881
0.755544
0.718246
0.688004
0.665827
0.665827
0
0.00834
0.171675
2,895
108
95
26.805556
0.819016
0.052504
0
0.797753
0
0
0
0
0
0
0
0
0
1
0.089888
false
0
0.011236
0
0.191011
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9b16b2979137292b6f914ad9bfea71e24e001acf
209
py
Python
fastapi/{{ cookiecutter.project_name }}/app/core/db.py
Hannarong98/templates
bf0c77809cd71c1208b442ce89ee7c5dc692ce34
[ "MIT" ]
22
2021-06-24T23:00:59.000Z
2022-03-17T15:06:55.000Z
fastapi/{{ cookiecutter.project_name }}/app/core/db.py
Hannarong98/templates
bf0c77809cd71c1208b442ce89ee7c5dc692ce34
[ "MIT" ]
28
2021-06-23T14:52:06.000Z
2022-03-02T13:41:06.000Z
fastapi/{{ cookiecutter.project_name }}/app/core/db.py
Hannarong98/templates
bf0c77809cd71c1208b442ce89ee7c5dc692ce34
[ "MIT" ]
2
2021-11-06T11:33:48.000Z
2022-02-23T13:40:14.000Z
from sqlalchemy.ext.asyncio import create_async_engine from app.core.config import settings engine = create_async_engine(settings.POSTGRES_CONNECTION_STRING, echo=False) # echo can be True/False or 'debug'
34.833333
114
0.827751
31
209
5.387097
0.709677
0.131737
0.203593
0
0
0
0
0
0
0
0
0
0.105263
209
5
115
41.8
0.893048
0.157895
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4