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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
86e1c25ef1dc4e7405d8e3b73b943060ec3a2e3e | 29 | py | Python | pacote-download/PythonTeste/teste0.py | Mariana02Santos/Python | a7bf3489b58d691578f888719c1ad6227ad39d74 | [
"MIT"
] | null | null | null | pacote-download/PythonTeste/teste0.py | Mariana02Santos/Python | a7bf3489b58d691578f888719c1ad6227ad39d74 | [
"MIT"
] | null | null | null | pacote-download/PythonTeste/teste0.py | Mariana02Santos/Python | a7bf3489b58d691578f888719c1ad6227ad39d74 | [
"MIT"
] | null | null | null | n = [3,6,4,5]
print(n[-1])
| 5.8 | 13 | 0.413793 | 8 | 29 | 1.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0.206897 | 29 | 4 | 14 | 7.25 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
86e4fee80467d55f4b2df738a6361dfa326384ab | 9,728 | py | Python | geokey/core/tests/logger/test_log_textfield.py | universityofsussex/geokey | 25e161dbc81841c57c148053dbe99facc81e84b8 | [
"Apache-2.0"
] | null | null | null | geokey/core/tests/logger/test_log_textfield.py | universityofsussex/geokey | 25e161dbc81841c57c148053dbe99facc81e84b8 | [
"Apache-2.0"
] | null | null | null | geokey/core/tests/logger/test_log_textfield.py | universityofsussex/geokey | 25e161dbc81841c57c148053dbe99facc81e84b8 | [
"Apache-2.0"
] | null | null | null | """Tests for logger: model TextField."""
from django.test import TestCase
from geokey.core.models import LoggerHistory
from geokey.users.tests.model_factories import UserFactory
from geokey.projects.tests.model_factories import ProjectFactory
from geokey.categories.tests.model_factories import (
CategoryFactory,
... | 36.848485 | 64 | 0.584601 | 1,023 | 9,728 | 5.488759 | 0.074291 | 0.205699 | 0.246839 | 0.137133 | 0.863045 | 0.848085 | 0.832591 | 0.832591 | 0.823687 | 0.790383 | 0 | 0.000998 | 0.27868 | 9,728 | 263 | 65 | 36.988593 | 0.799202 | 0.023129 | 0 | 0.832599 | 0 | 0 | 0.061932 | 0 | 0 | 0 | 0 | 0 | 0.370044 | 1 | 0.026432 | false | 0 | 0.022026 | 0 | 0.052863 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 9 |
86f92ac9aa0e02469df4b30f01e5b28df34f8212 | 71 | py | Python | plusseg/solver/__init__.py | tonysy/SegmentationToolbox.PyTorch | 4d487dd81d0101bc5cdb7b2337776fdf1b5546ff | [
"MIT"
] | 13 | 2019-07-26T11:33:15.000Z | 2021-09-22T06:48:52.000Z | plusseg/solver/__init__.py | tonysy/SegmentationToolbox.PyTorch | 4d487dd81d0101bc5cdb7b2337776fdf1b5546ff | [
"MIT"
] | 1 | 2018-11-05T14:07:07.000Z | 2018-11-05T14:07:07.000Z | plusseg/solver/__init__.py | tonysy/SegmentationToolbox.PyTorch | 4d487dd81d0101bc5cdb7b2337776fdf1b5546ff | [
"MIT"
] | 2 | 2019-07-26T11:33:32.000Z | 2020-03-04T13:47:50.000Z | from .build import make_lr_scheduler
from .build import make_optimizer
| 23.666667 | 36 | 0.859155 | 11 | 71 | 5.272727 | 0.636364 | 0.310345 | 0.517241 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 37 | 35.5 | 0.920635 | 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 |
811f0f976dfe11eb114bdc229c386d98d39bb147 | 55,366 | py | Python | transform_main.py | malshaV/sar_transformer | b3ac845f96f2332aa4f1af94b455f71630978b17 | [
"MIT"
] | 9 | 2022-01-24T13:56:16.000Z | 2022-02-08T02:25:37.000Z | transform_main.py | wgcban/sar_transformer | b3ac845f96f2332aa4f1af94b455f71630978b17 | [
"MIT"
] | null | null | null | transform_main.py | wgcban/sar_transformer | b3ac845f96f2332aa4f1af94b455f71630978b17 | [
"MIT"
] | 3 | 2022-01-24T13:56:25.000Z | 2022-01-30T02:11:26.000Z | import torch
import torch.nn as nn
import torch.nn.functional
import torch.nn.functional as F
from functools import partial
from arch.trans_basenetworks import *
import timm
from timm.models.layers import DropPath, to_2tuple, trunc_normal_
import types
import math
from abc import ABCMeta, abstractmethod
from mmcv.cnn ... | 40.501829 | 175 | 0.575263 | 8,261 | 55,366 | 3.670137 | 0.041763 | 0.029388 | 0.016623 | 0.013424 | 0.890531 | 0.882054 | 0.875128 | 0.867938 | 0.86299 | 0.854283 | 0 | 0.064973 | 0.285572 | 55,366 | 1,367 | 176 | 40.501829 | 0.70153 | 0.108966 | 0 | 0.797269 | 0 | 0 | 0.007411 | 0.000611 | 0 | 0 | 0 | 0 | 0.002101 | 1 | 0.060924 | false | 0 | 0.013655 | 0 | 0.120798 | 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 |
812b8b30e79d8d23dd971a1ef61046641cd580ed | 49 | py | Python | instance/config.py | tinabayi/news | 588ab459e1401b764318099db8fcd70123b6f707 | [
"MIT"
] | null | null | null | instance/config.py | tinabayi/news | 588ab459e1401b764318099db8fcd70123b6f707 | [
"MIT"
] | null | null | null | instance/config.py | tinabayi/news | 588ab459e1401b764318099db8fcd70123b6f707 | [
"MIT"
] | null | null | null | NEWS_API_KEY = 'c32f87e5664c4712be83a5a04cb26284' | 49 | 49 | 0.897959 | 4 | 49 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.468085 | 0.040816 | 49 | 1 | 49 | 49 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0.64 | 0.64 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d49df0ce58828d39c765848a9af2ec55b550d975 | 592 | py | Python | src/cmp/tools/evaluation.py | BeginnerCompilers/cool-compiler-2021 | fe8c4dbbbaff9dc855322c2df2892dcfc5d449f9 | [
"MIT"
] | 1 | 2022-02-11T05:12:54.000Z | 2022-02-11T05:12:54.000Z | src/cmp/tools/evaluation.py | BeginnerCompilers/cool-compiler-2021 | fe8c4dbbbaff9dc855322c2df2892dcfc5d449f9 | [
"MIT"
] | null | null | null | src/cmp/tools/evaluation.py | BeginnerCompilers/cool-compiler-2021 | fe8c4dbbbaff9dc855322c2df2892dcfc5d449f9 | [
"MIT"
] | 1 | 2022-02-11T07:30:32.000Z | 2022-02-11T07:30:32.000Z | import zlib, base64
exec(zlib.decompress(base64.b64decode('eJxdUMFuwjAMvecrfGy3qoLrJN86YGViCO2GECrF1SLSpErcqf37OUWwsZPtZ/v5+TXetVC3Xd6NtWs7bciDbjvnGV4/FmqJmsmrE1oaWFnUQdvAla1JFbhxltQaDVm1QLJ9S75iUmdqgL4r00tx7CofKGmyMn1RoBuwjqEB56ekFAw8ce+tggaXSZMqKCWWEge8kSQnaWSRQ0EVAok2K1iZ5uwuZI88dpSJWmlfyWB4EJF03p37mrWzkSXT9ou8/HU+x... | 148 | 507 | 0.923986 | 31 | 592 | 17.645161 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154374 | 0.015203 | 592 | 3 | 508 | 197.333333 | 0.783877 | 0.103041 | 0 | 0 | 0 | 0.5 | 0.877127 | 0.877127 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
d49ff975052c6ffc2a25ad8476da4efb5666352b | 309,422 | py | Python | alibabacloud/clients/emr_20160408.py | wallisyan/alibabacloud-python-sdk-v2 | 6e024c97cded2403025a7dd8fea8261e41872156 | [
"Apache-2.0"
] | 21 | 2018-12-20T07:34:13.000Z | 2020-03-05T14:32:08.000Z | alibabacloud/clients/emr_20160408.py | wallisyan/alibabacloud-python-sdk-v2 | 6e024c97cded2403025a7dd8fea8261e41872156 | [
"Apache-2.0"
] | 22 | 2018-12-21T13:22:33.000Z | 2020-06-29T08:37:09.000Z | alibabacloud/clients/emr_20160408.py | wallisyan/alibabacloud-python-sdk-v2 | 6e024c97cded2403025a7dd8fea8261e41872156 | [
"Apache-2.0"
] | 12 | 2018-12-29T05:45:55.000Z | 2022-01-05T09:59:30.000Z | # Copyright 2019 Alibaba Cloud 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
#
# Unless required by applicable la... | 41.661775 | 153 | 0.525748 | 27,757 | 309,422 | 5.4971 | 0.046078 | 0.050923 | 0.065866 | 0.059541 | 0.858018 | 0.836568 | 0.814619 | 0.787617 | 0.767163 | 0.748969 | 0 | 0.000114 | 0.373752 | 309,422 | 7,426 | 154 | 41.667385 | 0.78731 | 0.001858 | 0 | 0.793954 | 0 | 0 | 0.149077 | 0.017106 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056467 | false | 0.001711 | 0.000428 | 0 | 0.113361 | 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 |
d4b49a9e4e63f0ea171f66f95ef926c9ad52fa33 | 8,483 | py | Python | tests/core/report_test.py | kangchenwei/keyautotest2 | f980d46cabfc128b2099af3d33968f236923063f | [
"MIT"
] | 1 | 2018-10-31T07:43:26.000Z | 2018-10-31T07:43:26.000Z | tests/core/report_test.py | kangchenwei/keyautotest2 | f980d46cabfc128b2099af3d33968f236923063f | [
"MIT"
] | null | null | null | tests/core/report_test.py | kangchenwei/keyautotest2 | f980d46cabfc128b2099af3d33968f236923063f | [
"MIT"
] | null | null | null | import os
import json
from golem.core import report, utils
from golem.test_runner import test_runner
from tests.fixtures import testdir_fixture, permanent_project_fixture
class Test_create_execution_directory:
def test_create_execution_directory_test(self, permanent_project_fixture):
project = permanen... | 40.783654 | 87 | 0.554639 | 832 | 8,483 | 5.350962 | 0.106971 | 0.052111 | 0.129155 | 0.048518 | 0.911276 | 0.900045 | 0.870171 | 0.870171 | 0.870171 | 0.870171 | 0 | 0.031667 | 0.337381 | 8,483 | 208 | 88 | 40.783654 | 0.760363 | 0.000472 | 0 | 0.740541 | 0 | 0 | 0.170087 | 0.026067 | 0 | 0 | 0 | 0.004808 | 0.064865 | 1 | 0.043243 | false | 0.027027 | 0.027027 | 0 | 0.086486 | 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 |
077e4271459ae9da2266ee86bd8b57803b597479 | 260 | py | Python | python/datasources/covid_tracking_project_metadata.py | mayaspivak/health-equity-tracker | acf0d0a8e74b4ac057a510d52c84c78b755fe950 | [
"MIT"
] | null | null | null | python/datasources/covid_tracking_project_metadata.py | mayaspivak/health-equity-tracker | acf0d0a8e74b4ac057a510d52c84c78b755fe950 | [
"MIT"
] | null | null | null | python/datasources/covid_tracking_project_metadata.py | mayaspivak/health-equity-tracker | acf0d0a8e74b4ac057a510d52c84c78b755fe950 | [
"MIT"
] | null | null | null | from datasources.data_source import DataSource
class CtpMetadata(DataSource):
@staticmethod
def get_id():
return 'COVID_TRACKING_PROJECT_METADATA'
@staticmethod
def get_table_name():
return 'covid_tracking_project_metadata'
| 20 | 48 | 0.738462 | 28 | 260 | 6.5 | 0.678571 | 0.164835 | 0.197802 | 0.285714 | 0.373626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 260 | 12 | 49 | 21.666667 | 0.875 | 0 | 0 | 0.25 | 0 | 0 | 0.238462 | 0.238462 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.125 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
0783a96966c7ea8c5a81dfbc356d2532a4beeec3 | 5,918 | py | Python | src/tests/unit/submission/test_submission_model.py | td00/pretalx | aff450de9420fca167e04345fa24ee7140fae819 | [
"Apache-2.0"
] | null | null | null | src/tests/unit/submission/test_submission_model.py | td00/pretalx | aff450de9420fca167e04345fa24ee7140fae819 | [
"Apache-2.0"
] | null | null | null | src/tests/unit/submission/test_submission_model.py | td00/pretalx | aff450de9420fca167e04345fa24ee7140fae819 | [
"Apache-2.0"
] | null | null | null | import pytest
from pretalx.submission.models import SubmissionError, SubmissionStates
@pytest.mark.parametrize('state', (
SubmissionStates.SUBMITTED,
SubmissionStates.REJECTED,
SubmissionStates.CONFIRMED,
SubmissionStates.CANCELED,
))
@pytest.mark.django_db
def test_accept_success(submission, state):... | 30.505155 | 106 | 0.720345 | 634 | 5,918 | 6.613565 | 0.099369 | 0.152635 | 0.100167 | 0.100167 | 0.873122 | 0.848319 | 0.795135 | 0.731696 | 0.707131 | 0.685428 | 0 | 0.005663 | 0.164583 | 5,918 | 193 | 107 | 30.663212 | 0.842435 | 0 | 0 | 0.837662 | 0 | 0 | 0.022812 | 0 | 0 | 0 | 0 | 0 | 0.266234 | 1 | 0.064935 | false | 0 | 0.012987 | 0 | 0.077922 | 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 |
ed0cbe231ddc14cbc6baa1e81e6f642992c67be7 | 53 | py | Python | pfoil/__init__.py | nathanrooy/PFOIL | bd827c89f865822d3c0c95e1fee3b6a47695ab5c | [
"MIT"
] | null | null | null | pfoil/__init__.py | nathanrooy/PFOIL | bd827c89f865822d3c0c95e1fee3b6a47695ab5c | [
"MIT"
] | null | null | null | pfoil/__init__.py | nathanrooy/PFOIL | bd827c89f865822d3c0c95e1fee3b6a47695ab5c | [
"MIT"
] | null | null | null | from ._pfoil import airfoil
from ._pfoil import visc
| 17.666667 | 27 | 0.811321 | 8 | 53 | 5.125 | 0.625 | 0.439024 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 53 | 2 | 28 | 26.5 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
ed4488ffc17b616002765b42a9d6a82ffa74c83b | 27,506 | py | Python | feapder/network/user_agent.py | sirliu/feapder | 1a8464dfa047c13f7a99c47cbff8d27c63798651 | [
"MIT"
] | null | null | null | feapder/network/user_agent.py | sirliu/feapder | 1a8464dfa047c13f7a99c47cbff8d27c63798651 | [
"MIT"
] | null | null | null | feapder/network/user_agent.py | sirliu/feapder | 1a8464dfa047c13f7a99c47cbff8d27c63798651 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on 2016-12-28 17:55
---------
@summary:
---------
@author: Boris
@email: boris_liu@foxmail.com
"""
import random
USER_AGENTS = {
"chrome": [
"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36",
"Mozilla/5.0 (Mac... | 97.194346 | 231 | 0.642987 | 5,404 | 27,506 | 3.255922 | 0.055885 | 0.030009 | 0.099744 | 0.093663 | 0.900142 | 0.887241 | 0.868599 | 0.848764 | 0.831373 | 0.796533 | 0 | 0.224654 | 0.179524 | 27,506 | 282 | 232 | 97.539007 | 0.554989 | 0.004544 | 0 | 0.018657 | 0 | 0.91791 | 0.877105 | 0.027692 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003731 | false | 0 | 0.003731 | 0 | 0.011194 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 9 |
9c2d754133810663b9553e3bc9074ad23f351b94 | 8,494 | py | Python | laske_export/tests/test_bill_text.py | suutari-ai/mvj | c39dbc692afcb3b26366783414c2d5a88a57b25a | [
"MIT"
] | 1 | 2021-01-12T08:14:10.000Z | 2021-01-12T08:14:10.000Z | laske_export/tests/test_bill_text.py | suutari-ai/mvj | c39dbc692afcb3b26366783414c2d5a88a57b25a | [
"MIT"
] | 249 | 2017-04-18T14:00:13.000Z | 2022-03-30T12:18:03.000Z | laske_export/tests/test_bill_text.py | suutari-ai/mvj | c39dbc692afcb3b26366783414c2d5a88a57b25a | [
"MIT"
] | 7 | 2017-04-18T08:43:54.000Z | 2021-07-28T07:29:30.000Z | import datetime
from decimal import Decimal
import pytest
from django.utils.crypto import get_random_string
from laske_export.document.invoice_sales_order_adapter import InvoiceSalesOrderAdapter
from laske_export.document.sales_order import SalesOrder
from leasing.enums import ContactType, DueDatesType, RentCycle, Te... | 29.493056 | 86 | 0.702496 | 1,018 | 8,494 | 5.492141 | 0.120825 | 0.069755 | 0.054731 | 0.059023 | 0.920229 | 0.920229 | 0.917009 | 0.906636 | 0.899124 | 0.899124 | 0 | 0.034312 | 0.214269 | 8,494 | 287 | 87 | 29.595819 | 0.803416 | 0 | 0 | 0.788618 | 0 | 0 | 0.055215 | 0 | 0 | 0 | 0 | 0 | 0.020325 | 1 | 0.012195 | false | 0 | 0.03252 | 0 | 0.044715 | 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 |
9c41e84fc47c2b1167ac54e56449bb37d68b91d5 | 443 | py | Python | FlaskServer/creds_template.py | FherHerand/semi1-lab-examples-2s-2020 | 9ce7502723f97bc2eb985ce200f4db2da053a017 | [
"MIT"
] | 2 | 2020-06-25T23:31:19.000Z | 2020-08-08T02:22:56.000Z | FlaskServer/creds_template.py | FherHerand/semi1-lab-examples-2s-2020 | 9ce7502723f97bc2eb985ce200f4db2da053a017 | [
"MIT"
] | 5 | 2021-03-11T05:56:23.000Z | 2021-03-20T20:04:51.000Z | FlaskServer/creds_template.py | FherHerand/semi1-lab-examples-2s-2020 | 9ce7502723f97bc2eb985ce200f4db2da053a017 | [
"MIT"
] | 1 | 2020-11-03T20:10:05.000Z | 2020-11-03T20:10:05.000Z | s3 = {
'access_key_id': '',
'secret_access_key': '',
}
rekognition = {
'access_key_id': '',
'secret_access_key': '',
'region': 'us-east-2',
}
dynamodb = {
'access_key_id': '',
'secret_access_key': '',
'region': 'us-east-2',
}
cognito = {
'access_key_id': '',
'secret_access_key': ... | 18.458333 | 28 | 0.525959 | 51 | 443 | 4.176471 | 0.27451 | 0.422535 | 0.258216 | 0.399061 | 0.85446 | 0.85446 | 0.732394 | 0.732394 | 0.732394 | 0.732394 | 0 | 0.014706 | 0.232506 | 443 | 24 | 29 | 18.458333 | 0.611765 | 0 | 0 | 0.583333 | 0 | 0 | 0.472973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
92cbb55c52665721163a55c60dcb361411edabdf | 2,953 | py | Python | api/tests/utils/example_models.py | AlexRogalskiy/smart-social-distancing | 2def6738038035e67ac79fc9b72ba072e190321f | [
"Apache-2.0"
] | 113 | 2020-05-22T10:54:44.000Z | 2022-03-22T13:43:38.000Z | api/tests/utils/example_models.py | neuralet/smart-social-distancing | 3ec95433c24e62ab78d30193b378fefd1801c0a5 | [
"Apache-2.0"
] | 55 | 2020-05-20T20:16:40.000Z | 2021-10-13T10:00:56.000Z | api/tests/utils/example_models.py | AlexRogalskiy/smart-social-distancing | 2def6738038035e67ac79fc9b72ba072e190321f | [
"Apache-2.0"
] | 37 | 2020-05-24T00:48:48.000Z | 2022-02-28T14:58:13.000Z | camera_template = {
"violation_threshold": 100,
"notify_every_minutes": 15,
"emails": "john@email.com,doe@email.com",
"enable_slack_notifications": False,
"daily_report": True,
"daily_report_time": "06:00",
"id": "20",
"name": "Kitchen",
"video_path": "/repo/api/tests/data/mocked_dat... | 27.598131 | 74 | 0.650186 | 355 | 2,953 | 5.115493 | 0.225352 | 0.061674 | 0.069383 | 0.073238 | 0.85793 | 0.85793 | 0.85793 | 0.85793 | 0.807269 | 0.803414 | 0 | 0.039046 | 0.176092 | 2,953 | 106 | 75 | 27.858491 | 0.707357 | 0 | 0 | 0.648936 | 0 | 0 | 0.60339 | 0.222712 | 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 |
131d57256c559641b7eda739e6a9f06b6045f79d | 22,362 | py | Python | toolchain/m2tools/src/assembler/pass1objects.py | VladisM/MARK_II-SoC | 58a441675729d4036b503c2a4743fd181daaf5af | [
"MIT"
] | 25 | 2017-07-21T08:56:19.000Z | 2021-05-09T22:12:15.000Z | toolchain/m2tools/src/assembler/pass1objects.py | C-ArenA/MARK_II | 58a441675729d4036b503c2a4743fd181daaf5af | [
"MIT"
] | 30 | 2016-07-12T22:12:58.000Z | 2018-06-03T14:08:07.000Z | toolchain/m2tools/src/assembler/pass1objects.py | C-ArenA/MARK_II | 58a441675729d4036b503c2a4743fd181daaf5af | [
"MIT"
] | 5 | 2017-11-20T14:46:22.000Z | 2020-04-01T10:48:10.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# pass1objects.py
#
# Part of MARK II project. For informations about license, please
# see file /LICENSE .
#
# author: Vladislav Mlejnecký
# email: v.mlejnecky@seznam.cz
from common import *
class item():
def __init__(self, parrent, address):
self.address... | 34.088415 | 157 | 0.6613 | 2,667 | 22,362 | 5.214473 | 0.082865 | 0.085425 | 0.100309 | 0.14712 | 0.838067 | 0.797224 | 0.770691 | 0.764363 | 0.755375 | 0.750557 | 0 | 0.041341 | 0.238485 | 22,362 | 655 | 158 | 34.140458 | 0.775324 | 0.008944 | 0 | 0.559184 | 0 | 0 | 0.01738 | 0 | 0 | 0 | 0.021804 | 0 | 0 | 0 | null | null | 0 | 0.002041 | null | null | 0.006122 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
133009e85cf9dc3472d036e51598229ce465c915 | 46,673 | py | Python | sysinv/sysinv/sysinv/sysinv/tests/api/test_storage_tier.py | starlingx-staging/stx-config | ccbf0392d1941e7cad6673f6351bd905a5a5d419 | [
"Apache-2.0"
] | null | null | null | sysinv/sysinv/sysinv/sysinv/tests/api/test_storage_tier.py | starlingx-staging/stx-config | ccbf0392d1941e7cad6673f6351bd905a5a5d419 | [
"Apache-2.0"
] | null | null | null | sysinv/sysinv/sysinv/sysinv/tests/api/test_storage_tier.py | starlingx-staging/stx-config | ccbf0392d1941e7cad6673f6351bd905a5a5d419 | [
"Apache-2.0"
] | null | null | null | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# -*- encoding: utf-8 -*-
#
#
# Copyright (c) 2017-2018 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
"""
Tests for the API /storage_tiers/ methods.
"""
import mock
from six.moves import http_client
from cephclient import wrapper as ceph
try:
from ... | 52.559685 | 109 | 0.624879 | 5,155 | 46,673 | 5.386227 | 0.063434 | 0.09454 | 0.036195 | 0.052726 | 0.865195 | 0.845386 | 0.831124 | 0.813765 | 0.800764 | 0.780235 | 0 | 0.003518 | 0.263 | 46,673 | 887 | 110 | 52.61894 | 0.80368 | 0.038716 | 0 | 0.730273 | 0 | 0.002869 | 0.159377 | 0.008332 | 0 | 0 | 0 | 0 | 0.357245 | 1 | 0.032999 | false | 0 | 0.02726 | 0 | 0.07891 | 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 |
136dbdcba10a9b27852a0cf9a6dd3c9ebdc55515 | 378 | py | Python | __init__.py | jiuguai/dataparse | 68eac5108e4adf655cccff46b62b1e74a24a6d79 | [
"MIT"
] | null | null | null | __init__.py | jiuguai/dataparse | 68eac5108e4adf655cccff46b62b1e74a24a6d79 | [
"MIT"
] | null | null | null | __init__.py | jiuguai/dataparse | 68eac5108e4adf655cccff46b62b1e74a24a6d79 | [
"MIT"
] | null | null | null | from .coordTransform import wgs84_to_gcj02 as w2g;w2g
from .coordTransform import wgs84_to_bd09 as w2b;w2b
from .coordTransform import gcj02_to_wgs84 as g2w;g2w
from .coordTransform import gcj02_to_bd09 as g2b;g2b
from .coordTransform import bd09_to_wgs84 as b2w;b2w
from .coordTransform import bd09_to_gcj02 as b2g;b2g
... | 47.25 | 53 | 0.846561 | 61 | 378 | 5.04918 | 0.262295 | 0.409091 | 0.545455 | 0.188312 | 0.597403 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107463 | 0.113757 | 378 | 8 | 54 | 47.25 | 0.81194 | 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 |
13977037efc36efed457a906934f9f7fdec0eaba | 5,035 | py | Python | automol/tests/test_rings.py | kevinmooreiii/autochem | 87f50adc09c3f1170459c629697aadd74154c769 | [
"Apache-2.0"
] | null | null | null | automol/tests/test_rings.py | kevinmooreiii/autochem | 87f50adc09c3f1170459c629697aadd74154c769 | [
"Apache-2.0"
] | null | null | null | automol/tests/test_rings.py | kevinmooreiii/autochem | 87f50adc09c3f1170459c629697aadd74154c769 | [
"Apache-2.0"
] | null | null | null | """ test ring functionality in automol.graph
"""
from automol import graph
def test__rings():
""" test graph.rings
"""
c5h5n5o_cgr = (
{0: ('C', 1, None), 1: ('C', 0, None), 2: ('C', 0, None),
3: ('C', 0, None), 4: ('C', 0, None), 5: ('N', 2, None),
6: ('N', 0, None), 7: ('N', 0,... | 49.362745 | 74 | 0.450447 | 769 | 5,035 | 2.892068 | 0.080624 | 0.202338 | 0.415468 | 0.074191 | 0.86286 | 0.845773 | 0.785522 | 0.777428 | 0.709532 | 0.695594 | 0 | 0.14469 | 0.272493 | 5,035 | 101 | 75 | 49.851485 | 0.462462 | 0.073486 | 0 | 0.526316 | 0 | 0 | 0.014674 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.039474 | false | 0 | 0.013158 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 9 |
13b56fb05ac91345e301c9110c917ede2e230b8c | 15,264 | py | Python | neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/openflow/native/test_br_int.py | ISCAS-VDI/neutron-base | 687f03d7131839ae8bc324d5823194d1245bb050 | [
"Apache-2.0"
] | 1 | 2017-09-10T09:57:35.000Z | 2017-09-10T09:57:35.000Z | neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/openflow/native/test_br_int.py | ISCAS-VDI/neutron-base | 687f03d7131839ae8bc324d5823194d1245bb050 | [
"Apache-2.0"
] | 3 | 2015-02-27T00:48:55.000Z | 2015-04-21T05:29:37.000Z | neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/openflow/native/test_br_int.py | ISCAS-VDI/neutron-base | 687f03d7131839ae8bc324d5823194d1245bb050 | [
"Apache-2.0"
] | 3 | 2015-02-26T00:55:17.000Z | 2020-03-01T17:05:40.000Z | # Copyright (C) 2014,2015 VA Linux Systems Japan K.K.
# Copyright (C) 2014,2015 YAMAMOTO Takashi <yamamoto at valinux co jp>
# 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 t... | 38.064838 | 79 | 0.516706 | 1,623 | 15,264 | 4.585952 | 0.131238 | 0.026333 | 0.047965 | 0.058041 | 0.859331 | 0.842268 | 0.832997 | 0.792154 | 0.792154 | 0.79081 | 0 | 0.037592 | 0.391771 | 15,264 | 400 | 80 | 38.16 | 0.76411 | 0.045991 | 0 | 0.787879 | 0 | 0 | 0.020144 | 0.001444 | 0 | 0 | 0 | 0 | 0.044077 | 1 | 0.046832 | false | 0 | 0.00551 | 0 | 0.055096 | 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 |
13f96b8e1b9e6846da2ac393c241e3c590dbd2e0 | 21,789 | py | Python | mpf/tests/test_HighScoreMode.py | openpinballproject/mpf | 75e9a6dd55f011f787974f972945cb14cf70f138 | [
"MIT"
] | null | null | null | mpf/tests/test_HighScoreMode.py | openpinballproject/mpf | 75e9a6dd55f011f787974f972945cb14cf70f138 | [
"MIT"
] | null | null | null | mpf/tests/test_HighScoreMode.py | openpinballproject/mpf | 75e9a6dd55f011f787974f972945cb14cf70f138 | [
"MIT"
] | null | null | null | """Test high score mode."""
from collections import OrderedDict
from unittest.mock import MagicMock, call
from mpf.tests.MpfBcpTestCase import MpfBcpTestCase
from mpf.tests.MpfTestCase import test_config_directory
class TestHighScoreMode(MpfBcpTestCase):
def get_config_file(self):
return 'high_score.yam... | 41.345351 | 119 | 0.563174 | 2,440 | 21,789 | 4.737295 | 0.087705 | 0.089541 | 0.068518 | 0.093434 | 0.843672 | 0.825677 | 0.811921 | 0.799723 | 0.781036 | 0.772731 | 0 | 0.055946 | 0.315021 | 21,789 | 526 | 120 | 41.423954 | 0.718526 | 0.045711 | 0 | 0.796954 | 0 | 0 | 0.117128 | 0.054156 | 0 | 0 | 0 | 0 | 0.162437 | 1 | 0.048223 | false | 0 | 0.010152 | 0.005076 | 0.073604 | 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 |
b920b84d96fa7360f8e1b36bab82b78d851ccc77 | 2,667 | py | Python | tests/sentry/models/test_commit.py | AlexWayfer/sentry | ef935cda2b2e960bd602fda590540882d1b0712d | [
"BSD-3-Clause"
] | 1 | 2022-02-09T22:56:49.000Z | 2022-02-09T22:56:49.000Z | tests/sentry/models/test_commit.py | AlexWayfer/sentry | ef935cda2b2e960bd602fda590540882d1b0712d | [
"BSD-3-Clause"
] | 196 | 2019-06-10T08:34:10.000Z | 2022-02-22T01:26:13.000Z | tests/sentry/models/test_commit.py | AlexWayfer/sentry | ef935cda2b2e960bd602fda590540882d1b0712d | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from hashlib import sha1
from uuid import uuid4
from sentry.models import Commit, Repository
from sentry.testutils import TestCase
class FindReferencedGroupsTest(TestCase):
def test_multiple_matches_basic(self):
group = self.create_group()
group2 = self.cre... | 30.306818 | 55 | 0.584927 | 280 | 2,667 | 5.392857 | 0.192857 | 0.111258 | 0.084768 | 0.066225 | 0.831788 | 0.831788 | 0.831788 | 0.831788 | 0.831788 | 0.831788 | 0 | 0.013296 | 0.32321 | 2,667 | 87 | 56 | 30.655172 | 0.823269 | 0 | 0 | 0.75 | 0 | 0 | 0.038995 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.027778 | false | 0 | 0.069444 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b92d031cd245f7eb853622a8aa907d0855609fa0 | 25,920 | py | Python | tests/base/test_doist.py | ProSapien/hio | 7c7110611d424ab2e04c277d8d6605cc0e2c8e79 | [
"Apache-2.0"
] | null | null | null | tests/base/test_doist.py | ProSapien/hio | 7c7110611d424ab2e04c277d8d6605cc0e2c8e79 | [
"Apache-2.0"
] | null | null | null | tests/base/test_doist.py | ProSapien/hio | 7c7110611d424ab2e04c277d8d6605cc0e2c8e79 | [
"Apache-2.0"
] | null | null | null | # -*- encoding: utf-8 -*-
"""
tests.core.test_cycling module
"""
import pytest
import inspect
from hio.base import doing
from hio.base import doing
from hio.base.basing import State
def test_doist_once():
"""
Test doist.once with dogs
"""
doist = doing.Doist(tock=0.25)
assert doist.tyme == 0.0 #... | 44.156729 | 88 | 0.539313 | 3,560 | 25,920 | 3.916292 | 0.030899 | 0.067781 | 0.124086 | 0.119495 | 0.908119 | 0.885741 | 0.880648 | 0.87075 | 0.864582 | 0.856118 | 0 | 0.090011 | 0.304784 | 25,920 | 586 | 89 | 44.232082 | 0.683685 | 0.028549 | 0 | 0.815126 | 0 | 0 | 0.041292 | 0 | 0 | 0 | 0 | 0 | 0.460084 | 1 | 0.008403 | false | 0 | 0.010504 | 0 | 0.018908 | 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 |
b97093ef1c73692cdc272841abb161564df78d97 | 32 | py | Python | external/models/basic_USE/__init__.py | swapUniba/Elliot_refactor-tesi-Ventrella | 3ddffc041696c90a6f6d3e8906c212fc4f55f842 | [
"Apache-2.0"
] | null | null | null | external/models/basic_USE/__init__.py | swapUniba/Elliot_refactor-tesi-Ventrella | 3ddffc041696c90a6f6d3e8906c212fc4f55f842 | [
"Apache-2.0"
] | null | null | null | external/models/basic_USE/__init__.py | swapUniba/Elliot_refactor-tesi-Ventrella | 3ddffc041696c90a6f6d3e8906c212fc4f55f842 | [
"Apache-2.0"
] | null | null | null | from .basic_USE import basic_USE | 32 | 32 | 0.875 | 6 | 32 | 4.333333 | 0.666667 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b9795cde7d694593b068deaa501d56afa5398e6c | 178 | py | Python | source/optmath/__main__.py | Argmaster/optmath | 389095436bb551c53db710bc3a2d95a3fb8ae0a6 | [
"MIT"
] | null | null | null | source/optmath/__main__.py | Argmaster/optmath | 389095436bb551c53db710bc3a2d95a3fb8ae0a6 | [
"MIT"
] | null | null | null | source/optmath/__main__.py | Argmaster/optmath | 389095436bb551c53db710bc3a2d95a3fb8ae0a6 | [
"MIT"
] | null | null | null | """CLI entry point."""
import sys
from .cli import auto_load_commands_from_cli_folder, cli
def main():
auto_load_commands_from_cli_folder()
cli(sys.argv[1:])
| 17.8 | 57 | 0.696629 | 27 | 178 | 4.222222 | 0.518519 | 0.184211 | 0.280702 | 0.350877 | 0.561404 | 0.561404 | 0.561404 | 0 | 0 | 0 | 0 | 0.006944 | 0.191011 | 178 | 9 | 58 | 19.777778 | 0.784722 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b9865f99df95d53571ef8c0afdfd6b71e32bc95e | 512 | py | Python | args.py | franciscoRic/Aula-Python | bc767b2ff22526ad0c3cc4ab51ee5227be9ce399 | [
"MIT"
] | null | null | null | args.py | franciscoRic/Aula-Python | bc767b2ff22526ad0c3cc4ab51ee5227be9ce399 | [
"MIT"
] | null | null | null | args.py | franciscoRic/Aula-Python | bc767b2ff22526ad0c3cc4ab51ee5227be9ce399 | [
"MIT"
] | null | null | null | """
Entendo os *args
# Exemplos
def soma_todos_numeros(num1, num2, num3):
return num1 + num2 + num3
print(soma_todos_numeros(1, 2, 3))
def soma_todos_numeros(*args):
total = 0
for numero in args:
total = total + numero
return total
ou
"""
# Entendendo o *args
def soma_todos_numeros(*a... | 14.628571 | 41 | 0.6875 | 80 | 512 | 4.175 | 0.4 | 0.242515 | 0.431138 | 0.377246 | 0.269461 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050602 | 0.189453 | 512 | 34 | 42 | 15.058824 | 0.754217 | 0.548828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0 | 1 | 0.142857 | true | 0 | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 7 |
b9a437e099d41eb967fc0fa2280ba48022c64565 | 2,538 | py | Python | tests/records/test_configuration_decoder.py | DiveWithDamian/divesoft-parser | 7f71704323a2a456867c4878cf39f6e217ad91b5 | [
"MIT"
] | null | null | null | tests/records/test_configuration_decoder.py | DiveWithDamian/divesoft-parser | 7f71704323a2a456867c4878cf39f6e217ad91b5 | [
"MIT"
] | 18 | 2021-05-22T08:14:21.000Z | 2022-03-13T23:20:04.000Z | tests/records/test_configuration_decoder.py | DiveWithDamian/divesoft-parser | 7f71704323a2a456867c4878cf39f6e217ad91b5 | [
"MIT"
] | null | null | null | from divesoft_parser.decoders.records.configuration import ConfigurationRecordParser
from divesoft_parser.models.enums import DiveRecordType, ConfigurationType
from divesoft_parser.utilities import BitArray
def test_configuration_decoder_1():
cfg = ConfigurationRecordParser(
DiveRecordType.Configuration,
... | 33.394737 | 84 | 0.681245 | 274 | 2,538 | 6.167883 | 0.193431 | 0.159763 | 0.150888 | 0.063905 | 0.772189 | 0.746154 | 0.746154 | 0.746154 | 0.746154 | 0.719527 | 0 | 0.075322 | 0.204886 | 2,538 | 75 | 85 | 33.84 | 0.762141 | 0.152088 | 0 | 0.72549 | 0 | 0 | 0.044881 | 0.033661 | 0 | 0 | 0 | 0 | 0.588235 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.117647 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b9e22ebe8421f6c166d40b953bc28690b4baf7c6 | 5,004 | py | Python | items/models.py | twtrubiks/django-transactions-tutorial | b28538fcd12e6fbfd404c89ff43904072e83dbc3 | [
"MIT"
] | 33 | 2018-02-19T07:27:49.000Z | 2021-12-15T19:27:13.000Z | items/models.py | AmriSulaiman78/django-transactions-tutorial | b28538fcd12e6fbfd404c89ff43904072e83dbc3 | [
"MIT"
] | null | null | null | items/models.py | AmriSulaiman78/django-transactions-tutorial | b28538fcd12e6fbfd404c89ff43904072e83dbc3 | [
"MIT"
] | 11 | 2018-02-21T06:11:41.000Z | 2022-03-21T03:42:01.000Z | import threading
import time
from django.db import models
from django.db import transaction
class Item(models.Model):
stock = models.IntegerField(default=0)
price = models.PositiveIntegerField(default=0)
last_modify_date = models.DateTimeField(auto_now=True)
created = models.DateTimeField(auto_now_ad... | 31.275 | 102 | 0.61271 | 640 | 5,004 | 4.642188 | 0.14375 | 0.059239 | 0.060586 | 0.022215 | 0.838438 | 0.76237 | 0.706496 | 0.706496 | 0.706496 | 0.695389 | 0 | 0.033343 | 0.27478 | 5,004 | 159 | 103 | 31.471698 | 0.78534 | 0.029576 | 0 | 0.779528 | 0 | 0 | 0.092417 | 0.044593 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07874 | false | 0 | 0.031496 | 0 | 0.204724 | 0.07874 | 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 |
b9eff1bd6cf54d712fda3ed001a1196f4e621bcc | 8,766 | py | Python | data/external/repositories_2to3/80097/kaggle-connectomics-master/code/PCA.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | null | null | null | data/external/repositories_2to3/80097/kaggle-connectomics-master/code/PCA.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | null | null | null | data/external/repositories_2to3/80097/kaggle-connectomics-master/code/PCA.py | Keesiu/meta-kaggle | 87de739aba2399fd31072ee81b391f9b7a63f540 | [
"MIT"
] | 1 | 2019-12-04T08:23:33.000Z | 2019-12-04T08:23:33.000Z | # Authors: Aaron Qiu <zqiu@ulg.ac.be>,
# Antonio Sutera <a.sutera@ulg.ac.be>,
# Arnaud Joly <a.joly@ulg.ac.be>,
# Gilles Louppe <g.louppe@ulg.ac.be>,
# Vincent Francois <v.francois@ulg.ac.be>
#
# License: BSD 3 clause
import numpy as np
from sklearn.decomposition import... | 31.085106 | 79 | 0.414898 | 1,403 | 8,766 | 2.513186 | 0.161083 | 0.060125 | 0.045377 | 0.032331 | 0.806012 | 0.79949 | 0.773681 | 0.762904 | 0.762904 | 0.717243 | 0 | 0.225326 | 0.379306 | 8,766 | 281 | 80 | 31.19573 | 0.422716 | 0.031485 | 0 | 0.701571 | 0 | 0 | 0.022932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068063 | false | 0 | 0.015707 | 0.031414 | 0.151832 | 0.020942 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6a002bcf2d902e4df46343d676a6e5c52a651021 | 1,072 | py | Python | nas_gcn_new_deepchem/Test.py | deephyper/nas-gcn | 7faa66e9f4ec1f990a5ccdcfe0dd5255d4475b6f | [
"BSD-2-Clause"
] | null | null | null | nas_gcn_new_deepchem/Test.py | deephyper/nas-gcn | 7faa66e9f4ec1f990a5ccdcfe0dd5255d4475b6f | [
"BSD-2-Clause"
] | null | null | null | nas_gcn_new_deepchem/Test.py | deephyper/nas-gcn | 7faa66e9f4ec1f990a5ccdcfe0dd5255d4475b6f | [
"BSD-2-Clause"
] | null | null | null | from nas_gcn.qm7.load_data import load_data
(X_train, y_train), (X_valid, y_valid) = load_data(test=False, seed=2020)
print('nas_gcn.qm7.load_data', f"{y_train.shape}")
from nas_gcn.qm8.load_data import load_data
(X_train, y_train), (X_valid, y_valid) = load_data(test=False, seed=2020)
print('nas_gcn.qm8.load_da... | 46.608696 | 74 | 0.751866 | 198 | 1,072 | 3.737374 | 0.116162 | 0.259459 | 0.081081 | 0.145946 | 0.994595 | 0.894595 | 0.867568 | 0.867568 | 0.867568 | 0.664865 | 0 | 0.030992 | 0.097015 | 1,072 | 23 | 75 | 46.608696 | 0.733471 | 0 | 0 | 0.333333 | 0 | 0 | 0.220742 | 0.135109 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
6a0649ca999cedf70544c97778262d176d3f4cc0 | 5,900 | py | Python | build/lib.macosx-10.9-x86_64-3.9/gators/clipping/tests/test_clipping.py | Aditya-Kapadiya/gators | d7c9967e3a8e304a601b6a92ad834d03d3e36338 | [
"Apache-2.0"
] | 4 | 2021-10-29T18:20:52.000Z | 2022-03-31T22:53:03.000Z | build/lib.macosx-10.9-x86_64-3.9/gators/clipping/tests/test_clipping.py | Aditya-Kapadiya/gators | d7c9967e3a8e304a601b6a92ad834d03d3e36338 | [
"Apache-2.0"
] | 1 | 2022-01-19T12:16:19.000Z | 2022-01-19T12:16:19.000Z | build/lib.macosx-10.9-x86_64-3.9/gators/clipping/tests/test_clipping.py | Aditya-Kapadiya/gators | d7c9967e3a8e304a601b6a92ad834d03d3e36338 | [
"Apache-2.0"
] | 5 | 2021-11-17T20:16:54.000Z | 2022-02-21T18:21:02.000Z | # License: Apache-2.0
from gators.clipping.clipping import Clipping
import pytest
import numpy as np
import pandas as pd
import databricks.koalas as ks
from pandas.testing import assert_frame_equal
ks.set_option('compute.default_index_type', 'distributed-sequence')
@pytest.fixture
def data():
np.random.seed(0)
... | 29.5 | 100 | 0.635763 | 943 | 5,900 | 3.759279 | 0.083775 | 0.021439 | 0.02031 | 0.066008 | 0.895063 | 0.891961 | 0.890832 | 0.865444 | 0.860367 | 0.810155 | 0 | 0.157067 | 0.202542 | 5,900 | 199 | 101 | 29.648241 | 0.596387 | 0.00322 | 0 | 0.7875 | 0 | 0 | 0.01667 | 0.004423 | 0 | 0 | 0 | 0 | 0.08125 | 1 | 0.11875 | false | 0 | 0.0375 | 0 | 0.19375 | 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 |
dbf62e2ba185f8b4056e35ee8ea4109ada95f20c | 1,536 | py | Python | src/ikazuchi/tests/data/rst/parse_section.py | t2y/ikazuchi | 7023111e92fa47360c50cfefd1398c554475f2c6 | [
"Apache-2.0"
] | null | null | null | src/ikazuchi/tests/data/rst/parse_section.py | t2y/ikazuchi | 7023111e92fa47360c50cfefd1398c554475f2c6 | [
"Apache-2.0"
] | null | null | null | src/ikazuchi/tests/data/rst/parse_section.py | t2y/ikazuchi | 7023111e92fa47360c50cfefd1398c554475f2c6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
DATA_SET = [
(
[u"=======\n",
u"section\n",
u"=======\n",
u""],
[("se",
[u"=======\n",
u"section\n",
u"=======\n"],
u""),
2]
),
(
[u"=======\n",
u"section\n",
u"==... | 18.285714 | 62 | 0.184245 | 130 | 1,536 | 2.169231 | 0.184615 | 0.248227 | 0.223404 | 0.184397 | 0.666667 | 0.613475 | 0.560284 | 0.439716 | 0.439716 | 0.439716 | 0 | 0.013055 | 0.501302 | 1,536 | 83 | 63 | 18.506024 | 0.355091 | 0.044922 | 0 | 0.802469 | 0 | 0 | 0.269809 | 0 | 0 | 0 | 0 | 0.012048 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e03baae4ef540b47e8b52c19500aa6681f8e49a4 | 327,363 | py | Python | World-master/black.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-17T03:35:03.000Z | 2021-12-08T06:00:31.000Z | World-master/black.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | null | null | null | World-master/black.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-05T18:07:48.000Z | 2022-02-24T21:25:07.000Z | #Encrypt By Vivek
import base64
exec(base64.b32decode("EMQS65LTOIXWE2LOF5YHS5DIN5XDEDIKENRW6ZDJNZTT25LUMYWTQDIKENKGQZJAINZGKZDJOQQEM33SEBKGQ2LTEBBW6ZDFEBDW6ZLTEBKG6ICWNF3GK22DNBQW4ZDFNQGQUI2JMYQFS33VEBLWC3TOMEQFIYLLMUQEG4TFMRUXI4ZAIZXXEICUNBUXGICDN5SGKLBAKBWGKYLTMUQEY33PNMQFS33VOJZWK3DGEBAWOYLJNYXC4LQNBIRVEZLTMVZHMZLEG... | 81,840.75 | 327,330 | 0.999939 | 9 | 327,363 | 36,371.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106819 | 0.000018 | 327,363 | 3 | 327,331 | 109,121 | 0.893138 | 0.000049 | 0 | 0 | 0 | 0 | 0.999872 | 0.999872 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
e04815be864a49757010ca08b851bcb70f3c2a9f | 45 | py | Python | boost/tools/build/CMake/docs/source/boost_cmake_version.py | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 2 | 2021-08-07T16:21:29.000Z | 2021-11-17T10:58:37.000Z | boost/tools/build/CMake/docs/source/boost_cmake_version.py | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | null | null | null | boost/tools/build/CMake/docs/source/boost_cmake_version.py | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | null | null | null | version = "1.52.0"
release = "1.52.0.cmake0"
| 15 | 25 | 0.622222 | 9 | 45 | 3.111111 | 0.666667 | 0.214286 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.133333 | 45 | 2 | 26 | 22.5 | 0.487179 | 0 | 0 | 0 | 0 | 0 | 0.422222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e05bf1713d3c8d3e961e19ad89bd16e60bb8d814 | 32,720 | py | Python | mars/dataframe/reduction/tests/test_reduction.py | timgates42/mars | bfa3a7d7d8f100b495581c8bab2143c8f261a7f1 | [
"Apache-2.0"
] | null | null | null | mars/dataframe/reduction/tests/test_reduction.py | timgates42/mars | bfa3a7d7d8f100b495581c8bab2143c8f261a7f1 | [
"Apache-2.0"
] | null | null | null | mars/dataframe/reduction/tests/test_reduction.py | timgates42/mars | bfa3a7d7d8f100b495581c8bab2143c8f261a7f1 | [
"Apache-2.0"
] | null | null | null | # Copyright 1999-2020 Alibaba Group Holding 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 a... | 46.809728 | 107 | 0.659688 | 4,167 | 32,720 | 5.029038 | 0.072474 | 0.130989 | 0.042947 | 0.02405 | 0.805784 | 0.783117 | 0.765413 | 0.744465 | 0.707912 | 0.691019 | 0 | 0.019121 | 0.205623 | 32,720 | 698 | 108 | 46.876791 | 0.787127 | 0.033038 | 0 | 0.611524 | 0 | 0 | 0.016933 | 0 | 0 | 0 | 0 | 0 | 0.527881 | 1 | 0.035316 | false | 0 | 0.031599 | 0.011152 | 0.091078 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
162a03079f03a45911aa2727a7fd60deb624d201 | 5,151 | py | Python | rows/test/model/shift_pattern_test.py | pmateusz/cordia | f911f4b140e416097342a7261b73e8e39dbe7589 | [
"MIT"
] | null | null | null | rows/test/model/shift_pattern_test.py | pmateusz/cordia | f911f4b140e416097342a7261b73e8e39dbe7589 | [
"MIT"
] | null | null | null | rows/test/model/shift_pattern_test.py | pmateusz/cordia | f911f4b140e416097342a7261b73e8e39dbe7589 | [
"MIT"
] | 2 | 2020-08-30T17:54:40.000Z | 2021-05-18T02:28:33.000Z | """Tests shift pattern"""
import datetime
import unittest
from rows.model.shift_pattern import ExecutableShiftPattern
class ShiftWeekFactoryTest(unittest.TestCase):
"""Tests shift week calculations"""
def test_one_week_span(self):
"""Test shift week calculations for one week shifts"""
# gi... | 55.98913 | 89 | 0.708406 | 639 | 5,151 | 5.541471 | 0.079812 | 0.104773 | 0.225925 | 0.338887 | 0.931093 | 0.931093 | 0.914713 | 0.880825 | 0.857667 | 0.825191 | 0 | 0.034754 | 0.162104 | 5,151 | 91 | 90 | 56.604396 | 0.785681 | 0.036886 | 0 | 0.031746 | 0 | 0 | 0.001622 | 0 | 0 | 0 | 0 | 0 | 0.793651 | 1 | 0.031746 | false | 0 | 0.047619 | 0 | 0.095238 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
1654942c3ce882d710d0e804cfffdfa574d488a5 | 128 | py | Python | __init__.py | Mem-Tech/meme-voice-assistant | 9ec4c6bcd7decb5593095fa53646bc8ff2810ce7 | [
"MIT"
] | 1 | 2021-03-05T21:36:14.000Z | 2021-03-05T21:36:14.000Z | __init__.py | Mem-Tech/meme-voice-assistant | 9ec4c6bcd7decb5593095fa53646bc8ff2810ce7 | [
"MIT"
] | 2 | 2021-04-30T22:09:03.000Z | 2021-04-30T22:11:19.000Z | __init__.py | Mem-Tech/meme-voice-assistant | 9ec4c6bcd7decb5593095fa53646bc8ff2810ce7 | [
"MIT"
] | null | null | null | from .util import KEYWORDS
from .util import KEYWORD_FILE_PATHS
from .util import LIBRARY_PATH
from .util import MODEL_FILE_PATH | 32 | 36 | 0.851563 | 21 | 128 | 4.952381 | 0.47619 | 0.307692 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117188 | 128 | 4 | 37 | 32 | 0.920354 | 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 |
169386dfc2a799b3dbe8ec7a7a6908f0b6e1a6c4 | 10,349 | py | Python | python/src/chirpstack_api/as_pb/external/api/serviceProfile_pb2_grpc.py | maxreb/chirpstack-api | c591dd556e70b384318cdf61de19c0350715d61d | [
"MIT"
] | 55 | 2019-11-05T15:46:49.000Z | 2022-03-23T14:31:33.000Z | python/src/chirpstack_api/as_pb/external/api/serviceProfile_pb2_grpc.py | maxreb/chirpstack-api | c591dd556e70b384318cdf61de19c0350715d61d | [
"MIT"
] | 39 | 2019-11-08T21:03:45.000Z | 2022-03-01T12:40:36.000Z | python/src/chirpstack_api/as_pb/external/api/serviceProfile_pb2_grpc.py | maxreb/chirpstack-api | c591dd556e70b384318cdf61de19c0350715d61d | [
"MIT"
] | 101 | 2019-11-22T13:59:59.000Z | 2022-03-14T09:52:46.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from chirpstack_api.as_pb.external.api import serviceProfile_pb2 as chirpstack__api_dot_as__pb_dot_external_dot_api_dot_serviceProfile__pb2
from google.protobuf ... | 49.754808 | 159 | 0.709441 | 1,019 | 10,349 | 6.699706 | 0.111874 | 0.043943 | 0.058591 | 0.065915 | 0.844734 | 0.814706 | 0.810605 | 0.782774 | 0.773693 | 0.754651 | 0 | 0.004254 | 0.227751 | 10,349 | 207 | 160 | 49.995169 | 0.849975 | 0.069669 | 0 | 0.527607 | 1 | 0 | 0.062821 | 0.036122 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07362 | false | 0 | 0.018405 | 0.030675 | 0.141104 | 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 |
169be693864cb25ce0e6001dbb26553243fd388f | 113 | py | Python | Python/python_programming_stu/chapter08_function/8-1.default_argument.py | min9288/Multicampus | 2aaac730b35e530f8f91cb1ba41c08ee18d59142 | [
"MIT"
] | 2 | 2022-01-18T09:27:42.000Z | 2022-03-29T14:59:00.000Z | Python/python_programming_stu/chapter08_function/8-1.default_argument.py | min9288/Multicampus | 2aaac730b35e530f8f91cb1ba41c08ee18d59142 | [
"MIT"
] | null | null | null | Python/python_programming_stu/chapter08_function/8-1.default_argument.py | min9288/Multicampus | 2aaac730b35e530f8f91cb1ba41c08ee18d59142 | [
"MIT"
] | null | null | null | def daily_sleeping_hours(hours):
return hours
print(daily_sleeping_hours(10))
print(daily_sleeping_hours()) | 18.833333 | 32 | 0.80531 | 16 | 113 | 5.3125 | 0.4375 | 0.458824 | 0.635294 | 0.541176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.097345 | 113 | 6 | 33 | 18.833333 | 0.813725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 8 |
16c1d247f8583f664194bdf629d75734ca0ea9be | 219 | py | Python | electrum_gui/common/hardware/callbacks/__init__.py | BixinKey/electrum | f5de4e74e313b9b569f13ba6ab9142a38bf095f2 | [
"MIT"
] | 12 | 2020-11-12T08:53:05.000Z | 2021-07-06T17:30:39.000Z | electrum_gui/common/hardware/callbacks/__init__.py | liyanhrxy/electrum | 107608ef201ff1d20d2f6091c257b1ceff9b7362 | [
"MIT"
] | 209 | 2020-09-23T06:58:18.000Z | 2021-11-18T11:25:41.000Z | electrum_gui/common/hardware/callbacks/__init__.py | liyanhrxy/electrum | 107608ef201ff1d20d2f6091c257b1ceff9b7362 | [
"MIT"
] | 19 | 2020-10-13T11:42:26.000Z | 2022-02-06T01:26:34.000Z | from electrum_gui.common.hardware.callbacks.android import AndroidCallback
from electrum_gui.common.hardware.callbacks.ios import IOSCallback
from electrum_gui.common.hardware.callbacks.terminal import TerminalCallback
| 54.75 | 76 | 0.890411 | 27 | 219 | 7.111111 | 0.481481 | 0.1875 | 0.234375 | 0.328125 | 0.59375 | 0.59375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 219 | 3 | 77 | 73 | 0.927536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
16cb2d2dcb966bacfe3e0444dd8879614fbdbbbe | 34,986 | py | Python | matchzoo/inputs/list_generator.py | evison/NeuralResponseRanking | 7fad0259cba30049b621163637bb896e67d4aaf2 | [
"MIT"
] | 71 | 2018-04-18T05:17:54.000Z | 2021-08-06T07:54:25.000Z | matchzoo/inputs/list_generator.py | KobeDeShow/NeuralResponseRanking | 171b15ecd48b78479beb9598fc7e152dec9f779c | [
"MIT"
] | 6 | 2018-10-16T08:33:19.000Z | 2020-11-10T07:44:04.000Z | matchzoo/inputs/list_generator.py | KobeDeShow/NeuralResponseRanking | 171b15ecd48b78479beb9598fc7e152dec9f779c | [
"MIT"
] | 16 | 2018-08-03T09:44:56.000Z | 2020-08-25T14:02:42.000Z | # -*- coding: utf-8 -*-
import sys
import random
import numpy as np
from utils.rank_io import *
from layers import DynamicMaxPooling
import scipy.sparse as sp
class ListBasicGenerator(object):
def __init__(self, config={}):
self.__name = 'ListBasicGenerator'
self.config = config
self.batch... | 47.66485 | 265 | 0.539902 | 4,713 | 34,986 | 3.760874 | 0.043497 | 0.043667 | 0.061608 | 0.036559 | 0.851284 | 0.828209 | 0.815966 | 0.79103 | 0.779859 | 0.777659 | 0 | 0.046624 | 0.328103 | 34,986 | 733 | 266 | 47.729877 | 0.707406 | 0.109758 | 0 | 0.737896 | 0 | 0 | 0.062997 | 0.00525 | 0 | 0 | 0 | 0 | 0.001669 | 0 | null | null | 0.005008 | 0.010017 | null | null | 0.013356 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bc57d945cd9c84ea6df47161899bc5565a59a66d | 15,459 | py | Python | newsletter/tests/tests_post_date_detail_view.py | hbuyse/dj-newsletter | 2c032466e648b3c844bea6aae379a5346d9ce677 | [
"MIT"
] | null | null | null | newsletter/tests/tests_post_date_detail_view.py | hbuyse/dj-newsletter | 2c032466e648b3c844bea6aae379a5346d9ce677 | [
"MIT"
] | null | null | null | newsletter/tests/tests_post_date_detail_view.py | hbuyse/dj-newsletter | 2c032466e648b3c844bea6aae379a5346d9ce677 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# coding=utf-8
"""Tests the views."""
# Django
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Permission
from django.test import TestCase, tag
from django.urls import reverse
# Current django project
from newsletter.models import Post
from newsletter.test... | 48.158879 | 179 | 0.481791 | 1,444 | 15,459 | 5.086565 | 0.08241 | 0.078421 | 0.110279 | 0.046562 | 0.931246 | 0.927297 | 0.927297 | 0.9258 | 0.923349 | 0.910007 | 0 | 0.005116 | 0.39304 | 15,459 | 320 | 180 | 48.309375 | 0.777683 | 0.060547 | 0 | 0.875536 | 0 | 0 | 0.079956 | 0.031217 | 0 | 0 | 0 | 0 | 0.188841 | 1 | 0.081545 | false | 0.055794 | 0.025751 | 0 | 0.124464 | 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 |
bc5886039d1d9330c6d953dd47efd2cffcc61958 | 27,625 | py | Python | ce_api/api/users_api.py | maiot-io/cengine | 3a1946c449e8c5e1d216215df6eeab941eb1640a | [
"Apache-2.0"
] | 7 | 2020-10-13T12:47:32.000Z | 2021-03-12T12:00:14.000Z | ce_api/api/users_api.py | maiot-io/cengine | 3a1946c449e8c5e1d216215df6eeab941eb1640a | [
"Apache-2.0"
] | null | null | null | ce_api/api/users_api.py | maiot-io/cengine | 3a1946c449e8c5e1d216215df6eeab941eb1640a | [
"Apache-2.0"
] | 1 | 2021-01-23T02:19:42.000Z | 2021-01-23T02:19:42.000Z | # coding: utf-8
"""
maiot Core Engine API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 0.1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
... | 38.853727 | 383 | 0.613213 | 3,374 | 27,625 | 4.712211 | 0.056609 | 0.051324 | 0.038996 | 0.035222 | 0.967985 | 0.964715 | 0.960375 | 0.947418 | 0.937921 | 0.928423 | 0 | 0.020386 | 0.298606 | 27,625 | 710 | 384 | 38.908451 | 0.800165 | 0.323475 | 0 | 0.804233 | 1 | 0 | 0.179167 | 0.058212 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039683 | false | 0.015873 | 0.010582 | 0 | 0.108466 | 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 |
bc5db1e26bb6095ac885385847bdab05315b79e1 | 140 | py | Python | trixi/logger/visdom/__init__.py | comeonfox/trixi | e25545104a2e17b1673f4990df5183d610259208 | [
"MIT"
] | 1 | 2019-09-08T05:00:25.000Z | 2019-09-08T05:00:25.000Z | trixi/logger/visdom/__init__.py | comeonfox/trixi | e25545104a2e17b1673f4990df5183d610259208 | [
"MIT"
] | null | null | null | trixi/logger/visdom/__init__.py | comeonfox/trixi | e25545104a2e17b1673f4990df5183d610259208 | [
"MIT"
] | null | null | null | from trixi.logger.visdom.numpyvisdomlogger import NumpyVisdomLogger
from trixi.logger.visdom.pytorchvisdomlogger import PytorchVisdomLogger
| 46.666667 | 71 | 0.9 | 14 | 140 | 9 | 0.5 | 0.142857 | 0.238095 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 140 | 2 | 72 | 70 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bc6fb479f592a8787d01b34a78aa1a7bce402273 | 44 | py | Python | lib/potion/script.py | mattvonrocketstein/elixir-python | b619ecf8ca296de5f7a0d345396290906b9d2ee2 | [
"MIT"
] | 2 | 2016-12-26T14:41:34.000Z | 2019-11-18T02:04:16.000Z | lib/potion/version.py | mattvonrocketstein/elixir-python | b619ecf8ca296de5f7a0d345396290906b9d2ee2 | [
"MIT"
] | null | null | null | lib/potion/version.py | mattvonrocketstein/elixir-python | b619ecf8ca296de5f7a0d345396290906b9d2ee2 | [
"MIT"
] | 1 | 2019-11-18T02:04:19.000Z | 2019-11-18T02:04:19.000Z | def version():
return "Arthur is a boss" | 22 | 29 | 0.659091 | 7 | 44 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 44 | 2 | 29 | 22 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.355556 | 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 |
bcc4fc1ff67f1218ffe9a626be6f0bf93f07cc05 | 212 | py | Python | miping/application/predictionErrors.py | mclgoerg/MiningPersonalityInGerman | 4c5811a0f72100b7afef9695475a6de9251444b7 | [
"Apache-2.0"
] | 1 | 2020-09-11T01:11:19.000Z | 2020-09-11T01:11:19.000Z | miping/application/predictionErrors.py | mclgoerg/MiningPersonalityInGerman | 4c5811a0f72100b7afef9695475a6de9251444b7 | [
"Apache-2.0"
] | null | null | null | miping/application/predictionErrors.py | mclgoerg/MiningPersonalityInGerman | 4c5811a0f72100b7afef9695475a6de9251444b7 | [
"Apache-2.0"
] | 2 | 2020-08-12T15:57:06.000Z | 2020-12-17T18:11:03.000Z | class UserNameError(Exception):
"""Raised if user name is not valid"""
pass
class NotASuitableUserError(Exception):
"""Raised if user is not suitable (e.g. private or suspended)"""
pass
| 23.555556 | 69 | 0.665094 | 26 | 212 | 5.423077 | 0.692308 | 0.212766 | 0.241135 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231132 | 212 | 8 | 70 | 26.5 | 0.865031 | 0.429245 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
bcdf67f773fa0d5612a5e3c886a85e8ce2ea5cab | 14,303 | py | Python | vplexapi-7.0.0/vplexapi/api/clusters_api.py | dell/python-vplex | 02c5df5e7f9ed61a13a2838f21ca6467a25dd392 | [
"Apache-2.0"
] | 3 | 2020-12-01T11:22:13.000Z | 2021-02-16T17:38:42.000Z | vplexapi-7.0.0/vplexapi/api/clusters_api.py | dell/python-vplex | 02c5df5e7f9ed61a13a2838f21ca6467a25dd392 | [
"Apache-2.0"
] | null | null | null | vplexapi-7.0.0/vplexapi/api/clusters_api.py | dell/python-vplex | 02c5df5e7f9ed61a13a2838f21ca6467a25dd392 | [
"Apache-2.0"
] | 3 | 2021-01-01T21:07:55.000Z | 2021-02-20T07:07:40.000Z | # coding: utf-8
"""
VPlex REST API
A definition for the next-gen VPlex API # noqa: E501
OpenAPI spec version: 0.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library... | 42.823353 | 156 | 0.62798 | 1,720 | 14,303 | 5.005233 | 0.118023 | 0.043675 | 0.033105 | 0.02509 | 0.905912 | 0.888024 | 0.865722 | 0.842026 | 0.836566 | 0.81287 | 0 | 0.015503 | 0.282948 | 14,303 | 333 | 157 | 42.951952 | 0.823908 | 0.373069 | 0 | 0.689266 | 1 | 0.016949 | 0.222384 | 0.04535 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039548 | false | 0 | 0.022599 | 0 | 0.118644 | 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 |
4c37fa3753d5c940b99be9b2e32c378d8380515a | 18,390 | py | Python | molsysmt/forms/classes/attic/api_openexplorer_Explorer.py | uibcdf/MolSysMT | 9866a6fb090df9fff36af113a45164da4b674c09 | [
"MIT"
] | 3 | 2020-06-02T03:55:52.000Z | 2022-03-21T04:43:52.000Z | molsysmt/forms/classes/attic/api_openexplorer_Explorer.py | uibcdf/MolSysMT | 9866a6fb090df9fff36af113a45164da4b674c09 | [
"MIT"
] | 28 | 2020-06-24T00:55:53.000Z | 2021-07-16T22:09:19.000Z | molsysmt/forms/classes/attic/api_openexplorer_Explorer.py | uibcdf/MolSysMT | 9866a6fb090df9fff36af113a45164da4b674c09 | [
"MIT"
] | 1 | 2021-06-17T18:55:25.000Z | 2021-06-17T18:55:25.000Z | from os.path import basename as _basename
from molsysmt._private_tools.exceptions import *
import simtk.unit as unit
from molsysmt.forms.common_gets import *
import numpy as np
from openexplorer import Explorer as _openexplorer_Explorer
form_name=_basename(__file__).split('.')[0].replace('api_','').replace('_','.')
i... | 40.957684 | 130 | 0.792115 | 2,698 | 18,390 | 4.992216 | 0.050037 | 0.145222 | 0.141065 | 0.099636 | 0.85901 | 0.814908 | 0.807855 | 0.78818 | 0.784988 | 0.772143 | 0 | 0.000497 | 0.12398 | 18,390 | 448 | 131 | 41.049107 | 0.835568 | 0.010386 | 0 | 0.380282 | 0 | 0 | 0.025153 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.228873 | false | 0.003521 | 0.21831 | 0.021127 | 0.669014 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4c3dfe7fd17126f95633595847954f7d4bcd103d | 3,412 | py | Python | Trash/aut.py | Alpha-Demon404/RE-14 | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 39 | 2020-02-26T09:44:36.000Z | 2022-03-23T00:18:25.000Z | Trash/aut.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 15 | 2020-05-14T10:07:26.000Z | 2022-01-06T02:55:32.000Z | Trash/aut.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 41 | 2020-03-16T22:36:38.000Z | 2022-03-17T14:47:19.000Z | (lambda __print, __g, __contextlib, __y: (lambda __mod: [[[[(lambda __out: (lambda __ctx: [__ctx.__enter__(), __ctx.__exit__(None, None, None), __out[0](lambda: [[(os.system('clear'), (__print(logo), [[[(e.write(d), (e.close(), [(lambda __items, __after, __sentinel: __y(lambda __this: lambda: (lambda __i: [(__print(('\... | 1,706 | 3,411 | 0.62544 | 566 | 3,412 | 3.418728 | 0.263251 | 0.167442 | 0.251163 | 0.322481 | 0.3323 | 0.306977 | 0.306977 | 0.306977 | 0.306977 | 0.306977 | 0 | 0.11811 | 0.106682 | 3,412 | 1 | 3,412 | 3,412 | 0.516732 | 0 | 0 | 0 | 0 | 4 | 0.490621 | 0.195193 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 11 |
d5c43315f242476f0e2e04a43a48d0ddbdcc2de4 | 285 | py | Python | test.py | woobi4966/Git_GUI_Tutorial | 017821172852f4eaf8616ec1aac88711c79f5787 | [
"MIT"
] | null | null | null | test.py | woobi4966/Git_GUI_Tutorial | 017821172852f4eaf8616ec1aac88711c79f5787 | [
"MIT"
] | null | null | null | test.py | woobi4966/Git_GUI_Tutorial | 017821172852f4eaf8616ec1aac88711c79f5787 | [
"MIT"
] | null | null | null | a = 1
b = 2
print("WHO AM I?????????????? XD")
print("I am Hello Branch.")
print("What are you doing??????????????????????????????????????????????")
print("WHO AM I?????????????? XD")
print("I am Hello Branch.")
print("What are you doing??????????????????????????????????????????????") | 35.625 | 73 | 0.378947 | 34 | 285 | 3.176471 | 0.441176 | 0.148148 | 0.185185 | 0.203704 | 0.962963 | 0.962963 | 0.962963 | 0.962963 | 0.962963 | 0.962963 | 0 | 0.007813 | 0.101754 | 285 | 8 | 74 | 35.625 | 0.414063 | 0 | 0 | 0.75 | 0 | 0 | 0.748252 | 0.356643 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 13 |
d5cfbd30a15b20b74beb2ea92f0af65cf722fa33 | 191 | py | Python | workouts/integration_examples/__init__.py | kachiann/QMCSoftware | 0ed9da2f10b9ac0004c993c01392b4c86002954c | [
"Apache-2.0"
] | 1 | 2021-08-18T08:14:32.000Z | 2021-08-18T08:14:32.000Z | workouts/integration_examples/__init__.py | kachiann/QMCSoftware | 0ed9da2f10b9ac0004c993c01392b4c86002954c | [
"Apache-2.0"
] | null | null | null | workouts/integration_examples/__init__.py | kachiann/QMCSoftware | 0ed9da2f10b9ac0004c993c01392b4c86002954c | [
"Apache-2.0"
] | null | null | null | from .asian_option_multi_level import asian_option_multi_level
from .asian_option_single_level import asian_option_single_level
from .keister import keister
from .pi_problem import pi_problem | 47.75 | 64 | 0.900524 | 30 | 191 | 5.266667 | 0.333333 | 0.278481 | 0.189873 | 0.265823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078534 | 191 | 4 | 65 | 47.75 | 0.897727 | 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 |
d5de668f91281484ff915ba387669588d119174c | 573 | py | Python | src/test/reverse_continue_fork_subprocess.py | jalapenopuzzle/rr | 6f8b3c73868d9fd3e6ac14a1322b92dbe9958807 | [
"BSD-1-Clause"
] | 5,156 | 2015-01-01T06:10:28.000Z | 2020-11-13T15:12:34.000Z | src/test/reverse_continue_fork_subprocess.py | jalapenopuzzle/rr | 6f8b3c73868d9fd3e6ac14a1322b92dbe9958807 | [
"BSD-1-Clause"
] | 1,214 | 2015-01-02T02:32:13.000Z | 2020-11-09T04:36:26.000Z | src/test/reverse_continue_fork_subprocess.py | jalapenopuzzle/rr | 6f8b3c73868d9fd3e6ac14a1322b92dbe9958807 | [
"BSD-1-Clause"
] | 402 | 2015-01-13T22:54:32.000Z | 2020-11-05T15:02:25.000Z | from util import *
import re
send_gdb('reverse-cont')
expect_gdb('stopped')
send_gdb('reverse-cont')
expect_gdb('stopped')
send_gdb('reverse-stepi')
expect_gdb('stopped')
send_gdb('reverse-cont')
expect_gdb('stopped')
send_gdb('stepi')
send_gdb('reverse-cont')
expect_gdb('stopped')
send_gdb('reverse-cont')
expect_gdb... | 18.483871 | 25 | 0.755672 | 86 | 573 | 4.767442 | 0.139535 | 0.221951 | 0.37561 | 0.439024 | 0.941463 | 0.929268 | 0.929268 | 0.929268 | 0.929268 | 0.929268 | 0 | 0 | 0.059337 | 573 | 30 | 26 | 19.1 | 0.760668 | 0 | 0 | 0.884615 | 0 | 0 | 0.376963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.076923 | 0 | 0.076923 | 0 | 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 | 0 | 0 | 11 |
d5e179ffc4416e3cd1d79b222936957cbc8a8550 | 122 | py | Python | espaloma/graphs/__init__.py | jstaker7/espaloma | d80d280acd608dc04c93966afe15cc3cb74f65a8 | [
"MIT"
] | null | null | null | espaloma/graphs/__init__.py | jstaker7/espaloma | d80d280acd608dc04c93966afe15cc3cb74f65a8 | [
"MIT"
] | null | null | null | espaloma/graphs/__init__.py | jstaker7/espaloma | d80d280acd608dc04c93966afe15cc3cb74f65a8 | [
"MIT"
] | null | null | null | import espaloma.graphs
import espaloma.graphs.utils
from . import deploy
from espaloma.graphs.legacy_force_field import *
| 24.4 | 48 | 0.844262 | 17 | 122 | 5.941176 | 0.529412 | 0.415842 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 122 | 4 | 49 | 30.5 | 0.918182 | 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 |
d5f454ad2b68383aa020fda33a2a34d15d228059 | 15,783 | py | Python | coremltools/converters/mil/mil/ops/tests/test_conv.py | tonybove-apple/coremltools | 22a8877beec7bad136ba5612d5aacd8e323ecdfc | [
"BSD-3-Clause"
] | 2,740 | 2017-10-03T23:19:01.000Z | 2022-03-30T15:16:39.000Z | coremltools/converters/mil/mil/ops/tests/test_conv.py | tonybove-apple/coremltools | 22a8877beec7bad136ba5612d5aacd8e323ecdfc | [
"BSD-3-Clause"
] | 1,057 | 2017-10-05T22:47:01.000Z | 2022-03-31T23:51:15.000Z | coremltools/converters/mil/mil/ops/tests/test_conv.py | tonybove-apple/coremltools | 22a8877beec7bad136ba5612d5aacd8e323ecdfc | [
"BSD-3-Clause"
] | 510 | 2017-10-04T19:22:28.000Z | 2022-03-31T12:16:52.000Z | # Copyright (c) 2020, Apple Inc. All rights reserved.
#
# Use of this source code is governed by a BSD-3-clause license that can be
# found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
from coremltools.converters.mil import testing_reqs
from coremltools.converters.mil.mil import get_ne... | 30.235632 | 120 | 0.470253 | 1,608 | 15,783 | 4.449627 | 0.129975 | 0.006429 | 0.022362 | 0.010762 | 0.801537 | 0.789937 | 0.781132 | 0.765339 | 0.752201 | 0.737806 | 0 | 0.030759 | 0.419122 | 15,783 | 521 | 121 | 30.293666 | 0.749673 | 0.074257 | 0 | 0.814645 | 0 | 0 | 0.055245 | 0.001724 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018307 | false | 0 | 0.022883 | 0 | 0.057208 | 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 |
d5fc5cb9970165479b03da5367fae7ed09459668 | 9,262 | py | Python | eva_storage/baselines/indexing/external/ssd/vision/ssd/predictor.py | jaehobang/Eva | e7f649990b8bca3bc29b3832c0ecf32efb402647 | [
"Apache-2.0"
] | null | null | null | eva_storage/baselines/indexing/external/ssd/vision/ssd/predictor.py | jaehobang/Eva | e7f649990b8bca3bc29b3832c0ecf32efb402647 | [
"Apache-2.0"
] | null | null | null | eva_storage/baselines/indexing/external/ssd/vision/ssd/predictor.py | jaehobang/Eva | e7f649990b8bca3bc29b3832c0ecf32efb402647 | [
"Apache-2.0"
] | null | null | null | import torch
from ..utils import box_utils
from .data_preprocessing import PredictionTransform
from ..utils.misc import Timer
class Predictor:
def __init__(self, net, size, mean=0.0, std=1.0, nms_method=None,
iou_threshold=0.45, filter_threshold=0.01, candidate_size=200, sigma=0.5, device=None):... | 41.909502 | 128 | 0.575794 | 1,138 | 9,262 | 4.47891 | 0.143234 | 0.095743 | 0.101628 | 0.023543 | 0.808711 | 0.80616 | 0.80616 | 0.800275 | 0.782029 | 0.782029 | 0 | 0.013718 | 0.323148 | 9,262 | 220 | 129 | 42.1 | 0.79933 | 0.173937 | 0 | 0.770833 | 0 | 0 | 0.013973 | 0 | 0 | 0 | 0 | 0.009091 | 0 | 1 | 0.027778 | false | 0 | 0.027778 | 0 | 0.104167 | 0.041667 | 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 |
e69944971faa534116829ae068eec2d122ff2722 | 92,018 | py | Python | arb_carbon/equations/volume.py | Ecotrust/ARBcarbon | 110f0d009fa6bb57d3667ebe6d414adbed2e87ab | [
"BSD-3-Clause"
] | 5 | 2020-02-28T12:58:26.000Z | 2021-09-15T06:15:34.000Z | arb_carbon/equations/volume.py | Ecotrust/ARBcarbon | 110f0d009fa6bb57d3667ebe6d414adbed2e87ab | [
"BSD-3-Clause"
] | 24 | 2016-05-13T17:55:22.000Z | 2021-11-09T15:18:56.000Z | arb_carbon/equations/volume.py | Ecotrust/ARBcarbon | 110f0d009fa6bb57d3667ebe6d414adbed2e87ab | [
"BSD-3-Clause"
] | 4 | 2016-09-08T21:10:15.000Z | 2020-02-28T12:58:30.000Z | """Allometric equations required by the California Air Resources Board (ARB) to
calculate tree volumes for forest carbon projects located in California,
Oregon, or Washington
These equations were described in a PDF on the ARB website:
http://www.arb.ca.gov/cc/capandtrade/protocols/usforest/usforestprojects_2015.htm
Th... | 32.084379 | 90 | 0.521854 | 13,340 | 92,018 | 3.536657 | 0.058246 | 0.040272 | 0.041777 | 0.020772 | 0.839547 | 0.830603 | 0.816126 | 0.811717 | 0.804468 | 0.795969 | 0 | 0.181141 | 0.328425 | 92,018 | 2,867 | 91 | 32.09557 | 0.58231 | 0.190452 | 0 | 0.852518 | 0 | 0 | 0.01153 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.134293 | false | 0 | 0.0006 | 0.001199 | 0.299161 | 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 |
e6adf1b5dbbfe8da8c91a1c0ecd652d71da9d81c | 14,956 | py | Python | dist_train/workers/base.py | salesforce/sibling-rivalry | 19521aa4c8f044d0a53ead95cc528f8a573c82b4 | [
"MIT"
] | 10 | 2020-02-05T00:30:09.000Z | 2022-01-25T12:25:53.000Z | dist_train/workers/base.py | salesforce/sibling-rivalry | 19521aa4c8f044d0a53ead95cc528f8a573c82b4 | [
"MIT"
] | 1 | 2020-10-13T12:22:07.000Z | 2020-10-13T12:22:07.000Z | dist_train/workers/base.py | salesforce/sibling-rivalry | 19521aa4c8f044d0a53ead95cc528f8a573c82b4 | [
"MIT"
] | 4 | 2020-01-16T08:18:48.000Z | 2021-08-31T12:46:16.000Z | # Copyright (c) 2019, salesforce.com, inc.
# All rights reserved.
# SPDX-License-Identifier: MIT
# For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
import os
import json
import torch
import numpy as np
import torch.distributed as dist
from dist_train.utils.shared_opti... | 35.694511 | 121 | 0.605911 | 1,967 | 14,956 | 4.379766 | 0.127097 | 0.037609 | 0.058503 | 0.026001 | 0.820662 | 0.806268 | 0.778062 | 0.774231 | 0.76599 | 0.759257 | 0 | 0.008831 | 0.273135 | 14,956 | 418 | 122 | 35.779904 | 0.783645 | 0.118213 | 0 | 0.829181 | 0 | 0 | 0.070217 | 0.001902 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085409 | false | 0 | 0.02847 | 0.007117 | 0.156584 | 0.021352 | 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 |
e6bafe2801582bf6ae74dee6ffc0a9dacdb970b7 | 105 | py | Python | pre_commit.py | ralvescosta/iot_mqtt_amqp | d54131f04af2c21e4c8a638b10362902e22547aa | [
"MIT"
] | 4 | 2021-06-25T11:14:42.000Z | 2021-12-20T22:02:13.000Z | pre_commit.py | ralvescosta/iot_mqtt_amqp | d54131f04af2c21e4c8a638b10362902e22547aa | [
"MIT"
] | null | null | null | pre_commit.py | ralvescosta/iot_mqtt_amqp | d54131f04af2c21e4c8a638b10362902e22547aa | [
"MIT"
] | null | null | null | import os
os.system('cd ./mqtt_bridge && yarn test:cov')
os.system('cd ./iot_consumer && yarn test:cov') | 26.25 | 47 | 0.695238 | 18 | 105 | 3.944444 | 0.611111 | 0.225352 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 105 | 4 | 47 | 26.25 | 0.763441 | 0 | 0 | 0 | 0 | 0 | 0.632075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
fc1ba8226cd0ce8b2d99429a5cff94259b076cda | 3,925 | py | Python | translatorfren/api.py | chritter/translatorfren | c87a981f4703fa75db7436ee77a9915d9a6f64fb | [
"Apache-2.0"
] | null | null | null | translatorfren/api.py | chritter/translatorfren | c87a981f4703fa75db7436ee77a9915d9a6f64fb | [
"Apache-2.0"
] | null | null | null | translatorfren/api.py | chritter/translatorfren | c87a981f4703fa75db7436ee77a9915d9a6f64fb | [
"Apache-2.0"
] | null | null | null | # Implementation of the FastAPI
# Notes:
# * Could extend with upload capability: https://fastapi.tiangolo.com/tutorial/request-files/
#
from fastapi import FastAPI, Query
import subprocess
app = FastAPI()
@app.get("/fr_to_eng/")
async def endpoint_fr_to_eng(
text: str = Query(
..., # requires... | 33.262712 | 112 | 0.602038 | 466 | 3,925 | 4.916309 | 0.236052 | 0.031427 | 0.027935 | 0.031427 | 0.806635 | 0.780445 | 0.780445 | 0.765605 | 0.731558 | 0.69402 | 0 | 0.010921 | 0.300127 | 3,925 | 118 | 113 | 33.262712 | 0.82308 | 0.178854 | 0 | 0.722892 | 0 | 0 | 0.294304 | 0.060759 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024096 | false | 0 | 0.024096 | 0 | 0.096386 | 0.120482 | 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 |
fc45aaafdb5b23b4c7117766275ffa6fe079b9a7 | 111 | py | Python | application/urls.py | andymitrich/pygask | 4d20ebe0cc25c0d4da1c94fe0f4bd78e5439f96f | [
"MIT"
] | 3 | 2015-01-13T09:40:34.000Z | 2016-12-30T21:03:45.000Z | application/urls.py | andymitrich/pygask | 4d20ebe0cc25c0d4da1c94fe0f4bd78e5439f96f | [
"MIT"
] | null | null | null | application/urls.py | andymitrich/pygask | 4d20ebe0cc25c0d4da1c94fe0f4bd78e5439f96f | [
"MIT"
] | 1 | 2020-06-15T10:05:26.000Z | 2020-06-15T10:05:26.000Z | from application import app
from application import views
app.add_url_rule('/', 'home', view_func=views.home) | 22.2 | 51 | 0.783784 | 17 | 111 | 4.941176 | 0.647059 | 0.357143 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 111 | 5 | 51 | 22.2 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.044643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5d8ade6fe583c91261833f7507ca48e7a602f114 | 339 | py | Python | sdk/ml/azure-ai-ml/azure/ai/ml/_logging/__init__.py | dubiety/azure-sdk-for-python | 62ffa839f5d753594cf0fe63668f454a9d87a346 | [
"MIT"
] | 1 | 2022-02-01T18:50:12.000Z | 2022-02-01T18:50:12.000Z | sdk/ml/azure-ai-ml/azure/ai/ml/_logging/__init__.py | ellhe-blaster/azure-sdk-for-python | 82193ba5e81cc5e5e5a5239bba58abe62e86f469 | [
"MIT"
] | null | null | null | sdk/ml/azure-ai-ml/azure/ai/ml/_logging/__init__.py | ellhe-blaster/azure-sdk-for-python | 82193ba5e81cc5e5e5a5239bba58abe62e86f469 | [
"MIT"
] | null | null | null | # ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from .chained_identity import ChainedIdentity, START_MSG, STOP_MSG
from . import debug_mode
__all__ = ["debug_mode", "ChainedIdentity", ST... | 37.666667 | 66 | 0.513274 | 28 | 339 | 5.821429 | 0.607143 | 0.245399 | 0.282209 | 0.331288 | 0.368098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088496 | 339 | 8 | 67 | 42.375 | 0.527508 | 0.510324 | 0 | 0 | 0 | 0 | 0.154321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
5d1833204238250da6583773024fe9eb4431867c | 64 | py | Python | rank.py | Wanghy93/PlayerScoreRank | 7460ffab05ac9276035a2b5283e77636787ca508 | [
"MIT"
] | null | null | null | rank.py | Wanghy93/PlayerScoreRank | 7460ffab05ac9276035a2b5283e77636787ca508 | [
"MIT"
] | null | null | null | rank.py | Wanghy93/PlayerScoreRank | 7460ffab05ac9276035a2b5283e77636787ca508 | [
"MIT"
] | null | null | null | """客户端查询排行榜"""
from upload import uploading
def rank():
pass | 16 | 28 | 0.6875 | 8 | 64 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 4 | 29 | 16 | 0.830189 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
5d23427f9047d48855a9482af26a96afb3b1aaa2 | 4,062 | py | Python | src/Blocks.py | UM-ARM-Lab/BRDPN | 777ba3099bffefab1bcb1b20a537df4736fc215c | [
"MIT"
] | null | null | null | src/Blocks.py | UM-ARM-Lab/BRDPN | 777ba3099bffefab1bcb1b20a537df4736fc215c | [
"MIT"
] | null | null | null | src/Blocks.py | UM-ARM-Lab/BRDPN | 777ba3099bffefab1bcb1b20a537df4736fc215c | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.keras import regularizers
from tensorflow.keras.layers import Input, Dense
from tensorflow.keras.layers import Layer
from tensorflow.keras.models import Model
regul = 0.001
class RelationalModel(Layer):
def __init__(self, input_size, n_of_features, filters, rm=None, reuse_... | 35.321739 | 97 | 0.606352 | 487 | 4,062 | 4.827515 | 0.145791 | 0.076563 | 0.074862 | 0.127605 | 0.835815 | 0.79966 | 0.741812 | 0.741812 | 0.741812 | 0.707784 | 0 | 0.01026 | 0.280158 | 4,062 | 114 | 98 | 35.631579 | 0.793776 | 0.021172 | 0 | 0.711111 | 0 | 0 | 0.020141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.055556 | 0.022222 | 0.3 | 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 |
5d4882c4f2d9046def31d2ac3280168ebe2b0c1e | 34,202 | py | Python | zstacklib/zstacklib/utils/iptables.py | qianfei11/zstack-utility | e791bc6b6ae3a74e202f6fce84bde498c715aee8 | [
"Apache-2.0"
] | 55 | 2017-02-10T07:55:21.000Z | 2021-09-01T00:59:36.000Z | zstacklib/zstacklib/utils/iptables.py | qianfei11/zstack-utility | e791bc6b6ae3a74e202f6fce84bde498c715aee8 | [
"Apache-2.0"
] | 106 | 2017-02-13T09:58:27.000Z | 2022-02-15T09:51:48.000Z | zstacklib/zstacklib/utils/iptables.py | qianfei11/zstack-utility | e791bc6b6ae3a74e202f6fce84bde498c715aee8 | [
"Apache-2.0"
] | 68 | 2017-02-13T11:02:01.000Z | 2021-12-16T11:02:01.000Z | '''
@author: frank
'''
import os
from zstacklib.utils import shell
from zstacklib.utils import linux
from zstacklib.utils import log
from zstacklib.utils import ordered_set
from zstacklib.utils.bash import *
from pyparsing import *
logger = log.get_logger(__name__)
_iptablesUseLock = None
_ip6tablesUseLock = None
d... | 32.174976 | 130 | 0.592685 | 4,180 | 34,202 | 4.527512 | 0.061244 | 0.043752 | 0.01786 | 0.010357 | 0.877834 | 0.84745 | 0.842483 | 0.829379 | 0.818705 | 0.812999 | 0 | 0.004721 | 0.318753 | 34,202 | 1,062 | 131 | 32.205273 | 0.807511 | 0.01266 | 0 | 0.827131 | 0 | 0.0012 | 0.045264 | 0 | 0 | 0 | 0 | 0.000942 | 0.002401 | 0 | null | null | 0 | 0.008403 | null | null | 0.006002 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
53b99c173389482215dec30623f5cdd31678c479 | 12,731 | py | Python | offsb/dev/plot_td.py | MobleyLab/openff-spellbook | 66a9f2add895034da7949701069b11cf0ab3f817 | [
"MIT"
] | 3 | 2019-09-20T13:53:53.000Z | 2021-01-25T20:42:12.000Z | offsb/dev/plot_td.py | MobleyLab/openff-spellbook | 66a9f2add895034da7949701069b11cf0ab3f817 | [
"MIT"
] | 2 | 2019-10-12T07:12:27.000Z | 2020-05-22T10:22:17.000Z | offsb/dev/plot_td.py | MobleyLab/openff-spellbook | 66a9f2add895034da7949701069b11cf0ab3f817 | [
"MIT"
] | 3 | 2019-10-12T00:31:03.000Z | 2020-01-30T21:36:10.000Z | import pickle
with open('test.oFF-1.1.0.p', 'rb') as fid:
oFF10 = pickle.load(fid)
import interfoot.tools.node as Node
import interfoot.tools.const as const
with open('QCA.p', 'rb') as fid:
QCA = pickle.load(fid)
for entry in QCA.node_iter_entry(QCA.root):
for node in Node.node_iter_depth_first( QCA.root, s... | 37.66568 | 107 | 0.52706 | 1,771 | 12,731 | 3.700734 | 0.069452 | 0.05859 | 0.048825 | 0.068355 | 0.871224 | 0.864663 | 0.861459 | 0.856271 | 0.852762 | 0.852762 | 0 | 0.018861 | 0.312858 | 12,731 | 337 | 108 | 37.777448 | 0.730338 | 0.062289 | 0 | 0.801498 | 0 | 0 | 0.047235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.018727 | null | null | 0.157303 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
53bc96fbc8536ae686a46cf3a165bd716fbed42e | 125 | py | Python | src/radixlib/api_types/__init__.py | 0xOmarA/RadixLib | 85d75a47d4c4df4c1a319b74857ae2c513933623 | [
"MIT"
] | 32 | 2022-01-12T16:52:28.000Z | 2022-03-24T18:05:47.000Z | src/radixlib/api_types/__init__.py | 0xOmarA/RadixLib | 85d75a47d4c4df4c1a319b74857ae2c513933623 | [
"MIT"
] | 3 | 2022-01-12T17:01:55.000Z | 2022-02-12T15:14:16.000Z | src/radixlib/api_types/__init__.py | 0xOmarA/RadixLib | 85d75a47d4c4df4c1a319b74857ae2c513933623 | [
"MIT"
] | 1 | 2022-01-21T04:28:07.000Z | 2022-01-21T04:28:07.000Z | # type: ignore
from radixlib.api_types.token_amount import TokenAmount
import radixlib.api_types.identifiers as identifiers | 25 | 55 | 0.856 | 17 | 125 | 6.117647 | 0.705882 | 0.211538 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 125 | 5 | 56 | 25 | 0.920354 | 0.096 | 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 |
53ce7b5e3fc4f2e0999966f8d7cc42c1dd12dd59 | 1,650 | py | Python | python/pyxir/contrib/target/DPUCZDX8G_external_quantizer.py | settle/pyxir | d2966ba596d2bde850bedf640cb9553173d55082 | [
"Apache-2.0"
] | null | null | null | python/pyxir/contrib/target/DPUCZDX8G_external_quantizer.py | settle/pyxir | d2966ba596d2bde850bedf640cb9553173d55082 | [
"Apache-2.0"
] | null | null | null | python/pyxir/contrib/target/DPUCZDX8G_external_quantizer.py | settle/pyxir | d2966ba596d2bde850bedf640cb9553173d55082 | [
"Apache-2.0"
] | null | null | null | import pyxir
from .components.DPUCZDX8G.common import xgraph_dpu_external_quantizer
from .components.DPUCZDX8G.common import xgraph_dpu_external_quantizer_optimizer
from .components.DPUCZDX8G.ultra96 import xgraph_dpu_ultra96_build_func
from .components.DPUCZDX8G.ultra96 import xgraph_dpu_ultra96_compiler
from .compon... | 40.243902 | 80 | 0.746061 | 183 | 1,650 | 6.295082 | 0.114754 | 0.15625 | 0.219618 | 0.180556 | 0.891493 | 0.820313 | 0.783854 | 0.783854 | 0.431424 | 0.182292 | 0 | 0.060139 | 0.213939 | 1,650 | 41 | 81 | 40.243902 | 0.828065 | 0.064848 | 0 | 0.222222 | 0 | 0 | 0.03188 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.444444 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
53e392a38c9ebdc43e55327e24470af216a7fb87 | 1,972 | py | Python | tests/data/test_drive_files.py | brentyi/hfdsajk | 2888aa5d969824ac1e1a528264674ece3f4703f9 | [
"MIT"
] | 5 | 2020-03-13T21:34:31.000Z | 2020-10-27T15:18:17.000Z | tests/data/test_drive_files.py | brentyi/hfdsajk | 2888aa5d969824ac1e1a528264674ece3f4703f9 | [
"MIT"
] | 2 | 2020-06-17T11:06:56.000Z | 2020-10-25T03:06:18.000Z | tests/data/test_drive_files.py | brentyi/hfdsajk | 2888aa5d969824ac1e1a528264674ece3f4703f9 | [
"MIT"
] | 4 | 2020-03-15T01:55:18.000Z | 2022-01-21T22:06:48.000Z | import os
import shutil
import time
import fannypack
def test_cached_drive_file():
# Move the cache to a temporary directory
fannypack.data.set_cache_path("tmp")
# Load file for the first time
start_time = time.time()
path0 = fannypack.data.cached_drive_file(
"secret_key.pem",
"... | 25.947368 | 81 | 0.670892 | 255 | 1,972 | 5.058824 | 0.235294 | 0.074419 | 0.069767 | 0.052713 | 0.95814 | 0.924031 | 0.924031 | 0.924031 | 0.924031 | 0.924031 | 0 | 0.02889 | 0.227688 | 1,972 | 75 | 82 | 26.293333 | 0.818122 | 0.171907 | 0 | 0.782609 | 0 | 0 | 0.228395 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.043478 | false | 0 | 0.086957 | 0 | 0.130435 | 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 |
990919d5653a8da8acfbabce061365b0fd7ad0a4 | 45,111 | py | Python | src/pythonModules/fourgp_fourfs/fourgp_fourfs/config_files.py | dcf21/4most-4gp | 0421d76791315aa3ca8ff9e4bd2e37ad36c0141f | [
"MIT"
] | null | null | null | src/pythonModules/fourgp_fourfs/fourgp_fourfs/config_files.py | dcf21/4most-4gp | 0421d76791315aa3ca8ff9e4bd2e37ad36c0141f | [
"MIT"
] | null | null | null | src/pythonModules/fourgp_fourfs/fourgp_fourfs/config_files.py | dcf21/4most-4gp | 0421d76791315aa3ca8ff9e4bd2e37ad36c0141f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
This python package provides a wrapper for functions provided by the 4MOST Facility Simulator, 4FS.
This file contains the standard input configuration parameters for the Exposure Time Calculator (ETC).
"""
ETC_input_params_HRS = """
# example parameter file for 4FS_ETC
SIM.CODE_NAME ... | 99.145055 | 251 | 0.481479 | 4,646 | 45,111 | 4.533147 | 0.148515 | 0.004843 | 0.024595 | 0.035136 | 0.760315 | 0.734058 | 0.719719 | 0.712834 | 0.704383 | 0.682826 | 0 | 0.05304 | 0.359713 | 45,111 | 454 | 252 | 99.363436 | 0.676118 | 0.00501 | 0 | 0.564356 | 0 | 0.292079 | 0.993404 | 0.254808 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002475 | false | 0.049505 | 0 | 0 | 0.004951 | 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 |
54d9e8857e49292757e102083b66301040ceb901 | 222 | py | Python | Solutions/Training/Lesson_05/__init__.py | dev-11/codility-solutions | 01b0ce4a43b1390fe15f2daabea95e90b834fbfc | [
"MIT"
] | null | null | null | Solutions/Training/Lesson_05/__init__.py | dev-11/codility-solutions | 01b0ce4a43b1390fe15f2daabea95e90b834fbfc | [
"MIT"
] | null | null | null | Solutions/Training/Lesson_05/__init__.py | dev-11/codility-solutions | 01b0ce4a43b1390fe15f2daabea95e90b834fbfc | [
"MIT"
] | null | null | null | from .passing_cars import solution as passing_cars
from .genomic_range_query import solution as genomic_range_query
from .min_avg_two_slice import solution as min_avg_two_slice
from .count_div import solution as count_div
| 44.4 | 64 | 0.873874 | 38 | 222 | 4.736842 | 0.394737 | 0.311111 | 0.355556 | 0.155556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 222 | 4 | 65 | 55.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
0708218b75540ef6b5f23ed70c9d04104a35ae84 | 31,231 | py | Python | sdk/python/pulumi_azure/containerservice/registry_webook.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/containerservice/registry_webook.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/containerservice/registry_webook.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... | 49.260252 | 277 | 0.659217 | 3,774 | 31,231 | 5.302597 | 0.062003 | 0.090696 | 0.089546 | 0.059364 | 0.912003 | 0.901209 | 0.881921 | 0.865831 | 0.859384 | 0.846642 | 0 | 0.00298 | 0.237168 | 31,231 | 633 | 278 | 49.338073 | 0.837013 | 0.4013 | 0 | 0.765537 | 1 | 0 | 0.101713 | 0.01736 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161017 | false | 0.002825 | 0.014124 | 0.008475 | 0.271186 | 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 |
070ebaf0dba4f1cd8323d0bcfb7566d05c02e06e | 46,059 | py | Python | networkx/readwrite/tests/test_graphml.py | FrancescoBonacina/networkx | a73a610e0bbd6e13b183b15ca47b221df5f8e26a | [
"BSD-3-Clause"
] | 10 | 2020-04-29T10:38:03.000Z | 2022-03-16T03:30:28.000Z | networkx/readwrite/tests/test_graphml.py | FrancescoBonacina/networkx | a73a610e0bbd6e13b183b15ca47b221df5f8e26a | [
"BSD-3-Clause"
] | null | null | null | networkx/readwrite/tests/test_graphml.py | FrancescoBonacina/networkx | a73a610e0bbd6e13b183b15ca47b221df5f8e26a | [
"BSD-3-Clause"
] | 2 | 2020-04-08T07:50:23.000Z | 2020-04-08T11:59:03.000Z | import pytest
import networkx as nx
from networkx.testing.utils import assert_edges_equal, assert_nodes_equal
import io
import tempfile
import os
from networkx.testing import almost_equal
class BaseGraphML:
@classmethod
def setup_class(cls):
cls.simple_directed_data = """<?xml version="1.0" encoding="... | 44.93561 | 511 | 0.573786 | 5,933 | 46,059 | 4.397438 | 0.074499 | 0.007206 | 0.033499 | 0.037869 | 0.829935 | 0.787198 | 0.760598 | 0.738597 | 0.710387 | 0.701878 | 0 | 0.063951 | 0.240539 | 46,059 | 1,024 | 512 | 44.979492 | 0.681904 | 0.016587 | 0 | 0.65902 | 0 | 0.09072 | 0.688437 | 0.102402 | 0 | 0 | 0 | 0 | 0.072993 | 1 | 0.029197 | false | 0 | 0.016684 | 0 | 0.052138 | 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 |
071c9ce411db97ba66f7bfd7016e28e2df018f52 | 10,020 | py | Python | fixture/contact.py | eugene1smith/homeworks | 47edd36feddf4965b6a9c3d665406ebdf928af85 | [
"Apache-2.0"
] | null | null | null | fixture/contact.py | eugene1smith/homeworks | 47edd36feddf4965b6a9c3d665406ebdf928af85 | [
"Apache-2.0"
] | null | null | null | fixture/contact.py | eugene1smith/homeworks | 47edd36feddf4965b6a9c3d665406ebdf928af85 | [
"Apache-2.0"
] | null | null | null | __author__ = 'Eugene'
class ContactHelper:
def __init__(self, app):
self.contact = app
def init_contact_creation(self):
wd = self.contact.wd
wd.find_element_by_link_text("add new").click()
def submit_contact_creation(self):
wd = self.contact.wd
wd.find_element_by... | 47.264151 | 104 | 0.656188 | 1,393 | 10,020 | 4.363963 | 0.06748 | 0.136207 | 0.292976 | 0.338049 | 0.94555 | 0.942425 | 0.942425 | 0.922191 | 0.922027 | 0.915447 | 0 | 0.007622 | 0.188224 | 10,020 | 211 | 105 | 47.488152 | 0.739734 | 0.044212 | 0 | 0.840764 | 0 | 0 | 0.167349 | 0.089812 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044586 | false | 0 | 0 | 0 | 0.057325 | 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 |
074540a77cf6f10a3cd67820a62c839acbcb4b85 | 43,076 | py | Python | test/x86_64/encoding/test_fma.py | lemire/PeachPy | 650a4d866bd67d007371effdc7c096788f0acf20 | [
"BSD-2-Clause"
] | 1 | 2016-01-13T20:41:42.000Z | 2016-01-13T20:41:42.000Z | test/x86_64/encoding/test_fma.py | lemire/PeachPy | 650a4d866bd67d007371effdc7c096788f0acf20 | [
"BSD-2-Clause"
] | null | null | null | test/x86_64/encoding/test_fma.py | lemire/PeachPy | 650a4d866bd67d007371effdc7c096788f0acf20 | [
"BSD-2-Clause"
] | 1 | 2019-04-20T12:55:12.000Z | 2019-04-20T12:55:12.000Z | # This file is auto-generated by /codegen/x86_64_test_encoding.py
# Reference opcodes are generated by:
# GNU assembler (GNU Binutils) 2.25
from peachpy.x86_64 import *
import unittest
class TestVFMADD132SS(unittest.TestCase):
def runTest(self):
self.assertEqual(bytearray([0xC4, 0xE2, 0x09, 0x99, 0xC... | 69.815235 | 151 | 0.676177 | 5,486 | 43,076 | 5.308604 | 0.05268 | 0.148336 | 0.237338 | 0.276895 | 0.744394 | 0.715551 | 0.715551 | 0.710057 | 0.706761 | 0.636816 | 0 | 0.180983 | 0.153032 | 43,076 | 616 | 152 | 69.928571 | 0.617257 | 0.00318 | 0 | 0.177778 | 1 | 0 | 0 | 0 | 0 | 0 | 0.172921 | 0 | 0.64 | 1 | 0.177778 | false | 0 | 0.004444 | 0 | 0.36 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 | 9 |
07538a965081fa838931906c32fee0d13330f84e | 30,246 | py | Python | main.py | aikloy/search | e60e335885dea526a9d6b4b1833e68ca381c9b02 | [
"Apache-2.0"
] | null | null | null | main.py | aikloy/search | e60e335885dea526a9d6b4b1833e68ca381c9b02 | [
"Apache-2.0"
] | null | null | null | main.py | aikloy/search | e60e335885dea526a9d6b4b1833e68ca381c9b02 | [
"Apache-2.0"
] | null | null | null | import os
import argparse
from flask import Flask, request, make_response
from flask_restplus import Resource, Api, fields
from apscheduler.schedulers.background import BackgroundScheduler
from Class.enum_class import Result
from Function.InnerFunction.get_request_function import get_request
from Variable.request_vari... | 43.146933 | 294 | 0.54913 | 2,898 | 30,246 | 5.438578 | 0.063147 | 0.119789 | 0.157224 | 0.166614 | 0.820697 | 0.785356 | 0.747986 | 0.724383 | 0.711122 | 0.706935 | 0 | 0.001332 | 0.329696 | 30,246 | 700 | 295 | 43.208571 | 0.776068 | 0.004893 | 0 | 0.817875 | 0 | 0 | 0.047542 | 0.018005 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030354 | false | 0 | 0.015177 | 0 | 0.337268 | 0 | 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 |
4acb1289302599ce05cf5e14e0733f92fdae60e9 | 144 | py | Python | cs251tk/student/markdownify/find_warnings.py | renovate-tests/cs251-toolkit | fc1dbc85e04083116a985ab1bd5314a60125f038 | [
"MIT"
] | null | null | null | cs251tk/student/markdownify/find_warnings.py | renovate-tests/cs251-toolkit | fc1dbc85e04083116a985ab1bd5314a60125f038 | [
"MIT"
] | null | null | null | cs251tk/student/markdownify/find_warnings.py | renovate-tests/cs251-toolkit | fc1dbc85e04083116a985ab1bd5314a60125f038 | [
"MIT"
] | null | null | null | from .warning_unmerged_branches import find_unmerged_branches
def find_warnings():
return {'unmerged branches': find_unmerged_branches()}
| 24 | 61 | 0.8125 | 17 | 144 | 6.470588 | 0.529412 | 0.581818 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 144 | 5 | 62 | 28.8 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.118056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 9 |
ab36bd49b1ffe3dad432a9b6b421c49b8c8df716 | 826 | py | Python | tests/test_provider_gavinbunney_restapi.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | tests/test_provider_gavinbunney_restapi.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | tests/test_provider_gavinbunney_restapi.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # tests/test_provider_gavinbunney_restapi.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:25:44 UTC)
def test_provider_import():
import terrascript.provider.gavinbunney.restapi
def test_resource_import():
from terrascript.resource.gavinbunney.restapi import restapi_object
def test_dataso... | 28.482759 | 80 | 0.762712 | 107 | 826 | 5.757009 | 0.542056 | 0.175325 | 0.168831 | 0.180195 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022695 | 0.146489 | 826 | 28 | 81 | 29.5 | 0.851064 | 0.619855 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
dbb7ba8a4a89a25a0172d99c88b3a00862d3bd26 | 40,902 | py | Python | artifacts/old_dataset_versions/minimal_commits_v02/amazon-braket-sdk-python/amazon-braket-sdk-python#250/after/gates.py | MattePalte/Bugs-Quantum-Computing-Platforms | 0c1c805fd5dfce465a8955ee3faf81037023a23e | [
"MIT"
] | 3 | 2021-11-08T11:46:42.000Z | 2021-12-27T10:13:38.000Z | artifacts/minimal_bugfixes/amazon-braket-sdk-python/amazon-braket-sdk-python#250/after/gates.py | MattePalte/Bugs-Quantum-Computing-Platforms | 0c1c805fd5dfce465a8955ee3faf81037023a23e | [
"MIT"
] | 2 | 2021-11-09T14:57:09.000Z | 2022-01-12T12:35:58.000Z | artifacts/old_dataset_versions/minimal_commits_v02/amazon-braket-sdk-python/amazon-braket-sdk-python#250/after/gates.py | MattePalte/Bugs-Quantum-Computing-Platforms | 0c1c805fd5dfce465a8955ee3faf81037023a23e | [
"MIT"
] | null | null | null | # Copyright 2019-2019 Amazon.com, Inc. or its affiliates. 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. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | 28.266759 | 100 | 0.578236 | 5,012 | 40,902 | 4.614924 | 0.054669 | 0.0262 | 0.031258 | 0.033377 | 0.783139 | 0.760744 | 0.739083 | 0.720623 | 0.700043 | 0.683225 | 0 | 0.03276 | 0.287296 | 40,902 | 1,446 | 101 | 28.286307 | 0.760694 | 0.283703 | 0 | 0.545736 | 0 | 0 | 0.013758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.249612 | false | 0 | 0.015504 | 0.141085 | 0.516279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
917e9fd9bb5997015f0ff6ec787e2f6f1cca2f2a | 202 | py | Python | src/model/user.py | jpchagas/xepa-service | bd4f09f427ede789be5d94fca522b0d50b6f0ef7 | [
"Apache-2.0"
] | null | null | null | src/model/user.py | jpchagas/xepa-service | bd4f09f427ede789be5d94fca522b0d50b6f0ef7 | [
"Apache-2.0"
] | null | null | null | src/model/user.py | jpchagas/xepa-service | bd4f09f427ede789be5d94fca522b0d50b6f0ef7 | [
"Apache-2.0"
] | null | null | null | from sqlalchemy import Column, Integer, String, ForeignKey
from sqlalchemy.orm import declarative_base
# declarative base class
Base = declarative_base()
# TODO: Finishing create model as other models | 28.857143 | 58 | 0.816832 | 26 | 202 | 6.269231 | 0.692308 | 0.276074 | 0.233129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133663 | 202 | 7 | 59 | 28.857143 | 0.931429 | 0.331683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9182cbb4cba0641dd017ba73a7359eaa896c9545 | 12,487 | py | Python | venv/lib/python3.8/site-packages/spaceone/api/monitoring/v1/project_alert_config_pb2_grpc.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/monitoring/v1/project_alert_config_pb2_grpc.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/monitoring/v1/project_alert_config_pb2_grpc.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from sp... | 53.363248 | 156 | 0.716665 | 1,255 | 12,487 | 6.631873 | 0.089243 | 0.046137 | 0.069206 | 0.08074 | 0.904001 | 0.899075 | 0.884056 | 0.836958 | 0.769915 | 0.756218 | 0 | 0.00892 | 0.218948 | 12,487 | 233 | 157 | 53.592275 | 0.844458 | 0.059502 | 0 | 0.541237 | 1 | 0 | 0.083348 | 0.057194 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072165 | false | 0 | 0.020619 | 0.030928 | 0.139175 | 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 |
9185605287a1a25efabcd378f5db52d79b92e03e | 134 | py | Python | src/ostorlab/cli/scan/run/__init__.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 113 | 2022-02-21T09:30:14.000Z | 2022-03-31T21:54:26.000Z | src/ostorlab/cli/scan/run/__init__.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 2 | 2022-02-25T10:56:55.000Z | 2022-03-24T13:08:06.000Z | src/ostorlab/cli/scan/run/__init__.py | bbhunter/ostorlab | 968fe4e5b927c0cd159594c13b73f95b71150154 | [
"Apache-2.0"
] | 20 | 2022-02-28T14:25:04.000Z | 2022-03-30T23:01:11.000Z | """Module for sub-command of the command scan: run."""
from ostorlab.cli.scan.run import run
from ostorlab.cli.scan.run import assets
| 33.5 | 54 | 0.768657 | 23 | 134 | 4.478261 | 0.565217 | 0.203884 | 0.291262 | 0.349515 | 0.601942 | 0.601942 | 0.601942 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 134 | 3 | 55 | 44.666667 | 0.872881 | 0.358209 | 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 |
91cf4214c152ea9863259998d79ab9b313e64338 | 77 | py | Python | PaddleCV/tracking/pytracking/tracker/siamfc/__init__.py | suytingwan/models | ccdbfe77d071cc19b55fb9f4b738912e35d982ef | [
"Apache-2.0"
] | 5 | 2021-09-28T13:28:01.000Z | 2021-12-21T07:25:44.000Z | PaddleCV/tracking/pytracking/tracker/siamfc/__init__.py | suytingwan/models | ccdbfe77d071cc19b55fb9f4b738912e35d982ef | [
"Apache-2.0"
] | 1 | 2020-07-02T03:05:00.000Z | 2020-07-02T03:05:00.000Z | PaddleCV/tracking/pytracking/tracker/siamfc/__init__.py | suytingwan/models | ccdbfe77d071cc19b55fb9f4b738912e35d982ef | [
"Apache-2.0"
] | 4 | 2021-08-11T08:25:10.000Z | 2021-10-16T07:41:59.000Z | from .siamfc import SiamFC
def get_tracker_class():
return SiamFC
| 12.833333 | 27 | 0.701299 | 10 | 77 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246753 | 77 | 5 | 28 | 15.4 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
37fac99bd3f39690e1592893e02c93c8125b11e1 | 88 | py | Python | apiser/05/src/views/__init__.py | hyhlinux/demo_vue | cf61d0ba21cce93b04951076c8c23c0fe693bb5b | [
"Apache-2.0"
] | null | null | null | apiser/05/src/views/__init__.py | hyhlinux/demo_vue | cf61d0ba21cce93b04951076c8c23c0fe693bb5b | [
"Apache-2.0"
] | 2 | 2022-02-10T12:00:22.000Z | 2022-03-02T02:31:40.000Z | apiser/05/src/views/__init__.py | hyhlinux/demo_vue | cf61d0ba21cce93b04951076c8c23c0fe693bb5b | [
"Apache-2.0"
] | null | null | null | from .rss_json import json_bp
from .rss_html import html_bp
from .rss_api import api_bp
| 22 | 29 | 0.829545 | 18 | 88 | 3.722222 | 0.388889 | 0.313433 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 3 | 30 | 29.333333 | 0.881579 | 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 |
532288139bd468f81c8f21bdb0179275d642c173 | 30,647 | py | Python | tests/test_lshnearest.py | jaywonchung/mabwiser | 805326a99213f94a6e813530cebf0c8a0f96a2d1 | [
"Apache-2.0"
] | null | null | null | tests/test_lshnearest.py | jaywonchung/mabwiser | 805326a99213f94a6e813530cebf0c8a0f96a2d1 | [
"Apache-2.0"
] | null | null | null | tests/test_lshnearest.py | jaywonchung/mabwiser | 805326a99213f94a6e813530cebf0c8a0f96a2d1 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import numpy as np
from mabwiser.mab import MAB, LearningPolicy, NeighborhoodPolicy
from mabwiser.approximate import _LSHNearest
from tests.test_base import BaseTest
class LSHNearestTest(BaseTest):
def test_hash_function(self):
seed = 11
n_dimensions = 5
n_tables ... | 55.41953 | 128 | 0.405031 | 3,775 | 30,647 | 3.183841 | 0.050861 | 0.056078 | 0.047425 | 0.027956 | 0.895832 | 0.861802 | 0.844247 | 0.84017 | 0.825193 | 0.813379 | 0 | 0.144437 | 0.451039 | 30,647 | 553 | 129 | 55.41953 | 0.56996 | 0.019186 | 0 | 0.793028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 1 | 0.054466 | false | 0 | 0.008715 | 0.004357 | 0.069717 | 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 |
533ceee253d555deb7e8ce4e6a8584795be3e077 | 33,343 | py | Python | tests/test_metrics_report.py | darpa-l2m/l2metrics | 5df0731646582aabd5072e30a1346bd19151747d | [
"MIT"
] | 4 | 2022-01-29T09:26:54.000Z | 2022-03-04T16:39:02.000Z | tests/test_metrics_report.py | darpa-l2m/l2metrics | 5df0731646582aabd5072e30a1346bd19151747d | [
"MIT"
] | 9 | 2022-02-04T15:39:56.000Z | 2022-03-22T13:56:30.000Z | tests/test_metrics_report.py | darpa-l2m/l2metrics | 5df0731646582aabd5072e30a1346bd19151747d | [
"MIT"
] | 1 | 2022-03-22T18:55:41.000Z | 2022-03-22T18:55:41.000Z | """
Copyright © 2021-2022 The Johns Hopkins University Applied Physics Laboratory LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights t... | 32.721295 | 87 | 0.684372 | 4,276 | 33,343 | 5.086062 | 0.054022 | 0.045613 | 0.052143 | 0.056281 | 0.884863 | 0.868678 | 0.845825 | 0.838238 | 0.829961 | 0.826375 | 0 | 0.002585 | 0.211019 | 33,343 | 1,018 | 88 | 32.753438 | 0.824077 | 0.072219 | 0 | 0.877666 | 0 | 0 | 0.116853 | 0.029383 | 0 | 0 | 0 | 0 | 0.029181 | 1 | 0.029181 | false | 0 | 0.005612 | 0 | 0.034792 | 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 |
f41be029a542b8398fc5a6f2c0da519a2d196034 | 45 | py | Python | Problems/The result of a game in Tic-Tac-Toe/task.py | gabrielizalo/jetbrains-academy-zookeeper | 467b43da3cb81f82987daf6b063eb2078d476d4f | [
"MIT"
] | 5 | 2020-08-29T15:15:31.000Z | 2022-03-01T18:22:34.000Z | Problems/The result of a game in Tic-Tac-Toe/task.py | gabrielizalo/jetbrains-academy-zookeeper | 467b43da3cb81f82987daf6b063eb2078d476d4f | [
"MIT"
] | null | null | null | Problems/The result of a game in Tic-Tac-Toe/task.py | gabrielizalo/jetbrains-academy-zookeeper | 467b43da3cb81f82987daf6b063eb2078d476d4f | [
"MIT"
] | 1 | 2020-09-20T11:48:16.000Z | 2020-09-20T11:48:16.000Z | print("O X X")
print("O X O")
print("X O X")
| 11.25 | 14 | 0.533333 | 12 | 45 | 2 | 0.25 | 0.25 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 45 | 3 | 15 | 15 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 7 |
f425bf0c933a5ffc36768dfbdf21502b0fdcee05 | 6,131 | py | Python | loldib/getratings/models/NA/na_jax/na_jax_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_jax/na_jax_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_jax/na_jax_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Jax_Mid_Aatrox(Ratings):
pass
class NA_Jax_Mid_Ahri(Ratings):
pass
class NA_Jax_Mid_Akali(Ratings):
pass
class NA_Jax_Mid_Alistar(Ratings):
pass
class NA_Jax_Mid_Amumu(Ratings):
pass
class NA_Jax_Mid_Anivia(Ratings):
pass
class NA_J... | 14.702638 | 46 | 0.750938 | 972 | 6,131 | 4.3107 | 0.151235 | 0.230549 | 0.329356 | 0.428162 | 0.784726 | 0.784726 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18121 | 6,131 | 416 | 47 | 14.737981 | 0.834661 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
f42b6ec4ba231a4eff88fe634d47723aacce32bb | 105,146 | py | Python | vespa/analysis/figure_layouts.py | vespa-mrs/vespa | 6d3e84a206ec427ac1304e70c7fadf817432956b | [
"BSD-3-Clause"
] | null | null | null | vespa/analysis/figure_layouts.py | vespa-mrs/vespa | 6d3e84a206ec427ac1304e70c7fadf817432956b | [
"BSD-3-Clause"
] | 4 | 2021-04-17T13:58:31.000Z | 2022-01-20T14:19:57.000Z | vespa/analysis/figure_layouts.py | vespa-mrs/vespa | 6d3e84a206ec427ac1304e70c7fadf817432956b | [
"BSD-3-Clause"
] | 3 | 2021-06-05T16:34:57.000Z | 2022-01-19T16:13:22.000Z |
# Python modules
import argparse
import os
import sys
import platform
import datetime
import xml.etree.cElementTree as ElementTree
# 3rd party modules
import numpy as np
import matplotlib as mpl
import matplotlib.table as mtable
from matplotlib.ticker import MultipleLocator, FormatStrFormatter, NullFormatter, MaxNLo... | 39.722705 | 137 | 0.531566 | 12,675 | 105,146 | 4.312505 | 0.061538 | 0.021368 | 0.015807 | 0.011141 | 0.903679 | 0.896782 | 0.887324 | 0.879567 | 0.877628 | 0.873566 | 0 | 0.038712 | 0.32219 | 105,146 | 2,647 | 138 | 39.722705 | 0.728255 | 0.204582 | 0 | 0.887513 | 0 | 0 | 0.0597 | 0.001134 | 0 | 0 | 0 | 0.001889 | 0 | 1 | 0.006997 | false | 0 | 0.010764 | 0.000538 | 0.02422 | 0.002691 | 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 |
be40cf7efe45355efa5de63b977cc80e266eee98 | 5,527 | py | Python | tests/tests.py | Duroktar/trab | 29fb8ad870f3fe89e7a256bbb9b56d942d9f6873 | [
"MIT"
] | null | null | null | tests/tests.py | Duroktar/trab | 29fb8ad870f3fe89e7a256bbb9b56d942d9f6873 | [
"MIT"
] | null | null | null | tests/tests.py | Duroktar/trab | 29fb8ad870f3fe89e7a256bbb9b56d942d9f6873 | [
"MIT"
] | null | null | null | from trabconfig import trabConfig
def test(cfg, config_format=None):
config = trabConfig(cfg, data=config_format)
assert config._config_data == {
'key': 'ABC1234',
'test2': 'test',
'Parent2': [
'child number one',
'child number two'
],
'Parent': ... | 23.519149 | 79 | 0.463543 | 516 | 5,527 | 4.893411 | 0.079457 | 0.139406 | 0.114059 | 0.133069 | 0.904554 | 0.904554 | 0.904554 | 0.904554 | 0.904554 | 0.904554 | 0 | 0.056275 | 0.356975 | 5,527 | 234 | 80 | 23.619658 | 0.654192 | 0 | 0 | 0.881517 | 0 | 0 | 0.304686 | 0 | 0 | 0 | 0 | 0 | 0.099526 | 1 | 0.009479 | false | 0.009479 | 0.004739 | 0 | 0.014218 | 0.009479 | 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 |
beb4223700863c90d95cbbf87d4abfea6acb0567 | 31,559 | py | Python | models/modules/shift_unet.py | mauriliosalg/Seis_Shift-Net_pytorch | 26f777d5e3be9d0828972202a61f0e01e2c04a1a | [
"MIT"
] | 350 | 2018-04-12T15:08:27.000Z | 2022-03-15T09:55:16.000Z | models/modules/shift_unet.py | mauriliosalg/Seis_Shift-Net_pytorch | 26f777d5e3be9d0828972202a61f0e01e2c04a1a | [
"MIT"
] | 87 | 2018-07-13T05:15:14.000Z | 2022-02-07T06:20:43.000Z | models/modules/shift_unet.py | mauriliosalg/Seis_Shift-Net_pytorch | 26f777d5e3be9d0828972202a61f0e01e2c04a1a | [
"MIT"
] | 88 | 2018-04-23T13:41:15.000Z | 2022-03-29T06:39:59.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
# For original shift
from models.shift_net.InnerShiftTriple import InnerShiftTriple
from models.shift_net.InnerCos import InnerCos
# for face shift
from models.face_shift_net.InnerFaceShiftTriple import InnerFaceShiftTriple
# For res shift
from model... | 54.039384 | 175 | 0.58389 | 3,848 | 31,559 | 4.552495 | 0.06315 | 0.082886 | 0.076207 | 0.030083 | 0.861286 | 0.853123 | 0.825608 | 0.817902 | 0.815789 | 0.811622 | 0 | 0.021717 | 0.289426 | 31,559 | 583 | 176 | 54.132075 | 0.759465 | 0.166387 | 0 | 0.73822 | 0 | 0 | 0.002788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049738 | false | 0 | 0.028796 | 0.010471 | 0.138743 | 0.010471 | 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 |
fe3fcbd396d8c1ed11c14c136d9787ac143685ac | 48,455 | py | Python | app/api/v2/token.py | BoostryJP/ibet-Wallet-API | da7323a298bdb746e93da8a9b57a5da1dd6f14ac | [
"Apache-2.0"
] | 6 | 2021-06-16T02:06:21.000Z | 2021-09-20T09:50:56.000Z | app/api/v2/token.py | BoostryJP/ibet-Wallet-API | da7323a298bdb746e93da8a9b57a5da1dd6f14ac | [
"Apache-2.0"
] | 68 | 2021-04-06T03:44:54.000Z | 2022-03-29T02:00:02.000Z | app/api/v2/token.py | BoostryJP/ibet-Wallet-API | da7323a298bdb746e93da8a9b57a5da1dd6f14ac | [
"Apache-2.0"
] | null | null | null | """
Copyright BOOSTRY 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 in writing,
software distr... | 31.815496 | 111 | 0.561387 | 4,419 | 48,455 | 5.937995 | 0.065399 | 0.063453 | 0.020732 | 0.022637 | 0.85141 | 0.824543 | 0.818293 | 0.797409 | 0.791578 | 0.785938 | 0 | 0.004651 | 0.329956 | 48,455 | 1,522 | 112 | 31.836399 | 0.803554 | 0.098813 | 0 | 0.781818 | 0 | 0 | 0.087605 | 0.009569 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041148 | false | 0 | 0.011483 | 0 | 0.088995 | 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 |
fe63ad0c6242cf57ea9e3475010de15833cf2574 | 6,126 | py | Python | iris_edge_export.py | Jalilnkh/KartalOl-NIR-ISL2021031301 | 102db7328c35e23e2fd456da1486feffec8088a1 | [
"MIT"
] | null | null | null | iris_edge_export.py | Jalilnkh/KartalOl-NIR-ISL2021031301 | 102db7328c35e23e2fd456da1486feffec8088a1 | [
"MIT"
] | null | null | null | iris_edge_export.py | Jalilnkh/KartalOl-NIR-ISL2021031301 | 102db7328c35e23e2fd456da1486feffec8088a1 | [
"MIT"
] | null | null | null | from os import listdir
import numpy as np
import cv2
from skimage.morphology import skeletonize
from tensorflow.keras.models import load_model
IMAGE_SIZE1 = 224
IMAGE_SIZE2 = 224
def read_image(path):
x = cv2.imread(path, cv2.IMREAD_COLOR)
x = cv2.resize(x, (IMAGE_SIZE1, IMAGE_SIZE2))
x = x/255.0
retur... | 38.772152 | 99 | 0.594189 | 821 | 6,126 | 4.228989 | 0.152253 | 0.041475 | 0.020737 | 0.043203 | 0.838998 | 0.838998 | 0.838998 | 0.838998 | 0.838998 | 0.838998 | 0 | 0.059752 | 0.276037 | 6,126 | 157 | 100 | 39.019108 | 0.723112 | 0.037545 | 0 | 0.71223 | 0 | 0 | 0.040782 | 0.017842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043165 | false | 0 | 0.035971 | 0 | 0.093525 | 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 |
fe715496b3e8105847aab343762057d5b1d1bf9f | 35 | py | Python | utils/pascal_voc_utils/__init__.py | Jaskaran197/Red-blood-cell-detection-SSD | a33b330ad17454a7425aa7f57818c0a41b4e0ff9 | [
"MIT"
] | null | null | null | utils/pascal_voc_utils/__init__.py | Jaskaran197/Red-blood-cell-detection-SSD | a33b330ad17454a7425aa7f57818c0a41b4e0ff9 | [
"MIT"
] | null | null | null | utils/pascal_voc_utils/__init__.py | Jaskaran197/Red-blood-cell-detection-SSD | a33b330ad17454a7425aa7f57818c0a41b4e0ff9 | [
"MIT"
] | null | null | null | from .read_label import read_label
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.666667 | 0.666667 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fe7f93d76788fafd6ccdaa514ccc2d09c74c3105 | 102 | py | Python | fipomdp/log_utils.py | xbrlej/FiPOMDP | b7a97aaaf43a43e5ee9b8776c0e7f6d0bb09392f | [
"MIT"
] | null | null | null | fipomdp/log_utils.py | xbrlej/FiPOMDP | b7a97aaaf43a43e5ee9b8776c0e7f6d0bb09392f | [
"MIT"
] | null | null | null | fipomdp/log_utils.py | xbrlej/FiPOMDP | b7a97aaaf43a43e5ee9b8776c0e7f6d0bb09392f | [
"MIT"
] | null | null | null | import logging
def get_logger_for_seed(random_seed):
return logging.getLogger(f"{random_seed}")
| 17 | 46 | 0.784314 | 15 | 102 | 5 | 0.733333 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 5 | 47 | 20.4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 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 |
a3af929bd49947be9d47e5197b5d53da4bf82a35 | 163 | py | Python | test/test_admin.py | DS-POC/operator-service | f99d10f36c694f3ebdc0c10a9b3021bc4bd5a238 | [
"Apache-2.0"
] | 3 | 2021-10-04T09:23:39.000Z | 2022-02-26T21:20:21.000Z | test/test_admin.py | DS-POC/operator-service | f99d10f36c694f3ebdc0c10a9b3021bc4bd5a238 | [
"Apache-2.0"
] | null | null | null | test/test_admin.py | DS-POC/operator-service | f99d10f36c694f3ebdc0c10a9b3021bc4bd5a238 | [
"Apache-2.0"
] | null | null | null |
def test_init_pgsqlexecution():
return
def test_get_execution_info():
return
def test_list_executions():
return
def test_get_logs():
return
| 10.1875 | 31 | 0.711656 | 21 | 163 | 5.095238 | 0.52381 | 0.261682 | 0.364486 | 0.299065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214724 | 163 | 15 | 32 | 10.866667 | 0.835938 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
a3d0893f8d95e6146424fd65cbb44ecdb2e61fdf | 1,769 | py | Python | misc/highlands/dict/highlands_detail_needs.py | Shadybloom/amber-in-the-dark | 688a6c6fe1a251860174d14a0ca76b5b1c5a5527 | [
"WTFPL"
] | null | null | null | misc/highlands/dict/highlands_detail_needs.py | Shadybloom/amber-in-the-dark | 688a6c6fe1a251860174d14a0ca76b5b1c5a5527 | [
"WTFPL"
] | 3 | 2018-06-25T21:10:44.000Z | 2019-07-03T13:51:09.000Z | misc/highlands/dict/highlands_detail_needs.py | Shadybloom/amber-in-the-dark | 688a6c6fe1a251860174d14a0ca76b5b1c5a5527 | [
"WTFPL"
] | 2 | 2018-06-24T23:00:17.000Z | 2019-06-29T10:42:16.000Z | #----
# Потребление (пища):
metadict_army['Едоки-женщины (горожане)'] = {
'Городской рацион (человек/год)':1,
'-Едоки':1,
}
metadict_army['Едоки-мужчины (горожане)'] = {
'Городской рацион (человек/год)':1,
'-Едоки':1,
}
metadict_army['Едоки-женщины (знатные)'] = {
... | 25.637681 | 77 | 0.539288 | 186 | 1,769 | 5.064516 | 0.247312 | 0.193206 | 0.237792 | 0.252654 | 0.804671 | 0.804671 | 0.779193 | 0.779193 | 0.779193 | 0.779193 | 0 | 0.023866 | 0.289429 | 1,769 | 68 | 78 | 26.014706 | 0.725537 | 0.104579 | 0 | 0.52 | 0 | 0 | 0.479087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a3e105ef8001dd84763f3bf1aafc957a6e3978fa | 1,845 | py | Python | ex080.py | pepev123/PythonEx | 8f39751bf87a9099d7b733aa829988595dab2344 | [
"MIT"
] | null | null | null | ex080.py | pepev123/PythonEx | 8f39751bf87a9099d7b733aa829988595dab2344 | [
"MIT"
] | null | null | null | ex080.py | pepev123/PythonEx | 8f39751bf87a9099d7b733aa829988595dab2344 | [
"MIT"
] | null | null | null | lista = []
x = int
for c in range(1,6):
x = input('Digite um valor:')
if x in lista:
while x in lista:
x = input('Valor repetido esse número não contou. Tente novamente: ')
if c == 1:
lista.append(x)
if c == 2:
if x > lista[-1]:
lista.... | 28.384615 | 81 | 0.368564 | 233 | 1,845 | 2.918455 | 0.133047 | 0.176471 | 0.105882 | 0.194118 | 0.794118 | 0.794118 | 0.794118 | 0.794118 | 0.794118 | 0.794118 | 0 | 0.055085 | 0.488347 | 1,845 | 64 | 82 | 28.828125 | 0.665254 | 0 | 0 | 0.870968 | 0 | 0 | 0.039024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.032258 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4a4dbbe64f15781f6a2ca644941824a052559b45 | 198 | py | Python | mysite/accounts/views.py | B-Rad80/code-components | f0aa4479b2329570ad56af31903467e0e166952f | [
"BSD-3-Clause"
] | null | null | null | mysite/accounts/views.py | B-Rad80/code-components | f0aa4479b2329570ad56af31903467e0e166952f | [
"BSD-3-Clause"
] | 8 | 2020-02-11T23:32:59.000Z | 2022-03-11T23:36:51.000Z | mysite/accounts/views.py | B-Rad80/code-components | f0aa4479b2329570ad56af31903467e0e166952f | [
"BSD-3-Clause"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def signup(request):
return render(request, 'app/signup.html')
def signin(request):
return render(request, 'app/signup.html') | 22 | 45 | 0.737374 | 27 | 198 | 5.407407 | 0.592593 | 0.178082 | 0.260274 | 0.356164 | 0.534247 | 0.534247 | 0.534247 | 0 | 0 | 0 | 0 | 0 | 0.146465 | 198 | 9 | 46 | 22 | 0.863905 | 0.116162 | 0 | 0.4 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
4a71101f8faf61eca06fe797efe27a245fc8fb98 | 58 | py | Python | from_root/__init__.py | EduardKononov/from-root | eb80e93a31861217162705a4250a5f73c3821cbc | [
"MIT"
] | 7 | 2021-03-26T13:11:48.000Z | 2022-02-15T10:20:43.000Z | from_root/__init__.py | EduardKononov/from-root | eb80e93a31861217162705a4250a5f73c3821cbc | [
"MIT"
] | null | null | null | from_root/__init__.py | EduardKononov/from-root | eb80e93a31861217162705a4250a5f73c3821cbc | [
"MIT"
] | 1 | 2021-07-20T12:56:48.000Z | 2021-07-20T12:56:48.000Z | from from_root.root import *
from from_root.here import *
| 19.333333 | 28 | 0.793103 | 10 | 58 | 4.4 | 0.4 | 0.363636 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 29 | 29 | 0.88 | 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 |
4a9e3735ca9957049d20e86bb062345da2ce85f5 | 162 | py | Python | running_modes/create_model/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 183 | 2020-04-04T02:01:15.000Z | 2022-03-30T21:56:56.000Z | running_modes/create_model/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 39 | 2020-04-05T15:19:56.000Z | 2022-03-09T12:58:21.000Z | running_modes/create_model/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 70 | 2020-04-05T19:25:43.000Z | 2022-02-22T12:04:39.000Z | from running_modes.create_model.create_model import CreateModelRunner
from running_modes.create_model.link_invent_create_model import LinkInventCreateModelRunner
| 54 | 91 | 0.925926 | 20 | 162 | 7.1 | 0.5 | 0.309859 | 0.225352 | 0.309859 | 0.380282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 162 | 2 | 92 | 81 | 0.922078 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.