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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fea4bdd656610a513a9bc616fa608e87bd242fcb | 23,000 | py | Python | sdk/python/pulumi_azure/kusto/database.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/kusto/database.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/kusto/database.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 48.625793 | 269 | 0.66587 | 2,925 | 23,000 | 5.042051 | 0.073162 | 0.065636 | 0.075943 | 0.071603 | 0.892867 | 0.874491 | 0.862625 | 0.848318 | 0.838826 | 0.838826 | 0 | 0.01449 | 0.24087 | 23,000 | 472 | 270 | 48.728814 | 0.830183 | 0.430304 | 0 | 0.716 | 1 | 0 | 0.100506 | 0.004216 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0.004 | 0.02 | 0 | 0.276 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
22861b07e3cef96cb439ea58bef2e2188c540d64 | 7,748 | py | Python | python/paddle/fluid/tests/unittests/test_complex_matmul.py | jiushinakecai/Paddle | 40f9dbd26e6cda139795307c35e194270358d063 | [
"Apache-2.0"
] | 1 | 2020-12-03T05:11:47.000Z | 2020-12-03T05:11:47.000Z | python/paddle/fluid/tests/unittests/test_complex_matmul.py | jiushinakecai/Paddle | 40f9dbd26e6cda139795307c35e194270358d063 | [
"Apache-2.0"
] | null | null | null | python/paddle/fluid/tests/unittests/test_complex_matmul.py | jiushinakecai/Paddle | 40f9dbd26e6cda139795307c35e194270358d063 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | 37.61165 | 78 | 0.527491 | 983 | 7,748 | 3.982706 | 0.132248 | 0.015837 | 0.10728 | 0.068966 | 0.831418 | 0.829374 | 0.817625 | 0.800766 | 0.712388 | 0.674074 | 0 | 0.041997 | 0.348477 | 7,748 | 205 | 79 | 37.795122 | 0.733558 | 0.075245 | 0 | 0.760234 | 0 | 0 | 0.030494 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 1 | 0.087719 | false | 0 | 0.02924 | 0 | 0.128655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
22bed2fa5353759031a15b4af07e1efff1c13ec0 | 68,637 | py | Python | benchmarks/SimResults/micro_pinned_train_combos/cmpB_bwavesgcccactusADMmilc/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/micro_pinned_train_combos/cmpB_bwavesgcccactusADMmilc/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/micro_pinned_train_combos/cmpB_bwavesgcccactusADMmilc/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.095186 | 124 | 0.682081 | 8,091 | 68,637 | 5.78025 | 0.067853 | 0.123503 | 0.112898 | 0.093397 | 0.938719 | 0.931427 | 0.918406 | 0.886867 | 0.862641 | 0.842307 | 0 | 0.132066 | 0.224238 | 68,637 | 914 | 125 | 75.095186 | 0.746272 | 0 | 0 | 0.642232 | 0 | 0 | 0.657143 | 0.048078 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
22c34e0898f94573fff407bbdbcdd9b484150aaa | 30,135 | py | Python | recipes/test_views.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | null | null | null | recipes/test_views.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | 3 | 2020-01-02T20:17:06.000Z | 2020-01-04T21:13:09.000Z | recipes/test_views.py | UW-GAC/pie | 89ae277f5ba1357580d78c3527f26200686308a6 | [
"MIT"
] | 1 | 2021-10-29T22:15:27.000Z | 2021-10-29T22:15:27.000Z | """Test the functions and classes for recipes.views."""
from django.contrib.auth.models import Group
from django.urls import reverse
from core.factories import UserFactory, SuperUserFactory, USER_FACTORY_PASSWORD
from core.utils import (DCCAnalystLoginTestCase, DCCDeveloperLoginTestCase, LoginRequiredTestCase,
... | 51.956897 | 147 | 0.679841 | 3,486 | 30,135 | 5.72117 | 0.069134 | 0.049138 | 0.059567 | 0.065283 | 0.881117 | 0.865975 | 0.839551 | 0.817639 | 0.792619 | 0.779382 | 0 | 0.009675 | 0.211117 | 30,135 | 579 | 148 | 52.046632 | 0.82926 | 0.146408 | 0 | 0.762125 | 0 | 0.018476 | 0.115295 | 0.037249 | 0 | 0 | 0 | 0 | 0.200924 | 1 | 0.117783 | false | 0.039261 | 0.016166 | 0 | 0.150115 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
fe1eb5b113fa7b6fdd1684a062b6b8779a35a5cb | 42,352 | py | Python | profile_page/api/tests_api.py | Plongesam/data-structures-game | a47c849ea97763eff1005273a58aa3d8ab663ff2 | [
"Apache-2.0"
] | 2 | 2021-03-02T20:06:34.000Z | 2021-03-31T02:51:35.000Z | profile_page/api/tests_api.py | Plongesam/data-structures-game | a47c849ea97763eff1005273a58aa3d8ab663ff2 | [
"Apache-2.0"
] | 68 | 2021-03-02T20:20:21.000Z | 2021-05-13T02:21:57.000Z | profile_page/api/tests_api.py | Plongesam/data-structures-game | a47c849ea97763eff1005273a58aa3d8ab663ff2 | [
"Apache-2.0"
] | null | null | null | """
Run: python manage.py test profile_page.api.tests_api
Reference: https://www.django-rest-framework.org/api-guide/testing/
"""
from time import sleep
import uuid
from django.test import TestCase
from game_board.database import game_board_db as game_db
from profile_page.database import profile_page_db as profile_db
... | 45.885157 | 120 | 0.601766 | 5,330 | 42,352 | 4.633959 | 0.055159 | 0.040164 | 0.034981 | 0.037653 | 0.852626 | 0.824284 | 0.785457 | 0.769869 | 0.731406 | 0.684036 | 0 | 0.014184 | 0.265891 | 42,352 | 922 | 121 | 45.934924 | 0.780226 | 0.13435 | 0 | 0.660211 | 0 | 0.022887 | 0.35429 | 0.183034 | 0 | 0 | 0 | 0.001085 | 0.109155 | 1 | 0.089789 | false | 0.181338 | 0.008803 | 0 | 0.137324 | 0.109155 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
a3b23f360e0455db0e903b5fb0d64e33da2ba0a6 | 126 | py | Python | ai-safety-debate/agent/__init__.py | david-lindner/ai-safety-debate | f291a0873548cade5b3f37ee7c57c2430f333e9c | [
"Apache-2.0"
] | 2 | 2019-10-09T12:14:50.000Z | 2020-02-13T13:27:48.000Z | ai-safety-debate/agent/__init__.py | david-lindner/ai-safety-debate | f291a0873548cade5b3f37ee7c57c2430f333e9c | [
"Apache-2.0"
] | 17 | 2019-05-01T07:55:57.000Z | 2019-06-07T15:11:50.000Z | ai-safety-debate/agent/__init__.py | david-lindner/ai-safety-debate | f291a0873548cade5b3f37ee7c57c2430f333e9c | [
"Apache-2.0"
] | null | null | null | from .debate_agent import DebateAgent
from .debate_agent import DebatePlayers
from .debate_classifier import DebateClassifier
| 31.5 | 47 | 0.880952 | 15 | 126 | 7.2 | 0.533333 | 0.277778 | 0.277778 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 126 | 3 | 48 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
a3cbd9c0842a8a1b97379ff21c62552a1d98710a | 20,576 | py | Python | tests/policy/test_offline_continuous.py | han20192019/newRL | 53598edab284b4364d127ec5662137de3f9c1206 | [
"Apache-2.0"
] | 387 | 2020-07-19T14:56:36.000Z | 2022-03-29T15:25:21.000Z | tests/policy/test_offline_continuous.py | han20192019/newRL | 53598edab284b4364d127ec5662137de3f9c1206 | [
"Apache-2.0"
] | 89 | 2020-10-04T17:04:42.000Z | 2022-03-27T10:43:15.000Z | tests/policy/test_offline_continuous.py | han20192019/newRL | 53598edab284b4364d127ec5662137de3f9c1206 | [
"Apache-2.0"
] | 53 | 2020-08-18T09:52:22.000Z | 2022-03-30T23:16:13.000Z | import numpy as np
import pytest
import torch
from obp.policy.offline_continuous import ContinuousNNPolicyLearner
# dim_context, pg_method, bandwidth, output_space, hidden_layer_size, activation, solver, alpha,
# batch_size, learning_rate_init, max_iter, shuffle, random_state, tol, momentum, nesterovs_momentum,
# ea... | 19.247895 | 323 | 0.431425 | 2,314 | 20,576 | 3.680207 | 0.070441 | 0.043682 | 0.046853 | 0.026421 | 0.833725 | 0.817168 | 0.801433 | 0.780531 | 0.749765 | 0.741545 | 0 | 0.127416 | 0.439298 | 20,576 | 1,068 | 324 | 19.265918 | 0.610731 | 0.024203 | 0 | 0.849222 | 0 | 0.002918 | 0.129519 | 0.008937 | 0 | 0 | 0 | 0 | 0.007782 | 1 | 0.005837 | false | 0 | 0.003891 | 0 | 0.009728 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
a3d0185d6569ae6a559ba067452ab1da9218887e | 13,235 | py | Python | tests/test_docstring.py | RomaKoks/collie_recs | bc8979c8dbf68deefb030336d50f07f788cf1667 | [
"BSD-3-Clause"
] | 70 | 2021-04-13T20:13:35.000Z | 2021-07-08T03:01:29.000Z | tests/test_docstring.py | RomaKoks/collie_recs | bc8979c8dbf68deefb030336d50f07f788cf1667 | [
"BSD-3-Clause"
] | 18 | 2021-07-13T22:06:11.000Z | 2022-01-27T16:27:37.000Z | tests/test_docstring.py | RomaKoks/collie_recs | bc8979c8dbf68deefb030336d50f07f788cf1667 | [
"BSD-3-Clause"
] | 11 | 2021-07-14T04:58:49.000Z | 2022-03-05T00:19:22.000Z | from collie.utils import merge_docstrings
# START: test class definitions
# NOTE: we include classes here since pytest does not accept classes as fixtures
class BaseClass:
"""
This is the short description.
This is a longer description. It contains many lines.
With line breaks, like this.
You ca... | 23.383392 | 97 | 0.615187 | 1,583 | 13,235 | 5.048642 | 0.082123 | 0.026276 | 0.042543 | 0.055055 | 0.866491 | 0.863488 | 0.856356 | 0.856356 | 0.828579 | 0.803053 | 0 | 0.013063 | 0.305931 | 13,235 | 565 | 98 | 23.424779 | 0.856956 | 0.310767 | 0 | 0.812 | 0 | 0.004 | 0.620788 | 0 | 0 | 0 | 0 | 0 | 0.032 | 1 | 0.068 | false | 0.056 | 0.052 | 0 | 0.16 | 0.008 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
a3e2aee168ff884132dbef5714b54d1017e49e7d | 268 | py | Python | nanome/_internal/_network/_commands/_callbacks/_simple_callback.py | rramji/nanome-lib | 2806598af31cfb4bb6e16366f0b300d2ddcc9c13 | [
"MIT"
] | null | null | null | nanome/_internal/_network/_commands/_callbacks/_simple_callback.py | rramji/nanome-lib | 2806598af31cfb4bb6e16366f0b300d2ddcc9c13 | [
"MIT"
] | null | null | null | nanome/_internal/_network/_commands/_callbacks/_simple_callback.py | rramji/nanome-lib | 2806598af31cfb4bb6e16366f0b300d2ddcc9c13 | [
"MIT"
] | null | null | null | def _simple_callback_arg_unpack(network, arg, request_id):
network._call(request_id, *arg)
def _simple_callback_arg(network, arg, request_id):
network._call(request_id, arg)
def _simple_callback_no_arg(network, arg, request_id):
network._call(request_id) | 33.5 | 58 | 0.787313 | 40 | 268 | 4.775 | 0.25 | 0.282723 | 0.267016 | 0.298429 | 0.853403 | 0.853403 | 0.853403 | 0.853403 | 0.853403 | 0.617801 | 0 | 0 | 0.11194 | 268 | 8 | 59 | 33.5 | 0.802521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
a3f883934d1affaa6a95f341b12e60432f4d7002 | 6,693 | py | Python | CustomEarlyStopping.py | lauromoraes/promoter_paper | 62aea776cb318a13e142f84dd84bb0a29fb0e83f | [
"Apache-2.0"
] | null | null | null | CustomEarlyStopping.py | lauromoraes/promoter_paper | 62aea776cb318a13e142f84dd84bb0a29fb0e83f | [
"Apache-2.0"
] | 9 | 2020-08-12T18:08:46.000Z | 2022-03-12T00:46:11.000Z | CustomEarlyStopping.py | lauromoraes/promoter_paper | 62aea776cb318a13e142f84dd84bb0a29fb0e83f | [
"Apache-2.0"
] | null | null | null | from tensorflow import keras
import numpy as np
class CustomEarlyStopping(keras.callbacks.Callback):
"""Stop training when the loss is at its min, i.e. the loss stops decreasing.
Arguments:
patience_loss: Number of epochs to wait after min has been hit. After this
number of no improvement, training ... | 39.140351 | 87 | 0.617212 | 902 | 6,693 | 4.456763 | 0.126386 | 0.028607 | 0.041791 | 0.055721 | 0.856965 | 0.843035 | 0.83209 | 0.829602 | 0.756716 | 0.714925 | 0 | 0.006324 | 0.267593 | 6,693 | 170 | 88 | 39.370588 | 0.813749 | 0.15703 | 0 | 0.559322 | 0 | 0 | 0.17226 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.211864 | false | 0 | 0.016949 | 0 | 0.262712 | 0.186441 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
432425697d797ad6d8025e1b01e2952a45cdf24f | 1,211 | py | Python | lib/systems/naphthalene.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/naphthalene.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/naphthalene.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | import pulsar as psr
def load_ref_system():
""" Returns naphthalene as found in the IQMol fragment library.
All credit to https://github.com/nutjunkie/IQmol
"""
return psr.make_system("""
C 0.00000 0.70829 -0.00000
C -0.00000 -0.70829 0.00000
... | 46.576923 | 67 | 0.401321 | 155 | 1,211 | 3.116129 | 0.264516 | 0.248447 | 0.144928 | 0.099379 | 0.708075 | 0.708075 | 0.708075 | 0.68323 | 0.68323 | 0.68323 | 0 | 0.547297 | 0.511148 | 1,211 | 25 | 68 | 48.44 | 0.268581 | 0.089182 | 0 | 0 | 0 | 0 | 0.922438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | true | 0 | 0.045455 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
433e3355650b1daff14d600d317ff1d62757ef39 | 63,959 | py | Python | mindspore/ops/_op_impl/_custom_op/img2col_impl.py | GuoSuiming/mindspore | 48afc4cfa53d970c0b20eedfb46e039db2a133d5 | [
"Apache-2.0"
] | 55 | 2020-12-17T10:26:06.000Z | 2022-03-28T07:18:26.000Z | mindspore/ops/_op_impl/_custom_op/img2col_impl.py | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | 1 | 2020-12-29T06:46:38.000Z | 2020-12-29T06:46:38.000Z | mindspore/ops/_op_impl/_custom_op/img2col_impl.py | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | 14 | 2021-01-29T02:39:47.000Z | 2022-03-23T05:00:26.000Z | # Copyright 2020 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 55.519965 | 120 | 0.398709 | 6,880 | 63,959 | 3.327762 | 0.032558 | 0.119633 | 0.050448 | 0.089452 | 0.919939 | 0.915571 | 0.913125 | 0.908888 | 0.905613 | 0.899891 | 0 | 0.122255 | 0.523742 | 63,959 | 1,151 | 121 | 55.568202 | 0.629362 | 0.010444 | 0 | 0.857671 | 0 | 0 | 0.03294 | 0.013293 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000924 | false | 0 | 0.002773 | 0 | 0.004621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 8 |
4a982c893b4e8606d5192c07f55dcdedb65316c4 | 28,383 | py | Python | tests/test_operation.py | Neufund/connexion | 19daa6c6292d0dd4c380d0dc9473c4df1bada234 | [
"Apache-2.0"
] | 1 | 2020-11-14T11:22:11.000Z | 2020-11-14T11:22:11.000Z | tests/test_operation.py | Neufund/connexion | 19daa6c6292d0dd4c380d0dc9473c4df1bada234 | [
"Apache-2.0"
] | 2 | 2020-10-26T10:07:35.000Z | 2020-11-09T17:21:36.000Z | tests/test_operation.py | Neufund/connexion | 19daa6c6292d0dd4c380d0dc9473c4df1bada234 | [
"Apache-2.0"
] | 2 | 2020-10-26T05:54:29.000Z | 2020-11-14T11:22:14.000Z | import math
import pathlib
import types
import mock
import pytest
from connexion.apis.flask_api import Jsonifier
from connexion.decorators.security import (security_passthrough,
verify_oauth_local,
verify_oauth_remote)
from connexion... | 50.593583 | 124 | 0.498256 | 2,318 | 28,383 | 5.971527 | 0.09189 | 0.045514 | 0.047681 | 0.016183 | 0.862664 | 0.850527 | 0.836295 | 0.826109 | 0.815706 | 0.801546 | 0 | 0.006488 | 0.386358 | 28,383 | 560 | 125 | 50.683929 | 0.788253 | 0.036853 | 0 | 0.72428 | 0 | 0 | 0.28016 | 0.037089 | 0 | 0 | 0 | 0 | 0.115226 | 1 | 0.028807 | false | 0.012346 | 0.020576 | 0.002058 | 0.05144 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
43557bac4859486beaaf73a0d6b8489008c62548 | 42,186 | py | Python | a3cosmos_gas_evolution/Common_Python_Code/calc_galaxy_stellar_mass_function.py | 1054/a3cosmos-gas-evolution | 66027338602ed2830e289cfbb4db6200739b39d6 | [
"0BSD"
] | null | null | null | a3cosmos_gas_evolution/Common_Python_Code/calc_galaxy_stellar_mass_function.py | 1054/a3cosmos-gas-evolution | 66027338602ed2830e289cfbb4db6200739b39d6 | [
"0BSD"
] | 1 | 2021-09-16T11:12:10.000Z | 2021-09-16T11:12:52.000Z | build/lib/a3cosmos_gas_evolution/Common_Python_Code/calc_galaxy_stellar_mass_function.py | 1054/a3cosmos-gas-evolution | 66027338602ed2830e289cfbb4db6200739b39d6 | [
"0BSD"
] | null | null | null | #!/usr/bin/env python
#
# 20190222
# copied from "calc_stellar_mass_function.py", this code will superceed "calc_stellar_mass_function.py".
#
from __future__ import print_function
import os, sys, re, json, time, astropy
import numpy as np
from astropy.table import Table, Column, hstack
from copy import copy
fr... | 47.506757 | 306 | 0.634452 | 6,532 | 42,186 | 3.837569 | 0.076393 | 0.023138 | 0.010213 | 0.024893 | 0.883033 | 0.871026 | 0.8508 | 0.836279 | 0.828859 | 0.821359 | 0 | 0.074829 | 0.232115 | 42,186 | 887 | 307 | 47.560316 | 0.698987 | 0.358199 | 0 | 0.768577 | 0 | 0.004246 | 0.092467 | 0.011685 | 0 | 0 | 0 | 0.001127 | 0 | 1 | 0.027601 | false | 0.002123 | 0.016985 | 0 | 0.095541 | 0.006369 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
437c2acb4306746fef185af50f3c9f569c09afda | 198 | py | Python | libreco/utils/__init__.py | massquantity/Reco_Project | 6e577d6c3a5f7372d88c25dd9f540a1b7651180f | [
"MIT"
] | null | null | null | libreco/utils/__init__.py | massquantity/Reco_Project | 6e577d6c3a5f7372d88c25dd9f540a1b7651180f | [
"MIT"
] | null | null | null | libreco/utils/__init__.py | massquantity/Reco_Project | 6e577d6c3a5f7372d88c25dd9f540a1b7651180f | [
"MIT"
] | null | null | null | from .serialization import (
save_knn,
save_vector,
save_info,
save_model_tf_serving
)
__all__ = [
"save_knn",
"save_vector",
"save_info",
"save_model_tf_serving"
]
| 14.142857 | 28 | 0.646465 | 24 | 198 | 4.666667 | 0.458333 | 0.125 | 0.196429 | 0.303571 | 0.767857 | 0.767857 | 0.767857 | 0.767857 | 0.767857 | 0.767857 | 0 | 0 | 0.252525 | 198 | 13 | 29 | 15.230769 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.247475 | 0.106061 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
439766a626021362b7b43330b2a5b6edbf49acaf | 32,156 | py | Python | tests/rst/test_transform_collect_fields.py | LudditeLabs/autodoc-tool | b4ae7e3b61907e7e9c3a1b534fce055e5860ffab | [
"Apache-2.0"
] | null | null | null | tests/rst/test_transform_collect_fields.py | LudditeLabs/autodoc-tool | b4ae7e3b61907e7e9c3a1b534fce055e5860ffab | [
"Apache-2.0"
] | null | null | null | tests/rst/test_transform_collect_fields.py | LudditeLabs/autodoc-tool | b4ae7e3b61907e7e9c3a1b534fce055e5860ffab | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Luddite Labs Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | 33.391485 | 79 | 0.562228 | 3,792 | 32,156 | 4.660865 | 0.076213 | 0.034118 | 0.030893 | 0.020369 | 0.882539 | 0.8779 | 0.870827 | 0.864717 | 0.850628 | 0.832918 | 0 | 0.014321 | 0.337666 | 32,156 | 962 | 80 | 33.426195 | 0.815523 | 0.089315 | 0 | 0.843923 | 0 | 0 | 0.415825 | 0 | 0 | 0 | 0 | 0 | 0.472376 | 1 | 0.024862 | false | 0 | 0.004144 | 0 | 0.037293 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
78d7d286a22c131aab1d87f651bec50ae314224b | 3,950 | py | Python | tests/changes/api/test_jobstep_log_append.py | bowlofstew/changes | ebd393520e0fdb07c240a8d4e8747281b6186e28 | [
"Apache-2.0"
] | null | null | null | tests/changes/api/test_jobstep_log_append.py | bowlofstew/changes | ebd393520e0fdb07c240a8d4e8747281b6186e28 | [
"Apache-2.0"
] | null | null | null | tests/changes/api/test_jobstep_log_append.py | bowlofstew/changes | ebd393520e0fdb07c240a8d4e8747281b6186e28 | [
"Apache-2.0"
] | null | null | null | from changes.models import LogSource, LogChunk
from changes.testutils import APITestCase
class JobStepLogAppendTest(APITestCase):
def test_simple(self):
project = self.create_project()
build = self.create_build(project)
job = self.create_job(build)
jobphase = self.create_jobphase(j... | 34.649123 | 78 | 0.558228 | 444 | 3,950 | 4.921171 | 0.202703 | 0.05492 | 0.05492 | 0.057666 | 0.842563 | 0.842563 | 0.842563 | 0.827918 | 0.811899 | 0.756064 | 0 | 0.021606 | 0.296962 | 3,950 | 113 | 79 | 34.955752 | 0.765214 | 0.120759 | 0 | 0.875 | 0 | 0 | 0.103329 | 0.017366 | 0 | 0 | 0 | 0.00885 | 0.3125 | 1 | 0.025 | false | 0 | 0.025 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
60843fff854d592d84126a5457d81fedd1e723df | 12,948 | py | Python | tests/contrib/flask/test_errorhandler.py | melancholy/dd-trace-py | 32d463e5465466bc876c85a45880a84824d9b47c | [
"Apache-2.0",
"BSD-3-Clause"
] | 308 | 2016-12-07T16:49:27.000Z | 2022-03-15T10:06:45.000Z | tests/contrib/flask/test_errorhandler.py | melancholy/dd-trace-py | 32d463e5465466bc876c85a45880a84824d9b47c | [
"Apache-2.0",
"BSD-3-Clause"
] | 1,928 | 2016-11-28T17:13:18.000Z | 2022-03-31T21:43:19.000Z | tests/contrib/flask/test_errorhandler.py | melancholy/dd-trace-py | 32d463e5465466bc876c85a45880a84824d9b47c | [
"Apache-2.0",
"BSD-3-Clause"
] | 311 | 2016-11-27T03:01:49.000Z | 2022-03-18T21:34:03.000Z | import flask
from tests.utils import assert_span_http_status_code
from . import BaseFlaskTestCase
class FlaskErrorhandlerTestCase(BaseFlaskTestCase):
def test_default_404_handler(self):
"""
When making a 404 request
And no user defined error handler is defined
We crea... | 43.743243 | 109 | 0.688369 | 1,642 | 12,948 | 5.150426 | 0.056638 | 0.097552 | 0.050845 | 0.058531 | 0.972567 | 0.954003 | 0.950928 | 0.892633 | 0.884356 | 0.877734 | 0 | 0.016672 | 0.207831 | 12,948 | 295 | 110 | 43.891525 | 0.807839 | 0.122336 | 0 | 0.82967 | 0 | 0 | 0.210361 | 0.100377 | 0 | 0 | 0 | 0 | 0.489011 | 1 | 0.06044 | false | 0.010989 | 0.016484 | 0.010989 | 0.104396 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
60d1d542a2a628a3c40aaa6a5faee01e5c072300 | 11,531 | py | Python | coremltools/test/neural_network/test_graph_passes.py | drush-apple/coremltools | 624092fb7144945bd6bec6f72b41cc630f44611b | [
"BSD-3-Clause"
] | 2 | 2021-03-20T17:53:52.000Z | 2021-09-17T13:42:36.000Z | coremltools/test/neural_network/test_graph_passes.py | drush-apple/coremltools | 624092fb7144945bd6bec6f72b41cc630f44611b | [
"BSD-3-Clause"
] | null | null | null | coremltools/test/neural_network/test_graph_passes.py | drush-apple/coremltools | 624092fb7144945bd6bec6f72b41cc630f44611b | [
"BSD-3-Clause"
] | 1 | 2021-05-07T22:23:59.000Z | 2021-05-07T22:23:59.000Z | import numpy as np
import unittest
import coremltools.models.datatypes as datatypes
from coremltools.models import neural_network as neural_network
from coremltools.models import MLModel
from coremltools.models.neural_network.printer import print_network_spec
from coremltools.converters.nnssa.coreml.graph_pass.mlmodel_... | 53.632558 | 120 | 0.620588 | 1,328 | 11,531 | 5.146837 | 0.136295 | 0.039503 | 0.041697 | 0.049744 | 0.860278 | 0.847257 | 0.847257 | 0.799561 | 0.799561 | 0.781419 | 0 | 0.021817 | 0.25271 | 11,531 | 214 | 121 | 53.883178 | 0.771382 | 0.023849 | 0 | 0.731183 | 0 | 0 | 0.109007 | 0.002223 | 0 | 0 | 0 | 0 | 0.102151 | 1 | 0.032258 | false | 0.069892 | 0.048387 | 0 | 0.086022 | 0.048387 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
7191384967d4855be9ef86405316317f8b78e9b2 | 586 | py | Python | intro/Hello World.py | Alekss101/python-school | 6bde1676451f13677b7ce1f9c391017a9e40c37b | [
"MIT"
] | null | null | null | intro/Hello World.py | Alekss101/python-school | 6bde1676451f13677b7ce1f9c391017a9e40c37b | [
"MIT"
] | null | null | null | intro/Hello World.py | Alekss101/python-school | 6bde1676451f13677b7ce1f9c391017a9e40c37b | [
"MIT"
] | null | null | null | # This Python program displays ASCII art
#
# by Aleksander Rohozinski
# Febuary 14, 2022
# ICS 2O - Ashbury College
# Mr. Giansante
# -------------------------------------------------------
print(" _ _ _ _ _ _ _ _ ")
print("| | | | | | | | | ... | 39.066667 | 62 | 0.308874 | 24 | 586 | 5.333333 | 0.791667 | 0.390625 | 0.46875 | 0.46875 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01897 | 0.370307 | 586 | 14 | 63 | 41.857143 | 0.327913 | 0.298635 | 0 | 0 | 0 | 0.666667 | 0.744417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
71db867a445b3d446936480b83073f3fe1c2f5be | 12,866 | py | Python | tests/unit/records/targets/test_fileobj.py | cwegrzyn/records-mover | e3b71d6c09d99d0bcd6a956b9d09d20f8abe98d2 | [
"Apache-2.0"
] | 36 | 2020-03-17T11:56:51.000Z | 2022-01-19T16:03:32.000Z | tests/unit/records/targets/test_fileobj.py | cwegrzyn/records-mover | e3b71d6c09d99d0bcd6a956b9d09d20f8abe98d2 | [
"Apache-2.0"
] | 60 | 2020-03-02T23:13:29.000Z | 2021-05-19T15:05:42.000Z | tests/unit/records/targets/test_fileobj.py | cwegrzyn/records-mover | e3b71d6c09d99d0bcd6a956b9d09d20f8abe98d2 | [
"Apache-2.0"
] | 4 | 2020-08-11T13:17:37.000Z | 2021-11-05T21:11:52.000Z | import unittest
from records_mover.records.targets.fileobj import FileobjTarget
from records_mover.records.results import MoveResult
from records_mover.records.records_format import DelimitedRecordsFormat
from mock import patch, Mock, ANY
class TestFileobjTarget(unittest.TestCase):
@patch('records_mover.records.p... | 56.929204 | 95 | 0.42795 | 1,079 | 12,866 | 4.709917 | 0.086191 | 0.047226 | 0.027548 | 0.056671 | 0.958481 | 0.951987 | 0.951987 | 0.951987 | 0.951987 | 0.951987 | 0 | 0.011001 | 0.491295 | 12,866 | 225 | 96 | 57.182222 | 0.76547 | 0 | 0 | 0.953704 | 0 | 0 | 0.099798 | 0.055651 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.018519 | false | 0 | 0.023148 | 0 | 0.046296 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
71e1debda0f899f23cc0fa4a37f38df7a6b422e5 | 113 | py | Python | cycat/__init__.py | CyCat-project/cycat | 6dbad12737496a4a5a81abf7814a6c5d4724dacc | [
"Unlicense"
] | 4 | 2021-02-27T21:49:31.000Z | 2021-06-13T22:18:00.000Z | cycat/__init__.py | CyCat-project/cycat | 6dbad12737496a4a5a81abf7814a6c5d4724dacc | [
"Unlicense"
] | null | null | null | cycat/__init__.py | CyCat-project/cycat | 6dbad12737496a4a5a81abf7814a6c5d4724dacc | [
"Unlicense"
] | null | null | null | __version__ = '0.1.0'
from cycat.url import generate
from cycat.url import validate
from cycat.url import build
| 18.833333 | 30 | 0.787611 | 19 | 113 | 4.473684 | 0.526316 | 0.317647 | 0.423529 | 0.635294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0.141593 | 113 | 5 | 31 | 22.6 | 0.845361 | 0 | 0 | 0 | 1 | 0 | 0.044248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
e0f83124c6b777e653f35e7ac484af1e0154165a | 11,259 | py | Python | Market/migrations/0001_initial.py | Fowerus/drf-crm | be5420f1942886b685214c33537cf4b3759704a1 | [
"Apache-2.0"
] | 3 | 2021-09-20T09:21:46.000Z | 2021-09-21T08:51:14.000Z | Market/migrations/0001_initial.py | Fowerus/drf-crm | be5420f1942886b685214c33537cf4b3759704a1 | [
"Apache-2.0"
] | null | null | null | Market/migrations/0001_initial.py | Fowerus/drf-crm | be5420f1942886b685214c33537cf4b3759704a1 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 4.0.1 on 2022-02-04 13:28
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Cashbox',
fields=[
... | 57.443878 | 191 | 0.589395 | 1,092 | 11,259 | 5.850733 | 0.096154 | 0.134293 | 0.051651 | 0.07826 | 0.800282 | 0.800282 | 0.741118 | 0.72124 | 0.72124 | 0.70684 | 0 | 0.016326 | 0.265565 | 11,259 | 195 | 192 | 57.738462 | 0.756319 | 0.003997 | 0 | 0.632979 | 1 | 0 | 0.169729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010638 | 0 | 0.031915 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
46024d8c32774efb47cb45c407e3430fc00bb0f9 | 134,747 | py | Python | pkgs/ops-pkg/src/genie/libs/ops/bgp/iosxe/tests/bgp_output.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/ops-pkg/src/genie/libs/ops/bgp/iosxe/tests/bgp_output.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/ops-pkg/src/genie/libs/ops/bgp/iosxe/tests/bgp_output.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | '''
BGP Genie Ops Object Outputs for IOSXE.
'''
class BgpOutput(object):
show_bgp_all_summary = '''\
show bgp all summary
For address family: IPv4 Unicast
BGP router identifier 1.1.1.1, local AS number 65000
BGP table version is 4, main routing table version 4
3 network e... | 50.222512 | 136 | 0.366108 | 11,527 | 134,747 | 4.22842 | 0.055695 | 0.014813 | 0.014895 | 0.010669 | 0.921791 | 0.912804 | 0.897048 | 0.889128 | 0.878849 | 0.869001 | 0 | 0.121975 | 0.5654 | 134,747 | 2,682 | 137 | 50.241238 | 0.710336 | 0.000289 | 0 | 0.748363 | 0 | 0.042553 | 0.590376 | 0.008649 | 0 | 0 | 0.004618 | 0 | 0 | 1 | 0 | false | 0.002455 | 0 | 0 | 0.011866 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 8 |
46105bf33eb9a7fac3905cceabc3af2fcd67963c | 5,021 | py | Python | resources/views.py | enuchi/swapi | 5e181c3e4c6782dc49aaae2e2e25a89c6333f275 | [
"BSD-3-Clause"
] | 1 | 2020-08-24T01:39:38.000Z | 2020-08-24T01:39:38.000Z | resources/views.py | enuchi/swapi | 5e181c3e4c6782dc49aaae2e2e25a89c6333f275 | [
"BSD-3-Clause"
] | null | null | null | resources/views.py | enuchi/swapi | 5e181c3e4c6782dc49aaae2e2e25a89c6333f275 | [
"BSD-3-Clause"
] | 1 | 2020-08-24T01:39:39.000Z | 2020-08-24T01:39:39.000Z | from __future__ import unicode_literals
from rest_framework import viewsets
from .models import (
People,
Planet,
Film,
Species,
Vehicle,
Starship
)
from .serializers import (
PeopleSerializer,
PlanetSerializer,
FilmSerializer,
SpeciesSerializer,
VehicleSerializer,
Sta... | 32.603896 | 78 | 0.672376 | 534 | 5,021 | 6.28839 | 0.095506 | 0.196546 | 0.303752 | 0.187612 | 0.764443 | 0.757296 | 0.714116 | 0.714116 | 0.575045 | 0.575045 | 0 | 0 | 0.184625 | 5,021 | 153 | 79 | 32.816993 | 0.820225 | 0 | 0 | 0.343137 | 0 | 0 | 0.006971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.039216 | 0.294118 | 0.862745 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
1cbd0da893fcab36bea698bdf53225778dc7516b | 3,063 | py | Python | complexity/tests/views/records/test_the_modulus.py | o4dev/Complexity | 88ef79c2dc68809284a8f48957a521eee77e2e69 | [
"BSD-3-Clause"
] | 1 | 2018-02-18T18:01:27.000Z | 2018-02-18T18:01:27.000Z | complexity/tests/views/records/test_the_modulus.py | o4dev/Complexity | 88ef79c2dc68809284a8f48957a521eee77e2e69 | [
"BSD-3-Clause"
] | null | null | null | complexity/tests/views/records/test_the_modulus.py | o4dev/Complexity | 88ef79c2dc68809284a8f48957a521eee77e2e69 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
complexity: tests/views/records/test_the_modulus.py
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"""
from ..quizzes import Quiz
quiz = Quiz("the_modulus")
records_url = "/records/{}".format("the_modulus")
NAMES = ["Jack", "Harry", "Emma", "Hannah", ... | 31.90625 | 60 | 0.642181 | 439 | 3,063 | 4.250569 | 0.138952 | 0.289389 | 0.176849 | 0.292605 | 0.783494 | 0.783494 | 0.769025 | 0.753483 | 0.753483 | 0.753483 | 0 | 0.032877 | 0.16585 | 3,063 | 95 | 61 | 32.242105 | 0.697456 | 0.078028 | 0 | 0.71875 | 0 | 0 | 0.01982 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.03125 | false | 0 | 0.015625 | 0 | 0.046875 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 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 | 8 |
1ce1b4d3d83ca79403fc1d726c2ac15a56c4f811 | 3,285 | py | Python | tests/test_extra.py | saxix/django-sysinfo | fdcf98a2f2d493487aaaa46610539dd994d2dcd5 | [
"BSD-3-Clause"
] | 2 | 2017-08-31T20:16:32.000Z | 2017-09-08T20:54:30.000Z | tests/test_extra.py | saxix/django-sysinfo | fdcf98a2f2d493487aaaa46610539dd994d2dcd5 | [
"BSD-3-Clause"
] | 1 | 2017-07-10T14:53:54.000Z | 2017-07-10T14:53:54.000Z | tests/test_extra.py | saxix/django-sysinfo | fdcf98a2f2d493487aaaa46610539dd994d2dcd5 | [
"BSD-3-Clause"
] | 2 | 2017-07-10T09:35:28.000Z | 2021-08-31T16:41:37.000Z | import json
import logging
import pytest
from demoproject.models import test_sysinfo
from django_sysinfo.api import get_extra
from django_sysinfo.compat import reverse
from django_sysinfo.conf import config
logger = logging.getLogger(__name__)
def test_base(monkeypatch):
monkeypatch.setattr(config, "extra", {"a... | 43.8 | 103 | 0.621918 | 351 | 3,285 | 5.689459 | 0.185185 | 0.149725 | 0.240361 | 0.310466 | 0.840761 | 0.840761 | 0.821733 | 0.821733 | 0.821733 | 0.821733 | 0 | 0.013816 | 0.250837 | 3,285 | 74 | 104 | 44.391892 | 0.797643 | 0.015525 | 0 | 0.666667 | 0 | 0 | 0.271742 | 0.237388 | 0 | 0 | 0 | 0 | 0.116667 | 1 | 0.05 | false | 0 | 0.15 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
1ce8b9f55300cdeead35c55fb6b31140ee270a03 | 3,865 | py | Python | tests/test_xmldoctotabular.py | simonwiles/xmltotabular | 13c8b60e383aa16db662c744e57578f2b7e2ed57 | [
"MIT"
] | 2 | 2020-09-26T23:57:00.000Z | 2021-06-16T23:59:46.000Z | tests/test_xmldoctotabular.py | simonwiles/xmltotabular | 13c8b60e383aa16db662c744e57578f2b7e2ed57 | [
"MIT"
] | 23 | 2020-11-09T05:43:50.000Z | 2021-10-21T19:29:47.000Z | tests/test_xmldoctotabular.py | simonwiles/xmltotabular | 13c8b60e383aa16db662c744e57578f2b7e2ed57 | [
"MIT"
] | null | null | null | import yaml
from xmltotabular import XmlDocToTabular
def test_single_simple_entity_per_doc(simple_config):
xml = """\
<?xml version="1.0" encoding="UTF-8"?>
<album>
<name>Five Leaves Left</name>
<artist>Nick Drake</artist>
<released>1969</released>
<label>Island</label>
<genre>Folk</genre>
</album>
... | 24.15625 | 57 | 0.443984 | 331 | 3,865 | 5.099698 | 0.166163 | 0.082938 | 0.124408 | 0.136256 | 0.8359 | 0.8359 | 0.782583 | 0.782583 | 0.757109 | 0.757109 | 0 | 0.030994 | 0.398965 | 3,865 | 159 | 58 | 24.308176 | 0.695652 | 0 | 0 | 0.711111 | 0 | 0 | 0.478177 | 0.050508 | 0 | 0 | 0 | 0 | 0.022222 | 1 | 0.022222 | false | 0 | 0.014815 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1c4bf00164b0aa69c2337f43e5b460c15e2596c9 | 238,784 | py | Python | regular_language/unit_tests/test_sse_forrest_sseASForrest.py | ShoYamanishi/nlpregex | 795b36d5a2fad8bc25264b2093ffa9c3723b282b | [
"MIT"
] | 1 | 2021-12-03T07:20:18.000Z | 2021-12-03T07:20:18.000Z | regular_language/unit_tests/test_sse_forrest_sseASForrest.py | ShoYamanishi/nlpregex | 795b36d5a2fad8bc25264b2093ffa9c3723b282b | [
"MIT"
] | null | null | null | regular_language/unit_tests/test_sse_forrest_sseASForrest.py | ShoYamanishi/nlpregex | 795b36d5a2fad8bc25264b2093ffa9c3723b282b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
""" Unit Tests for sse_forrest.sseASForrest """
import unittest
import nlpregex.regular_language.ast
import nlpregex.regular_language.sse_forrest
from nlpregex.regular_language.unit_tests.test_sse_asforrest_helper import test_sse_ASForrest_helper
class test... | 37.562372 | 101 | 0.578226 | 25,914 | 238,784 | 5.087713 | 0.010612 | 0.262926 | 0.099148 | 0.035497 | 0.984717 | 0.972225 | 0.954165 | 0.945966 | 0.943046 | 0.937198 | 0 | 0.094341 | 0.316692 | 238,784 | 6,356 | 102 | 37.568282 | 0.713703 | 0.008711 | 0 | 0.865454 | 0 | 0 | 0.050129 | 0 | 0 | 0 | 0 | 0 | 0.553268 | 1 | 0.057458 | false | 0 | 0.000958 | 0 | 0.059612 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
1c7dd66a92799563793fe0a5f001de32daebcef9 | 57,420 | py | Python | tests/test_SpiralArmsPotential.py | gusbeane/galpy | d6db971285f163456c81775fc2fdc7d75189762c | [
"BSD-3-Clause"
] | 147 | 2015-01-01T14:06:17.000Z | 2022-03-24T14:47:41.000Z | tests/test_SpiralArmsPotential.py | gusbeane/galpy | d6db971285f163456c81775fc2fdc7d75189762c | [
"BSD-3-Clause"
] | 269 | 2015-01-07T15:58:31.000Z | 2022-03-30T18:42:08.000Z | tests/test_SpiralArmsPotential.py | gusbeane/galpy | d6db971285f163456c81775fc2fdc7d75189762c | [
"BSD-3-Clause"
] | 110 | 2015-02-08T10:57:24.000Z | 2021-12-28T07:56:49.000Z | from __future__ import division
from galpy.potential import SpiralArmsPotential as spiral
import numpy as np
from numpy import pi
from numpy.testing import assert_allclose
from scipy.misc import derivative as deriv
import unittest
class TestSpiralArmsPotential(unittest.TestCase):
def test_constructor(self):
... | 74.765625 | 141 | 0.556583 | 10,676 | 57,420 | 2.936306 | 0.016017 | 0.038216 | 0.214751 | 0.170346 | 0.949534 | 0.939996 | 0.922802 | 0.912403 | 0.896261 | 0.881587 | 0 | 0.052149 | 0.240247 | 57,420 | 767 | 142 | 74.863103 | 0.66643 | 0.100035 | 0 | 0.718601 | 0 | 0 | 0.000155 | 0 | 0 | 0 | 0 | 0 | 0.624801 | 1 | 0.030207 | false | 0 | 0.011129 | 0 | 0.042925 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
98c39418e30f914edb662c2a8305aa24b24cb1ac | 171 | py | Python | Lista_Heranca_Polimorfismo/ex_02/test.py | lcs-amorim/LP2_2s2017 | 1b5c21cbb49e3b7806bee66e0a23c926673941de | [
"Apache-2.0"
] | null | null | null | Lista_Heranca_Polimorfismo/ex_02/test.py | lcs-amorim/LP2_2s2017 | 1b5c21cbb49e3b7806bee66e0a23c926673941de | [
"Apache-2.0"
] | null | null | null | Lista_Heranca_Polimorfismo/ex_02/test.py | lcs-amorim/LP2_2s2017 | 1b5c21cbb49e3b7806bee66e0a23c926673941de | [
"Apache-2.0"
] | 1 | 2018-08-14T19:25:14.000Z | 2018-08-14T19:25:14.000Z | from main import ex01
def test_ex_01():
assert ex01("cesar",1500,10) == 1650
assert ex01("vinicius", 1000, 10) == 1100
assert ex01("lucas", 3500, 15) == 4025
| 24.428571 | 45 | 0.637427 | 26 | 171 | 4.115385 | 0.769231 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.204678 | 171 | 6 | 46 | 28.5 | 0.492647 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
98c88322a44c8932d4d684a706a8efa3c7bc0d74 | 2,508 | py | Python | tests/algos/torch/test_bc_impl.py | alxlampe/d3rlpy | af7e6bd018a51f95138d121f59c50dc36ec87e3a | [
"MIT"
] | null | null | null | tests/algos/torch/test_bc_impl.py | alxlampe/d3rlpy | af7e6bd018a51f95138d121f59c50dc36ec87e3a | [
"MIT"
] | null | null | null | tests/algos/torch/test_bc_impl.py | alxlampe/d3rlpy | af7e6bd018a51f95138d121f59c50dc36ec87e3a | [
"MIT"
] | null | null | null | import pytest
from d3rlpy.algos.torch.bc_impl import BCImpl, DiscreteBCImpl
from d3rlpy.augmentation import AugmentationPipeline
from d3rlpy.optimizers import AdamFactory
from d3rlpy.encoders import DefaultEncoderFactory
from tests.algos.algo_test import torch_impl_tester, DummyScaler
@pytest.mark.parametrize('obser... | 45.6 | 78 | 0.655104 | 245 | 2,508 | 6.489796 | 0.216327 | 0.106918 | 0.224528 | 0.065409 | 0.801887 | 0.756604 | 0.756604 | 0.756604 | 0.756604 | 0.756604 | 0 | 0.015593 | 0.232855 | 2,508 | 54 | 79 | 46.444444 | 0.810811 | 0 | 0 | 0.653061 | 0 | 0 | 0.082935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.122449 | 0 | 0.163265 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
98edeb41a17afcb4a6a7453e46629c22b6963229 | 130 | py | Python | snnw/nn/weight_init.py | juliustao/SNNW | 2051c81b4013030d67fdfdcb1dd2973ba550ddd9 | [
"MIT"
] | null | null | null | snnw/nn/weight_init.py | juliustao/SNNW | 2051c81b4013030d67fdfdcb1dd2973ba550ddd9 | [
"MIT"
] | null | null | null | snnw/nn/weight_init.py | juliustao/SNNW | 2051c81b4013030d67fdfdcb1dd2973ba550ddd9 | [
"MIT"
] | null | null | null | import numpy as np
def kaiming(in_size, out_size):
return np.random.normal(size=(in_size, out_size)) * np.sqrt(2.0/in_size)
| 21.666667 | 76 | 0.723077 | 25 | 130 | 3.56 | 0.6 | 0.202247 | 0.202247 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.138462 | 130 | 5 | 77 | 26 | 0.776786 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 9 |
c725ae947c72540c38d0fc830f40c06c3cf7b5f1 | 39,658 | py | Python | looker_client_31/api/render_task_api.py | ContrastingSounds/looker_sdk_31 | f973434049fff1b605b10086ab8b84f2f62e3489 | [
"MIT"
] | null | null | null | looker_client_31/api/render_task_api.py | ContrastingSounds/looker_sdk_31 | f973434049fff1b605b10086ab8b84f2f62e3489 | [
"MIT"
] | null | null | null | looker_client_31/api/render_task_api.py | ContrastingSounds/looker_sdk_31 | f973434049fff1b605b10086ab8b84f2f62e3489 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Experimental Looker API 3.1 Preview
This API 3.1 is in active development. Breaking changes are likely to occur to some API functions in future Looker releases until API 3.1 is officially launched and upgraded to beta status. If you have time and interest to experiment with new or modifie... | 52.113009 | 1,192 | 0.648066 | 4,999 | 39,658 | 4.947389 | 0.057411 | 0.087336 | 0.022319 | 0.021106 | 0.960335 | 0.955604 | 0.953016 | 0.9478 | 0.947194 | 0.939107 | 0 | 0.014382 | 0.265369 | 39,658 | 760 | 1,193 | 52.181579 | 0.834523 | 0.06551 | 0 | 0.794189 | 0 | 0 | 0.233499 | 0.064374 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.009685 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c75b70c846e48413c56ab469dc30166f6643df49 | 34,579 | py | Python | mistral/tests/unit/notifiers/test_notify.py | liuzheng/mistral | 3fd66f3b0575d909158595b19e687e7f1a6126fe | [
"Apache-2.0"
] | 3 | 2015-08-28T04:57:56.000Z | 2017-03-27T10:59:56.000Z | mistral/tests/unit/notifiers/test_notify.py | liuzheng/mistral | 3fd66f3b0575d909158595b19e687e7f1a6126fe | [
"Apache-2.0"
] | 21 | 2015-04-14T22:41:53.000Z | 2019-02-20T09:30:10.000Z | mistral/tests/unit/notifiers/test_notify.py | liuzheng/mistral | 3fd66f3b0575d909158595b19e687e7f1a6126fe | [
"Apache-2.0"
] | 12 | 2015-08-14T02:27:37.000Z | 2020-12-31T10:09:21.000Z | # Copyright 2018 - Extreme Networks, Inc.
#
# 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 l... | 33.345227 | 79 | 0.614072 | 4,367 | 34,579 | 4.566293 | 0.04992 | 0.036508 | 0.060178 | 0.050549 | 0.893185 | 0.877037 | 0.857229 | 0.841282 | 0.836417 | 0.824984 | 0 | 0.017384 | 0.276353 | 34,579 | 1,036 | 80 | 33.377413 | 0.779523 | 0.036554 | 0 | 0.816667 | 0 | 0 | 0.108127 | 0 | 0 | 0 | 0 | 0 | 0.301282 | 1 | 0.021795 | false | 0 | 0.014103 | 0 | 0.037179 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c771b42bc981ae56a631b97c13177c07870316a9 | 13,103 | py | Python | tests/test_find_dependencies.py | mrbean-bremen/pytest-find-dependencies | 5a0869bf755d504ff433a93514ebb9ad2817bdd3 | [
"MIT"
] | 2 | 2021-04-07T19:22:02.000Z | 2022-01-16T15:58:28.000Z | tests/test_find_dependencies.py | mrbean-bremen/pytest-find-dependencies | 5a0869bf755d504ff433a93514ebb9ad2817bdd3 | [
"MIT"
] | 4 | 2021-12-25T07:09:15.000Z | 2022-01-15T15:47:57.000Z | tests/test_find_dependencies.py | mrbean-bremen/pytest-find-dependencies | 5a0869bf755d504ff433a93514ebb9ad2817bdd3 | [
"MIT"
] | null | null | null | import pytest
pytest_plugins = ["pytester"]
@pytest.fixture
def test_path(testdir):
testdir.tmpdir.join("pytest.ini").write(
"[pytest]\n" "console_output_style = classic"
)
yield testdir
def test_no_checks_if_not_configured(test_path):
test_path.makepyfile(
test_one="""
def ... | 27.819533 | 76 | 0.570862 | 1,637 | 13,103 | 4.342089 | 0.089188 | 0.117192 | 0.06964 | 0.060355 | 0.875352 | 0.855234 | 0.805571 | 0.796849 | 0.768852 | 0.748593 | 0 | 0.007583 | 0.305579 | 13,103 | 470 | 77 | 27.878723 | 0.773601 | 0 | 0 | 0.744526 | 0 | 0 | 0.583073 | 0.015722 | 0 | 0 | 0 | 0 | 0.048662 | 1 | 0.051095 | false | 0.177616 | 0.019465 | 0 | 0.075426 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
c7b3b9486f38920de4e71ce9ed52320027acb2f0 | 55,347 | py | Python | congress/tests/datalog/test_builtin.py | mail2nsrajesh/congress | a724dfb59c43a5e88e2b03e714a5f962d6976762 | [
"Apache-2.0"
] | null | null | null | congress/tests/datalog/test_builtin.py | mail2nsrajesh/congress | a724dfb59c43a5e88e2b03e714a5f962d6976762 | [
"Apache-2.0"
] | null | null | null | congress/tests/datalog/test_builtin.py | mail2nsrajesh/congress | a724dfb59c43a5e88e2b03e714a5f962d6976762 | [
"Apache-2.0"
] | null | null | null | #! /usr/bin/python
#
# Copyright (c) 2014 IBM, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... | 35.410749 | 78 | 0.476105 | 7,827 | 55,347 | 3.256037 | 0.044589 | 0.018207 | 0.052737 | 0.056622 | 0.928115 | 0.919443 | 0.909751 | 0.904807 | 0.899784 | 0.888523 | 0 | 0.089419 | 0.338465 | 55,347 | 1,562 | 79 | 35.433419 | 0.606626 | 0.052595 | 0 | 0.731429 | 0 | 0.155238 | 0.401868 | 0.070321 | 0 | 0 | 0 | 0 | 0.010476 | 1 | 0.038095 | false | 0 | 0.010476 | 0 | 0.055238 | 0.000952 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c7be613c508eb22fc72f784e7057778b90208596 | 29,438 | py | Python | spider.seniortesting.club/projects/spider_yanzhi/spider_yanzhi/useragents.py | seniortesting/websites | a54a5384f2e987cb5217233fa28dfb8271806677 | [
"MIT"
] | null | null | null | spider.seniortesting.club/projects/spider_yanzhi/spider_yanzhi/useragents.py | seniortesting/websites | a54a5384f2e987cb5217233fa28dfb8271806677 | [
"MIT"
] | null | null | null | spider.seniortesting.club/projects/spider_yanzhi/spider_yanzhi/useragents.py | seniortesting/websites | a54a5384f2e987cb5217233fa28dfb8271806677 | [
"MIT"
] | null | null | null | USER_AGENT_WECHAT = [
'Mozilla/5.0 (Linux; Android 7.1.1; MI 6 Build/NMF26X; wv) AppleWebKit/537.36 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/6.6.1.1220(0x26060135) NetType/WIFI Language/zh_CN',
'Mozilla/5.0 (Linux; Android 7.1.1; OD103 Build/NMF26F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Mobile/11D2... | 132.008969 | 297 | 0.707045 | 5,720 | 29,438 | 3.615734 | 0.080594 | 0.017793 | 0.073107 | 0.087322 | 0.86481 | 0.849096 | 0.825017 | 0.805531 | 0.78005 | 0.756455 | 0 | 0.201376 | 0.131089 | 29,438 | 222 | 298 | 132.603604 | 0.607178 | 0.008391 | 0 | 0.210256 | 0 | 0.948718 | 0.940715 | 0.051913 | 0 | 0 | 0.004458 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.010256 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
c7c99327a66b0875059a6dbfa9fb6bcafa0eaa7c | 34,880 | py | Python | fhir/resources/DSTU2/tests/test_bundle.py | mmabey/fhir.resources | cc73718e9762c04726cd7de240c8f2dd5313cbe1 | [
"BSD-3-Clause"
] | null | null | null | fhir/resources/DSTU2/tests/test_bundle.py | mmabey/fhir.resources | cc73718e9762c04726cd7de240c8f2dd5313cbe1 | [
"BSD-3-Clause"
] | null | null | null | fhir/resources/DSTU2/tests/test_bundle.py | mmabey/fhir.resources | cc73718e9762c04726cd7de240c8f2dd5313cbe1 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 1.0.2.7202 on 2019-05-14.
# 2019, SMART Health IT.
import io
import json
import os
import unittest
from . import bundle
from .fhirdate import FHIRDate
class BundleTests(unittest.TestCase):
def instantiate_from(self, filename):
data... | 41.67264 | 120 | 0.601577 | 4,160 | 34,880 | 5.022356 | 0.069712 | 0.224716 | 0.276456 | 0.299813 | 0.914948 | 0.896137 | 0.867803 | 0.726128 | 0.711339 | 0.709233 | 0 | 0.110188 | 0.243893 | 34,880 | 836 | 121 | 41.722488 | 0.682023 | 0.00324 | 0 | 0.477556 | 1 | 0.003741 | 0.201369 | 0.02264 | 0 | 0 | 0 | 0 | 0.400249 | 1 | 0.021197 | false | 0 | 0.007481 | 0 | 0.031172 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
c7ca9c4689784620f798b227a961ba9754586a6c | 1,797 | py | Python | Moves/MoveLeft.py | rknowlto/PoMoCo | 3b5f013965c1a06b288e9bbbb74f618027b53f44 | [
"Unlicense",
"MIT"
] | 1 | 2017-08-26T23:44:14.000Z | 2017-08-26T23:44:14.000Z | Moves/MoveLeft.py | rknowlto/PoMoCo | 3b5f013965c1a06b288e9bbbb74f618027b53f44 | [
"Unlicense",
"MIT"
] | null | null | null | Moves/MoveLeft.py | rknowlto/PoMoCo | 3b5f013965c1a06b288e9bbbb74f618027b53f44 | [
"Unlicense",
"MIT"
] | null | null | null | import time
deg = -30
ankleDeg = 15
sleep = 0.3
hexy.LF.setFoot(footRx=ankleDeg)
hexy.LM.setFoot(footRx=ankleDeg)
hexy.LB.setFoot(footRx=ankleDeg)
hexy.RF.setFoot(footRx=-ankleDeg)
hexy.RM.setFoot(footRx=-ankleDeg)
hexy.RB.setFoot(footRx=-ankleDeg)
time.sleep(sleep)
hexy.LF.replantFoot(-deg,endAnkleAngle = -ankleDe... | 27.646154 | 64 | 0.784641 | 273 | 1,797 | 5.164835 | 0.080586 | 0.02695 | 0.268085 | 0.265957 | 0.977305 | 0.970213 | 0.970213 | 0.887943 | 0.887943 | 0.887943 | 0 | 0.028235 | 0.053979 | 1,797 | 64 | 65 | 28.078125 | 0.801176 | 0 | 0 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020833 | 0 | 0.020833 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 9 |
1bfae95b4be51a97abe4c64941a892907f1efc77 | 118,543 | py | Python | ZEROSELFBOT-(NOT-HACKING-TOOL)/zeroselfbot.py | sahraoui741/Zero-attacker | aeb8ceb444204090f9c2e3642da4f9a0612eb31d | [
"MIT"
] | 182 | 2021-10-08T19:55:24.000Z | 2022-03-31T08:51:48.000Z | ZEROSELFBOT-(NOT-HACKING-TOOL)/zeroselfbot.py | sahraoui741/Zero-attacker | aeb8ceb444204090f9c2e3642da4f9a0612eb31d | [
"MIT"
] | 16 | 2021-10-08T17:46:27.000Z | 2022-03-31T10:09:56.000Z | ZEROSELFBOT-(NOT-HACKING-TOOL)/zeroselfbot.py | sahraoui741/Zero-attacker | aeb8ceb444204090f9c2e3642da4f9a0612eb31d | [
"MIT"
] | 66 | 2021-10-09T01:35:56.000Z | 2022-03-26T20:40:17.000Z | from pytransform import pyarmor_runtime
pyarmor_runtime()
__pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x09\x00\x61\x0d\x0d\x0a\x09\x30\xe0\x02\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\x6b\x73\x00\x00\x00\x00\x00\x18\x52\xe1\x58\x11\x75\x56\x32\x00\x4f\xb1\xef\x48\x77\x32\x01\x30\x... | 39,514.333333 | 118,483 | 0.750049 | 29,623 | 118,543 | 3.001013 | 0.008946 | 0.00135 | 0.001316 | 0.00108 | 0.000439 | 0.00027 | 0.00027 | 0 | 0 | 0 | 0 | 0.313921 | 0.000084 | 118,543 | 3 | 118,483 | 39,514.333333 | 0.436073 | 0 | 0 | 0 | 0 | 0.333333 | 0.999173 | 0.999173 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
40532bfda262955b21e09ca583401cd37a717869 | 1,914 | py | Python | design_patterns/builder/car/car_builder.py | amommendes/python-fluente | 04b3b257802c368acd313f93ef42aee8c4564d9c | [
"Apache-2.0"
] | null | null | null | design_patterns/builder/car/car_builder.py | amommendes/python-fluente | 04b3b257802c368acd313f93ef42aee8c4564d9c | [
"Apache-2.0"
] | 2 | 2020-04-02T06:03:34.000Z | 2021-08-23T20:40:32.000Z | design_patterns/builder/car/car_builder.py | amommendes/python-fluente | 04b3b257802c368acd313f93ef42aee8c4564d9c | [
"Apache-2.0"
] | null | null | null | from design_patterns.builder.builder import GenericBuilder
class Car:
def __init__(self):
self.seats = None
self.engine = None
self.trip_computer = None
self.gps = None
def describe(self):
print(f"""Seats: {self.seats}\nEngine: {self.engine}\nHas Trip Computer: {self.t... | 23.341463 | 126 | 0.605016 | 237 | 1,914 | 4.738397 | 0.172996 | 0.11398 | 0.078362 | 0.053428 | 0.869991 | 0.869991 | 0.869991 | 0.869991 | 0.869991 | 0.869991 | 0 | 0 | 0.275862 | 1,914 | 81 | 127 | 23.62963 | 0.810245 | 0 | 0 | 0.785714 | 0 | 0.035714 | 0.130685 | 0.048092 | 0 | 0 | 0 | 0 | 0 | 1 | 0.321429 | false | 0 | 0.017857 | 0 | 0.446429 | 0.035714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
405aa680c1de6c0b4849737fa056666ef4701897 | 57 | py | Python | src/eve_utils/skel/api/log_trace/__init__.py | pointw-dev/eve-utils | 2af7d28232e0d22975cc8141fda27a3870694223 | [
"MIT"
] | null | null | null | src/eve_utils/skel/api/log_trace/__init__.py | pointw-dev/eve-utils | 2af7d28232e0d22975cc8141fda27a3870694223 | [
"MIT"
] | null | null | null | src/eve_utils/skel/api/log_trace/__init__.py | pointw-dev/eve-utils | 2af7d28232e0d22975cc8141fda27a3870694223 | [
"MIT"
] | null | null | null | import log_trace.trace_level
import log_trace.decorators
| 19 | 28 | 0.894737 | 9 | 57 | 5.333333 | 0.555556 | 0.375 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 2 | 29 | 28.5 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
405b1e05e30665caf1b56d799edb993551a9f5b1 | 217 | py | Python | thirdfile.py | 1frenchfrog1/testgithub | 7191e44d75ba50438d9c2fe8f0fcf9fcf3a2a991 | [
"MIT"
] | null | null | null | thirdfile.py | 1frenchfrog1/testgithub | 7191e44d75ba50438d9c2fe8f0fcf9fcf3a2a991 | [
"MIT"
] | null | null | null | thirdfile.py | 1frenchfrog1/testgithub | 7191e44d75ba50438d9c2fe8f0fcf9fcf3a2a991 | [
"MIT"
] | null | null | null | #!/usr/bin/python
def printme3( str ):
"This prints a passed string into this function"
print(str)
return
def printme3too( str ):
"This prints a passed string into this function"
print(str)
return
| 18.083333 | 51 | 0.686636 | 31 | 217 | 4.806452 | 0.516129 | 0.09396 | 0.174497 | 0.187919 | 0.751678 | 0.751678 | 0.751678 | 0.751678 | 0.751678 | 0.751678 | 0 | 0.011905 | 0.225806 | 217 | 11 | 52 | 19.727273 | 0.875 | 0.506912 | 0 | 0.75 | 0 | 0 | 0.46 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 0 | 0.5 | 0.75 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 10 |
40b2cc030d6a30c0712c0c57fa3c66ef5a1d7839 | 61,832 | py | Python | ESMF/src/addon/ESMPy/src/ESMF/util/mesh_utilities.py | joeylamcy/gchp | 0e1676300fc91000ecb43539cabf1f342d718fb3 | [
"NCSA",
"Apache-2.0",
"MIT"
] | 1 | 2018-07-05T16:48:58.000Z | 2018-07-05T16:48:58.000Z | ESMF/src/addon/ESMPy/src/ESMF/util/mesh_utilities.py | joeylamcy/gchp | 0e1676300fc91000ecb43539cabf1f342d718fb3 | [
"NCSA",
"Apache-2.0",
"MIT"
] | 1 | 2022-03-04T16:12:02.000Z | 2022-03-04T16:12:02.000Z | ESMF/src/addon/ESMPy/src/ESMF/util/mesh_utilities.py | joeylamcy/gchp | 0e1676300fc91000ecb43539cabf1f342d718fb3 | [
"NCSA",
"Apache-2.0",
"MIT"
] | null | null | null | """
Utilities for regridding with Meshes
"""
import sys
try:
import numpy as np
except:
raise ImportError('The Numpy library cannot be found!')
try:
import ESMF
except:
raise ImportError('The ESMF library cannot be found!')
def mesh_create_5_pentahexa(coord_sys=None):
'''
PRECONDITIONS: ... | 43.29972 | 122 | 0.376294 | 8,209 | 61,832 | 2.802899 | 0.031063 | 0.047155 | 0.012386 | 0.017515 | 0.898083 | 0.879091 | 0.861315 | 0.84367 | 0.828067 | 0.808901 | 0 | 0.243742 | 0.462414 | 61,832 | 1,427 | 123 | 43.330063 | 0.448466 | 0.346811 | 0 | 0.65771 | 0 | 0 | 0.008896 | 0 | 0 | 0 | 0 | 0.001402 | 0 | 1 | 0.016355 | false | 0 | 0.005841 | 0 | 0.056075 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dc0d1184e1242e724cdf316f494a157898696c70 | 6,506 | py | Python | RecoParticleFlow/PFClusterProducer/python/particleFlowClusterHBHETimeSelected_cfi.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | RecoParticleFlow/PFClusterProducer/python/particleFlowClusterHBHETimeSelected_cfi.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | RecoParticleFlow/PFClusterProducer/python/particleFlowClusterHBHETimeSelected_cfi.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | import FWCore.ParameterSet.Config as cms
particleFlowClusterHBHETimeSelected = cms.EDProducer(
"PFClusterTimeSelector",
src = cms.InputTag('particleFlowClusterHBHE'),
cuts = cms.VPSet(
cms.PSet(
depth=cms.double(1.0),
minEnergy = cms.double(0.0),
maxEnergy = cms.... | 31.892157 | 53 | 0.456963 | 707 | 6,506 | 4.205092 | 0.050919 | 0.363269 | 0.096872 | 0.12109 | 0.947864 | 0.947864 | 0.947864 | 0.947864 | 0.947864 | 0.947864 | 0 | 0.067313 | 0.397172 | 6,506 | 203 | 54 | 32.049261 | 0.690719 | 0 | 0 | 0.954774 | 0 | 0 | 0.006763 | 0.006763 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005025 | 0 | 0.005025 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 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 | 8 |
9080a3709d8f2c22a3f8dfed3e48c26f39cfefe5 | 7,695 | py | Python | survae/tests/nn/nets/autoregressive/made.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 262 | 2020-07-05T20:57:44.000Z | 2022-03-28T02:24:43.000Z | survae/tests/nn/nets/autoregressive/made.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 17 | 2020-08-15T05:43:34.000Z | 2022-01-31T12:24:21.000Z | survae/tests/nn/nets/autoregressive/made.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 35 | 2020-08-24T06:55:37.000Z | 2022-02-11T05:17:58.000Z | import torch
import torchtestcase
import unittest
import copy
from survae.nn.layers.autoregressive import MaskedLinear
from survae.nn.nets.autoregressive import MADE, AgnosticMADE
class MADETest(torchtestcase.TorchTestCase):
def test_shape(self):
batch_size = 16
features = 10
hidden_featu... | 37.173913 | 83 | 0.523327 | 786 | 7,695 | 4.914758 | 0.127226 | 0.053585 | 0.071447 | 0.04349 | 0.84028 | 0.818794 | 0.805333 | 0.790318 | 0.771421 | 0.762879 | 0 | 0.025134 | 0.395062 | 7,695 | 206 | 84 | 37.354369 | 0.804726 | 0.073164 | 0 | 0.741176 | 0 | 0 | 0.001124 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 1 | 0.041176 | false | 0 | 0.035294 | 0 | 0.088235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
90a93c91f25a50f10124820acbe6f5b2f55ad203 | 31 | py | Python | print_h5/__init__.py | gmloose/print_h5 | 5951f8e758faa9b0bc97469b93373bcc189676cf | [
"MIT"
] | null | null | null | print_h5/__init__.py | gmloose/print_h5 | 5951f8e758faa9b0bc97469b93373bcc189676cf | [
"MIT"
] | null | null | null | print_h5/__init__.py | gmloose/print_h5 | 5951f8e758faa9b0bc97469b93373bcc189676cf | [
"MIT"
] | null | null | null | from .print_h5 import print_h5
| 15.5 | 30 | 0.83871 | 6 | 31 | 4 | 0.666667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.129032 | 31 | 1 | 31 | 31 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
90b21184da6a12bb59f68592f072248642874f4a | 91 | py | Python | tests/bytecode/mp-tests/list2.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 303 | 2015-07-11T17:12:55.000Z | 2018-01-08T03:02:37.000Z | tests/bytecode/mp-tests/list2.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 13 | 2016-05-12T16:51:22.000Z | 2018-01-10T22:33:25.000Z | tests/bytecode/mp-tests/list2.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 26 | 2018-01-18T09:15:33.000Z | 2022-02-07T13:09:14.000Z | x = [()]
x = [(a)]
x = [(a,)]
x = [(a)]
x = [(a,)]
x = [a, b]
x = [(a, b)]
x = [(a, b, c)]
| 10.111111 | 15 | 0.208791 | 19 | 91 | 1 | 0.210526 | 0.736842 | 0.631579 | 0.842105 | 0.894737 | 0.894737 | 0.526316 | 0.526316 | 0 | 0 | 0 | 0 | 0.307692 | 91 | 8 | 16 | 11.375 | 0.301587 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
296a47c62a5aec25a932d0aa16dd57b46e89ebb2 | 12,668 | py | Python | PROJECT/CS698R-Project-Foraging-in-Replenishing-Patches-7-main/agents/MAB/baselinesForgetfulness.py | ShivenTripathi/CS698-Deep-Reinforcement-Learning | 184f7887cea3065d2bfa4ba05bfb249838c3dab4 | [
"MIT"
] | null | null | null | PROJECT/CS698R-Project-Foraging-in-Replenishing-Patches-7-main/agents/MAB/baselinesForgetfulness.py | ShivenTripathi/CS698-Deep-Reinforcement-Learning | 184f7887cea3065d2bfa4ba05bfb249838c3dab4 | [
"MIT"
] | null | null | null | PROJECT/CS698R-Project-Foraging-in-Replenishing-Patches-7-main/agents/MAB/baselinesForgetfulness.py | ShivenTripathi/CS698-Deep-Reinforcement-Learning | 184f7887cea3065d2bfa4ba05bfb249838c3dab4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[2]:
get_ipython().system('pip install --upgrade --editable ../gym-env')
# In[1]:
import gym
import gym_env
import matplotlib.pyplot as plt
from tqdm import tqdm
import numpy as np
env = gym.make('foraging-replenishing-patches-v0')
env.reset()
for i in range(300):
... | 27.903084 | 149 | 0.64809 | 1,944 | 12,668 | 4.149177 | 0.097737 | 0.020828 | 0.051327 | 0.037193 | 0.83883 | 0.812918 | 0.778825 | 0.755889 | 0.731217 | 0.69452 | 0 | 0.040767 | 0.188664 | 12,668 | 453 | 150 | 27.96468 | 0.744016 | 0.074755 | 0 | 0.72069 | 0 | 0 | 0.116126 | 0.038366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024138 | false | 0 | 0.017241 | 0 | 0.058621 | 0.027586 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
297ef3a68fd3aa18348a3056dd5c9595cdc1c7b3 | 174 | py | Python | __init__.py | JiaZhou-PU/TEAL | d3e08d213ecea6b2f9738b746da224d36fbe41c8 | [
"Apache-2.0"
] | null | null | null | __init__.py | JiaZhou-PU/TEAL | d3e08d213ecea6b2f9738b746da224d36fbe41c8 | [
"Apache-2.0"
] | null | null | null | __init__.py | JiaZhou-PU/TEAL | d3e08d213ecea6b2f9738b746da224d36fbe41c8 | [
"Apache-2.0"
] | null | null | null | from TEAL.src import Amortization
from TEAL.src import CashFlow_ExtMod
from TEAL.src import CashFlows
from TEAL.src import CashFlowUser
from TEAL.src import main as CashFlow
| 29 | 37 | 0.844828 | 28 | 174 | 5.214286 | 0.392857 | 0.273973 | 0.376712 | 0.582192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 174 | 5 | 38 | 34.8 | 0.960526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
46249cf61de2285121d07fa8b0f6ad1cff0ba4a9 | 59,462 | py | Python | ciscomeapi/_me_api.py | anuzellig/ciscomeapi | 78961ce6ac8ef9333fb2956fc229ec2f47928520 | [
"MIT"
] | 1 | 2021-10-20T16:07:26.000Z | 2021-10-20T16:07:26.000Z | ciscomeapi/_me_api.py | anuzellig/cisco-mobility-express-python-api | 78961ce6ac8ef9333fb2956fc229ec2f47928520 | [
"MIT"
] | 5 | 2021-06-02T00:39:48.000Z | 2021-10-19T13:40:15.000Z | ciscomeapi/_me_api.py | anuzellig/cisco-mobility-express-python-api | 78961ce6ac8ef9333fb2956fc229ec2f47928520 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
_me_api
~~~~~~~~~~~~~~~~~~~
Autogenerated, do not edit
"""
from .helpers import request
def _acldata(me, method: str, extra_params={}) -> dict:
return request(me, method, "/screens/webui/resource/acldata.json", extra_params=extra_params)
def _aclnamelist(me, method: str, extra_par... | 43.213663 | 126 | 0.759241 | 7,522 | 59,462 | 5.759904 | 0.050651 | 0.258967 | 0.086322 | 0.164797 | 0.808798 | 0.80379 | 0.641947 | 0.618866 | 0.588977 | 0.54847 | 0 | 0.002384 | 0.104066 | 59,462 | 1,375 | 127 | 43.245091 | 0.810883 | 0.001312 | 0 | 0 | 1 | 0 | 0.24541 | 0.243137 | 0 | 0 | 0 | 0 | 0 | 1 | 0.497076 | false | 0 | 0.004386 | 0.49269 | 0.998538 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
465fdcc61e7306ada67872efd1e057a04ad1f9ff | 110,781 | py | Python | huaweicloud-sdk-vpc/huaweicloudsdkvpc/v2/vpc_async_client.py | Adek06/huaweicloud-sdk-python-v3 | 3d13b27d089e04a1ae567cd649b3c5509e0391d2 | [
"Apache-2.0"
] | null | null | null | huaweicloud-sdk-vpc/huaweicloudsdkvpc/v2/vpc_async_client.py | Adek06/huaweicloud-sdk-python-v3 | 3d13b27d089e04a1ae567cd649b3c5509e0391d2 | [
"Apache-2.0"
] | null | null | null | huaweicloud-sdk-vpc/huaweicloudsdkvpc/v2/vpc_async_client.py | Adek06/huaweicloud-sdk-python-v3 | 3d13b27d089e04a1ae567cd649b3c5509e0391d2 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
from __future__ import absolute_import
import datetime
import re
import importlib
import six
from huaweicloudsdkcore.client import Client, ClientBuilder
from huaweicloudsdkcore.exceptions import exceptions
from huaweicloudsdkcore.utils import http_utils
from huaweicloudsdkcore.sdk_stream_request imp... | 29.676132 | 243 | 0.623194 | 10,872 | 110,781 | 5.93819 | 0.038723 | 0.043866 | 0.076766 | 0.02974 | 0.927587 | 0.912035 | 0.894145 | 0.863522 | 0.842224 | 0.708457 | 0 | 0.002181 | 0.29237 | 110,781 | 3,732 | 244 | 29.684084 | 0.821372 | 0.118883 | 0 | 0.841905 | 0 | 0 | 0.09514 | 0.047355 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055714 | false | 0 | 0.004762 | 0.000476 | 0.117143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4670a6b6aef2d4a201d154a4f60e6d08a2ea3497 | 4,828 | py | Python | msgraph-cli-extensions/v1_0/cloudcommunications_v1_0/azext_cloudcommunications_v1_0/generated/_params.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/v1_0/cloudcommunications_v1_0/azext_cloudcommunications_v1_0/generated/_params.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/v1_0/cloudcommunications_v1_0/azext_cloudcommunications_v1_0/generated/_params.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause... | 63.526316 | 109 | 0.656172 | 605 | 4,828 | 5.115702 | 0.221488 | 0.116317 | 0.067528 | 0.058805 | 0.821325 | 0.821325 | 0.776737 | 0.776737 | 0.776737 | 0.776737 | 0 | 0.000504 | 0.178128 | 4,828 | 75 | 110 | 64.373333 | 0.779486 | 0.104805 | 0 | 0.75 | 0 | 0 | 0.418182 | 0.057851 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017857 | false | 0 | 0.035714 | 0 | 0.053571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
46abbfcc778c76906014c1f8a2a2d4053c094694 | 22,174 | py | Python | tests/benchmarks/micro_benchmarks/test_gpcnet_performance.py | SiriusKY/superbenchmark | 4074f12c1c38fb393c16fa9be73e9afc4dc5883a | [
"MIT"
] | null | null | null | tests/benchmarks/micro_benchmarks/test_gpcnet_performance.py | SiriusKY/superbenchmark | 4074f12c1c38fb393c16fa9be73e9afc4dc5883a | [
"MIT"
] | null | null | null | tests/benchmarks/micro_benchmarks/test_gpcnet_performance.py | SiriusKY/superbenchmark | 4074f12c1c38fb393c16fa9be73e9afc4dc5883a | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
"""Tests for GPCNet benchmark."""
import os
import numbers
import unittest
from pathlib import Path
from superbench.benchmarks import BenchmarkRegistry, Platform, BenchmarkType
class GPCNetBenchmarkTest(unittest.TestCase): # noqa: E501
... | 69.510972 | 140 | 0.361414 | 1,682 | 22,174 | 4.660523 | 0.139715 | 0.11328 | 0.165582 | 0.180635 | 0.833652 | 0.813624 | 0.784666 | 0.779691 | 0.777012 | 0.772292 | 0 | 0.074926 | 0.239199 | 22,174 | 318 | 141 | 69.72956 | 0.389745 | 0.032696 | 0 | 0.732342 | 0 | 0.126394 | 0.730352 | 0.368283 | 0 | 0 | 0 | 0 | 0.152416 | 1 | 0.01487 | false | 0 | 0.018587 | 0 | 0.037175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3117e5abd03786688a0271ff36e547e76a1835a0 | 8,093 | py | Python | tests/test_SO3tensor.py | ehthiede/python-pygelib | 8140ce7ab05a47dad202b2b7f1e8aee5309723e2 | [
"MIT"
] | null | null | null | tests/test_SO3tensor.py | ehthiede/python-pygelib | 8140ce7ab05a47dad202b2b7f1e8aee5309723e2 | [
"MIT"
] | null | null | null | tests/test_SO3tensor.py | ehthiede/python-pygelib | 8140ce7ab05a47dad202b2b7f1e8aee5309723e2 | [
"MIT"
] | null | null | null | import torch
import pytest
import operator
from pygelib.SO3TensorArray import SO3TensorArray
class TestSO3TensorArrayMult(object):
# Pointwise Multiplication tests
def test_array_mult(self):
a_parts = [torch.randn(2, 4, 5) for i in range(3)]
b_parts = [torch.randn(2, 4, 5) for i in range(3)]
... | 40.873737 | 82 | 0.56518 | 1,359 | 8,093 | 3.145695 | 0.047829 | 0.078596 | 0.124444 | 0.121637 | 0.892632 | 0.873216 | 0.85614 | 0.847485 | 0.846316 | 0.826433 | 0 | 0.042852 | 0.28778 | 8,093 | 197 | 83 | 41.081218 | 0.69882 | 0.014333 | 0 | 0.701863 | 0 | 0 | 0.001631 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.124224 | false | 0 | 0.024845 | 0 | 0.180124 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3128bfd7b547b457101f07bc581712fcf50d8511 | 2,324 | py | Python | modulo_2/pega_id_pizzas_esfihas.py | kallif003/Sistema-Delivery | b9c68e3a02ff0d60c7513dd09c08d722e76b138b | [
"MIT"
] | null | null | null | modulo_2/pega_id_pizzas_esfihas.py | kallif003/Sistema-Delivery | b9c68e3a02ff0d60c7513dd09c08d722e76b138b | [
"MIT"
] | null | null | null | modulo_2/pega_id_pizzas_esfihas.py | kallif003/Sistema-Delivery | b9c68e3a02ff0d60c7513dd09c08d722e76b138b | [
"MIT"
] | null | null | null | def pega_id(*args):
try:
telaAtualizarProdutos = args[0]
telaErro = args[1]
cursor = args[2]
id = telaAtualizarProdutos.cod_atualizar.text()
if telaAtualizarProdutos.broto_atualizar.isChecked():
cursor.execute("select * from broto where id = %s" % id)
... | 50.521739 | 82 | 0.66222 | 233 | 2,324 | 6.51073 | 0.193133 | 0.158207 | 0.187871 | 0.23731 | 0.835201 | 0.835201 | 0.700066 | 0.700066 | 0.700066 | 0.700066 | 0 | 0.018232 | 0.22117 | 2,324 | 45 | 83 | 51.644444 | 0.81989 | 0 | 0 | 0.512821 | 0 | 0 | 0.089501 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0 | 0 | 0.025641 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
31c0a10470bb26c4296759610e87bfb4c3594b9d | 26,877 | py | Python | contrib/runners/orquesta_runner/tests/unit/test_with_items.py | saucetray/st2 | 8f507d6c8d9483c8371e386fe2b7998596856fd7 | [
"Apache-2.0"
] | 2 | 2021-08-04T01:04:06.000Z | 2021-08-04T01:04:08.000Z | contrib/runners/orquesta_runner/tests/unit/test_with_items.py | saucetray/st2 | 8f507d6c8d9483c8371e386fe2b7998596856fd7 | [
"Apache-2.0"
] | null | null | null | contrib/runners/orquesta_runner/tests/unit/test_with_items.py | saucetray/st2 | 8f507d6c8d9483c8371e386fe2b7998596856fd7 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Extreme Networks, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 43.845024 | 99 | 0.718272 | 3,922 | 26,877 | 4.516573 | 0.063488 | 0.039517 | 0.039968 | 0.02896 | 0.851248 | 0.828271 | 0.814949 | 0.805578 | 0.782037 | 0.777464 | 0 | 0.009252 | 0.199725 | 26,877 | 612 | 100 | 43.916667 | 0.81431 | 0.099565 | 0 | 0.720482 | 0 | 0 | 0.0273 | 0.007705 | 0 | 0 | 0 | 0 | 0.195181 | 1 | 0.028916 | false | 0 | 0.057831 | 0.00241 | 0.093976 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
31c15490908bbd2e8263af7a2c7db5e1fdfc27e0 | 2,741 | py | Python | tests/command_builder/test_command_builder_is_installed.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/command_builder/test_command_builder_is_installed.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/command_builder/test_command_builder_is_installed.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | from statue.command_builder import CommandBuilder
from tests.constants import COMMAND1, COMMAND_HELP_STRING1
from tests.util import dummy_version, dummy_versions
def test_command_builder_not_installed(mock_get_package):
mock_get_package.return_value = None
command_builder = CommandBuilder(name=COMMAND1, help=... | 39.157143 | 82 | 0.808829 | 325 | 2,741 | 6.415385 | 0.110769 | 0.248441 | 0.201439 | 0.222542 | 0.876259 | 0.858513 | 0.831655 | 0.823981 | 0.823981 | 0.823981 | 0 | 0.0059 | 0.134258 | 2,741 | 69 | 83 | 39.724638 | 0.872735 | 0 | 0 | 0.685185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.462963 | 1 | 0.092593 | false | 0 | 0.055556 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
31c77f30e5bd8d77c70a58032b467c9ceb34b26e | 266 | py | Python | onnxmltools/convert/xgboost/shape_calculators/Regressor.py | xhochy/onnxmltools | cb2782b155ff67dc1e586f36a27c5d032070c801 | [
"Apache-2.0"
] | 623 | 2018-02-16T20:43:01.000Z | 2022-03-31T05:00:17.000Z | onnxmltools/convert/xgboost/shape_calculators/Regressor.py | xhochy/onnxmltools | cb2782b155ff67dc1e586f36a27c5d032070c801 | [
"Apache-2.0"
] | 339 | 2018-02-26T21:27:04.000Z | 2022-03-31T03:16:50.000Z | onnxmltools/convert/xgboost/shape_calculators/Regressor.py | xhochy/onnxmltools | cb2782b155ff67dc1e586f36a27c5d032070c801 | [
"Apache-2.0"
] | 152 | 2018-02-24T01:20:22.000Z | 2022-03-31T07:41:35.000Z | # SPDX-License-Identifier: Apache-2.0
from ...common._registration import register_shape_calculator
from ...common.shape_calculator import calculate_linear_regressor_output_shapes
register_shape_calculator('XGBRegressor', calculate_linear_regressor_output_shapes)
| 38 | 83 | 0.87218 | 32 | 266 | 6.8125 | 0.59375 | 0.206422 | 0.211009 | 0.275229 | 0.330275 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007968 | 0.056391 | 266 | 6 | 84 | 44.333333 | 0.860558 | 0.131579 | 0 | 0 | 0 | 0 | 0.052402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
31dd398630b870fb7df7fd44c69b241c1a9cb158 | 122 | py | Python | pythonExamples/FirstPythonLect/pythonLect4.py | davidruffner/computation-physics-nyu-2009 | 754d48f820773cd6b1b3cd3a7444363b78e1ea00 | [
"MIT"
] | null | null | null | pythonExamples/FirstPythonLect/pythonLect4.py | davidruffner/computation-physics-nyu-2009 | 754d48f820773cd6b1b3cd3a7444363b78e1ea00 | [
"MIT"
] | null | null | null | pythonExamples/FirstPythonLect/pythonLect4.py | davidruffner/computation-physics-nyu-2009 | 754d48f820773cd6b1b3cd3a7444363b78e1ea00 | [
"MIT"
] | null | null | null | print range(10)
print range(1,10)
print range(1,10+1)
print range(50,60+1)
print range(100,0,-1)
print range(100,0-3,-5)
| 15.25 | 23 | 0.696721 | 28 | 122 | 3.035714 | 0.357143 | 0.705882 | 0.388235 | 0.305882 | 0.682353 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229358 | 0.106557 | 122 | 7 | 24 | 17.428571 | 0.550459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
73232755e222e8bc141f44fcf748be0fd469cd06 | 8,304 | py | Python | docs/timEndpointPython.py | danrasband/jpo-ode | afb8536ee99ace019fa55c6572a10e68f7074806 | [
"Apache-2.0"
] | 75 | 2016-11-24T12:59:43.000Z | 2021-11-30T09:09:57.000Z | docs/timEndpointPython.py | danrasband/jpo-ode | afb8536ee99ace019fa55c6572a10e68f7074806 | [
"Apache-2.0"
] | 179 | 2016-11-22T21:18:45.000Z | 2022-03-16T20:02:13.000Z | docs/timEndpointPython.py | danrasband/jpo-ode | afb8536ee99ace019fa55c6572a10e68f7074806 | [
"Apache-2.0"
] | 43 | 2016-11-28T11:37:07.000Z | 2022-01-17T05:14:30.000Z | import requests
url = "http://localhost:8080/tim"
payload = "{\r\n\t\"timContent\": {\r\n\t\t\"msgcnt\": \"1\",\r\n\t\t\"timestamp\": \"op\",\r\n\t\t\"packetID\": \"op\",\r\n\t\t\"urlB\": \"op\",\r\n\t\t\"travelerDataFrame\": [{\r\n\t\t\t\"header\": {\r\n\t\t\t\t\"sspindex\": \"1\",\r\n\t\t\t\t\"travelerInfoType\": \... | 553.6 | 8,005 | 0.483984 | 2,666 | 8,304 | 1.507502 | 0.055514 | 0.805175 | 1.038318 | 1.179398 | 0.770341 | 0.755909 | 0.747698 | 0.713113 | 0.684996 | 0.678776 | 0 | 0.030689 | 0.026855 | 8,304 | 14 | 8,006 | 593.142857 | 0.46665 | 0 | 0 | 0 | 0 | 11 | 0.691835 | 0.512163 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.1 | 0.1 | 0 | 0.1 | 0.1 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 15 |
7325b0352411a882c5951bf66d6f639d33acbff6 | 13,665 | py | Python | snow/plugins/fix1_configuresnow.py | vPeteWalker/gts21 | 90d827028f5c8f21457de81c0b718f7adbe9a262 | [
"MIT"
] | null | null | null | snow/plugins/fix1_configuresnow.py | vPeteWalker/gts21 | 90d827028f5c8f21457de81c0b718f7adbe9a262 | [
"MIT"
] | null | null | null | snow/plugins/fix1_configuresnow.py | vPeteWalker/gts21 | 90d827028f5c8f21457de81c0b718f7adbe9a262 | [
"MIT"
] | 2 | 2021-04-06T16:59:32.000Z | 2021-05-05T18:50:34.000Z | cat <<EOF > /tmp/ConfigureSNOW.py
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.action_chains import ActionChains
import os, sys, time
options = Options()
options.headless = True
profile = webdriver.F... | 45.09901 | 232 | 0.786901 | 2,076 | 13,665 | 4.874759 | 0.105491 | 0.107609 | 0.176087 | 0.195652 | 0.802668 | 0.780336 | 0.770751 | 0.761265 | 0.744269 | 0.718676 | 0 | 0.039142 | 0.052104 | 13,665 | 302 | 233 | 45.248344 | 0.742145 | 0.071277 | 0 | 0.687259 | 0 | 0.019305 | 0.3214 | 0.128465 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.011583 | 0.03861 | null | null | 0.050193 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
733fe621092d3b1cd99899f8ccd1cfd8f184a8ac | 95,767 | py | Python | training/getResNetProtoTxt.py | Pandinosaurus/openpose_train | 5c6bb1ef82ccc8d4321697ea87eb1a703ae03c57 | [
"MIT-CMU"
] | 496 | 2019-10-01T02:51:22.000Z | 2022-03-10T14:38:25.000Z | training/getResNetProtoTxt.py | GenerousMan/openpose_train | 8ace22b37cbdf1991feb21a2fd685d641a44cdab | [
"MIT-CMU"
] | 55 | 2019-10-02T15:15:21.000Z | 2022-03-17T08:52:29.000Z | training/getResNetProtoTxt.py | GenerousMan/openpose_train | 8ace22b37cbdf1991feb21a2fd685d641a44cdab | [
"MIT-CMU"
] | 174 | 2019-10-01T13:21:47.000Z | 2022-03-30T09:03:43.000Z | def getResNet50Init():
string = '\
layer {\n\
bottom: "image"\n\
top: "conv1"\n\
name: "conv1"\n\
type: "Convolution"\n\
convolution_param {\n\
num_output: 64\n\
kernel_size: 7\n\
pad: 3\n\
stride: 2\n\
}\n\
}\n\
\n\
layer {\n\
bottom: "conv1"\n\
top: ... | 19.269014 | 35 | 0.56909 | 14,491 | 95,767 | 3.567939 | 0.008143 | 0.038489 | 0.068777 | 0.078603 | 0.988105 | 0.979015 | 0.950873 | 0.924956 | 0.915169 | 0.893681 | 0 | 0.05211 | 0.236136 | 95,767 | 4,969 | 36 | 19.272892 | 0.654669 | 0 | 0 | 0.958676 | 0 | 0 | 0.231345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000822 | false | 0 | 0 | 0 | 0.001645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b439ca318f67d77f2e405602deea500ae94435a6 | 122 | py | Python | src/database/base.py | JuanFKurucz/proyecto-seguridad | feb805c785afc57de19244e7916f232d3798a768 | [
"MIT"
] | null | null | null | src/database/base.py | JuanFKurucz/proyecto-seguridad | feb805c785afc57de19244e7916f232d3798a768 | [
"MIT"
] | null | null | null | src/database/base.py | JuanFKurucz/proyecto-seguridad | feb805c785afc57de19244e7916f232d3798a768 | [
"MIT"
] | null | null | null | from src.database.models.user import User
from src.database.models.file import File
from src.database.session import Base
| 30.5 | 41 | 0.836066 | 20 | 122 | 5.1 | 0.45 | 0.205882 | 0.441176 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 122 | 3 | 42 | 40.666667 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
b453de84607dcd084082cdaa70e0f24244d6027a | 92,239 | py | Python | app/test/unittest/test_executive_device.py | michalkoziara/IoT-RESTful-Webservice | ecb0f3e09cded3190f3646e5cd6c913056d94981 | [
"bzip2-1.0.6"
] | 2 | 2021-09-24T02:45:32.000Z | 2021-11-15T09:44:44.000Z | app/test/unittest/test_executive_device.py | PKramek/IoT-RESTful-Webservice-1 | ecb0f3e09cded3190f3646e5cd6c913056d94981 | [
"bzip2-1.0.6"
] | null | null | null | app/test/unittest/test_executive_device.py | PKramek/IoT-RESTful-Webservice-1 | ecb0f3e09cded3190f3646e5cd6c913056d94981 | [
"bzip2-1.0.6"
] | 1 | 2021-09-11T11:47:32.000Z | 2021-09-11T11:47:32.000Z | from unittest.mock import Mock
from unittest.mock import patch
import pytest
from app.main.model import ExecutiveDevice
from app.main.repository.admin_repository import AdminRepository
from app.main.repository.base_repository import BaseRepository
from app.main.repository.deleted_device_repository import DeletedDevic... | 40.849867 | 156 | 0.699552 | 10,681 | 92,239 | 5.430203 | 0.016384 | 0.135776 | 0.034397 | 0.033103 | 0.959069 | 0.946741 | 0.934379 | 0.926276 | 0.922052 | 0.908552 | 0 | 0.001361 | 0.251184 | 92,239 | 2,257 | 157 | 40.867966 | 0.838367 | 0 | 0 | 0.843628 | 0 | 0 | 0.086265 | 0.055475 | 0 | 0 | 0 | 0 | 0.106845 | 1 | 0.032276 | false | 0.016694 | 0.008347 | 0 | 0.040623 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b4567d0735cf2ca49c778a93979ed6bcdd49e9c2 | 16,862 | py | Python | tests/sc/test_alerts.py | widnyana/pyTenable | be6194bbf11a2283543a2c355deb37b52cd1a93b | [
"MIT"
] | null | null | null | tests/sc/test_alerts.py | widnyana/pyTenable | be6194bbf11a2283543a2c355deb37b52cd1a93b | [
"MIT"
] | null | null | null | tests/sc/test_alerts.py | widnyana/pyTenable | be6194bbf11a2283543a2c355deb37b52cd1a93b | [
"MIT"
] | null | null | null | from tenable.errors import *
from ..checker import check
import datetime, sys, pytest, os
@pytest.fixture
def alert(request, vcr, sc):
with vcr.use_cassette('alert'):
alert = sc.alerts.create(
('severity', '=', '3,4'),
name='Example Alert',
trigger=('sumip', '>=', '100')... | 36.897155 | 71 | 0.539082 | 1,931 | 16,862 | 4.653547 | 0.062144 | 0.173603 | 0.10316 | 0.101491 | 0.90385 | 0.887937 | 0.857 | 0.839751 | 0.821723 | 0.781438 | 0 | 0.00229 | 0.274819 | 16,862 | 457 | 72 | 36.897155 | 0.732581 | 0 | 0 | 0.824885 | 0 | 0 | 0.236909 | 0.010674 | 0 | 0 | 0 | 0 | 0.023041 | 1 | 0.0553 | false | 0.002304 | 0.006912 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
81f4638f3e7069d994835efb2cb64c9143d6d7bb | 55,280 | py | Python | sdk/python/pulumi_gcp/storage/bucket_object.py | la3mmchen/pulumi-gcp | 0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea | [
"ECL-2.0",
"Apache-2.0"
] | 121 | 2018-06-18T19:16:42.000Z | 2022-03-31T06:06:48.000Z | sdk/python/pulumi_gcp/storage/bucket_object.py | la3mmchen/pulumi-gcp | 0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea | [
"ECL-2.0",
"Apache-2.0"
] | 492 | 2018-06-22T19:41:03.000Z | 2022-03-31T15:33:53.000Z | sdk/python/pulumi_gcp/storage/bucket_object.py | la3mmchen/pulumi-gcp | 0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea | [
"ECL-2.0",
"Apache-2.0"
] | 43 | 2018-06-19T01:43:13.000Z | 2022-03-23T22:43:37.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 50.855566 | 284 | 0.661234 | 6,852 | 55,280 | 5.174402 | 0.04714 | 0.077873 | 0.072655 | 0.071979 | 0.939219 | 0.929827 | 0.919814 | 0.91186 | 0.908222 | 0.884896 | 0 | 0.008978 | 0.224258 | 55,280 | 1,086 | 285 | 50.902394 | 0.817807 | 0.405933 | 0 | 0.817734 | 1 | 0 | 0.104095 | 0.012663 | 0 | 0 | 0 | 0 | 0 | 1 | 0.167488 | false | 0.001642 | 0.011494 | 0.004926 | 0.280788 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c300c4fe978ce8b4169c7c4e76540ec192a4a74c | 221 | py | Python | folder1/f1b.py | redeye999/pyneta | 96aebbf5f59a9abdbd9d21d29a0e80a988fcf45a | [
"Apache-2.0"
] | null | null | null | folder1/f1b.py | redeye999/pyneta | 96aebbf5f59a9abdbd9d21d29a0e80a988fcf45a | [
"Apache-2.0"
] | null | null | null | folder1/f1b.py | redeye999/pyneta | 96aebbf5f59a9abdbd9d21d29a0e80a988fcf45a | [
"Apache-2.0"
] | null | null | null |
irint("Hello NYC")
print("Hello NYC")
print("Hello NYC")
print("Hello NYC")
print("Ola Mira")
print("Ola Mira")
print("Ola Mira")
print("Ola Mira")
print("Ola Mira")
print("Ola Mira")
print("Ola Mira")
print("Ola Mira")
| 15.785714 | 18 | 0.669683 | 36 | 221 | 4.111111 | 0.166667 | 0.432432 | 0.648649 | 0.804054 | 0.966216 | 0.966216 | 0.966216 | 0.966216 | 0.966216 | 0.648649 | 0 | 0 | 0.113122 | 221 | 13 | 19 | 17 | 0.755102 | 0 | 0 | 0.916667 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.916667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 12 |
c30b7e876671719992edc91ba30a572f5a1fccb2 | 45 | py | Python | pyjswidgets/pyjamas/Window.safari.py | takipsizad/pyjs | 54db0ba6747aca744f9f3c3e985a17e913dfb951 | [
"ECL-2.0",
"Apache-2.0"
] | 739 | 2015-01-01T02:05:11.000Z | 2022-03-30T15:26:16.000Z | pyjswidgets/pyjamas/Window.safari.py | takipsizad/pyjs | 54db0ba6747aca744f9f3c3e985a17e913dfb951 | [
"ECL-2.0",
"Apache-2.0"
] | 33 | 2015-03-25T23:17:04.000Z | 2021-08-19T08:25:22.000Z | pyjswidgets/pyjamas/Window.safari.py | takipsizad/pyjs | 54db0ba6747aca744f9f3c3e985a17e913dfb951 | [
"ECL-2.0",
"Apache-2.0"
] | 167 | 2015-01-01T22:27:47.000Z | 2022-03-17T13:29:19.000Z | def getDocumentRoot():
return doc().body
| 15 | 22 | 0.688889 | 5 | 45 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 23 | 22.5 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
5efdd8d85d868421c14678895c11c286175ee50b | 4,394 | py | Python | input_verification/check_households.py | atruszkowska/NR-population-revac | 3f35be85755bc7233cd1330ea1fbc0346c8dc04c | [
"MIT"
] | 3 | 2020-11-04T03:59:08.000Z | 2021-01-24T09:47:24.000Z | input_verification/check_households.py | atruszkowska/NR-ABM-population | 87d4fe9dcec4aa0c8dec41547e7589952c371b1f | [
"MIT"
] | null | null | null | input_verification/check_households.py | atruszkowska/NR-ABM-population | 87d4fe9dcec4aa0c8dec41547e7589952c371b1f | [
"MIT"
] | 3 | 2020-11-03T17:19:12.000Z | 2021-08-05T13:35:14.000Z | # ------------------------------------------------------------------
#
# Module for testing household structure
#
# ------------------------------------------------------------------
def print_houses_and_age(fname, agents):
''' Outputs house ID | age of every agent that lives there '''
# Dict with house ID vs. a l... | 31.84058 | 69 | 0.620391 | 605 | 4,394 | 4.446281 | 0.130579 | 0.095167 | 0.178439 | 0.124907 | 0.857621 | 0.848327 | 0.736059 | 0.717472 | 0.710037 | 0.679554 | 0 | 0.000829 | 0.176149 | 4,394 | 137 | 70 | 32.072993 | 0.742265 | 0.187301 | 0 | 0.824176 | 0 | 0 | 0.114521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043956 | false | 0 | 0 | 0 | 0.043956 | 0.043956 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6f1ad641eb1f936dfcb8584211205b226c8cf5b3 | 21,452 | py | Python | tests/test_scrump.py | profintegra/stumpy | 66b3402d91820005b466e1da6fe353b61e6246c5 | [
"BSD-3-Clause"
] | 2,296 | 2019-05-03T19:26:39.000Z | 2022-03-31T20:42:08.000Z | tests/test_scrump.py | vishalbelsare/stumpy | 5f192a0a41fbb44f144cc4b676d525f19aaeaa98 | [
"BSD-3-Clause"
] | 436 | 2019-05-06T14:14:01.000Z | 2022-03-31T20:39:31.000Z | tests/test_scrump.py | vishalbelsare/stumpy | 5f192a0a41fbb44f144cc4b676d525f19aaeaa98 | [
"BSD-3-Clause"
] | 318 | 2019-05-04T01:36:05.000Z | 2022-03-31T20:31:11.000Z | import numpy as np
import numpy.testing as npt
from stumpy import scrump, stump, config
from stumpy.scrump import prescrump
import pytest
import naive
test_data = [
(
np.array([9, 8100, -60, 7], dtype=np.float64),
np.array([584, -11, 23, 79, 1001, 0, -19], dtype=np.float64),
),
(
n... | 30.955267 | 88 | 0.628892 | 3,465 | 21,452 | 3.525253 | 0.035498 | 0.042161 | 0.103152 | 0.137536 | 0.927712 | 0.921572 | 0.917151 | 0.910929 | 0.910602 | 0.899959 | 0 | 0.020611 | 0.25592 | 21,452 | 692 | 89 | 31 | 0.744644 | 0.025359 | 0 | 0.82197 | 0 | 0 | 0.013834 | 0.001053 | 0 | 0 | 0 | 0 | 0.149621 | 1 | 0.041667 | false | 0 | 0.011364 | 0 | 0.05303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
489dbe86d2ea76f46632d9b1bea99a2d0c4981d9 | 16,771 | py | Python | gollahalli_cms/editor/models.py | akshaybabloo/gollahalli-cms | f74fbb6d88bf3a8acc7c4b0439e97d2bcc44a17f | [
"MIT"
] | 1 | 2020-08-08T22:46:40.000Z | 2020-08-08T22:46:40.000Z | gollahalli_cms/editor/models.py | akshaybabloo/gollahalli-com | f74fbb6d88bf3a8acc7c4b0439e97d2bcc44a17f | [
"MIT"
] | 41 | 2017-06-23T03:28:17.000Z | 2018-03-01T08:26:42.000Z | gollahalli_cms/editor/models.py | akshaybabloo/gollahalli-com | f74fbb6d88bf3a8acc7c4b0439e97d2bcc44a17f | [
"MIT"
] | null | null | null | """
All models for `editor`.
"""
from django.db import models
class ContentModel(models.Model):
"""
`ContentModel`, primary model has `ref_id`-PK, `created`, `updated`, `website_name`, `cv`, `bio`, `url`, `first_name`
`last_name`, `email_id`, `github`, `twitter`, `linkedin`, `file` and `image`
"""
... | 31.583804 | 125 | 0.620595 | 1,886 | 16,771 | 5.362142 | 0.075822 | 0.024028 | 0.041333 | 0.021853 | 0.804608 | 0.794423 | 0.779788 | 0.751211 | 0.715614 | 0.707703 | 0 | 0.007615 | 0.256156 | 16,771 | 530 | 126 | 31.643396 | 0.803046 | 0.187109 | 0 | 0.745763 | 0 | 0 | 0.046927 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.127119 | false | 0 | 0.004237 | 0.021186 | 0.614407 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 8 |
48b92c2e54d8f2cd8117822a7b6282949f134621 | 1,038 | py | Python | Centering The Text.py | MrAnonymous5635/CSCircles | 010ac82942c88da357e214ea5462ec378f3667b8 | [
"MIT"
] | 17 | 2018-09-19T09:44:33.000Z | 2022-01-17T15:17:11.000Z | Centering The Text.py | MrAnonymous5635/CSCircles | 010ac82942c88da357e214ea5462ec378f3667b8 | [
"MIT"
] | 2 | 2020-02-24T15:28:33.000Z | 2021-11-16T00:04:52.000Z | Centering The Text.py | MrAnonymous5635/CSCircles | 010ac82942c88da357e214ea5462ec378f3667b8 | [
"MIT"
] | 8 | 2020-02-20T00:02:06.000Z | 2022-01-06T17:25:51.000Z | width = int(input())
while width % 2 == 0:
text = input()
totalDots = chr(46) * (width - len(text))
halfDots = int(width / 2)
halfLen = len(text) / 2
firstDots = chr(46) * (halfDots - int(halfLen))
secondDots = chr(46) * (halfDots - int(halfLen))
if text == "END":
break
... | 27.315789 | 60 | 0.539499 | 125 | 1,038 | 4.48 | 0.168 | 0.071429 | 0.085714 | 0.171429 | 0.976786 | 0.976786 | 0.942857 | 0.942857 | 0.942857 | 0.796429 | 0 | 0.047288 | 0.307322 | 1,038 | 37 | 61 | 28.054054 | 0.731572 | 0 | 0 | 0.827586 | 0 | 0 | 0.00578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.137931 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 8 |
5b17f2a08c3ec56a382263a87375e2ef3352b4ca | 88,549 | py | Python | src/pyrad_proc/pyrad/proc/process_intercomp.py | jfigui/pyrad | 7811d593bb09a7f8a621c0e8ae3f32c2b85a0254 | [
"BSD-3-Clause"
] | 41 | 2016-12-01T08:46:06.000Z | 2021-06-24T21:14:33.000Z | src/pyrad_proc/pyrad/proc/process_intercomp.py | jfigui/pyrad | 7811d593bb09a7f8a621c0e8ae3f32c2b85a0254 | [
"BSD-3-Clause"
] | 42 | 2017-02-23T14:52:49.000Z | 2021-02-01T10:43:52.000Z | src/pyrad_proc/pyrad/proc/process_intercomp.py | jfigui/pyrad | 7811d593bb09a7f8a621c0e8ae3f32c2b85a0254 | [
"BSD-3-Clause"
] | 21 | 2016-08-25T15:02:12.000Z | 2021-05-27T04:09:40.000Z | """
pyrad.proc.process_intercomp
============================
Functions used in the inter-comparison between radars
.. autosummary::
:toctree: generated/
process_time_stats
process_time_stats2
process_time_avg
process_weighted_time_avg
process_time_avg_flag
process_colocated_gates
pro... | 39.37261 | 79 | 0.575422 | 10,512 | 88,549 | 4.586663 | 0.044425 | 0.05351 | 0.075599 | 0.032355 | 0.857472 | 0.840921 | 0.817069 | 0.792285 | 0.772083 | 0.751778 | 0 | 0.02382 | 0.312065 | 88,549 | 2,248 | 80 | 39.390125 | 0.76768 | 0.16584 | 0 | 0.738292 | 1 | 0 | 0.157959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006887 | false | 0 | 0.009642 | 0 | 0.068182 | 0.001377 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d29c5de6d157869c7b9e10256ecd4f63f916f180 | 32,439 | py | Python | sdk/python/pulumi_azure/appconfiguration/configuration_key.py | roderik/pulumi-azure | f6d0c058d6f9111a709bc5f1515d1638f9d615f0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/appconfiguration/configuration_key.py | roderik/pulumi-azure | f6d0c058d6f9111a709bc5f1515d1638f9d615f0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/appconfiguration/configuration_key.py | roderik/pulumi-azure | f6d0c058d6f9111a709bc5f1515d1638f9d615f0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 45.116829 | 325 | 0.634391 | 3,953 | 32,439 | 5.050089 | 0.057931 | 0.081 | 0.083454 | 0.072735 | 0.91359 | 0.899815 | 0.881982 | 0.875369 | 0.872815 | 0.864048 | 0 | 0.006611 | 0.258578 | 32,439 | 718 | 326 | 45.179666 | 0.823417 | 0.439933 | 0 | 0.810888 | 1 | 0 | 0.078153 | 0.017437 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163324 | false | 0.002865 | 0.014327 | 0 | 0.275072 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
961e5bda3a366270649e3dc685b3d30b09f61606 | 29,094 | py | Python | tests/integration/test_groups_it.py | corylevine/okta-sdk-python | c86b8fdc4525e84199143c27213c0aebc6b2af8f | [
"Apache-2.0"
] | 145 | 2017-06-13T21:54:04.000Z | 2022-02-25T05:44:34.000Z | tests/integration/test_groups_it.py | corylevine/okta-sdk-python | c86b8fdc4525e84199143c27213c0aebc6b2af8f | [
"Apache-2.0"
] | 146 | 2017-06-02T17:46:12.000Z | 2022-03-29T15:52:15.000Z | tests/integration/test_groups_it.py | corylevine/okta-sdk-python | c86b8fdc4525e84199143c27213c0aebc6b2af8f | [
"Apache-2.0"
] | 98 | 2017-06-27T03:44:51.000Z | 2022-03-23T04:58:18.000Z | import pytest
from tests.mocks import MockOktaClient
from tests.mocks import mock_pause_function
from http import HTTPStatus
import okta.models as models
class TestGroupsResource:
"""
Integration Tests for the Groups Resource
"""
@pytest.mark.vcr()
@pytest.mark.asyncio
async def test_create_g... | 34.553444 | 83 | 0.557709 | 3,225 | 29,094 | 4.794729 | 0.064496 | 0.041906 | 0.073336 | 0.071784 | 0.834702 | 0.793507 | 0.755416 | 0.732846 | 0.727349 | 0.705491 | 0 | 0.005601 | 0.367877 | 29,094 | 841 | 84 | 34.59453 | 0.835191 | 0.07847 | 0 | 0.758454 | 0 | 0 | 0.05096 | 0.011233 | 0 | 0 | 0 | 0 | 0.21256 | 1 | 0 | false | 0.025765 | 0.008052 | 0 | 0.009662 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8297c15b3881e1867201c56cec4b869c20b9419e | 127 | py | Python | {{cookiecutter.project_slug}}/app/ext/base.py | jonatasoli/fastapi-template-cookiecutter | 4a982e9a46dc6b7d1dafda8ca170429ea32b1bf4 | [
"MIT"
] | 7 | 2021-03-12T18:17:42.000Z | 2021-09-14T02:13:32.000Z | {{cookiecutter.project_slug}}/app/ext/base.py | jonatasoli/fastapi-template-cookiecutter | 4a982e9a46dc6b7d1dafda8ca170429ea32b1bf4 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/app/ext/base.py | jonatasoli/fastapi-template-cookiecutter | 4a982e9a46dc6b7d1dafda8ca170429ea32b1bf4 | [
"MIT"
] | 3 | 2021-02-12T15:07:48.000Z | 2021-09-14T02:13:34.000Z | from {{cookiecutter.app_slug_snakecase}}.models.models_{{cookiecutter.app_slug_snakecase}} import *
from .database import Base
| 42.333333 | 99 | 0.826772 | 16 | 127 | 6.25 | 0.5625 | 0.3 | 0.38 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 127 | 2 | 100 | 63.5 | 0.840336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
82b518cae3e77bea31fdb232ef31fbf29bbc2269 | 11,839 | py | Python | src/MagicClick/KCrawler.py | hjiangsse/magic_click | dc104cc56e8c0ad78eadfc5c86c906157834ffde | [
"MIT"
] | null | null | null | src/MagicClick/KCrawler.py | hjiangsse/magic_click | dc104cc56e8c0ad78eadfc5c86c906157834ffde | [
"MIT"
] | null | null | null | src/MagicClick/KCrawler.py | hjiangsse/magic_click | dc104cc56e8c0ad78eadfc5c86c906157834ffde | [
"MIT"
] | null | null | null | #-------------------------------------------------------------------------------
# Author: hjiang
# Email: heng.jiang@jingle.ai
# Time: Thu Nov 25 14:18:20 2021
# 本模块的功能是利用akshare和baostock提供的接口,获取各种维度的k线行情数据
#-------------------------------------------------------------------------------
import baostock as bs
import ak... | 49.743697 | 114 | 0.484331 | 1,317 | 11,839 | 4.023538 | 0.085042 | 0.142668 | 0.126816 | 0.15852 | 0.868843 | 0.843555 | 0.819211 | 0.819211 | 0.819211 | 0.819211 | 0 | 0.025229 | 0.116142 | 11,839 | 237 | 115 | 49.953587 | 0.481174 | 0.346989 | 0 | 0.6 | 0 | 0 | 0.057449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157143 | false | 0 | 0.035714 | 0 | 0.35 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7d6f2fc6ba07280159eae6e1a5ce4e0aabd4843c | 5,220 | py | Python | cyclofit/users/forms.py | piyushmohan01/CycloFit-SEPM | f97a7032e22e29daf48f0796462a22e58b20709c | [
"MIT"
] | 4 | 2021-09-10T00:30:15.000Z | 2022-03-03T09:05:03.000Z | cyclofit/users/forms.py | piyushmohan01/CycloFit-SEPM | f97a7032e22e29daf48f0796462a22e58b20709c | [
"MIT"
] | 1 | 2022-03-03T05:41:13.000Z | 2022-03-03T05:44:41.000Z | cyclofit/users/forms.py | piyushmohan01/CycloFit-SEPM | f97a7032e22e29daf48f0796462a22e58b20709c | [
"MIT"
] | 3 | 2021-05-18T18:19:55.000Z | 2021-10-13T11:29:56.000Z | from cyclofit.models import User
from flask_login import current_user
from flask_wtf import FlaskForm
from flask_wtf.file import FileAllowed, FileField
from wtforms import (BooleanField, IntegerField, PasswordField, RadioField,
StringField, SubmitField)
from wtforms.validators import (DataRequired, ... | 43.865546 | 84 | 0.64023 | 511 | 5,220 | 6.504892 | 0.199609 | 0.092659 | 0.045126 | 0.02858 | 0.77858 | 0.751203 | 0.751203 | 0.724729 | 0.724729 | 0.724729 | 0 | 0.005097 | 0.248276 | 5,220 | 118 | 85 | 44.237288 | 0.841998 | 0.08295 | 0 | 0.742268 | 0 | 0 | 0.161851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051546 | false | 0.092784 | 0.061856 | 0 | 0.494845 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
7ddf0e2708cd69950a0915285131a2a9b10496e6 | 105 | py | Python | segmenter/config/hash_config.py | brandongk/segmenter | dbc042d31dc74f1abdc87ae10a6be78ba38ddb91 | [
"Unlicense"
] | null | null | null | segmenter/config/hash_config.py | brandongk/segmenter | dbc042d31dc74f1abdc87ae10a6be78ba38ddb91 | [
"Unlicense"
] | null | null | null | segmenter/config/hash_config.py | brandongk/segmenter | dbc042d31dc74f1abdc87ae10a6be78ba38ddb91 | [
"Unlicense"
] | null | null | null | import hashlib
def hash_config(in_string):
return hashlib.md5(str(in_string).encode()).hexdigest()
| 17.5 | 59 | 0.752381 | 15 | 105 | 5.066667 | 0.8 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.114286 | 105 | 5 | 60 | 21 | 0.806452 | 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 | 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 | 1 | 1 | 0 | 0 | 7 |
8186287d405963d81d5a1445933be0c4a32defd1 | 216 | py | Python | environments/mujoco/rand_param_envs/gym/envs/parameter_tuning/__init__.py | NagisaZj/varibad | df7cda81588c62a2a3bee69e4173228701bd7000 | [
"MIT"
] | null | null | null | environments/mujoco/rand_param_envs/gym/envs/parameter_tuning/__init__.py | NagisaZj/varibad | df7cda81588c62a2a3bee69e4173228701bd7000 | [
"MIT"
] | 2 | 2021-01-13T14:58:50.000Z | 2021-01-13T14:59:40.000Z | environments/mujoco/rand_param_envs/gym/envs/parameter_tuning/__init__.py | NagisaZj/varibad | df7cda81588c62a2a3bee69e4173228701bd7000 | [
"MIT"
] | null | null | null | from environments.mujoco.rand_param_envs.gym.envs.parameter_tuning.convergence import ConvergenceControl
from environments.mujoco.rand_param_envs.gym.envs.parameter_tuning.train_deep_cnn import CNNClassifierTraining
| 72 | 110 | 0.907407 | 28 | 216 | 6.714286 | 0.571429 | 0.170213 | 0.234043 | 0.276596 | 0.606383 | 0.606383 | 0.606383 | 0.606383 | 0.606383 | 0.606383 | 0 | 0 | 0.037037 | 216 | 2 | 111 | 108 | 0.903846 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
8191b3fafce7dbd16d435129ed7050d4a34dd7b4 | 303 | py | Python | ignite/contrib/metrics/__init__.py | DhDeepLIT/ignite | b913efd055a7e7cc59d35ff63663d49318453e0f | [
"BSD-3-Clause"
] | 1 | 2020-06-13T15:22:08.000Z | 2020-06-13T15:22:08.000Z | ignite/contrib/metrics/__init__.py | DhDeepLIT/ignite | b913efd055a7e7cc59d35ff63663d49318453e0f | [
"BSD-3-Clause"
] | null | null | null | ignite/contrib/metrics/__init__.py | DhDeepLIT/ignite | b913efd055a7e7cc59d35ff63663d49318453e0f | [
"BSD-3-Clause"
] | 1 | 2020-06-13T15:30:46.000Z | 2020-06-13T15:30:46.000Z | from ignite.contrib.metrics.average_precision import AveragePrecision
from ignite.contrib.metrics.roc_auc import ROC_AUC, RocCurve
from ignite.contrib.metrics.precision_recall_curve import PrecisionRecallCurve
import ignite.contrib.metrics.regression
from ignite.contrib.metrics.gpu_info import GpuInfo
| 50.5 | 78 | 0.884488 | 40 | 303 | 6.55 | 0.45 | 0.248092 | 0.381679 | 0.366412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062706 | 303 | 5 | 79 | 60.6 | 0.922535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
819c176fa8e540a631dff18e0f77f99a464c7688 | 2,883 | py | Python | neo/SmartContract/tests/test_smart_contract2.py | volekerb/neo-python | 5bdded2c339219355cf1d31ae58653b0f94c6e51 | [
"MIT"
] | 387 | 2017-07-17T18:25:54.000Z | 2021-11-18T06:19:47.000Z | neo/SmartContract/tests/test_smart_contract2.py | volekerb/neo-python | 5bdded2c339219355cf1d31ae58653b0f94c6e51 | [
"MIT"
] | 967 | 2017-08-19T15:48:03.000Z | 2021-06-01T21:42:39.000Z | neo/SmartContract/tests/test_smart_contract2.py | volekerb/neo-python | 5bdded2c339219355cf1d31ae58653b0f94c6e51 | [
"MIT"
] | 286 | 2017-07-17T03:44:36.000Z | 2021-11-18T06:19:32.000Z | import binascii
from neo.IO.Helper import Helper
from neo.Utils.BlockchainFixtureTestCase import BlockchainFixtureTestCase
from neo.Settings import settings
from neo.Core.State.UnspentCoinState import UnspentCoinState
import os
class SmartContractTest2(BlockchainFixtureTestCase):
@classmethod
def leveldb_tes... | 77.918919 | 1,787 | 0.892473 | 104 | 2,883 | 24.653846 | 0.538462 | 0.01092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.481008 | 0.077697 | 2,883 | 36 | 1,788 | 80.083333 | 0.483264 | 0 | 0 | 0 | 0 | 0 | 0.64967 | 0.636143 | 0 | 1 | 0 | 0 | 0.083333 | 1 | 0.083333 | false | 0 | 0.25 | 0.041667 | 0.458333 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
48456b9a592d7bfcd7a70f8415c074df43d0409e | 2,366 | py | Python | segint_research_django/segint_api/migrations/0024_auto_20200727_2119.py | VarianAPIs/SegInt-Research | 3b7aa71ada46cbb35a428a00eb9f2a5c43f15d51 | [
"MIT"
] | 3 | 2021-04-15T14:24:24.000Z | 2022-03-23T17:07:06.000Z | segint_research_django/segint_api/migrations/0024_auto_20200727_2119.py | VarianAPIs/SegInt-Research | 3b7aa71ada46cbb35a428a00eb9f2a5c43f15d51 | [
"MIT"
] | null | null | null | segint_research_django/segint_api/migrations/0024_auto_20200727_2119.py | VarianAPIs/SegInt-Research | 3b7aa71ada46cbb35a428a00eb9f2a5c43f15d51 | [
"MIT"
] | 1 | 2021-04-21T15:05:09.000Z | 2021-04-21T15:05:09.000Z | # Generated by Django 3.0.7 on 2020-07-27 21:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('segint_api', '0023_auto_20200727_2118'),
]
operations = [
migrations.AlterField(
model_name='modelchanneldescription',
... | 31.972973 | 50 | 0.585799 | 198 | 2,366 | 6.79798 | 0.207071 | 0.178306 | 0.222883 | 0.258544 | 0.887073 | 0.887073 | 0.887073 | 0.863299 | 0.814264 | 0.814264 | 0 | 0.026413 | 0.311919 | 2,366 | 73 | 51 | 32.410959 | 0.800369 | 0.019019 | 0 | 0.716418 | 1 | 0 | 0.208279 | 0.128935 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014925 | 0 | 0.059701 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
6f9b31a85894e4e825fb1e06405c32b3a615d616 | 4,123 | py | Python | asnets/experiments/det_n_puzzle.py | xf1590281/ASNets | 5f4b29fb62a5e72004b813228442d06246c9ec33 | [
"MIT"
] | 21 | 2017-12-05T13:27:36.000Z | 2021-11-16T20:32:33.000Z | asnets/experiments/det_n_puzzle.py | xf1590281/ASNets | 5f4b29fb62a5e72004b813228442d06246c9ec33 | [
"MIT"
] | 2 | 2018-07-16T12:15:46.000Z | 2020-10-31T00:02:49.000Z | asnets/experiments/det_n_puzzle.py | xf1590281/ASNets | 5f4b29fb62a5e72004b813228442d06246c9ec33 | [
"MIT"
] | 7 | 2018-03-19T13:45:13.000Z | 2022-03-24T07:52:20.000Z | """For experiments on n-puzzle from IPC'08 learning track."""
PDDL_DIR = '../problems/ipc08-learn/n-puzzle/'
COMMON_PDDLS = ['learning/n-puzzle-typed.pddl']
TRAIN_PDDLS = [
# 'learning/bootstrap/typed/bootstrap-typed-01.pddl',
# 'learning/bootstrap/typed/bootstrap-typed-02.pddl',
# 'learning/bootstrap/type... | 58.9 | 71 | 0.703614 | 575 | 4,123 | 5.036522 | 0.106087 | 0.290055 | 0.227901 | 0.321133 | 0.908494 | 0.896064 | 0.495511 | 0.483771 | 0.483771 | 0.483771 | 0 | 0.049198 | 0.092894 | 4,123 | 69 | 72 | 59.753623 | 0.725134 | 0.260005 | 0 | 0 | 0 | 0 | 0.730248 | 0.730248 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6fa8325c4d0a6e62d661bc02d1324a76817c9005 | 36,261 | py | Python | dashboard/dashboard/pinpoint/models/job_test.py | PLSV/catapult | 88e5b1f40c89c4b80d3dd56a722936d07f222a55 | [
"BSD-3-Clause"
] | null | null | null | dashboard/dashboard/pinpoint/models/job_test.py | PLSV/catapult | 88e5b1f40c89c4b80d3dd56a722936d07f222a55 | [
"BSD-3-Clause"
] | null | null | null | dashboard/dashboard/pinpoint/models/job_test.py | PLSV/catapult | 88e5b1f40c89c4b80d3dd56a722936d07f222a55 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
import datetime
import mock
import sys
from tr... | 37.73257 | 81 | 0.663854 | 4,363 | 36,261 | 5.3438 | 0.090763 | 0.027021 | 0.026378 | 0.028565 | 0.815569 | 0.788076 | 0.764486 | 0.741583 | 0.737379 | 0.729487 | 0 | 0.02792 | 0.190039 | 36,261 | 960 | 82 | 37.771875 | 0.765918 | 0.028515 | 0 | 0.706522 | 0 | 0 | 0.236305 | 0.054422 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.04212 | false | 0 | 0.02038 | 0 | 0.072011 | 0.001359 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
82ef9f85e58efaa2f5f3121aa39b4e3489184ef4 | 3,383 | py | Python | python/Day9.py | Simik31/AOC-2021 | fc0459cf4f3af8439657969b4e957a35e5d56484 | [
"WTFPL"
] | null | null | null | python/Day9.py | Simik31/AOC-2021 | fc0459cf4f3af8439657969b4e957a35e5d56484 | [
"WTFPL"
] | null | null | null | python/Day9.py | Simik31/AOC-2021 | fc0459cf4f3af8439657969b4e957a35e5d56484 | [
"WTFPL"
] | null | null | null | def part_1() -> None:
height_map: list[list[int]] = []
lowest_truths: list[list[bool]] = []
with open("../data/day9.txt") as dFile:
for row in dFile.readlines():
if (row := row.strip()) != "":
height_map.append([])
lowest_truths.append([])
... | 30.754545 | 73 | 0.514632 | 473 | 3,383 | 3.528541 | 0.105708 | 0.237268 | 0.179748 | 0.112043 | 0.809467 | 0.789694 | 0.766327 | 0.754943 | 0.754943 | 0.754943 | 0 | 0.019859 | 0.33018 | 3,383 | 109 | 74 | 31.036697 | 0.716681 | 0 | 0 | 0.616279 | 0 | 0 | 0.027786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034884 | false | 0 | 0 | 0 | 0.069767 | 0.023256 | 0 | 0 | 0 | null | 1 | 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 | 7 |
d24a905f05ef285a253e0a2ff4cfcb6ce7518ebc | 149 | py | Python | second/core/__init__.py | ldtho/ConeDetectionPointpillars | feb730f69c2aed56160e90bbddfbce4713c70baf | [
"MIT"
] | null | null | null | second/core/__init__.py | ldtho/ConeDetectionPointpillars | feb730f69c2aed56160e90bbddfbce4713c70baf | [
"MIT"
] | null | null | null | second/core/__init__.py | ldtho/ConeDetectionPointpillars | feb730f69c2aed56160e90bbddfbce4713c70baf | [
"MIT"
] | null | null | null | # from . import box_np_ops, box_tf_ops, geometry, preprocess, non_max_suppression
from . import box_np_ops, geometry, preprocess, non_max_suppression | 74.5 | 81 | 0.832215 | 23 | 149 | 4.956522 | 0.478261 | 0.175439 | 0.22807 | 0.263158 | 0.95614 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100671 | 149 | 2 | 82 | 74.5 | 0.850746 | 0.530201 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
d26966bc6e89d6cd4c312930c30252a92e0c65bd | 392 | py | Python | test.py | Nirav-Madhani/Drive-URL-Decoder | 84536e46c2bce7a60a720e01aa7b1107b55463b5 | [
"MIT"
] | null | null | null | test.py | Nirav-Madhani/Drive-URL-Decoder | 84536e46c2bce7a60a720e01aa7b1107b55463b5 | [
"MIT"
] | null | null | null | test.py | Nirav-Madhani/Drive-URL-Decoder | 84536e46c2bce7a60a720e01aa7b1107b55463b5 | [
"MIT"
] | null | null | null | '''
If module not found error occurs.
import os, sys
sys.path.insert(0, os.path.abspath("."))
sys.path.insert(0, os.path.abspath(".."))
'''
from main import getLink
print(getLink('https://drive.google.com/file/d/0B9cVpIKZxC6fc3RhcnRlcl9maWxlX2Rhc2hlclYw/view?usp=sharing'))
print(getLink('https://drive.google.com/file... | 30.153846 | 114 | 0.760204 | 52 | 392 | 5.730769 | 0.538462 | 0.04698 | 0.087248 | 0.09396 | 0.791946 | 0.791946 | 0.791946 | 0.610738 | 0.610738 | 0.610738 | 0 | 0.043478 | 0.061224 | 392 | 12 | 115 | 32.666667 | 0.766304 | 0.334184 | 0 | 0 | 0 | 0 | 0.72619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
967db40c4bd8b4c86c6ef835c6314a602707c0dc | 4,181 | py | Python | tests/eureka_client_replication_test.py | estuaryoss/netflixoss-eureka | d43626c8de38a7c1a1a2a3c97fc848dd9c60d0e0 | [
"MIT"
] | null | null | null | tests/eureka_client_replication_test.py | estuaryoss/netflixoss-eureka | d43626c8de38a7c1a1a2a3c97fc848dd9c60d0e0 | [
"MIT"
] | null | null | null | tests/eureka_client_replication_test.py | estuaryoss/netflixoss-eureka | d43626c8de38a7c1a1a2a3c97fc848dd9c60d0e0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import time
import unittest
from urllib.error import URLError
from tests.client.eureka_client import EurekaClient
from tests.utils.docker_utils import DockerUtils
class FlaskServerTestCase(unittest.TestCase):
file = "docker-compose.yml"
# file = "../docker-compose.yml"
time_to_wait... | 45.445652 | 79 | 0.705094 | 535 | 4,181 | 5.226168 | 0.134579 | 0.051502 | 0.091202 | 0.075107 | 0.873391 | 0.869814 | 0.851931 | 0.847997 | 0.837625 | 0.833333 | 0 | 0.032839 | 0.176991 | 4,181 | 91 | 80 | 45.945055 | 0.779715 | 0.012437 | 0 | 0.730769 | 0 | 0 | 0.164526 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.064103 | false | 0 | 0.064103 | 0 | 0.179487 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
968ef1e7a801bf6e868bc6935a085bbbd7b10c11 | 240 | py | Python | src/powergslb/system/__init__.py | fyanuar/powergslb | 7dae75fd89017ef77385d15fde8c931b8436db92 | [
"MIT"
] | 81 | 2016-01-21T12:02:39.000Z | 2022-02-11T13:07:07.000Z | src/powergslb/system/__init__.py | fyanuar/powergslb | 7dae75fd89017ef77385d15fde8c931b8436db92 | [
"MIT"
] | 24 | 2017-03-05T00:12:49.000Z | 2022-01-18T12:34:32.000Z | src/powergslb/system/__init__.py | fyanuar/powergslb | 7dae75fd89017ef77385d15fde8c931b8436db92 | [
"MIT"
] | 28 | 2017-04-28T17:16:29.000Z | 2022-02-16T04:49:23.000Z | from powergslb.system.config import get_config, parse_config
from powergslb.system.service import SystemService
from powergslb.system.thread import AbstractThread
__all__ = ['get_config', 'parse_config', 'SystemService', 'AbstractThread']
| 40 | 75 | 0.829167 | 28 | 240 | 6.821429 | 0.428571 | 0.204188 | 0.298429 | 0.209424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 240 | 5 | 76 | 48 | 0.868182 | 0 | 0 | 0 | 0 | 0 | 0.204167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9699437382cf7a4b89d77455bcd64a9bce94c98d | 5,971 | py | Python | QDgym_extended/QDgym_envs.py | adaptive-intelligent-robotics/QDgym_extended | 99375c07b1bb328fd451a80629863c05813b6eeb | [
"MIT"
] | 10 | 2021-03-01T17:36:25.000Z | 2022-02-21T03:21:55.000Z | QDgym_extended/QDgym_envs.py | adaptive-intelligent-robotics/QDgym_extended | 99375c07b1bb328fd451a80629863c05813b6eeb | [
"MIT"
] | null | null | null | QDgym_extended/QDgym_envs.py | adaptive-intelligent-robotics/QDgym_extended | 99375c07b1bb328fd451a80629863c05813b6eeb | [
"MIT"
] | 3 | 2021-05-19T10:00:17.000Z | 2022-02-14T08:02:27.000Z | import gym
gym.logger.set_level(40)
import numpy as np
from pybullet_envs.gym_locomotion_envs import AntBulletEnv, HalfCheetahBulletEnv, Walker2DBulletEnv, HumanoidBulletEnv, HopperBulletEnv
from pybullet_envs.robot_bases import MJCFBasedRobot
class QDAntBulletEnv(AntBulletEnv):
def __init__(self, render=False)... | 31.098958 | 147 | 0.589516 | 863 | 5,971 | 3.901506 | 0.10197 | 0.109296 | 0.068607 | 0.05346 | 0.834571 | 0.834571 | 0.834571 | 0.834571 | 0.834571 | 0.834571 | 0 | 0.026964 | 0.279518 | 5,971 | 191 | 148 | 31.26178 | 0.755695 | 0 | 0 | 0.86014 | 0 | 0.034965 | 0.147212 | 0.046558 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104895 | false | 0 | 0.027972 | 0 | 0.237762 | 0.048951 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
969a2a6fa02ddab7b8ce5647e86388edcd830f47 | 1,481 | py | Python | 6_schema/project/tests/test_parsers/test_og.py | neel-jaris/Python-Web-Scraping-Projects | f77426d1351e5b5ca06aacf415388409d89277a9 | [
"MIT"
] | 15 | 2019-03-30T02:41:55.000Z | 2022-03-21T05:15:28.000Z | 6_schema/project/tests/test_parsers/test_og.py | neel-jaris/Python-Web-Scraping-Projects | f77426d1351e5b5ca06aacf415388409d89277a9 | [
"MIT"
] | 1 | 2021-12-02T17:32:56.000Z | 2021-12-02T17:32:56.000Z | 6_schema/project/tests/test_parsers/test_og.py | neel-jaris/Python-Web-Scraping-Projects | f77426d1351e5b5ca06aacf415388409d89277a9 | [
"MIT"
] | 9 | 2019-12-26T19:35:04.000Z | 2022-01-24T15:45:27.000Z | from schema.parsers.opengraph import format_og
def test_format_og():
data = {
"namespace": {"og": "http://ogp.me/ns#"},
"properties": [
("og:description",
"Free Shipping on orders over $35. Buy Dungeons & Dragons Player's Handbook (Dungeons & Dragons Core Rulebooks) at Wal... | 51.068966 | 151 | 0.638082 | 163 | 1,481 | 5.748466 | 0.361963 | 0.192102 | 0.134472 | 0.140875 | 0.783351 | 0.783351 | 0.783351 | 0.783351 | 0.783351 | 0.783351 | 0 | 0.110631 | 0.218771 | 1,481 | 28 | 152 | 52.892857 | 0.699222 | 0 | 0 | 0 | 0 | 0.230769 | 0.67657 | 0.125591 | 0 | 0 | 0 | 0 | 0.038462 | 1 | 0.038462 | false | 0 | 0.038462 | 0 | 0.076923 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
969c61f2dfe90de40b5d080a188f7f9226bd244e | 30,378 | py | Python | utils/bmex_views.py | kylegodbey/bmex-web | 3f8c07696de580dfdeb5613ab36c2c53a22717b0 | [
"MIT"
] | 1 | 2022-01-26T21:26:39.000Z | 2022-01-26T21:26:39.000Z | utils/bmex_views.py | kylegodbey/bmex-web | 3f8c07696de580dfdeb5613ab36c2c53a22717b0 | [
"MIT"
] | null | null | null | utils/bmex_views.py | kylegodbey/bmex-web | 3f8c07696de580dfdeb5613ab36c2c53a22717b0 | [
"MIT"
] | 1 | 2022-01-27T15:42:20.000Z | 2022-01-27T15:42:20.000Z | from dash import dcc
from dash import html
import dash_bootstrap_components as dbc
import utils.dash_reusable_components as drc
def masses_view():
return html.Div(
id="body",
className="container scalable",
children=[
html.Div(
id="app-container",
... | 51.401015 | 133 | 0.221608 | 1,323 | 30,378 | 5.07483 | 0.112623 | 0.044236 | 0.032172 | 0.035448 | 0.935061 | 0.925082 | 0.925082 | 0.921656 | 0.921656 | 0.898421 | 0 | 0.024398 | 0.691026 | 30,378 | 590 | 134 | 51.488136 | 0.690923 | 0.110968 | 0 | 0.861723 | 0 | 0 | 0.09634 | 0.005239 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006012 | true | 0 | 0.008016 | 0.006012 | 0.02004 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
738bc3f3de08716357c1eaee6fac2d3e33b8dc60 | 11,121 | py | Python | evaluation.py | constantin50/separator | e630df1045a455458d143cc070ef05d15af196fc | [
"MIT"
] | null | null | null | evaluation.py | constantin50/separator | e630df1045a455458d143cc070ef05d15af196fc | [
"MIT"
] | null | null | null | evaluation.py | constantin50/separator | e630df1045a455458d143cc070ef05d15af196fc | [
"MIT"
] | null | null | null |
def evaluate(separatice,test):
errors = 0
for key in test.keys():
if separatice.into_clauses(key) != test[key]:
print(key)
errors += 1
print('accuracy:',1 - errors/len(test))
test = {'какие места есть в корпусах, где можно купить еды?' : ['какие места есть в корпусах', 'где можно купи... | 171.092308 | 412 | 0.748404 | 1,640 | 11,121 | 5.07561 | 0.327439 | 0.005766 | 0.006728 | 0.003604 | 0.925276 | 0.873618 | 0.824123 | 0.77655 | 0.694137 | 0.608361 | 0 | 0.004155 | 0.156011 | 11,121 | 64 | 413 | 173.765625 | 0.882271 | 0 | 0 | 0 | 0 | 0.278689 | 0.889291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0 | 0 | 0 | 0.016393 | 0.032787 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
738fefb50375a6a158fc2242b9003a272f001b21 | 14,746 | py | Python | tests/integration/test_user.py | andrew-chang-dewitt/hoops-api | 3530c5127c35742aad84df8d6a5286b9f5ad3608 | [
"MIT"
] | null | null | null | tests/integration/test_user.py | andrew-chang-dewitt/hoops-api | 3530c5127c35742aad84df8d6a5286b9f5ad3608 | [
"MIT"
] | 10 | 2021-11-02T23:31:56.000Z | 2021-12-07T03:41:12.000Z | tests/integration/test_user.py | andrew-chang-dewitt/hoops | 3530c5127c35742aad84df8d6a5286b9f5ad3608 | [
"MIT"
] | null | null | null | """Tests for /user routes."""
from uuid import UUID
from unittest import main, IsolatedAsyncioTestCase as TestCase
from db_wrapper.model import sql
# internal test dependencies
from tests.helpers.application import (
get_test_client,
get_token_header,
)
class TestRoutePostRoot(TestCase):
"""Tests for `... | 35.7046 | 78 | 0.496881 | 1,382 | 14,746 | 5.178003 | 0.106368 | 0.053661 | 0.098519 | 0.067915 | 0.790945 | 0.779486 | 0.775573 | 0.762018 | 0.745109 | 0.717859 | 0 | 0.008109 | 0.397871 | 14,746 | 412 | 79 | 35.791262 | 0.797838 | 0.018785 | 0 | 0.742857 | 0 | 0 | 0.262551 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 1 | 0 | false | 0.092063 | 0.012698 | 0 | 0.028571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
fb4efd87acd5e3b455476f92cd2ab7b92c4af889 | 433,568 | py | Python | source/module_troops.py | WuphonsReach/BeggarsDiplomacy | e6b7f3790e28f458eca0a42250a6bbf41bef8d30 | [
"MIT"
] | null | null | null | source/module_troops.py | WuphonsReach/BeggarsDiplomacy | e6b7f3790e28f458eca0a42250a6bbf41bef8d30 | [
"MIT"
] | null | null | null | source/module_troops.py | WuphonsReach/BeggarsDiplomacy | e6b7f3790e28f458eca0a42250a6bbf41bef8d30 | [
"MIT"
] | null | null | null | import random
from header_common import *
from header_items import *
from header_troops import *
from header_skills import *
from ID_factions import *
from ID_items import *
from ID_scenes import *
from compiler import *
#################################################################################################... | 157.60378 | 515 | 0.816677 | 65,649 | 433,568 | 4.855687 | 0.025956 | 0.016658 | 0.033203 | 0.022304 | 0.849569 | 0.82952 | 0.793457 | 0.766619 | 0.737664 | 0.710036 | 0 | 0.111351 | 0.079314 | 433,568 | 2,750 | 516 | 157.661091 | 0.687214 | 0.083722 | 0 | 0.173225 | 0 | 0 | 0.125079 | 0.019459 | 0 | 0 | 0.079624 | 0.000364 | 0 | 1 | 0.001809 | false | 0 | 0.004071 | 0 | 0.007689 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fbb9a3a9f69d94df8105ca7f039df6db3309cf1d | 91,897 | py | Python | TweakApi/apis/product_type_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | TweakApi/apis/product_type_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | TweakApi/apis/product_type_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
tweak-api
Tweak API to integrate with all the Tweak services. You can find out more about Tweak at <a href='https://www.tweak.com'>https://www.tweak.com</a>, #tweak.
OpenAPI spec version: 1.0.8-beta.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
... | 40.806838 | 165 | 0.561977 | 9,455 | 91,897 | 5.238075 | 0.028451 | 0.064613 | 0.032508 | 0.029076 | 0.975669 | 0.973166 | 0.971025 | 0.963958 | 0.959456 | 0.957679 | 0 | 0.000992 | 0.352775 | 91,897 | 2,251 | 166 | 40.824967 | 0.831686 | 0.317268 | 0 | 0.834915 | 0 | 0 | 0.178371 | 0.064203 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038899 | false | 0 | 0.006641 | 0 | 0.103416 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
fbd6a370ea58a345aa3c3436cbde654c8e8191fd | 8,109 | py | Python | tests/test_util.py | wiml/asn1crypto | 98d23f5fcce5d3ed3296bac77aef487b6245807a | [
"MIT"
] | null | null | null | tests/test_util.py | wiml/asn1crypto | 98d23f5fcce5d3ed3296bac77aef487b6245807a | [
"MIT"
] | null | null | null | tests/test_util.py | wiml/asn1crypto | 98d23f5fcce5d3ed3296bac77aef487b6245807a | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
import unittest
import sys
import os
from datetime import date, datetime, time
from asn1crypto import util
from .unittest_data import data_decorator
from ._unittest_compat import patch
patch()
if sys.version_info < (... | 54.790541 | 116 | 0.647059 | 1,239 | 8,109 | 4.107345 | 0.103309 | 0.242877 | 0.037139 | 0.218707 | 0.861269 | 0.858911 | 0.824327 | 0.784437 | 0.717626 | 0.712517 | 0 | 0.07937 | 0.193612 | 8,109 | 147 | 117 | 55.163265 | 0.698884 | 0.00222 | 0 | 0.137097 | 0 | 0.048387 | 0.133037 | 0.077522 | 0 | 0 | 0 | 0 | 0.564516 | 1 | 0.056452 | false | 0 | 0.064516 | 0 | 0.129032 | 0.008065 | 0 | 0 | 0 | null | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.