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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c2216dfabed667146ea7fae27545990bbbd0639a | 24 | py | Python | bello/src/core/__init__.py | floscha/bello | 7d048a3e3b229fdb8b922935e8178df3cde91401 | [
"MIT"
] | null | null | null | bello/src/core/__init__.py | floscha/bello | 7d048a3e3b229fdb8b922935e8178df3cde91401 | [
"MIT"
] | 5 | 2017-11-17T22:14:04.000Z | 2017-11-19T13:10:55.000Z | bello/src/core/__init__.py | floscha/bello | 7d048a3e3b229fdb8b922935e8178df3cde91401 | [
"MIT"
] | null | null | null | from .bello import Bello | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c2352fe60b61dc66ece2476a3269f03afe125871 | 101 | py | Python | tests/utils/mock_requests.py | joowon-dm-snu/manta | 8beffa6432926bcdfceeb4c692bfb50466d03b2f | [
"MIT"
] | 1 | 2021-12-15T13:04:48.000Z | 2021-12-15T13:04:48.000Z | tests/utils/mock_requests.py | joowon-dm-snu/manta | 8beffa6432926bcdfceeb4c692bfb50466d03b2f | [
"MIT"
] | null | null | null | tests/utils/mock_requests.py | joowon-dm-snu/manta | 8beffa6432926bcdfceeb4c692bfb50466d03b2f | [
"MIT"
] | null | null | null | import requests
class ResponseMock(object):
pass
class RequestsMock(object):
pass
| 11.222222 | 28 | 0.673267 | 10 | 101 | 6.8 | 0.7 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267327 | 101 | 8 | 29 | 12.625 | 0.918919 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
dff2f9ef46bc063cc7fcf8c18ed0282675a3aed4 | 50 | py | Python | gsplines/piecewisefunction/__init__.py | rafaelrojasmiliani/gsplines | 663b10f6d53b498a1e892d9eb32a345153de36d2 | [
"MIT"
] | 3 | 2021-08-28T01:42:40.000Z | 2021-12-02T22:39:45.000Z | gsplines/piecewisefunction/__init__.py | rafaelrojasmiliani/gsplines | 663b10f6d53b498a1e892d9eb32a345153de36d2 | [
"MIT"
] | null | null | null | gsplines/piecewisefunction/__init__.py | rafaelrojasmiliani/gsplines | 663b10f6d53b498a1e892d9eb32a345153de36d2 | [
"MIT"
] | null | null | null | from .piecewisefunction import cPiecewiseFunction
| 25 | 49 | 0.9 | 4 | 50 | 11.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.978261 | 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 |
5f28d397ea250304155563a2f6fe21fe5fb34d7b | 1,291 | py | Python | config/data_paths.py | DerekGloudemans/detrac-lbt | 097222912e476bf7864646bdc55adc7742342f2a | [
"MIT"
] | 2 | 2021-09-02T18:03:35.000Z | 2022-02-22T23:55:51.000Z | config/data_paths.py | DerekGloudemans/detrac-lbt | 097222912e476bf7864646bdc55adc7742342f2a | [
"MIT"
] | null | null | null | config/data_paths.py | DerekGloudemans/detrac-lbt | 097222912e476bf7864646bdc55adc7742342f2a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Jul 30 17:29:07 2020
@author: worklab
"""
# 4 x Quadro RTX 6000 machine
data_paths = {
"train_im":"/home/worklab/Data/cv/Detrac/DETRAC-train-data",
"train_lab":"/home/worklab/Data/cv/Detrac/DETRAC-Train-Annotations-XML-v3",
"test_im":"/hom... | 40.34375 | 95 | 0.683966 | 157 | 1,291 | 5.503185 | 0.324841 | 0.178241 | 0.185185 | 0.231481 | 0.704861 | 0.704861 | 0.704861 | 0.118056 | 0 | 0 | 0 | 0.018433 | 0.159566 | 1,291 | 31 | 96 | 41.645161 | 0.77788 | 0.096824 | 0 | 0 | 0 | 0 | 0.7671 | 0.715152 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a043255c5bd60f2b27a50dccdbeb7984d16df5e5 | 6,541 | py | Python | allink_core/core_apps/allink_filer/tests/test_filer.py | allink/allink-core | cf2727f26192d8dee89d76feb262bc4760f36f5e | [
"BSD-3-Clause"
] | 5 | 2017-03-13T08:49:45.000Z | 2022-03-05T20:05:56.000Z | allink_core/core_apps/allink_filer/tests/test_filer.py | allink/allink-core | cf2727f26192d8dee89d76feb262bc4760f36f5e | [
"BSD-3-Clause"
] | 28 | 2019-10-21T08:32:18.000Z | 2022-02-10T13:16:38.000Z | allink_core/core_apps/allink_filer/tests/test_filer.py | allink/allink-core | cf2727f26192d8dee89d76feb262bc4760f36f5e | [
"BSD-3-Clause"
] | null | null | null | import io
from django.test import TestCase
from django.core.files import File as DjangoFile
from filer.models import Folder
from allink_core.core_apps.allink_filer.utils import FilerStorage, TEST_IMAGE_PATH
class FilerStorageTestCase(TestCase):
valid_folder_path = '/root_folder/folder1'
valid_file_name = 'te... | 50.705426 | 153 | 0.771289 | 884 | 6,541 | 5.302036 | 0.076923 | 0.084489 | 0.126734 | 0.12204 | 0.845957 | 0.832942 | 0.818861 | 0.812673 | 0.812673 | 0.812673 | 0 | 0.000359 | 0.147531 | 6,541 | 128 | 154 | 51.101563 | 0.840208 | 0.02706 | 0 | 0.46988 | 0 | 0 | 0.029426 | 0 | 0 | 0 | 0 | 0 | 0.337349 | 1 | 0.13253 | false | 0 | 0.072289 | 0 | 0.240964 | 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 |
a0755f58077cf670b4a61ca0d1e1164dc8679517 | 785 | py | Python | packages/girder_worker/tests/test_docker_tasks.py | ShenQianwithC/HistomicsTK | 4ad7e72a7ebdabbdfc879254fad04ce7ca47e320 | [
"Apache-2.0"
] | 37 | 2016-01-26T19:21:23.000Z | 2021-06-10T14:12:59.000Z | packages/girder_worker/tests/test_docker_tasks.py | ShenQianwithC/HistomicsTK | 4ad7e72a7ebdabbdfc879254fad04ce7ca47e320 | [
"Apache-2.0"
] | 290 | 2016-01-27T14:02:10.000Z | 2022-01-24T16:50:27.000Z | packages/girder_worker/tests/test_docker_tasks.py | ShenQianwithC/HistomicsTK | 4ad7e72a7ebdabbdfc879254fad04ce7ca47e320 | [
"Apache-2.0"
] | 29 | 2016-02-17T17:54:47.000Z | 2022-03-17T23:36:17.000Z | import pytest
from girder_worker.docker.tasks import ( # noqa F401
DockerTask,
_docker_run,
_handle_streaming_args,
_pull_image,
_run_container,
_run_select_loop,
docker_run
)
# TODO: test DockerTask
@pytest.mark.skip
def test_DockerTask():
pass
# TODO: test _docker_run
@pytest.mark... | 14.537037 | 52 | 0.73121 | 111 | 785 | 4.747748 | 0.225225 | 0.106262 | 0.185958 | 0.225806 | 0.419355 | 0.29981 | 0.208729 | 0.208729 | 0.208729 | 0.208729 | 0 | 0.00468 | 0.183439 | 785 | 53 | 53 | 14.811321 | 0.817473 | 0.238217 | 0 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0 | 1 | 0.225806 | true | 0.225806 | 0.064516 | 0 | 0.290323 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a0815ce111422bedb329d33708dcf0854b6b7892 | 2,645 | py | Python | OAuthInterface.py | adriangersbach/python-oauth | e96a333d35b2259bb9df91542b7fa0e636b29062 | [
"MIT"
] | null | null | null | OAuthInterface.py | adriangersbach/python-oauth | e96a333d35b2259bb9df91542b7fa0e636b29062 | [
"MIT"
] | null | null | null | OAuthInterface.py | adriangersbach/python-oauth | e96a333d35b2259bb9df91542b7fa0e636b29062 | [
"MIT"
] | null | null | null | import requests
class OAuthInterface:
def __init__(self, base_url, api_key, api_secret, username, password):
self.base_url = base_url
self.api_key = api_key
self.api_secret = api_secret
self.username = username
self.password = password
self.access_token = ""... | 42.66129 | 108 | 0.600378 | 305 | 2,645 | 4.970492 | 0.163934 | 0.079815 | 0.069261 | 0.05277 | 0.751319 | 0.751319 | 0.73219 | 0.73219 | 0.704485 | 0.704485 | 0 | 0.006785 | 0.275614 | 2,645 | 61 | 109 | 43.360656 | 0.784447 | 0 | 0 | 0.660714 | 0 | 0 | 0.178793 | 0.038313 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089286 | false | 0.071429 | 0.017857 | 0 | 0.142857 | 0.107143 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a0a5f7b7751377ffc6bea79f426956edcae63bb2 | 74 | py | Python | td_encloser/__init__.py | marktgraham/td-encloser | f36d62455a21cf7d216138d144a54bc223258722 | [
"MIT"
] | null | null | null | td_encloser/__init__.py | marktgraham/td-encloser | f36d62455a21cf7d216138d144a54bc223258722 | [
"MIT"
] | null | null | null | td_encloser/__init__.py | marktgraham/td-encloser | f36d62455a21cf7d216138d144a54bc223258722 | [
"MIT"
] | null | null | null | from .td_encloser import TDENCLOSER
from .gaussian_kde import gaussian_kde | 37 | 38 | 0.878378 | 11 | 74 | 5.636364 | 0.636364 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 2 | 38 | 37 | 0.925373 | 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 |
a0a77ecf9d26e4b0428d7ab8504a09bb9173ac3a | 144 | py | Python | pysyrenn/__init__.py | 95616ARG/SyReNN | 19abf589e84ee67317134573054c648bb25c244d | [
"MIT"
] | 36 | 2019-08-19T06:17:52.000Z | 2022-03-11T09:02:40.000Z | pysyrenn/__init__.py | 95616ARG/SyReNN | 19abf589e84ee67317134573054c648bb25c244d | [
"MIT"
] | 8 | 2020-04-09T20:59:04.000Z | 2022-03-11T23:56:50.000Z | pysyrenn/__init__.py | 95616ARG/SyReNN | 19abf589e84ee67317134573054c648bb25c244d | [
"MIT"
] | 4 | 2021-01-13T11:17:55.000Z | 2021-06-28T19:36:04.000Z | """PySyReNN.
This module is a Python front-end client to the SyReNN server.
"""
from pysyrenn.helpers import *
from pysyrenn.frontend import *
| 20.571429 | 62 | 0.756944 | 21 | 144 | 5.190476 | 0.809524 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 144 | 6 | 63 | 24 | 0.893443 | 0.506944 | 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 |
a0af980c040df79bbbb168363071fd74c5873766 | 8,008 | py | Python | src/tests/date_utils_test.py | tomgilbertson/script-server-v1 | bbdf289d3d993a0c81f20c36bce5f3eb064b0261 | [
"Apache-2.0",
"CC0-1.0"
] | 833 | 2016-09-08T13:27:36.000Z | 2022-03-27T07:10:48.000Z | src/tests/date_utils_test.py | tomgilbertson/script-server-v1 | bbdf289d3d993a0c81f20c36bce5f3eb064b0261 | [
"Apache-2.0",
"CC0-1.0"
] | 528 | 2016-05-23T09:17:04.000Z | 2022-03-30T12:45:50.000Z | src/tests/date_utils_test.py | tomgilbertson/script-server-v1 | bbdf289d3d993a0c81f20c36bce5f3eb064b0261 | [
"Apache-2.0",
"CC0-1.0"
] | 214 | 2016-09-08T14:46:41.000Z | 2022-03-25T01:04:14.000Z | import unittest
from datetime import datetime, timezone, timedelta
from utils import date_utils
class TestScriptOutputLogging(unittest.TestCase):
def test_astimezone_naive_after_dst(self):
utc_datetime = datetime(2018, 6, 5, 12, 34, 56, tzinfo=timezone.utc)
local_datetime = utc_datetime.astimezon... | 42.595745 | 118 | 0.680694 | 1,109 | 8,008 | 4.729486 | 0.118124 | 0.085987 | 0.119924 | 0.080076 | 0.79409 | 0.764728 | 0.757674 | 0.757674 | 0.750048 | 0.74776 | 0 | 0.148264 | 0.20492 | 8,008 | 187 | 119 | 42.823529 | 0.675514 | 0 | 0 | 0.369565 | 0 | 0 | 0.018482 | 0.013487 | 0 | 0 | 0 | 0 | 0.202899 | 1 | 0.210145 | false | 0 | 0.021739 | 0 | 0.275362 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
265a3e94d188e364ea92a9a8c41bdcd4a80782b1 | 19 | py | Python | mcanitexgen/integration/__init__.py | OrangeUtan/MCMetagen | 0293ea14bf1c6b1bae58741f9876ba662930b43d | [
"MIT"
] | 2 | 2021-03-18T04:34:23.000Z | 2021-03-23T17:35:07.000Z | mcanitexgen/integration/__init__.py | OrangeUtan/MCMetagen | 0293ea14bf1c6b1bae58741f9876ba662930b43d | [
"MIT"
] | null | null | null | mcanitexgen/integration/__init__.py | OrangeUtan/MCMetagen | 0293ea14bf1c6b1bae58741f9876ba662930b43d | [
"MIT"
] | null | null | null | from . import beet
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 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 |
2676ea7c55950f7b296ee1d2b1973327617160e2 | 329 | bzl | Python | third_party/dependency_analyzer/src/test/analyzer_test.bzl | wiwa/rules_scala | 3dd5d8110d56cfc19722532866cbfc039a6a9612 | [
"Apache-2.0"
] | null | null | null | third_party/dependency_analyzer/src/test/analyzer_test.bzl | wiwa/rules_scala | 3dd5d8110d56cfc19722532866cbfc039a6a9612 | [
"Apache-2.0"
] | null | null | null | third_party/dependency_analyzer/src/test/analyzer_test.bzl | wiwa/rules_scala | 3dd5d8110d56cfc19722532866cbfc039a6a9612 | [
"Apache-2.0"
] | null | null | null | load(":analyzer_test_scala_2.bzl", "analyzer_tests_scala_2")
load(":analyzer_test_scala_3.bzl", "analyzer_tests_scala_3")
load("@io_bazel_rules_scala_config//:config.bzl", "SCALA_MAJOR_VERSION")
def tests():
if SCALA_MAJOR_VERSION.startswith("2"):
analyzer_tests_scala_2()
else:
analyzer_tests_s... | 32.9 | 72 | 0.75076 | 48 | 329 | 4.604167 | 0.375 | 0.235294 | 0.325792 | 0.190045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024055 | 0.115502 | 329 | 9 | 73 | 36.555556 | 0.735395 | 0 | 0 | 0 | 0 | 0 | 0.477204 | 0.416413 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0 | 0 | 0.125 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cd81f35db471fc2ef5dd90213513a29131788d0b | 257,698 | py | Python | instances/passenger_demand/pas-20210422-1717-int12e/55.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int12e/55.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int12e/55.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 23155
passenger_arriving = (
(4, 7, 8, 2, 6, 3, 0, 2, 1, 0, 1, 0, 0, 1, 11, 3, 2, 4, 4, 2, 1, 1, 2, 3, 1, 0), # 0
(13, 10, 5, 9, 3, 3, 2, 4, 7, 2, 1, 0, 0, 6, 6, 8, 0, 7, 3, 1, 2, 5, 1, 2, 0, 0), # 1
(5, 3, 5, 7, 4, 1, 4, 1, 4, 0, 0, 0, 0, 8, 9, 6, 3, 2, 5, 1, 2, 4, 0, 0, 1, 0... | 275.612834 | 493 | 0.769016 | 32,987 | 257,698 | 6.007306 | 0.222906 | 0.359704 | 0.34517 | 0.654007 | 0.375226 | 0.36742 | 0.365638 | 0.365275 | 0.365194 | 0.365194 | 0 | 0.849419 | 0.095981 | 257,698 | 934 | 494 | 275.907923 | 0.001198 | 0.015565 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cd8b89c5e5902ba8f0b2538a49a1cc4cf166158c | 50,457 | py | Python | tests/test_comments.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | null | null | null | tests/test_comments.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | null | null | null | tests/test_comments.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
import datetime as dt
import unittest
from collections import OrderedDict
from nose.tools import * # noqa PEP8 asserts
from nose_parameterized import parameterized
from modularodm.exceptions import ValidationValueError, ValidationError
from modularodm import Q
from framework.aut... | 45.131485 | 196 | 0.632281 | 5,670 | 50,457 | 5.361376 | 0.056966 | 0.030396 | 0.017961 | 0.024211 | 0.809204 | 0.789533 | 0.774894 | 0.760782 | 0.748808 | 0.730485 | 0 | 0.005952 | 0.244089 | 50,457 | 1,117 | 197 | 45.171889 | 0.791065 | 0.004915 | 0 | 0.678608 | 0 | 0.002047 | 0.09611 | 0.004263 | 0 | 0 | 0 | 0.000895 | 0.106448 | 1 | 0.071648 | false | 0 | 0.026612 | 0.003071 | 0.128966 | 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 |
269cb5c8215b29801236cfa5b2371aeec9fd7fbd | 126 | py | Python | pico_ir/__init__.py | bartoszadamczyk/pico-ir | 13cd0fd9ebc689d42e49a5be91370a64455c1e33 | [
"MIT"
] | null | null | null | pico_ir/__init__.py | bartoszadamczyk/pico-ir | 13cd0fd9ebc689d42e49a5be91370a64455c1e33 | [
"MIT"
] | null | null | null | pico_ir/__init__.py | bartoszadamczyk/pico-ir | 13cd0fd9ebc689d42e49a5be91370a64455c1e33 | [
"MIT"
] | 1 | 2022-01-16T14:57:27.000Z | 2022-01-16T14:57:27.000Z | from read_code import read_code
from send_code import send_code
from validate_code import validate_code, InvalidCodeException
| 31.5 | 61 | 0.888889 | 19 | 126 | 5.578947 | 0.368421 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 126 | 3 | 62 | 42 | 0.938053 | 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 |
269d22e606f6f1ff872881009cc86c4b0b1c692e | 31 | py | Python | package-files/simple_icd_10_CM/__init__.py | StefanoTrv/simple_icd_10-CM | e6d35afe7e034564fc5317a3dd92244a32d2b57a | [
"MIT"
] | 6 | 2021-05-28T20:20:49.000Z | 2022-03-01T22:43:16.000Z | package-files/simple_icd_10_CM/__init__.py | StefanoTrv/simple_icd_10_CM | e6d35afe7e034564fc5317a3dd92244a32d2b57a | [
"MIT"
] | null | null | null | package-files/simple_icd_10_CM/__init__.py | StefanoTrv/simple_icd_10_CM | e6d35afe7e034564fc5317a3dd92244a32d2b57a | [
"MIT"
] | null | null | null | from .simple_icd_10_cm import * | 31 | 31 | 0.83871 | 6 | 31 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.096774 | 31 | 1 | 31 | 31 | 0.75 | 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 |
26bd65f0ee528060a26704e5ddc0afac9cd0e10e | 156 | py | Python | brainstorming/brainstorming/doctype/website_certificate/test_website_certificate.py | dokos-io/brainstorming | cadb9e090489d13f7b7bc6a33f84b1b7a3e4048d | [
"MIT"
] | null | null | null | brainstorming/brainstorming/doctype/website_certificate/test_website_certificate.py | dokos-io/brainstorming | cadb9e090489d13f7b7bc6a33f84b1b7a3e4048d | [
"MIT"
] | null | null | null | brainstorming/brainstorming/doctype/website_certificate/test_website_certificate.py | dokos-io/brainstorming | cadb9e090489d13f7b7bc6a33f84b1b7a3e4048d | [
"MIT"
] | null | null | null | # Copyright (c) 2022, Dokos SAS and Contributors
# See license.txt
# import frappe
import unittest
class TestWebsiteCertificate(unittest.TestCase):
pass
| 17.333333 | 48 | 0.788462 | 19 | 156 | 6.473684 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.141026 | 156 | 8 | 49 | 19.5 | 0.88806 | 0.487179 | 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 |
26dd765f8c7a723e02d5d493b6e5b3a7c530df03 | 69 | py | Python | data/db_models/__all_models.py | ZyMa-1/Offnline-judge | 29734c36f8e3c82ad37b43e2034bb5b44c296cb5 | [
"MIT"
] | 1 | 2020-05-03T16:34:20.000Z | 2020-05-03T16:34:20.000Z | data/db_models/__all_models.py | ZyMa-1/web_project | 29734c36f8e3c82ad37b43e2034bb5b44c296cb5 | [
"MIT"
] | 2 | 2021-09-08T01:58:17.000Z | 2022-03-12T00:27:42.000Z | data/db_models/__all_models.py | ZyMa-1/Offnline-judge | 29734c36f8e3c82ad37b43e2034bb5b44c296cb5 | [
"MIT"
] | null | null | null | from . import submissions
from . import problems
from . import users
| 17.25 | 25 | 0.782609 | 9 | 69 | 6 | 0.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 26 | 23 | 0.947368 | 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 |
f81d4b4a5c3ac31b8038afe9ef629a82ed5790ef | 93 | py | Python | ddq/fol/semantics/algorithms.py | jadnohra/connect | 8eb21e6f122898094447bc3d5edb3053d5a2adf2 | [
"Unlicense"
] | null | null | null | ddq/fol/semantics/algorithms.py | jadnohra/connect | 8eb21e6f122898094447bc3d5edb3053d5a2adf2 | [
"Unlicense"
] | 6 | 2021-03-19T12:06:56.000Z | 2022-03-12T00:23:09.000Z | ddq/fol/semantics/algorithms.py | jadnohra/connect | 8eb21e6f122898094447bc3d5edb3053d5a2adf2 | [
"Unlicense"
] | null | null | null | from .thing import Thing
def recurse_find_thing(root: Thing, search_item: Thing):
pass
| 15.5 | 56 | 0.752688 | 14 | 93 | 4.785714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 5 | 57 | 18.6 | 0.87013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f83206d899991cbe9e049d8e7cf1937a5376f3be | 2,810 | py | Python | testing/data_validation/transform-interaction-operator.py | kottmanj/z-quantum-core | 21752e92e79aafedbfeb6e7ae196bdc2fd5803e4 | [
"Apache-2.0"
] | 6 | 2020-05-08T15:27:32.000Z | 2021-11-17T11:37:54.000Z | testing/data_validation/transform-interaction-operator.py | kottmanj/z-quantum-core | 21752e92e79aafedbfeb6e7ae196bdc2fd5803e4 | [
"Apache-2.0"
] | 5 | 2020-04-29T00:35:46.000Z | 2020-05-27T21:11:08.000Z | testing/data_validation/transform-interaction-operator.py | kottmanj/z-quantum-core | 21752e92e79aafedbfeb6e7ae196bdc2fd5803e4 | [
"Apache-2.0"
] | 1 | 2021-01-15T23:05:09.000Z | 2021-01-15T23:05:09.000Z | import json
import sys
with open(sys.argv[1], "r") as f:
workflowresult = json.loads(f.read())
assert len(workflowresult.keys()) == 2
found_template = False
for key in workflowresult.keys():
if workflowresult[key]["class"] == "transform-interaction-operator":
found_template = True
assert work... | 56.2 | 95 | 0.62847 | 332 | 2,810 | 5.271084 | 0.171687 | 0.272 | 0.384 | 0.411429 | 0.741143 | 0.741143 | 0.72 | 0.692 | 0.530286 | 0.509714 | 0 | 0.024027 | 0.140925 | 2,810 | 49 | 96 | 57.346939 | 0.700911 | 0 | 0 | 0 | 0 | 0 | 0.324199 | 0.019573 | 0 | 0 | 0 | 0 | 0.763158 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0.026316 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 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 |
f83fa8c20eaff5630052128e86a847c391d1e380 | 1,711 | py | Python | tests/clean_payload_test.py | bakdata/faust-avro-serializer | 118c7fe14a2893db641332d6bf8f46f3e8c5b603 | [
"MIT"
] | 6 | 2020-07-10T12:29:30.000Z | 2022-03-01T05:41:20.000Z | tests/clean_payload_test.py | bakdata/faust-avro-serializer | 118c7fe14a2893db641332d6bf8f46f3e8c5b603 | [
"MIT"
] | 3 | 2020-07-16T10:03:10.000Z | 2020-09-27T18:59:02.000Z | tests/clean_payload_test.py | bakdata/faust-avro-serializer | 118c7fe14a2893db641332d6bf8f46f3e8c5b603 | [
"MIT"
] | 1 | 2020-07-08T19:06:12.000Z | 2020-07-08T19:06:12.000Z | import typing
from faust import Record
from faust_avro_serializer import FaustAvroSerializer
class DummyRecord(Record):
item: typing.Any
def test_simple_record():
result = {"__faust": {"ns": "tests.clean_payload_test.DummyRecord"}, "item": "test"}
dummy = DummyRecord("test")
assert result == Faus... | 29 | 92 | 0.602572 | 165 | 1,711 | 5.933333 | 0.175758 | 0.159346 | 0.110317 | 0.156282 | 0.823289 | 0.823289 | 0.823289 | 0.823289 | 0.758938 | 0.71093 | 0 | 0.003051 | 0.233781 | 1,711 | 58 | 93 | 29.5 | 0.743707 | 0 | 0 | 0.380952 | 0 | 0 | 0.295149 | 0.189363 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.095238 | false | 0 | 0.071429 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f89a2fbb6aaccc447e2a1122d9570fe0720a4a85 | 288 | py | Python | Python-For-Everyone-Horstmann/Chapter11-Recursion/recursive_list_sum.py | islayy/Books-solutions | 5fe05deb4e9f65875284d8af43bd383bf9ae145b | [
"MIT"
] | null | null | null | Python-For-Everyone-Horstmann/Chapter11-Recursion/recursive_list_sum.py | islayy/Books-solutions | 5fe05deb4e9f65875284d8af43bd383bf9ae145b | [
"MIT"
] | null | null | null | Python-For-Everyone-Horstmann/Chapter11-Recursion/recursive_list_sum.py | islayy/Books-solutions | 5fe05deb4e9f65875284d8af43bd383bf9ae145b | [
"MIT"
] | 1 | 2021-01-30T22:19:07.000Z | 2021-01-30T22:19:07.000Z | # Recursively calculates the sum of a list's items
# FUNCTIONS
def _sum_helper(given_list, start):
if start == len(given_list):
return 0
return given_list[start] + _sum_helper(given_list, start + 1)
def recursive_sum(given_list):
return _sum_helper(given_list, 0)
| 22.153846 | 65 | 0.71875 | 44 | 288 | 4.409091 | 0.454545 | 0.278351 | 0.216495 | 0.278351 | 0.237113 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012931 | 0.194444 | 288 | 12 | 66 | 24 | 0.823276 | 0.201389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.833333 | 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 |
f8a1772c408a2ab41c090ec8d783d1708b71a5e5 | 191 | py | Python | pytest-ui-tests/pages/main_page.py | jagdeepjain/ski11up.com | 87e007c2d5b8f7e69fb2c1c1f5bfcfda0d3006fd | [
"MIT"
] | null | null | null | pytest-ui-tests/pages/main_page.py | jagdeepjain/ski11up.com | 87e007c2d5b8f7e69fb2c1c1f5bfcfda0d3006fd | [
"MIT"
] | null | null | null | pytest-ui-tests/pages/main_page.py | jagdeepjain/ski11up.com | 87e007c2d5b8f7e69fb2c1c1f5bfcfda0d3006fd | [
"MIT"
] | null | null | null | class MainPage:
url = "https://google.co.in"
def __init__(self, driver):
super().__init__()
self.driver = driver
def go(self):
self.driver.get(self.url)
| 19.1 | 33 | 0.575916 | 24 | 191 | 4.25 | 0.583333 | 0.294118 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277487 | 191 | 9 | 34 | 21.222222 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.104712 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6ef6793f3a995778cf65bac3b4d646683ad238f6 | 277 | py | Python | objects/CSCG/_3d/__init__.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | 1 | 2020-10-14T12:48:35.000Z | 2020-10-14T12:48:35.000Z | objects/CSCG/_3d/__init__.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null | objects/CSCG/_3d/__init__.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from objects.CSCG._3d.master import MeshGenerator as mesh
from objects.CSCG._3d.master import FormCaller as form
from objects.CSCG._3d.master import SpaceInvoker as space
from objects.CSCG._3d.master import ExactSolutionSelector as exact_solution | 23.083333 | 75 | 0.797834 | 40 | 277 | 5.4 | 0.475 | 0.203704 | 0.277778 | 0.314815 | 0.537037 | 0.537037 | 0 | 0 | 0 | 0 | 0 | 0.020661 | 0.126354 | 277 | 12 | 75 | 23.083333 | 0.871901 | 0.075812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e11ec2519cb96c05a862ea4691affc2f031360a | 145 | py | Python | tracklib/analysis/__init__.py | SGrosse-Holz/tracklib | e0b88e3959db2ce65869d8292ce5792f4c77c7a4 | [
"MIT"
] | 1 | 2022-01-30T15:10:51.000Z | 2022-01-30T15:10:51.000Z | tracklib/analysis/__init__.py | SGrosse-Holz/tracklib | e0b88e3959db2ce65869d8292ce5792f4c77c7a4 | [
"MIT"
] | null | null | null | tracklib/analysis/__init__.py | SGrosse-Holz/tracklib | e0b88e3959db2ce65869d8292ce5792f4c77c7a4 | [
"MIT"
] | null | null | null | from . import p2
from .p2 import MSD, ACovF, ACorrF, VACorrF, VACovF
from . import chi2
from . import kld
from . import plots
from . import bild
| 20.714286 | 51 | 0.737931 | 23 | 145 | 4.652174 | 0.521739 | 0.46729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.193103 | 145 | 6 | 52 | 24.166667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
3e260fddd3ca08112f5034a3bae770a46f0a5764 | 46,384 | py | Python | variableServer/tests/test_apiView.py | bhecquet/seleniumRobot-server | b5930a21a25d63f2071dd57a55855b62808800d1 | [
"Apache-2.0"
] | null | null | null | variableServer/tests/test_apiView.py | bhecquet/seleniumRobot-server | b5930a21a25d63f2071dd57a55855b62808800d1 | [
"Apache-2.0"
] | 95 | 2017-05-04T09:00:52.000Z | 2022-03-11T23:19:20.000Z | variableServer/tests/test_apiView.py | bhecquet/seleniumRobot-server | b5930a21a25d63f2071dd57a55855b62808800d1 | [
"Apache-2.0"
] | null | null | null |
from django.urls.base import reverse
from variableServer.utils.utils import updateVariables
from variableServer.models import Variable, Version,\
TestEnvironment, TestCase
import time
import datetime
from django.utils import timezone
from variableServer.tests import authenticate_test_client
from rest_f... | 57.264198 | 175 | 0.635715 | 5,388 | 46,384 | 5.38827 | 0.058092 | 0.035547 | 0.02232 | 0.039405 | 0.890362 | 0.862221 | 0.842553 | 0.830601 | 0.818821 | 0.805697 | 0 | 0.019653 | 0.25733 | 46,384 | 810 | 176 | 57.264198 | 0.823125 | 0.234154 | 0 | 0.660147 | 0 | 0 | 0.174755 | 0.004304 | 0 | 0 | 0 | 0 | 0.286064 | 1 | 0.110024 | false | 0.00978 | 0.01956 | 0 | 0.136919 | 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 |
3e587bc80fa1dd5e94f8396373f920d99dcef04d | 39 | py | Python | open_crypto_tax/__init__.py | Ryley-TokenSign/OpenCryptoTax | e3d25524df7f3802a2aa3cd3a1d7c54f7b9a8db7 | [
"MIT"
] | null | null | null | open_crypto_tax/__init__.py | Ryley-TokenSign/OpenCryptoTax | e3d25524df7f3802a2aa3cd3a1d7c54f7b9a8db7 | [
"MIT"
] | 1 | 2022-02-19T19:10:51.000Z | 2022-02-19T19:10:51.000Z | open_crypto_tax/__init__.py | Ryley-TokenSign/OpenCryptoTax | e3d25524df7f3802a2aa3cd3a1d7c54f7b9a8db7 | [
"MIT"
] | null | null | null | from .core import Validator, Processor
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 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 |
e44fad2d614f163290dc406696e581917c2b95df | 150 | py | Python | src/msbackup/storage.py | aissa-laribi/msbackup | 1f2264c8b14e3b5f04d7802430fcb4b9c5e386f7 | [
"MIT"
] | null | null | null | src/msbackup/storage.py | aissa-laribi/msbackup | 1f2264c8b14e3b5f04d7802430fcb4b9c5e386f7 | [
"MIT"
] | null | null | null | src/msbackup/storage.py | aissa-laribi/msbackup | 1f2264c8b14e3b5f04d7802430fcb4b9c5e386f7 | [
"MIT"
] | null | null | null | def local(infile, outfile):
outfile.write(infile)
def s3(client, infile, bucket, file_name):
client.upload_fileobj(infile, bucket, file_name) | 30 | 52 | 0.746667 | 21 | 150 | 5.190476 | 0.571429 | 0.220183 | 0.293578 | 0.366972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.133333 | 150 | 5 | 52 | 30 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4782f2228756b20a6b181ad895182d8f317c0cd | 59 | py | Python | finserv/vault/__init__.py | finserv/vault | 638c1ebd62b1a28e1161396803dd5392d0264f30 | [
"MIT"
] | null | null | null | finserv/vault/__init__.py | finserv/vault | 638c1ebd62b1a28e1161396803dd5392d0264f30 | [
"MIT"
] | null | null | null | finserv/vault/__init__.py | finserv/vault | 638c1ebd62b1a28e1161396803dd5392d0264f30 | [
"MIT"
] | null | null | null | from .vault import Vault
from .key import Key, PasswordKey
| 19.666667 | 33 | 0.79661 | 9 | 59 | 5.222222 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 59 | 2 | 34 | 29.5 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e4814d493c6dcdcacde5b9d68a3df5fdba4f098d | 138 | py | Python | boa3_test/test_sc/interop_test/oracle/OracleGetPrice.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/oracle/OracleGetPrice.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/oracle/OracleGetPrice.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.oracle import Oracle
@public
def main() -> int:
return Oracle.get_price()
| 17.25 | 46 | 0.753623 | 20 | 138 | 5.15 | 0.65 | 0.15534 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.152174 | 138 | 7 | 47 | 19.714286 | 0.863248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 0 | 0 | 0 | 6 |
e4890122391a62a6669a2c7d5b91605cd386c2c4 | 314 | py | Python | test/test_patch.py | jeffreywolf/landscape | 4fd3d44b199628cb92feb6c109a986b66a0a44ad | [
"Apache-2.0"
] | 1 | 2021-03-22T16:50:02.000Z | 2021-03-22T16:50:02.000Z | test/test_patch.py | jeffreywolf/landscape | 4fd3d44b199628cb92feb6c109a986b66a0a44ad | [
"Apache-2.0"
] | null | null | null | test/test_patch.py | jeffreywolf/landscape | 4fd3d44b199628cb92feb6c109a986b66a0a44ad | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Test suite for `patch` subpackage
"""
from landscape.patch import patches
from landscape.patch import datasets
from landscape.patch import load_datasets
from landscape.patch import scene
from landscape.patch import splits
import unittest
import os
import shutil
import numpy as np
pass
| 20.933333 | 41 | 0.792994 | 45 | 314 | 5.511111 | 0.511111 | 0.262097 | 0.362903 | 0.483871 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00369 | 0.136943 | 314 | 14 | 42 | 22.428571 | 0.911439 | 0.178344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.1 | 0.9 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
e4a38ef929f99f304553571c1d7986bc382de2a4 | 63 | py | Python | pydocspec/test/testpackages/cyclic_imports_all_many_levels/level1/level2/__init__.py | tristanlatr/pydocspec | 25965310c7f576d2f2e877f8a1b2984bb77725b9 | [
"MIT"
] | null | null | null | pydocspec/test/testpackages/cyclic_imports_all_many_levels/level1/level2/__init__.py | tristanlatr/pydocspec | 25965310c7f576d2f2e877f8a1b2984bb77725b9 | [
"MIT"
] | 5 | 2021-08-28T14:33:13.000Z | 2022-02-27T23:51:48.000Z | pydocspec/test/testpackages/cyclic_imports_all_many_levels/level1/level2/__init__.py | tristanlatr/pydocspec | 25965310c7f576d2f2e877f8a1b2984bb77725b9 | [
"MIT"
] | 1 | 2022-02-10T01:55:14.000Z | 2022-02-10T01:55:14.000Z | from cyclic_imports_all_many_levels import *
class l2:
pass | 21 | 44 | 0.809524 | 10 | 63 | 4.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.15873 | 63 | 3 | 45 | 21 | 0.867925 | 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 |
e4d749b9dfc58c42791124ed3d625496748e68c1 | 59 | py | Python | example_snippets/multimenus_snippets/NewSnippets/h5py/Setup.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/NewSnippets/h5py/Setup.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/NewSnippets/h5py/Setup.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | from __future__ import print_function, division
import h5py | 29.5 | 47 | 0.881356 | 8 | 59 | 5.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.101695 | 59 | 2 | 48 | 29.5 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
901a489be86e0895454aafc6750f2763533757bb | 5,755 | py | Python | redata/grafana/panels/base.py | hishoss/redata | e6cf77ca4c957e620066c65925437e36488040ec | [
"MIT"
] | null | null | null | redata/grafana/panels/base.py | hishoss/redata | e6cf77ca4c957e620066c65925437e36488040ec | [
"MIT"
] | null | null | null | redata/grafana/panels/base.py | hishoss/redata | e6cf77ca4c957e620066c65925437e36488040ec | [
"MIT"
] | null | null | null | from redata.metric import Metric
class HomeLastModifiedTime:
def format(self):
return "time_series"
@staticmethod
def title():
return "time_since_last_record_created"
def query(self):
return f"""
SELECT
metric.created_at AS time,
m.... | 22.928287 | 64 | 0.505647 | 588 | 5,755 | 4.770408 | 0.12585 | 0.064171 | 0.049911 | 0.060963 | 0.755793 | 0.708378 | 0.700535 | 0.68984 | 0.669519 | 0.669519 | 0 | 0.003225 | 0.407298 | 5,755 | 250 | 65 | 23.02 | 0.819115 | 0 | 0 | 0.784314 | 0 | 0 | 0.620504 | 0.063944 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161765 | false | 0 | 0.004902 | 0.127451 | 0.343137 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
5f795afc107f67b4e4ac9b9d916c988df40dc1de | 25 | py | Python | nbs/test_files/show.py | outerbounds/nbdoc | b642d0f684c28594e601898ab6cbd12af3b9d7c1 | [
"Apache-2.0"
] | 15 | 2022-02-15T09:38:07.000Z | 2022-03-26T09:12:02.000Z | nbs/test_files/show.py | outerbounds/nbdoc | b642d0f684c28594e601898ab6cbd12af3b9d7c1 | [
"Apache-2.0"
] | 10 | 2022-03-16T23:20:54.000Z | 2022-03-30T14:58:15.000Z | nbs/test_files/show.py | outerbounds/nbdoc | b642d0f684c28594e601898ab6cbd12af3b9d7c1 | [
"Apache-2.0"
] | null | null | null | def ShowDoc(x): return x
| 12.5 | 24 | 0.72 | 5 | 25 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
39a89b98629e1c22ad60680a25b0356d3029a500 | 291 | py | Python | test_proj/api.py | Anexen/import-guard | 3135e77ae394be6f0d4b8a49bf72e8ec645f794f | [
"MIT"
] | 2 | 2021-06-16T08:30:56.000Z | 2021-06-18T07:28:41.000Z | test_proj/api.py | Anexen/import-guard | 3135e77ae394be6f0d4b8a49bf72e8ec645f794f | [
"MIT"
] | null | null | null | test_proj/api.py | Anexen/import-guard | 3135e77ae394be6f0d4b8a49bf72e8ec645f794f | [
"MIT"
] | null | null | null | import bisect
import csv
from test_proj.logging import *
def handle_request_1():
from .tasks import task_1
task_1()
def handle_request_2():
from .tasks import task_2
task_2()
def run_server():
log("Server started")
handle_request_1()
handle_request_2()
| 12.125 | 31 | 0.687285 | 43 | 291 | 4.325581 | 0.418605 | 0.27957 | 0.172043 | 0.204301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035556 | 0.226804 | 291 | 23 | 32 | 12.652174 | 0.791111 | 0 | 0 | 0 | 0 | 0 | 0.04811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | true | 0 | 0.384615 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39daf4ff16e74cc6352422464704f6ace218c2f7 | 188 | py | Python | mt/opencv/__init__.py | inteplus/opencvmt | 29a049f23f6bff8c3399cbadc527c9a6583737ec | [
"MIT"
] | null | null | null | mt/opencv/__init__.py | inteplus/opencvmt | 29a049f23f6bff8c3399cbadc527c9a6583737ec | [
"MIT"
] | null | null | null | mt/opencv/__init__.py | inteplus/opencvmt | 29a049f23f6bff8c3399cbadc527c9a6583737ec | [
"MIT"
] | null | null | null | from mt.base import logger
try:
import cv2
except ImportError:
logger.error("IMPORT: OpenCV for Python is not detected. Please install a version of OpenCV for Python.")
raise
| 23.5 | 109 | 0.739362 | 28 | 188 | 4.964286 | 0.785714 | 0.129496 | 0.215827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.202128 | 188 | 7 | 110 | 26.857143 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0.473404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
84076b1f52ecf0992acadb9703ef8a65775c379c | 25 | py | Python | scripts/geodyn1d/sedimento/__init__.py | tth030/SM_ESR_isostasy | fbd2ac586e8e31dd18a0988181514bc2fff7f08a | [
"MIT"
] | null | null | null | scripts/geodyn1d/sedimento/__init__.py | tth030/SM_ESR_isostasy | fbd2ac586e8e31dd18a0988181514bc2fff7f08a | [
"MIT"
] | null | null | null | scripts/geodyn1d/sedimento/__init__.py | tth030/SM_ESR_isostasy | fbd2ac586e8e31dd18a0988181514bc2fff7f08a | [
"MIT"
] | null | null | null | from .sedimento import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 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 |
844c3c2e2d168f095d921a240850751bac6ab199 | 137 | py | Python | micromagneticmodel/evolver.py | ubermag/micromagneticmodel | 91ad92d26cdbec369a5a41f7b90a17ca5328cd07 | [
"BSD-3-Clause"
] | 5 | 2019-10-21T01:12:16.000Z | 2021-09-24T03:52:30.000Z | micromagneticmodel/evolver.py | ubermag/micromagneticmodel | 91ad92d26cdbec369a5a41f7b90a17ca5328cd07 | [
"BSD-3-Clause"
] | 11 | 2019-08-12T22:38:17.000Z | 2022-03-15T00:08:47.000Z | micromagneticmodel/evolver.py | ubermag/micromagneticmodel | 91ad92d26cdbec369a5a41f7b90a17ca5328cd07 | [
"BSD-3-Clause"
] | 4 | 2020-06-27T15:36:28.000Z | 2021-12-06T15:08:04.000Z | import micromagneticmodel as mm
class Evolver(mm.abstract.Abstract):
"""An abstract class for deriving evolvers.
"""
pass
| 15.222222 | 47 | 0.70073 | 16 | 137 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211679 | 137 | 8 | 48 | 17.125 | 0.888889 | 0.291971 | 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 |
0816f676c9f9a379a0ae67e62b2696abb7a3a3b6 | 27 | py | Python | optus/__init__.py | itchannel/optus-api | 9121c194d9c7eaa67cf16443d84231938b8b6bda | [
"MIT"
] | 1 | 2021-09-29T01:53:43.000Z | 2021-09-29T01:53:43.000Z | optus/__init__.py | itchannel/optus-api | 9121c194d9c7eaa67cf16443d84231938b8b6bda | [
"MIT"
] | null | null | null | optus/__init__.py | itchannel/optus-api | 9121c194d9c7eaa67cf16443d84231938b8b6bda | [
"MIT"
] | null | null | null | from .optus import Account
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f23c87e46a9eaf7db19ac8665d176516dfb13b8c | 164 | py | Python | recursive_diff/dask_or_stub.py | crusaderky/recursive_diff | f94acf74e4e92bb44462627f22e24525d470abe3 | [
"Apache-2.0"
] | 10 | 2019-01-02T15:01:45.000Z | 2022-01-13T09:39:16.000Z | recursive_diff/dask_or_stub.py | crusaderky/recursive_diff | f94acf74e4e92bb44462627f22e24525d470abe3 | [
"Apache-2.0"
] | 10 | 2019-01-02T16:16:35.000Z | 2022-03-26T21:43:10.000Z | recursive_diff/dask_or_stub.py | crusaderky/recursive_diff | f94acf74e4e92bb44462627f22e24525d470abe3 | [
"Apache-2.0"
] | 2 | 2019-02-09T18:18:42.000Z | 2021-12-09T08:35:17.000Z | """Support dask-backed xarray objects, if dask is installed
"""
try:
from dask import compute
except ImportError:
def compute(*args):
return args
| 16.4 | 59 | 0.682927 | 21 | 164 | 5.333333 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231707 | 164 | 9 | 60 | 18.222222 | 0.888889 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f24c999adc5d62ed7e5c1dbf96355abc45ca7784 | 41 | py | Python | lifx/lan/client/__init__.py | majamassarini/lifx-lib | 32b8d9049e078e62403510242c530bbe98431750 | [
"MIT"
] | 3 | 2022-01-24T20:23:39.000Z | 2022-02-22T17:26:03.000Z | lifx/lan/client/__init__.py | majamassarini/lifx-lib | 32b8d9049e078e62403510242c530bbe98431750 | [
"MIT"
] | null | null | null | lifx/lan/client/__init__.py | majamassarini/lifx-lib | 32b8d9049e078e62403510242c530bbe98431750 | [
"MIT"
] | null | null | null | from lifx.lan.client import asynchronous
| 20.5 | 40 | 0.853659 | 6 | 41 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f28396c847c3d6a07c541ad5a55cd7d6c46e97e4 | 7,964 | py | Python | tests/test_synthia_format.py | jenhaoyang/datumaro | add81ddb59502362fa65fa07e5bc4d8c9f61afde | [
"MIT"
] | null | null | null | tests/test_synthia_format.py | jenhaoyang/datumaro | add81ddb59502362fa65fa07e5bc4d8c9f61afde | [
"MIT"
] | null | null | null | tests/test_synthia_format.py | jenhaoyang/datumaro | add81ddb59502362fa65fa07e5bc4d8c9f61afde | [
"MIT"
] | 1 | 2021-12-15T22:15:59.000Z | 2021-12-15T22:15:59.000Z |
from unittest import TestCase
import os.path as osp
import numpy as np
from datumaro.components.annotation import (
AnnotationType, LabelCategories, Mask, MaskCategories,
)
from datumaro.components.dataset import Dataset
from datumaro.components.environment import Environment
from datumaro.components.extractor i... | 43.519126 | 90 | 0.544324 | 916 | 7,964 | 4.525109 | 0.111354 | 0.031363 | 0.02316 | 0.055006 | 0.857177 | 0.837394 | 0.810615 | 0.775875 | 0.759952 | 0.713631 | 0 | 0.064346 | 0.31115 | 7,964 | 182 | 91 | 43.758242 | 0.691214 | 0 | 0 | 0.658228 | 0 | 0 | 0.085269 | 0.037674 | 0 | 0 | 0 | 0 | 0.018987 | 1 | 0.044304 | false | 0 | 0.139241 | 0 | 0.189873 | 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 |
4b2d42d6679543a895f48efa4b6af7356faffb48 | 2,298 | py | Python | epytope/Data/pssms/smmpmbec/mat/A_26_02_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/A_26_02_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/A_26_02_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_26_02_9 = {0: {'A': 0.109, 'C': -0.186, 'E': -0.694, 'D': -0.616, 'G': 0.238, 'F': -0.231, 'I': 0.156, 'H': -0.098, 'K': 0.739, 'M': -0.153, 'L': 0.27, 'N': -0.117, 'Q': 0.048, 'P': 0.109, 'S': -0.019, 'R': 0.694, 'T': -0.034, 'W': -0.351, 'V': 0.229, 'Y': -0.093}, 1: {'A': -0.866, 'C': 0.214, 'E': 0.5, 'D': 0.294, '... | 2,298 | 2,298 | 0.394691 | 557 | 2,298 | 1.62298 | 0.317774 | 0.019912 | 0.011062 | 0.013274 | 0.015487 | 0 | 0 | 0 | 0 | 0 | 0 | 0.374026 | 0.162315 | 2,298 | 1 | 2,298 | 2,298 | 0.095584 | 0 | 0 | 0 | 0 | 0 | 0.0796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 6 |
4ba43bc2e406ad6e595f85af7c6ce0aea902463a | 177 | py | Python | Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex097.py | Jhonattan-rocha/Meus-primeiros-programas | f5971b66c0afd049b5d0493e8b7a116b391d058e | [
"MIT"
] | null | null | null | Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex097.py | Jhonattan-rocha/Meus-primeiros-programas | f5971b66c0afd049b5d0493e8b7a116b391d058e | [
"MIT"
] | null | null | null | Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex097.py | Jhonattan-rocha/Meus-primeiros-programas | f5971b66c0afd049b5d0493e8b7a116b391d058e | [
"MIT"
] | null | null | null | def escreva(txt):
print('-' * (len(txt) + 6))
print(f'---{txt}---')
print('-' * (len(txt) + 6))
escreva('Teste 1')
escreva("Teste 25215")
escreva("Teste 3259841")
| 17.7 | 31 | 0.536723 | 23 | 177 | 4.130435 | 0.478261 | 0.378947 | 0.231579 | 0.294737 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 0.186441 | 177 | 9 | 32 | 19.666667 | 0.555556 | 0 | 0 | 0.285714 | 0 | 0 | 0.248588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
29d218b5e76c56745c8f7e285fc1a5630e2b3c8c | 24 | py | Python | nonebot_plugin_arcaea/api/adapters/botarcapi/__init__.py | iyume/nonebot-plugin-arcaea | cd2110b11ae41707396a0db21f228474cc3e35b4 | [
"MIT"
] | 35 | 2021-02-08T09:55:51.000Z | 2022-03-19T08:22:07.000Z | nonebot_plugin_arcaea/api/adapters/botarcapi/__init__.py | iyume/nonebot-plugin-arcaea | cd2110b11ae41707396a0db21f228474cc3e35b4 | [
"MIT"
] | 10 | 2021-02-22T04:15:58.000Z | 2022-03-28T02:55:02.000Z | nonebot_plugin_arcaea/api/adapters/botarcapi/__init__.py | iyume/nonebot-plugin-arcaea | cd2110b11ae41707396a0db21f228474cc3e35b4 | [
"MIT"
] | 1 | 2022-01-18T03:57:07.000Z | 2022-01-18T03:57:07.000Z | from .v4 import APIQuery | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.125 | 24 | 1 | 24 | 24 | 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 |
29e12e3f485be1ad55f47bfb5c22825b52bd34d8 | 13,998 | py | Python | util/data/gen/WINTRUST.DLL.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/WINTRUST.DLL.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/WINTRUST.DLL.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | symbols = []
exports = [{'type': 'function', 'name': 'AddPersonalTrustDBPages', 'address': '0x7ffb3bbcf890'}, {'type': 'function', 'name': 'CatalogCompactHashDatabase', 'address': '0x7ffb3bbaf080'}, {'type': 'function', 'name': 'ComputeFirstPageHash', 'address': '0x7ffb3bbc2480'}, {'type': 'function', 'name': 'ConfigCi... | 6,999 | 13,985 | 0.704029 | 956 | 13,998 | 10.308577 | 0.333682 | 0.193607 | 0.258143 | 0.010046 | 0.030036 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07431 | 0.068438 | 13,998 | 2 | 13,985 | 6,999 | 0.681442 | 0 | 0 | 0 | 0 | 0 | 0.702979 | 0.234017 | 0 | 0 | 0.159011 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9c52c3147b330a26552a550168541149356f0d6 | 8,788 | py | Python | python/example_code/transcribe/test/test_transcribe_basics.py | iconara/aws-doc-sdk-examples | 52706b31b4fce8fb89468e56743edf5369e69628 | [
"Apache-2.0"
] | 5,166 | 2016-09-02T08:48:38.000Z | 2022-03-31T19:12:43.000Z | python/example_code/transcribe/test/test_transcribe_basics.py | iconara/aws-doc-sdk-examples | 52706b31b4fce8fb89468e56743edf5369e69628 | [
"Apache-2.0"
] | 1,186 | 2016-09-28T23:05:19.000Z | 2022-03-31T18:07:47.000Z | python/example_code/transcribe/test/test_transcribe_basics.py | iconara/aws-doc-sdk-examples | 52706b31b4fce8fb89468e56743edf5369e69628 | [
"Apache-2.0"
] | 4,003 | 2016-08-29T19:51:40.000Z | 2022-03-31T16:40:02.000Z | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
"""
Unit tests for transcribe_basics.py functions.
"""
import boto3
from botocore.exceptions import ClientError
import pytest
import transcribe_basics
def make_test_job(index):
return {
'name': f'... | 39.945455 | 85 | 0.70107 | 1,087 | 8,788 | 5.372585 | 0.095676 | 0.103253 | 0.047945 | 0.061644 | 0.840411 | 0.820377 | 0.813527 | 0.813527 | 0.811986 | 0.773116 | 0 | 0.006527 | 0.180587 | 8,788 | 219 | 86 | 40.127854 | 0.804472 | 0.017069 | 0 | 0.602339 | 0 | 0 | 0.126202 | 0.012748 | 0 | 0 | 0 | 0 | 0.081871 | 1 | 0.064327 | false | 0 | 0.023392 | 0.005848 | 0.099415 | 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 |
d9f757096b57626fda60dcb4b9b3e4861d7e8c35 | 43 | py | Python | t2t_bert/task_module/adco_utils.py | yyht/bert | 480c909e0835a455606e829310ff949c9dd23549 | [
"Apache-2.0"
] | 34 | 2018-12-19T01:00:57.000Z | 2021-03-26T09:36:37.000Z | t2t_bert/task_module/adco_utils.py | yyht/bert | 480c909e0835a455606e829310ff949c9dd23549 | [
"Apache-2.0"
] | 11 | 2018-12-25T03:37:59.000Z | 2021-08-25T14:43:58.000Z | t2t_bert/task_module/adco_utils.py | yyht/bert | 480c909e0835a455606e829310ff949c9dd23549 | [
"Apache-2.0"
] | 9 | 2018-12-27T08:00:44.000Z | 2020-06-08T03:05:14.000Z |
import numpy as np
import tensorflow as tf | 14.333333 | 23 | 0.813953 | 8 | 43 | 4.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 3 | 23 | 14.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a2cbf97a18f79aa96f492170773f228b2ac3be9 | 44 | py | Python | tests/__init__.py | Luferov/FuzzyLogicToolBox | cacdc120aff78a07924333c2b61f10050a8db116 | [
"MIT"
] | 15 | 2020-03-21T18:22:13.000Z | 2022-01-24T21:17:46.000Z | tests/__init__.py | Luferov/FuzzyLogicToolBox | cacdc120aff78a07924333c2b61f10050a8db116 | [
"MIT"
] | null | null | null | tests/__init__.py | Luferov/FuzzyLogicToolBox | cacdc120aff78a07924333c2b61f10050a8db116 | [
"MIT"
] | 3 | 2021-03-18T18:25:41.000Z | 2022-01-20T07:24:01.000Z | from .mf_test import FuzzyVariablesTestCase
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a535c6b228009c34bb9b37ca3bf7f24ca209c63 | 17,121 | py | Python | nba_py/team.py | grillazz/basket_io | 09cfeded3c42d10113e378c4f2349348b9084e7a | [
"Apache-2.0"
] | null | null | null | nba_py/team.py | grillazz/basket_io | 09cfeded3c42d10113e378c4f2349348b9084e7a | [
"Apache-2.0"
] | null | null | null | nba_py/team.py | grillazz/basket_io | 09cfeded3c42d10113e378c4f2349348b9084e7a | [
"Apache-2.0"
] | null | null | null | from nba_py import _api_scrape, _get_json
from nba_py.constants import *
class TeamList:
_endpoint = 'commonteamyears'
def __init__(self,
league_id=League.NBA):
self.json = _get_json(endpoint=self._endpoint,
params={'LeagueID': league_id})
def info(... | 32.242938 | 73 | 0.52532 | 1,568 | 17,121 | 5.430485 | 0.148597 | 0.075161 | 0.126835 | 0.160658 | 0.732002 | 0.720728 | 0.710863 | 0.690546 | 0.500763 | 0.459542 | 0 | 0.012459 | 0.395246 | 17,121 | 530 | 74 | 32.303774 | 0.809929 | 0.032475 | 0 | 0.667568 | 0 | 0 | 0.068374 | 0.015439 | 0 | 0 | 0 | 0 | 0 | 1 | 0.216216 | false | 0.010811 | 0.005405 | 0.17027 | 0.535135 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 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 |
8a55a3d92507b10ebc6e190b189a62589bd712ff | 437 | py | Python | onadata/apps/logger/models/__init__.py | BuildAMovement/whistler-kobocat | 7f61dd0761bb0aa5b27c909bcff8c29453d3311d | [
"BSD-2-Clause"
] | 38 | 2017-02-28T05:39:40.000Z | 2019-01-16T04:39:04.000Z | onadata/apps/logger/models/__init__.py | BuildAMovement/whistler-kobocat | 7f61dd0761bb0aa5b27c909bcff8c29453d3311d | [
"BSD-2-Clause"
] | 48 | 2019-03-18T09:26:31.000Z | 2019-05-27T08:12:03.000Z | onadata/apps/logger/models/__init__.py | BuildAMovement/whistler-kobocat | 7f61dd0761bb0aa5b27c909bcff8c29453d3311d | [
"BSD-2-Clause"
] | 5 | 2017-02-22T12:25:19.000Z | 2019-01-15T11:16:40.000Z | from onadata.apps.logger.models.attachment import Attachment # flake8: noqa
from onadata.apps.logger.models.instance import Instance
from onadata.apps.logger.models.survey_type import SurveyType
from onadata.apps.logger.models.xform import XForm
from onadata.apps.logger.xform_instance_parser import InstanceParseError
... | 54.625 | 76 | 0.860412 | 61 | 437 | 6.098361 | 0.311475 | 0.206989 | 0.282258 | 0.395161 | 0.435484 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002469 | 0.073227 | 437 | 7 | 77 | 62.428571 | 0.916049 | 0.02746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8a5885ada801d4ab550967f46c2c1da95b57d266 | 21,992 | py | Python | UnitTest/TestAll.py | arlenwang815/12306 | 86eb6a1677f9bae8aaac7bf524658370ce1d76e8 | [
"MIT"
] | 3 | 2021-01-10T11:45:30.000Z | 2021-04-09T07:02:57.000Z | UnitTest/TestAll.py | arlenwang815/12306 | 86eb6a1677f9bae8aaac7bf524658370ce1d76e8 | [
"MIT"
] | 5 | 2020-01-28T23:03:37.000Z | 2022-02-10T00:21:25.000Z | UnitTest/TestAll.py | arlenwang815/12306 | 86eb6a1677f9bae8aaac7bf524658370ce1d76e8 | [
"MIT"
] | 1 | 2021-11-01T09:36:51.000Z | 2021-11-01T09:36:51.000Z | # coding=utf-8
import base64
import threading
import unittest
from collections import OrderedDict
import requests
from agency.agency_tools import proxy
from config.emailConf import sendEmail
from config.serverchanConf import sendServerChan
def _set_header_default():
header_dict = OrderedDict()
header_dict["... | 211.461538 | 19,349 | 0.906239 | 1,030 | 21,992 | 19.324272 | 0.812621 | 0.00201 | 0.001507 | 0.002412 | 0.009144 | 0.009144 | 0.009144 | 0.009144 | 0.009144 | 0.009144 | 0 | 0.149475 | 0.04297 | 21,992 | 103 | 19,350 | 213.514563 | 0.796218 | 0.00864 | 0 | 0.035088 | 0 | 0.035088 | 0.912199 | 0.895314 | 0 | 1 | 0 | 0 | 0 | 1 | 0.122807 | false | 0.017544 | 0.210526 | 0 | 0.350877 | 0.070175 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a8b71bdd27669be98d85d14d78724c4f3964ede | 21,636 | py | Python | wagtail/wagtailsearch/tests/test_elasticsearch_backend.py | edrex/wagtail | dc1b51a5be1a57f6cb1b90507eea6ab7f2e1affe | [
"BSD-3-Clause"
] | null | null | null | wagtail/wagtailsearch/tests/test_elasticsearch_backend.py | edrex/wagtail | dc1b51a5be1a57f6cb1b90507eea6ab7f2e1affe | [
"BSD-3-Clause"
] | null | null | null | wagtail/wagtailsearch/tests/test_elasticsearch_backend.py | edrex/wagtail | dc1b51a5be1a57f6cb1b90507eea6ab7f2e1affe | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from wagtail.tests.utils import unittest
import datetime
import json
from django.test import TestCase
from django.db.models import Q
from wagtail.tests import models
from .test_backends import BackendTests
class TestElasticSearchBackend(BackendTests, ... | 44.245399 | 272 | 0.624422 | 2,363 | 21,636 | 5.526026 | 0.10876 | 0.04503 | 0.030556 | 0.037831 | 0.825394 | 0.816205 | 0.796447 | 0.788482 | 0.785725 | 0.760836 | 0 | 0.010386 | 0.225689 | 21,636 | 488 | 273 | 44.336066 | 0.769056 | 0.090682 | 0 | 0.535836 | 0 | 0 | 0.210526 | 0.022921 | 0 | 0 | 0 | 0 | 0.1843 | 1 | 0.139932 | false | 0 | 0.071672 | 0 | 0.232082 | 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 |
8acf11c514ade2e67bbf9ef3105667b9b183cde5 | 37 | py | Python | hand_tracking/__init__.py | K-Mahfoudh/Sign-Language-Translator | b75051846b98b5275e9b58ef7a87c6759d27dea9 | [
"MIT"
] | null | null | null | hand_tracking/__init__.py | K-Mahfoudh/Sign-Language-Translator | b75051846b98b5275e9b58ef7a87c6759d27dea9 | [
"MIT"
] | null | null | null | hand_tracking/__init__.py | K-Mahfoudh/Sign-Language-Translator | b75051846b98b5275e9b58ef7a87c6759d27dea9 | [
"MIT"
] | null | null | null | from .hand_tracker import HandTracker | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 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 |
76d8b21b6f57af1515c5c6d17c3fb6c4d69084bc | 73 | py | Python | tests/demo_config.py | a-nau/yaml2pyclass | 5b0db4e00e911f1080c79535d6ed3ecade28f2a0 | [
"BSD-3-Clause"
] | 2 | 2021-03-12T19:28:31.000Z | 2021-03-26T08:31:05.000Z | tests/demo_config.py | a-nau/yaml2pyclass | 5b0db4e00e911f1080c79535d6ed3ecade28f2a0 | [
"BSD-3-Clause"
] | null | null | null | tests/demo_config.py | a-nau/yaml2pyclass | 5b0db4e00e911f1080c79535d6ed3ecade28f2a0 | [
"BSD-3-Clause"
] | 1 | 2021-12-30T07:35:23.000Z | 2021-12-30T07:35:23.000Z | import yaml2pyclass
class Config(yaml2pyclass.CodeGenerator):
pass
| 12.166667 | 41 | 0.794521 | 7 | 73 | 8.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.150685 | 73 | 5 | 42 | 14.6 | 0.903226 | 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 |
0a4af004f0f9099b1ec792b9d6cad7351654087a | 40 | py | Python | kora/s/callbacks.py | wannaphong/kora | 8a9034097d07b14094e077769c02a0b4857d179b | [
"MIT"
] | 91 | 2020-05-26T05:54:51.000Z | 2022-03-09T07:33:44.000Z | kora/s/callbacks.py | wannaphong/kora | 8a9034097d07b14094e077769c02a0b4857d179b | [
"MIT"
] | 12 | 2020-10-03T10:09:11.000Z | 2021-03-06T23:12:21.000Z | kora/s/callbacks.py | wannaphong/kora | 8a9034097d07b14094e077769c02a0b4857d179b | [
"MIT"
] | 16 | 2020-07-07T18:39:29.000Z | 2021-03-06T03:46:49.000Z | from tensorflow.keras.callbacks import * | 40 | 40 | 0.85 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a692de94c447b61a5aab73da1456f88413b2fc2 | 46 | py | Python | InstallPythonTest.py | schm2055/CourseraPythonCourses | 1a7f60b6877c69116804cc04b5fa55daf26bf588 | [
"CC0-1.0"
] | null | null | null | InstallPythonTest.py | schm2055/CourseraPythonCourses | 1a7f60b6877c69116804cc04b5fa55daf26bf588 | [
"CC0-1.0"
] | null | null | null | InstallPythonTest.py | schm2055/CourseraPythonCourses | 1a7f60b6877c69116804cc04b5fa55daf26bf588 | [
"CC0-1.0"
] | null | null | null | print "how much wood would a wood chuck chuck" | 46 | 46 | 0.782609 | 9 | 46 | 4 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 1 | 46 | 46 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0a6a8ad142eda6a4f975fd848ab05b249e2dac30 | 168 | py | Python | mara_superset/cli.py | leo-schick/mara-superset | 359adcab3c2ac32283bd465901ceeb768d436557 | [
"MIT"
] | 3 | 2021-12-14T18:01:57.000Z | 2022-01-01T10:17:42.000Z | mara_superset/cli.py | leo-schick/mara-superset | 359adcab3c2ac32283bd465901ceeb768d436557 | [
"MIT"
] | null | null | null | mara_superset/cli.py | leo-schick/mara-superset | 359adcab3c2ac32283bd465901ceeb768d436557 | [
"MIT"
] | null | null | null | import click
@click.command()
def update_metadata():
"""Sync schema definitions from Mara to Superset"""
from . import metadata
metadata.update_metadata() | 21 | 55 | 0.720238 | 20 | 168 | 5.95 | 0.65 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 168 | 8 | 56 | 21 | 0.862319 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 |
6a8fb1be3e44f3fe40e4594834c3e2488d3c9360 | 199 | py | Python | odoo-13.0/addons/delivery/tests/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/delivery/tests/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/delivery/tests/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing detailsself.
from . import test_delivery_cost, test_delivery_stock_move
from . import test_packing_delivery
| 33.166667 | 78 | 0.78392 | 29 | 199 | 5.137931 | 0.793103 | 0.134228 | 0.187919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.140704 | 199 | 5 | 79 | 39.8 | 0.865497 | 0.492462 | 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 |
6a97ec876cb84e6d568ce02ee78aab2dc5e8eadb | 44,816 | py | Python | chronostar/retired/fit_group.py | tcrundall/chronostar | bdb5cd965e862ba5cc21bee75d5c8620e106c0cc | [
"MIT"
] | null | null | null | chronostar/retired/fit_group.py | tcrundall/chronostar | bdb5cd965e862ba5cc21bee75d5c8620e106c0cc | [
"MIT"
] | null | null | null | chronostar/retired/fit_group.py | tcrundall/chronostar | bdb5cd965e862ba5cc21bee75d5c8620e106c0cc | [
"MIT"
] | null | null | null | """This program takes an initial model for a stellar association and uses an affine invariant
Monte-Carlo to fit for the group parameters.
A group fitter, called after tracing orbits back.
This group fitter will find the best fit 6D error ellipse and best fit time for
the group formation based on Bayesian analysis, w... | 38.902778 | 132 | 0.616588 | 6,585 | 44,816 | 4.088535 | 0.104784 | 0.024886 | 0.014857 | 0.009397 | 0.769342 | 0.744828 | 0.732534 | 0.715522 | 0.705791 | 0.699328 | 0 | 0.036174 | 0.277066 | 44,816 | 1,151 | 133 | 38.936577 | 0.794808 | 0.18692 | 0 | 0.658041 | 0 | 0 | 0.075902 | 0.006436 | 0 | 0 | 0 | 0.000869 | 0.001848 | 0 | null | null | 0 | 0.02403 | null | null | 0.088725 | 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 |
6ad7a0097e0ba5837e06953a048f2812269cb92d | 27,942 | py | Python | code/python/Symbology/v2/fds/sdk/Symbology/api/bloomberg_figi_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/Symbology/v2/fds/sdk/Symbology/api/bloomberg_figi_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/Symbology/v2/fds/sdk/Symbology/api/bloomberg_figi_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
FactSet Symbology API
The FactSet Symbology API provides symbol resolution services, allowing clients to translate market identifiers into various symbology types such as, FactSet Permanent Identifiers, CUSIP, ISIN, SEDOL, Tickers, and Bloomberg FIGIs. <p>Factset's Symbology API sits at the center of its h... | 50.803636 | 607 | 0.616026 | 3,156 | 27,942 | 5.322877 | 0.094106 | 0.025716 | 0.018573 | 0.018096 | 0.872373 | 0.856658 | 0.856182 | 0.841122 | 0.841122 | 0.841122 | 0 | 0.008196 | 0.318839 | 27,942 | 549 | 608 | 50.896175 | 0.874429 | 0.612054 | 0 | 0.609865 | 0 | 0 | 0.160716 | 0.074523 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044843 | false | 0 | 0.044843 | 0 | 0.130045 | 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 |
6ad955feaec69af5e7ba1d40094a67b7e1d573fe | 246 | py | Python | bitmovin_api_sdk/encoding/encodings/input_streams/audio_mix/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/input_streams/audio_mix/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/input_streams/audio_mix/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.input_streams.audio_mix.audio_mix_api import AudioMixApi
from bitmovin_api_sdk.encoding.encodings.input_streams.audio_mix.audio_mix_input_stream_list_query_params import AudioMixInputStreamListQueryParams
| 82 | 147 | 0.926829 | 34 | 246 | 6.235294 | 0.5 | 0.150943 | 0.141509 | 0.169811 | 0.59434 | 0.59434 | 0.59434 | 0.59434 | 0.59434 | 0.59434 | 0 | 0 | 0.03252 | 246 | 2 | 148 | 123 | 0.890756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
0a7cf8659bd9b75a6de6c2c9a27a604240ddc398 | 1,221 | py | Python | calculate_metrics.py | gugarosa/sampling_recognition | 226152dbf00f80ac1f98b12d6237fe50dcf8f04f | [
"MIT"
] | null | null | null | calculate_metrics.py | gugarosa/sampling_recognition | 226152dbf00f80ac1f98b12d6237fe50dcf8f04f | [
"MIT"
] | null | null | null | calculate_metrics.py | gugarosa/sampling_recognition | 226152dbf00f80ac1f98b12d6237fe50dcf8f04f | [
"MIT"
] | null | null | null | import pickle
import numpy as np
# Defining an input file
input_file = 'output/all_lenet_1024.pkl'
# Opening input file
with open(input_file, 'rb') as f:
# Loading pickle object
metrics = pickle.load(f)
# Outputting important information
print(f"Size: {len(metrics['train_time'])}")
# Calculating metrics
pr... | 50.875 | 341 | 0.682228 | 185 | 1,221 | 4.367568 | 0.237838 | 0.24505 | 0.160891 | 0.189356 | 0.477723 | 0.09901 | 0 | 0 | 0 | 0 | 0 | 0.015125 | 0.079443 | 1,221 | 24 | 341 | 50.875 | 0.703737 | 0.095004 | 0 | 0 | 0 | 0.538462 | 0.806364 | 0.673636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.153846 | 0.615385 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0aea36bc4917d2a96edac89895949474933b5370 | 137 | py | Python | .circleci/validate_docs.py | jrzeszutek/cloudify-utilities-plugin | d62fc98e9164fd836d8f22a757b5a58ca119f97a | [
"Apache-2.0"
] | 13 | 2015-05-28T23:21:05.000Z | 2022-03-20T05:38:20.000Z | .circleci/validate_docs.py | jrzeszutek/cloudify-utilities-plugin | d62fc98e9164fd836d8f22a757b5a58ca119f97a | [
"Apache-2.0"
] | 75 | 2017-04-20T20:42:26.000Z | 2022-02-16T11:03:02.000Z | .circleci/validate_docs.py | jrzeszutek/cloudify-utilities-plugin | d62fc98e9164fd836d8f22a757b5a58ca119f97a | [
"Apache-2.0"
] | 41 | 2015-01-21T17:16:05.000Z | 2022-03-31T06:47:48.000Z | from ecosystem_cicd_tools.validations import validate_documentation_pulls
if __name__ == '__main__':
validate_documentation_pulls()
| 27.4 | 73 | 0.839416 | 15 | 137 | 6.733333 | 0.8 | 0.415842 | 0.514851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10219 | 137 | 4 | 74 | 34.25 | 0.821138 | 0 | 0 | 0 | 0 | 0 | 0.058394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
e4091befc82b9dd101146b1ab29f20b27d67c66c | 5,142 | py | Python | platform/gsutil/third_party/boto/tests/unit/ec2/test_ec2object.py | IsaacHuang/google-cloud-sdk | 52afa5d1a75dff08f4f5380c5cccc015bf796ca5 | [
"Apache-2.0"
] | 1 | 2021-04-30T05:26:20.000Z | 2021-04-30T05:26:20.000Z | platform/gsutil/third_party/boto/tests/unit/ec2/test_ec2object.py | IsaacHuang/google-cloud-sdk | 52afa5d1a75dff08f4f5380c5cccc015bf796ca5 | [
"Apache-2.0"
] | null | null | null | platform/gsutil/third_party/boto/tests/unit/ec2/test_ec2object.py | IsaacHuang/google-cloud-sdk | 52afa5d1a75dff08f4f5380c5cccc015bf796ca5 | [
"Apache-2.0"
] | 2 | 2020-07-25T05:03:06.000Z | 2020-11-04T04:55:57.000Z | #!/usr/bin/env python
from tests.unit import unittest
from tests.unit import AWSMockServiceTestCase
from boto.ec2.connection import EC2Connection
from boto.ec2.ec2object import TaggedEC2Object
CREATE_TAGS_RESPONSE = r"""<?xml version="1.0" encoding="UTF-8"?>
<CreateTagsResponse xmlns="http://ec2.amazonaws.com/doc/2... | 35.219178 | 77 | 0.608129 | 480 | 5,142 | 6.304167 | 0.197917 | 0.081626 | 0.045605 | 0.057502 | 0.831461 | 0.831461 | 0.831461 | 0.831461 | 0.823199 | 0.774289 | 0 | 0.05399 | 0.261571 | 5,142 | 145 | 78 | 35.462069 | 0.742955 | 0.00389 | 0 | 0.663636 | 0 | 0 | 0.290959 | 0.055458 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.063636 | false | 0 | 0.036364 | 0.018182 | 0.154545 | 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 |
7c6a38992f08d95cce10844399a53f4d213abc86 | 135 | py | Python | parshuffle/__init__.py | ImoStocky/paragraph_permute | ea15dd98c1ba98b0cb7c854da5ea0165be0606a8 | [
"CC0-1.0"
] | null | null | null | parshuffle/__init__.py | ImoStocky/paragraph_permute | ea15dd98c1ba98b0cb7c854da5ea0165be0606a8 | [
"CC0-1.0"
] | null | null | null | parshuffle/__init__.py | ImoStocky/paragraph_permute | ea15dd98c1ba98b0cb7c854da5ea0165be0606a8 | [
"CC0-1.0"
] | null | null | null | # Define what will be available through from package import *?
from parshuffle.shuffle_file import *
from parshuffle.params import *
| 22.5 | 62 | 0.792593 | 18 | 135 | 5.888889 | 0.722222 | 0.188679 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 135 | 5 | 63 | 27 | 0.929825 | 0.444444 | 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 |
7cdddbfedf934711758a384148370ba565083b60 | 26,729 | py | Python | tests/st/ops/gpu/test_scatter_func_op.py | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | 3,200 | 2020-02-17T12:45:41.000Z | 2022-03-31T20:21:16.000Z | tests/st/ops/gpu/test_scatter_func_op.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 176 | 2020-02-12T02:52:11.000Z | 2022-03-28T22:15:55.000Z | tests/st/ops/gpu/test_scatter_func_op.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 621 | 2020-03-09T01:31:41.000Z | 2022-03-30T03:43:19.000Z | # Copyright 2020-2021 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | 37.072122 | 99 | 0.568933 | 4,060 | 26,729 | 3.62266 | 0.089163 | 0.050109 | 0.07071 | 0.065271 | 0.901618 | 0.888972 | 0.872518 | 0.859804 | 0.841719 | 0.823429 | 0 | 0.163888 | 0.241648 | 26,729 | 720 | 100 | 37.123611 | 0.561717 | 0.033634 | 0 | 0.629433 | 0 | 0 | 0.009585 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 1 | 0.044326 | false | 0 | 0.012411 | 0 | 0.074468 | 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 |
6b23ac628b45a261d3ae15d879e43af499cd1839 | 89 | py | Python | oledpy/__init__.py | jsbangsund/oledpy | 200934c3493e203c50523427d2286ec60341b510 | [
"MIT"
] | 4 | 2020-08-25T14:51:04.000Z | 2021-11-16T02:51:58.000Z | oledpy/__init__.py | deep-learning-ma/oledpy | 200934c3493e203c50523427d2286ec60341b510 | [
"MIT"
] | 1 | 2020-10-15T16:30:54.000Z | 2020-10-15T16:30:54.000Z | oledpy/__init__.py | deep-learning-ma/oledpy | 200934c3493e203c50523427d2286ec60341b510 | [
"MIT"
] | 5 | 2020-08-26T01:57:24.000Z | 2021-11-03T09:01:12.000Z | # import modules
#import oledpy.tmm
#import oledpy.dipole_emission
from .oledpy import *
| 17.8 | 30 | 0.797753 | 12 | 89 | 5.833333 | 0.583333 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 4 | 31 | 22.25 | 0.897436 | 0.674157 | 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 |
6b3023f320409dee292fff6c2d9f0979079eafd5 | 32 | py | Python | MTLib/cosmos/__init__.py | skrrrlev/Masters_Thesis | 5b096b01ffdcb8d723723769058d43951c9db515 | [
"MIT"
] | null | null | null | MTLib/cosmos/__init__.py | skrrrlev/Masters_Thesis | 5b096b01ffdcb8d723723769058d43951c9db515 | [
"MIT"
] | null | null | null | MTLib/cosmos/__init__.py | skrrrlev/Masters_Thesis | 5b096b01ffdcb8d723723769058d43951c9db515 | [
"MIT"
] | null | null | null | from .catalogue import Catalogue | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b39a6b1570f17bf005023acbf9ad7d0e67a08a8 | 220 | py | Python | src/gui/MainWindow/__init__.py | bochkovoi/AHP | b51dc598f8f7a65a2ade039d887dccfa6d070f1e | [
"MIT"
] | null | null | null | src/gui/MainWindow/__init__.py | bochkovoi/AHP | b51dc598f8f7a65a2ade039d887dccfa6d070f1e | [
"MIT"
] | null | null | null | src/gui/MainWindow/__init__.py | bochkovoi/AHP | b51dc598f8f7a65a2ade039d887dccfa6d070f1e | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .MainAlternativesVision import *
from .MainCategoriesVision import *
from .MainCriteriasVision import *
from .MainObjectWindow import *
from .MainRadioButton import *
| 24.444444 | 37 | 0.763636 | 22 | 220 | 7.636364 | 0.636364 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.127273 | 220 | 8 | 38 | 27.5 | 0.864583 | 0.195455 | 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 |
860992e9ec6bbe2ffb7f5548f7c5e5212164c5ae | 33 | py | Python | python_retry/__init__.py | pyprogrammerblog/python-retry | ebeb787514ae5f05d72972d7b81cc71124db66cb | [
"MIT"
] | 1 | 2022-03-12T18:17:31.000Z | 2022-03-12T18:17:31.000Z | python_retry/__init__.py | pyprogrammerblog/python-retry | ebeb787514ae5f05d72972d7b81cc71124db66cb | [
"MIT"
] | null | null | null | python_retry/__init__.py | pyprogrammerblog/python-retry | ebeb787514ae5f05d72972d7b81cc71124db66cb | [
"MIT"
] | null | null | null | from .retry import retry # NOQA
| 16.5 | 32 | 0.727273 | 5 | 33 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 1 | 33 | 33 | 0.923077 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8611b614c41b30ba8483f13e994600aaacb7182e | 18,303 | py | Python | tests/pytests/unit/modules/test_win_pkg.py | haodeon/salt | af2964f4ddbf9c5635d1528a495e473996cc7b71 | [
"Apache-2.0"
] | null | null | null | tests/pytests/unit/modules/test_win_pkg.py | haodeon/salt | af2964f4ddbf9c5635d1528a495e473996cc7b71 | [
"Apache-2.0"
] | null | null | null | tests/pytests/unit/modules/test_win_pkg.py | haodeon/salt | af2964f4ddbf9c5635d1528a495e473996cc7b71 | [
"Apache-2.0"
] | null | null | null | """
Tests for the win_pkg module
"""
import pytest
import salt.modules.config as config
import salt.modules.pkg_resource as pkg_resource
import salt.modules.win_pkg as win_pkg
import salt.utils.data
import salt.utils.platform
import salt.utils.win_reg as win_reg
from salt.exceptions import MinionError
from tests.suppor... | 34.083799 | 106 | 0.588046 | 2,222 | 18,303 | 4.537354 | 0.086859 | 0.032136 | 0.089268 | 0.030351 | 0.887324 | 0.883456 | 0.856675 | 0.83535 | 0.818687 | 0.804106 | 0 | 0.017055 | 0.272797 | 18,303 | 536 | 107 | 34.147388 | 0.740421 | 0.051959 | 0 | 0.699095 | 0 | 0.006787 | 0.259024 | 0.048924 | 0 | 0 | 0 | 0 | 0.045249 | 1 | 0.036199 | false | 0 | 0.020362 | 0 | 0.058824 | 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 |
863577165203e2ab8335afdd2aac817ed3128e62 | 5,488 | py | Python | nemo/collections/nlp/nm/data_layers/glue_benchmark_datalayer.py | ParikhKadam/NeMo | ee11f7c4666d410d91f9da33c61f4819ea625013 | [
"Apache-2.0"
] | 10 | 2020-03-17T08:32:06.000Z | 2021-04-19T19:03:50.000Z | nemo/collections/nlp/nm/data_layers/glue_benchmark_datalayer.py | dcmartin/NeMo | d2120a40bf23d3e38ff5677c2685c712f297e6b1 | [
"Apache-2.0"
] | 1 | 2020-06-11T00:54:42.000Z | 2020-06-11T00:54:42.000Z | nemo/collections/nlp/nm/data_layers/glue_benchmark_datalayer.py | dcmartin/NeMo | d2120a40bf23d3e38ff5677c2685c712f297e6b1 | [
"Apache-2.0"
] | 3 | 2020-03-10T05:10:07.000Z | 2020-12-08T01:33:35.000Z | # =============================================================================
# Copyright 2020 NVIDIA. 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://ww... | 36.105263 | 90 | 0.620445 | 614 | 5,488 | 5.382736 | 0.294788 | 0.016944 | 0.029047 | 0.038124 | 0.709834 | 0.709834 | 0.709834 | 0.709834 | 0.709834 | 0.709834 | 0 | 0.00449 | 0.269497 | 5,488 | 151 | 91 | 36.344371 | 0.819905 | 0.493258 | 0 | 0.782609 | 0 | 0 | 0.125604 | 0.020129 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057971 | false | 0 | 0.057971 | 0 | 0.173913 | 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 |
8638e23a45beea8d12c0ac40c1305cb8c91bff7a | 173 | py | Python | reqcheck/exceptions.py | jaleskovec/reqcheck | ffc13cd28127f751617cdd29f7003866341fca58 | [
"MIT"
] | null | null | null | reqcheck/exceptions.py | jaleskovec/reqcheck | ffc13cd28127f751617cdd29f7003866341fca58 | [
"MIT"
] | 2 | 2021-01-27T12:22:11.000Z | 2021-01-31T03:32:08.000Z | reqcheck/exceptions.py | jaleskovec/reqcheck | ffc13cd28127f751617cdd29f7003866341fca58 | [
"MIT"
] | null | null | null | class ReqCheckException(Exception): pass
class PipMissing(ReqCheckException): pass
class PipFailed(ReqCheckException): pass
class ConstraintFailure(ReqCheckException): pass
| 34.6 | 48 | 0.861272 | 16 | 173 | 9.3125 | 0.4375 | 0.181208 | 0.348993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069364 | 173 | 4 | 49 | 43.25 | 0.925466 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
867b09dce2171381ea5936aaa2d94f6abb128720 | 29,213 | py | Python | holoviews/tests/core/data/testgridinterface.py | fedario/holoviews | 1cf01c36f746cff17f48c700c1f67b1b6254be85 | [
"BSD-3-Clause"
] | null | null | null | holoviews/tests/core/data/testgridinterface.py | fedario/holoviews | 1cf01c36f746cff17f48c700c1f67b1b6254be85 | [
"BSD-3-Clause"
] | null | null | null | holoviews/tests/core/data/testgridinterface.py | fedario/holoviews | 1cf01c36f746cff17f48c700c1f67b1b6254be85 | [
"BSD-3-Clause"
] | null | null | null | import datetime as dt
from collections import OrderedDict
from itertools import product
from unittest import SkipTest, skipIf
import numpy as np
from holoviews.core.data import Dataset
from holoviews.core.util import pd, date_range
from holoviews.element import Image, Curve, RGB, HSV
try:
import dask.array as da... | 47.34684 | 131 | 0.570465 | 3,933 | 29,213 | 4.120773 | 0.059242 | 0.07867 | 0.038872 | 0.026223 | 0.871105 | 0.843031 | 0.81582 | 0.80422 | 0.775776 | 0.762078 | 0 | 0.037136 | 0.244138 | 29,213 | 616 | 132 | 47.423701 | 0.696843 | 0.002773 | 0 | 0.661509 | 0 | 0 | 0.055215 | 0.000753 | 0 | 0 | 0 | 0 | 0.17795 | 1 | 0.147002 | false | 0 | 0.027079 | 0 | 0.201161 | 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 |
867ce2e72edbe1ad82ab05739900c9a4baf0107e | 118,541 | py | Python | pytests/tuqquery/n1ql_collections_ddl.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | null | null | null | pytests/tuqquery/n1ql_collections_ddl.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | null | null | null | pytests/tuqquery/n1ql_collections_ddl.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | 2 | 2019-03-05T04:55:06.000Z | 2019-05-27T09:24:54.000Z | from collection.collections_cli_client import CollectionsCLI
from collection.collections_n1ql_client import CollectionsN1QL
from collection.collections_rest_client import CollectionsRest
from membase.api.exception import CBQError
from membase.helper.bucket_helper import BucketOperationHelper
from .tuq import QueryTest... | 59.688318 | 155 | 0.392725 | 7,434 | 118,541 | 6.085822 | 0.042642 | 0.035365 | 0.066089 | 0.068962 | 0.900137 | 0.890566 | 0.869546 | 0.858715 | 0.845144 | 0.837651 | 0 | 0.026994 | 0.479674 | 118,541 | 1,985 | 156 | 59.718388 | 0.706501 | 0.01532 | 0 | 0.69029 | 0 | 0 | 0.259385 | 0.01773 | 0 | 0 | 0 | 0.000504 | 0.029576 | 1 | 0.015067 | false | 0 | 0.003348 | 0 | 0.022879 | 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 |
86939b5e470aa26911e3c3cc7009b5f1738975d3 | 1,999 | py | Python | docs/theory/figures/stress-strain.py | wolfv/ElastoPlasticQPot | 7753c6cfb34d4bc79bc7ef07738a0dd1046222eb | [
"MIT"
] | null | null | null | docs/theory/figures/stress-strain.py | wolfv/ElastoPlasticQPot | 7753c6cfb34d4bc79bc7ef07738a0dd1046222eb | [
"MIT"
] | null | null | null | docs/theory/figures/stress-strain.py | wolfv/ElastoPlasticQPot | 7753c6cfb34d4bc79bc7ef07738a0dd1046222eb | [
"MIT"
] | null | null | null |
import GooseTensor as gt
import ElastoPlasticQPot as gm
import numpy as np
import matplotlib.pyplot as plt
plt.style.use(['goose','goose-latex','goose-tick-lower'])
# --------------------------------------------------------------------------------------------------
fig = plt.figure(figsize=(14,12)... | 21.967033 | 100 | 0.477239 | 282 | 1,999 | 3.29078 | 0.244681 | 0.021552 | 0.019397 | 0.017241 | 0.728448 | 0.728448 | 0.728448 | 0.728448 | 0.728448 | 0.728448 | 0 | 0.042378 | 0.150075 | 1,999 | 90 | 101 | 22.211111 | 0.503826 | 0.197599 | 0 | 0.727273 | 0 | 0 | 0.122104 | 0.062617 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.072727 | 0 | 0.072727 | 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 |
86f93caafce28242ec4675b1768b943fed2dea09 | 83 | py | Python | frewpy/models/strut.py | frdwhite24/frewpy | 79368c69b918404e4d1ee5c3a7b6a88cee994d2f | [
"MIT"
] | 3 | 2020-10-02T15:49:44.000Z | 2021-11-22T15:39:55.000Z | frewpy/models/strut.py | frdwhite24/frewpy | 79368c69b918404e4d1ee5c3a7b6a88cee994d2f | [
"MIT"
] | 1 | 2020-10-02T09:07:04.000Z | 2020-10-02T09:07:04.000Z | frewpy/models/strut.py | frdwhite24/frewpy | 79368c69b918404e4d1ee5c3a7b6a88cee994d2f | [
"MIT"
] | 2 | 2021-04-20T14:43:14.000Z | 2021-12-09T10:02:55.000Z | class Strut:
def __init__(self, json_data):
self.json_data = json_data
| 20.75 | 34 | 0.674699 | 12 | 83 | 4.083333 | 0.583333 | 0.489796 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240964 | 83 | 3 | 35 | 27.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
812d3c31200d4aabe28c82ce3810d1fd4895f0e8 | 121 | py | Python | movieapp/trial.py | Ketank21/Movie_recommendation | 444e85669689cc0d86c0aa11d708eaad17e6115b | [
"MIT"
] | null | null | null | movieapp/trial.py | Ketank21/Movie_recommendation | 444e85669689cc0d86c0aa11d708eaad17e6115b | [
"MIT"
] | null | null | null | movieapp/trial.py | Ketank21/Movie_recommendation | 444e85669689cc0d86c0aa11d708eaad17e6115b | [
"MIT"
] | null | null | null | import pandas as pd
df_mov_avg_cnt=pd.read_csv('./data/ml-latest-small/movies_avg_cnt.csv')
print(df_mov_avg_cnt.head())
| 30.25 | 71 | 0.801653 | 25 | 121 | 3.52 | 0.68 | 0.204545 | 0.181818 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049587 | 121 | 3 | 72 | 40.333333 | 0.765217 | 0 | 0 | 0 | 0 | 0 | 0.338843 | 0.338843 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
813e90cefb97c8b4e6fa286f08313bd55104a4db | 5,284 | py | Python | aiomoex/candles.py | WLM1ke/aiomoex | dd7f6c4cb9482d0a3185c340274a4d4d42e15a9f | [
"Unlicense"
] | 55 | 2018-11-25T14:11:50.000Z | 2021-11-14T21:53:10.000Z | aiomoex/candles.py | WLM1ke/aiomoex | dd7f6c4cb9482d0a3185c340274a4d4d42e15a9f | [
"Unlicense"
] | 5 | 2018-12-01T05:42:41.000Z | 2021-07-13T11:15:23.000Z | aiomoex/candles.py | WLM1ke/aiomoex | dd7f6c4cb9482d0a3185c340274a4d4d42e15a9f | [
"Unlicense"
] | 21 | 2018-11-20T17:46:43.000Z | 2022-03-30T04:24:56.000Z | """Функции для получения информации о свечках."""
from typing import Optional
import aiohttp
from aiomoex import client, request_helpers
from aiomoex.request_helpers import (
CANDLE_BORDERS,
CANDLES,
DEFAULT_BOARD,
DEFAULT_ENGINE,
DEFAULT_MARKET,
)
async def get_market_candle_borders(
sessio... | 33.025 | 103 | 0.68679 | 657 | 5,284 | 5.444444 | 0.240487 | 0.046967 | 0.035784 | 0.039139 | 0.850992 | 0.850992 | 0.850992 | 0.822477 | 0.798994 | 0.7565 | 0 | 0.01352 | 0.230129 | 5,284 | 159 | 104 | 33.232704 | 0.865782 | 0.008138 | 0 | 0.66129 | 0 | 0 | 0.006343 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.064516 | 0 | 0.129032 | 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 |
81413a51366175ae377ded9bc14969eeb14cbcf0 | 19,851 | py | Python | examples.py | JACKHAHA363/DeepRL | 5e91086c17fd6de85f4d53873fab17e049dd5df5 | [
"Apache-2.0"
] | null | null | null | examples.py | JACKHAHA363/DeepRL | 5e91086c17fd6de85f4d53873fab17e049dd5df5 | [
"Apache-2.0"
] | null | null | null | examples.py | JACKHAHA363/DeepRL | 5e91086c17fd6de85f4d53873fab17e049dd5df5 | [
"Apache-2.0"
] | null | null | null | #######################################################################
# Copyright (C) 2017 Shangtong Zhang(zhangshangtong.cpp@gmail.com) #
# Permission given to modify the code as long as you keep this #
# declaration at the top #
################################... | 44.709459 | 129 | 0.717949 | 2,667 | 19,851 | 5.04087 | 0.105362 | 0.055341 | 0.02767 | 0.036671 | 0.84216 | 0.802068 | 0.779679 | 0.755356 | 0.722032 | 0.67889 | 0 | 0.041038 | 0.175105 | 19,851 | 443 | 130 | 44.810384 | 0.779969 | 0.088157 | 0 | 0.658263 | 0 | 0 | 0.010889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056022 | false | 0 | 0.005602 | 0 | 0.061625 | 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 |
d49ef2660a3a0843c79f82e863b10a29d0cc79a9 | 50 | py | Python | big_sleep/__init__.py | filippocastelli/big-sleep | 39656dcb1f1d4f0e6973eec1ae17941adf9a1aba | [
"MIT"
] | 1,798 | 2021-01-18T21:34:17.000Z | 2022-03-31T18:49:52.000Z | big_sleep/__init__.py | filippocastelli/big-sleep | 39656dcb1f1d4f0e6973eec1ae17941adf9a1aba | [
"MIT"
] | 87 | 2021-01-19T05:18:29.000Z | 2022-03-25T05:18:36.000Z | big_sleep/__init__.py | filippocastelli/big-sleep | 39656dcb1f1d4f0e6973eec1ae17941adf9a1aba | [
"MIT"
] | 197 | 2021-01-19T09:07:42.000Z | 2022-03-31T14:30:08.000Z | from big_sleep.big_sleep import BigSleep, Imagine
| 25 | 49 | 0.86 | 8 | 50 | 5.125 | 0.75 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 1 | 50 | 50 | 0.911111 | 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 |
d4a57414893d8cc061ce995ae7381a4933577665 | 85 | py | Python | crabageprediction/venv/Lib/site-packages/fontTools/ttLib/tables/G_D_E_F_.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 38,667 | 2015-01-01T00:15:34.000Z | 2022-03-31T22:57:03.000Z | crabageprediction/venv/Lib/site-packages/fontTools/ttLib/tables/G_D_E_F_.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 1,599 | 2016-09-27T09:07:36.000Z | 2022-03-31T23:04:51.000Z | crabageprediction/venv/Lib/site-packages/fontTools/ttLib/tables/G_D_E_F_.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 11,269 | 2015-01-01T08:41:17.000Z | 2022-03-31T16:12:52.000Z | from .otBase import BaseTTXConverter
class table_G_D_E_F_(BaseTTXConverter):
pass
| 14.166667 | 39 | 0.835294 | 12 | 85 | 5.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 85 | 5 | 40 | 17 | 0.88 | 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 |
d4f5d8118fe5150125ff4e060a34fdb505c4f20e | 11,872 | py | Python | test/test_epithelium.py | jbeezley/simulation-hello-world | b4e1258de9c7601af1701041fa39f8f6c5e5a61e | [
"Apache-2.0"
] | 4 | 2021-05-21T15:46:15.000Z | 2022-03-01T02:58:32.000Z | test/test_epithelium.py | jbeezley/simulation-hello-world | b4e1258de9c7601af1701041fa39f8f6c5e5a61e | [
"Apache-2.0"
] | 10 | 2020-11-10T23:20:37.000Z | 2022-03-12T01:34:47.000Z | test/test_epithelium.py | jbeezley/simulation-hello-world | b4e1258de9c7601af1701041fa39f8f6c5e5a61e | [
"Apache-2.0"
] | 2 | 2020-12-16T14:24:26.000Z | 2021-01-08T15:56:20.000Z | import numpy as np
from pytest import fixture
from nlisim.coordinates import Point
from nlisim.grid import RectangularGrid
from nlisim.oldmodules.epithelium import EpitheliumCellData, EpitheliumCellList
from nlisim.oldmodules.fungus import FungusCellData, FungusCellList
@fixture
def iron():
# a 10 x 10 x 10 grid... | 28.470024 | 95 | 0.68691 | 1,561 | 11,872 | 5.014094 | 0.074952 | 0.088156 | 0.05366 | 0.066437 | 0.819727 | 0.807078 | 0.781525 | 0.776798 | 0.731826 | 0.711895 | 0 | 0.037329 | 0.207968 | 11,872 | 416 | 96 | 28.538462 | 0.795065 | 0.026028 | 0 | 0.651316 | 0 | 0 | 0.021041 | 0 | 0 | 0 | 0 | 0 | 0.154605 | 1 | 0.065789 | false | 0 | 0.019737 | 0 | 0.085526 | 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 |
be03972c3170322e4dcb8f784c67fd4870431c3c | 122 | py | Python | tests/utils/__init__.py | Arsh0023/netengine | dd0264cfdc03d630774c9e3bfb5c19310444837b | [
"X11"
] | 1 | 2020-08-06T06:38:11.000Z | 2020-08-06T06:38:11.000Z | tests/utils/__init__.py | shildenbrand/NetEngine | 86da540aa9f0aeb7448ac74829f4443af119b2b6 | [
"X11"
] | null | null | null | tests/utils/__init__.py | shildenbrand/NetEngine | 86da540aa9f0aeb7448ac74829f4443af119b2b6 | [
"X11"
] | null | null | null | from .ifconfig import *
from .iwconfig import *
from .manufacturer_lookup import *
from .parse_manufacturers import *
| 24.4 | 35 | 0.770492 | 14 | 122 | 6.571429 | 0.571429 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 122 | 4 | 36 | 30.5 | 0.901961 | 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 |
be144b31cdb8c955ec3624f299d577ac840ac941 | 2,300 | py | Python | epytope/Data/pssms/smmpmbec/mat/C_15_02_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/C_15_02_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/C_15_02_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | C_15_02_9 = {0: {'A': 0.027, 'C': 0.029, 'E': 0.079, 'D': 0.056, 'G': 0.043, 'F': -0.022, 'I': 0.09, 'H': -0.181, 'K': -0.241, 'M': 0.015, 'L': 0.144, 'N': 0.058, 'Q': 0.043, 'P': 0.084, 'S': -0.03, 'R': -0.431, 'T': 0.098, 'W': 0.051, 'V': 0.193, 'Y': -0.105}, 1: {'A': -1.081, 'C': -0.08, 'E': -0.177, 'D': -0.229, 'G'... | 2,300 | 2,300 | 0.393043 | 557 | 2,300 | 1.617594 | 0.310592 | 0.019978 | 0.008879 | 0.011099 | 0.055494 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372081 | 0.162174 | 2,300 | 1 | 2,300 | 2,300 | 0.095485 | 0 | 0 | 0 | 0 | 0 | 0.079531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 6 |
076d4ddaf5a113660c6c6598cf228756090d7743 | 159 | py | Python | test_lowest_sum_path.py | JB-Tellez/dsa-practice | 552931a9b967307fa06ce35f14972ada5c0ce638 | [
"MIT"
] | null | null | null | test_lowest_sum_path.py | JB-Tellez/dsa-practice | 552931a9b967307fa06ce35f14972ada5c0ce638 | [
"MIT"
] | null | null | null | test_lowest_sum_path.py | JB-Tellez/dsa-practice | 552931a9b967307fa06ce35f14972ada5c0ce638 | [
"MIT"
] | null | null | null | from lowest_sum_path import sum_lowest_path
def test_sum_lowest_path():
nums = [[1, 2, 3], [1, 2, 4], [6, 3, 5]]
assert sum_lowest_path(nums) == 12
| 19.875 | 44 | 0.647799 | 29 | 159 | 3.241379 | 0.551724 | 0.287234 | 0.414894 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086614 | 0.201258 | 159 | 7 | 45 | 22.714286 | 0.653543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
078ddeb21a0e56505a92f23bbc1f6b982b9aca3f | 74 | py | Python | ssod/datasets/pipelines/__init__.py | hattrickcr7/ctrst | 69cb26965ecd1637b6847892627018707fd36129 | [
"MIT"
] | null | null | null | ssod/datasets/pipelines/__init__.py | hattrickcr7/ctrst | 69cb26965ecd1637b6847892627018707fd36129 | [
"MIT"
] | null | null | null | ssod/datasets/pipelines/__init__.py | hattrickcr7/ctrst | 69cb26965ecd1637b6847892627018707fd36129 | [
"MIT"
] | null | null | null | from .formatting import *
from .rand_aug import *
from .moco_aug import *
| 18.5 | 25 | 0.756757 | 11 | 74 | 4.909091 | 0.545455 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 26 | 24.666667 | 0.870968 | 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 |
07ae91050095a5b1021ba829946c1a7a3c0105f3 | 121,174 | py | Python | pytests/tuqquery/tuq_UDF_N1QL.py | AnithaKuberan/testrunner | bc57e5b75f99e1fa76d410c6ef513294d3e5bacd | [
"Apache-2.0"
] | null | null | null | pytests/tuqquery/tuq_UDF_N1QL.py | AnithaKuberan/testrunner | bc57e5b75f99e1fa76d410c6ef513294d3e5bacd | [
"Apache-2.0"
] | null | null | null | pytests/tuqquery/tuq_UDF_N1QL.py | AnithaKuberan/testrunner | bc57e5b75f99e1fa76d410c6ef513294d3e5bacd | [
"Apache-2.0"
] | null | null | null | from .tuq import QueryTests
from deepdiff import DeepDiff
import requests
from membase.api.exception import CBQError
from collection.collections_n1ql_client import CollectionsN1QL
class QueryUDFN1QLTests(QueryTests):
ddls = {
'create_index': {
'pre': 'DROP INDEX udf_ix IF EXISTS on default',
... | 56.649836 | 291 | 0.612351 | 14,568 | 121,174 | 4.900329 | 0.042628 | 0.078669 | 0.037821 | 0.056732 | 0.860075 | 0.843055 | 0.829271 | 0.815697 | 0.800821 | 0.786925 | 0 | 0.020399 | 0.256012 | 121,174 | 2,139 | 292 | 56.649836 | 0.771464 | 0.032845 | 0 | 0.694942 | 0 | 0.051106 | 0.333165 | 0.05287 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.038462 | false | 0.004215 | 0.002634 | 0 | 0.071128 | 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 |
07f7d76efb0af1849305152278a098602ae46f9b | 4,426 | py | Python | tests/components/ozw/test_cover.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 6 | 2016-11-25T06:36:27.000Z | 2021-11-16T11:20:23.000Z | tests/components/ozw/test_cover.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 56 | 2020-08-03T07:30:54.000Z | 2022-03-31T06:02:04.000Z | tests/components/ozw/test_cover.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 10 | 2021-04-01T18:53:13.000Z | 2021-12-26T22:19:50.000Z | """Test Z-Wave Covers."""
from homeassistant.components.cover import ATTR_CURRENT_POSITION
from homeassistant.components.ozw.cover import VALUE_SELECTED_ID
from .common import setup_ozw
VALUE_ID = "Value"
async def test_cover(hass, cover_data, sent_messages, cover_msg):
"""Test setting up config entry."""
r... | 33.029851 | 82 | 0.664257 | 560 | 4,426 | 5.008929 | 0.160714 | 0.068449 | 0.048128 | 0.047415 | 0.810339 | 0.790374 | 0.72656 | 0.72656 | 0.716578 | 0.709447 | 0 | 0.042012 | 0.209444 | 4,426 | 133 | 83 | 33.278195 | 0.759646 | 0.060551 | 0 | 0.637255 | 0 | 0 | 0.250737 | 0.143418 | 0 | 0 | 0 | 0 | 0.303922 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.029412 | 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 |
ed06f9d4fe5e93fdb9250998368b2f490fa071e9 | 19 | py | Python | data.py | jshaffar/AIbiza | 1950345d39c8db0ac02eedf2c52f092e8717a9ab | [
"MIT"
] | null | null | null | data.py | jshaffar/AIbiza | 1950345d39c8db0ac02eedf2c52f092e8717a9ab | [
"MIT"
] | null | null | null | data.py | jshaffar/AIbiza | 1950345d39c8db0ac02eedf2c52f092e8717a9ab | [
"MIT"
] | 1 | 2018-05-24T06:07:46.000Z | 2018-05-24T06:07:46.000Z | import numpy as np | 19 | 19 | 0.789474 | 4 | 19 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed5ccfda288734930d1cb4b4cd8f2d75a08d1faa | 42 | py | Python | fedcv/runner/__init__.py | FederalLab/openfed-cv | caef667989c5a1a2176b8d7d99b5e2f1c36f0a19 | [
"MIT"
] | null | null | null | fedcv/runner/__init__.py | FederalLab/openfed-cv | caef667989c5a1a2176b8d7d99b5e2f1c36f0a19 | [
"MIT"
] | null | null | null | fedcv/runner/__init__.py | FederalLab/openfed-cv | caef667989c5a1a2176b8d7d99b5e2f1c36f0a19 | [
"MIT"
] | null | null | null | from .openfed_runner_constructor import *
| 21 | 41 | 0.857143 | 5 | 42 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed742d3ac1f26556dc3314978c62fd18f3acd1a5 | 323 | py | Python | Leetcode/Python/_967.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | 1 | 2021-11-28T15:03:32.000Z | 2021-11-28T15:03:32.000Z | Leetcode/Python/_967.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | Leetcode/Python/_967.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | class Solution:
def transpose(self, matrix: List[List[int]]) -> List[List[int]]:
return [*map(list, zip(*matrix))]
class Solution:
def transpose(self, matrix: List[List[int]]) -> List[List[int]]:
output = []
for col in zip(*matrix):
output.append(col)
return outp... | 29.363636 | 68 | 0.575851 | 40 | 323 | 4.65 | 0.4 | 0.172043 | 0.236559 | 0.268817 | 0.612903 | 0.612903 | 0.612903 | 0.612903 | 0.612903 | 0.612903 | 0 | 0 | 0.266254 | 323 | 10 | 69 | 32.3 | 0.78481 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
71fd3ece93e5abbbe2f67816d779ae5fadf8e810 | 2,232 | py | Python | test/test_spectrum_functions.py | vznncv/bouy-spectrum-resotring-demo | 4a86adbb6d59cef440bc7e35554df99371008392 | [
"MIT"
] | 2 | 2018-07-29T14:38:38.000Z | 2022-02-17T20:24:39.000Z | test/test_spectrum_functions.py | vznncv/bouy-spectrum-resotring-demo | 4a86adbb6d59cef440bc7e35554df99371008392 | [
"MIT"
] | null | null | null | test/test_spectrum_functions.py | vznncv/bouy-spectrum-resotring-demo | 4a86adbb6d59cef440bc7e35554df99371008392 | [
"MIT"
] | null | null | null | import numpy as np
from unittest import TestCase
from spectrum_processing_1d.spectrum_functions import pierson_moskowitz_s_fun, \
build_wave_spectrum_fun
class SpectrumFunctionTestCase(TestCase):
def test_wave_spectrum_fun(self):
omega = np.linspace(-np.pi, np.pi, 10)
s = pierson_moskowitz_s... | 32.823529 | 93 | 0.585573 | 373 | 2,232 | 3.300268 | 0.174263 | 0.035743 | 0.121852 | 0.129976 | 0.817222 | 0.770106 | 0.731113 | 0.731113 | 0.731113 | 0.688058 | 0 | 0.168098 | 0.269713 | 2,232 | 67 | 94 | 33.313433 | 0.587117 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.102041 | false | 0 | 0.061224 | 0 | 0.183673 | 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 |
9c30dabb1ea5464285a71f16d90de41560ae9f1e | 4,387 | py | Python | nuitka/nodes/shapes/ControlFlowDescriptions.py | em3ndez/Nuitka | a5a036a94c1842d1cd72f27c0c67461798fdf977 | [
"Apache-2.0"
] | 1 | 2019-09-09T19:27:43.000Z | 2019-09-09T19:27:43.000Z | nuitka/nodes/shapes/ControlFlowDescriptions.py | em3ndez/Nuitka | a5a036a94c1842d1cd72f27c0c67461798fdf977 | [
"Apache-2.0"
] | 1 | 2019-02-21T13:05:17.000Z | 2019-02-21T13:05:17.000Z | nuitka/nodes/shapes/ControlFlowDescriptions.py | em3ndez/Nuitka | a5a036a94c1842d1cd72f27c0c67461798fdf977 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020, Kay Hayen, mailto:kay.hayen@gmail.com
#
# Part of "Nuitka", an optimizing Python compiler that is compatible and
# integrates with CPython, but also works on its own.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in complianc... | 22.156566 | 85 | 0.771598 | 304 | 4,387 | 11.134868 | 0.444079 | 0.070901 | 0.227474 | 0.076514 | 0.225997 | 0.167799 | 0.167799 | 0.167799 | 0.167799 | 0.167799 | 0 | 0.002234 | 0.183725 | 4,387 | 197 | 86 | 22.269036 | 0.943033 | 0.200593 | 0 | 0.771186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135593 | true | 0.135593 | 0 | 0.135593 | 0.474576 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
9c37fb6b460dad1f834063265d0cd98d2a416b11 | 48 | py | Python | scripts/makefile_creator.py | ColColty/Makefile_Completer | a1faf18da603015858d92a7b385cb81aab3696c2 | [
"MIT"
] | 1 | 2019-04-20T10:47:14.000Z | 2019-04-20T10:47:14.000Z | scripts/makefile_creator.py | ColColty/Makefile_Completer | a1faf18da603015858d92a7b385cb81aab3696c2 | [
"MIT"
] | 16 | 2019-04-21T20:32:00.000Z | 2019-06-08T12:54:57.000Z | scripts/makefile_creator.py | ColColty/Makefile_Completer | a1faf18da603015858d92a7b385cb81aab3696c2 | [
"MIT"
] | 1 | 2019-05-28T20:14:22.000Z | 2019-05-28T20:14:22.000Z | # TODO Make the functions to create the Makefile | 48 | 48 | 0.8125 | 8 | 48 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 1 | 48 | 48 | 0.975 | 0.958333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1315bb4ac7d9334876cd619bc56aeb04422897e6 | 130 | py | Python | slacker/service/__init__.py | jan-g/faastm | ad626678c06b70f6ec65a9a59ce3dce7475c51e1 | [
"Apache-2.0"
] | null | null | null | slacker/service/__init__.py | jan-g/faastm | ad626678c06b70f6ec65a9a59ce3dce7475c51e1 | [
"Apache-2.0"
] | null | null | null | slacker/service/__init__.py | jan-g/faastm | ad626678c06b70f6ec65a9a59ce3dce7475c51e1 | [
"Apache-2.0"
] | null | null | null | from .base import Agent, Channel, Notice
from .slack import Service as SlackService
from .txn import Service as CommittingService
| 32.5 | 45 | 0.823077 | 18 | 130 | 5.944444 | 0.666667 | 0.242991 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 130 | 3 | 46 | 43.333333 | 0.955357 | 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 |
1321761c42388021246b2688148b4770cf74c3ab | 78 | py | Python | webalyzer/analyzer/tests.py | mdn/webalyzer | 0b897d5df4a2c8d6881b5acefba707369b2f2b8c | [
"BSD-3-Clause"
] | 10 | 2015-04-28T17:27:19.000Z | 2019-08-16T08:30:30.000Z | webalyzer/analyzer/tests.py | mdn/webalyzer | 0b897d5df4a2c8d6881b5acefba707369b2f2b8c | [
"BSD-3-Clause"
] | 27 | 2015-04-03T15:59:34.000Z | 2017-07-25T16:43:58.000Z | webalyzer/analyzer/tests.py | mdn/webalyzer | 0b897d5df4a2c8d6881b5acefba707369b2f2b8c | [
"BSD-3-Clause"
] | 8 | 2015-04-06T17:37:15.000Z | 2022-02-19T01:33:42.000Z | from django.test import TestCase
class AnalyzerTestCase(TestCase):
pass
| 13 | 33 | 0.782051 | 9 | 78 | 6.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 78 | 5 | 34 | 15.6 | 0.938462 | 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 |
133c3d262dafadaf5e56947567c42d8b29a1a3c2 | 43 | py | Python | parTopsis/__init__.py | parthsujalshah/pyTopsis | 14f3031883cc6de1495853d29fc3b5babfefcc72 | [
"MIT"
] | null | null | null | parTopsis/__init__.py | parthsujalshah/pyTopsis | 14f3031883cc6de1495853d29fc3b5babfefcc72 | [
"MIT"
] | null | null | null | parTopsis/__init__.py | parthsujalshah/pyTopsis | 14f3031883cc6de1495853d29fc3b5babfefcc72 | [
"MIT"
] | null | null | null | from parTopsis.parTopsis import topsis_main | 43 | 43 | 0.906977 | 6 | 43 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.