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
202069561f7d336e94bfb5621c1912f703cce84e
772
py
Python
tests/test__executor__util.py
lzmch/framequery
48ed133dec90a9d2b8f4bef4b40f3a1909a0457f
[ "MIT" ]
66
2016-09-21T05:43:38.000Z
2021-08-31T08:32:15.000Z
tests/test__executor__util.py
lzmch/framequery
48ed133dec90a9d2b8f4bef4b40f3a1909a0457f
[ "MIT" ]
13
2016-09-20T19:39:42.000Z
2017-06-06T22:33:34.000Z
tests/test__executor__util.py
lzmch/framequery
48ed133dec90a9d2b8f4bef4b40f3a1909a0457f
[ "MIT" ]
8
2018-04-15T10:59:07.000Z
2022-02-23T13:46:09.000Z
from __future__ import print_function, division, absolute_import from framequery.executor._util import ( column_from_parts, column_get_column, column_get_table, split_quoted_name, ) def test_examples(): assert column_get_table(column_from_parts('foo', 'bar')) == 'foo' assert column_get_column(column_from...
35.090909
78
0.705959
109
772
4.605505
0.238532
0.095618
0.179283
0.167331
0.599602
0.527888
0.438247
0.155378
0.155378
0.155378
0
0
0.13601
772
21
79
36.761905
0.752624
0
0
0
0
0
0.129534
0
0
0
0
0
0.571429
1
0.142857
true
0
0.142857
0
0.285714
0.071429
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
3
2027da1b2ad41c25d5f7f6a90d21b27b7798acfe
15
py
Python
sports/__init__.py
OrangeCardinal/sportsdata
e6e182e89c8f8a12ffe18b218a37b8bdb8971e03
[ "Apache-2.0" ]
null
null
null
sports/__init__.py
OrangeCardinal/sportsdata
e6e182e89c8f8a12ffe18b218a37b8bdb8971e03
[ "Apache-2.0" ]
null
null
null
sports/__init__.py
OrangeCardinal/sportsdata
e6e182e89c8f8a12ffe18b218a37b8bdb8971e03
[ "Apache-2.0" ]
null
null
null
name = "sports"
15
15
0.666667
2
15
5
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
15
1
15
15
0.769231
0
0
0
0
0
0.375
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
202dabed032e1b34059cc9d0ccd4e7c7d601f1f4
225
py
Python
find_all_numbers_disappeared_in_an_array.py
spencercjh/sync-leetcode-today-problem-python3-example
4957e5eadb697334741df0fc297bec2edaa9e2ab
[ "Apache-2.0" ]
null
null
null
find_all_numbers_disappeared_in_an_array.py
spencercjh/sync-leetcode-today-problem-python3-example
4957e5eadb697334741df0fc297bec2edaa9e2ab
[ "Apache-2.0" ]
null
null
null
find_all_numbers_disappeared_in_an_array.py
spencercjh/sync-leetcode-today-problem-python3-example
4957e5eadb697334741df0fc297bec2edaa9e2ab
[ "Apache-2.0" ]
null
null
null
class FindAllNumbersDisappearedInAnArray: """ https://leetcode-cn.com/problems/find-all-numbers-disappeared-in-an-array/ """ def findDisappearedNumbers(self, nums: List[int]) -> List[int]:
22.5
78
0.648889
22
225
6.636364
0.909091
0.09589
0
0
0
0
0
0
0
0
0
0
0.208889
225
9
79
25
0.820225
0
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
20472025ba4ba055070b1610784b25f8875cd289
10,527
py
Python
data_process/2d_1d/2d_to_1d_damage_v1.py
ribuild/delphin_6_automation
12024381fc1042b46314c55d88b6349229ea33b7
[ "MIT" ]
2
2017-11-08T18:37:36.000Z
2018-01-09T12:10:58.000Z
data_process/2d_1d/2d_to_1d_damage_v1.py
ribuild/delphin_6_automation
12024381fc1042b46314c55d88b6349229ea33b7
[ "MIT" ]
111
2018-02-26T08:25:44.000Z
2021-03-31T19:17:19.000Z
data_process/2d_1d/2d_to_1d_damage_v1.py
thp44/delphin_6_automation
12024381fc1042b46314c55d88b6349229ea33b7
[ "MIT" ]
3
2017-11-06T10:01:25.000Z
2018-02-14T09:45:28.000Z
__author__ = "Christian Kongsgaard" __license__ = 'MIT' # -------------------------------------------------------------------------------------------------------------------- # # IMPORTS # Modules import data_process_functions as dp import pandas as pd from matplotlib import pyplot as plt import numpy as np import da...
43.5
140
0.61879
1,349
10,527
4.576724
0.139362
0.026725
0.080175
0.066084
0.771137
0.764658
0.7138
0.675575
0.639942
0.621153
0
0.038214
0.202052
10,527
241
141
43.680498
0.696786
0.050347
0
0.256198
0
0
0.271315
0.159653
0
0
0
0
0
1
0.024793
false
0
0.049587
0
0.07438
0.008264
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
64447aef186902796a8f1630d605547113781dbc
2,576
py
Python
netcad_demo_clabs1/profiles/clab_ma0.py
jeremyschulman/netcad-demo-clabs1
cb9dd5f3487edc7f07497d8cddd7b7c7f3cbdc6c
[ "MIT" ]
4
2021-12-28T22:16:42.000Z
2021-12-30T03:18:16.000Z
netcad_demo_clabs1/profiles/clab_ma0.py
jeremyschulman/netcad-demo-clabs1
cb9dd5f3487edc7f07497d8cddd7b7c7f3cbdc6c
[ "MIT" ]
null
null
null
netcad_demo_clabs1/profiles/clab_ma0.py
jeremyschulman/netcad-demo-clabs1
cb9dd5f3487edc7f07497d8cddd7b7c7f3cbdc6c
[ "MIT" ]
1
2022-01-04T19:54:09.000Z
2022-01-04T19:54:09.000Z
# MIT License # # Copyright (c) 2021 Jeremy Schulman # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modif...
41.548387
98
0.559394
268
2,576
5.347015
0.559701
0.06141
0.018144
0
0
0
0
0
0
0
0
0.00601
0.160326
2,576
61
99
42.229508
0.656496
0.873059
0
0
0
0
0.124498
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
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
64471851da696feaed9371cb6b6d79e1cf915bd9
29,943
py
Python
vnpy/api/qdp/qdp_data_type.py
black0144/vnpy
0d0ea30dad14a0150f7500ff9a62528030321426
[ "MIT" ]
101
2017-03-30T11:46:25.000Z
2022-03-11T03:48:43.000Z
vnpy/api/qdp/qdp_data_type.py
black0144/vnpy
0d0ea30dad14a0150f7500ff9a62528030321426
[ "MIT" ]
1
2018-06-12T10:08:24.000Z
2018-06-12T10:08:24.000Z
vnpy/api/qdp/qdp_data_type.py
black0144/vnpy
0d0ea30dad14a0150f7500ff9a62528030321426
[ "MIT" ]
53
2017-07-28T09:31:30.000Z
2022-02-15T06:50:41.000Z
# encoding: UTF-8 defineDict = {} typedefDict = {} #////////////////////////////////////////////////////////////////////// #@system QuantDo Platform #@company QuantDo #@file QdpFtdcUserApiDataType.h #@brief 定义了客户端接口使用的业务数据类型 #@history # #////////////////////////////////////////////////////////////////////// #////...
36.471376
71
0.390475
1,363
29,943
8.276596
0.375642
0.150962
0.180835
0.021895
0.075259
0.033862
0.02482
0.02482
0.02482
0.02482
0
0.003945
0.043483
29,943
820
72
36.515854
0.389931
0.615904
0
0.033755
0
0
0.509815
0.298327
0
1
0
0
0
1
0
false
0.004219
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
644ecc21514c880e2bb6f1edfc6b2968810de495
266
py
Python
pyhanko/sign/timestamps/__init__.py
MatthiasValvekens/pdf-stamp
08fc0fc8cd5f82845e72a1c0efde1a12d64970ce
[ "MIT" ]
5
2020-08-06T15:25:21.000Z
2020-11-28T04:40:02.000Z
pyhanko/sign/timestamps/__init__.py
alexgitx/pyHanko
97dcdbca84264b2c6532015053127a6727a34bae
[ "MIT" ]
1
2020-11-11T10:46:08.000Z
2020-11-11T10:46:08.000Z
pyhanko/sign/timestamps/__init__.py
alexgitx/pyHanko
97dcdbca84264b2c6532015053127a6727a34bae
[ "MIT" ]
3
2020-10-15T20:48:40.000Z
2020-11-21T13:28:18.000Z
from .api import TimeStamper from .common_utils import TimestampRequestError from .dummy_client import DummyTimeStamper from .requests_client import HTTPTimeStamper __all__ = [ 'TimeStamper', 'HTTPTimeStamper', 'DummyTimeStamper', 'TimestampRequestError' ]
26.6
57
0.808271
24
266
8.666667
0.541667
0.115385
0
0
0
0
0
0
0
0
0
0
0.12406
266
9
58
29.555556
0.892704
0
0
0
0
0
0.236842
0.078947
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
645eacf21076037081ef6d31c9b5a73eafdc2584
964
py
Python
code/numpy/linear_algebra.py
qiudebo/13learn
32b6ab0c6f6abd5873e3445b31a86f602520d473
[ "MIT" ]
1
2019-03-07T09:02:27.000Z
2019-03-07T09:02:27.000Z
code/numpy/linear_algebra.py
qiudebo/13learn
32b6ab0c6f6abd5873e3445b31a86f602520d473
[ "MIT" ]
null
null
null
code/numpy/linear_algebra.py
qiudebo/13learn
32b6ab0c6f6abd5873e3445b31a86f602520d473
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import numpy as np from numpy import linalg as LA # 对角线法则只适合二阶与三阶行列式 # 例1 二阶行列式 求解线性方程 计算系数矩阵的逆 与 常数矩阵的点积 a = np.array([[3,-2],[2,1]]) b = np.array([12,1]) x = np.linalg.inv(a).dot(b) print x D = np.linalg.det(a) # 方阵的行列式 D1 = np.array([[12,-2],[1,1]]) D2 = np.array([[3,12],[2...
17.527273
62
0.510373
213
964
2.309859
0.244131
0.073171
0.060976
0.227642
0.27439
0.170732
0.03252
0.03252
0.03252
0.03252
0
0.145594
0.187759
964
54
63
17.851852
0.482759
0.120332
0
0.192308
0
0
0
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.384615
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
64702482c4811b1834c49da8d8349a86e8320767
284
py
Python
{{cookiecutter.github_repository_name}}/{{cookiecutter.app_name}}/ms_api/admin.py
ozgureroglu/cookiecutter-django-rest
e9aa8e027c64ebf9bf5a6d6d3c8b48b243ea86d3
[ "MIT" ]
null
null
null
{{cookiecutter.github_repository_name}}/{{cookiecutter.app_name}}/ms_api/admin.py
ozgureroglu/cookiecutter-django-rest
e9aa8e027c64ebf9bf5a6d6d3c8b48b243ea86d3
[ "MIT" ]
null
null
null
{{cookiecutter.github_repository_name}}/{{cookiecutter.app_name}}/ms_api/admin.py
ozgureroglu/cookiecutter-django-rest
e9aa8e027c64ebf9bf5a6d6d3c8b48b243ea86d3
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth.admin import UserAdmin {%for n in cookiecutter.models.name %} from .models import {{n}} {% endfor %} {%for n in cookiecutter.models.name %} @admin.register({{n}}) class {{n}}Admin(admin.ModelAdmin): pass {% endfor %}
17.75
47
0.697183
39
284
5.076923
0.461538
0.10101
0.171717
0.181818
0.282828
0.282828
0
0
0
0
0
0
0.144366
284
15
48
18.933333
0.814815
0
0
0.4
0
0
0
0
0
0
0
0
0
0
null
null
0.1
0.3
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
1
0
0
0
0
0
3
649eaaf8aae2d11a097b129b91a83f248576d3d0
379
py
Python
week_3/03_insertion_sort.py
khh180cm/algorithm
f40990479b6a4ba466073defcd6e8ca771c0b886
[ "MIT" ]
null
null
null
week_3/03_insertion_sort.py
khh180cm/algorithm
f40990479b6a4ba466073defcd6e8ca771c0b886
[ "MIT" ]
null
null
null
week_3/03_insertion_sort.py
khh180cm/algorithm
f40990479b6a4ba466073defcd6e8ca771c0b886
[ "MIT" ]
null
null
null
""" 삽입 정렬 """ input = [4, 6, 2, 9, 1] def insertion_sort(array): n = len(input) for i in range(1, n): compare_idx = i for j in range(i): if array[j] > array[compare_idx]: array[j], array[compare_idx] = array[compare_idx], array[j] else: b...
18.047619
75
0.525066
54
379
3.574074
0.481481
0.207254
0.233161
0.310881
0.326425
0.243523
0
0
0
0
0
0.024194
0.345646
379
20
76
18.95
0.754032
0.013193
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.153846
0.076923
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
64bb65e7a2899f73143286ccaa63bca021042360
340
py
Python
Week 06/1samttest.py
g00387856/Fundamentals-of-data-analysis-Tasks-2020
4e6b5b315d3251b4b536a142dc9c08ab1555e441
[ "MIT" ]
null
null
null
Week 06/1samttest.py
g00387856/Fundamentals-of-data-analysis-Tasks-2020
4e6b5b315d3251b4b536a142dc9c08ab1555e441
[ "MIT" ]
null
null
null
Week 06/1samttest.py
g00387856/Fundamentals-of-data-analysis-Tasks-2020
4e6b5b315d3251b4b536a142dc9c08ab1555e441
[ "MIT" ]
null
null
null
# One sample t-test using Midwest results #reference : https://www.youtube.com/watch?v=8uUfHx3M0Jw import numpy as np from scipy import stats as st results=([19.63139, 11.24331 ,17.03382, 17.27895, 14.47600, 18.90462, 11.91739,16.19712, 14.10765, 41.29581]) Mean=([32]) ttest=st.ttest_1samp(results,Mean) print ('t-test ...
42.5
109
0.747059
59
340
4.288136
0.779661
0.039526
0
0
0
0
0
0
0
0
0
0.248366
0.1
340
8
110
42.5
0.578431
0.276471
0
0
0
0
0.07377
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
64bff9070b3900fa5d35e5efde552c214624a246
67,595
py
Python
src/utils/utils_plot.py
disiji/fc_differentiable
65d6cbb3e0e41862744366c045fa06b6dc2d99a5
[ "MIT" ]
2
2019-11-23T03:14:33.000Z
2022-01-18T20:00:27.000Z
src/utils/utils_plot.py
disiji/fc_differentiable
65d6cbb3e0e41862744366c045fa06b6dc2d99a5
[ "MIT" ]
null
null
null
src/utils/utils_plot.py
disiji/fc_differentiable
65d6cbb3e0e41862744366c045fa06b6dc2d99a5
[ "MIT" ]
2
2019-04-09T00:18:44.000Z
2022-01-01T10:43:25.000Z
import os import matplotlib matplotlib.use('Agg') matplotlib.rcParams['font.size'] = 10 matplotlib.rcParams['font.family'] = 'serif' import matplotlib.pyplot as plt import matplotlib.patches as patches import torch.nn as nn from math import * from utils.DataAndGatesPlotter import * from utils.input import * from ut...
45.951734
119
0.603225
9,144
67,595
4.156934
0.06157
0.013101
0.012312
0.011049
0.777196
0.738944
0.711136
0.679987
0.660177
0.620741
0
0.02597
0.274251
67,595
1,470
120
45.982993
0.748864
0.041926
0
0.549153
0
0
0.090526
0.018322
0
0
0
0
0
1
0.028814
false
0
0.010169
0
0.045763
0.009322
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
64c7f395ec454754f61755fa3092aa6a5ede0aeb
699
py
Python
tabular_to_image/src/autogluon/tabular_to_image/__init__.py
engsarah2050/autogluon
a77d462924dac8f8763635518eadcc523a23e18f
[ "Apache-2.0" ]
null
null
null
tabular_to_image/src/autogluon/tabular_to_image/__init__.py
engsarah2050/autogluon
a77d462924dac8f8763635518eadcc523a23e18f
[ "Apache-2.0" ]
null
null
null
tabular_to_image/src/autogluon/tabular_to_image/__init__.py
engsarah2050/autogluon
a77d462924dac8f8763635518eadcc523a23e18f
[ "Apache-2.0" ]
null
null
null
import logging from autogluon.core.dataset import TabularDataset from autogluon.common.features.feature_metadata import FeatureMetadata #from autogluon.tabular_to_image.utils_pro.utils_tool import Utils_pro #from autogluon.tabular_to_image.models_zoo.models import ModelsZoo from autogluon.DeepInsight_auto.pyDeepInsigh...
36.789474
114
0.858369
87
699
6.666667
0.517241
0.156897
0.137931
0.151724
0.186207
0
0
0
0
0
0
0
0.088698
699
18
115
38.833333
0.910518
0.280401
0
0
0
0
0.022044
0
0
0
0
0
0
1
0
true
0.090909
0.727273
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
b37c24c16e403d568760d21c3cf0ada713a470f2
5,077
py
Python
app/models.py
memorila/barkastock
b1cf63ca71dfb48ee55cac3548f0b9b129a31501
[ "Apache-2.0" ]
null
null
null
app/models.py
memorila/barkastock
b1cf63ca71dfb48ee55cac3548f0b9b129a31501
[ "Apache-2.0" ]
null
null
null
app/models.py
memorila/barkastock
b1cf63ca71dfb48ee55cac3548f0b9b129a31501
[ "Apache-2.0" ]
null
null
null
from datetime import datetime from enum import unique from app import db #credentials for hashing a password from werkzeug.security import generate_password_hash, check_password_hash #credentials for logging in a user from flask_login import UserMixin from app import login #credentials for logging in a us...
38.462121
90
0.66752
699
5,077
4.733906
0.147353
0.130553
0.157147
0.106377
0.65337
0.557872
0.464189
0.400423
0.400423
0.400423
0
0.014717
0.183573
5,077
131
91
38.755725
0.783595
0.019697
0
0.353535
1
0
0.07516
0
0
0
0
0
0
1
0.10101
false
0.060606
0.060606
0.090909
0.939394
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
b38c6f9860ac910e2d698f4e1d6e46861c4506d5
455
py
Python
kss/pynori/decompound_token.py
link-kim/kss
4cf84067c32c16a800a43865c16ff2b34ff48950
[ "BSD-3-Clause" ]
163
2020-12-21T00:36:12.000Z
2022-03-29T00:16:11.000Z
kss/pynori/decompound_token.py
link-kim/kss
4cf84067c32c16a800a43865c16ff2b34ff48950
[ "BSD-3-Clause" ]
40
2020-12-22T09:53:14.000Z
2022-03-24T06:19:32.000Z
kss/pynori/decompound_token.py
link-kim/kss
4cf84067c32c16a800a43865c16ff2b34ff48950
[ "BSD-3-Clause" ]
33
2020-12-23T09:12:35.000Z
2022-03-11T07:54:54.000Z
from kss.pynori.token import Token class DecompoundToken(Token): """ A token that was generated from a compound """ def __init__(self, posTag, surfaceForm, startOffset, endOffset, posType, dictType): super().__init__( surfaceForm, 0, len(surfaceForm), ...
20.681818
87
0.527473
38
455
6.105263
0.657895
0.189655
0.267241
0.327586
0
0
0
0
0
0
0
0.003623
0.393407
455
21
88
21.666667
0.836957
0.092308
0
0
1
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.214286
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
b397abfd88995d30f648dfbed57e85b2a335c408
36
py
Python
forcedimension/__init__.py
EmDash00/forcedimension-python
83984ab4fb8a3a9c859fcb7e3456a11b5e513c6c
[ "Apache-2.0" ]
null
null
null
forcedimension/__init__.py
EmDash00/forcedimension-python
83984ab4fb8a3a9c859fcb7e3456a11b5e513c6c
[ "Apache-2.0" ]
null
null
null
forcedimension/__init__.py
EmDash00/forcedimension-python
83984ab4fb8a3a9c859fcb7e3456a11b5e513c6c
[ "Apache-2.0" ]
null
null
null
__all__ = ['dhd', 'drd', 'runtime']
18
35
0.555556
4
36
4
1
0
0
0
0
0
0
0
0
0
0
0
0.138889
36
1
36
36
0.516129
0
0
0
0
0
0.361111
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
b39fb2f9fce03d622b70d6a40f8802e55f62fad1
934
py
Python
workflow-raw-to-geo.py
HPCGISLab/TwitterMethods
e8a5345bbb0299d703113b5048df2105e27b34fc
[ "BSD-3-Clause" ]
null
null
null
workflow-raw-to-geo.py
HPCGISLab/TwitterMethods
e8a5345bbb0299d703113b5048df2105e27b34fc
[ "BSD-3-Clause" ]
null
null
null
workflow-raw-to-geo.py
HPCGISLab/TwitterMethods
e8a5345bbb0299d703113b5048df2105e27b34fc
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import tweetproc import os from multiprocessing import Pool import copy # Apply geo function to each file extracting geo-enabled tweets def runit(params): tweetproc.geo(*params) ''' # FIXME: This has been moved to util.py # Process the files in parallel def process(funct,indir,outdir,numprocs...
23.948718
76
0.732334
126
934
5.428571
0.507937
0.02924
0.046784
0.032164
0
0
0
0
0
0
0
0.005083
0.157388
934
38
77
24.578947
0.864041
0.200214
0
0
0
0
0.073395
0
0
0
0
0.026316
0
1
0.111111
false
0
0.444444
0
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
1
0
0
0
0
0
1
0
1
0
0
3
b3dcff218cb6affb9816ebb16f28454e0df42f8b
1,378
py
Python
esrt/old_models/BasicModel.py
PTYin/ESRT
4d3e5c523cef7bd15ea8ce10e5cf8b7e05ad2d5c
[ "BSD-2-Clause" ]
18
2020-01-07T21:45:05.000Z
2022-03-27T18:51:34.000Z
esrt/old_models/BasicModel.py
PTYin/ESRT
4d3e5c523cef7bd15ea8ce10e5cf8b7e05ad2d5c
[ "BSD-2-Clause" ]
null
null
null
esrt/old_models/BasicModel.py
PTYin/ESRT
4d3e5c523cef7bd15ea8ce10e5cf8b7e05ad2d5c
[ "BSD-2-Clause" ]
3
2020-03-17T08:56:32.000Z
2022-02-03T00:25:40.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf from abc import ABC, abstractmethod class BasicModel(ABC): """ The basic class that contains all the API needed for the product embedding model """ @abstractmethod ...
36.263158
102
0.661103
169
1,378
5.207101
0.514793
0.040909
0.054545
0.038636
0.125
0.125
0.125
0.125
0.125
0.125
0
0
0.277213
1,378
37
103
37.243243
0.883534
0.586357
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.416667
0
0.666667
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
b3e4acc96e5a223a5525e3f8693e30f2ee44cb0b
2,919
py
Python
Chapter2 Useless facts/Chapter2.py
Ropsedon/PythonLearning
732b58a97283cf3a2109ffba19f0b167b37a37c0
[ "Apache-2.0" ]
null
null
null
Chapter2 Useless facts/Chapter2.py
Ropsedon/PythonLearning
732b58a97283cf3a2109ffba19f0b167b37a37c0
[ "Apache-2.0" ]
null
null
null
Chapter2 Useless facts/Chapter2.py
Ropsedon/PythonLearning
732b58a97283cf3a2109ffba19f0b167b37a37c0
[ "Apache-2.0" ]
null
null
null
# Game over version 2 # Example work with strings print("Program 'Game Over' version 2.0") print("Example of the strings", "this string was wrote by", "a few strings") print("This", end=" ") print("it..") print( """ ██████████████████████████████████████████████████████████████████████████████████...
45.609375
140
0.224392
174
2,919
13.902299
0.5
0.006614
0.014469
0.009921
0.013229
0.013229
0.013229
0
0
0
0
0.02037
0.091812
2,919
63
141
46.333333
0.225198
0.056526
0
0.071429
0
0
0.492222
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
b3ff6c4dffae39660871537a415e63de6cea8043
7,514
py
Python
tests/fixture_store.py
mjpizz/stockpyle
627ab3038daff4a68ccfc5359b329b253fabc8ef
[ "BSD-3-Clause" ]
4
2016-04-16T20:55:58.000Z
2021-03-07T00:27:26.000Z
tests/fixture_store.py
rblomberg/stockpyle
627ab3038daff4a68ccfc5359b329b253fabc8ef
[ "BSD-3-Clause" ]
1
2016-03-19T15:28:24.000Z
2016-03-21T08:32:57.000Z
tests/fixture_store.py
rblomberg/stockpyle
627ab3038daff4a68ccfc5359b329b253fabc8ef
[ "BSD-3-Clause" ]
1
2016-03-11T18:09:33.000Z
2016-03-11T18:09:33.000Z
from time import sleep from datetime import datetime, timedelta from sqlalchemy import engine_from_config, Column from sqlalchemy.types import Integer, String from sqlalchemy.ext.declarative import declarative_base _DUMMY_EXPIRE_TIME = 1 DeclarativeBase = declarative_base() class Foobar(DeclarativeBase): ...
29.351563
90
0.55177
943
7,514
4.11983
0.121951
0.094981
0.054054
0.046847
0.72175
0.700901
0.688803
0.681853
0.66538
0.633462
0
0.034565
0.330051
7,514
255
91
29.466667
0.737187
0.026085
0
0.654971
0
0
0.038498
0.004247
0
0
0
0
0.175439
0
null
null
0
0.02924
null
null
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
b60ee2f45229ca9679b09ce725328b6160b6941e
258
py
Python
src/search/documents/__init__.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
18
2021-05-20T13:20:16.000Z
2022-02-11T02:40:18.000Z
src/search/documents/__init__.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
109
2021-05-21T20:14:23.000Z
2022-03-31T20:56:10.000Z
src/search/documents/__init__.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
4
2021-05-17T13:47:53.000Z
2022-02-12T10:48:21.000Z
# flake8: noqa from .person import PersonDocument from .hub import HubDocument from .paper import PaperDocument from .summary import SummaryDocument from .thread import ThreadDocument from .university import UniversityDocument from .post import PostDocument
28.666667
42
0.844961
30
258
7.266667
0.6
0
0
0
0
0
0
0
0
0
0
0.004405
0.120155
258
8
43
32.25
0.955947
0.046512
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
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
37378e1ba0b0fee267f9b0065182190b074db9b4
888
py
Python
sqlib/errors.py
LiBa001/sqlib
701ead2a75230c3af7ecfc2bf3f640d96bdb051e
[ "MIT" ]
3
2018-01-15T16:55:50.000Z
2018-01-22T13:44:26.000Z
sqlib/errors.py
LiBa001/sqlib
701ead2a75230c3af7ecfc2bf3f640d96bdb051e
[ "MIT" ]
null
null
null
sqlib/errors.py
LiBa001/sqlib
701ead2a75230c3af7ecfc2bf3f640d96bdb051e
[ "MIT" ]
null
null
null
class SqlibError(Exception): """ Base exception class for sqlib """ pass class AffinityNotFoundError(SqlibError): """ Exception that's thrown when a non-existing sqlite affinity is given. """ def __init__(self): message = 'Given affinity not found. Use the ones from "variables.py"!' ...
31.714286
99
0.706081
107
888
5.635514
0.429907
0.126036
0.114428
0.119403
0.245439
0.169154
0
0
0
0
0
0
0.20045
888
27
100
32.888889
0.849296
0.308559
0
0.153846
0
0
0.195578
0
0
0
0
0
0
1
0.230769
false
0.076923
0
0
0.538462
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
376157bf7f866870bbb7241da0ddc851b1599ad9
5,596
py
Python
test/orm/test_immediate_load.py
petit87/sqlalchemy
67d674bd63ca36ac32b23f96e2b19e9dac6b0863
[ "MIT" ]
5,383
2018-11-27T07:34:03.000Z
2022-03-31T19:40:59.000Z
test/orm/test_immediate_load.py
petit87/sqlalchemy
67d674bd63ca36ac32b23f96e2b19e9dac6b0863
[ "MIT" ]
2,719
2018-11-27T07:55:01.000Z
2022-03-31T22:09:44.000Z
test/orm/test_immediate_load.py
petit87/sqlalchemy
67d674bd63ca36ac32b23f96e2b19e9dac6b0863
[ "MIT" ]
1,056
2015-01-03T00:30:17.000Z
2022-03-15T12:56:24.000Z
"""basic tests of lazy loaded attributes""" from sqlalchemy import testing from sqlalchemy.orm import immediateload from sqlalchemy.orm import relationship from sqlalchemy.testing import eq_ from sqlalchemy.testing.fixtures import fixture_session from test.orm import _fixtures class ImmediateTest(_fixtures.FixtureTe...
27.431373
79
0.513939
506
5,596
5.51581
0.197628
0.057327
0.064493
0.075242
0.758509
0.72483
0.713006
0.676102
0.65962
0.65962
0
0.008305
0.375983
5,596
203
80
27.566502
0.790951
0.034489
0
0.622857
0
0
0.053197
0
0
0
0
0
0.022857
1
0.028571
false
0
0.034286
0
0.08
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
377dbc2bcccbe36a1ab52d61c466be673e63d8f5
406
py
Python
models/__init__.py
jiachens/ModelNet40-C
795672578f41d11ed5169f8f0ef259f7f441b6e6
[ "BSD-3-Clause" ]
90
2022-01-29T17:14:57.000Z
2022-03-30T03:28:39.000Z
models/__init__.py
jiachens/ModelNet40-C
795672578f41d11ed5169f8f0ef259f7f441b6e6
[ "BSD-3-Clause" ]
4
2022-01-29T17:15:59.000Z
2022-03-28T22:31:59.000Z
models/__init__.py
jiachens/ModelNet40-C
795672578f41d11ed5169f8f0ef259f7f441b6e6
[ "BSD-3-Clause" ]
4
2022-01-28T17:37:44.000Z
2022-03-17T13:17:57.000Z
''' Description: Autor: Jiachen Sun Date: 2022-02-17 13:35:52 LastEditors: Jiachen Sun LastEditTime: 2022-02-22 23:36:25 ''' from .mv import MVModel from .rscnn import RSCNN from .pointnet2 import PointNet2 from .dgcnn import DGCNN from .pointnet import PointNet from .pct import Pct from .pointmlp import pointMLP from...
23.882353
33
0.793103
61
406
5.278689
0.491803
0.062112
0
0
0
0
0
0
0
0
0
0.091168
0.135468
406
17
34
23.882353
0.826211
0.288177
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
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
37aed84a64cf3eb359f21c16c6df9a491b0bdff8
501
py
Python
data/datasets/loader.py
keenJMS/JMS_OIM
6f4bc1c114d007c108d6989c05fb0847aee78a1c
[ "Apache-2.0" ]
null
null
null
data/datasets/loader.py
keenJMS/JMS_OIM
6f4bc1c114d007c108d6989c05fb0847aee78a1c
[ "Apache-2.0" ]
null
null
null
data/datasets/loader.py
keenJMS/JMS_OIM
6f4bc1c114d007c108d6989c05fb0847aee78a1c
[ "Apache-2.0" ]
null
null
null
from torch.utils.data import DataLoader from data.datasets.cuhk_sysu import CUHK_SYSU from data.datasets.transformer import get_transform def get_data_loader(cfg,mode): dataset = CUHK_SYSU(cfg.DATASETS.ROOT_DIR, transform=get_transform(mode,0.5), test_size=50, mode=mode) loader = DataLoader(dataset, batch_size=...
62.625
142
0.774451
74
501
5.040541
0.486486
0.064343
0.085791
0
0
0
0
0
0
0
0
0.009238
0.135729
501
8
143
62.625
0.852194
0
0
0
0
0
0.00996
0
0
0
0
0
0
1
0.125
false
0
0.375
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
37c2d811d1f16e06c501142b77245fd95dbaf9d3
798
py
Python
lib/snake/food.py
vyahello/snakegame-gui
1eb23744174035f49dd0a33c48d365e8b3836178
[ "MIT" ]
null
null
null
lib/snake/food.py
vyahello/snakegame-gui
1eb23744174035f49dd0a33c48d365e8b3836178
[ "MIT" ]
null
null
null
lib/snake/food.py
vyahello/snakegame-gui
1eb23744174035f49dd0a33c48d365e8b3836178
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from random import randrange from typing import List from lib.environment.image import Image, GameImage from pygame import Surface class Food(ABC): """Abstract interface for food.""" @abstractmethod def location(self) -> List[int]: pass @abstractmethod ...
24.181818
84
0.645363
100
798
5.06
0.37
0.041502
0.059289
0.075099
0.086957
0
0
0
0
0
0
0.03752
0.23183
798
32
85
24.9375
0.787928
0.062657
0
0.380952
0
0
0
0
0
0
0
0
0
1
0.238095
false
0.095238
0.238095
0.047619
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
1
0
0
1
0
0
3
806a02196abf2b9111fa45e0516df70bd63a22ba
18
py
Python
tests/core_symbol.py
bithacks-tech/myeosio
577f6830e72fa764497c20a6b9200ba02b80ab2e
[ "MIT" ]
null
null
null
tests/core_symbol.py
bithacks-tech/myeosio
577f6830e72fa764497c20a6b9200ba02b80ab2e
[ "MIT" ]
null
null
null
tests/core_symbol.py
bithacks-tech/myeosio
577f6830e72fa764497c20a6b9200ba02b80ab2e
[ "MIT" ]
null
null
null
CORE_SYMBOL='MES'
9
17
0.777778
3
18
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.055556
18
1
18
18
0.764706
0
0
0
0
0
0.166667
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
806f6f89029b46122122572748efaa220f663cf9
2,626
py
Python
admin_panel/api/models.py
hmabubakar313/admin_panel_theme
5016adbc88088bbadfdb6ac107b68da891cdb4a4
[ "Apache-2.0" ]
null
null
null
admin_panel/api/models.py
hmabubakar313/admin_panel_theme
5016adbc88088bbadfdb6ac107b68da891cdb4a4
[ "Apache-2.0" ]
null
null
null
admin_panel/api/models.py
hmabubakar313/admin_panel_theme
5016adbc88088bbadfdb6ac107b68da891cdb4a4
[ "Apache-2.0" ]
null
null
null
from django.db import models from localflavor.us.models import USStateField from phone_field import PhoneField # Create your models here. class Student(models.Model): # student_id = models.AutoField(primary_key=True) first_name = models.CharField(max_length=200) last_name = models.CharField(max_length=20...
35.013333
80
0.730008
340
2,626
5.414706
0.202941
0.092884
0.166214
0.221619
0.664856
0.596415
0.472569
0.39924
0.332971
0.299837
0
0.026352
0.161843
2,626
75
81
35.013333
0.810086
0.222772
0
0.309524
0
0
0.014324
0
0
0
0
0
0
1
0.119048
false
0
0.071429
0.119048
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
0
0
0
1
1
0
0
3
8079870ca5dc7d41302acef2f49dc207a2c9f021
1,706
py
Python
UI/Start.py
jazzboysc/SERiggingTools
41289589b88bc812240f6f87359456dbc1a209cd
[ "MIT" ]
4
2020-06-10T07:54:47.000Z
2021-04-22T01:57:02.000Z
UI/Start.py
jazzboysc/SERiggingTools
41289589b88bc812240f6f87359456dbc1a209cd
[ "MIT" ]
null
null
null
UI/Start.py
jazzboysc/SERiggingTools
41289589b88bc812240f6f87359456dbc1a209cd
[ "MIT" ]
null
null
null
import SERiggingTools.Base.SERigBase as RigBase import SERiggingTools.Base.SERigControl as RigControl import SERiggingTools.Base.SERigComponent as RigComp import SERiggingTools.Base.SERigEnum as RigEnum import SERiggingTools.Base.SERigNaming as RigNaming import SERiggingTools.Utils.SEJointHelper as JointHelper import S...
56.866667
78
0.899766
165
1,706
9.30303
0.363636
0.351792
0.14658
0
0
0
0
0
0
0
0
0
0.066237
1,706
29
79
58.827586
0.963591
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.964286
0
0.964286
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8094c27350e35aa7289150a436925303489631f6
1,169
py
Python
napari_plugin_test/_dock_widget.py
krentzd/napari-test
97673f9408eab7d2cc01f4562a3deeeee7fd8bcb
[ "MIT" ]
1
2021-12-20T22:48:41.000Z
2021-12-20T22:48:41.000Z
napari_plugin_test/_dock_widget.py
krentzd/napari-test
97673f9408eab7d2cc01f4562a3deeeee7fd8bcb
[ "MIT" ]
null
null
null
napari_plugin_test/_dock_widget.py
krentzd/napari-test
97673f9408eab7d2cc01f4562a3deeeee7fd8bcb
[ "MIT" ]
1
2021-12-21T01:23:09.000Z
2021-12-21T01:23:09.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from napari_plugin_engine import napari_hook_implementation from .widgets.clean_binary_segmentation import make_clean_binary_segmentation from .widgets.log_segmentation import make_log_segmentation from .widgets.data_preprocessing import make_data_preprocessing from .widget...
55.666667
82
0.763045
146
1,169
5.726027
0.390411
0.092105
0.066986
0.064593
0
0
0
0
0
0
0
0.000991
0.136869
1,169
20
83
58.45
0.827552
0.035928
0
0
0
0
0.155556
0
0
0
0
0
0
1
0.058824
true
0
0.470588
0.058824
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
0
1
0
1
0
1
0
0
3
80aff196dd5b39d7d0a32b348c8b85ccca330d41
647
py
Python
silex/datatype/task.py
redstone-project/silex
53be928038cae9c1d2974d2311b5ee12c2325050
[ "MIT" ]
null
null
null
silex/datatype/task.py
redstone-project/silex
53be928038cae9c1d2974d2311b5ee12c2325050
[ "MIT" ]
null
null
null
silex/datatype/task.py
redstone-project/silex
53be928038cae9c1d2974d2311b5ee12c2325050
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding:utf-8 -*- """ silex.datatype.task ~~~~~~~~~~~~~~~~~~~ 简单的优先级task :author: lightless <root@lightless.me> :homepage: None :license: GPL-3.0, see LICENSE for more details. :copyright: Copyright (c) 2017 lightless. All rights reserved """ class Prio...
23.962963
92
0.607419
72
647
5.291667
0.611111
0.125984
0.07874
0
0
0
0
0
0
0
0
0.016032
0.228748
647
26
93
24.884615
0.747495
0.412674
0
0
0
0
0.157434
0
0
0
0
0
0
1
0.375
false
0
0
0.25
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
1
0
0
0
1
1
0
0
3
80ba9ca31024e63cbbee851fbdc7eeb313a23cb7
375
py
Python
python-tutorial/python-exercises/function2.py
alvachien/learning-notes
502abf4734234ed3fde0a34b3b54aef738b2a639
[ "MIT" ]
null
null
null
python-tutorial/python-exercises/function2.py
alvachien/learning-notes
502abf4734234ed3fde0a34b3b54aef738b2a639
[ "MIT" ]
null
null
null
python-tutorial/python-exercises/function2.py
alvachien/learning-notes
502abf4734234ed3fde0a34b3b54aef738b2a639
[ "MIT" ]
null
null
null
def reaction_path(speed): """ speed is km/h """ return speed * 0.3 def brake_distance(speed): """ speed is km/h """ tmp = speed / 10 return tmp * tmp def stopping_distance(speed): """ speed is km/h """ return reaction_path(speed) + brake_distance(speed) speed = int...
17.045455
55
0.6
50
375
4.38
0.38
0.182648
0.164384
0.191781
0.333333
0.333333
0
0
0
0
0
0.01444
0.261333
375
21
56
17.857143
0.776173
0.109333
0
0
0
0
0.038194
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0.111111
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
80bb65cbd17b8dbd3fa2e1a4a711f2a426d9d8eb
447
py
Python
tests/kyu_7_tests/test_you_are_a_square.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/kyu_7_tests/test_you_are_a_square.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/kyu_7_tests/test_you_are_a_square.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_7.you_are_a_square import is_square class IsSquareTestCase(unittest.TestCase): def test_true(self): self.assertTrue(is_square(4)) def test_true_2(self): self.assertTrue(is_square(25)) def test_false(self): self.assertFalse(is_square(-1)) def t...
21.285714
50
0.693512
65
447
4.492308
0.415385
0.164384
0.123288
0.215753
0.455479
0
0
0
0
0
0
0.030812
0.201342
447
20
51
22.35
0.787115
0
0
0
0
0
0
0
0
0
0
0
0.384615
1
0.384615
false
0
0.153846
0
0.615385
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
80bb9a0dd63c2698a5e0af537f9bc5242229bb53
176
py
Python
osler/__init__.py
kvonkoni/osler
6aec649548e1cd609decaaa0f6a91a8d6884bf60
[ "MIT" ]
null
null
null
osler/__init__.py
kvonkoni/osler
6aec649548e1cd609decaaa0f6a91a8d6884bf60
[ "MIT" ]
null
null
null
osler/__init__.py
kvonkoni/osler
6aec649548e1cd609decaaa0f6a91a8d6884bf60
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 __all__ = ['assertion','common','criterion','diagnosis','issue'] import logging import sys logging.basicConfig(stream=sys.stdout, level=logging.INFO)
19.555556
64
0.75
22
176
5.818182
0.818182
0
0
0
0
0
0
0
0
0
0
0.006173
0.079545
176
8
65
22
0.783951
0.119318
0
0
0
0
0.246753
0
0
0
0
0
0.25
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
80d3e11b1aa8d9a6f2e862180507fd2ea62aa04e
1,645
py
Python
clif/testing/python/callback_test.py
LqNoob/C-Python-interaction
d0c9b1751789f7cc0dad46541eb76518502e47c7
[ "Apache-2.0" ]
null
null
null
clif/testing/python/callback_test.py
LqNoob/C-Python-interaction
d0c9b1751789f7cc0dad46541eb76518502e47c7
[ "Apache-2.0" ]
null
null
null
clif/testing/python/callback_test.py
LqNoob/C-Python-interaction
d0c9b1751789f7cc0dad46541eb76518502e47c7
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
26.532258
74
0.733131
207
1,645
5.777778
0.516908
0.050167
0.050167
0.072742
0.20485
0.132943
0
0
0
0
0
0.022794
0.173252
1,645
61
75
26.967213
0.856618
0.389666
0
0.241379
0
0
0.00813
0
0
0
0
0
0.172414
1
0.275862
false
0
0.068966
0.172414
0.551724
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
80daeb2f6fe01e5ff6f6a961fcae9b6d64609efa
355
py
Python
Python_Hard_Way_W2/day3b.py
jhanse9522/toolkitten
98d6bf3792eae13b1ff14726c99b0afd2a20185d
[ "MIT" ]
null
null
null
Python_Hard_Way_W2/day3b.py
jhanse9522/toolkitten
98d6bf3792eae13b1ff14726c99b0afd2a20185d
[ "MIT" ]
null
null
null
Python_Hard_Way_W2/day3b.py
jhanse9522/toolkitten
98d6bf3792eae13b1ff14726c99b0afd2a20185d
[ "MIT" ]
null
null
null
Fav_Num = (input("What's your favorite number? ")) Bet_Num = (int(Fav_Num) + 1) print ("But have you ever considered the fabulous number " + str(Bet_Num) + " instead? It's got the most \'favorite number\' 5 star reviews of any \'favorite number\'!!! ") #print ("But have you considered the most amazing, incredible " ...
39.444444
172
0.687324
54
355
4.425926
0.592593
0.175732
0.100418
0.125523
0
0
0
0
0
0
0
0.006803
0.171831
355
8
173
44.375
0.806122
0.270423
0
0
0
0.333333
0.66537
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
03c953d988f4d0f0cec1c0dcf49eb1d9bf99c077
190
py
Python
question_2.py
cristianmavila/postcodesuk
6c7d077d6d0cf4e5068624a6bce62fc12625e076
[ "MIT" ]
null
null
null
question_2.py
cristianmavila/postcodesuk
6c7d077d6d0cf4e5068624a6bce62fc12625e076
[ "MIT" ]
null
null
null
question_2.py
cristianmavila/postcodesuk
6c7d077d6d0cf4e5068624a6bce62fc12625e076
[ "MIT" ]
null
null
null
#!/usr/bin/env python from sys import argv from formattingcodes.codes import get_detail_code, validate_code def input(): code = raw_input("Enter code:") get_detail_code(code) input()
17.272727
64
0.757895
29
190
4.758621
0.62069
0.130435
0.188406
0
0
0
0
0
0
0
0
0
0.136842
190
10
65
19
0.841463
0.105263
0
0
0
0
0.065089
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
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
03feaab0fc7099dd34c50e2495448aa82ab35db9
152
py
Python
P0029.py
sebastianaldi17/ProjectEuler
19562fba3456ec904bcc264fb786a92610e42622
[ "MIT" ]
null
null
null
P0029.py
sebastianaldi17/ProjectEuler
19562fba3456ec904bcc264fb786a92610e42622
[ "MIT" ]
null
null
null
P0029.py
sebastianaldi17/ProjectEuler
19562fba3456ec904bcc264fb786a92610e42622
[ "MIT" ]
null
null
null
# Distinct Powers # https://projecteuler.net/problem=29 s = set() for a in range(2, 101): for b in range(2, 101): s.add(a**b) print(len(s))
19
37
0.605263
28
152
3.285714
0.678571
0.152174
0.173913
0.23913
0
0
0
0
0
0
0
0.083333
0.210526
152
8
38
19
0.683333
0.335526
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
0
0
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
ff08bab65ababf64902e3b78ca6a18f602d38ab8
430
py
Python
FIBEASY.py
akashsuper2000/codechef-archive
e0e4a7daf66812ab7aa3fe42132c3d067a72457b
[ "bzip2-1.0.6" ]
null
null
null
FIBEASY.py
akashsuper2000/codechef-archive
e0e4a7daf66812ab7aa3fe42132c3d067a72457b
[ "bzip2-1.0.6" ]
null
null
null
FIBEASY.py
akashsuper2000/codechef-archive
e0e4a7daf66812ab7aa3fe42132c3d067a72457b
[ "bzip2-1.0.6" ]
null
null
null
def setBitNumber(n): n |= n>>1 n |= n>>2 n |= n>>4 n |= n>>8 n |= n>>16 n |= n>>32 n = n + 1 return (n >> 1) f = [0, 1, 1, 2, 3, 5, 8, 3, 1, 4, 5, 9, 4, 3, 7, 0, 7, 7, 4, 1, 5, 6, 1, 7, 8, 5, 3, 8, 1, 9, 0, 9, 9, 8, 7, 5, 2, 7, 9, 6, 5, 1, 6, 7, 3, 0, 3, 3, 6, 9, 5, 4, 9, 3, 2, 5, 7...
26.875
184
0.372093
105
430
1.52381
0.238095
0.1
0.0375
0
0
0
0
0
0
0
0
0.26259
0.353488
430
15
185
28.666667
0.31295
0
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.142857
0.071429
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ff098c99fb2fb92114e13f73bba35d6c3c6b3b05
1,682
py
Python
dizoo/mujoco/config/__init__.py
jayyoung0802/DI-engine
efbb35ddaf184d1009291e6842fbbae09f193492
[ "Apache-2.0" ]
1
2022-03-21T16:15:39.000Z
2022-03-21T16:15:39.000Z
dizoo/mujoco/config/__init__.py
jayyoung0802/DI-engine
efbb35ddaf184d1009291e6842fbbae09f193492
[ "Apache-2.0" ]
null
null
null
dizoo/mujoco/config/__init__.py
jayyoung0802/DI-engine
efbb35ddaf184d1009291e6842fbbae09f193492
[ "Apache-2.0" ]
null
null
null
from .ant_ddpg_config import ant_ddpg_config from .ant_sac_config import ant_sac_config from .ant_td3_config import ant_td3_config from .ant_trex_onppo_config import ant_trex_ppo_config, ant_trex_ppo_create_config from .ant_trex_sac_config import ant_trex_sac_config, ant_trex_sac_create_config from .halfcheetah_ddpg_co...
67.28
106
0.916766
259
1,682
5.355212
0.057915
0.198991
0.126893
0.060562
0.210526
0.049027
0
0
0
0
0
0.015219
0.062426
1,682
24
107
70.083333
0.864299
0
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
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
ff1fa9a0080b0abc910f995a158781cefccbe233
340
py
Python
releasenote/git.py
NivedhaSenthil/releasenote
4b4c8c9fdecb78fdaf29bd2340e38df8ae735180
[ "MIT" ]
1
2017-08-19T11:10:07.000Z
2017-08-19T11:10:07.000Z
releasenote/git.py
NivedhaSenthil/releasenote
4b4c8c9fdecb78fdaf29bd2340e38df8ae735180
[ "MIT" ]
null
null
null
releasenote/git.py
NivedhaSenthil/releasenote
4b4c8c9fdecb78fdaf29bd2340e38df8ae735180
[ "MIT" ]
null
null
null
import subprocess import sys def get_log(lastcommit,committill): try: if(lastcommit): return subprocess.check_output(["git", "log","--oneline",lastcommit+".."+committill]) return subprocess.check_output(["git","log","--oneline",committill]) except subprocess.CalledProcessError as e:...
34
97
0.667647
37
340
6.054054
0.567568
0.178571
0.1875
0.241071
0.357143
0.357143
0.357143
0
0
0
0
0.003597
0.182353
340
10
98
34
0.802158
0
0
0
0
0
0.093842
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.555556
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
20618fa9e649b7bd63f2c83eaa088e70e44f92dc
273
py
Python
dnd/models/combat/spell_info.py
Saevon/webdnd
4dd5d30ae105ede51bbd92bf5281a6965b7d55f4
[ "MIT" ]
4
2015-09-26T01:12:36.000Z
2020-01-04T19:36:58.000Z
dnd/models/combat/spell_info.py
Saevon/webdnd
4dd5d30ae105ede51bbd92bf5281a6965b7d55f4
[ "MIT" ]
null
null
null
dnd/models/combat/spell_info.py
Saevon/webdnd
4dd5d30ae105ede51bbd92bf5281a6965b7d55f4
[ "MIT" ]
null
null
null
from django.db import models from dnd.constants.database import STND_CHAR_LIMIT, STND_ID_CHAR_LIMIT from dnd.models.combat.weapon_info import AbstractWeaponInfo class TouchAttackInfo(AbstractWeaponInfo): """ A Touch Attack, Includes Ranged Touch Attacks """
24.818182
70
0.794872
35
273
6.028571
0.685714
0.066351
0
0
0
0
0
0
0
0
0
0
0.142857
273
10
71
27.3
0.901709
0.164835
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
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
0
1
0
1
0
1
0
0
3
2070dc411e2b74dd63c0de9b3bd50a57e524d1e4
6,429
py
Python
src/grouplinks_api/settings.py
yurdosii/GroupLinks.api
d07e98dda4afe77912df61bdd639f4640ebecce0
[ "MIT" ]
null
null
null
src/grouplinks_api/settings.py
yurdosii/GroupLinks.api
d07e98dda4afe77912df61bdd639f4640ebecce0
[ "MIT" ]
null
null
null
src/grouplinks_api/settings.py
yurdosii/GroupLinks.api
d07e98dda4afe77912df61bdd639f4640ebecce0
[ "MIT" ]
null
null
null
""" Django settings for grouplinks_api project. Generated by 'django-admin startproject' using Django 3.0.7. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ impor...
28.959459
98
0.71333
750
6,429
5.896
0.341333
0.04749
0.044776
0.039575
0.250792
0.191995
0.093397
0.079376
0.027137
0
0
0.01297
0.160523
6,429
221
99
29.090498
0.806374
0.34671
0
0
1
0
0.552759
0.46031
0
0
0
0
0
1
0
false
0.054545
0.009091
0
0.009091
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
207a4445c4929e4af6037ff7778f7bb466adb7ac
980
py
Python
tests/pipeline/process/test_process_injury.py
thecodeforest/fantasyfootball
ed04960a20e1781a820c03284f076dbdcf90a8df
[ "MIT" ]
null
null
null
tests/pipeline/process/test_process_injury.py
thecodeforest/fantasyfootball
ed04960a20e1781a820c03284f076dbdcf90a8df
[ "MIT" ]
null
null
null
tests/pipeline/process/test_process_injury.py
thecodeforest/fantasyfootball
ed04960a20e1781a820c03284f076dbdcf90a8df
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import pytest from fantasyfootball.pipeline.process.process_injury import ( add_injury_feature_columns, _convert_plural_injury_to_singular, process_injury_type, add_missing_values_for_non_injured_players, fill_missing_values_for_non_injured_players, ) def te...
24.5
65
0.697959
120
980
5.275
0.433333
0.055292
0.101106
0.120063
0.42654
0.243286
0.243286
0
0
0
0
0
0.207143
980
39
66
25.128205
0.814672
0.341837
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
true
0.25
0.2
0
0.45
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
1
1
0
0
0
0
0
3
2092f3482d6a57bf257f5cf4810483b4b7a0d20f
2,652
py
Python
libspn/graph/leaf/raw.py
pronobis/libspn
b98141ea5a609a02706433220758e58f46bd3f5e
[ "MIT" ]
22
2019-03-01T15:58:20.000Z
2022-02-18T10:32:04.000Z
libspn/graph/leaf/raw.py
pronobis/libspn
b98141ea5a609a02706433220758e58f46bd3f5e
[ "MIT" ]
10
2019-03-03T18:15:24.000Z
2021-05-04T09:02:55.000Z
libspn/graph/leaf/raw.py
pronobis/libspn
b98141ea5a609a02706433220758e58f46bd3f5e
[ "MIT" ]
8
2019-03-22T20:45:20.000Z
2021-05-03T13:22:09.000Z
import tensorflow as tf from libspn.graph.scope import Scope from libspn.graph.node import VarNode from libspn import conf from libspn import utils from libspn.utils.serialization import register_serializable @register_serializable class RawLeaf(VarNode): """A node representing a vector of continuous random varia...
33.56962
97
0.667421
362
2,652
4.71547
0.356354
0.073814
0.051552
0.032806
0.080844
0.051552
0
0
0
0
0
0.001009
0.25264
2,652
78
98
34
0.860242
0.344268
0
0.093023
0
0
0.035194
0
0
0
0
0
0
1
0.27907
false
0
0.139535
0.162791
0.651163
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
209e9c7c03cbf5859f6f49845f7b70efea80ca4d
60
py
Python
wildfirepy/coordinates/__init__.py
ram-nad/wildfirepy
7c449357ddbafa9ef9797b58fabf44d8a1f54137
[ "MIT" ]
21
2020-05-03T11:29:49.000Z
2021-08-18T15:51:29.000Z
wildfirepy/coordinates/__init__.py
lisa761/wildfirepy
9f54e87adf7d7ff3738f1a13303d4073dd82fbc1
[ "MIT" ]
60
2020-05-01T22:35:09.000Z
2020-12-07T08:48:59.000Z
wildfirepy/coordinates/__init__.py
lisa761/wildfirepy
9f54e87adf7d7ff3738f1a13303d4073dd82fbc1
[ "MIT" ]
24
2020-05-02T02:01:56.000Z
2021-01-05T18:03:19.000Z
from wildfirepy.coordinates import util __all__ = ['util']
15
39
0.766667
7
60
6
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.133333
60
3
40
20
0.807692
0
0
0
0
0
0.066667
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
20b7567604e8d5e8c8dbeb7cd29bd229feaf46d3
375
py
Python
src/neuron/choice.py
nkapchenko/Neuron
1b450b4785ea9e1862a78b7a89c1786478dca726
[ "MIT" ]
null
null
null
src/neuron/choice.py
nkapchenko/Neuron
1b450b4785ea9e1862a78b7a89c1786478dca726
[ "MIT" ]
null
null
null
src/neuron/choice.py
nkapchenko/Neuron
1b450b4785ea9e1862a78b7a89c1786478dca726
[ "MIT" ]
null
null
null
import numpy as np from neuron.target_functions import J_quadratic, J_quadratic_derivative from neuron.activation_functions import sigmoid, sigmoid_prime def J(X, y): return J_quadratic(X, y) def J_derivative(y, y_hat): return J_quadratic_derivative(y, y_hat) def activation(x): return sigmoid(x) def act...
18.75
71
0.770667
58
375
4.741379
0.327586
0.145455
0.145455
0.109091
0
0
0
0
0
0
0
0
0.154667
375
19
72
19.736842
0.867508
0
0
0
0
0
0
0
0
0
0
0
0
1
0.363636
false
0
0.272727
0.363636
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
20cb0f06b882fc2b65cb074a327ee779c9ace2cc
1,542
py
Python
setup.py
dpraul/flat_dict_format
cb9ab77d2208a77e5aafa6f75d2d4c45aae7e8c9
[ "MIT" ]
null
null
null
setup.py
dpraul/flat_dict_format
cb9ab77d2208a77e5aafa6f75d2d4c45aae7e8c9
[ "MIT" ]
null
null
null
setup.py
dpraul/flat_dict_format
cb9ab77d2208a77e5aafa6f75d2d4c45aae7e8c9
[ "MIT" ]
null
null
null
import re import ast from setuptools import setup _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('fdf/__init__.py', 'rb') as f: VERSION = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) if __name__ == '__main__': setup( name='FDF', version...
36.714286
119
0.567445
159
1,542
5.352201
0.591195
0.223267
0.293772
0.183314
0.063455
0
0
0
0
0
0
0.017399
0.291829
1,542
41
120
37.609756
0.761905
0
0
0
0
0
0.534371
0.014267
0
0
0
0
0
1
0
false
0
0.081081
0
0.081081
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
20d2a34be6eb8d7a789f35a4a165e55d50fd1798
213
py
Python
Day01/Goal.py
king04aman/100daysofcode
7b037de72809a19b5ac1e813626903e14d19f848
[ "MIT" ]
null
null
null
Day01/Goal.py
king04aman/100daysofcode
7b037de72809a19b5ac1e813626903e14d19f848
[ "MIT" ]
null
null
null
Day01/Goal.py
king04aman/100daysofcode
7b037de72809a19b5ac1e813626903e14d19f848
[ "MIT" ]
null
null
null
print("Welcome to the Band Name Generator.\n") city_name = input("What's name of the city you grew up in?") pet_name = input("What's your pet's name?") print("Your band name could be "+ city_name, pet_name)
35.5
61
0.699531
40
213
3.625
0.525
0.110345
0.17931
0.193103
0
0
0
0
0
0
0
0
0.173709
213
5
62
42.6
0.823864
0
0
0
0
0
0.594203
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
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
1
0
3
20e0e6d5d973f4b53c5524b545b1be7fb5250380
683
py
Python
attic/test_ast.py
lojikil/coastML
e92183ef9d8dd19817b9df7bffbd4ee3ab59e06f
[ "0BSD" ]
6
2022-03-10T18:59:01.000Z
2022-03-27T14:33:40.000Z
attic/test_ast.py
lojikil/xl30
5514920c0eff90abdc5df1a954137fdfb74bb25d
[ "0BSD" ]
null
null
null
attic/test_ast.py
lojikil/xl30
5514920c0eff90abdc5df1a954137fdfb74bb25d
[ "0BSD" ]
null
null
null
from carpet import * a0 = CoastAssignAST(CoastIdentAST("Ident", "a"), CoastLiteralAST("Int", "10")) print(a0.to_coast()) f0 = CoastFNAST([CoastIdentAST("Ident", "x")], CoastBlockAST([CoastOpCallAST(CoastIdentAST("Ident","+"), [CoastIdentAST("Ident", "x"), CoastIdentAST("Ident", "x")])])) b0 = CoastIdentAST("Ident", "f...
56.916667
283
0.683748
70
683
6.614286
0.342857
0.427646
0.24622
0.194384
0.159827
0
0
0
0
0
0
0.025197
0.070278
683
11
284
62.090909
0.703937
0
0
0
0
0
0.121523
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.333333
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
45638e0f0daaf2c06d1b1b7f94606a1686f3b973
303
py
Python
pac/mn.py
qingmingwu/PYTHON-decide-main-procedure
17676a7403fb2112b67e8b3493a17fa7802d6bae
[ "Apache-2.0" ]
null
null
null
pac/mn.py
qingmingwu/PYTHON-decide-main-procedure
17676a7403fb2112b67e8b3493a17fa7802d6bae
[ "Apache-2.0" ]
null
null
null
pac/mn.py
qingmingwu/PYTHON-decide-main-procedure
17676a7403fb2112b67e8b3493a17fa7802d6bae
[ "Apache-2.0" ]
null
null
null
# 主程序运行 - 理解为就是当前文件中运行代码,我的是sublime 编辑器,所以直接快捷键ctrl+b即可云心主程序 def print_print(): print("__name__ : ", __name__) # 打印__name__,结果为:__name__ : __main__ print_print() # 总结: # 主程序运行__name__ = "__main__" # 导入模式运行__name__ = "mn" -> 主程序文件名称 # 所以用: if __name__ == "__main__": # app.run() # 这个只是应用示例
16.833333
60
0.683168
34
303
4.852941
0.617647
0.181818
0
0
0
0
0
0
0
0
0
0
0.171617
303
17
61
17.823529
0.657371
0.709571
0
0
0
0
0.139241
0
0
0
0
0
0
1
0.333333
true
0
0
0
0.333333
1
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
1
0
0
0
0
1
0
3
456e304f47879a7a0d98376d10a4cdbb91165dcf
409
py
Python
webdev/tarefas/tests/test_tarefas_get.py
MaksonViini/web-dev-django
e8bbb925efa26fbb43acc45d757d5278e268e55a
[ "MIT" ]
null
null
null
webdev/tarefas/tests/test_tarefas_get.py
MaksonViini/web-dev-django
e8bbb925efa26fbb43acc45d757d5278e268e55a
[ "MIT" ]
2
2021-02-19T14:31:19.000Z
2021-02-19T15:32:21.000Z
webdev/tarefas/tests/test_tarefas_get.py
MaksonViini/web-dev-django
e8bbb925efa26fbb43acc45d757d5278e268e55a
[ "MIT" ]
null
null
null
from django.urls import reverse from pytest_django.asserts import assertContains @pytest.fixure def resposta(client): return client.get(reverse('tarefas:home')) def test_status_code(client): assert resposta.status_code == 200 def test_formulario_present(client): assertContains(resposta, '<form') def...
20.45
53
0.770171
51
409
6
0.54902
0.068627
0.176471
0.228758
0
0
0
0
0
0
0
0.008403
0.127139
409
19
54
21.526316
0.84874
0
0
0
0
0
0.09291
0
0
0
0
0
0.363636
1
0.363636
false
0
0.181818
0.090909
0.636364
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
45731363a327173443f8716dea7d4b9d476f3cd7
1,158
py
Python
tests/mock_socket.py
fossabot/mosec
b803cffbbdb92212a2810597f8ce59fe14c1f728
[ "Apache-2.0" ]
65
2021-09-30T13:24:26.000Z
2022-03-20T03:01:59.000Z
tests/mock_socket.py
fossabot/mosec
b803cffbbdb92212a2810597f8ce59fe14c1f728
[ "Apache-2.0" ]
26
2021-09-25T02:45:29.000Z
2022-03-28T11:07:00.000Z
tests/mock_socket.py
fossabot/mosec
b803cffbbdb92212a2810597f8ce59fe14c1f728
[ "Apache-2.0" ]
12
2021-09-28T11:44:42.000Z
2022-03-22T10:48:00.000Z
class MockSocket: """Mock socket object used to test protocol.""" def __init__(self, family=None): self.family = family self.buffer = b"" self.timeout = None def recv(self, bufsize, flags=None) -> bytes: data = self.buffer[:bufsize] self.buffer = self.buffer[bufsize...
22.705882
51
0.594128
137
1,158
4.956204
0.394161
0.11782
0.050074
0.05891
0
0
0
0
0
0
0
0.002442
0.292746
1,158
50
52
23.16
0.826618
0.067358
0
0.114286
0
0
0.036483
0
0
0
0
0
0
1
0.314286
false
0.114286
0
0.057143
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
4575dec22430ad060daed194adb685856d66806d
2,425
py
Python
app/models.py
austinkaruru/Goal
fca06b141cb806f00a371b005c4cc0ba5cc34ae5
[ "MIT" ]
null
null
null
app/models.py
austinkaruru/Goal
fca06b141cb806f00a371b005c4cc0ba5cc34ae5
[ "MIT" ]
null
null
null
app/models.py
austinkaruru/Goal
fca06b141cb806f00a371b005c4cc0ba5cc34ae5
[ "MIT" ]
null
null
null
from . import db, login_manager from flask_login import UserMixin from werkzeug.security import generate_password_hash, check_password_hash @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) class User(UserMixin, db.Model): __tablename__ = 'users' id = db.Column(db.I...
27.247191
86
0.684948
332
2,425
4.786145
0.228916
0.105727
0.132159
0.110761
0.418502
0.346759
0.33669
0.232222
0.169918
0.123348
0
0.012048
0.178557
2,425
88
87
27.556818
0.785643
0
0
0.22807
1
0
0.114639
0
0
0
0
0
0
1
0.140351
false
0.157895
0.052632
0.105263
0.894737
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
1
0
0
0
3
457ed6e86d376024a0b77bb262607eb8b41fcedd
394
py
Python
forms.py
RyanRasi/Bioinformatics-Tool
68648637da1a541eebbd02e988ce7c3f1430d9b1
[ "MIT" ]
null
null
null
forms.py
RyanRasi/Bioinformatics-Tool
68648637da1a541eebbd02e988ce7c3f1430d9b1
[ "MIT" ]
null
null
null
forms.py
RyanRasi/Bioinformatics-Tool
68648637da1a541eebbd02e988ce7c3f1430d9b1
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, TextAreaField, SubmitField class UniprotForm(FlaskForm): UAC = StringField("Uniprot Accession Code") submit = SubmitField("Submit") email = StringField("Email (Optional)") class FastaForm(FlaskForm): FASTA = TextAreaField("Fasta") fa...
32.833333
74
0.779188
40
394
7.65
0.55
0.111111
0.143791
0.215686
0.300654
0.300654
0
0
0
0
0
0
0.111675
394
12
75
32.833333
0.874286
0
0
0.2
0
0
0.179747
0
0
0
0
0
0
1
0
false
0.1
0.2
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
0
1
0
0
1
0
0
3
4597698d7b8358827cff51eb7e6637e986fcdcda
158
py
Python
aiocloudflare/api/zones/logs/control/retention/flag/flag.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
2
2021-09-14T13:20:55.000Z
2022-02-24T14:18:24.000Z
aiocloudflare/api/zones/logs/control/retention/flag/flag.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
46
2021-09-08T08:39:45.000Z
2022-03-29T12:31:05.000Z
aiocloudflare/api/zones/logs/control/retention/flag/flag.py
Stewart86/aioCloudflare
341c0941f8f888a8b7e696e64550bce5da4949e6
[ "MIT" ]
1
2021-12-30T23:02:23.000Z
2021-12-30T23:02:23.000Z
from aiocloudflare.commons.auth import Auth class Flag(Auth): _endpoint1 = "zones" _endpoint2 = "logs/control/retention/flag" _endpoint3 = None
19.75
46
0.721519
18
158
6.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0.023256
0.183544
158
7
47
22.571429
0.837209
0
0
0
0
0
0.202532
0.170886
0
0
0
0
0
1
0
false
0
0.2
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
45b4e149d64e21063996293e75d4ae8570e61848
38
py
Python
script/__init__.py
NLAFET/BBLAS-ref
7f3bef184d4d7a9a8b5685185e16f77e5d317e6d
[ "BSD-2-Clause" ]
null
null
null
script/__init__.py
NLAFET/BBLAS-ref
7f3bef184d4d7a9a8b5685185e16f77e5d317e6d
[ "BSD-2-Clause" ]
null
null
null
script/__init__.py
NLAFET/BBLAS-ref
7f3bef184d4d7a9a8b5685185e16f77e5d317e6d
[ "BSD-2-Clause" ]
null
null
null
all = ["framework", "blas", "plasma"]
19
37
0.578947
4
38
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.131579
38
1
38
38
0.666667
0
0
0
0
0
0.5
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
45b85e24ac2f341d161c57e8fe8d0f0cbdf913c3
347
py
Python
osm/data_streams/abstract_base_class.py
cjneetha/osm
cc391fbfee8c89a1f15257ea36e6bbc85bbea938
[ "MIT" ]
1
2018-06-12T09:11:34.000Z
2018-06-12T09:11:34.000Z
osm/data_streams/abstract_base_class.py
cjneetha/osm
cc391fbfee8c89a1f15257ea36e6bbc85bbea938
[ "MIT" ]
null
null
null
osm/data_streams/abstract_base_class.py
cjneetha/osm
cc391fbfee8c89a1f15257ea36e6bbc85bbea938
[ "MIT" ]
2
2018-10-22T12:32:02.000Z
2018-12-28T11:43:03.000Z
from abc import ABC, abstractmethod class AbstractBaseClass(ABC): @abstractmethod def get_name(self): """ :return: the name of the type """ pass def __getstate__(self): state = self.__dict__.copy() return state def __setstate__(self, state): s...
18.263158
37
0.599424
37
347
5.162162
0.567568
0.17801
0.136126
0.17801
0
0
0
0
0
0
0
0
0.308357
347
18
38
19.277778
0.795833
0.083573
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0.1
0.1
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
1
0
1
0
0
0
0
0
3
45bb6b4e27c93cbf7561dba87d2a8d8eb47bf016
3,856
py
Python
src/ChefsHatGym/KEF/ExperimentManager.py
pablovin/ChefsHatGYM
600a5f985d2505544a3a9321d6a8c5549f4d5b21
[ "MIT" ]
5
2020-04-02T09:54:09.000Z
2021-04-10T08:50:54.000Z
src/ChefsHatGym/KEF/ExperimentManager.py
pablovin/ChefsHatGYM
600a5f985d2505544a3a9321d6a8c5549f4d5b21
[ "MIT" ]
12
2020-03-24T18:23:53.000Z
2022-03-12T00:19:03.000Z
src/ChefsHatGym/KEF/ExperimentManager.py
pablovin/ChefsHatGYM
600a5f985d2505544a3a9321d6a8c5549f4d5b21
[ "MIT" ]
1
2020-03-24T15:09:43.000Z
2020-03-24T15:09:43.000Z
# -*- coding: utf-8 -*- import os import datetime from ChefsHatGym.KEF import LogManager from ChefsHatGym.KEF import PlotManager from ChefsHatGym.KEF import DataSetManager from ChefsHatGym.KEF import MetricsManager class ExperimentManager: """Experiment Manager Class This class manager the experiments. It ...
32.403361
151
0.662604
385
3,856
6.558442
0.306494
0.043564
0.055446
0.083168
0.107723
0
0
0
0
0
0
0.00792
0.246888
3,856
119
152
32.403361
0.86157
0.267635
0
0.178571
0
0
0.046548
0
0
0
0
0
0.035714
1
0.232143
false
0
0.107143
0.178571
0.535714
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
45c50bdb50ee9d566748801ebee3f4d6c35eb0fd
200
py
Python
pypy/objspace/std/basestringtype.py
akercheval/espy
f8317d2f01ba726ed4f03cab081176c32ae4cac4
[ "Apache-2.0", "OpenSSL" ]
4
2019-02-11T06:58:43.000Z
2020-03-15T14:12:32.000Z
pypy/objspace/std/basestringtype.py
akercheval/espy
f8317d2f01ba726ed4f03cab081176c32ae4cac4
[ "Apache-2.0", "OpenSSL" ]
null
null
null
pypy/objspace/std/basestringtype.py
akercheval/espy
f8317d2f01ba726ed4f03cab081176c32ae4cac4
[ "Apache-2.0", "OpenSSL" ]
null
null
null
from pypy.interpreter.typedef import TypeDef basestring_typedef = TypeDef("basestring", __doc__ = ("basepalabra no se puede instanciar; " "es el base para pal y unicod.") )
25
54
0.665
23
200
5.565217
0.826087
0.265625
0
0
0
0
0
0
0
0
0
0
0.25
200
7
55
28.571429
0.853333
0
0
0
0
0
0.375
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
45e4b83035d514558499398fda821ccb5ccfe544
224
py
Python
homework/modules/challenge_2.py
xParadoxx/coding-winter-session
0820012368913c7bea8d8887dd1a22f54cb5556f
[ "MIT" ]
null
null
null
homework/modules/challenge_2.py
xParadoxx/coding-winter-session
0820012368913c7bea8d8887dd1a22f54cb5556f
[ "MIT" ]
null
null
null
homework/modules/challenge_2.py
xParadoxx/coding-winter-session
0820012368913c7bea8d8887dd1a22f54cb5556f
[ "MIT" ]
null
null
null
""" Write a program that generates a random die roll on a six sided die. What about an n-sided die for n as any integer? """ from random import randint def main(): print(f"your die roll is: {randint(1, 6)}") main()
17.230769
116
0.678571
41
224
3.707317
0.731707
0.092105
0
0
0
0
0
0
0
0
0
0.011364
0.214286
224
12
117
18.666667
0.852273
0.517857
0
0
1
0
0.33
0
0
0
0
0
0
1
0.25
true
0
0.25
0
0.5
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
3
afe21d4e0434679187ef709bb80b283b7be0638a
459
py
Python
ENV/lib/python3.6/site-packages/pyramid/tests/pkgs/ccbugapp/__init__.py
captain-c00keys/pyramid-stocks
0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a
[ "MIT" ]
null
null
null
ENV/lib/python3.6/site-packages/pyramid/tests/pkgs/ccbugapp/__init__.py
captain-c00keys/pyramid-stocks
0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a
[ "MIT" ]
null
null
null
ENV/lib/python3.6/site-packages/pyramid/tests/pkgs/ccbugapp/__init__.py
captain-c00keys/pyramid-stocks
0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a
[ "MIT" ]
null
null
null
from webob import Response def rdf_view(request): """ """ return Response('rdf') def juri_view(request): """ """ return Response('juri') def includeme(config): config.add_route('rdf', 'licenses/:license_code/:license_version/rdf') config.add_route('juri', 'licenses/:licen...
27
77
0.668845
57
459
5.140351
0.350877
0.122867
0.116041
0.170648
0.225256
0
0
0
0
0
0
0
0.178649
459
16
78
28.6875
0.777188
0
0
0
0
0
0.262921
0.21573
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
b338670c3f1312cb6a2b0621e1d531d725c09ad9
345
py
Python
lesson_5/task_2.py
ok-git/py_training
76ac3a48c41ed0f7fe308a64aae6b8e447041f70
[ "Apache-2.0" ]
null
null
null
lesson_5/task_2.py
ok-git/py_training
76ac3a48c41ed0f7fe308a64aae6b8e447041f70
[ "Apache-2.0" ]
null
null
null
lesson_5/task_2.py
ok-git/py_training
76ac3a48c41ed0f7fe308a64aae6b8e447041f70
[ "Apache-2.0" ]
null
null
null
""" Создать текстовый файл (не программно), сохранить в нем несколько строк, выполнить подсчет количества строк, количества слов в каждой строке. """ with open("test_2.txt", 'r', encoding='utf-8') as f_obj: for idx, line in enumerate(f_obj, 1): print(f'Строка № {idx}, слов в строке - {len(line.split())}. С...
38.333333
119
0.678261
53
345
4.396226
0.754717
0.042918
0
0
0
0
0
0
0
0
0
0.010417
0.165217
345
8
120
43.125
0.791667
0.408696
0
0
0
0.333333
0.469388
0
0
0
0
0
0
1
0
true
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b365effd2f096dc7a3fd7c721955705a856ff06e
357
py
Python
Windows/counter_thread.py
SuperSecretPryncyMafia/PKN
3de43c3cd2f63d29098adb92b563bbc4bd79bbf8
[ "MIT" ]
null
null
null
Windows/counter_thread.py
SuperSecretPryncyMafia/PKN
3de43c3cd2f63d29098adb92b563bbc4bd79bbf8
[ "MIT" ]
null
null
null
Windows/counter_thread.py
SuperSecretPryncyMafia/PKN
3de43c3cd2f63d29098adb92b563bbc4bd79bbf8
[ "MIT" ]
null
null
null
import threading class CounterThread(threading.Thread): def __init__(self, flag, *args, **kwargs): super(CounterThread, self).__init__(*args, **kwargs) self.flag = flag self.__stop_event = threading.Event() def stop(self): self.__stop_event.set() def stopped(self): ...
22.3125
60
0.647059
42
357
5.071429
0.428571
0.112676
0.183099
0
0
0
0
0
0
0
0
0
0.229692
357
15
61
23.8
0.774545
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.1
0.6
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
2faedad55f7230ae91d6af2cf8f4e333cfb90e75
22
py
Python
tests/conf.py
2js855/symstore
cb40f9d41778e7e730a584e5cd70dd0531de394a
[ "MIT" ]
26
2015-11-18T17:45:35.000Z
2021-03-15T07:38:08.000Z
tests/conf.py
2js855/symstore
cb40f9d41778e7e730a584e5cd70dd0531de394a
[ "MIT" ]
17
2016-08-20T07:17:21.000Z
2021-06-03T06:59:14.000Z
tests/conf.py
2js855/symstore
cb40f9d41778e7e730a584e5cd70dd0531de394a
[ "MIT" ]
14
2015-10-02T23:04:46.000Z
2021-05-28T23:34:26.000Z
WITH_COVERAGE = False
11
21
0.818182
3
22
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.894737
0
0
0
0
0
0
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
2fc5ef68881144bfde1f0425fdae3e8581066020
133
py
Python
website/urls.py
farzan-mortez/mySite_Resume
e41f35e0edabd19afde2cd9ce350d7e96be8cbc9
[ "MIT" ]
null
null
null
website/urls.py
farzan-mortez/mySite_Resume
e41f35e0edabd19afde2cd9ce350d7e96be8cbc9
[ "MIT" ]
null
null
null
website/urls.py
farzan-mortez/mySite_Resume
e41f35e0edabd19afde2cd9ce350d7e96be8cbc9
[ "MIT" ]
null
null
null
from django.urls import path from website.views import * app_name = 'website' urlpatterns = [ path('',index_view,name='index') ]
19
36
0.714286
18
133
5.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.150376
133
7
37
19
0.823009
0
0
0
0
0
0.089552
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
2fcd3bb5aeb12b82154720c3ef3e42d203bd0c4a
588
py
Python
annsa/tests/test_annsa.py
katyhuff/annsa
b3b7eca913b72ec584c2deb7c7e16db3b72095db
[ "BSD-3-Clause" ]
null
null
null
annsa/tests/test_annsa.py
katyhuff/annsa
b3b7eca913b72ec584c2deb7c7e16db3b72095db
[ "BSD-3-Clause" ]
null
null
null
annsa/tests/test_annsa.py
katyhuff/annsa
b3b7eca913b72ec584c2deb7c7e16db3b72095db
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import, division, print_function import os.path as op import numpy as np import pandas as pd import numpy.testing as npt import annsa as an data_path = op.join(sb.__path__[0], 'data') def test_generate_single_source_key(): """ Testing to see if the generate_single_source_key f...
26.727273
103
0.743197
94
588
4.351064
0.542553
0.132029
0.146699
0.168704
0
0
0
0
0
0
0
0.002088
0.185374
588
21
104
28
0.851775
0.25
0
0
0
0
0.009456
0
0
0
0
0
0.090909
1
0.090909
false
0
0.545455
0
0.636364
0.090909
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
2fd6ae22e81d7322171d0fb1b230aded6b281ca0
68
py
Python
tsh/consts.py
alefnula/cmd
b5bff24951e28677f2801bbd8f2a7d0fd22f4110
[ "Apache-2.0" ]
1
2019-07-17T08:48:33.000Z
2019-07-17T08:48:33.000Z
tsh/consts.py
alefnula/cmd
b5bff24951e28677f2801bbd8f2a7d0fd22f4110
[ "Apache-2.0" ]
null
null
null
tsh/consts.py
alefnula/cmd
b5bff24951e28677f2801bbd8f2a7d0fd22f4110
[ "Apache-2.0" ]
null
null
null
import locale encoding = locale.getpreferredencoding() or "utf-8"
13.6
51
0.764706
8
68
6.5
0.875
0
0
0
0
0
0
0
0
0
0
0.016949
0.132353
68
4
52
17
0.864407
0
0
0
0
0
0.073529
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
2fe2c9eee32c9d2f9d0c689592706c579db06164
22
py
Python
tests/listings/__init__.py
meghabhoj/NEWBAZAAR
cb1405dcb2c8b4812ddf724d5a3c07b2f77c1b34
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
tests/listings/__init__.py
meghabhoj/NEWBAZAAR
cb1405dcb2c8b4812ddf724d5a3c07b2f77c1b34
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
tests/listings/__init__.py
meghabhoj/NEWBAZAAR
cb1405dcb2c8b4812ddf724d5a3c07b2f77c1b34
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
__author__ = 'giok57'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0.105263
0.136364
22
1
22
22
0.526316
0
0
0
0
0
0.272727
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
2fea4f0ce8d459809f955795e9ae83ef481cc86b
69
py
Python
SentimentAnalysis/__init__.py
renjunxiang/Sentiment-analysis
c6cb5594d2784472f193a4b6633f155ae1919cf8
[ "MIT" ]
30
2018-02-02T10:00:30.000Z
2022-03-15T06:34:04.000Z
SentimentAnalysis/__init__.py
renjunxiang/Sentiment-analysis
c6cb5594d2784472f193a4b6633f155ae1919cf8
[ "MIT" ]
1
2018-04-11T08:48:36.000Z
2018-07-27T00:20:41.000Z
SentimentAnalysis/__init__.py
renjunxiang/Sentiment-analysis
c6cb5594d2784472f193a4b6633f155ae1919cf8
[ "MIT" ]
9
2018-02-02T10:02:14.000Z
2019-04-29T04:41:02.000Z
__all__ = ['models','sentence_transform','data','test','creat_data']
34.5
68
0.710145
8
69
5.375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.043478
69
1
69
69
0.651515
0
0
0
0
0
0.608696
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
64389d92d2529700383b5cb640a08ff6e2a50b09
65
py
Python
BayesianRegressions/__init__.py
hayato-n/BayesianRegressions
7063c2f413bf60db3b0e233208da10ab82068c22
[ "MIT" ]
1
2021-10-31T06:19:21.000Z
2021-10-31T06:19:21.000Z
BayesianRegressions/__init__.py
hayato-n/BayesianRegressions
7063c2f413bf60db3b0e233208da10ab82068c22
[ "MIT" ]
null
null
null
BayesianRegressions/__init__.py
hayato-n/BayesianRegressions
7063c2f413bf60db3b0e233208da10ab82068c22
[ "MIT" ]
null
null
null
from . import LinearRegressions __all__ = ["LinearRegressions"]
16.25
31
0.784615
5
65
9.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.123077
65
3
32
21.666667
0.824561
0
0
0
0
0
0.261538
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
643d7bd34c2d6280d93f36c199b5646f8afaf2a0
21
py
Python
pyiocontrol/__init__.py
xyzza/pyiocontrol
c401d4c022c461c2d1ed875803dc2cce9afce0f8
[ "MIT" ]
null
null
null
pyiocontrol/__init__.py
xyzza/pyiocontrol
c401d4c022c461c2d1ed875803dc2cce9afce0f8
[ "MIT" ]
null
null
null
pyiocontrol/__init__.py
xyzza/pyiocontrol
c401d4c022c461c2d1ed875803dc2cce9afce0f8
[ "MIT" ]
null
null
null
name = "pyiocontrol"
10.5
20
0.714286
2
21
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.833333
0
0
0
0
0
0.52381
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
643fab86591c4a88ac75ac48ccf8291e5ea48400
504
py
Python
battleship/GameBoard.py
rachitmishra/45
c38650f4fa2ea1857848b95320cdc37929b39197
[ "MIT" ]
null
null
null
battleship/GameBoard.py
rachitmishra/45
c38650f4fa2ea1857848b95320cdc37929b39197
[ "MIT" ]
null
null
null
battleship/GameBoard.py
rachitmishra/45
c38650f4fa2ea1857848b95320cdc37929b39197
[ "MIT" ]
null
null
null
from battleship.Panel import Panel class GameBoard(object): def __init__(self): self.panels = [] def init_panels(self): for i in range(10): for j in range(10): self.panels.append(Panel(i, j)) class FiringBoard(GameBoard): def __init__(self): super(Fir...
19.384615
47
0.611111
62
504
4.66129
0.435484
0.072664
0.076125
0.096886
0
0
0
0
0
0
0
0.011204
0.291667
504
25
48
20.16
0.798319
0
0
0.294118
0
0
0
0
0
0
0
0
0
1
0.352941
false
0.176471
0.058824
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
64422be6195cc885cb894d148767867f9f9752ae
584
py
Python
backend/Project/models.py
sourabhmandal/Showcase
8bf6379291bea852fd49e3aeec511a9d64659e44
[ "MIT" ]
null
null
null
backend/Project/models.py
sourabhmandal/Showcase
8bf6379291bea852fd49e3aeec511a9d64659e44
[ "MIT" ]
null
null
null
backend/Project/models.py
sourabhmandal/Showcase
8bf6379291bea852fd49e3aeec511a9d64659e44
[ "MIT" ]
null
null
null
from django.db import models class Project(models.Model): title = models.CharField(verbose_name="Project Name", max_length=100) description = models.TextField(verbose_name="Desciption") project_demo = models.CharField( verbose_name="Project Demo", max_length=500, null=True) project_link = mode...
30.736842
73
0.705479
72
584
5.472222
0.416667
0.167513
0.22335
0.263959
0.335025
0
0
0
0
0
0
0.025532
0.195205
584
18
74
32.444444
0.812766
0
0
0
0
0
0.111301
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0.071429
0.714286
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
ff313e86f01e5327d9e03b8149d78a7f9c6fa99a
225
py
Python
gamefixes/976310.py
pierobot/protonfixes
9b3d732d42b743313047b12320df42e89a3d7abb
[ "BSD-2-Clause" ]
null
null
null
gamefixes/976310.py
pierobot/protonfixes
9b3d732d42b743313047b12320df42e89a3d7abb
[ "BSD-2-Clause" ]
null
null
null
gamefixes/976310.py
pierobot/protonfixes
9b3d732d42b743313047b12320df42e89a3d7abb
[ "BSD-2-Clause" ]
null
null
null
""" Mortal Kombat 11 """ #pylint: disable=C0103 from protonfixes import util def main(): """ Requires media foundation dlls and mem_alloc mod """ util.protontricks('mf_install') util.wine_mem_alloc_mod()
16.071429
56
0.684444
29
225
5.137931
0.827586
0.107383
0.147651
0
0
0
0
0
0
0
0
0.033333
0.2
225
13
57
17.307692
0.794444
0.408889
0
0
0
0
0.084034
0
0
0
0
0
0
1
0.25
true
0
0.25
0
0.5
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
1
1
0
0
0
0
0
0
3
ff42e63d9b534795c68d9e9346d8e9b2232004db
554
py
Python
cmne/__init__.py
brain-link/cmne
0d87e0bcd0041b250ee484f39341a0bf83f72949
[ "MIT" ]
null
null
null
cmne/__init__.py
brain-link/cmne
0d87e0bcd0041b250ee484f39341a0bf83f72949
[ "MIT" ]
null
null
null
cmne/__init__.py
brain-link/cmne
0d87e0bcd0041b250ee484f39341a0bf83f72949
[ "MIT" ]
1
2022-03-15T12:28:20.000Z
2022-03-15T12:28:20.000Z
"""Contextual Minimum Norm Estimates (CMNE)""" # PEP0440 compatible formatted version, see: # https://www.python.org/dev/peps/pep-0440/ # # Generic release markers: # X.Y # X.Y.Z # For bugfix releases # # Admissible pre-release markers: # X.YaN # Alpha release # X.YbN # Beta release # X.YrcN # Release...
24.086957
57
0.687726
78
554
4.820513
0.641026
0.021277
0.079787
0
0
0
0
0
0
0
0
0.017857
0.191336
554
23
58
24.086957
0.821429
0.684116
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
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
ff6040ff8f8f92d17246c7c96d6f1ed35d3ba31c
569
py
Python
src/ploomber/products/__init__.py
MarcoJHB/ploomber
4849ef6915572f7934392443b4faf138172b9596
[ "Apache-2.0" ]
2,141
2020-02-14T02:34:34.000Z
2022-03-31T22:43:20.000Z
src/ploomber/products/__init__.py
MarcoJHB/ploomber
4849ef6915572f7934392443b4faf138172b9596
[ "Apache-2.0" ]
660
2020-02-06T16:15:57.000Z
2022-03-31T22:55:01.000Z
src/ploomber/products/__init__.py
MarcoJHB/ploomber
4849ef6915572f7934392443b4faf138172b9596
[ "Apache-2.0" ]
122
2020-02-14T18:53:05.000Z
2022-03-27T22:33:24.000Z
from ploomber.products.product import Product from ploomber.products.metaproduct import MetaProduct from ploomber.products.file import File from ploomber.products.genericproduct import (GenericProduct, GenericSQLRelation, SQLRelation) from ploomber.products.sql import SQLit...
43.769231
78
0.752197
49
569
8.653061
0.306122
0.169811
0.283019
0
0
0
0
0
0
0
0
0
0.16696
569
12
79
47.416667
0.894515
0
0
0
0
0
0.188049
0
0
0
0
0
0
1
0
false
0
0.545455
0
0.545455
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
ff807363dd0f9a4090fb9500bb7da095d5414d31
252
py
Python
traceability/admin/shipment.py
vandorjw/django-traceability
43896f13676bb509e0dbdd8fa9ed506d31d64459
[ "BSD-3-Clause" ]
2
2015-12-23T11:37:51.000Z
2021-01-14T10:43:38.000Z
traceability/admin/shipment.py
vandorjw/django-traceability
43896f13676bb509e0dbdd8fa9ed506d31d64459
[ "BSD-3-Clause" ]
null
null
null
traceability/admin/shipment.py
vandorjw/django-traceability
43896f13676bb509e0dbdd8fa9ed506d31d64459
[ "BSD-3-Clause" ]
1
2015-10-27T14:30:54.000Z
2015-10-27T14:30:54.000Z
from django.contrib import admin from traceability.models.shipment import Shipment class ShipmentAdmin(admin.ModelAdmin): search_fields = ['invoice_number', 'customer'] list_display = ('date_shipped', 'customer', 'address', 'invoice_number')
31.5
76
0.765873
28
252
6.714286
0.75
0.138298
0
0
0
0
0
0
0
0
0
0
0.119048
252
7
77
36
0.846847
0
0
0
0
0
0.25
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
ffa108fcfa73d560387176e4c0ffa5082c8ce5e5
309
py
Python
print_decreasing_increasing.py
iamshivprakash/recursion-and-backtracking
0a2a8693005069adf00633597e701d999c6b3b9d
[ "MIT" ]
null
null
null
print_decreasing_increasing.py
iamshivprakash/recursion-and-backtracking
0a2a8693005069adf00633597e701d999c6b3b9d
[ "MIT" ]
null
null
null
print_decreasing_increasing.py
iamshivprakash/recursion-and-backtracking
0a2a8693005069adf00633597e701d999c6b3b9d
[ "MIT" ]
null
null
null
# write a recursive function that will print n integers # in first decreasing and then in increasing order def print_decreasing_increasing(n): if n==0: return else: print(n) print_decreasing_increasing(n-1) print(n) a= int(input()) print_decreasing_increasing(a)
23.769231
55
0.676375
43
309
4.72093
0.55814
0.08867
0.369458
0.256158
0
0
0
0
0
0
0
0.008621
0.249191
309
12
56
25.75
0.866379
0.330097
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0.555556
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
440af75ed0e7adb81b27e28f4729b9f4db1be69a
246
py
Python
formlibrary/models/construction.py
epanjwani/activity
530d77a96a247f91dee54277a3477c0140c2f525
[ "Apache-2.0" ]
null
null
null
formlibrary/models/construction.py
epanjwani/activity
530d77a96a247f91dee54277a3477c0140c2f525
[ "Apache-2.0" ]
null
null
null
formlibrary/models/construction.py
epanjwani/activity
530d77a96a247f91dee54277a3477c0140c2f525
[ "Apache-2.0" ]
null
null
null
from django.db import models from .service import Service class Construction(Service): """ Service of a construction project. Not yet used model. """ # implementer = stakeholder status = models.CharField(max_length=255)
20.5
45
0.699187
29
246
5.896552
0.758621
0
0
0
0
0
0
0
0
0
0
0.015625
0.219512
246
11
46
22.363636
0.875
0.329268
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
441761f34234d57ca26cae44bde734ffc3e01a69
354
py
Python
setup.py
ashafer01/chain
e7ea9b3fb2b92459c581dfc0ebc424300cd333c0
[ "MIT" ]
4
2020-01-07T19:02:06.000Z
2020-10-08T16:27:48.000Z
setup.py
ashafer01/chain
e7ea9b3fb2b92459c581dfc0ebc424300cd333c0
[ "MIT" ]
null
null
null
setup.py
ashafer01/chain
e7ea9b3fb2b92459c581dfc0ebc424300cd333c0
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='function-chain', version='0.1.0', description='Python function chaining', long_description='Python function chaining in a minimalist module', author='Alex Shafer', author_email='ashafer@pm.me', url='https://github.com/ashafer01/chain', license='...
25.285714
71
0.683616
44
354
5.431818
0.772727
0.142259
0.209205
0.276151
0
0
0
0
0
0
0
0.017065
0.172316
354
13
72
27.230769
0.798635
0
0
0
0
0
0.440678
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
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
1
0
0
0
0
0
0
3
443286f41d6d4db55a9c5f30e689062a349171cc
719
py
Python
webdev/institucional/tests/test_institucional_get.py
h-zanetti/real-estate-manager
a526cfccf9589629c03ac7e3afe760ade0e48b7d
[ "MIT" ]
null
null
null
webdev/institucional/tests/test_institucional_get.py
h-zanetti/real-estate-manager
a526cfccf9589629c03ac7e3afe760ade0e48b7d
[ "MIT" ]
22
2021-04-23T19:03:10.000Z
2021-08-13T14:57:37.000Z
webdev/institucional/tests/test_institucional_get.py
h-zanetti/real-estate-manager
a526cfccf9589629c03ac7e3afe760ade0e48b7d
[ "MIT" ]
null
null
null
from pytest_django.asserts import assertContains import pytest from django.urls import reverse def test_home_status_code(client): resposta = client.get(reverse('institucional:home')) assert resposta.status_code == 200 @pytest.fixture def resposta_quem_somos(client): return client.get(reverse('instituciona...
34.238095
83
0.802503
97
719
5.608247
0.329897
0.148897
0.21875
0.106618
0.253676
0.253676
0.253676
0.253676
0.253676
0.253676
0
0.009231
0.095967
719
20
84
35.95
0.827692
0
0
0
0
0
0.162726
0.129346
0
0
0
0
0.333333
1
0.333333
false
0
0.2
0.066667
0.6
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
4435e10f40c586995d8caa1ae4a25bf7cb5b97df
163
py
Python
config.py
JFF-Bohdan/nqueens
59426eb4cab6c4e8690023cff4f3be11925fa723
[ "MIT" ]
null
null
null
config.py
JFF-Bohdan/nqueens
59426eb4cab6c4e8690023cff4f3be11925fa723
[ "MIT" ]
null
null
null
config.py
JFF-Bohdan/nqueens
59426eb4cab6c4e8690023cff4f3be11925fa723
[ "MIT" ]
null
null
null
import os import logging APP_ROOT = os.path.dirname(os.path.abspath(__file__)) LOG_FORMAT = "%(asctime)s - %(levelname)s - %(message)s" LOG_LEVEL = logging.DEBUG
23.285714
56
0.736196
25
163
4.52
0.68
0.106195
0
0
0
0
0
0
0
0
0
0
0.110429
163
6
57
27.166667
0.77931
0
0
0
0
0
0.251534
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
4439d5de852ea55f90d1a5933c88efc54b3bdf2a
122
py
Python
6.py
abphilip-codes/Codechef_DSA
ee93243fdd1c16ce8d8163e92f0764bd5a64436c
[ "MIT" ]
1
2021-11-25T13:39:49.000Z
2021-11-25T13:39:49.000Z
6.py
abphilip-codes/Codechef_DSA
ee93243fdd1c16ce8d8163e92f0764bd5a64436c
[ "MIT" ]
null
null
null
6.py
abphilip-codes/Codechef_DSA
ee93243fdd1c16ce8d8163e92f0764bd5a64436c
[ "MIT" ]
1
2021-07-14T17:51:24.000Z
2021-07-14T17:51:24.000Z
# https://www.codechef.com/CCSTART2/problems/VALTRI N = int(input()) if(N%5==0 or N%6==0): print("YES") else: print("NO")
24.4
51
0.647541
23
122
3.434783
0.826087
0
0
0
0
0
0
0
0
0
0
0.045045
0.090164
122
5
52
24.4
0.666667
0.401639
0
0
0
0
0.069444
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
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
4441c0851b30454d28f00f7bc2d6294ca90edb38
139
py
Python
pyexamples/conditions.py
ZoltanHJetsmen/django-pizza
9b2d828ffc8c9dbf18cd4792f4d09e5abc2253da
[ "CC0-1.0" ]
null
null
null
pyexamples/conditions.py
ZoltanHJetsmen/django-pizza
9b2d828ffc8c9dbf18cd4792f4d09e5abc2253da
[ "CC0-1.0" ]
null
null
null
pyexamples/conditions.py
ZoltanHJetsmen/django-pizza
9b2d828ffc8c9dbf18cd4792f4d09e5abc2253da
[ "CC0-1.0" ]
null
null
null
print('Hello World') salse = 'tomates' if salse.startswith('toma'): print("it's problably tomato...") else: print("not tomato")
13.9
37
0.640288
18
139
4.944444
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.172662
139
9
38
15.444444
0.773913
0
0
0
0
0
0.405797
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
444e549532cd9c5e6f5a7c9a2265127a1efd5548
542
py
Python
plugins/onprem/test/test_args.py
mesosphere/cloudkeeper
11be262df5874c1033cfec9964bba1596cab6a36
[ "Apache-2.0" ]
99
2020-04-15T22:56:34.000Z
2021-06-13T15:04:55.000Z
plugins/onprem/test/test_args.py
mesosphere/cloudkeeper
11be262df5874c1033cfec9964bba1596cab6a36
[ "Apache-2.0" ]
null
null
null
plugins/onprem/test/test_args.py
mesosphere/cloudkeeper
11be262df5874c1033cfec9964bba1596cab6a36
[ "Apache-2.0" ]
14
2020-04-14T22:13:59.000Z
2021-04-05T16:42:31.000Z
from cklib.args import get_arg_parser, ArgumentParser from cloudkeeper_plugin_onprem import OnpremCollectorPlugin def test_args(): arg_parser = get_arg_parser() OnpremCollectorPlugin.add_args(arg_parser) arg_parser.parse_args() assert ArgumentParser.args.onprem_location == "Default location" asser...
38.714286
68
0.793358
67
542
6.134328
0.432836
0.109489
0.291971
0.291971
0.160584
0
0
0
0
0
0
0.002128
0.132841
542
13
69
41.692308
0.87234
0
0
0
0
0
0.062731
0
0
0
0
0
0.454545
1
0.090909
false
0
0.181818
0
0.272727
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
44626c42d19667c52d54992287e733008e1def44
787
py
Python
builder/story.py
nagisc007/storybuilder
54b28934de8acedbe35930ce27e12a7e75f91be0
[ "MIT" ]
null
null
null
builder/story.py
nagisc007/storybuilder
54b28934de8acedbe35930ce27e12a7e75f91be0
[ "MIT" ]
176
2019-03-07T13:31:26.000Z
2019-11-02T12:38:23.000Z
builder/story.py
nagisc007/storybuilder
54b28934de8acedbe35930ce27e12a7e75f91be0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Define story container class. """ from . import assertion from .basecontainer import BaseContainer from .chapter import Chapter class Story(BaseContainer): """The container for chapters. """ def __init__(self, title: str, *args): from .action import Action super(...
26.233333
70
0.651842
88
787
5.681818
0.488636
0.036
0
0
0
0
0
0
0
0
0
0.001672
0.240152
787
29
71
27.137931
0.834448
0.11817
0
0
0
0
0.044118
0
0
0
0
0
0.117647
1
0.235294
false
0
0.235294
0.117647
0.647059
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
4488e771b843e4841217f62190252b0a1821228b
38,814
py
Python
openstack/vpc/v1/_proxy.py
wangrui1121/huaweicloud-sdk-python
240abe00288760115d1791012d4e3c4592d77ad1
[ "Apache-2.0" ]
43
2018-12-19T08:39:15.000Z
2021-07-21T02:45:43.000Z
openstack/vpc/v1/_proxy.py
wangrui1121/huaweicloud-sdk-python
240abe00288760115d1791012d4e3c4592d77ad1
[ "Apache-2.0" ]
11
2019-03-17T13:28:56.000Z
2020-09-23T23:57:50.000Z
openstack/vpc/v1/_proxy.py
wangrui1121/huaweicloud-sdk-python
240abe00288760115d1791012d4e3c4592d77ad1
[ "Apache-2.0" ]
47
2018-12-19T05:14:25.000Z
2022-03-19T15:28:30.000Z
# Copyright 2018 Huawei Technologies Co.,Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use # this file except in compliance with the License. You may obtain a copy of the # License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
45.132558
90
0.612743
4,889
38,814
4.763551
0.070771
0.053502
0.045086
0.053845
0.779939
0.72107
0.683542
0.642277
0.583795
0.539826
0
0.009977
0.300201
38,814
859
91
45.185099
0.847434
0.691142
0
0.087302
0
0
0.003186
0
0
0
0
0
0
1
0.357143
false
0
0.079365
0
0.746032
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
92426e25ba4713332566a20a0c523b576c0d3f2d
196
py
Python
src/tzview/__main__.py
ju-sh/tzview
2ad930bf8a3de37697042b05eba332e282626d62
[ "MIT" ]
null
null
null
src/tzview/__main__.py
ju-sh/tzview
2ad930bf8a3de37697042b05eba332e282626d62
[ "MIT" ]
null
null
null
src/tzview/__main__.py
ju-sh/tzview
2ad930bf8a3de37697042b05eba332e282626d62
[ "MIT" ]
null
null
null
""" __main__.py for tzview """ import sys import tzview.app if __name__ == '__main__': parser = tzview.app.create_parser() args = parser.parse_args() sys.exit(tzview.app.main(args))
16.333333
39
0.678571
27
196
4.407407
0.518519
0.226891
0
0
0
0
0
0
0
0
0
0
0.173469
196
11
40
17.818182
0.734568
0.112245
0
0
0
0
0.048193
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
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
924ccd762cd8f740fdbb07b879db14717b2343d4
146
py
Python
news/urls.py
MaTachi/sputnik
81f170f4ed25c0d0db7816dd875e8ac148ebba3b
[ "MIT" ]
null
null
null
news/urls.py
MaTachi/sputnik
81f170f4ed25c0d0db7816dd875e8ac148ebba3b
[ "MIT" ]
null
null
null
news/urls.py
MaTachi/sputnik
81f170f4ed25c0d0db7816dd875e8ac148ebba3b
[ "MIT" ]
null
null
null
from django.conf.urls import url, patterns from news.views import News urlpatterns = patterns('', url(r'^$', News.as_view(), name='news'), )
20.857143
44
0.684932
21
146
4.714286
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.143836
146
6
45
24.333333
0.792
0
0
0
0
0
0.041096
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
9254fad46ea3283cedcce2d6340e0245d8f3e662
2,205
py
Python
github_labels_sync/actions.py
tiliado/github-labels-sync
29b2ed4cde4f782788f9bd2e7e88bf1da616de76
[ "BSD-2-Clause" ]
null
null
null
github_labels_sync/actions.py
tiliado/github-labels-sync
29b2ed4cde4f782788f9bd2e7e88bf1da616de76
[ "BSD-2-Clause" ]
null
null
null
github_labels_sync/actions.py
tiliado/github-labels-sync
29b2ed4cde4f782788f9bd2e7e88bf1da616de76
[ "BSD-2-Clause" ]
null
null
null
# Copyright 2018 Jiří Janoušek <janousek.jiri@gmail.com> # Licensed under BSD-2-Clause license - see file LICENSE for details. from github_labels_sync.github import GitHub from github_labels_sync.typing import StrDict class Action: def run(self, github: GitHub, repo: str) -> None: raise NotImplementedErr...
31.5
94
0.654422
281
2,205
4.946619
0.238434
0.090647
0.065468
0.057554
0.448201
0.4
0.281295
0.241007
0.158273
0.125899
0
0.002885
0.214059
2,205
69
95
31.956522
0.798038
0.055329
0
0.333333
0
0.044444
0.133173
0.077885
0
0
0
0
0.044444
1
0.333333
false
0
0.044444
0.111111
0.622222
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
926d2f38c7c13c120d25132aee847c9b15ab497c
4,139
py
Python
neuropy/agent.py
TheBuoys/neuropy
387a5eaa31629c726b5de1e71090b0d644f675b2
[ "Apache-2.0" ]
1
2019-09-29T20:35:34.000Z
2019-09-29T20:35:34.000Z
neuropy/agent.py
TheBuoys/neuropy
387a5eaa31629c726b5de1e71090b0d644f675b2
[ "Apache-2.0" ]
null
null
null
neuropy/agent.py
TheBuoys/neuropy
387a5eaa31629c726b5de1e71090b0d644f675b2
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 The NeuroPy Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
44.505376
111
0.707417
530
4,139
5.328302
0.271698
0.079674
0.070113
0.024788
0.346671
0.316926
0.258853
0.202904
0.173867
0.130312
0
0.003038
0.204639
4,139
92
112
44.98913
0.8548
0.382701
0
0.142857
0
0
0.041866
0
0
0
0
0.01087
0
1
0.119048
false
0
0.357143
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
928796fc016c72936a131e0f63b909c1afbb5b7b
1,064
py
Python
player.py
lucasege/221project
f1f0b6d5a7ac46a4633bc7446934d14a86fd9ef0
[ "MIT" ]
null
null
null
player.py
lucasege/221project
f1f0b6d5a7ac46a4633bc7446934d14a86fd9ef0
[ "MIT" ]
null
null
null
player.py
lucasege/221project
f1f0b6d5a7ac46a4633bc7446934d14a86fd9ef0
[ "MIT" ]
null
null
null
class Player: def __init__(self, startingAmount, index, isComputer): self.wins = 0 self.chips = startingAmount self.index = index self.cards = [] self.totalBets = 0 self.numRaises = 0 self.isComputer = isComputer self.prevState = None self.prevAction = None def __repr__(self): return str(self.ind...
22.638298
63
0.710526
142
1,064
5.239437
0.267606
0.120968
0.13172
0.045699
0.099462
0.099462
0.099462
0.099462
0.099462
0
0
0.005643
0.167293
1,064
46
64
23.130435
0.834086
0
0
0.064516
0
0
0.003759
0
0
0
0
0
0
1
0.516129
false
0
0
0.290323
0.612903
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
2b891eb73d1efa2cdde3d1d22cd7b1b345213b94
504
py
Python
Old Retired Files/Maze.py
Kartik-Nagpal/Tank-Trouble-IQ-Tester
8b125710b2c31cafd5eb4aa614094746806337df
[ "MIT" ]
null
null
null
Old Retired Files/Maze.py
Kartik-Nagpal/Tank-Trouble-IQ-Tester
8b125710b2c31cafd5eb4aa614094746806337df
[ "MIT" ]
null
null
null
Old Retired Files/Maze.py
Kartik-Nagpal/Tank-Trouble-IQ-Tester
8b125710b2c31cafd5eb4aa614094746806337df
[ "MIT" ]
null
null
null
import pygame; import random; class Point(): def __init__(self, x, y): self.x = x; self.y = y; def x(self): return self.x; def y(self): return self.y; class maze(pygame.sprite.Sprite): size = 1; def __init__(self): print("Maze Being Generated"); ...
15.272727
45
0.488095
69
504
3.449275
0.391304
0.063025
0.092437
0
0
0
0
0
0
0
0
0.015674
0.367063
504
32
46
15.75
0.730408
0.005952
0
0
0
0
0.04
0
0
0
0
0
0
1
0.263158
false
0
0.105263
0.105263
0.684211
0.052632
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
2b941ae95a56a034d2d49ed00e3eb278587cbc42
168
py
Python
wsgi.py
Kavuti/region-service
6bff042d3066f106d20d794ed9a8442b1a86ae6c
[ "MIT" ]
null
null
null
wsgi.py
Kavuti/region-service
6bff042d3066f106d20d794ed9a8442b1a86ae6c
[ "MIT" ]
null
null
null
wsgi.py
Kavuti/region-service
6bff042d3066f106d20d794ed9a8442b1a86ae6c
[ "MIT" ]
null
null
null
import os from region_service import create_app app = create_app(os.getenv('FLASK_ENV') != 'production') if __name__ == '__main__': app.run('0.0.0.0', 8000, True)
24
56
0.702381
27
168
3.925926
0.666667
0.056604
0.056604
0
0
0
0
0
0
0
0
0.055172
0.136905
168
7
57
24
0.675862
0
0
0
0
0
0.201183
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
2ba5e0cbee6f7293fbe74173cfcea66c8d0908b1
834
py
Python
torchlm/models/_base.py
DefTruth/landmarksaug
71d978a062e4a7c8fe90ca62c8dff109ea7718e7
[ "MIT" ]
56
2022-02-08T06:45:02.000Z
2022-03-27T14:03:08.000Z
torchlm/models/_base.py
DefTruth/pylandmarks
71d978a062e4a7c8fe90ca62c8dff109ea7718e7
[ "MIT" ]
9
2022-02-15T12:32:34.000Z
2022-03-31T14:12:06.000Z
torchlm/models/_base.py
DefTruth/pylandmarks
71d978a062e4a7c8fe90ca62c8dff109ea7718e7
[ "MIT" ]
8
2022-02-15T09:17:51.000Z
2022-03-27T14:03:08.000Z
from typing import Any from abc import abstractmethod, ABCMeta from ..core import LandmarksDetBase class LandmarksTrainableBase(LandmarksDetBase): __metaclass__ = ABCMeta @abstractmethod def apply_losses(self, *args, **kwargs) -> Any: raise NotImplementedError @abstractmethod def apply_...
25.272727
55
0.695444
78
834
7.307692
0.320513
0.178947
0.231579
0.178947
0.624561
0.624561
0.552632
0.552632
0.552632
0
0
0
0.217026
834
32
56
26.0625
0.872894
0
0
0.521739
0
0
0
0
0
0
0
0
0
1
0.26087
false
0
0.130435
0
0.478261
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
1
0
0
0
0
0
0
0
3
2bb41cf2423b8993de3d80058f99111cb7047911
1,518
py
Python
stubs.min/System/Windows/__init___parts/DynamicResourceExtension.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/System/Windows/__init___parts/DynamicResourceExtension.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Windows/__init___parts/DynamicResourceExtension.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class DynamicResourceExtension(MarkupExtension): """ Implements a markup extension that supports dynamic resource references made from XAML. DynamicResourceExtension(resourceKey: object) DynamicResourceExtension() """ def ProvideValue(self,serviceProvider): """ ProvideValue(self: DynamicResource...
37.95
174
0.741765
178
1,518
6.258427
0.449438
0.075404
0.014363
0.028725
0.037702
0
0
0
0
0
0
0
0.194335
1,518
39
175
38.923077
0.910875
0.575099
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.285714
0
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
2bbca3f7201f21b5f1b5e28d204b38233c253218
796
py
Python
tool/staticAnalysis/prune.py
SZU-SE/PERIOD
7636dc7cd8c97ea2fb7c13d6d068efc3872b9d03
[ "MIT" ]
16
2022-01-14T12:05:49.000Z
2022-03-10T07:57:26.000Z
tool/staticAnalysis/prune.py
SZU-SE/PERIOD
7636dc7cd8c97ea2fb7c13d6d068efc3872b9d03
[ "MIT" ]
1
2022-03-08T13:19:07.000Z
2022-03-09T06:39:43.000Z
tool/staticAnalysis/prune.py
SZU-SE/PERIOD
7636dc7cd8c97ea2fb7c13d6d068efc3872b9d03
[ "MIT" ]
2
2022-01-16T16:55:40.000Z
2022-03-07T10:20:55.000Z
#!/usr/bin/python import os import sys with open(sys.argv[1]) as f: for line in f: line = line.strip() toks = line.split() if len(toks) != 2 and len(toks) != 4 and len(toks) != 6: sys.stderr.write("\t [ERROR] Wrong mempair format\n") exit(1) # functions in...
26.533333
65
0.526382
120
796
3.491667
0.608333
0.050119
0.047733
0
0
0
0
0
0
0
0
0.024952
0.345477
796
29
66
27.448276
0.779271
0.263819
0
0
0
0
0.063903
0
0
0
0
0.034483
0
0
null
null
0.0625
0.125
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
2bca59baf8c037d7560f085621f54d69394db7e3
447
py
Python
Observer/ObserverClass.py
Boughten52/D0020E
542ff2379b0fa655181b3e0bc2f4128f0a48955c
[ "MIT" ]
null
null
null
Observer/ObserverClass.py
Boughten52/D0020E
542ff2379b0fa655181b3e0bc2f4128f0a48955c
[ "MIT" ]
3
2022-02-01T13:32:22.000Z
2022-03-10T11:19:08.000Z
Observer/ObserverClass.py
Boughten52/D0020E
542ff2379b0fa655181b3e0bc2f4128f0a48955c
[ "MIT" ]
null
null
null
class Observer: def __init__(self): global subscribers subscribers = dict() def subscribe(self, event_type: str, fn): if not event_type in subscribers: subscribers[event_type] = [] subscribers[event_type].append(fn) def post_event(self, event_type: str, data)...
23.526316
48
0.606264
53
447
4.886792
0.396226
0.243243
0.23166
0.123552
0.208494
0.208494
0
0
0
0
0
0
0.313199
447
18
49
24.833333
0.843648
0
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0
0
0.384615
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
2bdf445e243898729da3338f791a4d974fe599fe
313
py
Python
test.py
kartikdc/flake8_half_branch_check
268db1aba5498113d1b69a83480e23ad72247fc7
[ "MIT" ]
null
null
null
test.py
kartikdc/flake8_half_branch_check
268db1aba5498113d1b69a83480e23ad72247fc7
[ "MIT" ]
1
2022-01-12T07:37:11.000Z
2022-01-12T07:38:42.000Z
test.py
kartikdc/flake8_half_branch_check
268db1aba5498113d1b69a83480e23ad72247fc7
[ "MIT" ]
null
null
null
def main(): if 2 == 2: print("True") else: print("False") if True: if True: pass def a(): if 1 == 2: pass elif 2 == 2: print("True") if 3 == 2: print("Don't print!") if __name__ == "__main__": main()
13.608696
29
0.373802
37
313
2.945946
0.432432
0.165138
0.12844
0.201835
0
0
0
0
0
0
0
0.04908
0.479233
313
22
30
14.227273
0.619632
0
0
0.352941
0
0
0.105431
0
0
0
0
0
0
1
0.117647
true
0.117647
0
0
0.117647
0.235294
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
1
0
0
0
0
0
3