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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
481864b9c51dc4f9d0b6fdb0be5da4ad7dc75287 | 13,309 | py | Python | Cogs/Image_manipulation.py | AaalbatrossGuy/DeltaDiscordBot | 04b21d41265bbca4b4b4af09277fb82623327b6c | [
"Apache-2.0"
] | 1 | 2021-04-17T09:31:47.000Z | 2021-04-17T09:31:47.000Z | Cogs/Image_manipulation.py | AaalbatrossGuy/Delta-Discord-Bot | 04b21d41265bbca4b4b4af09277fb82623327b6c | [
"Apache-2.0"
] | 2 | 2021-05-10T06:10:31.000Z | 2021-05-10T06:10:51.000Z | Cogs/Image_manipulation.py | AaalbatrossGuy/Delta-Discord-Bot | 04b21d41265bbca4b4b4af09277fb82623327b6c | [
"Apache-2.0"
] | 1 | 2021-08-02T04:43:54.000Z | 2021-08-02T04:43:54.000Z | # Coding=UTF8
# !python
# !/usr/bin/env python3
import discord
import requests
from discord.ext import commands
from io import BytesIO
from PIL import Image, ImageOps, ImageFilter
from asyncdagpi import Client, ImageFeatures
class ImageManipulation(commands.Cog):
def __init__(self, client):
self.client =... | 50.992337 | 278 | 0.691637 | 1,721 | 13,309 | 5.248112 | 0.084253 | 0.034322 | 0.030115 | 0.044287 | 0.853078 | 0.848428 | 0.847874 | 0.847874 | 0.837135 | 0.831377 | 0 | 0.028999 | 0.181231 | 13,309 | 260 | 279 | 51.188462 | 0.799853 | 0.004133 | 0 | 0.51269 | 0 | 0.005076 | 0.17858 | 0.041965 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010152 | false | 0 | 0.030457 | 0 | 0.045685 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
483fd9b56b25aa6f8be62034b345311e1625c4ba | 52 | py | Python | vcst/__init__.py | crdavis12/vcst | a826fb33251e774247a9a99e308479dcfa51ccc5 | [
"MIT"
] | 4 | 2021-02-15T22:30:11.000Z | 2021-02-16T13:46:57.000Z | vcst/__init__.py | crdavis12/vcst | a826fb33251e774247a9a99e308479dcfa51ccc5 | [
"MIT"
] | null | null | null | vcst/__init__.py | crdavis12/vcst | a826fb33251e774247a9a99e308479dcfa51ccc5 | [
"MIT"
] | 1 | 2021-08-13T19:57:56.000Z | 2021-08-13T19:57:56.000Z | from vcst.ui import VCST
import vcst.monkey_patching | 26 | 27 | 0.865385 | 9 | 52 | 4.888889 | 0.666667 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 52 | 2 | 27 | 26 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6fa5822bcab1f027d71366f0cf4cad546814103c | 24 | py | Python | SAPLogger/__init__.py | jduncan8142/sap_gui_robot_framework | 01fd8f59548afd643f37009967a8a5183654fe12 | [
"MIT"
] | null | null | null | SAPLogger/__init__.py | jduncan8142/sap_gui_robot_framework | 01fd8f59548afd643f37009967a8a5183654fe12 | [
"MIT"
] | null | null | null | SAPLogger/__init__.py | jduncan8142/sap_gui_robot_framework | 01fd8f59548afd643f37009967a8a5183654fe12 | [
"MIT"
] | null | null | null | from .SapLogger import * | 24 | 24 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5169f2f260c1e9de38741bd0b6a62e4852fe38c | 1,067 | py | Python | venv/lib/python2.7/sre_constants.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | venv/lib/python2.7/sre_constants.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | venv/lib/python2.7/sre_constants.py | sunlum/Deep-Semantic-Space-NST | 468ac2590385f48e65df12c1a3c9db0ed8d49477 | [
"MIT"
] | null | null | null | XSym
0041
b52d6938687953531e13366cf0e53e25
/anaconda2/lib/python2.7/sre_constants.py
... | 213.4 | 982 | 0.070291 | 10 | 1,067 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.395062 | 0.924086 | 1,067 | 5 | 982 | 213.4 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d211c79c0804d5dfc97de98de689e8ed18629374 | 99 | py | Python | utils/losses/__init__.py | ozcell/pytorch-auto-drive | f1c2fd223cf7d307a3968fe671d0271b03ced39c | [
"BSD-3-Clause"
] | 292 | 2020-10-14T01:04:22.000Z | 2022-03-31T15:34:59.000Z | utils/losses/__init__.py | ozcell/pytorch-auto-drive | f1c2fd223cf7d307a3968fe671d0271b03ced39c | [
"BSD-3-Clause"
] | 33 | 2021-02-17T03:41:16.000Z | 2022-03-19T12:39:41.000Z | utils/losses/__init__.py | ozcell/pytorch-auto-drive | f1c2fd223cf7d307a3968fe671d0271b03ced39c | [
"BSD-3-Clause"
] | 48 | 2020-11-09T05:54:46.000Z | 2022-03-31T10:32:55.000Z | # Implementation based on pytorch 1.6.0
from .lane_seg_loss import *
from .hungarian_loss import *
| 24.75 | 39 | 0.787879 | 16 | 99 | 4.6875 | 0.8125 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.141414 | 99 | 3 | 40 | 33 | 0.847059 | 0.373737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d27dacc7d465c145745fafd2546a33134903d7b6 | 8,911 | py | Python | tests/core/pyspec/eth2spec/test/phase1/sanity/test_shard_blocks.py | barnabemonnot/eth2.0-specs | 5e83e60a594c1d855d1396b8e25fbf43af913577 | [
"CC0-1.0"
] | null | null | null | tests/core/pyspec/eth2spec/test/phase1/sanity/test_shard_blocks.py | barnabemonnot/eth2.0-specs | 5e83e60a594c1d855d1396b8e25fbf43af913577 | [
"CC0-1.0"
] | null | null | null | tests/core/pyspec/eth2spec/test/phase1/sanity/test_shard_blocks.py | barnabemonnot/eth2.0-specs | 5e83e60a594c1d855d1396b8e25fbf43af913577 | [
"CC0-1.0"
] | null | null | null | from eth2spec.test.context import (
PHASE0,
ALTAIR,
always_bls,
expect_assertion_error,
spec_state_test,
with_all_phases_except,
only_full_crosslink,
)
from eth2spec.test.helpers.shard_block import (
build_shard_block,
sign_shard_block,
)
from eth2spec.test.helpers.state import next_... | 35.361111 | 118 | 0.7787 | 1,282 | 8,911 | 4.968019 | 0.074883 | 0.145078 | 0.108023 | 0.078505 | 0.803737 | 0.778772 | 0.769352 | 0.769352 | 0.767624 | 0.754279 | 0 | 0.006649 | 0.139266 | 8,911 | 251 | 119 | 35.501992 | 0.823729 | 0.018068 | 0 | 0.583784 | 0 | 0 | 0.006411 | 0 | 0 | 0 | 0 | 0 | 0.037838 | 1 | 0.064865 | false | 0 | 0.016216 | 0 | 0.086486 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96315b12a6b1544dbfafc54f1e0e11bc632fc8c1 | 2,876 | py | Python | tests/test_mp3_compression.py | jeongyoonlee/audiomentations | 7f0112ae310989430e0ef7eb32c4116114810966 | [
"MIT"
] | 930 | 2019-02-14T10:21:22.000Z | 2022-03-31T03:49:48.000Z | tests/test_mp3_compression.py | jeongyoonlee/audiomentations | 7f0112ae310989430e0ef7eb32c4116114810966 | [
"MIT"
] | 169 | 2019-02-12T21:16:14.000Z | 2022-03-18T07:53:43.000Z | tests/test_mp3_compression.py | jeongyoonlee/audiomentations | 7f0112ae310989430e0ef7eb32c4116114810966 | [
"MIT"
] | 122 | 2019-02-26T05:12:45.000Z | 2022-03-24T08:45:51.000Z | import unittest
import numpy as np
from audiomentations.augmentations.transforms import Mp3Compression
from audiomentations.core.composition import Compose
class TestMp3Compression(unittest.TestCase):
def test_apply_mp3_compression_pydub(self):
sample_len = 44100
samples_in = np.random.normal(0,... | 40.507042 | 86 | 0.695758 | 353 | 2,876 | 5.407932 | 0.181303 | 0.075432 | 0.054479 | 0.079623 | 0.857517 | 0.843897 | 0.843897 | 0.75275 | 0.75275 | 0.75275 | 0 | 0.054434 | 0.207928 | 2,876 | 70 | 87 | 41.085714 | 0.783582 | 0 | 0 | 0.625 | 0 | 0 | 0.008345 | 0 | 0 | 0 | 0 | 0 | 0.267857 | 1 | 0.089286 | false | 0 | 0.071429 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9669d55e7e8184ccd1b231f9091711578c491c29 | 74,121 | py | Python | plotGAN.py | spagliarini/canary-vocal-sensorimotor-model | 36eedd6e8a690526cfcdcd416d9d6ff65643098d | [
"MIT"
] | null | null | null | plotGAN.py | spagliarini/canary-vocal-sensorimotor-model | 36eedd6e8a690526cfcdcd416d9d6ff65643098d | [
"MIT"
] | null | null | null | plotGAN.py | spagliarini/canary-vocal-sensorimotor-model | 36eedd6e8a690526cfcdcd416d9d6ff65643098d | [
"MIT"
] | 1 | 2021-12-08T16:13:44.000Z | 2021-12-08T16:13:44.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue 26 March 18:44:45 2020
@author: Mnemosyne
Vocal learning model results (plots of)
"""
import os
import time
import glob
import pickle
import numpy as np
import matplotlib
import librosa
from matplotlib import rcParams, cm, colors
import matplotlib.pyplot as plt
import matpl... | 56.237481 | 281 | 0.490104 | 9,973 | 74,121 | 3.468264 | 0.049333 | 0.023418 | 0.034346 | 0.033797 | 0.832374 | 0.813843 | 0.790974 | 0.77594 | 0.758738 | 0.745295 | 0 | 0.03641 | 0.350441 | 74,121 | 1,318 | 282 | 56.237481 | 0.682009 | 0.108863 | 0 | 0.607685 | 0 | 0 | 0.080228 | 0.005863 | 0 | 0 | 0 | 0.001517 | 0 | 1 | 0.011122 | false | 0 | 0.016178 | 0 | 0.032356 | 0.013145 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
73a65b4dfefc648d870a970500e2a59002724788 | 4,201 | py | Python | test/PR_test/integration_test/trace/io/test_restore_wizard.py | hanskrupakar/fastestimator | 1c3fe89ad8b012991b524a6c48f328b2a80dc9f6 | [
"Apache-2.0"
] | null | null | null | test/PR_test/integration_test/trace/io/test_restore_wizard.py | hanskrupakar/fastestimator | 1c3fe89ad8b012991b524a6c48f328b2a80dc9f6 | [
"Apache-2.0"
] | null | null | null | test/PR_test/integration_test/trace/io/test_restore_wizard.py | hanskrupakar/fastestimator | 1c3fe89ad8b012991b524a6c48f328b2a80dc9f6 | [
"Apache-2.0"
] | null | null | null | import os
import shutil
import tempfile
import unittest
import fastestimator as fe
from fastestimator.backend.load_model import load_model
from fastestimator.backend.save_model import save_model
from fastestimator.test.unittest_util import sample_system_object, sample_system_object_torch
from fastestimator.trace.io im... | 48.848837 | 118 | 0.721019 | 563 | 4,201 | 5.127886 | 0.134991 | 0.117077 | 0.101836 | 0.124697 | 0.80291 | 0.792865 | 0.792865 | 0.792865 | 0.792865 | 0.792865 | 0 | 0.002033 | 0.180195 | 4,201 | 85 | 119 | 49.423529 | 0.836237 | 0.004999 | 0 | 0.60274 | 0 | 0 | 0.080919 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 1 | 0.09589 | false | 0 | 0.136986 | 0 | 0.260274 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
73aea2e572ef9a68d42419fb03af520a2efe8100 | 41 | py | Python | Computable/Computable/Resources/python-lib/sympy/calculus/__init__.py | ktraunmueller/Computable | 5a6a872c4c0f5e122c24c321cd877a949877dcf7 | [
"MIT"
] | 26 | 2018-02-14T23:52:58.000Z | 2021-08-16T13:50:03.000Z | Computable/Computable/Resources/python-lib/sympy/calculus/__init__.py | preslavrachev/Computable | 2f802ff5a14628e425aae4ec14667d2f98c1fd75 | [
"MIT"
] | null | null | null | Computable/Computable/Resources/python-lib/sympy/calculus/__init__.py | preslavrachev/Computable | 2f802ff5a14628e425aae4ec14667d2f98c1fd75 | [
"MIT"
] | 10 | 2018-08-13T19:38:39.000Z | 2020-04-19T03:02:00.000Z | from .singularities import singularities
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb57efc4070ea7ba05c646ae9feda566148776b0 | 371 | py | Python | week6/task7.py | sdanil-ops/stepik-beegeek-python | 02302ab85d581962a82cbce766b7b284d4c5491e | [
"MIT"
] | null | null | null | week6/task7.py | sdanil-ops/stepik-beegeek-python | 02302ab85d581962a82cbce766b7b284d4c5491e | [
"MIT"
] | null | null | null | week6/task7.py | sdanil-ops/stepik-beegeek-python | 02302ab85d581962a82cbce766b7b284d4c5491e | [
"MIT"
] | 1 | 2021-08-18T00:58:27.000Z | 2021-08-18T00:58:27.000Z | # -----------------------------------------------------------
# Copyright (c) 2021. Danil Smirnov
# A positive real number is given. Print its fractional part.
# -----------------------------------------------------------
def get_fractional_part(number: float)-> float:
return float(number - (int(number ... | 46.375 | 64 | 0.466307 | 34 | 371 | 4.970588 | 0.647059 | 0.248521 | 0.201183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01548 | 0.12938 | 371 | 8 | 65 | 46.375 | 0.50774 | 0.598383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fb5f842e93d05e2246aadf7cee2315b4220eef60 | 169 | py | Python | Django/src/hello_world/views.py | D2MAC-dev/IT_academ | 142c92a6edfb5dc5563bcabf7b1f21f53065985c | [
"Apache-2.0"
] | null | null | null | Django/src/hello_world/views.py | D2MAC-dev/IT_academ | 142c92a6edfb5dc5563bcabf7b1f21f53065985c | [
"Apache-2.0"
] | null | null | null | Django/src/hello_world/views.py | D2MAC-dev/IT_academ | 142c92a6edfb5dc5563bcabf7b1f21f53065985c | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def hello_world(request):
return HttpResponse("Hello world!!!")
| 21.125 | 41 | 0.775148 | 22 | 169 | 5.909091 | 0.727273 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142012 | 169 | 7 | 42 | 24.142857 | 0.896552 | 0.136095 | 0 | 0 | 0 | 0 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
fb72bc1fbb2c39ea0b678134a07c8e0e1af31e9c | 71 | py | Python | tirelire-account/app/adapters/event_publisher/__init__.py | AgRenaud/tirelire | 0ac42dbf735dea4ecb741057bd037c18657b95c7 | [
"MIT"
] | null | null | null | tirelire-account/app/adapters/event_publisher/__init__.py | AgRenaud/tirelire | 0ac42dbf735dea4ecb741057bd037c18657b95c7 | [
"MIT"
] | null | null | null | tirelire-account/app/adapters/event_publisher/__init__.py | AgRenaud/tirelire | 0ac42dbf735dea4ecb741057bd037c18657b95c7 | [
"MIT"
] | null | null | null | from app.adapters.event_publisher.redis_event_publisher import publish
| 35.5 | 70 | 0.901408 | 10 | 71 | 6.1 | 0.8 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 71 | 1 | 71 | 71 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb81c2c0b62ec6d7e0241c523d5abe42ec980424 | 120 | py | Python | tests/test_utilities.py | ThePythonator/PyWire3D | 7ec008b983c1ee90b77ea2e03506e04633f000a4 | [
"MIT"
] | 2 | 2021-04-23T17:24:43.000Z | 2021-04-23T17:28:16.000Z | tests/test_utilities.py | ThePythonator/PyWire3D | 7ec008b983c1ee90b77ea2e03506e04633f000a4 | [
"MIT"
] | null | null | null | tests/test_utilities.py | ThePythonator/PyWire3D | 7ec008b983c1ee90b77ea2e03506e04633f000a4 | [
"MIT"
] | null | null | null | from PyWire3D.Utilities.Vector import add
def test_vector_add():
assert add([1,2,3], [2,4,5], [-2,-3,1]) == [1,3,9] | 30 | 54 | 0.625 | 24 | 120 | 3.041667 | 0.625 | 0.054795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.133333 | 120 | 4 | 54 | 30 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83aade3992f856e7b8b0e24aec67431b4fbfaa33 | 30,244 | py | Python | crds/tree_builders/python_tree_builder.py | philok55/CRDS | b7fc3a7f461505d0ba41a7da68da85c3055d98cf | [
"Apache-2.0"
] | null | null | null | crds/tree_builders/python_tree_builder.py | philok55/CRDS | b7fc3a7f461505d0ba41a7da68da85c3055d98cf | [
"Apache-2.0"
] | null | null | null | crds/tree_builders/python_tree_builder.py | philok55/CRDS | b7fc3a7f461505d0ba41a7da68da85c3055d98cf | [
"Apache-2.0"
] | null | null | null | """
Hashed Tree builder for the Python parser.
This is an ANTLR generated parse tree listener, adapted to
walk a Python parse tree, build our hashed AST and store
all its sub trees by size.
"""
from antlr4 import ParseTreeWalker
from antlr4.tree.Tree import TerminalNode
from parsers.python3.Python3Listener import Pyt... | 35.045191 | 91 | 0.721498 | 3,820 | 30,244 | 5.566492 | 0.098429 | 0.056622 | 0.159895 | 0.142212 | 0.838883 | 0.739748 | 0.730719 | 0.58893 | 0.558079 | 0.496802 | 0 | 0.014491 | 0.196832 | 30,244 | 862 | 92 | 35.085847 | 0.860895 | 0.357492 | 0 | 0.459103 | 1 | 0 | 0.000053 | 0 | 0 | 0 | 0 | 0 | 0.005277 | 1 | 0.461741 | false | 0.005277 | 0.039578 | 0 | 0.509235 | 0.005277 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
83c049ab482b64ac30ab3a754c27060c544e4954 | 34 | py | Python | example/__main__.py | evrom/python-package | d7d0daec13da4ade9b7d2c96097c19dff6ba187a | [
"BSD-2-Clause"
] | null | null | null | example/__main__.py | evrom/python-package | d7d0daec13da4ade9b7d2c96097c19dff6ba187a | [
"BSD-2-Clause"
] | null | null | null | example/__main__.py | evrom/python-package | d7d0daec13da4ade9b7d2c96097c19dff6ba187a | [
"BSD-2-Clause"
] | null | null | null | print('Hi from my first package')
| 17 | 33 | 0.735294 | 6 | 34 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
83da2d49fb344756ea7c7ddebc0dd9e0c0273252 | 135 | py | Python | py_cui/dialogs/__init__.py | ne-msft/py_cui | b4938dd2c23a422496af7e32a33c2dbfcb348719 | [
"BSD-3-Clause"
] | 654 | 2020-02-22T00:02:14.000Z | 2022-03-29T23:10:31.000Z | py_cui/dialogs/__init__.py | ne-msft/py_cui | b4938dd2c23a422496af7e32a33c2dbfcb348719 | [
"BSD-3-Clause"
] | 133 | 2020-01-28T15:41:05.000Z | 2022-03-22T19:05:38.000Z | py_cui/dialogs/__init__.py | ne-msft/py_cui | b4938dd2c23a422496af7e32a33c2dbfcb348719 | [
"BSD-3-Clause"
] | 68 | 2020-02-22T01:43:09.000Z | 2022-02-22T18:01:43.000Z | """A collection of modules containing dialog-style widgets and popups.
"""
import py_cui.dialogs.form
import py_cui.dialogs.filedialog | 27 | 70 | 0.807407 | 20 | 135 | 5.35 | 0.8 | 0.149533 | 0.205607 | 0.336449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103704 | 135 | 5 | 71 | 27 | 0.884298 | 0.496296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
83e639b31edf6be0c3d345a07a817355c6ce2dd6 | 3,008 | py | Python | backend/pharmacy/api/tests/setup/setup_auth_user.py | rahul007-bit/pharmaService | 73191f64569eae7c7851f5b7bf9187f3f01b7a6e | [
"MIT"
] | 4 | 2022-01-28T13:05:07.000Z | 2022-01-31T12:24:56.000Z | backend/pharmacy/api/tests/setup/setup_auth_user.py | rahul007-bit/pharmaService | 73191f64569eae7c7851f5b7bf9187f3f01b7a6e | [
"MIT"
] | 6 | 2022-01-30T11:53:31.000Z | 2022-02-02T06:17:30.000Z | backend/pharmacy/api/tests/setup/setup_auth_user.py | rahul007-bit/pharmaService | 73191f64569eae7c7851f5b7bf9187f3f01b7a6e | [
"MIT"
] | 3 | 2022-01-28T13:41:03.000Z | 2022-01-30T12:23:11.000Z | # Copyright (C) 2022 by YadavGulshan@Github, < https://github.com/YadavGulshan >.
#
# This file is part of < https://github.com/Yadavgulshan/PharmaService > project,
# and is released under the "BSD 3-Clause License Agreement".
# Please see < https://github.com/YadavGulshan/pharmaService/blob/master/LICENCE >
#
# All r... | 30.693878 | 88 | 0.563165 | 327 | 3,008 | 5.061162 | 0.259939 | 0.108761 | 0.072508 | 0.072508 | 0.760121 | 0.712991 | 0.712991 | 0.712991 | 0.712991 | 0.712991 | 0 | 0.002469 | 0.326795 | 3,008 | 97 | 89 | 31.010309 | 0.814815 | 0.106715 | 0 | 0.571429 | 0 | 0 | 0.126166 | 0.008212 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025974 | false | 0.12987 | 0.025974 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f7d0dd3863090191f908f62cc20def0a30669294 | 308 | py | Python | application/auth/__init__.py | anasabufarraj/hello_flask_fwd | b6f859e904353666542ad960299ad4a2650fc9e2 | [
"MIT"
] | null | null | null | application/auth/__init__.py | anasabufarraj/hello_flask_fwd | b6f859e904353666542ad960299ad4a2650fc9e2 | [
"MIT"
] | null | null | null | application/auth/__init__.py | anasabufarraj/hello_flask_fwd | b6f859e904353666542ad960299ad4a2650fc9e2 | [
"MIT"
] | null | null | null | # ------------------------------------------------------------------------------
# Copyright (c) 2020. Anas Abu Farraj.
# ------------------------------------------------------------------------------
"""Creating Authentication Blueprint."""
from flask import Blueprint
auth = Blueprint('auth', __name__)
| 34.222222 | 80 | 0.347403 | 17 | 308 | 6.058824 | 0.823529 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014134 | 0.081169 | 308 | 8 | 81 | 38.5 | 0.349823 | 0.75 | 0 | 0 | 0 | 0 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
f7dd7e7a72528d78876cf670ecc0742354eeb420 | 1,458 | py | Python | tests/vcf_tools/test_header_parser.py | Varstation/genmod | 991a0fca36936b5dde49a95e8ea1d4336288c7c0 | [
"MIT"
] | 46 | 2015-01-15T17:53:22.000Z | 2021-08-09T09:35:29.000Z | tests/vcf_tools/test_header_parser.py | Varstation/genmod | 991a0fca36936b5dde49a95e8ea1d4336288c7c0 | [
"MIT"
] | 55 | 2015-06-04T09:09:29.000Z | 2021-05-20T10:48:18.000Z | tests/vcf_tools/test_header_parser.py | moonso/genmod | 99b6c9510ffc67fd54c07eab24de5db7345ef95d | [
"MIT"
] | 15 | 2015-02-06T04:08:23.000Z | 2021-05-04T10:06:58.000Z | from genmod.vcf_tools.header_parser import HeaderParser
def test_parse_info():
## GIVEN a header object
head = HeaderParser()
assert 'MQ' not in head.info_dict
info_line = '##INFO=<ID=MQ,Number=1,Type=Float,Description="RMS Mapping Quality">'
## WHEN parsing a correct info line
head.parse_... | 29.16 | 86 | 0.677641 | 217 | 1,458 | 4.382488 | 0.225806 | 0.050473 | 0.07571 | 0.100946 | 0.801262 | 0.778128 | 0.778128 | 0.736067 | 0.736067 | 0.736067 | 0 | 0.020463 | 0.229081 | 1,458 | 50 | 87 | 29.16 | 0.825623 | 0.254458 | 0 | 0.52 | 0 | 0.04 | 0.156162 | 0.11571 | 0 | 0 | 0 | 0 | 0.32 | 1 | 0.16 | false | 0 | 0.04 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7e0d763e95c2c91a6c97fb6e9894ca38163437c | 39,667 | py | Python | tests/python/extra/dummy_test_data.py | scottdonaldau/ledger-qrl | 7a3b933b84065b9db2b775d50205efcdbed2399e | [
"Apache-2.0"
] | 2 | 2018-05-28T15:26:21.000Z | 2018-11-19T08:31:17.000Z | tests/python/extra/dummy_test_data.py | scottdonaldau/ledger-qrl | 7a3b933b84065b9db2b775d50205efcdbed2399e | [
"Apache-2.0"
] | null | null | null | tests/python/extra/dummy_test_data.py | scottdonaldau/ledger-qrl | 7a3b933b84065b9db2b775d50205efcdbed2399e | [
"Apache-2.0"
] | 6 | 2018-11-15T10:38:47.000Z | 2022-03-14T19:51:05.000Z | from pyledgerqrl.ledgerqrl import *
# DUMMY TEST DATA FOR SEED EQUAL TO ALL ZEROS
expected_leafs_zeroseed = [
b"98E68D7AB40D358B5B0F4DF4C86AAE78B444BD50248C02773CF1965FAEA092AE",
b"702AA3E3184702E7AE6BE645D70F089B1E9793F656FF9515603B5C483867ACAD",
b"C1B09D5C9065BD06323C60FF0DB2ADB00D552D4C4CEC84F956C8D105... | 65.673841 | 89 | 0.837623 | 1,102 | 39,667 | 30.033575 | 0.516334 | 0.006979 | 0.004441 | 0.003807 | 0.03674 | 0.028039 | 0.001752 | 0.001752 | 0.001752 | 0 | 0 | 0.54434 | 0.086898 | 39,667 | 603 | 90 | 65.782753 | 0.369437 | 0.004765 | 0 | 0.023636 | 0 | 0 | 0.820105 | 0.818431 | 0 | 1 | 0 | 0 | 0.012727 | 1 | 0.001818 | false | 0 | 0.001818 | 0 | 0.003636 | 0.021818 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7f08b52b4286a44491bc14d9f0e9a3ab181ec80 | 25,514 | py | Python | cvlib/nn/instconv2d.py | AaronLeong/cvlib | 5afe9804df2c162d8132f18ad0d9c9f7c2220dd0 | [
"BSD-3-Clause"
] | null | null | null | cvlib/nn/instconv2d.py | AaronLeong/cvlib | 5afe9804df2c162d8132f18ad0d9c9f7c2220dd0 | [
"BSD-3-Clause"
] | null | null | null | cvlib/nn/instconv2d.py | AaronLeong/cvlib | 5afe9804df2c162d8132f18ad0d9c9f7c2220dd0 | [
"BSD-3-Clause"
] | null | null | null | # coding=utf-8
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.nn.parameter import Parameter
from torch.nn.modules import conv
from torch.nn.modules.utils import _pair
class InstConv2d(conv._ConvNd):
r"""Applies a 2D convolution over an input signal composed of several input
pla... | 43.613675 | 140 | 0.625735 | 3,508 | 25,514 | 4.401368 | 0.083238 | 0.038212 | 0.018459 | 0.019041 | 0.906153 | 0.884585 | 0.87513 | 0.872474 | 0.865933 | 0.865609 | 0 | 0.013936 | 0.257506 | 25,514 | 584 | 141 | 43.688356 | 0.801098 | 0.617778 | 0 | 0.60241 | 0 | 0 | 0.01563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.126506 | false | 0 | 0.042169 | 0.006024 | 0.259036 | 0.018072 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7f5886c92cc4500bda948ea7952ec1d46de279f | 961 | py | Python | Examples/Demos.py | SimpleITK/SimpleITK-MICCAI-2011-Tutorial | c8cffa8888fda71b9e4f2fdb3e10c2c66dba8371 | [
"CC-BY-3.0"
] | 25 | 2015-03-08T16:24:13.000Z | 2021-07-23T02:44:04.000Z | Examples/Demos.py | SimpleITK/SimpleITK-MICCAI-2011-Tutorial | c8cffa8888fda71b9e4f2fdb3e10c2c66dba8371 | [
"CC-BY-3.0"
] | null | null | null | Examples/Demos.py | SimpleITK/SimpleITK-MICCAI-2011-Tutorial | c8cffa8888fda71b9e4f2fdb3e10c2c66dba8371 | [
"CC-BY-3.0"
] | 4 | 2015-01-29T21:29:40.000Z | 2022-03-11T08:14:07.000Z | import IPython.lib.demo as ipd
# To use, run ipython, then
#
# In [1]: %run Demos.py
# In [2]: d = ImageDemo()
# In [3]: d()
# In [4]: d()
def ImageDemo ():
return ipd.ClearIPDemo ( 'BasicTutorial1/Image.py' )
def InputOutputDemo ():
return ipd.ClearIPDemo ( 'BasicTutorial1/InputOutput.py' )
def MemoryManag... | 25.972973 | 76 | 0.712799 | 104 | 961 | 6.586538 | 0.442308 | 0.118248 | 0.262774 | 0.227737 | 0.179562 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 0.155047 | 961 | 36 | 77 | 26.694444 | 0.817734 | 0.098855 | 0 | 0 | 0 | 0 | 0.342657 | 0.342657 | 0 | 0 | 0 | 0 | 0 | 1 | 0.473684 | true | 0 | 0.052632 | 0.473684 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f71db1164a4a62b58d179f38b09f4c707a5ebaf0 | 107 | py | Python | ckanext-hdx_service_checker/ckanext/hdx_service_checker/tests/test_plugin.py | alexandru-m-g/hdx-ckan | 647f1f23f0505fa195601245b758edcaf4d25985 | [
"Apache-2.0"
] | 1 | 2020-03-07T02:47:15.000Z | 2020-03-07T02:47:15.000Z | ckanext-hdx_service_checker/ckanext/hdx_service_checker/tests/test_plugin.py | datopian/hdx-ckan | 2d8871c035a18e48b53859fec522b997b500afe9 | [
"Apache-2.0"
] | null | null | null | ckanext-hdx_service_checker/ckanext/hdx_service_checker/tests/test_plugin.py | datopian/hdx-ckan | 2d8871c035a18e48b53859fec522b997b500afe9 | [
"Apache-2.0"
] | null | null | null | """Tests for plugin.py."""
import ckanext.hdx_service_checker.plugin as plugin
def test_plugin():
pass | 21.4 | 51 | 0.747664 | 16 | 107 | 4.8125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 107 | 5 | 52 | 21.4 | 0.827957 | 0.186916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
f75bfc6bd70d285e8df66e56086560c9c887971c | 30,707 | py | Python | tests/test_actionAngleTorus.py | turnergarrow/galpy | 7132eddbf2dab491fe137790e31eacdc604b0534 | [
"BSD-3-Clause"
] | null | null | null | tests/test_actionAngleTorus.py | turnergarrow/galpy | 7132eddbf2dab491fe137790e31eacdc604b0534 | [
"BSD-3-Clause"
] | null | null | null | tests/test_actionAngleTorus.py | turnergarrow/galpy | 7132eddbf2dab491fe137790e31eacdc604b0534 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function, division
import os
import sys
import pytest
import warnings
import numpy
from galpy.util import galpyWarning
from test_actionAngle import reset_warning_registry
_TRAVIS= bool(os.getenv('TRAVIS'))
PY2= sys.version < '3'
# Print all galpyWarnings always for tests of warnings
warning... | 52.851979 | 184 | 0.702055 | 4,291 | 30,707 | 5.001631 | 0.083197 | 0.023483 | 0.017147 | 0.024788 | 0.825552 | 0.784922 | 0.765819 | 0.758317 | 0.736138 | 0.704128 | 0 | 0.038165 | 0.175725 | 30,707 | 580 | 185 | 52.943103 | 0.809767 | 0.098023 | 0 | 0.607214 | 0 | 0.01002 | 0.256921 | 0.01281 | 0 | 0 | 0 | 0 | 0.154309 | 1 | 0.044088 | false | 0.006012 | 0.108216 | 0 | 0.196393 | 0.002004 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f76921b09cc5b8f3074a2c1583e0b02cc663632b | 945 | py | Python | tests/test_kernel.py | fallenpegasus/reconbf | bfd15bef549f011a3de885c3267d4f718223b798 | [
"Apache-2.0"
] | 45 | 2016-08-12T21:37:25.000Z | 2022-03-29T00:21:29.000Z | tests/test_kernel.py | fallenpegasus/reconbf | bfd15bef549f011a3de885c3267d4f718223b798 | [
"Apache-2.0"
] | 20 | 2016-08-11T07:42:28.000Z | 2016-09-09T13:33:47.000Z | tests/test_kernel.py | fallenpegasus/reconbf | bfd15bef549f011a3de885c3267d4f718223b798 | [
"Apache-2.0"
] | 6 | 2016-08-25T06:31:38.000Z | 2019-09-11T04:29:36.000Z | from reconbf.modules import test_kernel
from reconbf.lib.result import Result
from reconbf.lib import utils
import unittest
from mock import patch
class PtraceScope(unittest.TestCase):
def test_no_yama(self):
with patch.object(utils, 'kconfig_option', return_value=None):
res = test_kernel.tes... | 36.346154 | 75 | 0.688889 | 125 | 945 | 4.984 | 0.304 | 0.072231 | 0.120385 | 0.160514 | 0.70947 | 0.70947 | 0.70947 | 0.70947 | 0.70947 | 0.632424 | 0 | 0.005326 | 0.205291 | 945 | 25 | 76 | 37.8 | 0.824234 | 0 | 0 | 0.35 | 0 | 0 | 0.08254 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.15 | false | 0.05 | 0.25 | 0 | 0.45 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f78f99f6aaf73533d37148d0695f552552389b54 | 113 | py | Python | tf/__init__.py | HarshCasper/MNIST-Digit-Recognition | 41312669b226ee2045c6d5a16b600388fb0d18c8 | [
"MIT"
] | 2 | 2020-04-18T18:29:43.000Z | 2020-07-07T15:16:00.000Z | tf/__init__.py | HarshCasper/MNIST-Digit-Recognition | 41312669b226ee2045c6d5a16b600388fb0d18c8 | [
"MIT"
] | null | null | null | tf/__init__.py | HarshCasper/MNIST-Digit-Recognition | 41312669b226ee2045c6d5a16b600388fb0d18c8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .softmax import *
from .sigmoid import *
from .relu import *
from .conv2d import *
| 16.142857 | 23 | 0.654867 | 15 | 113 | 4.933333 | 0.6 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.19469 | 113 | 6 | 24 | 18.833333 | 0.791209 | 0.185841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3e87024eb05a79734ec071ee7c7fda2f89b05ee | 7,916 | py | Python | tests/io_components/test_mutate.py | detritus3872/kartothek | e4155e4ec72decd6d5ee67d6258f7683cc690c01 | [
"MIT"
] | 171 | 2019-05-02T15:47:20.000Z | 2022-02-17T15:12:15.000Z | tests/io_components/test_mutate.py | detritus3872/kartothek | e4155e4ec72decd6d5ee67d6258f7683cc690c01 | [
"MIT"
] | 414 | 2019-05-03T09:24:26.000Z | 2022-03-30T21:02:40.000Z | tests/io_components/test_mutate.py | detritus3872/kartothek | e4155e4ec72decd6d5ee67d6258f7683cc690c01 | [
"MIT"
] | 57 | 2019-05-03T08:00:18.000Z | 2022-02-16T18:38:22.000Z | import types
import pandas as pd
import pytest
from kartothek.io_components.merge import align_datasets
from kartothek.io_components.metapartition import MetaPartition
from kartothek.io_components.write import store_dataset_from_partitions
def test_align_datasets_prefix(dataset, evaluation_dataset, store_session):
... | 33.685106 | 88 | 0.674962 | 1,043 | 7,916 | 4.85139 | 0.100671 | 0.06166 | 0.043478 | 0.052174 | 0.83913 | 0.790514 | 0.775494 | 0.775494 | 0.759684 | 0.759684 | 0 | 0.019601 | 0.220187 | 7,916 | 234 | 89 | 33.82906 | 0.800097 | 0.073648 | 0 | 0.62069 | 0 | 0 | 0.066931 | 0.006022 | 0 | 0 | 0 | 0 | 0.218391 | 1 | 0.045977 | false | 0 | 0.034483 | 0.005747 | 0.086207 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e3f2bf8f47196536debc8420c88881d7e6cae895 | 456 | py | Python | src/pyyso/yso/__init__.py | cokeBeer/pyyso | c29171a5d2aea0d0c524fec4d8d6d0a1084f659f | [
"MIT"
] | 2 | 2022-03-18T15:17:25.000Z | 2022-03-19T05:21:30.000Z | src/pyyso/yso/__init__.py | cokeBeer/pyyso | c29171a5d2aea0d0c524fec4d8d6d0a1084f659f | [
"MIT"
] | null | null | null | src/pyyso/yso/__init__.py | cokeBeer/pyyso | c29171a5d2aea0d0c524fec4d8d6d0a1084f659f | [
"MIT"
] | null | null | null | from pyyso.yso.urldns import *
from pyyso.yso.cc1 import *
from pyyso.yso.cc2 import *
from pyyso.yso.cc3 import *
from pyyso.yso.cc4 import *
from pyyso.yso.cc5 import *
from pyyso.yso.cc6 import *
from pyyso.yso.cc7 import *
from pyyso.yso.jdk7u21 import *
from pyyso.yso.jdk8u20 import *
from pyyso.yso.clazz import *... | 28.5 | 35 | 0.769737 | 75 | 456 | 4.68 | 0.253333 | 0.384615 | 0.512821 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05303 | 0.131579 | 456 | 15 | 36 | 30.4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3fc58384246a573c015a511a9234fc0c7928832 | 167 | py | Python | augur/datasources/librariesio/test_librariesio_routes.py | parthsharma2/augur | 6d59c8c80f3c21eb97bfa4ea4817908ea9a7d10b | [
"MIT"
] | null | null | null | augur/datasources/librariesio/test_librariesio_routes.py | parthsharma2/augur | 6d59c8c80f3c21eb97bfa4ea4817908ea9a7d10b | [
"MIT"
] | null | null | null | augur/datasources/librariesio/test_librariesio_routes.py | parthsharma2/augur | 6d59c8c80f3c21eb97bfa4ea4817908ea9a7d10b | [
"MIT"
] | null | null | null | import os
import subprocess
import time
from subprocess import Popen
import pytest
import requests
@pytest.fixture(scope="module")
def librariesio_routes():
pass
| 15.181818 | 31 | 0.802395 | 22 | 167 | 6.045455 | 0.681818 | 0.240602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137725 | 167 | 10 | 32 | 16.7 | 0.923611 | 0 | 0 | 0 | 0 | 0 | 0.035928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0.111111 | 0.666667 | 0 | 0.777778 | 0 | 1 | 0 | 0 | null | 1 | 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 | 6 |
5402130600a0e28b26913b99d370aabe9e2fed9f | 52,837 | py | Python | tests/integration/individual_response/test_individual_response.py | pricem14pc/eq-questionnaire-runner | 54cc2947ba181a2673ea1fb7cf6b4acdd609e06b | [
"MIT"
] | null | null | null | tests/integration/individual_response/test_individual_response.py | pricem14pc/eq-questionnaire-runner | 54cc2947ba181a2673ea1fb7cf6b4acdd609e06b | [
"MIT"
] | null | null | null | tests/integration/individual_response/test_individual_response.py | pricem14pc/eq-questionnaire-runner | 54cc2947ba181a2673ea1fb7cf6b4acdd609e06b | [
"MIT"
] | null | null | null | # pylint: disable=too-many-lines
from datetime import datetime
from unittest.mock import MagicMock
from freezegun import freeze_time
from app import settings
from app.publisher.exceptions import PublicationFailed
from tests.integration.integration_test_case import IntegrationTestCase
from tests.integration.questionna... | 39.637659 | 127 | 0.671461 | 6,728 | 52,837 | 5.074019 | 0.060939 | 0.141836 | 0.034155 | 0.065206 | 0.818911 | 0.785078 | 0.75807 | 0.723329 | 0.711729 | 0.69178 | 0 | 0.007563 | 0.23423 | 52,837 | 1,332 | 128 | 39.667417 | 0.836163 | 0.210459 | 0 | 0.659781 | 0 | 0.001215 | 0.222731 | 0.095429 | 0 | 0 | 0 | 0 | 0.153098 | 1 | 0.110571 | false | 0 | 0.008505 | 0.001215 | 0.140948 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
541b582501eb8c7c56389c1228d23d8bad8881c5 | 188 | py | Python | api_site/src/api_x/main/entry/__init__.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | 1 | 2019-10-14T11:51:49.000Z | 2019-10-14T11:51:49.000Z | api_site/src/api_x/main/entry/__init__.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | null | null | null | api_site/src/api_x/main/entry/__init__.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | null | null | null | # coding=utf-8
from __future__ import unicode_literals
from flask import Blueprint
main_entry_mod = Blueprint('main_entry', __name__)
from . import views, test_views, deprecated_views
| 18.8 | 50 | 0.808511 | 26 | 188 | 5.307692 | 0.653846 | 0.188406 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.12766 | 188 | 9 | 51 | 20.888889 | 0.835366 | 0.06383 | 0 | 0 | 0 | 0 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
542b6cb8288823e49189371343d114fbb3d34d58 | 220 | py | Python | tests/test_problem24.py | nolanwrightdev/blind-75-python | b92ef3449eb0143c760ddd339897a3f0a2972830 | [
"MIT"
] | 6 | 2020-02-01T23:29:51.000Z | 2022-02-20T20:46:56.000Z | tests/test_problem24.py | nolanwrightdev/blind-75-python | b92ef3449eb0143c760ddd339897a3f0a2972830 | [
"MIT"
] | null | null | null | tests/test_problem24.py | nolanwrightdev/blind-75-python | b92ef3449eb0143c760ddd339897a3f0a2972830 | [
"MIT"
] | null | null | null | import unittest
from problems.problem24 import solution
class Test(unittest.TestCase):
def test(self):
self.assertEqual(solution('12'), 2)
self.assertEqual(solution('226'), 3)
self.assertEqual(solution('0'), 0)
| 22 | 39 | 0.740909 | 29 | 220 | 5.62069 | 0.586207 | 0.276074 | 0.423313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05641 | 0.113636 | 220 | 9 | 40 | 24.444444 | 0.779487 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
54399b963c0c9a223b698f49c60bab45455528d2 | 73 | py | Python | py_tdlib/constructors/chat_report_reason_violence.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/chat_report_reason_violence.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/chat_report_reason_violence.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class chatReportReasonViolence(Type):
pass
| 12.166667 | 37 | 0.794521 | 8 | 73 | 7.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 5 | 38 | 14.6 | 0.920635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
548abe7e98cffb39f722271730234948a6d2f87a | 21 | py | Python | iahr/commands/audio/__init__.py | B1Z0N/iahr | 0f198a47406726c08018afb17f13ff8c31244eff | [
"MIT"
] | 8 | 2020-07-10T08:09:21.000Z | 2021-06-01T23:47:29.000Z | iahr/commands/audio/__init__.py | B1Z0N/iahr | 0f198a47406726c08018afb17f13ff8c31244eff | [
"MIT"
] | 1 | 2022-03-12T00:40:59.000Z | 2022-03-12T00:40:59.000Z | iahr/commands/audio/__init__.py | B1Z0N/iahr | 0f198a47406726c08018afb17f13ff8c31244eff | [
"MIT"
] | null | null | null | from . import audio
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 1 | 21 | 21 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54b4d7364a58c6cb23342efcec304c441ccc9d06 | 161 | py | Python | trains/multiTask/__init__.py | iyuge2/MMSA | e17a012b07609662a4bdfac8cb8e1f92a9297b41 | [
"Apache-2.0"
] | 3 | 2020-07-06T06:32:16.000Z | 2021-12-13T12:59:34.000Z | trains/multiTask/__init__.py | iyuge2/MMSA | e17a012b07609662a4bdfac8cb8e1f92a9297b41 | [
"Apache-2.0"
] | null | null | null | trains/multiTask/__init__.py | iyuge2/MMSA | e17a012b07609662a4bdfac8cb8e1f92a9297b41 | [
"Apache-2.0"
] | null | null | null | from trains.multiTask.MLF_DNN import MLF_DNN
from trains.multiTask.MLMF import MLMF
from trains.multiTask.MTFN import MTFN
__all__ = ['MLF_DNN', 'MLMF', 'MTFN'] | 32.2 | 44 | 0.78882 | 25 | 161 | 4.8 | 0.36 | 0.25 | 0.475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10559 | 161 | 5 | 45 | 32.2 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54b6427b3b82ae3c308aa98363f37b6f147255fd | 33 | py | Python | cortext_word/__init__.py | kodki/cortext-word | a87121eb629f154dc4a4948de9053326941b3e36 | [
"MIT"
] | null | null | null | cortext_word/__init__.py | kodki/cortext-word | a87121eb629f154dc4a4948de9053326941b3e36 | [
"MIT"
] | null | null | null | cortext_word/__init__.py | kodki/cortext-word | a87121eb629f154dc4a4948de9053326941b3e36 | [
"MIT"
] | null | null | null | def classify(word):
return word
| 11 | 19 | 0.757576 | 5 | 33 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 2 | 20 | 16.5 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b7228a1efd29b5ca5ed9bb4453776a19b638e568 | 11,858 | py | Python | fexm/test/test_fuzzer.py | fgsect/fexm | cf213c9dea3778c09c1d475e6a16b9db78a6f1e6 | [
"Apache-2.0"
] | 105 | 2018-08-09T22:13:59.000Z | 2022-03-26T23:24:20.000Z | fexm/test/test_fuzzer.py | DeadManINDIA/fexm | ca6629bbcbf79639871d3ec52bc2a7de9ae453a4 | [
"Apache-2.0"
] | 13 | 2018-08-23T13:40:04.000Z | 2022-03-11T23:28:00.000Z | fexm/test/test_fuzzer.py | DeadManINDIA/fexm | ca6629bbcbf79639871d3ec52bc2a7de9ae453a4 | [
"Apache-2.0"
] | 25 | 2018-08-09T21:56:12.000Z | 2022-03-22T22:08:12.000Z | import json
import unittest
import unittest.mock
import sys
from unittest import mock
import sys
import os
from helpers import utils
sys.path.insert(0, os.path.abspath(os.path.join(os.getcwd(), "configfinder/")))
sys.modules[
'configfinder.builder'] = unittest.mock.Mock() # Mocking builder like so:https://stacko... | 61.123711 | 198 | 0.595126 | 1,351 | 11,858 | 4.928942 | 0.11399 | 0.066076 | 0.048656 | 0.0434 | 0.814987 | 0.78225 | 0.759874 | 0.759874 | 0.759874 | 0.74816 | 0 | 0.007698 | 0.29887 | 11,858 | 194 | 199 | 61.123711 | 0.79324 | 0.018975 | 0 | 0.280702 | 0 | 0 | 0.157788 | 0.096089 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.070175 | false | 0 | 0.22807 | 0 | 0.315789 | 0.017544 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f7a298261c96532b28c2a43e1fbbc4c431d4a60 | 145 | py | Python | python/confuse-newbs-with-bad-python.py | vcokltfre/examples-of-horrible-code | a856f03592afa9fd00e2f7349d05c9dc5dd1449b | [
"MIT"
] | null | null | null | python/confuse-newbs-with-bad-python.py | vcokltfre/examples-of-horrible-code | a856f03592afa9fd00e2f7349d05c9dc5dd1449b | [
"MIT"
] | null | null | null | python/confuse-newbs-with-bad-python.py | vcokltfre/examples-of-horrible-code | a856f03592afa9fd00e2f7349d05c9dc5dd1449b | [
"MIT"
] | null | null | null | print("Take an umbrella") if __import__("re").match(r"^y$", input("Is it raining? "), __import__("re").IGNORECASE) else print("Have a nice day")
| 72.5 | 144 | 0.682759 | 23 | 145 | 3.956522 | 0.869565 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 145 | 1 | 145 | 145 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.365517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
3f9b44ed051aad9e930ad59af5d8db1eaed5f11a | 1,484 | py | Python | catalyst/data/cv/mixins/tests/test_mixin.py | elephantmipt/catalyst | 6c706e4859ed7c58e5e6a5b7634176bffd0e2465 | [
"Apache-2.0"
] | 2 | 2019-04-19T21:34:31.000Z | 2019-05-02T22:50:25.000Z | catalyst/data/cv/mixins/tests/test_mixin.py | elephantmipt/catalyst | 6c706e4859ed7c58e5e6a5b7634176bffd0e2465 | [
"Apache-2.0"
] | null | null | null | catalyst/data/cv/mixins/tests/test_mixin.py | elephantmipt/catalyst | 6c706e4859ed7c58e5e6a5b7634176bffd0e2465 | [
"Apache-2.0"
] | 1 | 2020-12-02T18:42:31.000Z | 2020-12-02T18:42:31.000Z | from catalyst import utils
from catalyst.data.cv import BlurMixin, FlareMixin, RotateMixin
jpg_rgb_uri = (
"https://raw.githubusercontent.com/catalyst-team/catalyst-pics/master"
"/test_images/catalyst_icon.jpg"
)
image = utils.imread(jpg_rgb_uri)
def test_blur_mixin():
"""@TODO: Docs. Contribution is we... | 25.586207 | 74 | 0.690027 | 198 | 1,484 | 5 | 0.242424 | 0.081818 | 0.084848 | 0.10303 | 0.724242 | 0.724242 | 0.724242 | 0.724242 | 0.724242 | 0.724242 | 0 | 0.010924 | 0.198113 | 1,484 | 57 | 75 | 26.035088 | 0.821008 | 0.1031 | 0 | 0.567568 | 0 | 0 | 0.086062 | 0.022848 | 0 | 0 | 0 | 0.017544 | 0.324324 | 1 | 0.081081 | false | 0 | 0.054054 | 0 | 0.135135 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3fc7d37cd2ac1afdb041c9e6cfef71731f7f6388 | 295 | py | Python | src/git_repo_language_trends/_internal/tests/test_progress.py | Enselic/git-repo-language-trend | b701138a85f7c7b4e3cde5f6cd29b6d006b493cf | [
"MIT"
] | 1 | 2021-07-27T12:08:52.000Z | 2021-07-27T12:08:52.000Z | src/git_repo_language_trends/_internal/tests/test_progress.py | Enselic/git-repo-language-trend | b701138a85f7c7b4e3cde5f6cd29b6d006b493cf | [
"MIT"
] | 5 | 2021-01-24T10:18:26.000Z | 2021-07-02T09:48:00.000Z | src/git_repo_language_trends/_internal/tests/test_progress.py | Enselic/git-repo-language-trends | b701138a85f7c7b4e3cde5f6cd29b6d006b493cf | [
"MIT"
] | null | null | null | from ..progress import padded_progress
def test_padding():
assert padded_progress(2, 5) == "2/5"
assert padded_progress(2, 50) == " 2/50"
assert padded_progress(2, 500) == " 2/500"
assert padded_progress(20, 500) == " 20/500"
assert padded_progress(200, 500) == "200/500"
| 29.5 | 49 | 0.654237 | 43 | 295 | 4.325581 | 0.325581 | 0.451613 | 0.537634 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 0.19322 | 295 | 9 | 50 | 32.777778 | 0.613445 | 0 | 0 | 0 | 0 | 0 | 0.098305 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3fd577e70501c8dd9d0f21f44b022e77e0d7393d | 5,954 | py | Python | data_augmentation/models.py | shikisawamura/nnabla-examples | baf4e4cc620dedbf4368683325c0fb868676850d | [
"Apache-2.0"
] | null | null | null | data_augmentation/models.py | shikisawamura/nnabla-examples | baf4e4cc620dedbf4368683325c0fb868676850d | [
"Apache-2.0"
] | null | null | null | data_augmentation/models.py | shikisawamura/nnabla-examples | baf4e4cc620dedbf4368683325c0fb868676850d | [
"Apache-2.0"
] | 1 | 2020-04-25T06:11:28.000Z | 2020-04-25T06:11:28.000Z | # Copyright (c) 2019 Sony Corporation. 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 applicabl... | 39.959732 | 81 | 0.545516 | 846 | 5,954 | 3.732861 | 0.1974 | 0.057631 | 0.060798 | 0.068398 | 0.728626 | 0.728626 | 0.728626 | 0.728626 | 0.721026 | 0.686194 | 0 | 0.065574 | 0.313571 | 5,954 | 148 | 82 | 40.22973 | 0.70712 | 0.194323 | 0 | 0.772277 | 0 | 0 | 0.048562 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049505 | false | 0 | 0.09901 | 0 | 0.19802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3fd71134dad8658b768cb71fea04b7a19873cb2d | 39 | py | Python | __init__.py | tintin10q/python_json_database_manager | 691471dc443b8642a694ed98138f0a11ac157fc3 | [
"MIT"
] | 1 | 2020-09-14T23:05:02.000Z | 2020-09-14T23:05:02.000Z | __init__.py | tintin10q/python-json-database-manager | 691471dc443b8642a694ed98138f0a11ac157fc3 | [
"MIT"
] | 1 | 2021-09-18T12:32:58.000Z | 2021-09-18T12:32:58.000Z | __init__.py | tintin10q/python_json_database_manager | 691471dc443b8642a694ed98138f0a11ac157fc3 | [
"MIT"
] | null | null | null | from .database_manager import Database
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3fe9f05e53cdb42df7294bca0afb160976542396 | 27 | py | Python | teensy/memzip_files/boot.py | lurch/micropython | 28dfbc2ba2ef41a7810e4e39290031eb2207a0a9 | [
"MIT"
] | 1 | 2015-06-15T11:52:01.000Z | 2015-06-15T11:52:01.000Z | teensy/memzip_files/boot.py | lurch/micropython | 28dfbc2ba2ef41a7810e4e39290031eb2207a0a9 | [
"MIT"
] | null | null | null | teensy/memzip_files/boot.py | lurch/micropython | 28dfbc2ba2ef41a7810e4e39290031eb2207a0a9 | [
"MIT"
] | null | null | null | print("Executing boot.py")
| 13.5 | 26 | 0.740741 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 27 | 1 | 27 | 27 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b76f80b1506d021d67f2666d6d260cb0122383d9 | 201 | py | Python | Day26/Value_Sum_is_greater_than_Keys_Sum.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | Day26/Value_Sum_is_greater_than_Keys_Sum.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | Day26/Value_Sum_is_greater_than_Keys_Sum.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | def Values_Sum_Greater(Test_Dict):
return sum(list(Test_Dict.keys())) < sum(list(Test_Dict.values()))
Test_Dict = {5: 3, 1: 3, 10: 4, 7: 3, 8: 1, 9: 5}
print(Values_Sum_Greater(Test_Dict))
| 28.714286 | 71 | 0.656716 | 37 | 201 | 3.324324 | 0.486486 | 0.325203 | 0.260163 | 0.325203 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077381 | 0.164179 | 201 | 6 | 72 | 33.5 | 0.654762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
b7851659f187f1c885804ccea33d38e781d8fbe0 | 255 | py | Python | sparse_decomposition/__init__.py | bdpedigo/sparse_matrix_analysis | dbdff69b8ec56f60ba96b723a616f442755eacda | [
"MIT"
] | 2 | 2021-03-18T14:51:52.000Z | 2021-03-18T16:05:55.000Z | sparse_decomposition/__init__.py | bdpedigo/sparse_matrix_analysis | dbdff69b8ec56f60ba96b723a616f442755eacda | [
"MIT"
] | 1 | 2021-03-18T05:08:25.000Z | 2021-03-18T16:17:05.000Z | sparse_decomposition/__init__.py | bdpedigo/sparse_matrix_analysis | dbdff69b8ec56f60ba96b723a616f442755eacda | [
"MIT"
] | null | null | null | __author__ = "Benjamin Pedigo"
__email__ = "benjamindpedigo@gmail.com"
__version__ = "0.1.0"
import sparse_decomposition.utils
from sparse_decomposition import *
import sparse_decomposition.decomposition
from sparse_decomposition.decomposition import *
| 25.5 | 48 | 0.835294 | 28 | 255 | 7.035714 | 0.535714 | 0.385787 | 0.253807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.094118 | 255 | 9 | 49 | 28.333333 | 0.839827 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b7d8f3a5daf398f079cc5bd8adbe788a48e700bb | 13,238 | py | Python | kddirkit/config/args.py | JohannesLiu/HNRE-Pytorch | 395f026e54e02a631db522a828b1e017ffca6e59 | [
"MIT"
] | 1 | 2021-03-03T14:06:45.000Z | 2021-03-03T14:06:45.000Z | kddirkit/config/args.py | JohannesLiu/HNRE-Pytorch | 395f026e54e02a631db522a828b1e017ffca6e59 | [
"MIT"
] | null | null | null | kddirkit/config/args.py | JohannesLiu/HNRE-Pytorch | 395f026e54e02a631db522a828b1e017ffca6e59 | [
"MIT"
] | null | null | null | import datetime
import json
import os
import pickle
import sys
import time
import torch
import math
import argparse
class Parser(object):
def __init__(self, config_path, model , is_training = None):
self.config = json.loads(open(config_path,'r').read())
self.is_training = is_training
s... | 65.211823 | 134 | 0.6504 | 1,631 | 13,238 | 5.072961 | 0.108522 | 0.122311 | 0.079526 | 0.107324 | 0.828741 | 0.777133 | 0.754532 | 0.754532 | 0.737249 | 0.737249 | 0 | 0.012512 | 0.209095 | 13,238 | 203 | 135 | 65.211823 | 0.777746 | 0.021076 | 0 | 0.170886 | 0 | 0 | 0.275825 | 0.003631 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044304 | false | 0 | 0.056962 | 0.018987 | 0.126582 | 0.006329 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4d2e52cf20bd45fe23ce222bc39a726d4846467b | 162 | py | Python | ProgramFlow/immutable.py | kumarvgit/python3 | 318c5e7503fafc9c60082fa123e2930bd82a4ec9 | [
"MIT"
] | null | null | null | ProgramFlow/immutable.py | kumarvgit/python3 | 318c5e7503fafc9c60082fa123e2930bd82a4ec9 | [
"MIT"
] | null | null | null | ProgramFlow/immutable.py | kumarvgit/python3 | 318c5e7503fafc9c60082fa123e2930bd82a4ec9 | [
"MIT"
] | null | null | null | result = True
another_result = result
print(id(result))
print(id(another_result))
# bool is immutable
result = False
print(id(result))
print(id(another_result))
| 16.2 | 25 | 0.765432 | 24 | 162 | 5.041667 | 0.375 | 0.231405 | 0.322314 | 0.297521 | 0.545455 | 0.545455 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 162 | 9 | 26 | 18 | 0.840278 | 0.104938 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4d4014be116468bafccaa2440d62be5cafec9cc6 | 13,683 | py | Python | tests/projects/test_kubernetes.py | PeterSulcs/mlflow | 14c48e7bb1ca6cd6a3c1b249a486cd98bd5e7051 | [
"Apache-2.0"
] | 10,351 | 2018-07-31T02:52:49.000Z | 2022-03-31T23:33:13.000Z | tests/projects/test_kubernetes.py | PeterSulcs/mlflow | 14c48e7bb1ca6cd6a3c1b249a486cd98bd5e7051 | [
"Apache-2.0"
] | 3,733 | 2018-07-31T01:38:51.000Z | 2022-03-31T23:56:25.000Z | tests/projects/test_kubernetes.py | PeterSulcs/mlflow | 14c48e7bb1ca6cd6a3c1b249a486cd98bd5e7051 | [
"Apache-2.0"
] | 2,596 | 2018-07-31T06:38:39.000Z | 2022-03-31T23:56:32.000Z | import yaml
import pytest
from unittest import mock
import kubernetes
from kubernetes.config.config_exception import ConfigException
from mlflow.projects import kubernetes as kb
from mlflow.exceptions import ExecutionException
from mlflow.entities import RunStatus
def test_run_command_creation(): # pylint: disable... | 38.76204 | 99 | 0.63049 | 1,653 | 13,683 | 4.91712 | 0.096189 | 0.05315 | 0.031127 | 0.046506 | 0.839813 | 0.807825 | 0.784203 | 0.746924 | 0.722933 | 0.704355 | 0 | 0.015083 | 0.258642 | 13,683 | 352 | 100 | 38.872159 | 0.786179 | 0.009355 | 0 | 0.664537 | 0 | 0 | 0.202692 | 0.064039 | 0 | 0 | 0 | 0 | 0.166134 | 1 | 0.041534 | false | 0 | 0.025559 | 0 | 0.067093 | 0.009585 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4d40a140614398fe72ca71d0417abb7a40aafafa | 892 | py | Python | code-metrics-dev/gerar_pipeline/generate_pipeline.py | clodonil/audit-aws-pipeline | 44a41c63fc84096c2327bf6d34909dff1ca3fdab | [
"Apache-2.0"
] | null | null | null | code-metrics-dev/gerar_pipeline/generate_pipeline.py | clodonil/audit-aws-pipeline | 44a41c63fc84096c2327bf6d34909dff1ca3fdab | [
"Apache-2.0"
] | null | null | null | code-metrics-dev/gerar_pipeline/generate_pipeline.py | clodonil/audit-aws-pipeline | 44a41c63fc84096c2327bf6d34909dff1ca3fdab | [
"Apache-2.0"
] | null | null | null | from templates.pipelines import pipeline_success, pipeline_faild
import tools
for y in range(2):
num_pipeline = 2
account = tools.generate_account()
pipeline = tools.generate_name()
execution_id = tools.generate_execution_id()
pipeline_id = tools.generate_execution_id()
region = 'us-... | 33.037037 | 87 | 0.707399 | 109 | 892 | 5.522936 | 0.238532 | 0.172757 | 0.099668 | 0.159468 | 0.770764 | 0.770764 | 0.770764 | 0.770764 | 0.770764 | 0.770764 | 0 | 0.008333 | 0.192825 | 892 | 27 | 88 | 33.037037 | 0.827778 | 0.463004 | 0 | 0 | 1 | 0 | 0.01919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4da19bef7c3c3cfa3c2a149adcd851c8bb2815ef | 199 | py | Python | compra/admin.py | cor14095/backGaresa | 6dffcff513c1812a88315d16303b90996f6b98d7 | [
"MIT"
] | null | null | null | compra/admin.py | cor14095/backGaresa | 6dffcff513c1812a88315d16303b90996f6b98d7 | [
"MIT"
] | null | null | null | compra/admin.py | cor14095/backGaresa | 6dffcff513c1812a88315d16303b90996f6b98d7 | [
"MIT"
] | 1 | 2021-08-09T00:55:17.000Z | 2021-08-09T00:55:17.000Z | from .models import Purchase
from import_export.admin import ImportExportModelAdmin
from django.contrib import admin
@admin.register(Purchase)
class PurchaseAdmin(ImportExportModelAdmin):
pass
| 22.111111 | 54 | 0.839196 | 22 | 199 | 7.545455 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110553 | 199 | 8 | 55 | 24.875 | 0.937853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4dd3b389615242976ab11e19cdad84e07b541d7e | 127 | py | Python | qhal/quantum_simulators/__init__.py | abhishekagarwalnpl/QHAL-copy | b0dc496ba824b1545fb094e2462c044c8246846e | [
"Apache-2.0"
] | 16 | 2021-07-13T20:09:48.000Z | 2022-01-06T12:07:53.000Z | qhal/quantum_simulators/__init__.py | abhishekagarwalnpl/QHAL-copy | b0dc496ba824b1545fb094e2462c044c8246846e | [
"Apache-2.0"
] | 3 | 2021-12-13T15:56:40.000Z | 2022-03-10T14:55:06.000Z | qhal/quantum_simulators/__init__.py | abhishekagarwalnpl/QHAL-copy | b0dc496ba824b1545fb094e2462c044c8246846e | [
"Apache-2.0"
] | 1 | 2021-12-02T14:48:16.000Z | 2021-12-02T14:48:16.000Z | from ._interface_quantum_simulator import IQuantumSimulator
from ._projectq_quantum_simulator import ProjectqQuantumSimulator
| 31.75 | 65 | 0.913386 | 12 | 127 | 9.166667 | 0.666667 | 0.290909 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070866 | 127 | 3 | 66 | 42.333333 | 0.932203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4ddaadefa053eddefca531e1748897a8bf6e9779 | 38 | py | Python | src/backoffice/models/__init__.py | unikubehq/projects | 0df69eafa2a0d2664a22c7a5866d4512ac4d57fe | [
"Apache-2.0"
] | 1 | 2021-10-05T13:17:03.000Z | 2021-10-05T13:17:03.000Z | src/backoffice/models/__init__.py | unikubehq/projects | 0df69eafa2a0d2664a22c7a5866d4512ac4d57fe | [
"Apache-2.0"
] | 48 | 2021-07-06T07:24:36.000Z | 2022-03-24T08:27:30.000Z | src/backoffice/models/__init__.py | unikubehq/projects | 0df69eafa2a0d2664a22c7a5866d4512ac4d57fe | [
"Apache-2.0"
] | null | null | null | from backoffice.models.users import *
| 19 | 37 | 0.815789 | 5 | 38 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4deb5954dfdfc0e9101040fccae613eb804272a4 | 5,969 | py | Python | pandapower/test/opf/test_cost_consistency.py | mathildebadoual/pandapower | 9ba4bcb78e84b644d2ba6df0c08e285c54af8ddc | [
"BSD-3-Clause"
] | 1 | 2020-10-19T06:39:15.000Z | 2020-10-19T06:39:15.000Z | pandapower/test/opf/test_cost_consistency.py | miek770/pandapower | de004efc1b7432a633792af4f551f7635a02db47 | [
"BSD-3-Clause"
] | null | null | null | pandapower/test/opf/test_cost_consistency.py | miek770/pandapower | de004efc1b7432a633792af4f551f7635a02db47 | [
"BSD-3-Clause"
] | null | null | null | import pandapower as pp
import pytest
from numpy import array
@pytest.fixture()
def base_net():
net = pp.create_empty_network()
pp.create_bus(net, vn_kv=10)
pp.create_bus(net, vn_kv=10)
pp.create_ext_grid(net, 0)
pp.create_load(net, 1, p_kw=200, controllable=False)
pp.create_line_from_parameter... | 31.75 | 120 | 0.499749 | 826 | 5,969 | 3.375303 | 0.128329 | 0.030129 | 0.122669 | 0.118364 | 0.845409 | 0.827834 | 0.814921 | 0.752869 | 0.752869 | 0.735653 | 0 | 0.042984 | 0.33741 | 5,969 | 187 | 121 | 31.919786 | 0.661947 | 0.32719 | 0 | 0.632911 | 0 | 0 | 0.009135 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 1 | 0.050633 | false | 0 | 0.037975 | 0 | 0.101266 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12891ae58e94d8a98c7bc4ddb5063b20f031168d | 218 | py | Python | profit/run/__init__.py | krystophny/profit | c6316c9df7cfaa7b30332fdbbf85ad27175eaf92 | [
"MIT"
] | 14 | 2019-12-03T14:11:28.000Z | 2022-03-15T13:44:06.000Z | profit/run/__init__.py | krystophny/profit | c6316c9df7cfaa7b30332fdbbf85ad27175eaf92 | [
"MIT"
] | 118 | 2019-11-16T19:51:26.000Z | 2022-03-26T13:52:00.000Z | profit/run/__init__.py | krystophny/profit | c6316c9df7cfaa7b30332fdbbf85ad27175eaf92 | [
"MIT"
] | 9 | 2020-06-08T07:22:56.000Z | 2021-03-21T14:12:21.000Z | from . import runner
from . import worker
from . import default
from . import zeromq
from . import slurm
from .runner import Runner, RunnerInterface
from .worker import Worker, Interface, Preprocessor, Postprocessor
| 21.8 | 66 | 0.793578 | 27 | 218 | 6.407407 | 0.407407 | 0.289017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155963 | 218 | 9 | 67 | 24.222222 | 0.940217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
129ed518e52ced7d65db8d014f8bfc22bd02cb2d | 22 | py | Python | src/python/packages/lmwg/__init__.py | susburrows/uvcmetrics | 5a3c1266f3e5e97398a7671b01fa2816fb307c38 | [
"X11",
"MIT"
] | 3 | 2017-03-03T21:28:06.000Z | 2017-05-23T02:03:22.000Z | src/python/packages/lmwg/__init__.py | susburrows/uvcmetrics | 5a3c1266f3e5e97398a7671b01fa2816fb307c38 | [
"X11",
"MIT"
] | 192 | 2015-01-05T19:39:56.000Z | 2017-01-17T22:28:34.000Z | src/python/packages/lmwg/__init__.py | susburrows/uvcmetrics | 5a3c1266f3e5e97398a7671b01fa2816fb307c38 | [
"X11",
"MIT"
] | 6 | 2016-02-26T19:03:46.000Z | 2017-07-12T16:55:33.000Z | from defines import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12a41fc12d959ec0e6d34edf267f16ef2c46b5da | 116 | py | Python | ertk/tensorflow/__init__.py | bagustris/emotion | 5bd83d3ca8a6eb930f449b7a990fefd75d0c7d36 | [
"MIT"
] | 3 | 2020-11-03T14:54:22.000Z | 2021-04-12T12:23:10.000Z | src/ertk/tensorflow/__init__.py | agkphysics/emotion | 36bb9265f9439b10676fb539d5334cce645e49ef | [
"MIT"
] | null | null | null | src/ertk/tensorflow/__init__.py | agkphysics/emotion | 36bb9265f9439b10676fb539d5334cce645e49ef | [
"MIT"
] | 2 | 2020-12-03T06:21:59.000Z | 2021-01-16T04:47:12.000Z | from .models import get_tf_model, get_tf_model_fn
from .utils import compile_wrap, init_gpu_memory_growth, test_fit
| 38.666667 | 65 | 0.862069 | 21 | 116 | 4.285714 | 0.761905 | 0.111111 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094828 | 116 | 2 | 66 | 58 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12eaae7ef685bc6e276b06a4cc0062a494397278 | 496 | py | Python | numpy_benchmarks/benchmarks/euclidean_distance_square.py | adriendelsalle/numpy-benchmarks | 5c09448d045726b347e868756f9e1b004d0876ea | [
"BSD-3-Clause"
] | 33 | 2015-03-18T23:16:55.000Z | 2021-12-17T11:00:01.000Z | numpy_benchmarks/benchmarks/euclidean_distance_square.py | adriendelsalle/numpy-benchmarks | 5c09448d045726b347e868756f9e1b004d0876ea | [
"BSD-3-Clause"
] | 8 | 2015-04-17T15:14:15.000Z | 2021-02-24T13:34:55.000Z | numpy_benchmarks/benchmarks/euclidean_distance_square.py | adriendelsalle/numpy-benchmarks | 5c09448d045726b347e868756f9e1b004d0876ea | [
"BSD-3-Clause"
] | 12 | 2015-04-17T12:24:31.000Z | 2021-01-27T08:06:01.000Z | #from: https://stackoverflow.com/questions/50658884/why-this-numba-code-is-6x-slower-than-numpy-code
#setup: import numpy as np; np.random.seed(0); x1 = np.random.random((1, 512)); x2 = np.random.random((10000, 512))
#run: euclidean_distance_square(x1, x2)
#pythran export euclidean_distance_square(float64[1,:], float6... | 62 | 115 | 0.717742 | 84 | 496 | 4.166667 | 0.5 | 0.068571 | 0.197143 | 0.085714 | 0.154286 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088692 | 0.090726 | 496 | 7 | 116 | 70.857143 | 0.687361 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
12f300552dca0224fff2b16cc466bf29345851ba | 5,585 | py | Python | problem_13.py | mc10/project-euler | 406582facfa64d3ed9668240aa7ffd5529964d36 | [
"MIT"
] | null | null | null | problem_13.py | mc10/project-euler | 406582facfa64d3ed9668240aa7ffd5529964d36 | [
"MIT"
] | null | null | null | problem_13.py | mc10/project-euler | 406582facfa64d3ed9668240aa7ffd5529964d36 | [
"MIT"
] | null | null | null | '''
Problem 13
@author: mat.000
'''
numbers = """37107287533902102798797998220837590246510135740250
46376937677490009712648124896970078050417018260538
74324986199524741059474233309513058123726617309629
91942213363574161572522430563301811072406154908250
23067588207539346171171980310421047513778063246676
89261670696623... | 44.325397 | 74 | 0.954342 | 175 | 5,585 | 30.297143 | 0.714286 | 0.007544 | 0.01358 | 0.007356 | 0.020747 | 0 | 0 | 0 | 0 | 0 | 0 | 0.928956 | 0.034736 | 5,585 | 125 | 75 | 44.68 | 0.054535 | 0.005013 | 0 | 0 | 0 | 0 | 0.923049 | 0.901063 | 0 | 1 | 0 | 0 | 0 | 1 | 0.017857 | false | 0 | 0 | 0 | 0.035714 | 0.017857 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
421763ffd0d7057d7719aa73e6af7c54b29e615d | 7,572 | py | Python | myems-api/core/gsmmodem.py | hyh123a/myems | 669ab8554995a622da595384698d670f9cee61f8 | [
"MIT"
] | 2 | 2021-02-19T10:22:36.000Z | 2021-02-19T10:23:22.000Z | myems-api/core/gsmmodem.py | hyh123a/myems | 669ab8554995a622da595384698d670f9cee61f8 | [
"MIT"
] | null | null | null | myems-api/core/gsmmodem.py | hyh123a/myems | 669ab8554995a622da595384698d670f9cee61f8 | [
"MIT"
] | 1 | 2022-01-29T14:18:47.000Z | 2022-01-29T14:18:47.000Z | import falcon
import json
import mysql.connector
import config
import base64
import re
class GSMModemCollection:
@staticmethod
def __init__():
pass
@staticmethod
def on_options(req, resp):
resp.status = falcon.HTTP_200
@staticmethod
def on_get(req, resp):
cnx = mysql.... | 35.716981 | 93 | 0.539884 | 850 | 7,572 | 4.578824 | 0.142353 | 0.074512 | 0.053443 | 0.093525 | 0.819887 | 0.809866 | 0.801387 | 0.799332 | 0.761562 | 0.761562 | 0 | 0.015716 | 0.344559 | 7,572 | 211 | 94 | 35.886256 | 0.768487 | 0.005547 | 0 | 0.690476 | 0 | 0 | 0.175289 | 0.035643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053571 | false | 0.011905 | 0.035714 | 0 | 0.10119 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
427d3c9fe0331d3db37a3abf60645dfed45bb815 | 153 | py | Python | tests/test_update_branch.py | r-ash/naomi_bot | ee49d9d236ca031176d555ee0d65eb8c1cd27f99 | [
"MIT"
] | 1 | 2020-05-07T21:28:08.000Z | 2020-05-07T21:28:08.000Z | tests/test_update_branch.py | mrc-ide/naomi_bot | ee49d9d236ca031176d555ee0d65eb8c1cd27f99 | [
"MIT"
] | null | null | null | tests/test_update_branch.py | mrc-ide/naomi_bot | ee49d9d236ca031176d555ee0d65eb8c1cd27f99 | [
"MIT"
] | null | null | null | import pytest
from naomi_bot.app.update_branch import update_branch
def test_update_branch():
# Some interaction test for the requests?
assert True | 21.857143 | 53 | 0.810458 | 23 | 153 | 5.173913 | 0.73913 | 0.302521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143791 | 153 | 7 | 54 | 21.857143 | 0.908397 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
42a4131a19a45d5d33325785739131594629aa68 | 17,732 | py | Python | tests/sentry/web/frontend/tests.py | pascalw/sentry | 7cba3d95520c32afba007bd9adf2eb823be0ef66 | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/web/frontend/tests.py | pascalw/sentry | 7cba3d95520c32afba007bd9adf2eb823be0ef66 | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/web/frontend/tests.py | pascalw/sentry | 7cba3d95520c32afba007bd9adf2eb823be0ef66 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import logging
import json
from django.core.urlresolvers import reverse
from sentry.conf import settings
from sentry.constants import MEMBER_USER
from sentry.models import Group, Project, TeamMember, Team, User
from sentry.testutils import TestCase, fix... | 32.53578 | 116 | 0.655143 | 2,154 | 17,732 | 5.243268 | 0.090994 | 0.045334 | 0.04675 | 0.068178 | 0.767399 | 0.75332 | 0.743581 | 0.740305 | 0.721445 | 0.670799 | 0 | 0.005834 | 0.226709 | 17,732 | 544 | 117 | 32.595588 | 0.817824 | 0.013704 | 0 | 0.657702 | 0 | 0 | 0.095623 | 0.039982 | 0 | 0 | 0 | 0 | 0.268949 | 1 | 0.202934 | false | 0.01467 | 0.01956 | 0.05379 | 0.356968 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
42b093a753f229fe7d19de68ff7a064b4d4a440d | 1,517 | py | Python | tests/test_c2020.py | atollk/flake8-multiline-conditionals-comprehensions | 7843a0dc970502b4752726d6a52e114e743be50b | [
"MIT"
] | 1 | 2020-06-24T06:15:44.000Z | 2020-06-24T06:15:44.000Z | tests/test_c2020.py | atollk/flake8-multiline-conditionals-comprehensions | 7843a0dc970502b4752726d6a52e114e743be50b | [
"MIT"
] | null | null | null | tests/test_c2020.py | atollk/flake8-multiline-conditionals-comprehensions | 7843a0dc970502b4752726d6a52e114e743be50b | [
"MIT"
] | null | null | null | from tests.util import BaseTest
class Test_C2020(BaseTest):
def error_code(self) -> str:
return "C2020"
def test_pass_1(self):
code = """
foo = 1 if 10 < 20 else 0
"""
result = self.run_flake8(code, True)
assert result == []
def test_pass_2(self):
... | 24.079365 | 51 | 0.474621 | 192 | 1,517 | 3.578125 | 0.177083 | 0.071325 | 0.112082 | 0.122271 | 0.847162 | 0.847162 | 0.823872 | 0.823872 | 0.823872 | 0.823872 | 0 | 0.098793 | 0.399473 | 1,517 | 62 | 52 | 24.467742 | 0.655324 | 0 | 0 | 0.603774 | 0 | 0 | 0.29532 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 1 | 0.150943 | false | 0.037736 | 0.018868 | 0.018868 | 0.207547 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35ff9af094a62d398edca1a4c506c76ce555cac7 | 212 | py | Python | dags/rockflow/operators/common.py | day253/airflow-dags | a98d47396f2c6e0185d528e94d02fa8a8daaef7a | [
"Unlicense"
] | 2 | 2022-01-08T17:19:01.000Z | 2022-02-10T06:41:28.000Z | dags/rockflow/operators/common.py | RockFlow-AI/airflow-dags | 8172ed9041231264d491120d0c1f5c973fbed92a | [
"Unlicense"
] | null | null | null | dags/rockflow/operators/common.py | RockFlow-AI/airflow-dags | 8172ed9041231264d491120d0c1f5c973fbed92a | [
"Unlicense"
] | 1 | 2021-12-15T09:57:55.000Z | 2021-12-15T09:57:55.000Z | def is_none_us_symbol(symbol: str) -> bool:
return symbol.endswith(".HK") or symbol.endswith(".SZ") or symbol.endswith(".SH")
def is_us_symbol(symbol: str) -> bool:
return not is_none_us_symbol(symbol)
| 30.285714 | 85 | 0.712264 | 34 | 212 | 4.205882 | 0.411765 | 0.167832 | 0.293706 | 0.195804 | 0.559441 | 0.377622 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136792 | 212 | 6 | 86 | 35.333333 | 0.781421 | 0 | 0 | 0 | 0 | 0 | 0.042453 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c41cfc13016913a149a4600432d8551c94f97681 | 218 | py | Python | allauth/socialaccount/providers/agave_provider/urls.py | Fuzzwah/django-allauth | 071cbef1388bb61a563d3e41197bd5b7c26664d2 | [
"MIT"
] | null | null | null | allauth/socialaccount/providers/agave_provider/urls.py | Fuzzwah/django-allauth | 071cbef1388bb61a563d3e41197bd5b7c26664d2 | [
"MIT"
] | null | null | null | allauth/socialaccount/providers/agave_provider/urls.py | Fuzzwah/django-allauth | 071cbef1388bb61a563d3e41197bd5b7c26664d2 | [
"MIT"
] | null | null | null | from allauth.socialaccount.providers.agave_provider.provider import AgaveProvider
from allauth.socialaccount.providers.oauth2_provider.urls import default_urlpatterns
urlpatterns = default_urlpatterns(AgaveProvider)
| 36.333333 | 84 | 0.889908 | 23 | 218 | 8.26087 | 0.521739 | 0.115789 | 0.252632 | 0.347368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004878 | 0.059633 | 218 | 5 | 85 | 43.6 | 0.921951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 6 |
c4741f5fb44931386a57c82750f89be3bbaba6e7 | 68 | py | Python | torchclas/utils/__init__.py | hua1024/OpenClas | 446b3f6f8cf5cc390c86d6e2674e525aeaa3a552 | [
"Apache-2.0"
] | null | null | null | torchclas/utils/__init__.py | hua1024/OpenClas | 446b3f6f8cf5cc390c86d6e2674e525aeaa3a552 | [
"Apache-2.0"
] | 1 | 2021-05-23T13:47:51.000Z | 2021-05-24T11:39:32.000Z | torchclas/utils/__init__.py | hua1024/OpenClas | 446b3f6f8cf5cc390c86d6e2674e525aeaa3a552 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# @Time : 2020/10/24 11:13
# @Auto : zzf-jeff | 22.666667 | 29 | 0.544118 | 12 | 68 | 3.083333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26 | 0.264706 | 68 | 3 | 30 | 22.666667 | 0.48 | 0.882353 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
670c28a77e6b0ea1a70045abc0400f0145aa849c | 755 | py | Python | src/dispatch/plugins/dispatch_test/storage.py | roor0/dispatch | 12c4f567096411abe62abaf61c7c124496764346 | [
"Apache-2.0"
] | 3,417 | 2020-02-23T22:54:47.000Z | 2022-03-31T13:01:01.000Z | src/dispatch/plugins/dispatch_test/storage.py | roor0/dispatch | 12c4f567096411abe62abaf61c7c124496764346 | [
"Apache-2.0"
] | 607 | 2020-02-24T14:27:02.000Z | 2022-03-30T19:15:39.000Z | src/dispatch/plugins/dispatch_test/storage.py | roor0/dispatch | 12c4f567096411abe62abaf61c7c124496764346 | [
"Apache-2.0"
] | 359 | 2020-02-24T19:04:43.000Z | 2022-03-29T06:48:12.000Z | from dispatch.plugins.bases import StoragePlugin
class TestStoragePlugin(StoragePlugin):
title = "Dispatch Test Plugin - Storage"
slug = "test-storage"
def get(self, **kwargs):
return
def create(self, items, **kwargs):
return
def update(self, items, **kwargs):
return
... | 18.875 | 50 | 0.6 | 83 | 755 | 5.385542 | 0.349398 | 0.295302 | 0.33557 | 0.212528 | 0.472036 | 0.1566 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288742 | 755 | 39 | 51 | 19.358974 | 0.832402 | 0 | 0 | 0.423077 | 0 | 0 | 0.055629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.423077 | false | 0 | 0.038462 | 0.423077 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
675dc106d8faa435cdb16055fb7192d7cb79d363 | 5,819 | py | Python | tests/test_crud.py | luizklitzke1/cadastro_treinamento | 96fbfc90be8fa846b614e4d6ea08c7accf2895c4 | [
"MIT"
] | null | null | null | tests/test_crud.py | luizklitzke1/cadastro_treinamento | 96fbfc90be8fa846b614e4d6ea08c7accf2895c4 | [
"MIT"
] | 1 | 2021-03-04T22:31:34.000Z | 2021-03-06T17:26:04.000Z | tests/test_crud.py | luizklitzke1/cadastro_treinamento | 96fbfc90be8fa846b614e4d6ea08c7accf2895c4 | [
"MIT"
] | 1 | 2021-04-25T14:27:09.000Z | 2021-04-25T14:27:09.000Z | from flask import json, jsonify, request
#Testes básicos para as rotas de CRUD
def test_add_sala(client):
response= client.post('/cadastrar_sala', data=json.dumps( {'nome': 'sala 31313'}), content_type='application/json')
response= client.post('/cadastrar_sala', data=json.dumps( {'nome': 'sala 341'}), c... | 36.597484 | 123 | 0.623819 | 693 | 5,819 | 5.025974 | 0.116883 | 0.075797 | 0.113695 | 0.102498 | 0.883147 | 0.869653 | 0.795579 | 0.77261 | 0.722079 | 0.722079 | 0 | 0.034201 | 0.221172 | 5,819 | 159 | 124 | 36.597484 | 0.734334 | 0.006187 | 0 | 0.53 | 0 | 0 | 0.234307 | 0.036659 | 0 | 0 | 0 | 0 | 0.17 | 1 | 0.17 | false | 0 | 0.01 | 0 | 0.18 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67676984a4717306058fb05019e21f6c26df9123 | 3,177 | py | Python | pyslam/thirdparty/disk/submodules/unets/tests.py | dysdsyd/VO_benchmark | a7602edab934419c1ec73618ee655e18026f834f | [
"Apache-2.0"
] | 2 | 2021-09-11T09:13:31.000Z | 2021-11-03T01:39:56.000Z | pyslam/thirdparty/disk/submodules/unets/tests.py | dysdsyd/VO_benchmark | a7602edab934419c1ec73618ee655e18026f834f | [
"Apache-2.0"
] | null | null | null | pyslam/thirdparty/disk/submodules/unets/tests.py | dysdsyd/VO_benchmark | a7602edab934419c1ec73618ee655e18026f834f | [
"Apache-2.0"
] | null | null | null | import torch, unittest
from unets import thin_setup, fat_setup, Unet, ThinUnetUpBlock, \
ThinUnetDownBlock, AttentionGate
class BaseTests(unittest.TestCase):
def test_inequal_output_asymmetric(self):
unet = Unet(
in_features=3,
down=[16, 32, 64], up=[40, 4]
... | 32.090909 | 67 | 0.54926 | 393 | 3,177 | 4.323155 | 0.160305 | 0.037081 | 0.063567 | 0.052972 | 0.824014 | 0.778105 | 0.778105 | 0.727487 | 0.727487 | 0.707475 | 0 | 0.085505 | 0.311615 | 3,177 | 98 | 68 | 32.418367 | 0.691358 | 0 | 0 | 0.647727 | 0 | 0 | 0.010072 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 1 | 0.102273 | false | 0 | 0.022727 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67689cab1349c8498f081f3f3ea8328b79af4b39 | 39 | py | Python | PyCurrency_Converter/__init__.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 3 | 2021-05-20T22:30:41.000Z | 2022-01-15T14:20:06.000Z | PyCurrency_Converter/__init__.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | PyCurrency_Converter/__init__.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 1 | 2022-03-03T02:25:28.000Z | 2022-03-03T02:25:28.000Z | from .PyCurrency import convert, codes
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6786564454fc379e514e4f40d50c8e1e8b237f2c | 33 | py | Python | instabot/bot/__init__.py | SOUFIANEZAZA/instapro | 7ab33b035211345db12b75b64bdd7f9edd1dbd2b | [
"Apache-2.0"
] | 84 | 2017-04-26T08:42:11.000Z | 2022-03-14T21:53:05.000Z | instabot/bot/__init__.py | sudoguy/instapro | 7a7003cf07fdf992037641f61beee8815be8a0b1 | [
"Apache-2.0"
] | 10 | 2017-05-15T07:18:51.000Z | 2020-07-18T10:55:02.000Z | instabot/bot/__init__.py | sudoguy/instapro | 7a7003cf07fdf992037641f61beee8815be8a0b1 | [
"Apache-2.0"
] | 26 | 2017-05-12T15:03:32.000Z | 2022-02-10T08:04:28.000Z | from .bot import Bot
assert Bot
| 8.25 | 20 | 0.757576 | 6 | 33 | 4.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 3 | 21 | 11 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
67b1611b9cb8c61d015963090988febb82d98d02 | 143 | py | Python | EverPPMS/__init__.py | DomiDre/EverPPMS | 968778fb35a628c8af3065f3e48ec077cdc42180 | [
"MIT"
] | null | null | null | EverPPMS/__init__.py | DomiDre/EverPPMS | 968778fb35a628c8af3065f3e48ec077cdc42180 | [
"MIT"
] | null | null | null | EverPPMS/__init__.py | DomiDre/EverPPMS | 968778fb35a628c8af3065f3e48ec077cdc42180 | [
"MIT"
] | null | null | null | from ._lib import generate_FORC_sequence, generate_IRM_DCD_sequence, get_cmap, closest_idx
from ._forc import FORC
from ._irmdcd import IRMDCD
| 35.75 | 90 | 0.853147 | 22 | 143 | 5.090909 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104895 | 143 | 3 | 91 | 47.666667 | 0.875 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
67c162b3c99c614d1a3dcba1a30bfb1eeaa608d4 | 68 | py | Python | ansible-vault-password.py | takayukioda/theowner | 9cd3422ca2059d8eb3fd7c8e96a59a088bc4da15 | [
"MIT"
] | null | null | null | ansible-vault-password.py | takayukioda/theowner | 9cd3422ca2059d8eb3fd7c8e96a59a088bc4da15 | [
"MIT"
] | null | null | null | ansible-vault-password.py | takayukioda/theowner | 9cd3422ca2059d8eb3fd7c8e96a59a088bc4da15 | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
import os
print os.environ['VAULT_PASSWORD']
| 17 | 34 | 0.764706 | 11 | 68 | 4.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.088235 | 68 | 3 | 35 | 22.666667 | 0.806452 | 0.308824 | 0 | 0 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.5 | 0.5 | null | null | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 6 |
67c1fd7165f7ccf91f19f7d7d4024476a93c054c | 1,534 | py | Python | pirates/leveleditor/worldData/Vegas.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/Vegas.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/Vegas.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.Vegas
from pandac.PandaModules import Point3, VBase3
objectStruct = {'Objects': {'1149705528.16Shochet': {... | 255.666667 | 1,267 | 0.649283 | 206 | 1,534 | 4.830097 | 0.432039 | 0.046231 | 0.045226 | 0.036181 | 0.21206 | 0.21206 | 0.21206 | 0.21206 | 0.196985 | 0.196985 | 0 | 0.223016 | 0.088005 | 1,534 | 6 | 1,267 | 255.666667 | 0.488206 | 0.137549 | 0 | 0 | 0 | 0 | 0.559515 | 0.208491 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
67d37fbbb32144242c9c8a74bdb7107c62c0e8b3 | 75 | py | Python | example/sns/preprocess.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | null | null | null | example/sns/preprocess.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | 48 | 2020-12-19T13:47:26.000Z | 2021-01-07T22:27:56.000Z | example/sns/preprocess.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | null | null | null | import os
import sys
sys.path.append(f'{os.getcwd()}/example/sns/vendor')
| 15 | 52 | 0.733333 | 13 | 75 | 4.230769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 75 | 4 | 53 | 18.75 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0.426667 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db0d440ee553395207fa660c3b8b52d726fe6aae | 3,893 | bzl | Python | example/third_party/org_apache_maven_resolver.bzl | wix-playground/rules_maven_third_party | ff0b486df194779d7d8e6c9102cd12138e3305c3 | [
"Apache-2.0"
] | null | null | null | example/third_party/org_apache_maven_resolver.bzl | wix-playground/rules_maven_third_party | ff0b486df194779d7d8e6c9102cd12138e3305c3 | [
"Apache-2.0"
] | null | null | null | example/third_party/org_apache_maven_resolver.bzl | wix-playground/rules_maven_third_party | ff0b486df194779d7d8e6c9102cd12138e3305c3 | [
"Apache-2.0"
] | null | null | null | load("@rules_maven_third_party//:import_external.bzl", import_external = "import_external")
def dependencies():
import_external(
name = "org_apache_maven_resolver_maven_resolver_api",
artifact = "org.apache.maven.resolver:maven-resolver-api:1.4.0",
artifact_sha256 = "85aac254240e8bf387d737a... | 43.255556 | 93 | 0.720267 | 335 | 3,893 | 7.856716 | 0.149254 | 0.266717 | 0.143617 | 0.225684 | 0.56535 | 0.520137 | 0.520137 | 0.441109 | 0.340805 | 0.300532 | 0 | 0.202182 | 0.199589 | 3,893 | 89 | 94 | 43.741573 | 0.64249 | 0 | 0 | 0.473684 | 0 | 0.039474 | 0.629848 | 0.605446 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013158 | true | 0 | 0.105263 | 0 | 0.118421 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1f2b3785a3998e1cf5648e4fbd5bf5e5e230b3c | 25 | py | Python | bitfinexpy/__init__.py | DS-DataMining/bitfinexpy | e3d061d79dda1135f6b44abc64f3d76f3a40d989 | [
"MIT"
] | null | null | null | bitfinexpy/__init__.py | DS-DataMining/bitfinexpy | e3d061d79dda1135f6b44abc64f3d76f3a40d989 | [
"MIT"
] | null | null | null | bitfinexpy/__init__.py | DS-DataMining/bitfinexpy | e3d061d79dda1135f6b44abc64f3d76f3a40d989 | [
"MIT"
] | 1 | 2021-04-19T16:09:49.000Z | 2021-04-19T16:09:49.000Z | from . import bitfinexpy
| 12.5 | 24 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1f6685e9bef9bfc4706d6b78fd7b67f0b8e9142 | 22 | py | Python | python/remap.py | rmu75/rover-342-retrofit | b16a4c39cdb6fb52455afbf89b0094789e6a0719 | [
"CC0-1.0"
] | null | null | null | python/remap.py | rmu75/rover-342-retrofit | b16a4c39cdb6fb52455afbf89b0094789e6a0719 | [
"CC0-1.0"
] | null | null | null | python/remap.py | rmu75/rover-342-retrofit | b16a4c39cdb6fb52455afbf89b0094789e6a0719 | [
"CC0-1.0"
] | null | null | null | from stdglue import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c05631e773972348c3a80ef95fe725196dd80d14 | 235 | py | Python | da4py/main/__init__.py | BoltMaud/da4py | 535372c9cbce2f6adfff181d3b2e1b33422fed8a | [
"MIT"
] | 2 | 2020-01-22T15:46:20.000Z | 2020-12-26T19:15:18.000Z | da4py/main/__init__.py | BoltMaud/da4py | 535372c9cbce2f6adfff181d3b2e1b33422fed8a | [
"MIT"
] | 1 | 2019-10-07T07:08:03.000Z | 2019-10-07T07:08:03.000Z | da4py/main/__init__.py | BoltMaud/da4py | 535372c9cbce2f6adfff181d3b2e1b33422fed8a | [
"MIT"
] | 1 | 2019-10-04T13:14:12.000Z | 2019-10-04T13:14:12.000Z | from da4py.main.objects import logToFormulas, pnToFormulas
from da4py.main.conformanceChecking import conformanceArtefacts, distancesToFormulas
from da4py.main.utils import variablesGenerator, formulas
from da4py.main import analytics
| 47 | 84 | 0.876596 | 26 | 235 | 7.923077 | 0.538462 | 0.174757 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.080851 | 235 | 4 | 85 | 58.75 | 0.935185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c0627c67c2d92b69c29324a3b75edec54bc47c02 | 71 | py | Python | encapsulation/restaurant/food/starter.py | ivan-yosifov88/python_oop_june_2021 | 7ae6126065abbcce7ce97c86d1150ae307360249 | [
"MIT"
] | 1 | 2021-08-03T19:14:24.000Z | 2021-08-03T19:14:24.000Z | encapsulation/restaurant/food/starter.py | ivan-yosifov88/python_oop_june_2021 | 7ae6126065abbcce7ce97c86d1150ae307360249 | [
"MIT"
] | null | null | null | encapsulation/restaurant/food/starter.py | ivan-yosifov88/python_oop_june_2021 | 7ae6126065abbcce7ce97c86d1150ae307360249 | [
"MIT"
] | null | null | null | from restaurant.food.food import Food
class Starter(Food):
pass
| 10.142857 | 37 | 0.732394 | 10 | 71 | 5.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 71 | 6 | 38 | 11.833333 | 0.912281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fbf7e29f0d00ac3f541c7d23d1b6f408ab4e49f8 | 14,979 | py | Python | oneflow/compatible_single_client_python/test/ops/test_boxing_v2.py | xcnick/oneflow | 7b786b27069dec35d2493256011e773988c91f56 | [
"Apache-2.0"
] | null | null | null | oneflow/compatible_single_client_python/test/ops/test_boxing_v2.py | xcnick/oneflow | 7b786b27069dec35d2493256011e773988c91f56 | [
"Apache-2.0"
] | null | null | null | oneflow/compatible_single_client_python/test/ops/test_boxing_v2.py | xcnick/oneflow | 7b786b27069dec35d2493256011e773988c91f56 | [
"Apache-2.0"
] | null | null | null | """
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | 42.433428 | 88 | 0.678483 | 2,211 | 14,979 | 4.272275 | 0.085482 | 0.050815 | 0.03303 | 0.059284 | 0.897311 | 0.87455 | 0.850201 | 0.829663 | 0.813889 | 0.802033 | 0 | 0.026421 | 0.199012 | 14,979 | 352 | 89 | 42.553977 | 0.760877 | 0.038788 | 0 | 0.657343 | 0 | 0 | 0.056845 | 0.011675 | 0 | 0 | 0 | 0 | 0.034965 | 1 | 0.108392 | false | 0 | 0.024476 | 0 | 0.188811 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22185d2926427541f4bc4f131e81136ff4d3e341 | 143 | py | Python | satef/engine/__init__.py | kostrzmar/SATEF | b483b073f1ff3dd797413f212e26114ef93cfe08 | [
"MIT"
] | null | null | null | satef/engine/__init__.py | kostrzmar/SATEF | b483b073f1ff3dd797413f212e26114ef93cfe08 | [
"MIT"
] | null | null | null | satef/engine/__init__.py | kostrzmar/SATEF | b483b073f1ff3dd797413f212e26114ef93cfe08 | [
"MIT"
] | null | null | null | from .AbstractEngine import AbstractEngine
from .AbstractEngineFactory import AbstractEngineFactory
from .EngineFactory import EngineFactory
| 23.833333 | 56 | 0.881119 | 12 | 143 | 10.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097902 | 143 | 5 | 57 | 28.6 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22353cd51ba678061bff06895c30eca957b7741c | 19 | py | Python | RK/__init__.py | vitesempl/RK-IDE-Python | fa948930b711ed831dda2aa04e741c39bf0d8022 | [
"MIT"
] | null | null | null | RK/__init__.py | vitesempl/RK-IDE-Python | fa948930b711ed831dda2aa04e741c39bf0d8022 | [
"MIT"
] | null | null | null | RK/__init__.py | vitesempl/RK-IDE-Python | fa948930b711ed831dda2aa04e741c39bf0d8022 | [
"MIT"
] | null | null | null |
from . import ide
| 6.333333 | 17 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 19 | 2 | 18 | 9.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
223cddeed3d47032df6d2fb7258cda20a60a0502 | 25 | py | Python | keypointer/__init__.py | jhaux/keypointer | 8b01ea0a8a0b5d6210b84495cd5462f3d42a1966 | [
"MIT"
] | null | null | null | keypointer/__init__.py | jhaux/keypointer | 8b01ea0a8a0b5d6210b84495cd5462f3d42a1966 | [
"MIT"
] | null | null | null | keypointer/__init__.py | jhaux/keypointer | 8b01ea0a8a0b5d6210b84495cd5462f3d42a1966 | [
"MIT"
] | null | null | null | from vid_to_key import *
| 12.5 | 24 | 0.8 | 5 | 25 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22702edc59660c27293dd78a8f708aa85a13cedf | 181 | py | Python | muninn_django/tests.py | stcorp/muninn-django | dc23936cb55cbd0ca6b5b6895f2b2e963888cf96 | [
"BSD-3-Clause"
] | 1 | 2019-02-08T03:27:20.000Z | 2019-02-08T03:27:20.000Z | muninn_django/tests.py | stcorp/muninn-django | dc23936cb55cbd0ca6b5b6895f2b2e963888cf96 | [
"BSD-3-Clause"
] | null | null | null | muninn_django/tests.py | stcorp/muninn-django | dc23936cb55cbd0ca6b5b6895f2b2e963888cf96 | [
"BSD-3-Clause"
] | null | null | null | #
# Copyright (C) 2018-2020 S[&]T, The Netherlands.
#
from __future__ import absolute_import, division, print_function
from django.test import TestCase
# Create your tests here.
| 18.1 | 64 | 0.762431 | 25 | 181 | 5.28 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.149171 | 181 | 9 | 65 | 20.111111 | 0.805195 | 0.392265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
97dcdf5f0b2537174badc9e4f894adba0c35a1b3 | 47 | py | Python | pyxb/bundles/opengis/_smil20.py | thorstenb/pyxb | 634e86f61dfb73a2900f32fc3d819e9c25365a49 | [
"Apache-2.0"
] | null | null | null | pyxb/bundles/opengis/_smil20.py | thorstenb/pyxb | 634e86f61dfb73a2900f32fc3d819e9c25365a49 | [
"Apache-2.0"
] | null | null | null | pyxb/bundles/opengis/_smil20.py | thorstenb/pyxb | 634e86f61dfb73a2900f32fc3d819e9c25365a49 | [
"Apache-2.0"
] | null | null | null | from pyxb.bundles.opengis.raw._smil20 import *
| 23.5 | 46 | 0.808511 | 7 | 47 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.085106 | 47 | 1 | 47 | 47 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97de9a3206491e8dbde3a05e6f709dded400e554 | 82 | py | Python | toy-conslaw/models/__init__.py | IanHawke/toy-conslaw | bb93a62f39f4fb4f770bd4ca15105967adf03663 | [
"MIT"
] | null | null | null | toy-conslaw/models/__init__.py | IanHawke/toy-conslaw | bb93a62f39f4fb4f770bd4ca15105967adf03663 | [
"MIT"
] | 1 | 2017-08-18T09:38:36.000Z | 2017-08-22T16:03:04.000Z | toy-conslaw/models/__init__.py | IanHawke/toy-conslaw | bb93a62f39f4fb4f770bd4ca15105967adf03663 | [
"MIT"
] | null | null | null | __all__ = ["euler_gamma_law", "sr_euler_gamma_law", "sr_mhd", "sr_rmhd", "sr_mf"]
| 41 | 81 | 0.707317 | 14 | 82 | 3.285714 | 0.571429 | 0.434783 | 0.565217 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 82 | 1 | 82 | 82 | 0.613333 | 0 | 0 | 0 | 0 | 0 | 0.621951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97f7db0a3776181e8ffb50ea0317ff124cdd50c1 | 194 | bzl | Python | third_party/systemlibs/grpc.bazel.grpc_deps.bzl | laoma023012/TensorFlow-practice | 2b02167307eca3950cc7e49c7c50510ff5ccb92e | [
"Apache-2.0"
] | null | null | null | third_party/systemlibs/grpc.bazel.grpc_deps.bzl | laoma023012/TensorFlow-practice | 2b02167307eca3950cc7e49c7c50510ff5ccb92e | [
"Apache-2.0"
] | 58 | 2021-11-22T05:41:28.000Z | 2022-01-19T01:33:40.000Z | third_party/systemlibs/grpc.bazel.grpc_deps.bzl | laoma023012/TensorFlow-practice | 2b02167307eca3950cc7e49c7c50510ff5ccb92e | [
"Apache-2.0"
] | null | null | null | """Load dependencies needed to compile and test the grpc library as a 3rd-party consumer."""
def grpc_deps():
"""Loads dependencies need to compile and test the grpc library."""
pass
| 24.25 | 92 | 0.71134 | 29 | 194 | 4.724138 | 0.689655 | 0.131387 | 0.175182 | 0.233577 | 0.437956 | 0.437956 | 0.437956 | 0 | 0 | 0 | 0 | 0.00641 | 0.195876 | 194 | 7 | 93 | 27.714286 | 0.871795 | 0.762887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3f13aec5e6b87b9524dbbb890b2a837a678f2ee4 | 40 | py | Python | feat/face_detectors/Retinaface/__init__.py | kenneym/py-feat | 59a25139ad52914d41ebf7fd63e25357c097b745 | [
"MIT"
] | 93 | 2021-04-09T02:34:41.000Z | 2022-03-14T01:18:59.000Z | feat/face_detectors/Retinaface/__init__.py | kenneym/py-feat | 59a25139ad52914d41ebf7fd63e25357c097b745 | [
"MIT"
] | 65 | 2018-02-04T02:39:13.000Z | 2021-03-25T05:31:03.000Z | feat/face_detectors/Retinaface/__init__.py | kenneym/py-feat | 59a25139ad52914d41ebf7fd63e25357c097b745 | [
"MIT"
] | 31 | 2021-04-12T09:37:22.000Z | 2022-03-11T17:48:05.000Z | from .Retinaface_test import RetinaFace
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f1f77e60d9a1e8991647a513c8ed8d2841c0eca | 2,457 | py | Python | tests/unit/dataactvalidator/test_a8_appropriations.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | 1 | 2019-06-22T21:53:16.000Z | 2019-06-22T21:53:16.000Z | tests/unit/dataactvalidator/test_a8_appropriations.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_a8_appropriations.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | null | null | null | from dataactcore.models.stagingModels import Appropriation
from dataactcore.models.domainModels import SF133
from tests.unit.dataactvalidator.utils import number_of_errors
_FILE = 'a8_appropriations'
_TAS = 'a8_appropriations_tas'
def test_success(database):
""" Tests that SF 133 amount sum for lines 1160, 1180... | 50.142857 | 99 | 0.701262 | 364 | 2,457 | 4.461538 | 0.192308 | 0.108374 | 0.137931 | 0.064039 | 0.841133 | 0.841133 | 0.841133 | 0.841133 | 0.841133 | 0.841133 | 0 | 0.108309 | 0.177045 | 2,457 | 48 | 100 | 51.1875 | 0.694857 | 0.129833 | 0 | 0.580645 | 0 | 0 | 0.059772 | 0.009962 | 0 | 0 | 0 | 0 | 0.064516 | 1 | 0.064516 | false | 0 | 0.096774 | 0 | 0.16129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f42c7f437d38f08ff8c6eac4fcc6ff1f1bcaaeb | 34 | py | Python | application/attendance/__init__.py | lahdjirayhan/drive-kesma-library-linker | 7c945e2b8efd8d05a571b563e0738dc3c086263e | [
"Unlicense"
] | null | null | null | application/attendance/__init__.py | lahdjirayhan/drive-kesma-library-linker | 7c945e2b8efd8d05a571b563e0738dc3c086263e | [
"Unlicense"
] | null | null | null | application/attendance/__init__.py | lahdjirayhan/drive-kesma-library-linker | 7c945e2b8efd8d05a571b563e0738dc3c086263e | [
"Unlicense"
] | null | null | null | from .absen import absen_from_line | 34 | 34 | 0.882353 | 6 | 34 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f6092832626e249cd36b1167c70a2446058b504 | 120 | py | Python | app/core/__init__.py | erik-at-techsanity/fastapi-template | f73b75ee461f0b8774adb41f9fccdab52314a1e3 | [
"MIT"
] | 3 | 2021-04-20T23:44:52.000Z | 2022-02-16T02:24:43.000Z | app/core/__init__.py | erik-at-techsanity/fastapi-template | f73b75ee461f0b8774adb41f9fccdab52314a1e3 | [
"MIT"
] | null | null | null | app/core/__init__.py | erik-at-techsanity/fastapi-template | f73b75ee461f0b8774adb41f9fccdab52314a1e3 | [
"MIT"
] | null | null | null | # Standard Library Imports
# None
# 3rd-Party Imports
# None
# App-Local Imports
from app.core.config import settings
| 13.333333 | 36 | 0.758333 | 17 | 120 | 5.352941 | 0.764706 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.166667 | 120 | 8 | 37 | 15 | 0.9 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58ad6575643fbea8ef7908bea2b9c6ba9dd310d9 | 18,788 | py | Python | PrintTags/print_tags.py | MichaelDylan77/PrintTags | 9a1b4bbbeaee2ac91b0f96c745c7cf0a7823e831 | [
"MIT"
] | 31 | 2019-02-28T17:30:38.000Z | 2019-05-19T07:01:03.000Z | PrintTags/print_tags.py | mdlockyer/PrintTags | 9a1b4bbbeaee2ac91b0f96c745c7cf0a7823e831 | [
"MIT"
] | 1 | 2019-02-28T17:34:06.000Z | 2019-03-01T20:43:53.000Z | PrintTags/print_tags.py | mdlockyer/PrintTags | 9a1b4bbbeaee2ac91b0f96c745c7cf0a7823e831 | [
"MIT"
] | 3 | 2019-09-23T16:06:05.000Z | 2020-04-04T02:41:47.000Z | # -*- coding: utf-8 -*-
from datetime import datetime
from .colors import Colors
from typing import List, Tuple, TextIO, Optional, Callable, Any
def _get_datetime() -> str:
return datetime.now().strftime('%d-%b-%Y %I:%M:%S%p')
def _print_with_color(args: Tuple[Any, ...], color_fn: Callable[[str], str],
... | 55.585799 | 116 | 0.656323 | 2,551 | 18,788 | 4.760094 | 0.058408 | 0.039858 | 0.065717 | 0.029976 | 0.918389 | 0.913613 | 0.90126 | 0.90126 | 0.90126 | 0.893189 | 0 | 0.000417 | 0.233607 | 18,788 | 337 | 117 | 55.750742 | 0.842906 | 0.655738 | 0 | 0.409091 | 0 | 0 | 0.037718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0.022727 | 0.034091 | 0.011364 | 0.227273 | 0.181818 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
58b0bc3f2f2fab412486f325587c8d8bfc2be1f9 | 85 | py | Python | pyffs/automaton_management/__init__.py | rominf/pyffs | 6c805fbfd7771727138b169b32484b53c0b0fad1 | [
"MIT"
] | 21 | 2018-07-17T13:21:11.000Z | 2022-03-07T03:00:37.000Z | pyffs/automaton_management/__init__.py | rominf/pyffs | 6c805fbfd7771727138b169b32484b53c0b0fad1 | [
"MIT"
] | 10 | 2016-09-23T20:30:18.000Z | 2021-03-07T12:56:56.000Z | pyffs/automaton_management/__init__.py | antoinewdg/pyffs | 6ac2b6cac67422cbfd34ad0896d6faf35be9ccb9 | [
"MIT"
] | 3 | 2018-08-21T12:08:36.000Z | 2020-11-12T19:32:54.000Z | from .automaton_manager import manager
from .utils import generate_automaton_to_file
| 28.333333 | 45 | 0.882353 | 12 | 85 | 5.916667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 85 | 2 | 46 | 42.5 | 0.922078 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58ce5c82dd9451b64af42f8396ca46490e4b4723 | 99 | py | Python | gui/screens/screenmanagement.py | tonymorony/DiceCC-GUI | 89dbdcf9fe762fe673a0c8c90d461efc10ab31e4 | [
"MIT"
] | 1 | 2018-12-12T12:18:57.000Z | 2018-12-12T12:18:57.000Z | gui/screens/screenmanagement.py | tonymorony/ChannelsCC-GUI | 07df3706f8a250738311773eaf130fd8ebced64a | [
"MIT"
] | null | null | null | gui/screens/screenmanagement.py | tonymorony/ChannelsCC-GUI | 07df3706f8a250738311773eaf130fd8ebced64a | [
"MIT"
] | 1 | 2019-01-04T05:52:38.000Z | 2019-01-04T05:52:38.000Z | from kivy.uix.screenmanager import ScreenManager
class ScreenManagement(ScreenManager):
pass
| 16.5 | 48 | 0.818182 | 10 | 99 | 8.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 5 | 49 | 19.8 | 0.94186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
58cf7bc7e499d9835a529fca885b9cad88f53185 | 6,318 | py | Python | api/src/services/github_api.py | AlbertSuarez/git-inspect | 4889210f0a47abe56b0f396ce0ecb08132ef4cf8 | [
"MIT"
] | 6 | 2019-10-05T17:57:54.000Z | 2019-10-10T07:37:15.000Z | api/src/services/github_api.py | AlbertSuarez/git-inspect | 4889210f0a47abe56b0f396ce0ecb08132ef4cf8 | [
"MIT"
] | 1 | 2019-10-07T22:05:12.000Z | 2019-10-09T15:37:03.000Z | api/src/services/github_api.py | AlbertSuarez/git-inspect | 4889210f0a47abe56b0f396ce0ecb08132ef4cf8 | [
"MIT"
] | 2 | 2019-10-07T20:47:07.000Z | 2019-12-04T19:52:50.000Z | import time
import requests
from src import *
from src.helper import log, env
from src.helper.response import get
def get_basic_user_information(username):
for attempt in range(0, GITHUB_API_RETRIES):
try:
endpoint = GITHUB_SINGLE_USER_ENDPOINT.format(username=username)
params = d... | 43.572414 | 120 | 0.572808 | 689 | 6,318 | 4.991292 | 0.124819 | 0.062809 | 0.05583 | 0.062809 | 0.80663 | 0.80663 | 0.795289 | 0.761559 | 0.741785 | 0.741785 | 0 | 0.003826 | 0.338082 | 6,318 | 144 | 121 | 43.875 | 0.818508 | 0 | 0 | 0.679389 | 0 | 0 | 0.112061 | 0.033238 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045802 | false | 0 | 0.038168 | 0 | 0.175573 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
58fa73b334a54ce307232d049c85eaadbb72be3a | 93 | py | Python | archive/2017/tasks/encode_decode/tests.py | YAtOff/python0 | b5af5004131d64dd52d42746eddb72b6c43a13c7 | [
"Apache-2.0"
] | 6 | 2017-11-08T14:04:39.000Z | 2019-03-24T22:11:04.000Z | archive/2017/tasks/encode_decode/tests.py | YAtOff/python0 | b5af5004131d64dd52d42746eddb72b6c43a13c7 | [
"Apache-2.0"
] | null | null | null | archive/2017/tasks/encode_decode/tests.py | YAtOff/python0 | b5af5004131d64dd52d42746eddb72b6c43a13c7 | [
"Apache-2.0"
] | 7 | 2015-10-27T09:04:58.000Z | 2019-03-03T14:18:26.000Z | import doctest
import encode
import decode
doctest.testmod(encode)
doctest.testmod(decode)
| 11.625 | 23 | 0.827957 | 12 | 93 | 6.416667 | 0.416667 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 93 | 7 | 24 | 13.285714 | 0.927711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
450dd3e5a21435a8c74bcdcfdb615c8cd846706f | 103 | py | Python | python-to-C/app/sample.py | naumovdk/parsers | 6c749d36f588114ce055891dab46c9c6be05a4c0 | [
"MIT"
] | null | null | null | python-to-C/app/sample.py | naumovdk/parsers | 6c749d36f588114ce055891dab46c9c6be05a4c0 | [
"MIT"
] | null | null | null | python-to-C/app/sample.py | naumovdk/parsers | 6c749d36f588114ce055891dab46c9c6be05a4c0 | [
"MIT"
] | null | null | null | a = int(input())
if a == 3:
a = 4
elif a == 1:
b = 4
else:
a = 4
elif a == 15:
b = 123
| 10.3 | 16 | 0.38835 | 21 | 103 | 1.904762 | 0.571429 | 0.1 | 0.3 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 0.427184 | 103 | 9 | 17 | 11.444444 | 0.508475 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18dfca5b58c683c94eba90d98865c951bed73ade | 114 | py | Python | app/views/__init__.py | skj95/EzFood | 013fab204621bf1746d1e8914c5a9ee14311f79b | [
"MIT"
] | 1 | 2021-07-14T19:45:19.000Z | 2021-07-14T19:45:19.000Z | app/views/__init__.py | Trung-Jeager-2019/EzFood | 03ef7253c3d8cfc150e6054d10d91ca7efdca5e6 | [
"MIT"
] | 11 | 2021-02-08T20:46:16.000Z | 2022-03-12T00:28:56.000Z | app/views/__init__.py | Trung-Jeager-2019/EzFood | 03ef7253c3d8cfc150e6054d10d91ca7efdca5e6 | [
"MIT"
] | 2 | 2020-03-05T12:30:46.000Z | 2020-05-16T06:31:56.000Z | from .general import *
from .partner import *
from .checkout import *
from .rider import *
from .normal import *
| 16.285714 | 23 | 0.72807 | 15 | 114 | 5.533333 | 0.466667 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 114 | 6 | 24 | 19 | 0.892473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e14f20dc57887c5d8c7b2305fc97d24b8ee73680 | 43 | py | Python | routes/__init__.py | texuf/myantname | f683a6ca0feb9dd5e2d0f2bb67204ff4193e262a | [
"MIT"
] | null | null | null | routes/__init__.py | texuf/myantname | f683a6ca0feb9dd5e2d0f2bb67204ff4193e262a | [
"MIT"
] | null | null | null | routes/__init__.py | texuf/myantname | f683a6ca0feb9dd5e2d0f2bb67204ff4193e262a | [
"MIT"
] | null | null | null |
import index
import myname
import species | 8.6 | 14 | 0.837209 | 6 | 43 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 5 | 14 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.