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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8a46c9196deb1cdacc33456bf12b87c9892777f9 | 26 | py | Python | flask_tus/__init__.py | eokeeffe/flask-tus | c2d29d7ac4435fa113fe1f88957df44146066bf9 | [
"MIT"
] | 3 | 2020-02-02T10:14:23.000Z | 2021-01-05T11:38:23.000Z | flask_tus/__init__.py | eokeeffe/flask-tus | c2d29d7ac4435fa113fe1f88957df44146066bf9 | [
"MIT"
] | 1 | 2021-03-03T18:15:00.000Z | 2021-03-04T18:12:27.000Z | flask_tus/__init__.py | eokeeffe/flask-tus | c2d29d7ac4435fa113fe1f88957df44146066bf9 | [
"MIT"
] | 2 | 2020-02-29T21:20:48.000Z | 2021-03-05T10:41:35.000Z | from .app import FlaskTus
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a47d6c29e6444ace214cdf49fe5a53dea932212 | 16,461 | py | Python | tests/test_gh_issue.py | sabderemane/bedevere | 1f7ab8324e3f75071af10fd086bccfe44067d869 | [
"Apache-2.0"
] | null | null | null | tests/test_gh_issue.py | sabderemane/bedevere | 1f7ab8324e3f75071af10fd086bccfe44067d869 | [
"Apache-2.0"
] | null | null | null | tests/test_gh_issue.py | sabderemane/bedevere | 1f7ab8324e3f75071af10fd086bccfe44067d869 | [
"Apache-2.0"
] | null | null | null | from unittest import mock
import http
import aiohttp
import pytest
import gidgethub
from gidgethub import sansio
from bedevere import gh_issue
class FakeGH:
def __init__(self, *, getitem=None, post=None):
self._getitem_return = getitem
self._post_return = post
self.post_url = []
... | 36.418142 | 124 | 0.643339 | 2,020 | 16,461 | 5.040099 | 0.081188 | 0.03094 | 0.057853 | 0.051076 | 0.892545 | 0.892545 | 0.876338 | 0.86573 | 0.851881 | 0.839014 | 0 | 0.025143 | 0.21475 | 16,461 | 451 | 125 | 36.498891 | 0.762494 | 0.001701 | 0 | 0.681013 | 0 | 0 | 0.247989 | 0.02911 | 0 | 0 | 0 | 0 | 0.164557 | 1 | 0.002532 | false | 0 | 0.017722 | 0 | 0.027848 | 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 |
8ab310fc1dd3b9e5cbfcc64409c415699893a5c9 | 185 | py | Python | mythril/laser/ethereum/transaction/__init__.py | kalloc/mythril | eeee4d7c459189d278ac82a38c5fb778ddd58cdc | [
"MIT"
] | 1,887 | 2018-01-07T10:16:08.000Z | 2022-03-31T16:07:26.000Z | mythril/laser/ethereum/transaction/__init__.py | strawberrylady99/mythril | 727d5f3049333f71ccd90a95ca8fe13368aa9c15 | [
"MIT"
] | 746 | 2018-01-09T07:14:01.000Z | 2022-03-31T08:12:44.000Z | mythril/laser/ethereum/transaction/__init__.py | strawberrylady99/mythril | 727d5f3049333f71ccd90a95ca8fe13368aa9c15 | [
"MIT"
] | 431 | 2018-01-08T07:47:59.000Z | 2022-03-31T13:00:51.000Z | from mythril.laser.ethereum.transaction.transaction_models import *
from mythril.laser.ethereum.transaction.symbolic import (
execute_message_call,
execute_contract_creation,
)
| 30.833333 | 67 | 0.827027 | 21 | 185 | 7.047619 | 0.619048 | 0.148649 | 0.216216 | 0.324324 | 0.472973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102703 | 185 | 5 | 68 | 37 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0a0b89b4a10dbf8a242e4587316888e42073b3e2 | 102 | py | Python | py_fitness/py_fitness/workout/tests/test_views.py | audiolion/py-fitness | 9e0ca785c73a07cb788685bbde6e840a7a2e3419 | [
"MIT"
] | 1 | 2017-04-17T19:59:15.000Z | 2017-04-17T19:59:15.000Z | py_fitness/py_fitness/workout/tests/test_views.py | audiolion/py-fitness | 9e0ca785c73a07cb788685bbde6e840a7a2e3419 | [
"MIT"
] | 1 | 2016-12-09T01:58:46.000Z | 2016-12-09T01:58:46.000Z | py_fitness/py_fitness/workout/tests/test_views.py | audiolion/py-fitness | 9e0ca785c73a07cb788685bbde6e840a7a2e3419 | [
"MIT"
] | null | null | null | from django.test import RequestFactory
from test_plus.test import TestCase
# from ..views import ()
| 17 | 38 | 0.784314 | 14 | 102 | 5.642857 | 0.571429 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 39 | 20.4 | 0.908046 | 0.215686 | 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 |
0a5ba74c1189b296edb2e29b4065d42f4c4a5566 | 33,974 | py | Python | tests/unit/test_backup.py | chrisrossi/python-bigtable | be1703812754dd8b5fbce306c143554b6341a04d | [
"Apache-2.0"
] | null | null | null | tests/unit/test_backup.py | chrisrossi/python-bigtable | be1703812754dd8b5fbce306c143554b6341a04d | [
"Apache-2.0"
] | null | null | null | tests/unit/test_backup.py | chrisrossi/python-bigtable | be1703812754dd8b5fbce306c143554b6341a04d | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Google LLC All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 37.875139 | 88 | 0.676046 | 3,975 | 33,974 | 5.429937 | 0.059623 | 0.031134 | 0.028354 | 0.030578 | 0.84507 | 0.815187 | 0.793365 | 0.782987 | 0.763158 | 0.760563 | 0 | 0.003593 | 0.238094 | 33,974 | 896 | 89 | 37.917411 | 0.830249 | 0.016719 | 0 | 0.634943 | 0 | 0 | 0.024377 | 0.005151 | 0 | 0 | 0 | 0 | 0.153409 | 1 | 0.076705 | false | 0 | 0.103693 | 0.002841 | 0.204545 | 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 |
6a655658807210a3a95c7635e6a374e2c65ee5a3 | 25 | py | Python | client/agents/ppo/__init__.py | tbienhoff/carla-rl | 51960c8ce3b7e90cdd6c3ab5e18721d1969e1b50 | [
"MIT"
] | 80 | 2019-01-30T13:14:11.000Z | 2022-02-14T08:51:01.000Z | client/agents/ppo/__init__.py | tbienhoff/carla-rl | 51960c8ce3b7e90cdd6c3ab5e18721d1969e1b50 | [
"MIT"
] | 8 | 2019-02-03T18:21:36.000Z | 2020-10-23T00:51:30.000Z | client/agents/ppo/__init__.py | tbienhoff/carla-rl | 51960c8ce3b7e90cdd6c3ab5e18721d1969e1b50 | [
"MIT"
] | 27 | 2019-03-15T08:22:19.000Z | 2022-03-20T05:37:48.000Z | from .ppo_carla import *
| 12.5 | 24 | 0.76 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a69da6ce2eab576c6377a944a2dfdcdfde3ffeb | 497 | py | Python | machina/pols/__init__.py | AswinRetnakumar/Machina | 6519935ca4553192ac99fc1c7c1e7cab9dd72693 | [
"MIT"
] | 302 | 2019-03-13T10:21:29.000Z | 2022-03-25T10:01:46.000Z | machina/pols/__init__.py | AswinRetnakumar/Machina | 6519935ca4553192ac99fc1c7c1e7cab9dd72693 | [
"MIT"
] | 50 | 2019-03-13T09:45:00.000Z | 2021-12-23T18:32:00.000Z | machina/pols/__init__.py | AswinRetnakumar/Machina | 6519935ca4553192ac99fc1c7c1e7cab9dd72693 | [
"MIT"
] | 55 | 2019-03-17T01:59:57.000Z | 2022-03-28T01:13:40.000Z | from machina.pols.base import BasePol
from machina.pols.gaussian_pol import GaussianPol
from machina.pols.mixture_gaussian_pol import MixtureGaussianPol
from machina.pols.deterministic_action_noise_pol import DeterministicActionNoisePol
from machina.pols.categorical_pol import CategoricalPol
from machina.pols.multi_cat... | 49.7 | 83 | 0.891348 | 67 | 497 | 6.41791 | 0.38806 | 0.230233 | 0.313953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072435 | 497 | 9 | 84 | 55.222222 | 0.932755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a6d5aa1a5d290ebaef6c692addcfe88ed943b40 | 51,644 | py | Python | cinder/tests/api/v1/test_volumes.py | cloudbau/cinder | 3179f2f42ae940a08b910e326a809556689864d8 | [
"Apache-2.0"
] | null | null | null | cinder/tests/api/v1/test_volumes.py | cloudbau/cinder | 3179f2f42ae940a08b910e326a809556689864d8 | [
"Apache-2.0"
] | null | null | null | cinder/tests/api/v1/test_volumes.py | cloudbau/cinder | 3179f2f42ae940a08b910e326a809556689864d8 | [
"Apache-2.0"
] | null | null | null | # Copyright 2013 Josh Durgin
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by a... | 44.559103 | 79 | 0.490125 | 4,754 | 51,644 | 5.107278 | 0.071729 | 0.03126 | 0.006425 | 0.042504 | 0.803418 | 0.780313 | 0.759596 | 0.728007 | 0.709638 | 0.703089 | 0 | 0.023788 | 0.38868 | 51,644 | 1,158 | 80 | 44.597582 | 0.745273 | 0.018957 | 0 | 0.690099 | 0 | 0 | 0.211266 | 0.033697 | 0 | 0 | 0 | 0 | 0.083168 | 1 | 0.061386 | false | 0 | 0.014851 | 0.005941 | 0.087129 | 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 |
6ab82fce400eca42b39d743eb38edfb3d27ee262 | 33 | py | Python | prior/__init__.py | tals/RAVE | 1bd0c081ccb2404c0739fe18fa7579498e272699 | [
"MIT"
] | 2 | 2022-01-29T20:09:19.000Z | 2022-01-31T22:50:42.000Z | prior/__init__.py | tals/RAVE | 1bd0c081ccb2404c0739fe18fa7579498e272699 | [
"MIT"
] | null | null | null | prior/__init__.py | tals/RAVE | 1bd0c081ccb2404c0739fe18fa7579498e272699 | [
"MIT"
] | null | null | null | from .model import Model as Prior | 33 | 33 | 0.818182 | 6 | 33 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.964286 | 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 |
6aee7bcd20a3c782cfb156b035147c022e7d1c4d | 198 | py | Python | vedaseg/lr_schedulers/registry.py | E18301194/vedaseg | c62c8ea46dbba12f03262452dd7bed22969cfe4e | [
"Apache-2.0"
] | 2 | 2020-07-15T02:36:46.000Z | 2021-03-08T03:18:26.000Z | vedaseg/lr_schedulers/registry.py | E18301194/vedaseg | c62c8ea46dbba12f03262452dd7bed22969cfe4e | [
"Apache-2.0"
] | null | null | null | vedaseg/lr_schedulers/registry.py | E18301194/vedaseg | c62c8ea46dbba12f03262452dd7bed22969cfe4e | [
"Apache-2.0"
] | 1 | 2021-09-16T09:40:12.000Z | 2021-09-16T09:40:12.000Z | from torch.optim import lr_scheduler
from vedaseg.utils import Registry
LR_SCHEDULERS = Registry('lr_scheduler')
MultiStepLR = lr_scheduler.MultiStepLR
LR_SCHEDULERS.register_module(MultiStepLR)
| 22 | 42 | 0.848485 | 25 | 198 | 6.48 | 0.52 | 0.203704 | 0.271605 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 198 | 8 | 43 | 24.75 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0a8b563f97ec536c6bb57ad76fdb9d47256e28bc | 19,769 | py | Python | models/data_loading_script/summary_generation_data.py | ShuyangCao/hibrids_summ | 6f882c4c4d43d1029314f72535494072fcdfca12 | [
"MIT"
] | 2 | 2022-03-22T11:35:25.000Z | 2022-03-30T09:18:41.000Z | models/data_loading_script/summary_generation_data.py | ShuyangCao/hibrids_summ | 6f882c4c4d43d1029314f72535494072fcdfca12 | [
"MIT"
] | 1 | 2022-03-30T12:42:31.000Z | 2022-03-30T16:19:38.000Z | models/data_loading_script/summary_generation_data.py | ShuyangCao/hibrids_summ | 6f882c4c4d43d1029314f72535494072fcdfca12 | [
"MIT"
] | null | null | null | import datasets
import os
import json
def _get_question(current_question, depth=0):
question_text = current_question["question"]
summary = current_question["answer"]
question_summary_pairs = [{'question': question_text, 'summary': summary, 'depth': depth}]
for child_question in current_question["chi... | 44.424719 | 185 | 0.557995 | 1,835 | 19,769 | 5.655586 | 0.074114 | 0.069378 | 0.046252 | 0.039025 | 0.807381 | 0.750337 | 0.745712 | 0.721526 | 0.700617 | 0.6799 | 0 | 0.004663 | 0.349183 | 19,769 | 444 | 186 | 44.524775 | 0.801959 | 0 | 0 | 0.633952 | 0 | 0 | 0.119986 | 0.010016 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037135 | false | 0 | 0.007958 | 0.002653 | 0.087533 | 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 |
0a909cc58a8a05a950a5a15fb9fba264d96f51c2 | 4,675 | py | Python | hc/api/tests/test_smtpd.py | gdepeyrot/healthchecks | 148894bd9ee028d32ab2032441f6746bc7e794e4 | [
"BSD-3-Clause"
] | 4,813 | 2015-07-27T11:44:52.000Z | 2022-03-31T14:24:07.000Z | hc/api/tests/test_smtpd.py | gdepeyrot/healthchecks | 148894bd9ee028d32ab2032441f6746bc7e794e4 | [
"BSD-3-Clause"
] | 579 | 2015-07-20T11:49:19.000Z | 2022-03-31T18:20:11.000Z | hc/api/tests/test_smtpd.py | gdepeyrot/healthchecks | 148894bd9ee028d32ab2032441f6746bc7e794e4 | [
"BSD-3-Clause"
] | 644 | 2015-09-11T16:14:26.000Z | 2022-03-31T13:20:20.000Z | from hc.api.models import Check, Ping
from hc.test import BaseTestCase
from hc.api.management.commands.smtpd import _process_message
PAYLOAD_TMPL = """
From: "User Name" <username@gmail.com>
To: "John Smith" <john@example.com>
Subject: %s
...
""".strip()
class SmtpdTestCase(BaseTestCase):
def setUp(self):
... | 37.103175 | 94 | 0.648984 | 611 | 4,675 | 4.837971 | 0.13748 | 0.142084 | 0.179973 | 0.103518 | 0.838972 | 0.824425 | 0.77977 | 0.762855 | 0.762855 | 0.762855 | 0 | 0.014555 | 0.206417 | 4,675 | 125 | 95 | 37.4 | 0.78221 | 0 | 0 | 0.670213 | 0 | 0 | 0.218396 | 0.010909 | 0 | 0 | 0 | 0 | 0.297872 | 1 | 0.106383 | false | 0 | 0.031915 | 0 | 0.148936 | 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 |
0aa411655d5294a08745e6b218bc9bd7701f93ca | 112 | py | Python | nightson/handlers/base.py | vswamy/nightson | 01b5efbf1acbca79aaece1b70e15f2877a1ea8c4 | [
"Apache-2.0"
] | null | null | null | nightson/handlers/base.py | vswamy/nightson | 01b5efbf1acbca79aaece1b70e15f2877a1ea8c4 | [
"Apache-2.0"
] | null | null | null | nightson/handlers/base.py | vswamy/nightson | 01b5efbf1acbca79aaece1b70e15f2877a1ea8c4 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
import tornado
class BaseHandler(tornado.web.RequestHandler):
pass | 16 | 46 | 0.821429 | 13 | 112 | 6.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 112 | 7 | 47 | 16 | 0.896907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0ad0a28bd83d7955ca983f9f634da66133aa2eb6 | 129 | py | Python | app/app/test_add.py | trevord7371/recipe-app-api-pytest | 25787c391d1bfb5ae85baff4b30c0772a2a5c111 | [
"MIT"
] | 1 | 2020-12-13T04:03:05.000Z | 2020-12-13T04:03:05.000Z | app/app/test_add.py | trevord7371/recipe-app-api-pytest | 25787c391d1bfb5ae85baff4b30c0772a2a5c111 | [
"MIT"
] | null | null | null | app/app/test_add.py | trevord7371/recipe-app-api-pytest | 25787c391d1bfb5ae85baff4b30c0772a2a5c111 | [
"MIT"
] | null | null | null | from app.calc import add
def test_add_numbers():
"""Test that two numbers are added together"""
assert add(3, 8) == 11
| 18.428571 | 50 | 0.666667 | 21 | 129 | 4 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.217054 | 129 | 6 | 51 | 21.5 | 0.792079 | 0.310078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0af60efebf939e4f136bbddfc1e01ee1eb501fe0 | 11,329 | py | Python | model-optimizer/extensions/middle/ReluQuantizeFuse_test.py | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 1 | 2020-06-21T09:51:42.000Z | 2020-06-21T09:51:42.000Z | model-optimizer/extensions/middle/ReluQuantizeFuse_test.py | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 4 | 2021-04-01T08:29:48.000Z | 2021-08-30T16:12:52.000Z | model-optimizer/extensions/middle/ReluQuantizeFuse_test.py | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 3 | 2021-03-09T08:27:29.000Z | 2021-04-07T04:58:54.000Z | """
Copyright (C) 2018-2020 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... | 35.292835 | 116 | 0.575691 | 1,476 | 11,329 | 4.120596 | 0.100949 | 0.079908 | 0.059684 | 0.039461 | 0.821769 | 0.800888 | 0.778034 | 0.756988 | 0.737915 | 0.706347 | 0 | 0.03187 | 0.221732 | 11,329 | 321 | 117 | 35.292835 | 0.657934 | 0.085974 | 0 | 0.690265 | 0 | 0 | 0.282295 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 1 | 0.026549 | false | 0 | 0.022124 | 0 | 0.053097 | 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 |
7c1e19c2aee7f9e9a159ddf6dd5eeb8f6b63e726 | 300 | py | Python | backend/models/transaction.py | akita8/scrapper | 4027cae737bf9eaccb5421518b0c577ef3ecac5f | [
"MIT"
] | null | null | null | backend/models/transaction.py | akita8/scrapper | 4027cae737bf9eaccb5421518b0c577ef3ecac5f | [
"MIT"
] | null | null | null | backend/models/transaction.py | akita8/scrapper | 4027cae737bf9eaccb5421518b0c577ef3ecac5f | [
"MIT"
] | null | null | null | """Documentation."""
from .base import BaseModel
class StockTransaction(BaseModel):
"""Documentation."""
def key(self):
"""Documentation."""
return
class BondTransaction(BaseModel):
"""Documentation."""
def key(self):
"""Documentation."""
return
| 15.789474 | 34 | 0.596667 | 23 | 300 | 7.782609 | 0.521739 | 0.24581 | 0.27933 | 0.312849 | 0.569832 | 0.569832 | 0.569832 | 0 | 0 | 0 | 0 | 0 | 0.243333 | 300 | 18 | 35 | 16.666667 | 0.788546 | 0.246667 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7c494f0170c8a26d3a10c8f0ff285af326673f1f | 12,275 | py | Python | sdk/translation/azure-ai-translation-document/tests/test_translation.py | benbp/azure-sdk-for-python | 2329ba03e48098dcdc581898f6434d7c2b13a7b9 | [
"MIT"
] | null | null | null | sdk/translation/azure-ai-translation-document/tests/test_translation.py | benbp/azure-sdk-for-python | 2329ba03e48098dcdc581898f6434d7c2b13a7b9 | [
"MIT"
] | null | null | null | sdk/translation/azure-ai-translation-document/tests/test_translation.py | benbp/azure-sdk-for-python | 2329ba03e48098dcdc581898f6434d7c2b13a7b9 | [
"MIT"
] | null | null | null | # coding=utf-8
# ------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
import functools
import pytest
import uuid
from azure.core.exceptions import HttpResponseError
from azure.storage.blob import ContainerClient
from testca... | 37.885802 | 116 | 0.613605 | 1,097 | 12,275 | 6.517776 | 0.110301 | 0.075524 | 0.094406 | 0.067552 | 0.860839 | 0.850909 | 0.848671 | 0.836504 | 0.809091 | 0.793566 | 0 | 0.001668 | 0.31609 | 12,275 | 323 | 117 | 38.003096 | 0.85003 | 0.074542 | 0 | 0.626984 | 0 | 0 | 0.035226 | 0.010506 | 0 | 0 | 0 | 0 | 0.027778 | 1 | 0.043651 | false | 0 | 0.031746 | 0 | 0.079365 | 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 |
7cafb220a1dc71039f5171123993b412d0ba6d85 | 43 | py | Python | domestic_violence_news_classifer_spanish/__init__.py | domestic-violence-ai-studies/domestic-violence-news-classifier | 58e262187436b7c35fe6ec233f40f929879a7bf3 | [
"MIT"
] | null | null | null | domestic_violence_news_classifer_spanish/__init__.py | domestic-violence-ai-studies/domestic-violence-news-classifier | 58e262187436b7c35fe6ec233f40f929879a7bf3 | [
"MIT"
] | null | null | null | domestic_violence_news_classifer_spanish/__init__.py | domestic-violence-ai-studies/domestic-violence-news-classifier | 58e262187436b7c35fe6ec233f40f929879a7bf3 | [
"MIT"
] | null | null | null | from . import domestic_violence_classifier
| 21.5 | 42 | 0.883721 | 5 | 43 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7cdbe2fe1dfb51aa0d2d91dc1284c2b02612b44f | 34 | py | Python | keras_easy/models/rcnn.py | afranck64/keras-easy | a27c0fefe8f9796dc22eca7aa3123548ac5a4646 | [
"MIT"
] | 1 | 2021-01-21T21:45:20.000Z | 2021-01-21T21:45:20.000Z | keras_easy/models/rcnn.py | afranck64/keras-easy | a27c0fefe8f9796dc22eca7aa3123548ac5a4646 | [
"MIT"
] | null | null | null | keras_easy/models/rcnn.py | afranck64/keras-easy | a27c0fefe8f9796dc22eca7aa3123548ac5a4646 | [
"MIT"
] | null | null | null | from keras_rcnn.models import RCNN | 34 | 34 | 0.882353 | 6 | 34 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7cef023b8e8da20968c36ad801cb0fd0de67931d | 212 | py | Python | ui-tests/jupyter_server_config.py | xtianpoli/ipyvega | e29559709f279d3b27511a3c57da1ccf56d09472 | [
"BSD-3-Clause"
] | 2 | 2021-07-10T12:42:53.000Z | 2021-11-18T09:42:42.000Z | ui-tests/jupyter_server_config.py | xtianpoli/ipyvega | e29559709f279d3b27511a3c57da1ccf56d09472 | [
"BSD-3-Clause"
] | 15 | 2021-03-05T14:30:06.000Z | 2021-06-14T12:52:10.000Z | ui-tests/jupyter_server_config.py | xtianpoli/ipyvega | e29559709f279d3b27511a3c57da1ccf56d09472 | [
"BSD-3-Clause"
] | 2 | 2021-08-30T12:03:19.000Z | 2022-03-29T10:10:33.000Z | c.ServerApp.port = 8888
c.ServerApp.token = ""
c.ServerApp.password = ""
c.ServerApp.disable_check_xsrf = True
c.ServerApp.open_browser = False
c.LabApp.open_browser = False
c.LabApp.expose_app_in_browser = True
| 26.5 | 37 | 0.783019 | 33 | 212 | 4.818182 | 0.515152 | 0.314465 | 0.201258 | 0.213836 | 0.289308 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020942 | 0.099057 | 212 | 7 | 38 | 30.285714 | 0.811518 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6b10747622574ad298d008a27697059233fb9bf1 | 2,250 | py | Python | evaluation_framework/__init__.py | janothan/Evaluation-Framework | e53847bc352f657953933e1d7c97b68ac890c852 | [
"Apache-2.0"
] | 5 | 2020-02-12T13:11:14.000Z | 2021-01-28T12:45:22.000Z | evaluation_framework/__init__.py | charyeezy/Evaluation-Framework | ddfd4ea654a3d7d2abd58f062ec98a8a736f8f51 | [
"Apache-2.0"
] | 9 | 2019-07-29T17:45:30.000Z | 2022-03-17T12:24:47.000Z | evaluation_framework/__init__.py | charyeezy/Evaluation-Framework | ddfd4ea654a3d7d2abd58f062ec98a8a736f8f51 | [
"Apache-2.0"
] | 7 | 2020-02-12T13:22:49.000Z | 2021-11-29T01:08:50.000Z | from evaluation_framework.manager import FrameworkManager
from evaluation_framework.txt_dataManager import DataManager as txt_dataManager
from evaluation_framework.hdf5_dataManager import DataManager as hdf5_dataManager
from evaluation_framework.evaluationManager import EvaluationManager
import evaluation_framework.Cl... | 51.136364 | 108 | 0.926667 | 200 | 2,250 | 10.145 | 0.155 | 0.262198 | 0.18137 | 0.088714 | 0.750123 | 0.660424 | 0 | 0 | 0 | 0 | 0 | 0.000933 | 0.047556 | 2,250 | 43 | 109 | 52.325581 | 0.94587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b3673b0a4e3cfe622fe7be95c00ba164191074d | 29 | py | Python | plugins/pelican-plugins/read_more_link/__init__.py | dbgriffith01/blog_source | bc5cd3e1ac1ff068de0cbb78b1470a7db743cd53 | [
"MIT"
] | 2 | 2021-01-12T14:55:55.000Z | 2021-03-24T11:52:44.000Z | plugins/pelican-plugins/read_more_link/__init__.py | dbgriffith01/blog_source | bc5cd3e1ac1ff068de0cbb78b1470a7db743cd53 | [
"MIT"
] | 1 | 2021-12-13T20:50:25.000Z | 2021-12-13T20:50:25.000Z | pelican-plugins/read_more_link/__init__.py | JN-Blog/jn-blog.com | 669bf9a9c6813f2b7980792fb137f6718077aea1 | [
"MIT"
] | 3 | 2021-03-24T11:58:31.000Z | 2022-01-12T16:03:06.000Z | from .read_more_link import * | 29 | 29 | 0.827586 | 5 | 29 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.846154 | 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 |
6b4b385dbec95a13c3711a17277ad7efcaa991a6 | 183 | py | Python | mountainview/vote_events.py | jayktee/scrapers-us-municipal | ff52a331e91cb590a3eda7db6c688d75b77acacb | [
"MIT"
] | null | null | null | mountainview/vote_events.py | jayktee/scrapers-us-municipal | ff52a331e91cb590a3eda7db6c688d75b77acacb | [
"MIT"
] | null | null | null | mountainview/vote_events.py | jayktee/scrapers-us-municipal | ff52a331e91cb590a3eda7db6c688d75b77acacb | [
"MIT"
] | null | null | null | from pupa.scrape import Scraper
from pupa.scrape import VoteEvent
class MountainviewVoteEventScraper(Scraper):
def scrape(self):
# needs to be implemented
pass
| 18.3 | 44 | 0.726776 | 21 | 183 | 6.333333 | 0.714286 | 0.120301 | 0.210526 | 0.300752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224044 | 183 | 9 | 45 | 20.333333 | 0.93662 | 0.125683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
86173cc72a0c6113f7dddb99d4307655ea9e19f3 | 319 | py | Python | windowsbuild/MSVC2017/vtk/8.1.0/lib/python3.7/site-packages/vtk/vtkInfovisCore.py | Tech-XCorp/visit-deps | 23e2bd534bf9c332d6b7d32310495f1f65b1b936 | [
"BSD-3-Clause"
] | 1 | 2022-01-09T20:04:31.000Z | 2022-01-09T20:04:31.000Z | windowsbuild/MSVC2017/vtk/8.1.0/lib/python3.7/site-packages/vtk/vtkInfovisCore.py | Tech-XCorp/visit-deps | 23e2bd534bf9c332d6b7d32310495f1f65b1b936 | [
"BSD-3-Clause"
] | 1 | 2022-02-15T12:01:57.000Z | 2022-03-24T19:48:47.000Z | Latest/venv/Lib/site-packages/vtk/vtkInfovisCore.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
try:
# use relative import for installed modules
from .vtkInfovisCorePython import *
except ImportError:
# during build and testing, the modules will be elsewhere,
# e.g. in lib directory or Release/Debug config directories
from vtkInfovisCorePython import *
| 31.9 | 63 | 0.76489 | 39 | 319 | 6.128205 | 0.794872 | 0.200837 | 0.251046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194357 | 319 | 9 | 64 | 35.444444 | 0.929961 | 0.489028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86c0f61cbff8aad2aeb814c7892f403a8c162cd9 | 160 | py | Python | crds/core/git_version.py | oirlab/tmt-crds | 0b7dc9747b24751c304e51ed304fb98da65f9d99 | [
"BSD-3-Clause"
] | null | null | null | crds/core/git_version.py | oirlab/tmt-crds | 0b7dc9747b24751c304e51ed304fb98da65f9d99 | [
"BSD-3-Clause"
] | 1 | 2019-08-11T23:21:13.000Z | 2020-09-01T07:02:30.000Z | crds/core/git_version.py | oirlab/tmt-crds | 0b7dc9747b24751c304e51ed304fb98da65f9d99 | [
"BSD-3-Clause"
] | null | null | null |
__version__ = '06db005d4edcb17352ee543595f89de56c961914'
__full_version_info__ = '''
branch: b7.5.0.2
sha1: 06db005d4edcb17352ee543595f89de56c961914
'''
| 17.777778 | 56 | 0.79375 | 12 | 160 | 9.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.415493 | 0.1125 | 160 | 9 | 57 | 17.777778 | 0.408451 | 0 | 0 | 0 | 0 | 0 | 0.660377 | 0.503145 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86dfc9ed6711e5d9d95af7fbfe17c8e0bb6ab4f6 | 966 | py | Python | api/service/send_confirmation.py | guisteglich/EasyPay | 378f03d16606516e1d1afed2de03cd95fcf7d3a0 | [
"MIT"
] | null | null | null | api/service/send_confirmation.py | guisteglich/EasyPay | 378f03d16606516e1d1afed2de03cd95fcf7d3a0 | [
"MIT"
] | null | null | null | api/service/send_confirmation.py | guisteglich/EasyPay | 378f03d16606516e1d1afed2de03cd95fcf7d3a0 | [
"MIT"
] | null | null | null | # Install Courier SDK: pip install trycourier
from trycourier import Courier
def send_confirmation(name, email):
client = Courier(auth_token="pk_prod_XQZGKEJ9P24C79QZF6H2XM5ATCEC")
resp = client.send_message(
message={
"to": {
"email": email
},
"content": {
"title": "Welcome... | 24.15 | 103 | 0.571429 | 95 | 966 | 5.694737 | 0.4 | 0.025878 | 0.077634 | 0.099815 | 0.83549 | 0.83549 | 0.83549 | 0.83549 | 0.83549 | 0.83549 | 0 | 0.023324 | 0.289855 | 966 | 39 | 104 | 24.769231 | 0.765306 | 0.491718 | 0 | 0 | 0 | 0 | 0.357294 | 0.07611 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.117647 | 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 |
810c85465d218e70d5e90d7360a1b93ed0c22101 | 284 | py | Python | mmpose/datasets/pipelines/__init__.py | kristinbranson/APT-mmpose | 19464d2cea2e963e771a91ed200270c069024ddc | [
"Apache-2.0"
] | null | null | null | mmpose/datasets/pipelines/__init__.py | kristinbranson/APT-mmpose | 19464d2cea2e963e771a91ed200270c069024ddc | [
"Apache-2.0"
] | null | null | null | mmpose/datasets/pipelines/__init__.py | kristinbranson/APT-mmpose | 19464d2cea2e963e771a91ed200270c069024ddc | [
"Apache-2.0"
] | null | null | null | from .bottom_up_transform import * # noqa
from .loading import LoadImageFromFile # noqa
from .mesh_transform import * # noqa
from .pose3d_transform import * # noqa
from .shared_transform import * # noqa
from .top_down_transform import * # noqa
from .apt_transform import * #noqa | 40.571429 | 46 | 0.767606 | 37 | 284 | 5.675676 | 0.378378 | 0.428571 | 0.542857 | 0.547619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004202 | 0.161972 | 284 | 7 | 47 | 40.571429 | 0.878151 | 0.116197 | 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 |
8112a60a67d44b0ab1876625bcdb144f97181a48 | 53,007 | py | Python | tests.py | Frimkron/JSONPyth | 47cedf1c8b2b111a83bc0b0cdcbad79deaeb984a | [
"MIT"
] | 2 | 2020-03-01T18:37:03.000Z | 2021-03-27T17:47:33.000Z | tests.py | Frimkron/JSONPyth | 47cedf1c8b2b111a83bc0b0cdcbad79deaeb984a | [
"MIT"
] | null | null | null | tests.py | Frimkron/JSONPyth | 47cedf1c8b2b111a83bc0b0cdcbad79deaeb984a | [
"MIT"
] | null | null | null | import unittest
import logging
import jsonpyth as jp
logging.getLogger().setLevel(logging.ERROR)
class TestParse(unittest.TestCase):
# empty path
def test_raises_error_for_empty_path(self):
with self.assertRaises(jp.JsonPathSyntaxError):
jp.parse('')
# root symbol
def test_pa... | 44.506297 | 120 | 0.533062 | 6,195 | 53,007 | 4.383858 | 0.05004 | 0.045622 | 0.066721 | 0.063849 | 0.873371 | 0.82959 | 0.786361 | 0.745931 | 0.714044 | 0.681088 | 0 | 0.022983 | 0.271926 | 53,007 | 1,190 | 121 | 44.543697 | 0.680719 | 0.007829 | 0 | 0.413136 | 0 | 0.027542 | 0.093533 | 0.012786 | 0 | 0 | 0 | 0 | 0.308263 | 1 | 0.189619 | false | 0 | 0.003178 | 0 | 0.197034 | 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 |
8128230ffb436ccc8c76e1bc3791c161bbc19da6 | 17,453 | py | Python | drp/tests.py | dennereed/paleocore | d6da6c39cde96050ee4b9e7213ec1200530cbeee | [
"MIT"
] | 1 | 2021-02-05T19:50:13.000Z | 2021-02-05T19:50:13.000Z | drp/tests.py | dennereed/paleocore | d6da6c39cde96050ee4b9e7213ec1200530cbeee | [
"MIT"
] | 59 | 2020-06-17T22:21:51.000Z | 2022-02-10T05:00:01.000Z | drp/tests.py | dennereed/paleocore | d6da6c39cde96050ee4b9e7213ec1200530cbeee | [
"MIT"
] | 2 | 2020-07-01T14:11:09.000Z | 2020-08-10T17:27:26.000Z | from django.test import TestCase
from drp.models import Occurrence, Biology, Locality
from drp.models import Taxon, IdentificationQualifier
from datetime import datetime
from django.contrib.auth.models import User
from django.contrib.gis.geos import Point, Polygon
class LocalityMethodsTests(TestCase):
"""
Tes... | 45.928947 | 118 | 0.598006 | 1,952 | 17,453 | 5.177766 | 0.09375 | 0.014841 | 0.009894 | 0.012368 | 0.829029 | 0.784704 | 0.751163 | 0.711685 | 0.691501 | 0.676066 | 0 | 0.044499 | 0.280238 | 17,453 | 379 | 119 | 46.050132 | 0.76007 | 0.894746 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.090909 | false | 0 | 0.272727 | 0 | 0.409091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
813596623392056beabcdcc0bfb77f949a65efff | 143 | py | Python | hplc_interface/__init__.py | peterpolidoro/hplc_interface_python | 36b3c72732a9f8c76c5f6c5e4c325fc6254fc192 | [
"BSD-3-Clause"
] | 1 | 2021-02-11T02:56:46.000Z | 2021-02-11T02:56:46.000Z | hplc_interface/__init__.py | peterpolidoro/hplc_interface_python | 36b3c72732a9f8c76c5f6c5e4c325fc6254fc192 | [
"BSD-3-Clause"
] | null | null | null | hplc_interface/__init__.py | peterpolidoro/hplc_interface_python | 36b3c72732a9f8c76c5f6c5e4c325fc6254fc192 | [
"BSD-3-Clause"
] | 2 | 2018-10-12T17:16:17.000Z | 2021-02-11T02:56:50.000Z | '''
This Python package (hplc_interface) creates a class named HplcInterface.
'''
from .hplc_interface import HplcInterface, __version__, main
| 28.6 | 73 | 0.797203 | 17 | 143 | 6.352941 | 0.823529 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118881 | 143 | 4 | 74 | 35.75 | 0.857143 | 0.51049 | 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 |
be09cfc1c896a9ec7b05ec7036c25b66b05d16cd | 36 | py | Python | __init__.py | CarboniDavide/rtscan | 3fe447235d0534a7d66e7d6f5e8b9c00d8832b4f | [
"MIT"
] | null | null | null | __init__.py | CarboniDavide/rtscan | 3fe447235d0534a7d66e7d6f5e8b9c00d8832b4f | [
"MIT"
] | null | null | null | __init__.py | CarboniDavide/rtscan | 3fe447235d0534a7d66e7d6f5e8b9c00d8832b4f | [
"MIT"
] | null | null | null | from core import *
from mod import * | 18 | 18 | 0.75 | 6 | 36 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 36 | 2 | 19 | 18 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
077f4c2df2d02be0e9c50cf8739098e9df055d97 | 124,944 | py | Python | vanir/tests/api_admin.py | VanirLab/VOS | e6cb3e4e391e583e98d548292b5f272320d38cc4 | [
"MIT"
] | null | null | null | vanir/tests/api_admin.py | VanirLab/VOS | e6cb3e4e391e583e98d548292b5f272320d38cc4 | [
"MIT"
] | null | null | null | vanir/tests/api_admin.py | VanirLab/VOS | e6cb3e4e391e583e98d548292b5f272320d38cc4 | [
"MIT"
] | null | null | null | import asyncio
import operator
import os
import shutil
import tempfile
import unittest.mock
import libvirt
import copy
import vanir
import vanir.devices
import vanir.firewall
import vanir.api.admin
import vanir.tests
import vanir.storage
# properties defined in API
volume_properties = [
'pool'... | 44.895437 | 87 | 0.60227 | 15,171 | 124,944 | 4.767253 | 0.049173 | 0.026796 | 0.025884 | 0.043139 | 0.885405 | 0.863199 | 0.840454 | 0.827028 | 0.807464 | 0.780239 | 0 | 0.020189 | 0.26896 | 124,944 | 2,783 | 88 | 44.895437 | 0.771631 | 0.018368 | 0 | 0.697912 | 0 | 0 | 0.185106 | 0.069739 | 0 | 0 | 0.000534 | 0.000359 | 0.228817 | 1 | 0.085551 | false | 0.00614 | 0.011052 | 0.003684 | 0.10438 | 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 |
078570f2a1a164689e29699d00e67324e669bb2a | 24,503 | py | Python | populations/pop_C1_80plies.py | noemiefedon/LAYLA | b4aec89131c5bca98d7a0f961090c9152800eccc | [
"MIT"
] | null | null | null | populations/pop_C1_80plies.py | noemiefedon/LAYLA | b4aec89131c5bca98d7a0f961090c9152800eccc | [
"MIT"
] | null | null | null | populations/pop_C1_80plies.py | noemiefedon/LAYLA | b4aec89131c5bca98d7a0f961090c9152800eccc | [
"MIT"
] | 1 | 2021-12-02T21:10:06.000Z | 2021-12-02T21:10:06.000Z | # -*- coding: utf-8 -*-
"""
Function to create a population of 200 symmetric and balanced laminates of
160 plies satisfying the design and manufacturing guidelines C1
"""
__version__ = '1.0'
__author__ = 'Noemie Fedon'
import sys
import pandas as pd
import numpy as np
sys.path.append(r'C:\LAYLA')
from src.LAYLA_V02.co... | 41.530508 | 132 | 0.481574 | 4,367 | 24,503 | 2.663613 | 0.0703 | 0.059663 | 0.045134 | 0.039976 | 0.723951 | 0.714666 | 0.712001 | 0.700911 | 0.663858 | 0.633253 | 0 | 0.232008 | 0.292862 | 24,503 | 589 | 133 | 41.601019 | 0.439314 | 0.086071 | 0 | 0.494553 | 0 | 0 | 0.049798 | 0.00103 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026144 | 0 | 0.026144 | 0.013072 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0789164e5def84a40166b25c24cd3611ac89687b | 4,158 | py | Python | architect/examples/satellite_stl/data_cleaning_mission_2.py | MIT-REALM/architect | 1b5bbf6ddf08146cd3b8ad5c058539ac140e9ebb | [
"BSD-2-Clause"
] | 2 | 2022-03-30T03:07:26.000Z | 2022-03-30T17:35:21.000Z | architect/examples/satellite_stl/data_cleaning_mission_2.py | MIT-REALM/architect | 1b5bbf6ddf08146cd3b8ad5c058539ac140e9ebb | [
"BSD-2-Clause"
] | null | null | null | architect/examples/satellite_stl/data_cleaning_mission_2.py | MIT-REALM/architect | 1b5bbf6ddf08146cd3b8ad5c058539ac140e9ebb | [
"BSD-2-Clause"
] | null | null | null | import pandas as pd
def clean_counterexample_guided():
# Create a dataframe to aggregate the results
results_df = pd.DataFrame()
for seed in range(50):
save_dir = "logs/satellite_stl/all_constraints/comparison"
filename = f"{save_dir}/counterexample_guided_{seed}.csv"
df = pd.read_... | 35.237288 | 88 | 0.675565 | 558 | 4,158 | 4.77957 | 0.132616 | 0.067492 | 0.041245 | 0.074991 | 0.863892 | 0.863892 | 0.853018 | 0.84327 | 0.820397 | 0.820397 | 0 | 0.01391 | 0.221982 | 4,158 | 117 | 89 | 35.538462 | 0.81051 | 0.15368 | 0 | 0.618421 | 0 | 0 | 0.288324 | 0.233514 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065789 | false | 0 | 0.013158 | 0 | 0.078947 | 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 |
078bd048918f3f855c7ee7b1f4d73cf76e395a4a | 312 | py | Python | release/scripts/presets/render/iphone.py | sambler/myblender | 241cc5e8469efc67320f0be942115dacca281096 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 3 | 2016-10-01T22:48:11.000Z | 2018-08-14T17:29:04.000Z | release/scripts/presets/render/iphone.py | sambler/myblender | 241cc5e8469efc67320f0be942115dacca281096 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | release/scripts/presets/render/iphone.py | sambler/myblender | 241cc5e8469efc67320f0be942115dacca281096 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | import bpy
bpy.context.scene.render.resolution_x = 320
bpy.context.scene.render.resolution_y = 480
bpy.context.scene.render.resolution_percentage = 100
bpy.context.scene.render.pixel_aspect_x = 1
bpy.context.scene.render.pixel_aspect_y = 1
bpy.context.scene.render.fps = 24
bpy.context.scene.render.fps_base = 1
| 34.666667 | 52 | 0.814103 | 52 | 312 | 4.730769 | 0.346154 | 0.284553 | 0.426829 | 0.597561 | 0.841463 | 0.260163 | 0 | 0 | 0 | 0 | 0 | 0.048443 | 0.073718 | 312 | 8 | 53 | 39 | 0.802768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07cded30e747b021168c34710de3d63a988a61c5 | 166 | py | Python | examples/multiple_files/api.py | izi-global/izir | d1a4bfb5c082c3de1956402ef0280564014a3bd8 | [
"MIT"
] | null | null | null | examples/multiple_files/api.py | izi-global/izir | d1a4bfb5c082c3de1956402ef0280564014a3bd8 | [
"MIT"
] | 5 | 2021-03-18T21:01:05.000Z | 2022-03-11T23:29:48.000Z | examples/multiple_files/api.py | izi-global/izir | d1a4bfb5c082c3de1956402ef0280564014a3bd8 | [
"MIT"
] | null | null | null | import izi
import part_1
import part_2
@izi.get('/')
def say_hi():
return "Hi from root"
@izi.extend_api()
def with_other_apis():
return [part_1, part_2]
| 11.857143 | 27 | 0.680723 | 29 | 166 | 3.62069 | 0.586207 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02963 | 0.186747 | 166 | 13 | 28 | 12.769231 | 0.748148 | 0 | 0 | 0 | 0 | 0 | 0.078313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0.222222 | 0.777778 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
07d61b4f75064e8f630c7d8540199f6d3d4c0d02 | 44 | py | Python | modules/2.79/bpy/types/ShaderNodeBrightContrast.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/ShaderNodeBrightContrast.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/ShaderNodeBrightContrast.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | class ShaderNodeBrightContrast:
pass
| 7.333333 | 31 | 0.75 | 3 | 44 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 44 | 5 | 32 | 8.8 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
07dee51166e58f9703801e096d35588febd65d33 | 525 | py | Python | djangoBlog/libs/exception_func.py | blackmonkey121/blog | 938f104d3360c5f7562a2fd5a7d2f2e77c4695c0 | [
"BSD-3-Clause"
] | 4 | 2019-07-20T02:04:11.000Z | 2020-05-02T06:15:22.000Z | djangoBlog/libs/exception_func.py | blackmonkey121/blog | 938f104d3360c5f7562a2fd5a7d2f2e77c4695c0 | [
"BSD-3-Clause"
] | 8 | 2020-05-03T09:01:14.000Z | 2022-01-13T02:13:14.000Z | djangoBlog/libs/exception_func.py | blackmonkey121/blog | 938f104d3360c5f7562a2fd5a7d2f2e77c4695c0 | [
"BSD-3-Clause"
] | null | null | null | from django.shortcuts import render
def bad_request(request, exception, template_name='exception/400.html'):
return render(request, template_name)
def permission_denied(request, exception, template_name='exception/403.html'):
return render(request, template_name)
def page_not_found(request, exception, tem... | 27.631579 | 78 | 0.786667 | 68 | 525 | 5.882353 | 0.382353 | 0.24 | 0.2375 | 0.23 | 0.6425 | 0.365 | 0.19 | 0 | 0 | 0 | 0 | 0.025751 | 0.112381 | 525 | 18 | 79 | 29.166667 | 0.832618 | 0.03619 | 0 | 0.444444 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
07f27a486440125fa3cd73a719efe359fbab7623 | 142 | py | Python | nff/nn/__init__.py | torchmd/mdgrad | 77bd7685b74b41acf54a9483546e1e8cb545eb01 | [
"MIT"
] | 54 | 2021-03-10T18:35:49.000Z | 2022-03-28T13:54:47.000Z | nff/nn/__init__.py | wwang2/torchmd | 77bd7685b74b41acf54a9483546e1e8cb545eb01 | [
"MIT"
] | 1 | 2021-03-17T07:01:02.000Z | 2021-03-17T07:01:02.000Z | nff/nn/__init__.py | torchmd/mdgrad | 77bd7685b74b41acf54a9483546e1e8cb545eb01 | [
"MIT"
] | 5 | 2021-06-08T02:44:35.000Z | 2021-12-17T11:50:08.000Z | from .activations import *
from .layers import *
from .modules import *
from .utils import *
from .models import *
from .tensorgrad import *
| 17.75 | 26 | 0.739437 | 18 | 142 | 5.833333 | 0.444444 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176056 | 142 | 7 | 27 | 20.285714 | 0.897436 | 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 |
ed185ca7231454e53b72701eb1753b5dff82969d | 6,301 | py | Python | armada/tests/unit/api/test_tiller_controller.py | mohan19/airship-armada | 3b66c0548585d2ab75e0b3ae0cd32aa1fca51171 | [
"Apache-2.0"
] | null | null | null | armada/tests/unit/api/test_tiller_controller.py | mohan19/airship-armada | 3b66c0548585d2ab75e0b3ae0cd32aa1fca51171 | [
"Apache-2.0"
] | null | null | null | armada/tests/unit/api/test_tiller_controller.py | mohan19/airship-armada | 3b66c0548585d2ab75e0b3ae0cd32aa1fca51171 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 AT&T Intellectual Property. All other rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | 36.005714 | 77 | 0.63117 | 725 | 6,301 | 5.231724 | 0.212414 | 0.042183 | 0.02531 | 0.028474 | 0.784867 | 0.780912 | 0.760348 | 0.733456 | 0.729765 | 0.674928 | 0 | 0.015876 | 0.260276 | 6,301 | 174 | 78 | 36.212644 | 0.797897 | 0.152198 | 0 | 0.731707 | 0 | 0 | 0.139601 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 1 | 0.065041 | false | 0 | 0.04878 | 0 | 0.146341 | 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 |
ed1c4362b27b5228a54f8abb6bdd1d1dfd934639 | 26,088 | py | Python | tests/open_alchemy/schemas/helpers/test_iterate.py | MihailMiller/OpenAlchemy | 55b751c58ca50706ebc46262f50addb7dec34278 | [
"Apache-2.0"
] | 40 | 2019-11-05T06:50:35.000Z | 2022-03-09T01:34:57.000Z | tests/open_alchemy/schemas/helpers/test_iterate.py | MihailMiller/OpenAlchemy | 55b751c58ca50706ebc46262f50addb7dec34278 | [
"Apache-2.0"
] | 178 | 2019-11-03T04:10:38.000Z | 2022-03-31T00:07:17.000Z | tests/open_alchemy/schemas/helpers/test_iterate.py | MihailMiller/OpenAlchemy | 55b751c58ca50706ebc46262f50addb7dec34278 | [
"Apache-2.0"
] | 17 | 2019-11-04T07:22:46.000Z | 2022-03-23T05:29:49.000Z | """Test for iterate helpers."""
import pytest
from open_alchemy.schemas.helpers import iterate
@pytest.mark.parametrize(
"schemas, expected_schemas",
[
pytest.param({}, [], id="empty"),
pytest.param({"Schema1": {}}, [], id="single not"),
pytest.param(
{"Schema1": {"x-tabl... | 31.970588 | 88 | 0.442196 | 2,182 | 26,088 | 5.189276 | 0.043538 | 0.089376 | 0.040802 | 0.05926 | 0.936678 | 0.912037 | 0.887309 | 0.85525 | 0.817451 | 0.801996 | 0 | 0.018586 | 0.389528 | 26,088 | 815 | 89 | 32.009816 | 0.69239 | 0.065202 | 0 | 0.674451 | 0 | 0 | 0.293557 | 0.038326 | 0 | 0 | 0 | 0 | 0.013736 | 1 | 0.013736 | false | 0 | 0.002747 | 0 | 0.016484 | 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 |
ed3869b05df911781461eb12b8b9aaadb79915b4 | 26 | py | Python | kolizei_api/__init__.py | Foxdogface/kolizei_api | 68b7005669ba2c0de8746910e0b80eda2cd09511 | [
"MIT"
] | null | null | null | kolizei_api/__init__.py | Foxdogface/kolizei_api | 68b7005669ba2c0de8746910e0b80eda2cd09511 | [
"MIT"
] | null | null | null | kolizei_api/__init__.py | Foxdogface/kolizei_api | 68b7005669ba2c0de8746910e0b80eda2cd09511 | [
"MIT"
] | null | null | null | from .kolizei_api import * | 26 | 26 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.869565 | 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 |
ed460d5267ce4f877edb9e37ccdeb7a8c0af9da7 | 29,709 | py | Python | tests/test_builder.py | vblagoje/datasets | d21457e4f27e024b6c4479237d2d87073c56ef55 | [
"Apache-2.0"
] | 1 | 2021-04-13T09:57:56.000Z | 2021-04-13T09:57:56.000Z | tests/test_builder.py | vblagoje/datasets | d21457e4f27e024b6c4479237d2d87073c56ef55 | [
"Apache-2.0"
] | null | null | null | tests/test_builder.py | vblagoje/datasets | d21457e4f27e024b6c4479237d2d87073c56ef55 | [
"Apache-2.0"
] | 1 | 2021-05-12T17:31:41.000Z | 2021-05-12T17:31:41.000Z | import os
import tempfile
import types
from unittest import TestCase
import numpy as np
from datasets.arrow_dataset import Dataset
from datasets.arrow_writer import ArrowWriter
from datasets.builder import FORCE_REDOWNLOAD, BuilderConfig, DatasetBuilder, GeneratorBasedBuilder
from datasets.dataset_dict import Dataset... | 51.578125 | 119 | 0.635094 | 3,177 | 29,709 | 5.681146 | 0.061379 | 0.093745 | 0.045709 | 0.030251 | 0.888415 | 0.875339 | 0.858496 | 0.842484 | 0.829907 | 0.819602 | 0 | 0.010052 | 0.246592 | 29,709 | 575 | 120 | 51.667826 | 0.796319 | 0 | 0 | 0.653307 | 0 | 0 | 0.082029 | 0.015282 | 0 | 0 | 0 | 0 | 0.264529 | 1 | 0.074148 | false | 0 | 0.026052 | 0.032064 | 0.158317 | 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 |
ed675267c658c38926f3aeaac53e3a83926d869c | 27,407 | py | Python | tests/components/tod/test_binary_sensor.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 3 | 2021-11-22T22:37:43.000Z | 2022-03-17T00:55:28.000Z | tests/components/tod/test_binary_sensor.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 14 | 2022-01-13T04:27:21.000Z | 2022-03-06T20:30:43.000Z | tests/components/tod/test_binary_sensor.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 3 | 2022-01-02T18:49:54.000Z | 2022-01-25T02:03:54.000Z | """Test Times of the Day Binary Sensor."""
from datetime import datetime, timedelta
from freezegun import freeze_time
import pytest
from homeassistant.const import STATE_OFF, STATE_ON
import homeassistant.core as ha
from homeassistant.helpers.sun import get_astral_event_date, get_astral_event_next
from homeassistant.... | 34.387704 | 92 | 0.645565 | 3,732 | 27,407 | 4.47776 | 0.052519 | 0.068219 | 0.050266 | 0.068219 | 0.891568 | 0.879062 | 0.8723 | 0.862905 | 0.83843 | 0.826103 | 0 | 0.045246 | 0.219397 | 27,407 | 796 | 93 | 34.430905 | 0.735861 | 0.011822 | 0 | 0.686822 | 0 | 0 | 0.130605 | 0.026236 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.006202 | false | 0 | 0.013953 | 0 | 0.023256 | 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 |
ed7e1cc0b261cddd6d1944cc03a504ac09d0467f | 35 | py | Python | build/lib/PyQuantum/TCL/Unitary.py | alexfmsu/pyquantum | 78b09987cbfecf549e67b919bb5cb2046b21ad44 | [
"MIT"
] | null | null | null | build/lib/PyQuantum/TCL/Unitary.py | alexfmsu/pyquantum | 78b09987cbfecf549e67b919bb5cb2046b21ad44 | [
"MIT"
] | null | null | null | build/lib/PyQuantum/TCL/Unitary.py | alexfmsu/pyquantum | 78b09987cbfecf549e67b919bb5cb2046b21ad44 | [
"MIT"
] | 2 | 2020-07-28T08:40:06.000Z | 2022-02-16T23:04:58.000Z | from PyQuantum.TC.Unitary import *
| 17.5 | 34 | 0.8 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 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 |
9c3eec1884caef0a92c657edc158a16cc58d4095 | 13,398 | py | Python | tests/components/switch_as_x/test_init.py | mib1185/core | b17d4ac65cde9a27ff6032d70b148792e5eba8df | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/switch_as_x/test_init.py | mib1185/core | b17d4ac65cde9a27ff6032d70b148792e5eba8df | [
"Apache-2.0"
] | 24,710 | 2016-04-13T08:27:26.000Z | 2020-03-02T12:59:13.000Z | tests/components/switch_as_x/test_init.py | mib1185/core | b17d4ac65cde9a27ff6032d70b148792e5eba8df | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests for the Switch as X."""
from __future__ import annotations
from unittest.mock import patch
import pytest
from homeassistant.components.switch_as_x.const import CONF_TARGET_DOMAIN, DOMAIN
from homeassistant.const import (
CONF_ENTITY_ID,
STATE_CLOSED,
STATE_LOCKED,
STATE_OFF,
STATE_ON,
... | 33 | 87 | 0.71854 | 1,809 | 13,398 | 4.96241 | 0.079049 | 0.089451 | 0.026067 | 0.036761 | 0.803498 | 0.758494 | 0.725521 | 0.705135 | 0.701236 | 0.656344 | 0 | 0.004069 | 0.192939 | 13,398 | 405 | 88 | 33.081481 | 0.826135 | 0.060681 | 0 | 0.613333 | 0 | 0 | 0.065729 | 0.014394 | 0 | 0 | 0 | 0 | 0.126667 | 1 | 0 | false | 0 | 0.026667 | 0 | 0.026667 | 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 |
9c4384e6e78e5371947aaffdd213d732a075eb1e | 27 | py | Python | chaban/actions/__init__.py | ibrag8998/botchaban | 372aaeaa1e9d025bd0f93925ce037bcbf742163c | [
"MIT"
] | 1 | 2020-12-22T08:38:00.000Z | 2020-12-22T08:38:00.000Z | wakasha/action/__init__.py | tb0hdan/wakasha | 015e7d7087659f687d185650039d51e975a6246c | [
"Unlicense"
] | null | null | null | wakasha/action/__init__.py | tb0hdan/wakasha | 015e7d7087659f687d185650039d51e975a6246c | [
"Unlicense"
] | null | null | null | from .action import Action
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 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 |
9c65b7bf78b3088133f38888617a834821078e16 | 164 | py | Python | example.py | spheroid/pylambs | 2f1f8058ced978ebd0a957e641f4d722c72b410d | [
"MIT"
] | 1 | 2021-02-11T00:21:09.000Z | 2021-02-11T00:21:09.000Z | example.py | spheroid/pylambs | 2f1f8058ced978ebd0a957e641f4d722c72b410d | [
"MIT"
] | null | null | null | example.py | spheroid/pylambs | 2f1f8058ced978ebd0a957e641f4d722c72b410d | [
"MIT"
] | null | null | null | # @FunctionName: ExampleHandler
# @Includes: hello.py
# @Region: eu-central-1
from hello import message
def function_handler(event, context):
return message() | 20.5 | 37 | 0.75 | 20 | 164 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.140244 | 164 | 8 | 38 | 20.5 | 0.858156 | 0.432927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9c6c9dfddc1be1221d975c0f56da49dcb582160d | 891 | py | Python | web/transiq/restapi/migrations/0007_auto_20180803_1253.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | web/transiq/restapi/migrations/0007_auto_20180803_1253.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | 14 | 2020-06-05T23:06:45.000Z | 2022-03-12T00:00:18.000Z | web/transiq/restapi/migrations/0007_auto_20180803_1253.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.0.5 on 2018-08-03 12:53
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('restapi', '0006_auto_20180802_1645'),
]
operations = [
migrations.RenameField(
model_name='bookingstatusesmapping',
old_name... | 26.205882 | 58 | 0.584736 | 76 | 891 | 6.605263 | 0.460526 | 0.167331 | 0.207171 | 0.239044 | 0.713147 | 0.713147 | 0.713147 | 0.243028 | 0.243028 | 0.243028 | 0 | 0.05082 | 0.315376 | 891 | 33 | 59 | 27 | 0.772131 | 0.050505 | 0 | 0.740741 | 1 | 0 | 0.255924 | 0.155213 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
92d3baad68e14b3946699f5816b4383ec1204cdc | 61 | py | Python | src/recipi/accounts/utils.py | EnTeQuAk/recpy | 58f157bd5b054db07be366beca76821386c28f6c | [
"0BSD"
] | 2 | 2015-11-12T08:58:14.000Z | 2021-03-06T01:30:11.000Z | src/recipi/accounts/utils.py | recipi/recipi | 58f157bd5b054db07be366beca76821386c28f6c | [
"0BSD"
] | 6 | 2015-02-03T00:16:58.000Z | 2015-02-04T23:47:30.000Z | src/recipi/accounts/utils.py | recipi/recipi | 58f157bd5b054db07be366beca76821386c28f6c | [
"0BSD"
] | null | null | null |
def get_user_name(user):
return user.name or user.email
| 15.25 | 34 | 0.737705 | 11 | 61 | 3.909091 | 0.636364 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 61 | 3 | 35 | 20.333333 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
92d70073d59ef64ad9cc4a22dd552a5176f193b5 | 5,698 | py | Python | joplin/pages/base_page/tests/tests.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 15 | 2018-09-27T07:36:30.000Z | 2021-08-03T16:01:21.000Z | joplin/pages/base_page/tests/tests.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 183 | 2017-11-16T23:30:47.000Z | 2020-12-18T21:43:36.000Z | joplin/pages/base_page/tests/tests.py | cityofaustin/joplin | 01424e46993e9b1c8e57391d6b7d9448f31d596b | [
"MIT"
] | 12 | 2017-12-12T22:48:05.000Z | 2021-03-01T18:01:24.000Z | from pages.base_page.factories import JanisBasePageFactory
from pages.topic_page.factories import JanisBasePageWithTopicsFactory
import pytest
# If we don't have any associated department,
# and coa_global=False (top level page isn't checked)
@pytest.mark.django_db()
def test_base_page_no_department_not_global_urls(h... | 38.5 | 112 | 0.753598 | 805 | 5,698 | 5.013665 | 0.108075 | 0.089197 | 0.089197 | 0.065411 | 0.897919 | 0.894698 | 0.889495 | 0.879584 | 0.833499 | 0.809217 | 0 | 0.001045 | 0.160232 | 5,698 | 147 | 113 | 38.761905 | 0.842424 | 0.254124 | 0 | 0.595238 | 0 | 0 | 0.112903 | 0.079222 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.095238 | false | 0 | 0.035714 | 0 | 0.130952 | 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 |
130ea190709208b1b13e0bf2eed7acdc469e9719 | 221 | py | Python | CreateVersionFile.py | michaeldcanady/AutoClicker | 669c03c87c64b437407820a01f2dcab9a8c9657a | [
"MIT"
] | 2 | 2021-12-21T05:31:10.000Z | 2022-02-19T01:21:58.000Z | CreateVersionFile.py | michaeldcanady/AutoClicker | 669c03c87c64b437407820a01f2dcab9a8c9657a | [
"MIT"
] | null | null | null | CreateVersionFile.py | michaeldcanady/AutoClicker | 669c03c87c64b437407820a01f2dcab9a8c9657a | [
"MIT"
] | null | null | null | import pyinstaller_versionfile
import os
pyinstaller_versionfile.create_versionfile_from_input_file(
output_file=os.path.join('.', "src", 'versionfile.txt'),
input_file=os.path.join('.', "src", 'metadata.yml')
)
| 27.625 | 60 | 0.751131 | 28 | 221 | 5.642857 | 0.535714 | 0.278481 | 0.126582 | 0.177215 | 0.21519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095023 | 221 | 7 | 61 | 31.571429 | 0.79 | 0 | 0 | 0 | 0 | 0 | 0.158371 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
13165dae81b7cb77f1ef0ffde65c47213cd916a5 | 70 | py | Python | deeplodocus/brain/visual_cortex/__init__.py | Ahleroy/deeplodocus | 70d0c870b41f02d629c0305a2702793a09d53f33 | [
"MIT"
] | 2 | 2019-09-13T12:02:23.000Z | 2022-03-11T13:46:35.000Z | deeplodocus/brain/visual_cortex/__init__.py | Ahleroy/deeplodocus | 70d0c870b41f02d629c0305a2702793a09d53f33 | [
"MIT"
] | 11 | 2018-11-23T14:01:17.000Z | 2019-09-16T15:25:07.000Z | deeplodocus/brain/visual_cortex/__init__.py | Ahleroy/deeplodocus | 70d0c870b41f02d629c0305a2702793a09d53f33 | [
"MIT"
] | 4 | 2018-09-22T13:31:08.000Z | 2018-12-05T18:34:46.000Z | from deeplodocus.brain.visual_cortex.visual_cortex import VisualCortex | 70 | 70 | 0.914286 | 9 | 70 | 6.888889 | 0.777778 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 70 | 1 | 70 | 70 | 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 |
13229ac1716749b8db8851166223e72f4d9ea0e3 | 266 | py | Python | search_spaces/LatencyPredictors/model_src/search_space/ofa_profile/arch_utils.py | Ascend-Research/BlockProfile | 94a0f065e3632c204af77b736b944d30562468f9 | [
"MIT"
] | 2 | 2021-06-09T05:34:44.000Z | 2021-12-22T00:57:07.000Z | search_spaces/LatencyPredictors/model_src/search_space/ofa_profile/arch_utils.py | Ascend-Research/BlockProfile | 94a0f065e3632c204af77b736b944d30562468f9 | [
"MIT"
] | null | null | null | search_spaces/LatencyPredictors/model_src/search_space/ofa_profile/arch_utils.py | Ascend-Research/BlockProfile | 94a0f065e3632c204af77b736b944d30562468f9 | [
"MIT"
] | null | null | null | from search_spaces.LatencyPredictors.utils.math_utils import make_divisible
def get_final_channel_size(C_base, w):
return make_divisible(C_base * w, divisor=8)
def get_final_channel_sizes(C_list, w):
return [get_final_channel_size(c, w) for c in C_list]
| 26.6 | 75 | 0.793233 | 46 | 266 | 4.217391 | 0.521739 | 0.123711 | 0.231959 | 0.185567 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00431 | 0.12782 | 266 | 9 | 76 | 29.555556 | 0.831897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
13536d2b264dcb38fc097a29db11ae2eac7dc3f0 | 24,780 | py | Python | cupy/array_api/_elementwise_functions.py | prkhrsrvstv1/cupy | ea86c8225b575af9d2855fb77a306cf86fd098ea | [
"MIT"
] | 6,180 | 2016-11-01T14:22:30.000Z | 2022-03-31T08:39:20.000Z | cupy/array_api/_elementwise_functions.py | prkhrsrvstv1/cupy | ea86c8225b575af9d2855fb77a306cf86fd098ea | [
"MIT"
] | 6,281 | 2016-12-22T07:42:31.000Z | 2022-03-31T19:57:02.000Z | cupy/array_api/_elementwise_functions.py | prkhrsrvstv1/cupy | ea86c8225b575af9d2855fb77a306cf86fd098ea | [
"MIT"
] | 829 | 2017-02-23T05:46:12.000Z | 2022-03-27T17:40:03.000Z | from __future__ import annotations
from ._dtypes import (
_boolean_dtypes,
_floating_dtypes,
_integer_dtypes,
_integer_or_boolean_dtypes,
_numeric_dtypes,
_result_type,
)
from ._array_object import Array
import cupy as np
def abs(x: Array, /) -> Array:
"""
Array API compatible wrappe... | 33.945205 | 87 | 0.684019 | 3,642 | 24,780 | 4.510983 | 0.034871 | 0.068172 | 0.045651 | 0.061355 | 0.860125 | 0.848317 | 0.82537 | 0.82537 | 0.82537 | 0.82537 | 0 | 0.016154 | 0.210573 | 24,780 | 729 | 88 | 33.99177 | 0.823689 | 0.347337 | 0 | 0.388514 | 0 | 0 | 0.170537 | 0.002986 | 0 | 0 | 0 | 0 | 0 | 1 | 0.189189 | false | 0 | 0.013514 | 0 | 0.402027 | 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 |
138598aa240314471f5df3a3c176ae574d89dc39 | 5,847 | py | Python | fcm_django/fcm.py | vstasn/fcm-django | 94ec77173e296b0797a493718b6ab663d4011a51 | [
"MIT"
] | null | null | null | fcm_django/fcm.py | vstasn/fcm-django | 94ec77173e296b0797a493718b6ab663d4011a51 | [
"MIT"
] | null | null | null | fcm_django/fcm.py | vstasn/fcm-django | 94ec77173e296b0797a493718b6ab663d4011a51 | [
"MIT"
] | null | null | null | from firebase_admin import exceptions
from firebase_admin import messaging
response_dict = {
"multicast_ids": [],
"success": 0,
"failure": 0,
"canonical_ids": 0,
"results": [],
"topic_message_id": None,
}
def fcm_send_message(
registration_id,
title=None,
body=None,
icon=None,... | 26.821101 | 74 | 0.585599 | 605 | 5,847 | 5.347107 | 0.171901 | 0.037094 | 0.034003 | 0.037094 | 0.759505 | 0.744359 | 0.744359 | 0.744359 | 0.744359 | 0.744359 | 0 | 0.000769 | 0.332478 | 5,847 | 217 | 75 | 26.9447 | 0.828081 | 0 | 0 | 0.769231 | 0 | 0 | 0.024628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020513 | false | 0.005128 | 0.010256 | 0 | 0.05641 | 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 |
13de29438eaf1a85abd2faf1c78e85ec724a6ecc | 67 | py | Python | src/tests/grpc_test.py | ChartsBot/telegram-bots | 3cb0966d15c3c1d5b6dd065f01259f3d348be3b2 | [
"MIT"
] | null | null | null | src/tests/grpc_test.py | ChartsBot/telegram-bots | 3cb0966d15c3c1d5b6dd065f01259f3d348be3b2 | [
"MIT"
] | null | null | null | src/tests/grpc_test.py | ChartsBot/telegram-bots | 3cb0966d15c3c1d5b6dd065f01259f3d348be3b2 | [
"MIT"
] | 1 | 2022-01-19T01:03:06.000Z | 2022-01-19T01:03:06.000Z | from pprint import pprint
def greet(message):
pprint(message) | 13.4 | 25 | 0.746269 | 9 | 67 | 5.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 5 | 26 | 13.4 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
13f19b44bad9206d0277cc64d0c2ddefd3250316 | 3,200 | py | Python | backend/api/python_http_client/kfp_server_api/models/__init__.py | Iuiu1234/pipelines | 1e032f550ce23cd40bfb6827b995248537b07d08 | [
"Apache-2.0"
] | 2,860 | 2018-05-24T04:55:01.000Z | 2022-03-31T13:49:56.000Z | backend/api/python_http_client/kfp_server_api/models/__init__.py | Iuiu1234/pipelines | 1e032f550ce23cd40bfb6827b995248537b07d08 | [
"Apache-2.0"
] | 7,331 | 2018-05-16T09:03:26.000Z | 2022-03-31T23:22:04.000Z | backend/api/python_http_client/kfp_server_api/models/__init__.py | Iuiu1234/pipelines | 1e032f550ce23cd40bfb6827b995248537b07d08 | [
"Apache-2.0"
] | 1,359 | 2018-05-15T11:05:41.000Z | 2022-03-31T09:42:09.000Z | # coding: utf-8
# flake8: noqa
"""
Kubeflow Pipelines API
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
Contact: kubeflow-pipelines@google.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_... | 58.181818 | 145 | 0.900938 | 441 | 3,200 | 6.147392 | 0.272109 | 0.098119 | 0.182221 | 0.224271 | 0.430837 | 0.398377 | 0.30616 | 0.079675 | 0.079675 | 0.049428 | 0 | 0.00067 | 0.067813 | 3,200 | 54 | 146 | 59.259259 | 0.908146 | 0.090625 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b93d427163c257503dd6f8ace1936e81b2436d92 | 174 | py | Python | src/cool/cmp/__init__.py | C0NKER/cool-compiler-2020 | 1da79216bb3e67effd79215979d0ca8909b41c38 | [
"MIT"
] | 3 | 2019-10-07T15:37:08.000Z | 2019-12-03T19:56:24.000Z | src/cool/cmp/__init__.py | C0NKER/cool-compiler-base | 42700586e35808061789b35ef3e048ca79c36e7f | [
"MIT"
] | null | null | null | src/cool/cmp/__init__.py | C0NKER/cool-compiler-base | 42700586e35808061789b35ef3e048ca79c36e7f | [
"MIT"
] | null | null | null | from .automata import *
from .evaluation import *
from .grammartools import *
from .grammar import *
from .semantic import *
from .utils import *
from .visitor import * | 24.857143 | 28 | 0.729885 | 21 | 174 | 6.047619 | 0.428571 | 0.472441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 174 | 7 | 29 | 24.857143 | 0.900709 | 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 |
b99346e09794890afba62d04a1bb56ecdefa69b2 | 39,560 | py | Python | pybind/slxos/v16r_1_00b/sfm_state/queue/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/sfm_state/queue/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/sfm_state/queue/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 70.26643 | 490 | 0.749874 | 5,403 | 39,560 | 5.198408 | 0.03424 | 0.039164 | 0.049845 | 0.052337 | 0.921067 | 0.889415 | 0.865952 | 0.863567 | 0.850927 | 0.835974 | 0 | 0.023669 | 0.122118 | 39,560 | 562 | 491 | 70.391459 | 0.785079 | 0.160288 | 0 | 0.49359 | 0 | 0.038462 | 0.362173 | 0.194912 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.025641 | 0 | 0.262821 | 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 |
b9a4a3c44ff4b8eec31a04b3499d6b49a13df5f7 | 37 | py | Python | algo/mappo2/elements/nn.py | xlnwel/g2rl | e1261fdd2ce70724a99ddd174616cf013917b241 | [
"Apache-2.0"
] | 1 | 2022-03-27T08:25:57.000Z | 2022-03-27T08:25:57.000Z | algo/mappo2/elements/nn.py | xlnwel/g2rl | e1261fdd2ce70724a99ddd174616cf013917b241 | [
"Apache-2.0"
] | null | null | null | algo/mappo2/elements/nn.py | xlnwel/g2rl | e1261fdd2ce70724a99ddd174616cf013917b241 | [
"Apache-2.0"
] | 1 | 2021-11-09T08:33:35.000Z | 2021-11-09T08:33:35.000Z | from algo.mappo.elements.nn import *
| 18.5 | 36 | 0.783784 | 6 | 37 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.878788 | 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 |
b9afa3ef8f81fe915d0ce8ebc3c822d090a29228 | 20,697 | py | Python | packages/core/minos-microservice-aggregate/tests/test_aggregate/test_snapshots/test_pg/test_queries.py | sorasful/minos-python | 1189330eebf6444627a2af6b29f347670f95a4dd | [
"MIT"
] | null | null | null | packages/core/minos-microservice-aggregate/tests/test_aggregate/test_snapshots/test_pg/test_queries.py | sorasful/minos-python | 1189330eebf6444627a2af6b29f347670f95a4dd | [
"MIT"
] | null | null | null | packages/core/minos-microservice-aggregate/tests/test_aggregate/test_snapshots/test_pg/test_queries.py | sorasful/minos-python | 1189330eebf6444627a2af6b29f347670f95a4dd | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import (
MagicMock,
patch,
)
from uuid import (
uuid4,
)
import aiopg
from psycopg2.extras import (
Json,
)
from psycopg2.sql import (
SQL,
Literal,
Placeholder,
)
from minos.aggregate import (
IS_REPOSITORY_SERIALIZATION_CONTEXT_VAR,
Condition,
... | 49.396181 | 118 | 0.692468 | 2,235 | 20,697 | 6.15302 | 0.070694 | 0.079988 | 0.058173 | 0.076353 | 0.834788 | 0.802938 | 0.764252 | 0.748691 | 0.748691 | 0.740256 | 0 | 0.006999 | 0.185389 | 20,697 | 418 | 119 | 49.514354 | 0.80866 | 0.001256 | 0 | 0.419255 | 0 | 0.009317 | 0.126131 | 0.052446 | 0 | 0 | 0 | 0 | 0.204969 | 1 | 0.021739 | false | 0 | 0.034161 | 0.003106 | 0.068323 | 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 |
6a0f142c6c45bb56386646d30a6c969a618b7025 | 22 | py | Python | python_estat/__init__.py | jmdc-dkanazawa/python-eStat | 18da7e02b36129cf6488cf3aaec5c5d1c9a74dcb | [
"BSD-2-Clause"
] | null | null | null | python_estat/__init__.py | jmdc-dkanazawa/python-eStat | 18da7e02b36129cf6488cf3aaec5c5d1c9a74dcb | [
"BSD-2-Clause"
] | null | null | null | python_estat/__init__.py | jmdc-dkanazawa/python-eStat | 18da7e02b36129cf6488cf3aaec5c5d1c9a74dcb | [
"BSD-2-Clause"
] | null | null | null | from .estat import *
| 11 | 21 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 1 | 22 | 22 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dbee6ebdc61125a4e0db1bda79fdfb3eb586df7f | 36 | py | Python | code/appendix_1-2.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/appendix_1-2.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/appendix_1-2.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | x, y = 1, 2
x, y = y, x
print(x, y)
| 9 | 11 | 0.416667 | 11 | 36 | 1.363636 | 0.454545 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.333333 | 36 | 3 | 12 | 12 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e00f08e12d8d5258b27e59b3eae1b2c64dea1354 | 7,463 | py | Python | examples/python/worker_schedule_sat.py | prezaei85/or-tools | 8ae61b6feb64c6193b4706535f8d06ee6e4e7270 | [
"Apache-2.0"
] | 3 | 2021-12-11T12:30:09.000Z | 2021-12-30T09:49:45.000Z | examples/python/worker_schedule_sat.py | kamyu104/or-tools | 8ae61b6feb64c6193b4706535f8d06ee6e4e7270 | [
"Apache-2.0"
] | null | null | null | examples/python/worker_schedule_sat.py | kamyu104/or-tools | 8ae61b6feb64c6193b4706535f8d06ee6e4e7270 | [
"Apache-2.0"
] | null | null | null | # Copyright 2010-2017 Google
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 50.425676 | 80 | 0.405467 | 1,955 | 7,463 | 1.527877 | 0.070077 | 0.838299 | 1.213257 | 1.558755 | 0.590224 | 0.551724 | 0.529963 | 0.523937 | 0.518581 | 0.517576 | 0 | 0.349737 | 0.338336 | 7,463 | 147 | 81 | 50.768707 | 0.255164 | 0.091384 | 0 | 0.458716 | 0 | 0 | 0.016714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009174 | false | 0 | 0.009174 | 0 | 0.018349 | 0.045872 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e01fb025cfa6baa9bc26f8d88e2f4410a25b8cb5 | 30,192 | py | Python | rootfs/usr/lib/python3/dist-packages/pygame/tests/gfxdraw_test.py | kappaIO-Dev/kappaIO-sdk-armhf-crosscompile | 66fc5fc21e6235f7a3be72a7ccac68e2224b7fb2 | [
"MIT"
] | 3 | 2016-04-11T00:41:52.000Z | 2016-06-11T03:58:12.000Z | rootfs/usr/lib/python3/dist-packages/pygame/tests/gfxdraw_test.py | kappaIO-Dev/kappaIO-sdk-armhf-crosscompile | 66fc5fc21e6235f7a3be72a7ccac68e2224b7fb2 | [
"MIT"
] | 5 | 2016-02-11T01:16:51.000Z | 2016-04-08T06:10:28.000Z | rootfs/usr/lib/python3/dist-packages/pygame/tests/gfxdraw_test.py | kappaIO-Dev/kappaIO-sdk-armhf-crosscompile | 66fc5fc21e6235f7a3be72a7ccac68e2224b7fb2 | [
"MIT"
] | 1 | 2020-04-22T22:53:39.000Z | 2020-04-22T22:53:39.000Z | # Two unit tests fail! Disable to allow automated builds to continue.
__tags__ = ('ignore', 'subprocess_ignore')
if __name__ == '__main__':
import sys
import os
pkg_dir = os.path.split(os.path.abspath(__file__))[0]
parent_dir, pkg_name = os.path.split(pkg_dir)
is_pygame_pkg = (pkg_name == 'tests' a... | 42.345021 | 80 | 0.449059 | 3,828 | 30,192 | 3.390543 | 0.059039 | 0.056091 | 0.032668 | 0.06734 | 0.772556 | 0.763387 | 0.743124 | 0.733647 | 0.714616 | 0.70591 | 0 | 0.057088 | 0.418654 | 30,192 | 712 | 81 | 42.404494 | 0.682372 | 0.065282 | 0 | 0.727417 | 0 | 0.00317 | 0.005737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042789 | false | 0 | 0.011094 | 0 | 0.068146 | 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 |
0eb564f1518073d55001985e153edc28c1aef04a | 285 | py | Python | tests/correctness/framework/BadTargetChars/test1.xpybuild.py | xpybuild/xpybuild | c71a73e47414871c8192381d0356ab62f5a58127 | [
"Apache-2.0"
] | 9 | 2017-02-06T16:45:46.000Z | 2021-12-05T09:42:58.000Z | tests/correctness/framework/BadTargetChars/test1.xpybuild.py | xpybuild/xpybuild | c71a73e47414871c8192381d0356ab62f5a58127 | [
"Apache-2.0"
] | 15 | 2019-01-11T19:39:34.000Z | 2022-01-08T11:11:35.000Z | tests/correctness/framework/BadTargetChars/test1.xpybuild.py | xpybuild/xpybuild | c71a73e47414871c8192381d0356ab62f5a58127 | [
"Apache-2.0"
] | 5 | 2017-02-06T16:51:17.000Z | 2020-12-02T17:36:30.000Z | from xpybuild.propertysupport import *
from xpybuild.buildcommon import *
from xpybuild.pathsets import *
from xpybuild.targets.writefile import *
from xpybuild.targets.copy import *
defineOutputDirProperty('OUTPUT_DIR', None)
WriteFile('${OUTPUT_DIR}/invalidchars*and<.txt', 'Hi')
| 25.909091 | 54 | 0.796491 | 33 | 285 | 6.818182 | 0.515152 | 0.266667 | 0.32 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 285 | 10 | 55 | 28.5 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0.164912 | 0.122807 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 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 |
0ec8fb380d7abc9b213375ad3d13de1348f6c9a2 | 30 | py | Python | src/quadratic_qaoa/__init__.py | sami-b95/quadratic_qaoa | 6441d0656a8fe8cbf10bd8f051d003cddf062c77 | [
"MIT"
] | null | null | null | src/quadratic_qaoa/__init__.py | sami-b95/quadratic_qaoa | 6441d0656a8fe8cbf10bd8f051d003cddf062c77 | [
"MIT"
] | null | null | null | src/quadratic_qaoa/__init__.py | sami-b95/quadratic_qaoa | 6441d0656a8fe8cbf10bd8f051d003cddf062c77 | [
"MIT"
] | null | null | null | from .quadratic_qaoa import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 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 |
0ef66984df4e82eb07ccb14285d7e77e5414ca6f | 28 | py | Python | common/__init__.py | zhiyanliu/swing | 7d203c3159b9c0b5837b08d3e936c1ed982c6087 | [
"Apache-2.0"
] | 3 | 2020-05-11T03:35:31.000Z | 2020-05-11T10:01:24.000Z | common/__init__.py | aws-samples/swing | 106fa7aa6874372cd3c81d9d7128f50cbbb97017 | [
"MIT-0"
] | null | null | null | common/__init__.py | aws-samples/swing | 106fa7aa6874372cd3c81d9d7128f50cbbb97017 | [
"MIT-0"
] | 1 | 2021-06-10T18:53:19.000Z | 2021-06-10T18:53:19.000Z | from common.logger import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 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 |
0efbcef264200dfb080b9227f3c8cb2de959bfa7 | 156 | py | Python | test/test_setup.py | farooq-teqniqly/tqdnld | 63cf98fe4f7464e277640a0905759842d6b14307 | [
"MIT"
] | null | null | null | test/test_setup.py | farooq-teqniqly/tqdnld | 63cf98fe4f7464e277640a0905759842d6b14307 | [
"MIT"
] | null | null | null | test/test_setup.py | farooq-teqniqly/tqdnld | 63cf98fe4f7464e277640a0905759842d6b14307 | [
"MIT"
] | null | null | null | """
This file only tests the import statements work.
"""
from tq_scroll_scrape.scroll_and_scrape import ScrollAndScrape
def test_foo():
assert 1 == 1
| 17.333333 | 62 | 0.75 | 23 | 156 | 4.869565 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.166667 | 156 | 8 | 63 | 19.5 | 0.846154 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16315ded3fe86af9b7d143218a8d740ae07658d2 | 37 | py | Python | __init__.py | vimal-dharmalingam/py_custom_spellrectify | e07b8d85deb13991a9220beae925fcfbeda314d4 | [
"MIT"
] | null | null | null | __init__.py | vimal-dharmalingam/py_custom_spellrectify | e07b8d85deb13991a9220beae925fcfbeda314d4 | [
"MIT"
] | null | null | null | __init__.py | vimal-dharmalingam/py_custom_spellrectify | e07b8d85deb13991a9220beae925fcfbeda314d4 | [
"MIT"
] | null | null | null | from .rectifier import WordCorrection | 37 | 37 | 0.891892 | 4 | 37 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.970588 | 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 |
16850f6901dc5de97dc85aa2f01a5c08757b4a8b | 6,401 | py | Python | tests/core/environment_manager_test.py | Sunil-Rathore/golem | 00e51ebb987c305aa4dec5e1ced4c9069c0cc716 | [
"MIT"
] | 171 | 2018-11-08T21:42:38.000Z | 2022-03-12T10:09:50.000Z | tests/core/environment_manager_test.py | Sunil-Rathore/golem | 00e51ebb987c305aa4dec5e1ced4c9069c0cc716 | [
"MIT"
] | 106 | 2018-11-04T03:50:45.000Z | 2022-02-17T08:05:08.000Z | tests/core/environment_manager_test.py | Sunil-Rathore/golem | 00e51ebb987c305aa4dec5e1ced4c9069c0cc716 | [
"MIT"
] | 42 | 2018-11-06T16:01:03.000Z | 2022-02-06T21:41:01.000Z | import os
from golem.core import environment_manager
ENV_DATA = ('{\n'
' "test": {\n'
' "url": "http://localhost:8000"\n'
' },\n'
' "development": {\n'
' "url": "http://localhost:8001"\n'
' }\n'
'}')
ENV_DA... | 41.564935 | 85 | 0.644431 | 747 | 6,401 | 5.15261 | 0.088353 | 0.076383 | 0.074305 | 0.043908 | 0.826708 | 0.798909 | 0.765653 | 0.74357 | 0.722006 | 0.666147 | 0 | 0.004409 | 0.255898 | 6,401 | 153 | 86 | 41.836601 | 0.803695 | 0.009217 | 0 | 0.555556 | 0 | 0 | 0.085174 | 0 | 0 | 0 | 0 | 0 | 0.150794 | 1 | 0.111111 | false | 0 | 0.015873 | 0 | 0.15873 | 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 |
16c84a8aa8fd1959f6e7ddd6c8a1ec275c98eb1c | 154 | py | Python | teacher_directory/forms.py | rkusantos/dnc_teacher_directory | f293732eebf1941df01cf0e5bcff03cef9d6abf2 | [
"MIT"
] | null | null | null | teacher_directory/forms.py | rkusantos/dnc_teacher_directory | f293732eebf1941df01cf0e5bcff03cef9d6abf2 | [
"MIT"
] | null | null | null | teacher_directory/forms.py | rkusantos/dnc_teacher_directory | f293732eebf1941df01cf0e5bcff03cef9d6abf2 | [
"MIT"
] | null | null | null | from django import forms
class InputDataForm(forms.Form):
teachers = forms.FileField(required=False)
pictures = forms.FileField(required=False)
| 22 | 46 | 0.766234 | 18 | 154 | 6.555556 | 0.666667 | 0.237288 | 0.372881 | 0.457627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 154 | 6 | 47 | 25.666667 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
16d6605f647f526676d2e82d163c59b65f293ab8 | 83 | py | Python | bot/markups/__init__.py | Im-zeus/Stickers | f2484a1ecc9a3e4a2029eaadbde4ae1b0fe74536 | [
"MIT"
] | 44 | 2019-09-02T08:27:57.000Z | 2022-02-08T09:57:55.000Z | bot/markups/__init__.py | Im-zeus/Stickers | f2484a1ecc9a3e4a2029eaadbde4ae1b0fe74536 | [
"MIT"
] | 37 | 2018-11-09T11:51:15.000Z | 2021-12-27T15:08:48.000Z | bot/markups/__init__.py | Im-zeus/Stickers | f2484a1ecc9a3e4a2029eaadbde4ae1b0fe74536 | [
"MIT"
] | 38 | 2019-03-27T21:12:23.000Z | 2022-01-08T07:57:39.000Z | from .reply_keyboards import Keyboard
from .inline_keyboards import InlineKeyboard
| 27.666667 | 44 | 0.879518 | 10 | 83 | 7.1 | 0.7 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 83 | 2 | 45 | 41.5 | 0.946667 | 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 |
bc489dbe251172b4800f93468e62acb63d6c4992 | 10,672 | py | Python | tests/components/alarm_control_panel/test_device_action.py | joopert/home-assistant | a3f6fbb3774004b15c397c0556f98c5f7a59cb22 | [
"Apache-2.0"
] | 3 | 2020-10-23T14:39:11.000Z | 2021-02-17T14:40:17.000Z | tests/components/alarm_control_panel/test_device_action.py | joopert/home-assistant | a3f6fbb3774004b15c397c0556f98c5f7a59cb22 | [
"Apache-2.0"
] | 3 | 2021-02-08T20:54:46.000Z | 2021-09-08T02:30:04.000Z | tests/components/alarm_control_panel/test_device_action.py | joopert/home-assistant | a3f6fbb3774004b15c397c0556f98c5f7a59cb22 | [
"Apache-2.0"
] | 4 | 2020-05-30T08:19:47.000Z | 2021-05-14T11:39:19.000Z | """The tests for Alarm control panel device actions."""
import pytest
from homeassistant.components.alarm_control_panel import DOMAIN
from homeassistant.const import (
CONF_PLATFORM,
STATE_ALARM_ARMED_AWAY,
STATE_ALARM_ARMED_HOME,
STATE_ALARM_ARMED_NIGHT,
STATE_ALARM_DISARMED,
STATE_ALARM_TRIGG... | 34.649351 | 88 | 0.573651 | 1,124 | 10,672 | 5.080071 | 0.103203 | 0.050438 | 0.071454 | 0.042032 | 0.849737 | 0.838354 | 0.808231 | 0.78021 | 0.751489 | 0.713485 | 0 | 0.010415 | 0.307253 | 10,672 | 307 | 89 | 34.762215 | 0.761937 | 0.011151 | 0 | 0.545788 | 0 | 0 | 0.20657 | 0.065305 | 0 | 0 | 0 | 0 | 0.062271 | 1 | 0.007326 | false | 0 | 0.025641 | 0 | 0.040293 | 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 |
bc63b506bafb5bd68d66b0427850a7d7032dcb74 | 171 | py | Python | Darlington/phase1/python Basic 1/day2 solutions/qtn8.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase1/python Basic 1/day2 solutions/qtn8.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase1/python Basic 1/day2 solutions/qtn8.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #to display first and last color
color_list = ["Red","Green","White" ,"Black"]
#print(color_list[0], color_list[len(color_list) - 1])
print(color_list[0], color_list[3]) | 28.5 | 54 | 0.707602 | 29 | 171 | 3.965517 | 0.551724 | 0.469565 | 0.243478 | 0.26087 | 0.417391 | 0.417391 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.099415 | 171 | 6 | 55 | 28.5 | 0.720779 | 0.491228 | 0 | 0 | 0 | 0 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 |
bc7ed235c088797cec11ef55a13ab5a5306d59d2 | 150 | py | Python | ci/infra/testrunner/utils/__init__.py | manuelbuil/skuba | 71770c969f59275d6f7fb7a788635fcce6900bee | [
"Apache-2.0"
] | 72 | 2019-07-18T13:01:36.000Z | 2022-03-05T04:14:06.000Z | ci/infra/testrunner/utils/__init__.py | manuelbuil/skuba | 71770c969f59275d6f7fb7a788635fcce6900bee | [
"Apache-2.0"
] | 602 | 2019-07-18T13:48:04.000Z | 2021-09-27T14:10:30.000Z | ci/infra/testrunner/utils/__init__.py | manuelbuil/skuba | 71770c969f59275d6f7fb7a788635fcce6900bee | [
"Apache-2.0"
] | 90 | 2019-07-18T09:27:52.000Z | 2020-12-08T15:57:27.000Z | from utils.config import (BaseConfig, Constant)
from utils.format import Format
from utils.logger import Logger
from utils.utils import (Utils, step)
| 30 | 47 | 0.813333 | 22 | 150 | 5.545455 | 0.409091 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 150 | 4 | 48 | 37.5 | 0.924242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcd62b09983b4469f3db1196eec8e2c93068996c | 15,386 | py | Python | tests/assistants/test_archive_links.py | betodealmeida/nefelibata | 3f6faab6de13c01f9662f18dda529569066ba5c9 | [
"MIT"
] | 22 | 2020-01-03T23:05:36.000Z | 2021-12-29T00:43:57.000Z | tests/assistants/test_archive_links.py | betodealmeida/nefelibata | 3f6faab6de13c01f9662f18dda529569066ba5c9 | [
"MIT"
] | 18 | 2020-05-25T03:49:07.000Z | 2022-03-28T14:02:56.000Z | tests/assistants/test_archive_links.py | betodealmeida/nefelibata | 3f6faab6de13c01f9662f18dda529569066ba5c9 | [
"MIT"
] | null | null | null | import json
from datetime import datetime
from datetime import timezone
from pathlib import Path
from typing import Any
from typing import Dict
from unittest.mock import MagicMock
import requests
from freezegun import freeze_time
from nefelibata.assistants.archive_links import ArchiveLinksAssistant
from nefelibata.bu... | 35.948598 | 306 | 0.626934 | 2,055 | 15,386 | 4.632603 | 0.085158 | 0.030252 | 0.061765 | 0.03813 | 0.914916 | 0.910609 | 0.89958 | 0.887395 | 0.883088 | 0.840021 | 0 | 0.055465 | 0.204342 | 15,386 | 427 | 307 | 36.032787 | 0.722186 | 0 | 0 | 0.666667 | 0 | 0.141844 | 0.541623 | 0.057581 | 0 | 0 | 0 | 0 | 0.031915 | 1 | 0.024823 | false | 0 | 0.039007 | 0 | 0.06383 | 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 |
bcef114bbf1d04b70cf411e9ebef5f0c8a8441de | 44 | py | Python | trader/core/strategy/__init__.py | Ricky294/trader | 5f5ecc047fb3ff82476cb751ac9fc3d5fa749dc5 | [
"MIT"
] | null | null | null | trader/core/strategy/__init__.py | Ricky294/trader | 5f5ecc047fb3ff82476cb751ac9fc3d5fa749dc5 | [
"MIT"
] | null | null | null | trader/core/strategy/__init__.py | Ricky294/trader | 5f5ecc047fb3ff82476cb751ac9fc3d5fa749dc5 | [
"MIT"
] | null | null | null | # nopycln: file
from .base import Strategy
| 11 | 26 | 0.75 | 6 | 44 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 3 | 27 | 14.666667 | 0.916667 | 0.295455 | 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 |
4c1664e0f8f1ccdefd3b6be2fbdfc1f9a19e0439 | 81,644 | py | Python | calliope/test/test_backend_pyomo.py | guidogz/Calliope_guido | 148ee39c3671e55ad3a1a2da216ee23112d16abf | [
"Apache-2.0"
] | null | null | null | calliope/test/test_backend_pyomo.py | guidogz/Calliope_guido | 148ee39c3671e55ad3a1a2da216ee23112d16abf | [
"Apache-2.0"
] | null | null | null | calliope/test/test_backend_pyomo.py | guidogz/Calliope_guido | 148ee39c3671e55ad3a1a2da216ee23112d16abf | [
"Apache-2.0"
] | null | null | null | import pytest # pylint: disable=unused-import
import numpy as np
import pyomo.core as po
import os
import collections
import logging
from itertools import product
from calliope.backend.pyomo.util import get_param
import calliope.exceptions as exceptions
from calliope.core.attrdict import AttrDict
from calliope.test.... | 43.965536 | 176 | 0.671929 | 10,150 | 81,644 | 5.00601 | 0.03803 | 0.053374 | 0.055519 | 0.056051 | 0.885576 | 0.866112 | 0.839621 | 0.806735 | 0.770483 | 0.732833 | 0 | 0.004524 | 0.231138 | 81,644 | 1,856 | 177 | 43.989224 | 0.804916 | 0.099689 | 0 | 0.579954 | 0 | 0.012242 | 0.367476 | 0.281844 | 0 | 0 | 0 | 0 | 0.192043 | 1 | 0.07192 | false | 0 | 0.009946 | 0.00153 | 0.096404 | 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 |
4c226b621d0deb40edda6b95e3b27f4315184699 | 23 | py | Python | control_block_diagram/components/text/__init__.py | upb-lea/control-block-diagram | d1d8377d6ff8a60900580b654c975cc06ff2e564 | [
"MIT"
] | 4 | 2022-01-14T07:42:59.000Z | 2022-01-24T15:05:59.000Z | control_block_diagram/components/text/__init__.py | upb-lea/control-block-diagram | d1d8377d6ff8a60900580b654c975cc06ff2e564 | [
"MIT"
] | null | null | null | control_block_diagram/components/text/__init__.py | upb-lea/control-block-diagram | d1d8377d6ff8a60900580b654c975cc06ff2e564 | [
"MIT"
] | null | null | null | from .text import Text
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c4c962606493df66993a495a8f8c4999829e4e6 | 230 | py | Python | pyCuSDR/lib/__init__.py | mugpahug/pycu-sdr | 012aad85a66fd02bb13e325e2b0a978d7667a718 | [
"BSD-3-Clause"
] | 1 | 2021-07-10T13:13:11.000Z | 2021-07-10T13:13:11.000Z | pyCuSDR/lib/__init__.py | mugpahug/pycu-sdr | 012aad85a66fd02bb13e325e2b0a978d7667a718 | [
"BSD-3-Clause"
] | 1 | 2021-07-12T06:04:07.000Z | 2021-07-12T06:04:07.000Z | pyCuSDR/lib/__init__.py | mugpahug/pycu-sdr | 012aad85a66fd02bb13e325e2b0a978d7667a718 | [
"BSD-3-Clause"
] | 1 | 2021-07-10T13:13:15.000Z | 2021-07-10T13:13:15.000Z | # -*- coding: utf-8 -*-
# Copyright: (c) 2021, Edwin G. W. Peters
from lib.msbLsbBinOps import *
from lib.sysStopException import *
from lib.cudaConvertSMVer2Cores import *
from lib.safe_lists import *
from lib.filters import *
| 23 | 41 | 0.734783 | 31 | 230 | 5.419355 | 0.612903 | 0.208333 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.152174 | 230 | 9 | 42 | 25.555556 | 0.830769 | 0.265217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c5647a2931d9ca8ca5f7e2933ae1369bb9e3d9d | 133 | py | Python | coding_assistant/__init__.py | lorlouis/coding-assistant | 27bff5e4dd5e1325f8448b483fa107c7ab69632d | [
"MIT"
] | 3 | 2021-11-09T01:14:00.000Z | 2021-11-10T12:17:00.000Z | coding_assistant/__init__.py | lorlouis/coding-assistant | 27bff5e4dd5e1325f8448b483fa107c7ab69632d | [
"MIT"
] | 2 | 2021-11-08T23:19:48.000Z | 2021-11-10T17:37:03.000Z | coding_assistant/__init__.py | lorlouis/coding-assistant | 27bff5e4dd5e1325f8448b483fa107c7ab69632d | [
"MIT"
] | 2 | 2021-11-08T21:50:00.000Z | 2021-11-09T18:22:16.000Z | # type: ignore
from coding_assistant.clipy import clipy
from coding_assistant.assistant import set_excepthook
set_excepthook(clipy)
| 22.166667 | 53 | 0.857143 | 18 | 133 | 6.111111 | 0.5 | 0.181818 | 0.345455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097744 | 133 | 5 | 54 | 26.6 | 0.916667 | 0.090226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
4c7b2ff807b123a8d436764240e1eddd85b718df | 7,869 | py | Python | layers/rnn_cells.py | Rufaim/Filtering-Clouds | 5703884a55f449ed737a3350d5276e29a69372f2 | [
"MIT"
] | null | null | null | layers/rnn_cells.py | Rufaim/Filtering-Clouds | 5703884a55f449ed737a3350d5276e29a69372f2 | [
"MIT"
] | null | null | null | layers/rnn_cells.py | Rufaim/Filtering-Clouds | 5703884a55f449ed737a3350d5276e29a69372f2 | [
"MIT"
] | null | null | null | import tensorflow as tf
from .utils import _activation_to_string
class UGRnnCell(tf.contrib.rnn.RNNCell):
def __init__(self,
num_units,
activation=tf.nn.relu,
reuse=None,
kernel_initializer=tf.contrib.layers.xavier_initializer(),
bias_initi... | 49.803797 | 121 | 0.604905 | 1,062 | 7,869 | 4.102637 | 0.089454 | 0.05692 | 0.055084 | 0.046821 | 0.844159 | 0.774386 | 0.759008 | 0.759008 | 0.734221 | 0.734221 | 0 | 0.011585 | 0.27602 | 7,869 | 158 | 122 | 49.803797 | 0.753203 | 0.063032 | 0 | 0.630769 | 0 | 0 | 0.037067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092308 | false | 0 | 0.015385 | 0.030769 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d5dcd349a22e24759d91056f326021ad5893d52e | 118 | py | Python | redbean/reactive/__init__.py | lcgong/redbean | 4e3a075567336db3f5469c5bc7dc009b5a24071c | [
"Apache-2.0"
] | 4 | 2017-08-26T10:03:59.000Z | 2022-02-17T20:46:02.000Z | redbean/reactive/__init__.py | lcgong/redbean | 4e3a075567336db3f5469c5bc7dc009b5a24071c | [
"Apache-2.0"
] | 1 | 2018-06-04T10:57:28.000Z | 2018-06-04T10:57:28.000Z | redbean/reactive/__init__.py | lcgong/redbean | 4e3a075567336db3f5469c5bc7dc009b5a24071c | [
"Apache-2.0"
] | null | null | null |
from .topic import Topic
try:
import pulsar
from .pulsar import PulsarChannel
except ImportError:
pass
| 11.8 | 37 | 0.720339 | 14 | 118 | 6.071429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245763 | 118 | 9 | 38 | 13.111111 | 0.955056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 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 |
9125711aca4850c9d2831033922d568192f901e6 | 31 | py | Python | pingExecutor/__init__.py | 5genesis/Remote_Ping_Agent | aeaf8a68d04741631910228e52c9ae7c068ec570 | [
"Apache-2.0"
] | 2 | 2020-10-20T09:15:01.000Z | 2021-11-15T06:36:23.000Z | pingExecutor/__init__.py | 5genesis/Remote_Ping_Agent | aeaf8a68d04741631910228e52c9ae7c068ec570 | [
"Apache-2.0"
] | null | null | null | pingExecutor/__init__.py | 5genesis/Remote_Ping_Agent | aeaf8a68d04741631910228e52c9ae7c068ec570 | [
"Apache-2.0"
] | 1 | 2022-03-21T09:21:28.000Z | 2022-03-21T09:21:28.000Z | from .pingExecutor import ping
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
912e886bc279d8582e877da457ec4b751bafe5ce | 38 | py | Python | proxypool/exceptions/__init__.py | zronghui/ProxyPool | 7c0dde213c56942807d6421fa1e3604d3f25514f | [
"MIT"
] | null | null | null | proxypool/exceptions/__init__.py | zronghui/ProxyPool | 7c0dde213c56942807d6421fa1e3604d3f25514f | [
"MIT"
] | null | null | null | proxypool/exceptions/__init__.py | zronghui/ProxyPool | 7c0dde213c56942807d6421fa1e3604d3f25514f | [
"MIT"
] | null | null | null | from .empty import PoolEmptyException
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 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 |
914fcac07e397659660bd3e899e61f5fcacea064 | 112 | py | Python | 6_kyu/Handshake_problem.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 6_kyu/Handshake_problem.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 6_kyu/Handshake_problem.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | from math import ceil, sqrt
def get_participants(handshakes):
return int(ceil(1+sqrt(8*handshakes+1)+1)/2)
| 22.4 | 48 | 0.741071 | 19 | 112 | 4.315789 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05102 | 0.125 | 112 | 4 | 49 | 28 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
914fce6f0c1a9cf778921074b8254bd80ff45830 | 23,991 | py | Python | src/advpipe/attack_algorithms/apgd_auto_attack.py | kubic71/bachelors-thesis | f17a85e4e144972034f1d2174b51e63c68b39ff7 | [
"MIT"
] | null | null | null | src/advpipe/attack_algorithms/apgd_auto_attack.py | kubic71/bachelors-thesis | f17a85e4e144972034f1d2174b51e63c68b39ff7 | [
"MIT"
] | null | null | null | src/advpipe/attack_algorithms/apgd_auto_attack.py | kubic71/bachelors-thesis | f17a85e4e144972034f1d2174b51e63c68b39ff7 | [
"MIT"
] | null | null | null | # type: ignore
from __future__ import annotations
from advpipe.attack_algorithms import BlackBoxTransferAlgorithm
from advpipe.blackbox.local import LocalModel
import numpy as np
from advpipe.log import logger
from advpipe import utils
import torch
from advpipe.config_datamodel.attack_algorithm_config import APGDAlgori... | 47.695825 | 270 | 0.528823 | 3,344 | 23,991 | 3.57177 | 0.082237 | 0.034829 | 0.017582 | 0.012056 | 0.776206 | 0.756698 | 0.732669 | 0.72212 | 0.717934 | 0.708891 | 0 | 0.030343 | 0.329624 | 23,991 | 502 | 271 | 47.790837 | 0.712305 | 0.047184 | 0 | 0.764075 | 0 | 0.002681 | 0.031873 | 0.00456 | 0 | 0 | 0 | 0.001992 | 0.005362 | 1 | 0.037534 | false | 0 | 0.050938 | 0.005362 | 0.128686 | 0.042895 | 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 |
e6756d56d4650f67e4d0276d0efa9d83ee640633 | 82 | py | Python | gui/screens/betplacepage.py | tonymorony/DiceCC-GUI | 89dbdcf9fe762fe673a0c8c90d461efc10ab31e4 | [
"MIT"
] | null | null | null | gui/screens/betplacepage.py | tonymorony/DiceCC-GUI | 89dbdcf9fe762fe673a0c8c90d461efc10ab31e4 | [
"MIT"
] | null | null | null | gui/screens/betplacepage.py | tonymorony/DiceCC-GUI | 89dbdcf9fe762fe673a0c8c90d461efc10ab31e4 | [
"MIT"
] | 1 | 2019-01-04T05:52:38.000Z | 2019-01-04T05:52:38.000Z | from kivy.uix.screenmanager import Screen
class BetPlacePage(Screen):
pass
| 11.714286 | 41 | 0.768293 | 10 | 82 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 82 | 6 | 42 | 13.666667 | 0.926471 | 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 |
e67be2fbbd6acf891d010994b3f3e483c1186ac4 | 47 | py | Python | scripts/eos.py | iwamura-lab/my_codes | 70140fe81b70d7ea4969c442771db40054cc109e | [
"MIT"
] | null | null | null | scripts/eos.py | iwamura-lab/my_codes | 70140fe81b70d7ea4969c442771db40054cc109e | [
"MIT"
] | null | null | null | scripts/eos.py | iwamura-lab/my_codes | 70140fe81b70d7ea4969c442771db40054cc109e | [
"MIT"
] | null | null | null | #!/usr/bin/env python
def main():
print()
| 9.4 | 21 | 0.574468 | 7 | 47 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 47 | 4 | 22 | 11.75 | 0.72973 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e67d3c0904d55580860a01b8aec29919befcd141 | 2,541 | py | Python | zephyr/zmake/tests/test_multiproc_executor.py | sjg20/ec | b9558d0a0aaca9dfb07ffb1eb915541bc2f6bf3b | [
"BSD-3-Clause"
] | null | null | null | zephyr/zmake/tests/test_multiproc_executor.py | sjg20/ec | b9558d0a0aaca9dfb07ffb1eb915541bc2f6bf3b | [
"BSD-3-Clause"
] | null | null | null | zephyr/zmake/tests/test_multiproc_executor.py | sjg20/ec | b9558d0a0aaca9dfb07ffb1eb915541bc2f6bf3b | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import threading
import zmake.multiproc
def test_single_function_executor_success():
executor = zmake.multiproc.Executor(fail_fast=True)
executo... | 32.164557 | 87 | 0.702086 | 355 | 2,541 | 4.864789 | 0.177465 | 0.113492 | 0.162131 | 0.173712 | 0.796178 | 0.717429 | 0.713955 | 0.713955 | 0.702374 | 0.661262 | 0 | 0.022825 | 0.172373 | 2,541 | 78 | 88 | 32.576923 | 0.798383 | 0.06218 | 0 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245614 | 1 | 0.105263 | false | 0 | 0.035088 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e682045e77c14755d9f46ff5b9456e3246d702a4 | 63 | py | Python | web/src/order/__init__.py | saurabh1e/SuperFlaskSeed | a533daee568ca349be8d9ef4a7a9d5065abb2324 | [
"MIT"
] | 11 | 2017-01-19T16:27:07.000Z | 2022-01-19T07:18:47.000Z | web/src/order/__init__.py | saurabh1e/SuperFlaskSeed | a533daee568ca349be8d9ef4a7a9d5065abb2324 | [
"MIT"
] | null | null | null | web/src/order/__init__.py | saurabh1e/SuperFlaskSeed | a533daee568ca349be8d9ef4a7a9d5065abb2324 | [
"MIT"
] | 6 | 2016-11-13T14:07:25.000Z | 2019-12-04T15:34:09.000Z | from . import models
from . import schemas
from . import views
| 15.75 | 21 | 0.761905 | 9 | 63 | 5.333333 | 0.555556 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 22 | 21 | 0.941176 | 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 |
e68922ecabcb31d230957ff7fdd9075afd62f86b | 3,031 | py | Python | propellent_03_function/parameter_GUI_file.py | yechong316/propellant | 41223679acf47f25dddda8aad8b7f5e0687abb49 | [
"Apache-2.0"
] | 3 | 2019-10-24T12:22:54.000Z | 2020-12-31T07:10:45.000Z | propellent_03_function/parameter_GUI_file.py | PandaJerrrrrrrry/propellant | 41223679acf47f25dddda8aad8b7f5e0687abb49 | [
"Apache-2.0"
] | null | null | null | propellent_03_function/parameter_GUI_file.py | PandaJerrrrrrrry/propellant | 41223679acf47f25dddda8aad8b7f5e0687abb49 | [
"Apache-2.0"
] | 2 | 2020-04-02T05:26:01.000Z | 2021-12-12T07:50:33.000Z | # -* - coding:UTF-8 -*-
#Start defining data for interfaces and text
class var_data:
def __init__(self):
self.var_data = 'GUI'
self.GUI_c_d = 1e-6
self.GUI_c_e = 23500
self.GUI_c_p = 0.33
self.GUI_c_c = 0.00043
self.GUI_c_s = 826
self.GUI_c_ep = ... | 23.866142 | 48 | 0.561201 | 492 | 3,031 | 3.128049 | 0.119919 | 0.254711 | 0.263808 | 0.309292 | 0.458739 | 0.064977 | 0 | 0 | 0 | 0 | 0 | 0.054555 | 0.358957 | 3,031 | 126 | 49 | 24.055556 | 0.737519 | 0.036292 | 0 | 0.243697 | 0 | 0 | 0.001075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.252101 | false | 0 | 0 | 0.243697 | 0.512605 | 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 |
e69f250438b37252f662714352e7b0c3efd5ab7f | 6,526 | py | Python | iai/networks.py | jradrion/i-against-i | f5066865c7ff6a243e359e16b378474380510d99 | [
"MIT"
] | 1 | 2020-01-07T04:17:30.000Z | 2020-01-07T04:17:30.000Z | iai/networks.py | jradrion/i-against-i | f5066865c7ff6a243e359e16b378474380510d99 | [
"MIT"
] | 2 | 2020-01-28T23:14:27.000Z | 2020-02-13T18:07:28.000Z | iai/networks.py | jradrion/i-against-i | f5066865c7ff6a243e359e16b378474380510d99 | [
"MIT"
] | null | null | null | '''
Authors: Jeff Adrion
'''
from iai.imports import *
#def iaiCNN_categorical_crossentropy(inputShape,y):
#
# haps,pos = inputShape
#
# numSNPs = haps[0].shape[0]
# numSamps = haps[0].shape[1]
# numPos = pos[0].shape[0]
#
# img_1_inputs = layers.Input(shape=(numSNPs,numSamps))
#
# h = layers.Conv1D... | 33.639175 | 173 | 0.644346 | 849 | 6,526 | 4.823322 | 0.134276 | 0.054701 | 0.042979 | 0.035165 | 0.875214 | 0.86105 | 0.855678 | 0.855678 | 0.849328 | 0.849328 | 0 | 0.042624 | 0.165952 | 6,526 | 193 | 174 | 33.813472 | 0.709719 | 0.369445 | 0 | 0.529412 | 0 | 0 | 0.063571 | 0.01192 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047059 | false | 0 | 0.011765 | 0 | 0.117647 | 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 |
fc46e0877551dbe2fce3a70fbdaefeaf66bd24fe | 43 | py | Python | spikeforest/spikeforestwidgets/templatewidget/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | 1 | 2021-09-23T01:07:19.000Z | 2021-09-23T01:07:19.000Z | spikeforest/spikeforestwidgets/templatewidget/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | null | null | null | spikeforest/spikeforestwidgets/templatewidget/__init__.py | mhhennig/spikeforest | 5b4507ead724af3de0be5d48a3b23aaedb0be170 | [
"Apache-2.0"
] | 1 | 2021-09-23T01:07:21.000Z | 2021-09-23T01:07:21.000Z | from .templatewidget import TemplateWidget
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 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 |
fc4acc4a756e6048fe0dd4b26b6aed94bcd3a0f0 | 70 | py | Python | build/lib/autovc/models/__init__.py | jlucete/ParallelWaveGAN-AutoVC | d2d2c2135587f5c1a221c23abb5724c0993f232b | [
"MIT"
] | null | null | null | build/lib/autovc/models/__init__.py | jlucete/ParallelWaveGAN-AutoVC | d2d2c2135587f5c1a221c23abb5724c0993f232b | [
"MIT"
] | null | null | null | build/lib/autovc/models/__init__.py | jlucete/ParallelWaveGAN-AutoVC | d2d2c2135587f5c1a221c23abb5724c0993f232b | [
"MIT"
] | null | null | null | from .autovc import * # NOQA
from .parallel_wavegan import * # NOQA
| 23.333333 | 39 | 0.714286 | 9 | 70 | 5.444444 | 0.666667 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 70 | 2 | 40 | 35 | 0.875 | 0.128571 | 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 |
fc4da6453bc79e87bea1625269e4448765c93c9a | 23 | py | Python | gxscalc/__init__.py | cycloawaodorin/gxscalc | 45b9f59b2d7cd47410ba67b87d31154bb5123752 | [
"MIT"
] | 3 | 2020-07-07T04:27:21.000Z | 2020-10-12T12:21:37.000Z | gxscalc/__init__.py | cycloawaodorin/gxscalc | 45b9f59b2d7cd47410ba67b87d31154bb5123752 | [
"MIT"
] | null | null | null | gxscalc/__init__.py | cycloawaodorin/gxscalc | 45b9f59b2d7cd47410ba67b87d31154bb5123752 | [
"MIT"
] | null | null | null | from .gxscalc import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fca8997b15e9e7851339cdcc919a0b3683917c5d | 769 | py | Python | TF.py | lisadratva/BIO-463 | 2f15ffbf2c29c0952548d2c006cfe0e58df02488 | [
"MIT"
] | null | null | null | TF.py | lisadratva/BIO-463 | 2f15ffbf2c29c0952548d2c006cfe0e58df02488 | [
"MIT"
] | null | null | null | TF.py | lisadratva/BIO-463 | 2f15ffbf2c29c0952548d2c006cfe0e58df02488 | [
"MIT"
] | null | null | null | # names of TFs to inspect in different formats needed for the code
TFs = ['GM12878|BRCA1|None',
'GM12801|CTCF|None',
'K562|E2F4|None',
'GM12878|c-Fos|None',
'HeLa-S3|IRF3|None',
'H1-hESC|SP4|None',
'GM12891|TAF1|None',
'K562|STAT2|IFNa6h',
'T-47D|ERalpha|Genistei... | 30.76 | 96 | 0.553966 | 96 | 769 | 4.416667 | 0.416667 | 0.075472 | 0.075472 | 0.108491 | 0.726415 | 0.726415 | 0.726415 | 0.726415 | 0.726415 | 0.726415 | 0 | 0.165541 | 0.230169 | 769 | 25 | 97 | 30.76 | 0.550676 | 0.083225 | 0 | 0 | 0 | 0 | 0.600852 | 0.085227 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d7a3a6c93c239478bc3988f9c8259b93834a2ab | 245 | py | Python | gym_pybullet_drones/envs/__init__.py | therealjtgill/gym-pybullet-drones | d813c0b22d7e1174e577eec42f98ea1dd2383ee6 | [
"MIT"
] | null | null | null | gym_pybullet_drones/envs/__init__.py | therealjtgill/gym-pybullet-drones | d813c0b22d7e1174e577eec42f98ea1dd2383ee6 | [
"MIT"
] | null | null | null | gym_pybullet_drones/envs/__init__.py | therealjtgill/gym-pybullet-drones | d813c0b22d7e1174e577eec42f98ea1dd2383ee6 | [
"MIT"
] | null | null | null | from gym_pybullet_drones.envs.CtrlAviary import CtrlAviary
from gym_pybullet_drones.envs.DynAviary import DynAviary
from gym_pybullet_drones.envs.VelocityAviary import VelocityAviary
from gym_pybullet_drones.envs.VisionAviary import VisionAviary | 61.25 | 66 | 0.906122 | 32 | 245 | 6.6875 | 0.3125 | 0.130841 | 0.280374 | 0.392523 | 0.46729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 245 | 4 | 67 | 61.25 | 0.930435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.