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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bc332f46bf5fa376fd785a4d78a379066d15cba7 | 9,201 | py | Python | trio2o/nova_apigw/controllers/flavor.py | OpenCloudNeXt/trio2o | f4d2d5458fbba71414edebf5e9f69b98abd2d080 | [
"Apache-2.0"
] | 1 | 2021-03-19T16:48:55.000Z | 2021-03-19T16:48:55.000Z | trio2o/nova_apigw/controllers/flavor.py | OpenCloudNeXt/trio2o | f4d2d5458fbba71414edebf5e9f69b98abd2d080 | [
"Apache-2.0"
] | null | null | null | trio2o/nova_apigw/controllers/flavor.py | OpenCloudNeXt/trio2o | f4d2d5458fbba71414edebf5e9f69b98abd2d080 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2015 Huawei Tech. Co., Ltd.
# All Rights Reserved.
#
# 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
#
# Unles... | 42.206422 | 78 | 0.535159 | 959 | 9,201 | 4.970803 | 0.216893 | 0.033564 | 0.053493 | 0.071324 | 0.72855 | 0.72855 | 0.72855 | 0.720159 | 0.701909 | 0.668135 | 0 | 0.013908 | 0.351375 | 9,201 | 217 | 79 | 42.400922 | 0.784853 | 0.104771 | 0 | 0.813953 | 0 | 0 | 0.159951 | 0.019963 | 0 | 0 | 0 | 0.004608 | 0 | 1 | 0.052326 | false | 0 | 0.052326 | 0 | 0.232558 | 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 |
70af8d86c493e026536844ac77648476d945168d | 578 | py | Python | lib/tracked_entity.py | kostyaby/fc-helper | 727b4418a832cad73fbf3a76b07973ec7dd8f49f | [
"MIT"
] | null | null | null | lib/tracked_entity.py | kostyaby/fc-helper | 727b4418a832cad73fbf3a76b07973ec7dd8f49f | [
"MIT"
] | null | null | null | lib/tracked_entity.py | kostyaby/fc-helper | 727b4418a832cad73fbf3a76b07973ec7dd8f49f | [
"MIT"
] | null | null | null | from . import Constant
import os
class TrackedEntity:
def __init__(self, id, tracked_directory_path, related_path, created_at):
self.id = id
self.tracked_directory_path = tracked_directory_path
self.related_path = related_path
self.created_at = created_at
def get_absolute_path(self):
return... | 27.52381 | 90 | 0.742215 | 79 | 578 | 5.012658 | 0.278481 | 0.242424 | 0.30303 | 0.181818 | 0.661616 | 0.497475 | 0.409091 | 0.212121 | 0 | 0 | 0 | 0 | 0.157439 | 578 | 20 | 91 | 28.9 | 0.813142 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.039792 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.153846 | 0.615385 | 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 |
70c4a76793b990585e6b90605023577d1eeb4269 | 4,433 | py | Python | plenum/test/cli/test_phrase_word_completer.py | steptan/indy-plenum | 488bf63c82753a74a92ac6952da784825ffd4a3d | [
"Apache-2.0"
] | null | null | null | plenum/test/cli/test_phrase_word_completer.py | steptan/indy-plenum | 488bf63c82753a74a92ac6952da784825ffd4a3d | [
"Apache-2.0"
] | null | null | null | plenum/test/cli/test_phrase_word_completer.py | steptan/indy-plenum | 488bf63c82753a74a92ac6952da784825ffd4a3d | [
"Apache-2.0"
] | 2 | 2017-12-13T21:14:54.000Z | 2021-06-06T15:48:03.000Z | from prompt_toolkit.completion import CompleteEvent, Completion
from prompt_toolkit.document import Document
from plenum.cli.phrase_word_completer import PhraseWordCompleter
def test_next_phrase_word_is_suggested_for_typed_word_being_its_prefix():
completer = PhraseWordCompleter('add genesis transaction')
do... | 35.464 | 78 | 0.781863 | 485 | 4,433 | 6.8 | 0.125773 | 0.094603 | 0.10188 | 0.138266 | 0.887204 | 0.881747 | 0.881747 | 0.865373 | 0.853244 | 0.754093 | 0 | 0.00156 | 0.13219 | 4,433 | 124 | 79 | 35.75 | 0.855732 | 0 | 0 | 0.64 | 0 | 0 | 0.116174 | 0 | 0 | 0 | 0 | 0 | 0.16 | 1 | 0.16 | false | 0 | 0.04 | 0 | 0.2 | 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 |
70cd95bc30b9bfcb1a5920edb8befabb92f263fd | 32 | py | Python | kikimr/public/sdk/python/client/table.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/table.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/table.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.table import * # noqa
| 16 | 31 | 0.6875 | 5 | 32 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 1 | 32 | 32 | 0.88 | 0.125 | 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 |
cb19f3adc8f4c7f8852e263dd1aeb0c00be61f1a | 140 | py | Python | lpp_index/views.py | uehara1414/lang-processing-play | 5d7a48bda3671250607c94d9008a9606c99512d0 | [
"MIT"
] | null | null | null | lpp_index/views.py | uehara1414/lang-processing-play | 5d7a48bda3671250607c94d9008a9606c99512d0 | [
"MIT"
] | null | null | null | lpp_index/views.py | uehara1414/lang-processing-play | 5d7a48bda3671250607c94d9008a9606c99512d0 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import JsonResponse
def index(reqeust):
return JsonResponse({"Hello": "World!"})
| 20 | 44 | 0.757143 | 17 | 140 | 6.235294 | 0.764706 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135714 | 140 | 6 | 45 | 23.333333 | 0.876033 | 0 | 0 | 0 | 0 | 0 | 0.078571 | 0 | 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 |
cb1c70e77b8b15996a88690033e441699a5f58c1 | 155 | py | Python | nobleweb/www/about.py | finbyz/nobleweb | 397df5084edf52c4824504c0908c8692b61d99c5 | [
"MIT"
] | null | null | null | nobleweb/www/about.py | finbyz/nobleweb | 397df5084edf52c4824504c0908c8692b61d99c5 | [
"MIT"
] | null | null | null | nobleweb/www/about.py | finbyz/nobleweb | 397df5084edf52c4824504c0908c8692b61d99c5 | [
"MIT"
] | null | null | null |
from __future__ import unicode_literals
import frappe
def get_context(context):
return { "doc": frappe.get_doc("About Us Settings","About Us Settings")} | 25.833333 | 73 | 0.780645 | 22 | 155 | 5.181818 | 0.636364 | 0.122807 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116129 | 155 | 6 | 73 | 25.833333 | 0.832117 | 0 | 0 | 0 | 0 | 0 | 0.23871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
cb3210d72c34b3041bf34aa5b2421fce176d2718 | 244 | py | Python | transurlvania/views.py | trapeze/transurlvania | 3ee16d52ea44d086dc873fb184e95194ace50403 | [
"BSD-3-Clause"
] | 15 | 2015-01-07T14:59:18.000Z | 2020-01-29T21:48:45.000Z | transurlvania/views.py | trapeze/transurlvania | 3ee16d52ea44d086dc873fb184e95194ace50403 | [
"BSD-3-Clause"
] | 1 | 2015-02-02T19:39:10.000Z | 2015-02-02T21:45:22.000Z | transurlvania/views.py | trapeze/transurlvania | 3ee16d52ea44d086dc873fb184e95194ace50403 | [
"BSD-3-Clause"
] | 2 | 2015-03-20T20:43:37.000Z | 2017-08-01T15:30:03.000Z | from django.http import HttpResponseRedirect
from django.utils.translation import get_language_from_request
def detect_language_and_redirect(request):
return HttpResponseRedirect(
'/%s/' % get_language_from_request(request)
)
| 27.111111 | 62 | 0.795082 | 28 | 244 | 6.607143 | 0.571429 | 0.108108 | 0.162162 | 0.237838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 244 | 8 | 63 | 30.5 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
cb77ba056a500fa5dbd53ddf9bde455a670a9707 | 12,982 | py | Python | simple_salesforce/tests/test_aio/test_bulk.py | MulliganFunding/simple-salesforce | 6d43d252683e688eb50faab46c6030afc0aa9838 | [
"Apache-2.0"
] | null | null | null | simple_salesforce/tests/test_aio/test_bulk.py | MulliganFunding/simple-salesforce | 6d43d252683e688eb50faab46c6030afc0aa9838 | [
"Apache-2.0"
] | null | null | null | simple_salesforce/tests/test_aio/test_bulk.py | MulliganFunding/simple-salesforce | 6d43d252683e688eb50faab46c6030afc0aa9838 | [
"Apache-2.0"
] | null | null | null | """Test for bulk.py"""
import copy
import json
from unittest import mock
import httpx
import pytest
from simple_salesforce.exceptions import SalesforceGeneralError
def test_bulk_handler(sf_client, constants):
"""Test that BulkHandler Loads Properly"""
bulk_handler = sf_client.bulk
assert bulk_handler.se... | 32.293532 | 88 | 0.559082 | 1,314 | 12,982 | 5.423135 | 0.105784 | 0.03396 | 0.058658 | 0.035504 | 0.858687 | 0.846057 | 0.827814 | 0.805782 | 0.776031 | 0.776031 | 0 | 0.066145 | 0.272146 | 12,982 | 401 | 89 | 32.374065 | 0.688009 | 0.044292 | 0 | 0.66205 | 0 | 0 | 0.264554 | 0.010808 | 0 | 0 | 0 | 0 | 0.063712 | 1 | 0.00554 | false | 0 | 0.016621 | 0 | 0.022161 | 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 |
cb808e04dd2f841b591d9238c57e86b8e54c861a | 126 | py | Python | GUI/Frames/__init__.py | LamWS/ArknightsAutoHelper | 7e3231aceaa23728851e90ba1e8937d9b7dabb35 | [
"MIT"
] | 2 | 2021-07-14T04:03:57.000Z | 2022-03-17T03:23:19.000Z | GUI/Frames/__init__.py | AlvISsReimu/ArknightsAutoHelper | 7112b73c01fe381b20314342ba0dfa2f7e01805d | [
"MIT"
] | 1 | 2019-09-10T13:58:24.000Z | 2019-09-10T13:58:24.000Z | GUI/Frames/__init__.py | AlaricGilbert/ArknightsAutoHelper | 9e2db0c4e0d1be30856df731ab192da396121d94 | [
"MIT"
] | null | null | null | from GUI.Frames.Index import Index
from GUI.Frames.Dialog import MessageDialog_OK, MessageDialog_CANCEL, MessageDialog_Yes_No
| 42 | 90 | 0.873016 | 18 | 126 | 5.888889 | 0.611111 | 0.132075 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 126 | 2 | 91 | 63 | 0.913793 | 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 |
cba67531bd2aff80ddcf46ddcdf5853a6455dc49 | 39 | py | Python | crud operations/11.py | ramadevim/Crud-Operations | ac89701c1cdefe088fb165b90c6f2629615e43da | [
"MIT"
] | null | null | null | crud operations/11.py | ramadevim/Crud-Operations | ac89701c1cdefe088fb165b90c6f2629615e43da | [
"MIT"
] | null | null | null | crud operations/11.py | ramadevim/Crud-Operations | ac89701c1cdefe088fb165b90c6f2629615e43da | [
"MIT"
] | null | null | null | import random
print (random.randint(4)) | 19.5 | 25 | 0.794872 | 6 | 39 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.076923 | 39 | 2 | 25 | 19.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
cbbd0ef0fb806c2c20f14a8d503ace8c852aab38 | 6,044 | py | Python | archipelago/src/lut_tile/config/sweep_gen.py | haojunliu/OpenFPGA | b0c4f27077f698aae59bbcbd3ca002f22ba2a5a1 | [
"BSD-2-Clause"
] | 31 | 2016-02-15T02:57:28.000Z | 2021-06-02T10:40:25.000Z | archipelago/src/lut_tile/config/sweep_gen.py | haojunliu/OpenFPGA | b0c4f27077f698aae59bbcbd3ca002f22ba2a5a1 | [
"BSD-2-Clause"
] | null | null | null | archipelago/src/lut_tile/config/sweep_gen.py | haojunliu/OpenFPGA | b0c4f27077f698aae59bbcbd3ca002f22ba2a5a1 | [
"BSD-2-Clause"
] | 6 | 2017-02-08T21:51:51.000Z | 2021-06-02T10:40:40.000Z | import sys, os, math
def main(argv=None):
for lut_size in range (4, 6+1):
for clb_size in range (4, 10+1):
for ipin_w in [8, 12, 16]:
for chanxy_w in [8, 12, 16]:
for chanxy_num in [80, 120, 160]:
config_name = str(lut_size) + '_' + s... | 55.449541 | 139 | 0.688451 | 1,017 | 6,044 | 3.60177 | 0.080629 | 0.140868 | 0.258258 | 0.167895 | 0.765493 | 0.720994 | 0.701884 | 0.655747 | 0.634999 | 0.618619 | 0 | 0.020287 | 0.192588 | 6,044 | 108 | 140 | 55.962963 | 0.730328 | 0 | 0 | 0.322581 | 0 | 0 | 0.298974 | 0.152879 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021505 | false | 0 | 0.021505 | 0 | 0.043011 | 0.784946 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
cbd4bf08f4c4d54885cd6032677d54da6bf081a5 | 163 | py | Python | pytorch_mask_rcnn/__init__.py | yokosyun/instance-segmentation | 5779ae864b24c28300b0ddc4c314e63490215606 | [
"MIT"
] | null | null | null | pytorch_mask_rcnn/__init__.py | yokosyun/instance-segmentation | 5779ae864b24c28300b0ddc4c314e63490215606 | [
"MIT"
] | null | null | null | pytorch_mask_rcnn/__init__.py | yokosyun/instance-segmentation | 5779ae864b24c28300b0ddc4c314e63490215606 | [
"MIT"
] | null | null | null | from .model import maskrcnn_resnet50
from .datasets import *
from .engine import train_one_epoch
try:
from .visualize import show
except ImportError:
pass | 20.375 | 36 | 0.785276 | 22 | 163 | 5.681818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014815 | 0.171779 | 163 | 8 | 37 | 20.375 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.714286 | 0 | 0.714286 | 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 |
cbdb22545e68620f931b9d5f6f61a973f5b4bd93 | 40 | py | Python | python/cendalytics/wikipedia/ingest/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/cendalytics/wikipedia/ingest/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/cendalytics/wikipedia/ingest/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | from .wikipedia_api import WikipediaAPI
| 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 |
38341d165fa256f3909581a9d9e970a2d884cf2f | 20 | py | Python | evemansys/backend/helpers.py | uktrade/evemansys | 43a1f034a55a4b9dc9594d13eb7a1a530efeb479 | [
"MIT"
] | null | null | null | evemansys/backend/helpers.py | uktrade/evemansys | 43a1f034a55a4b9dc9594d13eb7a1a530efeb479 | [
"MIT"
] | null | null | null | evemansys/backend/helpers.py | uktrade/evemansys | 43a1f034a55a4b9dc9594d13eb7a1a530efeb479 | [
"MIT"
] | null | null | null | import functools
| 4 | 16 | 0.75 | 2 | 20 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 20 | 4 | 17 | 5 | 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 |
3848e7470c0b214c206fc6d2030f9d8011818f78 | 191 | py | Python | dlnlputils/data/__init__.py | Rojanson/stepik-dl-nlp | e32748fbccd0868a8e4a131e4749188935ed524f | [
"MIT"
] | null | null | null | dlnlputils/data/__init__.py | Rojanson/stepik-dl-nlp | e32748fbccd0868a8e4a131e4749188935ed524f | [
"MIT"
] | null | null | null | dlnlputils/data/__init__.py | Rojanson/stepik-dl-nlp | e32748fbccd0868a8e4a131e4749188935ed524f | [
"MIT"
] | null | null | null | from .base import *
from .bag_of_words import *
from .embeddings import *
from .nnets import *
from .pos import *
from .lemmatize import *
from .poetry import *
from .ngrams_handler import *
| 21.222222 | 29 | 0.748691 | 27 | 191 | 5.185185 | 0.481481 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167539 | 191 | 8 | 30 | 23.875 | 0.880503 | 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 |
69989f82068adbed0ab73ca99f23d2142d9760c4 | 34,662 | py | Python | datasets/google_dei/pipelines/diversity_annual_report/diversity_annual_report_dag.py | gkodukula/public-datasets-pipelines | 4f4c87edae252059062ba479b80559e7675a885f | [
"Apache-2.0"
] | null | null | null | datasets/google_dei/pipelines/diversity_annual_report/diversity_annual_report_dag.py | gkodukula/public-datasets-pipelines | 4f4c87edae252059062ba479b80559e7675a885f | [
"Apache-2.0"
] | null | null | null | datasets/google_dei/pipelines/diversity_annual_report/diversity_annual_report_dag.py | gkodukula/public-datasets-pipelines | 4f4c87edae252059062ba479b80559e7675a885f | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 40.923259 | 322 | 0.513906 | 3,334 | 34,662 | 5.153269 | 0.059988 | 0.068448 | 0.054013 | 0.083231 | 0.939875 | 0.928467 | 0.919912 | 0.909144 | 0.89954 | 0.888889 | 0 | 0.003814 | 0.379724 | 34,662 | 846 | 323 | 40.971631 | 0.795302 | 0.031562 | 0 | 0.571785 | 0 | 0.047441 | 0.449957 | 0.068215 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002497 | 0 | 0.002497 | 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 |
69ccbbe4e2cff4191b3bc1c6a7456873f659d37a | 174 | py | Python | contact_rest_api/admin.py | tekrajchhetri/contact-rest-api | 2ec93c74cdb30f35c2c73de2ccc7f24d49537362 | [
"MIT"
] | null | null | null | contact_rest_api/admin.py | tekrajchhetri/contact-rest-api | 2ec93c74cdb30f35c2c73de2ccc7f24d49537362 | [
"MIT"
] | null | null | null | contact_rest_api/admin.py | tekrajchhetri/contact-rest-api | 2ec93c74cdb30f35c2c73de2ccc7f24d49537362 | [
"MIT"
] | null | null | null | from django.contrib import admin
from contact_rest_api import models
# Register your models here.
admin.site.register(models.UserProfile)
admin.site.register(models.Contact) | 29 | 39 | 0.83908 | 25 | 174 | 5.76 | 0.56 | 0.125 | 0.236111 | 0.319444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 174 | 6 | 40 | 29 | 0.90566 | 0.149425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 |
69f89911db9423b0ea8a51f2e380e1228e8c5927 | 208 | py | Python | tronx/helpers/__init__.py | beastzx18/Tron | 92207b841c80311e484e8f350b96f7df8a76d3b9 | [
"MIT"
] | 8 | 2021-08-22T06:43:34.000Z | 2022-02-24T17:09:49.000Z | tronx/helpers/__init__.py | beastzx18/Tron | 92207b841c80311e484e8f350b96f7df8a76d3b9 | [
"MIT"
] | 61 | 2021-09-12T11:05:33.000Z | 2021-12-07T15:26:18.000Z | tronx/helpers/__init__.py | beastzx18/Tron | 92207b841c80311e484e8f350b96f7df8a76d3b9 | [
"MIT"
] | 6 | 2021-09-08T08:43:04.000Z | 2022-02-24T17:09:50.000Z | from .bots import *
from .filters import *
from .functions import *
from .user import *
from .utils import *
from .decorators import *
from .variables import *
from .constants import *
from .strings import *
| 20.8 | 25 | 0.740385 | 27 | 208 | 5.703704 | 0.407407 | 0.519481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 208 | 9 | 26 | 23.111111 | 0.895349 | 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 |
38e7b233e4e1b39c1fcf8037b5b69e1eb84451fe | 191 | py | Python | tapispy/clients/__init__.py | tapis-project/tapispy | fc7d5e79f8b5a73fa0517e6129f737dd753c2561 | [
"Python-2.0",
"OLDAP-2.3"
] | null | null | null | tapispy/clients/__init__.py | tapis-project/tapispy | fc7d5e79f8b5a73fa0517e6129f737dd753c2561 | [
"Python-2.0",
"OLDAP-2.3"
] | null | null | null | tapispy/clients/__init__.py | tapis-project/tapispy | fc7d5e79f8b5a73fa0517e6129f737dd753c2561 | [
"Python-2.0",
"OLDAP-2.3"
] | null | null | null | from .create import clients_create
from .delete import clients_delete
from .list import clients_list
from .subscribe import clients_subscribe
from .subscribtions import clients_subscribtions
| 31.833333 | 48 | 0.86911 | 25 | 191 | 6.44 | 0.32 | 0.403727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104712 | 191 | 5 | 49 | 38.2 | 0.94152 | 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 |
2a23fe8ff7dd9a77896fa57f4be9a2086507054c | 312 | py | Python | nighres/microscopy/__init__.py | marcobarilari/nighres | e503bb96a6a73f73020c5d9d7b540bc5f17699a8 | [
"Apache-2.0"
] | 2 | 2020-08-05T18:05:38.000Z | 2022-03-28T12:22:14.000Z | nighres/microscopy/__init__.py | marcobarilari/nighres | e503bb96a6a73f73020c5d9d7b540bc5f17699a8 | [
"Apache-2.0"
] | 23 | 2017-07-17T12:53:22.000Z | 2017-07-24T21:31:16.000Z | nighres/microscopy/__init__.py | marcobarilari/nighres | e503bb96a6a73f73020c5d9d7b540bc5f17699a8 | [
"Apache-2.0"
] | 8 | 2017-10-31T13:57:06.000Z | 2021-03-11T16:17:44.000Z | from nighres.microscopy.mgdm_cells import mgdm_cells
from nighres.microscopy.stack_intensity_regularisation import stack_intensity_regularisation
from nighres.microscopy.stack_intensity_mapping import stack_intensity_mapping
from nighres.microscopy.directional_line_clustering import directional_line_clustering
| 62.4 | 92 | 0.923077 | 38 | 312 | 7.210526 | 0.342105 | 0.160584 | 0.306569 | 0.189781 | 0.255474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 312 | 4 | 93 | 78 | 0.925676 | 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 |
2a54f96f4fcc51c71b8634048fbf72d46af90d54 | 95 | py | Python | numbalsoda/__init__.py | Nicholaswogan/numblsoda | 69fafdc7753e8f3273283a0b21e2eb3523d5f3aa | [
"MIT"
] | 4 | 2022-02-28T21:17:40.000Z | 2022-03-31T05:51:11.000Z | numbalsoda/__init__.py | Nicholaswogan/numblsoda | 69fafdc7753e8f3273283a0b21e2eb3523d5f3aa | [
"MIT"
] | 2 | 2022-03-08T08:57:40.000Z | 2022-03-31T05:05:41.000Z | numbalsoda/__init__.py | Nicholaswogan/numblsoda | 69fafdc7753e8f3273283a0b21e2eb3523d5f3aa | [
"MIT"
] | null | null | null | from .driver import lsoda_sig, lsoda, address_as_void_pointer
from .driver_dop853 import dop853 | 47.5 | 61 | 0.863158 | 15 | 95 | 5.133333 | 0.666667 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.094737 | 95 | 2 | 62 | 47.5 | 0.825581 | 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 |
aa5cd370680f4e4b66644e5f1f83fe3680ce9421 | 27,433 | py | Python | tests/test_asymmetric.py | bhumikapaharia/oscrypto | e166b40ee5fa47eb231c7cd78734004b123253b8 | [
"MIT"
] | 309 | 2015-07-22T02:42:45.000Z | 2022-03-28T23:54:47.000Z | tests/test_asymmetric.py | bhumikapaharia/oscrypto | e166b40ee5fa47eb231c7cd78734004b123253b8 | [
"MIT"
] | 58 | 2015-08-21T23:30:29.000Z | 2022-03-18T12:05:56.000Z | tests/test_asymmetric.py | bhumikapaharia/oscrypto | e166b40ee5fa47eb231c7cd78734004b123253b8 | [
"MIT"
] | 55 | 2015-10-10T04:45:30.000Z | 2022-03-20T21:05:53.000Z | # coding: utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
import unittest
import sys
import os
from asn1crypto import pem, algos, keys, core
from oscrypto import asymmetric, errors, backend
from ._unittest_compat import patch
patch()
if sys.version_info < (3,):
byte_cls... | 46.49661 | 108 | 0.681989 | 3,508 | 27,433 | 5.094071 | 0.060718 | 0.033912 | 0.05596 | 0.09972 | 0.86094 | 0.837493 | 0.804309 | 0.788584 | 0.777224 | 0.773755 | 0 | 0.016164 | 0.203951 | 27,433 | 589 | 109 | 46.575552 | 0.802134 | 0.007801 | 0 | 0.615551 | 0 | 0 | 0.090214 | 0.027524 | 0 | 0 | 0 | 0 | 0.220302 | 1 | 0.133909 | false | 0.010799 | 0.017279 | 0 | 0.166307 | 0.047516 | 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 |
aa5de7b1e3190745c491a28ae5140490fda05d73 | 101 | py | Python | hardware/YL83/__init__.py | RechnioMateusz/weather_forecast | 5ae9c65336831042b74a77e05c163b7b65b90dcd | [
"MIT"
] | 1 | 2019-10-22T20:09:54.000Z | 2019-10-22T20:09:54.000Z | hardware/YL83/__init__.py | RechnioMateusz/weather_forecast | 5ae9c65336831042b74a77e05c163b7b65b90dcd | [
"MIT"
] | null | null | null | hardware/YL83/__init__.py | RechnioMateusz/weather_forecast | 5ae9c65336831042b74a77e05c163b7b65b90dcd | [
"MIT"
] | null | null | null | from .yl83_handler import YL83, YL83Exception
from .mcp3008_handler import MCP3008, MCP3008Exception
| 33.666667 | 54 | 0.861386 | 12 | 101 | 7.083333 | 0.583333 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197802 | 0.09901 | 101 | 2 | 55 | 50.5 | 0.736264 | 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 |
aa841eee81a72044700badd5b82fe177320f2184 | 81 | py | Python | Calculator_Application/calculations/mul.py | jpweldon/Module_2_Practice | cb546bbfcf5ffb7c6388f854e0eb8873834cfab9 | [
"MIT"
] | null | null | null | Calculator_Application/calculations/mul.py | jpweldon/Module_2_Practice | cb546bbfcf5ffb7c6388f854e0eb8873834cfab9 | [
"MIT"
] | null | null | null | Calculator_Application/calculations/mul.py | jpweldon/Module_2_Practice | cb546bbfcf5ffb7c6388f854e0eb8873834cfab9 | [
"MIT"
] | null | null | null |
# Define a Multiplication Function
def mul(num1, num2):
return num1 * num2
| 13.5 | 34 | 0.703704 | 11 | 81 | 5.181818 | 0.818182 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0.222222 | 81 | 5 | 35 | 16.2 | 0.84127 | 0.395062 | 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 |
aae30323577a591962c2998ee1b811cbf130ca82 | 6,266 | py | Python | tests/test_binary_predicate.py | nokia/minifold | 3687d32ab6119dc8293ae370c8c4ba9bbbb47deb | [
"BSD-3-Clause"
] | 15 | 2018-09-03T09:40:59.000Z | 2021-07-16T16:14:46.000Z | tests/test_binary_predicate.py | Infinite-Blue-1042/minifold | cd0aa9207f9e1819ed2ecbb24373cdcfe27abd16 | [
"BSD-3-Clause"
] | null | null | null | tests/test_binary_predicate.py | Infinite-Blue-1042/minifold | cd0aa9207f9e1819ed2ecbb24373cdcfe27abd16 | [
"BSD-3-Clause"
] | 8 | 2019-01-25T07:18:59.000Z | 2021-04-07T17:54:54.000Z | #!/usr/bin/env pytest-3
# -*- coding: utf-8 -*-
#
# This file is part of the minifold project.
# https://github.com/nokia/minifold
__author__ = "Marc-Olivier Buob"
__maintainer__ = "Marc-Olivier Buob"
__email__ = "marc-olivier.buob@nokia-bell-labs.com"
__copyright__ = "Copyright (C) 2018, Nokia"
__license__ ... | 42.337838 | 68 | 0.595914 | 771 | 6,266 | 4.671855 | 0.097276 | 0.466408 | 0.390894 | 0.217379 | 0.832871 | 0.771793 | 0.648806 | 0.504442 | 0.504442 | 0.504442 | 0 | 0.046342 | 0.190712 | 6,266 | 147 | 69 | 42.62585 | 0.663972 | 0.019311 | 0 | 0.017094 | 0 | 0 | 0.050489 | 0.006026 | 0 | 0 | 0 | 0 | 0.726496 | 1 | 0.111111 | false | 0 | 0.017094 | 0 | 0.128205 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2d492da2d79c6f51febd53eb0e12d2a01a531317 | 34 | py | Python | models/__init__.py | SimonBartels/Variations_of_VAE | 89eec430eb3ec4483a47f345cc83b86051a81be7 | [
"MIT"
] | 1 | 2021-11-07T22:52:14.000Z | 2021-11-07T22:52:14.000Z | models/__init__.py | SimonBartels/Variations_of_VAE | 89eec430eb3ec4483a47f345cc83b86051a81be7 | [
"MIT"
] | null | null | null | models/__init__.py | SimonBartels/Variations_of_VAE | 89eec430eb3ec4483a47f345cc83b86051a81be7 | [
"MIT"
] | 1 | 2021-08-05T13:32:29.000Z | 2021-08-05T13:32:29.000Z | from .vae.VAE_bayes_jaks import *
| 17 | 33 | 0.794118 | 6 | 34 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.833333 | 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 |
2dad0889913a58bbe6d071246c6fb47781e5c8f4 | 98 | py | Python | test/conftest.py | mpccolorado/python-escpos | e21940a5b46bd61052e4f5677199a9d3c19a41e7 | [
"MIT"
] | 683 | 2015-12-28T08:52:55.000Z | 2022-03-30T18:28:33.000Z | test/conftest.py | mpccolorado/python-escpos | e21940a5b46bd61052e4f5677199a9d3c19a41e7 | [
"MIT"
] | 345 | 2015-12-23T20:56:12.000Z | 2022-03-06T19:48:28.000Z | test/conftest.py | mpccolorado/python-escpos | e21940a5b46bd61052e4f5677199a9d3c19a41e7 | [
"MIT"
] | 243 | 2015-12-25T17:52:20.000Z | 2022-03-30T00:10:50.000Z | import pytest
from escpos.printer import Dummy
@pytest.fixture
def driver():
return Dummy()
| 12.25 | 32 | 0.744898 | 13 | 98 | 5.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173469 | 98 | 7 | 33 | 14 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0.2 | 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 | 1 | 1 | 0 | 0 | 6 |
2dffa62d78ceba72d0200994402c48361d4053df | 226 | py | Python | pyfuzzysystem/defuzzyfication/longest_maximum.py | e1Ru1o/pyfuzzysystem | 0da96fafd4bb7e5ed34730bb456ad78401e835dc | [
"MIT"
] | null | null | null | pyfuzzysystem/defuzzyfication/longest_maximum.py | e1Ru1o/pyfuzzysystem | 0da96fafd4bb7e5ed34730bb456ad78401e835dc | [
"MIT"
] | null | null | null | pyfuzzysystem/defuzzyfication/longest_maximum.py | e1Ru1o/pyfuzzysystem | 0da96fafd4bb7e5ed34730bb456ad78401e835dc | [
"MIT"
] | null | null | null | from .utils import defuzzification_search
def longest_maximum(fuzzy_set):
'''
Find the smallest element that has
maximum membership value
'''
return defuzzification_search(fuzzy_set, lambda x, y: x >= y) | 28.25 | 66 | 0.716814 | 29 | 226 | 5.413793 | 0.758621 | 0.267516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207965 | 226 | 8 | 66 | 28.25 | 0.877095 | 0.265487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9307dcc104eb5d8f8e78189c9dc983e8af7dbb25 | 86 | py | Python | appendix/app/common/logging.py | iurykrieger96/morpy-tcc | 95cb484ede708fab798db5471f944472c2a65c66 | [
"MIT"
] | null | null | null | appendix/app/common/logging.py | iurykrieger96/morpy-tcc | 95cb484ede708fab798db5471f944472c2a65c66 | [
"MIT"
] | null | null | null | appendix/app/common/logging.py | iurykrieger96/morpy-tcc | 95cb484ede708fab798db5471f944472c2a65c66 | [
"MIT"
] | null | null | null | from flask import current_app
def info(message):
current_app.logger.info(message) | 21.5 | 36 | 0.790698 | 13 | 86 | 5.076923 | 0.692308 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 86 | 4 | 36 | 21.5 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
93253e4adeeb88dd9fd04e4e5050214b61ef82a7 | 86 | py | Python | tributary/lazy/base.py | ceball/tributary | 5e30f90d1a5cc176c0f231f525d9dc5a81353925 | [
"Apache-2.0"
] | 357 | 2018-09-13T19:58:46.000Z | 2022-03-31T17:22:20.000Z | tributary/lazy/base.py | ceball/tributary | 5e30f90d1a5cc176c0f231f525d9dc5a81353925 | [
"Apache-2.0"
] | 109 | 2018-09-13T18:37:00.000Z | 2022-03-27T00:59:49.000Z | tributary/lazy/base.py | ceball/tributary | 5e30f90d1a5cc176c0f231f525d9dc5a81353925 | [
"Apache-2.0"
] | 36 | 2018-09-17T21:01:05.000Z | 2022-03-26T02:41:37.000Z | from .graph import LazyGraph # noqa: F401
from .node import Node, node # noqa: F401
| 28.666667 | 42 | 0.72093 | 13 | 86 | 4.769231 | 0.538462 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.197674 | 86 | 2 | 43 | 43 | 0.811594 | 0.244186 | 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 |
9326777f909e9dc627a169e0bb11ced3d18d5290 | 175 | py | Python | wsgi.py | zebraxxl/micro-pass | dc2242cc98742890d163b7359b2fbdf63d1dcdc4 | [
"MIT"
] | null | null | null | wsgi.py | zebraxxl/micro-pass | dc2242cc98742890d163b7359b2fbdf63d1dcdc4 | [
"MIT"
] | null | null | null | wsgi.py | zebraxxl/micro-pass | dc2242cc98742890d163b7359b2fbdf63d1dcdc4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from src import app
__author__ = "zebraxxl"
def application(environ, start_response):
return app(environ, start_response)
| 17.5 | 41 | 0.708571 | 23 | 175 | 5.130435 | 0.826087 | 0.20339 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.154286 | 175 | 9 | 42 | 19.444444 | 0.790541 | 0.24 | 0 | 0 | 0 | 0 | 0.061069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
9383b7ba883f4f351ba430c51dddba3a15ec6046 | 192 | py | Python | zunzun/LongRunningProcess/__init__.py | Sturtuk/EPES | 6926382922e6291caa1b3b66beea8177a9dde995 | [
"BSD-2-Clause"
] | null | null | null | zunzun/LongRunningProcess/__init__.py | Sturtuk/EPES | 6926382922e6291caa1b3b66beea8177a9dde995 | [
"BSD-2-Clause"
] | null | null | null | zunzun/LongRunningProcess/__init__.py | Sturtuk/EPES | 6926382922e6291caa1b3b66beea8177a9dde995 | [
"BSD-2-Clause"
] | null | null | null |
from . import StatusMonitoredLongRunningProcessPage
from . import CharacterizeData
from . import StatisticalDistributions
from . import FunctionFinder
from . import FunctionFinderResults
| 17.454545 | 51 | 0.84375 | 15 | 192 | 10.8 | 0.466667 | 0.308642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130208 | 192 | 10 | 52 | 19.2 | 0.97006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa7e31596eb610f95fe6acd12860d0f5197890be | 4,579 | py | Python | violas_client/libra_client/test/test_transaction.py | violas-core/violas-client | e8798f7d081ac218b78b81fd7eb2f8da92631a16 | [
"MIT"
] | null | null | null | violas_client/libra_client/test/test_transaction.py | violas-core/violas-client | e8798f7d081ac218b78b81fd7eb2f8da92631a16 | [
"MIT"
] | null | null | null | violas_client/libra_client/test/test_transaction.py | violas-core/violas-client | e8798f7d081ac218b78b81fd7eb2f8da92631a16 | [
"MIT"
] | 1 | 2022-01-05T06:49:42.000Z | 2022-01-05T06:49:42.000Z | from violas_client.lbrtypes.account_config import testnet_dd_account_address
from violas_client.libra_client import Client, Wallet
from typing import List
from violas_client.libra_client.account import Account
def create_accounts(account_number)-> List[Account]:
wallet = Wallet.new()
return [wallet.new_account... | 39.474138 | 105 | 0.723957 | 674 | 4,579 | 4.621662 | 0.090504 | 0.049438 | 0.091814 | 0.05297 | 0.851685 | 0.798074 | 0.76886 | 0.738684 | 0.729053 | 0.631461 | 0 | 0.029282 | 0.15724 | 4,579 | 116 | 106 | 39.474138 | 0.777922 | 0 | 0 | 0.684783 | 0 | 0 | 0.002183 | 0 | 0 | 0 | 0 | 0 | 0.228261 | 1 | 0.086957 | false | 0 | 0.043478 | 0.01087 | 0.163043 | 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 |
fa82c64e6cec3bbc492f1053eaf455e2a28dfe06 | 313 | py | Python | PythonExercicios/ex013.py | lordvinick/Python | c03fd08d4c204104bf0196b0bd129427fd2067ae | [
"MIT"
] | null | null | null | PythonExercicios/ex013.py | lordvinick/Python | c03fd08d4c204104bf0196b0bd129427fd2067ae | [
"MIT"
] | null | null | null | PythonExercicios/ex013.py | lordvinick/Python | c03fd08d4c204104bf0196b0bd129427fd2067ae | [
"MIT"
] | null | null | null | print('\033[31m=\033[m'*12, '\033[33mReajuste Salarial\033[m', '\033[31m=\033[m'*12)
sal = float(input('\033[35mQual é o salario do Funcionário? R$' ))
p = sal * 15/100
print('\033[4;32mUm funcionário que ganhava R$\033[34m{},\033[4;32m com 15% de aumento, passa a receber R$\033[34m{:.2f}.'.format(sal,(sal+p)))
| 62.6 | 143 | 0.664537 | 59 | 313 | 3.525424 | 0.576271 | 0.057692 | 0.086538 | 0.096154 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224199 | 0.102236 | 313 | 4 | 144 | 78.25 | 0.516014 | 0 | 0 | 0 | 0 | 0.25 | 0.696486 | 0.073482 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
fa894dde0e21bf6bf0bea7e6d0345e962be69919 | 2,178 | py | Python | pirates/leveleditor/worldData/pvp_shipBattleWorld1.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/pvp_shipBattleWorld1.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/pvp_shipBattleWorld1.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.pvp_shipBattleWorld1
from pandac.PandaModules import Point3, VBase3
objectStruct = {'Objects': {'117168806... | 363 | 1,896 | 0.634527 | 311 | 2,178 | 4.440514 | 0.244373 | 0.04055 | 0.043447 | 0.034757 | 0.648805 | 0.518465 | 0.518465 | 0.518465 | 0.518465 | 0.518465 | 0 | 0.213961 | 0.092287 | 2,178 | 6 | 1,896 | 363 | 0.484573 | 0.103765 | 0 | 0 | 0 | 0 | 0.548768 | 0.205852 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 |
faaa3d5210f0b01accc72893698ea0d5f877a5a6 | 204 | py | Python | ssl_fastai2/imports.py | Samjoel3101/Self-Supervised-Learning-fastai2 | 08c6262ecd9497658c1143b67bc9ce432e7a0c20 | [
"Apache-2.0"
] | null | null | null | ssl_fastai2/imports.py | Samjoel3101/Self-Supervised-Learning-fastai2 | 08c6262ecd9497658c1143b67bc9ce432e7a0c20 | [
"Apache-2.0"
] | 1 | 2021-09-28T05:35:25.000Z | 2021-09-28T05:35:25.000Z | ssl_fastai2/imports.py | Samjoel3101/Self-Supervised-Learning-fastai2 | 08c6262ecd9497658c1143b67bc9ce432e7a0c20 | [
"Apache-2.0"
] | null | null | null | import pdb
from fastai2 import *
from fastai2.vision.all import *
from fastai2.basics import *
from fastai2.vision.models.unet import _get_sz_change_idxs
from fastai2.callback.hook import hook_outputs
| 29.142857 | 58 | 0.823529 | 31 | 204 | 5.258065 | 0.516129 | 0.337423 | 0.312883 | 0.282209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027933 | 0.122549 | 204 | 6 | 59 | 34 | 0.882682 | 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 | 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 |
fadaedf63cf6c7121d0fae02e860f002f4c01715 | 6,038 | py | Python | tests/unit/api/endpoints/test_flow.py | jina-ai/jinad | 4fb874b145357668ecd84cb015c9db1939ed013c | [
"Apache-2.0"
] | 3 | 2020-10-29T10:11:42.000Z | 2022-03-15T02:32:43.000Z | tests/unit/api/endpoints/test_flow.py | jina-ai/jinad | 4fb874b145357668ecd84cb015c9db1939ed013c | [
"Apache-2.0"
] | 41 | 2020-10-23T13:06:39.000Z | 2021-01-06T19:55:06.000Z | tests/unit/api/endpoints/test_flow.py | jina-ai/jinad | 4fb874b145357668ecd84cb015c9db1939ed013c | [
"Apache-2.0"
] | null | null | null | import uuid
import pytest
from fastapi import UploadFile
from jinad.api.endpoints import flow
_temp_id = uuid.uuid1()
def mock_create_success(**kwargs):
return _temp_id, '0.0.0.0', 12345
def mock_flow_creation_exception(**kwargs):
raise flow.FlowCreationException
def mock_flow_parse_exception(**kwargs):... | 37.271605 | 93 | 0.71845 | 786 | 6,038 | 5.278626 | 0.139949 | 0.111352 | 0.011569 | 0.095445 | 0.835623 | 0.810557 | 0.810557 | 0.727404 | 0.700892 | 0.647626 | 0 | 0.022936 | 0.169593 | 6,038 | 161 | 94 | 37.503106 | 0.804547 | 0 | 0 | 0.521008 | 0 | 0 | 0.126532 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.058824 | false | 0.02521 | 0.033613 | 0.016807 | 0.109244 | 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 |
87ad983d10c89694c263f429c1720653f32112f4 | 233 | py | Python | src/customers/admin.py | hygull/try-django-tenant-schemas | 56b3e1dfa940542c45b5f72d5b2ff844389e7d00 | [
"MIT"
] | 1 | 2020-03-05T14:20:36.000Z | 2020-03-05T14:20:36.000Z | src/customers/admin.py | hygull/try-django-tenant-schemas | 56b3e1dfa940542c45b5f72d5b2ff844389e7d00 | [
"MIT"
] | null | null | null | src/customers/admin.py | hygull/try-django-tenant-schemas | 56b3e1dfa940542c45b5f72d5b2ff844389e7d00 | [
"MIT"
] | 1 | 2021-01-29T14:33:28.000Z | 2021-01-29T14:33:28.000Z | from django.contrib import admin
from .models import Client
class ClientAdmin(admin.ModelAdmin):
readonly_fields = ("schema_name", "domain_url",)
# admin.site.register(Client, ClientAdmin)
admin.site.register(Client, ClientAdmin)
| 25.888889 | 49 | 0.793991 | 29 | 233 | 6.275862 | 0.62069 | 0.175824 | 0.186813 | 0.252747 | 0.373626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094421 | 233 | 8 | 50 | 29.125 | 0.862559 | 0.171674 | 0 | 0 | 0 | 0 | 0.109948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87e3e8b8563136ec4883f8d2e03e21f05a0530c4 | 46 | py | Python | project/commons/services/__init__.py | hiraqdev/base-django | 4df57f356905274b26af57af8328f015d6c680a4 | [
"MIT"
] | 1 | 2018-03-19T05:21:53.000Z | 2018-03-19T05:21:53.000Z | project/commons/services/__init__.py | hiraq/base-django | 4df57f356905274b26af57af8328f015d6c680a4 | [
"MIT"
] | 6 | 2020-06-05T20:17:33.000Z | 2022-03-11T23:45:44.000Z | project/commons/services/__init__.py | hiraq/base-django | 4df57f356905274b26af57af8328f015d6c680a4 | [
"MIT"
] | null | null | null | from commons.services.base import BaseService
| 23 | 45 | 0.869565 | 6 | 46 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35c5c7f6237cd86c0fad896bb448d31ed67440e1 | 193 | py | Python | spt_compute/__init__.py | mjshaw1/spt_compute_ensco_wo_temporal_forecast_lead_flexibility_and_dams | 7ea364d0588a91f5b49457b0face9e8c3c265c23 | [
"BSD-3-Clause"
] | null | null | null | spt_compute/__init__.py | mjshaw1/spt_compute_ensco_wo_temporal_forecast_lead_flexibility_and_dams | 7ea364d0588a91f5b49457b0face9e8c3c265c23 | [
"BSD-3-Clause"
] | null | null | null | spt_compute/__init__.py | mjshaw1/spt_compute_ensco_wo_temporal_forecast_lead_flexibility_and_dams | 7ea364d0588a91f5b49457b0face9e8c3c265c23 | [
"BSD-3-Clause"
] | null | null | null | from .ecmwf_forecast_process import run_ecmwf_forecast_process
from .hpc.spt_hpc_watershed_groups_process import spt_hpc_watershed_groups_process
from .process_lock import reset_lock_info_file
| 48.25 | 82 | 0.917098 | 30 | 193 | 5.333333 | 0.466667 | 0.1625 | 0.25 | 0.2625 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062176 | 193 | 3 | 83 | 64.333333 | 0.883978 | 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 |
ea5b992df152aa0b2cbad9ff8fa1e9f2d51253a3 | 2,742 | py | Python | Foundations_of_Programming/5_can_balance/canBalance.py | alvinctk/google-tech-dev-guide | 9d7759bea1f44673c2de4f25a94b27368928a59f | [
"Apache-2.0"
] | 26 | 2019-06-07T05:29:47.000Z | 2022-03-19T15:32:27.000Z | Foundations_of_Programming/5_can_balance/canBalance.py | alvinctk/google-tech-dev-guide | 9d7759bea1f44673c2de4f25a94b27368928a59f | [
"Apache-2.0"
] | null | null | null | Foundations_of_Programming/5_can_balance/canBalance.py | alvinctk/google-tech-dev-guide | 9d7759bea1f44673c2de4f25a94b27368928a59f | [
"Apache-2.0"
] | 6 | 2019-10-10T06:39:28.000Z | 2020-05-12T19:50:55.000Z | """
Problem:
Given a non-empty array, return true if there is a place to split the array so
that the sum of the numbers on one side is equal to the
sum of the numbers on the other side.
canBalance([1, 1, 1, 2, 1]) → true
canBalance([2, 1, 1, 2, 1]) → false
canBalance([10, 10]) → true
"""
def canBalance(arr):
"""... | 24.927273 | 78 | 0.601021 | 415 | 2,742 | 3.937349 | 0.20241 | 0.011016 | 0.029376 | 0.014688 | 0.832925 | 0.771726 | 0.711138 | 0.711138 | 0.711138 | 0.711138 | 0 | 0.029365 | 0.316922 | 2,742 | 109 | 79 | 25.155963 | 0.841431 | 0.522976 | 0 | 0.697674 | 0 | 0 | 0.039134 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0 | 0 | 0.209302 | 0.069767 | 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 |
ea919aae0fb8ff052b06b87db970bb9271b87da5 | 22,799 | py | Python | pyGPGO/covfunc.py | dataronio/pyGPGO | c628eec39d57d25929e6961b986378a3a35ffbd7 | [
"MIT"
] | 172 | 2017-02-13T17:17:52.000Z | 2019-12-11T03:13:28.000Z | pyGPGO/covfunc.py | ynkay/pyGPGO | 97da7a5a27f60dfa21dd3349b02cb8e5ab042efa | [
"MIT"
] | 23 | 2017-02-13T17:04:02.000Z | 2019-10-25T18:38:47.000Z | pyGPGO/covfunc.py | ynkay/pyGPGO | 97da7a5a27f60dfa21dd3349b02cb8e5ab042efa | [
"MIT"
] | 43 | 2017-04-26T15:46:33.000Z | 2019-12-05T13:02:57.000Z | import numpy as np
from scipy.special import gamma, kv
from scipy.spatial.distance import cdist
default_bounds = {
'l': [1e-4, 1],
'sigmaf': [1e-4, 2],
'sigman': [1e-6, 2],
'v': [1e-3, 10],
'gamma': [1e-3, 1.99],
'alpha': [1e-3, 1e4],
'period': [1e-3, 10]
}
def l2norm_(X, Xstar):
"""
... | 32.293201 | 107 | 0.506864 | 2,479 | 22,799 | 4.624445 | 0.068173 | 0.031926 | 0.039079 | 0.039253 | 0.869592 | 0.854763 | 0.84447 | 0.82903 | 0.816731 | 0.801989 | 0 | 0.013727 | 0.376903 | 22,799 | 705 | 108 | 32.339007 | 0.793256 | 0.401597 | 0 | 0.657692 | 0 | 0 | 0.026499 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096154 | false | 0 | 0.011538 | 0 | 0.257692 | 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 |
578c19413df30be876e843a339372a2a55bf6a15 | 95 | py | Python | models/__init__.py | young917/HGNN | 41017f4315f459e1250830ca6c498b920d57e80a | [
"MIT"
] | 269 | 2019-05-27T09:10:23.000Z | 2022-03-29T20:12:42.000Z | models/__init__.py | young917/HGNN | 41017f4315f459e1250830ca6c498b920d57e80a | [
"MIT"
] | 12 | 2019-05-23T12:10:09.000Z | 2021-12-09T02:05:47.000Z | models/__init__.py | young917/HGNN | 41017f4315f459e1250830ca6c498b920d57e80a | [
"MIT"
] | 76 | 2019-05-24T12:40:21.000Z | 2022-03-29T15:01:17.000Z | from .layers import HGNN_conv, HGNN_fc, HGNN_embedding, HGNN_classifier
from .HGNN import HGNN
| 31.666667 | 71 | 0.831579 | 15 | 95 | 5 | 0.533333 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 2 | 72 | 47.5 | 0.892857 | 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 |
57fcd22d709f1799b3fe0b4da80953edad697b34 | 37 | py | Python | src/egggist/__init__.py | Preocts/egggist | 2e80a65c8b9d91a96f101418d3f5f0bf47782508 | [
"MIT"
] | null | null | null | src/egggist/__init__.py | Preocts/egggist | 2e80a65c8b9d91a96f101418d3f5f0bf47782508 | [
"MIT"
] | null | null | null | src/egggist/__init__.py | Preocts/egggist | 2e80a65c8b9d91a96f101418d3f5f0bf47782508 | [
"MIT"
] | null | null | null | from .egggist import EggGist # noqa
| 18.5 | 36 | 0.756757 | 5 | 37 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 1 | 37 | 37 | 0.933333 | 0.108108 | 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 |
17abd3030da3e4bd0f94ec4b781ddf94242a7d91 | 1,069 | py | Python | art/classifiers/scikitlearn/__init__.py | meghana-sesetti/adversarial-robustness-toolbox | 6a5ce9e4142734ad9004e5c093ef8fa754ea6b39 | [
"MIT"
] | 1 | 2021-09-09T13:19:34.000Z | 2021-09-09T13:19:34.000Z | art/classifiers/scikitlearn/__init__.py | Tikquuss/adversarial-robustness-toolbox | 62ffe7c951d8a60d49a9ea6ac7b04aa4432a3fb7 | [
"MIT"
] | 105 | 2020-08-24T06:15:43.000Z | 2022-03-24T08:03:16.000Z | art/classifiers/scikitlearn/__init__.py | Tikquuss/adversarial-robustness-toolbox | 62ffe7c951d8a60d49a9ea6ac7b04aa4432a3fb7 | [
"MIT"
] | 1 | 2021-09-09T13:19:35.000Z | 2021-09-09T13:19:35.000Z | from art.estimators.classification.scikitlearn import SklearnClassifier
from art.estimators.classification.scikitlearn import ScikitlearnClassifier
from art.estimators.classification.scikitlearn import ScikitlearnDecisionTreeClassifier
from art.estimators.classification.scikitlearn import ScikitlearnDecisionTreeRegress... | 76.357143 | 91 | 0.914874 | 91 | 1,069 | 10.747253 | 0.208791 | 0.093047 | 0.225971 | 0.412065 | 0.638037 | 0.638037 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048644 | 1,069 | 13 | 92 | 82.230769 | 0.961652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
17cf0a283b0b98e4edf0e80f139698ef06b73e69 | 30,531 | py | Python | model.py | KarolisMart/scalable-gnns | 6651fc067cf04be494bb1a625d718951236cda78 | [
"MIT"
] | 2 | 2021-08-24T06:52:20.000Z | 2021-09-13T17:34:47.000Z | model.py | tianyuzelin/scalable-gnns | 6651fc067cf04be494bb1a625d718951236cda78 | [
"MIT"
] | null | null | null | model.py | tianyuzelin/scalable-gnns | 6651fc067cf04be494bb1a625d718951236cda78 | [
"MIT"
] | 1 | 2021-08-24T06:23:36.000Z | 2021-08-24T06:23:36.000Z | import torch
import torch.nn as nn
from collections import deque
# Ensure x and y stay inside the box and follow PBC
def apply_PBC_to_coordinates(coordinates, box_size=6):
# Only apply to coordinate columns
coordinates[:,:,-4:-2][coordinates[:,:,-4:-2] >= box_size/2] -= box_size
coordinates[:,:,-4:-2][coo... | 52.549053 | 384 | 0.664079 | 4,857 | 30,531 | 3.852996 | 0.05559 | 0.058673 | 0.029871 | 0.025436 | 0.859143 | 0.83499 | 0.819921 | 0.797371 | 0.783798 | 0.773004 | 0 | 0.021948 | 0.210573 | 30,531 | 580 | 385 | 52.639655 | 0.754502 | 0.176018 | 0 | 0.606509 | 0 | 0 | 0.003119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071006 | false | 0 | 0.008876 | 0 | 0.147929 | 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 |
17f8f085d1be650b34c5249ae6fea89baf58e97b | 140 | py | Python | graphgallery/functional/dense/__init__.py | Aria461863631/GraphGallery | 7b62f80ab36b29013bea2538a6581fc696a80201 | [
"MIT"
] | null | null | null | graphgallery/functional/dense/__init__.py | Aria461863631/GraphGallery | 7b62f80ab36b29013bea2538a6581fc696a80201 | [
"MIT"
] | null | null | null | graphgallery/functional/dense/__init__.py | Aria461863631/GraphGallery | 7b62f80ab36b29013bea2538a6581fc696a80201 | [
"MIT"
] | null | null | null | from .attr_transform import *
from .flip import *
from .onehot import *
from .node_sim import knn_graph, attr_sim
from .similarity import *
| 23.333333 | 41 | 0.778571 | 21 | 140 | 5 | 0.52381 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 140 | 5 | 42 | 28 | 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 |
aa2d34c11ca582e6cce57d83cd747fb824fef7b0 | 4,613 | py | Python | ConsumerService/tests/tests.py | erlichg/clew | 9a08893c3bac429787d4b310a19e39955e5531b9 | [
"MIT"
] | null | null | null | ConsumerService/tests/tests.py | erlichg/clew | 9a08893c3bac429787d4b310a19e39955e5531b9 | [
"MIT"
] | null | null | null | ConsumerService/tests/tests.py | erlichg/clew | 9a08893c3bac429787d4b310a19e39955e5531b9 | [
"MIT"
] | null | null | null | import unittest
from ConsumerService.consumer.utils import calculate_periods
class TestPeriodCalculationMethods(unittest.TestCase):
def test_empty(self):
self.assertEqual(calculate_periods([]), {})
def test_double_start(self):
with self.assertRaises(Exception):
calculate_periods(... | 33.18705 | 82 | 0.38695 | 398 | 4,613 | 4.268844 | 0.11809 | 0.077693 | 0.10359 | 0.123602 | 0.892878 | 0.868158 | 0.826957 | 0.826957 | 0.815185 | 0.806945 | 0 | 0.168029 | 0.469759 | 4,613 | 138 | 83 | 33.427536 | 0.526574 | 0 | 0 | 0.6 | 0 | 0 | 0.2571 | 0.114459 | 0 | 0 | 0 | 0 | 0.072 | 1 | 0.072 | false | 0 | 0.016 | 0 | 0.096 | 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 |
a4c7a79f495a83f2c8420a9706279353c44302ce | 287 | py | Python | lib/constants/__init__.py | PoireToPoire/backend | ea4fede661cde6f74b5233dc222ee0ef7a59b375 | [
"MIT"
] | null | null | null | lib/constants/__init__.py | PoireToPoire/backend | ea4fede661cde6f74b5233dc222ee0ef7a59b375 | [
"MIT"
] | null | null | null | lib/constants/__init__.py | PoireToPoire/backend | ea4fede661cde6f74b5233dc222ee0ef7a59b375 | [
"MIT"
] | null | null | null | from socket import gethostname
from os import path
API_HOST: str = gethostname()
INI_FILE_PATH: str = path.abspath(path.join(path.dirname(path.dirname(__file__)), "db/db.ini"))
STATIC_PATH: str = path.abspath(path.join(path.dirname(path.dirname(path.dirname(__file__))), "static")) | 47.833333 | 104 | 0.756098 | 43 | 287 | 4.767442 | 0.372093 | 0.268293 | 0.219512 | 0.321951 | 0.560976 | 0.468293 | 0.468293 | 0.468293 | 0.468293 | 0.468293 | 0 | 0 | 0.094077 | 287 | 6 | 104 | 47.833333 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.053004 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
351106eaaa1f0aa6970dcff5f0c4a0a4bd7b5cc1 | 46 | py | Python | gym/envs/atari/__init__.py | 23pointsNorth/gym | 5c116fb3c91e872505300031d2bd60672b3a6e03 | [
"Python-2.0",
"OLDAP-2.7"
] | 123 | 2018-11-20T09:14:29.000Z | 2020-12-28T20:05:55.000Z | tema1/gym-master/gym/envs/atari/__init__.py | BrujitoOz/ia-course | c05e497b467aab4572f3578f1b9068d4585106d2 | [
"MIT"
] | 38 | 2019-03-26T19:11:04.000Z | 2022-02-19T14:19:51.000Z | tema1/gym-master/gym/envs/atari/__init__.py | BrujitoOz/ia-course | c05e497b467aab4572f3578f1b9068d4585106d2 | [
"MIT"
] | 187 | 2018-11-28T11:38:02.000Z | 2022-03-16T11:18:39.000Z | from gym.envs.atari.atari_env import AtariEnv
| 23 | 45 | 0.847826 | 8 | 46 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 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 |
352ae87d25865c10d2a4557ca927554ffd572580 | 47 | py | Python | ekorpkit/models/__init__.py | entelecheia/eKorpKit | 9521ae4c4749419fa2b088d1b9e518e5927b7cb8 | [
"CC-BY-4.0"
] | 4 | 2022-02-26T10:54:16.000Z | 2022-02-26T11:01:56.000Z | ekorpkit/models/__init__.py | entelecheia/eKorpKit | 9521ae4c4749419fa2b088d1b9e518e5927b7cb8 | [
"CC-BY-4.0"
] | 1 | 2022-03-25T06:37:12.000Z | 2022-03-25T06:45:53.000Z | ekorpkit/models/__init__.py | entelecheia/eKorpKit | 9521ae4c4749419fa2b088d1b9e518e5927b7cb8 | [
"CC-BY-4.0"
] | null | null | null | from .tokenizer.trainer import train_tokenizer
| 23.5 | 46 | 0.87234 | 6 | 47 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 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 |
1025b6237c68b65e9d3c49f40b572b778b57e9de | 69 | py | Python | test/bootstrap.py | simonsmh/dcdownloader | 28908919bbb687f284f7e8298fdb4c6f01600e9a | [
"MIT"
] | 173 | 2018-03-19T07:06:41.000Z | 2022-02-15T00:26:35.000Z | test/bootstrap.py | simonsmh/dcdownloader | 28908919bbb687f284f7e8298fdb4c6f01600e9a | [
"MIT"
] | 10 | 2018-04-09T05:48:53.000Z | 2021-04-02T05:59:19.000Z | test/bootstrap.py | simonsmh/dcdownloader | 28908919bbb687f284f7e8298fdb4c6f01600e9a | [
"MIT"
] | 27 | 2018-03-20T06:09:41.000Z | 2021-06-08T06:44:35.000Z | import sys
sys.path.append(sys.path[0] + '/../')
import dcdownloader | 17.25 | 37 | 0.695652 | 10 | 69 | 4.8 | 0.6 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.101449 | 69 | 4 | 38 | 17.25 | 0.758065 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
107bc64fa0390d06fb931573ffb84f6ef53b1f6f | 40 | py | Python | pvcnn_code/models/s3dis/__init__.py | pahn04/PPConv | 395957b919786bb5b603f37a94ccf9173afce085 | [
"MIT"
] | 1 | 2022-03-29T02:14:57.000Z | 2022-03-29T02:14:57.000Z | pvcnn_code/models/s3dis/__init__.py | pahn04/PPConv | 395957b919786bb5b603f37a94ccf9173afce085 | [
"MIT"
] | null | null | null | pvcnn_code/models/s3dis/__init__.py | pahn04/PPConv | 395957b919786bb5b603f37a94ccf9173afce085 | [
"MIT"
] | 1 | 2022-02-08T05:47:10.000Z | 2022-02-08T05:47:10.000Z | from models.s3dis.ppcnnpp import PPCNN2
| 20 | 39 | 0.85 | 6 | 40 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.1 | 40 | 1 | 40 | 40 | 0.888889 | 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 |
52a2db347d2dddf3d45cbbcc079ffcaea4edda83 | 16,294 | py | Python | src/features_extraction.py | jimmystique/AudioClassification | 9f9966306068cff7419f6c190752bab4d35b3870 | [
"MIT"
] | null | null | null | src/features_extraction.py | jimmystique/AudioClassification | 9f9966306068cff7419f6c190752bab4d35b3870 | [
"MIT"
] | null | null | null | src/features_extraction.py | jimmystique/AudioClassification | 9f9966306068cff7419f6c190752bab4d35b3870 | [
"MIT"
] | null | null | null | from librosa.feature import chroma_stft, rms, mfcc, spectral_centroid, spectral_bandwidth, spectral_flatness, spectral_rolloff
from librosa import feature
from librosa import stft, amplitude_to_db, magphase
import argparse
import yaml
import os
import multiprocessing
import pickle as pkl
import numpy as np
from utils... | 57.575972 | 209 | 0.776789 | 2,490 | 16,294 | 4.806426 | 0.092369 | 0.079295 | 0.069602 | 0.042112 | 0.85127 | 0.8501 | 0.8501 | 0.843917 | 0.836564 | 0.836564 | 0 | 0.008226 | 0.112127 | 16,294 | 283 | 210 | 57.575972 | 0.819036 | 0.254879 | 0 | 0.51462 | 0 | 0 | 0.095715 | 0.012188 | 0 | 0 | 0 | 0 | 0 | 1 | 0.099415 | false | 0 | 0.076023 | 0 | 0.175439 | 0.146199 | 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 |
52ef0934eb984fcad5d78d7b721b8fe32a0ed005 | 39,722 | py | Python | tests/test_prom_metrics_check.py | maciejmazur10c/prom-metrics-check | 12627554d0aef6a2dcba66f9a41b5ef1f8e6b114 | [
"MIT"
] | 32 | 2020-07-24T12:02:06.000Z | 2022-03-22T08:13:55.000Z | tests/test_prom_metrics_check.py | maciejmazur10c/prom-metrics-check | 12627554d0aef6a2dcba66f9a41b5ef1f8e6b114 | [
"MIT"
] | 1 | 2020-07-24T10:42:07.000Z | 2020-07-24T11:30:46.000Z | tests/test_prom_metrics_check.py | maciejmazur10c/prom-metrics-check | 12627554d0aef6a2dcba66f9a41b5ef1f8e6b114 | [
"MIT"
] | 4 | 2020-08-02T06:49:52.000Z | 2021-11-12T07:15:22.000Z | #!/usr/bin/env python
"""Tests for `prom_metrics_check` package."""
import unittest
from prom_metrics_check import prom_metrics_check, cli
def get_all_metrics(query=None):
return prom_metrics_check.find_metrics(
tokenized_query=prom_metrics_check.tokenize_string(query))
class TestCLI(unittest.TestCase... | 43.940265 | 80 | 0.656135 | 4,268 | 39,722 | 5.81373 | 0.061856 | 0.117882 | 0.051344 | 0.071092 | 0.929029 | 0.914682 | 0.893201 | 0.870753 | 0.846371 | 0.828396 | 0 | 0.010447 | 0.21444 | 39,722 | 903 | 81 | 43.988926 | 0.784739 | 0.001511 | 0 | 0.688295 | 0 | 0 | 0.410329 | 0.306057 | 0 | 0 | 0 | 0 | 0.125954 | 1 | 0.127226 | false | 0 | 0.002545 | 0.002545 | 0.139949 | 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 |
52f2255e479f70a2993e96f39b24bf9c63835132 | 137 | py | Python | core/python/dev_test.py | yunnant/kungfu | 03dba19c922a5950068bd2d223488b8543ad8dd1 | [
"Apache-2.0"
] | 1 | 2020-06-16T01:19:49.000Z | 2020-06-16T01:19:49.000Z | core/python/dev_test.py | yunnant/kungfu | 03dba19c922a5950068bd2d223488b8543ad8dd1 | [
"Apache-2.0"
] | 1 | 2019-08-23T01:52:33.000Z | 2019-08-23T01:52:33.000Z | core/python/dev_test.py | yunnant/kungfu | 03dba19c922a5950068bd2d223488b8543ad8dd1 | [
"Apache-2.0"
] | null | null | null |
from env import setup_environment_variables
if __name__ == '__main__':
setup_environment_variables()
from test import __main__
| 19.571429 | 43 | 0.781022 | 16 | 137 | 5.6875 | 0.625 | 0.351648 | 0.549451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167883 | 137 | 6 | 44 | 22.833333 | 0.798246 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 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 |
eabfe32613f655679b575dae7969200abbca3565 | 24 | py | Python | scripts/driver.py | ankit-vaghela30/Distributed-Malware-classification | 5479b5a9590c1ec436d937b287b7ffe08ff568b1 | [
"MIT"
] | 3 | 2021-10-02T18:19:58.000Z | 2021-10-31T13:40:37.000Z | scripts/driver.py | ankit-vaghela30/Distributed-Malware-classification | 5479b5a9590c1ec436d937b287b7ffe08ff568b1 | [
"MIT"
] | null | null | null | scripts/driver.py | ankit-vaghela30/Distributed-Malware-classification | 5479b5a9590c1ec436d937b287b7ffe08ff568b1 | [
"MIT"
] | null | null | null | import main
main.main()
| 8 | 11 | 0.75 | 4 | 24 | 4.5 | 0.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 2 | 12 | 12 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
d826abae2351c468d761d7a4548c4aebb110824f | 45 | py | Python | metrics/CD_EMD/cd/chamferdist/__init__.py | JiazeWang/SP-GAN | 455003f78b1160ebe0a2056005b069808c0df35b | [
"MIT"
] | 73 | 2021-05-11T12:00:29.000Z | 2022-03-31T09:40:12.000Z | metrics/CD_EMD/cd/chamferdist/__init__.py | JiazeWang/SP-GAN | 455003f78b1160ebe0a2056005b069808c0df35b | [
"MIT"
] | 6 | 2021-08-18T13:03:43.000Z | 2022-03-30T04:48:29.000Z | metrics/CD_EMD/cd/chamferdist/__init__.py | JiazeWang/SP-GAN | 455003f78b1160ebe0a2056005b069808c0df35b | [
"MIT"
] | 13 | 2021-08-28T20:09:13.000Z | 2022-03-20T12:42:51.000Z | from .ChamferDistance import ChamferDistance
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 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 |
d83c42031dd26c1475dc86270d7d4aea23d980e1 | 179 | py | Python | secondProject/driveTest/driveManager/views.py | loic9654/Djangodev | 2babb235d68f508c64171a146be8483009dea7f7 | [
"Apache-2.0"
] | null | null | null | secondProject/driveTest/driveManager/views.py | loic9654/Djangodev | 2babb235d68f508c64171a146be8483009dea7f7 | [
"Apache-2.0"
] | null | null | null | secondProject/driveTest/driveManager/views.py | loic9654/Djangodev | 2babb235d68f508c64171a146be8483009dea7f7 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from .models import Project, Observation
# Get Project and display them
def index(request):
return render(request, 'projects/index.html') | 25.571429 | 49 | 0.782123 | 24 | 179 | 5.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139665 | 179 | 7 | 49 | 25.571429 | 0.909091 | 0.156425 | 0 | 0 | 0 | 0 | 0.126667 | 0 | 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 |
dc1f5622ae1fd345e067fc739243864c0168fca5 | 156 | py | Python | 04/py/q5.py | RussellDash332/practice-makes-perfect | 917822b461550a2e3679351e467362f95d9e428d | [
"MIT"
] | 2 | 2021-11-18T06:22:09.000Z | 2021-12-25T09:52:57.000Z | 04/py/q5.py | RussellDash332/practice-makes-perfect | 917822b461550a2e3679351e467362f95d9e428d | [
"MIT"
] | 2 | 2021-11-17T16:28:00.000Z | 2021-12-01T09:59:40.000Z | 04/py/q5.py | RussellDash332/practice-makes-perfect | 917822b461550a2e3679351e467362f95d9e428d | [
"MIT"
] | null | null | null | def foo(x):
def bar(x, y):
return lambda y: y(x)
return lambda y: bar(x, y)
print(foo(lambda x: x**3)(lambda x: x**2)(lambda x: x)(4)) | 26 | 58 | 0.532051 | 32 | 156 | 2.59375 | 0.34375 | 0.253012 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.269231 | 156 | 6 | 58 | 26 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0.2 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
dc2ad14c2d877bc8d62f79f094a997c31725bf69 | 70 | py | Python | library/pycount/src/pycount/__init__.py | introlab/demo_integration | fb74f2e70fc690b39e581430b83b3e66a35d756f | [
"BSD-3-Clause"
] | 1 | 2021-06-18T15:58:42.000Z | 2021-06-18T15:58:42.000Z | library/pycount/src/pycount/__init__.py | introlab/demo_integration | fb74f2e70fc690b39e581430b83b3e66a35d756f | [
"BSD-3-Clause"
] | 3 | 2021-06-08T19:11:06.000Z | 2021-07-01T18:38:17.000Z | library/pycount/src/pycount/__init__.py | introlab/demo_integration | fb74f2e70fc690b39e581430b83b3e66a35d756f | [
"BSD-3-Clause"
] | null | null | null | from .characters import count_characters, count_characters_ignoreCase
| 35 | 69 | 0.9 | 8 | 70 | 7.5 | 0.625 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 70 | 1 | 70 | 70 | 0.923077 | 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 |
dc8abf9d6d88835f1ea4e4bda176af7c81e40329 | 285 | py | Python | torchreid/data/__init__.py | qw85639229/hardest | ef86536dbbe1089248e34afbbb7bb513f97f58f1 | [
"MIT"
] | 21 | 2020-10-13T01:33:31.000Z | 2022-01-04T15:58:31.000Z | torchreid/data/__init__.py | qw85639229/hardest | ef86536dbbe1089248e34afbbb7bb513f97f58f1 | [
"MIT"
] | 10 | 2020-11-18T07:40:22.000Z | 2021-10-05T07:58:25.000Z | torchreid/data/__init__.py | qw85639229/hardest | ef86536dbbe1089248e34afbbb7bb513f97f58f1 | [
"MIT"
] | 7 | 2020-11-19T08:40:27.000Z | 2022-02-05T06:24:08.000Z | from __future__ import absolute_import
from __future__ import print_function
from .datasets import Dataset, ImageDataset, VideoDataset
from .datasets import register_image_dataset
from .datasets import register_video_dataset
from .datamanager import ImageDataManager, VideoDataManager | 40.714286 | 59 | 0.880702 | 33 | 285 | 7.181818 | 0.484848 | 0.151899 | 0.227848 | 0.219409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 285 | 7 | 59 | 40.714286 | 0.918605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.166667 | 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 |
f49eded389e556e54b5a7ef5f371c8e08a442fba | 2,396 | py | Python | tests/avs_client/test_device.py | Yud07/alexa-voice-service-client | 8136dbe8ac426f6323001b7d42edc8d937f9a933 | [
"MIT"
] | null | null | null | tests/avs_client/test_device.py | Yud07/alexa-voice-service-client | 8136dbe8ac426f6323001b7d42edc8d937f9a933 | [
"MIT"
] | null | null | null | tests/avs_client/test_device.py | Yud07/alexa-voice-service-client | 8136dbe8ac426f6323001b7d42edc8d937f9a933 | [
"MIT"
] | 2 | 2018-07-12T19:56:42.000Z | 2018-07-20T23:56:35.000Z | import pytest
from avs_client.avs_client import device
@pytest.fixture
def manager():
return device.DeviceManager()
def test_default_device_state(manager):
assert manager.build_device_state() == [
{
'header': {
'namespace': 'AudioPlayer',
'name': 'Playbac... | 23.490196 | 53 | 0.365609 | 122 | 2,396 | 7.065574 | 0.344262 | 0.139211 | 0.148492 | 0.153132 | 0.844548 | 0.719258 | 0.719258 | 0.719258 | 0.600928 | 0.600928 | 0 | 0.00841 | 0.503756 | 2,396 | 101 | 54 | 23.722772 | 0.716569 | 0 | 0 | 0.537634 | 0 | 0 | 0.250417 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 1 | 0.032258 | false | 0 | 0.021505 | 0.010753 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 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 |
f4ca9970c41ae99b39ccbd65a68785991c66caaa | 2,427 | py | Python | zhmcclient/__init__.py | vkpro-forks/python-zhmcclient | eab2dca37cb417d03411450dabf72805214b5ca0 | [
"Apache-2.0"
] | null | null | null | zhmcclient/__init__.py | vkpro-forks/python-zhmcclient | eab2dca37cb417d03411450dabf72805214b5ca0 | [
"Apache-2.0"
] | null | null | null | zhmcclient/__init__.py | vkpro-forks/python-zhmcclient | eab2dca37cb417d03411450dabf72805214b5ca0 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016-2017 IBM Corp. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 41.135593 | 74 | 0.667903 | 315 | 2,427 | 4.965079 | 0.403175 | 0.223785 | 0.313299 | 0.391304 | 0.205243 | 0.078005 | 0 | 0 | 0 | 0 | 0 | 0.06457 | 0.253399 | 2,427 | 58 | 75 | 41.844828 | 0.798565 | 0.451998 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0 | 1 | 0 | true | 0.027778 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
76228406605f4687607899e249b19479fa1c3905 | 43 | py | Python | hoverpy/__init__.py | alvarocavalcanti/hoverpy | e153ec57f80634019d827d378f184c01fedc5a0e | [
"Apache-2.0"
] | 88 | 2016-11-10T18:05:28.000Z | 2021-04-26T05:46:34.000Z | hoverpy/__init__.py | alvarocavalcanti/hoverpy | e153ec57f80634019d827d378f184c01fedc5a0e | [
"Apache-2.0"
] | 11 | 2016-12-10T21:03:25.000Z | 2018-10-05T09:46:21.000Z | hoverpy/__init__.py | alvarocavalcanti/hoverpy | e153ec57f80634019d827d378f184c01fedc5a0e | [
"Apache-2.0"
] | 10 | 2016-11-10T19:02:28.000Z | 2018-10-22T10:17:55.000Z | from .hp import *
from .decorators import * | 21.5 | 25 | 0.744186 | 6 | 43 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 25 | 21.5 | 0.888889 | 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 |
762bd9624d5da0f955d6c9e2e5f60211974408e8 | 27 | py | Python | tests/test_init.py | AgentIQ/aiq-airflow | e4463e00602dcdae26334d252502781534feeac8 | [
"Apache-2.0"
] | null | null | null | tests/test_init.py | AgentIQ/aiq-airflow | e4463e00602dcdae26334d252502781534feeac8 | [
"Apache-2.0"
] | 12 | 2020-04-03T17:05:53.000Z | 2021-12-01T22:55:39.000Z | tests/test_init.py | AgentIQ/aiq-airflow | e4463e00602dcdae26334d252502781534feeac8 | [
"Apache-2.0"
] | null | null | null |
def test_init():
pass
| 6.75 | 16 | 0.592593 | 4 | 27 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 27 | 3 | 17 | 9 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
521fe976e8961f3942a21ac8dc40d6944128c1b7 | 24 | py | Python | app/__init__.py | RAV10K1/med_cab_test | 51e5673d25cb1c0e04344940c76d13b101828774 | [
"MIT"
] | null | null | null | app/__init__.py | RAV10K1/med_cab_test | 51e5673d25cb1c0e04344940c76d13b101828774 | [
"MIT"
] | null | null | null | app/__init__.py | RAV10K1/med_cab_test | 51e5673d25cb1c0e04344940c76d13b101828774 | [
"MIT"
] | null | null | null | from app.main import API | 24 | 24 | 0.833333 | 5 | 24 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
522bd6b2f52115f5582f9449c38c5bd762480e44 | 109 | py | Python | catag/authorize/views.py | catnlp/VisualTool | 26122a5cccced04fa6befa4bfdd21d6352e6c027 | [
"MIT"
] | null | null | null | catag/authorize/views.py | catnlp/VisualTool | 26122a5cccced04fa6befa4bfdd21d6352e6c027 | [
"MIT"
] | null | null | null | catag/authorize/views.py | catnlp/VisualTool | 26122a5cccced04fa6befa4bfdd21d6352e6c027 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, "authorize/index.html")
| 18.166667 | 50 | 0.761468 | 14 | 109 | 5.928571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 5 | 51 | 21.8 | 0.882979 | 0 | 0 | 0 | 0 | 0 | 0.183486 | 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 |
527c85b1c933d0ac8f9664fa64296821ae45b3ff | 101 | py | Python | office365/sharepoint/files/checkedOutFile.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/files/checkedOutFile.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/files/checkedOutFile.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.sharepoint.base_entity import BaseEntity
class CheckedOutFile(BaseEntity):
pass
| 16.833333 | 55 | 0.821782 | 11 | 101 | 7.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.128713 | 101 | 5 | 56 | 20.2 | 0.897727 | 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 |
873ac0d2aa4089cf6a2f38448a5e6f51996ac90d | 339 | py | Python | test/script/struct-test.py | Fahien/pyspot | 69a6fc817cdcf9101940025850d647567f5efe3e | [
"MIT"
] | 2 | 2018-01-09T13:06:25.000Z | 2018-02-12T10:05:26.000Z | test/script/struct-test.py | Fahien/pyspot | 69a6fc817cdcf9101940025850d647567f5efe3e | [
"MIT"
] | null | null | null | test/script/struct-test.py | Fahien/pyspot | 69a6fc817cdcf9101940025850d647567f5efe3e | [
"MIT"
] | null | null | null | import pyspot
def create_details():
details = pyspot.test.Details(1)
details.thing.value = 1
return details
def send_details( details ):
return details
def compare_details( details ):
return details == pyspot.test.Details(3)
def change_details( details ):
details = pyspot.test.Details(6)... | 16.142857 | 42 | 0.702065 | 43 | 339 | 5.44186 | 0.348837 | 0.299145 | 0.217949 | 0.307692 | 0.264957 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01487 | 0.20649 | 339 | 20 | 43 | 16.95 | 0.855019 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.083333 | 0.166667 | 0.75 | 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 |
5e40df52334048873983c5b1e66637b3d37bea62 | 29 | py | Python | test.py | jross1996/gxuyw-Introduction-to-Open-Source | 555b3ad7818d93d64dd87f0da43eb00703eb2587 | [
"Apache-2.0"
] | null | null | null | test.py | jross1996/gxuyw-Introduction-to-Open-Source | 555b3ad7818d93d64dd87f0da43eb00703eb2587 | [
"Apache-2.0"
] | null | null | null | test.py | jross1996/gxuyw-Introduction-to-Open-Source | 555b3ad7818d93d64dd87f0da43eb00703eb2587 | [
"Apache-2.0"
] | null | null | null | print("this is my test file") | 29 | 29 | 0.724138 | 6 | 29 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5e52f0dfc36d0012e7a8247d050a167f621eb998 | 25,474 | py | Python | src/tt_personal_messages/tt_personal_messages/tests/test_operations.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 1 | 2020-04-02T11:51:20.000Z | 2020-04-02T11:51:20.000Z | src/tt_personal_messages/tt_personal_messages/tests/test_operations.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null | src/tt_personal_messages/tt_personal_messages/tests/test_operations.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null |
import time
import asyncio
from aiohttp import test_utils
from tt_web import utils
from tt_web import postgresql as db
from .. import objects
from .. import relations
from .. import operations
from . import helpers
class OperationsTests(helpers.BaseTests):
async def check_account_created(self, number=1, id=... | 44.225694 | 127 | 0.635668 | 3,235 | 25,474 | 4.783926 | 0.039567 | 0.099832 | 0.043616 | 0.067201 | 0.907987 | 0.880202 | 0.856552 | 0.827087 | 0.804601 | 0.775459 | 0 | 0.03515 | 0.245034 | 25,474 | 575 | 128 | 44.302609 | 0.769551 | 0.003651 | 0 | 0.569588 | 0 | 0 | 0.109075 | 0.001655 | 0 | 0 | 0 | 0 | 0.239691 | 1 | 0 | false | 0 | 0.023196 | 0 | 0.033505 | 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 |
5e5e44890ca0bbce2bcba6d4c6d9eec3220da96d | 25,588 | py | Python | pyrror/data.py | YanickT/Pyrror | 846a85dd8941bf05de105df0f06a52864810203a | [
"MIT"
] | 1 | 2021-09-21T13:21:42.000Z | 2021-09-21T13:21:42.000Z | pyrror/data.py | YanickT/Pyrror | 846a85dd8941bf05de105df0f06a52864810203a | [
"MIT"
] | null | null | null | pyrror/data.py | YanickT/Pyrror | 846a85dd8941bf05de105df0f06a52864810203a | [
"MIT"
] | 1 | 2021-09-19T13:32:45.000Z | 2021-09-19T13:32:45.000Z | from pyrror.controls import type_check, instancemethod
from pyrror.unit_helper import unit_control
from pyrror.data_helper import round_data, digits
from pyrror.unit import Unit
from typing import Union
class Data:
"""
Main-Class of the project.
Represents a value with uncertainty
"""
def __init... | 33.059432 | 129 | 0.578279 | 3,086 | 25,588 | 4.667531 | 0.052171 | 0.033741 | 0.030131 | 0.026243 | 0.875798 | 0.837823 | 0.800264 | 0.789919 | 0.762774 | 0.713621 | 0 | 0.004225 | 0.315578 | 25,588 | 773 | 130 | 33.102199 | 0.818078 | 0.300336 | 0 | 0.674095 | 0 | 0.011142 | 0.110929 | 0.007576 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153203 | false | 0 | 0.013928 | 0.008357 | 0.337047 | 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 |
0dcc399eb87c51956b9ec3d1f8b782ea4ef7e3f5 | 19,696 | py | Python | scripts/disable_add_strats_bank_v1.py | AlphaFinanceLab/alphahomora-bsc | 2da7c97c5622deba3aa3151d10123d41f5b7d035 | [
"MIT"
] | 11 | 2021-03-27T09:56:05.000Z | 2021-07-12T13:58:15.000Z | scripts/disable_add_strats_bank_v1.py | AlphaFinanceLab/alphahomora-bsc | 2da7c97c5622deba3aa3151d10123d41f5b7d035 | [
"MIT"
] | null | null | null | scripts/disable_add_strats_bank_v1.py | AlphaFinanceLab/alphahomora-bsc | 2da7c97c5622deba3aa3151d10123d41f5b7d035 | [
"MIT"
] | 8 | 2021-03-18T23:41:25.000Z | 2021-07-02T18:11:33.000Z | from brownie import accounts, interface, Contract
from brownie import (
Bank, ConfigurableInterestBankConfig, UniswapGoblin
)
from brownie import network
import eth_abi
from .utils import *
# network.gas_price('5 gwei')
from brownie.network.gas.strategies import GasNowScalingStrategy
gas_strategy = GasNowScalingSt... | 70.594982 | 127 | 0.779295 | 827 | 19,696 | 18.411125 | 0.262394 | 0.017733 | 0.011822 | 0.00683 | 0.545843 | 0.545449 | 0.465322 | 0.456784 | 0.398923 | 0.398923 | 0 | 0.463256 | 0.149523 | 19,696 | 278 | 128 | 70.848921 | 0.445705 | 0.038891 | 0 | 0.496032 | 0 | 0 | 0.697904 | 0.659698 | 0 | 0 | 0.657469 | 0 | 0.02381 | 1 | 0.003968 | false | 0 | 0.02381 | 0 | 0.027778 | 0.055556 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ddb4d2eed2b931ee89d94dc3ad533dee325b812 | 2,066 | py | Python | integrators/contact.py | mseri/contact-variational-integrator | abdb887eb404568f585aeb2c2a743d0dc5afa3b9 | [
"MIT"
] | 1 | 2019-12-16T21:29:48.000Z | 2019-12-16T21:29:48.000Z | integrators/contact.py | mseri/contact-variational-integrator | abdb887eb404568f585aeb2c2a743d0dc5afa3b9 | [
"MIT"
] | 1 | 2019-07-31T20:48:16.000Z | 2019-08-01T21:04:03.000Z | integrators/contact.py | mseri/contact-variational-integrator | abdb887eb404568f585aeb2c2a743d0dc5afa3b9 | [
"MIT"
] | 1 | 2019-12-16T21:29:50.000Z | 2019-12-16T21:29:50.000Z | import numpy as np
from integrators.common import getsteps
def contact(init, tspan, h, a, acc, forcing):
"""
Integrate the damped oscillator with damping factor a
using the first order contact variational integrator.
"""
steps = getsteps(tspan, h)
hsq = np.math.pow(h, 2)
t0, _ = tspan
... | 30.835821 | 79 | 0.561471 | 352 | 2,066 | 3.289773 | 0.196023 | 0.017271 | 0.051813 | 0.056995 | 0.800518 | 0.779793 | 0.767703 | 0.767703 | 0.767703 | 0.74266 | 0 | 0.051027 | 0.269603 | 2,066 | 66 | 80 | 31.30303 | 0.716368 | 0.222168 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.047619 | 0 | 0.190476 | 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 |
0ddf0a8fa43a63c5840ad2b7033022deb03e6730 | 41 | py | Python | projects/playqa/nein/__init__.py | mitchelljeff/SUMMAD4.3 | 33bb3a74cff16a7aa699660a08d98ddcd662cad5 | [
"MIT"
] | 1 | 2017-09-15T14:06:07.000Z | 2017-09-15T14:06:07.000Z | projects/playqa/nein/__init__.py | mitchelljeff/SUMMAD4.3 | 33bb3a74cff16a7aa699660a08d98ddcd662cad5 | [
"MIT"
] | null | null | null | projects/playqa/nein/__init__.py | mitchelljeff/SUMMAD4.3 | 33bb3a74cff16a7aa699660a08d98ddcd662cad5 | [
"MIT"
] | null | null | null | from .agent import *
from .web import App | 20.5 | 20 | 0.756098 | 7 | 41 | 4.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 2 | 21 | 20.5 | 0.911765 | 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 |
2187054f973d00f2bf3638ca583c43a20ce9c800 | 29 | py | Python | pyflickr/__init__.py | rf777rf777/PyFlickr | eb3da9cbf62699eea27362d810bf9e974f91fcb7 | [
"MIT"
] | 8 | 2018-09-03T12:39:00.000Z | 2020-04-25T03:48:41.000Z | pyflickr/__init__.py | rf777rf777/PyFlickr | eb3da9cbf62699eea27362d810bf9e974f91fcb7 | [
"MIT"
] | null | null | null | pyflickr/__init__.py | rf777rf777/PyFlickr | eb3da9cbf62699eea27362d810bf9e974f91fcb7 | [
"MIT"
] | 1 | 2018-09-08T15:41:30.000Z | 2018-09-08T15:41:30.000Z | from .api import PyFlickr
| 9.666667 | 26 | 0.724138 | 4 | 29 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 2 | 27 | 14.5 | 0.954545 | 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 |
21cf83986ab19364f0ad8ace7ce6c4fac0004386 | 955 | py | Python | tests/examples/test_heartbeat_padring.py | psumesh/siliconcompiler | 14663c1d0d6c46994bc9bb24595db7e4ac4e1600 | [
"Apache-2.0"
] | 424 | 2021-12-04T15:45:12.000Z | 2022-03-31T20:27:55.000Z | tests/examples/test_heartbeat_padring.py | psumesh/siliconcompiler | 14663c1d0d6c46994bc9bb24595db7e4ac4e1600 | [
"Apache-2.0"
] | 105 | 2021-12-03T21:25:29.000Z | 2022-03-31T22:36:59.000Z | tests/examples/test_heartbeat_padring.py | psumesh/siliconcompiler | 14663c1d0d6c46994bc9bb24595db7e4ac4e1600 | [
"Apache-2.0"
] | 38 | 2021-12-04T21:26:20.000Z | 2022-03-21T02:39:29.000Z | import os
import pytest
import siliconcompiler
import sys
@pytest.mark.eda
def test_heartbeat_padring_with_floorplan(setup_example_test, oh_dir):
setup_example_test('heartbeat_padring')
from floorplan_build import build_core, build_top
# Run the build, and verify its outputs.
build_core()
build_t... | 30.806452 | 88 | 0.769634 | 139 | 955 | 5.05036 | 0.266187 | 0.074074 | 0.11396 | 0.096866 | 0.874644 | 0.874644 | 0.874644 | 0.77208 | 0.77208 | 0.77208 | 0 | 0.009639 | 0.13089 | 955 | 30 | 89 | 31.833333 | 0.836145 | 0.080628 | 0 | 0.571429 | 0 | 0 | 0.296 | 0.251429 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.095238 | false | 0 | 0.285714 | 0 | 0.380952 | 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 |
21ef52cc9c135d05d4dc47d52c97e92a3daf0bbf | 99 | py | Python | migrations/376-mkt-featured-collections.py | muffinresearch/zamboni | 045a6f07c775b99672af6d9857d295ed02fe5dd9 | [
"BSD-3-Clause"
] | null | null | null | migrations/376-mkt-featured-collections.py | muffinresearch/zamboni | 045a6f07c775b99672af6d9857d295ed02fe5dd9 | [
"BSD-3-Clause"
] | null | null | null | migrations/376-mkt-featured-collections.py | muffinresearch/zamboni | 045a6f07c775b99672af6d9857d295ed02fe5dd9 | [
"BSD-3-Clause"
] | null | null | null |
# Migration removed because it depends on models which have been removed
def run():
return False | 19.8 | 72 | 0.777778 | 15 | 99 | 5.133333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 99 | 5 | 73 | 19.8 | 0.950617 | 0.707071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
21ff2c120950dc9e7f7ffcb94a61cdfa29a7584c | 109 | py | Python | litcoin/script/humanreadable.py | odonnellnoel/litcoin | cebe745df97d060c16b8d9dfa9e58a0418f75560 | [
"MIT"
] | null | null | null | litcoin/script/humanreadable.py | odonnellnoel/litcoin | cebe745df97d060c16b8d9dfa9e58a0418f75560 | [
"MIT"
] | null | null | null | litcoin/script/humanreadable.py | odonnellnoel/litcoin | cebe745df97d060c16b8d9dfa9e58a0418f75560 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from ..binhex import x
def script_to_human_readable(script):
return x(script)
| 12.111111 | 37 | 0.724771 | 17 | 109 | 4.470588 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.165138 | 109 | 8 | 38 | 13.625 | 0.824176 | 0.192661 | 0 | 0 | 0 | 0 | 0 | 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 |
1d0662a8432af166300c315b1dfb23d502e62128 | 25 | py | Python | dama/plotting/__init__.py | philippeller/MilleFeuille | 962c322531e208a7d20a273a56d13b954ad80bc3 | [
"Apache-2.0"
] | 4 | 2020-04-22T07:46:27.000Z | 2021-03-11T11:44:08.000Z | dama/plotting/__init__.py | philippeller/MilleFeuille | 962c322531e208a7d20a273a56d13b954ad80bc3 | [
"Apache-2.0"
] | 4 | 2020-04-22T07:14:36.000Z | 2021-03-10T13:56:06.000Z | dama/plotting/__init__.py | philippeller/pynocular | 962c322531e208a7d20a273a56d13b954ad80bc3 | [
"Apache-2.0"
] | 1 | 2021-03-09T19:22:44.000Z | 2021-03-09T19:22:44.000Z | from .stat_plot import *
| 12.5 | 24 | 0.76 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 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 |
10f1cd5b126636eea3ba2da396fff6b122f18ae9 | 3,304 | py | Python | wavenet_vocoder/builder.py | dendisuhubdy/parallel_wavenet_vocoder | 8f2bd7c0bd30cb90cc7ff8438ce78545c409227b | [
"MIT"
] | 155 | 2018-08-02T09:08:08.000Z | 2022-01-03T22:14:52.000Z | wavenet_vocoder/builder.py | dendisuhubdy/parallel_wavenet_vocoder | 8f2bd7c0bd30cb90cc7ff8438ce78545c409227b | [
"MIT"
] | 1 | 2019-09-02T10:42:36.000Z | 2019-09-24T02:50:18.000Z | wavenet_vocoder/builder.py | dendisuhubdy/parallel_wavenet_vocoder | 8f2bd7c0bd30cb90cc7ff8438ce78545c409227b | [
"MIT"
] | 34 | 2018-08-06T02:46:34.000Z | 2021-03-15T02:18:20.000Z | # coding: utf-8
from __future__ import with_statement, print_function, absolute_import
def wavenet(out_channels=256,
layers=20,
stacks=2,
residual_channels=512,
gate_channels=512,
skip_out_channels=512,
cin_channels=-1,
gin_channels=-... | 37.977011 | 92 | 0.578692 | 328 | 3,304 | 5.417683 | 0.185976 | 0.074283 | 0.050647 | 0.060777 | 0.785594 | 0.775464 | 0.775464 | 0.775464 | 0.775464 | 0.775464 | 0 | 0.033191 | 0.361683 | 3,304 | 86 | 93 | 38.418605 | 0.809388 | 0.003935 | 0 | 0.753247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025974 | false | 0 | 0.038961 | 0 | 0.090909 | 0.012987 | 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 |
10f684ba1a09ab7305df1167555b80d5701d57b3 | 28,115 | py | Python | spark_fhir_schemas/stu3/complex_types/communicationrequest.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | 2 | 2020-10-31T23:25:01.000Z | 2021-06-09T14:12:42.000Z | spark_fhir_schemas/stu3/complex_types/communicationrequest.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/stu3/complex_types/communicationrequest.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import (
StructType,
StructField,
StringType,
ArrayType,
DataType,
TimestampType,
)
# This file is auto-generated by generate_schema so do not edit manually
# noinspection PyPep8Naming
class CommunicationRequestSchema:
"""
... | 49.498239 | 101 | 0.540139 | 2,555 | 28,115 | 5.720548 | 0.140509 | 0.073071 | 0.046182 | 0.068966 | 0.830597 | 0.820676 | 0.820676 | 0.797209 | 0.776546 | 0.770799 | 0 | 0.002806 | 0.417002 | 28,115 | 567 | 102 | 49.585538 | 0.888902 | 0.289383 | 0 | 0.698492 | 0 | 0 | 0.023683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002513 | false | 0 | 0.032663 | 0 | 0.042714 | 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 |
80049a30b6f4a5a8e2b777606a07b87d2087251d | 23 | py | Python | mytoolz/__init__.py | mykkro/mytoolz | acdde5b7da75fbf507368efbda77656b7126c61b | [
"MIT"
] | null | null | null | mytoolz/__init__.py | mykkro/mytoolz | acdde5b7da75fbf507368efbda77656b7126c61b | [
"MIT"
] | null | null | null | mytoolz/__init__.py | mykkro/mytoolz | acdde5b7da75fbf507368efbda77656b7126c61b | [
"MIT"
] | null | null | null | from .mytoolz import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 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 |
801e45fc9621bcd7d2cb10ccc06ab3a41a023d96 | 9,677 | py | Python | bvbq/bvbq_functions.py | DFNaiff/BVBQ | 48f0eb624483f67b748d791efc0c06ddfb6e0646 | [
"MIT"
] | null | null | null | bvbq/bvbq_functions.py | DFNaiff/BVBQ | 48f0eb624483f67b748d791efc0c06ddfb6e0646 | [
"MIT"
] | null | null | null | bvbq/bvbq_functions.py | DFNaiff/BVBQ | 48f0eb624483f67b748d791efc0c06ddfb6e0646 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# pylint: disable=E1101
"""
Objective functions for BVBQ
"""
import math
import torch
from . import bayesquad
from . import distributions
from . import utils
def mcbq_dmvn_relbo(logprobgp, mean, var, mixmeans, mixvars, mixweights,
nsamples=100, logdelta=-20., reg=1.0... | 36.379699 | 79 | 0.629534 | 957 | 9,677 | 6.298851 | 0.124347 | 0.065693 | 0.06221 | 0.045786 | 0.868281 | 0.854678 | 0.820007 | 0.753816 | 0.723955 | 0.723955 | 0 | 0.008532 | 0.3096 | 9,677 | 265 | 80 | 36.516981 | 0.893728 | 0.508629 | 0 | 0.338235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0 | 0.073529 | 0 | 0.25 | 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 |
8022e00a98393f6df5c3372cef9776bf84cb68a2 | 22 | py | Python | pptb/tools/__init__.py | cattidea/paddle-toolbox | e9503d6c82165f1c632eeda020abd3a1d5cbfcf9 | [
"Apache-2.0",
"MIT"
] | 6 | 2021-10-09T07:36:10.000Z | 2021-12-08T01:05:30.000Z | pptb/tools/__init__.py | hanknewbird/paddle-toolbox | 1f1e4d2dd38e797092c1bba0ec3797dd4bef43f6 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-11-17T15:26:51.000Z | 2021-12-24T10:58:41.000Z | pptb/tools/__init__.py | hanknewbird/paddle-toolbox | 1f1e4d2dd38e797092c1bba0ec3797dd4bef43f6 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-12-08T01:05:59.000Z | 2021-12-08T01:05:59.000Z | from .mixing import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 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 |
80374c590f82ff89749c3589c53cf500347e0814 | 4,815 | py | Python | tests/test_onboarding.py | clifton/dydx-v3-python | 974ffc8f3512aa48171ef8dc2e623d6df3536812 | [
"Apache-2.0"
] | 109 | 2021-01-07T02:19:24.000Z | 2022-03-27T21:56:36.000Z | tests/test_onboarding.py | clifton/dydx-v3-python | 974ffc8f3512aa48171ef8dc2e623d6df3536812 | [
"Apache-2.0"
] | 73 | 2021-01-14T23:29:58.000Z | 2022-03-30T09:27:54.000Z | tests/test_onboarding.py | clifton/dydx-v3-python | 974ffc8f3512aa48171ef8dc2e623d6df3536812 | [
"Apache-2.0"
] | 60 | 2021-01-13T04:34:12.000Z | 2022-03-26T10:14:35.000Z | from web3 import Web3
from dydx3 import Client
from dydx3.constants import NETWORK_ID_MAINNET
from dydx3.constants import NETWORK_ID_ROPSTEN
from tests.constants import DEFAULT_HOST
GANACHE_PRIVATE_KEY = (
'0x4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d'
)
EXPECTED_API_KEY_CREDENTIALS_MAINNE... | 36.203008 | 78 | 0.69055 | 520 | 4,815 | 5.919231 | 0.125 | 0.074724 | 0.127031 | 0.059779 | 0.816764 | 0.776478 | 0.755036 | 0.755036 | 0.741391 | 0.741391 | 0 | 0.058043 | 0.248598 | 4,815 | 132 | 79 | 36.477273 | 0.792703 | 0.028037 | 0 | 0.576271 | 0 | 0 | 0.092834 | 0.074439 | 0 | 0 | 0.041925 | 0 | 0.067797 | 1 | 0.067797 | false | 0.016949 | 0.042373 | 0 | 0.118644 | 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 |
3378725c50b20e31315c907379a25ef5ffaaa789 | 43 | py | Python | test_hello.py | dhruvinjoshi/pynet_dhruvin | 9b5530f741dc5390635176018a9b2b3fa22760dc | [
"Apache-2.0"
] | null | null | null | test_hello.py | dhruvinjoshi/pynet_dhruvin | 9b5530f741dc5390635176018a9b2b3fa22760dc | [
"Apache-2.0"
] | null | null | null | test_hello.py | dhruvinjoshi/pynet_dhruvin | 9b5530f741dc5390635176018a9b2b3fa22760dc | [
"Apache-2.0"
] | null | null | null | print "Hello everyone how are you doing?"
| 14.333333 | 41 | 0.744186 | 7 | 43 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 42 | 21.5 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3386ef9bc2be0a72e0fb10257ff99fb95367b824 | 105 | py | Python | config/composites.py | veltzer/pyeventroute | 1f1511d55b437a00ba5d3e0fce24d88b013d7c0b | [
"MIT"
] | 14 | 2017-01-06T20:01:29.000Z | 2021-09-26T08:26:07.000Z | config/composites.py | veltzer/pyeventroute | 1f1511d55b437a00ba5d3e0fce24d88b013d7c0b | [
"MIT"
] | 3 | 2020-05-20T05:05:52.000Z | 2021-09-27T06:47:36.000Z | config/composites.py | veltzer/pyeventroute | 1f1511d55b437a00ba5d3e0fce24d88b013d7c0b | [
"MIT"
] | 10 | 2017-04-01T04:36:34.000Z | 2020-12-26T07:36:25.000Z | import config.apt
import config.git
deb_version = f"{config.git.git_version}~{config.apt.apt_codename}"
| 21 | 67 | 0.790476 | 17 | 105 | 4.705882 | 0.470588 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07619 | 105 | 4 | 68 | 26.25 | 0.824742 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
338e351b1f87474c5ccaff02419f0480fa4ccf9f | 8,527 | py | Python | kuratowski/k33_k5_nonplanar.py | dcabatin/manim | e49cfca97bc01f7c9a4d75806ee0fef8e1b18654 | [
"MIT"
] | null | null | null | kuratowski/k33_k5_nonplanar.py | dcabatin/manim | e49cfca97bc01f7c9a4d75806ee0fef8e1b18654 | [
"MIT"
] | null | null | null | kuratowski/k33_k5_nonplanar.py | dcabatin/manim | e49cfca97bc01f7c9a4d75806ee0fef8e1b18654 | [
"MIT"
] | null | null | null |
from functools import reduce
import itertools as it
import operator as op
import copy
import numpy as np
import random
from manimlib.imports import *
from kuratowski.our_discrete_graph_scene import *
from kuratowski.k3_3 import K33
class makeText(Scene):
def construct(self):
#######Code#######
#... | 28.905085 | 85 | 0.52797 | 1,118 | 8,527 | 3.923971 | 0.112701 | 0.091178 | 0.049236 | 0.070207 | 0.832687 | 0.818327 | 0.807385 | 0.785503 | 0.76909 | 0.752222 | 0 | 0.059145 | 0.335757 | 8,527 | 295 | 86 | 28.905085 | 0.715395 | 0.119151 | 0 | 0.591398 | 0 | 0 | 0.056192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021505 | false | 0 | 0.048387 | 0 | 0.091398 | 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 |
33a0dc13be891f9faa3533c550557fe32149e360 | 36 | py | Python | fpgaedu/shell/commands/__init__.py | fpgaedu/fpgaedu | da7b0c1871d8172243ee77156df8e6c8bb1006d1 | [
"Apache-2.0"
] | null | null | null | fpgaedu/shell/commands/__init__.py | fpgaedu/fpgaedu | da7b0c1871d8172243ee77156df8e6c8bb1006d1 | [
"Apache-2.0"
] | null | null | null | fpgaedu/shell/commands/__init__.py | fpgaedu/fpgaedu | da7b0c1871d8172243ee77156df8e6c8bb1006d1 | [
"Apache-2.0"
] | null | null | null | from .program import ProgramCommand
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
33a822c266b5f102d01862ebed3a0d67d8882c0f | 43,717 | py | Python | niapy/algorithms/basic/pso.py | eltociear/NiaPy | 7884aefec8f013d9f8db5c1af7080a61dd19a31d | [
"MIT"
] | null | null | null | niapy/algorithms/basic/pso.py | eltociear/NiaPy | 7884aefec8f013d9f8db5c1af7080a61dd19a31d | [
"MIT"
] | 1 | 2021-08-13T07:52:40.000Z | 2021-08-16T08:52:20.000Z | niapy/algorithms/basic/pso.py | eltociear/NiaPy | 7884aefec8f013d9f8db5c1af7080a61dd19a31d | [
"MIT"
] | 2 | 2021-08-08T08:29:53.000Z | 2021-08-12T15:31:55.000Z | # encoding=utf8
"""Particle swarm algorithm module."""
import numpy as np
from niapy.algorithms.algorithm import Algorithm
from niapy.util import full_array
from niapy.util.repair import reflect
__all__ = [
'ParticleSwarmAlgorithm',
'ParticleSwarmOptimization',
'CenterParticleSwarmOptimization',
'Mu... | 37.981755 | 296 | 0.607635 | 4,920 | 43,717 | 5.295528 | 0.07561 | 0.056652 | 0.025524 | 0.016581 | 0.828472 | 0.793391 | 0.77182 | 0.754625 | 0.718316 | 0.690796 | 0 | 0.016135 | 0.288309 | 43,717 | 1,150 | 297 | 38.014783 | 0.821136 | 0.49061 | 0 | 0.513228 | 0 | 0.018519 | 0.149802 | 0.043887 | 0 | 0 | 0 | 0.00087 | 0 | 1 | 0.113757 | false | 0 | 0.010582 | 0 | 0.243386 | 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 |
33a9925191b7fe6aac888b8349e3deacf7323443 | 222 | py | Python | confplot/__init__.py | fcakyon/confplot | 93e777aae4ace838a82c2f2420d489e7bf04b960 | [
"Apache-2.0"
] | 5 | 2020-05-31T01:17:53.000Z | 2022-02-09T06:17:48.000Z | confplot/__init__.py | fcakyon/confplot | 93e777aae4ace838a82c2f2420d489e7bf04b960 | [
"Apache-2.0"
] | 1 | 2022-01-06T21:48:30.000Z | 2022-01-09T11:16:43.000Z | confplot/__init__.py | fcakyon/confplot | 93e777aae4ace838a82c2f2420d489e7bf04b960 | [
"Apache-2.0"
] | 1 | 2021-11-20T00:06:33.000Z | 2021-11-20T00:06:33.000Z | from __future__ import absolute_import
__version__ = "0.1.1"
from confplot.confplot import plot_confusion_matrix_from_data
from confplot.confplot import pretty_plot_confusion_matrix as plot_confusion_matrix_from_matrix
| 27.75 | 95 | 0.878378 | 32 | 222 | 5.46875 | 0.4375 | 0.222857 | 0.325714 | 0.297143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014851 | 0.09009 | 222 | 7 | 96 | 31.714286 | 0.851485 | 0 | 0 | 0 | 0 | 0 | 0.022523 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33b82c25751f0bb0ed5321e98a57dbb462544597 | 32,983 | py | Python | core/quality_factors.py | lvikt/ekostat_calculator | 499e3ad6c5c1ef757a854ab00b08a4a28d5866a8 | [
"MIT"
] | 1 | 2017-08-29T06:44:22.000Z | 2017-08-29T06:44:22.000Z | core/quality_factors.py | lvikt/ekostat_calculator | 499e3ad6c5c1ef757a854ab00b08a4a28d5866a8 | [
"MIT"
] | null | null | null | core/quality_factors.py | lvikt/ekostat_calculator | 499e3ad6c5c1ef757a854ab00b08a4a28d5866a8 | [
"MIT"
] | 4 | 2017-08-23T14:08:35.000Z | 2019-06-13T12:09:30.000Z | # -*- coding: utf-8 -*-
"""
Created on Wed Jul 12 14:43:35 2017
@author: a001985
"""
import os
import core
import numpy as np
import pandas as pd
from functools import reduce
import re
###############################################################################
class ClassificationResult(dict):
"""
Class ... | 61.420857 | 231 | 0.619653 | 3,926 | 32,983 | 4.937341 | 0.080998 | 0.055664 | 0.065776 | 0.041581 | 0.835638 | 0.810565 | 0.77466 | 0.754695 | 0.74644 | 0.743242 | 0 | 0.007473 | 0.241276 | 32,983 | 537 | 232 | 61.420857 | 0.767113 | 0.30546 | 0 | 0.523622 | 0 | 0 | 0.098734 | 0.014576 | 0 | 0 | 0 | 0.009311 | 0 | 1 | 0.094488 | false | 0.007874 | 0.023622 | 0 | 0.212598 | 0.027559 | 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 |
1d129e78d679ac9132df9023228c48322cc15f6b | 2,476 | py | Python | tests/tests.py | awmath/django-bulk-signals | b365715c586b22f47d884883f73122d1a3bd855b | [
"MIT"
] | 1 | 2022-02-25T08:44:57.000Z | 2022-02-25T08:44:57.000Z | tests/tests.py | awmath/django-bulk-signals | b365715c586b22f47d884883f73122d1a3bd855b | [
"MIT"
] | 2 | 2021-12-09T10:00:31.000Z | 2021-12-09T12:40:52.000Z | tests/tests.py | awmath/django-bulk-signals | b365715c586b22f47d884883f73122d1a3bd855b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
from django.db.models import Sum
from .models import BulkTestModel
pytestmark = pytest.mark.django_db
@pytest.fixture
def objects():
BulkTestModel.objects.bulk_create([BulkTestModel() for _ in range(10)])
return BulkTestModel.objects.all()
def test_fixture(objects):
... | 30.95 | 85 | 0.725767 | 339 | 2,476 | 5.064897 | 0.126844 | 0.139779 | 0.104834 | 0.139779 | 0.824112 | 0.798486 | 0.797321 | 0.797321 | 0.746651 | 0.714619 | 0 | 0.014333 | 0.154685 | 2,476 | 79 | 86 | 31.341772 | 0.80602 | 0.008481 | 0 | 0.509434 | 0 | 0 | 0.136975 | 0.127191 | 0 | 0 | 0 | 0 | 0.301887 | 1 | 0.113208 | false | 0 | 0.056604 | 0 | 0.188679 | 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 |
1d4e327ba70d23ec63c7bc76de064966a3826e82 | 6,099 | py | Python | test/test_packet_filter.py | idresearchdev/SecureTea-Project | 6ddd47f4897c0d22ade520bcc07197dcd3a0e2a4 | [
"MIT"
] | 1 | 2019-03-26T11:01:03.000Z | 2019-03-26T11:01:03.000Z | test/test_packet_filter.py | idresearchdev/SecureTea-Project | 6ddd47f4897c0d22ade520bcc07197dcd3a0e2a4 | [
"MIT"
] | null | null | null | test/test_packet_filter.py | idresearchdev/SecureTea-Project | 6ddd47f4897c0d22ade520bcc07197dcd3a0e2a4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from securetea.lib.firewall.packet_filter import PacketFilter
import scapy.all as scapy
class TestPacket_Filter(unittest.TestCase):
"""Test class for PacketFilter module."""
def setUp(self):
"""
Set-up PacketFilter object.
"""
payload = ... | 31.438144 | 74 | 0.618954 | 754 | 6,099 | 4.797082 | 0.123342 | 0.139342 | 0.112801 | 0.145977 | 0.783522 | 0.782416 | 0.782416 | 0.782416 | 0.782416 | 0.74454 | 0 | 0.061593 | 0.265289 | 6,099 | 193 | 75 | 31.601036 | 0.745593 | 0.041974 | 0 | 0.741935 | 0 | 0.024194 | 0.0626 | 0.026574 | 0 | 0 | 0 | 0 | 0.266129 | 1 | 0.080645 | false | 0 | 0.024194 | 0 | 0.112903 | 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 |
1da759c67428b3e7a9d1bf07bf2a5215c41e9a8c | 341 | py | Python | Roran/modules/test.py | mpaulon/ircbots | e141d690ffb2e5ced4012baa5ca243e9d901ce53 | [
"MIT"
] | null | null | null | Roran/modules/test.py | mpaulon/ircbots | e141d690ffb2e5ced4012baa5ca243e9d901ce53 | [
"MIT"
] | null | null | null | Roran/modules/test.py | mpaulon/ircbots | e141d690ffb2e5ced4012baa5ca243e9d901ce53 | [
"MIT"
] | null | null | null | def start():
return
def stop():
return
def apply_command(self, c, e, command, arguments):
pass
def on_welcome(self, c, e):
pass
def on_invite(self, c, e):
pass
def on_join(self, c, e):
pass
def on_namreply(self, c, e):
pass
def on_pubmsg(self, c, e):
pass
def on_privmsg(s... | 9.742857 | 50 | 0.595308 | 57 | 341 | 3.438596 | 0.315789 | 0.178571 | 0.214286 | 0.306122 | 0.382653 | 0.382653 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278592 | 341 | 34 | 51 | 10.029412 | 0.796748 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.388889 | 0 | 0.111111 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
d58e5b4b56bfa07661fe7440185c9471808eefa1 | 40 | py | Python | spyne/layers/__init__.py | bwhitesell/SpyNN | 52ade7c9f54fa81abc6f6d9133ecccafed69e5dc | [
"BSD-3-Clause"
] | 12 | 2019-08-16T15:20:47.000Z | 2021-12-08T03:18:20.000Z | spyne/layers/__init__.py | aiden27/SpyNE | 52ade7c9f54fa81abc6f6d9133ecccafed69e5dc | [
"BSD-3-Clause"
] | null | null | null | spyne/layers/__init__.py | aiden27/SpyNE | 52ade7c9f54fa81abc6f6d9133ecccafed69e5dc | [
"BSD-3-Clause"
] | 1 | 2019-08-28T14:30:07.000Z | 2019-08-28T14:30:07.000Z | from .layers import FullyConnectedLayer
| 20 | 39 | 0.875 | 4 | 40 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.972222 | 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 |
d58ede92cbfa53665fac8b3894391d04ea60e94c | 159 | py | Python | vmraid/patches/v6_24/set_language_as_code.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | vmraid/patches/v6_24/set_language_as_code.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | vmraid/patches/v6_24/set_language_as_code.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
import vmraid
from vmraid.translate import get_lang_dict
# migrate language from name to code
def execute():
return
| 17.666667 | 42 | 0.823899 | 23 | 159 | 5.391304 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144654 | 159 | 8 | 43 | 19.875 | 0.911765 | 0.213836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d5913bb90154ae793d9694b45e011d71a8b6512b | 165 | py | Python | zonetruck/ZoneFilter.py | pv2b/zonetruck | d1aa094c9b0988c12100c8300aae4b390bb276f8 | [
"MIT"
] | null | null | null | zonetruck/ZoneFilter.py | pv2b/zonetruck | d1aa094c9b0988c12100c8300aae4b390bb276f8 | [
"MIT"
] | null | null | null | zonetruck/ZoneFilter.py | pv2b/zonetruck | d1aa094c9b0988c12100c8300aae4b390bb276f8 | [
"MIT"
] | null | null | null | class ZoneFilter:
def __init__(self, rules):
self.rules = rules
def filter(self, record):
# TODO Dummy implementation
return [record] | 27.5 | 35 | 0.624242 | 18 | 165 | 5.5 | 0.666667 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290909 | 165 | 6 | 36 | 27.5 | 0.846154 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.