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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
875396509fb67856ffbf8603bcb702cbf0caf0ef | 7,105 | py | Python | tests/Unit/Evolution/Systems/RelativisticEuler/Valencia/BoundaryCorrections/Rusanov.py | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 117 | 2017-04-08T22:52:48.000Z | 2022-03-25T07:23:36.000Z | tests/Unit/Evolution/Systems/RelativisticEuler/Valencia/BoundaryCorrections/Rusanov.py | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 3,177 | 2017-04-07T21:10:18.000Z | 2022-03-31T23:55:59.000Z | tests/Unit/Evolution/Systems/RelativisticEuler/Valencia/BoundaryCorrections/Rusanov.py | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 85 | 2017-04-07T19:36:13.000Z | 2022-03-01T10:21:00.000Z | # Distributed under the MIT License.
# See LICENSE.txt for details.
import numpy as np
import Evolution.Systems.RelativisticEuler.Valencia.TestFunctions as valencia
def dg_package_data_tilde_d(
tilde_d, tilde_tau, tilde_s, flux_tilde_d, flux_tilde_tau, flux_tilde_s,
lapse, shift, spatial_metric, rest_mass_d... | 47.366667 | 78 | 0.734975 | 971 | 7,105 | 4.802266 | 0.095778 | 0.110015 | 0.092001 | 0.127386 | 0.83294 | 0.814497 | 0.790264 | 0.779112 | 0.760455 | 0.757881 | 0 | 0.006914 | 0.206052 | 7,105 | 149 | 79 | 47.684564 | 0.819713 | 0.017875 | 0 | 0.625 | 0 | 0 | 0.002724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.016667 | 0.05 | 0.216667 | 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 |
875a61cb4b0d6096e19e2fc6bba23b0311b1d7d0 | 20,063 | py | Python | tests/test_client.py | freshbooks/freshbooks-python-sdk | 62a3943a968819fc52aaeac7fee4575e177e8597 | [
"MIT"
] | 3 | 2020-12-14T18:40:16.000Z | 2021-11-27T14:55:48.000Z | tests/test_client.py | freshbooks/freshbooks-python-sdk | 62a3943a968819fc52aaeac7fee4575e177e8597 | [
"MIT"
] | 8 | 2020-12-17T10:51:32.000Z | 2021-12-14T15:45:23.000Z | tests/test_client.py | freshbooks/freshbooks-python-sdk | 62a3943a968819fc52aaeac7fee4575e177e8597 | [
"MIT"
] | 2 | 2020-12-14T16:31:02.000Z | 2021-08-04T19:23:41.000Z | from datetime import datetime
import json
from unittest.mock import patch
import httpretty
import pytest
from freshbooks import Client as FreshBooksClient
from freshbooks import FreshBooksError
from freshbooks.api.accounting import AccountingResource
from freshbooks.api.comments import CommentsResource, CommentsSubRes... | 46.016055 | 112 | 0.683946 | 2,236 | 20,063 | 5.80322 | 0.085868 | 0.043234 | 0.044544 | 0.060265 | 0.861051 | 0.850262 | 0.843018 | 0.797703 | 0.77443 | 0.720484 | 0 | 0.012424 | 0.20964 | 20,063 | 435 | 113 | 46.121839 | 0.80589 | 0.024822 | 0 | 0.55848 | 0 | 0 | 0.136841 | 0.03161 | 0 | 0 | 0 | 0 | 0.172515 | 1 | 0.061404 | false | 0 | 0.04386 | 0 | 0.111111 | 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 |
5e54972385b92cde578c8cdece6b9497781364d4 | 96 | py | Python | logonet_app/w-serve.py | jagadeesh-kotra/LogoNet | c47d63a963ba76576708511ad45e452e2cedd222 | [
"MIT"
] | 5 | 2019-07-25T14:47:05.000Z | 2021-10-31T13:00:46.000Z | logonet_app/w-serve.py | jagadeesh-kotra/LogoNet | c47d63a963ba76576708511ad45e452e2cedd222 | [
"MIT"
] | null | null | null | logonet_app/w-serve.py | jagadeesh-kotra/LogoNet | c47d63a963ba76576708511ad45e452e2cedd222 | [
"MIT"
] | 1 | 2019-07-09T17:21:06.000Z | 2019-07-09T17:21:06.000Z | from waitress import serve
import ln_main_app
serve(ln_main_app.app, host='0.0.0.0', port=8000)
| 24 | 49 | 0.78125 | 20 | 96 | 3.55 | 0.55 | 0.084507 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 0.09375 | 96 | 3 | 50 | 32 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0.072917 | 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 |
5eb16b730873710eef9df6ebefe0e1a6e2a904f4 | 96 | py | Python | src/utoolbox/transform/__init__.py | liuyenting/utoolbox-legacy | dfcb24701ca25a37a223cc3c14b4433e6c296bfd | [
"Apache-2.0"
] | 2 | 2020-09-03T06:22:14.000Z | 2020-10-04T10:14:56.000Z | src/utoolbox/transform/__init__.py | liuyenting/utoolbox-legacy | dfcb24701ca25a37a223cc3c14b4433e6c296bfd | [
"Apache-2.0"
] | null | null | null | src/utoolbox/transform/__init__.py | liuyenting/utoolbox-legacy | dfcb24701ca25a37a223cc3c14b4433e6c296bfd | [
"Apache-2.0"
] | null | null | null | from .imresize import *
#from .mip import *
#from .pyramids import *
#from .transpose import *
| 16 | 25 | 0.708333 | 12 | 96 | 5.666667 | 0.5 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177083 | 96 | 5 | 26 | 19.2 | 0.860759 | 0.677083 | 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 |
0d8ab696cc9dc5477fbdead406789ffe70f67e6a | 21 | py | Python | weight/visits/views/__init__.py | aleducode/lose_weightapp | 1210cf3104c0fc929509ff6e51337dbd2dfa157e | [
"MIT"
] | 3 | 2019-08-21T06:18:57.000Z | 2019-11-04T03:00:43.000Z | weight/visits/serializers/__init__.py | alejandroduquec/lose_weightapp | 1210cf3104c0fc929509ff6e51337dbd2dfa157e | [
"MIT"
] | 11 | 2019-12-20T17:17:27.000Z | 2022-03-12T00:09:01.000Z | weight/visits/views/__init__.py | SeptumDevs/lose_weightapp | 2c39ba45aa6aef37820b385c3060c83a73f8f910 | [
"MIT"
] | 2 | 2019-08-07T14:56:57.000Z | 2019-09-03T00:13:31.000Z | from .visits import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0ddd30b9175786708bd8ed7ebcec8d552e95b7ca | 48 | py | Python | users/models/__init__.py | lynnetsy/ms_users | d51bec4bb6326752889bc9e1ea1f6fb5ecef3cbb | [
"MIT"
] | null | null | null | users/models/__init__.py | lynnetsy/ms_users | d51bec4bb6326752889bc9e1ea1f6fb5ecef3cbb | [
"MIT"
] | null | null | null | users/models/__init__.py | lynnetsy/ms_users | d51bec4bb6326752889bc9e1ea1f6fb5ecef3cbb | [
"MIT"
] | null | null | null | from .model import Model
from .user import User
| 16 | 24 | 0.791667 | 8 | 48 | 4.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 25 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
21f89e4ddd390aa80edde17e7cf787e39f018a58 | 154 | py | Python | yaaf/agents/dqn/__init__.py | ilvieira/yaaf | 931bde3dbad521bf5fb2744793f54791ca7add11 | [
"Apache-2.0"
] | 18 | 2019-06-01T17:17:25.000Z | 2022-01-21T16:09:20.000Z | yaaf/agents/dqn/__init__.py | ilvieira/yaaf | 931bde3dbad521bf5fb2744793f54791ca7add11 | [
"Apache-2.0"
] | null | null | null | yaaf/agents/dqn/__init__.py | ilvieira/yaaf | 931bde3dbad521bf5fb2744793f54791ca7add11 | [
"Apache-2.0"
] | 2 | 2021-02-15T10:11:41.000Z | 2021-03-20T21:38:34.000Z | from yaaf.agents.dqn.DQNAgent import DQNAgent
from yaaf.agents.dqn.DQNAgent import MLPDQNAgent
from yaaf.agents.dqn.DQNAgent import DeepMindAtariDQNAgent
| 38.5 | 58 | 0.863636 | 21 | 154 | 6.333333 | 0.380952 | 0.180451 | 0.315789 | 0.383459 | 0.699248 | 0.699248 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 154 | 3 | 59 | 51.333333 | 0.93662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
df3ddf51259d657fc43f347b6e0f0c1dec459c26 | 160 | py | Python | player/__init__.py | JosselinSomervilleRoberts/SpeechBubbleSubtitles | a4467b042919f34fdd47648ae31af7df5247b6d1 | [
"MIT"
] | 1 | 2022-01-27T19:46:02.000Z | 2022-01-27T19:46:02.000Z | player/__init__.py | JosselinSomervilleRoberts/SpeechBubbleSubtitles | a4467b042919f34fdd47648ae31af7df5247b6d1 | [
"MIT"
] | null | null | null | player/__init__.py | JosselinSomervilleRoberts/SpeechBubbleSubtitles | a4467b042919f34fdd47648ae31af7df5247b6d1 | [
"MIT"
] | null | null | null | from player.videoPlayer import VideoPlayer
from player.videoPlayerWithBubbles import VideoPlayerWithBubbles
from player.videoPlayerMesh import VideoPlayerMesh | 53.333333 | 65 | 0.9 | 15 | 160 | 9.6 | 0.4 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08125 | 160 | 3 | 66 | 53.333333 | 0.979592 | 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 |
df429864f7b14b85bb5b4cafa152afe464b2aa61 | 133 | py | Python | clmm/__init__.py | lbaumo/CLMM | 678422fd173c27a2bad7017b0c095a7c833bbd32 | [
"BSD-3-Clause"
] | null | null | null | clmm/__init__.py | lbaumo/CLMM | 678422fd173c27a2bad7017b0c095a7c833bbd32 | [
"BSD-3-Clause"
] | null | null | null | clmm/__init__.py | lbaumo/CLMM | 678422fd173c27a2bad7017b0c095a7c833bbd32 | [
"BSD-3-Clause"
] | null | null | null | from .galaxycluster import *
from .gcdata import *
from .polaraveraging import *
from .profilemodelling import *
from . import lsst
| 19 | 31 | 0.774436 | 15 | 133 | 6.866667 | 0.466667 | 0.38835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 133 | 6 | 32 | 22.166667 | 0.919643 | 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 |
df6c154be9af00058d8372bc01a2e766e6950e29 | 32,868 | py | Python | src/hapPyTango/AttNotification/__init__.py | mguijarr/hapPyTango | 2506c8e83d93fbd2c0a0115983489d59c74caa2f | [
"MIT"
] | 1 | 2020-10-28T16:57:36.000Z | 2020-10-28T16:57:36.000Z | src/hapPyTango/AttNotification/__init__.py | mguijarr/hapPyTango | 2506c8e83d93fbd2c0a0115983489d59c74caa2f | [
"MIT"
] | null | null | null | src/hapPyTango/AttNotification/__init__.py | mguijarr/hapPyTango | 2506c8e83d93fbd2c0a0115983489d59c74caa2f | [
"MIT"
] | null | null | null | """ Module: IDL:att.com/AttNotification:1.0
Automagically generated by:-
The ORB called Fnorb v1.1.Return.of.Fnorb
"""
_FNORB_ID = "IDL:att.com/AttNotification:1.0"
# Fnorb modules.
import Fnorb.orb.CORBA
import Fnorb.orb.TypeManager
import Fnorb.orb.Util
# Alias: IDL:att.com/AttNotification/IactSeq:1.0
Fnorb.orb... | 46.423729 | 2,261 | 0.780577 | 2,709 | 32,868 | 9.374677 | 0.062385 | 0.009057 | 0.039691 | 0.105843 | 0.587927 | 0.576193 | 0.517759 | 0.372893 | 0.334108 | 0.317609 | 0 | 0.263106 | 0.128332 | 32,868 | 707 | 2,262 | 46.489392 | 0.623316 | 0.21419 | 0 | 0.510791 | 1 | 0 | 0.466138 | 0.458442 | 0 | 1 | 0 | 0 | 0 | 1 | 0.071942 | false | 0.07554 | 0.100719 | 0 | 0.438849 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
10d0f7e95d8bcd3b794892efd28748c521446d81 | 6,179 | py | Python | src/TeamProj/myapp/view/fileprivilege.py | DbettKK/1821-D4-backend | 3c06dc8080b64baaeb1d9e2663d7ac0277ea2155 | [
"MIT"
] | null | null | null | src/TeamProj/myapp/view/fileprivilege.py | DbettKK/1821-D4-backend | 3c06dc8080b64baaeb1d9e2663d7ac0277ea2155 | [
"MIT"
] | null | null | null | src/TeamProj/myapp/view/fileprivilege.py | DbettKK/1821-D4-backend | 3c06dc8080b64baaeb1d9e2663d7ac0277ea2155 | [
"MIT"
] | null | null | null | from rest_framework.views import APIView, Response
from myapp.models import User, File, UserBrowseFile, UserKeptFile, Team, Comment
from myapp.serializers import CommentSer, FileSer
from myapp.views import chk_token
from .userfile import chk_file_id
class SetPriviFile(APIView):
def post(self, request):
to... | 30.741294 | 80 | 0.486648 | 687 | 6,179 | 4.234352 | 0.114993 | 0.055689 | 0.105191 | 0.058783 | 0.797525 | 0.788587 | 0.756961 | 0.756961 | 0.741836 | 0.741836 | 0 | 0.029592 | 0.392944 | 6,179 | 200 | 81 | 30.895 | 0.745934 | 0.005179 | 0 | 0.823529 | 0 | 0 | 0.072905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032086 | false | 0 | 0.026738 | 0 | 0.240642 | 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 |
10e21e4da45c04da6110f5dc4a65f9d10a76975a | 39 | py | Python | axtoolbox/__init__.py | jcsgo/axtoolbox | cd4e433dbe224bf68f5f5ffbb481cf30e5aff5c1 | [
"MIT"
] | null | null | null | axtoolbox/__init__.py | jcsgo/axtoolbox | cd4e433dbe224bf68f5f5ffbb481cf30e5aff5c1 | [
"MIT"
] | null | null | null | axtoolbox/__init__.py | jcsgo/axtoolbox | cd4e433dbe224bf68f5f5ffbb481cf30e5aff5c1 | [
"MIT"
] | null | null | null | from .core import *
from .keys import * | 19.5 | 19 | 0.717949 | 6 | 39 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 2 | 20 | 19.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10fdb6dca3a86dff1081c09a5168caf90b9a8bbd | 4,794 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLES2/OES/texture_compression_astc.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLES2/OES/texture_compression_astc.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLES2/OES/texture_compression_astc.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C
... | 76.095238 | 132 | 0.895494 | 799 | 4,794 | 4.622028 | 0.151439 | 0.311942 | 0.207961 | 0.259951 | 0.847549 | 0.811265 | 0.451124 | 0 | 0 | 0 | 0 | 0.119862 | 0.035878 | 4,794 | 62 | 133 | 77.322581 | 0.679143 | 0.020859 | 0 | 0 | 1 | 0 | 0.390571 | 0.390571 | 0 | 0 | 0.062284 | 0 | 0 | 1 | 0.017544 | false | 0 | 0.105263 | 0.017544 | 0.140351 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
804b1a25ca96b35d8f8c71bc827f5a35e30fea2e | 41 | py | Python | projects/databricks-cli/test.py | fleimgruber/python | 2e735762c73651cffc027ca850b2a58d87d54b49 | [
"Unlicense"
] | 25 | 2021-10-30T19:54:59.000Z | 2022-03-29T06:11:02.000Z | projects/databricks-cli/test.py | fleimgruber/python | 2e735762c73651cffc027ca850b2a58d87d54b49 | [
"Unlicense"
] | 21 | 2021-10-19T01:09:38.000Z | 2022-03-24T16:08:53.000Z | projects/databricks-cli/test.py | fleimgruber/python | 2e735762c73651cffc027ca850b2a58d87d54b49 | [
"Unlicense"
] | 3 | 2022-01-25T20:25:13.000Z | 2022-03-08T02:58:50.000Z | import databricks_cli
import integration
| 13.666667 | 21 | 0.902439 | 5 | 41 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 2 | 22 | 20.5 | 0.972973 | 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 |
3379bd34a10cfa2a0dd3b45ca89e5a2f502fbd20 | 215 | py | Python | E-Boutique/src/product/admin.py | MDRCS/Fullstack-Django | 20cbae6e1b70d7051662b579e7967061e529d71f | [
"MIT"
] | null | null | null | E-Boutique/src/product/admin.py | MDRCS/Fullstack-Django | 20cbae6e1b70d7051662b579e7967061e529d71f | [
"MIT"
] | 19 | 2020-07-14T07:04:43.000Z | 2022-03-12T00:41:14.000Z | E-Boutique/src/product/admin.py | MDRCS/Fullstack-Django | 20cbae6e1b70d7051662b579e7967061e529d71f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Product, Category, Brand, ProductImages
admin.site.register(Product)
admin.site.register(Category)
admin.site.register(Brand)
admin.site.register(ProductImages)
| 26.875 | 59 | 0.827907 | 28 | 215 | 6.357143 | 0.428571 | 0.202247 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074419 | 215 | 7 | 60 | 30.714286 | 0.894472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
33829c5ce9d8017f12b87ff6ade2573165f5aee1 | 1,720 | py | Python | toir/formats/script/script/instructions/camera.py | FistingUranus/innocence-r | 786e1fca75155027e5875363f0b17e7c3cdefced | [
"MIT"
] | 2 | 2021-06-26T16:44:58.000Z | 2021-09-09T22:32:13.000Z | toir/formats/script/script/instructions/camera.py | FistingUranus/innocence-r | 786e1fca75155027e5875363f0b17e7c3cdefced | [
"MIT"
] | 4 | 2021-08-29T18:12:17.000Z | 2022-03-28T08:54:29.000Z | toir/formats/script/script/instructions/camera.py | FistingUranus/innocence-r | 786e1fca75155027e5875363f0b17e7c3cdefced | [
"MIT"
] | 3 | 2021-07-20T01:00:19.000Z | 2021-09-09T22:32:14.000Z | from . import ScriptInstruction, ScriptInstructionWithArgs
import struct
class ScriptCameraDefault(ScriptInstruction):
pass
class ScriptCameraLockRelease(ScriptInstruction):
pass
class ScriptCameraSet(ScriptInstructionWithArgs):
def __init__(self, opcode):
super().__init__('<B', opcode)
class Sc... | 28.196721 | 61 | 0.744767 | 140 | 1,720 | 8.578571 | 0.242857 | 0.233139 | 0.266445 | 0.29975 | 0.489592 | 0.489592 | 0.489592 | 0.362198 | 0.362198 | 0.263947 | 0 | 0 | 0.150581 | 1,720 | 60 | 62 | 28.666667 | 0.82204 | 0 | 0 | 0.522727 | 0 | 0 | 0.014535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0.136364 | 0.045455 | 0 | 0.636364 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
33977c33810486c32858470c043be702fab8ea3c | 109 | py | Python | app/cogs/blacklist/__init__.py | fossabot/Starboard-2 | 798e2d04995ae7d920e76708b9ea8fae6f4af319 | [
"MIT"
] | 16 | 2021-01-19T19:12:00.000Z | 2021-12-21T12:00:04.000Z | app/cogs/blacklist/__init__.py | Davi-the-Mudkip/Starboard-2 | 4de3c689ffef007e4f4a279251d107d890b69b15 | [
"MIT"
] | 15 | 2021-04-02T16:58:48.000Z | 2022-03-28T06:09:49.000Z | app/cogs/blacklist/__init__.py | Davi-the-Mudkip/Starboard-2 | 4de3c689ffef007e4f4a279251d107d890b69b15 | [
"MIT"
] | 13 | 2021-01-21T14:26:00.000Z | 2021-09-29T18:55:17.000Z | from app.classes.bot import Bot
from . import bl_commands
def setup(bot: Bot):
bl_commands.setup(bot)
| 13.625 | 31 | 0.733945 | 18 | 109 | 4.333333 | 0.5 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174312 | 109 | 7 | 32 | 15.571429 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d3665b4a1a2e43a597bed16a3b6448c58cbd1d4 | 52 | py | Python | rcnn/modeling/uv_rcnn/heads/__init__.py | rs9899/Parsing-R-CNN | a0c9ed8850abe740eedf8bfc6e1577cc0aa3fc7b | [
"MIT"
] | 289 | 2018-10-25T09:42:57.000Z | 2022-03-30T08:31:50.000Z | rcnn/modeling/uv_rcnn/heads/__init__.py | qzane/Parsing-R-CNN | 8c4d940dcd322bf7a8671f8b0faaabb3259bd384 | [
"MIT"
] | 28 | 2019-01-07T02:39:49.000Z | 2022-01-25T08:54:36.000Z | rcnn/modeling/uv_rcnn/heads/__init__.py | qzane/Parsing-R-CNN | 8c4d940dcd322bf7a8671f8b0faaabb3259bd384 | [
"MIT"
] | 44 | 2018-12-20T07:36:46.000Z | 2022-03-16T14:30:20.000Z | from .convx_heads import *
from .gce_heads import *
| 17.333333 | 26 | 0.769231 | 8 | 52 | 4.75 | 0.625 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 27 | 26 | 0.863636 | 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 |
1d5f8b3cfcddb2805f33de85f200898cf4dae7e7 | 44 | py | Python | code/norm/io/__init__.py | danilonumeroso/norm | aebe8c6e186723ed048ad0a9c44fbf9c3e45a78b | [
"MIT"
] | 1 | 2022-03-04T15:32:15.000Z | 2022-03-04T15:32:15.000Z | code/norm/io/__init__.py | danilonumeroso/norm | aebe8c6e186723ed048ad0a9c44fbf9c3e45a78b | [
"MIT"
] | null | null | null | code/norm/io/__init__.py | danilonumeroso/norm | aebe8c6e186723ed048ad0a9c44fbf9c3e45a78b | [
"MIT"
] | null | null | null | from ._save import dump, load # noqa: F401
| 22 | 43 | 0.704545 | 7 | 44 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.204545 | 44 | 1 | 44 | 44 | 0.771429 | 0.227273 | 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 |
1d76c56a35ee5a0d658b631333f29677facd30ab | 102 | py | Python | intvalpy/__init__.py | SShary/intvalpy | 42f4c8f6b23e6481f4032b0a0f7cc0d798fda3be | [
"MIT"
] | null | null | null | intvalpy/__init__.py | SShary/intvalpy | 42f4c8f6b23e6481f4032b0a0f7cc0d798fda3be | [
"MIT"
] | null | null | null | intvalpy/__init__.py | SShary/intvalpy | 42f4c8f6b23e6481f4032b0a0f7cc0d798fda3be | [
"MIT"
] | null | null | null | from .MyClass import Interval
from .intoper import *
from .linear import *
from .nonlinear import *
| 14.571429 | 29 | 0.754902 | 13 | 102 | 5.923077 | 0.538462 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 102 | 6 | 30 | 17 | 0.916667 | 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 |
d58a4069a1205f2b05ed9a4701040cbc53c300d4 | 203 | py | Python | yaml2sbml/__init__.py | alex-treebeard/yaml2sbml | 1afbc73b81f311e1eb852fde8b6760709639669a | [
"MIT"
] | null | null | null | yaml2sbml/__init__.py | alex-treebeard/yaml2sbml | 1afbc73b81f311e1eb852fde8b6760709639669a | [
"MIT"
] | null | null | null | yaml2sbml/__init__.py | alex-treebeard/yaml2sbml | 1afbc73b81f311e1eb852fde8b6760709639669a | [
"MIT"
] | null | null | null | from yaml2sbml.yaml2sbml import yaml2sbml
from yaml2sbml.yaml2PEtab import yaml2petab, validate_petab_tables
from yaml2sbml.yaml_validation import validate_yaml
from yaml2sbml.YamlModel import YamlModel
| 40.6 | 66 | 0.891626 | 25 | 203 | 7.08 | 0.4 | 0.293785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0.083744 | 203 | 4 | 67 | 50.75 | 0.908602 | 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 |
d59ea9aa03d8bdc8818ccecebd76da8cc739b696 | 74 | py | Python | tests/models.py | meshy/django-sans-db | ee52199adb12f4235f0a8744acc30d8aaa89ad67 | [
"MIT"
] | 3 | 2021-12-16T22:28:06.000Z | 2021-12-16T22:28:26.000Z | tests/models.py | meshy/django-sans-db | ee52199adb12f4235f0a8744acc30d8aaa89ad67 | [
"MIT"
] | null | null | null | tests/models.py | meshy/django-sans-db | ee52199adb12f4235f0a8744acc30d8aaa89ad67 | [
"MIT"
] | null | null | null | from django.db import models
class ExampleModel(models.Model):
pass
| 12.333333 | 33 | 0.756757 | 10 | 74 | 5.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 5 | 34 | 14.8 | 0.918033 | 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 |
63419a6d90aa7a881a5c1673fb52a0d9b1b4d3fe | 146 | py | Python | extoracle/__init__.py | pltrdy/extoracle_summarization | a7d94edc6d06f08aca7a25009c479ef89319e3af | [
"Apache-2.0"
] | 7 | 2020-08-12T10:56:00.000Z | 2022-01-28T21:14:44.000Z | extoracle/__init__.py | pltrdy/extoracle_summarization | a7d94edc6d06f08aca7a25009c479ef89319e3af | [
"Apache-2.0"
] | 2 | 2020-07-29T20:14:35.000Z | 2021-12-15T05:33:22.000Z | extoracle/__init__.py | pltrdy/extoracle_summarization | a7d94edc6d06f08aca7a25009c479ef89319e3af | [
"Apache-2.0"
] | 1 | 2020-10-23T16:05:09.000Z | 2020-10-23T16:05:09.000Z | import extoracle # noqa
import extoracle.utils # noqa
import extoracle.bin # noqa
from extoracle.extoracle import METHODS, from_files # noqa
| 24.333333 | 59 | 0.780822 | 19 | 146 | 5.947368 | 0.421053 | 0.39823 | 0.336283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 146 | 5 | 60 | 29.2 | 0.92623 | 0.130137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
636705baadb550a7532d3b7f2d79f7c8fa64ebdc | 28 | py | Python | shake2py/__init__.py | markreidvfx/shake2py | 8965727a3baf623e0b3c35a2c298142f80242550 | [
"MIT"
] | 1 | 2016-06-22T01:23:49.000Z | 2016-06-22T01:23:49.000Z | shake2py/__init__.py | markreidvfx/shake2py | 8965727a3baf623e0b3c35a2c298142f80242550 | [
"MIT"
] | null | null | null | shake2py/__init__.py | markreidvfx/shake2py | 8965727a3baf623e0b3c35a2c298142f80242550 | [
"MIT"
] | null | null | null | from script_parser import *
| 14 | 27 | 0.821429 | 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 |
639197a41a6d451910701e7fa819f6abed4aaa0e | 50 | py | Python | ocrsite/ocrlab/tests/__init__.py | mikesname/python-ocrlab | 435cc2548b38d92f8ffdc4bee8845f5a58d655ce | [
"MIT"
] | 4 | 2016-01-04T09:36:05.000Z | 2020-10-18T01:33:39.000Z | ocrsite/ocrlab/tests/__init__.py | mikesname/python-ocrlab | 435cc2548b38d92f8ffdc4bee8845f5a58d655ce | [
"MIT"
] | null | null | null | ocrsite/ocrlab/tests/__init__.py | mikesname/python-ocrlab | 435cc2548b38d92f8ffdc4bee8845f5a58d655ce | [
"MIT"
] | 3 | 2017-05-04T08:46:45.000Z | 2021-10-06T19:25:11.000Z |
from test_core import *
from test_nodes import *
| 12.5 | 24 | 0.78 | 8 | 50 | 4.625 | 0.625 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 50 | 3 | 25 | 16.666667 | 0.902439 | 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 |
63940635c5e7acfab8123b4c675728b636dbb35d | 32 | py | Python | houndify/__init__.py | oyeun/houndify | 559c1c5c9be678fa8d4f29e722d2e461d7cd5159 | [
"MIT"
] | null | null | null | houndify/__init__.py | oyeun/houndify | 559c1c5c9be678fa8d4f29e722d2e461d7cd5159 | [
"MIT"
] | null | null | null | houndify/__init__.py | oyeun/houndify | 559c1c5c9be678fa8d4f29e722d2e461d7cd5159 | [
"MIT"
] | null | null | null | from houndify.houndify import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 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 |
63b459186e50708df2ea53117aa9c2d459a390e9 | 44 | py | Python | qcodes/utils/__init__.py | nulinspiratie/Qcodes | d050d38ac83f532523a39549c3247dfa6096a36e | [
"MIT"
] | 2 | 2017-02-27T06:02:39.000Z | 2019-06-03T04:56:59.000Z | qcodes/utils/__init__.py | nulinspiratie/Qcodes | d050d38ac83f532523a39549c3247dfa6096a36e | [
"MIT"
] | 50 | 2017-04-12T04:03:15.000Z | 2022-03-09T00:41:43.000Z | qcodes/utils/__init__.py | nulinspiratie/Qcodes | d050d38ac83f532523a39549c3247dfa6096a36e | [
"MIT"
] | null | null | null | from .helpers import *
from .debug import *
| 14.666667 | 22 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 23 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89400dd27ad183fdf343400f5d8621570f2d42da | 5,458 | py | Python | utils/dataset.py | samiemostafavi/conditional-latency-probability-prediction | a196f2db8c6f30f8613797b6a23bffd77a01e1e3 | [
"MIT"
] | null | null | null | utils/dataset.py | samiemostafavi/conditional-latency-probability-prediction | a196f2db8c6f30f8613797b6a23bffd77a01e1e3 | [
"MIT"
] | null | null | null | utils/dataset.py | samiemostafavi/conditional-latency-probability-prediction | a196f2db8c6f30f8613797b6a23bffd77a01e1e3 | [
"MIT"
] | null | null | null | import numpy as np
import pyarrow as pa
import pyarrow.parquet as pq
import pyarrow.compute as pc
import tensorflow as tf
import tensorflow_io as tfio
def parquet_tf_pipeline(
file_addr,
feature_names,
label_name,
dataset_size,
train_size,
batch_size,
dtype=tf.float32,
):
# We prefetch ... | 34.544304 | 131 | 0.619641 | 759 | 5,458 | 4.295125 | 0.183136 | 0.030061 | 0.031902 | 0.033129 | 0.828834 | 0.819018 | 0.811963 | 0.811963 | 0.811963 | 0.811963 | 0 | 0.012626 | 0.27446 | 5,458 | 157 | 132 | 34.764331 | 0.810606 | 0.212166 | 0 | 0.677083 | 0 | 0 | 0.012028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.1875 | 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 |
89b2c76ff6bdb36e8b1787d6f3e9014856ae1f57 | 44 | py | Python | src/__init__.py | 0xffea/ray-rate-limiter | 0898a7813af87bba1f0fae42ea198e17931f1003 | [
"MIT"
] | null | null | null | src/__init__.py | 0xffea/ray-rate-limiter | 0898a7813af87bba1f0fae42ea198e17931f1003 | [
"MIT"
] | null | null | null | src/__init__.py | 0xffea/ray-rate-limiter | 0898a7813af87bba1f0fae42ea198e17931f1003 | [
"MIT"
] | null | null | null |
from .leaky_bucket import LeakyBucketActor
| 14.666667 | 42 | 0.863636 | 5 | 44 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 43 | 22 | 0.948718 | 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 |
9864249786cf44ebdab11a5c8680e377eeb4dee7 | 101 | py | Python | argparse_compat.py | gares/coq-tools | f270f5ad7e09661e191499bc028165e71300b157 | [
"MIT"
] | 31 | 2015-11-28T18:23:20.000Z | 2022-02-14T16:40:06.000Z | argparse_compat.py | gares/coq-tools | f270f5ad7e09661e191499bc028165e71300b157 | [
"MIT"
] | 88 | 2015-02-11T18:37:36.000Z | 2022-03-02T01:09:04.000Z | argparse_compat.py | gares/coq-tools | f270f5ad7e09661e191499bc028165e71300b157 | [
"MIT"
] | 5 | 2015-07-07T15:08:09.000Z | 2021-04-07T01:08:57.000Z | import sys
if sys.version_info < (3,):
import argparse_py2 as argparse
else:
import argparse
| 16.833333 | 35 | 0.722772 | 15 | 101 | 4.733333 | 0.666667 | 0.394366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.207921 | 101 | 5 | 36 | 20.2 | 0.8625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f2644e4b51ca3d29d0943c07e14ce3da4a78623 | 170 | py | Python | accounts/forms.py | VanWade/spinach | 1da5fe554e1572729c92fc6b0f39a50e286e50d2 | [
"Apache-2.0"
] | null | null | null | accounts/forms.py | VanWade/spinach | 1da5fe554e1572729c92fc6b0f39a50e286e50d2 | [
"Apache-2.0"
] | null | null | null | accounts/forms.py | VanWade/spinach | 1da5fe554e1572729c92fc6b0f39a50e286e50d2 | [
"Apache-2.0"
] | null | null | null | import re
from django import forms
from django.utils.translation import ugettext_lazy as _
from django.contrib.auth.models import User
from django.conf import settings
| 21.25 | 55 | 0.835294 | 26 | 170 | 5.384615 | 0.615385 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 170 | 7 | 56 | 24.285714 | 0.945946 | 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 |
7f5f389161ab9a2cd6a4612c725122cb7e67860c | 215 | py | Python | backend/chat_user_profile/admin.py | crowdbotics-apps/dsfs-28863 | fea2672275927bd37d23e2267273e0eae54340d2 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/chat_user_profile/admin.py | crowdbotics-apps/dsfs-28863 | fea2672275927bd37d23e2267273e0eae54340d2 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/chat_user_profile/admin.py | crowdbotics-apps/dsfs-28863 | fea2672275927bd37d23e2267273e0eae54340d2 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from django.contrib import admin
from .models import Profile, Contact, VerificationCode
admin.site.register(VerificationCode)
admin.site.register(Profile)
admin.site.register(Contact)
# Register your models here.
| 23.888889 | 54 | 0.823256 | 27 | 215 | 6.555556 | 0.481481 | 0.152542 | 0.288136 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 215 | 8 | 55 | 26.875 | 0.907692 | 0.12093 | 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 |
7f75c77d3c83283bd682402cd89d9cc661b4f2a9 | 25 | py | Python | bpemb/__init__.py | hartb/bpemb | c2f26483e61ccf8c169cd83bf316221c3226106c | [
"MIT"
] | 1,080 | 2017-10-09T14:04:42.000Z | 2022-03-24T06:10:56.000Z | bpemb/__init__.py | hartb/bpemb | c2f26483e61ccf8c169cd83bf316221c3226106c | [
"MIT"
] | 60 | 2017-10-11T18:46:07.000Z | 2021-12-09T09:15:05.000Z | bpemb/__init__.py | hartb/bpemb | c2f26483e61ccf8c169cd83bf316221c3226106c | [
"MIT"
] | 87 | 2017-10-27T09:18:00.000Z | 2022-03-20T00:43:39.000Z | from .bpemb import BPEmb
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f68ad151d2faecc23e208fbbd5db55d75173efe9 | 1,916 | py | Python | src/conductor/client/http/models/__init__.py | conductor-sdk/conductor-python | b3e4e0ae196f9963316a829fe42d9e7e01a390e2 | [
"Apache-2.0"
] | 3 | 2022-03-10T18:24:46.000Z | 2022-03-22T20:49:30.000Z | src/conductor/client/http/models/__init__.py | conductor-sdk/conductor-python | b3e4e0ae196f9963316a829fe42d9e7e01a390e2 | [
"Apache-2.0"
] | 6 | 2022-03-08T17:48:28.000Z | 2022-03-30T00:39:22.000Z | src/conductor/client/http/models/__init__.py | conductor-sdk/conductor-python | b3e4e0ae196f9963316a829fe42d9e7e01a390e2 | [
"Apache-2.0"
] | null | null | null | from conductor.client.http.models.action import Action
from conductor.client.http.models.bulk_response import BulkResponse
from conductor.client.http.models.event_handler import EventHandler
from conductor.client.http.models.external_storage_location import ExternalStorageLocation
from conductor.client.http.models.heal... | 68.428571 | 99 | 0.887265 | 251 | 1,916 | 6.633466 | 0.227092 | 0.210811 | 0.308108 | 0.372973 | 0.56997 | 0.413213 | 0.163363 | 0.112913 | 0 | 0 | 0 | 0 | 0.056367 | 1,916 | 27 | 100 | 70.962963 | 0.920907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f691ea5f2f8fc99d89c9ef6d51d9219dfc37103b | 123,636 | py | Python | examples/readJson.py | pexip/os-pyparsing | e7230e6d9dbd50defeb1c1f1f74296c0d4c8db42 | [
"MIT"
] | 1 | 2019-01-06T21:51:21.000Z | 2019-01-06T21:51:21.000Z | examples/readJson.py | pexip/os-pyparsing | e7230e6d9dbd50defeb1c1f1f74296c0d4c8db42 | [
"MIT"
] | 1 | 2019-08-24T21:25:49.000Z | 2019-08-26T22:44:40.000Z | examples/readJson.py | pexip/os-pyparsing | e7230e6d9dbd50defeb1c1f1f74296c0d4c8db42 | [
"MIT"
] | 2 | 2019-03-21T03:47:03.000Z | 2019-09-30T23:59:22.000Z | #~ url = "http://cmsdoc.cern.ch/cms/test/aprom/phedex/dev/gowri/datasvc/tbedi/requestDetails"
#~ params = {'format':'json'}
#~ import urllib
#~ eparams = urllib.urlencode(params)
#~ import urllib2
#~ request = urllib2.Request(url,eparams)
#~ response = urllib2.urlopen(request)
#~ s = response.read()
#~ response... | 64.494523 | 197 | 0.631653 | 13,325 | 123,636 | 5.718799 | 0.28728 | 0.247366 | 0.391586 | 0.000446 | 0.001863 | 0.001863 | 0.001863 | 0.001863 | 0.001863 | 0.001863 | 0 | 0.245115 | 0.061972 | 123,636 | 1,916 | 198 | 64.528184 | 0.411954 | 0.003324 | 0 | 0 | 0 | 0.000527 | 0.997535 | 0.436122 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000527 | 0 | 0.000527 | 0.002637 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 |
f6947cb95396093cc925da70a91acfb38312fda4 | 4,434 | py | Python | analysis/parabola.py | keflavich/W51_VLA-16B-202 | 4c743c5d001e097f1d184a550e6d21441ca02f2d | [
"BSD-3-Clause"
] | null | null | null | analysis/parabola.py | keflavich/W51_VLA-16B-202 | 4c743c5d001e097f1d184a550e6d21441ca02f2d | [
"BSD-3-Clause"
] | null | null | null | analysis/parabola.py | keflavich/W51_VLA-16B-202 | 4c743c5d001e097f1d184a550e6d21441ca02f2d | [
"BSD-3-Clause"
] | null | null | null | import os
from astropy.io import fits
from astropy import wcs
from astropy import units as u
import regions
import numpy as np
import pylab as pl
if not os.path.exists('W51e2w_ALMAB3_cutout.fits'):
fh = fits.open('/Users/adam/work/w51/alma/FITS/longbaseline/w51e2_sci.spw0_1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_... | 37.260504 | 162 | 0.684032 | 781 | 4,434 | 3.664533 | 0.193342 | 0.078267 | 0.041929 | 0.0587 | 0.803634 | 0.780573 | 0.739693 | 0.739693 | 0.716632 | 0.704053 | 0 | 0.073345 | 0.117501 | 4,434 | 118 | 163 | 37.576271 | 0.658063 | 0 | 0 | 0.572917 | 0 | 0.020833 | 0.177041 | 0.164862 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.072917 | 0 | 0.072917 | 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 |
f6bca771c67d05d17260d3b95312bf83a4073ad8 | 63 | py | Python | models/__init__.py | duylecampos/easy-alert | 2d30793223001b5a55b34507da0bd3d200716227 | [
"MIT"
] | 1 | 2018-02-23T10:13:50.000Z | 2018-02-23T10:13:50.000Z | models/__init__.py | duylecampos/easy-alert | 2d30793223001b5a55b34507da0bd3d200716227 | [
"MIT"
] | null | null | null | models/__init__.py | duylecampos/easy-alert | 2d30793223001b5a55b34507da0bd3d200716227 | [
"MIT"
] | null | null | null | from models.auth import Auth
from models.channel import Channel | 31.5 | 34 | 0.857143 | 10 | 63 | 5.4 | 0.5 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 63 | 2 | 34 | 31.5 | 0.964286 | 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 |
1007ddf9e529d01bcc7646bff1629ac7b421eb8e | 12,569 | py | Python | test/linkloading.py | Shapes/pisa-fix-django | 62d7a0c1639ed8e9a45b756c30480771311e1dae | [
"Apache-2.0"
] | 1 | 2017-04-26T17:50:10.000Z | 2017-04-26T17:50:10.000Z | test/linkloading.py | Shapes/pisa-fix-django | 62d7a0c1639ed8e9a45b756c30480771311e1dae | [
"Apache-2.0"
] | 5 | 2016-05-06T00:04:03.000Z | 2019-04-05T21:37:30.000Z | test/linkloading.py | Shapes/pisa-fix-django | 62d7a0c1639ed8e9a45b756c30480771311e1dae | [
"Apache-2.0"
] | 1 | 2020-07-20T13:53:15.000Z | 2020-07-20T13:53:15.000Z | # -*- coding: ISO-8859-1 -*-
# Copyright 2010 Dirk Holtwick, holtwick.it
#
# 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 requir... | 133.712766 | 9,883 | 0.705148 | 2,595 | 12,569 | 3.393834 | 0.341426 | 0.008175 | 0.004088 | 0.003633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200867 | 0.064046 | 12,569 | 93 | 9,884 | 135.150538 | 0.547773 | 0.053385 | 0 | 0.081633 | 0 | 0.142857 | 0.698517 | 0.684817 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.081633 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63e49d34613a460c644b0309a9709e16fbce1773 | 3,548 | py | Python | tests/test_routes.py | chrishoage/arrsync | b2410ba91e4101d1f1fc7266c038891c32780a3c | [
"MIT"
] | 1 | 2020-12-11T17:36:59.000Z | 2020-12-11T17:36:59.000Z | tests/test_routes.py | chrishoage/arrsync | b2410ba91e4101d1f1fc7266c038891c32780a3c | [
"MIT"
] | 6 | 2020-12-12T01:46:14.000Z | 2020-12-13T06:57:50.000Z | tests/test_routes.py | chrishoage/arrsync | b2410ba91e4101d1f1fc7266c038891c32780a3c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from contextlib import nullcontext as does_not_raise
from typing import Any, Union
import pytest
from arrsync import routes
from arrsync.common import JobType
@pytest.mark.parametrize(
"job_type,url,expected,excpetion",
[
(JobType.Sonarr, "http://host/", "api/v3/system/status"... | 33.471698 | 85 | 0.638952 | 442 | 3,548 | 5.002262 | 0.128959 | 0.056988 | 0.086839 | 0.058797 | 0.862053 | 0.832203 | 0.781095 | 0.781095 | 0.763003 | 0.616011 | 0 | 0.005176 | 0.183202 | 3,548 | 105 | 86 | 33.790476 | 0.757764 | 0.005637 | 0 | 0.47191 | 0 | 0 | 0.20017 | 0.083073 | 0 | 0 | 0 | 0 | 0.067416 | 1 | 0.067416 | false | 0 | 0.05618 | 0 | 0.123596 | 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 |
1218a6b5caf314b32e867d9861554e1585bf1478 | 96 | py | Python | venv/lib/python3.8/site-packages/setuptools/_distutils/command/bdist_msi.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/setuptools/_distutils/command/bdist_msi.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/setuptools/_distutils/command/bdist_msi.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/11/51/50/60dfd7f84c5e78ff2099d57d25c20db2e506b0b254cfd69f314d11b7c7 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1255869863f0958475601c5888a4c08ae7992711 | 26 | py | Python | python/module/b2d/testbed/backend/no_gui/__init__.py | pyb2d/pyb2d | 5d0f9f581d93c3681ee4f518a5d7fd6be900e695 | [
"MIT"
] | 26 | 2021-12-10T12:08:39.000Z | 2022-03-29T17:45:31.000Z | python/module/b2d/testbed/backend/no_gui/__init__.py | pyb2d/pyb2d | 5d0f9f581d93c3681ee4f518a5d7fd6be900e695 | [
"MIT"
] | 14 | 2021-11-18T23:58:55.000Z | 2022-01-06T09:44:58.000Z | python/module/b2d/testbed/backend/no_gui/__init__.py | DerThorsten/pybox2d | 5d0f9f581d93c3681ee4f518a5d7fd6be900e695 | [
"MIT"
] | 3 | 2021-12-16T05:52:12.000Z | 2021-12-21T08:58:54.000Z | from .no_gui import NoGui
| 13 | 25 | 0.807692 | 5 | 26 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1263b5f5967c9389ef80274028d29c5669b67ac0 | 154 | py | Python | cases/admin.py | MaxHarrington/ecasefile | 4b1621941ed1fbb56779d4264216df3ebe8949fe | [
"MIT"
] | 2 | 2018-06-18T03:29:15.000Z | 2020-07-26T19:22:33.000Z | cases/admin.py | MaxHarrington/ecasefile | 4b1621941ed1fbb56779d4264216df3ebe8949fe | [
"MIT"
] | null | null | null | cases/admin.py | MaxHarrington/ecasefile | 4b1621941ed1fbb56779d4264216df3ebe8949fe | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.db import models
from .models import Case, CaseFile
admin.site.register(Case)
admin.site.register(CaseFile)
| 22 | 34 | 0.818182 | 23 | 154 | 5.478261 | 0.478261 | 0.15873 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 154 | 6 | 35 | 25.666667 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
89cc254eb7f84bf9e7421b6ec0a4985db629ab0e | 67 | py | Python | sensors/light.py | dhvie/micropython-sensors | faf0e1965b6858a75b8864d0462fc121348dc889 | [
"MIT"
] | null | null | null | sensors/light.py | dhvie/micropython-sensors | faf0e1965b6858a75b8864d0462fc121348dc889 | [
"MIT"
] | null | null | null | sensors/light.py | dhvie/micropython-sensors | faf0e1965b6858a75b8864d0462fc121348dc889 | [
"MIT"
] | null | null | null | from .sensor import Sensor
class PhotoResistor(Sensor):
pass
| 11.166667 | 28 | 0.746269 | 8 | 67 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 5 | 29 | 13.4 | 0.925926 | 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 |
89d20874a9854fc4a37a4df24ca8d43e5012abdc | 122 | py | Python | apps/post/queries/_t_post.py | rmdes/tanzawa | d53baa10bd6c217cd18628437a88a43e3bd02b70 | [
"Apache-2.0"
] | 25 | 2021-06-13T03:38:44.000Z | 2022-03-15T15:53:31.000Z | apps/post/queries/_t_post.py | rmdes/tanzawa | d53baa10bd6c217cd18628437a88a43e3bd02b70 | [
"Apache-2.0"
] | 59 | 2021-06-12T23:35:06.000Z | 2022-03-24T21:40:24.000Z | apps/post/queries/_t_post.py | rmdes/tanzawa | d53baa10bd6c217cd18628437a88a43e3bd02b70 | [
"Apache-2.0"
] | null | null | null | from .. import models
def get_t_post_by_uuid(uuid: str) -> models.TPost:
return models.TPost.objects.get(uuid=uuid)
| 20.333333 | 50 | 0.737705 | 20 | 122 | 4.3 | 0.65 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 122 | 5 | 51 | 24.4 | 0.819048 | 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 |
89d943c5e9833c2e3aadd60ed22492f53f4fedc8 | 94 | py | Python | jupyterlab_bigquery/jupyterlab_bigquery/details_handler/__init__.py | shunr/jupyter-extensions | a2fb310215664e29fd7252e5fe353f60a91a0aba | [
"Apache-2.0"
] | null | null | null | jupyterlab_bigquery/jupyterlab_bigquery/details_handler/__init__.py | shunr/jupyter-extensions | a2fb310215664e29fd7252e5fe353f60a91a0aba | [
"Apache-2.0"
] | 1 | 2020-07-20T23:09:46.000Z | 2020-07-20T23:09:46.000Z | jupyterlab_bigquery/jupyterlab_bigquery/details_handler/__init__.py | shunr/jupyter-extensions | a2fb310215664e29fd7252e5fe353f60a91a0aba | [
"Apache-2.0"
] | null | null | null | from .details_handler import DatasetDetailsHandler, TableDetailsHandler, TablePreviewHandler
| 47 | 93 | 0.893617 | 7 | 94 | 11.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074468 | 94 | 1 | 94 | 94 | 0.954023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d60636b4a615db9faa8adb9308e288bebe3144fd | 25 | py | Python | pommerman/cli/__init__.py | alekseynp/playground | 523cc924fe9fd269a8eb3e29c45ace1c5c85b12c | [
"Apache-2.0"
] | 1 | 2019-01-04T13:36:04.000Z | 2019-01-04T13:36:04.000Z | pommerman/cli/__init__.py | alekseynp/playground | 523cc924fe9fd269a8eb3e29c45ace1c5c85b12c | [
"Apache-2.0"
] | null | null | null | pommerman/cli/__init__.py | alekseynp/playground | 523cc924fe9fd269a8eb3e29c45ace1c5c85b12c | [
"Apache-2.0"
] | 1 | 2018-03-21T15:21:52.000Z | 2018-03-21T15:21:52.000Z | from . import run_battle
| 12.5 | 24 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d61939055cc5db7bebcf8b311ac65eabd1670c6c | 44 | py | Python | src/010-summation-of-primes/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | 1 | 2018-01-26T21:18:12.000Z | 2018-01-26T21:18:12.000Z | src/010-summation-of-primes/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | 3 | 2017-12-09T14:49:30.000Z | 2017-12-09T14:59:39.000Z | src/010-summation-of-primes/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | null | null | null | import solver
print(solver.solve(2000000))
| 11 | 28 | 0.795455 | 6 | 44 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 0.090909 | 44 | 3 | 29 | 14.666667 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d61ebb3d64dec7d031633f6346c6289bd38ccbb2 | 9,902 | py | Python | examples/simple_expression/exp_definition.py | m-colombo/tf_tree | 10e22583d178b25067b13f3c989946b37731f23d | [
"MIT"
] | null | null | null | examples/simple_expression/exp_definition.py | m-colombo/tf_tree | 10e22583d178b25067b13f3c989946b37731f23d | [
"MIT"
] | 1 | 2019-09-10T14:45:47.000Z | 2019-09-10T14:45:47.000Z | examples/simple_expression/exp_definition.py | m-colombo/tf_tree | 10e22583d178b25067b13f3c989946b37731f23d | [
"MIT"
] | null | null | null | import random
from tensorflow_trees.definition import TreeDefinition, NodeDefinition, Tree
import tensorflow as tf
import typing as T
def create_num_value(max_value):
"""Build a Value class that handle numbers in [0, max_value] encoded as 1ofk"""
size = max_value + 1
class NumValue(NodeDefinition.Value)... | 37.65019 | 120 | 0.583216 | 1,179 | 9,902 | 4.685327 | 0.099237 | 0.052136 | 0.050688 | 0.028965 | 0.880159 | 0.867125 | 0.83092 | 0.830558 | 0.803946 | 0.795981 | 0 | 0.012319 | 0.311351 | 9,902 | 262 | 121 | 37.793893 | 0.797771 | 0.105837 | 0 | 0.670659 | 0 | 0 | 0.029033 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101796 | false | 0 | 0.023952 | 0.017964 | 0.371257 | 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 |
d6495f4d1362d68471caa416271d9afcbbdc1718 | 194 | py | Python | juniorPython/apps/api/admin.py | CatOnDrugs/junior-test | 7809d4726b7b39d5c0a69addc56aaf1e81d26bd7 | [
"MIT"
] | null | null | null | juniorPython/apps/api/admin.py | CatOnDrugs/junior-test | 7809d4726b7b39d5c0a69addc56aaf1e81d26bd7 | [
"MIT"
] | null | null | null | juniorPython/apps/api/admin.py | CatOnDrugs/junior-test | 7809d4726b7b39d5c0a69addc56aaf1e81d26bd7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Customer, Deal, Gem, DealCSV
admin.site.register(Gem)
admin.site.register(Customer)
admin.site.register(Deal)
admin.site.register(DealCSV)
| 21.555556 | 48 | 0.804124 | 28 | 194 | 5.571429 | 0.428571 | 0.230769 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087629 | 194 | 8 | 49 | 24.25 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c388a507754f1397f30d3c301e7a75b8357e990e | 47 | py | Python | chapter_2/comment.py | superbe/PythonCrashCourse | c8781f68b0e9e68e54d48cce5224ecb6a5625ae2 | [
"MIT"
] | null | null | null | chapter_2/comment.py | superbe/PythonCrashCourse | c8781f68b0e9e68e54d48cce5224ecb6a5625ae2 | [
"MIT"
] | null | null | null | chapter_2/comment.py | superbe/PythonCrashCourse | c8781f68b0e9e68e54d48cce5224ecb6a5625ae2 | [
"MIT"
] | null | null | null | # Упражнение 10.
print("Hello Python people!")
| 15.666667 | 29 | 0.723404 | 6 | 47 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.12766 | 47 | 2 | 30 | 23.5 | 0.780488 | 0.297872 | 0 | 0 | 0 | 0 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7f20190d77071ace9b1fbbe31f06c0a1b7708317 | 1,831 | bzl | Python | tensorflow/lite/core/shims/cc_library_with_tflite.bzl | koreybea/tensorflow | e252fffb16f2706688604dc91c426bae367ae5e8 | [
"Apache-2.0"
] | 6 | 2021-03-30T07:42:04.000Z | 2022-03-23T02:42:36.000Z | tensorflow/lite/core/shims/cc_library_with_tflite.bzl | koreybea/tensorflow | e252fffb16f2706688604dc91c426bae367ae5e8 | [
"Apache-2.0"
] | 7 | 2021-02-21T21:05:59.000Z | 2022-02-10T01:39:06.000Z | tensorflow/lite/core/shims/cc_library_with_tflite.bzl | koreybea/tensorflow | e252fffb16f2706688604dc91c426bae367ae5e8 | [
"Apache-2.0"
] | 4 | 2019-06-15T01:13:28.000Z | 2020-12-16T02:28:45.000Z | """Definitions for cc_library/cc_test targets that use the TFLite shims."""
def cc_library_with_tflite(
name,
deps = [],
tflite_deps = [],
**kwargs):
"""Defines a cc_library that uses the TFLite shims.
This is a hook to allow applying different build flags (etc.)
for target... | 31.568966 | 75 | 0.656472 | 252 | 1,831 | 4.638889 | 0.27381 | 0.06929 | 0.05988 | 0.068435 | 0.85201 | 0.85201 | 0.828058 | 0.773311 | 0.773311 | 0.708298 | 0 | 0 | 0.271436 | 1,831 | 57 | 76 | 32.122807 | 0.876312 | 0.702348 | 0 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.1 | 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 |
4ef0870989fc1798debd40dae361788aadaca50d | 4,122 | py | Python | src/api/tests/test_logging.py | Dabble-of-DevOps-Bio/ella | e38631d302611a143c9baaa684bcbd014d9734e4 | [
"MIT"
] | null | null | null | src/api/tests/test_logging.py | Dabble-of-DevOps-Bio/ella | e38631d302611a143c9baaa684bcbd014d9734e4 | [
"MIT"
] | null | null | null | src/api/tests/test_logging.py | Dabble-of-DevOps-Bio/ella | e38631d302611a143c9baaa684bcbd014d9734e4 | [
"MIT"
] | null | null | null | import datetime
import pytest
import json
from vardb.datamodel import log
from .util import FlaskClientProxy
@pytest.fixture
def client():
return FlaskClientProxy()
def test_resourcelog(client, test_database, session):
"""
Test that requests to the API are logged correctly in the 'requestloq' table.
... | 31.953488 | 87 | 0.670306 | 545 | 4,122 | 4.961468 | 0.225688 | 0.115385 | 0.044379 | 0.031065 | 0.767751 | 0.732618 | 0.720784 | 0.720784 | 0.720784 | 0.720784 | 0 | 0.016039 | 0.213489 | 4,122 | 128 | 88 | 32.203125 | 0.818014 | 0.110869 | 0 | 0.69 | 0 | 0 | 0.117679 | 0.044542 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.02 | false | 0.01 | 0.05 | 0.01 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f614dd5b74053d5be8eb1cfb2995b6aa3fcb9711 | 70 | py | Python | smi2img/__init__.py | KrisJanssen/smi2img | cd1d861375d87c2209c19bace0e0e21de02083c4 | [
"MIT"
] | null | null | null | smi2img/__init__.py | KrisJanssen/smi2img | cd1d861375d87c2209c19bace0e0e21de02083c4 | [
"MIT"
] | null | null | null | smi2img/__init__.py | KrisJanssen/smi2img | cd1d861375d87c2209c19bace0e0e21de02083c4 | [
"MIT"
] | null | null | null | from smi2img.smiles2img import SmilesEncoder
from smi2img import util
| 23.333333 | 44 | 0.871429 | 9 | 70 | 6.777778 | 0.666667 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0.114286 | 70 | 2 | 45 | 35 | 0.935484 | 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 |
f666ef2e649fec773c06fbcca21b972731707082 | 9,773 | py | Python | tests/test_resource_find.py | ColinKennedy/ways | 1eb44e4aa5e35fb839212cd8cb1c59c714ba10d3 | [
"MIT"
] | 2 | 2019-11-10T18:35:38.000Z | 2020-05-12T10:37:42.000Z | tests/test_resource_find.py | ColinKennedy/ways | 1eb44e4aa5e35fb839212cd8cb1c59c714ba10d3 | [
"MIT"
] | 5 | 2017-11-27T18:05:25.000Z | 2021-06-01T21:57:48.000Z | tests/test_resource_find.py | ColinKennedy/ways | 1eb44e4aa5e35fb839212cd8cb1c59c714ba10d3 | [
"MIT"
] | 1 | 2017-11-27T17:54:53.000Z | 2017-11-27T17:54:53.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''Tests for auto-finding Ways objects.'''
# IMPORT STANDARD LIBRARIES
import textwrap
# IMPORT WAYS LIBRARIES
import ways.api
# IMPORT LOCAL LIBRARIES
from . import common_test
class FindContextTestCase(common_test.ContextTestCase):
'''Test for whenever the user... | 32.685619 | 84 | 0.471708 | 830 | 9,773 | 5.362651 | 0.153012 | 0.074141 | 0.052572 | 0.059313 | 0.827679 | 0.822287 | 0.806336 | 0.777578 | 0.756235 | 0.756235 | 0 | 0.003047 | 0.429039 | 9,773 | 298 | 85 | 32.795302 | 0.794624 | 0.088202 | 0 | 0.69 | 0 | 0 | 0.089143 | 0 | 0 | 0 | 0 | 0 | 0.12 | 1 | 0.11 | false | 0 | 0.03 | 0 | 0.15 | 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 |
9ca8295ec324632475b58b8cf8818ecb2718831c | 37 | py | Python | mirage/convert/rails_model.py | fossabot/django-mirage | 814b3f2486af31f9dca42ef4bb0215655fe0aea6 | [
"Apache-2.0"
] | null | null | null | mirage/convert/rails_model.py | fossabot/django-mirage | 814b3f2486af31f9dca42ef4bb0215655fe0aea6 | [
"Apache-2.0"
] | null | null | null | mirage/convert/rails_model.py | fossabot/django-mirage | 814b3f2486af31f9dca42ef4bb0215655fe0aea6 | [
"Apache-2.0"
] | null | null | null |
def convert_rails_model():
pass
| 9.25 | 26 | 0.702703 | 5 | 37 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 37 | 3 | 27 | 12.333333 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2136f00b85ed9b87dd30bad6c33cff47274a183a | 254 | py | Python | geneticpython/models/__init__.py | ngocjr7/geneticpython | 4b4157523ce13b3da56cef61282cb0a984cd317b | [
"MIT"
] | null | null | null | geneticpython/models/__init__.py | ngocjr7/geneticpython | 4b4157523ce13b3da56cef61282cb0a984cd317b | [
"MIT"
] | null | null | null | geneticpython/models/__init__.py | ngocjr7/geneticpython | 4b4157523ce13b3da56cef61282cb0a984cd317b | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .tree import *
from .binary_individual import BinaryIndividual
from .float_individual import FloatIndividual
from .int_individual import IntIndividual
from .permutation_individual import PermutationIndividual
| 31.75 | 57 | 0.877953 | 28 | 254 | 7.642857 | 0.5 | 0.299065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098425 | 254 | 7 | 58 | 36.285714 | 0.934498 | 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 |
2138b62cca33db2d29f4a9f47dd6231b1ce16335 | 68 | py | Python | shelfcache/__init__.py | cristoper/feedfetch | 180aa2d02f9fa9ece93f72d9303a0cbc3b652b81 | [
"WTFPL"
] | 5 | 2020-01-23T04:16:35.000Z | 2021-04-13T02:11:43.000Z | shelfcache/__init__.py | cristoper/shelfcache | 180aa2d02f9fa9ece93f72d9303a0cbc3b652b81 | [
"WTFPL"
] | null | null | null | shelfcache/__init__.py | cristoper/shelfcache | 180aa2d02f9fa9ece93f72d9303a0cbc3b652b81 | [
"WTFPL"
] | null | null | null | from .cache_get import cache_get
from .shelfcache import ShelfCache
| 22.666667 | 34 | 0.852941 | 10 | 68 | 5.6 | 0.5 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 35 | 34 | 0.933333 | 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 |
dcc1031f17dbb3e77be4743be21e7a8191370cf8 | 12,478 | py | Python | bluebottle/initiatives/tests/test_states.py | jayvdb/bluebottle | 305fea238e6aa831598a8b227223a1a2f34c4fcc | [
"BSD-3-Clause"
] | null | null | null | bluebottle/initiatives/tests/test_states.py | jayvdb/bluebottle | 305fea238e6aa831598a8b227223a1a2f34c4fcc | [
"BSD-3-Clause"
] | null | null | null | bluebottle/initiatives/tests/test_states.py | jayvdb/bluebottle | 305fea238e6aa831598a8b227223a1a2f34c4fcc | [
"BSD-3-Clause"
] | null | null | null | from django.core import mail
from bluebottle.events.tests.factories import EventFactory
from bluebottle.funding.tests.factories import FundingFactory, BudgetLineFactory
from bluebottle.events.states import EventStateMachine
from bluebottle.funding.states import FundingStateMachine
from bluebottle.funding_stripe.tests.... | 32.750656 | 108 | 0.658759 | 1,153 | 12,478 | 7.019948 | 0.105811 | 0.150482 | 0.084013 | 0.089573 | 0.803435 | 0.789227 | 0.77403 | 0.767853 | 0.730912 | 0.681245 | 0 | 0.001294 | 0.257012 | 12,478 | 380 | 109 | 32.836842 | 0.871751 | 0 | 0 | 0.601286 | 0 | 0 | 0.015147 | 0 | 0 | 0 | 0 | 0 | 0.160772 | 1 | 0.080386 | false | 0 | 0.041801 | 0 | 0.125402 | 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 |
dccfe05f1674658a48bc0148b58a03d80352dc47 | 108 | py | Python | tests/test_dummy.py | ocefpaf/xroms | 763d6e678e28fe074e0aaab26fecd2b74e51a8b0 | [
"MIT"
] | 4 | 2020-01-21T21:24:17.000Z | 2020-10-02T03:09:32.000Z | tests/test_dummy.py | ocefpaf/xroms | 763d6e678e28fe074e0aaab26fecd2b74e51a8b0 | [
"MIT"
] | 1 | 2020-04-08T00:11:39.000Z | 2020-04-25T08:03:45.000Z | tests/test_dummy.py | ocefpaf/xroms | 763d6e678e28fe074e0aaab26fecd2b74e51a8b0 | [
"MIT"
] | 1 | 2020-04-06T06:42:36.000Z | 2020-04-06T06:42:36.000Z | # To be replaced with real tests soon
def test_imports():
import xroms
import xroms.roms_seawater
| 15.428571 | 37 | 0.731481 | 16 | 108 | 4.8125 | 0.875 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 108 | 6 | 38 | 18 | 0.916667 | 0.324074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 1 | 0 | 1.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dcd687de17901f15436467e5d2c335fe55d931d3 | 38,016 | py | Python | instances/passenger_demand/pas-20210421-2109-int18e/40.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/40.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/40.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 4114
passenger_arriving = (
(7, 11, 9, 4, 3, 0, 7, 12, 6, 2, 4, 0), # 0
(12, 8, 9, 4, 2, 0, 7, 11, 10, 5, 1, 0), # 1
(6, 14, 4, 8, 1, 0, 8, 13, 8, 6, 1, 0), # 2
(0, 14, 12, 1, 5, 0, 10, 7, 5, 6, 6, 0), # 3
(3, 8, 14, 5, 1, 0, 8, 16, 9, 4, 0, 0), # 4
(4, 13, 7, 7, 2, 0, 9... | 113.480597 | 213 | 0.730008 | 5,147 | 38,016 | 5.389742 | 0.235283 | 0.311452 | 0.246566 | 0.467179 | 0.328034 | 0.327097 | 0.327097 | 0.326448 | 0.326448 | 0.326448 | 0 | 0.819712 | 0.118739 | 38,016 | 334 | 214 | 113.820359 | 0.008328 | 0.031855 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dce20baeb74c1c17594309fed973d896e98ac4fd | 198 | py | Python | tests/conftest.py | immerrr/fastapi-security | f67023377f34a5821a3e8b6579a64d82e5d62647 | [
"MIT"
] | 46 | 2020-02-12T01:31:31.000Z | 2021-11-07T17:41:30.000Z | tests/conftest.py | immerrr/fastapi-security | f67023377f34a5821a3e8b6579a64d82e5d62647 | [
"MIT"
] | 6 | 2020-02-18T19:14:03.000Z | 2021-08-31T08:06:02.000Z | tests/conftest.py | immerrr/fastapi-security | f67023377f34a5821a3e8b6579a64d82e5d62647 | [
"MIT"
] | 5 | 2020-02-15T23:07:19.000Z | 2021-06-15T08:12:19.000Z | import pytest
from fastapi import FastAPI
from starlette.testclient import TestClient
@pytest.fixture
def app():
return FastAPI()
@pytest.fixture
def client(app):
return TestClient(app)
| 14.142857 | 43 | 0.762626 | 25 | 198 | 6.04 | 0.44 | 0.172185 | 0.211921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 198 | 13 | 44 | 15.230769 | 0.909639 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.222222 | 0.777778 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0d1dfc618bdf068eec75f2d5d1cebe69a2639169 | 99 | py | Python | aws_mock/requests/modify_vpc_attribute.py | enaydanov/aws_mock | 4ad3dca270ad164693e85741d5e92f845c34aa01 | [
"Apache-2.0"
] | null | null | null | aws_mock/requests/modify_vpc_attribute.py | enaydanov/aws_mock | 4ad3dca270ad164693e85741d5e92f845c34aa01 | [
"Apache-2.0"
] | null | null | null | aws_mock/requests/modify_vpc_attribute.py | enaydanov/aws_mock | 4ad3dca270ad164693e85741d5e92f845c34aa01 | [
"Apache-2.0"
] | null | null | null | from aws_mock.lib import aws_response
@aws_response
def modify_vpc_attribute() -> None:
pass
| 14.142857 | 37 | 0.767677 | 15 | 99 | 4.733333 | 0.8 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 6 | 38 | 16.5 | 0.855422 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0d37c1d5f1ecb4a0990dfd3104f97884e865a33a | 3,000 | py | Python | tests/test_optimizers/test_random_state.py | 0liu/Gradient-Free-Optimizers | d057bb5e2521cae3dd19737a57fe9412a166e380 | [
"MIT"
] | 860 | 2020-06-10T08:53:41.000Z | 2022-03-30T14:22:20.000Z | tests/test_optimizers/test_random_state.py | 0liu/Gradient-Free-Optimizers | d057bb5e2521cae3dd19737a57fe9412a166e380 | [
"MIT"
] | 24 | 2021-01-25T08:06:54.000Z | 2022-01-24T13:46:48.000Z | tests/test_optimizers/test_random_state.py | 0liu/Gradient-Free-Optimizers | d057bb5e2521cae3dd19737a57fe9412a166e380 | [
"MIT"
] | 52 | 2020-06-25T09:36:15.000Z | 2022-03-18T18:11:52.000Z | import pytest
import time
import numpy as np
import pandas as pd
from ._parametrize import optimizers
from surfaces.test_functions import AckleyFunction
ackkley_function = AckleyFunction()
def objective_function(para):
score = -(para["x0"] * para["x0"] + para["x1"] * para["x1"])
return score
search_spac... | 25.862069 | 69 | 0.676333 | 416 | 3,000 | 4.615385 | 0.132212 | 0.065104 | 0.028125 | 0.125 | 0.838021 | 0.838021 | 0.838021 | 0.838021 | 0.818229 | 0.818229 | 0 | 0.036431 | 0.185667 | 3,000 | 115 | 70 | 26.086957 | 0.749488 | 0 | 0 | 0.634146 | 0 | 0 | 0.057333 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 1 | 0.060976 | false | 0 | 0.073171 | 0 | 0.146341 | 0.04878 | 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 |
0d42f6f407fed73f39f8904143f0af697cedaeb9 | 148 | py | Python | beta/test/Constant_test.py | Odusseus/python | 98380cfab0f147fa0b3ac652006e11f482ebbcfc | [
"MIT"
] | null | null | null | beta/test/Constant_test.py | Odusseus/python | 98380cfab0f147fa0b3ac652006e11f482ebbcfc | [
"MIT"
] | null | null | null | beta/test/Constant_test.py | Odusseus/python | 98380cfab0f147fa0b3ac652006e11f482ebbcfc | [
"MIT"
] | null | null | null | import sys
import Constant
def test_Constant():
assert Constant.BLACK == 0
assert Constant.WHITE == 1
assert Constant.MAX_ELEMENT == 8
| 18.5 | 36 | 0.709459 | 20 | 148 | 5.15 | 0.65 | 0.407767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.209459 | 148 | 7 | 37 | 21.142857 | 0.854701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b4ba67eca8309774fed06d9292e0cfbf91d1fa11 | 26 | py | Python | terrascript/oneandone/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/oneandone/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/oneandone/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | """2019-05-28 10:50:07"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b4d9970ce36e8cb6231d8f23acc267d88c4dbfd1 | 163 | py | Python | contribauthproxy/admin.py | parksandwildlife/fdwfunhouse | f08d73e4cdd1cdc9e2df194f1da24f32d15c9cda | [
"Apache-2.0"
] | null | null | null | contribauthproxy/admin.py | parksandwildlife/fdwfunhouse | f08d73e4cdd1cdc9e2df194f1da24f32d15c9cda | [
"Apache-2.0"
] | null | null | null | contribauthproxy/admin.py | parksandwildlife/fdwfunhouse | f08d73e4cdd1cdc9e2df194f1da24f32d15c9cda | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import ForeignAuthUser, UserComment
# Register your models here.
admin.site.register([ForeignAuthUser, UserComment]) | 32.6 | 51 | 0.828221 | 19 | 163 | 7.105263 | 0.631579 | 0.385185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09816 | 163 | 5 | 51 | 32.6 | 0.918367 | 0.159509 | 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 | 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 |
2ec62b997f2dabc26d4589555ca51d04deda1a59 | 1,675 | py | Python | returns/pointfree.py | kenjihiraoka/returns | 4589973520d7226b18acd7295d1a9a10ff032759 | [
"BSD-2-Clause"
] | null | null | null | returns/pointfree.py | kenjihiraoka/returns | 4589973520d7226b18acd7295d1a9a10ff032759 | [
"BSD-2-Clause"
] | null | null | null | returns/pointfree.py | kenjihiraoka/returns | 4589973520d7226b18acd7295d1a9a10ff032759 | [
"BSD-2-Clause"
] | null | null | null | from returns._generated.pointfree.alt import _alt as alt
from returns._generated.pointfree.apply import _apply as apply
from returns._generated.pointfree.bind import _bind as bind
from returns._generated.pointfree.bind_async import _bind_async as bind_async
from returns._generated.pointfree.bind_async_future import (
... | 45.27027 | 80 | 0.849552 | 237 | 1,675 | 5.590717 | 0.092827 | 0.166038 | 0.301887 | 0.437736 | 0.439245 | 0.363019 | 0.13434 | 0 | 0 | 0 | 0 | 0 | 0.100299 | 1,675 | 36 | 81 | 46.527778 | 0.87923 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 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 |
2ec9a99ac635d763ac5f9cd3f2f34adc8b47aa1f | 10,835 | py | Python | test/jsonrpc/test_api.py | thomas-neuman/nkn-client-python | a64dd17fde55442c4904fe00a2448b9aeb734cf6 | [
"Apache-2.0"
] | null | null | null | test/jsonrpc/test_api.py | thomas-neuman/nkn-client-python | a64dd17fde55442c4904fe00a2448b9aeb734cf6 | [
"Apache-2.0"
] | null | null | null | test/jsonrpc/test_api.py | thomas-neuman/nkn-client-python | a64dd17fde55442c4904fe00a2448b9aeb734cf6 | [
"Apache-2.0"
] | null | null | null | import functools
import json
import responses
import unittest
import nkn_client.jsonrpc.api
class TestNknJsonRpcApi(unittest.TestCase):
def setUp(self):
self._host = "hostname"
self._api = nkn_client.jsonrpc.api.NknJsonRpcApi(self._host)
@responses.activate
def _with_rpc_response(self, method, resp_cb... | 30.181058 | 92 | 0.716105 | 1,238 | 10,835 | 5.921648 | 0.102585 | 0.01746 | 0.019643 | 0.022916 | 0.93848 | 0.931387 | 0.909971 | 0.899468 | 0.880371 | 0.847906 | 0 | 0.142377 | 0.176742 | 10,835 | 358 | 93 | 30.265363 | 0.679484 | 0 | 0 | 0.692308 | 0 | 0 | 0.163359 | 0.114444 | 0 | 0 | 0 | 0 | 0.097902 | 1 | 0.122378 | false | 0.003497 | 0.017483 | 0 | 0.160839 | 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 |
2eea938777461449dec408a567d3facef9077d5e | 17,736 | py | Python | ikasl/util/cluster_viewer.py | odigous-labs/self-learning-algorithm | 83fd7e3cbd0daab77ea94fc4bc21b28e2c510d19 | [
"Apache-2.0"
] | 6 | 2019-06-29T14:33:46.000Z | 2021-08-06T11:41:57.000Z | ikasl/util/cluster_viewer.py | odigous-labs/self-learning-algorithm | 83fd7e3cbd0daab77ea94fc4bc21b28e2c510d19 | [
"Apache-2.0"
] | null | null | null | ikasl/util/cluster_viewer.py | odigous-labs/self-learning-algorithm | 83fd7e3cbd0daab77ea94fc4bc21b28e2c510d19 | [
"Apache-2.0"
] | 5 | 2019-08-26T08:48:08.000Z | 2020-07-16T08:41:22.000Z | import numpy as np
from PIL import Image
import matplotlib.pyplot as plt
import random
class Viewer:
def __init__(self, image_files_root_folder, width, height, frame_sequence):
self.image_files_root_folder = image_files_root_folder
self.blank_image_filename = '../resources/blank.jpg'.replace('\\'... | 39.066079 | 199 | 0.628157 | 2,741 | 17,736 | 3.662897 | 0.122948 | 0.106972 | 0.071713 | 0.080677 | 0.812948 | 0.795817 | 0.774701 | 0.761355 | 0.754183 | 0.745817 | 0 | 0.069564 | 0.272158 | 17,736 | 453 | 200 | 39.152318 | 0.708188 | 0.051026 | 0 | 0.649231 | 0 | 0.018462 | 0.061507 | 0.008863 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061538 | false | 0 | 0.012308 | 0 | 0.126154 | 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 |
25a7354472da0203b667fda69378ed2c03101ab8 | 91 | py | Python | postblog/cli.py | machineandme/postblog | 5d9b547916eece4eb03438d709cdbb3c55562376 | [
"MIT"
] | 1 | 2019-12-29T00:12:22.000Z | 2019-12-29T00:12:22.000Z | postblog/cli.py | machineandme/postblog | 5d9b547916eece4eb03438d709cdbb3c55562376 | [
"MIT"
] | null | null | null | postblog/cli.py | machineandme/postblog | 5d9b547916eece4eb03438d709cdbb3c55562376 | [
"MIT"
] | null | null | null | from .interface import Interface
from fire import Fire
def main():
Fire(Interface())
| 13 | 32 | 0.725275 | 12 | 91 | 5.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186813 | 91 | 6 | 33 | 15.166667 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25fb96401e89cc827fe926947928dd959ec34e48 | 45 | py | Python | execquine.py | hanss314/random-stuff | 606c0393292e1ff08c99cdace16fecdcd7a2203b | [
"MIT"
] | null | null | null | execquine.py | hanss314/random-stuff | 606c0393292e1ff08c99cdace16fecdcd7a2203b | [
"MIT"
] | null | null | null | execquine.py | hanss314/random-stuff | 606c0393292e1ff08c99cdace16fecdcd7a2203b | [
"MIT"
] | null | null | null | x="print('x='+repr(x)+'\\nexec(x)')"
exec(x)
| 15 | 36 | 0.511111 | 9 | 45 | 2.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 45 | 2 | 37 | 22.5 | 0.534884 | 0 | 0 | 0 | 0 | 0 | 0.711111 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
25fce85b7730944fa39d7dcadd13c6b978a7b947 | 194 | py | Python | Server/Python/src/dbs/dao/MySQL/DatasetRun/Insert.py | vkuznet/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 8 | 2015-08-14T04:01:32.000Z | 2021-06-03T00:56:42.000Z | Server/Python/src/dbs/dao/MySQL/DatasetRun/Insert.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 162 | 2015-01-07T21:34:47.000Z | 2021-10-13T09:42:41.000Z | Server/Python/src/dbs/dao/MySQL/DatasetRun/Insert.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 16 | 2015-01-22T15:27:29.000Z | 2021-04-28T09:23:28.000Z | #!/usr/bin/env python
""" DAO Object for DatasetRuns table """
from dbs.dao.Oracle.DatasetRun.Insert import Insert as OraDatasetRunInsert
class Insert(OraDatasetRunInsert):
pass
| 21.555556 | 74 | 0.731959 | 23 | 194 | 6.173913 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 194 | 8 | 75 | 24.25 | 0.8875 | 0.278351 | 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 |
d36789f1c768d32f4cff3cc88138509367858e5a | 42 | py | Python | clygon/__init__.py | KrishayR/clygon | f6a2b1cfe9a423820392668bc05623deb0ab1ab7 | [
"MIT"
] | 1 | 2022-03-17T21:57:12.000Z | 2022-03-17T21:57:12.000Z | clygon/__init__.py | KrishayR/clygon | f6a2b1cfe9a423820392668bc05623deb0ab1ab7 | [
"MIT"
] | null | null | null | clygon/__init__.py | KrishayR/clygon | f6a2b1cfe9a423820392668bc05623deb0ab1ab7 | [
"MIT"
] | null | null | null | from clygon.shapes import Polygon, Circle
| 21 | 41 | 0.833333 | 6 | 42 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d372470d9e8a5bc36ece703efe5e0f650f7746d8 | 121 | py | Python | Logic/Logging/LoggerInterface.py | TahaNKhan/DeviceDetector | 46402510c40944a68d7e1b8ebcb7962da7609dbd | [
"MIT"
] | null | null | null | Logic/Logging/LoggerInterface.py | TahaNKhan/DeviceDetector | 46402510c40944a68d7e1b8ebcb7962da7609dbd | [
"MIT"
] | null | null | null | Logic/Logging/LoggerInterface.py | TahaNKhan/DeviceDetector | 46402510c40944a68d7e1b8ebcb7962da7609dbd | [
"MIT"
] | null | null | null | class LoggerInterface:
def log(self, to_log: str) -> None:
pass
def publish(self) -> None:
pass
| 17.285714 | 39 | 0.570248 | 15 | 121 | 4.533333 | 0.666667 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322314 | 121 | 6 | 40 | 20.166667 | 0.829268 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
d3969d8f20a941ec07dcffe96b016615c3748abf | 286 | py | Python | slam_recognition/util/attractor/__init__.py | SimLeek/pySILEnT | feec2d1fb654d7c8dc25f610916f4e9b202a1092 | [
"Apache-2.0",
"MIT"
] | 5 | 2018-11-18T17:35:59.000Z | 2019-02-13T20:25:58.000Z | slam_recognition/util/attractor/__init__.py | SimLeek/slam_recognition | feec2d1fb654d7c8dc25f610916f4e9b202a1092 | [
"Apache-2.0",
"MIT"
] | 12 | 2018-10-31T01:57:55.000Z | 2019-02-07T05:49:36.000Z | slam_recognition/util/attractor/__init__.py | SimLeek/pySILEnT | feec2d1fb654d7c8dc25f610916f4e9b202a1092 | [
"Apache-2.0",
"MIT"
] | null | null | null | from .log_attractor_function import log_attractor_function
from .piecewise_attractor_function import piecewise_attractor_function
from .euclidian_attractor_function import euclidian_attractor_function_generator
from .linear_attractor_function import linear_attractor_function_generator
| 57.2 | 80 | 0.93007 | 34 | 286 | 7.294118 | 0.264706 | 0.548387 | 0.370968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055944 | 286 | 4 | 81 | 71.5 | 0.918519 | 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 |
6ca6ad9054b568b254f6c5f63c4bcc1591f0cf26 | 37 | py | Python | Python/long awaited/1.py | domreddy/learning | 692c37367dc2463c9f154cca6236df7d36b6a6f8 | [
"MIT"
] | null | null | null | Python/long awaited/1.py | domreddy/learning | 692c37367dc2463c9f154cca6236df7d36b6a6f8 | [
"MIT"
] | null | null | null | Python/long awaited/1.py | domreddy/learning | 692c37367dc2463c9f154cca6236df7d36b6a6f8 | [
"MIT"
] | null | null | null | print('lets start with this already') | 37 | 37 | 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.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6cc2ff1e5de93abcdc0353fe0889d895a5509d82 | 18 | py | Python | pmatrix/__init__.py | hopkira/prioritymatrix-python | e42ec144f6e11dfbdc75c08de35079056123c0a7 | [
"Apache-2.0"
] | 1 | 2021-01-18T19:45:48.000Z | 2021-01-18T19:45:48.000Z | pmatrix/__init__.py | hopkira/prioritymatrix-python | e42ec144f6e11dfbdc75c08de35079056123c0a7 | [
"Apache-2.0"
] | 1 | 2020-12-10T00:43:11.000Z | 2020-12-10T03:02:13.000Z | pmatrix/__init__.py | hopkira/prioritymatrix-python | e42ec144f6e11dfbdc75c08de35079056123c0a7 | [
"Apache-2.0"
] | 3 | 2016-04-19T19:24:24.000Z | 2022-03-04T11:54:00.000Z | from pm import PM
| 9 | 17 | 0.777778 | 4 | 18 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6cc3770c456cd47f458ca6264a23c709ae0e1aa8 | 214 | py | Python | iteration_protocols.py | mammykins/pyfund | d7de8ae5be7a376dc4daca990f6f55c7e5f6d0be | [
"MIT"
] | null | null | null | iteration_protocols.py | mammykins/pyfund | d7de8ae5be7a376dc4daca990f6f55c7e5f6d0be | [
"MIT"
] | null | null | null | iteration_protocols.py | mammykins/pyfund | d7de8ae5be7a376dc4daca990f6f55c7e5f6d0be | [
"MIT"
] | null | null | null | iterable = ['spring', 'summer', 'autumn', 'winter']
print(iterable)
iterator = iter(iterable)
print(next(iterator))
print(next(iterator))
print(next(iterator))
print(next(iterator))
print(next(iterator))
| 21.4 | 52 | 0.700935 | 25 | 214 | 6 | 0.36 | 0.3 | 0.566667 | 0.586667 | 0.566667 | 0.566667 | 0.566667 | 0.566667 | 0.566667 | 0.566667 | 0 | 0 | 0.116822 | 214 | 9 | 53 | 23.777778 | 0.793651 | 0 | 0 | 0.625 | 0 | 0 | 0.117073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 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 |
9f0be19488b74f7f53b38901e00ff48cf87a6ef0 | 51 | py | Python | txt2txtgen/parse/__init__.py | kristianwoodsend/txt2txtgen | 711274db112821cb9f0e37885d8392e8e44a50e5 | [
"MIT"
] | 1 | 2018-11-03T08:04:21.000Z | 2018-11-03T08:04:21.000Z | txt2txtgen/parse/__init__.py | kristianwoodsend/txt2txtgen | 711274db112821cb9f0e37885d8392e8e44a50e5 | [
"MIT"
] | null | null | null | txt2txtgen/parse/__init__.py | kristianwoodsend/txt2txtgen | 711274db112821cb9f0e37885d8392e8e44a50e5 | [
"MIT"
] | null | null | null | import StanfordCoreNLP
import PhraseDependencyTree
| 17 | 27 | 0.921569 | 4 | 51 | 11.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 2 | 28 | 25.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f1ff8268d2c598520fc1239b5d51ce064eb37aa | 65 | py | Python | without-attrs/conanfile.py | grisumbras/conan-promote | f1d746bbd134f64af0d9f6b4cf6d579c99980a1f | [
"BSL-1.0"
] | 1 | 2020-02-02T16:39:43.000Z | 2020-02-02T16:39:43.000Z | without-attrs/conanfile.py | grisumbras/conan-promote | f1d746bbd134f64af0d9f6b4cf6d579c99980a1f | [
"BSL-1.0"
] | null | null | null | without-attrs/conanfile.py | grisumbras/conan-promote | f1d746bbd134f64af0d9f6b4cf6d579c99980a1f | [
"BSL-1.0"
] | null | null | null | from conans import ConanFile
class MyConan(ConanFile):
pass
| 13 | 28 | 0.769231 | 8 | 65 | 6.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 4 | 29 | 16.25 | 0.943396 | 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 |
9f2c41832424ecd8ef5b935f3fc0aede8a7e08e0 | 44,920 | py | Python | autoencoders/tower.py | pouyaAB/Accept_Synthetic_Objects_as_Real | 127172fbfbac0af01184eff8cabba3d6afd2ac0b | [
"MIT"
] | 6 | 2019-11-11T23:25:56.000Z | 2020-11-02T03:30:52.000Z | autoencoders/tower.py | pouyaAB/Accept_Synthetic_Objects_as_Real | 127172fbfbac0af01184eff8cabba3d6afd2ac0b | [
"MIT"
] | null | null | null | autoencoders/tower.py | pouyaAB/Accept_Synthetic_Objects_as_Real | 127172fbfbac0af01184eff8cabba3d6afd2ac0b | [
"MIT"
] | 1 | 2022-02-17T11:16:32.000Z | 2022-02-17T11:16:32.000Z | import math
import numpy as np
import chainer
import chainer.functions as F
import chainer.links as L
from chainer import cuda, Variable
from chainer.initializers import Normal
class text_encoder(chainer.Chain):
def __init__(self, latent_size=64, num_objects=10, num_descriptions=10):
super(text_encoder, se... | 57.812098 | 137 | 0.597796 | 6,189 | 44,920 | 4.190176 | 0.057037 | 0.031311 | 0.064204 | 0.072764 | 0.911696 | 0.904369 | 0.876489 | 0.858212 | 0.846836 | 0.832491 | 0 | 0.068697 | 0.282213 | 44,920 | 776 | 138 | 57.886598 | 0.735602 | 0.219101 | 0 | 0.698905 | 0 | 0 | 0.005628 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 1 | 0.036496 | false | 0 | 0.012774 | 0 | 0.089416 | 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 |
9f4fe0c4f3a5ac9ce68a404275e9cc1e94d8a418 | 19,124 | py | Python | tests/kind_test.py | globocom/globomap-loader-napi | a3621e1396c14730d131315ae50ce2d7c1228765 | [
"Apache-2.0"
] | 3 | 2017-08-31T13:35:49.000Z | 2019-07-11T11:37:21.000Z | tests/kind_test.py | globocom/globomap-loader-napi | a3621e1396c14730d131315ae50ce2d7c1228765 | [
"Apache-2.0"
] | 4 | 2017-09-06T22:34:49.000Z | 2019-07-11T12:33:12.000Z | tests/kind_test.py | globocom/globomap-loader-napi | a3621e1396c14730d131315ae50ce2d7c1228765 | [
"Apache-2.0"
] | 2 | 2017-09-06T20:46:33.000Z | 2019-07-11T12:12:38.000Z | """
Copyright 2018 Globo.com
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 writ... | 32.304054 | 93 | 0.624294 | 2,369 | 19,124 | 4.741241 | 0.061207 | 0.054487 | 0.10292 | 0.117521 | 0.919338 | 0.916578 | 0.899217 | 0.892628 | 0.871795 | 0.818198 | 0 | 0.011363 | 0.259099 | 19,124 | 591 | 94 | 32.358714 | 0.781354 | 0.048735 | 0 | 0.6691 | 0 | 0 | 0.261415 | 0.252405 | 0 | 0 | 0 | 0.001692 | 0.087591 | 1 | 0.126521 | false | 0 | 0.009732 | 0 | 0.145985 | 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 |
9f84c0e25bbbf25e6a86d84f4037159f082ecdde | 210 | py | Python | smartlearner/direction_modifiers/__init__.py | MarcCote/smartlearner | 0afdcd3b38dddfee16330b8324eb3b0e224f1c2b | [
"BSD-3-Clause"
] | null | null | null | smartlearner/direction_modifiers/__init__.py | MarcCote/smartlearner | 0afdcd3b38dddfee16330b8324eb3b0e224f1c2b | [
"BSD-3-Clause"
] | null | null | null | smartlearner/direction_modifiers/__init__.py | MarcCote/smartlearner | 0afdcd3b38dddfee16330b8324eb3b0e224f1c2b | [
"BSD-3-Clause"
] | null | null | null | from .decreasing_learning_rate import DecreasingLearningRate
from .constant_learning_rate import ConstantLearningRate
from .gradient_noise import GradientNoise
from .direction_clipping import DirectionClipping
| 42 | 60 | 0.904762 | 22 | 210 | 8.363636 | 0.636364 | 0.130435 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07619 | 210 | 4 | 61 | 52.5 | 0.948454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9fc354ba6c85b0179e6daf0943e469e3e7d83bc0 | 254 | py | Python | openmdp/scenarios/__init__.py | GAIPS/OpenMDP | 8f690a014e592a8206ec8d4a89155390658cd5d8 | [
"Apache-2.0"
] | null | null | null | openmdp/scenarios/__init__.py | GAIPS/OpenMDP | 8f690a014e592a8206ec8d4a89155390658cd5d8 | [
"Apache-2.0"
] | null | null | null | openmdp/scenarios/__init__.py | GAIPS/OpenMDP | 8f690a014e592a8206ec8d4a89155390658cd5d8 | [
"Apache-2.0"
] | null | null | null | from openmdp.scenarios.CliffWalkMDP import CliffWalkMDP
from openmdp.scenarios.DuoNavigationMDP import DuoNavigationMDP
from openmdp.scenarios.DuoNavigationPOMDP import DuoNavigationPOMDP
from openmdp.scenarios.WindyGridWorldMDP import WindyGridWorldMDP
| 50.8 | 67 | 0.905512 | 24 | 254 | 9.583333 | 0.333333 | 0.191304 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 254 | 4 | 68 | 63.5 | 0.966387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c9325e9de4df7fb7677a38ce0366cc3865f645e | 43 | py | Python | maestro/backends/mongo/contrib/__init__.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | maestro/backends/mongo/contrib/__init__.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | maestro/backends/mongo/contrib/__init__.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | from .factory import create_mongo_provider
| 21.5 | 42 | 0.883721 | 6 | 43 | 6 | 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 |
4cec1b3c4eb7fdace1878ef486b86741f0b5eaed | 93 | py | Python | lib/core/__init__.py | JohnEskimSmith/jarm | fc2bcbd6fd5c6587522a97d583b3985ccdcde406 | [
"BSD-3-Clause"
] | 2 | 2020-11-28T12:22:52.000Z | 2020-12-17T09:10:09.000Z | lib/core/__init__.py | JohnEskimSmith/jarm | fc2bcbd6fd5c6587522a97d583b3985ccdcde406 | [
"BSD-3-Clause"
] | null | null | null | lib/core/__init__.py | JohnEskimSmith/jarm | fc2bcbd6fd5c6587522a97d583b3985ccdcde406 | [
"BSD-3-Clause"
] | null | null | null | from .stats import *
from .templates import *
from .configs import *
from .jarm_calc import * | 23.25 | 24 | 0.752688 | 13 | 93 | 5.307692 | 0.538462 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 4 | 25 | 23.25 | 0.884615 | 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 |
4cf8a265f3dab4070d25b70d985201d4b26ee8b7 | 43 | py | Python | ardy/core/invoke/__init__.py | avara1986/ardy | 1942413f12e117b991278cada69f478474b9b94b | [
"Apache-2.0"
] | 3 | 2017-07-07T06:39:36.000Z | 2017-11-29T23:09:37.000Z | ardy/core/invoke/__init__.py | avara1986/ardy | 1942413f12e117b991278cada69f478474b9b94b | [
"Apache-2.0"
] | 3 | 2017-07-06T20:23:30.000Z | 2018-11-05T21:15:48.000Z | ardy/core/invoke/__init__.py | avara1986/ardy | 1942413f12e117b991278cada69f478474b9b94b | [
"Apache-2.0"
] | null | null | null | from ardy.core.invoke.invoke import Invoke
| 21.5 | 42 | 0.837209 | 7 | 43 | 5.142857 | 0.714286 | 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 |
e2388d1857d18d89e4c90be86639a6c4fed6b854 | 93 | py | Python | MyLibrary/__init__.py | lachlangrose/python_template | 9871a4ccd0e17fc87937a58e7753be54311eec9a | [
"MIT"
] | null | null | null | MyLibrary/__init__.py | lachlangrose/python_template | 9871a4ccd0e17fc87937a58e7753be54311eec9a | [
"MIT"
] | 16 | 2021-09-07T03:42:33.000Z | 2021-12-06T04:58:43.000Z | MyLibrary/__init__.py | lachlangrose/python_template | 9871a4ccd0e17fc87937a58e7753be54311eec9a | [
"MIT"
] | null | null | null | import importlib.metadata
__version__ = importlib.metadata.version('python_template')
# bump
| 23.25 | 59 | 0.827957 | 10 | 93 | 7.2 | 0.7 | 0.472222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 93 | 3 | 60 | 31 | 0.837209 | 0.043011 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e23b2843f8ee9cc97cad7dd37e90ad03adb2e0a5 | 12,620 | py | Python | ParamGenerator/Phoenics/BayesianNeuralNetwork/pymc3_interface_backup.py | Tabor-Research-Group/ChemOS | 50117f572e95e68dc4dccb624cedb28dbfc6e419 | [
"Apache-2.0"
] | 72 | 2018-01-19T21:08:38.000Z | 2022-03-26T08:44:49.000Z | ParamGenerator/Phoenics/BayesianNeuralNetwork/pymc3_interface_backup.py | Tabor-Research-Group/ChemOS | 50117f572e95e68dc4dccb624cedb28dbfc6e419 | [
"Apache-2.0"
] | 6 | 2018-12-14T02:44:51.000Z | 2022-02-16T08:01:12.000Z | ParamGenerator/Phoenics/BayesianNeuralNetwork/pymc3_interface_backup.py | Tabor-Research-Group/ChemOS | 50117f572e95e68dc4dccb624cedb28dbfc6e419 | [
"Apache-2.0"
] | 16 | 2018-06-20T11:34:30.000Z | 2022-01-07T17:51:22.000Z | #!/usr/bin/env python
__author__ = 'Florian Hase'
#========================================================================
import theano
import theano.tensor as T
import numpy as np
import pymc3 as pm
from Utils.utils import VarDictParser
from BayesianNeuralNetwork.distributions import DiscreteLaplace
#=======... | 41.788079 | 238 | 0.699683 | 1,896 | 12,620 | 4.412975 | 0.111814 | 0.053783 | 0.060237 | 0.020198 | 0.765268 | 0.732999 | 0.713278 | 0.713278 | 0.700849 | 0.700849 | 0 | 0.007998 | 0.14794 | 12,620 | 301 | 239 | 41.92691 | 0.770111 | 0.221712 | 0 | 0.71345 | 0 | 0 | 0.028235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.035088 | 0.046784 | 0.204678 | 0.046784 | 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 |
e2a74dbe11a69ce1123a5f493329b594d41cc68e | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/console/commands/config.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/console/commands/config.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/console/commands/config.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/e0/3c/d7/56913e00137a9bdab4e9cb1d3d22b887617c9d3eea1861f0c7cf25618b | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c5981046de830e6f0599bb7e5c886f933a60466 | 42 | py | Python | pywick/modules/__init__.py | achaiah/pywick | 9d663faf0c1660a9b8359a6472c164f658dfc8cb | [
"MIT"
] | 408 | 2019-05-16T16:12:41.000Z | 2022-03-26T17:27:12.000Z | pywick/modules/__init__.py | ashishpatel26/pywick | 1afffd1c21c2b188836d3599e802146182757bb5 | [
"MIT"
] | 13 | 2019-05-17T05:47:06.000Z | 2021-06-21T19:02:30.000Z | pywick/modules/__init__.py | ashishpatel26/pywick | 1afffd1c21c2b188836d3599e802146182757bb5 | [
"MIT"
] | 42 | 2019-05-16T19:57:12.000Z | 2022-03-06T15:23:18.000Z | from .module_trainer import ModuleTrainer
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 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 |
2c7d5c98364c1da8139d6a63051b9a8fe315209d | 336 | py | Python | insights/tests/test_canonical_facts.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | null | null | null | insights/tests/test_canonical_facts.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | null | null | null | insights/tests/test_canonical_facts.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | null | null | null | from insights.util.canonical_facts import _filter_falsy
def test_identity():
assert {"foo": "bar"} == _filter_falsy({"foo": "bar"})
def test_drops_none():
assert {"foo": "bar"} == _filter_falsy({"foo": "bar", "baz": None})
def test_drops_empty_list():
assert {"foo": "bar"} == _filter_falsy({"foo": "ba... | 24 | 71 | 0.627976 | 44 | 336 | 4.454545 | 0.431818 | 0.183673 | 0.183673 | 0.27551 | 0.47449 | 0.47449 | 0.47449 | 0.326531 | 0 | 0 | 0 | 0 | 0.14881 | 336 | 13 | 72 | 25.846154 | 0.685315 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
2c91c5815282c1bd5bfe35b399a12b07525fe604 | 8,257 | py | Python | hfnet/export_predictions.py | CaiYingFeng/hfnet | b430d0fb192fccbd42e6a19e06eeda5b805e2d1c | [
"MIT"
] | null | null | null | hfnet/export_predictions.py | CaiYingFeng/hfnet | b430d0fb192fccbd42e6a19e06eeda5b805e2d1c | [
"MIT"
] | null | null | null | hfnet/export_predictions.py | CaiYingFeng/hfnet | b430d0fb192fccbd42e6a19e06eeda5b805e2d1c | [
"MIT"
] | null | null | null | # import numpy as np
# import argparse
# import yaml
# import logging
# from pathlib import Path
# from tqdm import tqdm
# from pprint import pformat
# logging.basicConfig(format='[%(asctime)s %(levelname)s] %(message)s',
# datefmt='%m/%d/%Y %H:%M:%S',
# level=logging.INFO)
# fr... | 37.876147 | 91 | 0.603004 | 975 | 8,257 | 4.90359 | 0.151795 | 0.043296 | 0.039113 | 0.023426 | 0.848986 | 0.838318 | 0.807362 | 0.791257 | 0.775152 | 0.761347 | 0 | 0.008471 | 0.242219 | 8,257 | 217 | 92 | 38.050691 | 0.755634 | 0.43563 | 0 | 0.242105 | 0 | 0 | 0.23023 | 0.125847 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.157895 | 0 | 0.157895 | 0.052632 | 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 |
2cc3d0eb30bbd847b22f931349107c5d7600015f | 92 | py | Python | app/reviews/__init__.py | Tsmith18256/simploo-server | afecd96c87cf4f092d5e0373d1106babb3964461 | [
"MIT"
] | null | null | null | app/reviews/__init__.py | Tsmith18256/simploo-server | afecd96c87cf4f092d5e0373d1106babb3964461 | [
"MIT"
] | null | null | null | app/reviews/__init__.py | Tsmith18256/simploo-server | afecd96c87cf4f092d5e0373d1106babb3964461 | [
"MIT"
] | null | null | null | from flask import Blueprint
reviews = Blueprint('reviews', __name__)
from . import routes
| 15.333333 | 40 | 0.771739 | 11 | 92 | 6.090909 | 0.636364 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 92 | 5 | 41 | 18.4 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
e2f7703dd74c33f4de25381d82fbc2ab20e780e2 | 9,958 | py | Python | tests/amazon/aws/triggers/test_s3_triggers.py | astronomer/astronomer-providers | e19c656daab19f3e881f140495e2184c16eaafe0 | [
"Apache-2.0"
] | 27 | 2022-03-02T04:49:54.000Z | 2022-03-30T13:19:02.000Z | tests/amazon/aws/triggers/test_s3_triggers.py | astronomer/astronomer-providers | e19c656daab19f3e881f140495e2184c16eaafe0 | [
"Apache-2.0"
] | 92 | 2022-03-02T08:01:31.000Z | 2022-03-31T19:47:33.000Z | tests/amazon/aws/triggers/test_s3_triggers.py | astronomer/astronomer-providers | e19c656daab19f3e881f140495e2184c16eaafe0 | [
"Apache-2.0"
] | 2 | 2022-03-07T17:39:41.000Z | 2022-03-18T20:37:03.000Z | import asyncio
from datetime import datetime
from unittest import mock
import pytest
from airflow.triggers.base import TriggerEvent
from astronomer.providers.amazon.aws.triggers.s3 import (
S3KeySizeTrigger,
S3KeysUnchangedTrigger,
S3KeyTrigger,
S3PrefixTrigger,
)
def test_s3_key_trigger_serializati... | 37.29588 | 110 | 0.716409 | 1,248 | 9,958 | 5.455929 | 0.116987 | 0.044059 | 0.073432 | 0.082244 | 0.848876 | 0.814951 | 0.79483 | 0.780291 | 0.725804 | 0.712586 | 0 | 0.01302 | 0.167001 | 9,958 | 266 | 111 | 37.43609 | 0.807836 | 0.049106 | 0 | 0.521739 | 0 | 0 | 0.273973 | 0.174629 | 0 | 0 | 0 | 0 | 0.108696 | 1 | 0.038043 | false | 0 | 0.032609 | 0.005435 | 0.076087 | 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 |
392c581240800cad72d28f81242639c3bbfc185a | 79 | py | Python | robot/JavaLib/src/test/robotframework/acceptance/calculator.py | Zhou6ang/TA | 016db64c94bd7dae7b734795eb88b6a5ef0a6f2b | [
"Apache-2.0"
] | null | null | null | robot/JavaLib/src/test/robotframework/acceptance/calculator.py | Zhou6ang/TA | 016db64c94bd7dae7b734795eb88b6a5ef0a6f2b | [
"Apache-2.0"
] | null | null | null | robot/JavaLib/src/test/robotframework/acceptance/calculator.py | Zhou6ang/TA | 016db64c94bd7dae7b734795eb88b6a5ef0a6f2b | [
"Apache-2.0"
] | null | null | null | __author__ = 'ganzhou'
def result(input1,input2):
return input1+input2+1;
| 15.8 | 27 | 0.721519 | 10 | 79 | 5.3 | 0.8 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0.151899 | 79 | 4 | 28 | 19.75 | 0.716418 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3933cb5de0960b5b18fb3bf6a3144f2518edc267 | 92 | py | Python | notebooks/ipython-master/setupext/__init__.py | burkesquires/jupyter_training_2020 | 63505d9b8133f80330fe92a74b7641066dba420c | [
"MIT"
] | 2 | 2020-11-18T19:29:20.000Z | 2021-09-09T13:52:29.000Z | ipython-7.29.0/setupext/__init__.py | JohnLauFoo/clc_packages_Yu | 259f01d9b5c02154ce258734d519ae8995cd0991 | [
"MIT"
] | null | null | null | ipython-7.29.0/setupext/__init__.py | JohnLauFoo/clc_packages_Yu | 259f01d9b5c02154ce258734d519ae8995cd0991 | [
"MIT"
] | 2 | 2020-11-18T19:39:31.000Z | 2021-11-17T07:49:09.000Z | # load extended setup modules for distutils
from .install_data_ext import install_data_ext
| 23 | 46 | 0.847826 | 14 | 92 | 5.285714 | 0.785714 | 0.297297 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 3 | 47 | 30.666667 | 0.925 | 0.445652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1a48f9fe1024ca5b68910751dee2743bc1abb0ff | 100 | py | Python | http/http_site/url_dispatcher_app/views.py | domenicosolazzo/practice-django | 44e74c973384c38bd71e7c8a1aacd1e10d6a6893 | [
"MIT"
] | null | null | null | http/http_site/url_dispatcher_app/views.py | domenicosolazzo/practice-django | 44e74c973384c38bd71e7c8a1aacd1e10d6a6893 | [
"MIT"
] | 2 | 2021-06-10T19:42:02.000Z | 2021-06-10T19:50:52.000Z | http/http_site/url_dispatcher_app/views.py | domenicosolazzo/practice-django | 44e74c973384c38bd71e7c8a1aacd1e10d6a6893 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def page(request, num="1"):
pass
| 16.666667 | 35 | 0.72 | 15 | 100 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.18 | 100 | 5 | 36 | 20 | 0.865854 | 0.23 | 0 | 0 | 0 | 0 | 0.013333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1a6372d4e155397761608f8acbcee405e59e107d | 17,688 | py | Python | traffic_control/tests/test_operational_area_api_permission.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 2 | 2020-11-23T22:08:58.000Z | 2022-03-02T13:13:20.000Z | traffic_control/tests/test_operational_area_api_permission.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 170 | 2019-12-31T13:37:04.000Z | 2022-03-12T14:03:35.000Z | traffic_control/tests/test_operational_area_api_permission.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 3 | 2020-05-08T05:58:02.000Z | 2022-03-15T16:07:25.000Z | import json
import pytest
from django.conf import settings
from django.contrib.auth.models import Permission
from django.contrib.gis.geos import MultiPolygon, Point, Polygon
from django.urls import reverse
from django.utils.translation import gettext_lazy as _
from rest_framework import status
from traffic_control im... | 39.394209 | 88 | 0.66107 | 1,969 | 17,688 | 5.55612 | 0.083799 | 0.069104 | 0.078062 | 0.098995 | 0.847715 | 0.834095 | 0.824954 | 0.817916 | 0.817916 | 0.808775 | 0 | 0.014903 | 0.21851 | 17,688 | 448 | 89 | 39.482143 | 0.776532 | 0.000565 | 0 | 0.685851 | 0 | 0 | 0.175888 | 0.023365 | 0 | 0 | 0 | 0 | 0.057554 | 1 | 0.01199 | false | 0 | 0.026379 | 0 | 0.038369 | 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 |
1a7bf38c2082dde45ff73103e533406fa131ed4e | 140 | py | Python | cacheman/utils.py | Jenyay/py_cache_manager | aa7fa33dcbc30dbd6b2e62cade5f371f6dbbe2cb | [
"BSD-2-Clause"
] | null | null | null | cacheman/utils.py | Jenyay/py_cache_manager | aa7fa33dcbc30dbd6b2e62cade5f371f6dbbe2cb | [
"BSD-2-Clause"
] | 5 | 2015-02-18T22:17:52.000Z | 2018-01-23T05:30:09.000Z | cacheman/utils.py | Jenyay/py_cache_manager | aa7fa33dcbc30dbd6b2e62cade5f371f6dbbe2cb | [
"BSD-2-Clause"
] | 2 | 2021-05-31T15:18:50.000Z | 2022-01-15T16:50:25.000Z | import string
import random
def random_name(length = 18):
return ''.join(random.choice(string.ascii_uppercase) for _ in range(length))
| 23.333333 | 80 | 0.757143 | 20 | 140 | 5.15 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0.135714 | 140 | 5 | 81 | 28 | 0.834711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.