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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4e40e56669e17e3ab0d16330e3eb1bb070b4f8b0 | 140 | py | Python | idawilli/__init__.py | CrackerCat/idawilli | 4cf895cf88144e9394a0aa21200cf35e84ca1cba | [
"Apache-2.0"
] | null | null | null | idawilli/__init__.py | CrackerCat/idawilli | 4cf895cf88144e9394a0aa21200cf35e84ca1cba | [
"Apache-2.0"
] | null | null | null | idawilli/__init__.py | CrackerCat/idawilli | 4cf895cf88144e9394a0aa21200cf35e84ca1cba | [
"Apache-2.0"
] | null | null | null | def align(value, alignment=0x1000):
if value % alignment == 0:
return value
return value + (alignment - (value % alignment)) | 35 | 52 | 0.642857 | 16 | 140 | 5.625 | 0.5 | 0.622222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.242857 | 140 | 4 | 52 | 35 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 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 | 0 | 1 | 0 | 0 | 5 |
9daef14a7cdf5e935df51508fb1293fad577407c | 72 | py | Python | build/scripts-3.5/mooc_anon.py | acheamponge/mooc_anon | b06dec9c4c47011f69ff4f6e21a0f5862e2ffd5c | [
"MIT"
] | 3 | 2019-07-08T01:16:57.000Z | 2021-09-23T12:44:02.000Z | build/scripts-3.5/mooc_anon.py | acheamponge/mooc_anon | b06dec9c4c47011f69ff4f6e21a0f5862e2ffd5c | [
"MIT"
] | null | null | null | build/scripts-3.5/mooc_anon.py | acheamponge/mooc_anon | b06dec9c4c47011f69ff4f6e21a0f5862e2ffd5c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
print("hey there, this is my first pip package")
| 18 | 48 | 0.708333 | 13 | 72 | 3.923077 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 3 | 49 | 24 | 0.836066 | 0.277778 | 0 | 0 | 0 | 0 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
9df56584ef8b053ce1af3875d1ad5df2cd5671e4 | 189 | py | Python | src/1.foundation/1.embedding_python/1.4.create_custom_module/assets/scripts/game.py | Chukobyte/learn-engine-dev | 3f4437ed4abab9011d584bdc0ab4eff921393f00 | [
"CC-BY-4.0",
"CC0-1.0"
] | 5 | 2021-08-13T01:53:59.000Z | 2022-01-23T18:50:17.000Z | src/1.foundation/1.embedding_python/1.4.create_custom_module/assets/scripts/game.py | Chukobyte/learn-engine-dev | 3f4437ed4abab9011d584bdc0ab4eff921393f00 | [
"CC-BY-4.0",
"CC0-1.0"
] | null | null | null | src/1.foundation/1.embedding_python/1.4.create_custom_module/assets/scripts/game.py | Chukobyte/learn-engine-dev | 3f4437ed4abab9011d584bdc0ab4eff921393f00 | [
"CC-BY-4.0",
"CC0-1.0"
] | null | null | null | import engine
class Player:
def talk(self, message: str) -> None:
engine_version = engine.get_version()
engine.print_log(message=f"Engine version = {engine_version}")
| 23.625 | 70 | 0.68254 | 24 | 189 | 5.208333 | 0.625 | 0.312 | 0.304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206349 | 189 | 7 | 71 | 27 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d18b904208aa3a3c863151a2c83c482991eec4aa | 944 | py | Python | nfv/nfv-vim/nfv_vim/alarm/__init__.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 2 | 2020-02-07T19:01:36.000Z | 2022-02-23T01:41:46.000Z | nfv/nfv-vim/nfv_vim/alarm/__init__.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 1 | 2021-01-14T12:02:25.000Z | 2021-01-14T12:02:25.000Z | nfv/nfv-vim/nfv_vim/alarm/__init__.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 2 | 2021-01-13T08:39:21.000Z | 2022-02-09T00:21:55.000Z | #
# Copyright (c) 2015-2016 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
from nfv_common.alarm import * # noqa: F401,F403
from nfv_vim.alarm._general import clear_general_alarm # noqa: F401
from nfv_vim.alarm._general import raise_general_alarm # noqa: F401
from nfv_vim.alarm._host import host... | 49.684211 | 89 | 0.814619 | 152 | 944 | 4.703947 | 0.223684 | 0.117483 | 0.153846 | 0.230769 | 0.753846 | 0.713287 | 0.655944 | 0.655944 | 0.583217 | 0.506294 | 0 | 0.058824 | 0.117585 | 944 | 18 | 90 | 52.444444 | 0.79952 | 0.23411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d1d24bde4b14a7385a88eadfd5830d39f6ecfb75 | 127 | py | Python | metrics/__init__.py | rizwan09/Tagger | 7622f10561a0f6074abde0c9c26a4f25405b204b | [
"BSD-3-Clause"
] | null | null | null | metrics/__init__.py | rizwan09/Tagger | 7622f10561a0f6074abde0c9c26a4f25405b204b | [
"BSD-3-Clause"
] | null | null | null | metrics/__init__.py | rizwan09/Tagger | 7622f10561a0f6074abde0c9c26a4f25405b204b | [
"BSD-3-Clause"
] | null | null | null | # metrics/__init__.py
# author: Playinf
# email: playinf@stu.xmu.edu.cn
from .metrics import create_tagger_evaluation_metrics
| 21.166667 | 53 | 0.80315 | 18 | 127 | 5.277778 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 127 | 5 | 54 | 25.4 | 0.833333 | 0.511811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d1ff7ff41f8abda906716eb125ac0014f5c4aa8f | 34 | py | Python | graph_rl/global_algorithms/__init__.py | nicoguertler/graphrl | 21a1cefc53e5c457745570460de0d99e68622e57 | [
"MIT"
] | 1 | 2022-01-04T15:21:55.000Z | 2022-01-04T15:21:55.000Z | graph_rl/global_algorithms/__init__.py | nicoguertler/graph_rl | 21a1cefc53e5c457745570460de0d99e68622e57 | [
"MIT"
] | null | null | null | graph_rl/global_algorithms/__init__.py | nicoguertler/graph_rl | 21a1cefc53e5c457745570460de0d99e68622e57 | [
"MIT"
] | null | null | null | from .global_hac import GlobalHAC
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ae074bc52a086a244bf599cb6b758a858b0ae56e | 241 | py | Python | cgn_framework/imagenet/models/__init__.py | anonymous-user-256/mlrc-cgn | 64f43fcb89b3a13c0ae46db4f19060d9f204a6b1 | [
"MIT"
] | 78 | 2021-01-15T09:22:21.000Z | 2022-03-06T12:15:36.000Z | cgn_framework/imagenet/models/__init__.py | anonymous-user-256/mlrc-cgn | 64f43fcb89b3a13c0ae46db4f19060d9f204a6b1 | [
"MIT"
] | 3 | 2021-03-26T07:33:16.000Z | 2022-01-17T14:49:51.000Z | cgn_framework/imagenet/models/__init__.py | anonymous-user-256/mlrc-cgn | 64f43fcb89b3a13c0ae46db4f19060d9f204a6b1 | [
"MIT"
] | 14 | 2021-01-17T10:08:49.000Z | 2022-01-14T06:32:11.000Z | from imagenet.models.biggan import BigGAN
from imagenet.models.u2net import U2NET
from imagenet.models.cgn import CGN
from imagenet.models.classifier_ensemble import InvariantEnsemble
__all__ = [
CGN, InvariantEnsemble, BigGAN, U2NET
]
| 26.777778 | 65 | 0.821577 | 30 | 241 | 6.433333 | 0.366667 | 0.248705 | 0.373057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014151 | 0.120332 | 241 | 8 | 66 | 30.125 | 0.896226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ae2e72786b0e755905085b12bef4f3ce69f9d8fc | 34 | py | Python | pycalc.py | erhuabushuo/pycalc | a46b85aaafe37ad7cca95ac0198d9bfea985b598 | [
"MIT"
] | null | null | null | pycalc.py | erhuabushuo/pycalc | a46b85aaafe37ad7cca95ac0198d9bfea985b598 | [
"MIT"
] | null | null | null | pycalc.py | erhuabushuo/pycalc | a46b85aaafe37ad7cca95ac0198d9bfea985b598 | [
"MIT"
] | null | null | null | import calcpy
calcpy.calculcate() | 11.333333 | 19 | 0.823529 | 4 | 34 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 3 | 19 | 11.333333 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ae3401171f8e9d1d9a120271065ad3caf42b8ad2 | 38 | py | Python | tests/__init__.py | masasin/latexipy | 1f888a44f2077a5c0ef63216616cd24c279e44d0 | [
"MIT"
] | 144 | 2017-08-24T08:58:58.000Z | 2021-04-18T10:38:44.000Z | tests/__init__.py | masasin/latexipy | 1f888a44f2077a5c0ef63216616cd24c279e44d0 | [
"MIT"
] | 424 | 2017-09-04T16:21:10.000Z | 2022-03-28T02:23:25.000Z | tests/__init__.py | masasin/latexipy | 1f888a44f2077a5c0ef63216616cd24c279e44d0 | [
"MIT"
] | 15 | 2017-08-26T08:05:55.000Z | 2019-05-13T22:29:44.000Z | '''Unit test package for latexipy.'''
| 19 | 37 | 0.684211 | 5 | 38 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.787879 | 0.815789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ae3a515565662ff474b5546eb89caaad693236c2 | 223 | py | Python | leetcode_runner/models.py | fbjorn/leetcode-runner | 38569e68a3ec2e420ed54aa509c236748f5d55dc | [
"MIT"
] | null | null | null | leetcode_runner/models.py | fbjorn/leetcode-runner | 38569e68a3ec2e420ed54aa509c236748f5d55dc | [
"MIT"
] | null | null | null | leetcode_runner/models.py | fbjorn/leetcode-runner | 38569e68a3ec2e420ed54aa509c236748f5d55dc | [
"MIT"
] | null | null | null | class Args:
def __init__(self, *args, **kwargs):
self.args = args
self.kwargs = kwargs
class TestCase:
def __init__(self, args: Args, answer):
self.args = args
self.answer = answer
| 20.272727 | 43 | 0.591928 | 27 | 223 | 4.592593 | 0.296296 | 0.258065 | 0.290323 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.300448 | 223 | 10 | 44 | 22.3 | 0.794872 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ae7a6bf6cf0a8187540066ce63f57293b91d1b01 | 25 | py | Python | datamaps/__init__.py | fossabot/datamaps-1 | c66c3f20e43bd41ec0874f40f39bd0eff89fd476 | [
"MIT"
] | null | null | null | datamaps/__init__.py | fossabot/datamaps-1 | c66c3f20e43bd41ec0874f40f39bd0eff89fd476 | [
"MIT"
] | null | null | null | datamaps/__init__.py | fossabot/datamaps-1 | c66c3f20e43bd41ec0874f40f39bd0eff89fd476 | [
"MIT"
] | null | null | null | __version__ = "1.0.0b13"
| 12.5 | 24 | 0.68 | 4 | 25 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.12 | 25 | 1 | 25 | 25 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8821e5692a8f5f25d979cb717b556c74dc17abc9 | 23 | py | Python | pyfirebase/__init__.py | andela-cnnadi/python-fire | 11868007a7ff7fec45ed87cec18466e351cdb5ab | [
"MIT"
] | 14 | 2016-08-31T06:24:33.000Z | 2019-12-12T11:23:21.000Z | pyfirebase/__init__.py | andela-cnnadi/python-fire | 11868007a7ff7fec45ed87cec18466e351cdb5ab | [
"MIT"
] | 2 | 2016-09-16T12:40:51.000Z | 2016-12-27T06:26:39.000Z | pyfirebase/__init__.py | andela-cnnadi/python-fire | 11868007a7ff7fec45ed87cec18466e351cdb5ab | [
"MIT"
] | 5 | 2016-08-30T21:16:32.000Z | 2020-11-05T20:39:52.000Z | from firebase import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
88627cf7ecface35fcb049861351f30b77fd4c4c | 173 | py | Python | tfrec/utils/__init__.py | Praful932/Tf-Rec | fe0e08d3621da911149a95d8a701e434dfa61161 | [
"MIT"
] | 18 | 2020-12-22T04:16:54.000Z | 2022-03-23T08:49:16.000Z | tfrec/utils/__init__.py | Praful932/Tf-Rec | fe0e08d3621da911149a95d8a701e434dfa61161 | [
"MIT"
] | 1 | 2021-05-11T12:28:07.000Z | 2022-03-16T17:33:03.000Z | tfrec/utils/__init__.py | Praful932/Tf-Rec | fe0e08d3621da911149a95d8a701e434dfa61161 | [
"MIT"
] | 2 | 2021-04-26T10:29:44.000Z | 2021-07-01T03:31:31.000Z | from tfrec.utils.model_utils import cross_validate
from tfrec.utils.model_utils import preprocess_and_split
__all__ = [
'cross_validate',
'preprocess_and_split',
]
| 21.625 | 56 | 0.791908 | 23 | 173 | 5.434783 | 0.478261 | 0.144 | 0.224 | 0.304 | 0.48 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132948 | 173 | 7 | 57 | 24.714286 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.196532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
889140ee18ea1e06b9b18606e947a9585cb410f1 | 145 | py | Python | DSA/Python/src/dsa/lib/math/ds/tests/fixture.py | JackieMa000/problems | c521558830a0bbf67f94109af92d7be4397d0a43 | [
"BSD-3-Clause"
] | null | null | null | DSA/Python/src/dsa/lib/math/ds/tests/fixture.py | JackieMa000/problems | c521558830a0bbf67f94109af92d7be4397d0a43 | [
"BSD-3-Clause"
] | 1 | 2020-10-23T04:06:56.000Z | 2020-10-23T04:06:56.000Z | DSA/Python/src/dsa/lib/math/ds/tests/fixture.py | JackieMa000/problems | c521558830a0bbf67f94109af92d7be4397d0a43 | [
"BSD-3-Clause"
] | null | null | null | from dsa.lib.math.tests.fixture import MathTestCase
class DsTestCase(MathTestCase):
pass
class ParenthesesTestCase(DsTestCase):
pass
| 14.5 | 51 | 0.77931 | 16 | 145 | 7.0625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151724 | 145 | 9 | 52 | 16.111111 | 0.918699 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
88a8aa3a3b09f7b8f22914184124db2a1414e747 | 320 | py | Python | src/sensors/__init__.py | ivanbukhtiyarov/elevators | e7ff582bbc9a26d22880bec61bede747427430c2 | [
"MIT"
] | 2 | 2021-03-22T16:12:56.000Z | 2021-03-22T16:19:09.000Z | src/sensors/__init__.py | ivanbukhtiyarov/elevators | e7ff582bbc9a26d22880bec61bede747427430c2 | [
"MIT"
] | 46 | 2021-04-01T10:25:25.000Z | 2021-12-26T23:43:46.000Z | src/sensors/__init__.py | ivanbukhtiyarov/elevators | e7ff582bbc9a26d22880bec61bede747427430c2 | [
"MIT"
] | 4 | 2021-04-01T10:22:46.000Z | 2021-12-26T21:51:10.000Z | from src.sensors.door_block_sensor import DoorBlockSensor
from src.sensors.door_state_sensor import DoorStateSensor
from src.sensors.light_sensor import LightSensor
from src.sensors.movement_sensor import MovementSensor
from src.sensors.smoke_sensor import SmokeSensor
from src.sensors.weight_sensor import WeightSensor
| 45.714286 | 57 | 0.8875 | 44 | 320 | 6.272727 | 0.409091 | 0.152174 | 0.304348 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 320 | 6 | 58 | 53.333333 | 0.932432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 5 |
31f9305a21377f64bd0e727a4e26ba7424caa0ac | 39 | py | Python | tests/components/logbook/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/logbook/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/logbook/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests for the logbook component."""
| 19.5 | 38 | 0.692308 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.794118 | 0.820513 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
31fea9ffda59127cd7bda0c20fd0fcfb295048c1 | 142 | py | Python | joga_moeda.py | lucaslk122/Programas-python | 816bdaa128f2d279c255c588c1ff61cb4b834ccd | [
"MIT"
] | null | null | null | joga_moeda.py | lucaslk122/Programas-python | 816bdaa128f2d279c255c588c1ff61cb4b834ccd | [
"MIT"
] | null | null | null | joga_moeda.py | lucaslk122/Programas-python | 816bdaa128f2d279c255c588c1ff61cb4b834ccd | [
"MIT"
] | null | null | null | from random import random
def joga_moeda():
if random() > 0.5:
return "Coroa"
else:
return "Cara"
print (joga_moeda()) | 20.285714 | 25 | 0.598592 | 19 | 142 | 4.368421 | 0.736842 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.28169 | 142 | 7 | 26 | 20.285714 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.062937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.571429 | 0.142857 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
ee66be524d32778f359946d067c84065472b72da | 94 | py | Python | node-runner-cli/setup/__init__.py | stuartbain/node-runner | 89d10986dbc79da06df402cb17f3edec736f3709 | [
"Apache-2.0"
] | 18 | 2018-11-26T13:22:10.000Z | 2022-03-28T12:41:44.000Z | node-runner-cli/setup/__init__.py | stuartbain/node-runner | 89d10986dbc79da06df402cb17f3edec736f3709 | [
"Apache-2.0"
] | 30 | 2018-09-12T06:40:03.000Z | 2021-09-24T13:46:59.000Z | node-runner-cli/setup/__init__.py | stuartbain/node-runner | 89d10986dbc79da06df402cb17f3edec736f3709 | [
"Apache-2.0"
] | 12 | 2018-09-24T01:57:02.000Z | 2022-03-07T17:55:13.000Z | from setup.Base import Base
from setup.Docker import Docker
from setup.SystemD import SystemD
| 23.5 | 33 | 0.840426 | 15 | 94 | 5.266667 | 0.4 | 0.341772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 94 | 3 | 34 | 31.333333 | 0.963415 | 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 | 0 | 0 | 0 | 5 |
c9b4d11f803a768b9c496032b0ea1a63387421c9 | 133 | py | Python | app/services/v1/healthcheck.py | rvmoura96/flask-template | d1383be7e17bff580e3ddf61ae580271c30201c4 | [
"MIT"
] | 2 | 2019-09-25T19:19:11.000Z | 2019-10-08T01:05:35.000Z | app/services/v1/healthcheck.py | rvmoura96/flask-template | d1383be7e17bff580e3ddf61ae580271c30201c4 | [
"MIT"
] | 10 | 2019-09-13T23:41:42.000Z | 2020-05-10T21:12:32.000Z | app/services/v1/healthcheck.py | rvmoura96/flask-template | d1383be7e17bff580e3ddf61ae580271c30201c4 | [
"MIT"
] | 9 | 2019-09-30T15:26:23.000Z | 2020-09-28T23:36:25.000Z | from flask_restful import Resource
import app
from app.services.healthcheck import HealthApi
class HealthApiV1(HealthApi):
pass
| 19 | 46 | 0.827068 | 17 | 133 | 6.411765 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.135338 | 133 | 6 | 47 | 22.166667 | 0.93913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
c9f1e7cdebfd2710c6c2b7bf206e8cee0c794ff2 | 43 | py | Python | test.py | Taraxa-project/taraxa-py | 95aa0d8054bf4eba2c3200f3298421575b7bb5a0 | [
"MIT"
] | null | null | null | test.py | Taraxa-project/taraxa-py | 95aa0d8054bf4eba2c3200f3298421575b7bb5a0 | [
"MIT"
] | 1 | 2022-03-02T15:51:17.000Z | 2022-03-02T15:51:17.000Z | test.py | Taraxa-project/taraxa-py | 95aa0d8054bf4eba2c3200f3298421575b7bb5a0 | [
"MIT"
] | null | null | null | from pytaraxa.test import *
blockNumber()
| 10.75 | 27 | 0.767442 | 5 | 43 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 3 | 28 | 14.333333 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a013e70e32f34350be8bc00a3ce5fb9e45e8fb9c | 4,912 | py | Python | Day3.py | Swicano/AdventCode | 3b6f425c773f05911bcc8d8d2f3cf5eb64bfdeff | [
"MIT"
] | null | null | null | Day3.py | Swicano/AdventCode | 3b6f425c773f05911bcc8d8d2f3cf5eb64bfdeff | [
"MIT"
] | null | null | null | Day3.py | Swicano/AdventCode | 3b6f425c773f05911bcc8d8d2f3cf5eb64bfdeff | [
"MIT"
] | null | null | null | input1str = 'R998,U367,R735,U926,R23,U457,R262,D473,L353,U242,L930,U895,R321,U683,L333,U623,R105,D527,R437,D473,L100,D251,L958,U384,R655,U543,L704,D759,R529,D176,R835,U797,R453,D650,L801,U437,L468,D841,R928,D747,L803,U677,R942,D851,R265,D684,L206,U763,L566,U774,L517,U337,L86,D585,R212,U656,L799,D953,L24,U388,L465,U656,... | 72.235294 | 1,495 | 0.725366 | 896 | 4,912 | 3.958705 | 0.766741 | 0.017761 | 0.010149 | 0.012405 | 0.061742 | 0.061742 | 0.061742 | 0.061742 | 0.060333 | 0.060333 | 0 | 0.430251 | 0.099552 | 4,912 | 67 | 1,496 | 73.313433 | 0.371693 | 0.094666 | 0 | 0.181818 | 0 | 0.068182 | 0.704925 | 0.698599 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0 | 0 | 0.045455 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a01a6cd80a71c68a6da168b3758e9d7078688990 | 100 | py | Python | Pruebas.py | MacoChave/Server-Iniciales | 035d98793a1c20738b7af885d455fd62197988bd | [
"Apache-2.0"
] | null | null | null | Pruebas.py | MacoChave/Server-Iniciales | 035d98793a1c20738b7af885d455fd62197988bd | [
"Apache-2.0"
] | null | null | null | Pruebas.py | MacoChave/Server-Iniciales | 035d98793a1c20738b7af885d455fd62197988bd | [
"Apache-2.0"
] | null | null | null | from datetime import date
from datetime import datetime
dateToday = date.today()
print(dateToday) | 14.285714 | 29 | 0.8 | 13 | 100 | 6.153846 | 0.538462 | 0.3 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 100 | 7 | 30 | 14.285714 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 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 | 0 | 0 | 0 | 5 |
4e9e6122ed3109b35f3efe158b363d95df381cc6 | 10,892 | py | Python | server/tree_pickler.py | michaelpeterswa/CPSC322Project-WildfireAnalysis | 872727e8c59619fcfc11aaa70367762271207dbd | [
"MIT"
] | null | null | null | server/tree_pickler.py | michaelpeterswa/CPSC322Project-WildfireAnalysis | 872727e8c59619fcfc11aaa70367762271207dbd | [
"MIT"
] | null | null | null | server/tree_pickler.py | michaelpeterswa/CPSC322Project-WildfireAnalysis | 872727e8c59619fcfc11aaa70367762271207dbd | [
"MIT"
] | 1 | 2021-04-16T21:21:25.000Z | 2021-04-16T21:21:25.000Z | import pickle
best_trees = [
{'accuracy': 0.36416184971098264, 'tree':
['Attribute', 'att1',
['Value', 'Pend Oreille',
['Leaf', 2.0, 0, 69]
],
['Value', 'Okanogan',
['Leaf', 3.0, 0, 314]
],
['Value... | 495.090909 | 10,287 | 0.484209 | 1,664 | 10,892 | 3.166466 | 0.110577 | 0.0725 | 0.140065 | 0.151452 | 0.830139 | 0.78402 | 0.295692 | 0.18922 | 0.105523 | 0.085405 | 0 | 0.131849 | 0.150477 | 10,892 | 22 | 10,288 | 495.090909 | 0.437588 | 0.00202 | 0 | 0.15 | 0 | 0 | 0.366335 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
14e2f68640f152f69f9e7b649672501b2bacc025 | 128 | py | Python | demeter/admin/model/__load__.py | shemic/demeter | 01f91aac43c325c48001dda86af17da43fb8d6fe | [
"MIT"
] | 1 | 2017-12-05T08:17:53.000Z | 2017-12-05T08:17:53.000Z | demos/helloworld/model/__load__.py | shemic/demeter | 01f91aac43c325c48001dda86af17da43fb8d6fe | [
"MIT"
] | null | null | null | demos/helloworld/model/__load__.py | shemic/demeter | 01f91aac43c325c48001dda86af17da43fb8d6fe | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
demeter database
name:__load__.py
"""
from demeter.model import *
from demeter.core import * | 18.285714 | 27 | 0.640625 | 16 | 128 | 4.875 | 0.75 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.195313 | 128 | 7 | 28 | 18.285714 | 0.747573 | 0.4375 | 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 | 0 | 0 | 0 | 5 |
14f1a8447efc963a4a6ad15b82d5aee9bf59542f | 4,408 | py | Python | tests/test_date_utils.py | rob-blackbourn/aiofix | 2a07822e07414c1ea850708d7660c16a0564c21d | [
"Apache-2.0"
] | 1 | 2021-03-25T21:52:36.000Z | 2021-03-25T21:52:36.000Z | tests/test_date_utils.py | rob-blackbourn/jetblack-fixengine | 2a07822e07414c1ea850708d7660c16a0564c21d | [
"Apache-2.0"
] | null | null | null | tests/test_date_utils.py | rob-blackbourn/jetblack-fixengine | 2a07822e07414c1ea850708d7660c16a0564c21d | [
"Apache-2.0"
] | null | null | null | """Tests for date utils"""
from datetime import time, datetime
import pytz
from jetblack_fixengine.utils.date_utils import (
is_dow_in_range,
is_time_in_range,
delay_for_time_period
)
MONDAY = 0
TUESDAY = 1
WEDNESDAY = 2
THURSDAY = 3
FRIDAY = 4
SATURDAY = 5
SUNDAY = 6
def test_dow_range():
"""Test... | 34.708661 | 79 | 0.639292 | 737 | 4,408 | 3.599729 | 0.101764 | 0.037693 | 0.04297 | 0.067848 | 0.825104 | 0.823973 | 0.765925 | 0.683754 | 0.613268 | 0.606483 | 0 | 0.112056 | 0.226633 | 4,408 | 126 | 80 | 34.984127 | 0.666178 | 0.080989 | 0 | 0.527473 | 0 | 0 | 0.003232 | 0 | 0 | 0 | 0 | 0 | 0.406593 | 1 | 0.032967 | false | 0 | 0.032967 | 0 | 0.065934 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
095cddc3c05dd03a088f06ee8064ef92e069c45e | 181 | py | Python | face_recognition_final_year/face_recognizer_app/admin.py | chiragsaraswat/automated_authentication_system_using_face_recognition | 9f63f582d79db44c9e10fec6f72d4f835af8ab3a | [
"MIT"
] | null | null | null | face_recognition_final_year/face_recognizer_app/admin.py | chiragsaraswat/automated_authentication_system_using_face_recognition | 9f63f582d79db44c9e10fec6f72d4f835af8ab3a | [
"MIT"
] | null | null | null | face_recognition_final_year/face_recognizer_app/admin.py | chiragsaraswat/automated_authentication_system_using_face_recognition | 9f63f582d79db44c9e10fec6f72d4f835af8ab3a | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from user_manager_app.models import Attendance, Support
admin.site.register(Attendance)
admin.site.register(Support)
| 22.625 | 55 | 0.828729 | 25 | 181 | 5.92 | 0.6 | 0.121622 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099448 | 181 | 7 | 56 | 25.857143 | 0.907975 | 0.143646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
11791d8dd54ab856a076d61973de8d77641f2d2d | 115 | py | Python | app/route.py | Indexyz/pods-info-example | e36657d2e4448a9d42450fd5e41671bba11ee9b4 | [
"Unlicense"
] | null | null | null | app/route.py | Indexyz/pods-info-example | e36657d2e4448a9d42450fd5e41671bba11ee9b4 | [
"Unlicense"
] | null | null | null | app/route.py | Indexyz/pods-info-example | e36657d2e4448a9d42450fd5e41671bba11ee9b4 | [
"Unlicense"
] | null | null | null | from flask_restful import Api
import info
def add_route(api: Api):
api.add_resource(info.InfoRoute, '/')
| 19.166667 | 42 | 0.713043 | 17 | 115 | 4.647059 | 0.647059 | 0.151899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182609 | 115 | 5 | 43 | 23 | 0.840426 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
119ba308325a28e7115e3336760ea5459e34bcae | 31,721 | py | Python | SRTG-Scheduler/SRTG-ResultAnalysis/scripts/aperiodic-jobs-resultAnalyzer.py | kiritigowda/RTG-scheduler | 4aa3d66e011e6a0d16e19719f940c5cc0a6559ba | [
"MIT"
] | 2 | 2021-10-15T12:00:51.000Z | 2021-11-23T04:50:58.000Z | SRTG-Scheduler/SRTG-ResultAnalysis/scripts/aperiodic-jobs-resultAnalyzer.py | kiritigowda/RTG-scheduler | 4aa3d66e011e6a0d16e19719f940c5cc0a6559ba | [
"MIT"
] | 45 | 2018-01-24T15:38:11.000Z | 2020-10-31T19:50:19.000Z | SRTG-Scheduler/SRTG-ResultAnalysis/scripts/aperiodic-jobs-resultAnalyzer.py | kiritigowda/RTG-scheduler | 4aa3d66e011e6a0d16e19719f940c5cc0a6559ba | [
"MIT"
] | 2 | 2018-05-23T17:13:44.000Z | 2020-09-18T15:06:17.000Z | # Copyright (c) 2017 - 2020 Kiriti Nagesh Gowda, Inc. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to ... | 49.027821 | 225 | 0.694871 | 4,589 | 31,721 | 4.721944 | 0.075616 | 0.035627 | 0.064608 | 0.037657 | 0.820619 | 0.793853 | 0.691818 | 0.683511 | 0.677789 | 0.675758 | 0 | 0.020556 | 0.108981 | 31,721 | 646 | 226 | 49.103715 | 0.746108 | 0.049431 | 0 | 0.601423 | 0 | 0.078292 | 0.316548 | 0.116953 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.001779 | 0.012456 | null | null | 0.405694 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
11b20ebad8eab479fb6fed2be3f7940e76f88665 | 22,860 | py | Python | lib/modeling/torchResNet.py | Min-Sheng/CA_FSIS_Cell | c24750d860a9417b30819c05613282cd74dc517f | [
"MIT"
] | null | null | null | lib/modeling/torchResNet.py | Min-Sheng/CA_FSIS_Cell | c24750d860a9417b30819c05613282cd74dc517f | [
"MIT"
] | 1 | 2021-03-01T09:16:15.000Z | 2021-03-01T09:34:49.000Z | lib/modeling/torchResNet.py | Min-Sheng/CA_FSIS_Cell | c24750d860a9417b30819c05613282cd74dc517f | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import math
import copy
from collections import OrderedDict
import torch.utils.model_zoo as model_zoo
from core.config import cfg
import utils.net as net_utils
from deform.torch_deform_conv.layers import ConvOffset2D
model_urls = {
'resnet50': 'https://s3.amazonaws.com/pytorch/mo... | 38.484848 | 104 | 0.580971 | 2,796 | 22,860 | 4.506795 | 0.10372 | 0.082136 | 0.046266 | 0.041425 | 0.776526 | 0.751686 | 0.737957 | 0.728434 | 0.718118 | 0.69923 | 0 | 0.030928 | 0.281496 | 22,860 | 594 | 105 | 38.484848 | 0.736256 | 0.109405 | 0 | 0.654462 | 0 | 0 | 0.044131 | 0.003566 | 0 | 0 | 0 | 0 | 0.004577 | 1 | 0.073227 | false | 0 | 0.020595 | 0.009153 | 0.15103 | 0.011442 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
11d5570c1f5104f2732b1bf852cd1144b65ea155 | 61 | py | Python | fastISM/__init__.py | kundajelab/fastISM | 1573feccba1ad5d9f1cee508f5bb03c4aa09bb2b | [
"MIT"
] | 12 | 2020-09-20T17:03:48.000Z | 2022-03-16T06:51:52.000Z | fastISM/__init__.py | kundajelab/fastISM | 1573feccba1ad5d9f1cee508f5bb03c4aa09bb2b | [
"MIT"
] | 5 | 2020-10-24T20:43:45.000Z | 2022-02-25T19:40:47.000Z | fastISM/__init__.py | kundajelab/fastISM | 1573feccba1ad5d9f1cee508f5bb03c4aa09bb2b | [
"MIT"
] | 2 | 2020-10-14T05:18:55.000Z | 2022-02-21T07:34:14.000Z | from .fast_ism import FastISM
from .ism_base import NaiveISM
| 20.333333 | 30 | 0.836066 | 10 | 61 | 4.9 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 31 | 30.5 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
eea59cf9926de3446a108f54259fdcc310099f7a | 172 | py | Python | api/utils/get_earnings.py | syth0le/REST-API_YANDEX | 7a693430973e4d0ae428860d17fc33504dc25fb2 | [
"MIT"
] | null | null | null | api/utils/get_earnings.py | syth0le/REST-API_YANDEX | 7a693430973e4d0ae428860d17fc33504dc25fb2 | [
"MIT"
] | null | null | null | api/utils/get_earnings.py | syth0le/REST-API_YANDEX | 7a693430973e4d0ae428860d17fc33504dc25fb2 | [
"MIT"
] | null | null | null | def get_salary(courier_type, completed_orders):
DATA = {"foot": 2, "bike": 5, "car": 9}
salary = 500 * DATA[str(courier_type)] * completed_orders
return salary
| 34.4 | 61 | 0.668605 | 24 | 172 | 4.583333 | 0.708333 | 0.2 | 0.363636 | 0.472727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.186047 | 172 | 4 | 62 | 43 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0.063953 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eeaeecc00f80638bdeeeac780d5b87b92462f522 | 464 | py | Python | dummyGPIO.py | yasokada/python-151127-7segLed_IPadrDisplay | eb97f17685ac2477e6a3a7321159d6463f736dd2 | [
"MIT"
] | 1 | 2017-01-13T23:57:21.000Z | 2017-01-13T23:57:21.000Z | toLearn/dummyGPIO.py | yasokada/python-151113-lineMonitor | 224342d5855d8ee6792fad6ad36399d95fce1b09 | [
"MIT"
] | 2 | 2015-12-08T23:40:12.000Z | 2015-12-24T22:09:07.000Z | dummyGPIO.py | yasokada/python-151127-7segLed_IPadrDisplay | eb97f17685ac2477e6a3a7321159d6463f736dd2 | [
"MIT"
] | null | null | null | '''
v0.1 2015/11/26
- add output()
- add setmode()
- add setup()
'''
class CDummyGPIO:
def __init__(self):
self.BOARD = 0;
self.OUT = 1;
# do nothing
return
def setmode(self, board):
# do nothing
return
def setup(self, pinnum, inout):
# do nothing
return
def output(self, pinnum, onoff):
... | 12.888889 | 33 | 0.642241 | 64 | 464 | 4.59375 | 0.453125 | 0.122449 | 0.204082 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038567 | 0.217672 | 464 | 35 | 34 | 13.257143 | 0.77135 | 0.252155 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.272727 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e11a8e425c834148530d1f4e74a6a8f4d690673a | 146 | py | Python | Curso Python/ex009.py | sandro-fidelis/Cursos | cee1960181b1309be93034694cab8cf2878e2194 | [
"MIT"
] | null | null | null | Curso Python/ex009.py | sandro-fidelis/Cursos | cee1960181b1309be93034694cab8cf2878e2194 | [
"MIT"
] | null | null | null | Curso Python/ex009.py | sandro-fidelis/Cursos | cee1960181b1309be93034694cab8cf2878e2194 | [
"MIT"
] | null | null | null | n = int(input('Qual tabuada deseja ver: '))
c=1
print(11*'=')
while c <= 10:
print('{} x {:2} = {}'.format(n,c,c*n))
c += 1
print(11*'=')
| 18.25 | 43 | 0.493151 | 26 | 146 | 2.769231 | 0.615385 | 0.055556 | 0.194444 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077586 | 0.205479 | 146 | 7 | 44 | 20.857143 | 0.543103 | 0 | 0 | 0.285714 | 0 | 0 | 0.280822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0165f80525bcd690617df14c805c36b82363c9f9 | 119 | py | Python | experiments/localization.py | seba-1511/cervix.kaggle | 5bf956a85481a961fb9af237aba2d2254cf6921a | [
"Apache-2.0"
] | null | null | null | experiments/localization.py | seba-1511/cervix.kaggle | 5bf956a85481a961fb9af237aba2d2254cf6921a | [
"Apache-2.0"
] | null | null | null | experiments/localization.py | seba-1511/cervix.kaggle | 5bf956a85481a961fb9af237aba2d2254cf6921a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
def get_localization(args):
# TODO: Implement the localization fitting the centers
pass
| 19.833333 | 58 | 0.731092 | 16 | 119 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184874 | 119 | 5 | 59 | 23.8 | 0.886598 | 0.613445 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0170d25b5b5c179dc15a428fac48dd41cba9b842 | 700 | py | Python | terrascript/resource/hashicorp/ad.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/hashicorp/ad.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/hashicorp/ad.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/hashicorp/ad.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:10:57 UTC)
import terrascript
class ad_computer(terrascript.Resource):
pass
class ad_gplink(terrascript.Resource):
pass
class ad_gpo(terrascript.Resource):
pass
class ad_gpo_security(terrascript.Res... | 14.583333 | 73 | 0.71 | 89 | 700 | 5.314607 | 0.325843 | 0.361522 | 0.389006 | 0.414376 | 0.477801 | 0.287526 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.185714 | 700 | 47 | 74 | 14.893617 | 0.808772 | 0.154286 | 0 | 0.296296 | 1 | 0 | 0.135823 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.296296 | 0.037037 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6d7de936a991106b4fb0cef936e0e2db3b670915 | 192 | py | Python | visionlib/face/__init__.py | sumeshmn/Visionlib | c543ee038d6d1dcf9d88a8d7a782addd998e6036 | [
"MIT"
] | null | null | null | visionlib/face/__init__.py | sumeshmn/Visionlib | c543ee038d6d1dcf9d88a8d7a782addd998e6036 | [
"MIT"
] | null | null | null | visionlib/face/__init__.py | sumeshmn/Visionlib | c543ee038d6d1dcf9d88a8d7a782addd998e6036 | [
"MIT"
] | null | null | null | from .detection import FDetector
from .haar_detector import HaarDetector
from .hog_detector import Hog_detector
from .mtcnn_detector import MTCNNDetector
from .dnn_detector import DnnDetector
| 32 | 41 | 0.869792 | 25 | 192 | 6.48 | 0.48 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 192 | 5 | 42 | 38.4 | 0.94186 | 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 | 0 | 0 | 0 | 5 |
6d8fdc15326338e43a53a51f9d3225823820ab40 | 74,548 | py | Python | appengine/components/components/prpc/discovery/service_prpc_pb2.py | stefb965/luci-py | e0a8a5640c4104e5c90781d833168aa8a8d1f24d | [
"Apache-2.0"
] | null | null | null | appengine/components/components/prpc/discovery/service_prpc_pb2.py | stefb965/luci-py | e0a8a5640c4104e5c90781d833168aa8a8d1f24d | [
"Apache-2.0"
] | null | null | null | appengine/components/components/prpc/discovery/service_prpc_pb2.py | stefb965/luci-py | e0a8a5640c4104e5c90781d833168aa8a8d1f24d | [
"Apache-2.0"
] | 1 | 2020-07-05T19:54:40.000Z | 2020-07-05T19:54:40.000Z | # Generated by the pRPC protocol buffer compiler plugin. DO NOT EDIT!
# source: service.proto
import base64
from google.protobuf import descriptor_pb2
# Includes description of the service.proto and all of its transitive
# dependencies. Includes source code info.
FILE_DESCRIPTOR_SET = descriptor_pb2.FileDescriptorS... | 79.47548 | 80 | 0.911493 | 1,030 | 74,548 | 65.954369 | 0.952427 | 0.001237 | 0.001251 | 0.000927 | 0.001384 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072181 | 0.062617 | 74,548 | 937 | 81 | 79.560299 | 0.899957 | 0.002669 | 0 | 0.002155 | 1 | 0 | 0.90852 | 0.906785 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002155 | 0 | 0.002155 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6da810a7e416553569ccec2032142f91db2446a4 | 4,161 | py | Python | xoa_driver/internals/core/commands/px_commands.py | xenadevel/xena-open-automation-python-api | b17e512aa14eee7c51677004b4c91712005edcd0 | [
"Apache-2.0"
] | 1 | 2022-03-18T17:17:59.000Z | 2022-03-18T17:17:59.000Z | xoa_driver/internals/core/commands/px_commands.py | xenadevel/xena-open-automation-python-api | b17e512aa14eee7c51677004b4c91712005edcd0 | [
"Apache-2.0"
] | null | null | null | xoa_driver/internals/core/commands/px_commands.py | xenadevel/xena-open-automation-python-api | b17e512aa14eee7c51677004b4c91712005edcd0 | [
"Apache-2.0"
] | null | null | null | #: L23 Port Transceiver Commands
from dataclasses import dataclass
import typing
from ..protocol.command_builders import (
build_get_request,
build_set_request
)
from .. import interfaces
from ..transporter.token import Token
from ..protocol.fields.data_types import *
from ..protocol.fields.field import XmpFi... | 33.02381 | 168 | 0.700072 | 508 | 4,161 | 5.594488 | 0.194882 | 0.054891 | 0.063336 | 0.045039 | 0.82829 | 0.754398 | 0.718156 | 0.701619 | 0.676988 | 0.641802 | 0 | 0.009408 | 0.208123 | 4,161 | 125 | 169 | 33.288 | 0.853111 | 0.314348 | 0 | 0.584615 | 0 | 0 | 0.049038 | 0.024896 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.138462 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6dada164e1de575c5db21cda78d63fcb6436eab8 | 33 | py | Python | kick/device2/elektra/actions/constants.py | CiscoDevNet/firepower-kickstart | 37a36856fcdc661e8c51edaa694e48f74cc6fcb5 | [
"Apache-2.0"
] | 2 | 2020-02-10T23:36:57.000Z | 2020-03-25T15:46:05.000Z | kick/device2/elektra/actions/constants.py | CiscoDevNet/firepower-kickstart | 37a36856fcdc661e8c51edaa694e48f74cc6fcb5 | [
"Apache-2.0"
] | 1 | 2020-08-07T13:01:32.000Z | 2020-08-07T13:01:32.000Z | kick/device2/elektra/actions/constants.py | CiscoDevNet/firepower-kickstart | 37a36856fcdc661e8c51edaa694e48f74cc6fcb5 | [
"Apache-2.0"
] | 1 | 2020-02-19T13:58:35.000Z | 2020-02-19T13:58:35.000Z | class ElektraConstants:
pass
| 11 | 23 | 0.757576 | 3 | 33 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 2 | 24 | 16.5 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6dd35f03ff9bc671f79e8585b1d7db025e32de94 | 115 | py | Python | tests/conftest.py | techjacker/sitemapgenerator | 512d6ea6f36ac661d3e0b1275a055c381b0ce455 | [
"MIT"
] | null | null | null | tests/conftest.py | techjacker/sitemapgenerator | 512d6ea6f36ac661d3e0b1275a055c381b0ce455 | [
"MIT"
] | null | null | null | tests/conftest.py | techjacker/sitemapgenerator | 512d6ea6f36ac661d3e0b1275a055c381b0ce455 | [
"MIT"
] | null | null | null | import pytest
from pytest_httpbin.plugin import httpbin_ca_bundle
pytest.fixture(autouse=True)(httpbin_ca_bundle)
| 23 | 51 | 0.869565 | 17 | 115 | 5.588235 | 0.588235 | 0.189474 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 115 | 4 | 52 | 28.75 | 0.88785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6dd57794c6789b5f5554c5238dd5b5fff9f2b1a6 | 138 | py | Python | Exercise 10/exercise_code/util/__init__.py | CornellLenard/Deep-Learning-Course-Exercises | db32f2b9ab93a50580e93e9dd83be1db7c4c4a19 | [
"MIT"
] | null | null | null | Exercise 10/exercise_code/util/__init__.py | CornellLenard/Deep-Learning-Course-Exercises | db32f2b9ab93a50580e93e9dd83be1db7c4c4a19 | [
"MIT"
] | null | null | null | Exercise 10/exercise_code/util/__init__.py | CornellLenard/Deep-Learning-Course-Exercises | db32f2b9ab93a50580e93e9dd83be1db7c4c4a19 | [
"MIT"
] | null | null | null | """Util functions"""
from .vis_utils import visualizer
from .save_model import save_model
from .Util import checkParams, checkSize, test
| 23 | 46 | 0.797101 | 19 | 138 | 5.631579 | 0.631579 | 0.168224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123188 | 138 | 5 | 47 | 27.6 | 0.884298 | 0.101449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6dddd5e456a7ccaaa8659db73eee87ff70f0dccb | 91 | py | Python | 02-array-seq/2_13.py | 393562632/example-code | 4a5da5726408284aed9e01f93a25a0d8dd348fb5 | [
"MIT"
] | null | null | null | 02-array-seq/2_13.py | 393562632/example-code | 4a5da5726408284aed9e01f93a25a0d8dd348fb5 | [
"MIT"
] | null | null | null | 02-array-seq/2_13.py | 393562632/example-code | 4a5da5726408284aed9e01f93a25a0d8dd348fb5 | [
"MIT"
] | null | null | null | weird_board = [['_'] * 3] *3
print(weird_board)
weird_board[0][2] = 'X'
print(weird_board) | 18.2 | 28 | 0.659341 | 15 | 91 | 3.666667 | 0.466667 | 0.727273 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.120879 | 91 | 5 | 29 | 18.2 | 0.6375 | 0 | 0 | 0.5 | 0 | 0 | 0.021739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6de4cb3c7c7e948bd05ee2500418fd79816b080a | 438 | py | Python | rubin_sim/maf/mafContrib/LSSObsStrategy/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/maf/mafContrib/LSSObsStrategy/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/maf/mafContrib/LSSObsStrategy/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | from .newDitherStackers import *
from .newDitherStackers import *
from .maskingAlgorithmGeneralized import *
from .saveBundleData_npzFormat import *
from .numObsMetric import *
from .galaxyCountsMetric_extended import *
from .galaxyCounts_withPixelCalibration import *
from .artificialStructureCalculation import *
from ... | 33.692308 | 48 | 0.835616 | 41 | 438 | 8.804878 | 0.439024 | 0.304709 | 0.149584 | 0.171745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002564 | 0.109589 | 438 | 12 | 49 | 36.5 | 0.923077 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
09b5a2bb038f2cac57634bfef33f5cb085b77a89 | 48 | py | Python | tests/__init__.py | jebabi/controllerx | bc68cdd69e416880e6394b3ecf92522b3871e959 | [
"MIT"
] | 1 | 2020-02-28T17:26:36.000Z | 2020-02-28T17:26:36.000Z | tests/__init__.py | jebabi/controllerx | bc68cdd69e416880e6394b3ecf92522b3871e959 | [
"MIT"
] | null | null | null | tests/__init__.py | jebabi/controllerx | bc68cdd69e416880e6394b3ecf92522b3871e959 | [
"MIT"
] | null | null | null | import sys
sys.path.append("apps/controllerx")
| 12 | 35 | 0.770833 | 7 | 48 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 3 | 36 | 16 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
09bf7c1ce0c20840d83284f246ccdbf099539181 | 4,970 | py | Python | intvalpy/linear/system_properties.py | SShary/intvalpy | 42f4c8f6b23e6481f4032b0a0f7cc0d798fda3be | [
"MIT"
] | null | null | null | intvalpy/linear/system_properties.py | SShary/intvalpy | 42f4c8f6b23e6481f4032b0a0f7cc0d798fda3be | [
"MIT"
] | null | null | null | intvalpy/linear/system_properties.py | SShary/intvalpy | 42f4c8f6b23e6481f4032b0a0f7cc0d798fda3be | [
"MIT"
] | null | null | null | import numpy as np
from scipy.optimize import minimize
from intvalpy.MyClass import Interval
from intvalpy.intoper import zeros
def Uni(A, b, x=None, maxQ=False, x0=None, tol=1e-12, maxiter=1e3):
"""
Вычисление распознающего функционала Uni.
В случае, если maxQ=True то находится максимум функционала.
... | 31.257862 | 86 | 0.547485 | 545 | 4,970 | 4.915596 | 0.278899 | 0.017917 | 0.015677 | 0.024263 | 0.754386 | 0.732363 | 0.732363 | 0.732363 | 0.732363 | 0.732363 | 0 | 0.01129 | 0.376258 | 4,970 | 158 | 87 | 31.455696 | 0.852903 | 0.549698 | 0 | 0.395833 | 0 | 0 | 0.049485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.125 | 0 | 0.291667 | 0.020833 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
09c1b09e1644ac2346f010a7494eb66da023d9f8 | 88 | py | Python | yad2/encoders/__init__.py | odcinek/yad2 | 5ecf5073a7eb9651944837e33c083c4a1e7945bc | [
"MIT"
] | null | null | null | yad2/encoders/__init__.py | odcinek/yad2 | 5ecf5073a7eb9651944837e33c083c4a1e7945bc | [
"MIT"
] | null | null | null | yad2/encoders/__init__.py | odcinek/yad2 | 5ecf5073a7eb9651944837e33c083c4a1e7945bc | [
"MIT"
] | 1 | 2021-10-17T15:46:50.000Z | 2021-10-17T15:46:50.000Z | from format2 import Format2
from format40 import Format40
from format80 import Format80
| 22 | 29 | 0.863636 | 12 | 88 | 6.333333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0.136364 | 88 | 3 | 30 | 29.333333 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
09ca172ccac0fbc44db1af59fb9a28884f053bb0 | 162 | py | Python | remote_control/apps.py | adrienemery/auv-control-api | 44d04c070879be3a52633369886534657b2d67ca | [
"MIT"
] | null | null | null | remote_control/apps.py | adrienemery/auv-control-api | 44d04c070879be3a52633369886534657b2d67ca | [
"MIT"
] | 2 | 2016-08-03T00:37:37.000Z | 2016-08-03T00:46:12.000Z | remote_control/apps.py | adrienemery/auv-control | 44d04c070879be3a52633369886534657b2d67ca | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RemoteControlConfig(AppConfig):
name = 'remote_control'
def ready(self):
import remote_control.signals
| 18 | 37 | 0.734568 | 18 | 162 | 6.5 | 0.777778 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 162 | 8 | 38 | 20.25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
113341028baadbdf6860b5c685deb7e0ad58a04a | 186 | py | Python | utils/DiceRatio.py | jasonxingqi/3D-Unet--Tensorflow | d925d3c16d3f02c6cb9cd0e059e30f4455ff299e | [
"MIT"
] | 2 | 2019-04-30T09:09:11.000Z | 2019-05-05T01:50:15.000Z | utils/DiceRatio.py | seanbefore/3D-Unet--Tensorflow | 36a24c38041ad88d74b5d5ab09ded3c3894b00b3 | [
"MIT"
] | null | null | null | utils/DiceRatio.py | seanbefore/3D-Unet--Tensorflow | 36a24c38041ad88d74b5d5ab09ded3c3894b00b3 | [
"MIT"
] | null | null | null | import numpy as np
def dice_ratio(pred, label):
'''Note: pred & label should only contain 0 or 1.
'''
return np.sum(pred[label==1])*2.0 / (np.sum(pred) + np.sum(label)) | 26.571429 | 70 | 0.607527 | 32 | 186 | 3.5 | 0.59375 | 0.241071 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.22043 | 186 | 7 | 70 | 26.571429 | 0.737931 | 0.247312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1148006841dace7c2d15cf681638c79c776c650b | 270 | py | Python | pytext/data/sources/__init__.py | shruti-bh/pytext | ae84a5493a5331ac07699d3dfa5b9de521ea85ea | [
"BSD-3-Clause"
] | 1 | 2020-10-20T09:14:15.000Z | 2020-10-20T09:14:15.000Z | pytext/data/sources/__init__.py | shruti-bh/pytext | ae84a5493a5331ac07699d3dfa5b9de521ea85ea | [
"BSD-3-Clause"
] | null | null | null | pytext/data/sources/__init__.py | shruti-bh/pytext | ae84a5493a5331ac07699d3dfa5b9de521ea85ea | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
from .data_source import DataSchema, DataSchemaConfig, DataSource
from .tsv import TSVDataSource
__all__ = ["DataSchema", "DataSchemaConfig", "DataSource", "TSVDataSource"]
| 30 | 75 | 0.774074 | 30 | 270 | 6.8 | 0.766667 | 0.254902 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004202 | 0.118519 | 270 | 8 | 76 | 33.75 | 0.852941 | 0.333333 | 0 | 0 | 0 | 0 | 0.275281 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
11649ccd701bc4417bcc78c7dc346d299411f6ad | 102 | py | Python | keras/legacy_tf_layers/__init__.py | tsheaff/keras | ee227dda766d769b7499a5549e8ed77b5e88105b | [
"Apache-2.0"
] | 37,222 | 2017-12-13T00:52:55.000Z | 2022-03-31T22:34:35.000Z | keras/legacy_tf_layers/__init__.py | amirsadafi/keras | f1e9c76675981ee6683f54a3ce569212d551d12d | [
"Apache-2.0"
] | 7,624 | 2017-12-13T01:03:40.000Z | 2022-03-31T23:57:24.000Z | keras/legacy_tf_layers/__init__.py | amirsadafi/keras | f1e9c76675981ee6683f54a3ce569212d551d12d | [
"Apache-2.0"
] | 14,914 | 2017-12-13T02:30:46.000Z | 2022-03-30T14:49:16.000Z | """Init file."""
from keras.legacy_tf_layers import migration_utils # pylint: disable=unused-import
| 25.5 | 83 | 0.77451 | 14 | 102 | 5.428571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 3 | 84 | 34 | 0.835165 | 0.401961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
feccebf8b7f5ab31a62544c1a696cbcf12f4d112 | 1,264 | py | Python | DelibeRating/DelibeRating/env/Lib/site-packages/tests/test_widgets.py | Severose/DelibeRating | 5d227f35c071477ce3fd6fbf3ab13a44d13f6e08 | [
"MIT"
] | 1 | 2018-11-01T15:05:12.000Z | 2018-11-01T15:05:12.000Z | DelibeRating/DelibeRating/env/Lib/site-packages/tests/test_widgets.py | Severose/DelibeRating | 5d227f35c071477ce3fd6fbf3ab13a44d13f6e08 | [
"MIT"
] | null | null | null | DelibeRating/DelibeRating/env/Lib/site-packages/tests/test_widgets.py | Severose/DelibeRating | 5d227f35c071477ce3fd6fbf3ab13a44d13f6e08 | [
"MIT"
] | null | null | null | import pytest
from tempus_dominus import widgets
def test_datepicker_format_localized(settings):
settings.TEMPUS_DOMINUS_LOCALIZE = True
widget = widgets.DatePicker()
assert widget.get_js_format() == 'L'
def test_datepicker_format_nonlocalized(settings):
settings.TEMPUS_DOMINUS_LOCALIZE = False
... | 28.088889 | 58 | 0.761867 | 152 | 1,264 | 6.013158 | 0.223684 | 0.043764 | 0.09628 | 0.190372 | 0.739606 | 0.71116 | 0.708972 | 0.708972 | 0.466083 | 0.466083 | 0 | 0 | 0.14557 | 1,264 | 44 | 59 | 28.727273 | 0.846296 | 0 | 0 | 0.413793 | 0 | 0 | 0.036392 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0.241379 | false | 0 | 0.068966 | 0 | 0.310345 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fecfe168fd1f83e2b06ca1bb819712b3c0b0b0b9 | 293 | py | Python | src/songbook/console/_update.py | kipyin/- | 5d372c7d987e6a1da380197c1b990def0d240298 | [
"MIT"
] | 1 | 2021-01-03T10:40:28.000Z | 2021-01-03T10:40:28.000Z | src/songbook/console/_update.py | kipyin/- | 5d372c7d987e6a1da380197c1b990def0d240298 | [
"MIT"
] | null | null | null | src/songbook/console/_update.py | kipyin/- | 5d372c7d987e6a1da380197c1b990def0d240298 | [
"MIT"
] | 1 | 2021-01-03T10:40:29.000Z | 2021-01-03T10:40:29.000Z | import click
@click.group()
def update():
pass
@update.command("song")
def _update_song():
pass
@update.command("arrangement")
def _update_arrangement():
pass
@update.command("worship")
def _update_worship():
pass
@update.command("hymn")
def _update_hymn():
pass
| 10.851852 | 30 | 0.675768 | 35 | 293 | 5.428571 | 0.314286 | 0.236842 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177474 | 293 | 26 | 31 | 11.269231 | 0.788382 | 0 | 0 | 0.3125 | 0 | 0 | 0.088737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | true | 0.3125 | 0.0625 | 0 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fef0f2eca41493ff175b1ce22f370a3502ed826a | 50 | py | Python | rubin_sim/scheduler/features/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/scheduler/features/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/scheduler/features/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | from .features import *
from .conditions import *
| 16.666667 | 25 | 0.76 | 6 | 50 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 26 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fefb10e3bc54bf078e079e6dd58a9eee22dea396 | 7,752 | py | Python | vdp/pipeline/v1alpha/pipeline_service_pb2.py | instill-ai/protogen-python | 6e118d34566b8d59e8bcd40e0ae28e0fc1a5d50f | [
"Apache-2.0"
] | 1 | 2022-03-22T09:09:46.000Z | 2022-03-22T09:09:46.000Z | vdp/pipeline/v1alpha/pipeline_service_pb2.py | instill-ai/protogen-python | 6e118d34566b8d59e8bcd40e0ae28e0fc1a5d50f | [
"Apache-2.0"
] | 4 | 2022-03-16T12:36:12.000Z | 2022-03-22T10:53:12.000Z | vdp/pipeline/v1alpha/pipeline_service_pb2.py | instill-ai/protogen-python | 6e118d34566b8d59e8bcd40e0ae28e0fc1a5d50f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: vdp/pipeline/v1alpha/pipeline_service.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import... | 131.389831 | 3,390 | 0.821723 | 1,014 | 7,752 | 6.083826 | 0.2357 | 0.102124 | 0.105041 | 0.118009 | 0.438969 | 0.281407 | 0.163722 | 0.143621 | 0.106014 | 0.053493 | 0 | 0.110385 | 0.032379 | 7,752 | 58 | 3,391 | 133.655172 | 0.712038 | 0.030444 | 0 | 0 | 1 | 0.325581 | 0.474154 | 0.427258 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.209302 | 0 | 0.209302 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fefbae820a9ce01089538fc58c0ca13a3a6231eb | 119 | py | Python | slash/__init__.py | SilentJungle399/dpy-appcommands | d383ebd3414457aaaf1f65ff048604accb7bb1bc | [
"MIT"
] | 2 | 2021-09-02T13:06:46.000Z | 2021-09-03T07:19:54.000Z | slash/__init__.py | SilentJungle399/dpy-appcommands | d383ebd3414457aaaf1f65ff048604accb7bb1bc | [
"MIT"
] | null | null | null | slash/__init__.py | SilentJungle399/dpy-appcommands | d383ebd3414457aaaf1f65ff048604accb7bb1bc | [
"MIT"
] | 1 | 2021-08-14T03:38:42.000Z | 2021-08-14T03:38:42.000Z | __author__ = "SilentJungle399"
__version__ = "1.0.0"
from .client import *
from .models import *
from .enums import *
| 17 | 30 | 0.722689 | 15 | 119 | 5.2 | 0.666667 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0.159664 | 119 | 6 | 31 | 19.833333 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3a16438d4a6793d41974ba3f9e345b3deca9076f | 296 | py | Python | portfolio/admin.py | jokimies/django-pj-portfolio | ce32882fa3f5cc3206b2a61eb5cd88c0cdf243ec | [
"BSD-3-Clause"
] | 3 | 2017-02-02T19:58:57.000Z | 2021-08-10T14:43:37.000Z | portfolio/admin.py | jokimies/django-pj-portfolio | ce32882fa3f5cc3206b2a61eb5cd88c0cdf243ec | [
"BSD-3-Clause"
] | 4 | 2016-01-15T14:18:37.000Z | 2016-03-06T15:06:31.000Z | portfolio/admin.py | jokimies/django-pj-portfolio | ce32882fa3f5cc3206b2a61eb5cd88c0cdf243ec | [
"BSD-3-Clause"
] | 2 | 2019-10-12T02:05:49.000Z | 2022-03-08T16:25:17.000Z | from portfolio.models import Transaction, Security, Price, Account
from portfolio.models import PriceTracker
from django.contrib import admin
admin.site.register(Transaction)
admin.site.register(Security)
admin.site.register(Price)
admin.site.register(PriceTracker)
admin.site.register(Account)
| 29.6 | 66 | 0.841216 | 38 | 296 | 6.552632 | 0.368421 | 0.180723 | 0.341365 | 0.200803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070946 | 296 | 9 | 67 | 32.888889 | 0.905455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3a16fcd29e32261f583e0fe17a97b6df4dbfd030 | 391 | py | Python | OpticsLab/components.py | AzizAlqasem/OpticsLab | a68c12edc9998f0709bae3da2fa0f85778e19bf0 | [
"MIT"
] | null | null | null | OpticsLab/components.py | AzizAlqasem/OpticsLab | a68c12edc9998f0709bae3da2fa0f85778e19bf0 | [
"MIT"
] | null | null | null | OpticsLab/components.py | AzizAlqasem/OpticsLab | a68c12edc9998f0709bae3da2fa0f85778e19bf0 | [
"MIT"
] | null | null | null | """ The components module has all optical components that are used in optics
"""
class Mirror:
def __init__(self,):
pass
class Lense:
def __init__(self,):
pass
class Mediam:
def __init__(self,):
pass
class BeamSpliter:
def __init__(self,):
... | 11.848485 | 76 | 0.557545 | 42 | 391 | 4.714286 | 0.5 | 0.176768 | 0.277778 | 0.378788 | 0.40404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363171 | 391 | 33 | 77 | 11.848485 | 0.795181 | 0.184143 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
28a941e336c661de4e3bc64a26dac8f5e03e398f | 58 | py | Python | Python/Tests/TestData/AddImport/ImportFunctionFromExistingFromImportAsName.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 404 | 2019-05-07T02:21:57.000Z | 2022-03-31T17:03:04.000Z | Python/Tests/TestData/AddImport/ImportFunctionFromExistingFromImportAsName.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/AddImport/ImportFunctionFromExistingFromImportAsName.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | from test_module import module_func_2 as oar
module_func() | 29 | 44 | 0.862069 | 11 | 58 | 4.181818 | 0.727273 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.103448 | 58 | 2 | 45 | 29 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 5 |
28d45ba4d24a1ed53683bb58cb50eef96ffa6861 | 209 | py | Python | winaudio/exceptions.py | Pixelsuft/winaudio | b66109771811548339905208f9034cb492768337 | [
"MIT"
] | 1 | 2021-12-15T10:17:27.000Z | 2021-12-15T10:17:27.000Z | winaudio/exceptions.py | Pixelsuft/winaudio | b66109771811548339905208f9034cb492768337 | [
"MIT"
] | 1 | 2022-03-17T14:27:18.000Z | 2022-03-17T14:27:29.000Z | winaudio/exceptions.py | Pixelsuft/winaudio | b66109771811548339905208f9034cb492768337 | [
"MIT"
] | null | null | null | class SoundError(Exception):
pass
class WavePlayError(Exception):
pass
class ArgumentError(Exception):
pass
class PlayerError(Exception):
pass
class PlayerMciError(Exception):
pass
| 11 | 32 | 0.722488 | 20 | 209 | 7.55 | 0.4 | 0.430464 | 0.476821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205742 | 209 | 18 | 33 | 11.611111 | 0.909639 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
28f476813b8879c19e3170513ebfab33d088e25a | 93 | py | Python | ror/number_utils.py | jakub-tomczak/ror | cf9ab38a2d66f4816a1289b9726911960059fce7 | [
"MIT"
] | null | null | null | ror/number_utils.py | jakub-tomczak/ror | cf9ab38a2d66f4816a1289b9726911960059fce7 | [
"MIT"
] | null | null | null | ror/number_utils.py | jakub-tomczak/ror | cf9ab38a2d66f4816a1289b9726911960059fce7 | [
"MIT"
] | null | null | null | def format_number(number: float, precision: int) -> str:
return f'{number:.{precision}f}' | 46.5 | 56 | 0.698925 | 13 | 93 | 4.923077 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 93 | 2 | 57 | 46.5 | 0.790123 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3a5d52f7066df721bcc6a4454c0e49f976cabd83 | 39 | py | Python | kfdata/__main__.py | kylef-archive/KFData.py | 685d58255c9f8518834e395d94d3b75d3dd3eceb | [
"BSD-3-Clause"
] | 1 | 2015-11-08T13:23:39.000Z | 2015-11-08T13:23:39.000Z | kfdata/__main__.py | kylef/KFData.py | 685d58255c9f8518834e395d94d3b75d3dd3eceb | [
"BSD-3-Clause"
] | null | null | null | kfdata/__main__.py | kylef/KFData.py | 685d58255c9f8518834e395d94d3b75d3dd3eceb | [
"BSD-3-Clause"
] | null | null | null | from kfdata.manage import main
main()
| 9.75 | 30 | 0.769231 | 6 | 39 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 3 | 31 | 13 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3a5f95c4dd3189822a688ab6608502a352c54b4b | 167 | py | Python | slackforms/handlers/__init__.py | Albatrous/django-slack-forms | baee37942085bf2f9e35beb9a4a4aa767b319b35 | [
"MIT"
] | 1 | 2019-06-20T00:11:58.000Z | 2019-06-20T00:11:58.000Z | slackforms/handlers/__init__.py | Albatrous/django-slack-forms | baee37942085bf2f9e35beb9a4a4aa767b319b35 | [
"MIT"
] | 3 | 2020-02-11T23:46:14.000Z | 2021-06-10T21:10:37.000Z | slackforms/handlers/__init__.py | Albatrous/django-slack-forms | baee37942085bf2f9e35beb9a4a4aa767b319b35 | [
"MIT"
] | 3 | 2019-12-13T06:53:18.000Z | 2021-06-04T07:12:56.000Z | # flake8: noqa
from .form import FormHandler
from .slash import SlashHandler
from .manual import ManualHandler
from .interactions import ActionHandler, MessageHandler
| 27.833333 | 55 | 0.838323 | 19 | 167 | 7.368421 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.11976 | 167 | 5 | 56 | 33.4 | 0.945578 | 0.071856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3a84202d32e5e1c571adc31fc572e8596c4a5a08 | 87 | py | Python | rura/pipeline/__init__.py | fdabek1/rura | 6779733149d7e4181be54ecb72fbd4de6d71c678 | [
"MIT"
] | null | null | null | rura/pipeline/__init__.py | fdabek1/rura | 6779733149d7e4181be54ecb72fbd4de6d71c678 | [
"MIT"
] | null | null | null | rura/pipeline/__init__.py | fdabek1/rura | 6779733149d7e4181be54ecb72fbd4de6d71c678 | [
"MIT"
] | null | null | null | from .dataset import Dataset
from .model import Model
from .transform import Transform
| 21.75 | 32 | 0.827586 | 12 | 87 | 6 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 3 | 33 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3aa041de8b903df622c3ee51ddf1f6842ee18d8c | 59 | py | Python | perception/navigator_vision/navigator_vision/__init__.py | czk100/NaviGator | c078c68768c1df4ad48c4c9a60a8c0bf4bdab63a | [
"MIT"
] | null | null | null | perception/navigator_vision/navigator_vision/__init__.py | czk100/NaviGator | c078c68768c1df4ad48c4c9a60a8c0bf4bdab63a | [
"MIT"
] | null | null | null | perception/navigator_vision/navigator_vision/__init__.py | czk100/NaviGator | c078c68768c1df4ad48c4c9a60a8c0bf4bdab63a | [
"MIT"
] | null | null | null | from scan_the_code_classifier import ScanTheCodeClassifier
| 29.5 | 58 | 0.932203 | 7 | 59 | 7.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 1 | 59 | 59 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3aa64d8b8830c4c3c052d815f3baf34b10969969 | 168 | py | Python | core/admin.py | yasminfarza/country-state-address-api | 39c8d349095dcca4f2411f7097497d6a8f39c1e1 | [
"MIT"
] | 4 | 2021-06-06T14:16:33.000Z | 2021-06-09T03:42:11.000Z | core/admin.py | yasminfarza/country-state-address-api | 39c8d349095dcca4f2411f7097497d6a8f39c1e1 | [
"MIT"
] | null | null | null | core/admin.py | yasminfarza/country-state-address-api | 39c8d349095dcca4f2411f7097497d6a8f39c1e1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from core.models import Country, State, Address
admin.site.register(Country)
admin.site.register(State)
admin.site.register(Address)
| 21 | 47 | 0.815476 | 24 | 168 | 5.708333 | 0.5 | 0.19708 | 0.372263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 168 | 7 | 48 | 24 | 0.895425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3adf36991cec5979dbe14a96fcb6614f4fd9f191 | 12,144 | py | Python | team_9/cocos/utest/test_euclid.py | Donnyvdm/dojo19 | 3cf043a84e3ad6d3c4d59cd9c50b160e1ff03400 | [
"BSD-3-Clause"
] | 1 | 2019-09-15T18:59:49.000Z | 2019-09-15T18:59:49.000Z | team_9/cocos/utest/test_euclid.py | Donnyvdm/dojo19 | 3cf043a84e3ad6d3c4d59cd9c50b160e1ff03400 | [
"BSD-3-Clause"
] | null | null | null | team_9/cocos/utest/test_euclid.py | Donnyvdm/dojo19 | 3cf043a84e3ad6d3c4d59cd9c50b160e1ff03400 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import division, print_function, unicode_literals
import cocos.euclid as eu
import unittest
import copy
try:
import cPickle as pickle
except Exception:
import pickle
import io
class Test_Vector2(unittest.TestCase):
def test_instantiate(self):
xy = (1.0, 2.0)
v2 = eu.Vector... | 30.512563 | 81 | 0.525115 | 1,786 | 12,144 | 3.472564 | 0.077828 | 0.188649 | 0.018381 | 0.023218 | 0.844566 | 0.790874 | 0.74605 | 0.725411 | 0.675427 | 0.669623 | 0 | 0.083373 | 0.307642 | 12,144 | 397 | 82 | 30.589421 | 0.654258 | 0.025609 | 0 | 0.67619 | 0 | 0 | 0.023338 | 0 | 0 | 0 | 0 | 0 | 0.365079 | 1 | 0.126984 | false | 0 | 0.022222 | 0 | 0.161905 | 0.003175 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3af126e2b1c1da6fe4b8a9b65f8ca9e789c79dde | 191 | py | Python | apps/access/admin.py | usdigitalresponse/rtovid-encampments | b9d0b6ff27c0b47e31b5db5b0f2f92a1da446f86 | [
"MIT"
] | 1 | 2021-06-22T10:11:10.000Z | 2021-06-22T10:11:10.000Z | apps/access/admin.py | usdigitalresponse/rtovid-encampments | b9d0b6ff27c0b47e31b5db5b0f2f92a1da446f86 | [
"MIT"
] | 23 | 2020-05-28T01:00:01.000Z | 2020-06-23T12:49:55.000Z | apps/access/admin.py | RTCovid/encampments | b9d0b6ff27c0b47e31b5db5b0f2f92a1da446f86 | [
"MIT"
] | null | null | null | from django.contrib.gis import admin
from apps.access.models import InvitedEmail
class InvitedEmailAdmin(admin.ModelAdmin):
pass
admin.site.register(InvitedEmail, InvitedEmailAdmin)
| 17.363636 | 52 | 0.816754 | 22 | 191 | 7.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115183 | 191 | 10 | 53 | 19.1 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
aaee23ba02e2df2083e1a2d6aa2430790b04b2a3 | 35 | py | Python | src/utils/__init__.py | Columbine21/Hierarchical-Attention-Networks | 623840970cb302c7f74515ffff1560c0131b975e | [
"MIT"
] | 1 | 2021-03-15T02:45:28.000Z | 2021-03-15T02:45:28.000Z | src/utils/__init__.py | Columbine21/Hierarchical-Attention-Networks | 623840970cb302c7f74515ffff1560c0131b975e | [
"MIT"
] | null | null | null | src/utils/__init__.py | Columbine21/Hierarchical-Attention-Networks | 623840970cb302c7f74515ffff1560c0131b975e | [
"MIT"
] | null | null | null | from .vocab import gloveVocabulary
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c94170821cd5e437201c56213668e61ba65bc8e5 | 21,018 | py | Python | methcomp/regression.py | daneishdespot/methcomp | 767d85aa56a8fda372847585decca8879ec2ac98 | [
"MIT"
] | null | null | null | methcomp/regression.py | daneishdespot/methcomp | 767d85aa56a8fda372847585decca8879ec2ac98 | [
"MIT"
] | null | null | null | methcomp/regression.py | daneishdespot/methcomp | 767d85aa56a8fda372847585decca8879ec2ac98 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import pandas as pd
import scipy.stats as st
import statsmodels.api as sm
import math
import numpy as np
__all__ = ["deming", "passingbablok", "linear"]
class _Deming(object):
"""Internal class for drawing a Deming regression plot"""
def __init__(self, method1, method2,
... | 39.433396 | 118 | 0.591683 | 2,856 | 21,018 | 4.245448 | 0.108193 | 0.011876 | 0.016082 | 0.017814 | 0.777072 | 0.75868 | 0.742351 | 0.732784 | 0.717856 | 0.717856 | 0 | 0.023136 | 0.304929 | 21,018 | 532 | 119 | 39.507519 | 0.806831 | 0.329717 | 0 | 0.65233 | 0 | 0.010753 | 0.06883 | 0.003423 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057348 | false | 0.014337 | 0.021505 | 0 | 0.103943 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c94dc603c09e41f347618a870bb8e3d545494ed0 | 61 | py | Python | run.py | Tokisaki-Kurumi001/ASMART-34 | 04ffbabe4a1c18f8ed68a2ee883145985fc5ec7f | [
"MIT"
] | 3 | 2021-04-17T08:34:08.000Z | 2021-04-17T08:57:23.000Z | run.py | Tokisaki-Kurumi001/ASMART-34 | 04ffbabe4a1c18f8ed68a2ee883145985fc5ec7f | [
"MIT"
] | null | null | null | run.py | Tokisaki-Kurumi001/ASMART-34 | 04ffbabe4a1c18f8ed68a2ee883145985fc5ec7f | [
"MIT"
] | null | null | null | import os
os.system('python function_18351015.py > log.txt')
| 20.333333 | 50 | 0.770492 | 10 | 61 | 4.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 0.098361 | 61 | 2 | 51 | 30.5 | 0.690909 | 0 | 0 | 0 | 0 | 0 | 0.606557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c97e6b1f40a5bb81ae2c559b1a1285a802b08835 | 53 | py | Python | social/backends/ubuntu.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 1,987 | 2015-01-01T16:12:45.000Z | 2022-03-29T14:24:25.000Z | social/backends/ubuntu.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 731 | 2015-01-01T22:55:25.000Z | 2022-03-10T15:07:51.000Z | virtual/lib/python3.6/site-packages/social/backends/ubuntu.py | dennismwaniki67/awards | 80ed10541f5f751aee5f8285ab1ad54cfecba95f | [
"MIT"
] | 1,082 | 2015-01-01T16:27:26.000Z | 2022-03-22T21:18:33.000Z | from social_core.backends.ubuntu import UbuntuOpenId
| 26.5 | 52 | 0.886792 | 7 | 53 | 6.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a31fadf9b33e9208ee29c713435331b8514e5684 | 9,786 | py | Python | derender/networks.py | tonyman1008/RADAR | b2fc944230c2fd445528a9827eea42e1a94957b8 | [
"CC0-1.0"
] | 38 | 2021-08-19T18:07:49.000Z | 2022-02-28T10:41:29.000Z | derender/networks.py | tonyman1008/RADAR | b2fc944230c2fd445528a9827eea42e1a94957b8 | [
"CC0-1.0"
] | 1 | 2021-10-30T14:43:18.000Z | 2021-11-13T01:18:53.000Z | derender/networks.py | tonyman1008/RADAR | b2fc944230c2fd445528a9827eea42e1a94957b8 | [
"CC0-1.0"
] | 5 | 2021-08-20T05:12:42.000Z | 2022-01-13T06:14:27.000Z | import numpy as np
import torch
import torch.nn as nn
import torchvision
EPS = 1e-7
class Encoder(nn.Module):
def __init__(self, cin, cout, in_size=64, nf=64, activation=nn.Tanh):
super(Encoder, self).__init__()
network = [
nn.Conv2d(cin, nf, kernel_size=4, stride=2, padding=1, bias=... | 41.466102 | 128 | 0.54251 | 1,317 | 9,786 | 3.917236 | 0.082764 | 0.065904 | 0.052336 | 0.079085 | 0.80093 | 0.776895 | 0.752665 | 0.715061 | 0.68521 | 0.634619 | 0 | 0.074602 | 0.312385 | 9,786 | 235 | 129 | 41.642553 | 0.692079 | 0.059984 | 0 | 0.60101 | 0 | 0 | 0.011468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040404 | false | 0 | 0.020202 | 0.010101 | 0.106061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a32d307b1fe682f59762c7e5a70a9d45122fc794 | 117 | py | Python | tools/inject_pydoc/idp.py | fengjixuchui/src | 0c5a6cd8057717f73b1373f8d85eb9b19e1934e1 | [
"BSD-3-Clause"
] | 1,160 | 2015-05-02T15:13:20.000Z | 2022-03-31T20:04:28.000Z | tools/inject_pydoc/idp.py | fengjixuchui/src | 0c5a6cd8057717f73b1373f8d85eb9b19e1934e1 | [
"BSD-3-Clause"
] | 19 | 2015-04-20T13:47:00.000Z | 2021-07-07T13:00:42.000Z | tools/inject_pydoc/idp.py | fengjixuchui/src | 0c5a6cd8057717f73b1373f8d85eb9b19e1934e1 | [
"BSD-3-Clause"
] | 257 | 2015-04-01T21:42:33.000Z | 2022-03-10T11:57:51.000Z | {
"ev_get_bg_color" : {
"repl_text" : ("(self, color, ea) -> int", "(self, ea) -> int or None"),
}
}
| 19.5 | 80 | 0.452991 | 15 | 117 | 3.266667 | 0.733333 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.299145 | 117 | 5 | 81 | 23.4 | 0.597561 | 0 | 0 | 0 | 0 | 0 | 0.623932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a3842c6138c7e752e05c72628b0129a00a3d511f | 1,617 | py | Python | tests/test_reduce_sum.py | gavinuhma/tf-encrypted | 4e18d78a151bbe91489a1773fb839b889ff5b460 | [
"Apache-2.0"
] | 3 | 2018-10-18T19:36:02.000Z | 2020-07-05T19:46:23.000Z | tests/test_reduce_sum.py | dropoutlabs/tf-encrypted | 48c9dc7419163425e736ad05bb19980d134fc851 | [
"Apache-2.0"
] | null | null | null | tests/test_reduce_sum.py | dropoutlabs/tf-encrypted | 48c9dc7419163425e736ad05bb19980d134fc851 | [
"Apache-2.0"
] | null | null | null | # pylint: disable=missing-docstring
import unittest
import numpy as np
import tensorflow as tf
import tf_encrypted as tfe
class TestReduceSum(unittest.TestCase):
def setUp(self):
tf.reset_default_graph()
def test_reduce_sum_1d(self):
t = [1, 2]
with tf.Session() as sess:
out = tf.reduce_sum(t... | 24.134328 | 54 | 0.650588 | 238 | 1,617 | 4.231092 | 0.256303 | 0.080437 | 0.077458 | 0.047666 | 0.749752 | 0.749752 | 0.749752 | 0.749752 | 0.749752 | 0.749752 | 0 | 0.011138 | 0.222635 | 1,617 | 66 | 55 | 24.5 | 0.789976 | 0.020408 | 0 | 0.622222 | 0 | 0 | 0.005057 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.088889 | false | 0 | 0.088889 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a3a5bb350e05522589702afb78e2a9430fe6a8c4 | 1,061 | py | Python | test.py | vinsmokemau/NQueens | 7c9291f655b8e4f0ce4c6c5d07a80440f8f2c0a8 | [
"MIT"
] | null | null | null | test.py | vinsmokemau/NQueens | 7c9291f655b8e4f0ce4c6c5d07a80440f8f2c0a8 | [
"MIT"
] | null | null | null | test.py | vinsmokemau/NQueens | 7c9291f655b8e4f0ce4c6c5d07a80440f8f2c0a8 | [
"MIT"
] | null | null | null | import unittest
from algorithm import NQueens
class TestNQueens(unittest.TestCase):
def test_1_queen(self):
self.assertEqual(NQueens(1).solutions, 1)
def test_2_queen(self):
self.assertEqual(NQueens(2).solutions, 0)
def test_3_queen(self):
self.assertEqual(NQueens(3).solutions, ... | 25.878049 | 65 | 0.673893 | 147 | 1,061 | 4.693878 | 0.258503 | 0.26087 | 0.188406 | 0.347826 | 0.449275 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05006 | 0.209237 | 1,061 | 40 | 66 | 26.525 | 0.772348 | 0 | 0 | 0 | 0 | 0 | 0.020735 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.407407 | false | 0 | 0.074074 | 0 | 0.518519 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6e7654580b77f1dbecf04a37ead830e9b06ecf31 | 198 | py | Python | mwptoolkit/module/Encoder/__init__.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 71 | 2021-03-08T06:06:15.000Z | 2022-03-30T11:59:37.000Z | mwptoolkit/module/Encoder/__init__.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 13 | 2021-09-07T12:38:23.000Z | 2022-03-22T15:08:16.000Z | mwptoolkit/module/Encoder/__init__.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 21 | 2021-02-16T07:46:36.000Z | 2022-03-23T13:41:33.000Z | from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
from mwptoolkit.module.Encoder import graph_based_encoder,rnn_encoder,transformer_encoder | 49.5 | 89 | 0.90404 | 26 | 198 | 6.192308 | 0.538462 | 0.186335 | 0.298137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 198 | 4 | 89 | 49.5 | 0.879781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6e91c4809b083bd8e190189c7a4286818bc08e69 | 3,673 | py | Python | deprecated.py | thu-fit/DCGAN-anime | da549bd45a6ca3c4c5a8894945d3242c59f823a0 | [
"MIT"
] | null | null | null | deprecated.py | thu-fit/DCGAN-anime | da549bd45a6ca3c4c5a8894945d3242c59f823a0 | [
"MIT"
] | null | null | null | deprecated.py | thu-fit/DCGAN-anime | da549bd45a6ca3c4c5a8894945d3242c59f823a0 | [
"MIT"
] | null | null | null |
def sampler(self, z, y=None):
'''generate iamge given z'''
with tf.variable_scope("generator") as scope:
# we hope the weights defined in generator to be reused
scope.reuse_variables()
if not self.y_dim:
s_h, s_w = self.output_height, self.output_width
s_h2, s_w2 = conv_ou... | 39.494624 | 103 | 0.613395 | 702 | 3,673 | 2.918803 | 0.138177 | 0.054661 | 0.085896 | 0.11713 | 0.748658 | 0.72572 | 0.72572 | 0.695461 | 0.695461 | 0.679356 | 0 | 0.070768 | 0.234413 | 3,673 | 92 | 104 | 39.923913 | 0.657895 | 0.053907 | 0 | 0.525424 | 1 | 0 | 0.026938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6ea56221c4382d050ea20b187d845407bd8d039d | 90 | py | Python | renormalizer/mps/tdh/__init__.py | liwt31/Renormalizer | 123a9d53f4f5f32c0088c255475f0ee60d02c745 | [
"Apache-2.0"
] | null | null | null | renormalizer/mps/tdh/__init__.py | liwt31/Renormalizer | 123a9d53f4f5f32c0088c255475f0ee60d02c745 | [
"Apache-2.0"
] | null | null | null | renormalizer/mps/tdh/__init__.py | liwt31/Renormalizer | 123a9d53f4f5f32c0088c255475f0ee60d02c745 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from renormalizer.mps.tdh.propagation import unitary_propagation
| 22.5 | 64 | 0.755556 | 11 | 90 | 6.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.111111 | 90 | 3 | 65 | 30 | 0.825 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6eaaaf9c78bb564348f5f92937368a9dbc35cca5 | 66 | py | Python | src/clusto/drivers/devices/networkswitches/__init__.py | rongoro/clusto | d6425433e5132e8778feeb9db4b8dd80b933b030 | [
"BSD-3-Clause"
] | 5 | 2015-07-19T08:28:01.000Z | 2021-07-08T14:49:27.000Z | src/clusto/drivers/devices/networkswitches/__init__.py | wt/clusto | c114ce7c42dcfa33c1e79f4d3b49313115fea06b | [
"BSD-3-Clause"
] | null | null | null | src/clusto/drivers/devices/networkswitches/__init__.py | wt/clusto | c114ce7c42dcfa33c1e79f4d3b49313115fea06b | [
"BSD-3-Clause"
] | 5 | 2015-01-06T07:57:07.000Z | 2021-11-10T18:01:33.000Z | from basicnetworkswitch import *
from cisconetworkswitch import *
| 22 | 32 | 0.848485 | 6 | 66 | 9.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
42b8718fafc7a5efe59718792e559a9ba4afb7ac | 38 | py | Python | jetbrains-academy/Zookeeper/Problems/Print an integer/task.py | robinpatra/ML-Study-3 | 6f401706a8da4cac5e63304ce09ff6ff62756d0b | [
"MIT"
] | null | null | null | jetbrains-academy/Zookeeper/Problems/Print an integer/task.py | robinpatra/ML-Study-3 | 6f401706a8da4cac5e63304ce09ff6ff62756d0b | [
"MIT"
] | null | null | null | jetbrains-academy/Zookeeper/Problems/Print an integer/task.py | robinpatra/ML-Study-3 | 6f401706a8da4cac5e63304ce09ff6ff62756d0b | [
"MIT"
] | null | null | null | # put your python code here
print(10)
| 12.666667 | 27 | 0.736842 | 7 | 38 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.184211 | 38 | 2 | 28 | 19 | 0.83871 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
42d1b2020952de616b4d4ac7d2ca23c0bbc1bae9 | 144 | py | Python | tests/test_sass-director.py | Sass-Director/Sass-Director_Sublime | 57dff551213b4884c603cb69700fa2583f646202 | [
"MIT"
] | 4 | 2015-07-08T14:25:24.000Z | 2021-01-20T22:11:09.000Z | tests/test_sass-director.py | Sass-Director/Sass-Director_Sublime | 57dff551213b4884c603cb69700fa2583f646202 | [
"MIT"
] | 4 | 2015-06-16T19:48:59.000Z | 2020-06-23T17:17:38.000Z | tests/test_sass-director.py | Sass-Director/Sass-Director_Sublime | 57dff551213b4884c603cb69700fa2583f646202 | [
"MIT"
] | 2 | 2015-01-24T17:38:48.000Z | 2017-04-18T13:23:46.000Z | # Load in test framework
from sublime_plugin_tests import framework
class TestExample(framework.TestCase):
def sampleTest():
pass
| 18 | 42 | 0.75 | 17 | 144 | 6.235294 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 144 | 7 | 43 | 20.571429 | 0.913793 | 0.152778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
42e887c8fdf1e23d81a9463a69d52200b7a5826e | 67 | py | Python | pyrallest/__init__.py | ivancrneto/pyrallest | 158780c418ae276935fb155e82b18db242cd98e5 | [
"MIT"
] | null | null | null | pyrallest/__init__.py | ivancrneto/pyrallest | 158780c418ae276935fb155e82b18db242cd98e5 | [
"MIT"
] | null | null | null | pyrallest/__init__.py | ivancrneto/pyrallest | 158780c418ae276935fb155e82b18db242cd98e5 | [
"MIT"
] | null | null | null |
def main():
print('This is the very beginning of pyrallest')
| 13.4 | 52 | 0.671642 | 10 | 67 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223881 | 67 | 4 | 53 | 16.75 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6e1de2b972d3bacd17bc4fe230cc40342951d8ec | 130 | py | Python | code/helpers/__init__.py | briandesilva/discovery-of-physics-from-data | b79c34317f049c9b47aaf2cc4c54c5ec7219f3d7 | [
"MIT"
] | 11 | 2020-07-02T01:48:27.000Z | 2022-03-29T18:23:32.000Z | code/helpers/__init__.py | briandesilva/discovery-of-physics-from-data | b79c34317f049c9b47aaf2cc4c54c5ec7219f3d7 | [
"MIT"
] | null | null | null | code/helpers/__init__.py | briandesilva/discovery-of-physics-from-data | b79c34317f049c9b47aaf2cc4c54c5ec7219f3d7 | [
"MIT"
] | 3 | 2020-11-21T09:11:21.000Z | 2022-03-29T18:23:58.000Z | from .library import *
from .differentiation import *
from .sindy_ball import SINDyBall
from .tests import *
from .utils import *
| 21.666667 | 33 | 0.776923 | 17 | 130 | 5.882353 | 0.529412 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 130 | 5 | 34 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
287d866f9124af9905e3876a7fc982e255ffcb59 | 157 | py | Python | npt/pipelines/__init__.py | chbrandt/npt | 7d58db9987c8f4d93c4e61e1fc98cce38733d06e | [
"MIT"
] | null | null | null | npt/pipelines/__init__.py | chbrandt/npt | 7d58db9987c8f4d93c4e61e1fc98cce38733d06e | [
"MIT"
] | 2 | 2022-02-18T16:38:13.000Z | 2022-02-18T16:56:33.000Z | npt/pipelines/__init__.py | chbrandt/npt | 7d58db9987c8f4d93c4e61e1fc98cce38733d06e | [
"MIT"
] | 1 | 2022-03-15T09:03:51.000Z | 2022-03-15T09:03:51.000Z | from npt import log
from . import search as Search
from . import download as Download
from . import processing as Processing
from . import mosaic as Mosaic
| 22.428571 | 38 | 0.789809 | 24 | 157 | 5.166667 | 0.375 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184713 | 157 | 6 | 39 | 26.166667 | 0.96875 | 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 | 0 | 0 | 0 | 5 |
2895a62d74a6cf74dd272cfa08d6a6029b8f3434 | 48 | py | Python | starfish/__main__.py | haoxusci/starfish | d7bd856024c75f2ce41504406f2a663566c3814b | [
"MIT"
] | 164 | 2018-03-21T21:52:56.000Z | 2022-03-23T17:14:39.000Z | starfish/__main__.py | lbgbox/starfish | 0e879d995d5c49b6f5a842e201e3be04c91afc7e | [
"MIT"
] | 1,728 | 2018-03-15T23:16:09.000Z | 2022-03-12T00:09:18.000Z | starfish/__main__.py | lbgbox/starfish | 0e879d995d5c49b6f5a842e201e3be04c91afc7e | [
"MIT"
] | 66 | 2018-03-25T17:21:15.000Z | 2022-01-16T09:17:11.000Z | from .core.starfish import starfish
starfish()
| 12 | 35 | 0.791667 | 6 | 48 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 3 | 36 | 16 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
28a386192b68f112112b6e68f5293867934e803f | 167 | py | Python | demo/deep_learning/base/second_stage_bounding_box_prediction/dcn_feature_calibration.py | jihuacao/Putil | b753fc94bea4cbda00f483681c55f0e9f54adef2 | [
"Apache-2.0"
] | 1 | 2018-12-09T06:09:29.000Z | 2018-12-09T06:09:29.000Z | demo/deep_learning/base/second_stage_bounding_box_prediction/dcn_feature_calibration.py | jihuacao/Putil | b753fc94bea4cbda00f483681c55f0e9f54adef2 | [
"Apache-2.0"
] | null | null | null | demo/deep_learning/base/second_stage_bounding_box_prediction/dcn_feature_calibration.py | jihuacao/Putil | b753fc94bea4cbda00f483681c55f0e9f54adef2 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
import torch
class RotateRectangleDCNFeatureCalibration(torch.nn.Module):
def __init__(self):
torch.nn.Module.__init__(self)
pass | 20.875 | 60 | 0.712575 | 20 | 167 | 5.6 | 0.7 | 0.125 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.185629 | 167 | 8 | 61 | 20.875 | 0.808824 | 0.071856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0.2 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9547e7b57fef282a81e3052edbdb2d34bb2cd61a | 222 | py | Python | src/honey.py | terror/golf | 9d38f8376c2ddbbb34360a3353ec6f4289736bd4 | [
"Unlicense"
] | null | null | null | src/honey.py | terror/golf | 9d38f8376c2ddbbb34360a3353ec6f4289736bd4 | [
"Unlicense"
] | null | null | null | src/honey.py | terror/golf | 9d38f8376c2ddbbb34360a3353ec6f4289736bd4 | [
"Unlicense"
] | null | null | null | # https://open.kattis.com/problems/honey
print(*(lambda x: [x[int(input())] for _ in range(int(input()))])([1, 0, 6, 12, 90, 360, 2040, 10080, 54810, 290640, 1588356, 8676360, 47977776, 266378112, 1488801600]), sep="\n")
| 55.5 | 179 | 0.657658 | 34 | 222 | 4.264706 | 0.911765 | 0.110345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.360406 | 0.112613 | 222 | 3 | 180 | 74 | 0.375635 | 0.171171 | 0 | 0 | 0 | 0 | 0.010989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
95a163ba2b23c18ae5bb7535ab4caa4e069308b6 | 144 | py | Python | bolt/core/exceptions.py | ph7vc/CL4M-B0T | e992cf63b1215ea7c241cab94edc251653dbaed7 | [
"MIT"
] | 9 | 2019-02-17T06:33:14.000Z | 2021-10-05T02:19:00.000Z | bolt/core/exceptions.py | ns-phennessy/Bolt | e992cf63b1215ea7c241cab94edc251653dbaed7 | [
"MIT"
] | 28 | 2019-02-10T07:48:05.000Z | 2021-12-20T00:15:37.000Z | bolt/core/exceptions.py | ph7vc/CL4M-B0T | e992cf63b1215ea7c241cab94edc251653dbaed7 | [
"MIT"
] | 4 | 2015-03-13T03:58:55.000Z | 2015-05-27T08:29:46.000Z | class InvalidConfigurationError(Exception):
pass
class InvalidBotToken(Exception):
pass
class InvalidBotPlugin(Exception):
pass
| 13.090909 | 43 | 0.763889 | 12 | 144 | 9.166667 | 0.5 | 0.354545 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173611 | 144 | 10 | 44 | 14.4 | 0.92437 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
95b525d705b0f34eba83af30d5fc61bd4affc2f0 | 48 | pyw | Python | seemee.pyw | gaming32/SeeMee | a99655efdd9e1aea218474bcdbd1370954a366d2 | [
"MIT"
] | null | null | null | seemee.pyw | gaming32/SeeMee | a99655efdd9e1aea218474bcdbd1370954a366d2 | [
"MIT"
] | null | null | null | seemee.pyw | gaming32/SeeMee | a99655efdd9e1aea218474bcdbd1370954a366d2 | [
"MIT"
] | null | null | null | import runpy
runpy._run_module_as_main('SeeMee') | 24 | 35 | 0.854167 | 8 | 48 | 4.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 48 | 2 | 35 | 24 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
95cae2c1de14d040a592e9ed57f23f978ae86e71 | 150 | py | Python | test_cases/conftest.py | majdukovic/pybooker | b9a373d556be0481c93a528f731407ca7a47b11f | [
"MIT"
] | null | null | null | test_cases/conftest.py | majdukovic/pybooker | b9a373d556be0481c93a528f731407ca7a47b11f | [
"MIT"
] | null | null | null | test_cases/conftest.py | majdukovic/pybooker | b9a373d556be0481c93a528f731407ca7a47b11f | [
"MIT"
] | null | null | null | import pytest
from framework.services.booker_client import BookerClient
booker_client = BookerClient()
@pytest.fixture()
def clear_env():
pass
| 15 | 57 | 0.786667 | 18 | 150 | 6.388889 | 0.722222 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 150 | 9 | 58 | 16.666667 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
252147a24fb71425db336b4bd835e50e021bad1a | 1,649 | py | Python | acme/agents/jax/ail/__init__.py | Tsaousis/acme | 14278693bcc5fef0839ac60792d452d3d80acfd7 | [
"Apache-2.0"
] | 2,650 | 2020-06-01T16:31:25.000Z | 2022-03-31T07:32:41.000Z | acme/agents/jax/ail/__init__.py | Tsaousis/acme | 14278693bcc5fef0839ac60792d452d3d80acfd7 | [
"Apache-2.0"
] | 199 | 2020-06-02T01:09:09.000Z | 2022-03-31T17:11:20.000Z | acme/agents/jax/ail/__init__.py | Tsaousis/acme | 14278693bcc5fef0839ac60792d452d3d80acfd7 | [
"Apache-2.0"
] | 344 | 2020-06-01T16:45:21.000Z | 2022-03-30T11:15:09.000Z | # Copyright 2018 DeepMind Technologies Limited. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | 45.805556 | 74 | 0.814433 | 258 | 1,649 | 5.170543 | 0.383721 | 0.113943 | 0.1994 | 0.242129 | 0.444528 | 0.39955 | 0.36057 | 0.15967 | 0 | 0 | 0 | 0.005468 | 0.112796 | 1,649 | 35 | 75 | 47.114286 | 0.906357 | 0.376592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2530a05e38dc4778931bafbbddc794641c581d85 | 28,045 | py | Python | tests/test_subnetlaplace.py | georgezefko/Laplace | c488f7bf739297bab5d771f65635352a07716ca0 | [
"MIT"
] | null | null | null | tests/test_subnetlaplace.py | georgezefko/Laplace | c488f7bf739297bab5d771f65635352a07716ca0 | [
"MIT"
] | null | null | null | tests/test_subnetlaplace.py | georgezefko/Laplace | c488f7bf739297bab5d771f65635352a07716ca0 | [
"MIT"
] | null | null | null | import pytest
from itertools import product
import torch
from torch import nn
from torch.nn.utils import parameters_to_vector
from torch.utils.data import DataLoader, TensorDataset
from torchvision.models import wide_resnet50_2
from laplace import Laplace, SubnetLaplace, FullSubnetLaplace, DiagSubnetLaplace
from lapl... | 46.976549 | 117 | 0.724764 | 3,273 | 28,045 | 6.000306 | 0.077299 | 0.076582 | 0.029788 | 0.058659 | 0.818779 | 0.780793 | 0.759356 | 0.727379 | 0.688477 | 0.629156 | 0 | 0.008448 | 0.193796 | 28,045 | 597 | 118 | 46.976549 | 0.86015 | 0.146265 | 0 | 0.657895 | 0 | 0 | 0.041021 | 0.011816 | 0 | 0 | 0 | 0 | 0.131579 | 1 | 0.033493 | false | 0 | 0.023923 | 0.002392 | 0.07177 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2540e4b774668ff785e806c6ddc07e0e515e0f5f | 172 | py | Python | math_lib.py | cu-swe4s-fall-2020/version-control-rezgarshakeri | 859f863a71dbab5714a1f24e54933a0b4398790b | [
"MIT"
] | null | null | null | math_lib.py | cu-swe4s-fall-2020/version-control-rezgarshakeri | 859f863a71dbab5714a1f24e54933a0b4398790b | [
"MIT"
] | null | null | null | math_lib.py | cu-swe4s-fall-2020/version-control-rezgarshakeri | 859f863a71dbab5714a1f24e54933a0b4398790b | [
"MIT"
] | null | null | null | import numpy as np
def div(a, b):
if b == 0:
print("denominator iz zero!!!")
return np.inf
else:
return a/b
def add(a,b):
return (a+b) | 15.636364 | 39 | 0.511628 | 29 | 172 | 3.034483 | 0.62069 | 0.090909 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.348837 | 172 | 11 | 40 | 15.636364 | 0.776786 | 0 | 0 | 0 | 0 | 0 | 0.127168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0.111111 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
25456b38415fb42cb49ec1c612d93c5272eac7b9 | 331 | py | Python | quantdsl/infrastructure/event_sourced_repos/contract_specification_repo.py | johnbywater/quantdsl | 81c1c69f27e094a6ed0542b28cf1ac8fcce5494a | [
"BSD-3-Clause"
] | 269 | 2015-01-09T00:56:41.000Z | 2022-03-30T17:09:46.000Z | quantdsl/infrastructure/event_sourced_repos/contract_specification_repo.py | johnbywater/quantdsl | 81c1c69f27e094a6ed0542b28cf1ac8fcce5494a | [
"BSD-3-Clause"
] | 22 | 2017-04-01T13:44:56.000Z | 2018-09-10T11:48:56.000Z | quantdsl/infrastructure/event_sourced_repos/contract_specification_repo.py | johnbywater/quantdsl | 81c1c69f27e094a6ed0542b28cf1ac8fcce5494a | [
"BSD-3-Clause"
] | 59 | 2015-01-09T00:56:50.000Z | 2022-03-13T23:52:27.000Z | from eventsourcing.infrastructure.event_sourced_repo import EventSourcedRepository
from quantdsl.domain.model.contract_specification import ContractSpecification, ContractSpecificationRepository
class ContractSpecificationRepo(ContractSpecificationRepository, EventSourcedRepository):
domain_class = ContractSpeci... | 33.1 | 111 | 0.89426 | 24 | 331 | 12.166667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072508 | 331 | 9 | 112 | 36.777778 | 0.95114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c26b884dd3d4d5b8b8e569db3554db56ec68bc33 | 129 | py | Python | Code/YOLO/darkflow/darkflow/net/build.py | kalvin-osoro/ml_project | bf0bdc5719f2712682dd070045a5f1edf933a0c4 | [
"Apache-2.0"
] | null | null | null | Code/YOLO/darkflow/darkflow/net/build.py | kalvin-osoro/ml_project | bf0bdc5719f2712682dd070045a5f1edf933a0c4 | [
"Apache-2.0"
] | null | null | null | Code/YOLO/darkflow/darkflow/net/build.py | kalvin-osoro/ml_project | bf0bdc5719f2712682dd070045a5f1edf933a0c4 | [
"Apache-2.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:ea33786bb4be2c91d879beaff23346f37c5b4b5b8504df61a909e3570d67eb08
size 5150
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.382114 | 0.046512 | 129 | 3 | 76 | 43 | 0.544715 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c27e409359b0212f22ca1f835566250303f86f95 | 165 | py | Python | customers/tests/test_gemsutils.py | dcopm999/sibdev | 9dc01ed5d172869d4870c847f01d168602f31be8 | [
"MIT"
] | null | null | null | customers/tests/test_gemsutils.py | dcopm999/sibdev | 9dc01ed5d172869d4870c847f01d168602f31be8 | [
"MIT"
] | null | null | null | customers/tests/test_gemsutils.py | dcopm999/sibdev | 9dc01ed5d172869d4870c847f01d168602f31be8 | [
"MIT"
] | null | null | null | from django.test import TestCase
from customers.gems_utils import Gems
class GemUtilsCase(TestCase):
def setUp(self):
self.gems = Gems()
pass
| 16.5 | 37 | 0.690909 | 21 | 165 | 5.380952 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236364 | 165 | 9 | 38 | 18.333333 | 0.896825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
c284f0eeab9d175ef398f1a574b272296ad415fe | 2,270 | py | Python | tests/0400_i18n/08_update_catalogs.py | sveetch/Optimus | 983aebeccd2ada7a5a0ab96f9296d4bba1112022 | [
"MIT"
] | 2 | 2019-05-31T00:23:15.000Z | 2021-04-26T07:26:16.000Z | tests/0400_i18n/08_update_catalogs.py | sveetch/Optimus | 983aebeccd2ada7a5a0ab96f9296d4bba1112022 | [
"MIT"
] | 27 | 2015-04-21T14:43:26.000Z | 2022-01-29T00:42:53.000Z | tests/0400_i18n/08_update_catalogs.py | sveetch/Optimus | 983aebeccd2ada7a5a0ab96f9296d4bba1112022 | [
"MIT"
] | 1 | 2017-05-21T17:32:28.000Z | 2017-05-21T17:32:28.000Z | import os
import logging
import shutil
from optimus.i18n.manager import I18NManager
def test_update_catalogs_all(
minimal_i18n_settings, caplog, temp_builds_dir, fixtures_settings
):
"""
Update every catalogs
"""
basepath = temp_builds_dir.join("i18n_update_catalogs_all")
# Copy sample proje... | 28.024691 | 82 | 0.654626 | 246 | 2,270 | 5.800813 | 0.243902 | 0.058865 | 0.053259 | 0.056062 | 0.80869 | 0.80869 | 0.789068 | 0.747022 | 0.65452 | 0.65452 | 0 | 0.014126 | 0.251542 | 2,270 | 80 | 83 | 28.375 | 0.82578 | 0.080617 | 0 | 0.592593 | 0 | 0 | 0.125183 | 0.02338 | 0 | 0 | 0 | 0 | 0.092593 | 1 | 0.037037 | false | 0 | 0.074074 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6c0605d359e470dbd90558cdc9d674b331db2e65 | 181 | py | Python | tests/acceptance/__init__.py | datphan/moviecrab | e3bcff700b994388f1ded68d268a960b10d57a81 | [
"BSD-3-Clause"
] | null | null | null | tests/acceptance/__init__.py | datphan/moviecrab | e3bcff700b994388f1ded68d268a960b10d57a81 | [
"BSD-3-Clause"
] | null | null | null | tests/acceptance/__init__.py | datphan/moviecrab | e3bcff700b994388f1ded68d268a960b10d57a81 | [
"BSD-3-Clause"
] | null | null | null | """acceptance tests"""
import unittest
from nose.plugins.attrib import attr
@attr('acc')
class AcceptanceTestCase(unittest.TestCase):
"""Base AcceptanceTestCase"""
pass
| 15.083333 | 44 | 0.729282 | 19 | 181 | 6.947368 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143646 | 181 | 11 | 45 | 16.454545 | 0.851613 | 0.220994 | 0 | 0 | 0 | 0 | 0.023077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
6c1f737d01ed462f9d3028ca12a6e4e32ea970ac | 22,271 | py | Python | OC/network.py | Xin-Ye-1/HIEM | 6764f579eef6ec92dd85a005af27419f630df7da | [
"Apache-2.0"
] | 2 | 2021-04-12T02:41:00.000Z | 2021-05-15T02:18:15.000Z | OC/network.py | Xin-Ye-1/HIEM | 6764f579eef6ec92dd85a005af27419f630df7da | [
"Apache-2.0"
] | null | null | null | OC/network.py | Xin-Ye-1/HIEM | 6764f579eef6ec92dd85a005af27419f630df7da | [
"Apache-2.0"
] | null | null | null | #! /usr/bin/env python
import tensorflow as tf
import tensorflow.contrib.slim as slim
seed = 0
def fc2d(inputs,
num_outputs,
activation_fn,
scope, ):
with tf.variable_scope(scope, reuse=tf.AUTO_REUSE) as s:
n0, n1, n2 = inputs.get_shape().as_list()
weights = tf.get_var... | 55.6775 | 140 | 0.504917 | 2,020 | 22,271 | 5.281683 | 0.090099 | 0.051176 | 0.030181 | 0.051176 | 0.805886 | 0.777486 | 0.729872 | 0.705408 | 0.680664 | 0.645046 | 0 | 0.014998 | 0.4192 | 22,271 | 399 | 141 | 55.817043 | 0.809818 | 0.02739 | 0 | 0.611684 | 0 | 0 | 0.016597 | 0.001063 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017182 | false | 0 | 0.006873 | 0 | 0.041237 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6c27c7aa14b6a3a742020fc655ba28804b70f883 | 98 | py | Python | rover-stub/accelsensor.py | GamesCreatorsClub/GCC-Rover | 25a69f62a1bb01fc421924ec39f180f50d6a640b | [
"MIT"
] | 3 | 2018-02-13T21:39:55.000Z | 2018-04-26T18:17:39.000Z | rover-stub/accelsensor.py | GamesCreatorsClub/GCC-Rover | 25a69f62a1bb01fc421924ec39f180f50d6a640b | [
"MIT"
] | null | null | null | rover-stub/accelsensor.py | GamesCreatorsClub/GCC-Rover | 25a69f62a1bb01fc421924ec39f180f50d6a640b | [
"MIT"
] | null | null | null |
#
# Copyright 2016-2017 Games Creators Club
#
# MIT License
#
from sonarsensor_service import *
| 10.888889 | 41 | 0.744898 | 12 | 98 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.183673 | 98 | 8 | 42 | 12.25 | 0.8 | 0.520408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.