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
1f0e2043f7678bb4e826e07475987bfe28d22744
1,396
py
Python
backendapp/travels/migrations/0048_auto_20200406_1336.py
finebrush/takeatripsFB
85a5be1a2ee68531f04f2601a3f69ddc608d4d27
[ "BSD-3-Clause" ]
null
null
null
backendapp/travels/migrations/0048_auto_20200406_1336.py
finebrush/takeatripsFB
85a5be1a2ee68531f04f2601a3f69ddc608d4d27
[ "BSD-3-Clause" ]
13
2020-02-12T03:05:15.000Z
2022-02-10T14:26:50.000Z
backendapp/travels/migrations/0048_auto_20200406_1336.py
finebrush/takeatripsFB
85a5be1a2ee68531f04f2601a3f69ddc608d4d27
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.2.7 on 2020-04-06 04:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('travels', '0047_auto_20200406_1335'), ] operations = [ migrations.AlterField( model_name='tourplan', name='pickit', ...
31.727273
107
0.580946
131
1,396
6.076336
0.366412
0.150754
0.188442
0.218593
0.571608
0.312814
0.158291
0
0
0
0
0.031345
0.291547
1,396
43
108
32.465116
0.773509
0.032235
0
0.486486
1
0
0.190511
0.01705
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1f28a367b13e796b0fad4061825afaf6dd444332
746
py
Python
dask/dataframe/_dtypes.py
peterpanmj/dask
26986346320ce1bfa3a7c0eb9f636375233d750b
[ "BSD-3-Clause" ]
1
2021-06-20T22:54:53.000Z
2021-06-20T22:54:53.000Z
dask/dataframe/_dtypes.py
peterpanmj/dask
26986346320ce1bfa3a7c0eb9f636375233d750b
[ "BSD-3-Clause" ]
1
2020-10-24T09:17:39.000Z
2020-10-24T09:17:39.000Z
dask/dataframe/_dtypes.py
peterpanmj/dask
26986346320ce1bfa3a7c0eb9f636375233d750b
[ "BSD-3-Clause" ]
null
null
null
import pandas as pd from ._compat import PANDAS_GT_100 from .extensions import make_array_nonempty, make_scalar @make_array_nonempty.register(pd.DatetimeTZDtype) def _dtype(dtype): return pd.array([pd.Timestamp(1), pd.NaT], dtype=dtype) @make_scalar.register(pd.DatetimeTZDtype) def _(x): return pd.Timestam...
21.941176
59
0.693029
107
746
4.616822
0.308411
0.101215
0.137652
0.151822
0.455466
0.234818
0.129555
0
0
0
0
0.013115
0.182306
746
33
60
22.606061
0.796721
0
0
0.227273
0
0
0.002681
0
0
0
0
0
0
1
0.272727
false
0
0.136364
0.272727
0.681818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1f3d34067058790f632eb6774b4e895f2b64ee90
1,140
py
Python
problem-016/main.py
Shiqan/daily-coding-problem
408cb843d951e274a317529b50f6808246c54600
[ "MIT" ]
2
2019-03-01T07:21:30.000Z
2019-07-01T16:54:41.000Z
problem-016/main.py
Shiqan/daily-coding-problem
408cb843d951e274a317529b50f6808246c54600
[ "MIT" ]
null
null
null
problem-016/main.py
Shiqan/daily-coding-problem
408cb843d951e274a317529b50f6808246c54600
[ "MIT" ]
1
2019-11-10T15:31:30.000Z
2019-11-10T15:31:30.000Z
#!/usr/bin/env python """ Problem 16 daily-coding-problem.com """ import abc import redis class Log: __metaclass__ = abc.ABCMeta @abc.abstractmethod def record(self, i: int) -> int: pass @abc.abstractmethod def get_last(self, i: int) -> int: pass class RedisLog(Lo...
23.265306
63
0.592105
157
1,140
4.031847
0.305732
0.077409
0.050553
0.066351
0.290679
0.255924
0.159558
0.159558
0
0
0
0.011016
0.283333
1,140
48
64
23.75
0.76377
0.05
0
0.294118
0
0
0.034047
0
0
0
0
0
0
1
0.235294
false
0.058824
0.058824
0.058824
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
1f480f05395abaf29065d33893736e91ef50f487
522
py
Python
_draft/x_7_1-a.py
ofl/kuku2
7247fb1862d917d23258ebe7a93dca5939433225
[ "MIT" ]
null
null
null
_draft/x_7_1-a.py
ofl/kuku2
7247fb1862d917d23258ebe7a93dca5939433225
[ "MIT" ]
1
2021-11-13T08:03:04.000Z
2021-11-13T08:03:04.000Z
_draft/x_7_1-a.py
ofl/kuku2
7247fb1862d917d23258ebe7a93dca5939433225
[ "MIT" ]
null
null
null
# x_7_1 # # import re pattern = 'ใ‚‚ใ‚‚ใŸใ‚ใ†' print(re.search(pattern, 'ใ‚‚ใ‚‚ใŸใ‚ใ†')) print(re.match(pattern, 'ใ‚‚ใ‚‚ใŸใ‚ใ†')) print(re.fullmatch(pattern, 'ใ‚‚ใ‚‚ใŸใ‚ใ†')) print(re.search(pattern, 'ใ‚‚ใ‚‚ใŸใ‚ใ†ไพ')) print(re.match(pattern, 'ใ‚‚ใ‚‚ใŸใ‚ใ†ไพ')) print(re.fullmatch(pattern, 'ใ‚‚ใ‚‚ใŸใ‚ใ†ไพ')) print(re.search(pattern, 'ๆกƒใ‹ใ‚‰็”Ÿใพใ‚ŒใŸใ‚‚ใ‚‚ใŸใ‚ใ†')) print(re.match(p...
21.75
45
0.729885
67
522
5.656716
0.208955
0.221636
0.17942
0.200528
0.168865
0.168865
0
0
0
0
0
0.004141
0.074713
522
23
46
22.695652
0.780538
0.009579
0
0
0
0
0.220273
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.857143
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
0
0
0
0
0
1
0
3
1f50e0b1d43950a96d5da1e3d6203888006d8a12
221
py
Python
nps/sum.py
pmuellr/nitro_pie
6088d71d4eda02c30c663fdc323d2fd34a9eef7d
[ "MIT" ]
1
2016-05-09T08:18:33.000Z
2016-05-09T08:18:33.000Z
nps/sum.py
pmuellr/nitro_pie
6088d71d4eda02c30c663fdc323d2fd34a9eef7d
[ "MIT" ]
null
null
null
nps/sum.py
pmuellr/nitro_pie
6088d71d4eda02c30c663fdc323d2fd34a9eef7d
[ "MIT" ]
null
null
null
def sum(n): total = 0 for i in xrange(n+1): total += i return total ns = [100, 1000, 10000, 100000, 1000000, 10000000, 100000000 ] for n in ns: print "sum(%d): %d" % (n, sum(n))
18.416667
62
0.502262
34
221
3.264706
0.617647
0.072072
0
0
0
0
0
0
0
0
0
0.305556
0.348416
221
12
63
18.416667
0.465278
0
0
0
0
0
0.04955
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
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
1
0
0
0
0
0
0
0
0
3
1f7ea5d9a968e76fbf0565155c93d92c25a96029
115
py
Python
ithz/cron.py
ergoithz/ithz
8c54644cedea368ca73b503c8672278cac79ea3a
[ "MIT" ]
1
2015-06-30T08:30:30.000Z
2015-06-30T08:30:30.000Z
ithz/cron.py
ergoithz/ithz
8c54644cedea368ca73b503c8672278cac79ea3a
[ "MIT" ]
1
2016-03-23T15:24:30.000Z
2016-03-23T15:24:30.000Z
ithz/cron.py
ergoithz/ithz
8c54644cedea368ca73b503c8672278cac79ea3a
[ "MIT" ]
null
null
null
from ithz.fetchrss import refreshRSS def do(id): if id=="rss": refreshRSS()
14.375
36
0.486957
12
115
4.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.417391
115
7
37
16.428571
0.835821
0
0
0
0
0
0.026087
0
0
0
0
0
0
1
0.25
false
0
0.25
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
1
0
0
0
0
0
0
0
3
1f83542213f4e20e846013e1aed1d180d21400a9
640
py
Python
is_core/generic_views/inlines/__init__.py
zzuzzy/django-is-core
3f87ec56a814738683c732dce5f07e0328c2300d
[ "BSD-3-Clause" ]
null
null
null
is_core/generic_views/inlines/__init__.py
zzuzzy/django-is-core
3f87ec56a814738683c732dce5f07e0328c2300d
[ "BSD-3-Clause" ]
null
null
null
is_core/generic_views/inlines/__init__.py
zzuzzy/django-is-core
3f87ec56a814738683c732dce5f07e0328c2300d
[ "BSD-3-Clause" ]
null
null
null
from django.views.generic.base import ContextMixin from django.template.loader import render_to_string class InlineView(ContextMixin): template_name = None def __init__(self, request, parent_view, parent_instance): self.request = request self.parent_view = parent_view self.parent_inst...
27.826087
62
0.710938
77
640
5.571429
0.428571
0.06993
0.065268
0
0
0
0
0
0
0
0
0
0.214063
640
22
63
29.090909
0.852883
0
0
0.125
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1f957344c6bcd282030b44c8891698c99b871f3c
479
py
Python
enderecos/models.py
evaristofm/pontos_turisticos
caafca819e9b72e7ac31405ba45ff12cdbadbda4
[ "MIT" ]
null
null
null
enderecos/models.py
evaristofm/pontos_turisticos
caafca819e9b72e7ac31405ba45ff12cdbadbda4
[ "MIT" ]
3
2021-04-08T20:08:51.000Z
2021-09-22T19:37:04.000Z
enderecos/models.py
evaristofm/pontos_turisticos
caafca819e9b72e7ac31405ba45ff12cdbadbda4
[ "MIT" ]
null
null
null
from django.db import models class Endereco(models.Model): linha_1 = models.CharField(max_length=150) linha_2 = models.CharField(max_length=150, blank=True, null=True) cidade = models.CharField(max_length=100) estado = models.CharField(max_length=50) pais = models.CharField(max_length=70) latit...
36.846154
69
0.732777
66
479
5.136364
0.469697
0.221239
0.265487
0.353982
0.365782
0.20649
0
0
0
0
0
0.039702
0.158664
479
13
70
36.846154
0.801489
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0.090909
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2f102bb52b3ed49766e39d0e65eea40e33251198
108
py
Python
Python/B2014.py
Epoch1017/LintCode-Shared-Solutions
d1559ef96917c4255e1ce2cf25ef17edec596ac3
[ "CC0-1.0" ]
null
null
null
Python/B2014.py
Epoch1017/LintCode-Shared-Solutions
d1559ef96917c4255e1ce2cf25ef17edec596ac3
[ "CC0-1.0" ]
null
null
null
Python/B2014.py
Epoch1017/LintCode-Shared-Solutions
d1559ef96917c4255e1ce2cf25ef17edec596ac3
[ "CC0-1.0" ]
null
null
null
# B2014-ไธŽๅœ†็›ธๅ…ณ็š„่ฎก็ฎ— PI = 3.14159 r = float(input()) print("%.4f %.4f %.4f" % (2 * r, 2 * PI * r, PI * r * r))
27
57
0.481481
20
108
2.6
0.55
0.153846
0
0
0
0
0
0
0
0
0
0.185185
0.25
108
4
57
27
0.45679
0.12037
0
0
0
0
0.153846
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2f1faddc96b749af162321a341ea37fe3b3df56f
214
py
Python
Introduction-to-Portfolio-Analysis/Standard-deviation-versus-variance.py
RKiddle/python_finance
7c0ed2998c0f82a0998ba0cb06225453ba8ee3fe
[ "MIT" ]
1
2021-04-28T01:26:38.000Z
2021-04-28T01:26:38.000Z
Introduction-to-Portfolio-Analysis/Standard-deviation-versus-variance.py
RKiddle/python_finance
7c0ed2998c0f82a0998ba0cb06225453ba8ee3fe
[ "MIT" ]
null
null
null
Introduction-to-Portfolio-Analysis/Standard-deviation-versus-variance.py
RKiddle/python_finance
7c0ed2998c0f82a0998ba0cb06225453ba8ee3fe
[ "MIT" ]
null
null
null
# Calculate the standard deviation by taking the square root port_standard_dev = np.sqrt(np.dot(weights.T, np.dot(cov_matrix, weights))) # Print the results print(str(np.round(port_standard_dev, 4) * 100) + '%')
35.666667
75
0.742991
35
214
4.4
0.657143
0.155844
0.194805
0
0
0
0
0
0
0
0
0.02139
0.126168
214
5
76
42.8
0.802139
0.35514
0
0
0
0
0.007463
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
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
2f34fd091114ed7f6492aec899e979a67aedae14
173
py
Python
team/apps.py
ohahlev/ahlev-django-team
7903951a3232a6869e34888a64c0656a111f1cd4
[ "BSD-3-Clause" ]
null
null
null
team/apps.py
ohahlev/ahlev-django-team
7903951a3232a6869e34888a64c0656a111f1cd4
[ "BSD-3-Clause" ]
null
null
null
team/apps.py
ohahlev/ahlev-django-team
7903951a3232a6869e34888a64c0656a111f1cd4
[ "BSD-3-Clause" ]
null
null
null
from django.apps import AppConfig from . import __version__ as VERSION class TeamConfig(AppConfig): name = "team" verbose_name = "Teammate Management %s" % VERSION
24.714286
53
0.745665
21
173
5.904762
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.179191
173
6
54
28.833333
0.873239
0
0
0
0
0
0.150289
0
0
0
0
0
0
1
0
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
0
0
0
3
2f5bac6a0c1969c6c914ad6fe8cff60c4b00e33f
3,822
py
Python
roastlogs/models.py
jonastsai/meetate
6299ff076d92a436618059a64b5ce6915c14b685
[ "MIT" ]
null
null
null
roastlogs/models.py
jonastsai/meetate
6299ff076d92a436618059a64b5ce6915c14b685
[ "MIT" ]
null
null
null
roastlogs/models.py
jonastsai/meetate
6299ff076d92a436618059a64b5ce6915c14b685
[ "MIT" ]
null
null
null
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table # Feel free ...
40.659574
104
0.68786
519
3,822
4.930636
0.362235
0.07034
0.101602
0.132864
0.289957
0.284486
0.181712
0.103165
0.103165
0.03517
0
0.008216
0.20382
3,822
93
105
41.096774
0.832731
0.198849
0
0.092308
1
0
0.069294
0
0
0
0
0.010753
0
1
0.092308
false
0
0.092308
0.030769
0.753846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
3
2f88d7edbcacb345288499ce3cd7776be65ed6be
283
py
Python
aiida/orm/nodes/data/remote/__init__.py
louisponet/aiida-core
3214236df66a3792ee57fe38a06c0c3bb65861ab
[ "MIT", "BSD-3-Clause" ]
1
2016-09-12T10:51:00.000Z
2016-09-12T10:51:00.000Z
aiida/orm/nodes/data/remote/__init__.py
louisponet/aiida-core
3214236df66a3792ee57fe38a06c0c3bb65861ab
[ "MIT", "BSD-3-Clause" ]
null
null
null
aiida/orm/nodes/data/remote/__init__.py
louisponet/aiida-core
3214236df66a3792ee57fe38a06c0c3bb65861ab
[ "MIT", "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Module with data plugins that represent remote resources and so effectively are symbolic links.""" from .base import RemoteData from .stash import RemoteStashData, RemoteStashFolderData __all__ = ('RemoteData', 'RemoteStashData', 'RemoteStashFolderData')
40.428571
101
0.773852
30
283
7.166667
0.833333
0.334884
0
0
0
0
0
0
0
0
0
0.004016
0.120141
283
6
102
47.166667
0.859438
0.416961
0
0
0
0
0.289308
0.132075
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
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
3
2f8bb50992aa7ba9d5705f30427a7251abaf0f3b
21
py
Python
python/util/__init__.py
jjmoo/daily
fb8cf0e64606a2a76a6141bb0e9ccd143c30f07c
[ "MIT" ]
1
2020-03-27T16:42:02.000Z
2020-03-27T16:42:02.000Z
python/util/__init__.py
jjmoo/daily
fb8cf0e64606a2a76a6141bb0e9ccd143c30f07c
[ "MIT" ]
null
null
null
python/util/__init__.py
jjmoo/daily
fb8cf0e64606a2a76a6141bb0e9ccd143c30f07c
[ "MIT" ]
null
null
null
__all__ = ['logger']
10.5
20
0.619048
2
21
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.5
0
0
0
0
0
0.285714
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
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2f925635da90233557bd27f7340aa624a4a36f04
360
py
Python
doc_switch/doc_formats.py
Cutewarriorlover/doc_switch
50ff60b8bcb29dad5bfe1ed8feab2d96b1a258ac
[ "MIT" ]
null
null
null
doc_switch/doc_formats.py
Cutewarriorlover/doc_switch
50ff60b8bcb29dad5bfe1ed8feab2d96b1a258ac
[ "MIT" ]
1
2021-07-13T22:27:11.000Z
2021-07-13T22:27:11.000Z
doc_switch/doc_formats.py
Cutewarriorlover/doc_switch
50ff60b8bcb29dad5bfe1ed8feab2d96b1a258ac
[ "MIT" ]
null
null
null
""" This file records all currently used SphinxDoc formats (SphinxDoc, EpyDoc, NumpyDoc, and GoogleDoc). """ from enum import Enum class DocFormat(Enum): """ This enumeration records all currently used SphinxDoc formats (SphinxDoc, EpyDoc, NumpyDoc, and GoogleDoc). """ SPHINX_DOC = "sphinx" ...
20
77
0.686111
42
360
5.809524
0.52381
0.081967
0.155738
0.188525
0.606557
0.606557
0.606557
0.606557
0.606557
0.606557
0
0
0.213889
360
17
78
21.176471
0.862191
0.577778
0
0
0
0
0.112
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2fa10598039921685281680bf7c0f2ff3810051a
236
py
Python
initialstate_example.py
tylercrumpton/snap-to-cloud-examples
4b7e9f953b7b64e12ede13942f9f12fd538a0c9d
[ "Apache-2.0" ]
null
null
null
initialstate_example.py
tylercrumpton/snap-to-cloud-examples
4b7e9f953b7b64e12ede13942f9f12fd538a0c9d
[ "Apache-2.0" ]
null
null
null
initialstate_example.py
tylercrumpton/snap-to-cloud-examples
4b7e9f953b7b64e12ede13942f9f12fd538a0c9d
[ "Apache-2.0" ]
null
null
null
from initialstate.initialstate_connector import InitialStateConnector from snap_to_cloud import SNAPToCloudExample if __name__ == "__main__": cloud_connector = InitialStateConnector() SNAPToCloudExample(cloud_connector.publish)
39.333333
69
0.847458
22
236
8.5
0.590909
0.149733
0
0
0
0
0
0
0
0
0
0
0.101695
236
6
70
39.333333
0.882075
0
0
0
0
0
0.033755
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
85cad6a7b0784fbc95d2d4853b9f98ff53275c06
62
py
Python
example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/I/inverse of conductance quantum.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/I/inverse of conductance quantum.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/I/inverse of conductance quantum.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
1
2021-02-04T04:51:48.000Z
2021-02-04T04:51:48.000Z
constants.physical_constants["inverse of conductance quantum"]
62
62
0.870968
7
62
7.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.048387
62
1
62
62
0.898305
0
0
0
0
0
0.47619
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
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
85e456621e809834a75b489df07d0644ebbc657a
251
py
Python
zmk/testUseCase/supportData2/featureExtractTrain.py
em3ndez/MLW
f9f9d83a12542521c490d9a6c6c72639208a6ae3
[ "Apache-2.0" ]
2
2020-11-29T00:16:37.000Z
2021-02-22T18:12:15.000Z
zmk/testUseCase/supportData2/featureExtractTrain.py
em3ndez/MLW
f9f9d83a12542521c490d9a6c6c72639208a6ae3
[ "Apache-2.0" ]
20
2020-09-26T01:04:36.000Z
2022-03-02T08:38:18.000Z
zmk/testUseCase/supportData2/featureExtractTrain.py
em3ndez/MLW
f9f9d83a12542521c490d9a6c6c72639208a6ae3
[ "Apache-2.0" ]
1
2020-02-29T12:18:28.000Z
2020-02-29T12:18:28.000Z
def addFeatureDataStruc(data): data['LenCarName']=data['car name'].apply(lambda x: len(x.split())) newFeat=[ 'cylinders', 'displacement', 'horsepower', 'weight','acceleration','lrScore','LenCarName'] return data[newFeat],data[['mpg']]
50.2
104
0.673307
27
251
6.259259
0.740741
0
0
0
0
0
0
0
0
0
0
0
0.115538
251
5
105
50.2
0.761261
0
0
0
0
0
0.345238
0
0
0
0
0
0
1
0.25
false
0
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
1
0
0
0
0
0
0
0
3
85fa279e6bf565b450ef29996ce852b0697285b4
618
py
Python
nand2vm/seq/dff.py
mlouielu/nand2vm
0c24f49efde8303a157ab658e75f0c081e442ae2
[ "BSD-3-Clause" ]
13
2017-07-04T10:52:12.000Z
2021-07-19T16:13:32.000Z
nand2vm/seq/dff.py
mlouielu/nand2vm
0c24f49efde8303a157ab658e75f0c081e442ae2
[ "BSD-3-Clause" ]
2
2017-07-03T15:53:52.000Z
2017-07-04T03:48:24.000Z
nand2vm/seq/dff.py
mlouielu/nand2vm
0c24f49efde8303a157ab658e75f0c081e442ae2
[ "BSD-3-Clause" ]
1
2021-06-25T17:15:35.000Z
2021-06-25T17:15:35.000Z
# # Copyright (c) 2017 Louie Lu. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # from .. import gate from .clock import ClockPhase class DFF(object): def __init__(self): self._state = 0 def update(self, source: bool, clock...
22.071429
72
0.642395
83
618
4.590361
0.60241
0.11811
0.07874
0
0
0
0
0
0
0
0
0.011111
0.271845
618
27
73
22.888889
0.835556
0.237864
0
0
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0.133333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c81568e4434e38ee50d0176c117d8a3bd08b25ac
1,159
py
Python
src/beanmachine/ppl/examples/conjugate_models/beta_binomial.py
horizon-blue/beanmachine-1
b13e4e3e28ffb860947eb8046863b0cabb581222
[ "MIT" ]
1
2021-12-22T13:19:14.000Z
2021-12-22T13:19:14.000Z
src/beanmachine/ppl/examples/conjugate_models/beta_binomial.py
horizon-blue/beanmachine-1
b13e4e3e28ffb860947eb8046863b0cabb581222
[ "MIT" ]
null
null
null
src/beanmachine/ppl/examples/conjugate_models/beta_binomial.py
horizon-blue/beanmachine-1
b13e4e3e28ffb860947eb8046863b0cabb581222
[ "MIT" ]
null
null
null
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import beanmachine.ppl as bm import torch.distributions as dist from torch import Tensor class BetaBinomialModel(object): """This Bean...
33.114286
65
0.704918
173
1,159
4.647399
0.485549
0.024876
0.032338
0.047264
0
0
0
0
0
0
0
0
0.220017
1,159
34
66
34.088235
0.889381
0.560828
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.214286
0.142857
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c81c6ff42e3b0bf97bbade61f0dfffd3d52ce33d
471
py
Python
gravitational_teleport_rules/teleport_network_scanning.py
designing-penguin/panther-analysis
26034cea4504f43227f8d3789225f6ca7b35dfe0
[ "Apache-2.0" ]
null
null
null
gravitational_teleport_rules/teleport_network_scanning.py
designing-penguin/panther-analysis
26034cea4504f43227f8d3789225f6ca7b35dfe0
[ "Apache-2.0" ]
null
null
null
gravitational_teleport_rules/teleport_network_scanning.py
designing-penguin/panther-analysis
26034cea4504f43227f8d3789225f6ca7b35dfe0
[ "Apache-2.0" ]
null
null
null
SCAN_COMMANDS = {'arp', 'arp-scan', 'fping', 'nmap'} def rule(event): # Filter out commands if event['event'] == 'session.command' and not event.get('argv'): return False # Check that the program is in our watch list return event.get('program') in SCAN_COMMANDS def title(event): return '...
29.4375
69
0.63482
65
471
4.507692
0.569231
0.109215
0.102389
0
0
0
0
0
0
0
0
0
0.210191
471
15
70
31.4
0.787634
0.133758
0
0
0
0
0.340741
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c82329b6e276eb15d30473b7b4ab1b9ed5c47629
64
py
Python
ziso/read/__init__.py
simbaTmotsi/eye-vision
f5354d5264e8e1eda4a309eb65862864247c4423
[ "MIT" ]
null
null
null
ziso/read/__init__.py
simbaTmotsi/eye-vision
f5354d5264e8e1eda4a309eb65862864247c4423
[ "MIT" ]
162
2019-01-27T16:37:16.000Z
2022-03-31T23:44:34.000Z
ziso/read/__init__.py
simbaTmotsi/eye-vision
f5354d5264e8e1eda4a309eb65862864247c4423
[ "MIT" ]
null
null
null
from .read import * # specifying the modules __all__ = ["read"]
16
24
0.703125
8
64
5.125
0.875
0
0
0
0
0
0
0
0
0
0
0
0.171875
64
3
25
21.333333
0.773585
0.34375
0
0
0
0
0.1
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
c828587f0dad811b9ee018650f27112940726bb1
1,066
py
Python
cloudrail/knowledge/rules/aws/context_aware/public_access_validation_rules/public_access_elasticsearch_rule.py
my-devops-info/cloudrail-knowledge
b7c1bbd6fe1faeb79c105a01c0debbe24d031a0e
[ "MIT" ]
null
null
null
cloudrail/knowledge/rules/aws/context_aware/public_access_validation_rules/public_access_elasticsearch_rule.py
my-devops-info/cloudrail-knowledge
b7c1bbd6fe1faeb79c105a01c0debbe24d031a0e
[ "MIT" ]
null
null
null
cloudrail/knowledge/rules/aws/context_aware/public_access_validation_rules/public_access_elasticsearch_rule.py
my-devops-info/cloudrail-knowledge
b7c1bbd6fe1faeb79c105a01c0debbe24d031a0e
[ "MIT" ]
null
null
null
from typing import List, Dict from cloudrail.knowledge.context.aws.aws_environment_context import AwsEnvironmentContext from cloudrail.knowledge.rules.aws.aws_base_rule import AwsBaseRule from cloudrail.knowledge.rules.base_rule import Issue from cloudrail.knowledge.rules.rule_parameters.base_paramerter import Paramet...
44.416667
111
0.743902
128
1,066
5.992188
0.453125
0.067797
0.114733
0.105606
0
0
0
0
0
0
0
0
0.170732
1,066
23
112
46.347826
0.867647
0
0
0
0
0
0.17167
0.054409
0
0
0
0
0
1
0.1875
false
0
0.3125
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
c831e25f226c3e606c703493d9e2119ebfc57614
145
py
Python
packagesMain/packageInit.py
Aman-Designer/RPS-Virtual-Game
301e638ea20ee3e4fb87c5cf62c9e0e9190dea4d
[ "Unlicense" ]
null
null
null
packagesMain/packageInit.py
Aman-Designer/RPS-Virtual-Game
301e638ea20ee3e4fb87c5cf62c9e0e9190dea4d
[ "Unlicense" ]
null
null
null
packagesMain/packageInit.py
Aman-Designer/RPS-Virtual-Game
301e638ea20ee3e4fb87c5cf62c9e0e9190dea4d
[ "Unlicense" ]
1
2021-03-27T20:36:23.000Z
2021-03-27T20:36:23.000Z
from packagesMain import functionMain options = ["Rock", "Paper", "Scissors"] computer_lives = 2 player_lives = 2 total_lives = 2 player = False
20.714286
39
0.751724
19
145
5.578947
0.736842
0.169811
0.226415
0
0
0
0
0
0
0
0
0.024194
0.144828
145
7
40
20.714286
0.830645
0
0
0
0
0
0.116438
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0
0
0
0
0
0
0
3
c839c21f3c1ee42cdf0641e48f99fe07ba1cacbc
642
py
Python
upload_img/models.py
NikamRohan/One-Shot-Classifier
6587e3a8a3ab9d8aa7cc44be118d18b13475b17e
[ "MIT" ]
1
2021-08-16T07:08:38.000Z
2021-08-16T07:08:38.000Z
upload_img/models.py
NikamRohan/One-Shot-Classifier
6587e3a8a3ab9d8aa7cc44be118d18b13475b17e
[ "MIT" ]
null
null
null
upload_img/models.py
NikamRohan/One-Shot-Classifier
6587e3a8a3ab9d8aa7cc44be118d18b13475b17e
[ "MIT" ]
1
2021-05-16T15:19:59.000Z
2021-05-16T15:19:59.000Z
from django.db import models def user_directory_path(instance, filename): # file will be uploaded to MEDIA_ROOT/user_<id>/<filename> #return 'user_{0}/{1}'.format(instance.user.id, filename) return 'unaligned_images' + '/' + '{0}/{1}'.format(instance.person.name,filename) class Person(models.Model): nam...
29.181818
85
0.727414
92
642
4.858696
0.51087
0.058166
0.076063
0.089485
0.09396
0.09396
0
0
0
0
0
0.010619
0.119938
642
21
86
30.571429
0.780531
0.174455
0
0.166667
0
0
0.129278
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.25
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c839f9362efd383452e197a8a7fefaed19816863
519
py
Python
wifi-services/wifi-check/wifi_check.py
RidwanAlam/besi-relay-codes
3c7ce2b664cf8408a09a56264b36afcbcff1fece
[ "MIT" ]
null
null
null
wifi-services/wifi-check/wifi_check.py
RidwanAlam/besi-relay-codes
3c7ce2b664cf8408a09a56264b36afcbcff1fece
[ "MIT" ]
null
null
null
wifi-services/wifi-check/wifi_check.py
RidwanAlam/besi-relay-codes
3c7ce2b664cf8408a09a56264b36afcbcff1fece
[ "MIT" ]
null
null
null
import socket import subprocess import time while True: # sock=socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # if this fails, the BBB is not connected to the network # try: # sock.connect(("8.8.8.8", 80)) # except socket.error as e: # print "Network Error",e # subprocess.Popen(["/usr/bin/wifi-reset.s...
25.95
79
0.672447
78
519
4.448718
0.564103
0.017291
0.15562
0.181556
0.184438
0.184438
0.184438
0
0
0
0
0.020501
0.154143
519
19
80
27.315789
0.769932
0.472062
0
0
0
0
0.171103
0.1673
0
0
0
0
0
0
null
null
0
0.375
null
null
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
c83f096327737f7c4cd0e1b88d3e11d238c93f9b
54
py
Python
Class 6/Roll a Dice Simulator.py
teenage-coder/Introduction-to-Python
fee751071bdac27b4644279c44eb8f008271fcd1
[ "Apache-2.0" ]
1
2021-09-16T03:17:19.000Z
2021-09-16T03:17:19.000Z
Class 6/Roll a Dice Simulator.py
teenage-coder/Introduction-to-Python
fee751071bdac27b4644279c44eb8f008271fcd1
[ "Apache-2.0" ]
null
null
null
Class 6/Roll a Dice Simulator.py
teenage-coder/Introduction-to-Python
fee751071bdac27b4644279c44eb8f008271fcd1
[ "Apache-2.0" ]
null
null
null
import random num = random.randint(1,6) print(num)
7.714286
25
0.703704
9
54
4.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0.044444
0.166667
54
6
26
9
0.8
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
c869ccfcf985b08d75c37017f5d369a30da83d4b
314
py
Python
app/handlers/housekeeping/delete_participant.py
jamestiotio/wthslack
4ada5e2354bfd9ffd46731abe35b65ef8a09d4f1
[ "MIT" ]
2
2020-07-10T21:06:53.000Z
2020-10-27T17:05:05.000Z
app/handlers/housekeeping/delete_participant.py
wthdevelopers/wthslack
f6566e35b5455fcdfb12d9b33d65843b67aff17c
[ "MIT" ]
7
2020-02-09T12:08:00.000Z
2021-06-27T16:51:29.000Z
app/handlers/housekeeping/delete_participant.py
jamestiotio/wthslack
4ada5e2354bfd9ffd46731abe35b65ef8a09d4f1
[ "MIT" ]
2
2020-02-07T15:35:24.000Z
2020-02-07T17:28:50.000Z
# coding: utf-8 # Remove a specific participant entry from database # Created by James Raphael Tiovalen (2021) import slack import ast import settings import config from slackers.hooks import commands conv_db = config.conv_handler @commands.on("deleteparticipant") def deleteparticipant(payload): return
16.526316
51
0.789809
41
314
6
0.780488
0
0
0
0
0
0
0
0
0
0
0.018727
0.149682
314
18
52
17.444444
0.902622
0.33121
0
0
0
0
0.082524
0
0
0
0
0
0
1
0.111111
false
0
0.555556
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
c088952c9e33acb21d72a7aa142dcd981b602fa2
168
py
Python
task_c/start.py
diego-cc/python_assessment_3
07e561e3c0a689c110c7ae3dc8b3866ebfa98eeb
[ "MIT" ]
null
null
null
task_c/start.py
diego-cc/python_assessment_3
07e561e3c0a689c110c7ae3dc8b3866ebfa98eeb
[ "MIT" ]
null
null
null
task_c/start.py
diego-cc/python_assessment_3
07e561e3c0a689c110c7ae3dc8b3866ebfa98eeb
[ "MIT" ]
null
null
null
""" Project: python_assessment_3 Author: Diego C. <20026893@tafe.wa.edu.au> Created at: 10/11/2020 9:59 pm File: start.py """ import task_c.cli.cli as cli cli.start()
16.8
42
0.720238
32
168
3.6875
0.84375
0.101695
0
0
0
0
0
0
0
0
0
0.136054
0.125
168
9
43
18.666667
0.666667
0.696429
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
c08e13216eb789d135386ebf37d44a10b2e901e4
4,107
py
Python
scripts/optimizeLossSolutions.py
sschulz365/PhC_Optimization
9a4add4eb638d797647cabbdf0f96b29b78114f2
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2017-05-13T05:33:06.000Z
2021-02-26T14:39:44.000Z
scripts/optimizeLossSolutions.py
sschulz365/PhC_Optimization
9a4add4eb638d797647cabbdf0f96b29b78114f2
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
scripts/optimizeLossSolutions.py
sschulz365/PhC_Optimization
9a4add4eb638d797647cabbdf0f96b29b78114f2
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#Sean Billings, 2015 from backend import constraints from backend.experiment import W1Experiment from backend.objectiveFunctions import WeightedSumObjectiveFunction, IdealDifferentialObjectiveFunction import math from backend.spea_optimizer import SpeaOptimizer from backend.paretoFunctions import ParetoMaxFunction fro...
51.3375
125
0.6243
620
4,107
4.098387
0.325806
0.01889
0.022039
0.033058
0.269972
0.131838
0.131838
0.131838
0.058638
0.058638
0
0.264456
0.170441
4,107
79
126
51.987342
0.481362
0.158023
0
0
0
0
0.131686
0.048547
0
0
0
0
0
0
null
null
0
0.148936
null
null
0.021277
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
1
0
0
0
0
0
0
0
0
3
c08e5374be884ecd4f418cfbcbad925513c43581
19
py
Python
GUI/__init__.py
Entek-Technical-Services/BEMOSS3.5
581a205b4129530474a5ceee93cb36ef62992d4c
[ "BSD-3-Clause" ]
73
2017-07-11T21:46:41.000Z
2022-03-11T03:35:25.000Z
GUI/__init__.py
Entek-Technical-Services/BEMOSS3.5
581a205b4129530474a5ceee93cb36ef62992d4c
[ "BSD-3-Clause" ]
19
2017-10-10T22:06:15.000Z
2022-03-28T21:03:33.000Z
GUI/__init__.py
Entek-Technical-Services/BEMOSS3.5
581a205b4129530474a5ceee93cb36ef62992d4c
[ "BSD-3-Clause" ]
36
2017-06-24T00:17:03.000Z
2022-03-31T13:58:36.000Z
__author__ = 'xyz'
9.5
18
0.684211
2
19
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.5625
0
0
0
0
0
0.157895
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
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c0a4f1cd050faebf00c5c19b492e26e341d767c6
1,893
py
Python
retired/retired/process.py
gecko-robotics/pygecko
a809593a894d8e591e992455a01aa73d8f7b7981
[ "MIT" ]
3
2019-06-13T07:52:12.000Z
2020-07-05T13:28:43.000Z
retired/retired/process.py
walchko/pygecko
a809593a894d8e591e992455a01aa73d8f7b7981
[ "MIT" ]
23
2017-07-07T01:29:33.000Z
2018-11-23T18:41:08.000Z
retired/retired/process.py
MomsFriendlyRobotCompany/pygecko
a809593a894d8e591e992455a01aa73d8f7b7981
[ "MIT" ]
null
null
null
# ############################################## # # The MIT License (MIT) # # Copyright (c) 2018 Kevin Walchko # # see LICENSE for full details # ############################################## # from __future__ import print_function # import multiprocessing as mp # from pygecko.transport import zmqTCP # # # class Geck...
30.047619
99
0.516112
213
1,893
4.507042
0.384977
0.1125
0.041667
0.0375
0.1875
0.052083
0.052083
0
0
0
0
0.010471
0.293714
1,893
62
100
30.532258
0.707554
0.881141
0
null
0
null
0
0
null
0
0
0.016129
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
3
c0aa9aaddc59eacdc04c7808be563c7f7042231a
142
py
Python
python-extension/pygeonlp/samples/parse.py
t-sagara/geonlp-software
bcb57f55d4790b8f332f44dcb78b5a3cca2f1a63
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
1
2019-09-15T07:47:41.000Z
2019-09-15T07:47:41.000Z
python-extension/pygeonlp/samples/parse.py
t-sagara/geonlp-software
bcb57f55d4790b8f332f44dcb78b5a3cca2f1a63
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
1
2019-09-13T08:27:35.000Z
2019-09-14T00:43:07.000Z
python-extension/pygeonlp/samples/parse.py
t-sagara/geonlp-software
bcb57f55d4790b8f332f44dcb78b5a3cca2f1a63
[ "BSD-2-Clause", "BSD-2-Clause-FreeBSD" ]
1
2018-10-03T10:56:23.000Z
2018-10-03T10:56:23.000Z
import pygeonlp service = pygeonlp.Service() print(service.parse( "ๆฒ–็ธ„็œŒใฎๅ—ๆตทไธŠใงๅฐ้ขจใŒ็™บ็”Ÿใ—ใพใ—ใŸใ€‚", {"show-candidate": False, "geojson": True} ))
20.285714
46
0.697183
14
142
7.071429
0.785714
0.30303
0
0
0
0
0
0
0
0
0
0
0.140845
142
6
47
23.666667
0.811475
0
0
0
0
0
0.274648
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
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
0
0
3
c0d6e479ab91700c5f5e0523e9bc80ae63abd4cd
194
py
Python
webapp/playlist/forms.py
svnikolaev/VideoClips
c304a69491cc412d95e5004cb84fce8f5868d2f2
[ "MIT" ]
null
null
null
webapp/playlist/forms.py
svnikolaev/VideoClips
c304a69491cc412d95e5004cb84fce8f5868d2f2
[ "MIT" ]
null
null
null
webapp/playlist/forms.py
svnikolaev/VideoClips
c304a69491cc412d95e5004cb84fce8f5868d2f2
[ "MIT" ]
2
2021-06-26T11:41:01.000Z
2021-07-12T20:34:37.000Z
from flask_wtf import FlaskForm from wtforms import SubmitField class Add_playlist(FlaskForm): submit = SubmitField( 'ะกะพะทะดะฐั‚ัŒ', render_kw={"class": "btn btn-primary"} )
21.555556
46
0.685567
22
194
5.909091
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.221649
194
8
47
24.25
0.860927
0
0
0
0
0
0.139175
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
c0dd14f66693db482d5278a775bf5f4990ac8c35
396
py
Python
statusmsg/colors.py
bmoscon/statusmsg
1418c87503a9092201de53a11505f29bf3e83d5b
[ "MIT" ]
2
2020-03-25T05:07:26.000Z
2020-03-25T05:51:23.000Z
statusmsg/colors.py
bmoscon/statusmsg
1418c87503a9092201de53a11505f29bf3e83d5b
[ "MIT" ]
null
null
null
statusmsg/colors.py
bmoscon/statusmsg
1418c87503a9092201de53a11505f29bf3e83d5b
[ "MIT" ]
1
2020-03-25T03:55:30.000Z
2020-03-25T03:55:30.000Z
BLACK = u"\u001b[30m" RED = u"\u001b[31m" GREEN = u"\u001b[32m" YELLOW = u"\u001b[33m" BLUE = u"\u001b[34m" MAGENTA = u"\u001b[35m" CYAN = u"\u001b[36m" WHITE = u"\u001b[37m" BBLACK = u"\u001b[30;1m" BRED = u"\u001b[31;1m" BGREEN = u"\u001b[32;1m" BYELLOW = u"\u001b[33;1m" BBLUE = u"\u001b[34;1m" BMAGENTA = u"\u001b[3...
20.842105
26
0.633838
76
396
3.302632
0.486842
0.406375
0
0
0
0
0
0
0
0
0
0.267442
0.131313
396
19
27
20.842105
0.462209
0
0
0
0
0
0.465995
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
238f2cab139dbfea3fdc218274539476de13b7b0
73
py
Python
crondescriptor/__init__.py
gaolycn/crondescriptor
ef3dd614e4d13d77b2c1b1c4bcdf8982b7000fcb
[ "MIT" ]
null
null
null
crondescriptor/__init__.py
gaolycn/crondescriptor
ef3dd614e4d13d77b2c1b1c4bcdf8982b7000fcb
[ "MIT" ]
null
null
null
crondescriptor/__init__.py
gaolycn/crondescriptor
ef3dd614e4d13d77b2c1b1c4bcdf8982b7000fcb
[ "MIT" ]
null
null
null
from .crondescriptor import CronDescriptor __all__ = ['CronDescriptor']
18.25
42
0.808219
6
73
9.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.109589
73
3
43
24.333333
0.846154
0
0
0
0
0
0.191781
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
2391318bc7bb208a90cd9c3bfbc0106b446644af
93
py
Python
ngender/main.py
CO-VID19/ngender
9cb2c8226bdf1f02f030116bdbe959e25009ce87
[ "MIT" ]
null
null
null
ngender/main.py
CO-VID19/ngender
9cb2c8226bdf1f02f030116bdbe959e25009ce87
[ "MIT" ]
null
null
null
ngender/main.py
CO-VID19/ngender
9cb2c8226bdf1f02f030116bdbe959e25009ce87
[ "MIT" ]
null
null
null
import ngender import time name = input("่ฏท่พ“ๅ…ฅๆ‚จ็š„ๅๅญ—") # time.sleep(5) print(ngender.guess(name))
18.6
26
0.752688
14
93
5
0.714286
0
0
0
0
0
0
0
0
0
0
0.011905
0.096774
93
5
26
18.6
0.821429
0.139785
0
0
0
0
0.088608
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
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
0
0
3
9b12c733be0d2cce1843c385d9166c2502cd5c96
405
py
Python
code/utils/file.py
ChouBaoDxs/django-rest-framework-template
d17a884ca8ae921a67abda1e35c41e84614f24e2
[ "MIT" ]
2
2021-04-02T15:29:13.000Z
2021-05-31T11:31:09.000Z
code/utils/file.py
ChouBaoDxs/django-rest-framework-template
d17a884ca8ae921a67abda1e35c41e84614f24e2
[ "MIT" ]
1
2021-08-03T06:07:17.000Z
2021-08-03T07:20:40.000Z
code/utils/file.py
ChouBaoDxs/django-rest-framework-template
d17a884ca8ae921a67abda1e35c41e84614f24e2
[ "MIT" ]
null
null
null
import os def get_file_path_name_ext(filename: str): """ ่Žทๅ–ๆ–‡ไปถ่ทฏๅพ„ใ€ๆ–‡ไปถๅใ€ๆ‰ฉๅฑ•ๅ get_extension('6666') ('', '6666', '') get_extension('6666/jpg') ('6666', 'jpg', '') get_extension('6666.jpg') ('', '6666', '.jpg') """ filepath, tempfilename = os.path.split(filename) shotname,...
23.823529
56
0.602469
45
405
5.266667
0.488889
0.118143
0.202532
0.160338
0.219409
0.219409
0
0
0
0
0
0.07619
0.222222
405
16
57
25.3125
0.67619
0.380247
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9b1e7ce8e9138c75a50d0de4679b8ffd8c6970d9
183
py
Python
virtual/lib/python3.6/site-packages/pylint/test/input/func_noerror_builtin_module_test.py
drewheathens/The-Moringa-Tribune
98ee4d63c9df6f1f7497fc6876960a822d914500
[ "MIT" ]
463
2015-01-15T08:17:42.000Z
2022-03-28T15:10:20.000Z
virtual/lib/python3.6/site-packages/pylint/test/input/func_noerror_builtin_module_test.py
drewheathens/The-Moringa-Tribune
98ee4d63c9df6f1f7497fc6876960a822d914500
[ "MIT" ]
52
2015-01-06T02:43:59.000Z
2022-03-14T11:15:21.000Z
virtual/lib/python3.6/site-packages/pylint/test/input/func_noerror_builtin_module_test.py
drewheathens/The-Moringa-Tribune
98ee4d63c9df6f1f7497fc6876960a822d914500
[ "MIT" ]
249
2015-01-07T22:49:49.000Z
2022-03-18T02:32:06.000Z
"""test import from a builtin module""" from __future__ import absolute_import from math import log10 __revision__ = None def log10_2(): """bla bla bla""" return log10(2)
15.25
39
0.704918
26
183
4.576923
0.615385
0.168067
0
0
0
0
0
0
0
0
0
0.054422
0.196721
183
11
40
16.636364
0.755102
0.245902
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f1a7bf704f36d56195f0709222c7b09ddda51e4a
93
py
Python
exercicio 24.py
pedropenna1/Exercicios-Python
bde8967a31b2395477f346ca1f1b5cb2de666a40
[ "MIT" ]
null
null
null
exercicio 24.py
pedropenna1/Exercicios-Python
bde8967a31b2395477f346ca1f1b5cb2de666a40
[ "MIT" ]
null
null
null
exercicio 24.py
pedropenna1/Exercicios-Python
bde8967a31b2395477f346ca1f1b5cb2de666a40
[ "MIT" ]
null
null
null
cidade = str(input('Digite o nome da cidade que vocรช nasceu:')) print(cidade[:5] == 'Santo')
31
63
0.677419
15
93
4.2
0.866667
0
0
0
0
0
0
0
0
0
0
0.0125
0.139785
93
2
64
46.5
0.775
0
0
0
0
0
0.483871
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
1
0
3
f1bcacc000dd688ad9ed38226d207b69755113fb
60
py
Python
examples/08_while.py
LayneInNL/py2flows
5ecb555c64350cb13c3885a78fe89a40994e9d0e
[ "Apache-2.0" ]
3
2022-03-21T12:10:37.000Z
2022-03-24T13:31:19.000Z
examples/08_while.py
Robin199412/py2flows
52e5e5bdbd83ede4a994f2e429dac770a7926032
[ "Apache-2.0" ]
1
2022-03-17T02:09:37.000Z
2022-03-17T10:08:14.000Z
examples/08_while.py
LayneInNL/py2flows
5ecb555c64350cb13c3885a78fe89a40994e9d0e
[ "Apache-2.0" ]
1
2022-03-21T12:10:18.000Z
2022-03-21T12:10:18.000Z
while i <= n and y + 1 > z: sum = sum + i i = i + 1
15
27
0.383333
13
60
1.769231
0.615385
0.173913
0
0
0
0
0
0
0
0
0
0.0625
0.466667
60
3
28
20
0.65625
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f1d375de7f658de174ea3b120e2a6882098b680f
309
py
Python
palor/tests.py
Kizito-Alberrt/gallery-palor
bac12bf513bebe90b12cdd71ddce39d1f752f3dd
[ "MIT" ]
null
null
null
palor/tests.py
Kizito-Alberrt/gallery-palor
bac12bf513bebe90b12cdd71ddce39d1f752f3dd
[ "MIT" ]
null
null
null
palor/tests.py
Kizito-Alberrt/gallery-palor
bac12bf513bebe90b12cdd71ddce39d1f752f3dd
[ "MIT" ]
null
null
null
from django.forms.fields import ImageField from django.test import TestCase from .models import Editor, Article,tags # Create your tests here. class imageTestClass(TestCase): def setUp(self): self.gallery= ImageField(first_name = 'James', last_name ='Muriuki', email ='james@moringaschool.com')
34.333333
110
0.757282
40
309
5.8
0.75
0.086207
0
0
0
0
0
0
0
0
0
0
0.142395
309
8
111
38.625
0.875472
0.074434
0
0
0
0
0.123239
0.080986
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f1d81d59fc0fa54b9569423efa0cf2233d4e0b5b
9,021
py
Python
utils.py
Zxynine/AddinLib
4dc0cb9ee7d37287761d3c430965a1d10a654692
[ "MIT" ]
1
2021-12-31T01:46:54.000Z
2021-12-31T01:46:54.000Z
utils.py
Zxynine/AddinLib
4dc0cb9ee7d37287761d3c430965a1d10a654692
[ "MIT" ]
null
null
null
utils.py
Zxynine/AddinLib
4dc0cb9ee7d37287761d3c430965a1d10a654692
[ "MIT" ]
null
null
null
# Utility functions. # # This file is part of a modified version of thomasa88lib, a library of useful # Fusion 360 add-in/script functions. # # Copyright (c) 2021 ZXYNINE # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Softwa...
38.063291
175
0.739608
1,201
9,021
5.497086
0.349709
0.021812
0.021812
0.007725
0.104211
0.086943
0.058013
0.050439
0.017267
0.017267
0
0.009704
0.120386
9,021
237
176
38.063291
0.822306
0.353841
0
0.095652
0
0
0.018541
0.003812
0
0
0
0
0
1
0.426087
false
0.008696
0.078261
0.217391
0.73913
0.06087
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f1d8ef4b19b2480b3ff84a756ef44e595d01ccbf
263
py
Python
msp430.py
ponyatov/metapy430
1c5c3ed524afcbc84c8312f0bca321afac924d6c
[ "CNRI-Python" ]
null
null
null
msp430.py
ponyatov/metapy430
1c5c3ed524afcbc84c8312f0bca321afac924d6c
[ "CNRI-Python" ]
null
null
null
msp430.py
ponyatov/metapy430
1c5c3ed524afcbc84c8312f0bca321afac924d6c
[ "CNRI-Python" ]
null
null
null
## @file ## @brief @ref msp430 ## @copyright Dmitry Ponyatov <dponyatov@gmail.com> CC-NC-ND ## github: https://github.com/ponyatov/metapy430 from frame import * ## @defgroup msp430 MSP430 ## @brief @ref msp430 ## @ingroup mcu ## @{ print MCU('msp430') ## @}
16.4375
60
0.661597
33
263
5.272727
0.69697
0.091954
0.16092
0
0
0
0
0
0
0
0
0.081081
0.155894
263
15
61
17.533333
0.702703
0.726236
0
0
0
0
0.113208
0
0
0
0
0
0
0
null
null
0
0.5
null
null
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
1
0
3
f1f0765108a88152df321ced7c40d70fda59785f
4,191
py
Python
tests/test_funds_diff_collection.py
MatthiasLohr/bdtsim
f22a1207b206b35c8f0011be6991bc3163cdfca2
[ "Apache-2.0" ]
null
null
null
tests/test_funds_diff_collection.py
MatthiasLohr/bdtsim
f22a1207b206b35c8f0011be6991bc3163cdfca2
[ "Apache-2.0" ]
null
null
null
tests/test_funds_diff_collection.py
MatthiasLohr/bdtsim
f22a1207b206b35c8f0011be6991bc3163cdfca2
[ "Apache-2.0" ]
null
null
null
# This file is part of the Blockchain Data Trading Simulator # https://gitlab.com/MatthiasLohr/bdtsim # # Copyright 2020 Matthias Lohr <mail@mlohr.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the...
44.115789
104
0.680267
450
4,191
6.317778
0.248889
0.422089
0.227928
0.253254
0.679564
0.677453
0.677453
0.631727
0.583187
0.583187
0
0.053878
0.193987
4,191
94
105
44.585106
0.787744
0.159151
0
0.542373
0
0
0.040776
0.037639
0
0
0.037639
0
0.338983
1
0.084746
false
0
0.050847
0
0.152542
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
0
0
0
3
f1fe05f6437e8af40d4010ad7fb7c07ac02a4db8
3,359
py
Python
DjangoBlog/MyBlog/models.py
Mark-ThinkPad/newbie_blog
4e5baf414d9c59c515bc46c6c80b2f8b7ec16fc3
[ "WTFPL" ]
5
2019-10-10T07:49:03.000Z
2021-02-27T14:19:13.000Z
DjangoBlog/MyBlog/models.py
Mark-ThinkPad/newbie_blog
4e5baf414d9c59c515bc46c6c80b2f8b7ec16fc3
[ "WTFPL" ]
null
null
null
DjangoBlog/MyBlog/models.py
Mark-ThinkPad/newbie_blog
4e5baf414d9c59c515bc46c6c80b2f8b7ec16fc3
[ "WTFPL" ]
null
null
null
from django.db import models from django.core.validators import MaxValueValidator, MinValueValidator, URLValidator from django.utils.safestring import mark_safe import codecs import markdown # Author Model # ๆˆ–ไธบๅคšไฝœ่€…้“บ่ทฏ class Author(models.Model): author = models.CharField(max_length=40) def __str__(self): ...
28.226891
93
0.683834
412
3,359
5.415049
0.296117
0.05827
0.064545
0.08606
0.432093
0.365755
0.309278
0.28597
0.247423
0.234872
0
0.012164
0.192319
3,359
118
94
28.466102
0.810173
0.077404
0
0.3
0
0
0.024675
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0.185714
0.928571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7b0c78c50a2591e90ea465f6b6a45d057a57db39
88
py
Python
notebooks/cwd.py
Kortforsyningen/diveg
43994b5c3aefae65a61366a9c7b6a9c9f99fd0e8
[ "MIT" ]
1
2022-02-16T05:21:31.000Z
2022-02-16T05:21:31.000Z
notebooks/cwd.py
Kortforsyningen/diveg
43994b5c3aefae65a61366a9c7b6a9c9f99fd0e8
[ "MIT" ]
null
null
null
notebooks/cwd.py
Kortforsyningen/diveg
43994b5c3aefae65a61366a9c7b6a9c9f99fd0e8
[ "MIT" ]
1
2022-02-01T11:48:10.000Z
2022-02-01T11:48:10.000Z
import pathlib cwd = pathlib.Path(__file__).absolute().parent cwd.mkdir(exist_ok=True)
17.6
46
0.784091
13
88
4.923077
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.079545
88
4
47
22
0.790123
0
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
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
3
7b1c04c5c12a2069d453e34e0e26c37f7376b430
2,012
py
Python
brl_gym/wrapper_envs/__init__.py
gilwoolee/brl_gym
9c0784e9928f12d2ee0528c79a533202d3afb640
[ "BSD-3-Clause" ]
2
2020-08-07T05:50:44.000Z
2022-03-03T08:46:10.000Z
brl_gym/wrapper_envs/__init__.py
gilwoolee/brl_gym
9c0784e9928f12d2ee0528c79a533202d3afb640
[ "BSD-3-Clause" ]
null
null
null
brl_gym/wrapper_envs/__init__.py
gilwoolee/brl_gym
9c0784e9928f12d2ee0528c79a533202d3afb640
[ "BSD-3-Clause" ]
null
null
null
from brl_gym.wrapper_envs.wrapper_env import WrapperEnv from brl_gym.wrapper_envs.bayes_env import BayesEnv from brl_gym.wrapper_envs.explicit_bayes_env import ExplicitBayesEnv # from brl_gym.wrapper_envs.mle_env import MLEEnv # from brl_gym.wrapper_envs.wrapper_tiger import BayesTiger, MLETiger, ExplicitBayesTiger # ...
60.969697
166
0.833996
205
2,012
7.882927
0.35122
0.07797
0.111386
0.189356
0.346535
0.294554
0.091584
0.05198
0
0
0
0.001698
0.121769
2,012
32
167
62.875
0.912847
0.638668
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
7b2f5e95f7a122e6f9dc21741f8263479d295930
199
py
Python
integration_tests/test_list_01.py
akshanshbhatt/lpython
70fef49dbbb6cbb0447f7013231171e5c8b8e5df
[ "BSD-3-Clause" ]
31
2022-01-07T23:56:33.000Z
2022-03-29T16:09:02.000Z
integration_tests/test_list_01.py
akshanshbhatt/lpython
70fef49dbbb6cbb0447f7013231171e5c8b8e5df
[ "BSD-3-Clause" ]
197
2021-12-29T19:01:41.000Z
2022-03-31T15:58:25.000Z
integration_tests/test_list_01.py
akshanshbhatt/lpython
70fef49dbbb6cbb0447f7013231171e5c8b8e5df
[ "BSD-3-Clause" ]
17
2022-01-06T15:34:36.000Z
2022-03-31T13:55:33.000Z
from ltypes import i32 def test_list_i32(): a: list[i32] = [1] a.append(2) a.append(3) a.append(4) a.append(5) print(a[1]) assert a[1] == 2 or a[1] == 3 test_list_i32()
15.307692
33
0.552764
38
199
2.789474
0.447368
0.264151
0.207547
0
0
0
0
0
0
0
0
0.124138
0.271357
199
12
34
16.583333
0.606897
0
0
0
0
0
0
0
0
0
0
0
0.1
1
0.1
true
0
0.1
0
0.2
0.1
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
0
0
0
0
0
3
9e3f4dae7f8db730788b75185e2f485879494139
61
py
Python
ms/helpers/types.py
edcilo/flask_ms_boilerplate
6507b7b7e61ab227df40b4701faab9ec9866e732
[ "MIT" ]
null
null
null
ms/helpers/types.py
edcilo/flask_ms_boilerplate
6507b7b7e61ab227df40b4701faab9ec9866e732
[ "MIT" ]
null
null
null
ms/helpers/types.py
edcilo/flask_ms_boilerplate
6507b7b7e61ab227df40b4701faab9ec9866e732
[ "MIT" ]
null
null
null
from flask import Response response = tuple[Response, int]
12.2
31
0.770492
8
61
5.875
0.75
0
0
0
0
0
0
0
0
0
0
0
0.163934
61
4
32
15.25
0.921569
0
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
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
3
9e4b1808a05a493dd80e346f24eecaab8d4de6dd
2,893
py
Python
classes/class7/class7.py
woolgathering/mus80_tuning
b1cae90340abc2d59f7da5751390061b91f4cea0
[ "CC0-1.0" ]
null
null
null
classes/class7/class7.py
woolgathering/mus80_tuning
b1cae90340abc2d59f7da5751390061b91f4cea0
[ "CC0-1.0" ]
null
null
null
classes/class7/class7.py
woolgathering/mus80_tuning
b1cae90340abc2d59f7da5751390061b91f4cea0
[ "CC0-1.0" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import matplotlib a = [ 0, 38.70968, 77.41935, 116.12903, 154.83871, 193.54839, 212.90323, 232.25806, 270.96774, 309.67742, 348.3871, 387.09677, 406.45161, 425.80645, 464.51613, 503.22581, 541.93548, 580.64516, 619.35484, 658.06452, 696.77419, 716.12903, 735.48387, 77...
103.321429
567
0.794331
433
2,893
5.297921
0.487298
0.006975
0.005231
0.036617
0.170881
0.170881
0
0
0
0
0
0.686246
0.052541
2,893
27
568
107.148148
0.150675
0.035258
0
0
0
0
0.045601
0.012567
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9e5cd4bfe439aed5a1ddc8ff05d0edc8615b2c23
249
py
Python
singermatch/models/MFCC.py
isguoqiang/SingerMatch
e9f68953420dba6c496cece269cc3334fed1e7eb
[ "MIT" ]
null
null
null
singermatch/models/MFCC.py
isguoqiang/SingerMatch
e9f68953420dba6c496cece269cc3334fed1e7eb
[ "MIT" ]
null
null
null
singermatch/models/MFCC.py
isguoqiang/SingerMatch
e9f68953420dba6c496cece269cc3334fed1e7eb
[ "MIT" ]
null
null
null
import numpy as np from sklearn.model_selection import KFold from sklearn.mixture import GaussianMixture from routines import Routines import configparser config = configparser.ConfigParser() config.read('../system.ini') routines = Routines(config)
27.666667
43
0.827309
31
249
6.612903
0.548387
0.107317
0
0
0
0
0
0
0
0
0
0
0.100402
249
9
44
27.666667
0.915179
0
0
0
0
0
0.052
0
0
0
0
0
0
1
0
false
0
0.625
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
9e6cbafc241254e1bc0bff46ac424a61463fff33
1,419
py
Python
most_common_words/py_parser.py
dimbas/most_commmon_words
4afdfeab495fc82bddb0836ae70f9501b3615f24
[ "MIT" ]
null
null
null
most_common_words/py_parser.py
dimbas/most_commmon_words
4afdfeab495fc82bddb0836ae70f9501b3615f24
[ "MIT" ]
null
null
null
most_common_words/py_parser.py
dimbas/most_commmon_words
4afdfeab495fc82bddb0836ae70f9501b3615f24
[ "MIT" ]
null
null
null
import ast import typing as t from pathlib import Path from nltk import pos_tag, word_tokenize from .utils import flat, get_all_files def is_magic_name(name: str) -> bool: return name.startswith('__') and name.endswith('__') def is_function(node: ast.AST): return isinstance(node, (ast.FunctionDef, ast.Asy...
26.277778
93
0.666667
209
1,419
4.363636
0.339713
0.046053
0.055921
0.039474
0.223684
0.223684
0.223684
0.151316
0.083333
0.083333
0
0.000915
0.229739
1,419
53
94
26.773585
0.833486
0.028189
0
0.058824
0
0
0.006536
0
0
0
0
0
0
1
0.235294
false
0.029412
0.147059
0.147059
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9e760825f3f6d13b86417d56ba31226063a063a9
828
py
Python
patientdb.py
tomwright01/EyeReport
ab227190e7efe9af18125d175efd271ee11dbff4
[ "MIT" ]
null
null
null
patientdb.py
tomwright01/EyeReport
ab227190e7efe9af18125d175efd271ee11dbff4
[ "MIT" ]
null
null
null
patientdb.py
tomwright01/EyeReport
ab227190e7efe9af18125d175efd271ee11dbff4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import re from app import create_app, db app=create_app() #LATEX_SUBS = ( # (re.compile(r'\\'), r'\\textbackslash'), # (re.compile(r'([{}_#%&$])'), r'\\\1'), # (re.compile(r'~'), r'\~{}'), # (re.compile(r'\^'), r'\^{}'), # (re.compile(r'"'), r"''"), # (re.compile(...
27.6
51
0.571256
97
828
4.649485
0.381443
0.119734
0.133038
0.146341
0.097561
0.097561
0.097561
0.097561
0.097561
0.097561
0
0.002933
0.176329
828
30
52
27.6
0.658358
0.830918
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
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
9e7da15f6996972c8886ca82b228dc4d9dfdc7a0
166
py
Python
code/python_example/__init__.py
avanov/django-adt-slides
ce2d671786a44053e926921d4c4c93d2a743e745
[ "MIT" ]
1
2021-11-05T23:47:19.000Z
2021-11-05T23:47:19.000Z
code/python_example/__init__.py
avanov/django-adt-slides
ce2d671786a44053e926921d4c4c93d2a743e745
[ "MIT" ]
null
null
null
code/python_example/__init__.py
avanov/django-adt-slides
ce2d671786a44053e926921d4c4c93d2a743e745
[ "MIT" ]
2
2016-12-28T03:14:55.000Z
2021-11-05T23:47:21.000Z
from .types import Language def includeme(config): RULES = {'language': Language} config.add_route('articles.regional.index', '/articles/{language}', RULES)
27.666667
78
0.716867
19
166
6.210526
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.13253
166
5
79
33.2
0.819444
0
0
0
0
0
0.307229
0.138554
0
0
0
0
0
1
0.25
false
0
0.25
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
1
0
0
0
0
0
0
0
3
9e9a699d42452e8f27b360dace93cdcb5d73d2f6
141
py
Python
Cap_10/ex10.7.py
gguilherme42/Livro-de-Python
465a509d50476fd1a87239c71ed741639d58418b
[ "MIT" ]
4
2020-04-07T00:38:46.000Z
2022-03-10T03:34:42.000Z
Cap_10/ex10.7.py
gguilherme42/Livro-de-Python
465a509d50476fd1a87239c71ed741639d58418b
[ "MIT" ]
null
null
null
Cap_10/ex10.7.py
gguilherme42/Livro-de-Python
465a509d50476fd1a87239c71ed741639d58418b
[ "MIT" ]
1
2021-04-22T02:45:38.000Z
2021-04-22T02:45:38.000Z
from Clientes import Cliente from Contas import Conta Maria = Cliente('Maria', '99475-2233') contaM = Conta([Maria], 3, 250) contaM.resumo()
23.5
38
0.737589
20
141
5.2
0.65
0.192308
0
0
0
0
0
0
0
0
0
0.105691
0.12766
141
6
39
23.5
0.739837
0
0
0
0
0
0.105634
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
9ea0b4de66ac913cbee5ecd91c26ba3fdff10e8d
352
py
Python
formsteps/serializers.py
gisce/formsteps
58c8b6f5e146aa24064687b269d251631cdd5798
[ "MIT" ]
2
2018-07-03T22:18:56.000Z
2018-07-26T08:37:03.000Z
formsteps/serializers.py
gisce/formsteps
58c8b6f5e146aa24064687b269d251631cdd5798
[ "MIT" ]
null
null
null
formsteps/serializers.py
gisce/formsteps
58c8b6f5e146aa24064687b269d251631cdd5798
[ "MIT" ]
null
null
null
from marshmallow import Schema, fields class ButtonFormSchema(Schema): label = fields.String(required=True) url = fields.String(required=True) primary = fields.Boolean(default=False) disabled = fields.Boolean(default=False) safe_click = fields.Boolean(default=False, dump_to="safeClick") submit...
35.2
67
0.747159
42
352
6.214286
0.547619
0.199234
0.306513
0.383142
0
0
0
0
0
0
0
0
0.144886
352
10
68
35.2
0.86711
0
0
0
0
0
0.025496
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9eb9b3439ff354e6ed817b96d132908bab1b2774
4,048
py
Python
predict_AZ_LR.py
luzc08/skip-thought
023333994390076dcedf70c96330f86317453197
[ "Apache-2.0" ]
1
2016-06-08T17:38:52.000Z
2016-06-08T17:38:52.000Z
predict_AZ_LR.py
luzc08/skip-thought
023333994390076dcedf70c96330f86317453197
[ "Apache-2.0" ]
null
null
null
predict_AZ_LR.py
luzc08/skip-thought
023333994390076dcedf70c96330f86317453197
[ "Apache-2.0" ]
null
null
null
import numpy as np import skipthoughts from sklearn.linear_model import LogisticRegression #from sklearn.naive_bayes import MultinomialNB #from sklearn.linear_model import SGDClassifier #from sklearn.cross_validation import KFold #from sklearn.utils import shuffle import cPickle as pickle import nltk from nltk.tokenize...
88
1,040
0.772233
567
4,048
5.477954
0.499118
0.017708
0.010947
0.014166
0.01803
0
0
0
0
0
0
0.002392
0.173666
4,048
45
1,041
89.955556
0.926158
0.066947
0
0
0
0.103448
0.758926
0.008322
0
0
0
0
0
0
null
null
0
0.206897
null
null
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
7b40e90fda9338ac362223157db3c0dda1acf29f
318
py
Python
remNthFromEnd.py
itsmesatwik/LeetCodeSolutions
c1901c75ce2c277b92338c6ba645d3e7f85fac79
[ "MIT" ]
null
null
null
remNthFromEnd.py
itsmesatwik/LeetCodeSolutions
c1901c75ce2c277b92338c6ba645d3e7f85fac79
[ "MIT" ]
null
null
null
remNthFromEnd.py
itsmesatwik/LeetCodeSolutions
c1901c75ce2c277b92338c6ba645d3e7f85fac79
[ "MIT" ]
null
null
null
def remnthFromEnd(head, n): iterNode1 = iterNode2 = head for i in range(n): iterNode1 = iterNode1.next if not iterNode1: return head.next while(iterNode1.next): iterNode1 = iterNode1.next iterNode2 = iterNode2.next iterNode2.next = iterNode2.next.next return head
26.5
40
0.650943
37
318
5.594595
0.405405
0.188406
0.21256
0.251208
0
0
0
0
0
0
0
0.051724
0.27044
318
12
41
26.5
0.840517
0
0
0.181818
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
7b530792c362eb19372c42c04b53d9bc076c31b5
2,917
py
Python
dh/__init__.py
killbotlogic/FundamentalsOfSecurity
18adbe779921a1fde60d429bfa519ee220ba4e4e
[ "Unlicense" ]
null
null
null
dh/__init__.py
killbotlogic/FundamentalsOfSecurity
18adbe779921a1fde60d429bfa519ee220ba4e4e
[ "Unlicense" ]
null
null
null
dh/__init__.py
killbotlogic/FundamentalsOfSecurity
18adbe779921a1fde60d429bfa519ee220ba4e4e
[ "Unlicense" ]
null
null
null
from Crypto.Hash import SHA256 from Crypto.Random import random from lib.helpers import read_hex # ed: this is the first file we should fix # Project TODO: Is this the best choice of prime? Why? Why not? Feel free to replace! # 1536 bit safe prime for Diffie-Hellman key exchange # obtained from RFC 3526 raw_prime =...
40.513889
85
0.785053
372
2,917
6.110215
0.623656
0.028157
0.008799
0.028157
0.316762
0.316762
0.316762
0.316762
0.316762
0.316762
0
0.372122
0.181008
2,917
71
86
41.084507
0.579322
0.223517
0
0.27907
0
0
0.743327
0
0
0
0
0.014085
0
1
0.046512
false
0
0.069767
0
0.162791
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
7b5e362570e759b4df60212452b40eb141ad6550
154
py
Python
app/appointment/apps.py
falleng0d/medicar-backend
30bedff54ae84da7a67350852cd508c54e5bf6e7
[ "MIT" ]
null
null
null
app/appointment/apps.py
falleng0d/medicar-backend
30bedff54ae84da7a67350852cd508c54e5bf6e7
[ "MIT" ]
null
null
null
app/appointment/apps.py
falleng0d/medicar-backend
30bedff54ae84da7a67350852cd508c54e5bf6e7
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AppointmentConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'appointment'
22
56
0.772727
17
154
6.882353
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.142857
154
6
57
25.666667
0.886364
0
0
0
0
0
0.25974
0.188312
0
0
0
0
0
1
0
false
0
0.25
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
0
0
1
0
0
3
7b77970417d7f3aac02d04e5580ed431af7baf0d
156
py
Python
app/urls.py
officialtech/Django-Starters
7ae3e144eb6e224f4612a5eb4c135d4fb269e6ad
[ "MIT" ]
null
null
null
app/urls.py
officialtech/Django-Starters
7ae3e144eb6e224f4612a5eb4c135d4fb269e6ad
[ "MIT" ]
null
null
null
app/urls.py
officialtech/Django-Starters
7ae3e144eb6e224f4612a5eb4c135d4fb269e6ad
[ "MIT" ]
1
2021-12-19T04:55:49.000Z
2021-12-19T04:55:49.000Z
# New Everything here from django.urls import path from .views import AppHomePage urlpatterns = [ path('', AppHomePage.as_view(), name='app_home'), ]
19.5
53
0.717949
20
156
5.5
0.8
0
0
0
0
0
0
0
0
0
0
0
0.160256
156
8
54
19.5
0.839695
0.121795
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
7b8b8268e7795e8ff15fc00ae787f48d4bce4b31
1,781
py
Python
src/sage/categories/finite_dimensional_hopf_algebras_with_basis.py
bopopescu/sage-5
9d85b34956ca2edd55af307f99c5d3859acd30bf
[ "BSL-1.0" ]
5
2015-01-04T07:15:06.000Z
2022-03-04T15:15:18.000Z
src/sage/categories/finite_dimensional_hopf_algebras_with_basis.py
bopopescu/sage-5
9d85b34956ca2edd55af307f99c5d3859acd30bf
[ "BSL-1.0" ]
null
null
null
src/sage/categories/finite_dimensional_hopf_algebras_with_basis.py
bopopescu/sage-5
9d85b34956ca2edd55af307f99c5d3859acd30bf
[ "BSL-1.0" ]
10
2016-09-28T13:12:40.000Z
2022-02-12T09:28:34.000Z
r""" Finite dimensional Hopf algebras with basis """ #***************************************************************************** # Copyright (C) 2008 Teresa Gomez-Diaz (CNRS) <Teresa.Gomez-Diaz@univ-mlv.fr> # # Distributed under the terms of the GNU General Public License (GPL) # http://www.gnu.or...
37.893617
144
0.668164
171
1,781
6.883041
0.415205
0.045879
0.067969
0.08921
0.412914
0.412914
0.380629
0.28887
0.28887
0.28887
0
0.002755
0.184728
1,781
46
145
38.717391
0.807851
0.650758
0
0.153846
0
0
0
0
0
0
0
0.021739
0
1
0.076923
false
0.153846
0.230769
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
1
0
0
3
7b97bfbb90ccbc64315ff6f3f568baf6b02895fa
749
py
Python
app/views.py
tiffanystallings/pet-project
9f8cbc806d31027f67b1d4674a817c7e7bd4f873
[ "MIT" ]
null
null
null
app/views.py
tiffanystallings/pet-project
9f8cbc806d31027f67b1d4674a817c7e7bd4f873
[ "MIT" ]
null
null
null
app/views.py
tiffanystallings/pet-project
9f8cbc806d31027f67b1d4674a817c7e7bd4f873
[ "MIT" ]
null
null
null
from flask import Flask from flask import render_template import os app = Flask(__name__) @app.route('/') @app.route('/welcome') def showLanding(): return render_template('index.html') @app.route('/login') def showLogin(): return render_template('login.html') @app.route('/adoptions') def showAdoptions(): ret...
19.205128
56
0.722296
112
749
4.571429
0.366071
0.09375
0.195313
0.058594
0.230469
0
0
0
0
0
0
0.01194
0.105474
749
39
57
19.205128
0.752239
0
0
0
0
0
0.201333
0.029333
0
0
0
0
0
1
0.2
false
0
0.12
0.2
0.52
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
7b99019a94f3ec6023b1519d7f076d437236159a
114
py
Python
blockchain_poc/main.py
jmcph4/blockchain-poc
252b4ce4cd8b23a8b196e154a1091d210b95eb2d
[ "MIT" ]
null
null
null
blockchain_poc/main.py
jmcph4/blockchain-poc
252b4ce4cd8b23a8b196e154a1091d210b95eb2d
[ "MIT" ]
null
null
null
blockchain_poc/main.py
jmcph4/blockchain-poc
252b4ce4cd8b23a8b196e154a1091d210b95eb2d
[ "MIT" ]
null
null
null
from .block import Block from .blockchain import Blockchain if __name__ == "__main__": chain = Blockchain()
16.285714
34
0.72807
13
114
5.769231
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.184211
114
6
35
19
0.806452
0
0
0
0
0
0.070796
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
3
7ba384838dec80b849e3448a4a2aaac4f45b73d4
212
py
Python
backend/app/bug_killer_app/datastore/attributes/bug_resolution_map.py
SeanFitzpatrick0/BugKiller
c7dd328ac539aa75e8a1d908dd35722df4e78ab4
[ "Apache-2.0" ]
null
null
null
backend/app/bug_killer_app/datastore/attributes/bug_resolution_map.py
SeanFitzpatrick0/BugKiller
c7dd328ac539aa75e8a1d908dd35722df4e78ab4
[ "Apache-2.0" ]
null
null
null
backend/app/bug_killer_app/datastore/attributes/bug_resolution_map.py
SeanFitzpatrick0/BugKiller
c7dd328ac539aa75e8a1d908dd35722df4e78ab4
[ "Apache-2.0" ]
null
null
null
from pynamodb.attributes import MapAttribute, UnicodeAttribute, UTCDateTimeAttribute class BugResolutionMapAttribute(MapAttribute): resolver_id = UnicodeAttribute() resolved_on = UTCDateTimeAttribute()
30.285714
84
0.830189
16
212
10.875
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.113208
212
6
85
35.333333
0.925532
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7ba8a36c5411e2a55ccea9bd5b367de3b74c9743
313
py
Python
lwp/authenticators/database.py
cocoy/LXC-Web-Panel
fa0907029057edace3cc029d76b0a48cf52aa516
[ "MIT" ]
237
2015-01-07T14:19:34.000Z
2022-03-12T19:56:52.000Z
lwp/authenticators/database.py
cocoy/LXC-Web-Panel
fa0907029057edace3cc029d76b0a48cf52aa516
[ "MIT" ]
67
2015-01-01T01:08:28.000Z
2019-09-10T21:45:34.000Z
lwp/authenticators/database.py
cocoy/LXC-Web-Panel
fa0907029057edace3cc029d76b0a48cf52aa516
[ "MIT" ]
76
2015-01-06T20:32:32.000Z
2021-06-17T08:20:03.000Z
# -*- coding: utf-8 -*- from lwp.utils import query_db, hash_passwd class database: def authenticate(self, username, password): hash_password = hash_passwd(password) return query_db('select name, username, su from users where username=? and password=?', [username, hash_password], one=True)
34.777778
132
0.709265
41
313
5.268293
0.658537
0.064815
0
0
0
0
0
0
0
0
0
0.003876
0.175719
313
8
133
39.125
0.833333
0.067093
0
0
0
0
0.234483
0
0
0
0
0
0
1
0.2
false
0.8
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
7baff5c5049acf7d4cdba713aeb104b97cd7852d
309
py
Python
src/website/apps/core/tasks.py
rapidsms/rapidsms.org
db871949797150e654a42afe00fc9e8f9fc1559e
[ "Apache-2.0" ]
2
2015-10-09T04:48:55.000Z
2020-05-29T18:33:39.000Z
src/website/apps/core/tasks.py
rapidsms/rapidsms.org
db871949797150e654a42afe00fc9e8f9fc1559e
[ "Apache-2.0" ]
22
2015-09-20T14:00:16.000Z
2021-06-10T20:08:25.000Z
src/website/apps/core/tasks.py
rapidsms/rapidsms.org
db871949797150e654a42afe00fc9e8f9fc1559e
[ "Apache-2.0" ]
6
2015-12-14T21:05:01.000Z
2019-11-02T19:35:24.000Z
from django.core.mail import send_mail from celery import task @task def send_email(subject, message, from_email, recipient_list): """Send email async using a celery worker args: Take sames args as django send_mail function. """ send_mail(subject, message, from_email, recipient_list)
23.769231
61
0.7411
45
309
4.911111
0.511111
0.108597
0.162896
0.208145
0.325792
0.325792
0
0
0
0
0
0
0.187702
309
12
62
25.75
0.880478
0.294498
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
7bbf8607b265b026762aad4945f2617ae6463ddd
570
py
Python
Licence 1/I22/TP 5/tp_5_1.py
axelcoezard/licence
1ed409c4572dea080169171beb7e8571159ba071
[ "MIT" ]
8
2020-11-26T20:45:12.000Z
2021-11-29T15:46:22.000Z
Licence 1/I22/TP 5/tp_5_1.py
axelcoezard/licence
1ed409c4572dea080169171beb7e8571159ba071
[ "MIT" ]
null
null
null
Licence 1/I22/TP 5/tp_5_1.py
axelcoezard/licence
1ed409c4572dea080169171beb7e8571159ba071
[ "MIT" ]
6
2020-10-23T15:29:24.000Z
2021-05-05T19:10:45.000Z
""" LECTURE D'UN FICHIER TEXTE """ """ QUESTION 1 """ with open("texte1", "r+") as f: print(f.read(11), end="\n\n") """ QUESTION 2 """ with open("texte1", "r+") as f: print(f.readline(), end="\n\n") f.readline() print(f.readline(), end="\n\n") """ QUESTION 3 """ with open("texte1", "r+") ...
15.833333
35
0.508772
86
570
3.372093
0.313953
0.137931
0.241379
0.258621
0.634483
0.634483
0.462069
0.462069
0.337931
0.227586
0
0.037037
0.242105
570
35
36
16.285714
0.634259
0.045614
0
0.5
0
0
0.122066
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
c877683c3c213c82fc96f9552fa872196e9517d3
8,310
py
Python
coltrane/views.py
chewable/coltrane-blog
998491ecc7a064a42da2d8419d79a263915d970f
[ "BSD-3-Clause" ]
2
2016-01-22T13:21:10.000Z
2016-05-08T18:44:07.000Z
coltrane/views.py
chewable/coltrane-blog
998491ecc7a064a42da2d8419d79a263915d970f
[ "BSD-3-Clause" ]
1
2018-05-14T06:38:26.000Z
2018-05-14T06:38:26.000Z
coltrane/views.py
mafix/coltrane-blog
fb1818f0af84fa62e9ca29b1138ec938106ca3d6
[ "BSD-3-Clause" ]
null
null
null
import datetime from django.conf import settings from django.shortcuts import get_object_or_404, render_to_response from django.views.generic import date_based, list_detail from coltrane.models import Category def _category_kwarg_helper(category, kwarg_dict): if 'extra_context' in kwarg_dict: kwarg_dict...
37.60181
89
0.609868
964
8,310
5.060166
0.110996
0.061501
0.04182
0.035055
0.798893
0.743132
0.702747
0.694547
0.687372
0.662567
0
0.003123
0.306378
8,310
220
90
37.772727
0.843164
0.494705
0
0.439394
0
0
0.076539
0.04548
0
0
0
0
0
1
0.106061
false
0
0.075758
0
0.287879
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c881c4df2f0d545e679b0a4cdb279e5c814549a5
2,282
py
Python
warp/transpiler/Operation.py
swapnilraj/warp
2fb1fa105fc5c46b2e53790fb0a2f7165b4133a1
[ "Apache-2.0" ]
null
null
null
warp/transpiler/Operation.py
swapnilraj/warp
2fb1fa105fc5c46b2e53790fb0a2f7165b4133a1
[ "Apache-2.0" ]
null
null
null
warp/transpiler/Operation.py
swapnilraj/warp
2fb1fa105fc5c46b2e53790fb0a2f7165b4133a1
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations import abc import os from transpiler.Imports import Imports WARP_ROOT = os.path.abspath(os.path.join(__file__, "../..")) class Operation(abc.ABC): @classmethod def parse_from_words(cls, words: list[str], pos: int) -> tuple(cls, int): """Given a list of words and a c...
29.636364
91
0.64461
296
2,282
4.847973
0.445946
0.039024
0.013937
0
0
0
0
0
0
0
0
0.004113
0.254163
2,282
76
92
30.026316
0.839013
0.369851
0
0.171429
0
0
0.078173
0.05031
0
0
0
0
0
1
0.228571
false
0.057143
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
c8ac773c8b4dab482f67284aaf992c1f30be5e74
256
py
Python
Exercicios - Mundo3/Ex111/teste.py
BrianMath/ExerciciosPythonCeV
4960f1a58d281b32afd5dfd6ea65e0ae5ad48b4f
[ "MIT" ]
null
null
null
Exercicios - Mundo3/Ex111/teste.py
BrianMath/ExerciciosPythonCeV
4960f1a58d281b32afd5dfd6ea65e0ae5ad48b4f
[ "MIT" ]
null
null
null
Exercicios - Mundo3/Ex111/teste.py
BrianMath/ExerciciosPythonCeV
4960f1a58d281b32afd5dfd6ea65e0ae5ad48b4f
[ "MIT" ]
null
null
null
from UtilidadesCeV import moeda preco = float(input("Digite o preรงo: R$")) por100_mais = float(input("Digite a porcentagem de aumento: ")) por100_menos = float(input("Digite a porcentagem de diminuiรงรฃo: ")) moeda.resumo(preco, por100_mais, por100_menos)
32
67
0.761719
36
256
5.305556
0.555556
0.157068
0.251309
0.17801
0.314136
0.314136
0
0
0
0
0
0.053333
0.121094
256
7
68
36.571429
0.795556
0
0
0
0
0
0.339844
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
0
0
0
3
c8d0569a05f0b8175d0cdaa58b71906613de5881
891
py
Python
src/strategy_sim/ledger.py
dgrisham/strategy-sim
c5e514b5b88ca14325bccca04a6d99d0ed3c8846
[ "MIT" ]
null
null
null
src/strategy_sim/ledger.py
dgrisham/strategy-sim
c5e514b5b88ca14325bccca04a6d99d0ed3c8846
[ "MIT" ]
null
null
null
src/strategy_sim/ledger.py
dgrisham/strategy-sim
c5e514b5b88ca14325bccca04a6d99d0ed3c8846
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from copy import deepcopy import numpy as np class Ledger: def __init__(self, recv_from, sent_to): self.recv_from = recv_from self.sent_to = sent_to def __eq__(self, other): return self.recv_from == other.recv_from and self.sent_to == o...
25.457143
82
0.62514
129
891
4.03876
0.325581
0.122841
0.115163
0.06142
0.387716
0.318618
0.230326
0.230326
0.230326
0.230326
0
0.015038
0.253648
891
34
83
26.205882
0.768421
0.04826
0
0.181818
0
0
0.021277
0
0
0
0
0
0
1
0.318182
false
0
0.090909
0.181818
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c8d88b88e10418eef819412bab69448d1cd3af0c
382
py
Python
run_all.py
pernici/hobj
ccd3e49dd3c7eaf656de9b3f8f041c687f824be6
[ "BSD-3-Clause" ]
1
2020-04-18T18:33:27.000Z
2020-04-18T18:33:27.000Z
run_all.py
pernici/hobj
ccd3e49dd3c7eaf656de9b3f8f041c687f824be6
[ "BSD-3-Clause" ]
null
null
null
run_all.py
pernici/hobj
ccd3e49dd3c7eaf656de9b3f8f041c687f824be6
[ "BSD-3-Clause" ]
null
null
null
import os pyt = 'python' #pyt = 'python3' os.system('cd tests; %s test_hobj.py' % pyt) os.system('cd tests; %s test_active_nodes.py' % pyt) os.system('cd bench; %s bench.py' % pyt) os.system('cd examples; %s d40nano.py 4' % pyt) os.system('cd examples; %s ms_sqnp.py 12 12' % pyt) os.system('cd examples; %s rand_reg6....
27.285714
52
0.664921
73
382
3.39726
0.356164
0.225806
0.282258
0.314516
0.604839
0.516129
0
0
0
0
0
0.033951
0.151832
382
13
53
29.384615
0.731481
0.039267
0
0
0
0
0.557692
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
0
0
0
3
c8e9a79fc426a5209f73b02a9daa1640f4fcf6e6
389
py
Python
ssddj/ssdfrontend/templatetags/maxlunsize.py
sachinkagarwal/saturnring
8fc6d9e0525ea72536102a17b0b5febed63e22ae
[ "BSD-3-Clause" ]
3
2016-01-24T14:44:06.000Z
2017-10-10T15:26:15.000Z
ssddj/ssdfrontend/templatetags/maxlunsize.py
Acidburn0zzz/saturnring
5dfb62480e6e8bbae1714274a58b07ac4303138f
[ "BSD-3-Clause" ]
1
2015-04-16T17:27:24.000Z
2015-04-16T17:27:24.000Z
ssddj/ssdfrontend/templatetags/maxlunsize.py
Acidburn0zzz/saturnring
5dfb62480e6e8bbae1714274a58b07ac4303138f
[ "BSD-3-Clause" ]
6
2015-04-17T19:06:15.000Z
2019-02-15T19:08:34.000Z
from django import template from ssdfrontend.models import Target from ssdfrontend.models import User from utils.configreader import ConfigReader register = template.Library() @register.simple_tag def get_maxlunsize(theuser): try: user = User.objects.get(username=theuser) return str(user.profile....
24.3125
58
0.742931
48
389
5.9375
0.625
0.105263
0.147368
0.189474
0
0
0
0
0
0
0
0
0.182519
389
15
59
25.933333
0.896226
0
0
0
0
0
0.036082
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.583333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
cdad1b6f869bb97feb3f777ba20227370270beed
139
py
Python
claf/machine/__init__.py
GMDennis/claf
d1e064e593127e5d654f000f5506c5ae1caab5ce
[ "MIT" ]
225
2019-02-27T06:22:09.000Z
2022-03-05T23:19:59.000Z
claf/machine/__init__.py
GMDennis/claf
d1e064e593127e5d654f000f5506c5ae1caab5ce
[ "MIT" ]
25
2019-03-08T05:04:24.000Z
2021-09-02T07:19:27.000Z
claf/machine/__init__.py
GMDennis/claf
d1e064e593127e5d654f000f5506c5ae1caab5ce
[ "MIT" ]
41
2019-02-27T16:09:30.000Z
2022-02-09T15:56:09.000Z
from claf.machine.open_qa import OpenQA from claf.machine.nlu import NLU # fmt: off __all__ = [ "OpenQA", "NLU", ] # fmt: on
9.266667
39
0.633094
20
139
4.15
0.6
0.192771
0.361446
0
0
0
0
0
0
0
0
0
0.244604
139
14
40
9.928571
0.790476
0.115108
0
0
0
0
0.07563
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cdb9e4a6b327d41db5e7f8b39f190878a844cd8d
239
py
Python
week4/for_loops.py
dpleshkov/programming-class
48d3ea6adce07aa3a192f1c56c3ee01ad9dff811
[ "MIT" ]
1
2019-09-15T05:32:20.000Z
2019-09-15T05:32:20.000Z
week4/for_loops.py
dpleshkov/programming-class
48d3ea6adce07aa3a192f1c56c3ee01ad9dff811
[ "MIT" ]
null
null
null
week4/for_loops.py
dpleshkov/programming-class
48d3ea6adce07aa3a192f1c56c3ee01ad9dff811
[ "MIT" ]
2
2019-09-28T17:30:15.000Z
2019-10-04T20:40:58.000Z
#Array of numbers numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] #Prints out every number in array for number in numbers: print(number) print('') #Adds 1 to every number in array for number in numbers: number += 20 print(number)
15.933333
40
0.644351
42
239
3.666667
0.547619
0.207792
0.168831
0.233766
0.467532
0.467532
0.467532
0.467532
0
0
0
0.071823
0.242678
239
15
41
15.933333
0.779006
0.330544
0
0.571429
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
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
0
0
0
0
0
1
0
3
cdc0a60a94a890211747af8ca8d9ed46dd2a5e6b
1,367
py
Python
generate_config.py
qmlab/ethos-monitor
d1da93c67c6dbb32398bd1bbf77716a7981f6dba
[ "Unlicense" ]
2
2018-07-21T06:02:47.000Z
2019-03-10T13:46:47.000Z
generate_config.py
qmlab/ethos-monitor
d1da93c67c6dbb32398bd1bbf77716a7981f6dba
[ "Unlicense" ]
null
null
null
generate_config.py
qmlab/ethos-monitor
d1da93c67c6dbb32398bd1bbf77716a7981f6dba
[ "Unlicense" ]
null
null
null
from generate import update_one import json if __name__ == '__main__': data = {} useEmail = input('Use Email (True/False)?') update_one(data, 'UseEmail', useEmail) if bool(useEmail): update_one(data, 'EmailServer', input('EmailServer (example: smtp.gmail.com:587):')) update_one(data, 'E...
44.096774
110
0.661302
168
1,367
5.238095
0.39881
0.163636
0.221591
0.061364
0.138636
0
0
0
0
0
0
0.002671
0.178493
1,367
30
111
45.566667
0.780944
0
0
0
1
0
0.392387
0.016837
0
0
0
0
0
1
0
false
0.076923
0.076923
0
0.076923
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
cde7c8f21d147396a23b5cdea342bf000de1a919
858
py
Python
tests/test_string.py
arnu515/pydash
3e26e2f9f4f80c8492897e77e83ccfe61c39e809
[ "MIT" ]
null
null
null
tests/test_string.py
arnu515/pydash
3e26e2f9f4f80c8492897e77e83ccfe61c39e809
[ "MIT" ]
null
null
null
tests/test_string.py
arnu515/pydash
3e26e2f9f4f80c8492897e77e83ccfe61c39e809
[ "MIT" ]
null
null
null
import unittest from pydash import PyDash class Test(unittest.TestCase): def test_lower_method(self): self.assertEqual(PyDash.lower("TEST"), "test") self.assertNotEqual(PyDash.lower("test"), "TEST") def test_upper_method(self): self.assertEqual(PyDash.upper("test"), "TEST") s...
37.304348
115
0.681818
104
858
5.548077
0.269231
0.048527
0.097054
0.17331
0.658579
0.343154
0.138648
0
0
0
0
0
0.185315
858
22
116
39
0.825465
0
0
0
0
0
0.272727
0.053613
0
0
0
0
0.5
1
0.25
false
0
0.125
0
0.4375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
3
cdf58d14a06b40520fb4e6edaa48d6c1a15e46bb
243
py
Python
hipotenusa.py
viniciusm0raes/python
c4d4f1a08d1e4de105109e1f67fae9fcc20d7fce
[ "MIT" ]
null
null
null
hipotenusa.py
viniciusm0raes/python
c4d4f1a08d1e4de105109e1f67fae9fcc20d7fce
[ "MIT" ]
null
null
null
hipotenusa.py
viniciusm0raes/python
c4d4f1a08d1e4de105109e1f67fae9fcc20d7fce
[ "MIT" ]
null
null
null
import math cata = eval(input("informe o cateto adjacente: ")) cato = eval(input("informe o cateto oposto: ")) hipotenusa = math.sqrt(math.pow(cata,2) + math.pow(cato,2)) print("A hipotenusa do triรขngulo รฉ igual a: ", round(hipotenusa, 2))
27
68
0.703704
38
243
4.5
0.578947
0.105263
0.187135
0.19883
0.269006
0
0
0
0
0
0
0.014354
0.139918
243
9
68
27
0.803828
0
0
0
0
0
0.368852
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
0
0
0
3
cdfd1dd02084912e05c961173861845d5118be3e
9,217
py
Python
tests/test_sme.py
kulkarni62sushil/wittgenstein
2ae19222b80cf24467b3693da9b2b4909033a695
[ "MIT" ]
null
null
null
tests/test_sme.py
kulkarni62sushil/wittgenstein
2ae19222b80cf24467b3693da9b2b4909033a695
[ "MIT" ]
null
null
null
tests/test_sme.py
kulkarni62sushil/wittgenstein
2ae19222b80cf24467b3693da9b2b4909033a695
[ "MIT" ]
null
null
null
from copy import deepcopy import os import pytest import pandas as pd from wittgenstein.irep import IREP from wittgenstein.ripper import RIPPER from wittgenstein.base import Ruleset, ruleset_fromstr, rule_fromstr DF = pd.read_csv("mushroom.csv") class_feat = "Poisonous/Edible" pos_class = "p" original_ruleset_str = ...
32.454225
163
0.68276
1,365
9,217
4.304029
0.093773
0.058213
0.017021
0.014298
0.771404
0.736511
0.717277
0.664851
0.627234
0.609191
0
0.032422
0.190192
9,217
283
164
32.568905
0.754689
0.030921
0
0.471429
0
0.019048
0.107201
0.032299
0
0
0
0
0.257143
1
0.042857
false
0
0.033333
0
0.07619
0.042857
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b561eac07fa31a6058a1e3a3e2c7d0b63a9f7aee
1,391
py
Python
app/tool_results/microbe_directory/__init__.py
MetaGenScope/metagenscope-server
609cd57c626c857c8efde8237a1f22f4d1e6065d
[ "MIT" ]
null
null
null
app/tool_results/microbe_directory/__init__.py
MetaGenScope/metagenscope-server
609cd57c626c857c8efde8237a1f22f4d1e6065d
[ "MIT" ]
null
null
null
app/tool_results/microbe_directory/__init__.py
MetaGenScope/metagenscope-server
609cd57c626c857c8efde8237a1f22f4d1e6065d
[ "MIT" ]
null
null
null
"""Microbe Directory tool module.""" from app.extensions import mongoDB from app.tool_results.modules import SampleToolResultModule from app.tool_results.models import ToolResult class MicrobeDirectoryToolResult(ToolResult): # pylint: disable=too-few-public-methods """Microbe Directory result type.""" #...
37.594595
90
0.764917
141
1,391
7.439716
0.425532
0.199237
0.283127
0.325072
0.250715
0.06101
0
0
0
0
0
0
0.148814
1,391
36
91
38.638889
0.88598
0.183321
0
0.090909
0
0
0.023445
0.023445
0
0
0
0
0
1
0.090909
false
0
0.136364
0
0.909091
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b565e0e0006ab59b99bd758a09e695a9779ee738
1,329
py
Python
cuppak/component/__init__.py
TechPriestJon/CuppaK
ba3ef1b01bebbc617e793bf9b558fbfbfd6bfcba
[ "BSD-3-Clause" ]
null
null
null
cuppak/component/__init__.py
TechPriestJon/CuppaK
ba3ef1b01bebbc617e793bf9b558fbfbfd6bfcba
[ "BSD-3-Clause" ]
null
null
null
cuppak/component/__init__.py
TechPriestJon/CuppaK
ba3ef1b01bebbc617e793bf9b558fbfbfd6bfcba
[ "BSD-3-Clause" ]
null
null
null
from cuppak.component.frame import Frame from cuppak.component.multiline_frame import MultilineFrame from cuppak.component.dynamic_label_frame import DynamicLabelFrame from cuppak.component.text_entry_frame import TextEntryFrame from cuppak.component.slider_frame import SliderFrame from cuppak.component.integer_slider_...
63.285714
95
0.844996
136
1,329
8.058824
0.272059
0.145985
0.277372
0.05292
0
0
0
0
0
0
0
0
0.091046
1,329
21
95
63.285714
0.907285
0
0
0
0
0
0.173684
0.033083
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b5668bffd6f44911ef84f73f5400cbcc955b557b
3,760
py
Python
rus_rule_based_insult_classifier/core.py
kudep/rus_rule_based_insult_classifier
76fed44aacb5047702f0842a8ca9a2e8212b7f40
[ "Apache-2.0" ]
null
null
null
rus_rule_based_insult_classifier/core.py
kudep/rus_rule_based_insult_classifier
76fed44aacb5047702f0842a8ca9a2e8212b7f40
[ "Apache-2.0" ]
null
null
null
rus_rule_based_insult_classifier/core.py
kudep/rus_rule_based_insult_classifier
76fed44aacb5047702f0842a8ca9a2e8212b7f40
[ "Apache-2.0" ]
1
2020-09-26T05:35:07.000Z
2020-09-26T05:35:07.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- import json import re import pathlib import pymorphy2 dataset_dir = pathlib.Path(__file__).parent / "dataset" PATTERN_1 = r"".join( ( r"\w{0,5}[ั…x]([ั…x\s\!@#\$%\^&*+-\|\/]{0,6})", r"[ัƒy]([ัƒy\s\!@#\$%\^&*+-\|\/]{0,6})[ั‘iะปeะตัŽะธะนั]\w{0,7}|\w{0,6}[ะฟp]", ...
43.72093
153
0.446543
626
3,760
2.618211
0.295527
0.029286
0.036608
0.031727
0.300183
0.195851
0.156193
0.029896
0.029896
0.023185
0
0.03972
0.163032
3,760
85
154
44.235294
0.481093
0.010372
0
0.054795
0
0.287671
0.534552
0.520301
0
0
0
0
0
1
0.013699
false
0
0.054795
0
0.09589
0
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
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b5731dc2532c957febfdc1543ae42603d5242e46
326
py
Python
emacs_remote/emacs_remote/messages/__init__.py
antoniojkim/emacs-remote
0632ba9b0dc306b0f5e6690090672fc24a5d290a
[ "MIT" ]
1
2021-11-03T21:00:29.000Z
2021-11-03T21:00:29.000Z
emacs_remote/emacs_remote/messages/__init__.py
antoniojkim/emacs-remote
0632ba9b0dc306b0f5e6690090672fc24a5d290a
[ "MIT" ]
null
null
null
emacs_remote/emacs_remote/messages/__init__.py
antoniojkim/emacs-remote
0632ba9b0dc306b0f5e6690090672fc24a5d290a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from .message import Request, Response from .registry import MessageTypeRegistry # Message Types from .shell_request import ShellRequest, ShellResponse from .terminate_request import ( ServerTerminateRequest, ServerTerminateResponse, ClientTerminateRequest, ClientTerminateRespon...
23.285714
54
0.803681
29
326
8.965517
0.689655
0.1
0
0
0
0
0
0
0
0
0
0.003571
0.141104
326
13
55
25.076923
0.925
0.107362
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.444444
0
0.444444
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
0
0
0
0
3
b57b3ee2536d910b4197da10d241ab9d36add473
262
py
Python
Combinatorics/Distributions/GeometricDistribution.py
SymmetricChaos/FiniteFields
65258e06b7f04ce15223c1bc0c2384ef5e9cec1a
[ "MIT" ]
1
2021-08-22T15:03:59.000Z
2021-08-22T15:03:59.000Z
Combinatorics/Distributions/GeometricDistribution.py
SymmetricChaos/NumberTheory
65258e06b7f04ce15223c1bc0c2384ef5e9cec1a
[ "MIT" ]
null
null
null
Combinatorics/Distributions/GeometricDistribution.py
SymmetricChaos/NumberTheory
65258e06b7f04ce15223c1bc0c2384ef5e9cec1a
[ "MIT" ]
null
null
null
def geometric_eq(p,k): return (1-p)**k*p class GeometricDist: def __init__(self,p): self.p = p self.mean = (1-p)/p self.var = (1-p)/p**2 def __getitem__(self,k): return geometric_eq(self.p,k)
18.714286
37
0.503817
40
262
3.05
0.375
0.04918
0.098361
0
0
0
0
0
0
0
0
0.023392
0.347328
262
14
37
18.714286
0.690058
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.222222
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b58da334c03adf17ce4f0675e20431800dc33140
759
py
Python
models/event_simulation/event_calendar.py
Tomas-Tamantini/discrete-event-sim
d06a7ff375a071035870f6935c6529c006f82613
[ "MIT" ]
null
null
null
models/event_simulation/event_calendar.py
Tomas-Tamantini/discrete-event-sim
d06a7ff375a071035870f6935c6529c006f82613
[ "MIT" ]
null
null
null
models/event_simulation/event_calendar.py
Tomas-Tamantini/discrete-event-sim
d06a7ff375a071035870f6935c6529c006f82613
[ "MIT" ]
null
null
null
from bisect import insort from typing import Optional from .event import Event class EventCalendar: def __init__(self): self.__scheduled_events = [] def schedule(self, event: Event) -> None: insort(self.__scheduled_events, event) def pop_event(self) -> Event: if self.is_empty: ...
24.483871
71
0.662714
92
759
5.173913
0.380435
0.136555
0.19958
0.054622
0
0
0
0
0
0
0
0.005291
0.252964
759
30
72
25.3
0.834215
0
0
0.181818
0
0
0.039526
0
0
0
0
0
0
1
0.227273
false
0.045455
0.136364
0.045455
0.636364
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a91019f4d45c92772b10d6447291ca751a8751e9
190
py
Python
Python/URI PROBLEMAS/1006 media 2.py
guimaraesalves/material-python
d56b6b24ae35a67d394b43cb1ef4420805c7bd9b
[ "MIT" ]
null
null
null
Python/URI PROBLEMAS/1006 media 2.py
guimaraesalves/material-python
d56b6b24ae35a67d394b43cb1ef4420805c7bd9b
[ "MIT" ]
null
null
null
Python/URI PROBLEMAS/1006 media 2.py
guimaraesalves/material-python
d56b6b24ae35a67d394b43cb1ef4420805c7bd9b
[ "MIT" ]
null
null
null
prova1 = float ( input()) prova2 = float ( input ()) prova3 = float (input ()) media = (((prova1 * 2.0) + (prova2 * 3.0) + (prova3 * 5.0)) / 10 ) print("MEDIA = %0.1F" % media )
23.75
72
0.510526
25
190
3.88
0.52
0.309278
0
0
0
0
0
0
0
0
0
0.114286
0.263158
190
7
73
27.142857
0.578571
0
0
0
0
0
0.068421
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
0
0
3
a913703044d02511b2e46bc230cb1993ad39a228
11,360
py
Python
matrix/Parser.py
varkenvarken/Matrix
187a704133ed83b28cfda66157b44b7f3e3499d8
[ "MIT" ]
null
null
null
matrix/Parser.py
varkenvarken/Matrix
187a704133ed83b28cfda66157b44b7f3e3499d8
[ "MIT" ]
null
null
null
matrix/Parser.py
varkenvarken/Matrix
187a704133ed83b28cfda66157b44b7f3e3499d8
[ "MIT" ]
null
null
null
# Matrix, a simple programming language # (c) 2022 Michel Anders # License: MIT, see License.md # Version: 20220319110719 from operator import index from sys import stderr from sly import Parser from .Lexer import MatrixLexer from .Node import ParseNode class MatrixParser(Parser): # debugfile = "parser.out" ...
26.235566
102
0.546303
1,349
11,360
4.525575
0.140845
0.054873
0.10991
0.170352
0.592793
0.497789
0.386568
0.322359
0.27371
0.181982
0
0.01733
0.299032
11,360
432
103
26.296296
0.749341
0.077553
0
0.403846
0
0
0.216475
0.006322
0
0
0
0
0.00641
1
0.221154
false
0.009615
0.016026
0.195513
0.451923
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
a91c11ceb62983b29b9ae82173297b439237822e
413
py
Python
Nightmare/StackBufferOverflow/win.py
ryanvillarreal/ROP
f7e5b156bef2374b0ea2eb9670d6f0848c591903
[ "Apache-2.0" ]
null
null
null
Nightmare/StackBufferOverflow/win.py
ryanvillarreal/ROP
f7e5b156bef2374b0ea2eb9670d6f0848c591903
[ "Apache-2.0" ]
null
null
null
Nightmare/StackBufferOverflow/win.py
ryanvillarreal/ROP
f7e5b156bef2374b0ea2eb9670d6f0848c591903
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python from pwn import * # setup for the binary target = process('./pwn1') # get shit, send shit #print target.recvline() #print target.recvline() target.sendline('Sir Lancelot of Camelot') #print target.recvline() target.sendline('To seek the Holy Grail.') print target.recvline() target.sendline(cyclic(1...
18.772727
42
0.738499
60
413
5.066667
0.583333
0.144737
0.25
0.246711
0.325658
0
0
0
0
0
0
0.01108
0.125908
413
21
43
19.666667
0.831025
0.35109
0
0
0
0
0.199234
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.222222
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
a9547c28966d5f3c1f9ccbf66f55b514f1e7300d
801
py
Python
framelanguage/slot.py
marks6i/FRL
d63ee489a5d5c5a568691266234144125468acc9
[ "MIT" ]
null
null
null
framelanguage/slot.py
marks6i/FRL
d63ee489a5d5c5a568691266234144125468acc9
[ "MIT" ]
null
null
null
framelanguage/slot.py
marks6i/FRL
d63ee489a5d5c5a568691266234144125468acc9
[ "MIT" ]
null
null
null
from collections.abc import MutableMapping class Slot(MutableMapping): def __init__(self, name, data=()): self.name = name self.facets = {} self.update(data) def __repr__(self): return f"{type(self).__name__}('{self.name}',{self.facets})" def __getitem__(self, facet): ...
19.071429
68
0.606742
95
801
4.757895
0.326316
0.176991
0.086283
0.079646
0
0
0
0
0
0
0
0
0.259675
801
41
69
19.536585
0.762226
0
0
0
0
0
0.087391
0.062422
0
0
0
0
0
1
0.391304
false
0
0.043478
0.26087
0.73913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a9966311730c49379a671367056a4dfbc85950c5
139
py
Python
fcos_core/layers/mask_prob.py
Davidnet/EmbedMask
7f9082cdfc0ec41e4bdb86fff50008f99abd2c7e
[ "MIT" ]
181
2019-12-04T13:57:01.000Z
2022-01-07T01:53:48.000Z
fcos_core/layers/mask_prob.py
Davidnet/EmbedMask
7f9082cdfc0ec41e4bdb86fff50008f99abd2c7e
[ "MIT" ]
18
2019-12-10T14:25:28.000Z
2021-07-13T07:29:38.000Z
fcos_core/layers/mask_prob.py
Davidnet/EmbedMask
7f9082cdfc0ec41e4bdb86fff50008f99abd2c7e
[ "MIT" ]
19
2019-12-06T19:24:11.000Z
2022-01-20T03:27:17.000Z
# import torch # from torch import nn # from torch.autograd import Function from fcos_core import _C mask_prob_cuda = _C.maskprob_forward
19.857143
37
0.805755
22
139
4.818182
0.636364
0.169811
0
0
0
0
0
0
0
0
0
0
0.151079
139
7
38
19.857143
0.898305
0.496403
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
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
3
8d3597b93331dae41f10b7c015379b8101d3bfce
9,575
py
Python
v1/backend/src/rankings/filters.py
avgupta456/statbotics
8847cec161104ec54f4c501653cd4ec558d30379
[ "MIT" ]
14
2020-05-28T21:54:45.000Z
2022-03-17T19:39:23.000Z
v1/backend/src/rankings/filters.py
avgupta456/statbotics
8847cec161104ec54f4c501653cd4ec558d30379
[ "MIT" ]
59
2020-05-28T21:39:45.000Z
2022-03-25T23:51:39.000Z
backend/src/rankings/filters.py
statbotics/statbotics
37bb0e3730d5b3aff7b6a5ba6e78ef2eada950bc
[ "MIT" ]
1
2020-07-04T07:30:40.000Z
2020-07-04T07:30:40.000Z
# type: ignore import django_filters from .models import Event, Match, Team, TeamEvent, TeamMatch, TeamYear, Year def get_year(queryset, field_name, value): if value: return queryset.filter(year=value) return queryset def get_team(queryset, field_name, value): if value: return queryset...
32.239057
84
0.584021
1,058
9,575
5.007561
0.08034
0.122688
0.071725
0.098528
0.802001
0.726123
0.700642
0.690827
0.670064
0.576821
0
0.006815
0.264439
9,575
296
85
32.347973
0.745421
0.001253
0
0.605809
0
0
0.183767
0
0
0
0
0
0
1
0.049793
false
0
0.008299
0
0.390041
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8d3e1d8ea19b4b2e985d575e84e85f6535832760
231
py
Python
main.py
dilllll/xueshu_spider
48e35e2a5581cc2bb9864ef01cec7dffe9ba5e74
[ "MIT" ]
6
2018-07-05T06:17:17.000Z
2021-05-12T09:09:05.000Z
main.py
dilllll/xueshu_spider
48e35e2a5581cc2bb9864ef01cec7dffe9ba5e74
[ "MIT" ]
4
2020-10-27T21:18:53.000Z
2022-03-02T14:55:28.000Z
main.py
dilllll/xueshu_spider
48e35e2a5581cc2bb9864ef01cec7dffe9ba5e74
[ "MIT" ]
3
2019-11-15T12:45:38.000Z
2020-11-24T03:13:14.000Z
""" @Author : dilless @Time : 2018/6/23 1:01 @File : main.py """ import os import sys from scrapy.cmdline import execute sys.path.append(os.path.dirname(os.path.abspath(__file__))) execute(['scrapy', 'crawl', 'xueshu'])
15.4
59
0.670996
34
231
4.441176
0.705882
0.07947
0
0
0
0
0
0
0
0
0
0.05102
0.151515
231
14
60
16.5
0.719388
0.272727
0
0
0
0
0.106918
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
8d3fbac1ddac01c6fbda83bf8594e3a0046aad1f
403
py
Python
Leetcode/468. Validate IP Address/solution1.py
asanoviskhak/Outtalent
c500e8ad498f76d57eb87a9776a04af7bdda913d
[ "MIT" ]
51
2020-07-12T21:27:47.000Z
2022-02-11T19:25:36.000Z
Leetcode/468. Validate IP Address/solution1.py
CrazySquirrel/Outtalent
8a10b23335d8e9f080e5c39715b38bcc2916ff00
[ "MIT" ]
null
null
null
Leetcode/468. Validate IP Address/solution1.py
CrazySquirrel/Outtalent
8a10b23335d8e9f080e5c39715b38bcc2916ff00
[ "MIT" ]
32
2020-07-27T13:54:24.000Z
2021-12-25T18:12:50.000Z
import re IPv4 = re.compile('^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$') IPv6 = re.compile('^((([0-9A-Fa-f]{1,4}:){1,6}:)|(([0-9A-Fa-f]{1,4}:){7}))([0-9A-Fa-f]{1,4})$') class Solution: def validIPAddress(self, IP: str) -> str: if IPv4.match(I...
40.3
126
0.498759
88
403
2.284091
0.329545
0.079602
0.059701
0.089552
0.308458
0.308458
0.189055
0.189055
0.189055
0.189055
0
0.172414
0.136476
403
10
127
40.3
0.405172
0
0
0
0
0.25
0.480198
0.443069
0
0
0
0
0
1
0.125
false
0
0.125
0
0.5
0
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
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8d59738b552c9f1a1736879f7d48308f4fd0cbcb
156
py
Python
lang/py/cookbook/v2/source/cb2_1_23_exm_3.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_1_23_exm_3.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_1_23_exm_3.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
<li>&agrave; (a + grave) <li>&ccedil; (c + cedilla) <li>&eacute; (e + acute) ## ... <li>&pound; (British pound) <li>&euro; (Euro) <li>&infin; (infinity)
19.5
27
0.564103
22
156
4
0.681818
0
0
0
0
0
0
0
0
0
0
0
0.153846
156
7
28
22.285714
0.666667
0.019231
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
8d66a379c02ffc03ae5c6be04058acede4d305b4
40,996
py
Python
datasets/Datasets.py
StanLei52/AQVSR
f80996d698f680cb65e26a3f0651116f24973c73
[ "MIT" ]
14
2021-12-01T02:16:29.000Z
2022-03-16T03:54:23.000Z
datasets/Datasets.py
StanLei52/AQVSR
f80996d698f680cb65e26a3f0651116f24973c73
[ "MIT" ]
null
null
null
datasets/Datasets.py
StanLei52/AQVSR
f80996d698f680cb65e26a3f0651116f24973c73
[ "MIT" ]
null
null
null
""" Dataset for clip model """ import os import logging import copy import torch from torch.utils.data import Dataset, DataLoader import numpy as np import time import math import random import h5py from tqdm import tqdm from easydict import EasyDict as edict import sys sys.path.append(".") from AQVSR.utils.basic_utils...
44.609358
189
0.633598
5,570
40,996
4.247756
0.057451
0.040575
0.027895
0.012933
0.798774
0.758453
0.722274
0.683601
0.642477
0.625782
0
0.010924
0.269807
40,996
919
190
44.609358
0.779455
0.229217
0
0.597956
0
0
0.079413
0.012182
0
0
0
0
0.006814
1
0.037479
false
0.001704
0.02385
0.008518
0.098808
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8d6b98e73a0d520d3431b4b7518e1d6ebb562574
1,576
py
Python
sarif_state.py
GrammaTech/github-sarif-integration
46a7e324ed78e76a3a7bb93adbe66e155177927b
[ "MIT" ]
2
2020-11-06T23:33:02.000Z
2021-10-10T14:03:10.000Z
sarif_state.py
GrammaTech/github-sarif-integration
46a7e324ed78e76a3a7bb93adbe66e155177927b
[ "MIT" ]
null
null
null
sarif_state.py
GrammaTech/github-sarif-integration
46a7e324ed78e76a3a7bb93adbe66e155177927b
[ "MIT" ]
2
2020-09-30T09:43:26.000Z
2020-11-06T23:33:13.000Z
# The base class for application-specific states. class SarifState(object): def __init__(self): self.parser = None self.ppass = 1 # Taking the easy way out. # We need something in case a descendent wants to trigger # on change to ppass. def set_ppass(self, ppass): self.ppas...
31.52
67
0.713198
208
1,576
5.105769
0.346154
0.084746
0.084746
0.071563
0.352166
0.20339
0.20339
0.20339
0.105461
0
0
0.002425
0.215102
1,576
49
68
32.163265
0.856103
0.182107
0
0
0
0
0.144418
0.12178
0
0
0
0
0
1
0.464286
false
0.178571
0
0.071429
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
8d741313b426fc498f7330b1d87cff3b4137233c
689,871
py
Python
oblivion/numeric_constants.py
kamadorueda/oblivion
f8e9814ca5e1db50074fca7f41420614db0ec93b
[ "MIT" ]
null
null
null
oblivion/numeric_constants.py
kamadorueda/oblivion
f8e9814ca5e1db50074fca7f41420614db0ec93b
[ "MIT" ]
null
null
null
oblivion/numeric_constants.py
kamadorueda/oblivion
f8e9814ca5e1db50074fca7f41420614db0ec93b
[ "MIT" ]
null
null
null
# Standard imports from typing import Tuple # pylint: disable=too-many-lines # Primes up to 4 ** 8 * 16 (1048576) PRIMES: Tuple[int, ...] = ( 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, ...
67.219234
75
0.702675
82,046
689,871
5.908332
0.999976
0
0
0
0
0
0
0
0
0
0
0.855096
0.178394
689,871
10,262
76
67.225784
0.00015
0.000119
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.000097
0
0.000097
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8d86bb87c69fa28fe4c7624f845e81f057bc1f5e
2,484
py
Python
Alexnet/Learning/evaluators.py
sunshower76/Paper-Implementation
065ad12fd02f50df6b33a68f2e7766d1e4808712
[ "MIT" ]
null
null
null
Alexnet/Learning/evaluators.py
sunshower76/Paper-Implementation
065ad12fd02f50df6b33a68f2e7766d1e4808712
[ "MIT" ]
null
null
null
Alexnet/Learning/evaluators.py
sunshower76/Paper-Implementation
065ad12fd02f50df6b33a68f2e7766d1e4808712
[ "MIT" ]
null
null
null
from abc import abstractmethod, abstractproperty from sklearn.metrics import accuracy_score class Evaluator(object): """Base class for evaluation functions.""" @property @abstractmethod def worst_score(self): """ The worst performance score. :return float. """ ...
30.666667
89
0.610306
292
2,484
5.116438
0.383562
0.074967
0.044177
0.022758
0.330656
0.293173
0.259705
0.191432
0.141901
0.078983
0
0.008636
0.300725
2,484
80
90
31.05
0.851468
0.496779
0
0.666667
0
0
0.018367
0
0
0
0
0
0
1
0.266667
false
0.133333
0.066667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3