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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d876a1d275795d17c11df72067671516ed49eb9a | 92 | py | Python | autogluon/task/text_classification/__init__.py | zhanghang1989/autogluon | 8bfe6b0da8915020eeb9895fd18d7688c0d604c1 | [
"Apache-2.0"
] | 6 | 2020-06-16T19:17:36.000Z | 2021-07-07T14:50:31.000Z | autogluon/task/text_classification/__init__.py | zhanghang1989/autogluon | 8bfe6b0da8915020eeb9895fd18d7688c0d604c1 | [
"Apache-2.0"
] | null | null | null | autogluon/task/text_classification/__init__.py | zhanghang1989/autogluon | 8bfe6b0da8915020eeb9895fd18d7688c0d604c1 | [
"Apache-2.0"
] | 2 | 2020-12-13T16:40:04.000Z | 2021-03-08T09:14:16.000Z | from .predictor import *
from .text_classification import *
from .dataset import get_dataset | 30.666667 | 34 | 0.826087 | 12 | 92 | 6.166667 | 0.583333 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 92 | 3 | 35 | 30.666667 | 0.91358 | 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 |
d8fbf2eab301049142582e161d9843fb1a3ead79 | 141 | py | Python | btu/btu_core/doctype/btu_task_schedule/test_btu_task_schedule.py | Govind-Jangid/btu | 856cce48fbf2fd349c064af67b2fc2d85918c61c | [
"MIT"
] | 7 | 2021-08-30T16:55:01.000Z | 2022-02-16T02:30:30.000Z | btu/btu_core/doctype/btu_task_schedule/test_btu_task_schedule.py | Govind-Jangid/btu | 856cce48fbf2fd349c064af67b2fc2d85918c61c | [
"MIT"
] | null | null | null | btu/btu_core/doctype/btu_task_schedule/test_btu_task_schedule.py | Govind-Jangid/btu | 856cce48fbf2fd349c064af67b2fc2d85918c61c | [
"MIT"
] | 6 | 2021-11-04T13:25:48.000Z | 2022-02-22T11:11:46.000Z | # Copyright (c) 2021, Datahenge LLC and Contributors
# See license.txt
import unittest
class TestBTUTaskSchedule(unittest.TestCase):
pass
| 17.625 | 52 | 0.794326 | 17 | 141 | 6.588235 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.134752 | 141 | 7 | 53 | 20.142857 | 0.885246 | 0.468085 | 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 |
2b67052123bdd631252879ff4202809dafc6a5e1 | 2,292 | py | Python | scripts/common/css/uri/uri-main.py | appcelerator-archive/titanium_mobile_tooling | 550dbb3615cb3c006fa73975cfc71fff7fb74cc1 | [
"Apache-2.0"
] | 2 | 2015-05-30T20:28:13.000Z | 2021-01-08T17:02:41.000Z | support/common/css/uri/uri-main.py | yuni/titanium_mobile | e21d79a58c7c25df8769fd3477ca87587aa67a14 | [
"Apache-2.0"
] | 6 | 2015-04-27T22:12:58.000Z | 2020-05-23T01:14:06.000Z | support/common/css/uri/uri-main.py | yuni/titanium_mobile | e21d79a58c7c25df8769fd3477ca87587aa67a14 | [
"Apache-2.0"
] | 2 | 2018-06-21T07:28:38.000Z | 2020-06-07T11:13:25.000Z | # -*- coding: utf-8 -*-
import uri
def was(base, relative, absolute):
resolved = uri.resolve(base,relative)
if ( resolved != absolute ):
raise RuntimeError, "%s != %s"%(resolved,absolute)
def main():
base = "http://a/b/c/d;p?q"
was(base, "g:h", "g:h");
was(base, "g", "http://a/b/c/g"... | 34.727273 | 58 | 0.407068 | 413 | 2,292 | 2.239709 | 0.077482 | 0.363243 | 0.214054 | 0.219459 | 0.770811 | 0.718919 | 0.677838 | 0.607568 | 0.581622 | 0.565405 | 0 | 0.002121 | 0.177138 | 2,292 | 65 | 59 | 35.261538 | 0.488335 | 0.017016 | 0 | 0 | 0 | 0 | 0.410667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.017857 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2b7740c8875fe8e971cc9c1757c6ef4d038d135d | 119 | py | Python | app/main/translate.py | mark-solo/flask-mg_ttrl | 9b9bd749aeaeeb88628a64b75ab9854bdd23eb5f | [
"MIT"
] | null | null | null | app/main/translate.py | mark-solo/flask-mg_ttrl | 9b9bd749aeaeeb88628a64b75ab9854bdd23eb5f | [
"MIT"
] | 1 | 2022-03-08T21:09:38.000Z | 2022-03-08T21:09:38.000Z | app/main/translate.py | mark-solo/flask-mg_ttrl | 9b9bd749aeaeeb88628a64b75ab9854bdd23eb5f | [
"MIT"
] | null | null | null | import json
from flask_babel import _
def translate(text, source_language, dest_language):
return json.loads('"pew"') | 23.8 | 52 | 0.789916 | 17 | 119 | 5.294118 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109244 | 119 | 5 | 53 | 23.8 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
998f16bef4e4c18472d62327e1d7553f2f1a28ba | 5,799 | py | Python | yepes/contrib/standards/fields.py | samuelmaudo/yepes | 1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb | [
"BSD-3-Clause"
] | null | null | null | yepes/contrib/standards/fields.py | samuelmaudo/yepes | 1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb | [
"BSD-3-Clause"
] | null | null | null | yepes/contrib/standards/fields.py | samuelmaudo/yepes | 1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb | [
"BSD-3-Clause"
] | null | null | null | # -*- coding:utf-8 -*-
from __future__ import unicode_literals
from django.db import models
from django.utils.translation import ugettext_lazy as _
from yepes import fields
class CountryField(models.ForeignKey):
description = _('Many-to-one relationship with Country model.')
def __init__(self, *args, **k... | 39.44898 | 96 | 0.685635 | 613 | 5,799 | 6.145188 | 0.12398 | 0.203876 | 0.049642 | 0.046722 | 0.81391 | 0.752854 | 0.743297 | 0.743297 | 0.639766 | 0.639766 | 0 | 0.000207 | 0.165891 | 5,799 | 146 | 97 | 39.719178 | 0.778582 | 0.003449 | 0 | 0.463918 | 0 | 0 | 0.309384 | 0.074792 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113402 | false | 0 | 0.041237 | 0 | 0.381443 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
41ddcf1637ad9e2adb3bb7fac55c49afeb64aec5 | 731 | py | Python | httpx/blueprint.py | iredelmeier/doughknots | 487431b189eed8e33d369403100ff3b68d7a4151 | [
"MIT"
] | 3 | 2019-07-17T23:21:58.000Z | 2019-07-18T16:31:31.000Z | httpx/blueprint.py | iredelmeier/doughknots | 487431b189eed8e33d369403100ff3b68d7a4151 | [
"MIT"
] | 1 | 2021-06-02T00:13:12.000Z | 2021-06-02T00:13:12.000Z | httpx/blueprint.py | iredelmeier/doughknots | 487431b189eed8e33d369403100ff3b68d7a4151 | [
"MIT"
] | null | null | null | # mypy: allow-untyped-defs
from typing import Any, Mapping
import sanic.blueprints
class Blueprint:
def __init__(self, name: str) -> None:
self.__blueprint = sanic.blueprints.Blueprint(name)
@property
def name(self) -> Any:
return self.__blueprint.name
def register(self, app: Any, o... | 25.206897 | 76 | 0.644323 | 95 | 731 | 4.768421 | 0.305263 | 0.200883 | 0.143488 | 0.242826 | 0.282561 | 0.282561 | 0.282561 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 731 | 28 | 77 | 26.107143 | 0.807487 | 0.032832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0 | 0.111111 | 0.277778 | 0.833333 | 0.5 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 6 |
5a8d52fdeb95a6343f239fa3b69f0daa3368354c | 103 | py | Python | config.py | mkrum/das | 76559ffa3055d718590e9c457675cdf9a885f656 | [
"MIT"
] | null | null | null | config.py | mkrum/das | 76559ffa3055d718590e9c457675cdf9a885f656 | [
"MIT"
] | null | null | null | config.py | mkrum/das | 76559ffa3055d718590e9c457675cdf9a885f656 | [
"MIT"
] | null | null | null | import model
import data
from yamlargs import expose_module
expose_module(model)
expose_module(data)
| 12.875 | 34 | 0.84466 | 15 | 103 | 5.6 | 0.466667 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 7 | 35 | 14.714286 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
517fe48740dc63f204261f740faac0845b020ac5 | 5,367 | py | Python | QA/generic_optimizers_maximization_test.py | jbellevi/lumopt | c350a1a03b7e4e4df2af3435dadac4624258da29 | [
"MIT"
] | 101 | 2018-09-25T01:46:01.000Z | 2022-03-22T23:15:13.000Z | QA/generic_optimizers_maximization_test.py | irdiez/lumopt_04_04_2020 | c350a1a03b7e4e4df2af3435dadac4624258da29 | [
"MIT"
] | 13 | 2018-10-16T00:04:57.000Z | 2022-02-18T06:28:28.000Z | QA/generic_optimizers_maximization_test.py | irdiez/lumopt_04_04_2020 | c350a1a03b7e4e4df2af3435dadac4624258da29 | [
"MIT"
] | 62 | 2018-09-30T00:59:47.000Z | 2022-03-08T16:27:31.000Z | """ Copyright chriskeraly
Copyright (c) 2019 Lumerical Inc. """
import sys
sys.path.append(".")
import os
import numpy as np
from qatools import *
from lumopt.optimizers.generic_optimizers import ScipyOptimizers
class GenericOptimizersMaximizationTest(TestCase):
"""
Unit test for the ScipyOpti... | 50.158879 | 145 | 0.589901 | 701 | 5,367 | 4.406562 | 0.168331 | 0.028488 | 0.126902 | 0.034963 | 0.850113 | 0.838459 | 0.815151 | 0.807705 | 0.789252 | 0.773066 | 0 | 0.044606 | 0.281535 | 5,367 | 107 | 146 | 50.158879 | 0.756483 | 0.041178 | 0 | 0.588889 | 0 | 0 | 0.008028 | 0 | 0 | 0 | 0 | 0 | 0.288889 | 1 | 0.088889 | false | 0.044444 | 0.055556 | 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 |
51f1534516a8b9ce5d74bac3e03e65c0fad6590b | 29 | py | Python | apps/PoolBasedTripletMDS/algs/RandomSampling/__init__.py | sumeetsk/NEXT-1 | c42badbcaeb0ab79ab1f74b6303ecc3864b1c7ee | [
"Apache-2.0"
] | null | null | null | apps/PoolBasedTripletMDS/algs/RandomSampling/__init__.py | sumeetsk/NEXT-1 | c42badbcaeb0ab79ab1f74b6303ecc3864b1c7ee | [
"Apache-2.0"
] | null | null | null | apps/PoolBasedTripletMDS/algs/RandomSampling/__init__.py | sumeetsk/NEXT-1 | c42badbcaeb0ab79ab1f74b6303ecc3864b1c7ee | [
"Apache-2.0"
] | null | null | null | from .RandomSampling import * | 29 | 29 | 0.827586 | 3 | 29 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51fa72917bc00787ab9fde269edbbbe0c99eb81b | 194 | py | Python | rasa/shared/exceptions.py | joeriess/rasa | c1bdfd0934578f515a8bf3ab708c294b809300f8 | [
"Apache-2.0"
] | 1 | 2020-09-12T17:27:21.000Z | 2020-09-12T17:27:21.000Z | rasa/shared/exceptions.py | joeriess/rasa | c1bdfd0934578f515a8bf3ab708c294b809300f8 | [
"Apache-2.0"
] | null | null | null | rasa/shared/exceptions.py | joeriess/rasa | c1bdfd0934578f515a8bf3ab708c294b809300f8 | [
"Apache-2.0"
] | null | null | null | class RasaException(Exception):
"""Base exception class for all errors raised by Rasa."""
class RasaCoreException(RasaException):
"""Basic exception for errors raised by Rasa Core."""
| 27.714286 | 61 | 0.737113 | 23 | 194 | 6.217391 | 0.565217 | 0.167832 | 0.195804 | 0.251748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159794 | 194 | 6 | 62 | 32.333333 | 0.877301 | 0.510309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
cfc370bb5475529a96d43ba45c044aea73625594 | 4,981 | py | Python | ProQuest2Bepress/p2b_email.py | dpuwebservices/proquest2bepress | 618f950ffd9b5ea0e9e975a92a6407d131d35069 | [
"MIT"
] | null | null | null | ProQuest2Bepress/p2b_email.py | dpuwebservices/proquest2bepress | 618f950ffd9b5ea0e9e975a92a6407d131d35069 | [
"MIT"
] | null | null | null | ProQuest2Bepress/p2b_email.py | dpuwebservices/proquest2bepress | 618f950ffd9b5ea0e9e975a92a6407d131d35069 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
import os
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
def email_success(dirname, addresses, smtp_server, smtp_user, smtp_password):
"""
Email administrator a success message.
Parameters:
dirname: Name o... | 36.896296 | 125 | 0.670548 | 693 | 4,981 | 4.715729 | 0.180375 | 0.03672 | 0.03672 | 0.0612 | 0.733782 | 0.728886 | 0.728886 | 0.728886 | 0.714504 | 0.714504 | 0 | 0.007647 | 0.212407 | 4,981 | 135 | 126 | 36.896296 | 0.825389 | 0.151777 | 0 | 0.682927 | 0 | 0 | 0.274529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060976 | false | 0.182927 | 0.060976 | 0 | 0.121951 | 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 |
cfd193a7dfd7907991c29c891b008552d3f15c03 | 541 | py | Python | test/test_molecules.py | jakublala/starpolymers | 0ea17eed27bf5846674a93afd143257c74be5e7b | [
"MIT"
] | 6 | 2018-06-21T14:13:39.000Z | 2022-03-24T18:28:40.000Z | test/test_molecules.py | jakublala/starpolymers | 0ea17eed27bf5846674a93afd143257c74be5e7b | [
"MIT"
] | 10 | 2020-05-13T23:37:43.000Z | 2022-03-21T12:19:55.000Z | test/test_molecules.py | jakublala/starpolymers | 0ea17eed27bf5846674a93afd143257c74be5e7b | [
"MIT"
] | 3 | 2020-07-23T17:15:42.000Z | 2022-03-21T19:43:05.000Z | import starpolymers.molecules.base as base
import starpolymers.molecules.brush as brush
import starpolymers.molecules._common as _common
import starpolymers.molecules.polyelectrolyte as polyelectrolyte
from starpolymers.molecules import MoleculeFactory
def test_base():
return
def test_brush():
return
def te... | 22.541667 | 64 | 0.763401 | 59 | 541 | 6.813559 | 0.305085 | 0.261194 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15342 | 541 | 24 | 65 | 22.541667 | 0.877729 | 0 | 0 | 0.277778 | 0 | 0 | 0.042435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | true | 0 | 0.277778 | 0.222222 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3203259b8a666471ce02e2241709f062852a8188 | 3,595 | py | Python | seeds.py | diptangsu/Game-of-life | bb1dcdedc43ab6c288b7c7fac421221d18bd8b9b | [
"MIT"
] | 1 | 2020-12-07T10:25:42.000Z | 2020-12-07T10:25:42.000Z | seeds.py | diptangsu/Game-of-life | bb1dcdedc43ab6c288b7c7fac421221d18bd8b9b | [
"MIT"
] | null | null | null | seeds.py | diptangsu/Game-of-life | bb1dcdedc43ab6c288b7c7fac421221d18bd8b9b | [
"MIT"
] | null | null | null | LIVE, DEAD = 'O', '.'
SEEDS = {
'BLINKER': list(map(list, (
'.............',
'.............',
'.............',
'.............',
'.....OOO.....',
'.............',
'.............',
'.............',
'.............',
))),
'BEACON': list(ma... | 30.466102 | 45 | 0.065925 | 87 | 3,595 | 2.724138 | 0.195402 | 0.21097 | 0.253165 | 0.303797 | 0.57384 | 0.345992 | 0.202532 | 0.202532 | 0.202532 | 0.202532 | 0 | 0 | 0.273992 | 3,595 | 117 | 46 | 30.726496 | 0.090805 | 0 | 0 | 0.818966 | 0 | 0 | 0.594159 | 0.468428 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c57baae0ae2ccc593ade36491fe6fce1d82b61b | 21 | py | Python | nmtpytorch/models/__init__.py | awesome-archive/nmtpytorch | 7c0ea21b29fc85a1f30ef4400d62b9d8e3d88be4 | [
"MIT"
] | 1 | 2021-03-30T02:05:46.000Z | 2021-03-30T02:05:46.000Z | nmtpytorch/models/__init__.py | adakum/nmtpytorch | db4beb75146097a35babc90788d6ac26cc3186f7 | [
"MIT"
] | null | null | null | nmtpytorch/models/__init__.py | adakum/nmtpytorch | db4beb75146097a35babc90788d6ac26cc3186f7 | [
"MIT"
] | null | null | null | from .nmt import NMT
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 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 |
5c88a8d2cdbdc7214d6c579d7e105db34e6b4570 | 110 | py | Python | pra subir/pythonexercicios/au12a.py | daianebandeira88/curso-python | 763f5f36b6d7329549ad861c63acc3c84aade887 | [
"MIT"
] | null | null | null | pra subir/pythonexercicios/au12a.py | daianebandeira88/curso-python | 763f5f36b6d7329549ad861c63acc3c84aade887 | [
"MIT"
] | null | null | null | pra subir/pythonexercicios/au12a.py | daianebandeira88/curso-python | 763f5f36b6d7329549ad861c63acc3c84aade887 | [
"MIT"
] | null | null | null |
for num in range(10):
print('tabuada do numero',num+1)
for mult in range(10):
print(mult*num) | 22 | 36 | 0.609091 | 19 | 110 | 3.526316 | 0.578947 | 0.208955 | 0.268657 | 0.41791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 0.254545 | 110 | 5 | 37 | 22 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0.154545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5c8a0ece35f4ff3ec1d8f633946b199028de8783 | 91 | py | Python | flows/bijections/__init__.py | jejjohnson/jax-flows | e4c3f15b49208b0fe4047ef981beb493fb20046f | [
"MIT"
] | 198 | 2020-03-29T02:39:53.000Z | 2022-03-31T00:33:40.000Z | flows/bijections/__init__.py | jejjohnson/jax-flows | e4c3f15b49208b0fe4047ef981beb493fb20046f | [
"MIT"
] | 5 | 2021-01-07T07:00:41.000Z | 2022-03-12T00:51:39.000Z | flows/bijections/__init__.py | jejjohnson/jax-flows | e4c3f15b49208b0fe4047ef981beb493fb20046f | [
"MIT"
] | 15 | 2020-09-03T08:09:10.000Z | 2022-03-04T18:07:47.000Z | # flake8: noqa
from .bijections import *
from .made import *
from .neural_splines import *
| 18.2 | 29 | 0.747253 | 12 | 91 | 5.583333 | 0.666667 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.164835 | 91 | 4 | 30 | 22.75 | 0.868421 | 0.131868 | 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 |
5c985600c2fb7fe37b549ecf46d4db926ba1fdcd | 121 | py | Python | sources/t07/t07ej04.py | workready/pythonbasic | 59bd82caf99244f5e711124e1f6f4dec8de22141 | [
"MIT"
] | null | null | null | sources/t07/t07ej04.py | workready/pythonbasic | 59bd82caf99244f5e711124e1f6f4dec8de22141 | [
"MIT"
] | null | null | null | sources/t07/t07ej04.py | workready/pythonbasic | 59bd82caf99244f5e711124e1f6f4dec8de22141 | [
"MIT"
] | null | null | null | # Lo mismo pero con una list comprehension
def es_impar(x):
return x % 2
print([x for x in range(10) if es_impar(x)]) | 30.25 | 44 | 0.694215 | 25 | 121 | 3.28 | 0.76 | 0.170732 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0.198347 | 121 | 4 | 44 | 30.25 | 0.814433 | 0.330579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5cbd48c2c9aaea4668dfad34f023fbace89bacd3 | 207 | py | Python | molsysmt/item/freezer/file_mdcrd/__init__.py | uibcdf/MolModMTs | 4f6b6f671a9fa3e73008d1e9c48686d5f20a6573 | [
"MIT"
] | null | null | null | molsysmt/item/freezer/file_mdcrd/__init__.py | uibcdf/MolModMTs | 4f6b6f671a9fa3e73008d1e9c48686d5f20a6573 | [
"MIT"
] | null | null | null | molsysmt/item/freezer/file_mdcrd/__init__.py | uibcdf/MolModMTs | 4f6b6f671a9fa3e73008d1e9c48686d5f20a6573 | [
"MIT"
] | null | null | null | from .is_file_mdcrd import is_file_mdcrd
from .to_molsysmt_MolSys import to_molsysmt_MolSys
from .to_molsysmt_Topology import to_molsysmt_Topology
from .to_molsysmt_Structures import to_molsysmt_Structures
| 34.5 | 58 | 0.898551 | 32 | 207 | 5.3125 | 0.3125 | 0.352941 | 0.247059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082126 | 207 | 5 | 59 | 41.4 | 0.894737 | 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 |
7a5d86b3ddeb5baa715b2c461f3ea12615acc443 | 5,853 | py | Python | tests/inplace_test.py | gglin001/poptorch | 61f38ed2d8c6b672e023862eb698865fa7f4724e | [
"MIT"
] | 128 | 2020-12-08T22:22:46.000Z | 2022-03-23T10:54:26.000Z | tests/inplace_test.py | gglin001/poptorch | 61f38ed2d8c6b672e023862eb698865fa7f4724e | [
"MIT"
] | 4 | 2021-06-22T14:26:28.000Z | 2022-02-15T11:25:05.000Z | tests/inplace_test.py | gglin001/poptorch | 61f38ed2d8c6b672e023862eb698865fa7f4724e | [
"MIT"
] | 7 | 2020-12-09T20:32:56.000Z | 2022-01-18T16:12:24.000Z | #!/usr/bin/env python3
# Copyright (c) 2021 Graphcore Ltd. All rights reserved.
import torch
import poptorch
import helpers
def test_inplace_add():
class Model(torch.nn.Module):
def forward(self, x):
if isinstance(x, (tuple, list)):
x[0] += 1
elif isinstance(x, (d... | 27.097222 | 79 | 0.576115 | 877 | 5,853 | 3.706956 | 0.107184 | 0.143956 | 0.122731 | 0.110735 | 0.802215 | 0.740695 | 0.728084 | 0.7247 | 0.712704 | 0.656106 | 0 | 0.05698 | 0.280369 | 5,853 | 215 | 80 | 27.223256 | 0.714862 | 0.030241 | 0 | 0.563636 | 0 | 0 | 0.003526 | 0 | 0 | 0 | 0 | 0 | 0.381818 | 1 | 0.121212 | false | 0 | 0.018182 | 0.006061 | 0.212121 | 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 |
7abead0b4619493551c361bd5e8035e067725dcc | 101 | py | Python | password/__init__.py | JacobChesslo/random-password | ed1d87c53d144a408436322e25251e03ccb488d7 | [
"MIT"
] | 1 | 2021-11-17T01:34:18.000Z | 2021-11-17T01:34:18.000Z | password/__init__.py | JacobChesslo/random-password | ed1d87c53d144a408436322e25251e03ccb488d7 | [
"MIT"
] | null | null | null | password/__init__.py | JacobChesslo/random-password | ed1d87c53d144a408436322e25251e03ccb488d7 | [
"MIT"
] | null | null | null | from .generate_random_password import generate_random_password as random
__all__ = [
'random'
]
| 16.833333 | 72 | 0.782178 | 12 | 101 | 5.916667 | 0.583333 | 0.394366 | 0.619718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 5 | 73 | 20.2 | 0.835294 | 0 | 0 | 0 | 1 | 0 | 0.059406 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8fa4de06e2875f82dacca0def4c078c1293af66f | 30 | py | Python | airbyte-integrations/singer/base-singer/base_singer/__init__.py | gasparakos/airbyte | 3b420c1775af3db355e9dd247378c3d7fe060004 | [
"MIT"
] | null | null | null | airbyte-integrations/singer/base-singer/base_singer/__init__.py | gasparakos/airbyte | 3b420c1775af3db355e9dd247378c3d7fe060004 | [
"MIT"
] | null | null | null | airbyte-integrations/singer/base-singer/base_singer/__init__.py | gasparakos/airbyte | 3b420c1775af3db355e9dd247378c3d7fe060004 | [
"MIT"
] | null | null | null | from .singer_helpers import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 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 |
8fa5bfbbb7af2df17a7de59ab77ed93b621eb138 | 19,103 | py | Python | RepositoryStatusMonitor/lambda_dir/tests/test_cloudwatch_interactions.py | awslabs/aws-repository-status-monitor | 1c03d314939799ff69274a00134688b485460ef8 | [
"BSD-3-Clause"
] | 8 | 2020-09-18T18:49:54.000Z | 2021-10-20T15:28:09.000Z | RepositoryStatusMonitor/lambda_dir/tests/test_cloudwatch_interactions.py | awslabs/aws-repository-status-monitor | 1c03d314939799ff69274a00134688b485460ef8 | [
"BSD-3-Clause"
] | null | null | null | RepositoryStatusMonitor/lambda_dir/tests/test_cloudwatch_interactions.py | awslabs/aws-repository-status-monitor | 1c03d314939799ff69274a00134688b485460ef8 | [
"BSD-3-Clause"
] | 2 | 2021-05-09T15:49:54.000Z | 2021-10-20T15:28:02.000Z | import json
import os
from unittest.mock import Mock, patch
import boto3
import botocore.session
from botocore.stub import Stubber
from moto import mock_cloudwatch
from lambda_dir import cloudwatch_interactions as cw
def test_new_metric_good_input():
repo_name = 'repo-name'
metric_name = 'metric-name'
m... | 31.785358 | 118 | 0.603675 | 2,087 | 19,103 | 5.172976 | 0.075707 | 0.085217 | 0.051871 | 0.051871 | 0.860226 | 0.830771 | 0.803168 | 0.796128 | 0.789737 | 0.770656 | 0 | 0.019094 | 0.273465 | 19,103 | 601 | 119 | 31.785358 | 0.758772 | 0 | 0 | 0.649903 | 0 | 0 | 0.217232 | 0.008689 | 0 | 0 | 0 | 0 | 0.058027 | 1 | 0.05029 | false | 0 | 0.015474 | 0 | 0.065764 | 0.001934 | 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 |
8fea48251f4b29b796572d76e96f8632c93251b2 | 165 | py | Python | LeetCode/March Leetcoding Challenge/Reordered Power of 2.py | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | 13 | 2021-09-02T07:30:02.000Z | 2022-03-22T19:32:03.000Z | LeetCode/March Leetcoding Challenge/Reordered Power of 2.py | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | null | null | null | LeetCode/March Leetcoding Challenge/Reordered Power of 2.py | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | 3 | 2021-08-24T16:06:22.000Z | 2021-09-17T15:39:53.000Z | class Solution:
def reorderedPowerOf2(self, N: int) -> bool:
count = Counter(str(N))
return any(count == Counter(str(1 << b)) for b in range(31)) | 41.25 | 68 | 0.606061 | 24 | 165 | 4.166667 | 0.791667 | 0.24 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032 | 0.242424 | 165 | 4 | 68 | 41.25 | 0.768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
891b98360db931db506903a0132a41b1f8b29dd5 | 96 | py | Python | venv/lib/python3.8/site-packages/setuptools/_distutils/file_util.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/setuptools/_distutils/file_util.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/setuptools/_distutils/file_util.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/d2/15/2a/7c8b4dff1d83562851d0c1dd03828231508e3bc568072685a7f6ba3038 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
64e7ac71ef533d4b4957e9be5c2672125ad4cf53 | 44 | py | Python | grid_instrument/__init__.py | YuuuXie/GridInstrument | 8d6004c2690dd75154d544a8e69d2cb3906b9a5f | [
"MIT"
] | null | null | null | grid_instrument/__init__.py | YuuuXie/GridInstrument | 8d6004c2690dd75154d544a8e69d2cb3906b9a5f | [
"MIT"
] | null | null | null | grid_instrument/__init__.py | YuuuXie/GridInstrument | 8d6004c2690dd75154d544a8e69d2cb3906b9a5f | [
"MIT"
] | null | null | null | from .grid_instrument import GridInstrument
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8f2aafecef6f5d9765deb3f11abc5b137500d10f | 18,678 | py | Python | tests/io/test_workbenches.py | oklymenok/pyTenable | 73475e37034608afa5e9c7b20c9cec33a2818622 | [
"MIT"
] | 1 | 2020-05-22T12:08:52.000Z | 2020-05-22T12:08:52.000Z | tests/io/test_workbenches.py | oklymenok/pyTenable | 73475e37034608afa5e9c7b20c9cec33a2818622 | [
"MIT"
] | null | null | null | tests/io/test_workbenches.py | oklymenok/pyTenable | 73475e37034608afa5e9c7b20c9cec33a2818622 | [
"MIT"
] | null | null | null | from .fixtures import *
from tenable.errors import *
from io import BytesIO
def test_assets_age_typeerror(api):
with pytest.raises(TypeError):
api.workbenches.assets(age='123')
def test_assets_filter_tyype_typeerror(api):
with pytest.raises(TypeError):
api.workbenches.assets(filter_type=1)
de... | 38.590909 | 86 | 0.691241 | 2,444 | 18,678 | 5.042553 | 0.075696 | 0.082928 | 0.055907 | 0.08171 | 0.870091 | 0.803229 | 0.762334 | 0.721032 | 0.706183 | 0.639159 | 0 | 0.012393 | 0.170521 | 18,678 | 484 | 87 | 38.590909 | 0.783063 | 0 | 0 | 0.539568 | 0 | 0 | 0.183682 | 0.017399 | 0 | 0 | 0 | 0 | 0.028777 | 1 | 0.160671 | false | 0 | 0.007194 | 0 | 0.167866 | 0.002398 | 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 |
8f33c11bd0f0bafaf1935bba9e3b91c647577a8f | 162 | py | Python | ripple/observers/posix/__init__.py | globus-labs/ripple | abd996a412784999ebbf65f7470a6a719b0e6984 | [
"Apache-2.0"
] | 3 | 2017-08-11T20:07:56.000Z | 2018-10-02T21:42:25.000Z | ripple/observers/posix/__init__.py | globus-labs/ripple | abd996a412784999ebbf65f7470a6a719b0e6984 | [
"Apache-2.0"
] | null | null | null | ripple/observers/posix/__init__.py | globus-labs/ripple | abd996a412784999ebbf65f7470a6a719b0e6984 | [
"Apache-2.0"
] | null | null | null | from ripple.observers import base_observer
from ripple.observers.base_observer import BaseObserver
from ripple.observers.posix.posix_observer import PosixObserver | 54 | 63 | 0.895062 | 21 | 162 | 6.761905 | 0.428571 | 0.211268 | 0.401408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067901 | 162 | 3 | 63 | 54 | 0.940397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8f74b88f2098f8ea6b2fa96f4e99af2129ca2ac4 | 103 | py | Python | config.py | wopoczynski/WKIM | 541f679e9bc68f3c921273ac82f23747dce37607 | [
"MIT"
] | null | null | null | config.py | wopoczynski/WKIM | 541f679e9bc68f3c921273ac82f23747dce37607 | [
"MIT"
] | null | null | null | config.py | wopoczynski/WKIM | 541f679e9bc68f3c921273ac82f23747dce37607 | [
"MIT"
] | 1 | 2019-03-28T05:22:03.000Z | 2019-03-28T05:22:03.000Z | IMG_PATH = "\\..\\img\\"
IMAGES = [
"mf_Hela_gel_gfp_26_24.tif",
"mf_Hela_gel_gfp_26_25.tif"
] | 17.166667 | 32 | 0.631068 | 18 | 103 | 3 | 0.611111 | 0.222222 | 0.333333 | 0.444444 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0.165049 | 103 | 6 | 33 | 17.166667 | 0.534884 | 0 | 0 | 0 | 0 | 0 | 0.586538 | 0.480769 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f78e57e838c58be7cf262c42368f00fcda9ccbf | 69 | py | Python | eeyore/stats/mc_se_from_cov.py | papamarkou/eeyore | 4cd9b5a619cd095035aa93f348d1c937629aa8a3 | [
"MIT"
] | 6 | 2020-04-22T18:56:46.000Z | 2021-09-09T15:57:48.000Z | eeyore/stats/mc_se_from_cov.py | papamarkou/eeyore | 4cd9b5a619cd095035aa93f348d1c937629aa8a3 | [
"MIT"
] | 19 | 2019-11-14T21:22:21.000Z | 2020-10-31T16:18:36.000Z | eeyore/stats/mc_se_from_cov.py | scidom/eeyore | 4cd9b5a619cd095035aa93f348d1c937629aa8a3 | [
"MIT"
] | null | null | null | import torch
def mc_se_from_cov(x):
return torch.diag(x).sqrt()
| 13.8 | 31 | 0.710145 | 13 | 69 | 3.538462 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 4 | 32 | 17.25 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a41f4819373174cd421f45aa7d55e0dbe6eac5da | 87 | py | Python | simple_message.py | Hmorg1671/csws-week1 | 2136db5dd9a96a0984b667bb21469105bd394d23 | [
"Apache-2.0"
] | null | null | null | simple_message.py | Hmorg1671/csws-week1 | 2136db5dd9a96a0984b667bb21469105bd394d23 | [
"Apache-2.0"
] | null | null | null | simple_message.py | Hmorg1671/csws-week1 | 2136db5dd9a96a0984b667bb21469105bd394d23 | [
"Apache-2.0"
] | null | null | null | message = "This is a test"
print(message)
message = "This is a test 2"
print(message)
| 14.5 | 28 | 0.701149 | 15 | 87 | 4.066667 | 0.466667 | 0.360656 | 0.42623 | 0.459016 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.183908 | 87 | 5 | 29 | 17.4 | 0.84507 | 0 | 0 | 0.5 | 0 | 0 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a4406d4ab8ce12cd49a108ce69ed9950d42a8295 | 1,476 | py | Python | tests/models/fastai/unet/test_backbones.py | ai-fast-track/mantisshrimp | cc6d6a4a048f6ddda2782b6593dcd6b083a673e4 | [
"Apache-2.0"
] | 17 | 2020-07-31T22:09:07.000Z | 2020-08-30T11:18:36.000Z | tests/models/fastai/unet/test_backbones.py | ai-fast-track/mantisshrimp | cc6d6a4a048f6ddda2782b6593dcd6b083a673e4 | [
"Apache-2.0"
] | 115 | 2020-08-01T09:19:54.000Z | 2020-09-04T18:51:28.000Z | tests/models/fastai/unet/test_backbones.py | lgvaz/mantisshrimp2 | 743cb7df0dae7eb1331fc2bb66fc9ca09db496cd | [
"Apache-2.0"
] | 1 | 2020-08-25T06:04:34.000Z | 2020-08-25T06:04:34.000Z | import pytest
from icevision.all import *
from icevision.models.fastai import unet
@pytest.mark.skip
@pytest.mark.parametrize(
"model_name,param_groups_len",
(
("resnet101", 6),
("resnet152", 6),
("resnext101_32x8d", 6),
),
)
def test_unet_fpn_backbones_large(model_name, param_grou... | 28.384615 | 69 | 0.705962 | 192 | 1,476 | 5.140625 | 0.239583 | 0.133739 | 0.12766 | 0.121581 | 0.842958 | 0.842958 | 0.77001 | 0.77001 | 0.735562 | 0.735562 | 0 | 0.027665 | 0.167344 | 1,476 | 51 | 70 | 28.941176 | 0.775427 | 0 | 0 | 0.547619 | 0 | 0 | 0.100271 | 0.054878 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.142857 | 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 |
f14d723868fc13f84d8bf1a68f20ccebe93a1724 | 83 | py | Python | kdrl/__init__.py | obsproth/KDRL | a892aa216456ff6d277e4d7e575d61f0b7e91a78 | [
"MIT"
] | null | null | null | kdrl/__init__.py | obsproth/KDRL | a892aa216456ff6d277e4d7e575d61f0b7e91a78 | [
"MIT"
] | null | null | null | kdrl/__init__.py | obsproth/KDRL | a892aa216456ff6d277e4d7e575d61f0b7e91a78 | [
"MIT"
] | null | null | null | from . import agents
from . import agent
from . import memory
from . import policy
| 16.6 | 20 | 0.759036 | 12 | 83 | 5.25 | 0.5 | 0.634921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 83 | 4 | 21 | 20.75 | 0.940299 | 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 |
f15404cb837fc57d92df2d60fb0696b447e19510 | 48 | py | Python | tests/test_precovery.py | spenczar/precovery | c7ea9e07b9bb35300d95010cfffeecc4c6ea0f2e | [
"BSD-3-Clause"
] | null | null | null | tests/test_precovery.py | spenczar/precovery | c7ea9e07b9bb35300d95010cfffeecc4c6ea0f2e | [
"BSD-3-Clause"
] | null | null | null | tests/test_precovery.py | spenczar/precovery | c7ea9e07b9bb35300d95010cfffeecc4c6ea0f2e | [
"BSD-3-Clause"
] | null | null | null | def test_import():
import precovery # noqa
| 16 | 28 | 0.6875 | 6 | 48 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 48 | 2 | 29 | 24 | 0.864865 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.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 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f191dc7a998848459a9476ab36b9f3161a7fd339 | 47 | py | Python | heaphopper/gen/__init__.py | angr/heaphopper | fa0efa8e71908bd05cd07a2ac0c73dbc5d445ae1 | [
"BSD-2-Clause"
] | 185 | 2018-08-05T03:03:47.000Z | 2022-02-15T06:32:22.000Z | heaphopper/gen/__init__.py | angr/heaphopper | fa0efa8e71908bd05cd07a2ac0c73dbc5d445ae1 | [
"BSD-2-Clause"
] | 11 | 2018-08-06T11:09:07.000Z | 2020-07-14T05:26:23.000Z | heaphopper/gen/__init__.py | angr/heaphopper | fa0efa8e71908bd05cd07a2ac0c73dbc5d445ae1 | [
"BSD-2-Clause"
] | 19 | 2018-08-05T03:03:50.000Z | 2022-02-24T10:44:00.000Z | from .gen_pocs import *
from .gen_zoo import *
| 15.666667 | 23 | 0.744681 | 8 | 47 | 4.125 | 0.625 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 24 | 23.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
74c4d37dbb2923fadc95e4665a215ab10f589dfe | 118 | py | Python | orb_simulator/other_language/testing_ast/Rule.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 1 | 2022-01-19T22:49:09.000Z | 2022-01-19T22:49:09.000Z | orb_simulator/other_language/testing_ast/Rule.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 15 | 2021-11-10T14:25:02.000Z | 2022-02-12T19:17:11.000Z | orb_simulator/other_language/testing_ast/Rule.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | null | null | null | class Rule:
def __init__(self):
return None
def evaluate(symbol, parent, children):
pass | 16.857143 | 43 | 0.584746 | 13 | 118 | 5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.338983 | 118 | 7 | 44 | 16.857143 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
74c76460b5d8f2e5c55f376df55f2369186d4f35 | 2,384 | py | Python | tests/test_duplicate_lines_cleanup_migrator.py | JorgeGarciaIrazabal/cf-scripts | 69f4f0268496281c2b9e2073e13566b985b06677 | [
"MIT"
] | 33 | 2018-02-28T04:05:46.000Z | 2022-01-13T15:34:43.000Z | tests/test_duplicate_lines_cleanup_migrator.py | JorgeGarciaIrazabal/cf-scripts | 69f4f0268496281c2b9e2073e13566b985b06677 | [
"MIT"
] | 1,371 | 2018-02-25T00:32:37.000Z | 2022-03-29T23:44:42.000Z | tests/test_duplicate_lines_cleanup_migrator.py | bgruening/cf-scripts | bca57b85be7c9b85a180210f74c90be293519371 | [
"MIT"
] | 62 | 2018-02-25T00:28:48.000Z | 2022-02-22T02:55:28.000Z | import os
import pytest
from conda_forge_tick.migrators import (
Version,
DuplicateLinesCleanup,
)
from test_migrators import run_test_migration
VERSION_DLC = Version(
set(),
piggy_back_migrations=[DuplicateLinesCleanup()],
)
YAML_PATH = os.path.join(os.path.dirname(__file__), "test_yaml")
@pytest.... | 28.380952 | 85 | 0.604866 | 271 | 2,384 | 5.051661 | 0.228782 | 0.075968 | 0.11103 | 0.122717 | 0.837107 | 0.834186 | 0.834186 | 0.834186 | 0.834186 | 0.834186 | 0 | 0.004494 | 0.253356 | 2,384 | 83 | 86 | 28.722892 | 0.764607 | 0 | 0 | 0.638889 | 0 | 0 | 0.294883 | 0.071309 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.055556 | 0 | 0.083333 | 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 |
2d27077eb8712330d04984a005f795d1bdaec609 | 25 | py | Python | cvmfs/__init__.py | lscsoft/cvmfs-docker-worker | 8608b8241e772979c3fb6e1f1deee3fce773c4e5 | [
"Apache-2.0"
] | 1 | 2021-11-10T05:38:07.000Z | 2021-11-10T05:38:07.000Z | cvmfs/__init__.py | lscsoft/cvmfs-docker-worker | 8608b8241e772979c3fb6e1f1deee3fce773c4e5 | [
"Apache-2.0"
] | 5 | 2018-02-07T18:40:51.000Z | 2018-04-18T21:14:34.000Z | cvmfs/__init__.py | lscsoft/cvmfs-docker-worker | 8608b8241e772979c3fb6e1f1deee3fce773c4e5 | [
"Apache-2.0"
] | 1 | 2020-05-18T05:22:44.000Z | 2020-05-18T05:22:44.000Z | from .publisher import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7489e5d327b2e36823bfa0e6a6744b185b110cc2 | 1,653 | py | Python | p8.py | daicang/Euler | c00114d588351b6f2c637937558a35738d56345b | [
"MIT"
] | null | null | null | p8.py | daicang/Euler | c00114d588351b6f2c637937558a35738d56345b | [
"MIT"
] | null | null | null | p8.py | daicang/Euler | c00114d588351b6f2c637937558a35738d56345b | [
"MIT"
] | null | null | null | # the 13 adjacent digits that have the greatest product
numbers = ('73167176531330624919225119674426574742355349194934'
'96983520312774506326239578318016984801869478851843'
'85861560789112949495459501737958331952853208805511'
'12540698747158523863050715693290963295227443043557'
... | 40.317073 | 64 | 0.722928 | 78 | 1,653 | 15.320513 | 0.666667 | 0.003347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.784436 | 0.222626 | 1,653 | 40 | 65 | 41.325 | 0.145525 | 0.032063 | 0 | 0 | 0 | 0 | 0.625782 | 0.625782 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.030303 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
74a9ca74a59b2b0c8b3d4cac6fcccb4d3159987e | 260 | py | Python | tipping/src/tipping/models/__init__.py | tipresias/tipresias | 8945acb8276f22f2159c24e5a1bd411e7920a79e | [
"MIT"
] | 12 | 2019-05-27T10:28:59.000Z | 2022-02-01T23:49:50.000Z | tipping/src/tipping/models/__init__.py | tipresias/tipresias | 8945acb8276f22f2159c24e5a1bd411e7920a79e | [
"MIT"
] | 275 | 2019-05-27T06:46:37.000Z | 2022-03-18T03:58:33.000Z | tipping/src/tipping/models/__init__.py | tipresias/tipresias | 8945acb8276f22f2159c24e5a1bd411e7920a79e | [
"MIT"
] | 6 | 2019-08-27T08:49:50.000Z | 2021-10-04T12:28:37.000Z | """All data models for the server app."""
from tipping.models.team import Team
from tipping.models.match import Match
from tipping.models.team_match import TeamMatch
from tipping.models.ml_model import MLModel
from tipping.models.prediction import Prediction
| 32.5 | 48 | 0.826923 | 39 | 260 | 5.461538 | 0.435897 | 0.258216 | 0.399061 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 260 | 7 | 49 | 37.142857 | 0.918103 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
77687b0de4cdd1ead13354e56168d1c8cf465f3b | 1,168 | py | Python | edgar/parsing/parse_country.py | aaronclong/python-sec | b21a5e606eab03e663ab4e69e077a6844a9a1a40 | [
"MIT"
] | 74 | 2020-04-24T13:05:05.000Z | 2022-03-17T11:04:50.000Z | edgar/parsing/parse_country.py | aaronclong/python-sec | b21a5e606eab03e663ab4e69e077a6844a9a1a40 | [
"MIT"
] | 6 | 2020-09-27T01:35:46.000Z | 2022-02-21T15:44:36.000Z | edgar/parsing/parse_country.py | aaronclong/python-sec | b21a5e606eab03e663ab4e69e077a6844a9a1a40 | [
"MIT"
] | 37 | 2020-06-03T20:31:23.000Z | 2022-02-21T15:15:58.000Z | import xml.etree.ElementTree as ET
import json
# with open("edgar/parsing/country_code.html", "r") as code:
# # Parse the text.
# root = ET.fromstring(code.read())
# options = root.findall(path='./option')
# country_codes = {option.text.replace(" ", "_"): option.attrib.get('value', None) for option ... | 30.736842 | 124 | 0.666096 | 163 | 1,168 | 4.650307 | 0.276074 | 0.110818 | 0.068602 | 0.105541 | 0.836412 | 0.836412 | 0.836412 | 0.836412 | 0.836412 | 0.836412 | 0 | 0.00207 | 0.172945 | 1,168 | 38 | 125 | 30.736842 | 0.782609 | 0.559075 | 0 | 0 | 0 | 0 | 0.143145 | 0.106855 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0.111111 | 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 |
77bfb7d0efb0cd81b626c4754d0658d032255dcb | 6,461 | py | Python | tests.py | EricSchles/backtester | c12d49a765cfeadf81a4ef0eae59cf1cb7760466 | [
"MIT"
] | null | null | null | tests.py | EricSchles/backtester | c12d49a765cfeadf81a4ef0eae59cf1cb7760466 | [
"MIT"
] | null | null | null | tests.py | EricSchles/backtester | c12d49a765cfeadf81a4ef0eae59cf1cb7760466 | [
"MIT"
] | 1 | 2021-11-09T18:42:14.000Z | 2021-11-09T18:42:14.000Z | from backtester import backtest
from backtester import metrics as bt_metrics
import pandas as pd
import statsmodels.api as sm
from statsmodels.tsa.seasonal import seasonal_decompose
import code
def example_code(metric):
df = sm.datasets.sunspots.load_pandas().data
df.index = pd.Index(
sm.tsa.datetools.... | 33.304124 | 83 | 0.751896 | 855 | 6,461 | 5.322807 | 0.098246 | 0.067238 | 0.12327 | 0.137772 | 0.856295 | 0.84399 | 0.832784 | 0.754559 | 0.643375 | 0.502087 | 0 | 0.014434 | 0.163597 | 6,461 | 193 | 84 | 33.476684 | 0.82772 | 0 | 0 | 0.401274 | 0 | 0 | 0.004799 | 0 | 0 | 0 | 0 | 0 | 0.401274 | 1 | 0.216561 | false | 0 | 0.038217 | 0 | 0.267516 | 0.006369 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77fd63b2c8db82b2fcc2433cca312306f703569b | 129 | py | Python | utils.py | HwDhyeon/Discord-Bot | d8b7e931d96507c917cdc4526f6035da34ec26ca | [
"MIT"
] | null | null | null | utils.py | HwDhyeon/Discord-Bot | d8b7e931d96507c917cdc4526f6035da34ec26ca | [
"MIT"
] | null | null | null | utils.py | HwDhyeon/Discord-Bot | d8b7e931d96507c917cdc4526f6035da34ec26ca | [
"MIT"
] | null | null | null | from colors import color
def colored_print(msg: str, color_name: str, *, end='\n'):
print(color(msg, color_name), end=end)
| 21.5 | 58 | 0.689922 | 21 | 129 | 4.095238 | 0.571429 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155039 | 129 | 5 | 59 | 25.8 | 0.788991 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
bb13597342dd00b32852a3608c685cda29e2d47f | 46 | py | Python | Food/src/item/__init__.py | Babarbitz/Project-Food | e57b31b04a4c52ba6bba7e205e88b26a3f3b22f2 | [
"MIT"
] | 1 | 2020-11-05T21:47:20.000Z | 2020-11-05T21:47:20.000Z | Food/src/item/__init__.py | Babarbitz/Project-Food | e57b31b04a4c52ba6bba7e205e88b26a3f3b22f2 | [
"MIT"
] | null | null | null | Food/src/item/__init__.py | Babarbitz/Project-Food | e57b31b04a4c52ba6bba7e205e88b26a3f3b22f2 | [
"MIT"
] | 1 | 2020-11-05T21:58:07.000Z | 2020-11-05T21:58:07.000Z | from .item import *
from .controller import *
| 15.333333 | 25 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 26 | 23 | 0.894737 | 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 |
248da024e65177d6b429f4ffd0b86259386615f3 | 34 | py | Python | lazycls/ext/_pathlib/base.py | trisongz/lazycls | 701bad1a358ed3bb136347d0c5eb81de3201f6a3 | [
"MIT"
] | 2 | 2021-12-02T00:13:16.000Z | 2022-02-26T11:18:33.000Z | lazycls/ext/_pathlib/base.py | trisongz/lazycls | 701bad1a358ed3bb136347d0c5eb81de3201f6a3 | [
"MIT"
] | null | null | null | lazycls/ext/_pathlib/base.py | trisongz/lazycls | 701bad1a358ed3bb136347d0c5eb81de3201f6a3 | [
"MIT"
] | null | null | null | from lazycls.ext._types import *
| 11.333333 | 32 | 0.764706 | 5 | 34 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 33 | 17 | 0.862069 | 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 |
24a888ea0cba4c0f148a6c6780f16d090d85570b | 27 | py | Python | src/pgbm_dist/__init__.py | ii-research-yu/pgbm | d050a5f71f1a458d8269c4f5201744c0d7c4d487 | [
"Apache-2.0"
] | 79 | 2021-06-02T06:59:08.000Z | 2022-03-10T20:27:02.000Z | src/pgbm_dist/__init__.py | ii-research-yu/pgbm | d050a5f71f1a458d8269c4f5201744c0d7c4d487 | [
"Apache-2.0"
] | 11 | 2021-06-07T17:39:34.000Z | 2022-01-10T14:00:21.000Z | src/pgbm_dist/__init__.py | ii-research-yu/pgbm | d050a5f71f1a458d8269c4f5201744c0d7c4d487 | [
"Apache-2.0"
] | 10 | 2021-06-08T01:04:03.000Z | 2022-03-31T23:41:23.000Z | from .pgbm_dist import PGBM | 27 | 27 | 0.851852 | 5 | 27 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
701f21c21879002d2f74282edd7439596e556b9e | 124 | py | Python | netimpact/__init__.py | jalexspringer/netimpact | a2bba4b22e45d26fd149b33ab6600535d002df40 | [
"Apache-2.0"
] | 1 | 2020-10-29T23:18:43.000Z | 2020-10-29T23:18:43.000Z | netimpact/__init__.py | jalexspringer/netimpact | a2bba4b22e45d26fd149b33ab6600535d002df40 | [
"Apache-2.0"
] | null | null | null | netimpact/__init__.py | jalexspringer/netimpact | a2bba4b22e45d26fd149b33ab6600535d002df40 | [
"Apache-2.0"
] | 1 | 2020-10-29T23:18:49.000Z | 2020-10-29T23:18:49.000Z | import netimpact.admitad
import netimpact.awin
import netimpact.impact
import netimpact.linkshare
import netimpact.processor | 24.8 | 26 | 0.887097 | 15 | 124 | 7.333333 | 0.466667 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072581 | 124 | 5 | 27 | 24.8 | 0.956522 | 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 |
7028c8f0d13a449ec289fc07be623f2fc3bed02d | 171 | py | Python | ross/__init__.py | flaviorangel/ross | d580dc5ee301dd2274d071799a421acc8742184d | [
"MIT"
] | null | null | null | ross/__init__.py | flaviorangel/ross | d580dc5ee301dd2274d071799a421acc8742184d | [
"MIT"
] | null | null | null | ross/__init__.py | flaviorangel/ross | d580dc5ee301dd2274d071799a421acc8742184d | [
"MIT"
] | null | null | null | __version__ = "0.0.1"
from .materials import *
from .bearing_seal_element import *
from .disk_element import *
from .shaft_element import *
from .rotor_assembly import *
| 21.375 | 35 | 0.77193 | 24 | 171 | 5.125 | 0.541667 | 0.325203 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.140351 | 171 | 7 | 36 | 24.428571 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0.02924 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7040478e4595bd54b313e08c2196cfef4b545860 | 4,721 | py | Python | tests/test_open_tmux.py | huntie/sublime-tmux | fc2244934060c10e0b3434e1ac5c987ed95c79a1 | [
"MIT"
] | 6 | 2017-10-09T12:59:11.000Z | 2021-02-20T04:54:27.000Z | tests/test_open_tmux.py | huntie/sublime-tmux | fc2244934060c10e0b3434e1ac5c987ed95c79a1 | [
"MIT"
] | 2 | 2017-12-15T12:29:15.000Z | 2017-12-27T13:03:48.000Z | tests/test_open_tmux.py | huntie/sublime-tmux | fc2244934060c10e0b3434e1ac5c987ed95c79a1 | [
"MIT"
] | 1 | 2021-02-20T04:54:30.000Z | 2021-02-20T04:54:30.000Z | import sublime
from unittest import mock
import snapshottest
from helpers import mock_tmux_subproc_events
class TestOpenTmuxCommand(snapshottest.TestCase):
def setUp(self):
self.subproc_popen_mock = mock.patch('subprocess.Popen').start()
self.subproc_popen_mock.side_effect = mock_tmux_subproc_even... | 44.121495 | 115 | 0.69265 | 610 | 4,721 | 5.027869 | 0.140984 | 0.044017 | 0.067819 | 0.084773 | 0.842843 | 0.788719 | 0.781219 | 0.774046 | 0.774046 | 0.750571 | 0 | 0.003908 | 0.187037 | 4,721 | 106 | 116 | 44.537736 | 0.795206 | 0 | 0 | 0.532468 | 0 | 0 | 0.183859 | 0.109934 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.155844 | false | 0 | 0.051948 | 0 | 0.220779 | 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 |
70541fe4ca51d2fc8917694006ee793f01fec42b | 36,964 | py | Python | pybind/slxos/v16r_1_00b/mpls_state/te/database/area/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_state/te/database/area/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_state/te/database/area/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 69.743396 | 772 | 0.7309 | 5,343 | 36,964 | 4.807599 | 0.040801 | 0.042823 | 0.052322 | 0.033636 | 0.897964 | 0.869233 | 0.841515 | 0.833106 | 0.821583 | 0.815198 | 0 | 0.023003 | 0.125014 | 36,964 | 529 | 773 | 69.875236 | 0.771202 | 0.167352 | 0 | 0.501684 | 0 | 0.057239 | 0.389012 | 0.224595 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.030303 | 0 | 0.262626 | 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 |
5611e727d542c7e5f6175fdba7f887871e2e151e | 21,436 | py | Python | pybind/nos/v7_1_0/brocade_mac_address_table_rpc/get_mac_address_table/output/mac_address_table/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/brocade_mac_address_table_rpc/get_mac_address_table/output/mac_address_table/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v7_1_0/brocade_mac_address_table_rpc/get_mac_address_table/output/mac_address_table/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 72.911565 | 644 | 0.72131 | 2,855 | 21,436 | 5.147811 | 0.071454 | 0.085732 | 0.085732 | 0.08233 | 0.830101 | 0.793223 | 0.777574 | 0.768456 | 0.764374 | 0.759135 | 0 | 0.007564 | 0.148908 | 21,436 | 293 | 645 | 73.16041 | 0.798016 | 0.160898 | 0 | 0.451977 | 0 | 0.045198 | 0.354769 | 0.181397 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101695 | false | 0 | 0.050847 | 0 | 0.271186 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
561fedff298ee9e412a1cdfdb36b6f32c79eb9d3 | 2,607 | py | Python | cycle/model_helper.py | eddynelson/cycle-gan | 46d0e787df58ab112e96b6c518aad31f37e15ae0 | [
"MIT"
] | null | null | null | cycle/model_helper.py | eddynelson/cycle-gan | 46d0e787df58ab112e96b6c518aad31f37e15ae0 | [
"MIT"
] | null | null | null | cycle/model_helper.py | eddynelson/cycle-gan | 46d0e787df58ab112e96b6c518aad31f37e15ae0 | [
"MIT"
] | null | null | null | from typing import Tuple
from tensorflow.keras import layers
from tensorflow_addons.layers import InstanceNormalization
from tensorflow.keras.initializers import Initializer
#
from cycle.padding import ReflectionPadding2D
def residual_block(
x: layers.Layer,
activation: layers.Activation,
kernel_size: Tu... | 28.336957 | 69 | 0.639049 | 279 | 2,607 | 5.806452 | 0.172043 | 0.115432 | 0.096296 | 0.059259 | 0.732099 | 0.708642 | 0.708642 | 0.708642 | 0.708642 | 0.708642 | 0 | 0.01046 | 0.26659 | 2,607 | 92 | 70 | 28.336957 | 0.83682 | 0 | 0 | 0.75641 | 0 | 0 | 0.004987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.064103 | 0 | 0.141026 | 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 |
5654088c27e65b5e9a1823834b860d210db34f34 | 135 | py | Python | resources/PyInstaller-3.0/tests/functional/modules/pyi_import_pyqt.uic.port/PyQt5/Qt.py | dvt32/mypymodoro | 7d2db639ea828e4db9caa84cd6f747f542ab22d8 | [
"MIT"
] | null | null | null | resources/PyInstaller-3.0/tests/functional/modules/pyi_import_pyqt.uic.port/PyQt5/Qt.py | dvt32/mypymodoro | 7d2db639ea828e4db9caa84cd6f747f542ab22d8 | [
"MIT"
] | null | null | null | resources/PyInstaller-3.0/tests/functional/modules/pyi_import_pyqt.uic.port/PyQt5/Qt.py | dvt32/mypymodoro | 7d2db639ea828e4db9caa84cd6f747f542ab22d8 | [
"MIT"
] | null | null | null | # fake module to make run-time-hook pyi_rth_qt5plugins happy
__pyinstaller_fake_module_marker__ = '__pyinstaller_fake_module_marker__'
| 45 | 73 | 0.874074 | 19 | 135 | 5.368421 | 0.684211 | 0.294118 | 0.411765 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.081481 | 135 | 2 | 74 | 67.5 | 0.814516 | 0.42963 | 0 | 0 | 0 | 0 | 0.453333 | 0.453333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5696c78a1aefd8deda6fbf85591839128813452f | 176 | py | Python | kpc_connector_utils/common/base64.py | praiwann/kpc-connector-utils | 709cc9adac9e218959ff80c529e36b6c34da6235 | [
"Apache-2.0"
] | null | null | null | kpc_connector_utils/common/base64.py | praiwann/kpc-connector-utils | 709cc9adac9e218959ff80c529e36b6c34da6235 | [
"Apache-2.0"
] | null | null | null | kpc_connector_utils/common/base64.py | praiwann/kpc-connector-utils | 709cc9adac9e218959ff80c529e36b6c34da6235 | [
"Apache-2.0"
] | null | null | null | import base64
def base64_decode(value):
return base64.b64decode(value.encode()).decode()
def base64_encode(value):
return base64.b64encode(value.encode()).decode()
| 17.6 | 52 | 0.738636 | 22 | 176 | 5.818182 | 0.409091 | 0.140625 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.125 | 176 | 9 | 53 | 19.555556 | 0.74026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
569fd08b61fed84556ea93e093fb1c4804945636 | 32 | py | Python | livemark/plugins/signs/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 73 | 2021-06-07T13:28:36.000Z | 2022-03-26T05:37:59.000Z | livemark/plugins/signs/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 120 | 2021-06-04T12:51:01.000Z | 2022-03-21T11:11:36.000Z | livemark/plugins/signs/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 7 | 2021-09-22T11:38:26.000Z | 2022-03-26T05:35:58.000Z | from .plugin import SignsPlugin
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
3b1bff85277a942649428f21164227cdd9c336c0 | 62 | py | Python | data/__all_models.py | SUPERustam/Flask_pattern | a843ab09d5e4feff78e879054fe75e6b4e914bc2 | [
"MIT"
] | 1 | 2021-04-27T15:51:06.000Z | 2021-04-27T15:51:06.000Z | data/__all_models.py | SUPERustam/Flask_template | a843ab09d5e4feff78e879054fe75e6b4e914bc2 | [
"MIT"
] | null | null | null | data/__all_models.py | SUPERustam/Flask_template | a843ab09d5e4feff78e879054fe75e6b4e914bc2 | [
"MIT"
] | null | null | null | from . import users
from . import news
from . import category
| 15.5 | 22 | 0.758065 | 9 | 62 | 5.222222 | 0.555556 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 3 | 23 | 20.666667 | 0.94 | 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 |
3b6a6ee889ef4ca2d63bbe26665c4bf76ab86644 | 33 | py | Python | powerline_nodeversion/__init__.py | crshnburn/powerline-nodeversion | f346527ede2465d93009080613b3c25edcb7b73c | [
"Apache-2.0"
] | null | null | null | powerline_nodeversion/__init__.py | crshnburn/powerline-nodeversion | f346527ede2465d93009080613b3c25edcb7b73c | [
"Apache-2.0"
] | null | null | null | powerline_nodeversion/__init__.py | crshnburn/powerline-nodeversion | f346527ede2465d93009080613b3c25edcb7b73c | [
"Apache-2.0"
] | null | null | null | from .segments import nodeversion | 33 | 33 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b8e28241009c18f4bce723a526ba631c9d528bd | 17,639 | py | Python | cogs/roleplay.py | asheeeshh/kanna-rewrite | cc0d950da035c55d4a2731dbfc6ecc0e9456b73c | [
"MIT"
] | 3 | 2021-12-22T13:41:03.000Z | 2022-02-23T03:11:30.000Z | cogs/roleplay.py | asheeeshh/kanna-rewrite | cc0d950da035c55d4a2731dbfc6ecc0e9456b73c | [
"MIT"
] | 1 | 2022-02-27T07:42:09.000Z | 2022-02-27T07:42:09.000Z | cogs/roleplay.py | asheeeshh/kanna-rewrite | cc0d950da035c55d4a2731dbfc6ecc0e9456b73c | [
"MIT"
] | 1 | 2022-02-27T07:00:30.000Z | 2022-02-27T07:00:30.000Z | import discord
from discord.ext import commands
from discord.commands import slash_command, user_command, SlashCommandGroup
import weeby
from ._config import gi, ec
import pyrebase
from decouple import config
import json
gif = weeby.Weeby(str(config("WTOKEN")))
firebaseconfig=json.loads(config("FIREBASE_CONFIG"))
fir... | 33.791188 | 119 | 0.565225 | 2,429 | 17,639 | 3.994236 | 0.074516 | 0.075139 | 0.080808 | 0.093074 | 0.841476 | 0.809936 | 0.790559 | 0.790559 | 0.790559 | 0.718615 | 0 | 0.000241 | 0.295708 | 17,639 | 522 | 120 | 33.791188 | 0.77767 | 0 | 0 | 0.605372 | 0 | 0.014463 | 0.163265 | 0.034014 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012397 | false | 0 | 0.016529 | 0 | 0.035124 | 0.002066 | 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 |
8e53c3ca465255d1ecb7d89500cedec61e4cb67a | 22 | py | Python | scrapyd/website/__init__.py | llonchj/scrapyd | d3cc90964dfe863f1eb83855f64e985583ecca20 | [
"BSD-3-Clause"
] | null | null | null | scrapyd/website/__init__.py | llonchj/scrapyd | d3cc90964dfe863f1eb83855f64e985583ecca20 | [
"BSD-3-Clause"
] | null | null | null | scrapyd/website/__init__.py | llonchj/scrapyd | d3cc90964dfe863f1eb83855f64e985583ecca20 | [
"BSD-3-Clause"
] | null | null | null | from root import Root
| 11 | 21 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8e8e0e666fc7a022571f3a51295bc86b244c6635 | 33 | py | Python | day00/python/smarkwart/solution.py | jamhocken/aoc-2020 | b1f9e04177afaf7e7c15fdc7bf7bc76f27a029f6 | [
"MIT"
] | 16 | 2020-11-21T16:11:07.000Z | 2021-12-06T10:02:25.000Z | day00/python/smarkwart/solution.py | jamhocken/aoc-2020 | b1f9e04177afaf7e7c15fdc7bf7bc76f27a029f6 | [
"MIT"
] | 38 | 2020-11-26T05:53:35.000Z | 2021-11-22T17:01:58.000Z | day00/python/smarkwart/solution.py | jamhocken/aoc-2020 | b1f9e04177afaf7e7c15fdc7bf7bc76f27a029f6 | [
"MIT"
] | 41 | 2020-11-21T16:11:10.000Z | 2021-12-07T13:36:07.000Z | print("Hello world of Aoc 2020!") | 33 | 33 | 0.727273 | 6 | 33 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0.121212 | 33 | 1 | 33 | 33 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d937fa78cd088af5c65dce6d80a02d30922c2fbb | 106 | py | Python | src/vodka/resources/blank_app/application.py | 20c/vodka | fe32ad1cfef041bf98b5bb3525481f2c05c59228 | [
"Apache-2.0"
] | 3 | 2017-12-12T16:03:22.000Z | 2020-10-28T19:18:01.000Z | src/vodka/resources/blank_app/application.py | 20c/vodka | fe32ad1cfef041bf98b5bb3525481f2c05c59228 | [
"Apache-2.0"
] | 16 | 2016-09-08T08:01:59.000Z | 2022-03-11T10:28:41.000Z | src/vodka/resources/blank_app/application.py | 20c/vodka | fe32ad1cfef041bf98b5bb3525481f2c05c59228 | [
"Apache-2.0"
] | 1 | 2016-10-22T14:50:36.000Z | 2016-10-22T14:50:36.000Z | import vodka.app
# @vodka.app.register('my_app')
# class MyApplication(vodka.app.Application):
# pass
| 17.666667 | 45 | 0.726415 | 14 | 106 | 5.428571 | 0.642857 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 106 | 5 | 46 | 21.2 | 0.817204 | 0.764151 | 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 |
d93a2414fe481b3f71bea44a972b10a7ba2d6f14 | 2,306 | py | Python | epytope/Data/pssms/smmpmbec/mat/C_03_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/C_03_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/C_03_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | C_03_03_9 = {0: {'A': -0.024, 'C': -0.115, 'E': -0.034, 'D': 0.035, 'G': 0.013, 'F': -0.569, 'I': -0.12, 'H': 0.114, 'K': 0.41, 'M': 0.064, 'L': -0.017, 'N': 0.058, 'Q': 0.177, 'P': 0.093, 'S': 0.164, 'R': 0.299, 'T': 0.045, 'W': -0.241, 'V': -0.025, 'Y': -0.328}, 1: {'A': -0.655, 'C': -0.086, 'E': -0.058, 'D': -0.04, ... | 2,306 | 2,306 | 0.391587 | 557 | 2,306 | 1.615799 | 0.298025 | 0.02 | 0.011111 | 0.013333 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.370409 | 0.161752 | 2,306 | 1 | 2,306 | 2,306 | 0.095189 | 0 | 0 | 0 | 0 | 0 | 0.079324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
797700adb3ee1a9c71516f9892af4d4bed5aee68 | 1,219 | py | Python | create_random.py | ernewton/rogui | 0e138a6142fbd07586cb3689c432c2ae9805f2dc | [
"MIT"
] | 2 | 2015-06-29T15:40:29.000Z | 2015-06-29T21:22:32.000Z | create_random.py | ernewton/rogui | 0e138a6142fbd07586cb3689c432c2ae9805f2dc | [
"MIT"
] | null | null | null | create_random.py | ernewton/rogui | 0e138a6142fbd07586cb3689c432c2ae9805f2dc | [
"MIT"
] | 1 | 2020-02-20T15:17:51.000Z | 2020-02-20T15:17:51.000Z | import numpy as np
rand = np.random.RandomState(42)
t = 1000 * rand.rand(300)
y = 0.005*np.sin(2 * np.pi * t/50.) + 0.002 * rand.randn(len(t))
dy = 0.001 + 0.002* rand.rand(len(t))
i = range(300)
from astropy.io import ascii
from astropy.table import Table
data = Table([i, t, y, dy], names=['i', 'time', 'mag', 'error'... | 29.02381 | 65 | 0.609516 | 234 | 1,219 | 3.175214 | 0.183761 | 0.048452 | 0.086137 | 0.123822 | 0.858681 | 0.858681 | 0.858681 | 0.854643 | 0.854643 | 0.854643 | 0 | 0.12054 | 0.149303 | 1,219 | 41 | 66 | 29.731707 | 0.59595 | 0 | 0 | 0.645161 | 0 | 0 | 0.105004 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.096774 | 0 | 0.096774 | 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 |
798ae198d2763b1bbeba172471495dea83b4b3fc | 21,008 | py | Python | tests/test_DynamicLinearGaussianModelClass.py | AdrianDickeson/sstspack | 2e5108addfc890fdd7a7cb7211d49aedbcbef1f5 | [
"MIT"
] | null | null | null | tests/test_DynamicLinearGaussianModelClass.py | AdrianDickeson/sstspack | 2e5108addfc890fdd7a7cb7211d49aedbcbef1f5 | [
"MIT"
] | null | null | null | tests/test_DynamicLinearGaussianModelClass.py | AdrianDickeson/sstspack | 2e5108addfc890fdd7a7cb7211d49aedbcbef1f5 | [
"MIT"
] | null | null | null | from pandas import Series, NA
from numpy import full, inf, ones, zeros, identity, isinf, NAN, nan, NaN, array
from numpy.testing import assert_array_equal, assert_array_almost_equal
import sstspack.GaussianModelDesign as md
from sstspack.DynamicLinearGaussianModelClass import DynamicLinearGaussianModel as DLGM
expect... | 35.60678 | 87 | 0.665651 | 3,404 | 21,008 | 3.761163 | 0.042891 | 0.029681 | 0.104975 | 0.105366 | 0.861829 | 0.824104 | 0.778802 | 0.752402 | 0.719831 | 0.660705 | 0 | 0.056233 | 0.180598 | 21,008 | 589 | 88 | 35.667233 | 0.687522 | 0.00138 | 0 | 0.39749 | 0 | 0 | 0.013203 | 0 | 0 | 0 | 0 | 0 | 0.376569 | 1 | 0.041841 | false | 0 | 0.01046 | 0 | 0.054393 | 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 |
79d3b783d44e8b920ee9068806400976373789e7 | 112 | py | Python | buildscripts/resmokeconfig/__init__.py | SunguckLee/real-mongodb | fef0e44fafc6d3709a84101327e7d2f54dd18d88 | [
"Apache-2.0"
] | 4 | 2018-02-06T01:53:12.000Z | 2018-02-20T01:47:36.000Z | buildscripts/resmokeconfig/__init__.py | SunguckLee/real-mongodb | fef0e44fafc6d3709a84101327e7d2f54dd18d88 | [
"Apache-2.0"
] | null | null | null | buildscripts/resmokeconfig/__init__.py | SunguckLee/real-mongodb | fef0e44fafc6d3709a84101327e7d2f54dd18d88 | [
"Apache-2.0"
] | 3 | 2018-02-06T01:53:18.000Z | 2021-07-28T09:48:15.000Z | from __future__ import absolute_import
from .suites import NAMED_SUITES
from .loggers import NAMED_LOGGERS
| 22.4 | 39 | 0.830357 | 15 | 112 | 5.733333 | 0.466667 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151786 | 112 | 4 | 40 | 28 | 0.905263 | 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 |
79de315d126f8488e9bf33a5a87694d25ce4e033 | 20,254 | py | Python | tests/test_switchd_opennsl_ct_lagl3_interface.py | learnopx/ops-switchd-opennsl-plugin | d30cff31f58608f9621ce3b540cb47688f573d3e | [
"Apache-2.0"
] | 1 | 2019-07-19T02:44:07.000Z | 2019-07-19T02:44:07.000Z | tests/test_switchd_opennsl_ct_lagl3_interface.py | learnopx/ops-switchd-opennsl-plugin | d30cff31f58608f9621ce3b540cb47688f573d3e | [
"Apache-2.0"
] | null | null | null | tests/test_switchd_opennsl_ct_lagl3_interface.py | learnopx/ops-switchd-opennsl-plugin | d30cff31f58608f9621ce3b540cb47688f573d3e | [
"Apache-2.0"
] | 2 | 2018-10-07T17:45:12.000Z | 2019-04-17T03:42:07.000Z | #!/usr/bin/env python
# Copyright (C) 2016 Hewlett Packard Enterprise Development LP
#
#
# 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
#
# ... | 39.558594 | 95 | 0.603881 | 2,058 | 20,254 | 5.854713 | 0.127308 | 0.047473 | 0.019421 | 0.023902 | 0.771433 | 0.760229 | 0.754834 | 0.739563 | 0.726118 | 0.713171 | 0 | 0.079924 | 0.295152 | 20,254 | 511 | 96 | 39.636008 | 0.76408 | 0.152809 | 0 | 0.760383 | 0 | 0 | 0.325727 | 0.055532 | 0 | 0 | 0.052073 | 0 | 0.111821 | 1 | 0.015974 | false | 0 | 0.009585 | 0 | 0.028754 | 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 |
8dbd5ba823ef4cc1a27594b8ef3cf0876c70d051 | 114 | py | Python | Lecture/Example/lec05/3_make_adder.py | zzr2311559/CS61a-fall2020 | 60b1d53945d2b2caeb01421841da6307c633f562 | [
"MIT"
] | null | null | null | Lecture/Example/lec05/3_make_adder.py | zzr2311559/CS61a-fall2020 | 60b1d53945d2b2caeb01421841da6307c633f562 | [
"MIT"
] | null | null | null | Lecture/Example/lec05/3_make_adder.py | zzr2311559/CS61a-fall2020 | 60b1d53945d2b2caeb01421841da6307c633f562 | [
"MIT"
] | null | null | null | def make_adder(n):
def adder(k):
return n + k
return adder
add_three = make_adder(3)
result = add_three(4)
| 14.25 | 25 | 0.684211 | 21 | 114 | 3.52381 | 0.52381 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.201754 | 114 | 7 | 26 | 16.285714 | 0.791209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
30dd75d94bbc429e4a682a309cdb6acfb86d66cd | 67 | py | Python | Matlab/PLNet/python_tensorflow/dypy/__init__.py | disc5/DyraLib | 74045c5e7cadb1b6469fb0bbccd96d8ff7b0d47b | [
"Unlicense"
] | null | null | null | Matlab/PLNet/python_tensorflow/dypy/__init__.py | disc5/DyraLib | 74045c5e7cadb1b6469fb0bbccd96d8ff7b0d47b | [
"Unlicense"
] | null | null | null | Matlab/PLNet/python_tensorflow/dypy/__init__.py | disc5/DyraLib | 74045c5e7cadb1b6469fb0bbccd96d8ff7b0d47b | [
"Unlicense"
] | null | null | null | from . import io
from . import utils
from . import tf_plnet_utils | 22.333333 | 28 | 0.761194 | 11 | 67 | 4.454545 | 0.545455 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 3 | 28 | 22.333333 | 0.907407 | 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 |
a5139b1eb14ac50885aeb886ebca7abf654bc646 | 103 | py | Python | lib/__init__.py | vuvko/fair_face | 52a867b06344137c1a0095e443c1abbe2d756ef3 | [
"MIT"
] | 1 | 2021-04-22T03:17:36.000Z | 2021-04-22T03:17:36.000Z | lib/__init__.py | vuvko/fair_face | 52a867b06344137c1a0095e443c1abbe2d756ef3 | [
"MIT"
] | null | null | null | lib/__init__.py | vuvko/fair_face | 52a867b06344137c1a0095e443c1abbe2d756ef3 | [
"MIT"
] | null | null | null | from . import train, basic_config, compare, data, metrics, sampler, submit, transforms, utils, validate | 103 | 103 | 0.786408 | 13 | 103 | 6.153846 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 1 | 103 | 103 | 0.879121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb7e6b170b32d7aa3ac7917ea67f36dac6e0c326 | 110,694 | py | Python | hera_qm/tests/test_xrfi.py | HERA-Team/hera_qm | 64734f519e05579fd4fbcdc960af64ccb42acd6b | [
"MIT"
] | 2 | 2018-11-12T11:13:00.000Z | 2020-04-24T14:40:25.000Z | hera_qm/tests/test_xrfi.py | HERA-Team/hera_qm | 64734f519e05579fd4fbcdc960af64ccb42acd6b | [
"MIT"
] | 309 | 2017-06-15T16:40:38.000Z | 2022-02-01T04:20:26.000Z | hera_qm/tests/test_xrfi.py | HERA-Team/hera_qm | 64734f519e05579fd4fbcdc960af64ccb42acd6b | [
"MIT"
] | 2 | 2018-06-27T20:53:47.000Z | 2020-04-27T11:31:41.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2019 the HERA Project
# Licensed under the MIT License
import pytest
import os
import shutil
import hera_qm.xrfi as xrfi
import numpy as np
import pyuvdata.tests as uvtest
from pyuvdata import UVData
from pyuvdata import UVCal
import hera_qm.utils as utils
from hera_qm.data impor... | 43.787184 | 153 | 0.63082 | 15,753 | 110,694 | 4.219641 | 0.044182 | 0.022024 | 0.023017 | 0.016428 | 0.858512 | 0.824407 | 0.792589 | 0.764096 | 0.731285 | 0.715579 | 0 | 0.029731 | 0.245831 | 110,694 | 2,527 | 154 | 43.804511 | 0.766513 | 0.089698 | 0 | 0.664474 | 0 | 0.001012 | 0.152313 | 0.021416 | 0 | 0 | 0 | 0 | 0.138664 | 1 | 0.043016 | false | 0 | 0.006073 | 0 | 0.049595 | 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 |
ebbca61aa8998ab9e5315992c681f20995594a1d | 120,900 | py | Python | tests/test_hgvs_dup_del_mode.py | cancervariants/varlex | 3806317fa0125c3098e80124d5169fe6a13d50db | [
"MIT"
] | null | null | null | tests/test_hgvs_dup_del_mode.py | cancervariants/varlex | 3806317fa0125c3098e80124d5169fe6a13d50db | [
"MIT"
] | 15 | 2019-10-23T17:35:42.000Z | 2020-05-05T21:04:01.000Z | tests/test_hgvs_dup_del_mode.py | cancervariants/varlex | 3806317fa0125c3098e80124d5169fe6a13d50db | [
"MIT"
] | null | null | null | """Module for testing HGVS Dup Del mode."""
import pytest
from ga4gh.vrsatile.pydantic.vrsatile_models import VariationDescriptor
from tests.conftest import assertion_checks
@pytest.fixture(scope="module")
def dmd_gene_context():
"""Create test fixture for DMD gene context"""
return {
"id": "normaliz... | 36.284514 | 118 | 0.59775 | 12,703 | 120,900 | 5.347871 | 0.064001 | 0.039803 | 0.051344 | 0.071393 | 0.864045 | 0.829732 | 0.808667 | 0.779654 | 0.755895 | 0.720611 | 0 | 0.074386 | 0.285352 | 120,900 | 3,331 | 119 | 36.295407 | 0.711878 | 0.057229 | 0 | 0.57955 | 0 | 0.001477 | 0.261679 | 0.093923 | 0 | 0 | 0 | 0.0003 | 0.076412 | 1 | 0.044297 | false | 0 | 0.001107 | 0 | 0.086748 | 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 |
ebd88c97becd79460e701a066d860a02612dc44c | 24 | py | Python | server/tests/__init__.py | StahlFerro/Erlenmeyer | a337813eb18f1a688dfe7da8b194c7887aa89bdb | [
"MIT"
] | 1 | 2018-11-28T12:46:52.000Z | 2018-11-28T12:46:52.000Z | server/tests/__init__.py | StahlFerro/IMVR | a337813eb18f1a688dfe7da8b194c7887aa89bdb | [
"MIT"
] | null | null | null | server/tests/__init__.py | StahlFerro/IMVR | a337813eb18f1a688dfe7da8b194c7887aa89bdb | [
"MIT"
] | null | null | null | from . import query_exec | 24 | 24 | 0.833333 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 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 |
cce57ff84fbb6594a7ad22a1425791ee35321887 | 167 | py | Python | vlivepy/__init__.py | Jwright707/vlive-py | 2d1643faaa145c135223d0daf936b8772d1cbc23 | [
"MIT"
] | null | null | null | vlivepy/__init__.py | Jwright707/vlive-py | 2d1643faaa145c135223d0daf936b8772d1cbc23 | [
"MIT"
] | null | null | null | vlivepy/__init__.py | Jwright707/vlive-py | 2d1643faaa145c135223d0daf936b8772d1cbc23 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from . import api
from . import model
from . import utils
from . import variables as gv
from .api import *
from .model import Video, Upcoming
| 18.555556 | 34 | 0.700599 | 25 | 167 | 4.68 | 0.52 | 0.34188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.197605 | 167 | 8 | 35 | 20.875 | 0.865672 | 0.125749 | 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 |
6905fa0da4ea5b5b30797d5dae08dd2a199318ad | 28 | py | Python | mkgui/base/__init__.py | 10088/MockingBird | 6a793cea8488ad40fcad6ab30f9d82bc920ac114 | [
"MIT"
] | 1 | 2021-12-08T16:33:17.000Z | 2021-12-08T16:33:17.000Z | mkgui/base/__init__.py | 10088/MockingBird | 6a793cea8488ad40fcad6ab30f9d82bc920ac114 | [
"MIT"
] | null | null | null | mkgui/base/__init__.py | 10088/MockingBird | 6a793cea8488ad40fcad6ab30f9d82bc920ac114 | [
"MIT"
] | null | null | null |
from .core import Opyrator
| 9.333333 | 26 | 0.785714 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.956522 | 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 |
15c1ce727e5faf4954ed797639685a6a95f77afd | 3,435 | py | Python | pynitrokey/nethsm/client/models/__init__.py | fayrlight/pynitrokey | c6a93da7a811d34213746b60fab22affb3616a88 | [
"Apache-2.0",
"MIT"
] | null | null | null | pynitrokey/nethsm/client/models/__init__.py | fayrlight/pynitrokey | c6a93da7a811d34213746b60fab22affb3616a88 | [
"Apache-2.0",
"MIT"
] | null | null | null | pynitrokey/nethsm/client/models/__init__.py | fayrlight/pynitrokey | c6a93da7a811d34213746b60fab22affb3616a88 | [
"Apache-2.0",
"MIT"
] | null | null | null | # flake8: noqa
# import all models into this package
# if you have many models here with many references from one model to another this may
# raise a RecursionError
# to avoid this, import only the models that you directly need like:
# from from pynitrokey.nethsm.client.model.pet import Pet
# or import this package, b... | 62.454545 | 91 | 0.873945 | 462 | 3,435 | 6.376623 | 0.266234 | 0.209097 | 0.29871 | 0.388323 | 0.504752 | 0.325866 | 0 | 0 | 0 | 0 | 0 | 0.001564 | 0.069578 | 3,435 | 54 | 92 | 63.611111 | 0.920213 | 0.106259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.093023 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
15c761d133fbd8e679db144aecfd0d0f3e05b09f | 188 | py | Python | KurtGroup/Kurt/__init__.py | TheoBuchwald/UCPH-KVM | bf77ad06bc1d7077e3cbcd81854f0fbfcd7323f7 | [
"MIT"
] | 1 | 2021-12-14T10:33:06.000Z | 2021-12-14T10:33:06.000Z | KurtGroup/Kurt/__init__.py | TheoBuchwald/UCPH-KVM | bf77ad06bc1d7077e3cbcd81854f0fbfcd7323f7 | [
"MIT"
] | null | null | null | KurtGroup/Kurt/__init__.py | TheoBuchwald/UCPH-KVM | bf77ad06bc1d7077e3cbcd81854f0fbfcd7323f7 | [
"MIT"
] | null | null | null |
import os, sys
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
from . import chemical_information
from . import output_processing
from . import structures
from . import xyz | 20.888889 | 60 | 0.792553 | 27 | 188 | 5.296296 | 0.555556 | 0.27972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 188 | 9 | 61 | 20.888889 | 0.861446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15cf3877180e7c1ae530f6bbeb782d65db0433e9 | 2,555 | py | Python | scripts/evaluate-script/run_evaluation.py | scc-usc/covid19-forecast-bench | fe26d2e4ead1db87bd796d8804af44531e0c5c07 | [
"MIT"
] | 3 | 2020-09-30T10:48:58.000Z | 2021-09-16T22:54:41.000Z | scripts/evaluate-script/run_evaluation.py | scc-usc/covid19-forecast-bench | fe26d2e4ead1db87bd796d8804af44531e0c5c07 | [
"MIT"
] | 1 | 2021-03-31T23:19:02.000Z | 2021-04-01T02:04:23.000Z | scripts/evaluate-script/run_evaluation.py | scc-usc/covid19-forecast-bench | fe26d2e4ead1db87bd796d8804af44531e0c5c07 | [
"MIT"
] | 4 | 2020-10-11T20:10:00.000Z | 2021-03-31T20:34:37.000Z | import os
import datetime
import shutil
import evaluate
import evaluate_eu
models = []
# Evaluate US
with open("models.txt", "w") as f:
for directory in os.listdir("../../formatted-forecasts/US-COVID/state-death/"):
if os.path.isdir("../../formatted-forecasts/US-COVID/state-death/" + directory):
... | 37.573529 | 90 | 0.58591 | 323 | 2,555 | 4.591331 | 0.164087 | 0.021578 | 0.044504 | 0.052596 | 0.891436 | 0.844235 | 0.844235 | 0.844235 | 0.844235 | 0.76062 | 0 | 0.009945 | 0.212916 | 2,555 | 67 | 91 | 38.134328 | 0.727499 | 0.022309 | 0 | 0.618182 | 0 | 0 | 0.293622 | 0.224629 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 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 |
15fc56151c00c72905359ab7d19b9e49e51d2941 | 28 | py | Python | __init__.py | enyert/openacademy-project | 76fb4fa9cd885d0b63f1091a67cc91bc1a3498c0 | [
"Apache-2.0"
] | null | null | null | __init__.py | enyert/openacademy-project | 76fb4fa9cd885d0b63f1091a67cc91bc1a3498c0 | [
"Apache-2.0"
] | null | null | null | __init__.py | enyert/openacademy-project | 76fb4fa9cd885d0b63f1091a67cc91bc1a3498c0 | [
"Apache-2.0"
] | null | null | null | from . import model,wizard
| 9.333333 | 26 | 0.75 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 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 |
c60461ad68c745556db3f8382a31b3402af5d7ea | 5,240 | py | Python | part2.py | FishPain/DTRA-Assignment | 156c1e78526f3779a783006fff3c55d6d1e1e4ed | [
"MIT"
] | null | null | null | part2.py | FishPain/DTRA-Assignment | 156c1e78526f3779a783006fff3c55d6d1e1e4ed | [
"MIT"
] | null | null | null | part2.py | FishPain/DTRA-Assignment | 156c1e78526f3779a783006fff3c55d6d1e1e4ed | [
"MIT"
] | null | null | null | def cal(n):
if n < 2:
return 1
elif n < 3:
return 3
else:
a = n + 1
b = n // 2
c = round((n + 1) / 2)
return int(a * b + c)
def f2(arr, c, n, t, counter):
if n <= len(arr):
# Check if the current index and the next index is the same... | 30.643275 | 104 | 0.458779 | 833 | 5,240 | 2.876351 | 0.120048 | 0.045075 | 0.031302 | 0.031302 | 0.862688 | 0.829716 | 0.800083 | 0.797162 | 0.797162 | 0.769199 | 0 | 0.051074 | 0.413359 | 5,240 | 170 | 105 | 30.823529 | 0.728367 | 0.335687 | 0 | 0.595238 | 0 | 0 | 0.161211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059524 | false | 0.011905 | 0 | 0 | 0.309524 | 0.130952 | 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 |
d6ab26d81546ec185551986f7b973770e63d3fe9 | 3,999 | py | Python | tests/test_replacer.py | joshua-s/punch | c29751844ecf654cc21966a14842e8165e0bc300 | [
"ISC"
] | null | null | null | tests/test_replacer.py | joshua-s/punch | c29751844ecf654cc21966a14842e8165e0bc300 | [
"ISC"
] | null | null | null | tests/test_replacer.py | joshua-s/punch | c29751844ecf654cc21966a14842e8165e0bc300 | [
"ISC"
] | null | null | null | import six
import pytest
import io
from punch import replacer
def file_like(file_content):
if six.PY2:
return io.StringIO(unicode(file_content)) # NOQA
else:
return io.StringIO(file_content)
def test_replace_content_without_config():
with pytest.raises(TypeError):
replacer.Repl... | 21.972527 | 78 | 0.563141 | 435 | 3,999 | 4.694253 | 0.124138 | 0.113124 | 0.076396 | 0.105779 | 0.837904 | 0.802644 | 0.802644 | 0.773262 | 0.750735 | 0.750735 | 0 | 0.027345 | 0.277569 | 3,999 | 181 | 79 | 22.093923 | 0.679474 | 0.001 | 0 | 0.666667 | 0 | 0 | 0.190584 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.057971 | false | 0 | 0.028986 | 0 | 0.101449 | 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 |
d6abb6458f173d8cdef7c740038f7d7fb6be2acf | 34 | py | Python | src/website/apps/website_tests/tests/__init__.py | rapidsms/rapidsms.org | db871949797150e654a42afe00fc9e8f9fc1559e | [
"Apache-2.0"
] | 2 | 2015-10-09T04:48:55.000Z | 2020-05-29T18:33:39.000Z | src/website/apps/website_tests/tests/__init__.py | rapidsms/rapidsms.org | db871949797150e654a42afe00fc9e8f9fc1559e | [
"Apache-2.0"
] | 22 | 2015-09-20T14:00:16.000Z | 2021-06-10T20:08:25.000Z | src/website/apps/website_tests/tests/__init__.py | rapidsms/rapidsms.org | db871949797150e654a42afe00fc9e8f9fc1559e | [
"Apache-2.0"
] | 6 | 2015-12-14T21:05:01.000Z | 2019-11-02T19:35:24.000Z | from .test_views import * # noqa
| 17 | 33 | 0.705882 | 5 | 34 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 1 | 34 | 34 | 0.851852 | 0.117647 | 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 |
d6b59a1a159c5918476d8588fcf72326076ef128 | 180 | py | Python | src/test_hootingyard/test_word_frequency.py | HootingYard/archive_management | 448f15f74c035ef846e1a6f762e448d922744b9b | [
"CC0-1.0"
] | null | null | null | src/test_hootingyard/test_word_frequency.py | HootingYard/archive_management | 448f15f74c035ef846e1a6f762e448d922744b9b | [
"CC0-1.0"
] | null | null | null | src/test_hootingyard/test_word_frequency.py | HootingYard/archive_management | 448f15f74c035ef846e1a6f762e448d922744b9b | [
"CC0-1.0"
] | null | null | null | from hootingyard.index.script_word_frequency import script_word_frequency
def test_load_word_frequency():
wf: int = script_word_frequency()("marvelously")
assert wf == 2
| 25.714286 | 73 | 0.783333 | 24 | 180 | 5.5 | 0.625 | 0.393939 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.133333 | 180 | 6 | 74 | 30 | 0.839744 | 0 | 0 | 0 | 0 | 0 | 0.061111 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d6e7260a965063f3746bf78d690d6647fb954602 | 93 | py | Python | baselines/circle_net/transforms/__init__.py | RobinCamarasa/Boundary-Point-Extraction | ab92c16c2e84fb41f3403ed30ebd6f0737c303ae | [
"MIT"
] | null | null | null | baselines/circle_net/transforms/__init__.py | RobinCamarasa/Boundary-Point-Extraction | ab92c16c2e84fb41f3403ed30ebd6f0737c303ae | [
"MIT"
] | null | null | null | baselines/circle_net/transforms/__init__.py | RobinCamarasa/Boundary-Point-Extraction | ab92c16c2e84fb41f3403ed30ebd6f0737c303ae | [
"MIT"
] | null | null | null | from .dictionnary import TransformToCircleNetMaps
from .array import CircleNetToSegmentation
| 31 | 49 | 0.892473 | 8 | 93 | 10.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 93 | 2 | 50 | 46.5 | 0.976471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba3c9ad6f45e1469cc4fb7e2dd3d85c30814e70f | 36 | py | Python | examples/simple_container/app/src/hello.py | rmetcalf9/poc_python_build_containers | 812dafd60a821400af57b419b05d9062c84b529e | [
"MIT"
] | null | null | null | examples/simple_container/app/src/hello.py | rmetcalf9/poc_python_build_containers | 812dafd60a821400af57b419b05d9062c84b529e | [
"MIT"
] | null | null | null | examples/simple_container/app/src/hello.py | rmetcalf9/poc_python_build_containers | 812dafd60a821400af57b419b05d9062c84b529e | [
"MIT"
] | null | null | null |
print("Hello World from PYthon")
| 7.2 | 32 | 0.694444 | 5 | 36 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 36 | 4 | 33 | 9 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ba44ddf5cfa19cbfbbb8b82e59535ff5d43e0afc | 822 | py | Python | algorithm_collection/sort/__init__.py | nocotan/algorithm_collection | c55460416cb935998aac9e56108ed4fa5afa8880 | [
"Apache-2.0"
] | 2 | 2021-03-19T13:15:06.000Z | 2021-06-15T12:18:12.000Z | algorithm_collection/sort/__init__.py | nocotan/algorithm_collection | c55460416cb935998aac9e56108ed4fa5afa8880 | [
"Apache-2.0"
] | 4 | 2021-03-09T15:34:20.000Z | 2021-03-16T12:33:44.000Z | algorithm_collection/sort/__init__.py | nocotan/algorithm_collection_py | c55460416cb935998aac9e56108ed4fa5afa8880 | [
"Apache-2.0"
] | null | null | null | from algorithm_collection.sort.bubble_sort import bubble_sort
from algorithm_collection.sort.insertion_sort import insertion_sort
from algorithm_collection.sort.selection_sort import selection_sort
from algorithm_collection.sort.shell_sort import shell_sort
from algorithm_collection.sort.bogo_sort import bogo_sort
from... | 58.714286 | 79 | 0.905109 | 119 | 822 | 5.907563 | 0.151261 | 0.240398 | 0.42532 | 0.499289 | 0.543385 | 0.102418 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06326 | 822 | 13 | 80 | 63.230769 | 0.912987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba60a818bbd05df377a5f911129571a9dc34238f | 144 | py | Python | npmdownloader/__init__.py | ozelentok/NpmDownloader | 95f0634118800e4e55bb56c43b5db9c3c7ae82da | [
"MIT"
] | 3 | 2017-10-07T07:14:25.000Z | 2020-08-11T14:08:38.000Z | npmdownloader/__init__.py | GISDev01/NpmDownloader | 3b5482bd905627032d8b07edff6ea1004445cc6c | [
"MIT"
] | 1 | 2020-07-17T23:15:52.000Z | 2020-07-24T06:28:43.000Z | npmdownloader/__init__.py | GISDev01/NpmDownloader | 3b5482bd905627032d8b07edff6ea1004445cc6c | [
"MIT"
] | 3 | 2017-07-02T20:57:56.000Z | 2019-09-21T21:27:20.000Z | from .npmclient import NpmClient
from .packagedownloader import NpmPackageDownloader
from .multipackagedownloader import MultiPackageDownloader
| 36 | 58 | 0.895833 | 12 | 144 | 10.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 144 | 3 | 59 | 48 | 0.977273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79fad1184854e02328c5ab38ab036e768884dfb0 | 167 | py | Python | sudachipy/dartsclone/__init__.py | lintaoren/SudachiPy | 1b42655ce67fccb7b2700c17041fb754fdbf1241 | [
"Apache-2.0"
] | null | null | null | sudachipy/dartsclone/__init__.py | lintaoren/SudachiPy | 1b42655ce67fccb7b2700c17041fb754fdbf1241 | [
"Apache-2.0"
] | null | null | null | sudachipy/dartsclone/__init__.py | lintaoren/SudachiPy | 1b42655ce67fccb7b2700c17041fb754fdbf1241 | [
"Apache-2.0"
] | null | null | null | from . import doublearray
from . import keyset
from . import doublearraybuilder
from . import doublearraybuilderunit
from . import dawgbuilder
from . import bitvector
| 23.857143 | 36 | 0.820359 | 18 | 167 | 7.611111 | 0.444444 | 0.437956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143713 | 167 | 6 | 37 | 27.833333 | 0.958042 | 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 |
032ef17d36e166cb50b8305092453a3629772ac1 | 381 | py | Python | Darlington/phase1/python Basic 2/day 27 solution/qtn2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase1/python Basic 2/day 27 solution/qtn2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase1/python Basic 2/day 27 solution/qtn2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #program to create a new string with no duplicate consecutive letters from a given string.
def no_consecutive_letters (txt):
return txt[0] + ''.join(txt[i] for i in range(1,len(txt)) if txt[i] != txt[i-1])
print(no_consecutive_letters("PPYYYTTHON"))
print(no_consecutive_letters("PPyyythonnn"))
print(no_consecutive... | 47.625 | 90 | 0.76378 | 59 | 381 | 4.762712 | 0.508475 | 0.384342 | 0.355872 | 0.355872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.102362 | 381 | 8 | 91 | 47.625 | 0.812866 | 0.233596 | 0 | 0 | 0 | 0 | 0.116438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
036bbebb355ddeb7481c638db909d1ff50e48d90 | 108 | py | Python | website/apps/user/tests/__init__.py | ava-project/ava-website | bf08338fb6dc35b8f1d7a816e28e873f9a5920e5 | [
"MIT"
] | 5 | 2016-09-22T18:40:07.000Z | 2017-04-27T19:48:25.000Z | website/apps/user/tests/__init__.py | ava-project/ava-website | bf08338fb6dc35b8f1d7a816e28e873f9a5920e5 | [
"MIT"
] | 11 | 2017-10-16T13:16:12.000Z | 2018-02-12T13:30:23.000Z | website/apps/user/tests/__init__.py | ava-project/ava-website | bf08338fb6dc35b8f1d7a816e28e873f9a5920e5 | [
"MIT"
] | null | null | null | from .registration import *
from .validate_token import *
from .resend_token import *
from .remote import *
| 21.6 | 29 | 0.777778 | 14 | 108 | 5.857143 | 0.5 | 0.365854 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 108 | 4 | 30 | 27 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
300649f7ed7994b0177c8b9ff5fc2f8f1dd9ceb7 | 56 | py | Python | PyRFF/__init__.py | ojus1/PyRFF | 164bf783344a55f0fe17c9a50bff159ab2ab3e30 | [
"MIT"
] | null | null | null | PyRFF/__init__.py | ojus1/PyRFF | 164bf783344a55f0fe17c9a50bff159ab2ab3e30 | [
"MIT"
] | null | null | null | PyRFF/__init__.py | ojus1/PyRFF | 164bf783344a55f0fe17c9a50bff159ab2ab3e30 | [
"MIT"
] | null | null | null | from .main import get_features, get_features_sequential
| 28 | 55 | 0.875 | 8 | 56 | 5.75 | 0.75 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 56 | 1 | 56 | 56 | 0.901961 | 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 |
30107080823396f8e1309aef79d187768ae3f51c | 172 | py | Python | PBO_18117/latihan_4.2.list2.py | daniel8117/PBO | 345ad39a17a787ba8e8cf24b7791fbe2fc0fd42e | [
"MIT"
] | 1 | 2020-04-01T08:28:26.000Z | 2020-04-01T08:28:26.000Z | PBO_18117/latihan_4.2.list2.py | daniel8117/PBO | 345ad39a17a787ba8e8cf24b7791fbe2fc0fd42e | [
"MIT"
] | null | null | null | PBO_18117/latihan_4.2.list2.py | daniel8117/PBO | 345ad39a17a787ba8e8cf24b7791fbe2fc0fd42e | [
"MIT"
] | null | null | null | nilai_matakuliah=[70,80,90,13]
rata_rata= (sum(nilai_matakuliah)/len(nilai_matakuliah))
print("nilai matakuliah=", nilai_matakuliah)
print("nilai rata-rata=", rata_rata) | 43 | 57 | 0.77907 | 25 | 172 | 5.12 | 0.4 | 0.585938 | 0.3125 | 0.390625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049689 | 0.063953 | 172 | 4 | 58 | 43 | 0.745342 | 0 | 0 | 0 | 0 | 0 | 0.194118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
302254441a348eb4cb4359d194c8ce27208e8926 | 2,172 | py | Python | pythonCodes/patankarMethods.py | accdavlo/HighOrderODESolvers | d886357cd425eef902b540015276d0e49e53cef2 | [
"MIT"
] | null | null | null | pythonCodes/patankarMethods.py | accdavlo/HighOrderODESolvers | d886357cd425eef902b540015276d0e49e53cef2 | [
"MIT"
] | null | null | null | pythonCodes/patankarMethods.py | accdavlo/HighOrderODESolvers | d886357cd425eef902b540015276d0e49e53cef2 | [
"MIT"
] | null | null | null | ## Modified Patankar 1st order scheme
def patankar(prod_dest, tspan, u0):
'''
Input: prod_dest is the function that returns the matrices p_{i,j}(c) and d_{i,j}(c)
tspan is the time vector
u0 is the initial condition
'''
dim=len(u0) # Dimension of the problem
Nt=len(tspan) ... | 42.588235 | 103 | 0.569521 | 344 | 2,172 | 3.56686 | 0.212209 | 0.0163 | 0.0489 | 0.04238 | 0.861451 | 0.826406 | 0.772616 | 0.722086 | 0.705786 | 0.655257 | 0 | 0.015936 | 0.30663 | 2,172 | 51 | 104 | 42.588235 | 0.798805 | 0.426335 | 0 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0 | 0 | 0.114286 | 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 |
0638a95983b99bfb80f4edce2cadeade4f14ada6 | 12,028 | py | Python | tests/test_service.py | SFDigitalServices/building-permits | 86ca54fa6e055231cbc0944d43996f6fc17daa6b | [
"MIT"
] | null | null | null | tests/test_service.py | SFDigitalServices/building-permits | 86ca54fa6e055231cbc0944d43996f6fc17daa6b | [
"MIT"
] | null | null | null | tests/test_service.py | SFDigitalServices/building-permits | 86ca54fa6e055231cbc0944d43996f6fc17daa6b | [
"MIT"
] | null | null | null | # pylint: disable=redefined-outer-name
"""Tests for microservice"""
import json
from unittest.mock import patch, Mock
from falcon import testing
import requests
import jsend
import tests.mocks as mocks
import service.microservice
def test_welcome(client, mock_env_access_key):
# pylint: disable=unused-argument
... | 33.977401 | 94 | 0.660625 | 1,379 | 12,028 | 5.522843 | 0.113125 | 0.052521 | 0.063025 | 0.07563 | 0.879596 | 0.864233 | 0.85386 | 0.826024 | 0.800289 | 0.759979 | 0 | 0.019483 | 0.244679 | 12,028 | 353 | 95 | 34.073654 | 0.818822 | 0.113818 | 0 | 0.634454 | 0 | 0 | 0.191617 | 0.097384 | 0 | 0 | 0 | 0 | 0.134454 | 1 | 0.042017 | false | 0 | 0.029412 | 0 | 0.071429 | 0.012605 | 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 |
063ee4e4306dfb3a8cdf80a22b8b80fc1176fa00 | 7,708 | py | Python | benchmarks_sphere/paper_jrn_jfm_ppeixoto/benchmark_specific_settings.py | valentinaschueller/sweet | 27e99c7a110c99deeadee70688c186d82b39ac90 | [
"MIT"
] | 6 | 2017-11-20T08:12:46.000Z | 2021-03-11T15:32:36.000Z | benchmarks_sphere/paper_jrn_jfm_ppeixoto/benchmark_specific_settings.py | valentinaschueller/sweet | 27e99c7a110c99deeadee70688c186d82b39ac90 | [
"MIT"
] | 4 | 2018-02-02T21:46:33.000Z | 2022-01-11T11:10:27.000Z | benchmarks_sphere/paper_jrn_jfm_ppeixoto/benchmark_specific_settings.py | valentinaschueller/sweet | 27e99c7a110c99deeadee70688c186d82b39ac90 | [
"MIT"
] | 12 | 2016-03-01T18:33:34.000Z | 2022-02-08T22:20:31.000Z | # ---------------------------------------------
# Class to setup spherical modes initialization
# author: Pedro Peixoto <ppeixoto@usp.br>
# Oct 2021
# ----------------------------------------
import numpy as np
import pickle
from numpy.lib.function_base import append
import pandas as pd
import re
import os
import os.p... | 33.367965 | 145 | 0.525947 | 1,012 | 7,708 | 3.829051 | 0.136364 | 0.074839 | 0.043355 | 0.024774 | 0.786065 | 0.778839 | 0.771613 | 0.767742 | 0.754323 | 0.754323 | 0 | 0.008892 | 0.343409 | 7,708 | 230 | 146 | 33.513043 | 0.756767 | 0.170732 | 0 | 0.773585 | 0 | 0 | 0.019645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044025 | false | 0 | 0.081761 | 0 | 0.150943 | 0.144654 | 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 |
06b2a982d44aff5f4db82ecc6e2a80d6822d5068 | 48 | py | Python | identpy/methods/parameter_classification/__init__.py | gnegrelli/identPy | 868cdd7e79891dee15a3e451fd29475d9ce4fefd | [
"MIT"
] | null | null | null | identpy/methods/parameter_classification/__init__.py | gnegrelli/identPy | 868cdd7e79891dee15a3e451fd29475d9ce4fefd | [
"MIT"
] | 4 | 2020-07-25T01:24:07.000Z | 2021-05-31T20:31:59.000Z | identpy/methods/parameter_classification/__init__.py | gnegrelli/identPy | 868cdd7e79891dee15a3e451fd29475d9ce4fefd | [
"MIT"
] | null | null | null | from .classification_methods import velez_reyes
| 24 | 47 | 0.895833 | 6 | 48 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 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 |
230528269c1a011fd0c493475875911d2ff46e65 | 49 | py | Python | Calculator/Multiplication.py | ssm29njit/calculator601SheethalJedidiah | 2812fbabcf5249eeee8a2f34edd6152cfa2d175e | [
"MIT"
] | 1 | 2020-11-08T05:11:27.000Z | 2020-11-08T05:11:27.000Z | Calculator/Multiplication.py | ssm29njit/calculator601SheethalJedidiah | 2812fbabcf5249eeee8a2f34edd6152cfa2d175e | [
"MIT"
] | null | null | null | Calculator/Multiplication.py | ssm29njit/calculator601SheethalJedidiah | 2812fbabcf5249eeee8a2f34edd6152cfa2d175e | [
"MIT"
] | 1 | 2020-12-09T15:37:51.000Z | 2020-12-09T15:37:51.000Z | def multiply(a,b):
return float(b) * float(a) | 24.5 | 30 | 0.632653 | 9 | 49 | 3.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 2 | 30 | 24.5 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
23396a62c9f0df964cbc0518c9810a644ab89d51 | 199 | py | Python | Part_3_advanced/m08_abstract_protocol/abstract_class/example_2/tax_calculator/calculation.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m08_abstract_protocol/abstract_class/example_2/tax_calculator/calculation.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_3_advanced/m08_abstract_protocol/abstract_class/example_2/tax_calculator/calculation.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | from typing import Sequence
from tax_calculator.income import Income
def calculate_overall_tax_value(incomes: Sequence[Income]) -> int:
return sum([income.tax_value() for income in incomes])
| 22.111111 | 66 | 0.78392 | 28 | 199 | 5.392857 | 0.607143 | 0.10596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135678 | 199 | 8 | 67 | 24.875 | 0.877907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2341c32f01fda3d596eed87fbc2f4aae75ba2bd0 | 9,427 | py | Python | test/inner_test.py | sebkeim/inner-class | 0856be1feee38710005a7ef27ae998af95dedbf8 | [
"MIT"
] | 1 | 2020-06-19T05:59:04.000Z | 2020-06-19T05:59:04.000Z | test/inner_test.py | sebkeim/inner-class | 0856be1feee38710005a7ef27ae998af95dedbf8 | [
"MIT"
] | 2 | 2019-11-15T23:01:46.000Z | 2020-06-22T17:02:52.000Z | test/inner_test.py | sebkeim/inner-class | 0856be1feee38710005a7ef27ae998af95dedbf8 | [
"MIT"
] | null | null | null | import unittest
from inner import raw_inner, static_inner, class_inner, inner
class TestBase(unittest.TestCase):
def setUp(self):
class Base1:
@self.inner_mode
class inner1:
def method1(self):
return "method1"
def method5(self):
... | 33.78853 | 73 | 0.616845 | 1,040 | 9,427 | 5.499038 | 0.089423 | 0.128519 | 0.04896 | 0.043189 | 0.82392 | 0.773562 | 0.749781 | 0.735793 | 0.731596 | 0.682287 | 0 | 0.041827 | 0.282274 | 9,427 | 278 | 74 | 33.910072 | 0.803429 | 0.055161 | 0 | 0.589862 | 0 | 0 | 0.030934 | 0 | 0 | 0 | 0 | 0 | 0.336406 | 1 | 0.156682 | false | 0.009217 | 0.009217 | 0.046083 | 0.336406 | 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 |
2366bce532e9ddc73605f9cbc26e28920e8e7394 | 203 | py | Python | rdl/column_transformers/StringTransformers.py | pageuppeople-opensource/relational-data-loader | 0bac7036d65636d06eacca4e68e09d6e1c506ea4 | [
"MIT"
] | 2 | 2019-03-11T12:45:23.000Z | 2019-04-05T05:22:43.000Z | rdl/column_transformers/StringTransformers.py | pageuppeople-opensource/relational-data-loader | 0bac7036d65636d06eacca4e68e09d6e1c506ea4 | [
"MIT"
] | 5 | 2019-02-08T03:23:25.000Z | 2019-04-11T01:29:45.000Z | rdl/column_transformers/StringTransformers.py | PageUpPeopleOrg/relational-data-loader | 0bac7036d65636d06eacca4e68e09d6e1c506ea4 | [
"MIT"
] | 1 | 2019-03-04T04:08:49.000Z | 2019-03-04T04:08:49.000Z | class ToUpper:
@staticmethod
def execute(text_in):
x = text_in.upper()
return x
class TrimWhiteSpace:
@staticmethod
def execute(text_in):
return text_in.strip()
| 16.916667 | 30 | 0.625616 | 24 | 203 | 5.125 | 0.5 | 0.195122 | 0.357724 | 0.422764 | 0.455285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29064 | 203 | 11 | 31 | 18.454545 | 0.854167 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
88f3f132cc4980d0302ce1c1ff372349d1973f41 | 239,093 | pyw | Python | switch/fluffy.pyw | Pe8er/dotfiles | b26c925a68c8c19598804b9b03ff97baac303de2 | [
"MIT"
] | 3 | 2015-06-03T23:27:16.000Z | 2016-06-30T19:34:56.000Z | switch/fluffy.pyw | Pe8er/dotfiles | b26c925a68c8c19598804b9b03ff97baac303de2 | [
"MIT"
] | null | null | null | switch/fluffy.pyw | Pe8er/dotfiles | b26c925a68c8c19598804b9b03ff97baac303de2 | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
"""""
"Pink Donut" design was designed by fourminute exclusively for
Fluffy and does not infringe on any copyright.
Copyright (c) 2019 fourminute (https://github.com/fourminute)
Fluffy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License... | 145.433698 | 90,211 | 0.816946 | 18,630 | 239,093 | 10.421256 | 0.392217 | 0.025558 | 0.034443 | 0.041041 | 0.119404 | 0.106491 | 0.092316 | 0.084554 | 0.074752 | 0.064817 | 0 | 0.119033 | 0.084854 | 239,093 | 1,643 | 90,212 | 145.522215 | 0.768269 | 0.006445 | 0 | 0.34464 | 0 | 0.002035 | 0.790812 | 0.768312 | 0 | 1 | 0.00048 | 0 | 0.002714 | 1 | 0.044098 | false | 0.016282 | 0.019674 | 0.002035 | 0.098372 | 0.002714 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
88fcd7e8302502ec6e5d293bbf4f6559dcf9bee2 | 3,295 | py | Python | tests/functions_test.py | MaciejWas/lit-script | d4488aed8f09e92a3ef6207f3e6aadc8197fe386 | [
"MIT"
] | 4 | 2021-10-03T15:22:13.000Z | 2021-10-04T09:37:11.000Z | tests/functions_test.py | MaciejWas/lit-script | d4488aed8f09e92a3ef6207f3e6aadc8197fe386 | [
"MIT"
] | null | null | null | tests/functions_test.py | MaciejWas/lit-script | d4488aed8f09e92a3ef6207f3e6aadc8197fe386 | [
"MIT"
] | null | null | null | import sys
import pytest
sys.path.append(".")
from lit_script import core
from lit_script import Interpreter
TESTS_LOCATION = "language/tests"
# Helpers
interpreter = Interpreter()
def make_atom(value: int):
return core.Atom(value=value, type="Int")
class TestInbuiltFuncs:
def test_decides(self):
... | 26.572581 | 85 | 0.589985 | 339 | 3,295 | 5.646018 | 0.174041 | 0.023511 | 0.070533 | 0.122257 | 0.815047 | 0.808777 | 0.76698 | 0.76698 | 0.745559 | 0.745559 | 0 | 0.028273 | 0.302276 | 3,295 | 123 | 86 | 26.788618 | 0.804263 | 0.002124 | 0 | 0.433735 | 0 | 0 | 0.047474 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 1 | 0.072289 | false | 0 | 0.048193 | 0.012048 | 0.144578 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.