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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bbe5f77438b6a7c9f1988585984769150b227f0a | 28 | py | Python | devel/lib/python2.7/dist-packages/hdl_graph_slam/msg/__init__.py | shiyangyang24/hdl_graph_slam_plus | 0e46016bd6da8234b6371cee4b3d9f15bb6a333c | [
"Apache-2.0"
] | 2 | 2019-06-08T16:20:15.000Z | 2020-07-04T09:18:07.000Z | devel/lib/python2.7/dist-packages/hdl_graph_slam/msg/__init__.py | shiyangyang24/hdl_graph_slam_plus | 0e46016bd6da8234b6371cee4b3d9f15bb6a333c | [
"Apache-2.0"
] | null | null | null | devel/lib/python2.7/dist-packages/hdl_graph_slam/msg/__init__.py | shiyangyang24/hdl_graph_slam_plus | 0e46016bd6da8234b6371cee4b3d9f15bb6a333c | [
"Apache-2.0"
] | 1 | 2020-02-04T09:22:10.000Z | 2020-02-04T09:22:10.000Z | from ._FloorCoeffs import *
| 14 | 27 | 0.785714 | 3 | 28 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a5202760df1f69a450a688fe2a819c65b9c914ab | 28 | py | Python | __init__.py | OdooCommunityWidgets/product_image_list_view | e969fb0b05ef4bee0e5bce500a34b02f7864c123 | [
"MIT"
] | 2 | 2015-03-25T18:24:51.000Z | 2017-01-02T15:00:24.000Z | __init__.py | OdooCommunityWidgets/product_image_list_view | e969fb0b05ef4bee0e5bce500a34b02f7864c123 | [
"MIT"
] | 3 | 2015-04-02T06:27:54.000Z | 2015-06-29T07:37:41.000Z | __init__.py | OdooCommunityWidgets/product_image_list_view | e969fb0b05ef4bee0e5bce500a34b02f7864c123 | [
"MIT"
] | 7 | 2015-05-31T19:17:10.000Z | 2018-10-29T12:59:41.000Z | import product
import stock
| 9.333333 | 14 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 2 | 15 | 14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a541b65b144786c3da4e8ac1cf036da38541873b | 5,217 | py | Python | set_transformer/set_transformer/models.py | michaelsdr/sinkformers | 80c9f68003eadc30d62ce581cebb1afaeb4c4bc3 | [
"MIT"
] | 18 | 2021-12-25T21:59:11.000Z | 2022-03-28T17:23:26.000Z | set_transformer/set_transformer/models.py | michaelsdr/sinkformers | 80c9f68003eadc30d62ce581cebb1afaeb4c4bc3 | [
"MIT"
] | 1 | 2022-02-08T02:59:34.000Z | 2022-02-08T02:59:34.000Z | set_transformer/set_transformer/models.py | michaelsdr/sinkformers | 80c9f68003eadc30d62ce581cebb1afaeb4c4bc3 | [
"MIT"
] | 1 | 2021-12-27T21:58:27.000Z | 2021-12-27T21:58:27.000Z | from set_transformer.modules import *
import torch.nn as nn
class DeepSet(nn.Module):
def __init__(self, dim_input, num_outputs, dim_output, dim_hidden=128):
super(DeepSet, self).__init__()
self.num_outputs = num_outputs
self.dim_output = dim_output
self.enc = nn.Sequential(
... | 34.78 | 118 | 0.581177 | 675 | 5,217 | 4.191111 | 0.108148 | 0.168611 | 0.084836 | 0.114175 | 0.822552 | 0.785437 | 0.757511 | 0.757511 | 0.727819 | 0.715801 | 0 | 0.016529 | 0.304198 | 5,217 | 149 | 119 | 35.013423 | 0.76281 | 0 | 0 | 0.651852 | 0 | 0 | 0.003834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088889 | false | 0 | 0.014815 | 0.022222 | 0.192593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a555e876b98f1ad9a405403048825034e6cbe9d3 | 113 | py | Python | stests/generators/wg_211/__main__.py | goral09/stests | 4de26485535cadf1b708188a7133a976536ccba3 | [
"Apache-2.0"
] | 4 | 2020-03-10T15:28:17.000Z | 2021-10-02T11:41:17.000Z | stests/generators/wg_211/__main__.py | goral09/stests | 4de26485535cadf1b708188a7133a976536ccba3 | [
"Apache-2.0"
] | 1 | 2020-03-25T11:31:44.000Z | 2020-03-25T11:31:44.000Z | stests/generators/wg_211/__main__.py | goral09/stests | 4de26485535cadf1b708188a7133a976536ccba3 | [
"Apache-2.0"
] | 9 | 2020-02-25T18:43:42.000Z | 2021-08-10T17:08:42.000Z | from stests.generators import launcher
from stests.generators.wg_211 import meta
launcher.start_generator(meta)
| 22.6 | 41 | 0.858407 | 16 | 113 | 5.9375 | 0.625 | 0.210526 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029126 | 0.088496 | 113 | 4 | 42 | 28.25 | 0.893204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a55d34f42f9a435d68846ac9b6309aa2ff02592f | 3,814 | py | Python | ubfquiz/cron.py | himasnhu1/example | 27db7941c5f7bd16ffb407654818012e43d82f7e | [
"MIT"
] | null | null | null | ubfquiz/cron.py | himasnhu1/example | 27db7941c5f7bd16ffb407654818012e43d82f7e | [
"MIT"
] | 7 | 2021-04-08T21:17:18.000Z | 2022-01-13T03:39:23.000Z | quiz/cron.py | saksham1991999/upscbasicfunda | b17e288081cb4ca9dd79d198cd0b22136c0794bb | [
"MIT"
] | null | null | null | from .models import *
import datetime
def auto_sumbit_task():
quiztakers = QuizTaker.objects.filter(completed=False)
for i in quiztakers:
if i.quiz.live==False:
if datetime.datetime.now()>i.starttime+i.quiz.duration):
quiztaker = QuizTaker.objec... | 50.853333 | 155 | 0.541426 | 373 | 3,814 | 5.394102 | 0.171582 | 0.064612 | 0.059145 | 0.031312 | 0.781312 | 0.755467 | 0.755467 | 0.755467 | 0.755467 | 0.755467 | 0 | 0.007894 | 0.368904 | 3,814 | 75 | 156 | 50.853333 | 0.828002 | 0 | 0 | 0.590164 | 0 | 0 | 0.011271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.032787 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3c0bcfc40407cc7a2d6ad8b3cff2bb3b631f7464 | 68 | py | Python | library/__init__.py | BlueLenz/Blood-on-the-Clocktower-Storyteller-Discord-Bot | 1932c649c81a5a1eab735d7abdee0761c2853940 | [
"MIT"
] | 1 | 2022-02-18T00:42:14.000Z | 2022-02-18T00:42:14.000Z | library/__init__.py | BlueLenz/Blood-on-the-Clocktower-Storyteller-Discord-Bot | 1932c649c81a5a1eab735d7abdee0761c2853940 | [
"MIT"
] | 1 | 2020-07-07T03:47:44.000Z | 2020-07-07T03:47:44.000Z | library/__init__.py | BlueLenz/Blood-on-the-Clocktower-Storyteller-Discord-Bot | 1932c649c81a5a1eab735d7abdee0761c2853940 | [
"MIT"
] | 1 | 2022-02-18T00:42:19.000Z | 2022-02-18T00:42:19.000Z | from .fancytext import fancy
from .display_time import display_time
| 22.666667 | 38 | 0.852941 | 10 | 68 | 5.6 | 0.6 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 39 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c2c7eac9b817c33e2f8149c59edb240f2aa2f3e | 112 | py | Python | plotly/graph_objs/histogram/marker/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 12 | 2020-04-18T18:10:22.000Z | 2021-12-06T10:11:15.000Z | plotly/graph_objs/histogram/marker/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | plotly/graph_objs/histogram/marker/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 6 | 2020-04-18T23:07:08.000Z | 2021-11-18T07:53:06.000Z | from ._line import Line
from ._colorbar import ColorBar
from plotly.graph_objs.histogram.marker import colorbar
| 28 | 55 | 0.848214 | 16 | 112 | 5.75 | 0.5625 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 112 | 3 | 56 | 37.333333 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c511fb3cf7e6910382bcd6b249af96985dd6204 | 164 | py | Python | goals/admin.py | abrookins/quest | 302e985ed4702d977990bc5438c1a6d0521d236e | [
"MIT"
] | 38 | 2020-08-12T12:15:51.000Z | 2022-03-29T20:19:34.000Z | goals/admin.py | abrookins/quest | 302e985ed4702d977990bc5438c1a6d0521d236e | [
"MIT"
] | 6 | 2021-03-19T10:51:50.000Z | 2021-09-22T19:34:49.000Z | goals/admin.py | abrookins/quest | 302e985ed4702d977990bc5438c1a6d0521d236e | [
"MIT"
] | 6 | 2021-05-24T09:58:24.000Z | 2022-02-25T20:57:47.000Z | from quest.admin import admin_site
from .models import Goal, Task, TaskStatus
admin_site.register(Goal)
admin_site.register(Task)
admin_site.register(TaskStatus)
| 20.5 | 42 | 0.829268 | 24 | 164 | 5.5 | 0.416667 | 0.272727 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091463 | 164 | 7 | 43 | 23.428571 | 0.885906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b1d280a72026daafc5b6faf95ba3219fe0a1ffca | 6,966 | py | Python | api/tests/constants.py | CMPUT404W22AMNRY/CMPUT404-project-socialdistribution | 61d5c8aa2c7f038c137fc86c8b194d92a33d90e3 | [
"W3C-20150513"
] | 1 | 2022-01-14T04:37:54.000Z | 2022-01-14T04:37:54.000Z | api/tests/constants.py | CMPUT404W22AMNRY/CMPUT404-project-socialdistribution | 61d5c8aa2c7f038c137fc86c8b194d92a33d90e3 | [
"W3C-20150513"
] | 88 | 2022-02-19T00:16:44.000Z | 2022-03-29T03:05:08.000Z | api/tests/constants.py | CMPUT404W22AMNRY/CMPUT404-project-socialdistribution | 61d5c8aa2c7f038c137fc86c8b194d92a33d90e3 | [
"W3C-20150513"
] | null | null | null | from django.core.files.uploadedfile import SimpleUploadedFile
from posts.models import Post, ContentType
def get_test_image_jpeg():
jpeg = SimpleUploadedFile('img.jpeg', '', content_type='image/jpeg')
return jpeg
# by dsalaj on Stack Overflow at https://stackoverflow.com/a/42502775
def get_test_image_png(... | 41.963855 | 176 | 0.591013 | 811 | 6,966 | 5.02836 | 0.235512 | 0.091221 | 0.088279 | 0.10152 | 0.754046 | 0.748161 | 0.732467 | 0.732467 | 0.732467 | 0.732467 | 0 | 0.149807 | 0.182601 | 6,966 | 165 | 177 | 42.218182 | 0.566386 | 0.019236 | 0 | 0.556291 | 0 | 0.13245 | 0.774052 | 0.013472 | 0 | 0 | 0 | 0.006061 | 0 | 1 | 0.013245 | false | 0 | 0.013245 | 0 | 0.039735 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1d69852c2d4c4897ce04594829deb7338efd007 | 41,446 | py | Python | tira-protocol/build/python/tira_host_pb2.py | maexe/tira | 2018fb08d9f8b07f68fd4dadc4633d1ff25a88a3 | [
"MIT"
] | null | null | null | tira-protocol/build/python/tira_host_pb2.py | maexe/tira | 2018fb08d9f8b07f68fd4dadc4633d1ff25a88a3 | [
"MIT"
] | null | null | null | tira-protocol/build/python/tira_host_pb2.py | maexe/tira | 2018fb08d9f8b07f68fd4dadc4633d1ff25a88a3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: tira_host.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.prot... | 44.138445 | 4,601 | 0.752497 | 5,302 | 41,446 | 5.576198 | 0.064127 | 0.055403 | 0.100896 | 0.083105 | 0.806224 | 0.73012 | 0.694808 | 0.670793 | 0.666328 | 0.659665 | 0 | 0.038556 | 0.123896 | 41,446 | 938 | 4,602 | 44.185501 | 0.77566 | 0.015948 | 0 | 0.702032 | 1 | 0.001129 | 0.217058 | 0.179553 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006772 | 0 | 0.006772 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3ce81065ff58f6764eef90ee507e72e333aa897c | 249 | py | Python | roerich/__init__.py | HSE-LAMBDA/roerich | 17e178292593d1ea6a821b99705620ba066abd2a | [
"BSD-2-Clause"
] | 10 | 2020-12-01T13:58:27.000Z | 2022-01-17T12:01:31.000Z | roerich/__init__.py | HSE-LAMBDA/roerich | 17e178292593d1ea6a821b99705620ba066abd2a | [
"BSD-2-Clause"
] | 3 | 2021-03-07T14:06:22.000Z | 2022-01-18T14:23:16.000Z | roerich/__init__.py | HSE-LAMBDA/roerich | 17e178292593d1ea6a821b99705620ba066abd2a | [
"BSD-2-Clause"
] | 2 | 2020-12-01T14:04:36.000Z | 2022-03-24T12:52:32.000Z | from .algorithms import OnlineNNClassifier, OnlineNNRuLSIF
from .rulsif import RuLSIF
from .dataset import generate_dataset
from .viz import display
__all__ = [
'OnlineNNClassifier', 'OnlineNNRuLSIF', 'RuLSIF', 'generate_dataset', 'display'
]
| 24.9 | 83 | 0.783133 | 25 | 249 | 7.56 | 0.44 | 0.338624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128514 | 249 | 9 | 84 | 27.666667 | 0.870968 | 0 | 0 | 0 | 1 | 0 | 0.24498 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3cf59d390049dc9016a6aa194bd07ea57bfbd806 | 7 | py | Python | 12_module_basic/06_package/a/b/mod3.py | hemuke/python | bc99f2b5aee997083ae31f59a2b33db48c8255f3 | [
"Apache-2.0"
] | null | null | null | 12_module_basic/06_package/a/b/mod3.py | hemuke/python | bc99f2b5aee997083ae31f59a2b33db48c8255f3 | [
"Apache-2.0"
] | null | null | null | 12_module_basic/06_package/a/b/mod3.py | hemuke/python | bc99f2b5aee997083ae31f59a2b33db48c8255f3 | [
"Apache-2.0"
] | null | null | null | m = 59
| 3.5 | 6 | 0.428571 | 2 | 7 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.428571 | 7 | 1 | 7 | 7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a717015b76bf02466cfd55afb4e445d7b767b2dc | 27 | py | Python | prroipool/__init__.py | FscoreLab/PreciseRoIPooling | 52246e71681e67ee074b78a771dc7d0968f50039 | [
"MIT"
] | null | null | null | prroipool/__init__.py | FscoreLab/PreciseRoIPooling | 52246e71681e67ee074b78a771dc7d0968f50039 | [
"MIT"
] | null | null | null | prroipool/__init__.py | FscoreLab/PreciseRoIPooling | 52246e71681e67ee074b78a771dc7d0968f50039 | [
"MIT"
] | 1 | 2021-02-28T06:36:57.000Z | 2021-02-28T06:36:57.000Z | from .prroi_pool import *
| 9 | 25 | 0.740741 | 4 | 27 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 2 | 26 | 13.5 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
59660e781c48734cfc23cb799487f409525cf63e | 52 | py | Python | src/core/__init__.py | 1ramen/bfython | 6a423223a6e969331baa01eb1f34ba13b1266764 | [
"MIT"
] | 3 | 2017-12-05T15:52:50.000Z | 2019-02-19T11:36:20.000Z | src/core/__init__.py | 1ramen/bfython | 6a423223a6e969331baa01eb1f34ba13b1266764 | [
"MIT"
] | 1 | 2017-11-29T04:40:26.000Z | 2017-11-29T04:40:26.000Z | src/core/__init__.py | 1ramen/bfython | 6a423223a6e969331baa01eb1f34ba13b1266764 | [
"MIT"
] | null | null | null | import core.environment
import core.parser
import IO | 17.333333 | 23 | 0.865385 | 8 | 52 | 5.625 | 0.625 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 52 | 3 | 24 | 17.333333 | 0.957447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
59bac52a3a294599d614fd1dac520b48a5bc28ae | 38 | py | Python | wsgi.py | chowdhurya/git-loc-server | 519d91e23002f128b8f07270c45c60053e40ffe7 | [
"BSD-3-Clause"
] | 1 | 2016-03-27T05:19:07.000Z | 2016-03-27T05:19:07.000Z | wsgi.py | chowdhurya/git-loc-server | 519d91e23002f128b8f07270c45c60053e40ffe7 | [
"BSD-3-Clause"
] | null | null | null | wsgi.py | chowdhurya/git-loc-server | 519d91e23002f128b8f07270c45c60053e40ffe7 | [
"BSD-3-Clause"
] | null | null | null | from gitloc import app as application
| 19 | 37 | 0.842105 | 6 | 38 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 1 | 38 | 38 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
59e36fc1f5c29dfc2beb02d9c07df72c34129561 | 19,942 | py | Python | images.py | summerandwinter/poempythonweb | 9f25047fb9ceb19400df59ac8b9d212fc688d6c6 | [
"MIT"
] | null | null | null | images.py | summerandwinter/poempythonweb | 9f25047fb9ceb19400df59ac8b9d212fc688d6c6 | [
"MIT"
] | null | null | null | images.py | summerandwinter/poempythonweb | 9f25047fb9ceb19400df59ac8b9d212fc688d6c6 | [
"MIT"
] | null | null | null | # coding: utf-8
from datetime import datetime
from django.http import HttpResponse
from django.http import HttpResponseRedirect
from django.http import HttpResponseServerError
from django.shortcuts import render
from django.urls import reverse
from django.views import View
from leancloud import Object
from leancloud ... | 34.561525 | 126 | 0.637148 | 2,869 | 19,942 | 4.354827 | 0.099686 | 0.008644 | 0.006003 | 0.013446 | 0.836161 | 0.821434 | 0.808068 | 0.792781 | 0.764447 | 0.7494 | 0 | 0.052119 | 0.212015 | 19,942 | 576 | 127 | 34.621528 | 0.742714 | 0.119647 | 0 | 0.690476 | 0 | 0 | 0.082537 | 0.016484 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042857 | false | 0 | 0.033333 | 0 | 0.119048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab8891174aec997a2c655b53e29e6c2e74ae923f | 97 | py | Python | install/hooks/hook-threesdk.py | gneumann333/jumpscaleX_core | 777d249fa3668c6e802c2f765f4b82fb39c3e5fa | [
"Apache-2.0"
] | 1 | 2020-06-21T11:18:52.000Z | 2020-06-21T11:18:52.000Z | install/hooks/hook-threesdk.py | gneumann333/jumpscaleX_core | 777d249fa3668c6e802c2f765f4b82fb39c3e5fa | [
"Apache-2.0"
] | 644 | 2019-08-25T10:19:56.000Z | 2020-12-23T09:41:04.000Z | install/hooks/hook-threesdk.py | gneumann333/jumpscaleX_core | 777d249fa3668c6e802c2f765f4b82fb39c3e5fa | [
"Apache-2.0"
] | 11 | 2019-08-29T21:38:50.000Z | 2020-06-21T11:18:55.000Z | hiddenimports = ["packaging.requirements", "pkg_resources.py2_warn", "pathlib", "_cffi_backend"]
| 48.5 | 96 | 0.773196 | 10 | 97 | 7.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.061856 | 97 | 1 | 97 | 97 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.659794 | 0.453608 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab8a44584aa902e4f0f45c1b9e09ad6d0fb230fd | 9,244 | py | Python | functional_tests/mpsserverfunctests/IntentionsTests.py | Strumenta/MPSServer | b5f7bf5918d94541eae1782c17c0797b76f91699 | [
"Apache-1.1"
] | 15 | 2020-04-02T15:45:34.000Z | 2021-11-04T10:06:35.000Z | functional_tests/mpsserverfunctests/IntentionsTests.py | Strumenta/MPSServer | b5f7bf5918d94541eae1782c17c0797b76f91699 | [
"Apache-1.1"
] | 43 | 2020-03-25T17:55:52.000Z | 2022-02-08T12:09:25.000Z | functional_tests/mpsserverfunctests/IntentionsTests.py | Strumenta/MPSServer | b5f7bf5918d94541eae1782c17c0797b76f91699 | [
"Apache-1.1"
] | 2 | 2020-04-11T11:23:22.000Z | 2021-11-19T20:17:32.000Z | import asyncio
import json
import time
import unittest
import requests
import websockets
from BaseTest import BaseTest, BASE_URL, BASE_WS_URL_CUSTOM, BASE_WS_URL_JSONRPC, BaseAsyncTest
class IntentionsHttpTestCase(BaseTest):
@classmethod
def setUpClass(cls):
BaseTest.setUpClass()
def setUp(self)... | 37.124498 | 101 | 0.493834 | 706 | 9,244 | 6.344193 | 0.150142 | 0.093771 | 0.056263 | 0.068765 | 0.841482 | 0.836794 | 0.829649 | 0.823845 | 0.823845 | 0.823845 | 0 | 0.029124 | 0.390848 | 9,244 | 248 | 102 | 37.274194 | 0.766294 | 0 | 0 | 0.560538 | 0 | 0 | 0.175032 | 0.069234 | 0 | 0 | 0 | 0 | 0.09417 | 1 | 0.058296 | false | 0.017937 | 0.040359 | 0 | 0.107623 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab9248f9a2550f6ff5f3d4d7eadab6212246fa18 | 90 | py | Python | calculation/gmhazard_calc/gmhazard_calc/site/__init__.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | null | null | null | calculation/gmhazard_calc/gmhazard_calc/site/__init__.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | 8 | 2021-10-13T02:33:23.000Z | 2022-03-29T21:01:08.000Z | calculation/gmhazard_calc/gmhazard_calc/site/__init__.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | null | null | null | from .site import get_site_from_coords, get_site_from_name
from .SiteInfo import SiteInfo
| 30 | 58 | 0.866667 | 15 | 90 | 4.8 | 0.466667 | 0.194444 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 90 | 2 | 59 | 45 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
abb306264973f5286b70b8211165083199e16ed3 | 21,480 | py | Python | stix2patterns/v21/grammars/STIXPatternLexer.py | sthagen/cti-pattern-validator | def38cb3cec5cd73bc26535f6a595abb0af8f4a5 | [
"BSD-3-Clause"
] | 22 | 2016-10-12T15:09:19.000Z | 2022-01-11T08:52:05.000Z | stix2patterns/v21/grammars/STIXPatternLexer.py | sthagen/cti-pattern-validator | def38cb3cec5cd73bc26535f6a595abb0af8f4a5 | [
"BSD-3-Clause"
] | 68 | 2016-11-29T15:53:16.000Z | 2022-03-31T18:23:24.000Z | stix2patterns/v21/grammars/STIXPatternLexer.py | sthagen/cti-pattern-validator | def38cb3cec5cd73bc26535f6a595abb0af8f4a5 | [
"BSD-3-Clause"
] | 23 | 2016-11-08T19:19:36.000Z | 2021-04-20T06:09:37.000Z | # Generated from STIXPattern.g4 by ANTLR 4.9.2
from antlr4 import *
from io import StringIO
import sys
if sys.version_info[1] > 5:
from typing import TextIO
else:
from typing.io import TextIO
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u596... | 60.677966 | 103 | 0.567458 | 4,824 | 21,480 | 2.521352 | 0.142206 | 0.130724 | 0.073255 | 0.081888 | 0.304777 | 0.193867 | 0.133931 | 0.12242 | 0.114034 | 0.108361 | 0 | 0.339594 | 0.149767 | 21,480 | 353 | 104 | 60.849858 | 0.326398 | 0.002048 | 0 | 0.00597 | 1 | 0.641791 | 0.631766 | 0.578434 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00597 | false | 0 | 0.014925 | 0 | 0.21194 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
abe9e4dceeeffc6d4c10e2ef0451ac7b212fceff | 5,993 | py | Python | tests/test_things.py | 0x6f736f646f/sdk-py | 9b9be4d512c94783d973ebe0910b81da636ff7ad | [
"Apache-2.0"
] | 4 | 2021-11-29T01:50:53.000Z | 2021-12-28T15:18:54.000Z | tests/test_things.py | 0x6f736f646f/sdk-py | 9b9be4d512c94783d973ebe0910b81da636ff7ad | [
"Apache-2.0"
] | 25 | 2021-08-09T13:29:20.000Z | 2022-01-21T20:33:42.000Z | tests/test_things.py | mainflux/sdk-py | 53699a41aa39ff82bc7a3d2dc45724a9fd357845 | [
"Apache-2.0"
] | 3 | 2021-07-22T09:17:10.000Z | 2022-01-07T12:01:14.000Z | from lib import sdk
import json, requests_mock
s = sdk.SDK()
thing = {"thing_name": "thing"}
thing_id = "123-456-789"
thing_id1 = "123-223-333"
channel_id = "654-654-654"
channel_id1 = "654-654-654"
token = "9a8b7c6d5e4f3g21"
url = "http://localhost"
params = None
def test_create_thing(requests_mock):
requests... | 40.221477 | 182 | 0.714667 | 895 | 5,993 | 4.529609 | 0.094972 | 0.121362 | 0.088801 | 0.118402 | 0.882338 | 0.858905 | 0.834484 | 0.821164 | 0.813024 | 0.790824 | 0 | 0.026388 | 0.146337 | 5,993 | 148 | 183 | 40.493243 | 0.766028 | 0 | 0 | 0.429907 | 0 | 0 | 0.138328 | 0 | 0 | 0 | 0 | 0 | 0.336449 | 1 | 0.186916 | false | 0 | 0.018692 | 0 | 0.205607 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f9f5b2d72e89d6a7f0ba6d4a25c8232c216b6e28 | 7,551 | py | Python | app/site/views/auth.py | najens/item_catalog | 1d5a3d6d2edc1b65bfab72c6a3a6644729ecf79d | [
"MIT"
] | null | null | null | app/site/views/auth.py | najens/item_catalog | 1d5a3d6d2edc1b65bfab72c6a3a6644729ecf79d | [
"MIT"
] | null | null | null | app/site/views/auth.py | najens/item_catalog | 1d5a3d6d2edc1b65bfab72c6a3a6644729ecf79d | [
"MIT"
] | null | null | null | from flask import redirect, url_for, flash, make_response
from flask_dance.contrib.google import make_google_blueprint
from flask_dance.contrib.facebook import make_facebook_blueprint
from flask_dance.consumer.backend.sqla import SQLAlchemyBackend
from flask_dance.consumer import oauth_authorized, oauth_error
from flas... | 30.325301 | 77 | 0.662296 | 954 | 7,551 | 5.07652 | 0.146751 | 0.03758 | 0.039232 | 0.047491 | 0.834607 | 0.813545 | 0.765228 | 0.765228 | 0.765228 | 0.721867 | 0 | 0.000881 | 0.248576 | 7,551 | 248 | 78 | 30.447581 | 0.852661 | 0.195471 | 0 | 0.67052 | 0 | 0 | 0.114727 | 0.013614 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023121 | false | 0 | 0.063584 | 0 | 0.121387 | 0.17341 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e60d85ed4f663d629a3b7ad1b0df81f3380b7e9b | 133 | py | Python | analyzer/data/__init__.py | frommwonderland/EManalysis | 2787f063e2e83521fd6439d06a07f5521e43dc94 | [
"MIT"
] | null | null | null | analyzer/data/__init__.py | frommwonderland/EManalysis | 2787f063e2e83521fd6439d06a07f5521e43dc94 | [
"MIT"
] | null | null | null | analyzer/data/__init__.py | frommwonderland/EManalysis | 2787f063e2e83521fd6439d06a07f5521e43dc94 | [
"MIT"
] | null | null | null | from .dataset import *
from .ptc_dataset import *
from .pair_dataset import *
__all__ = ["Dataloader", "PtcDataset", "PairDataset"]
| 22.166667 | 53 | 0.736842 | 15 | 133 | 6.133333 | 0.6 | 0.423913 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135338 | 133 | 5 | 54 | 26.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.233083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5579b445c13f3e098ef535b3d2c31091d2aba805 | 4,516 | py | Python | remote-app-configuration/azure-configuration/apply-azure-configurations.py | digital-ECMT/acuity-deployment-scripts | df779d37073b7967f562f664e45450f549cb702e | [
"Apache-2.0"
] | null | null | null | remote-app-configuration/azure-configuration/apply-azure-configurations.py | digital-ECMT/acuity-deployment-scripts | df779d37073b7967f562f664e45450f549cb702e | [
"Apache-2.0"
] | null | null | null | remote-app-configuration/azure-configuration/apply-azure-configurations.py | digital-ECMT/acuity-deployment-scripts | df779d37073b7967f562f664e45450f549cb702e | [
"Apache-2.0"
] | 1 | 2022-03-28T15:25:39.000Z | 2022-03-28T15:25:39.000Z | #!/usr/local/bin/python
import yaml
import os
current_dir = os.getcwd()
print("Setting up credentials for VaSecurity...")
with open('{0}/azure-credentials/vasecurity-sso.yml'.format(current_dir),'r') as file:
secrets = yaml.safe_load(file)
with open('{0}/acuity-docker/acuity-spring-configs/vasecurity-azure-sso.ym... | 64.514286 | 116 | 0.747786 | 579 | 4,516 | 5.671848 | 0.105354 | 0.169001 | 0.133983 | 0.086784 | 0.883678 | 0.852314 | 0.761267 | 0.757917 | 0.757917 | 0.747868 | 0 | 0.003593 | 0.075509 | 4,516 | 69 | 117 | 65.449275 | 0.782994 | 0.004872 | 0 | 0.45 | 0 | 0 | 0.398931 | 0.193232 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.033333 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9503b79fab5081ac6e8efc26aae94e65353f024 | 219 | py | Python | ocr_preprocess.py | lgk1910/ocr_pipeline | 2489a5cde98f7d2425e33e97bec0e0bfb5ed9bb1 | [
"MIT"
] | null | null | null | ocr_preprocess.py | lgk1910/ocr_pipeline | 2489a5cde98f7d2425e33e97bec0e0bfb5ed9bb1 | [
"MIT"
] | null | null | null | ocr_preprocess.py | lgk1910/ocr_pipeline | 2489a5cde98f7d2425e33e97bec0e0bfb5ed9bb1 | [
"MIT"
] | 1 | 2020-09-11T12:12:52.000Z | 2020-09-11T12:12:52.000Z | import os
import shlex
import subprocess
def preprocessing(file_name):
os.system(f"chmod -wx ./imgtxtenh/{file_name}")
os.system(f"./imgtxtenh/imgtxtenh ./imgtxtenh/{file_name} -p ./imgtxtenh/pre_{file_name}")
| 27.375 | 94 | 0.739726 | 31 | 219 | 5.064516 | 0.483871 | 0.203822 | 0.127389 | 0.203822 | 0.216561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 219 | 7 | 95 | 31.285714 | 0.805128 | 0 | 0 | 0 | 0 | 0 | 0.497717 | 0.429224 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e9605edbd3faab327f7fdaf5e77f236f28020d64 | 28 | py | Python | py/src/streamcorpus_filter/__init__.py | streamcorpus/streamcorpus-filter | 7687aa25260d95b861efa63d7369e6dcd6bb20a4 | [
"MIT"
] | 1 | 2015-11-13T15:48:23.000Z | 2015-11-13T15:48:23.000Z | py/src/streamcorpus_filter/__init__.py | streamcorpus/streamcorpus-filter | 7687aa25260d95b861efa63d7369e6dcd6bb20a4 | [
"MIT"
] | null | null | null | py/src/streamcorpus_filter/__init__.py | streamcorpus/streamcorpus-filter | 7687aa25260d95b861efa63d7369e6dcd6bb20a4 | [
"MIT"
] | null | null | null |
from _filter import Filter
| 9.333333 | 26 | 0.821429 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e9b0573ee2a5be6e7cf6234f5a56c05d3bedeaf6 | 115 | py | Python | config.py | ponyatov/cp | a6b4f4fb3d086a53bf66f1ad8782a659eecbd8f2 | [
"MIT"
] | null | null | null | config.py | ponyatov/cp | a6b4f4fb3d086a53bf66f1ad8782a659eecbd8f2 | [
"MIT"
] | null | null | null | config.py | ponyatov/cp | a6b4f4fb3d086a53bf66f1ad8782a659eecbd8f2 | [
"MIT"
] | null | null | null | SECRET_KEY = b'V\x1d\xd4\xec\xf2\xc1u\x1bij\x9d\xf2\xcf\\\x02\x9f_'
HOST = "127.0.0.1"
PORT = 12345
| 28.75 | 68 | 0.591304 | 22 | 115 | 3 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.208696 | 115 | 3 | 69 | 38.333333 | 0.494505 | 0 | 0 | 0 | 0 | 0.333333 | 0.521739 | 0.443478 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7594966acdc368a1fb8dc0f563d0f9217177c309 | 6,793 | py | Python | tests/test_pllcalcs.py | bobbyjsmith11/pll | 6a4e3b2573e5af341e83b09acbf7473299ad8328 | [
"MIT"
] | null | null | null | tests/test_pllcalcs.py | bobbyjsmith11/pll | 6a4e3b2573e5af341e83b09acbf7473299ad8328 | [
"MIT"
] | null | null | null | tests/test_pllcalcs.py | bobbyjsmith11/pll | 6a4e3b2573e5af341e83b09acbf7473299ad8328 | [
"MIT"
] | 2 | 2019-07-18T08:23:14.000Z | 2020-12-29T20:54:13.000Z | from unittest import TestCase
from pll.pll_calcs import *
class TestGeneralFunctions(TestCase):
def test_interp_linear_1(self):
""" test the linear interpolator with a value within the x array
"""
test_var = interp_linear([10,20], [1,2], 12)
self.assertAlmostEqual(1.2, test_var[1... | 33.628713 | 118 | 0.504637 | 764 | 6,793 | 4.335079 | 0.198953 | 0.024155 | 0.027174 | 0.043478 | 0.788043 | 0.771135 | 0.766002 | 0.739432 | 0.717391 | 0.688406 | 0 | 0.055933 | 0.415722 | 6,793 | 201 | 119 | 33.79602 | 0.778534 | 0.259826 | 0 | 0.669421 | 0 | 0 | 0.009224 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 1 | 0.07438 | false | 0.090909 | 0.016529 | 0 | 0.123967 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
75ad78373165893431c0a6fd9b8cc1f752849658 | 134 | py | Python | backend/backend/mixins/__init__.py | ProjetoALES/ales-website | 9dc5b460f5e780a1221d0ed5071043f088082395 | [
"MIT"
] | null | null | null | backend/backend/mixins/__init__.py | ProjetoALES/ales-website | 9dc5b460f5e780a1221d0ed5071043f088082395 | [
"MIT"
] | 19 | 2020-02-25T05:29:39.000Z | 2021-09-22T18:38:26.000Z | backend/backend/mixins/__init__.py | ProjetoALES/ales-website | 9dc5b460f5e780a1221d0ed5071043f088082395 | [
"MIT"
] | null | null | null | from .prefetch import PrefetchMixin, PrefetchQuerysetModelMixin
from .queryfields import QueryFieldsMixin, QueryFieldsPermissionMixin
| 44.666667 | 69 | 0.895522 | 10 | 134 | 12 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 134 | 2 | 70 | 67 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
75db0c60ff0f9a68f6eb9b271bcc01cb05dfb323 | 2,385 | py | Python | tests/modules/auth/resources/test_getting_oauth2clients_info.py | IsmaelJS/test-github-actions | 97223df261e9736c46875f590c9593dbac0d417b | [
"MIT"
] | 1,420 | 2015-11-20T01:25:14.000Z | 2022-03-22T03:51:33.000Z | tests/modules/auth/resources/test_getting_oauth2clients_info.py | IsmaelJS/test-github-actions | 97223df261e9736c46875f590c9593dbac0d417b | [
"MIT"
] | 151 | 2016-01-07T09:11:42.000Z | 2020-11-17T08:37:07.000Z | tests/modules/auth/resources/test_getting_oauth2clients_info.py | IsmaelJS/test-github-actions | 97223df261e9736c46875f590c9593dbac0d417b | [
"MIT"
] | 389 | 2015-11-23T01:14:31.000Z | 2022-02-07T08:23:11.000Z | # encoding: utf-8
# pylint: disable=missing-docstring
import pytest
@pytest.mark.parametrize('auth_scopes', (
['auth:read'],
['auth:read', 'auth:write'],
))
def test_getting_list_of_oauth2_clients_by_authorized_user(
flask_app_client, regular_user, regular_user_oauth2_client, auth_scopes
):
# pyli... | 33.591549 | 80 | 0.704822 | 307 | 2,385 | 5.123779 | 0.208469 | 0.06103 | 0.106802 | 0.066751 | 0.806103 | 0.734901 | 0.734901 | 0.705658 | 0.705658 | 0.705658 | 0 | 0.017713 | 0.171488 | 2,385 | 70 | 81 | 34.071429 | 0.77834 | 0.069182 | 0 | 0.557692 | 0 | 0 | 0.151378 | 0.05061 | 0 | 0 | 0 | 0 | 0.269231 | 1 | 0.076923 | false | 0 | 0.019231 | 0 | 0.096154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f95977b8471e5d5dba7affd0d35a53facc3ef5e7 | 23,110 | py | Python | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum1000/Output/Histos/MadAnalysis5job_0/selection_11.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum1000/Output/Histos/MadAnalysis5job_0/selection_11.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum1000/Output/Histos/MadAnalysis5job_0/selection_11.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_11():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.li... | 119.123711 | 1,140 | 0.740545 | 4,668 | 23,110 | 3.50964 | 0.176949 | 0.199719 | 0.282549 | 0.354514 | 0.490692 | 0.475493 | 0.470366 | 0.461149 | 0.458829 | 0.456144 | 0 | 0.463747 | 0.071398 | 23,110 | 193 | 1,141 | 119.740933 | 0.299674 | 0.056988 | 0 | 0.185841 | 0 | 0.00885 | 0.047525 | 0.00933 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f986ee0af33dbd2bf1058829bd2f036e2ffd6cff | 47,756 | py | Python | src/backend/marsha/core/tests/test_api_timed_text_track.py | marin-leonard/marsha | b5d6bf98fda27acd3a08577b82dd98bcd39bfd8d | [
"MIT"
] | null | null | null | src/backend/marsha/core/tests/test_api_timed_text_track.py | marin-leonard/marsha | b5d6bf98fda27acd3a08577b82dd98bcd39bfd8d | [
"MIT"
] | null | null | null | src/backend/marsha/core/tests/test_api_timed_text_track.py | marin-leonard/marsha | b5d6bf98fda27acd3a08577b82dd98bcd39bfd8d | [
"MIT"
] | null | null | null | """Tests for the TimedTextTrack API of the Marsha project."""
from datetime import datetime
import json
import random
from unittest import mock
from django.test import TestCase, override_settings
import pytz
from rest_framework_simplejwt.tokens import AccessToken
from ..api import timezone
from ..factories import Ti... | 45.919231 | 99 | 0.633261 | 5,201 | 47,756 | 5.57662 | 0.074986 | 0.076024 | 0.111985 | 0.025927 | 0.843642 | 0.820508 | 0.804027 | 0.780375 | 0.758344 | 0.743242 | 0 | 0.026063 | 0.251194 | 47,756 | 1,039 | 100 | 45.963426 | 0.785011 | 0.101767 | 0 | 0.676887 | 0 | 0 | 0.201018 | 0.085819 | 0 | 0 | 0 | 0 | 0.119104 | 1 | 0.050708 | false | 0.007075 | 0.012972 | 0 | 0.066038 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f9d675d3386ba21507199a3c8634221352c949e9 | 33 | py | Python | python/milleniumcohort/__init__.py | wadpac/millenniumcohort-acc | a731dbbc844082cc2d670835d2e9fa88d58a8854 | [
"Apache-2.0"
] | 6 | 2018-02-07T03:13:04.000Z | 2022-02-04T09:44:22.000Z | python/milleniumcohort/__init__.py | wadpac/millenniumcohort-acc | a731dbbc844082cc2d670835d2e9fa88d58a8854 | [
"Apache-2.0"
] | 3 | 2017-05-11T13:00:44.000Z | 2017-05-19T15:52:57.000Z | python/milleniumcohort/__init__.py | wadpac/milleniumcohort-acc | a731dbbc844082cc2d670835d2e9fa88d58a8854 | [
"Apache-2.0"
] | 3 | 2018-06-22T17:49:42.000Z | 2019-05-10T20:40:17.000Z | from .utils import create_config
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9e8a7666bd119a6b235781a17202bc76b984491 | 835 | py | Python | flickrsets/tests/__init__.py | gillesfabio/django-flickrsets | 953481fde4029d4d613a5994bdbe987f731fe033 | [
"BSD-3-Clause"
] | 1 | 2015-06-24T01:46:02.000Z | 2015-06-24T01:46:02.000Z | flickrsets/tests/__init__.py | gillesfabio/django-flickrsets | 953481fde4029d4d613a5994bdbe987f731fe033 | [
"BSD-3-Clause"
] | null | null | null | flickrsets/tests/__init__.py | gillesfabio/django-flickrsets | 953481fde4029d4d613a5994bdbe987f731fe033 | [
"BSD-3-Clause"
] | null | null | null | from flickrsets.tests.client import FlickrClientTest
from flickrsets.tests.client import FakeClient
from flickrsets.tests.models import PersonTest
from flickrsets.tests.models import PersonManagerTest
from flickrsets.tests.models import PhotoTest
from flickrsets.tests.models import PhotoManagerTest
from flickrsets.tes... | 39.761905 | 65 | 0.88024 | 96 | 835 | 7.65625 | 0.260417 | 0.304762 | 0.413605 | 0.272109 | 0.595918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081437 | 835 | 20 | 66 | 41.75 | 0.958279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb00950c4975f8fc15e40df2d199789083dbcce6 | 2,866 | py | Python | app/src/main/assets/code/controller/color_sensor.py | tongjinlv/py_and | a069336c47dd233648fbbadee7275ef188696a44 | [
"Apache-2.0"
] | null | null | null | app/src/main/assets/code/controller/color_sensor.py | tongjinlv/py_and | a069336c47dd233648fbbadee7275ef188696a44 | [
"Apache-2.0"
] | null | null | null | app/src/main/assets/code/controller/color_sensor.py | tongjinlv/py_and | a069336c47dd233648fbbadee7275ef188696a44 | [
"Apache-2.0"
] | null | null | null | import sys
import math
import random
import imp
import struct
class color_sensor:
def __init__(self,call):
self.call=call
def get_light_strength(self):
data = [0x28,0x02,0x04]
self.call.blewrite(data)
r=self.call.blewait(0x28)
if(r==None):
return 0
re... | 24.921739 | 33 | 0.456734 | 334 | 2,866 | 3.871257 | 0.140719 | 0.136118 | 0.123743 | 0.154679 | 0.717711 | 0.717711 | 0.717711 | 0.717711 | 0.717711 | 0.683681 | 0 | 0.086957 | 0.438241 | 2,866 | 115 | 34 | 24.921739 | 0.716149 | 0 | 0 | 0.72807 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055807 | 0 | 0 | 1 | 0.096491 | false | 0 | 0.04386 | 0 | 0.403509 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb23f38c53283257c36d2cb82aa4dc2a92575091 | 308 | py | Python | tridet/modeling/dd3d/__init__.py | flipson/dd3d | 86d8660c29612b79836dad9b6c39972ac2ca1557 | [
"MIT"
] | 227 | 2021-08-17T02:42:28.000Z | 2022-03-31T22:35:06.000Z | tridet/modeling/dd3d/__init__.py | flipson/dd3d | 86d8660c29612b79836dad9b6c39972ac2ca1557 | [
"MIT"
] | 21 | 2021-08-20T06:51:59.000Z | 2022-03-31T16:47:18.000Z | tridet/modeling/dd3d/__init__.py | flipson/dd3d | 86d8660c29612b79836dad9b6c39972ac2ca1557 | [
"MIT"
] | 35 | 2021-08-21T08:22:17.000Z | 2022-03-30T05:32:45.000Z | # Copyright 2021 Toyota Research Institute. All rights reserved.
from tridet.modeling.dd3d.core import DD3D
from tridet.modeling.dd3d.nuscenes_dd3d import NuscenesDD3D
from tridet.modeling.dd3d.nuscenes_dd3d_tta import NuscenesDD3DWithTTA
from tridet.modeling.dd3d.test_time_augmentation import DD3DWithTTA
| 51.333333 | 70 | 0.866883 | 41 | 308 | 6.390244 | 0.536585 | 0.152672 | 0.274809 | 0.335878 | 0.259542 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0.049645 | 0.084416 | 308 | 5 | 71 | 61.6 | 0.879433 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34b4ce946909ad9ba55a225f5c73f6e3474a0cf7 | 1,004 | py | Python | sorting/bubbleSort.py | rp581998/data-structures | ff6d96f77fddb5387117b315d781571f19469261 | [
"MIT"
] | null | null | null | sorting/bubbleSort.py | rp581998/data-structures | ff6d96f77fddb5387117b315d781571f19469261 | [
"MIT"
] | null | null | null | sorting/bubbleSort.py | rp581998/data-structures | ff6d96f77fddb5387117b315d781571f19469261 | [
"MIT"
] | null | null | null | '''def bubbleSort(arr):
n = len(arr)
for i in range(n):
for j in range(0,n-i-1):
if arr[j] > arr[j+1]:
temp = arr[j]
arr[j] = arr[j+1]
arr[j+1] = temp
arr = [10,9,15,1,5,2,6,3]
bubbleSort(arr)
print('Sorted array: ')
for i in range(len(arr)):
... | 22.818182 | 50 | 0.447211 | 175 | 1,004 | 2.565714 | 0.182857 | 0.106904 | 0.077951 | 0.089087 | 0.85078 | 0.804009 | 0.804009 | 0.804009 | 0.804009 | 0.804009 | 0 | 0.052298 | 0.371514 | 1,004 | 44 | 51 | 22.818182 | 0.659271 | 0.427291 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
34d4f5b5b721ef5149cdee91cebaa82ec642d645 | 354 | py | Python | vo/douyin/SpiderDouyinVideoUrlByUserResponseVO.py | genji9071/dark_spider | 8213fc92791506a3b2c99b696cd12ae330208d99 | [
"MIT"
] | null | null | null | vo/douyin/SpiderDouyinVideoUrlByUserResponseVO.py | genji9071/dark_spider | 8213fc92791506a3b2c99b696cd12ae330208d99 | [
"MIT"
] | null | null | null | vo/douyin/SpiderDouyinVideoUrlByUserResponseVO.py | genji9071/dark_spider | 8213fc92791506a3b2c99b696cd12ae330208d99 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
from vo.SpiderBaseGetVideoInfoBatchResponseVO import SpiderBaseGetVideoInfoBatchResponseVO
from vo.douyin.SpiderDouyinUserInfoVO import SpiderDouyinUserInfoVO
class SpiderDouyinVideoUrlByUserResponseVO(BaseModel):
user_info: SpiderDouyinUserInfoVO = None
video_list: SpiderBaseG... | 35.4 | 90 | 0.878531 | 26 | 354 | 11.884615 | 0.576923 | 0.038835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09322 | 354 | 9 | 91 | 39.333333 | 0.962617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34d9d2413c70921e229144e1a642c8f77d6ba29e | 12,773 | py | Python | src/load_data.py | microsoft/Akoustos | c88caa58a77606f19108fe598ef6f911ebe83956 | [
"MIT"
] | null | null | null | src/load_data.py | microsoft/Akoustos | c88caa58a77606f19108fe598ef6f911ebe83956 | [
"MIT"
] | null | null | null | src/load_data.py | microsoft/Akoustos | c88caa58a77606f19108fe598ef6f911ebe83956 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
'''
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.
'''
from datetime import datetime
import glob
import pandas as pd
import numpy as np
import os
from statistics import median
import cv2
import warnings
from math import ceil, floor
from joblib import P... | 48.751908 | 164 | 0.573554 | 1,489 | 12,773 | 4.668905 | 0.163868 | 0.091772 | 0.070483 | 0.050633 | 0.780207 | 0.748418 | 0.721519 | 0.707422 | 0.700518 | 0.700518 | 0 | 0.023834 | 0.32005 | 12,773 | 262 | 165 | 48.751908 | 0.776626 | 0.031942 | 0 | 0.701031 | 0 | 0 | 0.067815 | 0 | 0 | 0 | 0 | 0.003817 | 0 | 1 | 0.030928 | false | 0 | 0.082474 | 0 | 0.154639 | 0.06701 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5510155018e42ea41653a3ee9aea3bf27bcfbe24 | 46 | py | Python | module/color.py | solitary-s/python-learn | 05d3aa5704f74daa91ec9129bba86a77aea3724b | [
"Apache-2.0"
] | 1 | 2020-08-08T02:18:24.000Z | 2020-08-08T02:18:24.000Z | module/color.py | solitary-s/python-learn | 05d3aa5704f74daa91ec9129bba86a77aea3724b | [
"Apache-2.0"
] | null | null | null | module/color.py | solitary-s/python-learn | 05d3aa5704f74daa91ec9129bba86a77aea3724b | [
"Apache-2.0"
] | null | null | null | def printColor():
print("color is green")
| 15.333333 | 27 | 0.652174 | 6 | 46 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 2 | 28 | 23 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 1 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9b4f33d2156dcf4824efcf28e67521c5e42f81dd | 23 | py | Python | yanrin.py | jaideep2/yanrin | ba34f7f1c9d7f43f4800ea5cc25a333553ce9186 | [
"Apache-2.0"
] | null | null | null | yanrin.py | jaideep2/yanrin | ba34f7f1c9d7f43f4800ea5cc25a333553ce9186 | [
"Apache-2.0"
] | null | null | null | yanrin.py | jaideep2/yanrin | ba34f7f1c9d7f43f4800ea5cc25a333553ce9186 | [
"Apache-2.0"
] | null | null | null | from yanrin import app
| 11.5 | 22 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9b95d9631dfddf995ea31a12805742d8ca0bfaca | 166 | py | Python | botlistbot/lib/__init__.py | anandpskerala/BotListBot | 4ac1b1f7c4f4d251c80a24306542001f40b85216 | [
"MIT"
] | 66 | 2017-07-21T07:16:14.000Z | 2022-02-13T03:52:52.000Z | botlistbot/lib/__init__.py | anandpskerala/BotListBot | 4ac1b1f7c4f4d251c80a24306542001f40b85216 | [
"MIT"
] | 10 | 2017-10-20T00:51:43.000Z | 2021-06-02T00:07:32.000Z | botlistbot/lib/__init__.py | anandpskerala/BotListBot | 4ac1b1f7c4f4d251c80a24306542001f40b85216 | [
"MIT"
] | 44 | 2018-01-05T15:01:47.000Z | 2022-02-10T20:32:41.000Z | from .inlinecallbackbutton import InlineCallbackButton
from .inlinecallbackhandler import InlineCallbackHandler
from .inlineactionhandler import InlineActionHandler
| 33.2 | 56 | 0.903614 | 12 | 166 | 12.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078313 | 166 | 4 | 57 | 41.5 | 0.980392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9bbd66fe68bd8fc1ddead077eb18bf9bcd9d1b73 | 9,815 | py | Python | src/model.py | mmin0/SigDFP | e2a93faa658741d693b8070bcc7038d2fb7c3e74 | [
"MIT"
] | null | null | null | src/model.py | mmin0/SigDFP | e2a93faa658741d693b8070bcc7038d2fb7c3e74 | [
"MIT"
] | null | null | null | src/model.py | mmin0/SigDFP | e2a93faa658741d693b8070bcc7038d2fb7c3e74 | [
"MIT"
] | 1 | 2022-02-28T23:26:23.000Z | 2022-02-28T23:26:23.000Z |
import torch
import torch.nn as nn
class Action(nn.Module):
def __init__(self, args, mode):
"""
input:
args.in_dim -- the dimension of (t, X_t)
args.neurons -- the size of hidden layers
args.out_dim -- the dimension of alpha
"""
super(Action, s... | 34.804965 | 106 | 0.490474 | 1,259 | 9,815 | 3.753773 | 0.104051 | 0.011849 | 0.038087 | 0.030258 | 0.851037 | 0.83157 | 0.77592 | 0.750529 | 0.738468 | 0.723022 | 0 | 0.022961 | 0.365461 | 9,815 | 281 | 107 | 34.928826 | 0.73587 | 0.268161 | 0 | 0.592308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107692 | false | 0 | 0.015385 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd3f0d71cadcad3c77f308fa5aea0eddc32dbcab | 1,903 | py | Python | music_trees/utils/train.py | hugofloresgarcia/music-trees | 51c47f1fc924936c25b84bf35edff52d88e9cccd | [
"MIT"
] | 25 | 2021-07-16T10:24:35.000Z | 2022-03-25T04:46:25.000Z | music_trees/utils/train.py | loretoparisi/music-trees | 0ea3f49c2bafa97efd7352728ca687d7fee9e025 | [
"MIT"
] | 4 | 2021-11-12T10:25:29.000Z | 2021-12-01T16:11:13.000Z | music_trees/utils/train.py | loretoparisi/music-trees | 0ea3f49c2bafa97efd7352728ca687d7fee9e025 | [
"MIT"
] | 3 | 2021-11-09T02:40:03.000Z | 2022-03-04T19:26:39.000Z | """ utils for training """
import torch
def batch_detach_cpu(x):
"""syntax honey"""
return batch_cpu(batch_detach(x))
def batch_detach(nested_collection):
""" move a dict of tensors to detach.
no op if tensors already in detach
"""
if isinstance(nested_collection, dict):
for k, v in... | 35.240741 | 54 | 0.591172 | 230 | 1,903 | 4.726087 | 0.152174 | 0.353266 | 0.071757 | 0.103036 | 0.827967 | 0.827967 | 0.769089 | 0.769089 | 0.574057 | 0.384545 | 0 | 0 | 0.309511 | 1,903 | 53 | 55 | 35.90566 | 0.827245 | 0.086705 | 0 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.025641 | 0 | 0.179487 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd4b3e880c378a41980d826d953a114b91893fbc | 24 | py | Python | src/yui/doc/__init__.py | dinoboff/yuidoc | f1f607876c24a09c6a9bf649f25bbe4c896901a5 | [
"BSD-3-Clause"
] | 2 | 2015-12-18T11:06:32.000Z | 2016-05-08T18:52:57.000Z | src/yui/doc/__init__.py | dinoboff/yuidoc | f1f607876c24a09c6a9bf649f25bbe4c896901a5 | [
"BSD-3-Clause"
] | null | null | null | src/yui/doc/__init__.py | dinoboff/yuidoc | f1f607876c24a09c6a9bf649f25bbe4c896901a5 | [
"BSD-3-Clause"
] | null | null | null | from yuidoc import main
| 12 | 23 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd14725a9549c9f72568bb567d206925b36c36ff | 1,994 | py | Python | tests/test_json_to_mako.py | melexis/json-to-mako | 244f99e1ba11001ad74fa76a00f7c5acfcddddde | [
"Apache-2.0"
] | null | null | null | tests/test_json_to_mako.py | melexis/json-to-mako | 244f99e1ba11001ad74fa76a00f7c5acfcddddde | [
"Apache-2.0"
] | null | null | null | tests/test_json_to_mako.py | melexis/json-to-mako | 244f99e1ba11001ad74fa76a00f7c5acfcddddde | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from mlx.json_to_mako import json_to_mako_wrapper
class TestJsonToMako(TestCase):
def test_help(self):
with self.assertRaises(SystemExit) as ex:
json_to_mako_wrapper(['--help'])
self.assertEqual(0, ex.exception.code)
def test_version(self):
w... | 42.425532 | 77 | 0.567202 | 213 | 1,994 | 5.107981 | 0.183099 | 0.049632 | 0.082721 | 0.125 | 0.859375 | 0.859375 | 0.824449 | 0.824449 | 0.754596 | 0.754596 | 0 | 0.003584 | 0.300401 | 1,994 | 46 | 78 | 43.347826 | 0.776344 | 0 | 0 | 0.621622 | 0 | 0 | 0.228185 | 0.096289 | 0 | 0 | 0 | 0 | 0.27027 | 1 | 0.189189 | false | 0 | 0.054054 | 0 | 0.27027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bd4251fe9aad607af485a9071a3bf71ec82ec90b | 115 | py | Python | testing/fibonacci/fibonacci/tests/test_fibonacci.py | asteroidshappen/school2021 | 7533c8524fa53127c4da1ffe0ad83b09eb59107a | [
"MIT"
] | 252 | 2021-05-18T11:58:17.000Z | 2022-03-12T06:48:52.000Z | testing/fibonacci/fibonacci/tests/test_fibonacci.py | asteroidshappen/school2021 | 7533c8524fa53127c4da1ffe0ad83b09eb59107a | [
"MIT"
] | 44 | 2021-05-21T14:28:34.000Z | 2021-07-12T22:36:06.000Z | testing/fibonacci/fibonacci/tests/test_fibonacci.py | asteroidshappen/school2021 | 7533c8524fa53127c4da1ffe0ad83b09eb59107a | [
"MIT"
] | 128 | 2021-05-24T18:32:54.000Z | 2022-03-26T11:24:16.000Z | def test_initial():
from fibonacci import fibonacci
assert fibonacci(0) == 0
assert fibonacci(1) == 1
| 19.166667 | 35 | 0.669565 | 15 | 115 | 5.066667 | 0.6 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.234783 | 115 | 5 | 36 | 23 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1ff218d8aa593f1feed74d0c894e9603dd861e8a | 23 | py | Python | examples/example_module/__init__.py | lukefx/stardust | 4d9e399ffba9d4a47a2f428b59b5abf4c5bd41ad | [
"MIT"
] | 2 | 2020-11-27T10:30:38.000Z | 2020-12-22T16:48:49.000Z | examples/example_module/__init__.py | lukefx/stardust | 4d9e399ffba9d4a47a2f428b59b5abf4c5bd41ad | [
"MIT"
] | null | null | null | examples/example_module/__init__.py | lukefx/stardust | 4d9e399ffba9d4a47a2f428b59b5abf4c5bd41ad | [
"MIT"
] | null | null | null | from .app import serve
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f2884dc7bba54aeefba262b33c0b7e8421bb006 | 29 | py | Python | GitMarco/torch/__init__.py | GitMarco27/GitMarco | 2d9dd93a73a6d7b68d63222512a646cdd988909e | [
"MIT"
] | null | null | null | GitMarco/torch/__init__.py | GitMarco27/GitMarco | 2d9dd93a73a6d7b68d63222512a646cdd988909e | [
"MIT"
] | null | null | null | GitMarco/torch/__init__.py | GitMarco27/GitMarco | 2d9dd93a73a6d7b68d63222512a646cdd988909e | [
"MIT"
] | null | null | null | from GitMarco.torch import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f2d5dcd807ddff5d5933eb12aaa869d74409ece | 24 | py | Python | src/lib/StringIO.py | blockpy-edu/skulpt | dc70288aedcd7670605ef28f8525546440b39f93 | [
"MIT"
] | 4 | 2020-01-19T01:42:06.000Z | 2021-05-13T09:51:38.000Z | src/lib/StringIO.py | blockpy-edu/skulpt | dc70288aedcd7670605ef28f8525546440b39f93 | [
"MIT"
] | null | null | null | src/lib/StringIO.py | blockpy-edu/skulpt | dc70288aedcd7670605ef28f8525546440b39f93 | [
"MIT"
] | 4 | 2019-10-16T21:50:53.000Z | 2021-01-11T06:25:57.000Z | from io import StringIO
| 12 | 23 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f3570987845d9f9176610a0f0264f965d756eb1 | 2,395 | py | Python | original_program/test_bowling_program.py | pau13-loop/bowling-Game | b82ab1b67ead5feafed095fcc7649382781fb9ea | [
"MIT"
] | null | null | null | original_program/test_bowling_program.py | pau13-loop/bowling-Game | b82ab1b67ead5feafed095fcc7649382781fb9ea | [
"MIT"
] | null | null | null | original_program/test_bowling_program.py | pau13-loop/bowling-Game | b82ab1b67ead5feafed095fcc7649382781fb9ea | [
"MIT"
] | null | null | null | from original_program.bowling_program import bowling_game
import pytest
# INTEGRES tests
def test_integres():
assert bowling_game(12345123451234512345) == 60
assert bowling_game(32611661144527814225) == 71
# SPARES tests
def test_spare():
assert bowling_game('5/5/5/5/5/5/5/5/5/5/5') == 150
assert bo... | 26.318681 | 82 | 0.698121 | 369 | 2,395 | 4.360434 | 0.341463 | 0.205096 | 0.306401 | 0.019888 | 0.068987 | 0.042884 | 0.013052 | 0.013052 | 0.013052 | 0.006837 | 0 | 0.203859 | 0.156159 | 2,395 | 90 | 83 | 26.611111 | 0.592281 | 0.17286 | 0 | 0 | 0 | 0.023256 | 0.248853 | 0.021418 | 0 | 0 | 0 | 0 | 0.674419 | 1 | 0.27907 | true | 0 | 0.046512 | 0 | 0.325581 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1f665108ab190f053cff94aa42d8e13643b1d6f6 | 171 | py | Python | backend/local_basket/location/admin.py | localbasket/local_basket | 8c34cc25de95c9c0d9431b86546e94dd1c97280f | [
"MIT"
] | null | null | null | backend/local_basket/location/admin.py | localbasket/local_basket | 8c34cc25de95c9c0d9431b86546e94dd1c97280f | [
"MIT"
] | null | null | null | backend/local_basket/location/admin.py | localbasket/local_basket | 8c34cc25de95c9c0d9431b86546e94dd1c97280f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Pin
from .models import Location
# Register your models here.
admin.site.register(Pin)
admin.site.register(Location)
| 21.375 | 32 | 0.807018 | 25 | 171 | 5.52 | 0.48 | 0.144928 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116959 | 171 | 7 | 33 | 24.428571 | 0.913907 | 0.152047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2f1eec2dc3017a1e2e9cb413ad5311f2bae450d0 | 186 | py | Python | app/tests/refs/args_dict.py | superphy/spfy | 867e61b32ab00ec536378f96a63f0fb379f47c58 | [
"Apache-2.0"
] | 2 | 2019-05-22T14:29:37.000Z | 2020-02-13T11:30:46.000Z | app/tests/refs/args_dict.py | superphy/backend | 867e61b32ab00ec536378f96a63f0fb379f47c58 | [
"Apache-2.0"
] | 88 | 2017-04-07T21:52:10.000Z | 2018-03-10T23:12:47.000Z | app/tests/refs/args_dict.py | superphy/backend | 867e61b32ab00ec536378f96a63f0fb379f47c58 | [
"Apache-2.0"
] | 2 | 2017-02-10T21:30:13.000Z | 2017-06-05T22:30:17.000Z | args_dict = {'i': '/home/kevin/dev/fresh/backend/app/tests/ecoli/GCA_001894495.1_ASM189449v1_genomic.fna', 'disable_vf': False, 'pi': 90, 'disable_amr': False, 'disable_serotype': False} | 186 | 186 | 0.752688 | 28 | 186 | 4.75 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108571 | 0.05914 | 186 | 1 | 186 | 186 | 0.651429 | 0 | 0 | 0 | 0 | 1 | 0.668449 | 0.454545 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2f6f9bfcd066c5e9bd90c5e63d28d02fd4053b73 | 34 | py | Python | tflib/losses/__init__.py | yaojia1/AttGAN-final | 92906e6b32cdcabaa841461c6d2efe06a54057d1 | [
"MIT"
] | 581 | 2018-05-06T05:15:05.000Z | 2022-03-29T08:13:54.000Z | tflib/losses/__init__.py | yaojia1/darknet_my | 92906e6b32cdcabaa841461c6d2efe06a54057d1 | [
"MIT"
] | 52 | 2018-05-11T09:33:30.000Z | 2022-03-24T04:27:07.000Z | tflib/losses/__init__.py | yaojia1/darknet_my | 92906e6b32cdcabaa841461c6d2efe06a54057d1 | [
"MIT"
] | 137 | 2018-05-08T14:30:03.000Z | 2022-02-24T01:50:37.000Z | from tflib.losses.losses import *
| 17 | 33 | 0.794118 | 5 | 34 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2f89c5479d8e470d54e1827f781036a8576e75d7 | 97 | py | Python | luffy/models/layers/__init__.py | Fei-Wang/dl-pytorch | a7672603e2de7824d0ff7e97b69dedad3fd9d476 | [
"MIT"
] | null | null | null | luffy/models/layers/__init__.py | Fei-Wang/dl-pytorch | a7672603e2de7824d0ff7e97b69dedad3fd9d476 | [
"MIT"
] | null | null | null | luffy/models/layers/__init__.py | Fei-Wang/dl-pytorch | a7672603e2de7824d0ff7e97b69dedad3fd9d476 | [
"MIT"
] | null | null | null | from .activation import *
from .attention import *
from .mlp import *
from .transformer import *
| 19.4 | 26 | 0.752577 | 12 | 97 | 6.083333 | 0.5 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 4 | 27 | 24.25 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
85df6888fe72b10e9504f6ce2afc6bc2c72cc9d7 | 5,327 | py | Python | posts/tests.py | nurettinabaci/Tower-Django-Blog | d45b7efac0d3c8fdf5ad0ec1cf2253f6c6d912a0 | [
"MIT"
] | null | null | null | posts/tests.py | nurettinabaci/Tower-Django-Blog | d45b7efac0d3c8fdf5ad0ec1cf2253f6c6d912a0 | [
"MIT"
] | null | null | null | posts/tests.py | nurettinabaci/Tower-Django-Blog | d45b7efac0d3c8fdf5ad0ec1cf2253f6c6d912a0 | [
"MIT"
] | null | null | null | from django.conf import settings
from django.test import LiveServerTestCase
from selenium import webdriver
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
# Create your tests here.
WEBDRIVER_PATH = "... | 45.144068 | 101 | 0.651399 | 641 | 5,327 | 5.191888 | 0.159126 | 0.132212 | 0.124399 | 0.135216 | 0.770433 | 0.766526 | 0.766526 | 0.766526 | 0.754507 | 0.704928 | 0 | 0.023278 | 0.225831 | 5,327 | 117 | 102 | 45.529915 | 0.783705 | 0.004318 | 0 | 0.653465 | 0 | 0 | 0.13146 | 0.009053 | 0 | 0 | 0 | 0 | 0.039604 | 1 | 0.059406 | false | 0.158416 | 0.059406 | 0 | 0.128713 | 0.059406 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c80ae21a079fe5404d1c58281eca0f4882f01e5d | 114 | py | Python | reapy/tools/__init__.py | tomas1808/reapy | f24a53bf226dbfa82c8dd83f6be88477ab1636e9 | [
"MIT"
] | null | null | null | reapy/tools/__init__.py | tomas1808/reapy | f24a53bf226dbfa82c8dd83f6be88477ab1636e9 | [
"MIT"
] | null | null | null | reapy/tools/__init__.py | tomas1808/reapy | f24a53bf226dbfa82c8dd83f6be88477ab1636e9 | [
"MIT"
] | null | null | null | """Define tools such as Program and custom json module."""
import reapy
from .inside_reaper import inside_reaper
| 22.8 | 58 | 0.789474 | 17 | 114 | 5.176471 | 0.823529 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 114 | 4 | 59 | 28.5 | 0.897959 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c80edbf1998847dc4a3eafbd0a951f3051d16e89 | 35 | py | Python | appear/commands/test.py | zacpez/appear | 766b7989da82dcf5bcbad718e8cf43b74e21e249 | [
"Apache-2.0"
] | null | null | null | appear/commands/test.py | zacpez/appear | 766b7989da82dcf5bcbad718e8cf43b74e21e249 | [
"Apache-2.0"
] | 5 | 2021-07-21T00:24:15.000Z | 2022-02-28T00:41:21.000Z | appear/commands/test.py | zacpez/appear | 766b7989da82dcf5bcbad718e8cf43b74e21e249 | [
"Apache-2.0"
] | null | null | null | def run_tests():
print('test')
| 11.666667 | 17 | 0.6 | 5 | 35 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 2 | 18 | 17.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c85a5beb9a55a2642660f5029b021e1e233daa75 | 54 | py | Python | colosseumrl/envs/poker/__init__.py | carletonz/colosseumrl | 878f0459731511d716672aee8a5adafcb96cf0a7 | [
"MIT"
] | 8 | 2019-06-04T00:22:30.000Z | 2022-02-14T15:27:17.000Z | colosseumrl/envs/poker/__init__.py | carletonz/colosseumrl | 878f0459731511d716672aee8a5adafcb96cf0a7 | [
"MIT"
] | 1 | 2019-07-23T03:32:59.000Z | 2019-07-23T06:16:35.000Z | colosseumrl/envs/poker/__init__.py | carletonz/colosseumrl | 878f0459731511d716672aee8a5adafcb96cf0a7 | [
"MIT"
] | 3 | 2020-01-13T08:09:27.000Z | 2021-11-14T01:30:25.000Z | from .KuhnPokerEnvironment import KuhnPokerEnvironment | 54 | 54 | 0.925926 | 4 | 54 | 12.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 54 | 1 | 54 | 54 | 0.980392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c075a4753066ee3d54ce801336b1d6f2ec6a4fa0 | 2,455 | py | Python | maml_rl_taewoo/modifyant.py | kyuhoJeong11/GrewRL | a514698df8d38df34de0bd1667d99927f0aa3885 | [
"MIT"
] | null | null | null | maml_rl_taewoo/modifyant.py | kyuhoJeong11/GrewRL | a514698df8d38df34de0bd1667d99927f0aa3885 | [
"MIT"
] | null | null | null | maml_rl_taewoo/modifyant.py | kyuhoJeong11/GrewRL | a514698df8d38df34de0bd1667d99927f0aa3885 | [
"MIT"
] | null | null | null | import xml.etree.ElementTree as elemTree
def modifystr(s, length):
strs = s.split(" ")
if len(strs) == 3:
return str(float(strs[0]) * length) + " " + str(float(strs[1]) * length) + " " + str(float(strs[2]) * length)
elif len(strs) == 6:
return str(float(strs[0]) * length) + " " + str(float(... | 52.234043 | 228 | 0.535234 | 299 | 2,455 | 4.331104 | 0.160535 | 0.123552 | 0.197683 | 0.111197 | 0.773745 | 0.715058 | 0.70888 | 0.70888 | 0.70888 | 0.70888 | 0 | 0.028652 | 0.274949 | 2,455 | 46 | 229 | 53.369565 | 0.698876 | 0 | 0 | 0.487805 | 0 | 0 | 0.11446 | 0.024847 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.02439 | 0 | 0.121951 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c07c520c650ee2f0a2705f1e2b40cc7473f3a507 | 42,209 | py | Python | cogent/src/codes/tc_code_globalvar.py | Lcrypto/CGO2019-AE | cba7598b42f10eab655a8907a6db71094c1f558d | [
"BSD-4-Clause"
] | 4 | 2019-12-03T16:08:14.000Z | 2020-08-26T16:38:54.000Z | cogent/src/codes/tc_code_globalvar.py | Lcrypto/CGO2019-AE | cba7598b42f10eab655a8907a6db71094c1f558d | [
"BSD-4-Clause"
] | null | null | null | cogent/src/codes/tc_code_globalvar.py | Lcrypto/CGO2019-AE | cba7598b42f10eab655a8907a6db71094c1f558d | [
"BSD-4-Clause"
] | 1 | 2020-03-03T20:31:37.000Z | 2020-03-03T20:31:37.000Z | import src.generators.tc_helper as tc_helper
#
def tc_gen_global_variables_common(f):
#
# This is for Common Global Variables among Inner-Groups
#
f.write("// Common Global Variables\n")
#
# To-Do: The Size of "Unit" for Internal Indices might be different among Inner-Groups as well as ... | 50.010664 | 203 | 0.603876 | 5,773 | 42,209 | 3.849991 | 0.029447 | 0.093944 | 0.102583 | 0.043193 | 0.925763 | 0.912265 | 0.886484 | 0.855395 | 0.819941 | 0.779672 | 0 | 0.013684 | 0.278045 | 42,209 | 843 | 204 | 50.069988 | 0.715683 | 0.054301 | 0 | 0.60644 | 0 | 0 | 0.141429 | 0.01732 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026834 | false | 0 | 0.001789 | 0 | 0.028623 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23900874399adf250079e9988bc86d9770bf14db | 173 | py | Python | rllib/agents/ppo/__init__.py | qsays/ray | 2fb53396ad1dc7a5b7bd0f6135b48c4f40c5adf6 | [
"Apache-2.0"
] | 4 | 2019-10-18T17:44:58.000Z | 2021-04-14T14:37:21.000Z | rllib/agents/ppo/__init__.py | Eric2Hamel/ray | bfaee49880611a65d16a4561c94c60851573b6f2 | [
"Apache-2.0"
] | 1 | 2022-03-30T17:52:44.000Z | 2022-03-30T17:52:44.000Z | rllib/agents/ppo/__init__.py | Eric2Hamel/ray | bfaee49880611a65d16a4561c94c60851573b6f2 | [
"Apache-2.0"
] | 1 | 2020-06-26T07:54:25.000Z | 2020-06-26T07:54:25.000Z | from ray.rllib.agents.ppo.ppo import PPOTrainer, DEFAULT_CONFIG
from ray.rllib.agents.ppo.appo import APPOTrainer
__all__ = ["APPOTrainer", "PPOTrainer", "DEFAULT_CONFIG"]
| 34.6 | 63 | 0.797688 | 23 | 173 | 5.73913 | 0.521739 | 0.106061 | 0.181818 | 0.272727 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086705 | 173 | 4 | 64 | 43.25 | 0.835443 | 0 | 0 | 0 | 0 | 0 | 0.202312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
23bd98eeb8dd99cd6289ed1168d179f9f99b0192 | 40,439 | py | Python | tests/test_selectors.py | PayneLab/covid19pandas | 681722c1def6592c3f3801ec19fa9d8a171584c9 | [
"Apache-2.0"
] | 7 | 2020-04-08T11:52:11.000Z | 2021-02-25T21:14:28.000Z | tests/test_selectors.py | PayneLab/covid19pandas | 681722c1def6592c3f3801ec19fa9d8a171584c9 | [
"Apache-2.0"
] | 1 | 2020-04-01T17:04:41.000Z | 2020-04-02T02:37:55.000Z | tests/test_selectors.py | PayneLab/covid19pandas | 681722c1def6592c3f3801ec19fa9d8a171584c9 | [
"Apache-2.0"
] | 3 | 2020-04-02T18:41:41.000Z | 2020-11-19T06:27:02.000Z | # Copyright 2018 Samuel Payne sam_payne@byu.edu
# 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 ... | 57.19802 | 315 | 0.55852 | 4,953 | 40,439 | 4.348476 | 0.076721 | 0.05423 | 0.015322 | 0.009657 | 0.809685 | 0.773517 | 0.749373 | 0.716873 | 0.701597 | 0.696722 | 0 | 0.005011 | 0.318974 | 40,439 | 706 | 316 | 57.279037 | 0.777052 | 0.204011 | 0 | 0.686117 | 0 | 0.016097 | 0.117251 | 0.018503 | 0 | 0 | 0 | 0 | 0.084507 | 1 | 0.032193 | false | 0.036217 | 0.016097 | 0 | 0.050302 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23e23d429453ae875995a68128a163484746c5b2 | 133 | py | Python | readthedocs/projects/exceptions.py | attakei/readthedocs-oauth | 1c80736fed654dc93c26ea6109a34eebd5eff08b | [
"MIT"
] | 1 | 2021-04-27T05:55:34.000Z | 2021-04-27T05:55:34.000Z | readthedocs/projects/exceptions.py | attakei/readthedocs-oauth | 1c80736fed654dc93c26ea6109a34eebd5eff08b | [
"MIT"
] | null | null | null | readthedocs/projects/exceptions.py | attakei/readthedocs-oauth | 1c80736fed654dc93c26ea6109a34eebd5eff08b | [
"MIT"
] | 1 | 2016-03-06T08:43:53.000Z | 2016-03-06T08:43:53.000Z | """Project exceptions"""
class ProjectImportError (Exception):
"""Failure to import a project from a repository."""
pass
| 14.777778 | 56 | 0.684211 | 14 | 133 | 6.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195489 | 133 | 8 | 57 | 16.625 | 0.850467 | 0.488722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9b16d7c9b692991dec0a51fa5cd7769aefa89044 | 37 | py | Python | osu_map_gen/preprocess/__init__.py | Syps/osu_beatmap_generator | 684b5356bbf79ba847b3ab20e2b6b3a73d7721ad | [
"MIT"
] | 15 | 2018-11-28T12:00:53.000Z | 2022-02-04T05:56:45.000Z | osu_map_gen/preprocess/__init__.py | Syps/osu_beatmap_generator | 684b5356bbf79ba847b3ab20e2b6b3a73d7721ad | [
"MIT"
] | 3 | 2020-07-16T11:40:33.000Z | 2021-06-15T15:13:25.000Z | osu_map_gen/preprocess/__init__.py | Syps/osu_beatmap_generator | 684b5356bbf79ba847b3ab20e2b6b3a73d7721ad | [
"MIT"
] | 4 | 2020-11-12T09:12:39.000Z | 2021-12-26T16:35:11.000Z |
from ..aisu_circles import markov
| 7.4 | 33 | 0.756757 | 5 | 37 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 4 | 34 | 9.25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1a2d9a4aeb131dfb3b92325355c97a1b06571fe | 87 | py | Python | src/services/f12019/__init__.py | jordansilva/raspberry-f1-dashboard | 96446a348d036a75f4699bab4459eabec16705f8 | [
"Apache-2.0"
] | null | null | null | src/services/f12019/__init__.py | jordansilva/raspberry-f1-dashboard | 96446a348d036a75f4699bab4459eabec16705f8 | [
"Apache-2.0"
] | null | null | null | src/services/f12019/__init__.py | jordansilva/raspberry-f1-dashboard | 96446a348d036a75f4699bab4459eabec16705f8 | [
"Apache-2.0"
] | null | null | null | from .utils.formatHelper import *
from .utils.enums import *
from .driver import Driver | 29 | 33 | 0.793103 | 12 | 87 | 5.75 | 0.5 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 87 | 3 | 34 | 29 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1aa2ae5ffc56633475f6fbc164e89e44d291674 | 157 | py | Python | tests/__init__.py | amitkpandey-in/business-rules | 32ee05acc25d1c7626420019eaede7c046d185c6 | [
"MIT"
] | null | null | null | tests/__init__.py | amitkpandey-in/business-rules | 32ee05acc25d1c7626420019eaede7c046d185c6 | [
"MIT"
] | null | null | null | tests/__init__.py | amitkpandey-in/business-rules | 32ee05acc25d1c7626420019eaede7c046d185c6 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
try:
from unittest2 import TestCase
except ImportError:
from unittest import TestCase
assert TestCase
| 19.625 | 39 | 0.77707 | 18 | 157 | 6.5 | 0.611111 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.210191 | 157 | 7 | 40 | 22.428571 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1beef180ea9de2efe0081fe02523f90b89c2a67 | 45 | py | Python | GNN/model/__init__.py | HamletWantToCode/alchemy | 4af98323e7ae64e1c4b7901c544dddb48b4780b6 | [
"MIT"
] | 2 | 2019-07-23T03:47:09.000Z | 2019-07-24T09:20:15.000Z | GNN/model/__init__.py | HamletWantToCode/alchemy | 4af98323e7ae64e1c4b7901c544dddb48b4780b6 | [
"MIT"
] | null | null | null | GNN/model/__init__.py | HamletWantToCode/alchemy | 4af98323e7ae64e1c4b7901c544dddb48b4780b6 | [
"MIT"
] | null | null | null | from .AGCN import AGCN
from .MPNN import MPNN | 22.5 | 22 | 0.8 | 8 | 45 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 23 | 22.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7b106ea51ec220880949cef051c07849165298a7 | 711 | py | Python | pyntel4004/src/hardware/suboperations/rom.py | alshapton/Pyntel4004 | 865a7fc5264d24f1281bee44c40a51e7e42598a0 | [
"MIT"
] | 6 | 2021-02-12T21:37:53.000Z | 2022-02-24T23:09:37.000Z | pyntel4004/src/hardware/suboperations/rom.py | alshapton/Pyntel4004 | 865a7fc5264d24f1281bee44c40a51e7e42598a0 | [
"MIT"
] | 43 | 2021-04-23T09:32:24.000Z | 2022-02-01T15:17:09.000Z | pyntel4004/src/hardware/suboperations/rom.py | alshapton/Pyntel4004 | 865a7fc5264d24f1281bee44c40a51e7e42598a0 | [
"MIT"
] | 2 | 2021-06-11T01:12:44.000Z | 2021-09-14T22:44:11.000Z | """ROM methods."""
def read_all_rom(self) -> list:
"""
Return the values of all the locations of ROM.
Parameters
----------
self : Processor, mandatory
The instance of the processor containing the registers, accumulator etc
Returns
-------
ROM
The values of all the lo... | 18.710526 | 79 | 0.601969 | 87 | 711 | 4.83908 | 0.264368 | 0.085511 | 0.104513 | 0.133017 | 0.821853 | 0.821853 | 0.821853 | 0.743468 | 0.489311 | 0.489311 | 0 | 0 | 0.295359 | 711 | 37 | 80 | 19.216216 | 0.840319 | 0.673699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
7b327cc3b83f11c99c306aecc0daa6d323980e1e | 11,885 | py | Python | forms/main_forms.py | chucktilbury/Accounting | 15c467dac4405e872f3820e3ff35a53240335631 | [
"MIT"
] | null | null | null | forms/main_forms.py | chucktilbury/Accounting | 15c467dac4405e872f3820e3ff35a53240335631 | [
"MIT"
] | null | null | null | forms/main_forms.py | chucktilbury/Accounting | 15c467dac4405e872f3820e3ff35a53240335631 | [
"MIT"
] | null | null | null | from system.forms import Forms
from system.logger import *
from dialogs.edit_dialogs import *
from dialogs.select_dialog import *
#
# TODO: A customer cannot be deleted if a committed sale exists. If a customer is
# deleted, then all uncommitted sales are also deleted.
#
# Show total committed and uncommi... | 41.701754 | 114 | 0.630963 | 1,561 | 11,885 | 4.588085 | 0.122357 | 0.139765 | 0.083775 | 0.086009 | 0.788886 | 0.769199 | 0.758866 | 0.737783 | 0.736526 | 0.7315 | 0 | 0.015079 | 0.224401 | 11,885 | 284 | 115 | 41.848592 | 0.761879 | 0.107615 | 0 | 0.739583 | 0 | 0 | 0.152005 | 0 | 0 | 0 | 0 | 0.003521 | 0 | 1 | 0.020833 | false | 0 | 0.020833 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9e56fe95a6e01f57f06f2207b17cd50393f51015 | 67 | py | Python | backend/api/minhash/__init__.py | Carbonara-Project/Carbonara-Web | be1fac46ed3e4f590f3d885e646970a29ec43cb5 | [
"MIT"
] | 2 | 2020-01-07T12:35:11.000Z | 2021-09-18T10:30:57.000Z | backend/api/minhash/__init__.py | Carbonara-Project/Carbonara-Web | be1fac46ed3e4f590f3d885e646970a29ec43cb5 | [
"MIT"
] | null | null | null | backend/api/minhash/__init__.py | Carbonara-Project/Carbonara-Web | be1fac46ed3e4f590f3d885e646970a29ec43cb5 | [
"MIT"
] | null | null | null | from .lean_minhash import LeanMinHash
from .minhash import MinHash
| 22.333333 | 37 | 0.850746 | 9 | 67 | 6.222222 | 0.555556 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 2 | 38 | 33.5 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e5dd2eebb954fc5094f30f45639779d9dc6cafc | 121 | py | Python | Pandas/5-Loading-data-plain-text-files.py | Pythobit/Python-libraries | cd94b61ee65e989dd29827edbd02567bd06afacb | [
"MIT"
] | 1 | 2021-08-13T16:13:25.000Z | 2021-08-13T16:13:25.000Z | Pandas/5-Loading-data-plain-text-files.py | Pythobit/Python-libraries | cd94b61ee65e989dd29827edbd02567bd06afacb | [
"MIT"
] | null | null | null | Pandas/5-Loading-data-plain-text-files.py | Pythobit/Python-libraries | cd94b61ee65e989dd29827edbd02567bd06afacb | [
"MIT"
] | null | null | null | df4 = pandas.read_csv('supermarkets-commas.txt')
df4
df5 = pandas.read_csv('supermarkets-semi-colons.txt',sep=';')
df5
| 17.285714 | 61 | 0.735537 | 18 | 121 | 4.833333 | 0.611111 | 0.229885 | 0.298851 | 0.574713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.082645 | 121 | 6 | 62 | 20.166667 | 0.747748 | 0 | 0 | 0 | 0 | 0 | 0.429752 | 0.421488 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9e60a21d3f63f5361f33973e8e89172b1839c420 | 398 | py | Python | ucate/application/workflows/__init__.py | HadarRosenwald/ucate | f57e47b1baec802c955adc7b07317d8014e50d91 | [
"Apache-2.0"
] | 25 | 2020-10-27T21:30:19.000Z | 2022-01-04T08:12:12.000Z | ucate/application/workflows/__init__.py | HadarRosenwald/ucate | f57e47b1baec802c955adc7b07317d8014e50d91 | [
"Apache-2.0"
] | 5 | 2020-11-06T21:30:29.000Z | 2021-05-20T10:03:57.000Z | ucate/application/workflows/__init__.py | HadarRosenwald/ucate | f57e47b1baec802c955adc7b07317d8014e50d91 | [
"Apache-2.0"
] | 8 | 2020-12-01T05:44:31.000Z | 2022-03-31T18:18:36.000Z | from ucate.application.workflows.tarnet import train as train_tarnet
from ucate.application.workflows.tlearner import train as train_tlearner
from ucate.application.workflows.cevae import train as train_cevae
from ucate.application.workflows.evaluation import evaluate
from ucate.application.workflows.evaluation impo... | 39.8 | 72 | 0.871859 | 52 | 398 | 6.596154 | 0.288462 | 0.157434 | 0.349854 | 0.507289 | 0.393586 | 0.393586 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082915 | 398 | 9 | 73 | 44.222222 | 0.939726 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e69489946c8bdb27bb22d15512c7067e6aa42ef | 46 | py | Python | binance/__init__.py | cottonmalone/binance-dex | 2b33e5d0dd0e24e78eea58e857d9872e5adc8c5f | [
"MIT"
] | null | null | null | binance/__init__.py | cottonmalone/binance-dex | 2b33e5d0dd0e24e78eea58e857d9872e5adc8c5f | [
"MIT"
] | null | null | null | binance/__init__.py | cottonmalone/binance-dex | 2b33e5d0dd0e24e78eea58e857d9872e5adc8c5f | [
"MIT"
] | null | null | null | from .constants import *
from .client import * | 23 | 24 | 0.76087 | 6 | 46 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 25 | 23 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e74d5a30684aba4039a9a25863d4e1cfc8444a9 | 137 | py | Python | django/www/MeteoGaliciaDB/faq/views.py | hugo-lorenzo-mato/Meteo-Galicia-DB | 3dd52534c16216de5f25cd40877d2facc7cffe24 | [
"MIT"
] | null | null | null | django/www/MeteoGaliciaDB/faq/views.py | hugo-lorenzo-mato/Meteo-Galicia-DB | 3dd52534c16216de5f25cd40877d2facc7cffe24 | [
"MIT"
] | null | null | null | django/www/MeteoGaliciaDB/faq/views.py | hugo-lorenzo-mato/Meteo-Galicia-DB | 3dd52534c16216de5f25cd40877d2facc7cffe24 | [
"MIT"
] | 1 | 2021-04-27T18:37:41.000Z | 2021-04-27T18:37:41.000Z | from django.shortcuts import render
# Create your views here.
def faq(request):
return render(request, 'faq/form/fandq.html', None) | 22.833333 | 55 | 0.744526 | 20 | 137 | 5.1 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145985 | 137 | 6 | 55 | 22.833333 | 0.871795 | 0.167883 | 0 | 0 | 0 | 0 | 0.168142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9e993a2e9c9cbbb6ee923eb8112390250e485279 | 310 | py | Python | python/rosie/__init__.py | amininger/rosie | 1cd80ba6f7548bc2e8077c38c2c497e31d38c9b8 | [
"BSD-3-Clause"
] | null | null | null | python/rosie/__init__.py | amininger/rosie | 1cd80ba6f7548bc2e8077c38c2c497e31d38c9b8 | [
"BSD-3-Clause"
] | null | null | null | python/rosie/__init__.py | amininger/rosie | 1cd80ba6f7548bc2e8077c38c2c497e31d38c9b8 | [
"BSD-3-Clause"
] | null | null | null | __all__ = [ "ActionStackConnector", "CommandConnector", "InternalCommandConnector", "RosieClient", "RosieGUI" ]
from .ActionStackConnector import ActionStackConnector
from .CommandConnector import CommandConnector, InternalCommandConnector
from .RosieClient import RosieClient
from .RosieGUI import RosieGUI
| 38.75 | 111 | 0.83871 | 23 | 310 | 11.130435 | 0.347826 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090323 | 310 | 7 | 112 | 44.285714 | 0.907801 | 0 | 0 | 0 | 0 | 0 | 0.255663 | 0.07767 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ec02ec1567456e5d0070fdfaf0fdc321a76165f | 160 | py | Python | sec.py | nathanielmathew/BERT-QuestionAns-API | 3c831a1f8037b50357cd6f66c19301beca0f2c00 | [
"MIT"
] | 3 | 2021-04-13T07:13:24.000Z | 2021-04-17T19:47:39.000Z | sec.py | nathanielmathew/BERT-QuestionAns-API | 3c831a1f8037b50357cd6f66c19301beca0f2c00 | [
"MIT"
] | null | null | null | sec.py | nathanielmathew/BERT-QuestionAns-API | 3c831a1f8037b50357cd6f66c19301beca0f2c00 | [
"MIT"
] | 1 | 2021-06-09T06:19:35.000Z | 2021-06-09T06:19:35.000Z | import string
import random
N = 32
def generate_token():
return ''.join(random.choices(string.ascii_uppercase + string.ascii_lowercase + string.digits, k=N)) | 22.857143 | 101 | 0.76875 | 23 | 160 | 5.217391 | 0.695652 | 0.183333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.1125 | 160 | 7 | 101 | 22.857143 | 0.830986 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7bc0ae3a27aef469d1085ed19ec81af910ca55c5 | 28 | py | Python | modules/__init__.py | OpenVoiceOS/ovos_api_service | 58b5e2cc91958ebacf212d10ba31ea59fda8452f | [
"Apache-2.0"
] | null | null | null | modules/__init__.py | OpenVoiceOS/ovos_api_service | 58b5e2cc91958ebacf212d10ba31ea59fda8452f | [
"Apache-2.0"
] | 1 | 2020-09-01T06:14:48.000Z | 2020-09-01T06:14:48.000Z | modules/__init__.py | OpenVoiceOS/ovos_api_service | 58b5e2cc91958ebacf212d10ba31ea59fda8452f | [
"Apache-2.0"
] | 2 | 2021-01-08T20:54:00.000Z | 2021-01-08T21:21:32.000Z | from .storage import Storage | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7bca80b1cee476ff337d8ad6e017929b27483c80 | 199 | py | Python | ics2000/TrustEnconder.py | trdvangraft/ics2000 | 9d93e64a43c9f94e3264f994f8ccfaeaad2c9485 | [
"MIT"
] | null | null | null | ics2000/TrustEnconder.py | trdvangraft/ics2000 | 9d93e64a43c9f94e3264f994f8ccfaeaad2c9485 | [
"MIT"
] | null | null | null | ics2000/TrustEnconder.py | trdvangraft/ics2000 | 9d93e64a43c9f94e3264f994f8ccfaeaad2c9485 | [
"MIT"
] | null | null | null | from json import JSONEncoder
class TrustEncodable():
def toJson(self) -> dict:
pass
class TrustEnconder(JSONEncoder):
def default(self, o: TrustEncodable):
return o.toJson() | 22.111111 | 41 | 0.683417 | 22 | 199 | 6.181818 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221106 | 199 | 9 | 42 | 22.111111 | 0.877419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0.142857 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
c894ccf6bd035b01a29db1be3b5672e45b82476e | 207 | py | Python | practiceset1.py | shivam123-dev/PythonWithShivam | 5b902c27df2cf21c6131fcbc2765187d52ca4e92 | [
"MIT"
] | 1 | 2021-04-01T06:37:14.000Z | 2021-04-01T06:37:14.000Z | practiceset1.py | shivam123-dev/pythonwithshivam | 5b902c27df2cf21c6131fcbc2765187d52ca4e92 | [
"MIT"
] | null | null | null | practiceset1.py | shivam123-dev/pythonwithshivam | 5b902c27df2cf21c6131fcbc2765187d52ca4e92 | [
"MIT"
] | 1 | 2021-05-09T16:50:45.000Z | 2021-05-09T16:50:45.000Z | # Importing the module of "Python" named as "OS"
import os
# Getting the current working directory
cwd = os.getcwd()
# Printing the current working directory
print("Current working directory before:", cwd)
| 29.571429 | 49 | 0.763285 | 29 | 207 | 5.448276 | 0.62069 | 0.265823 | 0.436709 | 0.329114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154589 | 207 | 6 | 50 | 34.5 | 0.902857 | 0.599034 | 0 | 0 | 0 | 0 | 0.417722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c8e096ad292368c72537124fb0f321c10f486b61 | 404 | py | Python | python/dupeFilesFinder_conf.py | bison--/singlePurposeScripts | b061e118e367898f8415bcdb915e10bc38cd6a3c | [
"MIT"
] | null | null | null | python/dupeFilesFinder_conf.py | bison--/singlePurposeScripts | b061e118e367898f8415bcdb915e10bc38cd6a3c | [
"MIT"
] | null | null | null | python/dupeFilesFinder_conf.py | bison--/singlePurposeScripts | b061e118e367898f8415bcdb915e10bc38cd6a3c | [
"MIT"
] | 1 | 2021-06-04T11:09:02.000Z | 2021-06-04T11:09:02.000Z |
# directories where to look for duplicates
dir_list = [
r"C:\Users\Gamer\Documents\Projekte\azzap\azzap-docker-dev\data\html\pub\media\catalog\product",
r"C:\Users\Gamer\Documents\Projekte\azzap\azzap-docker-dev\data\html\pub\media\import\multishopifystoremageconnect",
r"C:\Users\Gamer\Documents\Projekte\a... | 50.5 | 122 | 0.789604 | 56 | 404 | 5.678571 | 0.464286 | 0.018868 | 0.066038 | 0.113208 | 0.641509 | 0.641509 | 0.641509 | 0.641509 | 0.641509 | 0.641509 | 0 | 0 | 0.066832 | 404 | 7 | 123 | 57.714286 | 0.843501 | 0.09901 | 0 | 0 | 0 | 0.6 | 0.880886 | 0.880886 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cde943d859d8c382062329e85f867ca532564883 | 46 | py | Python | tiktok_marketing/__init__.py | GearPlug/tiktok-marketing-python | 910a01ab8bbca6ecafba02e202de33fc156b0c13 | [
"MIT"
] | 1 | 2022-02-19T06:02:24.000Z | 2022-02-19T06:02:24.000Z | tiktok_marketing/__init__.py | GearPlug/tiktok-marketing-python | 910a01ab8bbca6ecafba02e202de33fc156b0c13 | [
"MIT"
] | null | null | null | tiktok_marketing/__init__.py | GearPlug/tiktok-marketing-python | 910a01ab8bbca6ecafba02e202de33fc156b0c13 | [
"MIT"
] | null | null | null | from tiktok_marketing.api import TikTokClient
| 23 | 45 | 0.891304 | 6 | 46 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cdfbea0913cd86af28c0f40ba58b5dc5fedaa92c | 31 | py | Python | tofu/tests/tests06_mesh/__init__.py | WinstonLHS/tofu | c95b2eb6aedcf4bac5676752b9635b78f31af6ca | [
"MIT"
] | 6 | 2016-09-15T17:01:19.000Z | 2017-03-06T22:53:10.000Z | tofu/tests/tests06_mesh/__init__.py | WinstonLHS/tofu | c95b2eb6aedcf4bac5676752b9635b78f31af6ca | [
"MIT"
] | 9 | 2016-09-14T17:23:52.000Z | 2017-04-13T07:30:07.000Z | tofu/tests/tests06_mesh/__init__.py | Didou09/tofu | 4a4e1f058bab8e7556ed9d518f90807cec605476 | [
"MIT"
] | null | null | null |
from . import test_01_checks
| 7.75 | 28 | 0.774194 | 5 | 31 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.193548 | 31 | 3 | 29 | 10.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a82ca2ecc12dbc467ddaa2a39df07cdfd5fd64f1 | 27 | py | Python | addons14/sale_timesheet_rounded/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/sale_timesheet_rounded/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/sale_timesheet_rounded/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | from . import test_rounded
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b555799226335e173dedc424b8a3d711137108a1 | 40 | py | Python | up/tasks/multitask/models/wrappers/__init__.py | ModelTC/EOD | 164bff80486e9ae6a095a97667b365c46ceabd86 | [
"Apache-2.0"
] | 196 | 2021-10-30T05:15:36.000Z | 2022-03-30T18:43:40.000Z | up/tasks/multitask/models/wrappers/__init__.py | ModelTC/EOD | 164bff80486e9ae6a095a97667b365c46ceabd86 | [
"Apache-2.0"
] | 12 | 2021-10-30T11:33:28.000Z | 2022-03-31T14:22:58.000Z | up/tasks/multitask/models/wrappers/__init__.py | ModelTC/EOD | 164bff80486e9ae6a095a97667b365c46ceabd86 | [
"Apache-2.0"
] | 23 | 2021-11-01T07:26:17.000Z | 2022-03-27T05:55:37.000Z | from .multitask_wrapper import * # noqa | 40 | 40 | 0.775 | 5 | 40 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 1 | 40 | 40 | 0.882353 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b586379e2443e6fcac53fb6088a84dcb91ad7ed6 | 3,600 | py | Python | tests/test_ls7_gap_mask.py | Oceancolour-RG/wagl | f002a1c0a373d21758d44d2a808bdfd755d90226 | [
"Apache-2.0"
] | 22 | 2018-05-30T23:42:10.000Z | 2021-12-25T14:21:46.000Z | tests/test_ls7_gap_mask.py | Oceancolour-RG/wagl | f002a1c0a373d21758d44d2a808bdfd755d90226 | [
"Apache-2.0"
] | 52 | 2018-02-20T05:31:55.000Z | 2021-11-23T23:38:15.000Z | tests/test_ls7_gap_mask.py | Oceancolour-RG/wagl | f002a1c0a373d21758d44d2a808bdfd755d90226 | [
"Apache-2.0"
] | 8 | 2018-02-20T05:08:38.000Z | 2021-08-12T23:16:41.000Z | #!/usr/bin/env python
import unittest
from wagl.acquisition import acquisitions
from .data import LS7_GAP_MASK, LS7_NO_GAP_MASK
class GapMaskRadianceTest(unittest.TestCase):
"""
Test that the SLC gap mask loads correctly.
The values to check against were derived by manually selecting
the band and ... | 26.086957 | 72 | 0.585 | 459 | 3,600 | 4.420479 | 0.185185 | 0.078857 | 0.097585 | 0.13307 | 0.81518 | 0.788566 | 0.788566 | 0.754066 | 0.558896 | 0.558896 | 0 | 0.049685 | 0.295556 | 3,600 | 137 | 73 | 26.277372 | 0.750394 | 0.073889 | 0 | 0.838384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.20202 | false | 0 | 0.030303 | 0 | 0.252525 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b588a6fcf9715da9c197bafdc4ab8b935a29b459 | 48 | py | Python | server/src/police_lineups/controllers/recommendations/__init__.py | vabalcar/police-lineups | 9c4a17d58e973d6db6e442bd9d5f4313ad4d51b7 | [
"MIT"
] | null | null | null | server/src/police_lineups/controllers/recommendations/__init__.py | vabalcar/police-lineups | 9c4a17d58e973d6db6e442bd9d5f4313ad4d51b7 | [
"MIT"
] | 2 | 2021-09-24T11:43:58.000Z | 2021-09-24T12:00:21.000Z | server/src/police_lineups/controllers/recommendations/__init__.py | vabalcar/police-lineups | 9c4a17d58e973d6db6e442bd9d5f4313ad4d51b7 | [
"MIT"
] | null | null | null | from .queries import get_lineup_recommendations
| 24 | 47 | 0.895833 | 6 | 48 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a91350056005fb98b63ecedb46296629b20cd5bd | 78 | py | Python | boilerplate_app/tasks.py | taher-systango/DjangoUnboxed | 808ab771a44564458b897b6ec854c08f43cccf2a | [
"MIT"
] | 68 | 2018-05-04T13:00:59.000Z | 2022-03-25T09:28:28.000Z | boilerplate_app/tasks.py | taher-systango/DjangoUnboxed | 808ab771a44564458b897b6ec854c08f43cccf2a | [
"MIT"
] | 38 | 2020-01-06T07:39:20.000Z | 2022-01-07T07:49:38.000Z | qzzzme_app/tasks.py | aboudzein/Qzzz.me-API | b5ee8e63fb7cf58d26fb5b6e4c9f22c04e90df08 | [
"MIT"
] | 27 | 2018-10-17T17:35:42.000Z | 2022-03-25T09:28:33.000Z | from celery import shared_task
@shared_task
def add(a, b):
return (a+b)
| 11.142857 | 30 | 0.692308 | 14 | 78 | 3.714286 | 0.714286 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 78 | 6 | 31 | 13 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a95a0c77f19b52bb300b0ca1aec9676982976a6f | 32 | py | Python | training/soundnet/net/__init__.py | chigur/pose | 3e8ecebbc24ea59a1cb217b15a9b2a1a1de09085 | [
"MIT"
] | null | null | null | training/soundnet/net/__init__.py | chigur/pose | 3e8ecebbc24ea59a1cb217b15a9b2a1a1de09085 | [
"MIT"
] | null | null | null | training/soundnet/net/__init__.py | chigur/pose | 3e8ecebbc24ea59a1cb217b15a9b2a1a1de09085 | [
"MIT"
] | null | null | null | from . import Module as SoundNet | 32 | 32 | 0.8125 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d3641a7376677a811a55b8ad68c4bb3cf2acfea | 184 | py | Python | keepachangelog/__init__.py | Colin-b/keepachangelog | 128a920183ace5bb90e977b35171d81a76666da0 | [
"MIT"
] | 20 | 2020-02-19T20:22:06.000Z | 2022-01-28T22:20:37.000Z | keepachangelog/__init__.py | Colin-b/keepachangelog | 128a920183ace5bb90e977b35171d81a76666da0 | [
"MIT"
] | 29 | 2020-02-19T20:27:39.000Z | 2022-02-05T17:26:14.000Z | keepachangelog/__init__.py | Colin-b/keepachangelog | 128a920183ace5bb90e977b35171d81a76666da0 | [
"MIT"
] | 6 | 2020-02-24T16:37:37.000Z | 2022-01-28T22:38:39.000Z | from keepachangelog.version import __version__
from keepachangelog._changelog import to_dict, to_raw_dict, release, from_dict
from keepachangelog._versioning import to_sorted_semantic
| 46 | 78 | 0.88587 | 24 | 184 | 6.291667 | 0.5 | 0.357616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081522 | 184 | 3 | 79 | 61.333333 | 0.893491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d6672ece9c205b02681f6c29c29050bf9bd925a | 32 | py | Python | bazaar_bundle/__init__.py | applauncher-team/bazaar_bundle | 95f51d418ab3563f150268a638717e409c80485f | [
"Apache-2.0"
] | null | null | null | bazaar_bundle/__init__.py | applauncher-team/bazaar_bundle | 95f51d418ab3563f150268a638717e409c80485f | [
"Apache-2.0"
] | null | null | null | bazaar_bundle/__init__.py | applauncher-team/bazaar_bundle | 95f51d418ab3563f150268a638717e409c80485f | [
"Apache-2.0"
] | null | null | null | from .bundle import BazaarBundle | 32 | 32 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d6d03a390d4f46b1b1ea85902b04bdf49ff6729 | 3,383 | py | Python | sources/praline/client/project/pipeline/stages/load_clang_format_test.py | dansandu/praline | f1e87c8048787480262b330e6cc6d92d473eb50c | [
"MIT"
] | null | null | null | sources/praline/client/project/pipeline/stages/load_clang_format_test.py | dansandu/praline | f1e87c8048787480262b330e6cc6d92d473eb50c | [
"MIT"
] | null | null | null | sources/praline/client/project/pipeline/stages/load_clang_format_test.py | dansandu/praline | f1e87c8048787480262b330e6cc6d92d473eb50c | [
"MIT"
] | null | null | null | from os.path import normpath
from praline.client.project.pipeline.stages.load_clang_format import clang_format_style_file_contents, ClangFormatConfigurationError, load_clang_format
from praline.common.testing.file_system_mock import FileSystemMock
from unittest import TestCase
class LoadClangFormatStageTest(TestCase)... | 52.046154 | 180 | 0.751108 | 385 | 3,383 | 6.218182 | 0.145455 | 0.128655 | 0.120301 | 0.096074 | 0.817878 | 0.806182 | 0.763576 | 0.71721 | 0.71721 | 0.71721 | 0 | 0.001392 | 0.150754 | 3,383 | 64 | 181 | 52.859375 | 0.831883 | 0 | 0 | 0.547619 | 0 | 0 | 0.170854 | 0.106119 | 0 | 0 | 0 | 0 | 0.238095 | 1 | 0.095238 | false | 0 | 0.095238 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8d978746fa090aa2999b7df714ff2af3e4749942 | 6,434 | py | Python | tests/test_login.py | Kcode17/CS684_ST_QA | 6d7aef29744f51ff436fbf3081c2dac30addf9bf | [
"MIT"
] | null | null | null | tests/test_login.py | Kcode17/CS684_ST_QA | 6d7aef29744f51ff436fbf3081c2dac30addf9bf | [
"MIT"
] | 1 | 2022-03-22T00:55:37.000Z | 2022-03-22T00:55:37.000Z | tests/test_login.py | Kcode17/CS684_ST_QA | 6d7aef29744f51ff436fbf3081c2dac30addf9bf | [
"MIT"
] | 1 | 2022-03-22T21:44:36.000Z | 2022-03-22T21:44:36.000Z | from multiprocessing.connection import wait
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.keys import Keys
import time
from selenium.webdriver.common.by import By
import unittest
import pytest
class TestSample():
@pytest.fixture()
def test_s... | 36.977011 | 112 | 0.654803 | 817 | 6,434 | 4.980416 | 0.138311 | 0.098304 | 0.167117 | 0.186778 | 0.71246 | 0.707791 | 0.707791 | 0.700418 | 0.692553 | 0.672647 | 0 | 0.032706 | 0.215884 | 6,434 | 174 | 113 | 36.977011 | 0.773835 | 0.059372 | 0 | 0.526316 | 0 | 0 | 0.129529 | 0.003639 | 0.008772 | 0 | 0 | 0 | 0.052632 | 1 | 0.061404 | false | 0.061404 | 0.070175 | 0 | 0.140351 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a5c5ccec5c23dc9cff1835166c17c5b4af92a340 | 596 | py | Python | bip_utils/monero/mnemonic/__init__.py | MIPPLTeam/bip_utils | c66446e7ac3879d2cf6308c5b8eb7f7705292660 | [
"MIT"
] | 149 | 2020-05-15T08:11:43.000Z | 2022-03-29T16:34:42.000Z | bip_utils/monero/mnemonic/__init__.py | MIPPLTeam/bip_utils | c66446e7ac3879d2cf6308c5b8eb7f7705292660 | [
"MIT"
] | 41 | 2020-04-03T15:57:56.000Z | 2022-03-31T08:25:11.000Z | bip_utils/monero/mnemonic/__init__.py | MIPPLTeam/bip_utils | c66446e7ac3879d2cf6308c5b8eb7f7705292660 | [
"MIT"
] | 55 | 2020-04-03T17:05:15.000Z | 2022-03-24T12:43:42.000Z | from bip_utils.monero.mnemonic.monero_mnemonic_ex import MoneroChecksumError
from bip_utils.monero.mnemonic.monero_mnemonic import (
MoneroLanguages, MoneroWordsNum, MoneroMnemonic, MoneroMnemonicDecoder, MoneroMnemonicEncoder
)
from bip_utils.monero.mnemonic.monero_entropy_generator import MoneroEntropyBitLen, Mon... | 66.222222 | 106 | 0.899329 | 64 | 596 | 8.109375 | 0.34375 | 0.26975 | 0.138728 | 0.208092 | 0.431599 | 0.431599 | 0.308285 | 0 | 0 | 0 | 0 | 0 | 0.058725 | 596 | 8 | 107 | 74.5 | 0.925134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9391b2c4b9d13629fd20d67f6b5fae6b2b856187 | 1,125 | py | Python | day6.py | kdrag0n/aoc2021 | 469bd861a7d7c0add14412a705ec4cb1e1b5a10f | [
"MIT"
] | 2 | 2021-12-04T21:15:14.000Z | 2021-12-12T09:28:28.000Z | day6.py | kdrag0n/aoc2021 | 469bd861a7d7c0add14412a705ec4cb1e1b5a10f | [
"MIT"
] | null | null | null | day6.py | kdrag0n/aoc2021 | 469bd861a7d7c0add14412a705ec4cb1e1b5a10f | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import sys
def ints(itr):
return [int(i) for i in itr]
with open(sys.argv[1], 'r') as f:
file_lines = [l for l in f.read().strip().split('\n')]
in_nums = [1,1,1,1,2,1,1,4,1,4,3,1,1,1,1,1,1,1,1,4,1,3,1,1,1,5,1,3,1,4,1,2,1,1,5,1,1,1,1,1,1,1,1,1,1,3,4,1,5,1,1,1,1,1,1,1,1,1,3,1,4,1,1,1,1... | 36.290323 | 611 | 0.517333 | 392 | 1,125 | 1.456633 | 0.127551 | 0.434326 | 0.441331 | 0.392294 | 0.469352 | 0.394046 | 0.294221 | 0.225919 | 0.185639 | 0.087566 | 0 | 0.326804 | 0.137778 | 1,125 | 30 | 612 | 37.5 | 0.261856 | 0.037333 | 0 | 0 | 0 | 0 | 0.006475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.05 | 0.05 | 0.15 | 0.1 | 0 | 0 | 1 | null | 1 | 1 | 1 | 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 | 6 |
93ae5aa950b3817fcf7f1d427b75ab1a305f61ee | 138 | py | Python | models/__init__.py | edubadges/django_ims_toolbox | b1c5a79e62eac951780e89924c098b00402b5591 | [
"MIT"
] | 1 | 2019-01-20T23:00:40.000Z | 2019-01-20T23:00:40.000Z | models/__init__.py | edubadges/django_ims_toolbox | b1c5a79e62eac951780e89924c098b00402b5591 | [
"MIT"
] | 1 | 2018-12-19T06:51:07.000Z | 2018-12-19T06:51:07.000Z | models/__init__.py | edubadges/django_ims_toolbox | b1c5a79e62eac951780e89924c098b00402b5591 | [
"MIT"
] | 2 | 2018-12-22T20:19:13.000Z | 2020-09-02T07:32:21.000Z | from ims.models.content import IMSArchive, CommonCartridge, ContentPackage
from ims.models.lti import LTIApp, LTITenant, LTIPrivacyLevels
| 46 | 74 | 0.855072 | 16 | 138 | 7.375 | 0.75 | 0.118644 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 138 | 2 | 75 | 69 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f548f901177c31226a92c992869f1941701ddc37 | 1,901 | py | Python | tests/test_health.py | LandRegistry/feeder-utilities | 580f2ba09a8aa62c52103e46c4c105210c05fcbb | [
"MIT"
] | null | null | null | tests/test_health.py | LandRegistry/feeder-utilities | 580f2ba09a8aa62c52103e46c4c105210c05fcbb | [
"MIT"
] | null | null | null | tests/test_health.py | LandRegistry/feeder-utilities | 580f2ba09a8aa62c52103e46c4c105210c05fcbb | [
"MIT"
] | 1 | 2021-04-11T05:25:09.000Z | 2021-04-11T05:25:09.000Z | from unittest import TestCase
from unittest.mock import patch
from feeder_utilities import health
from amqp.exceptions import NotFound
class TestFeederHealth(TestCase):
@patch('feeder_utilities.health.rabbitmq')
def test_no_error_queue(self, mock_rabbit):
feeder_health = health.FeederHealth("none", "... | 46.365854 | 84 | 0.537612 | 191 | 1,901 | 5.057592 | 0.240838 | 0.083851 | 0.072464 | 0.080745 | 0.825052 | 0.825052 | 0.825052 | 0.782609 | 0.752588 | 0.752588 | 0 | 0.012945 | 0.349816 | 1,901 | 40 | 85 | 47.525 | 0.768608 | 0 | 0 | 0.571429 | 0 | 0 | 0.170963 | 0.0505 | 0 | 0 | 0 | 0 | 0.085714 | 1 | 0.085714 | false | 0 | 0.114286 | 0 | 0.228571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f5491c52e85785192ce8073f5dfa557a28d18941 | 24 | py | Python | djangular_serve/__init__.py | forafekt/djangular-serve | 356797dd6fe78db5da815f0d3ad3601c6ddf739c | [
"Unlicense",
"MIT"
] | null | null | null | djangular_serve/__init__.py | forafekt/djangular-serve | 356797dd6fe78db5da815f0d3ad3601c6ddf739c | [
"Unlicense",
"MIT"
] | null | null | null | djangular_serve/__init__.py | forafekt/djangular-serve | 356797dd6fe78db5da815f0d3ad3601c6ddf739c | [
"Unlicense",
"MIT"
] | null | null | null | from .serve import main
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f55a4808e587596d69a4cfc08c14b5fbcc808180 | 152 | py | Python | clocwalk/__init__.py | ksiswhite/clocwalk | 884b5c3efe61d005a003749bcf4bae079fac8e70 | [
"Apache-2.0"
] | 11 | 2018-07-18T05:14:42.000Z | 2019-05-14T01:11:07.000Z | clocwalk/__init__.py | ksiswhite/clocwalk | 884b5c3efe61d005a003749bcf4bae079fac8e70 | [
"Apache-2.0"
] | 5 | 2019-10-15T13:10:35.000Z | 2020-03-06T05:36:00.000Z | clocwalk/__init__.py | ksiswhite/clocwalk | 884b5c3efe61d005a003749bcf4bae079fac8e70 | [
"Apache-2.0"
] | 7 | 2019-10-08T08:04:55.000Z | 2021-04-02T05:32:02.000Z | # coding:utf-8
__version__ = '2.0.1'
from clocwalk.cli import ClocDetector
from clocwalk.cli import query_cve
__all_ = ['ClocDetector', 'query_cve']
| 16.888889 | 38 | 0.75 | 22 | 152 | 4.772727 | 0.681818 | 0.228571 | 0.285714 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.131579 | 152 | 8 | 39 | 19 | 0.765152 | 0.078947 | 0 | 0 | 0 | 0 | 0.188406 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f56f3085ebc8bab8c5b1d6488b6c77ec82e98d31 | 59,721 | py | Python | qgs/toolbox/lyapunov.py | Climdyn/qgs | 33d79b1fa360de22b7ae595c142dbe9b6a8fb53a | [
"MIT"
] | 25 | 2020-03-19T14:35:47.000Z | 2022-03-17T06:56:12.000Z | qgs/toolbox/lyapunov.py | Climdyn/qgs | 33d79b1fa360de22b7ae595c142dbe9b6a8fb53a | [
"MIT"
] | 9 | 2020-11-06T23:03:42.000Z | 2021-09-28T08:05:44.000Z | qgs/toolbox/lyapunov.py | Climdyn/qgs | 33d79b1fa360de22b7ae595c142dbe9b6a8fb53a | [
"MIT"
] | 7 | 2020-11-30T03:23:14.000Z | 2022-01-25T04:36:45.000Z |
"""
Lyapunov module
=================
Module with the classes of multi-thread the computation of the various
`Lyapunov vectors`_ and `exponents`_. Integrate using the `Runge-Kutta method`_
defined in the :mod:`~.integrators.integrate` module.
See :cite:`lyap-KP2012` for more details on the Lya... | 42.688349 | 177 | 0.574923 | 8,086 | 59,721 | 4.101534 | 0.061835 | 0.014021 | 0.018333 | 0.022795 | 0.856053 | 0.828524 | 0.806935 | 0.788723 | 0.778652 | 0.763395 | 0 | 0.017979 | 0.305203 | 59,721 | 1,399 | 178 | 42.688349 | 0.781294 | 0.424591 | 0 | 0.678354 | 0 | 0 | 0.005021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047256 | false | 0 | 0.007622 | 0.003049 | 0.10061 | 0.007622 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.