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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0706a99ed381161a3c1ab460e11daee648ac9c0f | 74 | py | Python | djangocms_versioning/test_utils/polls/views.py | NarenderRajuB/djangocms-versioning | aa7a16fe275a6d8a41781ffb1e10427de917c2d5 | [
"BSD-3-Clause"
] | 12 | 2018-09-04T10:33:16.000Z | 2021-09-07T14:30:12.000Z | djangocms_versioning/test_utils/polls/views.py | NarenderRajuB/djangocms-versioning | aa7a16fe275a6d8a41781ffb1e10427de917c2d5 | [
"BSD-3-Clause"
] | 46 | 2018-07-31T08:45:17.000Z | 2021-09-08T15:45:05.000Z | djangocms_versioning/test_utils/polls/views.py | NarenderRajuB/djangocms-versioning | aa7a16fe275a6d8a41781ffb1e10427de917c2d5 | [
"BSD-3-Clause"
] | 16 | 2018-08-30T19:08:45.000Z | 2021-07-13T11:31:43.000Z | from django.views.generic import View
class PreviewView(View):
pass
| 12.333333 | 37 | 0.756757 | 10 | 74 | 5.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 5 | 38 | 14.8 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
07226cf588afcbd56fa40ee37f2c1c59471161f2 | 124 | py | Python | 09-2021-06-18/src/_solutions/bank_account_v0.py | eotp/python-FU-class | f0a7518b3e3204a77e8855bef91afeaabb0d52ac | [
"MIT"
] | 1 | 2020-01-17T14:51:40.000Z | 2020-01-17T14:51:40.000Z | 08-2022-06-23/src/_solutions/bank_account_v0.py | eotp/python-FU-WiSe1920 | 4f225430ef8a70faca8c86c77cc888524c8e0546 | [
"MIT"
] | null | null | null | 08-2022-06-23/src/_solutions/bank_account_v0.py | eotp/python-FU-WiSe1920 | 4f225430ef8a70faca8c86c77cc888524c8e0546 | [
"MIT"
] | 1 | 2020-12-04T15:37:28.000Z | 2020-12-04T15:37:28.000Z | class BankAccount:
bank_name = 'My Bank'
def print_bank_name(self):
print('My name is', self.bank_name) | 24.8 | 43 | 0.637097 | 18 | 124 | 4.166667 | 0.5 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 124 | 5 | 43 | 24.8 | 0.815217 | 0 | 0 | 0 | 0 | 0 | 0.136 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 6 |
074a76853877fb1d3a7c84c006b854d3200d5a91 | 26,415 | py | Python | imgaug/augmenters/pooling.py | fmder/imgaug | 4c81c7a7503b64f54d76144385ea4330fd7c8a84 | [
"MIT"
] | null | null | null | imgaug/augmenters/pooling.py | fmder/imgaug | 4c81c7a7503b64f54d76144385ea4330fd7c8a84 | [
"MIT"
] | null | null | null | imgaug/augmenters/pooling.py | fmder/imgaug | 4c81c7a7503b64f54d76144385ea4330fd7c8a84 | [
"MIT"
] | null | null | null | """
Augmenters that apply pooling operations to images.
List of augmenters:
* :class:`AveragePooling`
* :class:`MaxPooling`
* :class:`MinPooling`
* :class:`MedianPooling`
"""
from __future__ import print_function, division, absolute_import
from abc import ABCMeta, abstractmethod
import functools
im... | 41.273438 | 202 | 0.653795 | 3,696 | 26,415 | 4.541396 | 0.081169 | 0.0423 | 0.017158 | 0.028597 | 0.8056 | 0.792851 | 0.782901 | 0.773905 | 0.767054 | 0.749777 | 0 | 0.007629 | 0.270528 | 26,415 | 639 | 203 | 41.338028 | 0.863459 | 0.637895 | 0 | 0.321637 | 0 | 0 | 0.007061 | 0.002633 | 0 | 0 | 0 | 0.007825 | 0 | 1 | 0.128655 | false | 0 | 0.046784 | 0.035088 | 0.321637 | 0.005848 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0755f4b2c3f21a5bd6057ccad2beb943076e9ed6 | 4,128 | py | Python | agents/customization.py | jun2tong/Continual-Learning-Benchmark | b6fdcc56ec2821b945105b1a54cdea03b421a6b2 | [
"MIT"
] | null | null | null | agents/customization.py | jun2tong/Continual-Learning-Benchmark | b6fdcc56ec2821b945105b1a54cdea03b421a6b2 | [
"MIT"
] | null | null | null | agents/customization.py | jun2tong/Continual-Learning-Benchmark | b6fdcc56ec2821b945105b1a54cdea03b421a6b2 | [
"MIT"
] | null | null | null | import torch
from .default import NormalNN
from .regularization import SI, EWC, EWC_online
from .exp_replay import Naive_Rehearsal, GEM
from modules.criterions import BCEauto
def init_zero_weights(m):
with torch.no_grad():
if type(m) == torch.nn.Linear:
m.weight.zero_()
m.bias.zero... | 20.954315 | 53 | 0.71657 | 563 | 4,128 | 4.960924 | 0.142096 | 0.228428 | 0.332259 | 0.126029 | 0.833154 | 0.745077 | 0.719298 | 0.676334 | 0.65879 | 0.419262 | 0 | 0.041104 | 0.210271 | 4,128 | 196 | 54 | 21.061224 | 0.815644 | 0 | 0 | 0.639706 | 0 | 0 | 0.006056 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 1 | 0.220588 | false | 0 | 0.036765 | 0 | 0.470588 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07633806c43b768aed031c3d9dd8b74f84b0fa4e | 19 | py | Python | src/python/__init__.py | wmeddie/veda | 52849411106071ebfdb7d0c86e34684c0e0fa843 | [
"BSD-3-Clause"
] | 9 | 2020-07-20T07:37:06.000Z | 2022-03-11T19:59:21.000Z | src/python/__init__.py | wmeddie/veda | 52849411106071ebfdb7d0c86e34684c0e0fa843 | [
"BSD-3-Clause"
] | 14 | 2020-09-07T10:53:01.000Z | 2022-03-26T02:50:43.000Z | src/python/__init__.py | wmeddie/veda | 52849411106071ebfdb7d0c86e34684c0e0fa843 | [
"BSD-3-Clause"
] | 2 | 2021-07-17T03:19:11.000Z | 2021-09-02T10:30:48.000Z | from .veda import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ae21c30981d63587f6f412c5f02b1c336a5a8e7 | 47 | py | Python | sim/unitytrainers/ppo/__init__.py | PranayKr/Bonsai_CodeBase | 4e9a7281364bd71f7cd466634ef8379eacb1b716 | [
"Apache-2.0"
] | null | null | null | sim/unitytrainers/ppo/__init__.py | PranayKr/Bonsai_CodeBase | 4e9a7281364bd71f7cd466634ef8379eacb1b716 | [
"Apache-2.0"
] | 7 | 2019-12-16T22:13:37.000Z | 2022-02-10T01:05:42.000Z | sim/unitytrainers/ppo/__init__.py | PranayKr/Bonsai_CodeBase | 4e9a7281364bd71f7cd466634ef8379eacb1b716 | [
"Apache-2.0"
] | null | null | null | from .models import *
from .trainer import *
| 15.666667 | 23 | 0.702128 | 6 | 47 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 47 | 2 | 24 | 23.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab14e411f6dcaaf3e6627ec9e261473435c29953 | 24 | py | Python | python/testData/completion/className/thirdPartyPackageBundledDependenciesNotSuggested/site-packages/requests/__init__.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/completion/className/thirdPartyPackageBundledDependenciesNotSuggested/site-packages/requests/__init__.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/completion/className/thirdPartyPackageBundledDependenciesNotSuggested/site-packages/requests/__init__.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | def request():
pass
| 8 | 14 | 0.583333 | 3 | 24 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 24 | 2 | 15 | 12 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ab20197b4e923878c3501ed0cf142c5fa9c07ff9 | 11,052 | py | Python | tests/unit/dbestclient/io/test_stratifiedreservoir.py | qingzma/DBEstClient | d2cdf51bc3c69e50bcf4d1d516673b7d20843c16 | [
"BSD-2-Clause"
] | 11 | 2019-12-24T02:39:35.000Z | 2022-03-21T22:39:41.000Z | tests/unit/dbestclient/io/test_stratifiedreservoir.py | Forever-MrX/DBEstClient | d2cdf51bc3c69e50bcf4d1d516673b7d20843c16 | [
"BSD-2-Clause"
] | 4 | 2019-12-09T09:48:17.000Z | 2021-07-07T02:58:26.000Z | tests/unit/dbestclient/io/test_stratifiedreservoir.py | qingzma/DBEstClient | d2cdf51bc3c69e50bcf4d1d516673b7d20843c16 | [
"BSD-2-Clause"
] | 8 | 2019-11-08T02:10:37.000Z | 2022-03-21T22:42:46.000Z | # Created by Qingzhi Ma at 2020-11-23
# All right reserved
# Department of Computer Science
# the University of Warwick
# Q.Ma.2@warwick.ac.uk
import unittest
from dbestclient.io.stratifiedreservoir import StratifiedReservoir
class TestStratifiedReservoir(unittest.TestCase):
""""""
def test_tpcds_1job_no_eq... | 45.110204 | 798 | 0.64097 | 1,398 | 11,052 | 4.704578 | 0.150215 | 0.024327 | 0.034058 | 0.039684 | 0.797932 | 0.753687 | 0.753687 | 0.753687 | 0.745933 | 0.745933 | 0 | 0.029991 | 0.227651 | 11,052 | 244 | 799 | 45.295082 | 0.740511 | 0.162052 | 0 | 0.815217 | 0 | 0.021739 | 0.263369 | 0.184619 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.043478 | false | 0 | 0.01087 | 0 | 0.059783 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab204888574980011111ee148e0154e4128e1100 | 96 | py | Python | pyisic/_standards/jsic13/__init__.py | sayari-analytics/pyisic | 42ed46f5bc446a0bbc0edf30b64bc4ab939dd033 | [
"MIT"
] | 3 | 2021-11-18T15:32:38.000Z | 2022-02-28T19:16:14.000Z | pyisic/_standards/jsic13/__init__.py | sayari-analytics/pyisic | 42ed46f5bc446a0bbc0edf30b64bc4ab939dd033 | [
"MIT"
] | 18 | 2021-06-28T19:17:49.000Z | 2022-03-23T20:20:18.000Z | pyisic/_standards/jsic13/__init__.py | sayari-analytics/pyisic | 42ed46f5bc446a0bbc0edf30b64bc4ab939dd033 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .jsic13 import JSIC13
from .jsic13_to_isic4 import JSIC13_to_ISIC4
| 24 | 44 | 0.75 | 15 | 96 | 4.533333 | 0.533333 | 0.294118 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 0.135417 | 96 | 3 | 45 | 32 | 0.686747 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
db7fb1894e128552b991a904facb241872ebaa71 | 48 | py | Python | services/director-v2/src/simcore_service_director_v2/models/schemas/dynamic_services/__init__.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 25 | 2018-04-13T12:44:12.000Z | 2022-03-12T15:01:17.000Z | services/director-v2/src/simcore_service_director_v2/models/schemas/dynamic_services/__init__.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 2,553 | 2018-01-18T17:11:55.000Z | 2022-03-31T16:26:40.000Z | services/director-v2/src/simcore_service_director_v2/models/schemas/dynamic_services/__init__.py | mrnicegyu11/osparc-simcore | b6fa6c245dbfbc18cc74a387111a52de9b05d1f4 | [
"MIT"
] | 20 | 2018-01-18T19:45:33.000Z | 2022-03-29T07:08:47.000Z | from .scheduler import *
from .service import *
| 16 | 24 | 0.75 | 6 | 48 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 25 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91cd9c4e4dbbc6e342a79ce468c331f6c12df8eb | 5,296 | py | Python | python/interpret/perf/curve.py | zzzace2000/interpret | 8a4b7c61378e1299870da3a581ae626e55ecb6a0 | [
"MIT"
] | 1 | 2021-12-27T13:42:01.000Z | 2021-12-27T13:42:01.000Z | python/interpret-core/interpret/perf/curve.py | LiYaangY/interpret | ab21bba5e139bee0234abe7c24efb6ffbcf36f9d | [
"MIT"
] | null | null | null | python/interpret-core/interpret/perf/curve.py | LiYaangY/interpret | ab21bba5e139bee0234abe7c24efb6ffbcf36f9d | [
"MIT"
] | 2 | 2021-08-10T19:40:47.000Z | 2021-11-16T16:01:22.000Z | # Copyright (c) 2019 Microsoft Corporation
# Distributed under the MIT software license
from ..api.base import ExplainerMixin, ExplanationMixin
from ..utils import unify_data, gen_name_from_class, unify_predict_fn
from sklearn.metrics import roc_curve, auc
from sklearn.metrics import precision_recall_curve, average_pr... | 28.782609 | 85 | 0.598754 | 592 | 5,296 | 5.089527 | 0.155405 | 0.079655 | 0.053103 | 0.076336 | 0.785264 | 0.77066 | 0.77066 | 0.77066 | 0.739462 | 0.739462 | 0 | 0.001097 | 0.311367 | 5,296 | 183 | 86 | 28.939891 | 0.825062 | 0.015672 | 0 | 0.734694 | 0 | 0 | 0.052207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068027 | false | 0 | 0.047619 | 0 | 0.251701 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53010313d7b765d7109635137aca8cfab8ca9b59 | 36 | py | Python | s3zilla/__init__.py | rootVIII/s3zilla | cc0e343883c8ba01ce2d37879258dcafea3123e7 | [
"MIT"
] | 10 | 2019-04-22T10:11:44.000Z | 2021-12-16T15:52:55.000Z | s3zilla/__init__.py | rootVIII/s3zilla | cc0e343883c8ba01ce2d37879258dcafea3123e7 | [
"MIT"
] | null | null | null | s3zilla/__init__.py | rootVIII/s3zilla | cc0e343883c8ba01ce2d37879258dcafea3123e7 | [
"MIT"
] | 2 | 2019-08-26T01:33:46.000Z | 2019-11-03T21:10:45.000Z | from s3zilla.s3zilla import S3Zilla
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.111111 | 36 | 1 | 36 | 36 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
530fb83fc8dedb02d15abea1de23fb66baf394e7 | 1,098 | py | Python | iceworm/engine/ops/__init__.py | wrmsr0/iceworm | 09431bb3cdc4f6796aafca41e37d42ebe0ddfeef | [
"BSD-3-Clause"
] | null | null | null | iceworm/engine/ops/__init__.py | wrmsr0/iceworm | 09431bb3cdc4f6796aafca41e37d42ebe0ddfeef | [
"BSD-3-Clause"
] | 1 | 2021-01-19T14:29:19.000Z | 2021-01-19T14:34:27.000Z | iceworm/engine/ops/__init__.py | wrmsr0/iceworm | 09431bb3cdc4f6796aafca41e37d42ebe0ddfeef | [
"BSD-3-Clause"
] | 1 | 2020-12-31T22:29:52.000Z | 2020-12-31T22:29:52.000Z | from . import inject # noqa
from .base import Annotation # noqa
from .base import List # noqa
from .base import ListExecutor # noqa
from .base import Op # noqa
from .base import OpExecutor # noqa
from .base import OpGen # noqa
from .base import Set # noqa
from .base import Set # noqa
from .conns import ConnOp... | 37.862069 | 51 | 0.769581 | 139 | 1,098 | 6.079137 | 0.244604 | 0.255621 | 0.261538 | 0.382249 | 0.059172 | 0.059172 | 0.059172 | 0 | 0 | 0 | 0 | 0 | 0.179417 | 1,098 | 28 | 52 | 39.214286 | 0.937847 | 0.126594 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5353283ede0f8d5866a1baa0800b6cab3bef6ee2 | 3,593 | py | Python | data_utils/test_modelnet_dataset.py | zhuyuanxiang/PointNet-Series | d494ff803e1f0fe1ac51591ce1a1469646a82ea0 | [
"MIT"
] | null | null | null | data_utils/test_modelnet_dataset.py | zhuyuanxiang/PointNet-Series | d494ff803e1f0fe1ac51591ce1a1469646a82ea0 | [
"MIT"
] | null | null | null | data_utils/test_modelnet_dataset.py | zhuyuanxiang/PointNet-Series | d494ff803e1f0fe1ac51591ce1a1469646a82ea0 | [
"MIT"
] | null | null | null | """
=================================================
@path : PointNet-Series -> test_modelnet_dataset.py
@IDE : PyCharm
@Author : zYx.Tom, 526614962@qq.com
@Date : 2022-01-19 15:13
@Version: v0.1
@License: (C)Copyright 2020-2022, zYx.Tom
@Reference:
@Desc :
==================================================
"... | 38.223404 | 109 | 0.664347 | 412 | 3,593 | 5.512136 | 0.165049 | 0.056363 | 0.126816 | 0.073976 | 0.85557 | 0.835315 | 0.778512 | 0.778512 | 0.778512 | 0.778512 | 0 | 0.049378 | 0.193988 | 3,593 | 93 | 110 | 38.634409 | 0.734807 | 0.087392 | 0 | 0.606061 | 0 | 0 | 0.208193 | 0.189544 | 0 | 0 | 0 | 0 | 0.121212 | 1 | 0.136364 | false | 0.015152 | 0.045455 | 0 | 0.19697 | 0.015152 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
536b8c0c1a42706ed77a7a11150a46baba787ecc | 28,137 | py | Python | test/unit/test_sap_cli_aunit.py | jakub-vaclavik-sap/sapcli | a0f40c3b2363bba0d34f705d92dd420d9adf3987 | [
"Apache-2.0"
] | null | null | null | test/unit/test_sap_cli_aunit.py | jakub-vaclavik-sap/sapcli | a0f40c3b2363bba0d34f705d92dd420d9adf3987 | [
"Apache-2.0"
] | null | null | null | test/unit/test_sap_cli_aunit.py | jakub-vaclavik-sap/sapcli | a0f40c3b2363bba0d34f705d92dd420d9adf3987 | [
"Apache-2.0"
] | 1 | 2022-01-10T03:58:03.000Z | 2022-01-10T03:58:03.000Z | #!/usr/bin/env python3
import sys
import unittest
from io import StringIO
from types import SimpleNamespace
from unittest.mock import patch, call, Mock, mock_open
import sap.adt.cts
import sap.cli.aunit
from fixtures_adt_aunit import AUNIT_NO_TEST_RESULTS_XML, AUNIT_RESULTS_XML, GLOBAL_TEST_CLASS_AUNIT_RESULTS_XML, A... | 47.130653 | 186 | 0.674166 | 3,608 | 28,137 | 5.017461 | 0.090078 | 0.063802 | 0.039883 | 0.034746 | 0.815279 | 0.791747 | 0.758825 | 0.735734 | 0.723968 | 0.688063 | 0 | 0.019786 | 0.179124 | 28,137 | 596 | 187 | 47.209732 | 0.763995 | 0.000746 | 0 | 0.442368 | 0 | 0 | 0.139463 | 0.03223 | 0 | 0 | 0 | 0 | 0.302181 | 1 | 0.093458 | false | 0.003115 | 0.040498 | 0 | 0.146417 | 0.196262 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7267905e0aa66fec5b4ab84cbb86db0a6e1955c0 | 82 | py | Python | 3]. Competitive Programming/09]. HackerRank/2]. Tutorials/1]. 30 Days of Code/Python/Day_03.py | MLinesCode/The-Complete-FAANG-Preparation | 2d0c7e8940eb2a58caaf4e978e548c08dd1f9a52 | [
"MIT"
] | 6,969 | 2021-05-29T11:38:30.000Z | 2022-03-31T19:31:49.000Z | 3]. Competitive Programming/09]. HackerRank/2]. Tutorials/1]. 30 Days of Code/Python/Day_03.py | MLinesCode/The-Complete-FAANG-Preparation | 2d0c7e8940eb2a58caaf4e978e548c08dd1f9a52 | [
"MIT"
] | 75 | 2021-06-15T07:59:43.000Z | 2022-02-22T14:21:52.000Z | 3]. Competitive Programming/09]. HackerRank/2]. Tutorials/1]. 30 Days of Code/Python/Day_03.py | MLinesCode/The-Complete-FAANG-Preparation | 2d0c7e8940eb2a58caaf4e978e548c08dd1f9a52 | [
"MIT"
] | 1,524 | 2021-05-29T16:03:36.000Z | 2022-03-31T17:46:13.000Z | # 3rd Solution
print(round(float(input())*(1+int(input())*.01+int(input())*.01))) | 27.333333 | 66 | 0.634146 | 13 | 82 | 4 | 0.692308 | 0.307692 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.04878 | 82 | 3 | 66 | 27.333333 | 0.589744 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
72700cef183574dc58e7c2d12c2d04b5a102376d | 27 | py | Python | pg_analyse/inspections/contrib/index_health/__init__.py | idlesign/pg_analyse | ba0f6fd0e6aa8ca6978055e241c03dd47cf7ce16 | [
"BSD-3-Clause"
] | 19 | 2020-03-11T19:30:01.000Z | 2022-03-18T11:51:41.000Z | pg_analyse/inspections/contrib/index_health/__init__.py | idlesign/pg_analyse | ba0f6fd0e6aa8ca6978055e241c03dd47cf7ce16 | [
"BSD-3-Clause"
] | 2 | 2020-03-23T09:31:08.000Z | 2020-04-28T09:32:49.000Z | pg_analyse/inspections/contrib/index_health/__init__.py | idlesign/pg_analyse | ba0f6fd0e6aa8ca6978055e241c03dd47cf7ce16 | [
"BSD-3-Clause"
] | null | null | null | from .inspections import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
728931c8fb03871335012bd1b7af214066bd0bd6 | 14 | py | Python | globals.py | vision-and-sensing/Adaptive-LiDAR-Sampling | fa49901cd9662393ffc2d267633ebe0b65be0a30 | [
"MIT"
] | 4 | 2021-02-22T15:08:12.000Z | 2021-09-17T03:33:24.000Z | globals.py | vision-and-sensing/Adaptive-LiDAR-Sampling | fa49901cd9662393ffc2d267633ebe0b65be0a30 | [
"MIT"
] | null | null | null | globals.py | vision-and-sensing/Adaptive-LiDAR-Sampling | fa49901cd9662393ffc2d267633ebe0b65be0a30 | [
"MIT"
] | null | null | null | B = 1024
K = 4 | 7 | 8 | 0.5 | 4 | 14 | 1.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 0.357143 | 14 | 2 | 9 | 7 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7290919ec4cdcbc5f4fefb78f2ee7dc6fa66bf39 | 7,267 | py | Python | pytype/tools/pyi_checker/errors_test.py | adamcataldo/pytype | 7163e85880b52d53d58044e53157e2a21988308e | [
"Apache-2.0"
] | 2 | 2019-07-25T12:53:02.000Z | 2019-08-18T16:26:16.000Z | pytype/tools/pyi_checker/errors_test.py | adamcataldo/pytype | 7163e85880b52d53d58044e53157e2a21988308e | [
"Apache-2.0"
] | null | null | null | pytype/tools/pyi_checker/errors_test.py | adamcataldo/pytype | 7163e85880b52d53d58044e53157e2a21988308e | [
"Apache-2.0"
] | null | null | null | """Tests for pyi_checker errors.
These are sanity checks to make sure error messages are correct.
"""
import textwrap
from pytype.tools.pyi_checker import definitions
from pytype.tools.pyi_checker import errors
from pytype.tools.pyi_checker import test_utils as utils
from typed_ast import ast3
import unittest
clas... | 36.335 | 78 | 0.599972 | 1,065 | 7,267 | 3.96338 | 0.098592 | 0.117745 | 0.101635 | 0.148543 | 0.808576 | 0.768775 | 0.734423 | 0.718313 | 0.696281 | 0.645582 | 0 | 0.001244 | 0.225953 | 7,267 | 199 | 79 | 36.517588 | 0.749156 | 0.013073 | 0 | 0.42236 | 0 | 0.012422 | 0.386403 | 0 | 0 | 0 | 0 | 0 | 0.111801 | 1 | 0.111801 | false | 0.093168 | 0.037267 | 0 | 0.15528 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
72bc7ca8b72af9d6cb78a5606b0064365978d64c | 3,292 | py | Python | chaosk8s/crd/probes.py | kpk-pl/chaostoolkit-kubernetes | 01558b3273fc52f6e1bcf575c1e0ae10ad4b2ce0 | [
"Apache-2.0"
] | 176 | 2017-10-14T10:19:24.000Z | 2022-03-16T07:31:07.000Z | chaosk8s/crd/probes.py | kpk-pl/chaostoolkit-kubernetes | 01558b3273fc52f6e1bcf575c1e0ae10ad4b2ce0 | [
"Apache-2.0"
] | 112 | 2017-12-11T13:51:48.000Z | 2022-03-30T14:10:50.000Z | chaosk8s/crd/probes.py | kpk-pl/chaostoolkit-kubernetes | 01558b3273fc52f6e1bcf575c1e0ae10ad4b2ce0 | [
"Apache-2.0"
] | 70 | 2018-01-23T23:37:42.000Z | 2022-01-07T17:34:22.000Z | import json
from typing import Any, Dict, List
from chaoslib.exceptions import ActivityFailed
from chaoslib.types import Secrets
from kubernetes import client
from kubernetes.client.rest import ApiException
from chaosk8s import create_k8s_api_client
__all__ = [
"get_custom_object",
"get_cluster_custom_object... | 29.927273 | 89 | 0.666768 | 406 | 3,292 | 5.261084 | 0.182266 | 0.05618 | 0.047753 | 0.042135 | 0.856273 | 0.851592 | 0.822566 | 0.777622 | 0.740169 | 0.740169 | 0 | 0.007117 | 0.231774 | 3,292 | 109 | 90 | 30.201835 | 0.837485 | 0.213852 | 0 | 0.4 | 0 | 0 | 0.140449 | 0.020867 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.1 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72c61b4f648b128ff13cd73e1a076801b5109dff | 25,490 | py | Python | tests/test_subscription.py | trag-stripe/dj-stripe | 31fac752ab6540a917a554907d799e41ac3eba9c | [
"MIT"
] | null | null | null | tests/test_subscription.py | trag-stripe/dj-stripe | 31fac752ab6540a917a554907d799e41ac3eba9c | [
"MIT"
] | null | null | null | tests/test_subscription.py | trag-stripe/dj-stripe | 31fac752ab6540a917a554907d799e41ac3eba9c | [
"MIT"
] | null | null | null | """
dj-stripe Subscription Model Tests.
"""
from copy import deepcopy
from decimal import Decimal
from unittest.mock import patch
from django.contrib.auth import get_user_model
from django.test import TestCase
from django.utils import timezone
from stripe.error import InvalidRequestError
from djstripe.enums import Su... | 37.988077 | 88 | 0.70816 | 2,691 | 25,490 | 6.372724 | 0.059086 | 0.05528 | 0.060937 | 0.086594 | 0.864832 | 0.848738 | 0.833868 | 0.821156 | 0.800921 | 0.785818 | 0 | 0.00207 | 0.20408 | 25,490 | 670 | 89 | 38.044776 | 0.843208 | 0.007022 | 0 | 0.657343 | 0 | 0 | 0.07941 | 0.053836 | 0 | 0 | 0 | 0 | 0.178322 | 1 | 0.033217 | false | 0 | 0.017483 | 0 | 0.052448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72d9d81f71b49d8005ec6b4e27ced53173df725d | 42 | py | Python | ku/ebm/__init__.py | tonandr/keras_unsupervised | fd2a2494bca2eb745027178e220b42b5e5882f94 | [
"BSD-3-Clause"
] | 4 | 2019-07-28T11:56:01.000Z | 2021-11-06T02:50:58.000Z | ku/ebm/__init__.py | tonandr/keras_unsupervised | fd2a2494bca2eb745027178e220b42b5e5882f94 | [
"BSD-3-Clause"
] | 2 | 2021-06-30T01:00:07.000Z | 2021-07-21T08:04:40.000Z | ku/ebm/__init__.py | tonandr/keras_unsupervised | fd2a2494bca2eb745027178e220b42b5e5882f94 | [
"BSD-3-Clause"
] | null | null | null | from .dbn import DBN
from .rbm import RBM | 21 | 21 | 0.761905 | 8 | 42 | 4 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 22 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f405887e05b5221d6596043b63f721c3de200150 | 179 | py | Python | bin/iamonds/hexiamonds-stacked-chevrons-6x6.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/iamonds/hexiamonds-stacked-chevrons-6x6.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/iamonds/hexiamonds-stacked-chevrons-6x6.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | 1 | 2022-01-02T16:54:14.000Z | 2022-01-02T16:54:14.000Z | #!/usr/bin/env python
# $Id$
"""933 solutions"""
import puzzler
from puzzler.puzzles.hexiamonds import HexiamondsStackedChevrons_6x6
puzzler.run(HexiamondsStackedChevrons_6x6)
| 17.9 | 68 | 0.804469 | 20 | 179 | 7.1 | 0.75 | 0.394366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042945 | 0.089385 | 179 | 9 | 69 | 19.888889 | 0.828221 | 0.217877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f40785b5c99a921cf7fcdf3eb6931610cb831a13 | 42 | py | Python | helloworld/__init__.py | jtap159/helloworld | b0cae97df867a23ad0c64c521b18bf8a37676319 | [
"MIT"
] | null | null | null | helloworld/__init__.py | jtap159/helloworld | b0cae97df867a23ad0c64c521b18bf8a37676319 | [
"MIT"
] | null | null | null | helloworld/__init__.py | jtap159/helloworld | b0cae97df867a23ad0c64c521b18bf8a37676319 | [
"MIT"
] | null | null | null | from helloworld.helloworld import sayhello | 42 | 42 | 0.904762 | 5 | 42 | 7.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f474075e2b2a39b0f7d276296dea02ff91914863 | 7,983 | py | Python | netapp_activeiq_api/apis/capacity_api.py | woutercoppens/netapp-activeiq-api | a8f86355ecdd769953b69e38824b4db07c11c89e | [
"Apache-2.0"
] | 3 | 2021-09-28T23:22:59.000Z | 2021-11-23T14:53:54.000Z | netapp_activeiq_api/apis/capacity_api.py | woutercoppens/netapp-activeiq-api | a8f86355ecdd769953b69e38824b4db07c11c89e | [
"Apache-2.0"
] | null | null | null | netapp_activeiq_api/apis/capacity_api.py | woutercoppens/netapp-activeiq-api | a8f86355ecdd769953b69e38824b4db07c11c89e | [
"Apache-2.0"
] | 1 | 2021-04-01T11:22:23.000Z | 2021-04-01T11:22:23.000Z | # coding: utf-8
from .api_client import ApiClient
class CapacityApi:
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def get_capacity_details_by_level(self, id, level, **kwargs): # noqa: E501
"""Provides t... | 46.958824 | 562 | 0.615809 | 1,016 | 7,983 | 4.731299 | 0.140748 | 0.04327 | 0.049927 | 0.033701 | 0.86062 | 0.822134 | 0.811317 | 0.811317 | 0.803204 | 0.786353 | 0 | 0.022282 | 0.302894 | 7,983 | 169 | 563 | 47.236686 | 0.841509 | 0.399223 | 0 | 0.669565 | 0 | 0 | 0.232593 | 0.089459 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034783 | false | 0 | 0.008696 | 0 | 0.078261 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be46de9477b6d12d489bac9e3f55d4cc12a067cb | 16,914 | py | Python | upwork/routers/task.py | alexandru-grajdeanu/python-upwork | ffe7994c084c88c455a386791e4ec62a93bb7b6a | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-05-17T17:13:28.000Z | 2020-05-17T17:13:28.000Z | upwork/routers/task.py | frolenkov-nikita/python-upwork | d052f5caedc632c73ad770b1f822a8a494f6b34b | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | upwork/routers/task.py | frolenkov-nikita/python-upwork | d052f5caedc632c73ad770b1f822a8a494f6b34b | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # Python bindings to Upwork API
# python-upwork version 0.5
# (C) 2010-2015 Upwork
from upwork.compatibility import quote
from upwork.namespaces import Namespace
class Task(Namespace):
api_url = 'otask/'
version = 1
def get_team_tasks(self, company_id, team_id,
paging_offset=0, pa... | 35.834746 | 79 | 0.558709 | 2,003 | 16,914 | 4.537194 | 0.093859 | 0.067342 | 0.023768 | 0.03004 | 0.830436 | 0.81272 | 0.795224 | 0.783121 | 0.770577 | 0.737566 | 0 | 0.006056 | 0.355682 | 16,914 | 471 | 80 | 35.910828 | 0.827858 | 0.546707 | 0 | 0.48062 | 0 | 0 | 0.081213 | 0.052906 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139535 | false | 0 | 0.015504 | 0 | 0.364341 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be4dec4674b78bf4e1a8327c3d028260689ad9ac | 2,897 | py | Python | linkedin/appco.py | zzh-python/all-project | 915a47fb42d63ff3a36814992283c2f4ed8703a3 | [
"Apache-2.0"
] | 58 | 2019-03-01T08:15:19.000Z | 2022-03-28T03:16:17.000Z | linkedin/appco.py | zzh-python/all-project | 915a47fb42d63ff3a36814992283c2f4ed8703a3 | [
"Apache-2.0"
] | 2 | 2020-06-08T08:07:46.000Z | 2020-11-02T11:48:05.000Z | linkedin/appco.py | zzh-python/all-project | 915a47fb42d63ff3a36814992283c2f4ed8703a3 | [
"Apache-2.0"
] | 37 | 2019-02-26T23:30:08.000Z | 2022-01-27T05:10:18.000Z |
import requests
cook='appbot_convert={%22referer%22:null%2C%22landing%22:%22https://appbot.co/%22}; _ga=GA1.2.30329182.1540298320; intercom-id-glvjson7=f3876d87-0fec-45f4-89f2-85f1209950c4; appbot_session_active=true; cookieconsent_status=allow; intercom-session-glvjson7=UlhJK3ZCTHF6dFlBLzNVV2IyZDhjaWNSW... | 103.464286 | 1,652 | 0.838108 | 306 | 2,897 | 7.869281 | 0.388889 | 0.0299 | 0.040698 | 0.046512 | 0.213455 | 0.212209 | 0.212209 | 0.212209 | 0.212209 | 0.212209 | 0 | 0.274454 | 0.03659 | 2,897 | 28 | 1,653 | 103.464286 | 0.58832 | 0.174318 | 0 | 0 | 0 | 0.384615 | 0.923469 | 0.668793 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be99eca575d2ea20bbda8ac7e29af8f2bb6ccc82 | 3,013 | py | Python | academicstoday/shared_auth/views/email_views.py | MikaSoftware/academicstoday-paas-django | cf58cf216d377ea97a2676cd594f96fb9d602a46 | [
"BSD-3-Clause"
] | null | null | null | academicstoday/shared_auth/views/email_views.py | MikaSoftware/academicstoday-paas-django | cf58cf216d377ea97a2676cd594f96fb9d602a46 | [
"BSD-3-Clause"
] | 6 | 2020-06-05T17:54:00.000Z | 2022-03-11T23:18:41.000Z | academicstoday/shared_auth/views/email_views.py | MikaSoftware/academicstoday-paas-django | cf58cf216d377ea97a2676cd594f96fb9d602a46 | [
"BSD-3-Clause"
] | 2 | 2020-05-01T12:50:38.000Z | 2021-07-17T09:51:12.000Z | # -*- coding: utf-8 -*-
from django.contrib.auth.decorators import login_required
from django.contrib.auth.models import Group
from django.core.exceptions import PermissionDenied
from django.shortcuts import render
from django.utils.translation import ugettext_lazy as _
from django.views.decorators.http import conditio... | 34.632184 | 86 | 0.683372 | 384 | 3,013 | 5.088542 | 0.296875 | 0.071648 | 0.061412 | 0.053736 | 0.733879 | 0.733879 | 0.733879 | 0.733879 | 0.733879 | 0.733879 | 0 | 0.000433 | 0.233322 | 3,013 | 86 | 87 | 35.034884 | 0.845455 | 0.213409 | 0 | 0.610169 | 0 | 0 | 0.131378 | 0.069728 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0.067797 | 0.152542 | 0 | 0.220339 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
bebd450ab3863f6d821c7db6ce97715c424a445a | 177 | py | Python | texpy/main.py | PapaCharlie/texpy | 214f0a2adfc8c57c052c706638785809a024f940 | [
"MIT"
] | null | null | null | texpy/main.py | PapaCharlie/texpy | 214f0a2adfc8c57c052c706638785809a024f940 | [
"MIT"
] | null | null | null | texpy/main.py | PapaCharlie/texpy | 214f0a2adfc8c57c052c706638785809a024f940 | [
"MIT"
] | null | null | null | import integrals
import plain
from utils import tex_to_plain
def parse(string, **flags):
print integrals.main(string, **flags) or "",
print plain.main(string, **flags) | 22.125 | 48 | 0.723164 | 25 | 177 | 5.04 | 0.56 | 0.261905 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158192 | 177 | 8 | 49 | 22.125 | 0.845638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fe25735416fdb12da8e97ddaf32ffd30accbb7d0 | 193 | py | Python | web/website/apps.py | mnahinkhan/rnpfind | 5aa956ddd528ab9ebd9588be845f78c449915b78 | [
"MIT"
] | 3 | 2021-06-08T03:55:03.000Z | 2021-06-15T07:33:08.000Z | web/website/apps.py | mnahinkhan/RNPFind | 8b561e087f943421c847dcb708ee386ee6439fa5 | [
"MIT"
] | 1 | 2022-02-24T15:34:24.000Z | 2022-03-04T09:59:10.000Z | web/website/apps.py | mnahinkhan/RNPFind | 8b561e087f943421c847dcb708ee386ee6439fa5 | [
"MIT"
] | 1 | 2021-07-22T04:13:34.000Z | 2021-07-22T04:13:34.000Z | """
Autogenerated by Django - lists app configurations
"""
from django.apps import AppConfig
class WebsiteConfig(AppConfig):
"""
Autogenerated by Django
"""
name = "website"
| 14.846154 | 50 | 0.678756 | 19 | 193 | 6.894737 | 0.736842 | 0.229008 | 0.320611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217617 | 193 | 12 | 51 | 16.083333 | 0.86755 | 0.38342 | 0 | 0 | 1 | 0 | 0.072917 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe99f4c464f48ab5660d9574cbe8bdc2d37857a2 | 139 | py | Python | weather/GeoWeatherExceptions.py | Gabriel737/CadorsMap | 2bca28b8bda79caad1149bcedd1dc4953c84e13b | [
"MIT"
] | 1 | 2021-12-11T21:11:06.000Z | 2021-12-11T21:11:06.000Z | weather/GeoWeatherExceptions.py | Gabriel737/CadorsMap | 2bca28b8bda79caad1149bcedd1dc4953c84e13b | [
"MIT"
] | null | null | null | weather/GeoWeatherExceptions.py | Gabriel737/CadorsMap | 2bca28b8bda79caad1149bcedd1dc4953c84e13b | [
"MIT"
] | 1 | 2021-12-11T21:01:57.000Z | 2021-12-11T21:01:57.000Z | class GeoWeatherServiceFailedToLocateException(Exception):
pass
class GeoWeatherServiceFailedToRetrieveException(Exception):
pass
| 23.166667 | 60 | 0.848921 | 8 | 139 | 14.75 | 0.625 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107914 | 139 | 5 | 61 | 27.8 | 0.951613 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fe9c883d3eeb6663b042b3c802445f66f98731cb | 3,960 | py | Python | arus/tests/test_scheduler.py | qutang/arus | ee422bbadc72635037944359d00475f698e8fc61 | [
"MIT"
] | null | null | null | arus/tests/test_scheduler.py | qutang/arus | ee422bbadc72635037944359d00475f698e8fc61 | [
"MIT"
] | 264 | 2019-09-25T14:15:39.000Z | 2022-03-11T10:11:38.000Z | arus/tests/test_scheduler.py | qutang/arus | ee422bbadc72635037944359d00475f698e8fc61 | [
"MIT"
] | null | null | null | import pytest
from .. import scheduler
import os
import time
def task1():
print('task1 start on {}'.format(os.getpid()))
time.sleep(2)
print('task1 stop on {}'.format(os.getpid()))
return 'task1', time.time(), os.getpid()
def task2():
print('task2 start on {}'.format(os.getpid()))
time.sleep... | 40.408163 | 173 | 0.59798 | 490 | 3,960 | 4.759184 | 0.140816 | 0.133791 | 0.123499 | 0.102916 | 0.849057 | 0.832762 | 0.799314 | 0.76072 | 0.76072 | 0.76072 | 0 | 0.039769 | 0.257071 | 3,960 | 97 | 174 | 40.824742 | 0.752889 | 0 | 0 | 0.636364 | 0 | 0 | 0.04899 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 1 | 0.056818 | false | 0 | 0.045455 | 0 | 0.147727 | 0.068182 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22ccede72a12021d1108c6ef77107c6e04d590bc | 34 | py | Python | alexnet_cifar10/__init__.py | zhangjunpeng9354/Learning-Tensorflow-by-Models | 9e6ab4da4ec66fb6e7934d129c57110c85e3d7da | [
"MIT"
] | 1 | 2017-10-05T00:23:20.000Z | 2017-10-05T00:23:20.000Z | alexnet_cifar10/__init__.py | zhangjunpeng9354/Learning-Tensorflow-by-Models | 9e6ab4da4ec66fb6e7934d129c57110c85e3d7da | [
"MIT"
] | null | null | null | alexnet_cifar10/__init__.py | zhangjunpeng9354/Learning-Tensorflow-by-Models | 9e6ab4da4ec66fb6e7934d129c57110c85e3d7da | [
"MIT"
] | null | null | null | import input
from model import *
| 8.5 | 19 | 0.764706 | 5 | 34 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 3 | 20 | 11.333333 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22ececfb2a5d9e03f484b8c96fa703a80e2afaeb | 1,671 | py | Python | server/tests/models/test_arg_limit.py | athenianco/athenian-api | dd5556101a8c49703d6b0516e4268b9e8d8eda5b | [
"RSA-MD"
] | 9 | 2020-10-11T22:12:03.000Z | 2022-02-26T02:16:45.000Z | server/tests/models/test_arg_limit.py | athenianco/athenian-api | dd5556101a8c49703d6b0516e4268b9e8d8eda5b | [
"RSA-MD"
] | 246 | 2019-12-05T06:37:30.000Z | 2022-03-29T10:00:07.000Z | server/tests/models/test_arg_limit.py | athenianco/athenian-api | dd5556101a8c49703d6b0516e4268b9e8d8eda5b | [
"RSA-MD"
] | 5 | 2019-12-04T22:38:05.000Z | 2021-02-26T00:50:04.000Z | from sqlalchemy import select
from sqlalchemy.dialects import postgresql, sqlite
from athenian.api.models.metadata.github import Repository
async def test_query_argument_limit_in(mdb):
rows = await mdb.fetch_all(select([Repository]).where(Repository.full_name.in_(
["r%d" % i for i in range(1 << 16)] + ["... | 47.742857 | 83 | 0.678636 | 255 | 1,671 | 4.27451 | 0.203922 | 0.082569 | 0.115596 | 0.170642 | 0.778899 | 0.778899 | 0.778899 | 0.778899 | 0.778899 | 0.73945 | 0 | 0.012912 | 0.165769 | 1,671 | 34 | 84 | 49.147059 | 0.76901 | 0 | 0 | 0.62069 | 0 | 0 | 0.071215 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0 | false | 0 | 0.103448 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22f2db204ed7d8c464d421bf34a26190a15b5dbd | 367 | py | Python | python/pyprepbuddy/cluster/cluster.py | veera83372/prep-buddy | d2abbf376e91b841b28476bd45026800fcd7a33c | [
"Apache-2.0"
] | null | null | null | python/pyprepbuddy/cluster/cluster.py | veera83372/prep-buddy | d2abbf376e91b841b28476bd45026800fcd7a33c | [
"Apache-2.0"
] | null | null | null | python/pyprepbuddy/cluster/cluster.py | veera83372/prep-buddy | d2abbf376e91b841b28476bd45026800fcd7a33c | [
"Apache-2.0"
] | 1 | 2018-05-29T16:21:33.000Z | 2018-05-29T16:21:33.000Z | class Cluster(object):
"""
Cluster contains groups of values by their specified key
"""
def __init__(self, cluster):
self.__cluster = cluster
def __contains__(self, item):
return self.__cluster.containsValue(item)
def size(self):
return self.__cluster.size()
def ge... | 22.9375 | 60 | 0.648501 | 42 | 367 | 5.261905 | 0.452381 | 0.248869 | 0.230769 | 0.190045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258856 | 367 | 15 | 61 | 24.466667 | 0.8125 | 0.152589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.333333 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fe0e7caf2438cb95c1fa1892354fa2a67e9acf42 | 2,425 | py | Python | sympy/crypto/__init__.py | msgoff/sympy | 1e7daef7514902f5e89718fa957b7b36c6669a10 | [
"BSD-3-Clause"
] | null | null | null | sympy/crypto/__init__.py | msgoff/sympy | 1e7daef7514902f5e89718fa957b7b36c6669a10 | [
"BSD-3-Clause"
] | null | null | null | sympy/crypto/__init__.py | msgoff/sympy | 1e7daef7514902f5e89718fa957b7b36c6669a10 | [
"BSD-3-Clause"
] | null | null | null | from sympy.crypto.crypto import (
cycle_list,
encipher_shift,
encipher_affine,
encipher_substitution,
check_and_join,
encipher_vigenere,
decipher_vigenere,
bifid5_square,
bifid6_square,
encipher_hill,
decipher_hill,
encipher_bifid5,
encipher_bifid6,
decipher_bifid... | 20.550847 | 33 | 0.669691 | 262 | 2,425 | 5.633588 | 0.167939 | 0.081301 | 0.03523 | 0.02981 | 0.979675 | 0.979675 | 0.979675 | 0.979675 | 0.979675 | 0.979675 | 0 | 0.015094 | 0.235052 | 2,425 | 117 | 34 | 20.726496 | 0.780593 | 0 | 0 | 0 | 0 | 0 | 0.327835 | 0.019381 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008621 | 0 | 0.008621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe165b97b4f738953deab5dc97f971d96d7ae3e4 | 132 | py | Python | login/admin.py | bibapple/LoginApp | 63bae464076ae033097c88db25ec03a7b409d95e | [
"Apache-2.0"
] | null | null | null | login/admin.py | bibapple/LoginApp | 63bae464076ae033097c88db25ec03a7b409d95e | [
"Apache-2.0"
] | 10 | 2020-02-12T00:40:59.000Z | 2022-01-13T01:20:39.000Z | login/admin.py | bibapple/LoginApp | 63bae464076ae033097c88db25ec03a7b409d95e | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.User)
admin.site.register(models.ConfirmEmail)
| 14.666667 | 40 | 0.80303 | 18 | 132 | 5.888889 | 0.555556 | 0.169811 | 0.320755 | 0.433962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 132 | 8 | 41 | 16.5 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a3ace3e1a4c614e6fe172bd222a117b9196491e4 | 1,978 | py | Python | test/test_cli.py | goneri/ansible-builder | a57334b2090a38d54931129b8d0308a2d0b361bd | [
"Apache-2.0"
] | 1 | 2021-12-06T16:55:55.000Z | 2021-12-06T16:55:55.000Z | test/test_cli.py | goneri/ansible-builder | a57334b2090a38d54931129b8d0308a2d0b361bd | [
"Apache-2.0"
] | null | null | null | test/test_cli.py | goneri/ansible-builder | a57334b2090a38d54931129b8d0308a2d0b361bd | [
"Apache-2.0"
] | null | null | null | from ansible_builder.main import AnsibleBuilder
from ansible_builder.cli import parse_args
def prepare(args):
args = parse_args(args)
return AnsibleBuilder(**vars(args))
def test_custom_image(exec_env_definition_file, tmpdir):
content = {'version': 1}
path = str(exec_env_definition_file(content=cont... | 42.085106 | 131 | 0.699191 | 263 | 1,978 | 4.996198 | 0.18251 | 0.073059 | 0.077626 | 0.098935 | 0.831811 | 0.770928 | 0.770928 | 0.770928 | 0.770928 | 0.770928 | 0 | 0.001179 | 0.142568 | 1,978 | 46 | 132 | 43 | 0.773585 | 0.149646 | 0 | 0.384615 | 0 | 0 | 0.245373 | 0.122985 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.153846 | false | 0 | 0.076923 | 0 | 0.269231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3cf29d2f473960a4ceeac97356e80b2fb81a39a | 407 | py | Python | exercises/complex-numbers/complex_numbers.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,177 | 2017-06-21T20:24:06.000Z | 2022-03-29T02:30:55.000Z | exercises/complex-numbers/complex_numbers.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,890 | 2017-06-18T20:06:10.000Z | 2022-03-31T18:35:51.000Z | exercises/complex-numbers/complex_numbers.py | kishankj/python | 82042de746128127502e109111e6c4e8ab002af6 | [
"MIT"
] | 1,095 | 2017-06-26T23:06:19.000Z | 2022-03-29T03:25:38.000Z | class ComplexNumber:
def __init__(self, real, imaginary):
pass
def __eq__(self, other):
pass
def __add__(self, other):
pass
def __mul__(self, other):
pass
def __sub__(self, other):
pass
def __truediv__(self, other):
pass
def __abs__(self)... | 14.535714 | 40 | 0.540541 | 45 | 407 | 4.266667 | 0.377778 | 0.291667 | 0.338542 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.373464 | 407 | 27 | 41 | 15.074074 | 0.752941 | 0 | 0 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.473684 | false | 0.473684 | 0 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
a3d46ad92b0cfc7891fd0a7e0dae3ce327269dfe | 108 | py | Python | validators.py | setivolkylany/DjangoAppTemplate | d26a63116d9f01e321374e3560b84836a1bea4c7 | [
"MIT"
] | null | null | null | validators.py | setivolkylany/DjangoAppTemplate | d26a63116d9f01e321374e3560b84836a1bea4c7 | [
"MIT"
] | null | null | null | validators.py | setivolkylany/DjangoAppTemplate | d26a63116d9f01e321374e3560b84836a1bea4c7 | [
"MIT"
] | null | null | null |
from django.utils.translation import ugettext_lazy as _
from django.core.exceptions import ValidationError
| 27 | 55 | 0.861111 | 14 | 108 | 6.5 | 0.785714 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 108 | 3 | 56 | 36 | 0.938144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4304452939d42e97c3de7239c0970fa4ca4199e8 | 533 | py | Python | faktotum/research/__init__.py | severinsimmler/extract | c1e76a29929e2334976b18ba9218403d85331f51 | [
"MIT"
] | 2 | 2020-02-19T14:29:21.000Z | 2020-02-22T14:33:08.000Z | faktotum/research/__init__.py | severinsimmler/faktotum | c1e76a29929e2334976b18ba9218403d85331f51 | [
"MIT"
] | null | null | null | faktotum/research/__init__.py | severinsimmler/faktotum | c1e76a29929e2334976b18ba9218403d85331f51 | [
"MIT"
] | null | null | null | import logging
import transformers
logging.getLogger("transformers").setLevel(logging.ERROR)
from faktotum.research import evaluation
from faktotum.research.corpus import load_corpus, sentencize_corpus, tokenize_corpus
from faktotum.research.knowledge import KnowledgeBase
from faktotum.research.ontologia import FastT... | 38.071429 | 84 | 0.864916 | 63 | 533 | 7.269841 | 0.396825 | 0.209607 | 0.349345 | 0.227074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002049 | 0.084428 | 533 | 13 | 85 | 41 | 0.936475 | 0 | 0 | 0 | 0 | 0 | 0.022514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.909091 | 0 | 0.909091 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
432d758dcf8a65a9d80e8fbb5b38627ae441184d | 198 | py | Python | peleffybenchmarktools/dihedrals/__init__.py | martimunicoy/offpele-benchmarks | 20af939ce60252c05e0c1e44b85cf89a4f8a2245 | [
"MIT"
] | null | null | null | peleffybenchmarktools/dihedrals/__init__.py | martimunicoy/offpele-benchmarks | 20af939ce60252c05e0c1e44b85cf89a4f8a2245 | [
"MIT"
] | 7 | 2020-08-07T14:51:02.000Z | 2020-10-30T20:18:38.000Z | peleffybenchmarktools/dihedrals/__init__.py | martimunicoy/offpele-benchmarks | 20af939ce60252c05e0c1e44b85cf89a4f8a2245 | [
"MIT"
] | null | null | null | from .dihedralhandler import DihedralBenchmark
from .energyhandler import (OpenMMEnergeticProfile, OpenFFEnergeticProfile,
PELEEnergeticProfile, OFFPELEEnergeticProfile)
| 49.5 | 75 | 0.767677 | 11 | 198 | 13.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 198 | 3 | 76 | 66 | 0.955975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a60a030584af45b15a48ecb28bd359eaf0d478b | 33,212 | py | Python | test_sc3.py | burja8x/StreamAi | 09d600632299f436ccb6706ec4e53f6250ded93d | [
"MIT"
] | null | null | null | test_sc3.py | burja8x/StreamAi | 09d600632299f436ccb6706ec4e53f6250ded93d | [
"MIT"
] | null | null | null | test_sc3.py | burja8x/StreamAi | 09d600632299f436ccb6706ec4e53f6250ded93d | [
"MIT"
] | null | null | null | from unittest import TestCase
from sc2 import *
import random
import time
class Test(TestCase):
def test_1_admin_c(self):
a = send_tx(sc.functions.changeFeeAccount(accX0.address), accA)
self.assertEqual(a[1], 1)
a = send_tx(sc.functions.changeWaitTime(5, 10), accA)
self.assertEqua... | 39.118963 | 119 | 0.577713 | 4,184 | 33,212 | 4.476577 | 0.06979 | 0.137427 | 0.043566 | 0.092579 | 0.835184 | 0.817886 | 0.783129 | 0.774106 | 0.749706 | 0.732835 | 0 | 0.054844 | 0.273124 | 33,212 | 849 | 120 | 39.118963 | 0.721014 | 0.035379 | 0 | 0.67638 | 0 | 0.001534 | 0.056304 | 0.010373 | 0 | 0 | 0.001312 | 0 | 0.219325 | 1 | 0.044479 | false | 0.003067 | 0.006135 | 0 | 0.058282 | 0.116564 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a748dafe7e9673c63c15540d11f40bb5a121e06 | 181 | py | Python | main.py | barnett617/python_analysis | cb8d9cdbdcdf4176853aff9eebc0c759c28e330b | [
"MIT"
] | 2 | 2020-07-27T16:16:10.000Z | 2021-06-04T10:01:11.000Z | main.py | barnett617/python_analysis | cb8d9cdbdcdf4176853aff9eebc0c759c28e330b | [
"MIT"
] | null | null | null | main.py | barnett617/python_analysis | cb8d9cdbdcdf4176853aff9eebc0c759c28e330b | [
"MIT"
] | 2 | 2019-05-09T03:44:20.000Z | 2020-02-08T12:25:25.000Z | # -*-coding:utf-8-*-
import module_histogram
import module_line_graph
import module_pie_chart
module_histogram.show_plt()
module_line_graph.show_plt()
module_pie_chart.show_plt()
| 18.1 | 28 | 0.828729 | 28 | 181 | 4.892857 | 0.428571 | 0.262774 | 0.218978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.071823 | 181 | 9 | 29 | 20.111111 | 0.809524 | 0.099448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4abaf8431eebab28704456f1a02a4e1ee7959bbc | 195 | py | Python | main/admin.py | vipinkhushu/xunbao2017 | e5f225b50976d42b8a577170e4556b59ad4b13e0 | [
"MIT"
] | null | null | null | main/admin.py | vipinkhushu/xunbao2017 | e5f225b50976d42b8a577170e4556b59ad4b13e0 | [
"MIT"
] | null | null | null | main/admin.py | vipinkhushu/xunbao2017 | e5f225b50976d42b8a577170e4556b59ad4b13e0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import player,question,message,logs
admin.site.register(player)
admin.site.register(question)
admin.site.register(message)
admin.site.register(logs) | 27.857143 | 48 | 0.830769 | 28 | 195 | 5.785714 | 0.428571 | 0.222222 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 195 | 7 | 49 | 27.857143 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4355dd84162a531daa81062c375f3f0c7be09dc7 | 142 | py | Python | pages/main_page.py | RezerF/course-project-selenium-stepik | 2579c23dca637679eb43a898f299582becc475b8 | [
"Unlicense"
] | null | null | null | pages/main_page.py | RezerF/course-project-selenium-stepik | 2579c23dca637679eb43a898f299582becc475b8 | [
"Unlicense"
] | null | null | null | pages/main_page.py | RezerF/course-project-selenium-stepik | 2579c23dca637679eb43a898f299582becc475b8 | [
"Unlicense"
] | null | null | null | from .base_page import BasePage
from .locators import MainPageLocators
from .login_page import LoginPage
class MainPage(BasePage):
pass
| 17.75 | 38 | 0.809859 | 18 | 142 | 6.277778 | 0.666667 | 0.176991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147887 | 142 | 7 | 39 | 20.285714 | 0.933884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
43574fda0e286cd03624f2cece4b2f5a5eea573f | 5,991 | py | Python | cryptohack/crossed-wires/decrypt.py | onealmond/hacking-lab | 631e615944add02db3c2afef47bf1de7171eb065 | [
"MIT"
] | 9 | 2021-04-20T15:28:36.000Z | 2022-03-08T19:53:48.000Z | cryptohack/crossed-wires/decrypt.py | onealmond/hacking-lab | 631e615944add02db3c2afef47bf1de7171eb065 | [
"MIT"
] | null | null | null | cryptohack/crossed-wires/decrypt.py | onealmond/hacking-lab | 631e615944add02db3c2afef47bf1de7171eb065 | [
"MIT"
] | 6 | 2021-06-24T03:25:21.000Z | 2022-02-20T21:44:52.000Z | #!/usr/bin/env python3
from Cryptodome.Util import number
# Since encryption was use friends' key, e and d are useless
N, _ = (217113082253463155427068446184415657410464982777169799434783605980531449713799569165753703434489886019058545720296358466262594872979503052316611098558549474942091352055892586435179615215949243... | 272.318182 | 3,157 | 0.972626 | 80 | 5,991 | 72.775 | 0.6375 | 0.003435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.946298 | 0.014689 | 5,991 | 21 | 3,158 | 285.285714 | 0.03998 | 0.025371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0.090909 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
438fb4992c15aa12585160724986297ff437d702 | 50 | py | Python | wrappers/__init__.py | CN-UPB/python-mano-wrappers | 8e3607feaa97bc3e2c906ee8e4b25b21853ea6cf | [
"Apache-2.0"
] | null | null | null | wrappers/__init__.py | CN-UPB/python-mano-wrappers | 8e3607feaa97bc3e2c906ee8e4b25b21853ea6cf | [
"Apache-2.0"
] | null | null | null | wrappers/__init__.py | CN-UPB/python-mano-wrappers | 8e3607feaa97bc3e2c906ee8e4b25b21853ea6cf | [
"Apache-2.0"
] | null | null | null | from . import OSMClient
from . import SONATAClient | 25 | 26 | 0.82 | 6 | 50 | 6.833333 | 0.666667 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 26 | 25 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
439ee04280092da8e3e2fb476a94d0855a3a410c | 38 | py | Python | server/main/views/__init__.py | jphacks/TK_1905 | f4af0a26bacedde415f9f873c917fbdb4910e386 | [
"MIT"
] | 7 | 2019-10-26T05:44:14.000Z | 2019-11-10T13:06:11.000Z | server/main/views/__init__.py | jphacks/TK_1905 | f4af0a26bacedde415f9f873c917fbdb4910e386 | [
"MIT"
] | 2 | 2019-11-07T16:28:36.000Z | 2020-06-06T00:12:58.000Z | server/main/views/__init__.py | jphacks/TK_1905 | f4af0a26bacedde415f9f873c917fbdb4910e386 | [
"MIT"
] | null | null | null | from .api import *
from .web import *
| 12.666667 | 18 | 0.684211 | 6 | 38 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 2 | 19 | 19 | 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 | 1 | 0 | 0 | 6 |
43d48d4af9983d49019d9d399d1288de878f4952 | 136 | py | Python | dataPipelines/gc_crawler_status_tracker/config.py | Wildertrek/gamechanger-data | d087044594c722bd373cce1a48293d1a6da5d24e | [
"MIT"
] | 18 | 2021-04-20T20:34:01.000Z | 2021-11-08T10:28:17.000Z | dataPipelines/gc_crawler_status_tracker/config.py | Wildertrek/gamechanger-data | d087044594c722bd373cce1a48293d1a6da5d24e | [
"MIT"
] | 15 | 2021-04-20T20:31:33.000Z | 2022-03-18T16:00:44.000Z | dataPipelines/gc_crawler_status_tracker/config.py | ekmixon/gamechanger-crawlers | 60a0cf20338fb3dc134eec117bccd519cede9288 | [
"MIT"
] | 8 | 2021-04-23T11:38:26.000Z | 2021-11-17T22:42:38.000Z | from configuration.utils import get_connection_helper_from_env
class Config:
connection_helper = get_connection_helper_from_env()
| 22.666667 | 62 | 0.852941 | 18 | 136 | 5.944444 | 0.555556 | 0.448598 | 0.35514 | 0.429907 | 0.485981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110294 | 136 | 5 | 63 | 27.2 | 0.884298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
43d9bcaaa6296e2c48b39e0064e587018059e361 | 116 | py | Python | app/frontend/__init__.py | rblack42/flask-inventory | 48c0cfaf1ab10d0891c5af9d2b609e2b9e44ed74 | [
"BSD-3-Clause"
] | null | null | null | app/frontend/__init__.py | rblack42/flask-inventory | 48c0cfaf1ab10d0891c5af9d2b609e2b9e44ed74 | [
"BSD-3-Clause"
] | null | null | null | app/frontend/__init__.py | rblack42/flask-inventory | 48c0cfaf1ab10d0891c5af9d2b609e2b9e44ed74 | [
"BSD-3-Clause"
] | null | null | null | from flask import Blueprint
frontend_blueprint = Blueprint('frontend', __name__)
from app.frontend import views
| 14.5 | 52 | 0.801724 | 14 | 116 | 6.285714 | 0.571429 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 116 | 7 | 53 | 16.571429 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
78e52b7cc185e858cab47c76a99b88cd05eace6a | 84 | py | Python | tests/test_pydent/test_models/models/test_collection.py | aquariumbio/trident | d1712cae544103fb145e3171894e4b35141f6813 | [
"MIT"
] | 5 | 2019-01-21T11:12:05.000Z | 2020-03-05T20:52:14.000Z | tests/test_pydent/test_models/models/test_collection.py | aquariumbio/pydent | d1712cae544103fb145e3171894e4b35141f6813 | [
"MIT"
] | 28 | 2020-11-18T02:07:09.000Z | 2021-06-08T15:49:41.000Z | tests/test_pydent/test_models/models/test_collection.py | aquariumbio/trident | d1712cae544103fb145e3171894e4b35141f6813 | [
"MIT"
] | 2 | 2021-02-27T19:23:45.000Z | 2021-09-14T10:29:07.000Z | from pydent.models import Collection
# TODO: mock tests for Collections and Parts
| 16.8 | 44 | 0.797619 | 12 | 84 | 5.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 84 | 4 | 45 | 21 | 0.957143 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6029b208ecebe8ef4127ac5645b9e1ecd61c1934 | 40,153 | py | Python | mff/kernels/manybodykernel.py | alvarovm/mff | cd1b22b606dfd64d91dc94fece72ad6a707212af | [
"Apache-2.0"
] | 14 | 2019-03-22T18:57:34.000Z | 2021-12-15T11:37:17.000Z | mff/kernels/manybodykernel.py | alvarovm/mff | cd1b22b606dfd64d91dc94fece72ad6a707212af | [
"Apache-2.0"
] | 4 | 2019-06-18T14:55:46.000Z | 2019-11-26T19:34:59.000Z | mff/kernels/manybodykernel.py | alvarovm/mff | cd1b22b606dfd64d91dc94fece72ad6a707212af | [
"Apache-2.0"
] | 3 | 2019-08-05T14:42:20.000Z | 2022-03-16T18:48:54.000Z | # -*- coding: utf-8 -*-
import logging
import os.path
import pickle
from abc import ABCMeta, abstractmethod
import numpy as np
from mff.kernels.base import Kernel, Mffpath
logger = logging.getLogger(__name__)
def dummy_calc_ff(data):
""" Function used when multiprocessing.
Args:
data (list of obje... | 39.993028 | 114 | 0.493014 | 4,858 | 40,153 | 3.988884 | 0.080486 | 0.02508 | 0.018062 | 0.010734 | 0.865982 | 0.838631 | 0.820054 | 0.791568 | 0.772113 | 0.749665 | 0 | 0.033301 | 0.366548 | 40,153 | 1,003 | 115 | 40.032901 | 0.728563 | 0.272333 | 0 | 0.660886 | 0 | 0 | 0.046983 | 0.000762 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046243 | false | 0 | 0.042389 | 0.001927 | 0.134875 | 0.007707 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6049de05de393fd3e880f87515b8150f65e31371 | 3,514 | py | Python | home/pi/blissflixx/chls/bfch_r_shortfilms/__init__.py | erick-guerra/Royalbox | 967dbbdddc94b9968e6eba873f0d20328fd86f66 | [
"MIT"
] | 1 | 2022-01-29T11:17:58.000Z | 2022-01-29T11:17:58.000Z | home/pi/blissflixx/chls/bfch_r_shortfilms/__init__.py | erick-guerra/Royalbox | 967dbbdddc94b9968e6eba873f0d20328fd86f66 | [
"MIT"
] | null | null | null | home/pi/blissflixx/chls/bfch_r_shortfilms/__init__.py | erick-guerra/Royalbox | 967dbbdddc94b9968e6eba873f0d20328fd86f66 | [
"MIT"
] | null | null | null | import chanutils.reddit
_SUBREDDIT = 'Shortfilms'
_FEEDLIST = [
{'title':'Hot', 'url':'http://www.reddit.com/r/Shortfilms.json'},
{'title':'New', 'url':'http://www.reddit.com/r/Shortfilms/new.json'},
{'title':'Action & Adventure', 'url':'http://www.reddit.com/r/Shortfilms/search.json?q=flair%3A%27f01%27+&sort=t... | 70.28 | 154 | 0.700341 | 577 | 3,514 | 4.213172 | 0.164645 | 0.126697 | 0.144385 | 0.177705 | 0.744961 | 0.744961 | 0.714109 | 0.454134 | 0.454134 | 0.454134 | 0 | 0.048175 | 0.048947 | 3,514 | 49 | 155 | 71.714286 | 0.679234 | 0 | 0 | 0 | 0 | 0.585366 | 0.784291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.146341 | false | 0 | 0.02439 | 0.146341 | 0.317073 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
60f0e74ca920ba5c7a99479d84da7cd02e0b3e56 | 24 | py | Python | contrib/tools/python/src/Lib/plat-mac/Carbon/IBCarbon.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | python/src/Lib/plat-mac/Carbon/IBCarbon.py | weiqiangzheng/sl4a | d3c17dca978cbeee545e12ea240a9dbf2a6999e9 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | python/src/Lib/plat-mac/Carbon/IBCarbon.py | weiqiangzheng/sl4a | d3c17dca978cbeee545e12ea240a9dbf2a6999e9 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | from _IBCarbon import *
| 12 | 23 | 0.791667 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
60ff8d95a3fdca7931bdd631fdd95714e11e890e | 46 | py | Python | csv_to_dictionary/__init__.py | EthanDayley/csv_to_dictionary | a49103da8667e542aca30f797394af3e7d695aa5 | [
"MIT"
] | 1 | 2018-03-02T18:55:33.000Z | 2018-03-02T18:55:33.000Z | csv_to_dictionary/__init__.py | EthanDayley/csv_to_dictionary | a49103da8667e542aca30f797394af3e7d695aa5 | [
"MIT"
] | null | null | null | csv_to_dictionary/__init__.py | EthanDayley/csv_to_dictionary | a49103da8667e542aca30f797394af3e7d695aa5 | [
"MIT"
] | null | null | null | from .csv_to_dictionary import convert_simple
| 23 | 45 | 0.891304 | 7 | 46 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
880ffc1a0208c4b2c907ab0a28203a51fce736b9 | 31,415 | py | Python | sigpy/interp.py | kmjohnson3/sigpy | 6d5f9c66f7446a13b3615c31446bbce8adc5dfaa | [
"BSD-3-Clause"
] | 196 | 2018-07-07T00:42:42.000Z | 2022-03-22T02:30:24.000Z | sigpy/interp.py | kmjohnson3/sigpy | 6d5f9c66f7446a13b3615c31446bbce8adc5dfaa | [
"BSD-3-Clause"
] | 79 | 2018-10-12T19:53:21.000Z | 2022-03-30T13:44:41.000Z | sigpy/interp.py | kmjohnson3/sigpy | 6d5f9c66f7446a13b3615c31446bbce8adc5dfaa | [
"BSD-3-Clause"
] | 68 | 2018-09-26T03:46:42.000Z | 2022-03-11T03:51:49.000Z | # -*- coding: utf-8 -*-
"""Interpolation functions.
"""
import numpy as np
import numba as nb
from sigpy import backend, config, util
__all__ = ['interpolate', 'gridding']
KERNELS = ['spline', 'kaiser_bessel']
def interpolate(input, coord, kernel='spline', width=2, param=1):
r"""Interpolation from array to p... | 37.13357 | 87 | 0.467006 | 4,063 | 31,415 | 3.522274 | 0.064484 | 0.060373 | 0.02264 | 0.02264 | 0.870659 | 0.851862 | 0.844316 | 0.831179 | 0.821885 | 0.79121 | 0 | 0.052093 | 0.396276 | 31,415 | 845 | 88 | 37.177515 | 0.702468 | 0.132103 | 0 | 0.582589 | 0 | 0 | 0.388568 | 0.003149 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033482 | false | 0 | 0.008929 | 0 | 0.109375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7149511b8120586fe9092e9dabbf04e2fd82934c | 236 | py | Python | mason/engines/metastore/models/credentials/__init__.py | kyprifog/mason | bf45672124ef841bc16216c293034f4ccc506621 | [
"Apache-2.0"
] | 4 | 2021-04-12T17:49:34.000Z | 2022-01-23T19:54:29.000Z | mason/engines/metastore/models/credentials/__init__.py | kyprifog/mason | bf45672124ef841bc16216c293034f4ccc506621 | [
"Apache-2.0"
] | 24 | 2021-04-30T18:40:25.000Z | 2021-05-12T20:52:06.000Z | mason/engines/metastore/models/credentials/__init__.py | kyprifog/mason | bf45672124ef841bc16216c293034f4ccc506621 | [
"Apache-2.0"
] | 3 | 2021-04-12T19:40:43.000Z | 2021-09-07T21:56:36.000Z |
class MetastoreCredentials:
def __init__(self):
pass
def to_dict(self): return {}
class InvalidCredentials:
def __init__(self, reason: str):
self.reason = reason
def to_dict(self): return {}
| 16.857143 | 36 | 0.622881 | 26 | 236 | 5.269231 | 0.461538 | 0.10219 | 0.160584 | 0.189781 | 0.277372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283898 | 236 | 13 | 37 | 18.153846 | 0.810651 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.125 | 0 | 0.25 | 0.75 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
718457e56167d7666921e966a93c04a280206e61 | 5,283 | py | Python | tests/conversation_manager/test_create_statement.py | Jack2313/WeChatterBot | 377899e8cab4ca5eca9b0136207e2afb97d9acb2 | [
"BSD-3-Clause"
] | 1 | 2020-04-03T02:54:18.000Z | 2020-04-03T02:54:18.000Z | tests/conversation_manager/test_create_statement.py | Jack2313/WeChatterBot | 377899e8cab4ca5eca9b0136207e2afb97d9acb2 | [
"BSD-3-Clause"
] | 7 | 2020-04-11T13:22:50.000Z | 2020-05-14T00:19:37.000Z | tests/conversation_manager/test_create_statement.py | Jack2313/WeChatterBot | 377899e8cab4ca5eca9b0136207e2afb97d9acb2 | [
"BSD-3-Clause"
] | 3 | 2020-04-11T12:09:56.000Z | 2020-12-16T13:26:20.000Z | from unittest import TestCase
from app.view.conversation_manager import generate_token
import json
from app import create_app
class CreateStatementTestCase(TestCase):
"""
Unit tests for the Create Statement method.
LJF: all tests clear 2020-5-12
"""
def setUp(self):
self.app = create_app(... | 30.188571 | 61 | 0.526595 | 541 | 5,283 | 5.053604 | 0.144177 | 0.120702 | 0.029261 | 0.043892 | 0.795538 | 0.767008 | 0.767008 | 0.753841 | 0.740673 | 0.740673 | 0 | 0.03339 | 0.33674 | 5,283 | 174 | 62 | 30.362069 | 0.746861 | 0.017225 | 0 | 0.692308 | 1 | 0 | 0.143465 | 0.042537 | 0 | 0 | 0 | 0 | 0.141026 | 1 | 0.070513 | false | 0 | 0.025641 | 0 | 0.102564 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
718c22405923f2b023b6cc58157a258263e3a382 | 42 | py | Python | scraper/middlewares/selenium/__init__.py | otrenav/cfe-rates-scraping | 9e3c7be2cc166e69b6db7fda3f6db841ff9579ea | [
"MIT"
] | null | null | null | scraper/middlewares/selenium/__init__.py | otrenav/cfe-rates-scraping | 9e3c7be2cc166e69b6db7fda3f6db841ff9579ea | [
"MIT"
] | null | null | null | scraper/middlewares/selenium/__init__.py | otrenav/cfe-rates-scraping | 9e3c7be2cc166e69b6db7fda3f6db841ff9579ea | [
"MIT"
] | null | null | null |
from .selenium import SeleniumMiddleware
| 14 | 40 | 0.857143 | 4 | 42 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 2 | 41 | 21 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
719f3b6dff37f4fbd1ccba3133a1424330041a82 | 195 | py | Python | _test_projects/basics/file_blueprint.py | oren0e/cob | f2a5d74a15f5262d7980e4cf1f1a20af29194ffb | [
"BSD-3-Clause"
] | 2 | 2019-04-07T20:19:55.000Z | 2021-05-27T10:23:31.000Z | _test_projects/basics/file_blueprint.py | oren0e/cob | f2a5d74a15f5262d7980e4cf1f1a20af29194ffb | [
"BSD-3-Clause"
] | 126 | 2016-08-10T19:59:45.000Z | 2021-11-26T06:58:16.000Z | _test_projects/basics/file_blueprint.py | oren0e/cob | f2a5d74a15f5262d7980e4cf1f1a20af29194ffb | [
"BSD-3-Clause"
] | 6 | 2017-11-16T12:05:47.000Z | 2021-11-24T09:21:17.000Z | # cob: type=blueprint mountpoint=/blueprints/file
from flask import Blueprint
blueprint = Blueprint('file_blueprint', __name__)
@blueprint.route('/test')
def route():
return 'this is file'
| 21.666667 | 49 | 0.748718 | 24 | 195 | 5.875 | 0.666667 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 195 | 8 | 50 | 24.375 | 0.829412 | 0.241026 | 0 | 0 | 0 | 0 | 0.212329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.6 | 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 | 0 | 1 | 1 | 1 | 0 | 6 |
4619f63f39c7bb94b175da3d7d83adafc5147f72 | 39 | py | Python | test/tests/__init__.py | HansBug/treevalue | 6f2f5b2de00b04a06201a87ccee678ade9deff57 | [
"Apache-2.0"
] | null | null | null | test/tests/__init__.py | HansBug/treevalue | 6f2f5b2de00b04a06201a87ccee678ade9deff57 | [
"Apache-2.0"
] | 1 | 2021-07-24T13:30:14.000Z | 2021-07-24T13:30:14.000Z | test/tests/__init__.py | HansBug/treevalue | 6f2f5b2de00b04a06201a87ccee678ade9deff57 | [
"Apache-2.0"
] | null | null | null | from .utils import float_eq, eq_extend
| 19.5 | 38 | 0.820513 | 7 | 39 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1cb5c302ae15b077421f72e8eda900bedb621fca | 29 | py | Python | agents/__init__.py | petros94/monte-carlo-gridworld | 787a6fb42476e55d7411731fa17a6603333f65a9 | [
"MIT"
] | null | null | null | agents/__init__.py | petros94/monte-carlo-gridworld | 787a6fb42476e55d7411731fa17a6603333f65a9 | [
"MIT"
] | null | null | null | agents/__init__.py | petros94/monte-carlo-gridworld | 787a6fb42476e55d7411731fa17a6603333f65a9 | [
"MIT"
] | null | null | null | from agents.mc_agent import * | 29 | 29 | 0.827586 | 5 | 29 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1cbc98a5f22158d8e060999c58f279f0eeeb8f9e | 19 | py | Python | htmotor/__init__.py | 5elenay/htmotor | 6e39046e979f51670adb85a7f6e736c2d9f7b97f | [
"MIT"
] | 5 | 2021-06-15T17:33:13.000Z | 2021-08-14T21:43:24.000Z | htmotor/__init__.py | 5elenay/htmotor | 6e39046e979f51670adb85a7f6e736c2d9f7b97f | [
"MIT"
] | null | null | null | htmotor/__init__.py | 5elenay/htmotor | 6e39046e979f51670adb85a7f6e736c2d9f7b97f | [
"MIT"
] | 1 | 2021-09-20T21:13:01.000Z | 2021-09-20T21:13:01.000Z | from .html import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1cdaa50ebd69b10aa636d9cec39829c0c21d5ac2 | 3,401 | py | Python | mainService/mainService/apps/core_sample/migrations/0008_carbon_layer_disruption_layer_oil_layer_rock_layer.py | Godis715/Core-Sample-Analysis | 892b3d322e9ce86dab0da9754b902b504b2e0d8b | [
"Apache-2.0"
] | 2 | 2019-09-18T10:59:21.000Z | 2019-10-02T16:50:05.000Z | mainService/mainService/apps/core_sample/migrations/0008_carbon_layer_disruption_layer_oil_layer_rock_layer.py | Godis715/Core-Sample-Analysis | 892b3d322e9ce86dab0da9754b902b504b2e0d8b | [
"Apache-2.0"
] | 78 | 2019-09-20T16:56:18.000Z | 2022-03-12T00:04:37.000Z | mainService/mainService/apps/core_sample/migrations/0008_carbon_layer_disruption_layer_oil_layer_rock_layer.py | Godis715/Core-Sample-Analysis | 892b3d322e9ce86dab0da9754b902b504b2e0d8b | [
"Apache-2.0"
] | 1 | 2019-10-03T20:49:34.000Z | 2019-10-03T20:49:34.000Z | # Generated by Django 2.2.6 on 2019-10-22 18:36
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('core_sample', '0007_remove_markup_version'),
]
operations = [
migrations.CreateModel(
name='Roc... | 47.901408 | 141 | 0.565716 | 327 | 3,401 | 5.700306 | 0.232416 | 0.165236 | 0.098712 | 0.11588 | 0.722639 | 0.722639 | 0.722639 | 0.722639 | 0.722639 | 0.722639 | 0 | 0.012617 | 0.277565 | 3,401 | 70 | 142 | 48.585714 | 0.746032 | 0.013231 | 0 | 0.59375 | 1 | 0 | 0.205426 | 0.007752 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.078125 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1cf44b5b5dd37838b7e092bb842aab84879b162f | 3,267 | py | Python | util/svg_dict.py | widyaageng/Sudoku_auto | 94b612fd3266cdd42d20973e98a89f90d664d57c | [
"BSD-2-Clause"
] | null | null | null | util/svg_dict.py | widyaageng/Sudoku_auto | 94b612fd3266cdd42d20973e98a89f90d664d57c | [
"BSD-2-Clause"
] | null | null | null | util/svg_dict.py | widyaageng/Sudoku_auto | 94b612fd3266cdd42d20973e98a89f90d664d57c | [
"BSD-2-Clause"
] | null | null | null | # Map for SVG graphics from HTML
num_class = ['M8.954 30V3.545h-.267c-.738.41-6.706 4.655-7.71 5.311V5.883c.635-.41 6.767-4.758 7.977-5.476h2.789V30h-2.79z',
'M.12 9.57C.16 4.462 4.057.791 9.41.791c5.209 0 9.187 3.568 9.187 8.224 0 3.076-1.415 5.475-6.275 10.664l-7.998 8.53v.247h15.012V31H.284v-1.969L10.... | 155.571429 | 560 | 0.657484 | 951 | 3,267 | 2.237645 | 0.384858 | 0.010338 | 0.005639 | 0.006579 | 0.028195 | 0.012218 | 0.012218 | 0 | 0 | 0 | 0 | 0.639539 | 0.123661 | 3,267 | 21 | 561 | 155.571429 | 0.103737 | 0.009183 | 0 | 0 | 0 | 0.5625 | 0.880408 | 0.322312 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0.125 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
1cf6c94250898b4e09aa80a4bc438cfbc8755fd5 | 1,205 | py | Python | CCV/scripts/img_resize.py | YCJGG/Partial-video-retrieval | 65eec9c87cd18e70103c42918c49e0552ec6cc21 | [
"MIT"
] | 2 | 2018-09-08T11:54:10.000Z | 2018-10-09T13:48:09.000Z | CCV/scripts/img_resize.py | YCJGG/Partial-video-retrieval | 65eec9c87cd18e70103c42918c49e0552ec6cc21 | [
"MIT"
] | null | null | null | CCV/scripts/img_resize.py | YCJGG/Partial-video-retrieval | 65eec9c87cd18e70103c42918c49e0552ec6cc21 | [
"MIT"
] | null | null | null | from scipy import misc
import multiprocessing as mp
import glob
import os
frame_root = '../test_frames'
folder_list = glob.glob(frame_root+'/*')
def fun(folder):
print folder
img_list = glob.glob(folder+'/*.jpg')
for img_name in img_list:
img = misc.imread(img_name)
if img.shape[1]>img.shape[0]:
if img.shap... | 26.195652 | 64 | 0.652282 | 200 | 1,205 | 3.85 | 0.2 | 0.166234 | 0.093506 | 0.057143 | 0.763636 | 0.763636 | 0.763636 | 0.763636 | 0.763636 | 0.763636 | 0 | 0.058233 | 0.173444 | 1,205 | 45 | 65 | 26.777778 | 0.714859 | 0 | 0 | 0.083333 | 0 | 0 | 0.031519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.041667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1cf8123070639be0b35afd4e181333d79a9527a4 | 456 | py | Python | Script/deprecated/FishEditor/AssetImporter.py | yushroom/FishEngine_-Experiment | 81e4c06f20f6b94dc561b358f8a11a092678aeeb | [
"MIT"
] | 1 | 2018-12-20T02:38:44.000Z | 2018-12-20T02:38:44.000Z | Script/deprecated/FishEditor/AssetImporter.py | yushroom/FishEngine_-Experiment | 81e4c06f20f6b94dc561b358f8a11a092678aeeb | [
"MIT"
] | null | null | null | Script/deprecated/FishEditor/AssetImporter.py | yushroom/FishEngine_-Experiment | 81e4c06f20f6b94dc561b358f8a11a092678aeeb | [
"MIT"
] | 1 | 2018-10-25T19:40:22.000Z | 2018-10-25T19:40:22.000Z | class AssetImporter:
def __init__(self):
pass
@staticmethod
def Create(path:str)->'AssetImporter':
raise NotImplementedError
@property
def assetPath(self)->str:
raise NotImplementedError
def SaveAndReimport(self):
from . import AssetDataBase
Asse... | 24 | 49 | 0.664474 | 39 | 456 | 7.666667 | 0.512821 | 0.240803 | 0.133779 | 0.167224 | 0.294314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256579 | 456 | 19 | 50 | 24 | 0.882006 | 0 | 0 | 0.333333 | 0 | 0 | 0.056893 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.066667 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1c27922d6b049cac7c323d3fd180bf4d862bd474 | 307 | py | Python | skfem/element/element_tri/__init__.py | carlosal1015/scikit-fem | 1e73a417e9b43fe0a36e29807792c41fa289b77d | [
"BSD-3-Clause"
] | null | null | null | skfem/element/element_tri/__init__.py | carlosal1015/scikit-fem | 1e73a417e9b43fe0a36e29807792c41fa289b77d | [
"BSD-3-Clause"
] | null | null | null | skfem/element/element_tri/__init__.py | carlosal1015/scikit-fem | 1e73a417e9b43fe0a36e29807792c41fa289b77d | [
"BSD-3-Clause"
] | null | null | null | from .element_tri_p1 import ElementTriP1
from .element_tri_p2 import ElementTriP2
from .element_tri_dg import ElementTriDG
from .element_tri_p0 import ElementTriP0
from .element_tri_rt0 import ElementTriRT0
from .element_tri_morley import ElementTriMorley
from .element_tri_argyris import ElementTriArgyris
| 38.375 | 50 | 0.885993 | 42 | 307 | 6.142857 | 0.428571 | 0.29845 | 0.379845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028674 | 0.091205 | 307 | 7 | 51 | 43.857143 | 0.896057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c28c1f144372b74db75af034c1a5c109cdc8cea | 92,810 | py | Python | pennylane/ops/qubit/parametric_ops.py | MoritzWillmann/pennylane | 2b07d22cfcc6406ba28e5c647062340b240a4ee5 | [
"Apache-2.0"
] | null | null | null | pennylane/ops/qubit/parametric_ops.py | MoritzWillmann/pennylane | 2b07d22cfcc6406ba28e5c647062340b240a4ee5 | [
"Apache-2.0"
] | null | null | null | pennylane/ops/qubit/parametric_ops.py | MoritzWillmann/pennylane | 2b07d22cfcc6406ba28e5c647062340b240a4ee5 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018-2021 Xanadu Quantum Technologies Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or... | 34.348631 | 182 | 0.588105 | 12,699 | 92,810 | 4.222458 | 0.04457 | 0.028198 | 0.004812 | 0.010873 | 0.873949 | 0.848548 | 0.820835 | 0.795267 | 0.778296 | 0.767237 | 0 | 0.044887 | 0.274356 | 92,810 | 2,701 | 183 | 34.361348 | 0.751288 | 0.522584 | 0 | 0.613917 | 0 | 0 | 0.022912 | 0.001585 | 0 | 0 | 0 | 0.00037 | 0 | 1 | 0.142536 | false | 0 | 0.011223 | 0.059484 | 0.413019 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c418861fb6e75e48a46198115b66dd8dd3e8209 | 137 | py | Python | app/main/errors.py | geoffrey45/Baseline-news | d211a84e087a222cf1720808f4abe31b9315c632 | [
"MIT"
] | null | null | null | app/main/errors.py | geoffrey45/Baseline-news | d211a84e087a222cf1720808f4abe31b9315c632 | [
"MIT"
] | null | null | null | app/main/errors.py | geoffrey45/Baseline-news | d211a84e087a222cf1720808f4abe31b9315c632 | [
"MIT"
] | null | null | null | from flask import render_template
from . import main
@main.app_errorhandler(404)
def fof(error):
return render_template('fof.html'),404 | 22.833333 | 39 | 0.79562 | 21 | 137 | 5.047619 | 0.666667 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.10219 | 137 | 6 | 39 | 22.833333 | 0.813008 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 1 | 0 | 0 | 6 |
1c8defa0b35e732ccf1fe1cd71b47161957311c6 | 28 | py | Python | 01-Python/10-Flask/hello.py | Jerrywx/Python_Down | 361d6bb8a5f7768c7064e97c40e4f485ece14a27 | [
"Apache-2.0"
] | null | null | null | 01-Python/10-Flask/hello.py | Jerrywx/Python_Down | 361d6bb8a5f7768c7064e97c40e4f485ece14a27 | [
"Apache-2.0"
] | null | null | null | 01-Python/10-Flask/hello.py | Jerrywx/Python_Down | 361d6bb8a5f7768c7064e97c40e4f485ece14a27 | [
"Apache-2.0"
] | null | null | null | import flask
print("Hello") | 9.333333 | 14 | 0.75 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 3 | 14 | 9.333333 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
1c9be4c94a0dac9e94755cf96cf9c396f91ce138 | 6,007 | py | Python | openldap/tests/test_check.py | volksman/integrations-core | 34405662b09bf4a8c32feaed16a4745c7e1f24c0 | [
"BSD-3-Clause"
] | null | null | null | openldap/tests/test_check.py | volksman/integrations-core | 34405662b09bf4a8c32feaed16a4745c7e1f24c0 | [
"BSD-3-Clause"
] | null | null | null | openldap/tests/test_check.py | volksman/integrations-core | 34405662b09bf4a8c32feaed16a4745c7e1f24c0 | [
"BSD-3-Clause"
] | null | null | null | # (C) Datadog, Inc. 2018
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
import ldap3
import pytest
from datadog_checks.dev.docker import get_docker_hostname
from datadog_checks.utils.platform import Platform
pytestmark = pytest.mark.integration
@pytest.fixture
def instance():
... | 54.117117 | 97 | 0.738805 | 681 | 6,007 | 6.374449 | 0.198238 | 0.176918 | 0.212854 | 0.290256 | 0.806957 | 0.765953 | 0.713891 | 0.587422 | 0.506796 | 0.161023 | 0 | 0.003007 | 0.1142 | 6,007 | 110 | 98 | 54.609091 | 0.812817 | 0.03163 | 0 | 0.191011 | 0 | 0 | 0.338726 | 0.171256 | 0 | 0 | 0 | 0 | 0.539326 | 1 | 0.067416 | false | 0.011236 | 0.044944 | 0.011236 | 0.134831 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 6 |
98d5854b34df60365d8aaa9dc66c8001fa64c498 | 28 | py | Python | strips/domains/__init__.py | yijiangh/pyplanners | ef1ae33e233f20cd93ce03cba363b0f14fd078bc | [
"MIT"
] | 23 | 2017-11-13T23:56:25.000Z | 2022-02-12T08:56:28.000Z | strips/domains/__init__.py | yijiangh/pyplanners | ef1ae33e233f20cd93ce03cba363b0f14fd078bc | [
"MIT"
] | 1 | 2022-01-04T17:07:47.000Z | 2022-01-04T17:07:47.000Z | strips/domains/__init__.py | yijiangh/pyplanners | ef1ae33e233f20cd93ce03cba363b0f14fd078bc | [
"MIT"
] | 6 | 2017-07-13T07:21:13.000Z | 2022-03-25T08:21:57.000Z | from .blocks_world import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7275672cbe2bedb25747aca98a264314a64c40a | 123 | py | Python | 03 Operators and Operands/logicaloperators.py | Himanshu44626748/Learn-Python | f3a4d997f2d29b146e5f7434f4801ae94bc3483f | [
"MIT"
] | 2 | 2020-03-16T14:57:44.000Z | 2020-11-29T07:45:54.000Z | 03 Operators and Operands/logicaloperators.py | Himanshu44626748/Learn-Python | f3a4d997f2d29b146e5f7434f4801ae94bc3483f | [
"MIT"
] | null | null | null | 03 Operators and Operands/logicaloperators.py | Himanshu44626748/Learn-Python | f3a4d997f2d29b146e5f7434f4801ae94bc3483f | [
"MIT"
] | 1 | 2020-08-13T07:59:02.000Z | 2020-08-13T07:59:02.000Z | x = 20
y = 30
print((x==25 and y==30))
print((x==25 or y==30))
print(not(x==25 or y==30))
print((not(x==25) and y==30)) | 12.3 | 29 | 0.536585 | 30 | 123 | 2.2 | 0.3 | 0.227273 | 0.484848 | 0.272727 | 0.954545 | 0.530303 | 0.530303 | 0.530303 | 0.530303 | 0 | 0 | 0.196078 | 0.170732 | 123 | 10 | 29 | 12.3 | 0.45098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c7326dfe4af8d62fbff416efd4d0c585ac4447cd | 8,744 | py | Python | tests/test_insert.py | lovette/mysqlstmt | ef7fa56ee45046018d6a6cd2c64abce19a8b33a8 | [
"BSD-3-Clause"
] | null | null | null | tests/test_insert.py | lovette/mysqlstmt | ef7fa56ee45046018d6a6cd2c64abce19a8b33a8 | [
"BSD-3-Clause"
] | null | null | null | tests/test_insert.py | lovette/mysqlstmt | ef7fa56ee45046018d6a6cd2c64abce19a8b33a8 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from nose.tools import assert_equals, raises
from mysqlstmt import Insert, Select
from collections import OrderedDict
class TestInsert(unittest.TestCase):
def test_constructor_table_name(self):
q = Insert('t1')
sql_t = q.set_value('t1c1', 1).sql()
a... | 40.669767 | 150 | 0.584858 | 1,213 | 8,744 | 3.976917 | 0.079143 | 0.039801 | 0.08437 | 0.079602 | 0.875415 | 0.825041 | 0.761194 | 0.71393 | 0.626451 | 0.606551 | 0 | 0.050635 | 0.216263 | 8,744 | 214 | 151 | 40.859813 | 0.653291 | 0.002402 | 0 | 0.439306 | 0 | 0.00578 | 0.210068 | 0 | 0 | 0 | 0 | 0 | 0.16763 | 1 | 0.219653 | false | 0.023121 | 0.023121 | 0 | 0.248555 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c73ba4d5a3586ccb983492f53d2077824a4a9c23 | 48 | py | Python | imagepy/tools/Standard/rectangle_tol.py | dada1437903138/imagepy | 65d9ce088894eef587054e04018f9d34ff65084f | [
"BSD-4-Clause"
] | 1,178 | 2017-05-25T06:59:01.000Z | 2022-03-31T11:38:53.000Z | imagepy/tools/Standard/rectangle_tol.py | TomisTony/imagepy | 3c378ebaf72762b94f0826a410897757ebafe689 | [
"BSD-4-Clause"
] | 76 | 2017-06-10T17:01:50.000Z | 2021-12-23T08:13:29.000Z | imagepy/tools/Standard/rectangle_tol.py | TomisTony/imagepy | 3c378ebaf72762b94f0826a410897757ebafe689 | [
"BSD-4-Clause"
] | 315 | 2017-05-25T12:59:53.000Z | 2022-03-07T22:52:21.000Z | from sciapp.action import RectangleROI as Plugin | 48 | 48 | 0.875 | 7 | 48 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c754699085940e2d4eab000c0e3eaaa279d138db | 1,823 | py | Python | weasyl/test/login/test_get_account_verification_token.py | sl1-1/weasyl | d4f6bf3e33b85a2289a451d95d5b90ff24f5d539 | [
"Apache-2.0"
] | 1 | 2019-02-15T04:21:48.000Z | 2019-02-15T04:21:48.000Z | weasyl/test/login/test_get_account_verification_token.py | sl1-1/weasyl | d4f6bf3e33b85a2289a451d95d5b90ff24f5d539 | [
"Apache-2.0"
] | 254 | 2017-12-23T19:36:43.000Z | 2020-04-14T21:46:13.000Z | weasyl/test/login/test_get_account_verification_token.py | sl1-1/weasyl | d4f6bf3e33b85a2289a451d95d5b90ff24f5d539 | [
"Apache-2.0"
] | 1 | 2017-12-23T18:42:16.000Z | 2017-12-23T18:42:16.000Z | from __future__ import absolute_import
import pytest
import arrow
from weasyl import login
from weasyl import define as d
from weasyl.test.utils import Bag
user_name = "test"
email_addr = "test@weasyl.com"
token = "a" * 40
# Main test password
raw_password = "0123456789"
@pytest.mark.usefixtures('db')
def test_a... | 34.396226 | 102 | 0.681295 | 224 | 1,823 | 5.321429 | 0.285714 | 0.08557 | 0.07047 | 0.038591 | 0.778523 | 0.724832 | 0.724832 | 0.724832 | 0.724832 | 0.724832 | 0 | 0.051421 | 0.189248 | 1,823 | 52 | 103 | 35.057692 | 0.755074 | 0.009874 | 0 | 0.666667 | 0 | 0 | 0.115363 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.047619 | false | 0.119048 | 0.142857 | 0 | 0.190476 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c759c9ab8ec317c12e9c50fae9314fdd2af17606 | 30 | py | Python | server/src/police_lineups/context/__init__.py | vabalcar/police-lineups | 9c4a17d58e973d6db6e442bd9d5f4313ad4d51b7 | [
"MIT"
] | null | null | null | server/src/police_lineups/context/__init__.py | vabalcar/police-lineups | 9c4a17d58e973d6db6e442bd9d5f4313ad4d51b7 | [
"MIT"
] | 2 | 2021-09-24T11:43:58.000Z | 2021-09-24T12:00:21.000Z | server/src/police_lineups/context/__init__.py | vabalcar/police-lineups | 9c4a17d58e973d6db6e442bd9d5f4313ad4d51b7 | [
"MIT"
] | null | null | null | from .user import UserContext
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c78cdbe4c128c78b587f6b2d42af30efcc44aa11 | 29 | py | Python | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/schemas/__init__.py | LeroyShirto/cookiecutter-flask-restful-docker | a71fe98480fb38c3e353ce9b64dad4d7a1b0ccac | [
"MIT"
] | 5 | 2018-05-12T15:34:11.000Z | 2020-07-09T09:16:02.000Z | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/schemas/__init__.py | LeroyShirto/cookiecutter-flask-restful-docker | a71fe98480fb38c3e353ce9b64dad4d7a1b0ccac | [
"MIT"
] | 1 | 2021-11-30T11:06:38.000Z | 2021-11-30T11:06:38.000Z | {{cookiecutter.project_name}}/{{cookiecutter.app_name}}/schemas/__init__.py | LeroyShirto/cookiecutter-flask-restful-docker | a71fe98480fb38c3e353ce9b64dad4d7a1b0ccac | [
"MIT"
] | 1 | 2019-02-13T09:57:55.000Z | 2019-02-13T09:57:55.000Z | from .user import UserSchema
| 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 | 1 | 0 | 0 | 6 |
4003385f88006a77739fb43ae3590c2882365db3 | 168 | py | Python | tardis/rest/token_generator/__main__.py | maxfischer2781/tardis | a83ba0a02d2f153a8ab95b84ec78bc6ababa57a5 | [
"MIT"
] | 4 | 2018-05-22T13:22:06.000Z | 2019-03-26T15:32:57.000Z | tardis/rest/token_generator/__main__.py | maxfischer2781/tardis | a83ba0a02d2f153a8ab95b84ec78bc6ababa57a5 | [
"MIT"
] | 50 | 2018-05-18T11:46:39.000Z | 2019-04-26T07:29:45.000Z | tardis/rest/token_generator/__main__.py | maxfischer2781/tardis | a83ba0a02d2f153a8ab95b84ec78bc6ababa57a5 | [
"MIT"
] | 2 | 2018-12-12T13:15:59.000Z | 2018-12-17T08:18:15.000Z | from .generate_token import generate_token
import typer
def generate_token_cli():
typer.run(generate_token)
if __name__ == "__main__":
generate_token_cli()
| 15.272727 | 42 | 0.761905 | 22 | 168 | 5.136364 | 0.5 | 0.575221 | 0.336283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 168 | 10 | 43 | 16.8 | 0.795775 | 0 | 0 | 0 | 1 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
400bb7ebd6eca5cb86cb65e33abcb57eb189869c | 5,254 | py | Python | plugin/src/py/android_screenshot_tests/test_device_name_calculator.py | xiphirx/screenshot-tests-for-android | d6c0107239cea8675e76c1e868701f50b5e46be2 | [
"Apache-2.0"
] | 1 | 2021-01-13T13:13:55.000Z | 2021-01-13T13:13:55.000Z | plugin/src/py/android_screenshot_tests/test_device_name_calculator.py | xiphirx/screenshot-tests-for-android | d6c0107239cea8675e76c1e868701f50b5e46be2 | [
"Apache-2.0"
] | null | null | null | plugin/src/py/android_screenshot_tests/test_device_name_calculator.py | xiphirx/screenshot-tests-for-android | d6c0107239cea8675e76c1e868701f50b5e46be2 | [
"Apache-2.0"
] | null | null | null | import sys
import unittest
from .device_name_calculator import DeviceNameCalculator
if sys.version_info >= (3,):
from unittest.mock import *
else:
from mock import *
class TestDeviceNameCalculator(unittest.TestCase):
def test_API_19_GP_XXHDPI_1080x1920_arm64_v8a_esES(self):
def mock_data(parame... | 31.27381 | 99 | 0.635135 | 573 | 5,254 | 5.551483 | 0.143106 | 0.093367 | 0.107513 | 0.042439 | 0.864194 | 0.861679 | 0.861679 | 0.832443 | 0.730274 | 0.730274 | 0 | 0.042627 | 0.290065 | 5,254 | 167 | 100 | 31.461078 | 0.810188 | 0 | 0 | 0.677966 | 0 | 0 | 0.15531 | 0.050628 | 0 | 0 | 0 | 0 | 0.076271 | 1 | 0.152542 | false | 0 | 0.042373 | 0.050847 | 0.440678 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40689724aed30d6294012decca56364ee88a477e | 2,216 | py | Python | plot_2/plt_box_r.py | Mrchengyuan/modling-dynamic-system | a6bfac864c27cc92161f1fc88af605dda3106feb | [
"Unlicense"
] | 1 | 2021-06-23T02:11:33.000Z | 2021-06-23T02:11:33.000Z | plot_2/plt_box_r.py | Mrchengyuan/modling-dynamic-system | a6bfac864c27cc92161f1fc88af605dda3106feb | [
"Unlicense"
] | null | null | null | plot_2/plt_box_r.py | Mrchengyuan/modling-dynamic-system | a6bfac864c27cc92161f1fc88af605dda3106feb | [
"Unlicense"
] | null | null | null | import matplotlib.pyplot as plt
from matplotlib.pyplot import MultipleLocator
font_titles = {'family': 'Times New Roman',
'color': 'black',
'weight': 'normal',
'size': 8,}
font_labels = {'family': 'Times New Roman',
'color': 'black',
'weight': 'normal',
'size': 8,}
im... | 2,216 | 2,216 | 0.741426 | 373 | 2,216 | 4.160858 | 0.286863 | 0.07732 | 0.139175 | 0.073454 | 0.795747 | 0.751933 | 0.71134 | 0.670103 | 0.639175 | 0.639175 | 0 | 0.058567 | 0.06769 | 2,216 | 1 | 2,216 | 2,216 | 0.692643 | 0 | 0 | 0.52 | 0 | 0 | 0.173363 | 0.023928 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.06 | 0 | 0.06 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
904b5e9027b3145ce2aa3ac382d18ca4ed33db7e | 74 | py | Python | fileconversions/conversions/rtf_to_pdf_conversion.py | wilbertom/fileconversions | c48fda9b2804524fc57d1f6963d09645825b0da6 | [
"MIT"
] | null | null | null | fileconversions/conversions/rtf_to_pdf_conversion.py | wilbertom/fileconversions | c48fda9b2804524fc57d1f6963d09645825b0da6 | [
"MIT"
] | null | null | null | fileconversions/conversions/rtf_to_pdf_conversion.py | wilbertom/fileconversions | c48fda9b2804524fc57d1f6963d09645825b0da6 | [
"MIT"
] | null | null | null | from .conversion import Conversion
class RtfToPdf(Conversion):
pass
| 12.333333 | 34 | 0.77027 | 8 | 74 | 7.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 5 | 35 | 14.8 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
906e33c70489770cbea96f5dcff1cd11b561770b | 40 | py | Python | coggle_ecs/__init__.py | MrGVSV/coggle-ecs | e75a5081575e794f52779ecdb87e514ec197f029 | [
"MIT"
] | null | null | null | coggle_ecs/__init__.py | MrGVSV/coggle-ecs | e75a5081575e794f52779ecdb87e514ec197f029 | [
"MIT"
] | null | null | null | coggle_ecs/__init__.py | MrGVSV/coggle-ecs | e75a5081575e794f52779ecdb87e514ec197f029 | [
"MIT"
] | null | null | null | from coggle_ecs.parser import CoggleECS
| 20 | 39 | 0.875 | 6 | 40 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90d08ba3d35dc3628fe8ce0221f76ab0d343ca58 | 26 | py | Python | classpath/__init__.py | kimi641/pyJVM | 9e2b2392044a8ddd41ff8dda18a26e307776ae34 | [
"MIT"
] | null | null | null | classpath/__init__.py | kimi641/pyJVM | 9e2b2392044a8ddd41ff8dda18a26e307776ae34 | [
"MIT"
] | 1 | 2021-01-21T09:38:24.000Z | 2021-01-21T09:38:24.000Z | classpath/__init__.py | kimi641/pyJVM | 9e2b2392044a8ddd41ff8dda18a26e307776ae34 | [
"MIT"
] | null | null | null | from .class_path import *
| 13 | 25 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90e141db9ea3ab744ea3a8ce48fdafaff4bacef5 | 115 | py | Python | office365/sharepoint/principal/appprincipal_identity_provider.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/principal/appprincipal_identity_provider.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/principal/appprincipal_identity_provider.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.sharepoint.base_entity import BaseEntity
class AppPrincipalIdentityProvider(BaseEntity):
pass
| 19.166667 | 55 | 0.843478 | 11 | 115 | 8.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.113043 | 115 | 5 | 56 | 23 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2971b7539cf24ef40f2147451c8311bdeb111f18 | 1,648 | py | Python | tests/unit/clients/test_back_refs_delete.py | atsgen/tf-vcenter-manager | 2cfa07f038b86b3087842c34abb96b15da0b36fb | [
"Apache-2.0"
] | 1 | 2022-03-13T06:31:40.000Z | 2022-03-13T06:31:40.000Z | tests/unit/clients/test_back_refs_delete.py | atsgen/tf-vcenter-manager | 2cfa07f038b86b3087842c34abb96b15da0b36fb | [
"Apache-2.0"
] | null | null | null | tests/unit/clients/test_back_refs_delete.py | atsgen/tf-vcenter-manager | 2cfa07f038b86b3087842c34abb96b15da0b36fb | [
"Apache-2.0"
] | 1 | 2020-08-25T12:46:12.000Z | 2020-08-25T12:46:12.000Z | """ Deleting objects in VNC should also delete it's back-ref objects. """
def test_delete_vmi(vnc_api_client, vnc_lib, vnc_vmi_1):
vnc_vmi_1.get_instance_ip_back_refs.return_value = [{'uuid': 'instance-ip-uuid'}]
vnc_lib.virtual_machine_interface_read.return_value = vnc_vmi_1
vnc_api_client.delete_vmi('v... | 39.238095 | 90 | 0.799757 | 280 | 1,648 | 4.182143 | 0.135714 | 0.076857 | 0.0538 | 0.153715 | 0.891546 | 0.884714 | 0.847139 | 0.823228 | 0.790777 | 0.748933 | 0 | 0.009459 | 0.101942 | 1,648 | 41 | 91 | 40.195122 | 0.781757 | 0.039442 | 0 | 0.541667 | 0 | 0 | 0.083175 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46352139922766c390ca513f9137205da017e2e4 | 129 | py | Python | bi_reports_illustrate_bot/admin.py | BIChatbotGenerator/BICGen | 45a96e171219f4543b14869bf832633b634ecc15 | [
"Apache-2.0"
] | null | null | null | bi_reports_illustrate_bot/admin.py | BIChatbotGenerator/BICGen | 45a96e171219f4543b14869bf832633b634ecc15 | [
"Apache-2.0"
] | null | null | null | bi_reports_illustrate_bot/admin.py | BIChatbotGenerator/BICGen | 45a96e171219f4543b14869bf832633b634ecc15 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register([TelegramState, TelegramUser, TelegramChat, Report]) | 25.8 | 72 | 0.806202 | 15 | 129 | 6.933333 | 0.8 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 129 | 5 | 72 | 25.8 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
468c46c0ec6ee310609c5a38a0469cf65e12adde | 102 | py | Python | python/triangle2.py | jeremyprice/strengths_name_tents | 4b4bbec9d5e6d8c24b7ff98c855c3f58bb7e6aac | [
"Unlicense"
] | null | null | null | python/triangle2.py | jeremyprice/strengths_name_tents | 4b4bbec9d5e6d8c24b7ff98c855c3f58bb7e6aac | [
"Unlicense"
] | null | null | null | python/triangle2.py | jeremyprice/strengths_name_tents | 4b4bbec9d5e6d8c24b7ff98c855c3f58bb7e6aac | [
"Unlicense"
] | null | null | null | n = 1
while n < 5:
print(n * "*")
n = n + 1
while n > 0:
print(n * "*")
n = n - 1 | 12.75 | 18 | 0.333333 | 18 | 102 | 1.888889 | 0.333333 | 0.235294 | 0.411765 | 0.470588 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.460784 | 102 | 8 | 19 | 12.75 | 0.527273 | 0 | 0 | 0.285714 | 0 | 0 | 0.019417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3b9d3733e24c354c111d3ab33ff99d37caec131 | 3,440 | py | Python | testcode/cleanh5.py | lachmann12/prismexp | 2e9c739b6c8c10c44f9f81e84e87e47dac2c73f0 | [
"Apache-2.0"
] | 1 | 2020-11-10T13:33:26.000Z | 2020-11-10T13:33:26.000Z | testcode/cleanh5.py | MaayanLab/prismexp | 39e6cad055d7698e466f0d197a1563d08d3e5eab | [
"Apache-2.0"
] | null | null | null | testcode/cleanh5.py | MaayanLab/prismexp | 39e6cad055d7698e466f0d197a1563d08d3e5eab | [
"Apache-2.0"
] | null | null | null | from sklearn.cluster import KMeans
import h5py as h5
import numpy as np
import pandas as pd
import random
from typing import List
import sys
import os
import time
import math
os.remove("mouse_matrix_3.h5")
f1 = h5.File("mouse_matrix.h5", "r")
exp = f1["data/expression"]
f = h5.File("mouse_matrix_3.h5", "w")
dset = ... | 21.234568 | 128 | 0.645349 | 572 | 3,440 | 3.818182 | 0.146853 | 0.080586 | 0.085623 | 0.132326 | 0.781136 | 0.744963 | 0.744963 | 0.732601 | 0.720238 | 0.720238 | 0 | 0.057076 | 0.12907 | 3,440 | 161 | 129 | 21.36646 | 0.671896 | 0.014826 | 0 | 0.736842 | 0 | 0 | 0.214497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.087719 | 0 | 0.087719 | 0.114035 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3e0399acff27310b02155dca49b2425de7657bc | 106 | py | Python | module/__init__.py | sp-nitech/DNN-HSMM | 3476c262eb2b57bad9b85ea1f2bd282b0bafe49c | [
"BSD-3-Clause"
] | 38 | 2021-03-15T08:42:22.000Z | 2022-03-14T10:32:15.000Z | module/__init__.py | sp-nitech/DNN-HSMM | 3476c262eb2b57bad9b85ea1f2bd282b0bafe49c | [
"BSD-3-Clause"
] | 3 | 2021-07-07T02:11:08.000Z | 2021-11-10T10:23:16.000Z | module/__init__.py | sp-nitech/DNN-HSMM | 3476c262eb2b57bad9b85ea1f2bd282b0bafe49c | [
"BSD-3-Clause"
] | 9 | 2021-03-15T09:55:42.000Z | 2022-03-14T10:32:18.000Z | from .data import DataSet, DataCollate
from .embedding import Model as Embedding
from .model import Model
| 26.5 | 41 | 0.820755 | 15 | 106 | 5.8 | 0.533333 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 3 | 42 | 35.333333 | 0.956044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
318994bbbbda506333a40fbd07cbfdd9f438873d | 3,392 | py | Python | tests/test_datasets.py | Lucas-Prates/ruptures | 9685818d08ca024c0abb6ecf6121f2f86fb26dba | [
"BSD-2-Clause"
] | 1 | 2021-12-10T18:12:42.000Z | 2021-12-10T18:12:42.000Z | tests/test_datasets.py | Lucas-Prates/ruptures | 9685818d08ca024c0abb6ecf6121f2f86fb26dba | [
"BSD-2-Clause"
] | null | null | null | tests/test_datasets.py | Lucas-Prates/ruptures | 9685818d08ca024c0abb6ecf6121f2f86fb26dba | [
"BSD-2-Clause"
] | null | null | null | from itertools import product
import pytest
import numpy as np
from ruptures.datasets import pw_constant, pw_linear, pw_normal, pw_wavy
@pytest.mark.parametrize("func", [pw_constant, pw_linear, pw_normal, pw_wavy])
def test_empty_arg(func):
func()
@pytest.mark.parametrize(
"func, n_samples, n_features, n_... | 30.017699 | 87 | 0.662736 | 522 | 3,392 | 4.01341 | 0.09387 | 0.156563 | 0.146062 | 0.093079 | 0.845823 | 0.820048 | 0.815752 | 0.791408 | 0.753222 | 0.753222 | 0 | 0.041714 | 0.215507 | 3,392 | 112 | 88 | 30.285714 | 0.745584 | 0.011498 | 0 | 0.527473 | 0 | 0 | 0.045699 | 0 | 0 | 0 | 0 | 0 | 0.21978 | 1 | 0.065934 | false | 0 | 0.043956 | 0 | 0.10989 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
31ee5678b7708ef1fe20be9e9870713b065aa6db | 101 | py | Python | extinct/components/models/dino/__init__.py | olliethomas/extinct-dino | 7d47d8f7763d9791fa8d5027898b27fcee0901c4 | [
"Apache-2.0"
] | null | null | null | extinct/components/models/dino/__init__.py | olliethomas/extinct-dino | 7d47d8f7763d9791fa8d5027898b27fcee0901c4 | [
"Apache-2.0"
] | 1 | 2021-10-13T14:21:10.000Z | 2021-10-13T14:21:10.000Z | extinct/components/models/dino/__init__.py | olliethomas/extinct-dino | 7d47d8f7763d9791fa8d5027898b27fcee0901c4 | [
"Apache-2.0"
] | null | null | null | from .dino import *
from .eval import *
from .head import *
from .models import *
from .vit import *
| 16.833333 | 21 | 0.70297 | 15 | 101 | 4.733333 | 0.466667 | 0.56338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19802 | 101 | 5 | 22 | 20.2 | 0.876543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ecb9f947090fe6d662b6e26fbc51eb77d5ea5ce | 168 | py | Python | Book_Ladder/web/page/__init__.py | Rdjroot/BookLadder | d4e1f90572f2dda2e7c25890b99c965ded0f02c8 | [
"MIT"
] | null | null | null | Book_Ladder/web/page/__init__.py | Rdjroot/BookLadder | d4e1f90572f2dda2e7c25890b99c965ded0f02c8 | [
"MIT"
] | null | null | null | Book_Ladder/web/page/__init__.py | Rdjroot/BookLadder | d4e1f90572f2dda2e7c25890b99c965ded0f02c8 | [
"MIT"
] | null | null | null | # -*- coding = utf-8 -*-
# @Time:2021/3/713:30
# @Author:Linyu
# @Software:PyCharm
from flask import Blueprint
page = Blueprint("page",__name__)
import web.page.views | 18.666667 | 33 | 0.696429 | 24 | 168 | 4.708333 | 0.833333 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 0.130952 | 168 | 9 | 34 | 18.666667 | 0.69863 | 0.440476 | 0 | 0 | 0 | 0 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
9ef7e30ded83f0191f5b37633021bb760f535121 | 69 | py | Python | lib/parsers/atom.py | RafalBuchner/turbo-snippets | 740b70e7c588190b970921cdbaf2f465b7f0e968 | [
"MIT"
] | null | null | null | lib/parsers/atom.py | RafalBuchner/turbo-snippets | 740b70e7c588190b970921cdbaf2f465b7f0e968 | [
"MIT"
] | null | null | null | lib/parsers/atom.py | RafalBuchner/turbo-snippets | 740b70e7c588190b970921cdbaf2f465b7f0e968 | [
"MIT"
] | null | null | null | from .base import BaseParser
class AtomParser(BaseParser):
pass
| 13.8 | 29 | 0.768116 | 8 | 69 | 6.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 4 | 30 | 17.25 | 0.929825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
73162334da544af48fd81794cde68883da1a70dc | 73 | py | Python | pymt/utils/__init__.py | mwtoews/pymt | 81a8469b0d0d115d21186ec1d1c9575690d51850 | [
"MIT"
] | 38 | 2017-06-30T17:10:53.000Z | 2022-01-05T07:38:03.000Z | pymt/utils/__init__.py | mwtoews/pymt | 81a8469b0d0d115d21186ec1d1c9575690d51850 | [
"MIT"
] | 96 | 2017-04-04T18:52:41.000Z | 2021-11-01T21:30:48.000Z | pymt/utils/__init__.py | mwtoews/pymt | 81a8469b0d0d115d21186ec1d1c9575690d51850 | [
"MIT"
] | 15 | 2017-05-23T15:40:16.000Z | 2021-06-14T21:30:28.000Z | from .utils import as_cwd, err, out
__all__ = ["as_cwd", "err", "out"]
| 14.6 | 35 | 0.630137 | 12 | 73 | 3.333333 | 0.666667 | 0.25 | 0.4 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 73 | 4 | 36 | 18.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
732f4bfcb3d8edbbd3ded216e2887a8fb0466a02 | 47 | py | Python | src/adapy/action/__init__.py | LitterBot2017/Babysitter | ba189bbec20737670c3382bd3cccaa3a0e65b16c | [
"BSD-3-Clause"
] | null | null | null | src/adapy/action/__init__.py | LitterBot2017/Babysitter | ba189bbec20737670c3382bd3cccaa3a0e65b16c | [
"BSD-3-Clause"
] | null | null | null | src/adapy/action/__init__.py | LitterBot2017/Babysitter | ba189bbec20737670c3382bd3cccaa3a0e65b16c | [
"BSD-3-Clause"
] | null | null | null | from grasping import Grasp
from rogue import *
| 15.666667 | 26 | 0.808511 | 7 | 47 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 27 | 23.5 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
735927ed116d3f5cb39d8324c45f4bcbf335b81e | 61 | py | Python | robot_ws/src/robot/spot_ros/spot_driver/scripts/__init__.py | ironWolf1990/ros-workspace | 351ac9b15ab328cb2f1c77356383f0baa1204761 | [
"MIT"
] | 1 | 2021-05-13T17:52:25.000Z | 2021-05-13T17:52:25.000Z | robot_ws/src/robot/spot_ros/spot_driver/scripts/__init__.py | ironWolf1990/ros-workspace | 351ac9b15ab328cb2f1c77356383f0baa1204761 | [
"MIT"
] | null | null | null | robot_ws/src/robot/spot_ros/spot_driver/scripts/__init__.py | ironWolf1990/ros-workspace | 351ac9b15ab328cb2f1c77356383f0baa1204761 | [
"MIT"
] | null | null | null | import spot_ros
import spot_wrapper.py
import ros_helpers.py
| 15.25 | 22 | 0.868852 | 11 | 61 | 4.545455 | 0.545455 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 61 | 3 | 23 | 20.333333 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7df8b91dad762b43f7d4074c20df58b78cc4113e | 201 | py | Python | src/round2/pradnya/admin.py | sourabhedake/inc-pradnya-event-online-judge | 90704b6816429415a5b74d46d200a903cad2d0e2 | [
"MIT"
] | null | null | null | src/round2/pradnya/admin.py | sourabhedake/inc-pradnya-event-online-judge | 90704b6816429415a5b74d46d200a903cad2d0e2 | [
"MIT"
] | null | null | null | src/round2/pradnya/admin.py | sourabhedake/inc-pradnya-event-online-judge | 90704b6816429415a5b74d46d200a903cad2d0e2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from pradnya import models
# Register your models here.
admin.site.register(models.Questions)
admin.site.register(models.user)
admin.site.register(models.submissions)
| 28.714286 | 39 | 0.825871 | 28 | 201 | 5.928571 | 0.5 | 0.162651 | 0.307229 | 0.415663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084577 | 201 | 6 | 40 | 33.5 | 0.902174 | 0.129353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.