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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22bd82bdc6c6288bb884ba618b9541d654cbcf79 | 399 | py | Python | src/models/lsun_bedroom_64_haar/__init__.py | YorkUCVIL/Wavelet-Flow | 8d6d63fa116ec44299c32f37e66817594510f644 | [
"MIT"
] | 59 | 2020-10-28T03:09:05.000Z | 2022-01-29T22:10:04.000Z | src/models/lsun_bedroom_64_haar/__init__.py | YorkUCVIL/Wavelet-Flow | 8d6d63fa116ec44299c32f37e66817594510f644 | [
"MIT"
] | 4 | 2020-12-24T11:00:40.000Z | 2021-05-22T06:14:27.000Z | src/models/lsun_bedroom_64_haar/__init__.py | YorkUCVIL/Wavelet-Flow | 8d6d63fa116ec44299c32f37e66817594510f644 | [
"MIT"
] | 2 | 2020-10-29T01:15:03.000Z | 2021-04-20T11:55:51.000Z | from models.lsun_bedroom_64_haar.Training_data import *
from models.lsun_bedroom_64_haar.Validation_data import *
from models.lsun_bedroom_64_haar.Network_body import *
from models.lsun_bedroom_64_haar.Conditioning_network import *
import models.shared.routines as routines
from models.lsun_bedroom_64_haar.build_trainin... | 44.333333 | 62 | 0.87218 | 62 | 399 | 5.193548 | 0.354839 | 0.204969 | 0.242236 | 0.31677 | 0.5 | 0.5 | 0.332298 | 0.229814 | 0 | 0 | 0 | 0.032345 | 0.070175 | 399 | 8 | 63 | 49.875 | 0.83558 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 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 |
22d8ca843d314d7e9bf1c2e2edaaf7d9640ded3f | 308 | py | Python | src/backend/aspen/main.py | chanzuckerberg/czgenepi | 87bd2b1739acdfe2c7c25663fafb01dc24c5e2fd | [
"MIT"
] | null | null | null | src/backend/aspen/main.py | chanzuckerberg/czgenepi | 87bd2b1739acdfe2c7c25663fafb01dc24c5e2fd | [
"MIT"
] | 30 | 2022-02-01T23:19:14.000Z | 2022-03-29T19:34:20.000Z | src/backend/aspen/main.py | chanzuckerberg/czgenepi | 87bd2b1739acdfe2c7c25663fafb01dc24c5e2fd | [
"MIT"
] | null | null | null | # this is where flask finds the entry point for the application.
from aspen.app.app import application # noqa: F401
from aspen.app.views.auth import callback_handling, login, logout # noqa: F401
from aspen.app.views.health import health # noqa: F401
from aspen.app.views.index import serve # noqa: F401
| 44 | 79 | 0.772727 | 49 | 308 | 4.836735 | 0.510204 | 0.151899 | 0.202532 | 0.21519 | 0.316456 | 0.316456 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 0.152597 | 308 | 6 | 80 | 51.333333 | 0.862069 | 0.344156 | 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 |
fe162383c173d4c3968dd1d1f10e7f17994e8f8d | 39,500 | py | Python | alerter/test/monitors/test_github.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 41 | 2019-08-23T12:40:42.000Z | 2022-03-28T11:06:02.000Z | alerter/test/monitors/test_github.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 147 | 2019-08-30T22:09:48.000Z | 2022-03-30T08:46:26.000Z | alerter/test/monitors/test_github.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 3 | 2019-09-03T21:12:28.000Z | 2021-08-18T14:27:56.000Z | import json
import logging
import unittest
from datetime import datetime
from datetime import timedelta
from http.client import IncompleteRead
from unittest import mock
import pika
import pika.exceptions
from freezegun import freeze_time
from requests.exceptions import (ConnectionError as ReqConnectionError,
... | 46.912114 | 80 | 0.62157 | 4,467 | 39,500 | 5.181554 | 0.068278 | 0.08226 | 0.098505 | 0.076514 | 0.820271 | 0.791713 | 0.771494 | 0.736672 | 0.728636 | 0.715934 | 0 | 0.007197 | 0.299975 | 39,500 | 841 | 81 | 46.967895 | 0.829807 | 0.093722 | 0 | 0.627246 | 0 | 0 | 0.049104 | 0.001288 | 0 | 0 | 0 | 0 | 0.085329 | 1 | 0.038922 | false | 0.034431 | 0.026946 | 0 | 0.067365 | 0.001497 | 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 |
a3c37298c5c61b9a81ea83aa65f232528536f622 | 10,790 | py | Python | tests/subaligner/test_media_helper.py | JohnVillalovos/subaligner | 41bd00b4661b4ba35bdd2915e89fc368dcc7663a | [
"MIT"
] | null | null | null | tests/subaligner/test_media_helper.py | JohnVillalovos/subaligner | 41bd00b4661b4ba35bdd2915e89fc368dcc7663a | [
"MIT"
] | null | null | null | tests/subaligner/test_media_helper.py | JohnVillalovos/subaligner | 41bd00b4661b4ba35bdd2915e89fc368dcc7663a | [
"MIT"
] | null | null | null | import unittest
import os
import pysrt
import subprocess
from subaligner.exception import TerminalException, NoFrameRateException
from subaligner.media_helper import MediaHelper as Undertest
from mock import patch, Mock
class MediaHelperTests(unittest.TestCase):
def setUp(self):
self.__video_file_path = ... | 42.648221 | 94 | 0.674791 | 1,299 | 10,790 | 5.274057 | 0.107005 | 0.085827 | 0.030361 | 0.034739 | 0.837688 | 0.815647 | 0.781492 | 0.755072 | 0.70632 | 0.696833 | 0 | 0.022039 | 0.234662 | 10,790 | 252 | 95 | 42.81746 | 0.807581 | 0 | 0 | 0.587444 | 0 | 0 | 0.123726 | 0.031047 | 0 | 0 | 0 | 0 | 0.2287 | 1 | 0.107623 | false | 0 | 0.03139 | 0 | 0.143498 | 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 |
a3fd16ede73dbbb8a29dda27dfd73323324fc854 | 45 | py | Python | representation_learning_for_transcriptomics/supervised/predictors/regressors/__init__.py | unlearnai/representation_learning_for_transcriptomics | 66e7a31471ca3ded5d46945d34c74bad8f22afbf | [
"CC-BY-4.0"
] | 3 | 2020-03-30T00:36:11.000Z | 2021-05-07T18:43:27.000Z | representation_learning_for_transcriptomics/supervised/predictors/regressors/__init__.py | unlearnai/representation_learning_for_transcriptomics | 66e7a31471ca3ded5d46945d34c74bad8f22afbf | [
"CC-BY-4.0"
] | null | null | null | representation_learning_for_transcriptomics/supervised/predictors/regressors/__init__.py | unlearnai/representation_learning_for_transcriptomics | 66e7a31471ca3ded5d46945d34c74bad8f22afbf | [
"CC-BY-4.0"
] | null | null | null | from .proportional_hazard_regressor import *
| 22.5 | 44 | 0.866667 | 5 | 45 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.902439 | 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 |
430663ee688fa24dff6590627c73da259bf3e17e | 9,170 | py | Python | include/ClientGUIDuplicates.py | sorashi/hydrus | 0544a75d2117904b42e935d264ae35ded5cbf36a | [
"WTFPL"
] | null | null | null | include/ClientGUIDuplicates.py | sorashi/hydrus | 0544a75d2117904b42e935d264ae35ded5cbf36a | [
"WTFPL"
] | null | null | null | include/ClientGUIDuplicates.py | sorashi/hydrus | 0544a75d2117904b42e935d264ae35ded5cbf36a | [
"WTFPL"
] | null | null | null | from . import ClientGUIDialogsQuick
from . import HydrusExceptions
import os
import traceback
from . import HydrusData
from . import HydrusGlobals as HG
from qtpy import QtWidgets as QW
def ClearFalsePositives( win, hashes ):
if len( hashes ) == 1:
message = 'Are you sure you want to clear th... | 50.10929 | 259 | 0.67132 | 1,178 | 9,170 | 5.206282 | 0.13837 | 0.035219 | 0.062612 | 0.066525 | 0.842818 | 0.833687 | 0.833687 | 0.797489 | 0.760802 | 0.741888 | 0 | 0.004595 | 0.264231 | 9,170 | 182 | 260 | 50.384615 | 0.904402 | 0 | 0 | 0.486486 | 0 | 0.063063 | 0.50349 | 0.01952 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063063 | false | 0 | 0.063063 | 0 | 0.126126 | 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 |
4332b416dfd4818b3a4462eaf2af070fba0f5a87 | 12,133 | py | Python | tests/aws/test_functions_dns.py | amarkwalder/dynamicdns | 68dbf80ca90c55a4e9273e6200f04eae90d785da | [
"MIT"
] | null | null | null | tests/aws/test_functions_dns.py | amarkwalder/dynamicdns | 68dbf80ca90c55a4e9273e6200f04eae90d785da | [
"MIT"
] | 2 | 2019-10-21T17:00:56.000Z | 2021-05-07T11:51:55.000Z | tests/aws/test_functions_dns.py | amarkwalder/dynamicdns | 68dbf80ca90c55a4e9273e6200f04eae90d785da | [
"MIT"
] | null | null | null | import json
import unittest
from unittest.mock import MagicMock, Mock, patch, mock_open
import dynamicdns
from dynamicdns.aws.functions.dns import handle
from dynamicdns.models import Error
from dynamicdns.aws.route53 import Route53Provider
from dynamicdns.aws.s3config import S3ConfigProvider
from dynamicdns.aws.... | 38.640127 | 139 | 0.591198 | 1,171 | 12,133 | 5.98719 | 0.099061 | 0.017116 | 0.017116 | 0.07531 | 0.818999 | 0.77464 | 0.765226 | 0.765226 | 0.757667 | 0.748253 | 0 | 0.018686 | 0.245776 | 12,133 | 313 | 140 | 38.763578 | 0.747459 | 0.014671 | 0 | 0.60262 | 0 | 0 | 0.285583 | 0.078152 | 0 | 0 | 0 | 0 | 0.026201 | 1 | 0.048035 | false | 0.017467 | 0.043668 | 0 | 0.09607 | 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 |
43399172e57e76fd90727f5f49c9db95a2165a5e | 114 | py | Python | pkgs/ops-pkg/src/genie/libs/ops/vlan/ios/vlan.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/ops-pkg/src/genie/libs/ops/vlan/ios/vlan.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/ops-pkg/src/genie/libs/ops/vlan/ios/vlan.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | '''
Vlan Genie Ops Object for IOS - CLI.
'''
from ..iosxe.vlan import Vlan as VlanXE
class Vlan(VlanXE):
pass | 16.285714 | 39 | 0.675439 | 18 | 114 | 4.277778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201754 | 114 | 7 | 40 | 16.285714 | 0.846154 | 0.315789 | 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 |
434429d1bf72f145f7668192d9a728391c694267 | 71 | py | Python | mra/core/commands/__init__.py | Bizarious/mra-bot | ff18f42e6957e0ecad21882cb066dcbb2b9b8fcf | [
"MIT"
] | null | null | null | mra/core/commands/__init__.py | Bizarious/mra-bot | ff18f42e6957e0ecad21882cb066dcbb2b9b8fcf | [
"MIT"
] | null | null | null | mra/core/commands/__init__.py | Bizarious/mra-bot | ff18f42e6957e0ecad21882cb066dcbb2b9b8fcf | [
"MIT"
] | null | null | null | from .extension import *
from .command import *
from .context import *
| 17.75 | 24 | 0.746479 | 9 | 71 | 5.888889 | 0.555556 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 3 | 25 | 23.666667 | 0.898305 | 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 |
4a314995f64ca9d195cd182836ba7984bb39bb56 | 7,983 | py | Python | tests/test_utils.py | emmanuelmathot/pystac | 6552327f30658d25972c97024ed71865ed131e52 | [
"Apache-2.0"
] | null | null | null | tests/test_utils.py | emmanuelmathot/pystac | 6552327f30658d25972c97024ed71865ed131e52 | [
"Apache-2.0"
] | null | null | null | tests/test_utils.py | emmanuelmathot/pystac | 6552327f30658d25972c97024ed71865ed131e52 | [
"Apache-2.0"
] | null | null | null | import unittest
import os
import json
import ntpath
from datetime import datetime, timezone, timedelta
from pystac import utils
from pystac.utils import (make_relative_href, make_absolute_href, is_absolute_href)
class UtilsTest(unittest.TestCase):
def test_make_relative_href(self):
# Test cases of (sour... | 50.525316 | 100 | 0.534761 | 1,015 | 7,983 | 4.100493 | 0.097537 | 0.18765 | 0.03604 | 0.081691 | 0.80394 | 0.78568 | 0.755646 | 0.748438 | 0.71384 | 0.708554 | 0 | 0.011462 | 0.278717 | 7,983 | 157 | 101 | 50.847134 | 0.711358 | 0.040461 | 0 | 0.48062 | 0 | 0 | 0.388265 | 0.070047 | 0 | 0 | 0 | 0 | 0.069767 | 1 | 0.069767 | false | 0 | 0.054264 | 0 | 0.131783 | 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 |
4a808a7a3af1474e8e5145718aba73c37903468a | 9,286 | py | Python | TP3/1. Battleship/Tests/GreedoTest.py | FdelMazo/TDA1 | a61dc6abe0a30b129c3b0f8b2df6f74331e08dc7 | [
"MIT"
] | 2 | 2020-10-10T17:34:16.000Z | 2021-11-20T18:40:16.000Z | TP3/1. Battleship/Tests/GreedoTest.py | FdelMazo/7529rw-TDA | a61dc6abe0a30b129c3b0f8b2df6f74331e08dc7 | [
"MIT"
] | null | null | null | TP3/1. Battleship/Tests/GreedoTest.py | FdelMazo/7529rw-TDA | a61dc6abe0a30b129c3b0f8b2df6f74331e08dc7 | [
"MIT"
] | null | null | null | import unittest
from Greedo import Greedo
from GreedoNaive import GreedoNaive
from Partida import Partida
from Barco import Barco
class TestUnaLanzaderaGreedoSmart(unittest.TestCase):
def testUnaLanzaderaUnBarcoUnicaOpcionPosibleDerribarlo(self):
greedobruto = Greedo()
barco = Barco(100)
barco.setPosicion(0, 0)... | 32.243056 | 67 | 0.725501 | 1,040 | 9,286 | 6.477885 | 0.067308 | 0.071248 | 0.040522 | 0.125872 | 0.799466 | 0.789372 | 0.773638 | 0.768146 | 0.768146 | 0.738756 | 0 | 0.059402 | 0.135257 | 9,286 | 287 | 68 | 32.355401 | 0.779577 | 0 | 0 | 0.796992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146617 | 1 | 0.071429 | false | 0 | 0.018797 | 0 | 0.109023 | 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 |
4aa3afbe073a8df2f221ef741cdfb4adc4207cf4 | 11,307 | py | Python | research/object_detection/data_decoders/tf_sequence_example_decoder_test.py | akshit-protonn/models | 38c8c6fe4144c93d6aadd19981c2b90570c29eba | [
"Apache-2.0"
] | 82,518 | 2016-02-05T12:07:23.000Z | 2022-03-31T23:09:47.000Z | research/object_detection/data_decoders/tf_sequence_example_decoder_test.py | yangxl-2014-fe/models | 11ea5237818e791a5717716d5413977f4c4db1e3 | [
"Apache-2.0"
] | 9,021 | 2016-03-08T01:02:05.000Z | 2022-03-31T08:06:35.000Z | research/object_detection/data_decoders/tf_sequence_example_decoder_test.py | yangxl-2014-fe/models | 11ea5237818e791a5717716d5413977f4c4db1e3 | [
"Apache-2.0"
] | 54,341 | 2016-02-06T17:19:55.000Z | 2022-03-31T10:27:44.000Z | # Copyright 2020 The TensorFlow Authors. 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 applica... | 36.124601 | 80 | 0.590784 | 1,488 | 11,307 | 4.192204 | 0.137769 | 0.040398 | 0.044726 | 0.048092 | 0.773164 | 0.754729 | 0.727156 | 0.727156 | 0.727156 | 0.720744 | 0 | 0.051718 | 0.276643 | 11,307 | 312 | 81 | 36.240385 | 0.710967 | 0.094809 | 0 | 0.770115 | 0 | 0 | 0.038756 | 0 | 0 | 0 | 0 | 0 | 0.038314 | 1 | 0.042146 | false | 0 | 0.038314 | 0 | 0.10728 | 0.003831 | 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 |
4aae4ea2c1b4661c54c2e7c215eb7b2f5df9babd | 937 | py | Python | Simulation/stock_snapshot_helper.py | SEPHIRONOVA/TradingDataAnalyzer | 314cb5bc5f5327ceb16d0ce4e283694eb3f16e99 | [
"MIT"
] | null | null | null | Simulation/stock_snapshot_helper.py | SEPHIRONOVA/TradingDataAnalyzer | 314cb5bc5f5327ceb16d0ce4e283694eb3f16e99 | [
"MIT"
] | null | null | null | Simulation/stock_snapshot_helper.py | SEPHIRONOVA/TradingDataAnalyzer | 314cb5bc5f5327ceb16d0ce4e283694eb3f16e99 | [
"MIT"
] | null | null | null | from datetime import datetime, time
from Simulation.stock_snapshot import StockSnapshot
__author__ = 'raymond'
class StockSnapshotHelper:
def __init__(self, stock_snapshot: StockSnapshot):
self.stock_snapshot = stock_snapshot
self._closing_time = time(16, 0, 0)
def get_mid_price(self):
return (self.stock_sn... | 29.28125 | 98 | 0.790822 | 140 | 937 | 4.935714 | 0.278571 | 0.244573 | 0.270622 | 0.173661 | 0.454414 | 0.454414 | 0.276411 | 0.124457 | 0 | 0 | 0 | 0.008454 | 0.116329 | 937 | 31 | 99 | 30.225806 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.007471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0 | 0.090909 | 0.227273 | 0.772727 | 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 |
438e313a3fababddaabb504d1689fedb9f0a78a1 | 133,180 | py | Python | pinax/stripe/tests/test_actions.py | lock8/pinax-stripe | 50e846e41718646e85219d31676566ebc3fea477 | [
"MIT"
] | null | null | null | pinax/stripe/tests/test_actions.py | lock8/pinax-stripe | 50e846e41718646e85219d31676566ebc3fea477 | [
"MIT"
] | 114 | 2017-10-18T09:14:02.000Z | 2019-01-24T19:03:01.000Z | pinax/stripe/tests/test_actions.py | lock8/pinax-stripe | 50e846e41718646e85219d31676566ebc3fea477 | [
"MIT"
] | 1 | 2017-10-20T08:13:09.000Z | 2017-10-20T08:13:09.000Z | import datetime
import decimal
import json
import time
from unittest import skipIf
import django
from django.contrib.auth import get_user_model
from django.test import TestCase
from django.utils import timezone
import stripe
from mock import Mock, patch
from ..actions import (
accounts,
charges,
coupons,... | 39.044269 | 185 | 0.590457 | 12,767 | 133,180 | 5.942743 | 0.055769 | 0.020034 | 0.020113 | 0.025767 | 0.842562 | 0.804919 | 0.769938 | 0.736184 | 0.715438 | 0.678981 | 0 | 0.027511 | 0.290104 | 133,180 | 3,410 | 186 | 39.055718 | 0.774983 | 0.005451 | 0 | 0.676591 | 0 | 0.000342 | 0.197618 | 0.067904 | 0 | 0 | 0 | 0 | 0.147159 | 1 | 0.056468 | false | 0.001711 | 0.004449 | 0 | 0.066051 | 0.002396 | 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 |
60283d3767102a62fff5c05524f74d2b51bcb845 | 165 | py | Python | app/student/__init__.py | mecforlove/oj-web | 3bec42e77666c6ab1d299d8c432016f7f1cd1cac | [
"Apache-2.0"
] | null | null | null | app/student/__init__.py | mecforlove/oj-web | 3bec42e77666c6ab1d299d8c432016f7f1cd1cac | [
"Apache-2.0"
] | null | null | null | app/student/__init__.py | mecforlove/oj-web | 3bec42e77666c6ab1d299d8c432016f7f1cd1cac | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author: mec
from flask import Blueprint
students = Blueprint('students', __name__)
from views import show_problems | 20.625 | 42 | 0.721212 | 22 | 165 | 5.181818 | 0.818182 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.139394 | 165 | 8 | 43 | 20.625 | 0.795775 | 0.333333 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
607e2706ebd32ef255f891f787a3cef320319e20 | 5,073 | py | Python | models.py | ba-lab/PDNET | d1547a334ee6e48526afcb4e0a4f698a04888ac5 | [
"Apache-2.0"
] | 28 | 2020-04-29T07:33:06.000Z | 2021-09-22T05:39:06.000Z | models.py | ba-lab/PDNET | d1547a334ee6e48526afcb4e0a4f698a04888ac5 | [
"Apache-2.0"
] | 1 | 2021-11-12T15:12:38.000Z | 2021-11-12T19:38:00.000Z | models.py | ba-lab/PDNET | d1547a334ee6e48526afcb4e0a4f698a04888ac5 | [
"Apache-2.0"
] | 13 | 2020-05-03T04:38:35.000Z | 2021-09-22T05:39:09.000Z | '''
Author: Badri Adhikari, University of Missouri-St. Louis, 12-18-2019
File: Contains tensorflow models for the DEEPCON architecture
'''
import tensorflow as tf
from tensorflow.python.keras import layers
from tensorflow.python.keras.layers import Input, Convolution2D, Activation, add, Dropout, BatchNormalization
fr... | 37.029197 | 120 | 0.637295 | 639 | 5,073 | 4.885759 | 0.137715 | 0.038437 | 0.076233 | 0.053812 | 0.78123 | 0.779949 | 0.748559 | 0.72902 | 0.716848 | 0.716848 | 0 | 0.018447 | 0.230633 | 5,073 | 136 | 121 | 37.301471 | 0.78145 | 0.051646 | 0 | 0.844262 | 0 | 0 | 0.058333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0 | 0.032787 | 0 | 0.098361 | 0.172131 | 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 |
60a49a821b3996bd2766bbfd3fde0aedabadfafc | 233 | py | Python | stacks/XIAOMATECH/1.0/services/OZONE/package/scripts/scm.py | tvorogme/dataops | acfa21df42a20768c004c6630a064f4e38e280b2 | [
"Apache-2.0"
] | 3 | 2019-08-13T01:44:16.000Z | 2019-12-10T04:05:56.000Z | stacks/XIAOMATECH/1.0/services/OZONE/package/scripts/scm.py | tvorogme/dataops | acfa21df42a20768c004c6630a064f4e38e280b2 | [
"Apache-2.0"
] | null | null | null | stacks/XIAOMATECH/1.0/services/OZONE/package/scripts/scm.py | tvorogme/dataops | acfa21df42a20768c004c6630a064f4e38e280b2 | [
"Apache-2.0"
] | 7 | 2019-05-29T17:35:25.000Z | 2021-12-04T07:55:10.000Z |
from resource_management.libraries.script.script import Script
from resource_management.core.resources.system import Execute
from resource_management.libraries.functions.check_process_status import check_process_status
import utils
| 38.833333 | 93 | 0.896996 | 30 | 233 | 6.733333 | 0.5 | 0.178218 | 0.326733 | 0.306931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064378 | 233 | 5 | 94 | 46.6 | 0.926606 | 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 |
60df1c4d9d45d7277cf5e5e1489ef91f6bfda9ad | 29 | py | Python | tatk/dst/__init__.py | libing125/tatk | 1473a162cf45a4a40a60473169bc034234412b2e | [
"Apache-2.0"
] | 81 | 2019-03-12T13:40:29.000Z | 2022-01-17T10:59:21.000Z | tatk/dst/__init__.py | zqwerty/tatk | fafabc45d02ad889f59354acac4e3b1367e7d4bf | [
"Apache-2.0"
] | 35 | 2019-03-13T14:05:05.000Z | 2021-08-25T15:38:14.000Z | tatk/dst/__init__.py | zqwerty/tatk | fafabc45d02ad889f59354acac4e3b1367e7d4bf | [
"Apache-2.0"
] | 41 | 2019-03-13T09:40:24.000Z | 2022-03-07T17:59:07.000Z | from tatk.dst.dst import DST
| 14.5 | 28 | 0.793103 | 6 | 29 | 3.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
714ba8119e1c6114588f3d07f3a79c67ae838357 | 6,906 | py | Python | pyNastran/dev/h5/geometry/h5_elements_2d.py | luzpaz/pyNastran | 939e9eefdc87a3bf67939a23dc09f155b93969a0 | [
"BSD-3-Clause"
] | 293 | 2015-03-22T20:22:01.000Z | 2022-03-14T20:28:24.000Z | pyNastran/dev/h5/geometry/h5_elements_2d.py | luzpaz/pyNastran | 939e9eefdc87a3bf67939a23dc09f155b93969a0 | [
"BSD-3-Clause"
] | 512 | 2015-03-14T18:39:27.000Z | 2022-03-31T16:15:43.000Z | pyNastran/dev/h5/geometry/h5_elements_2d.py | luzpaz/pyNastran | 939e9eefdc87a3bf67939a23dc09f155b93969a0 | [
"BSD-3-Clause"
] | 136 | 2015-03-19T03:26:06.000Z | 2022-03-25T22:14:54.000Z | from __future__ import annotations
from typing import TYPE_CHECKING
#import numpy as np
import h5py
from ..h5_utils import read_basic_element, h5py_to_dataframe
if TYPE_CHECKING: # pragma: no cover
from pyNastran.bdf.bdf import BDF
def read_cshear(name: str, group: h5py._hl.dataset.Dataset, geom_model: BDF) -> No... | 35.597938 | 185 | 0.552708 | 949 | 6,906 | 3.920969 | 0.132771 | 0.048374 | 0.056436 | 0.072561 | 0.781242 | 0.740124 | 0.740124 | 0.740124 | 0.740124 | 0.722386 | 0 | 0.043255 | 0.293658 | 6,906 | 193 | 186 | 35.782383 | 0.719557 | 0.179409 | 0 | 0.853333 | 0 | 0 | 0.040007 | 0 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.046667 | false | 0 | 0.033333 | 0 | 0.093333 | 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 |
718df44c644defbccaf0c01ece30c9353d11c419 | 1,286 | py | Python | tests/test_eupsweeklymode.py | lsst-sqre/ltd-keeper | c658bcce726764e7416a8a386b418e83912b0f32 | [
"Apache-2.0",
"MIT"
] | 5 | 2016-05-16T18:46:26.000Z | 2019-07-08T15:16:41.000Z | tests/test_eupsweeklymode.py | lsst-sqre/ltd-keeper | c658bcce726764e7416a8a386b418e83912b0f32 | [
"Apache-2.0",
"MIT"
] | 46 | 2016-02-18T16:54:36.000Z | 2022-03-25T19:43:45.000Z | tests/test_eupsweeklymode.py | lsst-sqre/ltd-keeper | c658bcce726764e7416a8a386b418e83912b0f32 | [
"Apache-2.0",
"MIT"
] | 4 | 2016-08-20T23:10:07.000Z | 2022-03-25T19:52:09.000Z | """Tests for `keeper.editiontracking.eupsweeklymode`."""
import pytest
from keeper.editiontracking.eupsweeklymode import WeeklyReleaseTag
def test_parsing() -> None:
tag = WeeklyReleaseTag("w_2018_01")
assert tag.year == 2018
assert tag.week == 1
tag = WeeklyReleaseTag("w_2018_26")
assert tag.y... | 29.906977 | 77 | 0.7014 | 155 | 1,286 | 5.6 | 0.219355 | 0.352535 | 0.387097 | 0.158986 | 0.804147 | 0.748848 | 0.725806 | 0.617512 | 0.513825 | 0.403226 | 0 | 0.123936 | 0.178072 | 1,286 | 42 | 78 | 30.619048 | 0.697256 | 0.05832 | 0 | 0.392857 | 0 | 0 | 0.137874 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71d3813fc90c8d157d13e56a3cd6b93b7be4e173 | 20 | py | Python | test/tokenize/t04.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/tokenize/t04.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/tokenize/t04.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | 2134568 != 01231515
| 10 | 19 | 0.75 | 2 | 20 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.882353 | 0.15 | 20 | 1 | 20 | 20 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71d43a9d17f352358b20172e52ba68296aa81bc8 | 49,513 | py | Python | pirates/leveleditor/worldData/interior_shanty_store_voodoo_destruction.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/interior_shanty_store_voodoo_destruction.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/interior_shanty_store_voodoo_destruction.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'Objects': {'1156268617.43dzlu0s': {'Type': 'Building Interior','Name': '','Instanced': True,'Objects': {'1167851208.51kmuller': {'Type': 'Interior_furnishings','DisableCollision': True,'Holiday': '','Hpr': VBase3(-136.14, 0.0, 0.0),'Pos': Point... | 16,504.333333 | 49,304 | 0.679438 | 6,696 | 49,513 | 4.956093 | 0.137843 | 0.021696 | 0.020882 | 0.017116 | 0.587899 | 0.485747 | 0.467968 | 0.409751 | 0.33038 | 0.293527 | 0 | 0.267633 | 0.048169 | 49,513 | 3 | 49,305 | 16,504.333333 | 0.436535 | 0 | 0 | 0 | 0 | 0 | 0.560104 | 0.311124 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e0e16d42e3500128ea2775fb38369a6c687fcf51 | 16,116 | py | Python | flask-backend/database.py | gvdijk/Project-Web-Mobile | 5433a7329b93e7ddfe29fa20642ba97a932bf9ee | [
"MIT"
] | null | null | null | flask-backend/database.py | gvdijk/Project-Web-Mobile | 5433a7329b93e7ddfe29fa20642ba97a932bf9ee | [
"MIT"
] | 4 | 2021-03-09T04:56:38.000Z | 2022-02-17T23:47:04.000Z | flask-backend/database.py | gvdijk/Project-Web-Mobile | 5433a7329b93e7ddfe29fa20642ba97a932bf9ee | [
"MIT"
] | null | null | null | import mysql.connector
from mysql.connector.pooling import MySQLConnectionPool
connectionPool = None
def init(user, password, host, database):
global connectionPool
dbconfig = {
"host": host,
"user": user,
"password": password,
"database": database
}
connectionPool = My... | 30.580645 | 130 | 0.618764 | 1,740 | 16,116 | 5.720115 | 0.091379 | 0.031347 | 0.070532 | 0.090124 | 0.767306 | 0.751532 | 0.735155 | 0.724405 | 0.714458 | 0.669949 | 0 | 0.003155 | 0.252668 | 16,116 | 526 | 131 | 30.638783 | 0.823231 | 0.032452 | 0 | 0.759657 | 0 | 0.006438 | 0.198511 | 0.003016 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075107 | false | 0.017167 | 0.004292 | 0.002146 | 0.201717 | 0.012876 | 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 |
1ca114af0fa1c21bf0564af2fcf7a1467936ae19 | 47 | py | Python | oommffield/__init__.py | joommf-attic/oommffield | 95a6e1c2d795f884748d33c90134c18d8aeb73a2 | [
"BSD-2-Clause"
] | 1 | 2016-08-08T14:47:38.000Z | 2016-08-08T14:47:38.000Z | oommffield/__init__.py | joommf/oommffield | 95a6e1c2d795f884748d33c90134c18d8aeb73a2 | [
"BSD-2-Clause"
] | 1 | 2018-04-26T15:42:54.000Z | 2018-04-30T18:07:31.000Z | oommffield/__init__.py | joommf-attic/oommffield | 95a6e1c2d795f884748d33c90134c18d8aeb73a2 | [
"BSD-2-Clause"
] | null | null | null | from .oommffield import Field, read_oommf_file
| 23.5 | 46 | 0.851064 | 7 | 47 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 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 |
1ca8a6ff43bad4a06a7c5ee86fcc747edab73f32 | 195 | py | Python | test/python/topology/test_common_namespace/package1/common_namespace/module1.py | Jaimie-Jin1/streamsx.topology | 6f316ec8e9ed1349c6f061d9bb7d03deb87e3d08 | [
"Apache-2.0"
] | 31 | 2015-06-24T06:21:14.000Z | 2020-08-28T21:45:50.000Z | test/python/topology/test_common_namespace/package1/common_namespace/module1.py | Jaimie-Jin1/streamsx.topology | 6f316ec8e9ed1349c6f061d9bb7d03deb87e3d08 | [
"Apache-2.0"
] | 1,203 | 2015-06-15T02:11:49.000Z | 2021-03-22T09:47:54.000Z | test/python/topology/test_common_namespace/package1/common_namespace/module1.py | Jaimie-Jin1/streamsx.topology | 6f316ec8e9ed1349c6f061d9bb7d03deb87e3d08 | [
"Apache-2.0"
] | 53 | 2015-05-28T21:14:16.000Z | 2021-12-23T12:58:59.000Z | # Licensed Materials - Property of IBM
# Copyright IBM Corp. 2016
class SourceTuples:
def __init__(self, tuples=[]):
self.tuples = tuples
def __call__(self):
return self.tuples
| 24.375 | 38 | 0.692308 | 24 | 195 | 5.291667 | 0.666667 | 0.23622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026144 | 0.215385 | 195 | 7 | 39 | 27.857143 | 0.803922 | 0.312821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1c2a09853855265f7dee755f163a430ff190c8dc | 116 | py | Python | src/app/forms/__init__.py | schwetzen/liblr | 408235a4f539a05f54f0376dbf9dbcd83957db03 | [
"Apache-2.0"
] | null | null | null | src/app/forms/__init__.py | schwetzen/liblr | 408235a4f539a05f54f0376dbf9dbcd83957db03 | [
"Apache-2.0"
] | 1 | 2018-12-07T22:15:28.000Z | 2018-12-07T22:15:28.000Z | src/app/forms/__init__.py | schwetzen/liblr | 408235a4f539a05f54f0376dbf9dbcd83957db03 | [
"Apache-2.0"
] | 2 | 2018-12-07T20:59:53.000Z | 2018-12-17T21:02:21.000Z | from app.forms.auth import RegisterForm
from app.forms.readingtip import ReadingTipCreateForm, ReadingTipUpdateForm
| 38.666667 | 75 | 0.87931 | 13 | 116 | 7.846154 | 0.692308 | 0.137255 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077586 | 116 | 2 | 76 | 58 | 0.953271 | 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 |
1c4c682149faba9396186e89a135bf56202c82c5 | 689 | py | Python | test/test_element_type.py | gleb-svechnikov/GcodeParser | 36a36ef935b3570f8ca7cece70a4eb0900f8c8c1 | [
"MIT"
] | 2 | 2021-12-04T01:24:42.000Z | 2022-03-11T09:29:24.000Z | test/test_element_type.py | gleb-svechnikov/GcodeParser | 36a36ef935b3570f8ca7cece70a4eb0900f8c8c1 | [
"MIT"
] | 3 | 2021-02-12T23:56:07.000Z | 2021-06-24T09:45:40.000Z | test/test_element_type.py | gleb-svechnikov/GcodeParser | 36a36ef935b3570f8ca7cece70a4eb0900f8c8c1 | [
"MIT"
] | 3 | 2021-06-16T21:26:43.000Z | 2021-12-04T01:37:04.000Z | from gcodeparser.gcode_parser import (
element_type,
)
def test_element_type_int():
assert element_type('109321') == int
def test_element_type_neg_int():
assert element_type('-109321') == int
def test_element_type_float():
assert element_type('109321.0') == float
def test_element_type_float2():
... | 19.138889 | 49 | 0.716981 | 98 | 689 | 4.663265 | 0.244898 | 0.40919 | 0.245077 | 0.315098 | 0.431072 | 0.374179 | 0.205689 | 0.205689 | 0.205689 | 0.205689 | 0 | 0.087629 | 0.155298 | 689 | 35 | 50 | 19.685714 | 0.697595 | 0 | 0 | 0 | 0 | 0 | 0.103048 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 1 | 0.421053 | true | 0 | 0.052632 | 0 | 0.473684 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98c48d842cc8b861f9856bec283fac932d83023f | 95 | py | Python | rvpvp/isa/__init__.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 5 | 2021-05-10T09:57:00.000Z | 2021-10-05T14:39:20.000Z | rvpvp/isa/__init__.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | null | null | null | rvpvp/isa/__init__.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 1 | 2021-05-14T20:24:11.000Z | 2021-05-14T20:24:11.000Z | from .rvi import *
from .rvm import *
from .rvf import *
from .rvc import *
from .rvv import *
| 15.833333 | 18 | 0.684211 | 15 | 95 | 4.333333 | 0.466667 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 95 | 5 | 19 | 19 | 0.866667 | 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 |
98d553e01c3261bad7f65953eecd7fd6a37e16ba | 191 | py | Python | nexoclom/modelcode/__init__.py | mburger-stsci/NExoCloM | c0c81eeb04c5571662f3d86337d84a18f1cd0dcf | [
"BSD-3-Clause"
] | null | null | null | nexoclom/modelcode/__init__.py | mburger-stsci/NExoCloM | c0c81eeb04c5571662f3d86337d84a18f1cd0dcf | [
"BSD-3-Clause"
] | null | null | null | nexoclom/modelcode/__init__.py | mburger-stsci/NExoCloM | c0c81eeb04c5571662f3d86337d84a18f1cd0dcf | [
"BSD-3-Clause"
] | 1 | 2018-11-23T20:55:33.000Z | 2018-11-23T20:55:33.000Z | from nexoclom.modelcode.Input import Input
from nexoclom.modelcode.Output import Output
from nexoclom.modelcode.LOSResult import LOSResult
from nexoclom.modelcode.ModelImage import ModelImage | 47.75 | 52 | 0.879581 | 24 | 191 | 7 | 0.333333 | 0.285714 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078534 | 191 | 4 | 52 | 47.75 | 0.954545 | 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 | 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 |
c72d21a0f597edf318e575dca5ff141ef883b00b | 166 | py | Python | product/product_quantity.py | saiihamza/open_data_parsing | 6757c6c6823a0523ca1d2af79e99b761b57a794d | [
"Apache-2.0"
] | null | null | null | product/product_quantity.py | saiihamza/open_data_parsing | 6757c6c6823a0523ca1d2af79e99b761b57a794d | [
"Apache-2.0"
] | null | null | null | product/product_quantity.py | saiihamza/open_data_parsing | 6757c6c6823a0523ca1d2af79e99b761b57a794d | [
"Apache-2.0"
] | null | null | null | class ProductQuantity(object):
def __init__(self, str_quantity):
self.StrQuantity = str_quantity
def __str__(self):
return self.StrQuantity
| 20.75 | 39 | 0.692771 | 18 | 166 | 5.833333 | 0.555556 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228916 | 166 | 7 | 40 | 23.714286 | 0.820313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c737cce3e4f31e689313aeb49525ae650d73d35b | 130 | py | Python | declare_qtquick/widgets/api/qt/labs/folderlistmodel/__init__.py | likianta/declare-qtquick | 93c2ce49d841ccdeb0272085c5f731139927f0d7 | [
"MIT"
] | 3 | 2021-11-02T03:45:27.000Z | 2022-03-27T05:33:36.000Z | declare_qtquick/widgets/api/qt/labs/folderlistmodel/__init__.py | likianta/declare-qtquick | 93c2ce49d841ccdeb0272085c5f731139927f0d7 | [
"MIT"
] | null | null | null | declare_qtquick/widgets/api/qt/labs/folderlistmodel/__init__.py | likianta/declare-qtquick | 93c2ce49d841ccdeb0272085c5f731139927f0d7 | [
"MIT"
] | null | null | null | from __declare_qtquick_internals__ import qml_imports
qml_imports.add("Qt.labs.folderlistmodel")
from .__list__ import * # noqa
| 26 | 53 | 0.823077 | 17 | 130 | 5.588235 | 0.764706 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 130 | 4 | 54 | 32.5 | 0.811966 | 0.030769 | 0 | 0 | 0 | 0 | 0.185484 | 0.185484 | 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 |
c763a9dc6d8bcd0dbfdc07487d21e32a6862cad1 | 14,657 | py | Python | indicators/migrations/0002_auto_20200215_0114.py | mikael19/activity | 3932de42d9b423bff5739f7e06520035df213fc6 | [
"Apache-2.0"
] | 60 | 2020-02-13T17:20:43.000Z | 2022-03-12T19:26:04.000Z | indicators/migrations/0002_auto_20200215_0114.py | mikael19/activity | 3932de42d9b423bff5739f7e06520035df213fc6 | [
"Apache-2.0"
] | 449 | 2020-02-12T22:18:00.000Z | 2022-03-11T23:36:59.000Z | indicators/migrations/0002_auto_20200215_0114.py | mikael19/activity | 3932de42d9b423bff5739f7e06520035df213fc6 | [
"Apache-2.0"
] | 31 | 2020-03-07T21:00:54.000Z | 2021-07-14T18:37:34.000Z | # Generated by Django 2.2.10 on 2020-02-15 09:14
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('ind... | 53.298182 | 244 | 0.649246 | 1,495 | 14,657 | 6.182609 | 0.081605 | 0.099318 | 0.126907 | 0.148978 | 0.883371 | 0.87147 | 0.781781 | 0.686682 | 0.67186 | 0.617224 | 0 | 0.002282 | 0.222692 | 14,657 | 274 | 245 | 53.492701 | 0.809006 | 0.003138 | 0 | 0.715356 | 1 | 0 | 0.21035 | 0.087001 | 0.052434 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011236 | 0 | 0.026217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c799bd601ff7c758892430bc486153c9beeec9b6 | 125 | py | Python | Introduction/Write a function.py | Code-With-Aagam/python-hackerrank | 270c75cf2ca30916183c7fe5ca130a64c7a8ed6d | [
"MIT"
] | 3 | 2022-03-05T15:38:26.000Z | 2022-03-09T13:39:30.000Z | Introduction/Write a function.py | Code-With-Aagam/python-hackerrank | 270c75cf2ca30916183c7fe5ca130a64c7a8ed6d | [
"MIT"
] | null | null | null | Introduction/Write a function.py | Code-With-Aagam/python-hackerrank | 270c75cf2ca30916183c7fe5ca130a64c7a8ed6d | [
"MIT"
] | null | null | null | import calendar # Don't reinvent the wheel
def is_leap(year):
# Write your logic here
return calendar.isleap(year) | 31.25 | 43 | 0.72 | 19 | 125 | 4.684211 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208 | 125 | 4 | 44 | 31.25 | 0.89899 | 0.368 | 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 |
c7adb1e495d2cb961e163ef20e979fdb660c4439 | 192 | py | Python | cvrapi_client/exceptions.py | cliisberg/cvrapi-python-client | 17582ca56cba322e2146e433db62a57b2d5bcb24 | [
"MIT"
] | null | null | null | cvrapi_client/exceptions.py | cliisberg/cvrapi-python-client | 17582ca56cba322e2146e433db62a57b2d5bcb24 | [
"MIT"
] | null | null | null | cvrapi_client/exceptions.py | cliisberg/cvrapi-python-client | 17582ca56cba322e2146e433db62a57b2d5bcb24 | [
"MIT"
] | null | null | null |
class ApiError(Exception):
def __init__(self, error, status_code):
self.message = error
self.status_code = status_code
def __str__(self):
return self.message
| 21.333333 | 43 | 0.65625 | 23 | 192 | 5 | 0.521739 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260417 | 192 | 8 | 44 | 24 | 0.809859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
c7b00e93508068c64d3d5b09018cb0555cc8dd06 | 78 | py | Python | mol/tests/test_util2.py | TzuTingWei/mol | 9499925443f389d8e960b6d656f2953d21df3e3b | [
"MIT"
] | null | null | null | mol/tests/test_util2.py | TzuTingWei/mol | 9499925443f389d8e960b6d656f2953d21df3e3b | [
"MIT"
] | null | null | null | mol/tests/test_util2.py | TzuTingWei/mol | 9499925443f389d8e960b6d656f2953d21df3e3b | [
"MIT"
] | null | null | null | import mol
def test_distance():
assert mol.util.distance([0,1], [0,2]) == 1
| 15.6 | 44 | 0.653846 | 14 | 78 | 3.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0.141026 | 78 | 4 | 45 | 19.5 | 0.671642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7f0ef5810962551658faf34d1da1237450363e9 | 275 | py | Python | boa3_test/test_sc/interop_test/blockchain/GetTransactionFromBlockUInt256.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/interop_test/blockchain/GetTransactionFromBlockUInt256.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/interop_test/blockchain/GetTransactionFromBlockUInt256.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin import public
from boa3.builtin.interop.blockchain import Transaction, get_transaction_from_block
from boa3.builtin.type import UInt256
@public
def main(hash_: UInt256, tx_index: int) -> Transaction:
return get_transaction_from_block(hash_, tx_index)
| 30.555556 | 83 | 0.821818 | 39 | 275 | 5.538462 | 0.487179 | 0.111111 | 0.208333 | 0.212963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036735 | 0.109091 | 275 | 8 | 84 | 34.375 | 0.844898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
40423128534b98189b764fa4b5faf54da78b8c46 | 10,756 | py | Python | tests/datetime/test_comparison.py | aleksey-kutepov/pendulum | 47ee3f51b0e27ec06a91a2f37d44e54dc31f888e | [
"MIT"
] | null | null | null | tests/datetime/test_comparison.py | aleksey-kutepov/pendulum | 47ee3f51b0e27ec06a91a2f37d44e54dc31f888e | [
"MIT"
] | null | null | null | tests/datetime/test_comparison.py | aleksey-kutepov/pendulum | 47ee3f51b0e27ec06a91a2f37d44e54dc31f888e | [
"MIT"
] | null | null | null | import pytz
from datetime import datetime
import pendulum
from ..conftest import assert_datetime
def test_equal_to_true():
d1 = pendulum.datetime(2000, 1, 1, 1, 2, 3)
d2 = pendulum.datetime(2000, 1, 1, 1, 2, 3)
d3 = datetime(2000, 1, 1, 1, 2, 3, tzinfo= pendulum.UTC)
assert d2 == d1
assert d3 =... | 29.468493 | 99 | 0.637226 | 1,694 | 10,756 | 3.942739 | 0.051358 | 0.184459 | 0.140141 | 0.121575 | 0.877377 | 0.849678 | 0.825722 | 0.818536 | 0.80566 | 0.793233 | 0 | 0.148241 | 0.217925 | 10,756 | 364 | 100 | 29.549451 | 0.645744 | 0 | 0 | 0.669323 | 0 | 0 | 0.049554 | 0 | 0 | 0 | 0 | 0 | 0.314741 | 1 | 0.139442 | false | 0 | 0.015936 | 0 | 0.155378 | 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 |
40896a49e8a9d3a6dbc4283ab3c30866b79f8155 | 11,473 | py | Python | dbdaora/hash/_tests/mongodb/test_integration_service_hash_aioredis_mongodb_get_many.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | 21 | 2019-10-14T14:33:33.000Z | 2022-02-11T04:43:07.000Z | dbdaora/hash/_tests/mongodb/test_integration_service_hash_aioredis_mongodb_get_many.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | null | null | null | dbdaora/hash/_tests/mongodb/test_integration_service_hash_aioredis_mongodb_get_many.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | 1 | 2019-09-29T23:51:44.000Z | 2019-09-29T23:51:44.000Z | import itertools
import asynctest
import pytest
from aioredis import RedisError
from jsondaora import dataclasses
@pytest.mark.asyncio
async def test_should_get_many(
fake_service,
serialized_fake_entity,
fake_entity,
serialized_fake_entity2,
fake_entity2,
):
await fake_service.repository.mem... | 29.877604 | 84 | 0.683605 | 1,396 | 11,473 | 5.266476 | 0.061605 | 0.134657 | 0.139962 | 0.121192 | 0.967764 | 0.95185 | 0.939336 | 0.922334 | 0.922334 | 0.908596 | 0 | 0.009306 | 0.22261 | 11,473 | 383 | 85 | 29.955614 | 0.815002 | 0 | 0 | 0.663717 | 0 | 0 | 0.118714 | 0.047677 | 0 | 0 | 0 | 0 | 0.082596 | 1 | 0 | false | 0 | 0.014749 | 0 | 0.014749 | 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 |
40b322299f9c1736928f3955c4f8268de303d171 | 140 | py | Python | start_app/models.py | noobiept-other/init_django | a305e1b0b289bfa166638372163fd460fc30a938 | [
"MIT"
] | null | null | null | start_app/models.py | noobiept-other/init_django | a305e1b0b289bfa166638372163fd460fc30a938 | [
"MIT"
] | null | null | null | start_app/models.py | noobiept-other/init_django | a305e1b0b289bfa166638372163fd460fc30a938 | [
"MIT"
] | null | null | null | from django.db import models
from django.conf import settings
from django.utils import timezone
from django.core.urlresolvers import reverse | 35 | 44 | 0.857143 | 21 | 140 | 5.714286 | 0.571429 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 140 | 4 | 44 | 35 | 0.96 | 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 |
40d277f259a7b302db5872c8114fe7ac1c4c45a1 | 208 | py | Python | lmnotify/__init__.py | alexrockt/lmnotify | e21feb615c13eda12534b3de884bf73ea15736b2 | [
"MIT"
] | 6 | 2017-02-17T18:49:52.000Z | 2018-02-25T12:53:00.000Z | lmnotify/__init__.py | r-xela/lmnotify | e21feb615c13eda12534b3de884bf73ea15736b2 | [
"MIT"
] | null | null | null | lmnotify/__init__.py | r-xela/lmnotify | e21feb615c13eda12534b3de884bf73ea15736b2 | [
"MIT"
] | null | null | null | __all__ = [
"LaMetricManager", "SimpleFrame", "GoalFrame", "SpikeChart",
"Sound", "Model"
]
from .lmnotify import LaMetricManager
from .models import SimpleFrame, GoalFrame, SpikeChart, Sound, Model
| 26 | 68 | 0.725962 | 19 | 208 | 7.736842 | 0.578947 | 0.272109 | 0.408163 | 0.47619 | 0.544218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149038 | 208 | 7 | 69 | 29.714286 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0.264423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
908318735f9fe1030170605522c852bf4b3398a7 | 3,657 | py | Python | models/backbone.py | Xpitfire/bpda | 36e99cd8390b8a960ca42ffb83a85d15ab6ee9a0 | [
"MIT"
] | 4 | 2021-11-29T15:02:57.000Z | 2022-03-31T07:25:50.000Z | models/backbone.py | Xpitfire/bpda | 36e99cd8390b8a960ca42ffb83a85d15ab6ee9a0 | [
"MIT"
] | null | null | null | models/backbone.py | Xpitfire/bpda | 36e99cd8390b8a960ca42ffb83a85d15ab6ee9a0 | [
"MIT"
] | null | null | null | import torch
import torchvision.models as models
def set_gradients_enabled(config, model):
print('Enbable backbone gradients: ', config.backbone.trainable)
for param in model.parameters():
param.requires_grad = config.backbone.trainable
def register_domain_adaptation_features_extraction(config, mode... | 39.322581 | 135 | 0.686081 | 415 | 3,657 | 5.884337 | 0.163855 | 0.143325 | 0.111794 | 0.138411 | 0.806716 | 0.794431 | 0.760033 | 0.760033 | 0.760033 | 0.760033 | 0 | 0.003517 | 0.222587 | 3,657 | 92 | 136 | 39.75 | 0.855434 | 0.033361 | 0 | 0.670886 | 0 | 0 | 0.06004 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.177215 | false | 0 | 0.025316 | 0 | 0.329114 | 0.101266 | 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 |
90930e2f14c267e3795fd938d11dc92d39b9c2dd | 130 | py | Python | cellcutter/alpha/ops/__init__.py | jiyuuchc/cellcutter | b5c7aac06b287407d3500e27289fa8cb0b248ef9 | [
"MIT"
] | 5 | 2021-05-19T05:38:38.000Z | 2022-03-14T15:38:24.000Z | cellcutter/alpha/ops/__init__.py | jiyuuchc/cellcutter | b5c7aac06b287407d3500e27289fa8cb0b248ef9 | [
"MIT"
] | null | null | null | cellcutter/alpha/ops/__init__.py | jiyuuchc/cellcutter | b5c7aac06b287407d3500e27289fa8cb0b248ef9 | [
"MIT"
] | 1 | 2022-03-25T04:34:19.000Z | 2022-03-25T04:34:19.000Z | from .boxes import *
from .clustering import *
from .common import *
from .proposal_generator import *
from .box_matcher import *
| 21.666667 | 33 | 0.769231 | 17 | 130 | 5.764706 | 0.529412 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 130 | 5 | 34 | 26 | 0.890909 | 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 |
90b48bc52c83e3b7d611f715c281aa01a356dc28 | 12,815 | py | Python | balto/displayer/curses_widgets.py | Gnonpi/balto | 18d51f0a6ba90bc2083b34518d1ced5c2e86b7a0 | [
"MIT"
] | null | null | null | balto/displayer/curses_widgets.py | Gnonpi/balto | 18d51f0a6ba90bc2083b34518d1ced5c2e86b7a0 | [
"MIT"
] | null | null | null | balto/displayer/curses_widgets.py | Gnonpi/balto | 18d51f0a6ba90bc2083b34518d1ced5c2e86b7a0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2018-2019 by Boris Feld
from __future__ import print_function
from contextlib import suppress
import urwid
from balto.suite import TestSuite
STATUS = urwid.Text("")
PROGRESS_BAR = urwid.ProgressBar("pg normal", "pg complete", 0, 1)
FOOTER = urwid.Columns([STATUS, PROGRESS_BAR])
... | 28.226872 | 88 | 0.591182 | 1,559 | 12,815 | 4.62925 | 0.117383 | 0.059166 | 0.023417 | 0.032423 | 0.75918 | 0.747818 | 0.730913 | 0.726895 | 0.709436 | 0.698767 | 0 | 0.002619 | 0.284822 | 12,815 | 453 | 89 | 28.289183 | 0.784397 | 0.07936 | 0 | 0.729032 | 0 | 0 | 0.061744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164516 | false | 0.006452 | 0.012903 | 0.035484 | 0.303226 | 0.003226 | 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 |
90bd0f7b8b08db4cb8e94533fd4b340cb7aa38da | 26 | py | Python | opt/__init__.py | hansheng0512/LateTemporalModeling3DCNN | 71c1d3fae9781c55059f0518e0b39781a535e153 | [
"MIT"
] | 144 | 2020-08-06T02:18:49.000Z | 2022-03-16T23:03:56.000Z | opt/__init__.py | hansheng0512/LateTemporalModeling3DCNN | 71c1d3fae9781c55059f0518e0b39781a535e153 | [
"MIT"
] | 26 | 2020-08-12T01:07:48.000Z | 2022-01-11T16:28:08.000Z | opt/__init__.py | hansheng0512/LateTemporalModeling3DCNN | 71c1d3fae9781c55059f0518e0b39781a535e153 | [
"MIT"
] | 55 | 2020-08-13T03:00:17.000Z | 2022-03-28T06:38:08.000Z | from .AdamW import AdamW
| 8.666667 | 24 | 0.769231 | 4 | 26 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 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 |
90deeb453f569ec9ed42914674d68873f513d8f1 | 3,694 | py | Python | tests/test_client.py | tizz98/clerk-sdk-python | 32a2e243aa8a8d92ca4f3dab68b36eef5aa040d3 | [
"MIT"
] | null | null | null | tests/test_client.py | tizz98/clerk-sdk-python | 32a2e243aa8a8d92ca4f3dab68b36eef5aa040d3 | [
"MIT"
] | null | null | null | tests/test_client.py | tizz98/clerk-sdk-python | 32a2e243aa8a8d92ca4f3dab68b36eef5aa040d3 | [
"MIT"
] | null | null | null | import pytest
from clerk import errors, types
@pytest.mark.asyncio
class TestAPIErrorHandling:
def _check_error(self, e: errors.ClerkAPIException, err):
assert e.status == 400
assert e.method is not None
assert e.url is not None
assert e.api_errors == (err,)
async def test_se... | 36.574257 | 95 | 0.654034 | 442 | 3,694 | 5.217195 | 0.131222 | 0.089766 | 0.139636 | 0.104944 | 0.870772 | 0.856895 | 0.856895 | 0.856895 | 0.842151 | 0.842151 | 0 | 0.047137 | 0.224689 | 3,694 | 100 | 96 | 36.94 | 0.758031 | 0 | 0 | 0.430556 | 0 | 0 | 0.062263 | 0.01137 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.013889 | false | 0 | 0.027778 | 0 | 0.055556 | 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 |
294b05a0c139fd61f48237032e1f5ce23081086c | 5,260 | py | Python | kolibri/core/content/test/test_redirectcontent.py | MBKayro/kolibri | 0a38a5fb665503cf8f848b2f65938e73bfaa5989 | [
"MIT"
] | 545 | 2016-01-19T19:26:55.000Z | 2022-03-20T00:13:04.000Z | kolibri/core/content/test/test_redirectcontent.py | MBKayro/kolibri | 0a38a5fb665503cf8f848b2f65938e73bfaa5989 | [
"MIT"
] | 8,329 | 2016-01-19T19:32:02.000Z | 2022-03-31T21:23:12.000Z | kolibri/core/content/test/test_redirectcontent.py | MBKayro/kolibri | 0a38a5fb665503cf8f848b2f65938e73bfaa5989 | [
"MIT"
] | 493 | 2016-01-19T19:26:48.000Z | 2022-03-28T14:35:05.000Z | import uuid
from django.core.urlresolvers import reverse
from django.test import TestCase
from mock import patch
from six.moves.urllib.parse import urlencode
from kolibri.core.content.models import ContentNode
class RedirectContentTestCase(TestCase):
"""
Testcase for viewcontent endpoint
"""
fixtur... | 38.394161 | 88 | 0.65076 | 686 | 5,260 | 4.72449 | 0.129738 | 0.064795 | 0.066646 | 0.077754 | 0.814872 | 0.799753 | 0.798828 | 0.763653 | 0.746375 | 0.746375 | 0 | 0.017015 | 0.262548 | 5,260 | 136 | 89 | 38.676471 | 0.81851 | 0.111217 | 0 | 0.5 | 0 | 0 | 0.038073 | 0.023661 | 0 | 0 | 0 | 0 | 0.182692 | 1 | 0.125 | false | 0 | 0.057692 | 0 | 0.221154 | 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 |
2950e2d6496ab5c04db14e9a7b1fdb1a9afd9f23 | 56,354 | py | Python | aser/extract/aser_extractor.py | DDoublu/ASER | 93f91a6d4797fdfbb0dc3051acae367fe85bc5cb | [
"MIT"
] | null | null | null | aser/extract/aser_extractor.py | DDoublu/ASER | 93f91a6d4797fdfbb0dc3051acae367fe85bc5cb | [
"MIT"
] | null | null | null | aser/extract/aser_extractor.py | DDoublu/ASER | 93f91a6d4797fdfbb0dc3051acae367fe85bc5cb | [
"MIT"
] | null | null | null | from copy import copy, deepcopy
from itertools import chain
from .eventuality_extractor import SeedRuleEventualityExtractor, DiscourseEventualityExtractor
from .relation_extractor import SeedRuleRelationExtractor, DiscourseRelationExtractor
from .utils import parse_sentense_with_stanford, get_corenlp_client
from .... | 49.217467 | 300 | 0.497569 | 5,214 | 56,354 | 5.185079 | 0.061373 | 0.055484 | 0.007546 | 0.008877 | 0.810246 | 0.780692 | 0.764232 | 0.7285 | 0.711004 | 0.701498 | 0 | 0.023124 | 0.393761 | 56,354 | 1,144 | 301 | 49.26049 | 0.768206 | 0.71601 | 0 | 0.347368 | 0 | 0 | 0.100933 | 0.017114 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068421 | false | 0 | 0.036842 | 0 | 0.173684 | 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 |
463308980a2e67fc68c91f6ea9ec29d55318c067 | 63 | py | Python | docker/runner/node/0.10.37/push.py | urodoz/sailfish-runner | 1b33da8be335c0bf1e235a50ad36f60f95521bfc | [
"MIT"
] | null | null | null | docker/runner/node/0.10.37/push.py | urodoz/sailfish-runner | 1b33da8be335c0bf1e235a50ad36f60f95521bfc | [
"MIT"
] | null | null | null | docker/runner/node/0.10.37/push.py | urodoz/sailfish-runner | 1b33da8be335c0bf1e235a50ad36f60f95521bfc | [
"MIT"
] | null | null | null | import os
os.system("docker push urodoz/sailfish-node:0.10.37") | 31.5 | 53 | 0.777778 | 12 | 63 | 4.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 0.063492 | 63 | 2 | 53 | 31.5 | 0.745763 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
466cded2ac47079ec29747cfce95b64a10996154 | 67 | py | Python | feature_extraction/__init__.py | drakipovic/Bee | 0e89a608fdeaad9594a09e93ed871c40008b7562 | [
"MIT"
] | null | null | null | feature_extraction/__init__.py | drakipovic/Bee | 0e89a608fdeaad9594a09e93ed871c40008b7562 | [
"MIT"
] | null | null | null | feature_extraction/__init__.py | drakipovic/Bee | 0e89a608fdeaad9594a09e93ed871c40008b7562 | [
"MIT"
] | null | null | null | from feature_extractor import FeatureExtractor, CppFeatureExtractor | 67 | 67 | 0.925373 | 6 | 67 | 10.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 67 | 1 | 67 | 67 | 0.968254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46948f30f2ac0aac2b98a3292f0400a4ee918bee | 184 | py | Python | components/alibi-detect-server/adserver/constants.py | glindsell/seldon-core | a6992832b74ed71bbd3a91c48b5a79a5cee785b2 | [
"Apache-2.0"
] | 1 | 2020-07-14T15:42:41.000Z | 2020-07-14T15:42:41.000Z | components/alibi-detect-server/adserver/constants.py | glindsell/seldon-core | a6992832b74ed71bbd3a91c48b5a79a5cee785b2 | [
"Apache-2.0"
] | 231 | 2020-08-10T08:38:42.000Z | 2021-08-02T20:56:49.000Z | components/alibi-detect-server/adserver/constants.py | josephglanville/seldon-core | 34ab0c33c55879ebe3ea3009ca64b0b47d18896c | [
"Apache-2.0"
] | null | null | null | HEADER_RETURN_INSTANCE_SCORE = "Alibi-Detect-Return-Instance-Score"
HEADER_RETURN_FEATURE_SCORE = "Alibi-Detect-Return-Feature-Score"
HEADER_OUTLIER_TYPE = "Alibi-Detect-Outlier-Type"
| 46 | 67 | 0.842391 | 25 | 184 | 5.88 | 0.36 | 0.22449 | 0.258503 | 0.29932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048913 | 184 | 3 | 68 | 61.333333 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3b44a61b76b201fa497bfe2338de4744d1d6868 | 63 | py | Python | src/stk/ea/crossover/__init__.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 21 | 2018-04-12T16:25:24.000Z | 2022-02-14T23:05:43.000Z | src/stk/ea/crossover/__init__.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 8 | 2019-03-19T12:36:36.000Z | 2020-11-11T12:46:00.000Z | src/stk/ea/crossover/__init__.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | 5 | 2018-08-07T13:00:16.000Z | 2021-11-01T00:55:10.000Z | from .crossers import * # noqa
from .records import * # noqa
| 21 | 31 | 0.68254 | 8 | 63 | 5.375 | 0.625 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 63 | 2 | 32 | 31.5 | 0.877551 | 0.142857 | 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 |
d3bc83d947706d2d0590301ff140b0f4a38a64fe | 45 | py | Python | list_to_set.py | rivcah/100daysofPython | 9536f687000008bb11d14e7f1607f2c438e77dca | [
"Unlicense"
] | null | null | null | list_to_set.py | rivcah/100daysofPython | 9536f687000008bb11d14e7f1607f2c438e77dca | [
"Unlicense"
] | null | null | null | list_to_set.py | rivcah/100daysofPython | 9536f687000008bb11d14e7f1607f2c438e77dca | [
"Unlicense"
] | null | null | null | def setup_set(items):
return(set(items))
| 15 | 22 | 0.688889 | 7 | 45 | 4.285714 | 0.714286 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 23 | 22.5 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
31134eb7a34d5f2d500a9544df5b0d19258e6496 | 20,350 | py | Python | tests/app/validation/test_number_range_validator.py | nealedj/eq-survey-runner | b8e6cddae6068f6c8fd60e21d31d58aaa79bbb34 | [
"MIT"
] | null | null | null | tests/app/validation/test_number_range_validator.py | nealedj/eq-survey-runner | b8e6cddae6068f6c8fd60e21d31d58aaa79bbb34 | [
"MIT"
] | 1 | 2018-11-05T12:00:51.000Z | 2018-11-05T12:00:51.000Z | tests/app/validation/test_number_range_validator.py | nealedj/eq-survey-runner | b8e6cddae6068f6c8fd60e21d31d58aaa79bbb34 | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import Mock, patch
from wtforms.validators import ValidationError
from app.jinja_filters import format_number
from app.validation.error_messages import error_messages
from app.validation.validators import NumberRange
from app.forms.fields import get_number_field, CustomIntegerField
f... | 34.965636 | 118 | 0.567125 | 2,015 | 20,350 | 5.516129 | 0.069975 | 0.066937 | 0.047413 | 0.043185 | 0.879262 | 0.848493 | 0.822582 | 0.801799 | 0.801799 | 0.801619 | 0 | 0.020532 | 0.337052 | 20,350 | 581 | 119 | 35.025818 | 0.80335 | 0.004816 | 0 | 0.690021 | 0 | 0.002123 | 0.22376 | 0.007116 | 0 | 0 | 0 | 0 | 0.080679 | 1 | 0.042463 | false | 0 | 0.016985 | 0 | 0.061571 | 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 |
3141ee6e2671951af4607884d1245aef7cc0d3cb | 31 | py | Python | AIs/Manoj Bisht/__init__.py | YSabarad/monopyly | 0460f2452c83846b6b9e3b234be411e12a86d69c | [
"MIT"
] | 4 | 2015-11-04T21:18:40.000Z | 2020-12-26T21:15:23.000Z | AIs/Manoj Bisht/__init__.py | YSabarad/monopyly | 0460f2452c83846b6b9e3b234be411e12a86d69c | [
"MIT"
] | 2 | 2021-08-09T18:19:58.000Z | 2021-08-10T14:44:54.000Z | AIs/Manoj Bisht/__init__.py | YSabarad/monopyly | 0460f2452c83846b6b9e3b234be411e12a86d69c | [
"MIT"
] | 6 | 2015-08-01T17:54:17.000Z | 2022-02-28T00:00:21.000Z | from .rimpo_ai import RimpoAI
| 10.333333 | 29 | 0.806452 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 30 | 15.5 | 0.923077 | 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 |
314a751f58afd1795c2cb34a9dc27304b57c5d69 | 6,454 | py | Python | autoreglib/model_feature_reg.py | s-yagyu/pys | 3ded91377bf2c863db40525e34bfbe41db1d7c37 | [
"MIT"
] | null | null | null | autoreglib/model_feature_reg.py | s-yagyu/pys | 3ded91377bf2c863db40525e34bfbe41db1d7c37 | [
"MIT"
] | null | null | null | autoreglib/model_feature_reg.py | s-yagyu/pys | 3ded91377bf2c863db40525e34bfbe41db1d7c37 | [
"MIT"
] | null | null | null | """
モデルベース特徴量選択
教師あり学習モデルを用いて個々の特徴量の重要度を判断して、重要なものだけを残す方法。
特徴選択に使うモデルは最終的に使うモデルと同じでなくてもよい。
SelectFromModelは、フィッティング後に coef_ またはfeature_importances_属性を持つ推定器と一緒に使用できるメタ変換器。
coef_またはfeature_importances_の対応する値が、
指定されたしきい値パラメータを下回る場合、特徴は重要ではないとみなされ、削除されます。
しきい値を数値で指定する以外にも、文字列引数を使用してしきい値を見つけるためのヒューリスティックスが組み込まれています... | 31.637255 | 91 | 0.677564 | 876 | 6,454 | 4.751142 | 0.138128 | 0.069198 | 0.032436 | 0.049015 | 0.73234 | 0.716482 | 0.716482 | 0.716482 | 0.709995 | 0.709995 | 0 | 0.012505 | 0.194608 | 6,454 | 204 | 92 | 31.637255 | 0.788188 | 0.186396 | 0 | 0.723214 | 0 | 0 | 0.131241 | 0.009578 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026786 | false | 0 | 0.107143 | 0 | 0.133929 | 0.25 | 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 |
3166b5a3ad3e0bfab5b619020bc4e2ecd55cd4ad | 191 | py | Python | src/gwnet/__init__.py | Sunnesoft/g2net-challenge | a633719aa8344547a5e79f07180bb424faeab385 | [
"MIT"
] | null | null | null | src/gwnet/__init__.py | Sunnesoft/g2net-challenge | a633719aa8344547a5e79f07180bb424faeab385 | [
"MIT"
] | null | null | null | src/gwnet/__init__.py | Sunnesoft/g2net-challenge | a633719aa8344547a5e79f07180bb424faeab385 | [
"MIT"
] | null | null | null | from .gw_cqt_gpu import *
from .gw_device_manager import *
from .gw_dataset import *
from .gw_model import *
from .gw_timeseries import *
from .gw_utils import *
from .gw_spectrogram import * | 27.285714 | 32 | 0.78534 | 30 | 191 | 4.7 | 0.4 | 0.297872 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141361 | 191 | 7 | 33 | 27.285714 | 0.859756 | 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 | 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 |
31b97cca1093685f6e9c84c02ab24c719a8bd4fb | 34 | py | Python | unsoliciated/list_open_ports.py | Tuutaans/lazy_enumerator | 91eb059d6c173e60aff590b78f723168cd4264e3 | [
"MIT"
] | null | null | null | unsoliciated/list_open_ports.py | Tuutaans/lazy_enumerator | 91eb059d6c173e60aff590b78f723168cd4264e3 | [
"MIT"
] | 6 | 2022-02-09T15:44:34.000Z | 2022-02-10T03:48:54.000Z | unsoliciated/list_open_ports.py | Tuutaans/lazy_enumerator | 91eb059d6c173e60aff590b78f723168cd4264e3 | [
"MIT"
] | 2 | 2022-02-09T14:49:25.000Z | 2022-02-09T16:26:11.000Z |
def list_open_ports():
pass
| 6.8 | 22 | 0.647059 | 5 | 34 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 34 | 4 | 23 | 8.5 | 0.8 | 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 |
31c449f16c93d4d9579fb9f80c5f1157b93dbc6e | 89 | py | Python | test/tests/decorator_whitespace.py | RangelReale/libpypa | e4b3c359d3d2a9ccbea1cbb0a977af8219dd64ef | [
"Apache-2.0"
] | 152 | 2015-01-01T02:26:21.000Z | 2022-03-04T12:18:15.000Z | test/tests/decorator_whitespace.py | kattkieru/libpypa | 5e7a4833da515d0cd2d850d51f082000c9e9f651 | [
"Apache-2.0"
] | 43 | 2015-01-22T00:49:10.000Z | 2019-02-26T22:42:59.000Z | test/tests/decorator_whitespace.py | kattkieru/libpypa | 5e7a4833da515d0cd2d850d51f082000c9e9f651 | [
"Apache-2.0"
] | 42 | 2015-01-02T11:29:49.000Z | 2022-03-04T12:18:17.000Z | # fail-if: '-x' not in EXTRA_JIT_ARGS
def dec(f):
return f
@dec
def f():
pass
| 8.9 | 37 | 0.573034 | 17 | 89 | 2.882353 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280899 | 89 | 9 | 38 | 9.888889 | 0.765625 | 0.393258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
31e480b02abea915111647c95c60232d357fc089 | 342 | py | Python | test/test_utils.py | silx-kit/h5grove | 97dbbfd86c9498744ff387b49e6aa484d2f78cbb | [
"MIT"
] | 2 | 2022-02-04T18:56:52.000Z | 2022-02-18T04:46:18.000Z | test/test_utils.py | silx-kit/h5grove | 97dbbfd86c9498744ff387b49e6aa484d2f78cbb | [
"MIT"
] | 19 | 2021-06-29T13:03:30.000Z | 2022-03-25T12:58:16.000Z | test/test_utils.py | silx-kit/h5grove | 97dbbfd86c9498744ff387b49e6aa484d2f78cbb | [
"MIT"
] | null | null | null | from h5grove.utils import hdf_path_join
def test_root_path_join():
assert hdf_path_join("/", "child") == "/child"
def test_group_path_join():
assert hdf_path_join("/group1/group2", "data") == "/group1/group2/data"
def test_group_path_join_trailing():
assert hdf_path_join("/group1/group2/", "data") == ... | 24.428571 | 76 | 0.710526 | 49 | 342 | 4.591837 | 0.346939 | 0.248889 | 0.195556 | 0.226667 | 0.724444 | 0.582222 | 0.435556 | 0.435556 | 0.435556 | 0.435556 | 0 | 0.0301 | 0.125731 | 342 | 13 | 77 | 26.307692 | 0.722408 | 0 | 0 | 0 | 0 | 0 | 0.254386 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ec5296498e0533b534871a19bc71c6d137fc5da | 180 | py | Python | src/collectd/registry.py | rdejoux/python-collectd-mock | 4b42b108cd81cf9021dc8bdf85829ac827da682e | [
"MIT"
] | null | null | null | src/collectd/registry.py | rdejoux/python-collectd-mock | 4b42b108cd81cf9021dc8bdf85829ac827da682e | [
"MIT"
] | 2 | 2018-11-01T03:37:25.000Z | 2020-01-24T09:04:57.000Z | src/collectd/registry.py | rdejoux/python-collectd-mock | 4b42b108cd81cf9021dc8bdf85829ac827da682e | [
"MIT"
] | 2 | 2017-06-22T18:58:07.000Z | 2018-10-31T12:05:06.000Z |
def register_init(func):
pass
def register_config(func):
pass
def register_read(func):
pass
def register_write(func):
pass
def info(msg):
print(msg)
| 8.181818 | 26 | 0.65 | 25 | 180 | 4.52 | 0.44 | 0.389381 | 0.389381 | 0.504425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255556 | 180 | 21 | 27 | 8.571429 | 0.843284 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.4 | 0 | 0 | 0.5 | 0.1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9eca9a92ab0e2049f1ea1694252391a13327f37d | 4,089 | py | Python | tests/core/pyspec/eth2spec/test/altair/rewards/test_inactivity_scores.py | jmyllyla/eth2.0-specs | 68692f823201dbae61d94e8747b690412b7b8505 | [
"CC0-1.0"
] | null | null | null | tests/core/pyspec/eth2spec/test/altair/rewards/test_inactivity_scores.py | jmyllyla/eth2.0-specs | 68692f823201dbae61d94e8747b690412b7b8505 | [
"CC0-1.0"
] | null | null | null | tests/core/pyspec/eth2spec/test/altair/rewards/test_inactivity_scores.py | jmyllyla/eth2.0-specs | 68692f823201dbae61d94e8747b690412b7b8505 | [
"CC0-1.0"
] | null | null | null | from random import Random
from eth2spec.test.context import (
with_altair_and_later,
spec_test,
spec_state_test,
with_custom_state,
single_phase,
low_balances, misc_balances,
)
from eth2spec.test.helpers.inactivity_scores import randomize_inactivity_scores
from eth2spec.test.helpers.rewards imp... | 34.361345 | 95 | 0.816581 | 596 | 4,089 | 5.192953 | 0.098993 | 0.133764 | 0.06979 | 0.104685 | 0.887561 | 0.880452 | 0.87916 | 0.864943 | 0.84685 | 0.817448 | 0 | 0.040661 | 0.097823 | 4,089 | 118 | 96 | 34.652542 | 0.798319 | 0.003913 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0 | 0.057471 | 0 | 0.195402 | 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 |
732babc5e94304f3c0074fa955851d6f98a6ccac | 12,659 | py | Python | magnum/tests/unit/common/test_neutron.py | ajmadsen/magnum | 042d2ad14489afcecf0a3bc4038e2333e2acb3fb | [
"Apache-2.0"
] | 319 | 2015-04-01T01:36:14.000Z | 2022-01-18T13:21:46.000Z | magnum/tests/unit/common/test_neutron.py | ajmadsen/magnum | 042d2ad14489afcecf0a3bc4038e2333e2acb3fb | [
"Apache-2.0"
] | 10 | 2015-06-05T20:12:46.000Z | 2018-10-17T09:14:22.000Z | magnum/tests/unit/common/test_neutron.py | ajmadsen/magnum | 042d2ad14489afcecf0a3bc4038e2333e2acb3fb | [
"Apache-2.0"
] | 254 | 2015-03-30T13:56:06.000Z | 2022-03-26T03:40:22.000Z | # Copyright 2019 Catalyst Cloud Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 35.963068 | 78 | 0.55581 | 1,234 | 12,659 | 5.43517 | 0.175851 | 0.059043 | 0.048159 | 0.034442 | 0.821381 | 0.818995 | 0.804085 | 0.7686 | 0.765022 | 0.72402 | 0 | 0.08166 | 0.350897 | 12,659 | 351 | 79 | 36.065527 | 0.734575 | 0.046054 | 0 | 0.647458 | 0 | 0 | 0.210081 | 0.121705 | 0 | 0 | 0 | 0 | 0.037288 | 1 | 0.040678 | false | 0 | 0.020339 | 0 | 0.064407 | 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 |
733e6a17282d9c3babef01f0e484c5bff3b41f16 | 87 | py | Python | eds/openmtc-gevent/common/openmtc-etsi/src/openmtc_etsi/serializer/xml/exc.py | piyush82/elastest-device-emulator-service | b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7 | [
"Apache-2.0"
] | null | null | null | eds/openmtc-gevent/common/openmtc-etsi/src/openmtc_etsi/serializer/xml/exc.py | piyush82/elastest-device-emulator-service | b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7 | [
"Apache-2.0"
] | null | null | null | eds/openmtc-gevent/common/openmtc-etsi/src/openmtc_etsi/serializer/xml/exc.py | piyush82/elastest-device-emulator-service | b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7 | [
"Apache-2.0"
] | null | null | null | from openmtc_etsi.exc import SCLSyntaxError
class XMLError(SCLSyntaxError):
pass
| 14.5 | 43 | 0.804598 | 10 | 87 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 5 | 44 | 17.4 | 0.932432 | 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 |
b41799e881a66a8ef586c38e9d0efec9589ae733 | 94 | py | Python | db/tests/fixtures/faq_category.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 1 | 2022-03-03T09:55:57.000Z | 2022-03-03T09:55:57.000Z | db/tests/fixtures/faq_category.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 7 | 2022-02-09T10:44:53.000Z | 2022-03-28T03:29:43.000Z | db/tests/fixtures/faq_category.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | null | null | null | import pytest
@pytest.fixture
def faq_category_valid_args():
return {'name': 'General'}
| 13.428571 | 30 | 0.723404 | 12 | 94 | 5.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 6 | 31 | 15.666667 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b41a89a54fe8a1b25e8c553fb3cda69a73033c63 | 3,276 | py | Python | h2o-py/tests/testdir_algos/automl/pyunit_automl_monotone_constraints.py | vishalbelsare/h2o-3 | 9322fb0f4c0e2358449e339a434f607d524c69fa | [
"Apache-2.0"
] | 1 | 2022-03-15T06:08:14.000Z | 2022-03-15T06:08:14.000Z | h2o-py/tests/testdir_algos/automl/pyunit_automl_monotone_constraints.py | vishalbelsare/h2o-3 | 9322fb0f4c0e2358449e339a434f607d524c69fa | [
"Apache-2.0"
] | 58 | 2021-10-01T12:43:37.000Z | 2021-12-08T22:58:43.000Z | h2o-py/tests/testdir_algos/automl/pyunit_automl_monotone_constraints.py | vishalbelsare/h2o-3 | 9322fb0f4c0e2358449e339a434f607d524c69fa | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
import sys, os
import re
sys.path.insert(1, os.path.join("..","..",".."))
import h2o
import h2o.exceptions
from h2o.automl import H2OAutoML
from tests import pyunit_utils as pu
from _automl_utils import import_dataset, get_partitioned_model_names
max_models = 5
def test_monoto... | 41.468354 | 109 | 0.648657 | 459 | 3,276 | 4.431373 | 0.213508 | 0.149459 | 0.070796 | 0.103245 | 0.806293 | 0.782694 | 0.782694 | 0.782694 | 0.782694 | 0.734513 | 0 | 0.013765 | 0.246032 | 3,276 | 78 | 110 | 42 | 0.809717 | 0.123321 | 0 | 0.7 | 0 | 0 | 0.104858 | 0.016078 | 0 | 0 | 0 | 0 | 0.233333 | 1 | 0.033333 | false | 0.033333 | 0.166667 | 0 | 0.2 | 0.016667 | 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 |
b42a2262415a814af7735e6c00c6073e77532dbd | 12,648 | py | Python | cec2017/hybrid.py | tilleyd/cec2017-py | 5b47cc36c3723c9b6c2e6dd26328b2de45e4993f | [
"MIT"
] | 16 | 2020-04-06T04:34:38.000Z | 2022-03-24T12:29:57.000Z | cec2017/hybrid.py | lukaa12/cec2017-py | 0c241240bfaf11d0f42a607a235b1825ad11e4f7 | [
"MIT"
] | 3 | 2021-07-17T20:46:48.000Z | 2022-03-28T06:48:47.000Z | cec2017/hybrid.py | lukaa12/cec2017-py | 0c241240bfaf11d0f42a607a235b1825ad11e4f7 | [
"MIT"
] | 4 | 2021-05-26T19:32:53.000Z | 2022-03-24T13:27:30.000Z | # cec2017.hybrid
# Author: Duncan Tilley
# Hybrid function definitions, f11 to f20
from . import basic
from . import transforms
import numpy as np
def _shuffle_and_partition(x, shuffle, partitions):
"""
First applies the given permutation, then splits x into partitions given
the percentages.
Args:
... | 35.931818 | 92 | 0.636543 | 1,827 | 12,648 | 4.329502 | 0.085933 | 0.039444 | 0.049305 | 0.060683 | 0.898736 | 0.874083 | 0.85689 | 0.812516 | 0.806068 | 0.675727 | 0 | 0.045093 | 0.254823 | 12,648 | 351 | 93 | 36.034188 | 0.794164 | 0.431847 | 0 | 0.438889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061111 | false | 0 | 0.016667 | 0 | 0.138889 | 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 |
81faa7648be2638616b6a6c23b8edce7bbbe3291 | 97,150 | py | Python | pyboto3/codedeploy.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/codedeploy.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/codedeploy.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 39.556189 | 669 | 0.593392 | 9,304 | 97,150 | 6.143809 | 0.076419 | 0.007173 | 0.00677 | 0.008642 | 0.779486 | 0.744288 | 0.719586 | 0.69373 | 0.679665 | 0.663973 | 0 | 0.00632 | 0.328976 | 97,150 | 2,455 | 670 | 39.572301 | 0.870532 | 0.863695 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c316843677383f785526b2dfcc8be68396c6ac4d | 142 | py | Python | api/app/utils/misc.py | martinoywa/Baobab | f87bfefa69398fb8a59fc7684323c89f2813c1a0 | [
"Apache-2.0"
] | 1 | 2020-03-08T20:00:24.000Z | 2020-03-08T20:00:24.000Z | api/app/utils/misc.py | martinoywa/Baobab | f87bfefa69398fb8a59fc7684323c89f2813c1a0 | [
"Apache-2.0"
] | null | null | null | api/app/utils/misc.py | martinoywa/Baobab | f87bfefa69398fb8a59fc7684323c89f2813c1a0 | [
"Apache-2.0"
] | null | null | null | import uuid
from flask import g
def get_baobab_host():
return g.organisation.system_url
def make_code():
return str(uuid.uuid4())
| 12.909091 | 36 | 0.725352 | 22 | 142 | 4.5 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.183099 | 142 | 10 | 37 | 14.2 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c33f00ed8ebffd04a69b84d715322c1c7e7d9b68 | 37 | py | Python | modules/geopy/parsers/__init__.py | flavour/lacity | fd1f1cccdcea64d07143b29d4f88996e3af35c4b | [
"MIT"
] | 3 | 2015-05-18T05:44:34.000Z | 2018-05-11T12:15:44.000Z | geopy/parsers/__init__.py | datadesk/latimes-mappingla-geopy | 1afcfd98292b929363007e7cd38beae55cdec12d | [
"MIT"
] | null | null | null | geopy/parsers/__init__.py | datadesk/latimes-mappingla-geopy | 1afcfd98292b929363007e7cd38beae55cdec12d | [
"MIT"
] | 1 | 2020-04-29T13:58:31.000Z | 2020-04-29T13:58:31.000Z | from geopy.parsers.base import Parser | 37 | 37 | 0.864865 | 6 | 37 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.941176 | 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 |
c352020e5b04cb87f25c913e31b0709fc453c8fc | 336 | py | Python | app/app/settings/prod.py | AbhiAgarwal/django-template | 0f328c4fb43949751ad8a331b376164a86433d1c | [
"MIT"
] | null | null | null | app/app/settings/prod.py | AbhiAgarwal/django-template | 0f328c4fb43949751ad8a331b376164a86433d1c | [
"MIT"
] | null | null | null | app/app/settings/prod.py | AbhiAgarwal/django-template | 0f328c4fb43949751ad8a331b376164a86433d1c | [
"MIT"
] | null | null | null | """
Django settings for glean project.
Generated by 'django-admin startproject' using Django 1.8.2.
For more information on this file, see
https://docs.djangoproject.com/en/1.8/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.8/ref/settings/
"""
from app.settings.... | 33.6 | 60 | 0.770833 | 55 | 336 | 4.709091 | 0.672727 | 0.023166 | 0.092664 | 0.19305 | 0.247104 | 0.247104 | 0.247104 | 0.247104 | 0 | 0 | 0 | 0.023411 | 0.110119 | 336 | 9 | 61 | 37.333333 | 0.842809 | 0.872024 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6f374df30a0c096e4a7c8f72e22cf06648392875 | 271 | py | Python | faketests/animals/test_successful_tests.py | Djailla/pytest-sugar | 6ac4a1fa18a51e67c7a759bc11a9264cb78619e4 | [
"BSD-3-Clause"
] | 418 | 2019-08-30T00:41:51.000Z | 2022-03-21T09:31:54.000Z | faketests/animals/test_successful_tests.py | Djailla/pytest-sugar | 6ac4a1fa18a51e67c7a759bc11a9264cb78619e4 | [
"BSD-3-Clause"
] | 62 | 2019-08-27T16:50:36.000Z | 2022-03-11T07:03:32.000Z | faketests/animals/test_successful_tests.py | Djailla/pytest-sugar | 6ac4a1fa18a51e67c7a759bc11a9264cb78619e4 | [
"BSD-3-Clause"
] | 25 | 2019-11-27T15:58:16.000Z | 2022-03-21T09:31:56.000Z | def test_cat1():
assert True
def test_cat2():
assert True
def test_cat3():
assert True
def test_cat4():
assert True
def test_cat5():
assert True
def test_cat6():
assert True
def test_cat7():
assert True
def test_cat8():
assert True
| 11.291667 | 16 | 0.649446 | 40 | 271 | 4.2 | 0.3 | 0.333333 | 0.541667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.261993 | 271 | 23 | 17 | 11.782609 | 0.8 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f79ffaa1085428bf5196f6faa49b6f5bb62f9b1 | 812 | py | Python | RasPi_Dev/ros_ws/build/third_packages/ar_track_alvar/ar_track_alvar/catkin_generated/pkg.develspace.context.pc.py | QianheYu/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | 1 | 2022-03-11T03:31:15.000Z | 2022-03-11T03:31:15.000Z | RasPi_Dev/ros_ws/build/third_packages/ar_track_alvar/ar_track_alvar/catkin_generated/pkg.develspace.context.pc.py | bravetree/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | null | null | null | RasPi_Dev/ros_ws/build/third_packages/ar_track_alvar/ar_track_alvar/catkin_generated/pkg.develspace.context.pc.py | bravetree/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | null | null | null | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/xtark/ros_ws/devel/include;/home/xtark/ros_ws/src/third_packages/ar_track_alvar/ar_track_alvar/include".split(';') if "/home/xtark/ros_ws/devel/include;/home/xtark/ros_ws/src/third_packages/ar_tr... | 90.222222 | 283 | 0.810345 | 125 | 812 | 4.856 | 0.488 | 0.131796 | 0.118616 | 0.115321 | 0.317957 | 0.286656 | 0.286656 | 0.286656 | 0.286656 | 0.286656 | 0 | 0.005175 | 0.04803 | 812 | 8 | 284 | 101.5 | 0.780078 | 0.066502 | 0 | 0 | 1 | 0.428571 | 0.64418 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
488ca710dbf71dd34c6f345c3455c22c3efcb671 | 571 | py | Python | create_img.py | oghahroodi/Hopfield-Network | da2d5f28358e5615ce3244a4c6dd1e14be5d8749 | [
"MIT"
] | null | null | null | create_img.py | oghahroodi/Hopfield-Network | da2d5f28358e5615ce3244a4c6dd1e14be5d8749 | [
"MIT"
] | null | null | null | create_img.py | oghahroodi/Hopfield-Network | da2d5f28358e5615ce3244a4c6dd1e14be5d8749 | [
"MIT"
] | null | null | null | from PIL import Image, ImageFont
font_siza = 16
font = ImageFont.truetype("Tahoma.ttf", font_siza)
for char in "ABCDEFGHIJ":
im = Image.Image()._new(font.getmask(char))
im.save("train/16/"+char+".bmp")
font_siza = 32
font = ImageFont.truetype("Tahoma.ttf", font_siza)
for char in "ABCDEFGHIJ":
im = Imag... | 23.791667 | 50 | 0.677758 | 86 | 571 | 4.395349 | 0.267442 | 0.126984 | 0.166667 | 0.214286 | 0.777778 | 0.777778 | 0.777778 | 0.777778 | 0.777778 | 0.777778 | 0 | 0.02449 | 0.141856 | 571 | 23 | 51 | 24.826087 | 0.746939 | 0 | 0 | 0.5625 | 0 | 0 | 0.17338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
489660e980cda67beaaf63886bab7c83e22c9fc1 | 17,628 | py | Python | reddit/rdt.py | yathartha1/RedditCLI | 21ef0005b4dfcbbba6678b4d405fa37242ac43ea | [
"MIT"
] | null | null | null | reddit/rdt.py | yathartha1/RedditCLI | 21ef0005b4dfcbbba6678b4d405fa37242ac43ea | [
"MIT"
] | null | null | null | reddit/rdt.py | yathartha1/RedditCLI | 21ef0005b4dfcbbba6678b4d405fa37242ac43ea | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import webbrowser
from .config import config
import praw
import pickle
from textwrap import fill
cfg = config()
client_id = cfg.get_clientid()
user_agent = cfg.get_useragent()
reddit = praw.Reddit(client_id = client_id,
client_secret = None,
user_agent = u... | 58.370861 | 194 | 0.509644 | 1,870 | 17,628 | 4.781283 | 0.07754 | 0.028185 | 0.025836 | 0.033218 | 0.832905 | 0.798121 | 0.781344 | 0.781344 | 0.753943 | 0.732133 | 0 | 0.068966 | 0.325505 | 17,628 | 301 | 195 | 58.564784 | 0.683011 | 0.001191 | 0 | 0.690909 | 0 | 0.054545 | 0.251903 | 0.020561 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025455 | false | 0 | 0.018182 | 0 | 0.047273 | 0.196364 | 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 |
48977ea5dec7bd2f371edfa2689770459494abf2 | 43 | py | Python | socketlabs/__init__.py | MattHealy/socketlabs-python | 890647cc0cd952ed1a52bdd96f7e9dd8c28810c9 | [
"MIT"
] | null | null | null | socketlabs/__init__.py | MattHealy/socketlabs-python | 890647cc0cd952ed1a52bdd96f7e9dd8c28810c9 | [
"MIT"
] | 4 | 2015-12-13T10:39:31.000Z | 2018-11-30T00:58:08.000Z | socketlabs/__init__.py | MattHealy/socketlabs-python | 890647cc0cd952ed1a52bdd96f7e9dd8c28810c9 | [
"MIT"
] | null | null | null | from . socketlabs import SocketLabs # noqa
| 21.5 | 42 | 0.790698 | 5 | 43 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 1 | 43 | 43 | 0.944444 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
489e4a2d386d8c1a809a3799fd4b2d3bb012eff1 | 2,204 | py | Python | openaerostruct/aerodynamics/tests/test_viscous_drag.py | EricUrbineer/OpenAeroStruct | 26c37a0e86074517680405687824e27b3b2caaec | [
"Apache-2.0"
] | 4 | 2020-09-15T23:24:15.000Z | 2021-01-11T19:59:39.000Z | openaerostruct/aerodynamics/tests/test_viscous_drag.py | EricUrbineer/OpenAeroStruct | 26c37a0e86074517680405687824e27b3b2caaec | [
"Apache-2.0"
] | null | null | null | openaerostruct/aerodynamics/tests/test_viscous_drag.py | EricUrbineer/OpenAeroStruct | 26c37a0e86074517680405687824e27b3b2caaec | [
"Apache-2.0"
] | 2 | 2020-08-25T16:38:14.000Z | 2020-12-03T09:49:45.000Z | import unittest
from openaerostruct.aerodynamics.viscous_drag import ViscousDrag
from openaerostruct.utils.testing import run_test, get_default_surfaces
from openmdao.api import Group, IndepVarComp, BsplinesComp
import numpy as np
class Test(unittest.TestCase):
def test(self):
surface = get_default_surfa... | 35.548387 | 77 | 0.65608 | 307 | 2,204 | 4.32899 | 0.247557 | 0.063958 | 0.076749 | 0.066215 | 0.790068 | 0.784048 | 0.784048 | 0.728367 | 0.728367 | 0.728367 | 0 | 0.010901 | 0.209165 | 2,204 | 61 | 78 | 36.131148 | 0.751578 | 0 | 0 | 0.727273 | 0 | 0 | 0.124319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.113636 | 0 | 0.181818 | 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 |
48a609fb12f8d8c4bbc48328fd289fffc7608961 | 5,776 | py | Python | tests/permutation/test_permutation.py | alexgorji/musurgia | 81d37afbf1ac70348002a93299db228b5ed4a591 | [
"MIT"
] | null | null | null | tests/permutation/test_permutation.py | alexgorji/musurgia | 81d37afbf1ac70348002a93299db228b5ed4a591 | [
"MIT"
] | 45 | 2020-02-24T19:37:00.000Z | 2021-04-06T16:13:56.000Z | tests/permutation/test_permutation.py | alexgorji/musurgia | 81d37afbf1ac70348002a93299db228b5ed4a591 | [
"MIT"
] | null | null | null | from unittest import TestCase
from musurgia.permutation import LimitedPermutation, self_permute, get_self_multiplied_permutation, \
get_reordered_self_multiplied_permutation, get_vertical_self_multiplied_permutation
class Test(TestCase):
def test_1_1(self):
permutation_order = [3, 1, 2]
self_... | 49.367521 | 116 | 0.505194 | 875 | 5,776 | 3.169143 | 0.045714 | 0.048323 | 0.036783 | 0.025965 | 0.916336 | 0.888208 | 0.863686 | 0.804904 | 0.739993 | 0.688424 | 0 | 0.13726 | 0.306267 | 5,776 | 116 | 117 | 49.793103 | 0.554779 | 0 | 0 | 0.438776 | 0 | 0 | 0.002424 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 1 | 0.132653 | false | 0 | 0.020408 | 0 | 0.163265 | 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 |
d28ca8914568a48d0eb5e60447bd90c6dcbfb22c | 1,084 | py | Python | run_models.py | AineKiraboMbabazi/AIPND_Image_Classifier | 7289adc5f1e811bf09144bd31dbb7c010a27dbc5 | [
"MIT"
] | null | null | null | run_models.py | AineKiraboMbabazi/AIPND_Image_Classifier | 7289adc5f1e811bf09144bd31dbb7c010a27dbc5 | [
"MIT"
] | null | null | null | run_models.py | AineKiraboMbabazi/AIPND_Image_Classifier | 7289adc5f1e811bf09144bd31dbb7c010a27dbc5 | [
"MIT"
] | null | null | null | #!/bin/sh
# */home/workspace/Image classifier/run_models.sh
#
# PROGRAMMER: Ainekirabo Mbabazi
# DATE CREATED: 06/12/2019
# PURPOSE: Runs all three models
#
#
# Usage: sh run_models.sh -- will run program fr... | 57.052632 | 133 | 0.678967 | 157 | 1,084 | 4.496815 | 0.388535 | 0.076487 | 0.055241 | 0.084986 | 0.725212 | 0.725212 | 0.725212 | 0.725212 | 0.725212 | 0.652975 | 0 | 0.076923 | 0.208487 | 1,084 | 18 | 134 | 60.222222 | 0.745921 | 0.292435 | 0 | 0 | 0 | 0 | 0.14702 | 0.123179 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2caaf77625cd0b2e6d2c8c0bdeab17a71079193 | 111 | py | Python | calculation/gmhazard_calc/gmhazard_calc/im/__init__.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | null | null | null | calculation/gmhazard_calc/gmhazard_calc/im/__init__.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | 8 | 2021-10-13T02:33:23.000Z | 2022-03-29T21:01:08.000Z | calculation/gmhazard_calc/gmhazard_calc/im/__init__.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | null | null | null | from .IM import IM, IMType, IMComponent, to_string_list, to_im_list, IM_COMPONENT_MAPPING, DEFAULT_PSA_PERIODS
| 55.5 | 110 | 0.846847 | 18 | 111 | 4.777778 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 111 | 1 | 111 | 111 | 0.851485 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
961262872db068a55a767058c77c17b5924c7223 | 17,466 | py | Python | simulations.py | diozaka/eitest | b2c37ad93e7760673a2f46279f913bd03440a8f2 | [
"MIT"
] | 2 | 2020-05-21T11:53:20.000Z | 2020-11-01T06:12:49.000Z | simulations.py | diozaka/eitest | b2c37ad93e7760673a2f46279f913bd03440a8f2 | [
"MIT"
] | null | null | null | simulations.py | diozaka/eitest | b2c37ad93e7760673a2f46279f913bd03440a8f2 | [
"MIT"
] | null | null | null | import sys
import numpy as np
import numba
import eitest
if len(sys.argv) != 5:
print(f'USAGE: {sys.argv[0]} eager|lazy instant|causal tt|ks|mmd none|bonferroni|sidak|holm|hochberg|simes')
sys.exit(1)
# command line parameters
sample_method = sys.argv[1]
instantaneous = (sys.argv[2] == 'instant')
twosamp_te... | 43.55611 | 211 | 0.623612 | 2,483 | 17,466 | 4.176802 | 0.089811 | 0.030662 | 0.046379 | 0.048211 | 0.788352 | 0.768682 | 0.760968 | 0.744383 | 0.723652 | 0.713528 | 0 | 0.014813 | 0.246307 | 17,466 | 400 | 212 | 43.665 | 0.773017 | 0.12407 | 0 | 0.726592 | 0 | 0.048689 | 0.20127 | 0.079727 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022472 | false | 0 | 0.014981 | 0 | 0.059925 | 0.183521 | 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 |
961e540312696cbd519e78f2e01a4ce3945b4db3 | 118 | py | Python | tests/factory/data_list.py | easydatapy/easydata | 5e76bf7fc9f368065a82ccc99fca54b17f7e91bd | [
"BSD-3-Clause"
] | 6 | 2020-09-06T19:06:01.000Z | 2020-09-09T23:19:21.000Z | tests/factory/data_list.py | sitegroove/easydata | 0e347990027b9f6cc06a1072511197f1adb50e5c | [
"BSD-3-Clause"
] | null | null | null | tests/factory/data_list.py | sitegroove/easydata | 0e347990027b9f6cc06a1072511197f1adb50e5c | [
"BSD-3-Clause"
] | 1 | 2021-07-22T17:59:20.000Z | 2021-07-22T17:59:20.000Z | images = [
"https://demo.com/imgs/1.jpg",
"https://demo.com/imgs/2.jpg",
"https://demo.com/imgs/3.jpg",
]
| 19.666667 | 34 | 0.559322 | 19 | 118 | 3.473684 | 0.473684 | 0.409091 | 0.545455 | 0.727273 | 0.575758 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.161017 | 118 | 5 | 35 | 23.6 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.686441 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82808848e57ade04710e5e5cf62fffc935034f63 | 37 | py | Python | input_pipeline/__init__.py | TropComplique/wing-loss | d7335610d26cf805bf5a20ae0d70df5de85d1521 | [
"MIT"
] | 73 | 2018-06-22T12:38:16.000Z | 2022-01-25T14:17:16.000Z | input_pipeline/__init__.py | TropComplique/wing-loss | d7335610d26cf805bf5a20ae0d70df5de85d1521 | [
"MIT"
] | 16 | 2018-06-25T05:09:27.000Z | 2019-07-23T06:29:10.000Z | input_pipeline/__init__.py | TropComplique/wing-loss | d7335610d26cf805bf5a20ae0d70df5de85d1521 | [
"MIT"
] | 17 | 2018-08-11T13:36:45.000Z | 2022-01-20T08:34:00.000Z | from .input_pipeline import Pipeline
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
82e1109a23bb4191d5e0935acab59d88b08a8dcd | 39 | py | Python | classicML/framework/__init__.py | sun1638650145/classicML | 7e0c2155bccb6e491a150ee689d3786526b74565 | [
"Apache-2.0"
] | 12 | 2020-05-10T12:11:06.000Z | 2021-10-31T13:23:55.000Z | classicML/framework/__init__.py | sun1638650145/classicML | 7e0c2155bccb6e491a150ee689d3786526b74565 | [
"Apache-2.0"
] | null | null | null | classicML/framework/__init__.py | sun1638650145/classicML | 7e0c2155bccb6e491a150ee689d3786526b74565 | [
"Apache-2.0"
] | 2 | 2021-01-17T06:22:05.000Z | 2021-01-18T14:32:51.000Z | from classicML.framework import dtypes
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
7d78140f8b54ab8c3287ebf3089138e4854aa0af | 19 | py | Python | Driver/__init__.py | Lagikna/QuLab-drivers | badf3f975e38fbf79c5bdd4be16ff9e02c26e74f | [
"MIT"
] | 16 | 2018-03-16T12:08:31.000Z | 2022-03-20T08:53:35.000Z | Driver/__init__.py | Lagikna/QuLab-drivers | badf3f975e38fbf79c5bdd4be16ff9e02c26e74f | [
"MIT"
] | 148 | 2018-03-18T09:33:18.000Z | 2022-03-21T16:00:15.000Z | qulab/Driver/__init__.py | feihoo87/QuLab | cc16f4777e5523fca327f7f0a9725fd13f9b057f | [
"MIT"
] | 14 | 2018-03-18T08:00:12.000Z | 2020-10-21T12:39:42.000Z | from .Base import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7daa7c4a27c52bdb30c76be2ba495e74e8d066ed | 38 | py | Python | forge_sdk/protos/__init__.py | ArcBlock/forge-python-sdk | 4e72d75d3c06b16554d660860708732c83b5f8b2 | [
"Apache-2.0"
] | 9 | 2019-05-08T01:30:22.000Z | 2020-05-08T22:11:40.000Z | forge_sdk/protos/__init__.py | ArcBlock/forge-python-sdk | 4e72d75d3c06b16554d660860708732c83b5f8b2 | [
"Apache-2.0"
] | 22 | 2019-05-14T18:36:17.000Z | 2019-12-24T10:09:42.000Z | forge_sdk/protos/__init__.py | ArcBlock/forge-python-sdk | 4e72d75d3c06b16554d660860708732c83b5f8b2 | [
"Apache-2.0"
] | null | null | null | from forge_sdk.protos.protos import *
| 19 | 37 | 0.815789 | 6 | 38 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.882353 | 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 |
7daed7254b206996a5970df83e419942d9e96b0a | 174,759 | py | Python | o/soft_robot/derivation_of_dynamics/derived/ikko_dake/eqs/numpy_style/G1.py | YoshimitsuMatsutaIe/ctrlab2021_soudan | 7841c981e6804cc92d34715a00e7c3efce41d1d0 | [
"MIT"
] | null | null | null | o/soft_robot/derivation_of_dynamics/derived/ikko_dake/eqs/numpy_style/G1.py | YoshimitsuMatsutaIe/ctrlab2021_soudan | 7841c981e6804cc92d34715a00e7c3efce41d1d0 | [
"MIT"
] | null | null | null | o/soft_robot/derivation_of_dynamics/derived/ikko_dake/eqs/numpy_style/G1.py | YoshimitsuMatsutaIe/ctrlab2021_soudan | 7841c981e6804cc92d34715a00e7c3efce41d1d0 | [
"MIT"
] | null | null | null | import numpy
def f(q, q_dot, xi):
l1, l2, l3 = q[0,0], q[1,0], q[2,0]
l1_dot, l2_dot, l3_dot = q_dot[0,0], q_dot[1,0], q_dot[2,0]
return 2.01913979602267e+28*l1**28 - 2.7258387246306e+29*l1**27*l2 - 2.1200967858238e+29*l1**27*l3 + 1.2114838776136e+28*l1**27 + 1.8525607628508e+30*l1**26*l2**2 + 2.4734462501... | 29,126.5 | 174,620 | 0.678317 | 36,256 | 174,759 | 3.26939 | 0.127289 | 0.011111 | 0.014806 | 0.001417 | 0.292859 | 0.130038 | 0.002818 | 0 | 0 | 0 | 0 | 0.616578 | 0.051568 | 174,759 | 6 | 174,620 | 29,126.5 | 0.098578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
7db4353f50f871971e957924fdf428480f9cf91e | 36 | py | Python | smart_flies/__init__.py | AdamSpannbauer/py_smart_flies | 40b91651779c441be45f8a92841409f32acf1442 | [
"MIT"
] | null | null | null | smart_flies/__init__.py | AdamSpannbauer/py_smart_flies | 40b91651779c441be45f8a92841409f32acf1442 | [
"MIT"
] | null | null | null | smart_flies/__init__.py | AdamSpannbauer/py_smart_flies | 40b91651779c441be45f8a92841409f32acf1442 | [
"MIT"
] | null | null | null | from .smart_flies import SmartFlies
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 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 |
7db906dd3b0248ca00d636cfc0f01c4c415e3cd6 | 283 | py | Python | roomai/common/__init__.py | yooyoo2004/RoomAI | 7f4d655581a03ded801f6c6d7d18f9fff47aa6f5 | [
"MIT"
] | null | null | null | roomai/common/__init__.py | yooyoo2004/RoomAI | 7f4d655581a03ded801f6c6d7d18f9fff47aa6f5 | [
"MIT"
] | null | null | null | roomai/common/__init__.py | yooyoo2004/RoomAI | 7f4d655581a03ded801f6c6d7d18f9fff47aa6f5 | [
"MIT"
] | 1 | 2021-08-15T16:19:01.000Z | 2021-08-15T16:19:01.000Z | #!/bin/python
from common import AbstractPlayer
from common import AbstractEnv
from common import AbstractPublicState
from common import AbsractPersonState
from common import AbstractPrivateState
from common import AbstractAction
from common import PokerCard
from common import Info
| 28.3 | 39 | 0.869258 | 34 | 283 | 7.235294 | 0.382353 | 0.325203 | 0.520325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116608 | 283 | 9 | 40 | 31.444444 | 0.984 | 0.042403 | 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 | 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 |
8148d1678f231380cff15f6092f27979a7c3d40b | 24 | py | Python | wxparams/__init__.py | Yoshiki443/weather_parameters | ae2c9ed02f68968cb6ea0610d556f3c68bbc923e | [
"MIT"
] | 17 | 2020-04-26T20:25:56.000Z | 2022-03-10T09:41:54.000Z | wxparams/__init__.py | Yoshiki443/weather_parameters | ae2c9ed02f68968cb6ea0610d556f3c68bbc923e | [
"MIT"
] | null | null | null | wxparams/__init__.py | Yoshiki443/weather_parameters | ae2c9ed02f68968cb6ea0610d556f3c68bbc923e | [
"MIT"
] | 1 | 2020-06-08T04:54:30.000Z | 2020-06-08T04:54:30.000Z | from .wxparams import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8149d602509089a5e93b1791acb98401d56d85f2 | 6,489 | py | Python | Uncertainty-GNN/metrics.py | YuzhouLin/uncertainty-GNN | 14f68353ea7b66c17a86497760ef4ceca197304c | [
"MIT"
] | 22 | 2020-10-23T01:27:11.000Z | 2022-03-08T15:37:55.000Z | Uncertainty-GNN/metrics.py | YuzhouLin/uncertainty-GNN | 14f68353ea7b66c17a86497760ef4ceca197304c | [
"MIT"
] | 1 | 2021-02-08T16:40:57.000Z | 2021-05-01T16:01:21.000Z | Uncertainty-GNN/metrics.py | YuzhouLin/uncertainty-GNN | 14f68353ea7b66c17a86497760ef4ceca197304c | [
"MIT"
] | 7 | 2020-10-28T09:36:17.000Z | 2022-03-05T01:28:37.000Z | import tensorflow as tf
import numpy as np
import tensorflow_probability as tfp
tfd = tfp.distributions
def masked_softmax_cross_entropy(preds, labels, mask):
"""Softmax cross-entropy loss with masking."""
loss = tf.nn.softmax_cross_entropy_with_logits(logits=preds, labels=labels)
mask = tf.cast(mask, dt... | 32.939086 | 92 | 0.670982 | 1,012 | 6,489 | 4.133399 | 0.08498 | 0.080325 | 0.06885 | 0.055941 | 0.84174 | 0.805881 | 0.764045 | 0.745876 | 0.718623 | 0.686828 | 0 | 0.021179 | 0.192325 | 6,489 | 196 | 93 | 33.107143 | 0.776951 | 0.125289 | 0 | 0.635037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109489 | false | 0 | 0.021898 | 0 | 0.240876 | 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 |
8199d799e7f3fc1872018dbcde1e72b575d3c07b | 36 | py | Python | django_products/utils/__init__.py | sasriawesome/django_products | a945dbf983748ff558583695c66226d579bfa4a0 | [
"MIT"
] | null | null | null | django_products/utils/__init__.py | sasriawesome/django_products | a945dbf983748ff558583695c66226d579bfa4a0 | [
"MIT"
] | 4 | 2021-03-19T01:39:36.000Z | 2021-06-04T22:49:28.000Z | django_products/utils/__init__.py | sasriawesome/django_products | a945dbf983748ff558583695c66226d579bfa4a0 | [
"MIT"
] | null | null | null | from .slugify import unique_slugify
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 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 |
c4bc02fafcb7ba81e4cddeff64e864fed85a8270 | 3,716 | py | Python | wrappers/python/tests/anoncreds/test_prover_create_proof.py | absltkaos/indy-sdk | bc14c5b514dc1c76ce62dd7f6bf804120bf69f5e | [
"Apache-2.0"
] | null | null | null | wrappers/python/tests/anoncreds/test_prover_create_proof.py | absltkaos/indy-sdk | bc14c5b514dc1c76ce62dd7f6bf804120bf69f5e | [
"Apache-2.0"
] | null | null | null | wrappers/python/tests/anoncreds/test_prover_create_proof.py | absltkaos/indy-sdk | bc14c5b514dc1c76ce62dd7f6bf804120bf69f5e | [
"Apache-2.0"
] | null | null | null | import json
import pytest
from indy.anoncreds import prover_create_proof
from indy import error
@pytest.mark.asyncio
async def test_prover_create_proof_works(wallet_handle, prepopulated_wallet, gvt_schema_id, gvt_schema,
master_secret_id, proof_req, id_credential_1, issuer_1_... | 34.728972 | 117 | 0.597686 | 370 | 3,716 | 5.486486 | 0.167568 | 0.053202 | 0.051232 | 0.041379 | 0.836946 | 0.812315 | 0.812315 | 0.812315 | 0.812315 | 0.812315 | 0 | 0.01492 | 0.314586 | 3,716 | 106 | 118 | 35.056604 | 0.782097 | 0 | 0 | 0.493976 | 0 | 0 | 0.120054 | 0.019381 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.048193 | 0 | 0.048193 | 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 |
c4c910f754089e4dab392cb97849880e6e66bb37 | 42,621 | py | Python | gsb/tests/test_import_plist.py | pfrancois/grisbi_django | 4e27149522847c78ab9c0f0a06f0b1d371f7c205 | [
"BSD-3-Clause"
] | null | null | null | gsb/tests/test_import_plist.py | pfrancois/grisbi_django | 4e27149522847c78ab9c0f0a06f0b1d371f7c205 | [
"BSD-3-Clause"
] | null | null | null | gsb/tests/test_import_plist.py | pfrancois/grisbi_django | 4e27149522847c78ab9c0f0a06f0b1d371f7c205 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*
"""
test import
"""
from django.test.utils import override_settings
from django.conf import settings
import os.path
import datetime
import django.utils.timezone as tz
from gsb.io import lecture_plist
from gsb import models
from .test_imports_csv import Test_import_abstract
from gsb.io.lecture... | 61.237069 | 224 | 0.664954 | 5,725 | 42,621 | 4.785328 | 0.078777 | 0.058622 | 0.054095 | 0.034166 | 0.819718 | 0.805337 | 0.792086 | 0.771865 | 0.739086 | 0.697511 | 0 | 0.061082 | 0.203726 | 42,621 | 695 | 225 | 61.32518 | 0.746155 | 0.035335 | 0 | 0.545139 | 0 | 0.048611 | 0.197477 | 0.033858 | 0 | 0 | 0 | 0.001439 | 0.069444 | 1 | 0.085069 | false | 0 | 0.25 | 0 | 0.348958 | 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 |
c4f35e4a20d916693386c8ffce742c7492271f19 | 1,684 | py | Python | utils/shellcode1.py | sivak1rl/bin-scripts | e015ce5ee589a9beb8be63bc18728452ef634d61 | [
"MIT"
] | null | null | null | utils/shellcode1.py | sivak1rl/bin-scripts | e015ce5ee589a9beb8be63bc18728452ef634d61 | [
"MIT"
] | null | null | null | utils/shellcode1.py | sivak1rl/bin-scripts | e015ce5ee589a9beb8be63bc18728452ef634d61 | [
"MIT"
] | null | null | null | buf = ""
buf += "\xdb\xdd\xd9\x74\x24\xf4\x58\xbf\x63\x6e\x69\x90\x33"
buf += "\xc9\xb1\x52\x83\xe8\xfc\x31\x78\x13\x03\x1b\x7d\x8b"
buf += "\x65\x27\x69\xc9\x86\xd7\x6a\xae\x0f\x32\x5b\xee\x74"
buf += "\x37\xcc\xde\xff\x15\xe1\x95\x52\x8d\x72\xdb\x7a\xa2"
buf += "\x33\x56\x5d\x8d\xc4\xcb\x9d\x8c\x46\x16\xf2\x6e\x76"
... | 58.068966 | 61 | 0.675178 | 379 | 1,684 | 3 | 0.506596 | 0.010554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278299 | 0.050475 | 1,684 | 28 | 62 | 60.142857 | 0.43277 | 0 | 0 | 0 | 0 | 0.964286 | 0.833729 | 0.833729 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4fc4ef35df875b9db5179eb056f16dece60bdc1 | 195 | py | Python | ttest.py | AaPaul/segnet1 | 2e8196a15c2b9ac2b2d5f712c10c4278e8df5dec | [
"MIT"
] | null | null | null | ttest.py | AaPaul/segnet1 | 2e8196a15c2b9ac2b2d5f712c10c4278e8df5dec | [
"MIT"
] | null | null | null | ttest.py | AaPaul/segnet1 | 2e8196a15c2b9ac2b2d5f712c10c4278e8df5dec | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.python.framework import ops
from tensorflow.python.framework import dtypes
import os, sys
import numpy as np
import math
import skimage
import skimage.io
| 19.5 | 46 | 0.835897 | 30 | 195 | 5.433333 | 0.533333 | 0.171779 | 0.245399 | 0.355828 | 0.429448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 195 | 9 | 47 | 21.666667 | 0.964497 | 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 |
f2013b6d3afe7e6fca516e3757efcc921839062f | 4,716 | py | Python | python/clockwork/tests/mykrobe_test.py | oxfordmmm/clockwork | be1f6ea49debf8cb2b8f1ba974df2dc567d150fd | [
"MIT"
] | 1 | 2020-01-10T06:43:39.000Z | 2020-01-10T06:43:39.000Z | python/clockwork/tests/mykrobe_test.py | oxfordmmm/clockwork | be1f6ea49debf8cb2b8f1ba974df2dc567d150fd | [
"MIT"
] | null | null | null | python/clockwork/tests/mykrobe_test.py | oxfordmmm/clockwork | be1f6ea49debf8cb2b8f1ba974df2dc567d150fd | [
"MIT"
] | null | null | null | import unittest
import os
import shutil
from clockwork import mykrobe, utils
modules_dir = os.path.dirname(os.path.abspath(mykrobe.__file__))
data_dir = os.path.join(modules_dir, 'tests', 'data', 'mykrobe')
class TestMykrobe(unittest.TestCase):
def test_run_predict_and_check_susceptibility(self):
'''test ... | 46.693069 | 134 | 0.677481 | 628 | 4,716 | 4.786624 | 0.154459 | 0.07984 | 0.043247 | 0.045243 | 0.825017 | 0.770792 | 0.750166 | 0.709248 | 0.709248 | 0.681304 | 0 | 0.001876 | 0.208651 | 4,716 | 100 | 135 | 47.16 | 0.803591 | 0.103902 | 0 | 0.653846 | 0 | 0 | 0.13001 | 0.053912 | 0 | 0 | 0 | 0 | 0.192308 | 1 | 0.076923 | false | 0 | 0.051282 | 0 | 0.141026 | 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 |
48050dae99fe7bd295da8ffa2e3e1b4c7977d671 | 9,512 | py | Python | openmdao/components/tests/test_mux_comp.py | fzahle/OpenMDAO | ce53b0a0862ac1162d5daad7b0ca34ae085ee47c | [
"Apache-2.0"
] | 1 | 2016-05-10T17:01:17.000Z | 2016-05-10T17:01:17.000Z | openmdao/components/tests/test_mux_comp.py | gsoxley/OpenMDAO | 709401e535cf6933215abd942d4b4d49dbf61b2b | [
"Apache-2.0"
] | 3 | 2016-05-10T16:55:46.000Z | 2018-10-22T23:28:52.000Z | openmdao/components/tests/test_mux_comp.py | gsoxley/OpenMDAO | 709401e535cf6933215abd942d4b4d49dbf61b2b | [
"Apache-2.0"
] | 2 | 2018-04-05T15:53:54.000Z | 2018-10-22T22:48:00.000Z | from __future__ import print_function, division, absolute_import
import unittest
import numpy as np
from openmdao.api import Problem, Group, IndepVarComp
from openmdao.utils.assert_utils import assert_rel_error, assert_check_partials
from openmdao.api import MuxComp
class TestMuxCompOptions(unittest.TestCase):
... | 32.8 | 96 | 0.554563 | 1,413 | 9,512 | 3.532909 | 0.101911 | 0.047075 | 0.070513 | 0.037861 | 0.820713 | 0.808894 | 0.776242 | 0.767027 | 0.726963 | 0.67488 | 0 | 0.0197 | 0.284903 | 9,512 | 289 | 97 | 32.913495 | 0.714202 | 0.018818 | 0 | 0.621762 | 0 | 0 | 0.073386 | 0 | 0 | 0 | 0 | 0 | 0.088083 | 1 | 0.062176 | false | 0.005181 | 0.046632 | 0 | 0.134715 | 0.036269 | 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 |
48331baee3e3cae0ace1e5e1f868a7d1ce0dc02d | 151 | py | Python | handshake.py | Myselfminer/N | 072a589301d8d8e4395e75c9ea720d6074eff6b6 | [
"Apache-2.0"
] | 2 | 2015-10-18T07:40:46.000Z | 2015-10-25T16:03:18.000Z | handshake.py | Myselfminer/N | 072a589301d8d8e4395e75c9ea720d6074eff6b6 | [
"Apache-2.0"
] | 1 | 2015-10-18T11:38:04.000Z | 2015-10-18T11:38:04.000Z | handshake.py | Myselfminer/N | 072a589301d8d8e4395e75c9ea720d6074eff6b6 | [
"Apache-2.0"
] | null | null | null | class handshake:
def clientside(Socket_Object):
"""This must be called with the main object from the socket"""
pass#Socket_Object.
| 30.2 | 70 | 0.682119 | 20 | 151 | 5.05 | 0.75 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238411 | 151 | 4 | 71 | 37.75 | 0.878261 | 0.470199 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
6faf4a276c74ce99f0dae17a23fa22175362c533 | 107 | py | Python | geesedb/connection/__init__.py | informagi/GeeseDB | b502830cafbcba8676e7e779d13d5bc14ba842f9 | [
"MIT"
] | 12 | 2021-07-05T12:33:20.000Z | 2021-10-11T20:44:12.000Z | geesedb/connection/__init__.py | informagi/GeeseDB | b502830cafbcba8676e7e779d13d5bc14ba842f9 | [
"MIT"
] | 7 | 2021-07-28T20:40:36.000Z | 2021-10-12T12:31:51.000Z | geesedb/connection/__init__.py | informagi/GeeseDB | b502830cafbcba8676e7e779d13d5bc14ba842f9 | [
"MIT"
] | null | null | null | from .connection import get_connection, close_connection
__all__ = ['get_connection', 'close_connection']
| 26.75 | 56 | 0.813084 | 12 | 107 | 6.583333 | 0.5 | 0.329114 | 0.455696 | 0.708861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 107 | 3 | 57 | 35.666667 | 0.814433 | 0 | 0 | 0 | 0 | 0 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6fb02fdd66b03f6fe4bef83d6e39926b3126806d | 160 | py | Python | continuum/rehearsal/__init__.py | oleksost/continuum | 682d66540bfbfa171ac73281ed2989f9338e88bf | [
"MIT"
] | 282 | 2020-05-09T21:35:22.000Z | 2022-03-20T11:29:41.000Z | continuum/rehearsal/__init__.py | oleksost/continuum | 682d66540bfbfa171ac73281ed2989f9338e88bf | [
"MIT"
] | 180 | 2020-05-03T09:31:48.000Z | 2022-03-30T12:12:48.000Z | continuum/rehearsal/__init__.py | oleksost/continuum | 682d66540bfbfa171ac73281ed2989f9338e88bf | [
"MIT"
] | 34 | 2020-06-13T14:09:29.000Z | 2022-03-14T14:05:07.000Z | from continuum.rehearsal.herding import herd_random, herd_closest_to_cluster, herd_closest_to_barycenter
from continuum.rehearsal.memory import RehearsalMemory
| 53.333333 | 104 | 0.9 | 21 | 160 | 6.52381 | 0.619048 | 0.189781 | 0.321168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 160 | 2 | 105 | 80 | 0.913333 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.