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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fbe96376f6c7e8ea5a7177b454718260bda00d58 | 112 | py | Python | api/base/views/__init__.py | simpsonw/atmosphere | 3a5203ef0b563de3a0e8c8c8715df88186532d7a | [
"BSD-3-Clause"
] | 197 | 2016-12-08T02:33:32.000Z | 2022-03-23T14:27:47.000Z | api/base/views/__init__.py | simpsonw/atmosphere | 3a5203ef0b563de3a0e8c8c8715df88186532d7a | [
"BSD-3-Clause"
] | 385 | 2017-01-03T22:51:46.000Z | 2020-12-16T16:20:42.000Z | api/base/views/__init__.py | benlazarine/atmosphere | 38fad8e4002e510e8b4294f2bb5bc75e8e1817fa | [
"BSD-3-Clause"
] | 50 | 2016-12-08T08:32:25.000Z | 2021-12-10T00:21:39.000Z | from .version import VersionViewSet, DeployVersionViewSet
__all__ = ["VersionViewSet", "DeployVersionViewSet"]
| 28 | 57 | 0.821429 | 8 | 112 | 11 | 0.75 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 112 | 3 | 58 | 37.333333 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0.303571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
220d1b0d3abc6c0db8d6bd13778e65f09dbb4290 | 231 | py | Python | src/notifications/tests.py | kullo/webconfig | 470839ed77fda11634d4e14a89bb5e7894aa707d | [
"BSD-3-Clause"
] | null | null | null | src/notifications/tests.py | kullo/webconfig | 470839ed77fda11634d4e14a89bb5e7894aa707d | [
"BSD-3-Clause"
] | null | null | null | src/notifications/tests.py | kullo/webconfig | 470839ed77fda11634d4e14a89bb5e7894aa707d | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2015–2020 Kullo GmbH
#
# This source code is licensed under the 3-clause BSD license. See LICENSE.txt
# in the root directory of this source tree for details.
from django.test import TestCase
# Create your tests here.
| 28.875 | 78 | 0.774892 | 39 | 231 | 4.615385 | 0.897436 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04712 | 0.17316 | 231 | 7 | 79 | 33 | 0.890052 | 0.805195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
225c724f4896f9bddbbf401bf1a3929af43df247 | 94 | py | Python | enthought/endo/docerror.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/endo/docerror.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/endo/docerror.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from etsdevtools.endo.docerror import *
| 23.5 | 39 | 0.840426 | 12 | 94 | 6.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 94 | 3 | 40 | 31.333333 | 0.891566 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
227c213f9c9f02d257d21830222edf425fe68721 | 781 | py | Python | carl/envs/mario/mario_game.py | automl/genRL | b7382fec9006d7da768ad7252194c6c5f1b2bbd7 | [
"Apache-2.0"
] | 27 | 2021-09-13T21:50:10.000Z | 2022-03-30T15:35:38.000Z | carl/envs/mario/mario_game.py | automl/genRL | b7382fec9006d7da768ad7252194c6c5f1b2bbd7 | [
"Apache-2.0"
] | 35 | 2021-09-15T07:20:29.000Z | 2022-03-02T15:14:31.000Z | carl/envs/mario/mario_game.py | automl/genRL | b7382fec9006d7da768ad7252194c6c5f1b2bbd7 | [
"Apache-2.0"
] | 2 | 2022-01-13T11:13:12.000Z | 2022-03-14T06:11:13.000Z | from abc import ABC, abstractmethod
class MarioGame(ABC):
@abstractmethod
def getPort(self) -> int:
pass
@abstractmethod
def initGame(self):
pass
@abstractmethod
def stepGame(self, left: bool, right: bool, down: bool, speed: bool, jump: bool):
pass
@abstractmetho... | 19.525 | 85 | 0.62484 | 77 | 781 | 6.324675 | 0.415584 | 0.314168 | 0.344969 | 0.160164 | 0.123203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288092 | 781 | 39 | 86 | 20.025641 | 0.875899 | 0 | 0 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.310345 | false | 0.310345 | 0.034483 | 0 | 0.37931 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
97db509debe2b8503920910c68f09fde1efdca62 | 6,072 | py | Python | colour/models/rgb/transfer_functions/tests/test_panasonic_vlog.py | JGoldstone/colour | 6829b363d5f0682bff0f4826995e7ceac189ff28 | [
"BSD-3-Clause"
] | null | null | null | colour/models/rgb/transfer_functions/tests/test_panasonic_vlog.py | JGoldstone/colour | 6829b363d5f0682bff0f4826995e7ceac189ff28 | [
"BSD-3-Clause"
] | null | null | null | colour/models/rgb/transfer_functions/tests/test_panasonic_vlog.py | JGoldstone/colour | 6829b363d5f0682bff0f4826995e7ceac189ff28 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Defines the unit tests for the :mod:`colour.models.rgb.transfer_functions.\
panasonic_vlog` module.
"""
import numpy as np
import unittest
from colour.models.rgb.transfer_functions import (
log_encoding_VLog,
log_decoding_VLog,
)
from colour.utilities import domain_range_scale, ign... | 31.138462 | 78 | 0.640316 | 795 | 6,072 | 4.56478 | 0.134591 | 0.021494 | 0.095068 | 0.076054 | 0.825296 | 0.809314 | 0.779002 | 0.714522 | 0.67925 | 0.635161 | 0 | 0.072958 | 0.246047 | 6,072 | 194 | 79 | 31.298969 | 0.719747 | 0.208498 | 0 | 0.533333 | 0 | 0 | 0.05502 | 0.007891 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.07619 | false | 0 | 0.038095 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 | 5 |
97f20ba0590c9d144a0c17683ec4a0a88ea21ea6 | 46 | py | Python | ainnovation_dcim/workflow/__init__.py | ltxwanzl/ainnovation_dcim | b065489e2aa69729c0fd5142cf75d8caa7788b31 | [
"Apache-2.0"
] | null | null | null | ainnovation_dcim/workflow/__init__.py | ltxwanzl/ainnovation_dcim | b065489e2aa69729c0fd5142cf75d8caa7788b31 | [
"Apache-2.0"
] | null | null | null | ainnovation_dcim/workflow/__init__.py | ltxwanzl/ainnovation_dcim | b065489e2aa69729c0fd5142cf75d8caa7788b31 | [
"Apache-2.0"
] | null | null | null | # default_app_config = '.apps.WorkflowConfig'
| 23 | 45 | 0.782609 | 5 | 46 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.809524 | 0.934783 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3f28d1e2f76100adc00945a0759d254a0a1638b4 | 20 | py | Python | RDS/circle3_central_services/research_manager/src/api/User/__init__.py | Sciebo-RDS/Sciebo-RDS | d71cf449ed045a2a7a049e2cb77c99fd5a9195bd | [
"MIT"
] | 10 | 2020-06-24T08:22:24.000Z | 2022-01-13T16:17:36.000Z | RDS/circle3_central_services/research_manager/src/api/User/__init__.py | Sciebo-RDS/Sciebo-RDS | d71cf449ed045a2a7a049e2cb77c99fd5a9195bd | [
"MIT"
] | 78 | 2020-01-23T14:32:06.000Z | 2022-03-07T14:11:16.000Z | RDS/circle3_central_services/research_manager/src/api/User/__init__.py | Sciebo-RDS/Sciebo-RDS | d71cf449ed045a2a7a049e2cb77c99fd5a9195bd | [
"MIT"
] | 1 | 2020-06-24T08:33:48.000Z | 2020-06-24T08:33:48.000Z | from .user import * | 20 | 20 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
58c6e236acba1419c8019e6e9d0019c26bbbfc7f | 3,977 | py | Python | tests/bs3/test_block_fields.py | rpkilby/django-template-forms | 5099d87d661a6a313df49fa484afd94f145e65bc | [
"BSD-3-Clause"
] | 1 | 2021-01-29T11:53:32.000Z | 2021-01-29T11:53:32.000Z | tests/bs3/test_block_fields.py | rpkilby/django-template-forms | 5099d87d661a6a313df49fa484afd94f145e65bc | [
"BSD-3-Clause"
] | 5 | 2017-11-29T11:01:56.000Z | 2018-02-05T23:34:08.000Z | tests/bs3/test_block_fields.py | rpkilby/django-template-forms | 5099d87d661a6a313df49fa484afd94f145e65bc | [
"BSD-3-Clause"
] | null | null | null |
from django import forms
from django.test import TestCase
from template_forms import bs3
def startswith_a(value):
if value.startswith('a'):
return value
raise forms.ValidationError('Value must start with "a".')
def not_now(value):
if value:
raise forms.ValidationError('I cannot let you... | 30.829457 | 103 | 0.538094 | 439 | 3,977 | 4.8041 | 0.159453 | 0.051209 | 0.046468 | 0.063063 | 0.789948 | 0.779991 | 0.779991 | 0.758653 | 0.733049 | 0.68753 | 0 | 0.001089 | 0.307518 | 3,977 | 128 | 104 | 31.070313 | 0.764706 | 0 | 0 | 0.698113 | 0 | 0.028302 | 0.447183 | 0.078219 | 0 | 0 | 0 | 0 | 0.04717 | 1 | 0.084906 | false | 0 | 0.028302 | 0.018868 | 0.179245 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
58cc1d434d0ca910c890148d1eb3817d02e4f5af | 278 | py | Python | 210125/homework_re_3.py | shadowsmain/pyton-adv | 9562097b2d34c1b286c13cf0930fa06079532a67 | [
"MIT"
] | null | null | null | 210125/homework_re_3.py | shadowsmain/pyton-adv | 9562097b2d34c1b286c13cf0930fa06079532a67 | [
"MIT"
] | null | null | null | 210125/homework_re_3.py | shadowsmain/pyton-adv | 9562097b2d34c1b286c13cf0930fa06079532a67 | [
"MIT"
] | null | null | null | import re
RE_NUMBER_VALIDATOR = re.compile(r'^\d+[.,]\d+$')
def number_is_valid(number):
return RE_NUMBER_VALIDATOR.match(number)
assert number_is_valid('1.32')
assert number_is_valid('1,32')
assert not number_is_valid('asdasd1234')
assert not number_is_valid('22,a44') | 21.384615 | 49 | 0.755396 | 46 | 278 | 4.26087 | 0.413043 | 0.204082 | 0.331633 | 0.193878 | 0.44898 | 0.255102 | 0.255102 | 0 | 0 | 0 | 0 | 0.055777 | 0.097122 | 278 | 13 | 50 | 21.384615 | 0.7251 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
450109704aaa9e57ec8952a08e13c1c362e0340c | 21 | py | Python | test.py | AlanFnz/profiles-rest-api | c606999f86235ed74fd98421bd02bc598d5a5463 | [
"MIT"
] | null | null | null | test.py | AlanFnz/profiles-rest-api | c606999f86235ed74fd98421bd02bc598d5a5463 | [
"MIT"
] | null | null | null | test.py | AlanFnz/profiles-rest-api | c606999f86235ed74fd98421bd02bc598d5a5463 | [
"MIT"
] | null | null | null | print('Test script')
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 21 | 1 | 21 | 21 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
451235b4dc66c44ae6da7b46c7877673b9a0d562 | 8,175 | py | Python | tests/test_compare.py | mys-lang/mys | 070431fdedd7a6bf537f3a30583cd44f644cdbf4 | [
"MIT"
] | 59 | 2021-01-06T14:21:40.000Z | 2022-02-22T21:49:39.000Z | tests/test_compare.py | mys-lang/mys | 070431fdedd7a6bf537f3a30583cd44f644cdbf4 | [
"MIT"
] | 31 | 2021-01-05T00:32:36.000Z | 2022-02-23T13:34:33.000Z | tests/test_compare.py | mys-lang/mys | 070431fdedd7a6bf537f3a30583cd44f644cdbf4 | [
"MIT"
] | 7 | 2021-01-03T11:53:03.000Z | 2022-02-22T17:49:42.000Z | from .utils import TestCase
from .utils import build_and_test_module
from .utils import transpile_source
class Test(TestCase):
def test_compare(self):
with self.assertRaises(SystemExit):
build_and_test_module('compare')
def test_assert_between(self):
self.assert_transpile_raises(... | 34.493671 | 78 | 0.416147 | 916 | 8,175 | 3.574236 | 0.10262 | 0.053451 | 0.098351 | 0.161576 | 0.818571 | 0.810324 | 0.765119 | 0.707392 | 0.59102 | 0.564447 | 0 | 0.052423 | 0.444648 | 8,175 | 236 | 79 | 34.639831 | 0.668722 | 0.003425 | 0 | 0.565217 | 0 | 0.009662 | 0.449355 | 0.022591 | 0 | 0 | 0.00221 | 0.004237 | 0.135266 | 1 | 0.120773 | false | 0.009662 | 0.014493 | 0 | 0.140097 | 0.101449 | 0 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
451838fb8b3acc8747399824b9d60c1c29d67e5c | 3,416 | py | Python | test_kmethods.py | quinlan-lab/kmertools | 93e90919c26e2fc899a905b77748857404389e13 | [
"MIT"
] | 1 | 2020-08-25T01:35:38.000Z | 2020-08-25T01:35:38.000Z | test_kmethods.py | quinlan-lab/kmertools | 93e90919c26e2fc899a905b77748857404389e13 | [
"MIT"
] | null | null | null | test_kmethods.py | quinlan-lab/kmertools | 93e90919c26e2fc899a905b77748857404389e13 | [
"MIT"
] | 1 | 2021-07-13T23:21:56.000Z | 2021-07-13T23:21:56.000Z | from unittest import TestCase
from eskedit.kmethods import *
class Test(TestCase):
def test_generate_kmers(self):
print('Testing %s' % 'test_generate_kmers')
for i in range(1, 8):
self.assertEqual(len(generate_kmers(i)), 4 ** i)
def test_gen_random_sequence(self):
print('... | 30.5 | 63 | 0.660422 | 438 | 3,416 | 4.805936 | 0.1621 | 0.086461 | 0.197625 | 0.209976 | 0.860808 | 0.587173 | 0.234204 | 0 | 0 | 0 | 0 | 0.00189 | 0.225703 | 3,416 | 111 | 64 | 30.774775 | 0.793951 | 0 | 0 | 0.301205 | 1 | 0 | 0.241803 | 0.115632 | 0 | 0 | 0 | 0 | 0.325301 | 1 | 0.313253 | false | 0 | 0.024096 | 0 | 0.349398 | 0.313253 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
45266515995c4fa2eef2c47f14074dcb92d42fdb | 687 | py | Python | cracking_the_coding_interview_qs/8.7-8.8/get_all_permutations_of_string_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | cracking_the_coding_interview_qs/8.7-8.8/get_all_permutations_of_string_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | cracking_the_coding_interview_qs/8.7-8.8/get_all_permutations_of_string_test.py | angelusualle/algorithms | 86286a49db2a755bc57330cb455bcbd8241ea6be | [
"Apache-2.0"
] | null | null | null | import unittest
from get_all_permutations_of_string import get_all_permutations_of_string, get_all_permutations_of_string_with_dups
class Test_Case_Get_All_Permutations_Of_String(unittest.TestCase):
def test_get_all_permutations_of_string(self):
self.assertListEqual(get_all_permutations_of_string("tea"), [... | 76.333333 | 176 | 0.764192 | 96 | 687 | 4.96875 | 0.375 | 0.113208 | 0.339623 | 0.377358 | 0.72327 | 0.559748 | 0.559748 | 0.333333 | 0.222222 | 0 | 0 | 0 | 0.097525 | 687 | 9 | 176 | 76.333333 | 0.769355 | 0 | 0 | 0 | 0 | 0 | 0.114826 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
4544050d8eb06081ede4910d4218a872c580f338 | 35 | py | Python | src/mock/webrepl.py | hipek/esp32-heating-control | 4ee511118eb9a208e92298bdcf9c9242368c1806 | [
"MIT"
] | null | null | null | src/mock/webrepl.py | hipek/esp32-heating-control | 4ee511118eb9a208e92298bdcf9c9242368c1806 | [
"MIT"
] | null | null | null | src/mock/webrepl.py | hipek/esp32-heating-control | 4ee511118eb9a208e92298bdcf9c9242368c1806 | [
"MIT"
] | null | null | null | def start(password=None):
pass
| 11.666667 | 25 | 0.685714 | 5 | 35 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 2 | 26 | 17.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 1 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
18a22f9ecd12b8cd2ba070dcb05f2e55ef3f8d64 | 86 | py | Python | mne/datasets/kiloword/__init__.py | fmamashli/mne-python | 52f064415e7c9fa8fe243d22108dcdf3d86505b9 | [
"BSD-3-Clause"
] | 1,953 | 2015-01-17T20:33:46.000Z | 2022-03-30T04:36:34.000Z | mne/datasets/kiloword/__init__.py | fmamashli/mne-python | 52f064415e7c9fa8fe243d22108dcdf3d86505b9 | [
"BSD-3-Clause"
] | 8,490 | 2015-01-01T13:04:18.000Z | 2022-03-31T23:02:08.000Z | mne/datasets/kiloword/__init__.py | fmamashli/mne-python | 52f064415e7c9fa8fe243d22108dcdf3d86505b9 | [
"BSD-3-Clause"
] | 1,130 | 2015-01-08T22:39:27.000Z | 2022-03-30T21:44:26.000Z | """MNE visual_92_categories dataset."""
from .kiloword import data_path, get_version
| 21.5 | 44 | 0.790698 | 12 | 86 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.104651 | 86 | 3 | 45 | 28.666667 | 0.805195 | 0.383721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
18b20197ca16f4d94391b3685611593c8849a3d6 | 23,599 | py | Python | cogs/management.py | xthecoolboy/MizaBOT | fb8a449bde29fdf1d32b5a597e48e6b3463dd867 | [
"MIT"
] | null | null | null | cogs/management.py | xthecoolboy/MizaBOT | fb8a449bde29fdf1d32b5a597e48e6b3463dd867 | [
"MIT"
] | null | null | null | cogs/management.py | xthecoolboy/MizaBOT | fb8a449bde29fdf1d32b5a597e48e6b3463dd867 | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
import asyncio
from datetime import datetime, timedelta
import psutil
# Bot related commands
class Management(commands.Cog):
"""Bot related commands. Might require some mod powers in your server"""
def __init__(self, bot):
self.bot = bot
... | 59.593434 | 695 | 0.604221 | 3,132 | 23,599 | 4.530651 | 0.10696 | 0.107047 | 0.069767 | 0.056237 | 0.785765 | 0.751868 | 0.737209 | 0.715927 | 0.693446 | 0.653559 | 0 | 0.017574 | 0.238061 | 23,599 | 396 | 696 | 59.593434 | 0.768033 | 0.023179 | 0 | 0.521084 | 0 | 0.003012 | 0.105015 | 0.008209 | 0 | 0 | 0.000377 | 0 | 0 | 0 | null | null | 0.018072 | 0.01506 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 5 |
18c2d8a09f275424cdb15f2a256534524b3fa369 | 59 | py | Python | glue/admin.py | Valchris/AngularJS-Django-Template | 10c90087984dcd9e6d29380eb4380824e65bcecf | [
"MIT"
] | 1 | 2015-07-29T04:28:26.000Z | 2015-07-29T04:28:26.000Z | glue/admin.py | Valchris/AngularJS-Django-Template | 10c90087984dcd9e6d29380eb4380824e65bcecf | [
"MIT"
] | null | null | null | glue/admin.py | Valchris/AngularJS-Django-Template | 10c90087984dcd9e6d29380eb4380824e65bcecf | [
"MIT"
] | null | null | null | from django.contrib import admin
from glue.models import *
| 19.666667 | 32 | 0.813559 | 9 | 59 | 5.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 33 | 29.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
18df2c4ff7c83fc2ff4c4df2ad5efb199366fdfd | 82 | wsgi | Python | jpmorgan.wsgi | mrukhlov/jpmorgan | ef8f49054772c3f07161f4eaf7c119019ce600e2 | [
"Apache-2.0"
] | null | null | null | jpmorgan.wsgi | mrukhlov/jpmorgan | ef8f49054772c3f07161f4eaf7c119019ce600e2 | [
"Apache-2.0"
] | null | null | null | jpmorgan.wsgi | mrukhlov/jpmorgan | ef8f49054772c3f07161f4eaf7c119019ce600e2 | [
"Apache-2.0"
] | null | null | null | import sys
sys.path.insert(0, '/srv/jpmorgan')
from app import app as application | 20.5 | 35 | 0.768293 | 14 | 82 | 4.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.121951 | 82 | 4 | 36 | 20.5 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7a0036f8904ef04950506fa3bb65a2bb9ab285ce | 159 | py | Python | great_expectations/dataset/__init__.py | avanderm/great_expectations | e4619a890700a492441a7ed3cbb9e5abb0953268 | [
"Apache-2.0"
] | 1 | 2021-01-10T18:00:06.000Z | 2021-01-10T18:00:06.000Z | great_expectations/dataset/__init__.py | avanderm/great_expectations | e4619a890700a492441a7ed3cbb9e5abb0953268 | [
"Apache-2.0"
] | null | null | null | great_expectations/dataset/__init__.py | avanderm/great_expectations | e4619a890700a492441a7ed3cbb9e5abb0953268 | [
"Apache-2.0"
] | null | null | null | from .base import Dataset
from .pandas_dataset import MetaPandasDataset, PandasDataset
from .sqlalchemy_dataset import MetaSqlAlchemyDataset, SqlAlchemyDataset | 53 | 72 | 0.886792 | 16 | 159 | 8.6875 | 0.625 | 0.18705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081761 | 159 | 3 | 72 | 53 | 0.952055 | 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 | 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 | 5 |
e14841f80a1f905b5006c26969f6f10bf64c27b5 | 107 | py | Python | Codefights/arcade/intro/level-2/6.Make-Array-Consecutive-2/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codefights/arcade/intro/level-2/6.Make-Array-Consecutive-2/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codefights/arcade/intro/level-2/6.Make-Array-Consecutive-2/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python3
def makeArrayConsecutive2(statues):
return (max(statues) - min(statues) + 1) - len(statues)
| 21.4 | 59 | 0.700935 | 12 | 107 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.158879 | 107 | 4 | 60 | 26.75 | 0.8 | 0.065421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e15ca6e7927c7dfaebe88887cd584126de16a196 | 45 | py | Python | mypo/sampler/__init__.py | sonesuke/my-portfolio | 4fd19fdee8a0aa13194cab0df53c83218c5664e3 | [
"MIT"
] | 2 | 2021-03-14T00:14:25.000Z | 2021-09-04T16:26:02.000Z | mypo/sampler/__init__.py | sonesuke/my-portfolio | 4fd19fdee8a0aa13194cab0df53c83218c5664e3 | [
"MIT"
] | 104 | 2021-02-21T08:11:11.000Z | 2021-09-26T03:02:27.000Z | mypo/sampler/__init__.py | sonesuke/mypo | 4fd19fdee8a0aa13194cab0df53c83218c5664e3 | [
"MIT"
] | null | null | null | # flake8: noqa
from .sampler import Sampler
| 11.25 | 28 | 0.755556 | 6 | 45 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.177778 | 45 | 3 | 29 | 15 | 0.891892 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e16731d27b2926a6e8972922d05bae1f6e5d75bb | 240 | py | Python | ltc/base/admin.py | v0devil/jltom | b302a39a187b8e1154c6deda636a4db8b30bb40b | [
"MIT"
] | 4 | 2016-12-30T13:26:59.000Z | 2017-04-26T12:07:36.000Z | ltc/base/admin.py | v0devil/jltom | b302a39a187b8e1154c6deda636a4db8b30bb40b | [
"MIT"
] | null | null | null | ltc/base/admin.py | v0devil/jltom | b302a39a187b8e1154c6deda636a4db8b30bb40b | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from ltc.base.models import Project, Test, Configuration
# Register your models here.
admin.site.register(Project)
admin.site.register(Test)
admin.site.register(Configuration)
| 24 | 56 | 0.808333 | 33 | 240 | 5.878788 | 0.454545 | 0.139175 | 0.262887 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 240 | 9 | 57 | 26.666667 | 0.902326 | 0.220833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e16db721abb59e634b09680c4bdf3796a1a5328b | 6,115 | py | Python | VoiceAssistant/Project_Basic_struct/speakListen.py | TheRealMilesLee/Python | d145c848a7ba76e8e523e4fe06e2a0add7e2fae1 | [
"MIT"
] | 1 | 2018-12-05T11:04:47.000Z | 2018-12-05T11:04:47.000Z | VoiceAssistant/Project_Basic_struct/speakListen.py | MarkHooland/Python | d145c848a7ba76e8e523e4fe06e2a0add7e2fae1 | [
"MIT"
] | null | null | null | VoiceAssistant/Project_Basic_struct/speakListen.py | MarkHooland/Python | d145c848a7ba76e8e523e4fe06e2a0add7e2fae1 | [
"MIT"
] | null | null | null | import time
from colorama import Fore, Back, Style
import speech_recognition as sr
import os
import pyttsx3
import datetime
from rich.progress import Progress
python = pyttsx3.init("sapi5") # name of the engine is set as Python
voices = python.getProperty("voices")
#print(voices)
python.setProperty("voice... | 35.970588 | 118 | 0.594113 | 791 | 6,115 | 4.537295 | 0.242731 | 0.017554 | 0.020061 | 0.013374 | 0.710783 | 0.701867 | 0.701867 | 0.701867 | 0.701867 | 0.701867 | 0 | 0.01522 | 0.312347 | 6,115 | 169 | 119 | 36.183432 | 0.838288 | 0.409648 | 0 | 0.506024 | 0 | 0 | 0.089944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072289 | false | 0.012048 | 0.084337 | 0 | 0.228916 | 0.108434 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e170d7139c31119e1eb476ae084b331e0ed0a722 | 100 | py | Python | lambdata_doinalangille/__init__.py | doinalangille/lambdata_doinalangille | f57e1f9f87615bc9d1d1cfada530a542ea4551a1 | [
"MIT"
] | null | null | null | lambdata_doinalangille/__init__.py | doinalangille/lambdata_doinalangille | f57e1f9f87615bc9d1d1cfada530a542ea4551a1 | [
"MIT"
] | 3 | 2020-03-24T18:29:36.000Z | 2021-02-02T22:42:20.000Z | lambdata_doinalangille/__init__.py | doinalangille/lambdata_doinalangille | f57e1f9f87615bc9d1d1cfada530a542ea4551a1 | [
"MIT"
] | 1 | 2020-02-11T23:05:07.000Z | 2020-02-11T23:05:07.000Z | """
lambdata - a collection of Data Science helper functions
"""
import pandas as pd
import sklearn | 16.666667 | 56 | 0.76 | 14 | 100 | 5.428571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 100 | 6 | 57 | 16.666667 | 0.915663 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e1a571d93e123889de55adde281c383678e87c9f | 392 | py | Python | bitmovin_api_sdk/encoding/encodings/muxings/mp3/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/muxings/mp3/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/muxings/mp3/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.muxings.mp3.mp3_api import Mp3Api
from bitmovin_api_sdk.encoding.encodings.muxings.mp3.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.encodings.muxings.mp3.information.information_api import InformationApi
from bitmovin_api_sdk.encoding.encodings.m... | 78.4 | 113 | 0.903061 | 53 | 392 | 6.396226 | 0.358491 | 0.141593 | 0.176991 | 0.212389 | 0.548673 | 0.548673 | 0.548673 | 0.548673 | 0.283186 | 0 | 0 | 0.021277 | 0.040816 | 392 | 4 | 114 | 98 | 0.880319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e1ad6793329afb999758e7af4b085f4de8b95b33 | 93 | py | Python | Configuration/StandardSequences/python/L1Reco_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Configuration/StandardSequences/python/L1Reco_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Configuration/StandardSequences/python/L1Reco_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from L1Trigger.Configuration.L1TReco_cff import *
| 18.6 | 49 | 0.83871 | 12 | 93 | 6.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.107527 | 93 | 4 | 50 | 23.25 | 0.903614 | 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 | 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 | 5 |
e1c3efdf6d1bcb608ddb86a4384fd1aed1e4458f | 117 | py | Python | hello_world.py | michaeljamieson/Python01 | 96777e5252aaf58e5b424dd5b39186b395d9d859 | [
"Apache-2.0"
] | null | null | null | hello_world.py | michaeljamieson/Python01 | 96777e5252aaf58e5b424dd5b39186b395d9d859 | [
"Apache-2.0"
] | null | null | null | hello_world.py | michaeljamieson/Python01 | 96777e5252aaf58e5b424dd5b39186b395d9d859 | [
"Apache-2.0"
] | null | null | null | print ('hello world')
print ('hey i did something')
print ('what happens if i do a ;');
print ('apparently nothing')
| 23.4 | 35 | 0.683761 | 18 | 117 | 4.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162393 | 117 | 4 | 36 | 29.25 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
bee859bef7a37ff661836407bce80f2d3470ddd9 | 27,023 | py | Python | goldstone/tenants/tests_cloud.py | Solinea/goldstone-server | 91b078ca9fed1b33f48dc79f4af5c9d1817a1bc5 | [
"Apache-2.0"
] | 14 | 2015-05-18T22:11:11.000Z | 2020-08-14T06:50:09.000Z | goldstone/tenants/tests_cloud.py | lexjacobs/goldstone-server | 91b078ca9fed1b33f48dc79f4af5c9d1817a1bc5 | [
"Apache-2.0"
] | 568 | 2015-05-17T01:26:36.000Z | 2021-06-10T20:36:47.000Z | goldstone/tenants/tests_cloud.py | lexjacobs/goldstone-server | 91b078ca9fed1b33f48dc79f4af5c9d1817a1bc5 | [
"Apache-2.0"
] | 22 | 2015-05-25T20:16:06.000Z | 2021-08-08T20:25:24.000Z | """Unit tests for /tenants/<id>/cloud endpoints."""
# Copyright 2015 Solinea, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... | 41.130898 | 79 | 0.531029 | 2,773 | 27,023 | 4.967905 | 0.097367 | 0.045296 | 0.037602 | 0.075203 | 0.754936 | 0.733014 | 0.717843 | 0.67545 | 0.660279 | 0.651931 | 0 | 0.018865 | 0.376198 | 27,023 | 656 | 80 | 41.193598 | 0.798363 | 0.160826 | 0 | 0.751163 | 0 | 0 | 0.096241 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 1 | 0.034884 | false | 0.065116 | 0.013953 | 0 | 0.053488 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
bef17e7d48e784a47058c04dd63db533f851c334 | 83 | py | Python | gawain/tests/test_numerics.py | henrywatkins/gawain | c556be20242249504fc0e04a5d3b7168a8369043 | [
"MIT"
] | 1 | 2021-11-20T06:16:13.000Z | 2021-11-20T06:16:13.000Z | gawain/tests/test_numerics.py | henrywatkins/gawain | c556be20242249504fc0e04a5d3b7168a8369043 | [
"MIT"
] | null | null | null | gawain/tests/test_numerics.py | henrywatkins/gawain | c556be20242249504fc0e04a5d3b7168a8369043 | [
"MIT"
] | null | null | null | import pytest
from gawain.numerics import Clock, SolutionVector, MHDSolutionVector
| 27.666667 | 68 | 0.86747 | 9 | 83 | 8 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 83 | 2 | 69 | 41.5 | 0.96 | 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 | 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 | 5 |
8324f3cc8eee905419a3c23f1df365cd7b4e9b24 | 30 | py | Python | symbench_athens_client/tests/models/test_pipelines.py | valtron/symbench-athens-client | 11482f5d385217898cfc5cb6ff9d76b19a3f7356 | [
"Apache-2.0"
] | null | null | null | symbench_athens_client/tests/models/test_pipelines.py | valtron/symbench-athens-client | 11482f5d385217898cfc5cb6ff9d76b19a3f7356 | [
"Apache-2.0"
] | 43 | 2021-08-19T20:16:43.000Z | 2022-03-30T18:54:42.000Z | symbench_athens_client/tests/models/test_pipelines.py | valtron/symbench-athens-client | 11482f5d385217898cfc5cb6ff9d76b19a3f7356 | [
"Apache-2.0"
] | 2 | 2021-11-09T06:07:06.000Z | 2022-01-13T17:04:29.000Z | class TestPipelines:
pass
| 10 | 20 | 0.733333 | 3 | 30 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 2 | 21 | 15 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
834ad9cbfb170166d5394332db47b29bcb81eb73 | 163 | py | Python | examples/plot_kde_2d.py | awesome-archive/arviz | e11432bc065d0b2280f27c901beb4ac9fc5c5dba | [
"Apache-2.0"
] | 2 | 2018-12-01T03:41:54.000Z | 2018-12-01T22:04:59.000Z | examples/plot_kde_2d.py | awesome-archive/arviz | e11432bc065d0b2280f27c901beb4ac9fc5c5dba | [
"Apache-2.0"
] | null | null | null | examples/plot_kde_2d.py | awesome-archive/arviz | e11432bc065d0b2280f27c901beb4ac9fc5c5dba | [
"Apache-2.0"
] | 1 | 2020-10-16T12:57:48.000Z | 2020-10-16T12:57:48.000Z | """
2d KDE
======
_thumb: .1, .8
"""
import arviz as az
import numpy as np
az.style.use('arviz-darkgrid')
az.plot_kde(np.random.rand(100), np.random.rand(100))
| 12.538462 | 53 | 0.650307 | 29 | 163 | 3.586207 | 0.62069 | 0.153846 | 0.230769 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.134969 | 163 | 12 | 54 | 13.583333 | 0.673759 | 0.177914 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
83609972eefc4a7ddcf363f8e89f7408af9885f3 | 115 | py | Python | backend/backend/urls.py | lucasrafaldini/SpaceXLaunches | abcd3686677bc3e25903bc2ed1e084e00090ba33 | [
"MIT"
] | 1 | 2021-09-21T17:51:11.000Z | 2021-09-21T17:51:11.000Z | backend/backend/urls.py | lucasrafaldini/SpaceXLaunches | abcd3686677bc3e25903bc2ed1e084e00090ba33 | [
"MIT"
] | 9 | 2020-06-06T00:42:57.000Z | 2022-02-27T17:29:18.000Z | backend/backend/urls.py | lucasrafaldini/SpaceXLaunches | abcd3686677bc3e25903bc2ed1e084e00090ba33 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from django.urls import include
urlpatterns = [url("api/", include("api.urls"))]
| 23 | 48 | 0.73913 | 17 | 115 | 5 | 0.529412 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 115 | 4 | 49 | 28.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
55e92561b0ff7599f7ae6a6d6d8a27dbdab535a8 | 63 | py | Python | reqinstall/commands/freeze/__init__.py | QualiSystems/reqinstall | 57268b185428b31368cb7246a20a6c7548fb44dc | [
"MIT"
] | null | null | null | reqinstall/commands/freeze/__init__.py | QualiSystems/reqinstall | 57268b185428b31368cb7246a20a6c7548fb44dc | [
"MIT"
] | null | null | null | reqinstall/commands/freeze/__init__.py | QualiSystems/reqinstall | 57268b185428b31368cb7246a20a6c7548fb44dc | [
"MIT"
] | null | null | null | from reqinstall.commands.freeze.freeze import PipFreezeCommand
| 31.5 | 62 | 0.888889 | 7 | 63 | 8 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.949153 | 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 | 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 | 5 |
55f88475538cbd35f162e1da477042bc863348a2 | 67 | py | Python | python/testData/inspections/PyMethodMayBeStaticInspection/documentedEmpty.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/inspections/PyMethodMayBeStaticInspection/documentedEmpty.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyMethodMayBeStaticInspection/documentedEmpty.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
def foo(self):
"""Do something"""
pass | 16.75 | 26 | 0.462687 | 8 | 67 | 3.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.38806 | 67 | 4 | 27 | 16.75 | 0.756098 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
364307863e32ccdc999357c039cf0832ac94b380 | 103 | py | Python | rboard/board/__init__.py | joalon/rboard | cc743d8c08837c20bcc9382655e36bb79aecd524 | [
"MIT"
] | null | null | null | rboard/board/__init__.py | joalon/rboard | cc743d8c08837c20bcc9382655e36bb79aecd524 | [
"MIT"
] | null | null | null | rboard/board/__init__.py | joalon/rboard | cc743d8c08837c20bcc9382655e36bb79aecd524 | [
"MIT"
] | null | null | null | from flask import Blueprint
blueprint = Blueprint('board', __name__)
from rboard.board import routes
| 17.166667 | 40 | 0.796117 | 13 | 103 | 6 | 0.615385 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 103 | 5 | 41 | 20.6 | 0.876404 | 0 | 0 | 0 | 0 | 0 | 0.048544 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
364dc99efa920ea79a2d2856b41d0a11a59412b1 | 68 | py | Python | social/actions.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 1,987 | 2015-01-01T16:12:45.000Z | 2022-03-29T14:24:25.000Z | social/actions.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 731 | 2015-01-01T22:55:25.000Z | 2022-03-10T15:07:51.000Z | virtual/lib/python3.6/site-packages/social/actions.py | dennismwaniki67/awards | 80ed10541f5f751aee5f8285ab1ad54cfecba95f | [
"MIT"
] | 1,082 | 2015-01-01T16:27:26.000Z | 2022-03-22T21:18:33.000Z | from social_core.actions import do_auth, do_complete, do_disconnect
| 34 | 67 | 0.867647 | 11 | 68 | 5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 68 | 1 | 68 | 68 | 0.887097 | 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 | 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 | 5 |
365f44e59be4486a64ab3380f2d229d1dcacfbe6 | 34 | py | Python | SmartAPI/__init__.py | Kreastr/SmartAPI-HEILA | 97dbe9e6e27267c60a4f94f60692d5f391e2ef7f | [
"BSD-2-Clause"
] | null | null | null | SmartAPI/__init__.py | Kreastr/SmartAPI-HEILA | 97dbe9e6e27267c60a4f94f60692d5f391e2ef7f | [
"BSD-2-Clause"
] | null | null | null | SmartAPI/__init__.py | Kreastr/SmartAPI-HEILA | 97dbe9e6e27267c60a4f94f60692d5f391e2ef7f | [
"BSD-2-Clause"
] | null | null | null | import sys
import site
import os
| 6.8 | 11 | 0.794118 | 6 | 34 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 4 | 12 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
36bbde81383cafa0b00f9d5defddc4acebc151af | 4,478 | py | Python | tests/enviroments_test/test_environments.py | DKE-Data/agrirouter-sdk-python | 6d6b26606f7d424c62289af56da55acf412772fc | [
"Apache-2.0"
] | null | null | null | tests/enviroments_test/test_environments.py | DKE-Data/agrirouter-sdk-python | 6d6b26606f7d424c62289af56da55acf412772fc | [
"Apache-2.0"
] | null | null | null | tests/enviroments_test/test_environments.py | DKE-Data/agrirouter-sdk-python | 6d6b26606f7d424c62289af56da55acf412772fc | [
"Apache-2.0"
] | null | null | null | """Test agrirouter/environments/environments.py"""
from agrirouter.environments.environments import ProductionEnvironment as PE
from agrirouter.environments.environments import QAEnvironment as QAE
from tests.constants import application_id
class TestPE:
def test_get_base_url(self):
assert PE().get_base_... | 42.245283 | 143 | 0.712818 | 587 | 4,478 | 4.957411 | 0.110733 | 0.052921 | 0.075601 | 0.062543 | 0.833333 | 0.76701 | 0.709966 | 0.691409 | 0.691409 | 0.691409 | 0 | 0.004397 | 0.18736 | 4,478 | 105 | 144 | 42.647619 | 0.795273 | 0.011166 | 0 | 0.455696 | 0 | 0.012658 | 0.116915 | 0.060606 | 0 | 0 | 0 | 0 | 0.278481 | 1 | 0.278481 | false | 0 | 0.037975 | 0 | 0.341772 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
36edb3403cd5d8abc890118c85bd880dd47b74ce | 198 | py | Python | Python/03 - Strings/String Formatting.py | sohammanjrekar/HackerRank | 1f5010133a1ac1e765e855a086053c97d9e958be | [
"MIT"
] | null | null | null | Python/03 - Strings/String Formatting.py | sohammanjrekar/HackerRank | 1f5010133a1ac1e765e855a086053c97d9e958be | [
"MIT"
] | null | null | null | Python/03 - Strings/String Formatting.py | sohammanjrekar/HackerRank | 1f5010133a1ac1e765e855a086053c97d9e958be | [
"MIT"
] | null | null | null | def print_formatted(number):
# your code goes here
for i in range(1, number +1):
width = len(f"{number:b}")
print(f"{i:{width}} {i:{width}o} {i:{width}X} {i:{width}b}")
| 33 | 69 | 0.545455 | 33 | 198 | 3.242424 | 0.575758 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013423 | 0.247475 | 198 | 5 | 70 | 39.6 | 0.704698 | 0.09596 | 0 | 0 | 0 | 0.25 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
7fce7a6d8d2ce871e7042ada46c6923907411052 | 257 | py | Python | api_python/app/models/classes_basicas/Empregado.py | uninassau-2020-2/proj-grupo5 | ea7ca233004860a432f7301c72bde03fccce5f92 | [
"CC0-1.0"
] | null | null | null | api_python/app/models/classes_basicas/Empregado.py | uninassau-2020-2/proj-grupo5 | ea7ca233004860a432f7301c72bde03fccce5f92 | [
"CC0-1.0"
] | null | null | null | api_python/app/models/classes_basicas/Empregado.py | uninassau-2020-2/proj-grupo5 | ea7ca233004860a432f7301c72bde03fccce5f92 | [
"CC0-1.0"
] | null | null | null | from app.models.classes_basicas.Pessoa import Pessoa
class Empregado(Pessoa):
id_empregado = None
def getIdEmpregado(self):
return self.id_empregado
def setIdEmpregado(self, id_empregado):
self.id_empregado = id_empregado | 23.363636 | 52 | 0.723735 | 31 | 257 | 5.806452 | 0.516129 | 0.305556 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210117 | 257 | 11 | 53 | 23.363636 | 0.8867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7fcf8c04bfee9a81a78aefffecb7fb16cd7ee1e5 | 19,028 | py | Python | suiko/createDiff.py | nakamura196/tei | 7aa62bc0603bbff03f96a3dbaad82d8feb6126ba | [
"Apache-2.0"
] | null | null | null | suiko/createDiff.py | nakamura196/tei | 7aa62bc0603bbff03f96a3dbaad82d8feb6126ba | [
"Apache-2.0"
] | null | null | null | suiko/createDiff.py | nakamura196/tei | 7aa62bc0603bbff03f96a3dbaad82d8feb6126ba | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import difflib
import xml.etree.ElementTree as ET
tmp_path = "data/template.xml"
prefix = ".//{http://www.tei-c.org/ns/1.0}"
xml = ".//{http://www.w3.org/XML/1998/namespace}"
tree = ET.parse(tmp_path)
ET.register_namespace('', "http://www.tei-c.org/ns/1.0")
root = tree.getroot()
body = root... | 184.737864 | 11,603 | 0.947393 | 417 | 19,028 | 43.199041 | 0.232614 | 0.006217 | 0.008327 | 0.00916 | 0.041801 | 0.040913 | 0.040913 | 0.040913 | 0.038914 | 0.038914 | 0 | 0.003717 | 0.024333 | 19,028 | 103 | 11,604 | 184.737864 | 0.966173 | 0.001104 | 0 | 0.408451 | 0 | 0 | 0.908503 | 0.869357 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028169 | 0 | 0.028169 | 0.014085 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3d372653470996da64ee3dcad6250a21dbd2e6ea | 52 | py | Python | zucchini/graders/exceptions.py | dbecker1/zucchini | 47eb9a40b47bb1b131dcfd0073596ccf8816562c | [
"Apache-2.0"
] | 3 | 2018-03-27T18:09:54.000Z | 2021-04-08T03:03:55.000Z | zucchini/graders/exceptions.py | dbecker1/zucchini | 47eb9a40b47bb1b131dcfd0073596ccf8816562c | [
"Apache-2.0"
] | 337 | 2017-12-17T13:22:26.000Z | 2022-03-28T02:05:09.000Z | zucchini/graders/exceptions.py | dbecker1/zucchini | 47eb9a40b47bb1b131dcfd0073596ccf8816562c | [
"Apache-2.0"
] | 7 | 2018-01-10T18:46:26.000Z | 2020-10-17T17:47:07.000Z | class InvalidGraderConfigError(Exception):
pass
| 17.333333 | 42 | 0.807692 | 4 | 52 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 2 | 43 | 26 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
3d3c48e30dea59b0f2566984a39668435562eafb | 10,007 | py | Python | tests/texts/declerations.py | Intsights/flake8-intsights | b3785a3be855e05090641696e0648486107dba72 | [
"MIT"
] | 12 | 2020-02-18T17:47:57.000Z | 2021-07-13T10:23:40.000Z | tests/texts/declerations.py | Intsights/flake8-intsights | b3785a3be855e05090641696e0648486107dba72 | [
"MIT"
] | 7 | 2020-02-25T12:14:11.000Z | 2020-12-01T08:14:58.000Z | tests/texts/declerations.py | Intsights/flake8-intsights | b3785a3be855e05090641696e0648486107dba72 | [
"MIT"
] | 1 | 2020-07-01T15:49:28.000Z | 2020-07-01T15:49:28.000Z | declerations_test_text_001 = '''
list1 = [
1,
]
'''
declerations_test_text_002 = '''
list1 = [
1,
2,
]
'''
declerations_test_text_003 = '''
tuple1 = (
1,
)
'''
declerations_test_text_004 = '''
tuple1 = (
1,
2,
)
'''
declerations_test_text_005 = '''
set1 = {
1,
}
'''
declerations_test_text_00... | 13.098168 | 47 | 0.540122 | 1,055 | 10,007 | 4.729858 | 0.194313 | 0.349499 | 0.436874 | 0.177956 | 0.582164 | 0.424249 | 0.236673 | 0.180561 | 0.136072 | 0.098397 | 0 | 0.074001 | 0.292395 | 10,007 | 763 | 48 | 13.115334 | 0.630702 | 0 | 0 | 0.578393 | 0 | 0 | 0.607874 | 0.009893 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.069829 | 0 | 0 | 0.02108 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e9ead4efec2b488b003bd50670c0f814058b8f19 | 29 | py | Python | router/tasks/__init__.py | smallwat3r/shopify-webhook-processor | 4f16017cb9695ca00eb6d95e4381a8442b3dc0e3 | [
"MIT"
] | 1 | 2021-08-30T14:01:03.000Z | 2021-08-30T14:01:03.000Z | router/tasks/__init__.py | smallwat3r/shopify-webhook-processor | 4f16017cb9695ca00eb6d95e4381a8442b3dc0e3 | [
"MIT"
] | null | null | null | router/tasks/__init__.py | smallwat3r/shopify-webhook-processor | 4f16017cb9695ca00eb6d95e4381a8442b3dc0e3 | [
"MIT"
] | 2 | 2021-08-30T14:01:04.000Z | 2021-09-07T01:07:41.000Z | from .tasks import Processor
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e9ee58711825a498c9db3c3f37e476c5e56bb0a6 | 282 | py | Python | auction/models/bidbasket.py | littlepea/django-auction | fe0219faabe17efbeca1be51869d750e82299941 | [
"MIT"
] | 10 | 2015-01-13T02:51:35.000Z | 2021-01-25T21:02:29.000Z | auction/models/bidbasket.py | JohnRomanski/django-auction | bc6982c8f34a9a6914badb203424eca7f3219685 | [
"MIT"
] | 2 | 2016-08-05T09:24:30.000Z | 2020-06-28T06:00:11.000Z | auction/models/bidbasket.py | JohnRomanski/django-auction | bc6982c8f34a9a6914badb203424eca7f3219685 | [
"MIT"
] | 22 | 2015-03-12T10:41:52.000Z | 2021-11-23T14:33:09.000Z | import importlib
from django.conf import settings
from auction.utils.loader import load_class
AUCTION_BIDBASKET_MODEL = getattr(settings, 'AUCTION_BIDBASKET_MODEL',
'auction.models.defaults.BidBasket')
BidBasket = load_class(AUCTION_BIDBASKET_MODEL, 'AUCTION_BIDBASKET_MODEL') | 35.25 | 74 | 0.840426 | 35 | 282 | 6.485714 | 0.457143 | 0.281938 | 0.370044 | 0.220264 | 0.264317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 282 | 8 | 74 | 35.25 | 0.879845 | 0 | 0 | 0 | 0 | 0 | 0.279152 | 0.279152 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a1119377e73c71b58b46883ef014d640d56156e5 | 117 | py | Python | garageofcode/semantic/main.py | tpi12jwe/garageofcode | 3cfaf01f6d77130bb354887e6ed9921c791db849 | [
"MIT"
] | 2 | 2020-02-11T10:32:06.000Z | 2020-02-11T17:00:47.000Z | garageofcode/semantic/main.py | tpi12jwe/garageofcode | 3cfaf01f6d77130bb354887e6ed9921c791db849 | [
"MIT"
] | null | null | null | garageofcode/semantic/main.py | tpi12jwe/garageofcode | 3cfaf01f6d77130bb354887e6ed9921c791db849 | [
"MIT"
] | null | null | null | def have(subj, obj):
subj.add(obj)
def change(subj, obj, state):
pass
if __name__ == '__main__':
main() | 14.625 | 29 | 0.606838 | 17 | 117 | 3.705882 | 0.647059 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 117 | 8 | 30 | 14.625 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a11589146f3d49dce0f6bfd0ac0a0e58ecd53f6f | 3,659 | py | Python | shopify_listener/dispatcher.py | smallwat3r/shopify-webhook-manager | 1161f070470bc2d2f81c98222b67300bc616121f | [
"MIT"
] | 6 | 2019-08-13T18:12:37.000Z | 2021-05-26T17:55:58.000Z | shopify_listener/dispatcher.py | smallwat3r/shopify-webhook-manager | 1161f070470bc2d2f81c98222b67300bc616121f | [
"MIT"
] | null | null | null | shopify_listener/dispatcher.py | smallwat3r/shopify-webhook-manager | 1161f070470bc2d2f81c98222b67300bc616121f | [
"MIT"
] | 4 | 2019-10-16T06:14:35.000Z | 2021-06-03T06:25:26.000Z | # -*- coding: utf-8 -*-
# @Author: Matthieu Petiteau
# @Date: 2019-04-26 21:01:07
# @Last Modified by: Matthieu Petiteau
# @Last Modified time: 2019-04-26 21:52:46
"""Dispatch webhook event to specific actions."""
import json
class Dispatcher:
"""Dispatch the different webhook events to the related functions... | 18.20398 | 70 | 0.622301 | 421 | 3,659 | 5.061758 | 0.251781 | 0.213984 | 0.289066 | 0.12764 | 0.430314 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011324 | 0.300082 | 3,659 | 200 | 71 | 18.295 | 0.820773 | 0.133096 | 0 | 0.463415 | 0 | 0 | 0.000959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.487805 | false | 0.463415 | 0.00813 | 0 | 0.520325 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
a174909b1f9a6d386413fccc83ffd4e52629d864 | 75,049 | py | Python | tests/unit/utils/test_docker.py | springborland/salt | bee85e477d57e9a171884e54fefb9a59d0835ed0 | [
"Apache-2.0"
] | 1 | 2020-04-09T03:25:10.000Z | 2020-04-09T03:25:10.000Z | tests/unit/utils/test_docker.py | springborland/salt | bee85e477d57e9a171884e54fefb9a59d0835ed0 | [
"Apache-2.0"
] | null | null | null | tests/unit/utils/test_docker.py | springborland/salt | bee85e477d57e9a171884e54fefb9a59d0835ed0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
tests.unit.utils.test_docker
============================
Test the funcs in salt.utils.docker and salt.utils.docker.translate
"""
# Import Python Libs
from __future__ import absolute_import, print_function, unicode_literals
import copy
import functools
import logging
import os
# Import sa... | 37.134587 | 88 | 0.514371 | 7,991 | 75,049 | 4.731698 | 0.073833 | 0.046177 | 0.075772 | 0.1206 | 0.801936 | 0.766735 | 0.736029 | 0.714977 | 0.69329 | 0.633387 | 0 | 0.046337 | 0.375128 | 75,049 | 2,020 | 89 | 37.15297 | 0.759937 | 0.170422 | 0 | 0.561352 | 0 | 0.007348 | 0.109755 | 0.020414 | 0 | 0 | 0 | 0 | 0.14989 | 1 | 0.077149 | false | 0 | 0.010287 | 0 | 0.115356 | 0.000735 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 | 5 |
a189a8ce0239f76496cb3c604a52bf52c941ff4e | 515 | py | Python | playing1.py | bert386/rpi-monitor-cam-led | d333a8313500be8150e59462df5482b307eb368d | [
"Apache-2.0"
] | null | null | null | playing1.py | bert386/rpi-monitor-cam-led | d333a8313500be8150e59462df5482b307eb368d | [
"Apache-2.0"
] | null | null | null | playing1.py | bert386/rpi-monitor-cam-led | d333a8313500be8150e59462df5482b307eb368d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Description:
Todo:
"""
import os
import sys
import logging
from collections import deque
from base_state import BaseState
class Playing1stState(BaseState):
""""""
def __init__(self, state_controller):
super().__init__(state_controller, self.in_state)
@BaseState.... | 16.612903 | 57 | 0.664078 | 59 | 515 | 5.508475 | 0.559322 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.223301 | 515 | 31 | 58 | 16.612903 | 0.8025 | 0.081553 | 0 | 0.125 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 1 | 0.25 | false | 0.125 | 0.3125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
a194ce5184afbac2e200ce258188a996d6313650 | 113 | py | Python | api/weibo/api/api.py | Eurkon/api | a51eae901e003ac6b94c04d12f1afeec00108256 | [
"MIT"
] | 5 | 2021-06-15T05:33:01.000Z | 2022-03-14T01:17:38.000Z | api/weibo/api/api.py | Eurkon/api | a51eae901e003ac6b94c04d12f1afeec00108256 | [
"MIT"
] | 1 | 2021-06-03T09:22:50.000Z | 2021-06-03T09:22:50.000Z | api/weibo/api/api.py | Eurkon/api | a51eae901e003ac6b94c04d12f1afeec00108256 | [
"MIT"
] | 1 | 2021-07-25T15:58:40.000Z | 2021-07-25T15:58:40.000Z | # -*- coding: utf-8 -*-
# @Author : Eurkon
# @Date : 2021/6/9 17:13
from api.weibo.api.top import weibo_top | 22.6 | 39 | 0.610619 | 19 | 113 | 3.578947 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 0.20354 | 113 | 5 | 39 | 22.6 | 0.633333 | 0.548673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a1acd3aad52a9f207d22596dfa16d615ad5b5b36 | 6,253 | py | Python | agents/hub_policy.py | floriandonhauser/TeBaG-RL | 0110087c97e4d67f739961e7320945da4b3d9592 | [
"MIT"
] | null | null | null | agents/hub_policy.py | floriandonhauser/TeBaG-RL | 0110087c97e4d67f739961e7320945da4b3d9592 | [
"MIT"
] | null | null | null | agents/hub_policy.py | floriandonhauser/TeBaG-RL | 0110087c97e4d67f739961e7320945da4b3d9592 | [
"MIT"
] | null | null | null | import tensorflow as tf
import tensorflow_hub as hub
from tf_agents.networks import network
# Bert needs this (I think) TODO: Check?
import tensorflow_text as text
embedding = "https://tfhub.dev/google/nnlm-en-dim128-with-normalization/2"
tfhub_handle_encoder = (
"https://tfhub.dev/tensorflow/small_bert/bert_en_u... | 40.869281 | 120 | 0.669119 | 845 | 6,253 | 4.704142 | 0.172781 | 0.042264 | 0.042516 | 0.036226 | 0.786415 | 0.737107 | 0.730566 | 0.720755 | 0.702893 | 0.646541 | 0 | 0.017457 | 0.221334 | 6,253 | 152 | 121 | 41.138158 | 0.798932 | 0.181673 | 0 | 0.586957 | 0 | 0 | 0.047629 | 0 | 0 | 0 | 0 | 0.006579 | 0.021739 | 1 | 0.043478 | false | 0 | 0.043478 | 0 | 0.130435 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a1be9584512b198578c74cac68370142c4a6feeb | 121 | py | Python | tuinwolk/server/daemons/tuinwolk_daemon.py | TuinfeesT/TuinWolk | 0af0321948f4f573d8eb5ad1b87ea42bfa6644e1 | [
"MIT"
] | 1 | 2017-09-08T02:34:22.000Z | 2017-09-08T02:34:22.000Z | tuinwolk/server/daemons/tuinwolk_daemon.py | TuinfeesT/TuinWolk | 0af0321948f4f573d8eb5ad1b87ea42bfa6644e1 | [
"MIT"
] | null | null | null | tuinwolk/server/daemons/tuinwolk_daemon.py | TuinfeesT/TuinWolk | 0af0321948f4f573d8eb5ad1b87ea42bfa6644e1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import daemon
class TuinWolkDaemon(daemon.Daemon):
def run(self):
#TODO: implement me!
pass
| 13.444444 | 36 | 0.719008 | 17 | 121 | 5.117647 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157025 | 121 | 8 | 37 | 15.125 | 0.852941 | 0.322314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a1e6051e4e110799735dcb4615879dd95634d238 | 107 | py | Python | swagger_client/apis/__init__.py | sendx/sendx-api-python | edce9755d3718efb12cb5493da7cbac961cb1d9b | [
"Apache-2.0"
] | null | null | null | swagger_client/apis/__init__.py | sendx/sendx-api-python | edce9755d3718efb12cb5493da7cbac961cb1d9b | [
"Apache-2.0"
] | null | null | null | swagger_client/apis/__init__.py | sendx/sendx-api-python | edce9755d3718efb12cb5493da7cbac961cb1d9b | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# import apis into api package
from .contact_api import ContactApi
| 21.4 | 38 | 0.841121 | 15 | 107 | 5.6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 4 | 39 | 26.75 | 0.913043 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b811d6fa0121474e3b20b511fc6bfce131c9ffa7 | 440 | py | Python | calc-app/input_console.py | t4d-classes/python_10042021 | e2c28448ad66784c429655ab766f902b76d6ac79 | [
"MIT"
] | null | null | null | calc-app/input_console.py | t4d-classes/python_10042021 | e2c28448ad66784c429655ab766f902b76d6ac79 | [
"MIT"
] | null | null | null | calc-app/input_console.py | t4d-classes/python_10042021 | e2c28448ad66784c429655ab766f902b76d6ac79 | [
"MIT"
] | null | null | null | from common.input import input_int, input_float
def get_operand():
return input_float("Please enter an operand: ")
def get_command():
return input("Enter a command: ")
def get_history_entry_id():
return input_int("Please enter a history entry id: ")
def get_history_file_name():
return input("Ent... | 20 | 57 | 0.725 | 66 | 440 | 4.590909 | 0.318182 | 0.09901 | 0.158416 | 0.168317 | 0.211221 | 0.211221 | 0.211221 | 0 | 0 | 0 | 0 | 0 | 0.179545 | 440 | 21 | 58 | 20.952381 | 0.839335 | 0 | 0 | 0 | 0 | 0 | 0.309091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | true | 0 | 0.090909 | 0.454545 | 1 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b812c3ba84401bea4ea454da2ee284c224fe8b47 | 44 | py | Python | lib/connection/RequestException.py | Karaya-12/Website-Dir-Scanner | 04b150524631e2fff00a319b7daab7f4d32ddb18 | [
"MIT"
] | 3 | 2019-09-30T07:12:58.000Z | 2020-08-15T10:50:51.000Z | emailrep/exceptions.py | pry0cc/emailrep.io-python | c33839d327d438e75b4e6eea462ab15677462d54 | [
"MIT"
] | null | null | null | emailrep/exceptions.py | pry0cc/emailrep.io-python | c33839d327d438e75b4e6eea462ab15677462d54 | [
"MIT"
] | 1 | 2019-08-22T15:35:11.000Z | 2019-08-22T15:35:11.000Z | class RequestException(Exception):
pass
| 14.666667 | 34 | 0.772727 | 4 | 44 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 35 | 22 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6299c0fed43754304eadd3c72255fa97d06e27b5 | 119 | py | Python | pyimagesearch/utils/__init__.py | agoila/lisa-faster-R-CNN | 3b88c9b7da2106a805089f9619ea62cdc1f21d99 | [
"MIT"
] | 17 | 2018-09-09T10:56:58.000Z | 2022-02-22T07:18:50.000Z | pyimagesearch/utils/__init__.py | agoila/lisa-faster-R-CNN | 3b88c9b7da2106a805089f9619ea62cdc1f21d99 | [
"MIT"
] | null | null | null | pyimagesearch/utils/__init__.py | agoila/lisa-faster-R-CNN | 3b88c9b7da2106a805089f9619ea62cdc1f21d99 | [
"MIT"
] | 21 | 2018-09-19T11:07:10.000Z | 2022-02-22T07:18:45.000Z | # import the necessary packages
from .agegenderhelper import AgeGenderHelper
from .imagenethelper import ImageNetHelper | 39.666667 | 44 | 0.87395 | 12 | 119 | 8.666667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 119 | 3 | 45 | 39.666667 | 0.971963 | 0.243697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
62d30bbb6f283ca534cedc754312f5c27d2a329b | 141 | py | Python | Tuples.py | PiggyAwesome/Learn-Python-Full-Course-for-Beginners-Tutorial-code | c164492a757cb825b73af1014f95aef884ac49af | [
"Unlicense"
] | 2 | 2021-08-11T15:53:16.000Z | 2021-09-13T13:43:59.000Z | Tuples.py | PiggyAwesome/Learn-Python-Full-Course-for-Beginners-Tutorial-code | c164492a757cb825b73af1014f95aef884ac49af | [
"Unlicense"
] | null | null | null | Tuples.py | PiggyAwesome/Learn-Python-Full-Course-for-Beginners-Tutorial-code | c164492a757cb825b73af1014f95aef884ac49af | [
"Unlicense"
] | null | null | null | # Tuples
coordinates = (4, 5) # Cant be changed or modified
print(coordinates[1])
# coordinates[1] = 10
# print(coordinates[1])
| 14.1 | 51 | 0.638298 | 18 | 141 | 5 | 0.666667 | 0.4 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06422 | 0.22695 | 141 | 9 | 52 | 15.666667 | 0.761468 | 0.539007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
62fd39c0aafef0a38c14c50d32b531ce3872cae4 | 17,658 | py | Python | tests/unit/utils/test_win_system.py | markgras/salt | d66cd3c935533c63870b83228b978ce43e0ef70d | [
"Apache-2.0"
] | 9,425 | 2015-01-01T05:59:24.000Z | 2022-03-31T20:44:05.000Z | tests/unit/utils/test_win_system.py | markgras/salt | d66cd3c935533c63870b83228b978ce43e0ef70d | [
"Apache-2.0"
] | 33,507 | 2015-01-01T00:19:56.000Z | 2022-03-31T23:48:20.000Z | tests/unit/utils/test_win_system.py | markgras/salt | d66cd3c935533c63870b83228b978ce43e0ef70d | [
"Apache-2.0"
] | 5,810 | 2015-01-01T19:11:45.000Z | 2022-03-31T02:37:20.000Z | import os
import salt.utils.platform
from tests.support.mock import patch
from tests.support.unit import TestCase, skipIf
try:
import salt.utils.win_system as win_system
except Exception as exc: # pylint: disable=broad-except
win_system = exc
class WinSystemImportTestCase(TestCase):
"""
Simply impo... | 41.942993 | 87 | 0.64979 | 2,129 | 17,658 | 5.070925 | 0.076092 | 0.089848 | 0.088922 | 0.122823 | 0.809652 | 0.784272 | 0.736013 | 0.700537 | 0.673768 | 0.655613 | 0 | 0.002505 | 0.253823 | 17,658 | 420 | 88 | 42.042857 | 0.816864 | 0.128214 | 0 | 0.532319 | 0 | 0 | 0.265868 | 0.216508 | 0 | 0 | 0 | 0 | 0.136882 | 1 | 0.136882 | false | 0 | 0.030418 | 0 | 0.174905 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 | 5 |
1a0cfe1974d3fead0e36d406bfbe33d55d632379 | 6,981 | py | Python | marc_5gempower/run_5gempower.py | arled-papa/marc | cb94636d786e215195e914b37131277f835bcf52 | [
"Apache-2.0"
] | 1 | 2021-11-30T00:07:28.000Z | 2021-11-30T00:07:28.000Z | marc_5gempower/run_5gempower.py | arled-papa/marc | cb94636d786e215195e914b37131277f835bcf52 | [
"Apache-2.0"
] | null | null | null | marc_5gempower/run_5gempower.py | arled-papa/marc | cb94636d786e215195e914b37131277f835bcf52 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
#
# Copyright (c) 2021 Arled Papa
# Author: Arled Papa <arled.papa@tum.de>
#
# 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... | 56.756098 | 116 | 0.627847 | 1,242 | 6,981 | 3.491143 | 0.238325 | 0.404059 | 0.396448 | 0.230627 | 0.377306 | 0.365314 | 0 | 0 | 0 | 0 | 0 | 0.253787 | 0.196247 | 6,981 | 122 | 117 | 57.221311 | 0.518981 | 0.171895 | 0 | 0 | 0 | 0 | 0.477035 | 0.457404 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014286 | false | 0.014286 | 0.071429 | 0 | 0.085714 | 0.028571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1a286a917af5eacc1b12d3158f1106f90974b451 | 252 | py | Python | lightnn/base/__init__.py | tongluocq/lightnn | 602b0742d1141efc73a7146c930c5ea9eb994d37 | [
"Apache-2.0"
] | 131 | 2017-04-05T06:03:25.000Z | 2021-05-20T03:05:36.000Z | ch4/lightnn/lightnn/base/__init__.py | helloqorld/book-of-qna-code | 54950478fb28d15cd73dae4dc39f3cd783721e08 | [
"Apache-2.0"
] | 27 | 2018-11-26T07:39:25.000Z | 2022-02-09T23:44:53.000Z | ch4/lightnn/lightnn/base/__init__.py | helloqorld/book-of-qna-code | 54950478fb28d15cd73dae4dc39f3cd783721e08 | [
"Apache-2.0"
] | 62 | 2018-11-26T07:44:02.000Z | 2022-01-13T08:31:00.000Z | #!/usr/bin/env python
# coding=utf-8
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .activations import *
from .losses import *
from .initializers import *
from .optimizers import *
| 19.384615 | 38 | 0.797619 | 33 | 252 | 5.666667 | 0.545455 | 0.213904 | 0.256684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004608 | 0.138889 | 252 | 12 | 39 | 21 | 0.857143 | 0.130952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.142857 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c556a7e2e7f0a44508e2fef82666c7378cbf88cf | 226 | py | Python | ninja/security/__init__.py | lsaavedr/django-ninja | caa182007368bb0fed85b184fb0583370e9589b4 | [
"MIT"
] | null | null | null | ninja/security/__init__.py | lsaavedr/django-ninja | caa182007368bb0fed85b184fb0583370e9589b4 | [
"MIT"
] | null | null | null | ninja/security/__init__.py | lsaavedr/django-ninja | caa182007368bb0fed85b184fb0583370e9589b4 | [
"MIT"
] | null | null | null | from ninja.security.apikey import APIKeyQuery, APIKeyCookie, APIKeyHeader
from ninja.security.http import HttpBearer, HttpBasicAuth
def django_auth(request):
if request.user.is_authenticated:
return request.user
| 28.25 | 73 | 0.800885 | 27 | 226 | 6.62963 | 0.740741 | 0.100559 | 0.189944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137168 | 226 | 7 | 74 | 32.285714 | 0.917949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c567629ea21a15f16d30ea7895f7a40e8e344679 | 80,085 | py | Python | pyeccodes/defs/grib2/localConcepts/cnmc/name_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 7 | 2020-04-14T09:41:17.000Z | 2021-08-06T09:38:19.000Z | pyeccodes/defs/grib2/localConcepts/cnmc/name_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | null | null | null | pyeccodes/defs/grib2/localConcepts/cnmc/name_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 3 | 2020-04-30T12:44:48.000Z | 2020-12-15T08:40:26.000Z | import pyeccodes.accessors as _
def load(h):
def wrapped(h):
discipline = h.get_l('discipline')
parameterCategory = h.get_l('parameterCategory')
parameterNumber = h.get_l('parameterNumber')
instrumentType = h.get_l('instrumentType')
satelliteSeries = h.get_l('satelliteSer... | 66.7375 | 355 | 0.700893 | 8,164 | 80,085 | 6.871999 | 0.063817 | 0.029802 | 0.061173 | 0.07529 | 0.901627 | 0.870399 | 0.849527 | 0.782668 | 0.685418 | 0.621642 | 0 | 0.055447 | 0.228457 | 80,085 | 1,199 | 356 | 66.793161 | 0.85253 | 0 | 0 | 0.114856 | 0 | 0 | 0.167072 | 0.003921 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002497 | false | 0 | 0.001248 | 0 | 0.491885 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 | 5 |
3d9a1b0edafd4fb0b37e8206295d03027352213c | 18 | py | Python | mltk/marl/algorithms/__init__.py | lqf96/mltk | 7187be5d616781695ee68674cd335fbb5a237ccc | [
"MIT"
] | null | null | null | mltk/marl/algorithms/__init__.py | lqf96/mltk | 7187be5d616781695ee68674cd335fbb5a237ccc | [
"MIT"
] | 2 | 2019-12-24T01:54:21.000Z | 2019-12-24T02:23:54.000Z | mltk/marl/algorithms/__init__.py | lqf96/mltk | 7187be5d616781695ee68674cd335fbb5a237ccc | [
"MIT"
] | null | null | null | from .phc import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3da40761377898e0edc360572dbd5d864963e85c | 4,232 | py | Python | crime_data/resources/incidents.py | 18F/crime-data-api | 3e8cab0fad4caac1d7d8ef1b62ae7a1441752c6c | [
"CC0-1.0"
] | 51 | 2016-09-16T00:37:56.000Z | 2022-01-22T03:48:24.000Z | crime_data/resources/incidents.py | harrisj/crime-data-api | 9b49b5cc3cd8309dda888f49356ee5168c43851a | [
"CC0-1.0"
] | 605 | 2016-09-15T19:16:49.000Z | 2018-01-18T20:46:39.000Z | crime_data/resources/incidents.py | harrisj/crime-data-api | 9b49b5cc3cd8309dda888f49356ee5168c43851a | [
"CC0-1.0"
] | 12 | 2018-01-18T21:15:34.000Z | 2022-02-17T10:09:40.000Z | from webargs.flaskparser import use_args
from itertools import filterfalse
from crime_data.common import cdemodels, marshmallow_schemas, models, newmodels
from crime_data.common.base import CdeResource, tuning_page, ExplorerOffenseMapping
from crime_data.extensions import DEFAULT_MAX_AGE
from flask.ext.cachecontrol imp... | 41.087379 | 157 | 0.708176 | 502 | 4,232 | 5.7251 | 0.207171 | 0.099165 | 0.022617 | 0.033055 | 0.768963 | 0.768963 | 0.768963 | 0.767571 | 0.767571 | 0.753653 | 0 | 0.002055 | 0.19518 | 4,232 | 102 | 158 | 41.490196 | 0.84175 | 0.072779 | 0 | 0.693333 | 0 | 0 | 0.044206 | 0.005493 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.093333 | 0 | 0.386667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3dbf87737162b90ca8a50c6b75c42c1a4829f712 | 6,159 | py | Python | test/test_auth.py | tjones-commits/server-client-python | b9309fb79564de9f28196b929ee77b0e77a8f504 | [
"CC0-1.0",
"MIT"
] | 470 | 2016-09-14T23:38:48.000Z | 2022-03-31T07:59:53.000Z | test/test_auth.py | jorwoods/server-client-python | fefd6f18d8a6617829c6323879d2c3ed77a4cda6 | [
"CC0-1.0",
"MIT"
] | 772 | 2016-09-09T18:15:44.000Z | 2022-03-31T22:01:08.000Z | test/test_auth.py | jorwoods/server-client-python | fefd6f18d8a6617829c6323879d2c3ed77a4cda6 | [
"CC0-1.0",
"MIT"
] | 346 | 2016-09-10T00:05:00.000Z | 2022-03-30T18:55:47.000Z | import unittest
import os.path
import requests_mock
import tableauserverclient as TSC
TEST_ASSET_DIR = os.path.join(os.path.dirname(__file__), 'assets')
SIGN_IN_XML = os.path.join(TEST_ASSET_DIR, 'auth_sign_in.xml')
SIGN_IN_IMPERSONATE_XML = os.path.join(TEST_ASSET_DIR, 'auth_sign_in_impersonate.xml')
SIGN_IN_ERROR_X... | 49.272 | 117 | 0.664069 | 790 | 6,159 | 4.946835 | 0.139241 | 0.092119 | 0.071648 | 0.032242 | 0.816018 | 0.776868 | 0.729273 | 0.704964 | 0.697544 | 0.685773 | 0 | 0.058326 | 0.21221 | 6,159 | 124 | 118 | 49.669355 | 0.747115 | 0 | 0 | 0.542857 | 0 | 0 | 0.156844 | 0.102776 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.095238 | false | 0.047619 | 0.038095 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 | 5 |
3dd524d8e59e2c8188892e7a7fe2e15518d2a46b | 5,294 | py | Python | depthaware/data/sunrgbd_dataset.py | crmauceri/DepthAwareCNN-pytorch1.5 | 6d9b0cf001d7482df7d4cd7240fc36cbfc8356f9 | [
"MIT"
] | 3 | 2021-03-11T01:24:37.000Z | 2021-06-29T03:46:40.000Z | depthaware/data/sunrgbd_dataset.py | crmauceri/DepthAwareCNN-pytorch1.5 | 6d9b0cf001d7482df7d4cd7240fc36cbfc8356f9 | [
"MIT"
] | null | null | null | depthaware/data/sunrgbd_dataset.py | crmauceri/DepthAwareCNN-pytorch1.5 | 6d9b0cf001d7482df7d4cd7240fc36cbfc8356f9 | [
"MIT"
] | null | null | null | import os.path
from depthaware.data.base_dataset import *
from PIL import Image
import time
def make_dataset_fromlst(dataroot, listfilename):
"""
NYUlist format:
imagepath seglabelpath depthpath HHApath
"""
images = []
segs = []
depths = []
HHAs = []
with open(listfilename) as f:
... | 44.116667 | 113 | 0.647526 | 679 | 5,294 | 4.886598 | 0.178203 | 0.052743 | 0.054852 | 0.082278 | 0.773357 | 0.773357 | 0.773357 | 0.755877 | 0.710066 | 0.682942 | 0 | 0.015025 | 0.207971 | 5,294 | 119 | 114 | 44.487395 | 0.776294 | 0.090102 | 0 | 0.658824 | 0 | 0 | 0.043687 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 1 | 0.105882 | false | 0 | 0.047059 | 0.047059 | 0.258824 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9a735bf957ffc30fea6d0bb1fe8f079ce7582eb6 | 23,569 | py | Python | extern/face_expression/face_expression/dataset.py | wangxihao/rgbd-kinect-pose | 03180723c99759ba2500bcd42b5fe7a1d26eb507 | [
"MIT"
] | 1 | 2022-02-07T06:12:26.000Z | 2022-02-07T06:12:26.000Z | extern/face_expression/face_expression/dataset.py | wangxihao/rgbd-kinect-pose | 03180723c99759ba2500bcd42b5fe7a1d26eb507 | [
"MIT"
] | null | null | null | extern/face_expression/face_expression/dataset.py | wangxihao/rgbd-kinect-pose | 03180723c99759ba2500bcd42b5fe7a1d26eb507 | [
"MIT"
] | null | null | null | import os
import sys
import json
import pickle
import h5py
from tqdm import tqdm
import numpy as np
import torch
import cv2
import scipy.spatial
import hydra
from face_expression import utils
from face_expression.third_party.face_mesh_mediapipe import FaceMeshMediaPipe
# class VoxCeleb2FaceDataset(torch.utils.data... | 37.058176 | 125 | 0.566252 | 2,845 | 23,569 | 4.429877 | 0.093849 | 0.075934 | 0.038086 | 0.043164 | 0.794493 | 0.758946 | 0.74879 | 0.726018 | 0.704912 | 0.690391 | 0 | 0.028516 | 0.321524 | 23,569 | 635 | 126 | 37.116535 | 0.759615 | 0.465909 | 0 | 0.092437 | 0 | 0 | 0.057405 | 0.007145 | 0 | 0 | 0 | 0 | 0.004202 | 1 | 0.05042 | false | 0 | 0.054622 | 0.004202 | 0.147059 | 0.037815 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9a760367155f89800e9ffffd081d1132a56544e5 | 194 | py | Python | scripts/item/consume_2432803.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/item/consume_2432803.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/item/consume_2432803.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | # Princess No Damage Skin (30-Days)
success = sm.addDamageSkin(2432803)
if success:
sm.chat("The Princess No Damage Skin (30-Days) has been added to your account's damage skin collection.")
| 38.8 | 109 | 0.747423 | 31 | 194 | 4.677419 | 0.677419 | 0.206897 | 0.22069 | 0.275862 | 0.358621 | 0.358621 | 0 | 0 | 0 | 0 | 0 | 0.067073 | 0.154639 | 194 | 4 | 110 | 48.5 | 0.817073 | 0.170103 | 0 | 0 | 0 | 0.333333 | 0.591195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9a801f3178565c7f1b1008bb487a050d3079d8d5 | 448 | py | Python | rush_hour/test_solution.py | ssebastianj/taip-2014 | 2a0e62c4bf755ff752136350c246456d65a8c3eb | [
"MIT"
] | null | null | null | rush_hour/test_solution.py | ssebastianj/taip-2014 | 2a0e62c4bf755ff752136350c246456d65a8c3eb | [
"MIT"
] | null | null | null | rush_hour/test_solution.py | ssebastianj/taip-2014 | 2a0e62c4bf755ff752136350c246456d65a8c3eb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
import pytest
from .solution import calc_minimum_travels
class CalcMininumTravelsTestCase(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def test_calc_minimum_travels(self):
assert calc_minimum_travels([4, 5, 2, 3, 1])... | 23.578947 | 69 | 0.638393 | 63 | 448 | 4.365079 | 0.460317 | 0.2 | 0.327273 | 0.261818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061584 | 0.238839 | 448 | 18 | 70 | 24.888889 | 0.744868 | 0.046875 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0.166667 | 0.25 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
9a90d892378e62b46598d590087d4afcc5ce7a6c | 269 | py | Python | NeoAnalysis_Py2.7/NeoAnalysis/__init__.py | Research-lab-KUMS/NeoAnalysis | 32b508dfade3069b1ec5cc7664574b8d3f2d5f57 | [
"MIT"
] | 23 | 2017-09-04T13:20:38.000Z | 2022-03-08T08:15:17.000Z | NeoAnalysis_Py2.7/NeoAnalysis/__init__.py | Research-lab-KUMS/NeoAnalysis | 32b508dfade3069b1ec5cc7664574b8d3f2d5f57 | [
"MIT"
] | 4 | 2018-01-05T13:44:29.000Z | 2021-09-30T17:08:15.000Z | NeoAnalysis_Py2.7/NeoAnalysis/__init__.py | neoanalysis/NeoAnalysis | c5f25b71e16997f3a05f70b1eead11f99a3b7e2b | [
"MIT"
] | 5 | 2017-11-26T19:40:46.000Z | 2021-03-11T17:25:23.000Z | __version__ = '0.10.0'
from NeoAnalysis.spikedetection import SpikeDetection
from NeoAnalysis.spikesorting import SpikeSorting
from NeoAnalysis.analogfilter import AnalogFilter
from NeoAnalysis.graphics import Graphics
from NeoAnalysis.popuanalysis import PopuAnalysis
| 38.428571 | 53 | 0.877323 | 29 | 269 | 8 | 0.37931 | 0.323276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0.085502 | 269 | 6 | 54 | 44.833333 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0.022305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9ac5612f4d7fef57c2d92d9c354db5aaef44d59e | 1,020 | py | Python | Modo/Kits/OD_ModoCopyPasteExternal/lxserv/cmd_copyToExternal.py | heimlich1024/OD_CopyPasteExternal | 943b993198e16d19f1fb4ba44049e498abf1e993 | [
"Apache-2.0"
] | 278 | 2017-04-27T18:44:06.000Z | 2022-03-31T02:49:42.000Z | Modo/Kits/OD_ModoCopyPasteExternal/lxserv/cmd_copyToExternal.py | heimlich1024/OD_CopyPasteExternal | 943b993198e16d19f1fb4ba44049e498abf1e993 | [
"Apache-2.0"
] | 57 | 2017-05-01T11:58:41.000Z | 2022-02-06T18:43:13.000Z | Modo/Kits/OD_ModoCopyPasteExternal/lxserv/cmd_copyToExternal.py | heimlich1024/OD_CopyPasteExternal | 943b993198e16d19f1fb4ba44049e498abf1e993 | [
"Apache-2.0"
] | 49 | 2017-04-28T19:24:14.000Z | 2022-03-12T15:17:13.000Z | ################################################################################
#
# cmd_copyToExternal.py
#
# Author: Oliver Hotz | Chris Sprance
#
# Description: Copies Geo/Weights/Morphs/UV's to External File
#
# Last Update:
#
###############################################################################... | 23.72093 | 81 | 0.560784 | 106 | 1,020 | 5.150943 | 0.54717 | 0.07326 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210784 | 1,020 | 42 | 82 | 24.285714 | 0.678261 | 0.160784 | 0 | 0 | 0 | 0 | 0.026439 | 0 | 0 | 0 | 0 | 0.02381 | 0 | 1 | 0.315789 | false | 0.052632 | 0.210526 | 0.105263 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
9ac8a3896499bd8c6da3c5ab7c320fbd74dda4ff | 111 | py | Python | aiophotoprism/__init__.py | zhulik/aiophotoprism | 91cc263ffbd85c7dc7ccef6d4cdafdfdaf2a4c85 | [
"MIT"
] | 4 | 2021-08-09T05:02:23.000Z | 2022-01-30T03:04:29.000Z | aiophotoprism/__init__.py | zhulik/aiophotoprism | 91cc263ffbd85c7dc7ccef6d4cdafdfdaf2a4c85 | [
"MIT"
] | null | null | null | aiophotoprism/__init__.py | zhulik/aiophotoprism | 91cc263ffbd85c7dc7ccef6d4cdafdfdaf2a4c85 | [
"MIT"
] | null | null | null | """Asynchronous Python client for the Photoprism REST API."""
from .photoprism import API, Photoprism # noqa
| 27.75 | 61 | 0.756757 | 14 | 111 | 6 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 111 | 3 | 62 | 37 | 0.893617 | 0.54955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9ae9dc9146555c9b41506690dc497c2bf3438943 | 170 | py | Python | commands/cmd_invite.py | cygnus-dev/python01 | e0111ef7031f2c931d433d3dc6449c6740a7880e | [
"MIT"
] | null | null | null | commands/cmd_invite.py | cygnus-dev/python01 | e0111ef7031f2c931d433d3dc6449c6740a7880e | [
"MIT"
] | 4 | 2021-06-08T22:27:42.000Z | 2022-03-12T00:51:07.000Z | commands/cmd_invite.py | cygnus-dev/python01 | e0111ef7031f2c931d433d3dc6449c6740a7880e | [
"MIT"
] | null | null | null |
async def run(ctx):
await ctx.send(''' `bot invite link:`
<https://discord.com/api/oauth2/authorize?client_id=732933945057869867&permissions=538569921&scope=bot>''') | 42.5 | 107 | 0.747059 | 23 | 170 | 5.478261 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178344 | 0.076471 | 170 | 4 | 107 | 42.5 | 0.624204 | 0 | 0 | 0 | 0 | 0.333333 | 0.723529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b1367245e5290f368fa75d027c1ba49c8fa30f4e | 5,061 | py | Python | src/compare_eval.py | gccrpm/cdmf | 5fca1393acbedbbd6ebc65bf2c9336645cc3e0fc | [
"BSD-2-Clause"
] | 1 | 2020-04-16T05:06:39.000Z | 2020-04-16T05:06:39.000Z | src/compare_eval.py | gccrpm/cdmf | 5fca1393acbedbbd6ebc65bf2c9336645cc3e0fc | [
"BSD-2-Clause"
] | null | null | null | src/compare_eval.py | gccrpm/cdmf | 5fca1393acbedbbd6ebc65bf2c9336645cc3e0fc | [
"BSD-2-Clause"
] | 1 | 2020-04-16T05:06:52.000Z | 2020-04-16T05:06:52.000Z | import os
import re
import hyperparams as hp
from data_load import DataLoad
from tqdm import tqdm
import numpy as np
import pandas as pd
import tensorflow as tf
def load_ckpt_paths(model_name='cdmf'):
# get ckpt
ckpt_path = '../model_ckpt/compare/{}/'.format(model_name)
fpaths = []
with open(ckpt_pat... | 40.814516 | 87 | 0.538234 | 634 | 5,061 | 3.929022 | 0.20347 | 0.038539 | 0.078683 | 0.089924 | 0.719791 | 0.703733 | 0.703733 | 0.703733 | 0.703733 | 0.703733 | 0 | 0.007899 | 0.37463 | 5,061 | 124 | 88 | 40.814516 | 0.779147 | 0.040308 | 0 | 0.632653 | 0 | 0 | 0.065621 | 0.005159 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010204 | false | 0 | 0.102041 | 0 | 0.122449 | 0.020408 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b17694133578e1b1a9c1c195cbd91ca5e72b6295 | 181 | py | Python | test/conftest.py | PlaidCloud/sqlalchemy-greenplum | b40beeee8b775290b262d3b9989e8faeba8b2d20 | [
"BSD-3-Clause"
] | 6 | 2019-05-10T18:31:05.000Z | 2021-09-08T16:59:46.000Z | test/conftest.py | PlaidCloud/sqlalchemy-greenplum | b40beeee8b775290b262d3b9989e8faeba8b2d20 | [
"BSD-3-Clause"
] | 2 | 2018-06-04T23:28:16.000Z | 2022-03-08T14:20:14.000Z | test/conftest.py | PlaidCloud/sqlalchemy-greenplum | b40beeee8b775290b262d3b9989e8faeba8b2d20 | [
"BSD-3-Clause"
] | 1 | 2019-06-13T10:12:44.000Z | 2019-06-13T10:12:44.000Z |
from sqlalchemy.dialects import registry
registry.register("greenplum", "sqlalchemy_greenplum.dialect", "GreenplumDialect")
from sqlalchemy.testing.plugin.pytestplugin import *
| 22.625 | 82 | 0.823204 | 18 | 181 | 8.222222 | 0.666667 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082873 | 181 | 7 | 83 | 25.857143 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0.296089 | 0.156425 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b19b3f7c4a68fc939bc0e963cc37d4583121c7aa | 111 | py | Python | Game22/modules/online/__init__.py | ttkaixin1998/pikachupythongames | 609a3a5a2be3f5a187c332c7980bb5bb14548f02 | [
"MIT"
] | 4,013 | 2018-06-16T08:00:02.000Z | 2022-03-30T11:48:14.000Z | Game22/modules/online/__init__.py | pigbearcat/Games | b8c47ef1bcce9a9db3f3730c162e6e8e08b508a2 | [
"MIT"
] | 22 | 2018-10-18T00:15:50.000Z | 2022-01-13T08:16:15.000Z | Game22/modules/online/__init__.py | pigbearcat/Games | b8c47ef1bcce9a9db3f3730c162e6e8e08b508a2 | [
"MIT"
] | 2,172 | 2018-07-20T04:03:14.000Z | 2022-03-31T14:18:29.000Z | '''初始化'''
from .server import gobangSever
from .client import gobangClient
from .playOnline import playOnlineUI | 27.75 | 36 | 0.810811 | 13 | 111 | 6.923077 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 111 | 4 | 36 | 27.75 | 0.909091 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b19eba8650f17954158c7ab292c05abfa2a4065c | 44 | py | Python | src/basics/files/delete_fichero.py | FoxNeo/MyPythonProjects | 3499ef0853f0087f6f143e1633b0a88a3d7b9818 | [
"MIT"
] | null | null | null | src/basics/files/delete_fichero.py | FoxNeo/MyPythonProjects | 3499ef0853f0087f6f143e1633b0a88a3d7b9818 | [
"MIT"
] | null | null | null | src/basics/files/delete_fichero.py | FoxNeo/MyPythonProjects | 3499ef0853f0087f6f143e1633b0a88a3d7b9818 | [
"MIT"
] | null | null | null | import os
os.remove("fichero_generado.txt") | 14.666667 | 33 | 0.795455 | 7 | 44 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 3 | 33 | 14.666667 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
494e7be275c169f4f4b49f4a379016a1594a2a8b | 135 | py | Python | quicksilver.py | binaryflesh/quicksilver | 0d65259f305beb05efe00f096e48c41b62bfdf57 | [
"MIT"
] | 1 | 2018-12-01T07:52:13.000Z | 2018-12-01T07:52:13.000Z | quicksilver.py | binaryflesh/quicksilver | 0d65259f305beb05efe00f096e48c41b62bfdf57 | [
"MIT"
] | 7 | 2018-12-02T23:31:38.000Z | 2018-12-03T07:44:41.000Z | quicksilver.py | binaryflesh/quicksilver | 0d65259f305beb05efe00f096e48c41b62bfdf57 | [
"MIT"
] | null | null | null | # Quicksilver.py - Agnostic project analyzer that generates resourceful diagrams. WIP
# Copyright (C) 2018 Logan Campos - @binaryflesh
| 45 | 85 | 0.792593 | 16 | 135 | 6.6875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.140741 | 135 | 2 | 86 | 67.5 | 0.887931 | 0.962963 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4953e3a0846206727edbbb495ede380b618ab266 | 1,781 | py | Python | PluginSDK/PythonRecon/Python/excel_helper.py | PengJinFa/YAPNew | fafee8031669b24d0cc74876a477c97d0d7ebadc | [
"MIT"
] | 20 | 2016-07-05T05:23:04.000Z | 2021-11-07T14:25:59.000Z | PluginSDK/PythonRecon/Python/excel_helper.py | PengJinFa/YAPNew | fafee8031669b24d0cc74876a477c97d0d7ebadc | [
"MIT"
] | 20 | 2016-06-08T06:36:55.000Z | 2018-04-25T09:52:18.000Z | PluginSDK/PythonRecon/Python/excel_helper.py | PengJinFa/YAPNew | fafee8031669b24d0cc74876a477c97d0d7ebadc | [
"MIT"
] | 21 | 2016-05-31T15:34:09.000Z | 2021-11-07T14:26:03.000Z | from openpyxl import Workbook
from openpyxl.utils import get_column_letter
import numbers
wb = Workbook()
def XL_Location(row, column):
return get_column_letter(column) + str(row)
def Save_Column_Title(file_dir, features, row_index, column_start):
ws = wb.active
keys = [x[0] for x in features.items()]
... | 30.706897 | 83 | 0.60977 | 242 | 1,781 | 4.305785 | 0.214876 | 0.076775 | 0.153551 | 0.145873 | 0.74856 | 0.74856 | 0.74856 | 0.74856 | 0.71785 | 0.601727 | 0 | 0.002366 | 0.28804 | 1,781 | 58 | 84 | 30.706897 | 0.819401 | 0.010107 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 1 | 0.083333 | false | 0 | 0.0625 | 0.020833 | 0.291667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
496b0cdd9c9c0a2581d8be6db775211985c0614c | 278 | py | Python | hubspot/discovery/crm/extensions/videoconferencing/discovery.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 117 | 2020-04-06T08:22:53.000Z | 2022-03-18T03:41:29.000Z | hubspot/discovery/crm/extensions/videoconferencing/discovery.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 62 | 2020-04-06T16:21:06.000Z | 2022-03-17T16:50:44.000Z | hubspot/discovery/crm/extensions/videoconferencing/discovery.py | fakepop/hubspot-api-python | f04103a09f93f5c26c99991b25fa76801074f3d3 | [
"Apache-2.0"
] | 45 | 2020-04-06T16:13:52.000Z | 2022-03-30T21:33:17.000Z | import hubspot.crm.extensions.videoconferencing as api_client
from ....discovery_base import DiscoveryBase
class Discovery(DiscoveryBase):
@property
def settings_api(self) -> api_client.SettingsApi:
return self._configure_api_client(api_client, "SettingsApi")
| 30.888889 | 68 | 0.78777 | 32 | 278 | 6.59375 | 0.625 | 0.170616 | 0.189573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129496 | 278 | 8 | 69 | 34.75 | 0.871901 | 0 | 0 | 0 | 0 | 0 | 0.039568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
497a5f4c2e39ef62c200675216c42fbc21c52436 | 34 | py | Python | tests/snmp/test_base.py | zohassadar/netdisc | 9ce4d5c2b0f30d36e71118ffbe6b7ffd93e0dfc8 | [
"MIT"
] | null | null | null | tests/snmp/test_base.py | zohassadar/netdisc | 9ce4d5c2b0f30d36e71118ffbe6b7ffd93e0dfc8 | [
"MIT"
] | null | null | null | tests/snmp/test_base.py | zohassadar/netdisc | 9ce4d5c2b0f30d36e71118ffbe6b7ffd93e0dfc8 | [
"MIT"
] | null | null | null | from netdisc.snmp import snmpbase
| 17 | 33 | 0.852941 | 5 | 34 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b8ce37a154e212778f695fcf9135c3e96507ff09 | 88 | py | Python | app/admin/controllers/__init__.py | aries-zhang/flask-template | 369d77f2910f653f46668dd9bda735954b6c145e | [
"MIT"
] | null | null | null | app/admin/controllers/__init__.py | aries-zhang/flask-template | 369d77f2910f653f46668dd9bda735954b6c145e | [
"MIT"
] | null | null | null | app/admin/controllers/__init__.py | aries-zhang/flask-template | 369d77f2910f653f46668dd9bda735954b6c145e | [
"MIT"
] | null | null | null | from flask import Blueprint
admin = Blueprint('admin', __name__, url_prefix='/manage')
| 22 | 58 | 0.761364 | 11 | 88 | 5.636364 | 0.818182 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 88 | 3 | 59 | 29.333333 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
b8de8fb9e2f63a96dbca5bb30f4841f157b6ed7b | 160 | py | Python | items.py | yarnoiser/PyDungeon | c37ad314605065194732202539db50eef94ea3da | [
"BSD-3-Clause"
] | 1 | 2018-05-15T01:26:04.000Z | 2018-05-15T01:26:04.000Z | items.py | yarnoiser/PyDungeon | c37ad314605065194732202539db50eef94ea3da | [
"BSD-3-Clause"
] | null | null | null | items.py | yarnoiser/PyDungeon | c37ad314605065194732202539db50eef94ea3da | [
"BSD-3-Clause"
] | null | null | null | from dice import *
class Item():
def __init__(self, weight):
self.weight = weight
class Weapon(item):
def __init__(self, weight, damage_die, reach)
| 14.545455 | 47 | 0.69375 | 22 | 160 | 4.636364 | 0.590909 | 0.294118 | 0.215686 | 0.294118 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19375 | 160 | 10 | 48 | 16 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b8f4752d0093b3381dd899cada064a8f50a481ea | 16 | py | Python | cdn/__init__.py | Kingjmk/mlfaati | 12c0dcbe0389c2c1da0bde80509fb3374955e293 | [
"MIT"
] | 1 | 2021-01-04T07:34:34.000Z | 2021-01-04T07:34:34.000Z | cdn/__init__.py | Kingjmk/mlfaati | 12c0dcbe0389c2c1da0bde80509fb3374955e293 | [
"MIT"
] | null | null | null | cdn/__init__.py | Kingjmk/mlfaati | 12c0dcbe0389c2c1da0bde80509fb3374955e293 | [
"MIT"
] | null | null | null | """
CDN App
""" | 4 | 7 | 0.375 | 2 | 16 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 16 | 4 | 8 | 4 | 0.5 | 0.4375 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
774a3cbe3570598a07718acd612708e7b85dbeed | 34,273 | py | Python | src/cd.py | laura-rieger/deep-explanation-penalization | ac82aa4717b24e0ccf48ecbbf4c05d7e77a6d88f | [
"MIT"
] | 105 | 2019-10-01T19:00:35.000Z | 2022-03-25T14:03:32.000Z | src/cd.py | laura-rieger/deep-explanation-penalization | ac82aa4717b24e0ccf48ecbbf4c05d7e77a6d88f | [
"MIT"
] | 11 | 2020-01-13T15:49:13.000Z | 2021-12-28T11:36:21.000Z | src/cd.py | laura-rieger/deep-explanation-penalization | ac82aa4717b24e0ccf48ecbbf4c05d7e77a6d88f | [
"MIT"
] | 16 | 2019-12-22T20:53:33.000Z | 2022-03-15T14:17:50.000Z |
#original from https://github.com/csinva/hierarchical-dnn-interpretations/blob/master/acd/scores/cd.py
import torch
import torch.nn.functional as F
from copy import deepcopy
from torch import sigmoid
from torch import tanh
import numpy as np
stabilizing_constant = 10e-20
def propagate_three(a, b, c, activation):
... | 49.599132 | 190 | 0.664663 | 4,745 | 34,273 | 4.547313 | 0.069547 | 0.165176 | 0.113871 | 0.047551 | 0.80901 | 0.768179 | 0.730639 | 0.705149 | 0.673171 | 0.651203 | 0 | 0.029009 | 0.211449 | 34,273 | 690 | 191 | 49.671014 | 0.76937 | 0.193213 | 0 | 0.55711 | 0 | 0 | 0.005088 | 0 | 0 | 0 | 0 | 0 | 0.002331 | 1 | 0.051282 | false | 0.002331 | 0.013986 | 0.006993 | 0.121212 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 | 5 |
775334a35368377b6411b76e0cda684325c797b3 | 119 | py | Python | Python/ComplexPaths02/src/main/MainModule01.py | tduoth/JsObjects | eb3e2a8b1f47d0da53c8b1a85a7949269711932f | [
"MIT"
] | 22 | 2015-02-26T09:07:18.000Z | 2020-05-10T16:22:05.000Z | Python/ComplexPaths02/src/main/MainModule01.py | tduoth/JsObjects | eb3e2a8b1f47d0da53c8b1a85a7949269711932f | [
"MIT"
] | 123 | 2016-04-05T18:32:41.000Z | 2022-03-13T21:09:21.000Z | Python/ComplexPaths02/src/main/MainModule01.py | tduoth/JsObjects | eb3e2a8b1f47d0da53c8b1a85a7949269711932f | [
"MIT"
] | 56 | 2015-03-19T22:26:37.000Z | 2021-12-06T02:52:02.000Z | '''
Created on May 26, 2012
@author: Charlie
'''
class MainModule01(object):
def __init__(self):
pass | 13.222222 | 27 | 0.613445 | 14 | 119 | 4.928571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.260504 | 119 | 9 | 28 | 13.222222 | 0.693182 | 0.344538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
91f3e934e2bf21d69c8e84878b0f0bb1bc0e52af | 104 | py | Python | Courses/HSEPython/8 week/5.py | searayeah/sublime-snippets | deff53a06948691cd5e5d7dcfa85515ddd8fab0b | [
"MIT"
] | null | null | null | Courses/HSEPython/8 week/5.py | searayeah/sublime-snippets | deff53a06948691cd5e5d7dcfa85515ddd8fab0b | [
"MIT"
] | null | null | null | Courses/HSEPython/8 week/5.py | searayeah/sublime-snippets | deff53a06948691cd5e5d7dcfa85515ddd8fab0b | [
"MIT"
] | null | null | null | from functools import reduce
print(reduce(lambda x, y: x * (y**5), list(map(int, input().split())), 1))
| 34.666667 | 74 | 0.653846 | 18 | 104 | 3.777778 | 0.833333 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.125 | 104 | 2 | 75 | 52 | 0.725275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
620552e0f37628fdaf507905b2e507f52f6149a8 | 158 | py | Python | pyblaze/nn/data/__init__.py | Greenroom-Robotics/pyblaze | e45e27fbd400b6ae2365ad2347165c7b5154ac51 | [
"MIT"
] | 20 | 2020-03-29T08:43:15.000Z | 2021-12-17T21:38:17.000Z | pyblaze/nn/data/__init__.py | borchero/bxtorch | 8d01568c8ee9fc05f5b3c84ca3ec68ea74eef9eb | [
"MIT"
] | 4 | 2020-10-27T20:43:40.000Z | 2021-04-29T12:19:39.000Z | pyblaze/nn/data/__init__.py | borchero/bxtorch | 8d01568c8ee9fc05f5b3c84ca3ec68ea74eef9eb | [
"MIT"
] | 2 | 2020-08-16T18:10:49.000Z | 2021-03-31T23:17:28.000Z | import pyblaze.nn.data.extensions
from .noise import NoiseDataset, LabeledNoiseDataset
from .zip import ZipDataLoader
from .transform import TransformDataset
| 31.6 | 52 | 0.860759 | 18 | 158 | 7.555556 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094937 | 158 | 4 | 53 | 39.5 | 0.951049 | 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 | 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 | 5 |
620eed4cbd2619972703ee779c16c8a7ab6c7ba9 | 54 | py | Python | src/apps/startposes/models/__init__.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | 27 | 2020-05-03T11:01:27.000Z | 2022-03-17T05:33:10.000Z | src/apps/startposes/models/__init__.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | 54 | 2020-05-09T01:18:41.000Z | 2022-01-22T10:31:15.000Z | src/apps/startposes/models/__init__.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | 9 | 2020-09-29T11:31:32.000Z | 2022-03-09T01:37:50.000Z | from .startpos import StartPos, StartPosCumWeightOnly
| 27 | 53 | 0.87037 | 5 | 54 | 9.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 54 | 1 | 54 | 54 | 0.959184 | 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 | 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 | 5 |
6217c3865432b1a663db3913c183c3b2bdd9e8cf | 53 | py | Python | src/algorithm/__init__.py | ShogoAkiyama/metaworld.pytorch | 6b08163d2c0d73b6d1d9b4b513d18f0a308e92c4 | [
"MIT"
] | null | null | null | src/algorithm/__init__.py | ShogoAkiyama/metaworld.pytorch | 6b08163d2c0d73b6d1d9b4b513d18f0a308e92c4 | [
"MIT"
] | null | null | null | src/algorithm/__init__.py | ShogoAkiyama/metaworld.pytorch | 6b08163d2c0d73b6d1d9b4b513d18f0a308e92c4 | [
"MIT"
] | null | null | null | from .sac import SAC
from .eval import EvalAlgorithm
| 17.666667 | 31 | 0.811321 | 8 | 53 | 5.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 53 | 2 | 32 | 26.5 | 0.955556 | 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 | 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 | 5 |
6242dfa1c761870f2a85f43957247c13b7b53277 | 173 | py | Python | cosypose/simulator/__init__.py | ompugao/cosypose | 4e471c16f19d5ee632668cd52eaa57b562f287d6 | [
"MIT"
] | 202 | 2020-08-19T19:28:03.000Z | 2022-03-29T07:10:47.000Z | cosypose/simulator/__init__.py | ompugao/cosypose | 4e471c16f19d5ee632668cd52eaa57b562f287d6 | [
"MIT"
] | 66 | 2020-08-24T09:28:05.000Z | 2022-03-31T07:11:06.000Z | cosypose/simulator/__init__.py | ompugao/cosypose | 4e471c16f19d5ee632668cd52eaa57b562f287d6 | [
"MIT"
] | 66 | 2020-08-19T19:28:05.000Z | 2022-03-18T20:47:55.000Z | from .body import Body
from .camera import Camera
from .base_scene import BaseScene
from .caching import BodyCache, TextureCache
from .textures import apply_random_textures
| 28.833333 | 44 | 0.843931 | 24 | 173 | 5.958333 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121387 | 173 | 5 | 45 | 34.6 | 0.940789 | 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 | 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 | 5 |
6269ffcac7da3b6435494d0d70dbe0aa69f6f55f | 324 | py | Python | conjur_api/__init__.py | cyberark/conjur-api-python | 7dd1819bf68042620a06f38e395c3eb2989202a9 | [
"Apache-2.0"
] | 1 | 2022-03-09T18:25:29.000Z | 2022-03-09T18:25:29.000Z | conjur_api/__init__.py | cyberark/conjur-api-python | 7dd1819bf68042620a06f38e395c3eb2989202a9 | [
"Apache-2.0"
] | null | null | null | conjur_api/__init__.py | cyberark/conjur-api-python | 7dd1819bf68042620a06f38e395c3eb2989202a9 | [
"Apache-2.0"
] | null | null | null | """
conjur_api
Package containing classes that are responsible for communicating with the Conjur server
"""
__version__ = "0.0.5"
from conjur_api.client import Client
from conjur_api.interface import CredentialsProviderInterface
from conjur_api import models
from conjur_api import errors
from conjur_api import provid... | 24.923077 | 88 | 0.83642 | 45 | 324 | 5.8 | 0.533333 | 0.206897 | 0.249042 | 0.218391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010563 | 0.123457 | 324 | 12 | 89 | 27 | 0.908451 | 0.308642 | 0 | 0 | 0 | 0 | 0.023148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
62898b405054c48d9122f893fe9282577a49a61e | 55 | py | Python | enthought/traits/ui/wx/button_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/ui/wx/button_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/ui/wx/button_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traitsui.wx.button_editor import *
| 18.333333 | 39 | 0.8 | 8 | 55 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 40 | 27.5 | 0.895833 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
656a96b402f3415f23db4722e5168fd52c75cff5 | 832 | py | Python | preml/showtime/showie.py | 5amron/pre-ml | 3dff146d89468f4db0b7a9d92f3b0a26854efaf8 | [
"MIT"
] | 3 | 2017-09-03T17:55:54.000Z | 2018-11-24T13:11:19.000Z | preml/showtime/showie.py | 5amron/pre-ml | 3dff146d89468f4db0b7a9d92f3b0a26854efaf8 | [
"MIT"
] | 2 | 2021-12-08T14:51:24.000Z | 2021-12-09T15:42:09.000Z | preml/showtime/showie.py | 5amron/pre-ml | 3dff146d89468f4db0b7a9d92f3b0a26854efaf8 | [
"MIT"
] | 2 | 2019-07-16T01:28:48.000Z | 2020-04-12T21:23:08.000Z | from . import baco_show
# solution === (new_dataset, best_ant_road, acc_before_run, best_fit_so_far, total_feature_num, best_selected_features_num, best_fitnesses_each_iter, average_fitnesses_each_iter ,num_of_features_selected_by_best_ant_each_iter, time_temp, sample_num)
def draw_baco(solution):
if(len(solu... | 48.941176 | 249 | 0.824519 | 133 | 832 | 4.548872 | 0.360902 | 0.119008 | 0.168595 | 0.104132 | 0.742149 | 0.742149 | 0.742149 | 0.742149 | 0.742149 | 0.742149 | 0 | 0.002688 | 0.105769 | 832 | 16 | 250 | 52 | 0.810484 | 0.296875 | 0 | 0 | 0 | 0 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.428571 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
65c19e6d0f4a645a3e85871f601e50a70618990c | 215 | py | Python | component/model/dmp_model.py | 12rambau/damage_proxy_maps | 98a004bf4420c6ce1b7ecd77e426e8fe7d512f52 | [
"MIT"
] | 1 | 2021-09-01T18:27:19.000Z | 2021-09-01T18:27:19.000Z | component/model/dmp_model.py | 12rambau/damage_proxy_maps | 98a004bf4420c6ce1b7ecd77e426e8fe7d512f52 | [
"MIT"
] | 3 | 2021-06-01T10:15:36.000Z | 2021-10-07T10:00:16.000Z | component/model/dmp_model.py | 12rambau/damage_proxy_maps | 98a004bf4420c6ce1b7ecd77e426e8fe7d512f52 | [
"MIT"
] | 2 | 2021-06-01T10:16:03.000Z | 2021-06-10T12:43:47.000Z | from sepal_ui import model
from traitlets import Any
class DmpModel(model.Model):
# inputs
event = Any(None).tag(sync=True)
username = Any(None).tag(sync=True)
password = Any(None).tag(sync=True)
| 19.545455 | 39 | 0.693023 | 32 | 215 | 4.625 | 0.53125 | 0.141892 | 0.202703 | 0.283784 | 0.364865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 215 | 10 | 40 | 21.5 | 0.845714 | 0.027907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
65e2a0c64857964a543fdd7ce72cd8eee8d2cbac | 165 | py | Python | farms2face/subscriptions/views.py | dev1farms2face/f2f | 54e58187a68574bf2bd0dfb7e58a2b416336106a | [
"MIT"
] | null | null | null | farms2face/subscriptions/views.py | dev1farms2face/f2f | 54e58187a68574bf2bd0dfb7e58a2b416336106a | [
"MIT"
] | null | null | null | farms2face/subscriptions/views.py | dev1farms2face/f2f | 54e58187a68574bf2bd0dfb7e58a2b416336106a | [
"MIT"
] | 2 | 2018-06-19T12:12:08.000Z | 2018-06-25T18:45:36.000Z | from django.shortcuts import render
# Create your views here.
def subscribe(request):
return render(request, "subscribe.html",
{'data': {}})
| 20.625 | 44 | 0.636364 | 18 | 165 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 165 | 7 | 45 | 23.571429 | 0.84 | 0.139394 | 0 | 0 | 0 | 0 | 0.128571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
02b1a17a92fa82b80990e63f3f0d4e50c1738b1c | 5,106 | py | Python | takedown/__init__.py | zsxing99/Takedown-script | fcd0533ab71a1198651a6e53cd1d58039d4fa7fd | [
"MIT"
] | 1 | 2021-01-06T00:23:03.000Z | 2021-01-06T00:23:03.000Z | takedown/__init__.py | zsxing99/Takedown-script | fcd0533ab71a1198651a6e53cd1d58039d4fa7fd | [
"MIT"
] | 4 | 2020-11-09T06:01:25.000Z | 2020-12-17T06:39:30.000Z | takedown/__init__.py | zsxing99/Takedown-script | fcd0533ab71a1198651a6e53cd1d58039d4fa7fd | [
"MIT"
] | null | null | null | """
TakeDown v0.0.1
===============
author: Zesheng Xing
email: zsxing@ucdavis.edu
This Python project is to help people search on some client hosting contents that potential violate the their copyright.
"""
VERSION = "0.1.0"
DESCRIPTION = "A python script that allows users to search potential copyright violated info... | 60.785714 | 120 | 0.665883 | 708 | 5,106 | 4.778249 | 0.230226 | 0.039019 | 0.021283 | 0.033698 | 0.742536 | 0.742536 | 0.742536 | 0.723027 | 0.65031 | 0.627254 | 0 | 0.002646 | 0.25989 | 5,106 | 83 | 121 | 61.518072 | 0.892564 | 0.03917 | 0 | 0 | 0 | 0 | 0.728707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 5 |
b898de5e2e4348a76809bd0da7631a2cc93a7b25 | 3,757 | py | Python | pyaz/billing/invoice/section/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/billing/invoice/section/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/billing/invoice/section/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
billing invoice section
'''
from .... pyaz_utils import _call_az
def list(account_name, profile_name):
'''
List the invoice sections that a user has access to. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Required Parameters:
- account_name... | 45.26506 | 164 | 0.730104 | 497 | 3,757 | 5.43662 | 0.207243 | 0.093264 | 0.046632 | 0.067358 | 0.73094 | 0.711695 | 0.711695 | 0.698742 | 0.698742 | 0.698742 | 0 | 0.002646 | 0.195369 | 3,757 | 82 | 165 | 45.817073 | 0.891168 | 0.725313 | 0 | 0 | 0 | 0 | 0.196782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
b8c18579e2101b06416f377ffa427b6e165dcba7 | 53 | py | Python | agency/memory/__init__.py | jackharmer/agency | 5a78dd23e14c44c4076e49ea44b83ab1697e51c8 | [
"MIT"
] | 2 | 2022-03-30T19:51:42.000Z | 2022-03-30T20:05:39.000Z | agency/memory/__init__.py | jackharmer/agency | 5a78dd23e14c44c4076e49ea44b83ab1697e51c8 | [
"MIT"
] | null | null | null | agency/memory/__init__.py | jackharmer/agency | 5a78dd23e14c44c4076e49ea44b83ab1697e51c8 | [
"MIT"
] | null | null | null | from .episodic import EpisodicMemory, EpisodicBuffer
| 26.5 | 52 | 0.867925 | 5 | 53 | 9.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 1 | 53 | 53 | 0.958333 | 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 | 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 | 5 |
b218434a962715f2504f0272b199565a159dcf7b | 115 | py | Python | aim/pytorch.py | avkudr/aim | 5961f31d358929287986ace09c73310886a94704 | [
"Apache-2.0"
] | 2,195 | 2020-01-23T03:08:11.000Z | 2022-03-31T14:32:19.000Z | aim/pytorch.py | deepanprabhu/aim | c00d8ec7bb2d9fd230a9430b516ca90cdb8072cb | [
"Apache-2.0"
] | 696 | 2020-02-08T21:55:45.000Z | 2022-03-31T16:52:22.000Z | aim/pytorch.py | deepanprabhu/aim | c00d8ec7bb2d9fd230a9430b516ca90cdb8072cb | [
"Apache-2.0"
] | 150 | 2020-03-27T10:44:25.000Z | 2022-03-21T21:29:41.000Z | # Alias to SDK PyTorch utils
from aim.sdk.adapters.pytorch import track_params_dists, track_gradients_dists # noqa
| 38.333333 | 85 | 0.834783 | 18 | 115 | 5.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 115 | 2 | 86 | 57.5 | 0.901961 | 0.269565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.