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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
54a74660981b328f1918b126d52b142aa89751d0 | 142 | py | Python | config/api/consumer.py | codertheory/backend | 66017e4f484414b878d2a6e78fa623870aa38cfb | [
"MIT"
] | null | null | null | config/api/consumer.py | codertheory/backend | 66017e4f484414b878d2a6e78fa623870aa38cfb | [
"MIT"
] | null | null | null | config/api/consumer.py | codertheory/backend | 66017e4f484414b878d2a6e78fa623870aa38cfb | [
"MIT"
] | null | null | null | import channels_graphql_ws
from config.api import schema
class GraphQLConsumer(channels_graphql_ws.GraphqlWsConsumer):
schema = schema
| 17.75 | 61 | 0.830986 | 17 | 142 | 6.705882 | 0.647059 | 0.263158 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 142 | 7 | 62 | 20.285714 | 0.919355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 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 |
54c83b0d494fce732af7deabd9a481a7d5a872d6 | 2,328 | py | Python | leetcode/tree/medium/max_level_sum_of_bt/tests/test_my_answer.py | BillionsRichard/pycharmWorkspace | 709e2681fc6d85ff52fb25717215a365f51073aa | [
"Apache-2.0"
] | null | null | null | leetcode/tree/medium/max_level_sum_of_bt/tests/test_my_answer.py | BillionsRichard/pycharmWorkspace | 709e2681fc6d85ff52fb25717215a365f51073aa | [
"Apache-2.0"
] | null | null | null | leetcode/tree/medium/max_level_sum_of_bt/tests/test_my_answer.py | BillionsRichard/pycharmWorkspace | 709e2681fc6d85ff52fb25717215a365f51073aa | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
"""
@version: v1.0
@author: Richard
@license: Apache Licence
@contact: billions.richard@qq.com
@site:
@software: PyCharm
@time: 2019/10/1 20:53
"""
from pprint import pprint as pp
from tree.medium.max_level_sum_of_bt.srcs.my_answer import TreeNode
from tree.medium.max_level_sum_of_bt.srcs.... | 22.823529 | 71 | 0.562715 | 317 | 2,328 | 4.066246 | 0.217666 | 0.148953 | 0.110939 | 0.108611 | 0.799069 | 0.799069 | 0.799069 | 0.799069 | 0.747867 | 0.747867 | 0 | 0.034354 | 0.312285 | 2,328 | 101 | 72 | 23.049505 | 0.770768 | 0.070447 | 0 | 0.75 | 0 | 0 | 0.036229 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 1 | 0.102941 | false | 0.029412 | 0.058824 | 0 | 0.176471 | 0.058824 | 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 |
49d7da577f2143e4daef8dfa7bc6af0655fb0a0b | 107 | py | Python | wagtail/documents/api/admin/views.py | brownaa/wagtail | c97bc56c6822eb1b6589d5c33e07f71acfc48845 | [
"BSD-3-Clause"
] | 8,851 | 2016-12-09T19:01:45.000Z | 2022-03-31T04:45:06.000Z | wagtail/documents/api/admin/views.py | brownaa/wagtail | c97bc56c6822eb1b6589d5c33e07f71acfc48845 | [
"BSD-3-Clause"
] | 5,197 | 2016-12-09T19:24:37.000Z | 2022-03-31T22:17:55.000Z | wagtail/documents/api/admin/views.py | brownaa/wagtail | c97bc56c6822eb1b6589d5c33e07f71acfc48845 | [
"BSD-3-Clause"
] | 2,548 | 2016-12-09T18:16:55.000Z | 2022-03-31T21:34:38.000Z | from ..v2.views import DocumentsAPIViewSet
class DocumentsAdminAPIViewSet(DocumentsAPIViewSet):
pass
| 17.833333 | 52 | 0.82243 | 9 | 107 | 9.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.121495 | 107 | 5 | 53 | 21.4 | 0.925532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
49e3b8d956cafeb7c6c41b8fdd6401561c5d0d65 | 41,773 | py | Python | src/encoded/tests/test_reports_batch_download.py | ENCODE-DCC/encoded | 77688076259af7441a9ffc3e3104f115c988d8e9 | [
"MIT"
] | 102 | 2015-05-20T01:17:43.000Z | 2022-03-07T06:03:55.000Z | src/encoded/tests/test_reports_batch_download.py | ENCODE-DCC/encoded | 77688076259af7441a9ffc3e3104f115c988d8e9 | [
"MIT"
] | 901 | 2015-01-07T23:11:57.000Z | 2022-03-18T13:56:12.000Z | src/encoded/tests/test_reports_batch_download.py | ENCODE-DCC/encoded | 77688076259af7441a9ffc3e3104f115c988d8e9 | [
"MIT"
] | 65 | 2015-02-06T23:00:26.000Z | 2022-01-22T07:58:44.000Z | import pytest
from encoded.tests.features.conftest import app, app_settings, index_workbook
pytestmark = [
pytest.mark.indexing,
pytest.mark.usefixtures('index_workbook'),
]
def test_reports_batch_download_view(index_workbook, testapp):
r = testapp.get('/batch_download/?type=Experiment&status=released'... | 46.414444 | 210 | 0.726666 | 5,077 | 41,773 | 5.671853 | 0.052787 | 0.132727 | 0.114599 | 0.075879 | 0.943916 | 0.93315 | 0.91412 | 0.904292 | 0.894465 | 0.883838 | 0 | 0.015286 | 0.151198 | 41,773 | 899 | 211 | 46.466073 | 0.796853 | 0.01027 | 0 | 0.587642 | 0 | 0.007566 | 0.328455 | 0.282901 | 0 | 0 | 0 | 0 | 0.174023 | 1 | 0.03657 | false | 0 | 0.029004 | 0 | 0.066835 | 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 |
49e7703ca079c6b5b35390013b90cef8f4267114 | 177 | py | Python | catkin_ws/devel/lib/python2.7/dist-packages/map_msgs/srv/__init__.py | lies98/ROS_chasing_ball | 6e1f08ed51a5b5f0c7b0bdebfb1bef2d3fe61949 | [
"MIT"
] | 4 | 2020-05-10T13:23:49.000Z | 2020-06-08T12:13:34.000Z | catkin_ws/devel/lib/python2.7/dist-packages/map_msgs/srv/__init__.py | lies98/ROS_chasing_ball | 6e1f08ed51a5b5f0c7b0bdebfb1bef2d3fe61949 | [
"MIT"
] | 1 | 2021-07-08T10:26:06.000Z | 2021-07-08T10:31:11.000Z | catkin_ws/devel/lib/python2.7/dist-packages/map_msgs/srv/__init__.py | lies98/ROS_chasing_ball | 6e1f08ed51a5b5f0c7b0bdebfb1bef2d3fe61949 | [
"MIT"
] | 1 | 2020-05-28T11:05:36.000Z | 2020-05-28T11:05:36.000Z | from ._GetMapROI import *
from ._GetPointMap import *
from ._GetPointMapROI import *
from ._ProjectedMapsInfo import *
from ._SaveMap import *
from ._SetMapProjections import *
| 25.285714 | 33 | 0.79661 | 18 | 177 | 7.5 | 0.444444 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 177 | 6 | 34 | 29.5 | 0.882353 | 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 |
b702becf41f47446bc801cbee415352cc3c31a95 | 26 | py | Python | test_bed_adapter/services/__init__.py | ba-tno/python-test-bed-adapter | ac463257d11ed7c71755daad0743a8b6290db07b | [
"MIT"
] | null | null | null | test_bed_adapter/services/__init__.py | ba-tno/python-test-bed-adapter | ac463257d11ed7c71755daad0743a8b6290db07b | [
"MIT"
] | null | null | null | test_bed_adapter/services/__init__.py | ba-tno/python-test-bed-adapter | ac463257d11ed7c71755daad0743a8b6290db07b | [
"MIT"
] | null | null | null | from . import time_service | 26 | 26 | 0.846154 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 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 |
b71018251f481091e2fd34d3cf9e7f751279c1d5 | 6,050 | py | Python | autoscale.py | s3u/autoscale-mesos | cef5418fff0622d40e4dd4ad2031a6809fe87d65 | [
"MIT"
] | 8 | 2015-08-21T09:27:29.000Z | 2021-01-21T14:16:27.000Z | autoscale.py | s3u/autoscale-mesos | cef5418fff0622d40e4dd4ad2031a6809fe87d65 | [
"MIT"
] | null | null | null | autoscale.py | s3u/autoscale-mesos | cef5418fff0622d40e4dd4ad2031a6809fe87d65 | [
"MIT"
] | 3 | 2015-07-29T13:35:58.000Z | 2021-01-21T14:16:40.000Z | #!/usr/bin/env python
import logging
import sys
import boto.ec2.autoscale
import requests
logger = logging.getLogger(__name__)
class MesosReporter():
def __init__(self, mesos_url):
self.mesos_url = mesos_url.rstrip('/')
stats_url = '/'.join([self.mesos_url, '/stats.json'])
self.state = ... | 39.542484 | 99 | 0.659339 | 808 | 6,050 | 4.576733 | 0.10396 | 0.087615 | 0.05841 | 0.068145 | 0.796376 | 0.796376 | 0.796376 | 0.796376 | 0.796376 | 0.796376 | 0 | 0.003514 | 0.247438 | 6,050 | 152 | 100 | 39.802632 | 0.808698 | 0.003306 | 0 | 0.707317 | 0 | 0 | 0.045281 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105691 | false | 0 | 0.03252 | 0.00813 | 0.243902 | 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 |
3fbbd96fb919f3142a057b3f25926824fd3781e9 | 79 | py | Python | Clarinet/utils/generatedata/__init__.py | rohans0509/Clarinet | 0a7a6a5e6a91f93956b6b5739cab1f030655cac8 | [
"MIT"
] | 1 | 2022-01-28T20:30:07.000Z | 2022-01-28T20:30:07.000Z | Clarinet/utils/generatedata/__init__.py | rohans0509/Clarinet | 0a7a6a5e6a91f93956b6b5739cab1f030655cac8 | [
"MIT"
] | null | null | null | Clarinet/utils/generatedata/__init__.py | rohans0509/Clarinet | 0a7a6a5e6a91f93956b6b5739cab1f030655cac8 | [
"MIT"
] | 2 | 2021-11-23T13:55:10.000Z | 2021-11-23T13:56:57.000Z | from .midiFolder2Text import *
from .queries import *
from .genAndEval import * | 26.333333 | 30 | 0.78481 | 9 | 79 | 6.888889 | 0.555556 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.139241 | 79 | 3 | 31 | 26.333333 | 0.897059 | 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 |
3feab8147ecd0f4addf9902dded43816117af047 | 106 | py | Python | abutils/plots/__init__.py | bnemoz/abutils | d5dfab90c885a5d948cc1cd8070100f0cdab1c7e | [
"MIT"
] | 4 | 2019-02-27T21:41:13.000Z | 2022-03-19T19:07:28.000Z | abutils/plots/__init__.py | bnemoz/abutils | d5dfab90c885a5d948cc1cd8070100f0cdab1c7e | [
"MIT"
] | 1 | 2018-10-11T22:01:19.000Z | 2018-10-11T22:01:19.000Z | abutils/plots/__init__.py | bnemoz/abutils | d5dfab90c885a5d948cc1cd8070100f0cdab1c7e | [
"MIT"
] | 5 | 2018-10-11T21:18:00.000Z | 2022-01-28T18:45:42.000Z | from __future__ import absolute_import
from .summary import *
from .lineage import *
from .base import *
| 17.666667 | 38 | 0.783019 | 14 | 106 | 5.571429 | 0.5 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 106 | 5 | 39 | 21.2 | 0.876404 | 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 |
b748fc8c7e140301c507fb8f6ef3d8dd0c2c5f97 | 41 | py | Python | dbl_archive_data_storage/__init__.py | ubsicap/dbl-archive-data-storage | 03786ed54024a55ae96b93948a656a3c01269894 | [
"MIT"
] | null | null | null | dbl_archive_data_storage/__init__.py | ubsicap/dbl-archive-data-storage | 03786ed54024a55ae96b93948a656a3c01269894 | [
"MIT"
] | 12 | 2018-12-11T17:49:01.000Z | 2019-02-21T18:26:22.000Z | dbl_archive_data_storage/__init__.py | ubsicap/dbl-archive-data-storage | 03786ed54024a55ae96b93948a656a3c01269894 | [
"MIT"
] | null | null | null | from .data_storage import DBLDataStorage
| 20.5 | 40 | 0.878049 | 5 | 41 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.945946 | 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 |
b74cf2cfb848694d505888b0e8fc767392ce6e0b | 148 | py | Python | snekcord/objects/__init__.py | asleep-cult/snekcord | 04302b0c65bad01c00fb047df3040d3234773689 | [
"MIT"
] | 9 | 2021-07-26T00:25:51.000Z | 2022-02-23T16:00:10.000Z | snekcord/objects/__init__.py | asleep-cult/snekcord | 04302b0c65bad01c00fb047df3040d3234773689 | [
"MIT"
] | 37 | 2021-05-29T16:16:22.000Z | 2022-02-13T13:57:25.000Z | snekcord/objects/__init__.py | asleep-cult/snekcord | 04302b0c65bad01c00fb047df3040d3234773689 | [
"MIT"
] | 4 | 2021-06-02T16:45:41.000Z | 2022-02-10T14:57:16.000Z | from .base import *
from .channel import *
from .emoji import *
from .guild import *
from .message import *
from .role import *
from .user import *
| 18.5 | 22 | 0.716216 | 21 | 148 | 5.047619 | 0.428571 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 148 | 7 | 23 | 21.142857 | 0.883333 | 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 |
b7631afca2e2203dfdd6ab74750a7de569f0db0e | 33 | py | Python | kikimr/public/sdk/python/client/s3list.py | yandex-cloud/ydb-python-sdk | 0df2dce2d77fc41ad3020072740f51dd91630177 | [
"Apache-2.0"
] | 19 | 2019-07-01T08:25:29.000Z | 2022-01-26T14:46:51.000Z | kikimr/public/sdk/python/client/s3list.py | yandex-cloud/ydb-python-sdk | 0df2dce2d77fc41ad3020072740f51dd91630177 | [
"Apache-2.0"
] | 5 | 2019-07-02T13:36:42.000Z | 2021-09-14T06:46:48.000Z | kikimr/public/sdk/python/client/s3list.py | yandex-cloud/ydb-python-sdk | 0df2dce2d77fc41ad3020072740f51dd91630177 | [
"Apache-2.0"
] | 10 | 2019-06-07T10:36:19.000Z | 2021-10-15T08:58:11.000Z | from ydb.s3list import * # noqa
| 16.5 | 32 | 0.69697 | 5 | 33 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.212121 | 33 | 1 | 33 | 33 | 0.846154 | 0.121212 | 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 |
b777278e2e3afd1297374332e40a28d5318a1cf3 | 27 | py | Python | src/utils/__init__.py | karim-daw/pollination-app | ed87f3dbc2d93d25568707d6a6ad0ee35c5109b8 | [
"MIT"
] | null | null | null | src/utils/__init__.py | karim-daw/pollination-app | ed87f3dbc2d93d25568707d6a6ad0ee35c5109b8 | [
"MIT"
] | null | null | null | src/utils/__init__.py | karim-daw/pollination-app | ed87f3dbc2d93d25568707d6a6ad0ee35c5109b8 | [
"MIT"
] | null | null | null | from .folder_utils import * | 27 | 27 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 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 |
b788cdcf29832a766250484c2e7d130cef1b628d | 72 | py | Python | src/django-nonrel/tests/regressiontests/comment_tests/custom_comments/forms.py | adamjmcgrath/glancydesign | 826ede7c639879d5b79ee730eb5e91422768cb02 | [
"BSD-3-Clause"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | tests/regressiontests/comment_tests/custom_comments/forms.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | tests/regressiontests/comment_tests/custom_comments/forms.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | from django import forms
class CustomCommentForm(forms.Form):
pass
| 14.4 | 36 | 0.777778 | 9 | 72 | 6.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 4 | 37 | 18 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b799afcf15d204f9779393354fa5382fd0cf70d8 | 169 | py | Python | erasure/__init__.py | ankitchiplunkar/erasure.py | 9b0e24883dbb3db8fe9cf2b4c4fb8cce583442a3 | [
"MIT"
] | 4 | 2019-12-17T02:27:44.000Z | 2021-05-07T12:26:03.000Z | erasure/__init__.py | ankitchiplunkar/erasure.py | 9b0e24883dbb3db8fe9cf2b4c4fb8cce583442a3 | [
"MIT"
] | 9 | 2019-12-12T18:47:19.000Z | 2019-12-29T21:49:59.000Z | erasure/__init__.py | ankitchiplunkar/erasure.py | 9b0e24883dbb3db8fe9cf2b4c4fb8cce583442a3 | [
"MIT"
] | null | null | null | from erasure.erasure_client import ErasureClient
from erasure.feed import Feed
from erasure.post import Post
from erasure.session import setup_logging
setup_logging()
| 21.125 | 48 | 0.852071 | 24 | 169 | 5.875 | 0.416667 | 0.312057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112426 | 169 | 7 | 49 | 24.142857 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
b7d9641f944921c63ec376bfc8e3e6cb08dc3bf9 | 378 | py | Python | rcnn/lib/python3.6/site-packages/tensorflow/keras/preprocessing/__init__.py | dreamingweaver/making_passportImage | 68f23411780ff82abe934dfae5fc04acb80f2c49 | [
"MIT"
] | 1 | 2019-01-12T13:17:32.000Z | 2019-01-12T13:17:32.000Z | rcnn/lib/python3.6/site-packages/tensorflow/keras/preprocessing/__init__.py | dreamingweaver/making_passportImage | 68f23411780ff82abe934dfae5fc04acb80f2c49 | [
"MIT"
] | null | null | null | rcnn/lib/python3.6/site-packages/tensorflow/keras/preprocessing/__init__.py | dreamingweaver/making_passportImage | 68f23411780ff82abe934dfae5fc04acb80f2c49 | [
"MIT"
] | null | null | null | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Keras data preprocessing utils.
"""
from __future__ import print_function
from tensorflow.keras.preprocessing import image
from tensorflow.keras.preprocessing import sequence
from tenso... | 29.076923 | 82 | 0.828042 | 50 | 378 | 6.1 | 0.6 | 0.137705 | 0.186885 | 0.314754 | 0.37377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10582 | 378 | 12 | 83 | 31.5 | 0.902367 | 0.417989 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b7f837cc9c9d92ad5942d61a026dfca0fe332100 | 138 | py | Python | texttransformation/__init__.py | vamas/DupDetectorML | a0db6f24519f19a72f9bc7ac226d6a37734564ae | [
"CC0-1.0"
] | null | null | null | texttransformation/__init__.py | vamas/DupDetectorML | a0db6f24519f19a72f9bc7ac226d6a37734564ae | [
"CC0-1.0"
] | null | null | null | texttransformation/__init__.py | vamas/DupDetectorML | a0db6f24519f19a72f9bc7ac226d6a37734564ae | [
"CC0-1.0"
] | null | null | null | from .stringtransform import StringTransform
from .rowtexttransform import RowTextTransform
from .transformdataset import TransformDataset | 46 | 46 | 0.898551 | 12 | 138 | 10.333333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07971 | 138 | 3 | 47 | 46 | 0.976378 | 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 |
b7fccd2e2ff220e86df3de5672123cc9631d098d | 13,343 | py | Python | tests/components/broadlink/test_sensors.py | tizzen33/core | 2a1884a1f7a07848b8b63afd29f59c81f1ffaf62 | [
"Apache-2.0"
] | 7 | 2019-08-15T13:36:58.000Z | 2020-03-18T10:46:29.000Z | tests/components/broadlink/test_sensors.py | tizzen33/core | 2a1884a1f7a07848b8b63afd29f59c81f1ffaf62 | [
"Apache-2.0"
] | 87 | 2020-07-06T22:22:54.000Z | 2022-03-31T06:01:46.000Z | tests/components/broadlink/test_sensors.py | tizzen33/core | 2a1884a1f7a07848b8b63afd29f59c81f1ffaf62 | [
"Apache-2.0"
] | 7 | 2018-10-04T10:12:45.000Z | 2021-12-29T20:55:40.000Z | """Tests for Broadlink sensors."""
from datetime import timedelta
from homeassistant.components.broadlink.const import DOMAIN, SENSOR_DOMAIN
from homeassistant.components.broadlink.updater import BroadlinkSP4UpdateManager
from homeassistant.helpers.entity_registry import async_entries_for_device
from homeassistant.uti... | 33.609572 | 88 | 0.676684 | 1,782 | 13,343 | 4.787318 | 0.082492 | 0.050053 | 0.034814 | 0.036104 | 0.882663 | 0.853358 | 0.827218 | 0.801196 | 0.790998 | 0.790998 | 0 | 0.02162 | 0.206176 | 13,343 | 396 | 89 | 33.694444 | 0.783799 | 0.002098 | 0 | 0.624183 | 0 | 0 | 0.099448 | 0 | 0 | 0 | 0 | 0 | 0.101307 | 1 | 0 | false | 0 | 0.022876 | 0 | 0.022876 | 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 |
4d17c241c5a891fa979a88d2d9f2d9eeb1faffbf | 23,291 | py | Python | aphid/cogs/moderation.py | Jashooa/Aphid | 1b5df0dac8835956b2c7af86a1331c974614a90c | [
"MIT"
] | 1 | 2021-02-15T14:05:56.000Z | 2021-02-15T14:05:56.000Z | aphid/cogs/moderation.py | Jashooa/Aphid | 1b5df0dac8835956b2c7af86a1331c974614a90c | [
"MIT"
] | null | null | null | aphid/cogs/moderation.py | Jashooa/Aphid | 1b5df0dac8835956b2c7af86a1331c974614a90c | [
"MIT"
] | null | null | null | import datetime
import logging
import discord
from discord.ext import commands
from utils import checks, converters, formatting, time
from utils.paginator import Pages
log = logging.getLogger(__name__)
class Moderation:
"""Server moderation commands."""
def __init__(self, bot):
self.bot = bot
... | 38.05719 | 200 | 0.619338 | 2,952 | 23,291 | 4.782182 | 0.064363 | 0.021818 | 0.022951 | 0.018418 | 0.843593 | 0.813062 | 0.780265 | 0.759793 | 0.722321 | 0.71042 | 0 | 0.002371 | 0.257524 | 23,291 | 611 | 201 | 38.119476 | 0.813393 | 0.004852 | 0 | 0.696386 | 0 | 0.014458 | 0.182134 | 0.023635 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004819 | false | 0.038554 | 0.014458 | 0 | 0.103614 | 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 |
4d3596dfb941927800bc8d91161e4bf29887da66 | 30 | py | Python | sketchy/terminal/feature/__init__.py | mbhall88/sketchy | 5ed26d28f104710f6d425053eae41fd0e99f8760 | [
"MIT"
] | null | null | null | sketchy/terminal/feature/__init__.py | mbhall88/sketchy | 5ed26d28f104710f6d425053eae41fd0e99f8760 | [
"MIT"
] | null | null | null | sketchy/terminal/feature/__init__.py | mbhall88/sketchy | 5ed26d28f104710f6d425053eae41fd0e99f8760 | [
"MIT"
] | null | null | null | from .feature import feature
| 15 | 29 | 0.8 | 4 | 30 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 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 |
4d69e741e5f3e0de349fa22a3686d7847e676c9a | 135 | py | Python | lcd/admin.py | bwackwat/local-climate-detail | 3be454e8bdbb6fa7bf83bf189b97346190eb66c8 | [
"MIT"
] | 1 | 2019-08-15T00:20:23.000Z | 2019-08-15T00:20:23.000Z | lcd/admin.py | bwackwat/local-climate-detail | 3be454e8bdbb6fa7bf83bf189b97346190eb66c8 | [
"MIT"
] | null | null | null | lcd/admin.py | bwackwat/local-climate-detail | 3be454e8bdbb6fa7bf83bf189b97346190eb66c8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from lcd.models import *
admin.site.register(SensorLocation)
admin.site.register(ClimateData)
| 19.285714 | 36 | 0.785185 | 17 | 135 | 6.235294 | 0.647059 | 0.207547 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 6 | 37 | 22.5 | 0.905983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
4d7b0b4bc85d9c965a72b21fa9f6e1bb6b4bbefb | 11,821 | py | Python | Version0.1/JSONFormatter.py | nfriedri/debie-backend-1 | 913644d582d64c4e73ca97f724d3fef75eba0e6f | [
"MIT"
] | 2 | 2021-04-11T15:45:22.000Z | 2021-09-08T17:51:18.000Z | Version0.1/JSONFormatter.py | nfriedri/debie-backend | 08a20d55749afa7e07ee9b0252dd98d3b6cef689 | [
"MIT"
] | null | null | null | Version0.1/JSONFormatter.py | nfriedri/debie-backend | 08a20d55749afa7e07ee9b0252dd98d3b6cef689 | [
"MIT"
] | 1 | 2021-04-23T10:17:39.000Z | 2021-04-23T10:17:39.000Z | import calculation
import vectors
import database_handler
import augmentation
import logging
fasttext = ''
# Parses JSON-input and calls methods for vector retrieval from above specified file
def get_json_vector_from_file(content):
logging.info("DB: Vector retrieval started")
logging.info("DB: Searching for ... | 47.284 | 151 | 0.679976 | 1,505 | 11,821 | 5.071096 | 0.083056 | 0.063417 | 0.064727 | 0.095388 | 0.837919 | 0.830189 | 0.805556 | 0.767427 | 0.757993 | 0.747117 | 0 | 0.022836 | 0.207258 | 11,821 | 249 | 152 | 47.473896 | 0.791591 | 0.054649 | 0 | 0.623853 | 0 | 0 | 0.13362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036697 | false | 0 | 0.022936 | 0 | 0.09633 | 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 |
4ddd629d00e745f631888e53e62e3b120ba5cc05 | 41 | py | Python | lio/models/__init__.py | YivanZhang/lio | 07587a6d864e7876b2ae4cdc00e59ac1b82781bc | [
"MIT"
] | 8 | 2021-04-16T14:33:42.000Z | 2022-03-23T03:47:33.000Z | lio/models/__init__.py | YivanZhang/lio | 07587a6d864e7876b2ae4cdc00e59ac1b82781bc | [
"MIT"
] | 1 | 2021-08-20T18:33:24.000Z | 2021-08-21T14:54:00.000Z | lio/models/__init__.py | YivanZhang/lio | 07587a6d864e7876b2ae4cdc00e59ac1b82781bc | [
"MIT"
] | null | null | null | from . import mnist
from . import resnet
| 13.666667 | 20 | 0.756098 | 6 | 41 | 5.166667 | 0.666667 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 21 | 20.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 6 |
1510f7d6b7b4c08915fd4ed6a96d15d88acc15ec | 1,226 | py | Python | simulation/heater_pwm/heater_pwm.py | solderdev/silvia | a1c5f255054849306b8383e0a98fb7322a7b625f | [
"MIT"
] | 1 | 2020-12-03T20:26:48.000Z | 2020-12-03T20:26:48.000Z | simulation/heater_pwm/heater_pwm.py | solderdev/silvia | a1c5f255054849306b8383e0a98fb7322a7b625f | [
"MIT"
] | null | null | null | simulation/heater_pwm/heater_pwm.py | solderdev/silvia | a1c5f255054849306b8383e0a98fb7322a7b625f | [
"MIT"
] | null | null | null | import numpy as np
# pwm = np.zeros((10, 10))
# percent = 25
#
# # fill array in each 10-percent field (tens) with 1s according to number of every 10%
# max_ones = int(percent/10)
# for tens in range(0, 10):
# for ones in range(0, max_ones):
# pwm[tens][ones] = 1
#
# # now handle remaining 0% to... | 27.863636 | 88 | 0.608483 | 206 | 1,226 | 3.57767 | 0.23301 | 0.066486 | 0.075984 | 0.059701 | 0.816825 | 0.816825 | 0.816825 | 0.816825 | 0.816825 | 0.816825 | 0 | 0.071665 | 0.260196 | 1,226 | 44 | 89 | 27.863636 | 0.740904 | 0.523654 | 0 | 0.105263 | 0 | 0 | 0.007678 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0.210526 | 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 |
12c216347a3db852bddad78bd6e7f21bcc83939b | 8,695 | py | Python | tests/pytests/unit/modules/test_mac_softwareupdate.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | 9,425 | 2015-01-01T05:59:24.000Z | 2022-03-31T20:44:05.000Z | tests/pytests/unit/modules/test_mac_softwareupdate.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | 33,507 | 2015-01-01T00:19:56.000Z | 2022-03-31T23:48:20.000Z | tests/pytests/unit/modules/test_mac_softwareupdate.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | 5,810 | 2015-01-01T19:11:45.000Z | 2022-03-31T02:37:20.000Z | import pytest
import salt.modules.mac_softwareupdate as mac_softwareupdate
from tests.support.mock import MagicMock, patch
MOJAVE_LIST_OUTPUT = """Software Update Tool
Finding available software
Software Update found the following new or updated software:
* Command Line Tools (macOS Mojave version 10.14) for Xcode... | 40.630841 | 119 | 0.626682 | 1,002 | 8,695 | 5.202595 | 0.0998 | 0.094571 | 0.032419 | 0.0399 | 0.867063 | 0.854594 | 0.842893 | 0.799156 | 0.770382 | 0.764243 | 0 | 0.072688 | 0.26268 | 8,695 | 213 | 120 | 40.821596 | 0.740446 | 0.006555 | 0 | 0.698324 | 0 | 0.03352 | 0.367586 | 0.125 | 0 | 0 | 0 | 0 | 0.072626 | 1 | 0.078212 | false | 0 | 0.01676 | 0.005587 | 0.100559 | 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 |
12d11c3d6a3561e2a311f7031071dd0af80501cb | 104,020 | py | Python | hottbox/core/tests/test_structures.py | adamurban98/hottbox | 26580018ec6d38a1b08266c04ce4408c9e276130 | [
"Apache-2.0"
] | 167 | 2018-05-07T10:31:00.000Z | 2022-02-24T19:20:31.000Z | hottbox/core/tests/test_structures.py | adamurban98/hottbox | 26580018ec6d38a1b08266c04ce4408c9e276130 | [
"Apache-2.0"
] | 19 | 2018-05-10T13:26:39.000Z | 2020-01-31T12:49:27.000Z | hottbox/core/tests/test_structures.py | adamurban98/hottbox | 26580018ec6d38a1b08266c04ce4408c9e276130 | [
"Apache-2.0"
] | 24 | 2018-04-02T17:16:50.000Z | 2021-12-07T06:21:40.000Z | import pytest
import sys
import io
import numpy as np
from functools import reduce
from ..structures import Tensor, BaseTensorTD, TensorCPD, TensorTKD, TensorTT
from ..operations import unfold, kolda_unfold, mode_n_product
from .._meta import State
from ...errors import TensorModeError, TensorShapeError, TensorStateErr... | 48.471575 | 145 | 0.618323 | 14,834 | 104,020 | 4.060334 | 0.034515 | 0.068901 | 0.028822 | 0.03719 | 0.88481 | 0.854693 | 0.809948 | 0.779964 | 0.748551 | 0.715977 | 0 | 0.03303 | 0.270621 | 104,020 | 2,145 | 146 | 48.494172 | 0.760841 | 0.120121 | 0 | 0.675357 | 0 | 0 | 0.016186 | 0.000231 | 0 | 0 | 0 | 0.000466 | 0.187461 | 1 | 0.03352 | false | 0 | 0.005587 | 0 | 0.04221 | 0.002483 | 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 |
42431073b1ce1ec5092f33639eb0ac737fb18147 | 200 | py | Python | profiles_api/admin.py | erickoziel/profiles-rest-api | 0bef2a4f718e5ca88001c38d05c2a05670bfb76d | [
"MIT"
] | null | null | null | profiles_api/admin.py | erickoziel/profiles-rest-api | 0bef2a4f718e5ca88001c38d05c2a05670bfb76d | [
"MIT"
] | 7 | 2020-06-06T01:25:27.000Z | 2022-02-10T13:57:56.000Z | profiles_api/admin.py | erickoziel/profiles-rest-api | 0bef2a4f718e5ca88001c38d05c2a05670bfb76d | [
"MIT"
] | null | null | null | from django.contrib import admin
from profiles_api import models
admin.site.register(models.UserProfile)
admin.site.register(models.ProfileFeedItem)
admin.site.register(models.SentimentMessageItem)
| 25 | 48 | 0.855 | 25 | 200 | 6.8 | 0.52 | 0.158824 | 0.3 | 0.405882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065 | 200 | 7 | 49 | 28.571429 | 0.909091 | 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 | 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 | 0 | 0 | 0 | 6 |
424b6b81f8121e55c11545e696249e64f5aaaa58 | 2,697 | py | Python | xerlok_api/voice.py | JarbasAI/XerlokAPI | 4d377e64c4f4740c41859efeefb53c23307b3b16 | [
"MIT"
] | 1 | 2017-11-14T08:06:05.000Z | 2017-11-14T08:06:05.000Z | xerlok_api/voice.py | JarbasAI/XerlokAPI | 4d377e64c4f4740c41859efeefb53c23307b3b16 | [
"MIT"
] | null | null | null | xerlok_api/voice.py | JarbasAI/XerlokAPI | 4d377e64c4f4740c41859efeefb53c23307b3b16 | [
"MIT"
] | null | null | null | import requests
from requests.exceptions import ConnectionError
class XerlokVoice(object):
GENDER_URL = "http://159.203.78.247:5680/gender_recognition/"
SPEAKER_URL = "http://159.203.78.247:5679/speaker_recognition/"
EMOTION_URL = "http://159.203.78.247:5681/emotion_recognition/"
def __init__(self, a... | 31.729412 | 71 | 0.529848 | 247 | 2,697 | 5.680162 | 0.218623 | 0.039914 | 0.042766 | 0.051319 | 0.779758 | 0.779758 | 0.741269 | 0.741269 | 0.741269 | 0.741269 | 0 | 0.027306 | 0.388951 | 2,697 | 85 | 72 | 31.729412 | 0.824029 | 0 | 0 | 0.701299 | 0 | 0 | 0.136027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064935 | false | 0 | 0.025974 | 0 | 0.246753 | 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 |
429e95f5ea64e6723851570567b41f94d106eb84 | 14,342 | py | Python | tests/shapes/test_connector.py | mistrymj/python-pptx | c1c72823de4adcf401711d806433ea6cecf65058 | [
"MIT"
] | null | null | null | tests/shapes/test_connector.py | mistrymj/python-pptx | c1c72823de4adcf401711d806433ea6cecf65058 | [
"MIT"
] | 1 | 2022-03-12T01:02:27.000Z | 2022-03-12T01:02:27.000Z | tests/shapes/test_connector.py | Blocp/python-pptx | 470ad045e46e8f611a54fa96f5cc5faa735ca607 | [
"MIT"
] | null | null | null | # encoding: utf-8
"""
Unit test suite for pptx.shapes.connector module.
"""
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
import pytest
from pptx.shapes.base import BaseShape
from pptx.shapes.connector import Connector
from pptx.util import Emu
from ..unitutil.cxml impo... | 40.514124 | 77 | 0.599916 | 2,341 | 14,342 | 3.473302 | 0.064075 | 0.038126 | 0.038126 | 0.037634 | 0.838273 | 0.802484 | 0.748616 | 0.739884 | 0.676424 | 0.628336 | 0 | 0.047358 | 0.224097 | 14,342 | 353 | 78 | 40.628895 | 0.683321 | 0.013666 | 0 | 0.428571 | 0 | 0.225914 | 0.256013 | 0.245119 | 0 | 0 | 0 | 0 | 0.066445 | 1 | 0.109635 | false | 0 | 0.026578 | 0.016611 | 0.202658 | 0.003322 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
42a05aea90f730feb01f04643b2c71fd84f22672 | 151 | py | Python | elseifs.py | chidanandpujar/Python_scripts | 0ee70e07ef4ab4d8c04955466ea9b305bdac0a53 | [
"Unlicense"
] | null | null | null | elseifs.py | chidanandpujar/Python_scripts | 0ee70e07ef4ab4d8c04955466ea9b305bdac0a53 | [
"Unlicense"
] | null | null | null | elseifs.py | chidanandpujar/Python_scripts | 0ee70e07ef4ab4d8c04955466ea9b305bdac0a53 | [
"Unlicense"
] | null | null | null | num=int(input("Enter number:"))
if (num > 0):
print(num,"is positive")
elif (num < 0):
print(num,"is negative")
else:
print(num,"is zero")
| 18.875 | 31 | 0.596026 | 24 | 151 | 3.75 | 0.583333 | 0.266667 | 0.333333 | 0.266667 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.192053 | 151 | 7 | 32 | 21.571429 | 0.721311 | 0 | 0 | 0 | 0 | 0 | 0.278146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
c4002acaaf8c8798171dd6f3307f8c7a19f14aae | 61 | py | Python | securetea/lib/antivirus/tools/__init__.py | neerajv18/SecureTea-Project | e999cbe7c8e497c69b76b4c886de0d063169ea03 | [
"MIT"
] | 257 | 2018-03-28T12:43:20.000Z | 2022-03-29T07:07:23.000Z | securetea/lib/antivirus/tools/__init__.py | neerajv18/SecureTea-Project | e999cbe7c8e497c69b76b4c886de0d063169ea03 | [
"MIT"
] | 155 | 2018-03-31T14:57:46.000Z | 2022-03-17T18:12:41.000Z | securetea/lib/antivirus/tools/__init__.py | neerajv18/SecureTea-Project | e999cbe7c8e497c69b76b4c886de0d063169ea03 | [
"MIT"
] | 132 | 2018-03-27T06:25:20.000Z | 2022-03-28T11:32:45.000Z | """Summary."""
from . import file_gather
from . import utils
| 15.25 | 25 | 0.704918 | 8 | 61 | 5.25 | 0.75 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 61 | 3 | 26 | 20.333333 | 0.807692 | 0.131148 | 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 |
c44a358a66e9c3060a1c662962653b6a3c448f1e | 23 | py | Python | smap_nepse/prediction/__init__.py | Anyesh/Stock-Market-Analysis-and-Prediction | 3d400c34e1be0c731218cb4d02225ec02900520b | [
"MIT"
] | 11 | 2016-06-13T16:02:54.000Z | 2021-12-09T03:58:31.000Z | smap_nepse/prediction/__init__.py | Anyesh/Stock-Market-Analysis-and-Prediction | 3d400c34e1be0c731218cb4d02225ec02900520b | [
"MIT"
] | 4 | 2016-06-12T08:29:15.000Z | 2020-09-08T17:15:58.000Z | smap_nepse/prediction/__init__.py | Anyesh/Stock-Market-Analysis-and-Prediction | 3d400c34e1be0c731218cb4d02225ec02900520b | [
"MIT"
] | 11 | 2016-06-02T07:59:06.000Z | 2019-10-17T18:15:22.000Z | from .train import ann
| 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 |
c452c622b7bcd4f331c6c852e03e3764de6a3120 | 32,656 | py | Python | tests/app/submitter/test_convert_payload_0_0_3.py | petechd/eq-questionnaire-runner | 1c5b182a7f8bc878cfdd767ae080410fa679abd6 | [
"MIT"
] | null | null | null | tests/app/submitter/test_convert_payload_0_0_3.py | petechd/eq-questionnaire-runner | 1c5b182a7f8bc878cfdd767ae080410fa679abd6 | [
"MIT"
] | null | null | null | tests/app/submitter/test_convert_payload_0_0_3.py | petechd/eq-questionnaire-runner | 1c5b182a7f8bc878cfdd767ae080410fa679abd6 | [
"MIT"
] | null | null | null | from app.data_models.answer import Answer
from app.data_models.answer_store import AnswerStore
from app.data_models.list_store import ListStore
from app.questionnaire.questionnaire_schema import QuestionnaireSchema
from app.questionnaire.routing_path import RoutingPath
from app.submitter.converter import convert_answer... | 33.631308 | 88 | 0.552609 | 3,247 | 32,656 | 5.2587 | 0.058824 | 0.052006 | 0.06325 | 0.032855 | 0.838184 | 0.815813 | 0.812767 | 0.795256 | 0.74899 | 0.743777 | 0 | 0.014964 | 0.296025 | 32,656 | 970 | 89 | 33.665979 | 0.727783 | 0.008574 | 0 | 0.582707 | 0 | 0 | 0.27241 | 0.015331 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.027569 | false | 0 | 0.011278 | 0 | 0.038847 | 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 |
c47ce8d46d335a55c5945407eb08191575f60ecb | 41 | py | Python | neutpy/physics/__init__.py | gt-frc/neutpy | 4ae03fba5bdf34bd83ac0d88c5d6e53f3c708785 | [
"MIT"
] | null | null | null | neutpy/physics/__init__.py | gt-frc/neutpy | 4ae03fba5bdf34bd83ac0d88c5d6e53f3c708785 | [
"MIT"
] | 10 | 2020-08-05T21:29:02.000Z | 2020-10-17T02:08:11.000Z | neutpy/physics/__init__.py | gt-frc/neutpy | 4ae03fba5bdf34bd83ac0d88c5d6e53f3c708785 | [
"MIT"
] | 1 | 2021-12-03T11:46:15.000Z | 2021-12-03T11:46:15.000Z | #!/usr/bin/python
from .physics import * | 13.666667 | 22 | 0.707317 | 6 | 41 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 3 | 22 | 13.666667 | 0.805556 | 0.390244 | 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 |
6707dec41060531445e578ccf5f9087f3e49f942 | 22 | py | Python | preview/__init__.py | nickmcdonald/ies-generator | 122df628afd2b0135a4910c8c76d45cb7ec93ef2 | [
"MIT"
] | 31 | 2018-08-19T07:15:14.000Z | 2022-02-20T05:30:14.000Z | preview/__init__.py | nickmcdonald/ies-generator | 122df628afd2b0135a4910c8c76d45cb7ec93ef2 | [
"MIT"
] | 10 | 2018-09-02T20:50:13.000Z | 2022-02-24T17:55:25.000Z | preview/__init__.py | nickmcdonald/ies-generator | 122df628afd2b0135a4910c8c76d45cb7ec93ef2 | [
"MIT"
] | 4 | 2020-12-18T18:11:54.000Z | 2022-02-20T05:30:18.000Z | from .preview import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 |
6758aa7bf51752e00163ef8d44a762ba15455aa9 | 15,166 | py | Python | test/test_markdown_autolinks.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | test/test_markdown_autolinks.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | test/test_markdown_autolinks.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | """
https://github.github.com/gfm/#autolinks
"""
import pytest
from .utils import act_and_assert
@pytest.mark.gfm
def test_autolinks_602():
"""
Test case 602: (part 1) Here are some valid autolinks:
"""
# Arrange
source_markdown = """<http://foo.bar.baz>"""
expected_tokens = [
"[par... | 26.795053 | 285 | 0.584795 | 2,015 | 15,166 | 4.254591 | 0.090819 | 0.094716 | 0.041992 | 0.054123 | 0.841012 | 0.796571 | 0.76356 | 0.753995 | 0.722034 | 0.691707 | 0 | 0.043832 | 0.21324 | 15,166 | 565 | 286 | 26.842478 | 0.674154 | 0.181261 | 0 | 0.5 | 0 | 0.081081 | 0.359762 | 0.147813 | 0 | 0 | 0 | 0 | 0.101351 | 1 | 0.097973 | false | 0 | 0.006757 | 0 | 0.10473 | 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 |
67703b0c78a4b2a46190ea9a931c516c68abc93b | 51 | py | Python | genetic-tuner/lib/__init__.py | windstrip/Genetic-Algorithm-PID-Controller-Tuner | 7e4c4febcc6e4d7c116d570a0d6a5f975a237007 | [
"Apache-2.0"
] | 39 | 2015-02-14T01:39:30.000Z | 2022-03-13T21:57:56.000Z | genetic-tuner/lib/__init__.py | windstrip/Genetic-Algorithm-PID-Controller-Tuner | 7e4c4febcc6e4d7c116d570a0d6a5f975a237007 | [
"Apache-2.0"
] | null | null | null | genetic-tuner/lib/__init__.py | windstrip/Genetic-Algorithm-PID-Controller-Tuner | 7e4c4febcc6e4d7c116d570a0d6a5f975a237007 | [
"Apache-2.0"
] | 18 | 2015-06-18T18:16:52.000Z | 2022-01-28T13:19:23.000Z | from chromosome import Chromosome
import listtools
| 17 | 33 | 0.882353 | 6 | 51 | 7.5 | 0.666667 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 51 | 2 | 34 | 25.5 | 1 | 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 |
67a7c374543bd4cba6ea99a4dbb012a847bccea4 | 71 | py | Python | sandbox/B.py | hybridx/WebScraper | f588a8285e696f7c0cef7b4f9bf1606bc4ce4d90 | [
"MIT"
] | 6 | 2018-05-25T10:16:00.000Z | 2022-03-12T07:17:37.000Z | sandbox/B.py | hybridx/WebScraper | f588a8285e696f7c0cef7b4f9bf1606bc4ce4d90 | [
"MIT"
] | null | null | null | sandbox/B.py | hybridx/WebScraper | f588a8285e696f7c0cef7b4f9bf1606bc4ce4d90 | [
"MIT"
] | 3 | 2018-09-28T10:17:25.000Z | 2019-03-20T22:50:07.000Z | import connections
print(connections.TestdbStudentsCollection.find())
| 17.75 | 50 | 0.859155 | 6 | 71 | 10.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 71 | 3 | 51 | 23.666667 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
67bdf4923487d0ad7f2ce902e4c392052edecf84 | 983 | py | Python | tests/diffusion/conftest.py | Gabinou/NHPPy | 1068b1548d008771a58d5479d8333703c54abbed | [
"MIT"
] | 51 | 2019-02-01T19:43:37.000Z | 2022-03-16T09:07:03.000Z | tests/diffusion/conftest.py | noisyoscillator/stochastic | 168659c36fd16a33f69b1f21654a7661286dc9d0 | [
"MIT"
] | 2 | 2019-02-23T18:54:22.000Z | 2019-11-09T01:30:32.000Z | tests/diffusion/conftest.py | noisyoscillator/stochastic | 168659c36fd16a33f69b1f21654a7661286dc9d0 | [
"MIT"
] | 35 | 2019-02-08T02:00:31.000Z | 2022-03-01T23:17:00.000Z | """Diffusion process testing."""
# flake8: noqa
import pytest
# Floating point arithmetic comparison threshold
@pytest.fixture(params=[10**-10])
def threshold(request):
return request.param
# Common
@pytest.fixture(params=[1])
def t(request):
return request.param
@pytest.fixture(params=[16])
def n(request):... | 18.54717 | 48 | 0.725331 | 127 | 983 | 5.614173 | 0.283465 | 0.200561 | 0.293128 | 0.385694 | 0.556802 | 0.460028 | 0.460028 | 0.336606 | 0.336606 | 0 | 0 | 0.017626 | 0.134283 | 983 | 52 | 49 | 18.903846 | 0.820212 | 0.132248 | 0 | 0.558824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.323529 | false | 0 | 0.029412 | 0.323529 | 0.676471 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
db07f41b10b3217c88169ad2485db5cdc56ee923 | 42 | py | Python | gpviz/styles/__init__.py | thomaspinder/GPViz | 9196424e89c1a18d4c3f1837e4c37b3df4888b53 | [
"Apache-2.0"
] | 1 | 2022-03-26T05:35:05.000Z | 2022-03-26T05:35:05.000Z | gpviz/styles/__init__.py | thomaspinder/GPViz | 9196424e89c1a18d4c3f1837e4c37b3df4888b53 | [
"Apache-2.0"
] | 5 | 2021-05-10T12:07:34.000Z | 2021-06-16T09:50:31.000Z | gpviz/styles/__init__.py | thomaspinder/GPViz | 9196424e89c1a18d4c3f1837e4c37b3df4888b53 | [
"Apache-2.0"
] | 2 | 2021-06-17T11:48:05.000Z | 2021-06-22T06:08:49.000Z | from .colours import get_colours, get_cmap | 42 | 42 | 0.857143 | 7 | 42 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.894737 | 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 |
e1f5ba6600590f89470a3015987307956f92be7d | 26 | py | Python | osu/utils/__init__.py | byWambo/osu-API-Wrapper | abd564f101cb43e34eb382f7a971faba413780d5 | [
"MIT"
] | 3 | 2019-01-14T22:03:14.000Z | 2020-08-18T17:18:53.000Z | osu/utils/__init__.py | byWambo/osu-API-Wrapper | abd564f101cb43e34eb382f7a971faba413780d5 | [
"MIT"
] | 2 | 2019-01-29T23:23:10.000Z | 2019-03-31T09:29:03.000Z | osu/utils/__init__.py | byWambo/osu-API-Wrapper | abd564f101cb43e34eb382f7a971faba413780d5 | [
"MIT"
] | 2 | 2019-02-07T22:12:39.000Z | 2019-03-27T22:35:37.000Z | from . import modes, mods
| 13 | 25 | 0.730769 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 0.904762 | 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 |
c026ea4dfb5afd614266c2ec910c3252489160cf | 36,190 | py | Python | sat.py | rjhd2/sotc_graphics | e9d2b259fb09d6a7bc9262d33de25b1a113fb9b1 | [
"BSD-3-Clause"
] | null | null | null | sat.py | rjhd2/sotc_graphics | e9d2b259fb09d6a7bc9262d33de25b1a113fb9b1 | [
"BSD-3-Clause"
] | null | null | null | sat.py | rjhd2/sotc_graphics | e9d2b259fb09d6a7bc9262d33de25b1a113fb9b1 | [
"BSD-3-Clause"
] | 1 | 2020-10-01T05:15:03.000Z | 2020-10-01T05:15:03.000Z | #!/usr/bin/env python
#************************************************************************
#
# Plot figures and output numbers for surface temperature (SAT) section.
# For BAMS SotC 2016
#
#************************************************************************
# SVN Info
# $Rev:: 31 ... | 44.679012 | 214 | 0.580271 | 4,691 | 36,190 | 4.334683 | 0.098913 | 0.003738 | 0.010229 | 0.01859 | 0.811301 | 0.786958 | 0.756467 | 0.725583 | 0.710632 | 0.694207 | 0 | 0.050047 | 0.228129 | 36,190 | 809 | 215 | 44.73424 | 0.677884 | 0.236585 | 0 | 0.481572 | 0 | 0.004914 | 0.095949 | 0.027665 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019656 | false | 0 | 0.019656 | 0 | 0.061425 | 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 |
c049a7e52ddf80af741b44d35ed4f7320b282eb3 | 61,038 | py | Python | tests/test_utils.py | fossabot/easy_sast | 1aa7dbbf340e3340fa2f70ec5bafb798294bfa7a | [
"BSD-3-Clause"
] | null | null | null | tests/test_utils.py | fossabot/easy_sast | 1aa7dbbf340e3340fa2f70ec5bafb798294bfa7a | [
"BSD-3-Clause"
] | null | null | null | tests/test_utils.py | fossabot/easy_sast | 1aa7dbbf340e3340fa2f70ec5bafb798294bfa7a | [
"BSD-3-Clause"
] | 1 | 2021-01-20T20:59:52.000Z | 2021-01-20T20:59:52.000Z | #!/usr/bin/env python3
# pylint: disable=too-many-public-methods, too-many-lines
"""
Unit tests for utils.py
"""
# built-ins
import logging
import secrets
from pathlib import Path
from unittest import TestCase
from unittest.mock import patch
# third party
from defusedxml import ElementTree
from requests.exceptions im... | 38.558433 | 118 | 0.633769 | 7,193 | 61,038 | 5.095371 | 0.049354 | 0.045838 | 0.076396 | 0.031868 | 0.877821 | 0.866143 | 0.848135 | 0.819923 | 0.801888 | 0.754877 | 0 | 0.011422 | 0.29 | 61,038 | 1,582 | 119 | 38.582807 | 0.834299 | 0.274501 | 0 | 0.607477 | 0 | 0.002077 | 0.108584 | 0.042012 | 0.001038 | 0 | 0 | 0 | 0.156802 | 1 | 0.043614 | false | 0.013499 | 0.011423 | 0 | 0.056075 | 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 |
fbf2a6e95ef60b59625d9e6b5ed6494b48635b53 | 21,861 | py | Python | training/train.py | xhchrn/open_lth | 6b3d04a12a2f868ce851bd09b330ea57957c1de6 | [
"MIT"
] | null | null | null | training/train.py | xhchrn/open_lth | 6b3d04a12a2f868ce851bd09b330ea57957c1de6 | [
"MIT"
] | null | null | null | training/train.py | xhchrn/open_lth | 6b3d04a12a2f868ce851bd09b330ea57957c1de6 | [
"MIT"
] | null | null | null | # Copyright (c) Facebook, Inc. and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import typing
import warnings
import torch
from datasets.base import DataLoader
import datasets.registry
from foundations import hparams
from ... | 41.719466 | 126 | 0.703719 | 2,778 | 21,861 | 5.331533 | 0.107631 | 0.048613 | 0.026737 | 0.01931 | 0.838228 | 0.822227 | 0.797988 | 0.794477 | 0.778746 | 0.755722 | 0 | 0.004091 | 0.217328 | 21,861 | 523 | 127 | 41.799235 | 0.861543 | 0.293674 | 0 | 0.678689 | 0 | 0 | 0.016443 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02623 | false | 0 | 0.078689 | 0 | 0.104918 | 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 |
222c8ccf2b919a9adeb50ec01729cc72db5bd784 | 13,056 | py | Python | ws2812/effect.py | xil-se/esp8266 | eef6630d43052e994aed5a2b58364c56d896d448 | [
"MIT"
] | 2 | 2015-07-14T12:15:07.000Z | 2015-12-29T16:23:34.000Z | ws2812/effect.py | xil-se/esp8266 | eef6630d43052e994aed5a2b58364c56d896d448 | [
"MIT"
] | null | null | null | ws2812/effect.py | xil-se/esp8266 | eef6630d43052e994aed5a2b58364c56d896d448 | [
"MIT"
] | null | null | null | import socket
import time
import math
import serial
from colorsys import *
'''
This code is ugly and I know it.
- Konrad Beckmann
'''
W = 144
H = 8
BPP = 3
class Glyphs():
a = ([ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00],
[ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00],
[ 0x00, 0x0... | 40.672897 | 102 | 0.509344 | 1,867 | 13,056 | 3.534547 | 0.113016 | 0.434005 | 0.587362 | 0.724958 | 0.48371 | 0.406728 | 0.31626 | 0.287619 | 0.283376 | 0.271253 | 0 | 0.356124 | 0.328968 | 13,056 | 320 | 103 | 40.8 | 0.397101 | 0.034314 | 0 | 0.206767 | 0 | 0 | 0.005189 | 0 | 0 | 0 | 0.327 | 0 | 0 | 0 | null | null | 0.003759 | 0.018797 | null | null | 0.015038 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
227bc2784805a4847a0bb9e6e5ddcdb10709bcf4 | 302 | py | Python | arch_params/__init__.py | zhjpqq/scaledensenet | 5ae56786c7f628b8320b76d559ecaa6fa1d2ac0e | [
"MIT"
] | 5 | 2019-08-27T20:15:05.000Z | 2021-01-18T08:21:37.000Z | arch_params/__init__.py | zhjpqq/scaledensenet | 5ae56786c7f628b8320b76d559ecaa6fa1d2ac0e | [
"MIT"
] | null | null | null | arch_params/__init__.py | zhjpqq/scaledensenet | 5ae56786c7f628b8320b76d559ecaa6fa1d2ac0e | [
"MIT"
] | 2 | 2020-03-12T04:41:49.000Z | 2020-10-11T08:32:34.000Z |
from .res_dense_fish_mobile_hrnet import *
from .github_imagenet_archs import *
from .scalenet_imagenet_archs import *
from .scalenet_cifar_archs import *
from .msnet_imagenet_archs import *
from .vivo_cifar10_archs import *
from .srnet_imagenet_archs import *
from .actres_cifar_archs import * | 18.875 | 42 | 0.817881 | 42 | 302 | 5.452381 | 0.404762 | 0.305677 | 0.393013 | 0.401747 | 0.270742 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007605 | 0.129139 | 302 | 16 | 43 | 18.875 | 0.863118 | 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 |
3f050895795755c99d8c87e00c9c757b4a2b6986 | 635 | py | Python | src/infi/rpc/base/utils.py | Infinidat/infi.rpc | 8d7e7357193582a7cfd59afd0d1dfb745738a6ce | [
"BSD-3-Clause"
] | 2 | 2017-04-29T16:35:45.000Z | 2017-04-29T16:40:16.000Z | src/infi/rpc/base/utils.py | Infinidat/infi.rpc | 8d7e7357193582a7cfd59afd0d1dfb745738a6ce | [
"BSD-3-Clause"
] | null | null | null | src/infi/rpc/base/utils.py | Infinidat/infi.rpc | 8d7e7357193582a7cfd59afd0d1dfb745738a6ce | [
"BSD-3-Clause"
] | null | null | null | from logbook import Logger
logger = Logger('infi.rpc')
class SelfLoggerMixin(object):
def log_debug(self, format, *args, **kwargs):
self.get_logger().debug("{} {}".format(self, format), *args, **kwargs)
def log_error(self, format, *args, **kwargs):
self.get_logger().error("{} {}".format(self... | 28.863636 | 82 | 0.625197 | 76 | 635 | 5.118421 | 0.289474 | 0.205656 | 0.215938 | 0.308483 | 0.493573 | 0.493573 | 0.419023 | 0 | 0 | 0 | 0 | 0 | 0.176378 | 635 | 21 | 83 | 30.238095 | 0.743786 | 0 | 0 | 0 | 0 | 0 | 0.056693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.076923 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3f16edda9156c0643d2bb59d52c0cb605da264e4 | 2,067 | py | Python | tests/common/test_import.py | jungtaekkim/bayeso | d11c9ff8037cf7fd3f9b41362eaab120f1224c71 | [
"MIT"
] | 76 | 2018-01-18T03:03:14.000Z | 2022-02-07T06:41:41.000Z | tests/common/test_import.py | POSTECH-CVLab/bayeso | d11c9ff8037cf7fd3f9b41362eaab120f1224c71 | [
"MIT"
] | 20 | 2018-06-29T16:48:03.000Z | 2021-04-19T00:30:57.000Z | tests/common/test_import.py | POSTECH-CVLab/bayeso | d11c9ff8037cf7fd3f9b41362eaab120f1224c71 | [
"MIT"
] | 4 | 2020-01-07T06:24:17.000Z | 2021-06-11T06:21:42.000Z | #
# author: Jungtaek Kim (jtkim@postech.ac.kr)
# last updated: August 6, 2021
#
"""test_import"""
def test_import_bayeso():
import bayeso
def test_import_bo():
import bayeso.bo
def test_import_bo_bo_w_gp():
import bayeso.bo.bo_w_gp
def test_import_bo_bo_w_tp():
import bayeso.bo.bo_w_tp
def test_imp... | 21.53125 | 48 | 0.786647 | 313 | 2,067 | 4.776358 | 0.115016 | 0.207358 | 0.26087 | 0.084281 | 0.370569 | 0.165886 | 0 | 0 | 0 | 0 | 0 | 0.002804 | 0.137397 | 2,067 | 95 | 49 | 21.757895 | 0.83567 | 0.040639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f308f5eec2db7f433069c27b449b9eafec01b53 | 156 | py | Python | monopyly/utility/__init__.py | YSabarad/monopyly | 0460f2452c83846b6b9e3b234be411e12a86d69c | [
"MIT"
] | 4 | 2015-11-04T21:18:40.000Z | 2020-12-26T21:15:23.000Z | monopyly/utility/__init__.py | YSabarad/monopyly | 0460f2452c83846b6b9e3b234be411e12a86d69c | [
"MIT"
] | 2 | 2021-08-09T18:19:58.000Z | 2021-08-10T14:44:54.000Z | monopyly/utility/__init__.py | YSabarad/monopyly | 0460f2452c83846b6b9e3b234be411e12a86d69c | [
"MIT"
] | 6 | 2015-08-01T17:54:17.000Z | 2022-02-28T00:00:21.000Z | from .logger import Logger
from .console_log_handler import ConsoleLogHandler
from .file_log_handler import FileLogHandler
from .ai_loader import load_ais
| 26 | 50 | 0.865385 | 22 | 156 | 5.863636 | 0.590909 | 0.155039 | 0.248062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108974 | 156 | 5 | 51 | 31.2 | 0.928058 | 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 |
3f3519189080233e58b8db4e7c7229912a4b1273 | 34 | py | Python | pySPIRALTAP/__init__.py | MaximeMaW/pySPIRALTAP | e83d70cc3dab3a567377fe105d29f0878f5539ee | [
"MIT"
] | 5 | 2017-06-10T20:25:19.000Z | 2019-04-12T10:38:34.000Z | pySPIRALTAP/__init__.py | MaximeMaW/pySPIRALTAP | e83d70cc3dab3a567377fe105d29f0878f5539ee | [
"MIT"
] | null | null | null | pySPIRALTAP/__init__.py | MaximeMaW/pySPIRALTAP | e83d70cc3dab3a567377fe105d29f0878f5539ee | [
"MIT"
] | 4 | 2017-04-14T21:24:04.000Z | 2019-11-13T07:03:19.000Z | from pySPIRALTAP import SPIRALTAP
| 17 | 33 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
3f59de8b07ff28444a9fa59cc8832ddbb9487e71 | 375 | py | Python | src/tsgettoolbox/ulmo/twc/kbdi/__init__.py | timcera/tsgettoolbox | 828306aefaa097a74abd8e71605bd19eeda29058 | [
"BSD-3-Clause"
] | 4 | 2017-11-21T20:22:47.000Z | 2021-09-27T13:27:05.000Z | src/tsgettoolbox/ulmo/twc/kbdi/__init__.py | timcera/tsgettoolbox | 828306aefaa097a74abd8e71605bd19eeda29058 | [
"BSD-3-Clause"
] | 21 | 2016-04-28T16:52:18.000Z | 2021-12-16T17:00:27.000Z | src/tsgettoolbox/ulmo/twc/kbdi/__init__.py | timcera/tsgettoolbox | 828306aefaa097a74abd8e71605bd19eeda29058 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
ulmo.twc.kbdi.core
~~~~~~~~~~~~~~~~~~~~~
This module provides direct access to `Texas Weather Connection`_ -
`Daily Keetch-Byram Drought Index (KBDI)`_ dataset.
.. _Texas Weather Connection: http://twc.tamu.edu/
.. _Daily Keetch-Byram Drought Index (KBDI): http://tw... | 28.846154 | 81 | 0.632 | 47 | 375 | 4.93617 | 0.617021 | 0.103448 | 0.189655 | 0.198276 | 0.275862 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0.003247 | 0.178667 | 375 | 12 | 82 | 31.25 | 0.75 | 0.837333 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58ab078ba5c3ac6491ecdbdc0262477ccfa8b4d4 | 77 | py | Python | tests/test_cli_config_manager.py | ryohare/python-cli-config-manager | 55759115bd2fd8ab63307bc7f147d7b923b2f86f | [
"BSD-2-Clause"
] | null | null | null | tests/test_cli_config_manager.py | ryohare/python-cli-config-manager | 55759115bd2fd8ab63307bc7f147d7b923b2f86f | [
"BSD-2-Clause"
] | null | null | null | tests/test_cli_config_manager.py | ryohare/python-cli-config-manager | 55759115bd2fd8ab63307bc7f147d7b923b2f86f | [
"BSD-2-Clause"
] | null | null | null |
from cli_config_manager import Config
def test_main():
Config("test")
| 11 | 37 | 0.727273 | 11 | 77 | 4.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 77 | 6 | 38 | 12.833333 | 0.84127 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58e7ff9cc80693bd0cafcb12bf6d227ef265bebf | 196 | py | Python | lg_media/src/lg_media/__init__.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | lg_media/src/lg_media/__init__.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | lg_media/src/lg_media/__init__.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | from mplayer_pool import MplayerPool
from mplayer_pool import ManagedMplayer
from director_media_bridge import DirectorMediaBridge
from mplayer_pool import DEFAULT_ARGS, SRV_QUERY, ROS_NODE_NAME
| 32.666667 | 63 | 0.892857 | 27 | 196 | 6.148148 | 0.62963 | 0.198795 | 0.271084 | 0.379518 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096939 | 196 | 5 | 64 | 39.2 | 0.937853 | 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 | 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 | 0 | 0 | 0 | 6 |
58ed54ba36faa0da9cc53c60452bcd93446685ea | 11,283 | py | Python | example/blog/tests/test_permissions.py | timgates42/django-admin2 | 08867d7e139623711099f2e6bf5f7b6b8211278d | [
"BSD-3-Clause"
] | 330 | 2016-06-07T23:08:19.000Z | 2022-03-23T23:36:41.000Z | example/blog/tests/test_permissions.py | timgates42/django-admin2 | 08867d7e139623711099f2e6bf5f7b6b8211278d | [
"BSD-3-Clause"
] | 48 | 2016-06-08T03:04:31.000Z | 2021-10-21T13:27:57.000Z | example/blog/tests/test_permissions.py | timgates42/django-admin2 | 08867d7e139623711099f2e6bf5f7b6b8211278d | [
"BSD-3-Clause"
] | 47 | 2016-06-08T03:06:34.000Z | 2022-03-10T07:53:29.000Z | from blog.models import Post
from django.contrib.auth.models import User, Permission
from django.shortcuts import get_object_or_404
from django.template import Template, Context
from django.test import TestCase
from django.test.client import RequestFactory
from django.urls import reverse
from djadmin2.permissions impo... | 37.61 | 90 | 0.604006 | 1,161 | 11,283 | 5.61671 | 0.116279 | 0.065787 | 0.056433 | 0.098758 | 0.775341 | 0.755406 | 0.752645 | 0.73133 | 0.719828 | 0.677197 | 0 | 0.007199 | 0.285917 | 11,283 | 299 | 91 | 37.735786 | 0.80216 | 0.062218 | 0 | 0.732218 | 0 | 0 | 0.26238 | 0.141275 | 0 | 0 | 0 | 0 | 0.100418 | 1 | 0.033473 | false | 0.004184 | 0.041841 | 0 | 0.087866 | 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 |
451377d758fad8c8a2b29209e743960eaaf9e2c4 | 9,896 | py | Python | solvers/neighborhoods/MoveNode.py | powertomato/heuOpt_2017_G1 | ee97f18cfd7ef6c9548708a539b1cf2ac4acfdc9 | [
"MIT"
] | null | null | null | solvers/neighborhoods/MoveNode.py | powertomato/heuOpt_2017_G1 | ee97f18cfd7ef6c9548708a539b1cf2ac4acfdc9 | [
"MIT"
] | null | null | null | solvers/neighborhoods/MoveNode.py | powertomato/heuOpt_2017_G1 | ee97f18cfd7ef6c9548708a539b1cf2ac4acfdc9 | [
"MIT"
] | null | null | null |
from solvers.neighborhoods.Neighborhood import Neighborhood
import math
import itertools, random
import copy
from collections import Counter
class MoveNodeCandidate(object):
def __init__(self, graph, nodeIdx, target):
self.nodeIdx = nodeIdx
self.target = target
self.graph = grap... | 40.391837 | 96 | 0.473626 | 945 | 9,896 | 4.928042 | 0.091005 | 0.088898 | 0.094481 | 0.106506 | 0.797294 | 0.769809 | 0.758643 | 0.746189 | 0.746189 | 0.72128 | 0 | 0.045326 | 0.427041 | 9,896 | 244 | 97 | 40.557377 | 0.776014 | 0.012328 | 0 | 0.772487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.026455 | 0 | 0.111111 | 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 |
453070ee3e5961cbd856eda052151e6deee1c7ff | 90 | py | Python | anaconda-mode/0.1.1/service_factory/providers/__init__.py | dzhwinter/spacemacs-stable | c8de148787278af0a83021701a19e44ba0c0b16a | [
"Vim"
] | 42 | 2015-08-24T13:46:03.000Z | 2022-03-22T01:51:17.000Z | anaconda-mode/0.1.1/service_factory/providers/__init__.py | dzhwinter/spacemacs-stable | c8de148787278af0a83021701a19e44ba0c0b16a | [
"Vim"
] | null | null | null | anaconda-mode/0.1.1/service_factory/providers/__init__.py | dzhwinter/spacemacs-stable | c8de148787278af0a83021701a19e44ba0c0b16a | [
"Vim"
] | 3 | 2015-08-24T13:20:18.000Z | 2019-08-06T10:46:22.000Z | from __future__ import (
absolute_import, unicode_literals, division, print_function)
| 30 | 64 | 0.811111 | 10 | 90 | 6.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 90 | 2 | 65 | 45 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
18a4467510b3849aabbbea69ef876afc8ac67011 | 213 | py | Python | django_project/pages/views.py | bekzodbuyukov/postgresql-experience | ae89fd84ffde43952f32fc97feaebda4d0045d3a | [
"MIT"
] | 1 | 2021-06-23T07:08:39.000Z | 2021-06-23T07:08:39.000Z | django_project/pages/views.py | bekzodbuyukov/postgresql-experience | ae89fd84ffde43952f32fc97feaebda4d0045d3a | [
"MIT"
] | null | null | null | django_project/pages/views.py | bekzodbuyukov/postgresql-experience | ae89fd84ffde43952f32fc97feaebda4d0045d3a | [
"MIT"
] | null | null | null | from django.http.response import HttpResponse
from django.shortcuts import render
# Create your views here.
def show_home_page(request):
return HttpResponse('<h3>PostgreSQL-experience app is working!</h3>')
| 26.625 | 73 | 0.788732 | 29 | 213 | 5.724138 | 0.827586 | 0.120482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010695 | 0.122066 | 213 | 7 | 74 | 30.428571 | 0.877005 | 0.107981 | 0 | 0 | 0 | 0 | 0.244681 | 0.132979 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 |
7a03a46dbf648555ccd1852ab390f93e82ce9f7e | 29 | py | Python | venv/Lib/site-packages/tools37/algebra/__init__.py | GabrielAmare/Darts | 182748d821b8c1838071f3b28724d0d9b095dcf9 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/tools37/algebra/__init__.py | GabrielAmare/Darts | 182748d821b8c1838071f3b28724d0d9b095dcf9 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/tools37/algebra/__init__.py | GabrielAmare/Darts | 182748d821b8c1838071f3b28724d0d9b095dcf9 | [
"MIT"
] | null | null | null | from .Polynom import Polynom
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 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 |
e162f13342691bf627051ff2ce77edce2660afc0 | 16,846 | py | Python | src/rsactftool/attacks/single_key/pastctfprimes.py | borari/RsaCtfTool | 8a6b661d066fe81c02bdb9ad4d4f57fc7d2f7184 | [
"Beerware"
] | null | null | null | src/rsactftool/attacks/single_key/pastctfprimes.py | borari/RsaCtfTool | 8a6b661d066fe81c02bdb9ad4d4f57fc7d2f7184 | [
"Beerware"
] | null | null | null | src/rsactftool/attacks/single_key/pastctfprimes.py | borari/RsaCtfTool | 8a6b661d066fe81c02bdb9ad4d4f57fc7d2f7184 | [
"Beerware"
] | 1 | 2022-03-29T04:18:25.000Z | 2022-03-29T04:18:25.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import logging
from rsactftool.lib.keys_wrapper import PrivateKey
def attack(attack_rsa_obj, publickey, cipher=[]):
""" Search for previously used primes in CTFs
"""
primes = [
1080821472763989068222341491674800161321570140495609137614888801900180274... | 181.139785 | 1,233 | 0.943369 | 142 | 16,846 | 111.880282 | 0.753521 | 0.003021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.969877 | 0.048201 | 16,846 | 92 | 1,234 | 183.108696 | 0.020955 | 0.005343 | 0 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.011765 | false | 0 | 0.023529 | 0 | 0.058824 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1cef13f2a61568e9f9f1d7a8d84f3a893c7676f | 40 | py | Python | backend/metric/ulca-utility-service/src/routes/__init__.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 3 | 2022-01-12T06:51:51.000Z | 2022-02-23T18:54:33.000Z | backend/metric/ulca-utility-service/src/routes/__init__.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 6 | 2021-08-31T19:21:26.000Z | 2022-01-03T05:53:42.000Z | backend/metric/ulca-utility-service/src/routes/__init__.py | agupta54/ulca | c1f570ac254ce2ac73f40c49716458f4f7cbaee2 | [
"MIT"
] | 8 | 2021-08-12T08:07:49.000Z | 2022-01-25T04:40:51.000Z | from .notifier import NOTIFIER_BLUEPRINT | 40 | 40 | 0.9 | 5 | 40 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.945946 | 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 |
bed2976428de537d66154c00696d86904d25f12b | 40 | py | Python | tests/test_tokenize/__init__.py | bigdata-ustc/CangJie | a3264082fa0432d257b5c4722b14c55f9092a411 | [
"MIT"
] | 2 | 2020-03-04T02:27:29.000Z | 2020-05-22T04:07:24.000Z | tests/test_tokenize/__init__.py | bigdata-ustc/CangJie | a3264082fa0432d257b5c4722b14c55f9092a411 | [
"MIT"
] | null | null | null | tests/test_tokenize/__init__.py | bigdata-ustc/CangJie | a3264082fa0432d257b5c4722b14c55f9092a411 | [
"MIT"
] | 1 | 2022-03-12T00:31:59.000Z | 2022-03-12T00:31:59.000Z | # coding: utf-8
# 2020/1/3 @ tongshiwei
| 13.333333 | 23 | 0.65 | 7 | 40 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 0.175 | 40 | 2 | 24 | 20 | 0.575758 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
833b9552c36f270221c17a9d424329b062036f14 | 148 | py | Python | cpo/tests/test_zzz.py | worc3131/CPO | de738f18188566327c407bd34f0683d827b5d5d5 | [
"MIT"
] | null | null | null | cpo/tests/test_zzz.py | worc3131/CPO | de738f18188566327c407bd34f0683d827b5d5d5 | [
"MIT"
] | null | null | null | cpo/tests/test_zzz.py | worc3131/CPO | de738f18188566327c407bd34f0683d827b5d5d5 | [
"MIT"
] | null | null | null |
import time
from cpo import *
def test_zzz():
# run at the end of all the tests
# used to track down hanging threads etc.
DEBUGGER()
| 14.8 | 45 | 0.662162 | 24 | 148 | 4.041667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277027 | 148 | 9 | 46 | 16.444444 | 0.906542 | 0.47973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55cb3a62607f56521076152f3906e193b1f21955 | 86,581 | py | Python | test_autoastro/unit/profiles/mass_profiles/test_total_mass_profiles.py | woodyZootopia/PyAutoAstro | 6500b9746b3e73c3f3129fcbaa3a0419bb400915 | [
"MIT"
] | null | null | null | test_autoastro/unit/profiles/mass_profiles/test_total_mass_profiles.py | woodyZootopia/PyAutoAstro | 6500b9746b3e73c3f3129fcbaa3a0419bb400915 | [
"MIT"
] | null | null | null | test_autoastro/unit/profiles/mass_profiles/test_total_mass_profiles.py | woodyZootopia/PyAutoAstro | 6500b9746b3e73c3f3129fcbaa3a0419bb400915 | [
"MIT"
] | null | null | null | import autofit as af
import autoarray as aa
from autoarray.structures import grids
import autoastro as aast
import numpy as np
import pytest
import os
@pytest.fixture(autouse=True)
def reset_config():
"""
Use configuration from the default path. You may want to change this to set a specific path.
"""
... | 38.040861 | 105 | 0.616313 | 11,361 | 86,581 | 4.448816 | 0.028343 | 0.017727 | 0.052233 | 0.031577 | 0.965752 | 0.954178 | 0.941001 | 0.932335 | 0.919356 | 0.892112 | 0 | 0.07005 | 0.263972 | 86,581 | 2,275 | 106 | 38.057582 | 0.72308 | 0.020282 | 0 | 0.684909 | 0 | 0 | 0.006937 | 0.001333 | 0 | 0 | 0 | 0 | 0.219458 | 1 | 0.030404 | false | 0 | 0.00387 | 0 | 0.03759 | 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 |
3662f593bf720d98cb251055a54f8eb65bb3ed3f | 98 | py | Python | lifelines/compat.py | TylerLiuAIrobotics/lifelines | a4ce565b17ebdaf5c0049750b7b3f94b41d6b404 | [
"MIT"
] | null | null | null | lifelines/compat.py | TylerLiuAIrobotics/lifelines | a4ce565b17ebdaf5c0049750b7b3f94b41d6b404 | [
"MIT"
] | null | null | null | lifelines/compat.py | TylerLiuAIrobotics/lifelines | a4ce565b17ebdaf5c0049750b7b3f94b41d6b404 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
PY2 = sys.version_info[0] == 2
PY3 = sys.version_info[0] >= 3
| 16.333333 | 30 | 0.602041 | 17 | 98 | 3.352941 | 0.705882 | 0.350877 | 0.491228 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 0.183673 | 98 | 5 | 31 | 19.6 | 0.625 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 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 |
3672dcf3de510f7bbb3cd18706b022a10a347458 | 2,162 | py | Python | tests/cfpq_tensor_product_test.py | e90r/formal_languages_course | 5a7f2e962a720e6279f268d8f5f96c8fe2c613e0 | [
"Apache-2.0"
] | null | null | null | tests/cfpq_tensor_product_test.py | e90r/formal_languages_course | 5a7f2e962a720e6279f268d8f5f96c8fe2c613e0 | [
"Apache-2.0"
] | 1 | 2020-12-02T15:06:21.000Z | 2020-12-02T15:06:21.000Z | tests/cfpq_tensor_product_test.py | e90r/formal_languages_course | 5a7f2e962a720e6279f268d8f5f96c8fe2c613e0 | [
"Apache-2.0"
] | null | null | null | import os
from src.BMGraph import BMGraph
from src.GrammarAlgos import GrammarAlgos
def test_cfpq_tensor_1():
test_path = os.path.join(os.getcwd(), 'tests/data/cfpq/test1')
graph = BMGraph.from_edges_file(
os.path.join(test_path, 'graph.txt'))
grammar = GrammarAlgos.from_grammar_file(
os.... | 30.450704 | 66 | 0.641073 | 310 | 2,162 | 4.264516 | 0.125806 | 0.072617 | 0.090772 | 0.08472 | 0.886536 | 0.886536 | 0.877458 | 0.877458 | 0.877458 | 0.877458 | 0 | 0.038194 | 0.20074 | 2,162 | 70 | 67 | 30.885714 | 0.726852 | 0 | 0 | 0.608696 | 0 | 0 | 0.075856 | 0.038853 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.086957 | false | 0 | 0.065217 | 0 | 0.152174 | 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 |
7fe9293a5a6694539fb12230201f048f7f57331e | 24,399 | py | Python | pirates/leveleditor/worldData/interior_shanty_store_tattoo.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/interior_shanty_store_tattoo.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/interior_shanty_store_tattoo.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'AmbientColors': {},'DirectionalColors': {},'FogColors': {},'FogRanges': {},'Objects': {'1156268617.43dzlu0t': {'Type': 'Building Interior','Name': '','Instanced': True,'Objects': {'1172095480.47kmuller': {'Type': 'Interior_furnishings','Disable... | 8,133 | 24,218 | 0.688348 | 3,280 | 24,399 | 5.067988 | 0.194817 | 0.025387 | 0.024183 | 0.020935 | 0.500391 | 0.44264 | 0.413584 | 0.364856 | 0.326175 | 0.303916 | 0 | 0.278725 | 0.047584 | 24,399 | 3 | 24,219 | 8,133 | 0.436612 | 0 | 0 | 0 | 0 | 0 | 0.596107 | 0.280246 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7fec8aa103acf557f52c81f432b1861b71739e35 | 45 | py | Python | src/coolc/__init__.py | matcom-compilers-2019/cool-compiler-alexander-leonardo-marcos | 874b3155769612fb8dc1dd823c9a024c66169a02 | [
"MIT"
] | null | null | null | src/coolc/__init__.py | matcom-compilers-2019/cool-compiler-alexander-leonardo-marcos | 874b3155769612fb8dc1dd823c9a024c66169a02 | [
"MIT"
] | null | null | null | src/coolc/__init__.py | matcom-compilers-2019/cool-compiler-alexander-leonardo-marcos | 874b3155769612fb8dc1dd823c9a024c66169a02 | [
"MIT"
] | null | null | null | from . import ply
from .coolc import Compiler | 22.5 | 27 | 0.8 | 7 | 45 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 27 | 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 |
3d0424df95366352c229724b67769b8a72567b9f | 26 | py | Python | mbutil/mbutil/__init__.py | N129BZ/VFRSectionalCharts | 5274a2d493e8b0059ca0cacf5999ca6885cf93f7 | [
"MIT"
] | 449 | 2015-01-01T12:55:46.000Z | 2022-03-25T21:28:52.000Z | mbutil/mbutil/__init__.py | N129BZ/VFRSectionalCharts | 5274a2d493e8b0059ca0cacf5999ca6885cf93f7 | [
"MIT"
] | 48 | 2015-02-20T23:17:11.000Z | 2022-03-27T13:42:37.000Z | mbutil/mbutil/__init__.py | N129BZ/VFRSectionalCharts | 5274a2d493e8b0059ca0cacf5999ca6885cf93f7 | [
"MIT"
] | 135 | 2015-01-04T11:37:30.000Z | 2022-03-25T21:28:54.000Z | from mbutil.util import *
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 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 |
3d3416c6b2ca116ef6ea525cbf86be3686b0e7a1 | 296 | py | Python | server/lib/python/cartodb_services/cartodb_services/mapbox/__init__.py | CartoDB/dataservices-api | d0f28cc002ef11df9f371d5d1fd2d0901c245f97 | [
"BSD-3-Clause"
] | 22 | 2016-03-11T17:33:31.000Z | 2021-02-22T04:00:43.000Z | server/lib/python/cartodb_services/cartodb_services/mapbox/__init__.py | CartoDB/dataservices-api | d0f28cc002ef11df9f371d5d1fd2d0901c245f97 | [
"BSD-3-Clause"
] | 338 | 2016-02-16T16:13:13.000Z | 2022-03-30T15:50:17.000Z | server/lib/python/cartodb_services/cartodb_services/mapbox/__init__.py | CartoDB/dataservices-api | d0f28cc002ef11df9f371d5d1fd2d0901c245f97 | [
"BSD-3-Clause"
] | 14 | 2016-09-22T15:29:33.000Z | 2021-02-08T03:46:40.000Z | from cartodb_services.mapbox.routing import MapboxRouting, MapboxRoutingResponse
from cartodb_services.mapbox.geocoder import MapboxGeocoder
from cartodb_services.mapbox.bulk_geocoder import MapboxBulkGeocoder
from cartodb_services.mapbox.isolines import MapboxIsolines, MapboxIsochronesResponse
| 59.2 | 85 | 0.905405 | 31 | 296 | 8.483871 | 0.483871 | 0.1673 | 0.288973 | 0.380228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060811 | 296 | 4 | 86 | 74 | 0.946043 | 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 |
3d583f398bc16f21dd4cbecbefb6c44039a032a7 | 53 | py | Python | python/utils/PlayerDataImporter.py | hillnet/Supersonic | 3f3c94eff1d82b85614850d567777c2d6a32bc0e | [
"BSD-2-Clause"
] | null | null | null | python/utils/PlayerDataImporter.py | hillnet/Supersonic | 3f3c94eff1d82b85614850d567777c2d6a32bc0e | [
"BSD-2-Clause"
] | null | null | null | python/utils/PlayerDataImporter.py | hillnet/Supersonic | 3f3c94eff1d82b85614850d567777c2d6a32bc0e | [
"BSD-2-Clause"
] | null | null | null | def import_settings(player):
print("hi")
pass | 17.666667 | 28 | 0.660377 | 7 | 53 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 53 | 3 | 29 | 17.666667 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
184373f2837aac41261753d813fcf8769b3ee208 | 35 | py | Python | imp/data/__init__.py | philskillz-coder/uno-discord-bot | 02a3fce3df73d75d31795590dbdb93aaa1d7f268 | [
"MIT"
] | null | null | null | imp/data/__init__.py | philskillz-coder/uno-discord-bot | 02a3fce3df73d75d31795590dbdb93aaa1d7f268 | [
"MIT"
] | null | null | null | imp/data/__init__.py | philskillz-coder/uno-discord-bot | 02a3fce3df73d75d31795590dbdb93aaa1d7f268 | [
"MIT"
] | null | null | null | from imp.data.config import Config
| 17.5 | 34 | 0.828571 | 6 | 35 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
a101cb6d99c4c4dce3bc9ed530fc487d4e8559bd | 40 | py | Python | src/flow/callbacks/__init__.py | JonasFrey96/RPOSE | 7da77499ab777ce7ee37b731541982870da8d40b | [
"BSD-3-Clause"
] | null | null | null | src/flow/callbacks/__init__.py | JonasFrey96/RPOSE | 7da77499ab777ce7ee37b731541982870da8d40b | [
"BSD-3-Clause"
] | null | null | null | src/flow/callbacks/__init__.py | JonasFrey96/RPOSE | 7da77499ab777ce7ee37b731541982870da8d40b | [
"BSD-3-Clause"
] | null | null | null | from .time_callback import TimeCallback
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
a12e7e4b394ce2300cdcd5cd7df2377ad7efc753 | 21,785 | py | Python | service_test.py | igushev/notes_fase | 0d161948bec1780caeec08603e2564e96e8ca45d | [
"MIT"
] | 4 | 2019-05-20T09:57:11.000Z | 2019-09-29T03:55:21.000Z | service_test.py | igushev/notes_fase | 0d161948bec1780caeec08603e2564e96e8ca45d | [
"MIT"
] | null | null | null | service_test.py | igushev/notes_fase | 0d161948bec1780caeec08603e2564e96e8ca45d | [
"MIT"
] | null | null | null | import copy
import datetime
import unittest
from fase_lib import fase
from fase_lib.base_util import datetime_util
from fase_lib.server_util import resource_manager
from fase_lib.fase_model import fase_model
from fase_lib.fase_server import fase_database
from fase_lib.fase_server import fase_resource
from fase_lib.fas... | 46.449893 | 120 | 0.677117 | 2,652 | 21,785 | 5.226998 | 0.062971 | 0.099553 | 0.092916 | 0.133314 | 0.812581 | 0.78423 | 0.769586 | 0.746718 | 0.721036 | 0.689078 | 0 | 0.014582 | 0.228735 | 21,785 | 468 | 121 | 46.549145 | 0.810439 | 0.048336 | 0 | 0.638728 | 0 | 0 | 0.057259 | 0.005997 | 0 | 0 | 0 | 0 | 0.118497 | 1 | 0.052023 | false | 0 | 0.040462 | 0 | 0.112717 | 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 |
a134b75ac04946bbddb1d39688fbe8fbf47e44e8 | 5,786 | py | Python | src/unitair/gates/gates.py | qcware/qcware-unitair | 43a241ec147716a85713d1a57c14286c19732aeb | [
"Apache-2.0"
] | null | null | null | src/unitair/gates/gates.py | qcware/qcware-unitair | 43a241ec147716a85713d1a57c14286c19732aeb | [
"Apache-2.0"
] | null | null | null | src/unitair/gates/gates.py | qcware/qcware-unitair | 43a241ec147716a85713d1a57c14286c19732aeb | [
"Apache-2.0"
] | null | null | null | import torch
from typing import Union, Optional
from .gate_construction import parameterized_gate, constant_gate
@parameterized_gate(strictly_complex=True)
def exp_x(
angle: Union[torch.Tensor, float],
dtype: torch.dtype = torch.complex64
):
"""Get the operator e^(-i angle X).
PyTorch device ... | 26.911628 | 77 | 0.580885 | 858 | 5,786 | 3.871795 | 0.106061 | 0.024684 | 0.024383 | 0.030102 | 0.902769 | 0.901866 | 0.880494 | 0.842866 | 0.805238 | 0.77634 | 0 | 0.032337 | 0.294504 | 5,786 | 214 | 78 | 27.037383 | 0.78148 | 0.470964 | 0 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09 | false | 0 | 0.03 | 0 | 0.21 | 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 |
a13c45d866388c39508a230399911a39a425e76c | 45 | py | Python | mmelemental/models/forcefield/nonbonded/__init__.py | ccbiozhaw/mmelemental | 2e3215b3d2291cbc0f346efb05e8ad056516b15d | [
"BSD-3-Clause"
] | null | null | null | mmelemental/models/forcefield/nonbonded/__init__.py | ccbiozhaw/mmelemental | 2e3215b3d2291cbc0f346efb05e8ad056516b15d | [
"BSD-3-Clause"
] | null | null | null | mmelemental/models/forcefield/nonbonded/__init__.py | ccbiozhaw/mmelemental | 2e3215b3d2291cbc0f346efb05e8ad056516b15d | [
"BSD-3-Clause"
] | null | null | null | from .base import *
from . import potentials
| 15 | 24 | 0.755556 | 6 | 45 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 25 | 22.5 | 0.918919 | 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 |
a1c2deec7a47732b66396689f5083392f90ea25b | 116 | py | Python | hello.py | wexler/train | d19d5cf347a6da448a819a6c588cbdf30fa360e1 | [
"MIT"
] | null | null | null | hello.py | wexler/train | d19d5cf347a6da448a819a6c588cbdf30fa360e1 | [
"MIT"
] | null | null | null | hello.py | wexler/train | d19d5cf347a6da448a819a6c588cbdf30fa360e1 | [
"MIT"
] | null | null | null | # This program prints Hello, world!
print('Hello, world!')
print("This is a change")
print('working n branches!')
| 16.571429 | 35 | 0.698276 | 17 | 116 | 4.764706 | 0.705882 | 0.246914 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146552 | 116 | 6 | 36 | 19.333333 | 0.818182 | 0.284483 | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
a1d02a60999233756ffd50c41630baa2db48d1e5 | 66 | py | Python | carpenpi/__init__.py | ethanwhite/web-free-data-science | 8794245e8f42be7245dba51bd6d16161e711d30c | [
"MIT"
] | null | null | null | carpenpi/__init__.py | ethanwhite/web-free-data-science | 8794245e8f42be7245dba51bd6d16161e711d30c | [
"MIT"
] | null | null | null | carpenpi/__init__.py | ethanwhite/web-free-data-science | 8794245e8f42be7245dba51bd6d16161e711d30c | [
"MIT"
] | null | null | null | from . import main
from . import urls
from . import downloadfiles
| 16.5 | 27 | 0.772727 | 9 | 66 | 5.666667 | 0.555556 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 28 | 22 | 0.944444 | 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 |
a1df451bcdfe7c77439348bb8f9233b9ad73f4f5 | 293 | py | Python | src/python/WMCore/WMBS/Oracle/Workflow/GetDeletableWorkflows.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 21 | 2015-11-19T16:18:45.000Z | 2021-12-02T18:20:39.000Z | src/python/WMCore/WMBS/Oracle/Workflow/GetDeletableWorkflows.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 5,671 | 2015-01-06T14:38:52.000Z | 2022-03-31T22:11:14.000Z | src/python/WMCore/WMBS/Oracle/Workflow/GetDeletableWorkflows.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 67 | 2015-01-21T15:55:38.000Z | 2022-02-03T19:53:13.000Z | #!/usr/bin/env python
"""
_GetDeletableWorkflows_
Oracle implementation of Workflow.GetDeletableWorkflows
"""
from WMCore.WMBS.MySQL.Workflow.GetDeletableWorkflows import GetDeletableWorkflows as MySQLGetDeletableWorkflows
class GetDeletableWorkflows(MySQLGetDeletableWorkflows):
pass
| 22.538462 | 112 | 0.846416 | 24 | 293 | 10.25 | 0.75 | 0.235772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088737 | 293 | 12 | 113 | 24.416667 | 0.921348 | 0.34471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
a1e4f4a2677a44205235bc3642ca82a3492b29f4 | 85 | py | Python | projects/permissions/media_file_permissions.py | SuviVappula/kaavapino | 0e3687c94afff10527c9bee9627fc30bd2dfab4f | [
"MIT"
] | 3 | 2019-02-07T14:47:00.000Z | 2022-02-15T14:09:38.000Z | projects/permissions/media_file_permissions.py | SuviVappula/kaavapino | 0e3687c94afff10527c9bee9627fc30bd2dfab4f | [
"MIT"
] | 74 | 2017-12-13T09:18:04.000Z | 2022-03-11T23:29:59.000Z | projects/permissions/media_file_permissions.py | SuviVappula/kaavapino | 0e3687c94afff10527c9bee9627fc30bd2dfab4f | [
"MIT"
] | 8 | 2017-12-13T09:31:20.000Z | 2022-02-15T13:10:34.000Z | def has_project_attribute_file_permissions(attribute_file, request):
return True
| 28.333333 | 68 | 0.847059 | 11 | 85 | 6.090909 | 0.818182 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 85 | 2 | 69 | 42.5 | 0.881579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b802d6cec439a4a5ef2414ac38beaed13410db9d | 2,961 | py | Python | data/data_utils/computed_fields/flags.py | mattsolo1/gnomadjs-1 | e924407e598ba1902619b2634b639a9f33ff791d | [
"MIT"
] | 15 | 2017-11-22T14:48:04.000Z | 2020-10-05T18:22:24.000Z | data/data_utils/computed_fields/flags.py | mattsolo1/gnomadjs-1 | e924407e598ba1902619b2634b639a9f33ff791d | [
"MIT"
] | 94 | 2020-10-21T17:37:57.000Z | 2022-03-29T14:59:46.000Z | data/data_utils/computed_fields/flags.py | mattsolo1/gnomadjs-1 | e924407e598ba1902619b2634b639a9f33ff791d | [
"MIT"
] | 7 | 2019-01-29T09:08:10.000Z | 2020-02-25T16:22:57.000Z | import hail as hl
def get_expr_for_consequence_lc_lof_flag(transcript_consequence):
"""Flag a transcript consequence if it has an LOFTEE annotation other than HC"""
return hl.or_else((transcript_consequence.lof != "") & (transcript_consequence.lof != "HC"), False)
def get_expr_for_variant_lc_lof_flag(sorted... | 47.758065 | 116 | 0.703479 | 404 | 2,961 | 4.90099 | 0.160891 | 0.106061 | 0.072727 | 0.060606 | 0.935354 | 0.917677 | 0.870202 | 0.862121 | 0.862121 | 0.862121 | 0 | 0.001694 | 0.202634 | 2,961 | 61 | 117 | 48.540984 | 0.836934 | 0.257683 | 0 | 0.486486 | 0 | 0 | 0.002805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162162 | false | 0 | 0.027027 | 0 | 0.351351 | 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 |
b8159a09c2f27a21fd881f6c5f367b5824bebf01 | 74 | py | Python | network/utils/__init__.py | ml4ai/tomcat-network-latency-test | be920be19e4e104a99f8fb4464173a3eb2540f89 | [
"MIT"
] | 1 | 2022-01-23T19:29:57.000Z | 2022-01-23T19:29:57.000Z | network/utils/__init__.py | ml4ai/tomcat-network-latency-test | be920be19e4e104a99f8fb4464173a3eb2540f89 | [
"MIT"
] | 34 | 2022-01-18T18:26:15.000Z | 2022-03-31T19:21:28.000Z | network/utils/__init__.py | ml4ai/tomcat-network-latency-test | be920be19e4e104a99f8fb4464173a3eb2540f89 | [
"MIT"
] | 2 | 2022-01-27T05:31:33.000Z | 2022-03-29T20:57:23.000Z | from .config_network import HEADER
from .read_message import read_message
| 24.666667 | 38 | 0.864865 | 11 | 74 | 5.545455 | 0.636364 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 39 | 37 | 0.924242 | 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 |
62acccd3f6d838f7d2dd12c92ca7cc5894b3d24a | 35,688 | py | Python | reconcile/test/test_terraform_vpc_peerings_build_desired_state.py | bhushanthakur93/qontract-reconcile | fd8eea9f92d353224113955d08e3592864e37df8 | [
"Apache-2.0"
] | null | null | null | reconcile/test/test_terraform_vpc_peerings_build_desired_state.py | bhushanthakur93/qontract-reconcile | fd8eea9f92d353224113955d08e3592864e37df8 | [
"Apache-2.0"
] | null | null | null | reconcile/test/test_terraform_vpc_peerings_build_desired_state.py | bhushanthakur93/qontract-reconcile | fd8eea9f92d353224113955d08e3592864e37df8 | [
"Apache-2.0"
] | null | null | null | import pytest
import testslide
from reconcile.utils import aws_api
import reconcile.terraform_vpc_peerings as sut
from reconcile.utils import ocm
from reconcile.test.test_terraform_vpc_peerings import (
MockOCM,
MockAWSAPI,
build_cluster,
build_accepter_connection,
build_requester_connection,
)
d... | 35.795386 | 88 | 0.498179 | 3,265 | 35,688 | 5.180704 | 0.075651 | 0.005557 | 0.032161 | 0.033107 | 0.890807 | 0.872894 | 0.853444 | 0.836536 | 0.819923 | 0.798049 | 0 | 0.026095 | 0.372898 | 35,688 | 996 | 89 | 35.831325 | 0.729625 | 0.018494 | 0 | 0.682682 | 0 | 0 | 0.251648 | 0.038497 | 0 | 0 | 0 | 0 | 0.037989 | 1 | 0.027933 | false | 0 | 0.006704 | 0 | 0.039106 | 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 |
1a03604ff55d948177af480c29981b33791ab46c | 34 | py | Python | backend/apps/__init__.py | Luanee/MoneyThreads | 786610855ad4d4fdda4a25a95c9e4756c6a9dedf | [
"MIT"
] | 21 | 2021-07-26T05:19:45.000Z | 2022-02-01T07:35:21.000Z | backend/apps/__init__.py | Luanee/MoneyThreads | 786610855ad4d4fdda4a25a95c9e4756c6a9dedf | [
"MIT"
] | 3 | 2021-03-30T14:04:13.000Z | 2021-09-22T19:31:13.000Z | backend/apps/__init__.py | Luanee/MoneyThreads | 786610855ad4d4fdda4a25a95c9e4756c6a9dedf | [
"MIT"
] | 2 | 2021-09-21T06:52:10.000Z | 2021-09-26T07:31:27.000Z | from django.apps import AppConfig
| 17 | 33 | 0.852941 | 5 | 34 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 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 |
1a1dc2b61aa6b348ab374bb0c560e8389a2f6b7d | 170 | py | Python | app/admin/__init__.py | zheng-zy/blog | e6f9ae4a4770ea99d48e15140e2eacaa9678b75e | [
"Apache-2.0"
] | null | null | null | app/admin/__init__.py | zheng-zy/blog | e6f9ae4a4770ea99d48e15140e2eacaa9678b75e | [
"Apache-2.0"
] | null | null | null | app/admin/__init__.py | zheng-zy/blog | e6f9ae4a4770ea99d48e15140e2eacaa9678b75e | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
# Created by zhezhiyong@163.com on 2016/12/6.
from flask import Blueprint
admin = Blueprint('admin', __name__)
from . import views
| 18.888889 | 45 | 0.735294 | 27 | 170 | 4.481481 | 0.851852 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 0.141176 | 170 | 8 | 46 | 21.25 | 0.753425 | 0.452941 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
1a21624ea7304e77c9d9f630f63e60310bc903cf | 35 | py | Python | STEMWizard/__init__.py | rtphokie/ncsef_automation | 730d16beb38640df579be742b2fcecc2f31e4190 | [
"Apache-2.0"
] | null | null | null | STEMWizard/__init__.py | rtphokie/ncsef_automation | 730d16beb38640df579be742b2fcecc2f31e4190 | [
"Apache-2.0"
] | null | null | null | STEMWizard/__init__.py | rtphokie/ncsef_automation | 730d16beb38640df579be742b2fcecc2f31e4190 | [
"Apache-2.0"
] | null | null | null | from .__main__ import STEMWizardAPI | 35 | 35 | 0.885714 | 4 | 35 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.84375 | 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 |
c5153f407162751d0b60bcbcfd60b4e7ff700fe6 | 194 | py | Python | brownant/__init__.py | douban/brownant | 3c7e6d30f67b8f0f8ca1f823ea3daed74e8725cd | [
"BSD-3-Clause"
] | 88 | 2015-01-06T08:56:53.000Z | 2022-01-06T08:20:05.000Z | brownant/__init__.py | douban/brownant | 3c7e6d30f67b8f0f8ca1f823ea3daed74e8725cd | [
"BSD-3-Clause"
] | 3 | 2015-07-07T06:24:23.000Z | 2017-03-03T13:13:36.000Z | brownant/__init__.py | douban/brownant | 3c7e6d30f67b8f0f8ca1f823ea3daed74e8725cd | [
"BSD-3-Clause"
] | 34 | 2015-01-20T00:45:08.000Z | 2020-05-11T13:23:55.000Z | from .app import Brownant, BrownAnt, redirect
from .dinergate import Dinergate
from .site import Site
__version__ = "0.1.7"
__all__ = ["Brownant", "BrownAnt", "redirect", "Dinergate", "Site"]
| 24.25 | 67 | 0.726804 | 24 | 194 | 5.541667 | 0.5 | 0.240602 | 0.360902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.134021 | 194 | 7 | 68 | 27.714286 | 0.77381 | 0 | 0 | 0 | 0 | 0 | 0.216495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 |
c519a841eca9f30c5c0eb37e31f4b1ee3d535c2e | 27,497 | py | Python | pcdet/models/rcnn/partA2_rcnn_net.py | charlesyz/PCDet | 1eb6b1dc5a3d563d7532b1c8ee3be007cbeafc80 | [
"Apache-2.0"
] | null | null | null | pcdet/models/rcnn/partA2_rcnn_net.py | charlesyz/PCDet | 1eb6b1dc5a3d563d7532b1c8ee3be007cbeafc80 | [
"Apache-2.0"
] | null | null | null | pcdet/models/rcnn/partA2_rcnn_net.py | charlesyz/PCDet | 1eb6b1dc5a3d563d7532b1c8ee3be007cbeafc80 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
import spconv
from ..model_utils import pytorch_utils as pt_utils
from ...config import cfg
from ..model_utils.proposal_target_layer import proposal_target_layer
from ...ops.roiaware_pool3d import roiaware_pool3d_utils
from ...utils... | 45.981605 | 120 | 0.617049 | 3,764 | 27,497 | 4.149309 | 0.085813 | 0.02766 | 0.02766 | 0.013446 | 0.812652 | 0.785312 | 0.774875 | 0.758612 | 0.758484 | 0.742349 | 0 | 0.022932 | 0.270502 | 27,497 | 597 | 121 | 46.058626 | 0.755671 | 0.066807 | 0 | 0.690987 | 0 | 0 | 0.041482 | 0 | 0 | 0 | 0 | 0.001675 | 0 | 1 | 0.036481 | false | 0 | 0.021459 | 0 | 0.090129 | 0.004292 | 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 |
c546822d68bd30343d24b9e0494c9af6c679b1ab | 1,130 | py | Python | addons/Sprytile-6b68d00/rx/concurrency/__init__.py | trisadmeslek/V-Sekai-Blender-tools | 0d8747387c58584b50c69c61ba50a881319114f8 | [
"MIT"
] | 733 | 2017-08-22T09:47:54.000Z | 2022-03-27T23:56:52.000Z | rx/concurrency/__init__.py | asheraryam/Sprytile | c63be50d14b07192ff134ceab256f0d69b9c4c92 | [
"MIT"
] | 74 | 2017-08-16T09:13:05.000Z | 2022-03-15T02:31:49.000Z | rx/concurrency/__init__.py | asheraryam/Sprytile | c63be50d14b07192ff134ceab256f0d69b9c4c92 | [
"MIT"
] | 77 | 2017-09-14T16:56:11.000Z | 2022-03-27T13:55:16.000Z | from .scheduleditem import ScheduledItem
from .immediatescheduler import ImmediateScheduler, immediate_scheduler
from .currentthreadscheduler import CurrentThreadScheduler, \
current_thread_scheduler
from .virtualtimescheduler import VirtualTimeScheduler
from .timeoutscheduler import TimeoutScheduler, timeout_sche... | 41.851852 | 79 | 0.883186 | 97 | 1,130 | 10.206186 | 0.350515 | 0.212121 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092035 | 1,130 | 26 | 80 | 43.461538 | 0.964912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.041667 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c555a428f5636d90502ac178f82e27358a760f97 | 274 | py | Python | pyacc/lexer/exceptions.py | hdyuik/pyacc | 85f6206388ce29a95e39b659257d45be9df250e5 | [
"MIT"
] | 2 | 2019-06-21T23:45:09.000Z | 2019-06-23T23:37:50.000Z | pyacc/lexer/exceptions.py | hdyuik/compiler | 85f6206388ce29a95e39b659257d45be9df250e5 | [
"MIT"
] | null | null | null | pyacc/lexer/exceptions.py | hdyuik/compiler | 85f6206388ce29a95e39b659257d45be9df250e5 | [
"MIT"
] | null | null | null | class RESyntaxError(BaseException):
def __init__(self, pos, msg):
super(RESyntaxError, self).__init__(pos, msg)
class RecognizeError(BaseException):
def __init__(self, recognizer, msg):
super(RecognizeError, self).__init__(recognizer, msg)
| 30.444444 | 62 | 0.70073 | 28 | 274 | 6.285714 | 0.392857 | 0.181818 | 0.227273 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189781 | 274 | 8 | 63 | 34.25 | 0.792793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c55c081275eac1c2807dc370f220b3699d969b8a | 4,663 | py | Python | discovery-provider/alembic/versions/98e2a0a25ada_drop_aggregate_interval_plays_year_count.py | lucylow/audius-protocol | 5ef93462f9dc7df01a15877c02ca79b9a7d99236 | [
"Apache-2.0"
] | 1 | 2022-03-27T21:40:36.000Z | 2022-03-27T21:40:36.000Z | discovery-provider/alembic/versions/98e2a0a25ada_drop_aggregate_interval_plays_year_count.py | abelxmendoza/audius-protocol | 33757e1b722a4be97960086b98b26ae3a75ee56b | [
"Apache-2.0"
] | null | null | null | discovery-provider/alembic/versions/98e2a0a25ada_drop_aggregate_interval_plays_year_count.py | abelxmendoza/audius-protocol | 33757e1b722a4be97960086b98b26ae3a75ee56b | [
"Apache-2.0"
] | null | null | null | """drop aggregate_interval_plays year count
Revision ID: 98e2a0a25ada
Revises: dc7f691adc79
Create Date: 2022-01-20 20:32:50.898715
"""
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision = "98e2a0a25ada"
down_revision = "dc7f691adc79"
branch_labels = None
depends_on = No... | 37.007937 | 115 | 0.628994 | 595 | 4,663 | 4.635294 | 0.146218 | 0.108774 | 0.072516 | 0.054387 | 0.860044 | 0.852792 | 0.841189 | 0.832487 | 0.832487 | 0.82016 | 0 | 0.02024 | 0.321896 | 4,663 | 125 | 116 | 37.304 | 0.851992 | 0.036243 | 0 | 0.285714 | 0 | 0 | 0.074534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 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 |
3d94233ad62feabf823c8e5043844fc7d101845b | 89,751 | py | Python | src/ibm_qiskit/cryptography/semi_quantum_conference_key_agreement/entities/QiskitSQCKAProtocolPartyEntity.py | rubenandrebarreiro/semi-quantum-conference-key-agreement-prototype | adefc5a43e4fb1c2b7926af5da93e346f96497c0 | [
"MIT"
] | null | null | null | src/ibm_qiskit/cryptography/semi_quantum_conference_key_agreement/entities/QiskitSQCKAProtocolPartyEntity.py | rubenandrebarreiro/semi-quantum-conference-key-agreement-prototype | adefc5a43e4fb1c2b7926af5da93e346f96497c0 | [
"MIT"
] | null | null | null | src/ibm_qiskit/cryptography/semi_quantum_conference_key_agreement/entities/QiskitSQCKAProtocolPartyEntity.py | rubenandrebarreiro/semi-quantum-conference-key-agreement-prototype | adefc5a43e4fb1c2b7926af5da93e346f96497c0 | [
"MIT"
] | null | null | null | """
Semi-Quantum Conference Key Agreement (SQCKA)
Author:
- Ruben Andre Barreiro (r.barreiro@campus.fct.unl.pt)
Supervisors:
- Andre Nuno Souto (ansouto@fc.ul.pt)
- Antonio Maria Ravara (aravara@fct.unl.pt)
Acknowledgments:
- Paulo Alexandre Mateus (pmat@math.ist.utl.pt)
"""
# Import Enumerations and Constants
from... | 56.768501 | 133 | 0.586723 | 9,942 | 89,751 | 5.124019 | 0.037417 | 0.029543 | 0.046169 | 0.052765 | 0.911587 | 0.894647 | 0.865418 | 0.853758 | 0.83933 | 0.826296 | 0 | 0.004501 | 0.366325 | 89,751 | 1,580 | 134 | 56.80443 | 0.890458 | 0.401923 | 0 | 0.7 | 0 | 0.003636 | 0.079261 | 0.000792 | 0 | 0 | 0 | 0.000633 | 0 | 1 | 0.034545 | false | 0 | 0.021818 | 0.009091 | 0.127273 | 0.045455 | 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 |
9aada8c94698f8868b44ebcef28421edcdfe7764 | 2,458 | py | Python | test/server_test.py | hkariti/higlass-python | 088ac1e8278a987e2aaafe9ba5e8256cac4f3b3b | [
"MIT"
] | 24 | 2018-11-16T15:58:22.000Z | 2022-02-17T19:34:27.000Z | test/server_test.py | hkariti/higlass-python | 088ac1e8278a987e2aaafe9ba5e8256cac4f3b3b | [
"MIT"
] | 45 | 2018-11-19T01:47:26.000Z | 2022-03-04T22:02:47.000Z | test/server_test.py | hkariti/higlass-python | 088ac1e8278a987e2aaafe9ba5e8256cac4f3b3b | [
"MIT"
] | 11 | 2018-11-28T21:10:51.000Z | 2022-03-04T19:46:25.000Z | from unittest.mock import Mock, patch
import higlass.server as server
def test_tcp():
s = server.Server([], host="localhost", port=1234)
with patch("requests.head") as head, patch("multiprocess.Process") as mp:
head.ok = True
s.start()
expected_api_address = "http://localhost:1234/api/v1... | 31.512821 | 85 | 0.63629 | 335 | 2,458 | 4.480597 | 0.152239 | 0.146569 | 0.143904 | 0.067955 | 0.826782 | 0.826782 | 0.826782 | 0.76016 | 0.736176 | 0.736176 | 0 | 0.013754 | 0.201383 | 2,458 | 77 | 86 | 31.922078 | 0.750891 | 0 | 0 | 0.517241 | 0 | 0 | 0.240033 | 0.039056 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0.103448 | false | 0 | 0.034483 | 0 | 0.137931 | 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 |
9af9a67de21a68e7f4fa88a504dc972e4d2b3611 | 43 | py | Python | pynder/__init__.py | phbprogramming/HackTX2018 | 032d2cb0577c17907836f49a0e2dd7592ae0a1b2 | [
"BSD-3-Clause"
] | null | null | null | pynder/__init__.py | phbprogramming/HackTX2018 | 032d2cb0577c17907836f49a0e2dd7592ae0a1b2 | [
"BSD-3-Clause"
] | null | null | null | pynder/__init__.py | phbprogramming/HackTX2018 | 032d2cb0577c17907836f49a0e2dd7592ae0a1b2 | [
"BSD-3-Clause"
] | 1 | 2019-02-03T19:59:42.000Z | 2019-02-03T19:59:42.000Z | from pynder.session import Session # NOQA
| 21.5 | 42 | 0.790698 | 6 | 43 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 1 | 43 | 43 | 0.944444 | 0.093023 | 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 |
b101558a41b5df03e0240a0c68c1f33537432b5d | 489 | py | Python | tests/test_unit.py | techdragon/python-tempo | c146959a5bd3a6f510a784d89ad3ee0537342677 | [
"BSD-3-Clause"
] | 3 | 2015-06-20T21:20:55.000Z | 2015-07-22T07:25:13.000Z | tests/test_unit.py | techdragon/python-tempo | c146959a5bd3a6f510a784d89ad3ee0537342677 | [
"BSD-3-Clause"
] | null | null | null | tests/test_unit.py | techdragon/python-tempo | c146959a5bd3a6f510a784d89ad3ee0537342677 | [
"BSD-3-Clause"
] | 2 | 2022-01-19T06:02:39.000Z | 2022-01-23T05:31:43.000Z | # coding=utf-8
from tempo.unit import DAYS_OF_COMMON_YEAR, DAYS_OF_LEAP_YEAR
def test_days_of_common_year():
"""DAYS_OF_COMMON_YEAR constant consistency."""
assert len(DAYS_OF_COMMON_YEAR) == 12
assert sum(DAYS_OF_COMMON_YEAR) == 365
assert DAYS_OF_COMMON_YEAR[1] == 28
def test_days_of_leap_year():
... | 28.764706 | 61 | 0.742331 | 81 | 489 | 4.012346 | 0.308642 | 0.221538 | 0.221538 | 0.295385 | 0.566154 | 0.498462 | 0.233846 | 0 | 0 | 0 | 0 | 0.041262 | 0.157464 | 489 | 16 | 62 | 30.5625 | 0.747573 | 0.194274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.222222 | true | 0 | 0.111111 | 0 | 0.333333 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b180a769f87bd560e42569c6f7824f0c6a8212d1 | 8,549 | py | Python | tab.py | Mariaalice1/tabuada | acfa5c8ce07048d77f37a168818e80c7d77c208b | [
"MIT"
] | null | null | null | tab.py | Mariaalice1/tabuada | acfa5c8ce07048d77f37a168818e80c7d77c208b | [
"MIT"
] | null | null | null | tab.py | Mariaalice1/tabuada | acfa5c8ce07048d77f37a168818e80c7d77c208b | [
"MIT"
] | null | null | null | # Potencicao
tabb = [1**1]
tab = [2**1]
tab_2 = [3**1]
tab_3 = [4**1]
tab_4 = [5**1]
tab_5 = [6**1]
tab_6 = [7**1]
tab_7 = [8**1]
tab_8 = [9**1]
tab_9 = [10**1]
for y in tabb:
print("1**1 = {}".format(y))
for i in tab:
print("2**1 = {}".format(i))
for a in tab_2:
print("3**1 = {}".format(a))
for b in tab_3... | 21.426065 | 60 | 0.476196 | 1,681 | 8,549 | 2.286139 | 0.041642 | 0.152225 | 0.018735 | 0.034348 | 0.898777 | 0.882384 | 0.874577 | 0.850117 | 0.648972 | 0.648972 | 0 | 0.117402 | 0.214879 | 8,549 | 398 | 61 | 21.4799 | 0.455155 | 0.003626 | 0 | 0.354839 | 0 | 0 | 0.20202 | 0.064834 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.354839 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b199ac04913d3ccae62dae298088f90ff26b752b | 182 | py | Python | apps/users/admin.py | data4e/data4e | d27fa9580b383ff60134d65227ba9f48870cac52 | [
"MIT"
] | null | null | null | apps/users/admin.py | data4e/data4e | d27fa9580b383ff60134d65227ba9f48870cac52 | [
"MIT"
] | null | null | null | apps/users/admin.py | data4e/data4e | d27fa9580b383ff60134d65227ba9f48870cac52 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import D4eUser
from django.contrib.auth.admin import UserAdmin
admin.site.register(D4eUser, UserAdmin)
| 18.2 | 47 | 0.807692 | 25 | 182 | 5.88 | 0.52 | 0.136054 | 0.231293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.126374 | 182 | 9 | 48 | 20.222222 | 0.91195 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
b19cc88e75f7ccd3d7c3f1a028d625de6e83b56d | 112 | py | Python | jstests/views.py | nelliesnoodles/my-first-blog | e552ea38891ebe005316487ae32a324659ad6367 | [
"MIT"
] | null | null | null | jstests/views.py | nelliesnoodles/my-first-blog | e552ea38891ebe005316487ae32a324659ad6367 | [
"MIT"
] | 5 | 2019-12-13T17:37:55.000Z | 2021-06-10T20:59:32.000Z | jstests/views.py | nelliesnoodles/My-Website | e552ea38891ebe005316487ae32a324659ad6367 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def run_app(request):
return render(request, 'jstests/JSindex.html')
| 16 | 50 | 0.758929 | 15 | 112 | 5.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 112 | 6 | 51 | 18.666667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 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 |
b1ac95fa2b58268d577410ab6a6387bbac815b61 | 23,280 | py | Python | sisppeo/wcproducts/chla.py | inrae/SISPPEO | f516bb778b505739fdf320affe651b715ed75324 | [
"Apache-2.0"
] | 5 | 2021-11-05T09:23:13.000Z | 2022-02-18T10:39:13.000Z | sisppeo/wcproducts/chla.py | inrae/SISPPEO | f516bb778b505739fdf320affe651b715ed75324 | [
"Apache-2.0"
] | null | null | null | sisppeo/wcproducts/chla.py | inrae/SISPPEO | f516bb778b505739fdf320affe651b715ed75324 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Arthur Coqué, Guillaume Morin, Pôle OFB-INRAE ECLA, UR RECOVER
#
# 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 r... | 41.276596 | 117 | 0.610095 | 2,910 | 23,280 | 4.67457 | 0.117869 | 0.017643 | 0.0247 | 0.026244 | 0.790855 | 0.777108 | 0.759979 | 0.75329 | 0.747923 | 0.747923 | 0 | 0.020433 | 0.306271 | 23,280 | 563 | 118 | 41.349911 | 0.821858 | 0.438273 | 0 | 0.710037 | 0 | 0 | 0.087775 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04461 | false | 0 | 0.026022 | 0 | 0.178439 | 0.018587 | 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 |
49221b60761c22ead979162f7b816f39e09d56c3 | 122 | py | Python | dataset/__init__.py | VitoPalmisano/MiB_BiSeNet_SEAM_test | 7b74beb69f135c0bb843ee24c90c3097ce448eec | [
"MIT"
] | 105 | 2020-03-20T17:47:00.000Z | 2022-03-16T16:52:07.000Z | dataset/__init__.py | VitoPalmisano/MiB_BiSeNet_SEAM_test | 7b74beb69f135c0bb843ee24c90c3097ce448eec | [
"MIT"
] | 38 | 2020-03-24T18:21:12.000Z | 2022-02-25T17:44:01.000Z | dataset/__init__.py | VitoPalmisano/MiB_BiSeNet_SEAM_test | 7b74beb69f135c0bb843ee24c90c3097ce448eec | [
"MIT"
] | 28 | 2020-04-27T18:44:37.000Z | 2022-03-28T22:43:54.000Z | from .voc import VOCSegmentation, VOCSegmentationIncremental
from .ade import AdeSegmentation, AdeSegmentationIncremental
| 40.666667 | 60 | 0.885246 | 10 | 122 | 10.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 122 | 2 | 61 | 61 | 0.964286 | 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 |
492659b4fc6193e63ccecdd23ff64e0fdfd35ff0 | 1,219 | py | Python | geomat/stein/migrations/0041_auto_20171102_1755_squashed_0042_auto_20171105_1732.py | mimischi/django-geomat | 8c5bc4c9ba9759b58b52ddf339ccaec40ec5f6ea | [
"BSD-3-Clause"
] | 3 | 2017-01-13T15:53:39.000Z | 2017-05-05T11:57:55.000Z | geomat/stein/migrations/0041_auto_20171102_1755_squashed_0042_auto_20171105_1732.py | mimischi/django-geomat | 8c5bc4c9ba9759b58b52ddf339ccaec40ec5f6ea | [
"BSD-3-Clause"
] | 233 | 2016-11-05T15:19:48.000Z | 2021-09-07T23:33:47.000Z | geomat/stein/migrations/0041_auto_20171102_1755_squashed_0042_auto_20171105_1732.py | GeoMatDigital/django-geomat | 8c5bc4c9ba9759b58b52ddf339ccaec40ec5f6ea | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2017-11-05 16:40
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stein', '0040_auto_20171105_1439'),
]
operations = [
migrations.AlterField(
model_name='quizanswer',
... | 33.861111 | 124 | 0.626743 | 126 | 1,219 | 5.912698 | 0.388889 | 0.128859 | 0.134228 | 0.155705 | 0.786577 | 0.786577 | 0.757047 | 0.757047 | 0.757047 | 0.757047 | 0 | 0.049614 | 0.255948 | 1,219 | 35 | 125 | 34.828571 | 0.771775 | 0.055783 | 0 | 0.592593 | 1 | 0 | 0.226481 | 0.020035 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 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 | 1 | 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.