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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3ecf7d4c6334ede4964385190cb59f0b14bb17be | 48 | py | Python | ceem/__init__.py | sisl/CEEM | 6154587fe3cdb92e8b7f70eedb1262caa1553cc8 | [
"MIT"
] | 5 | 2020-06-21T16:50:42.000Z | 2021-03-14T04:02:01.000Z | ceem/__init__.py | sisl/CEEM | 6154587fe3cdb92e8b7f70eedb1262caa1553cc8 | [
"MIT"
] | 1 | 2021-03-13T07:46:36.000Z | 2021-03-16T05:14:47.000Z | ceem/__init__.py | sisl/CEEM | 6154587fe3cdb92e8b7f70eedb1262caa1553cc8 | [
"MIT"
] | 1 | 2021-03-30T12:08:20.000Z | 2021-03-30T12:08:20.000Z | #
# File: __init__.py
#
from .ceem import CEEM
| 8 | 22 | 0.666667 | 7 | 48 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 48 | 5 | 23 | 9.6 | 0.736842 | 0.354167 | 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 |
3ee0fdbcabedd5102a8044581b4408443b84bd49 | 180 | py | Python | src/autodiff/__init__.py | mountain-bay/cs107-FinalProject | 59487d7c334f5c9c8eb69d5b5b358a8e8d495dbb | [
"MIT"
] | null | null | null | src/autodiff/__init__.py | mountain-bay/cs107-FinalProject | 59487d7c334f5c9c8eb69d5b5b358a8e8d495dbb | [
"MIT"
] | 17 | 2020-11-18T18:25:58.000Z | 2020-12-11T22:22:25.000Z | src/autodiff/__init__.py | mountain-bay/cs107-FinalProject | 59487d7c334f5c9c8eb69d5b5b358a8e8d495dbb | [
"MIT"
] | null | null | null | from .AD_Object import Var
from .AD_BasicMath import sin, cos, tan, sqrt, exp, log, ln
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 25.714286 | 59 | 0.777778 | 28 | 180 | 4.642857 | 0.607143 | 0.253846 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 180 | 6 | 60 | 30 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.038889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 |
f5ed689973aabdd26670968edae5f42f85fb73e9 | 147 | py | Python | land_purchase_demo/land_purchase_demo/doctype/land_purchase/test_land_purchase.py | KaviyaPeriyasamy/land_purchase_demo | f1bc173fe2476fd18284e1e6a4fd015026984b16 | [
"MIT"
] | null | null | null | land_purchase_demo/land_purchase_demo/doctype/land_purchase/test_land_purchase.py | KaviyaPeriyasamy/land_purchase_demo | f1bc173fe2476fd18284e1e6a4fd015026984b16 | [
"MIT"
] | null | null | null | land_purchase_demo/land_purchase_demo/doctype/land_purchase/test_land_purchase.py | KaviyaPeriyasamy/land_purchase_demo | f1bc173fe2476fd18284e1e6a4fd015026984b16 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, kaviya and Contributors
# See license.txt
# import frappe
import unittest
class TestLandPurchase(unittest.TestCase):
pass
| 16.333333 | 45 | 0.782313 | 18 | 147 | 6.388889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.142857 | 147 | 8 | 46 | 18.375 | 0.880952 | 0.496599 | 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 |
eb139700bfde3ed461e4347dce8d3f1ec866be90 | 447 | py | Python | tests/poligon.py | krzjoa/sciquence | 6a5f758c757200fffeb0fdc9206462f1f89e2444 | [
"MIT"
] | 8 | 2017-10-23T17:59:35.000Z | 2021-05-10T03:01:30.000Z | tests/poligon.py | krzjoa/sciquence | 6a5f758c757200fffeb0fdc9206462f1f89e2444 | [
"MIT"
] | 2 | 2019-08-25T19:24:12.000Z | 2019-09-05T12:16:10.000Z | tests/poligon.py | krzjoa/sciquence | 6a5f758c757200fffeb0fdc9206462f1f89e2444 | [
"MIT"
] | 2 | 2018-02-28T09:47:53.000Z | 2019-08-25T19:24:16.000Z | import numpy as np
import sciquence.sequences as sq
x = np.array([1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1,
1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0])
expected = [np.array([1, 1, 1]), np.array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]),
np.array([1, 1, 1, 1, 1, 1, 1, 1,... | 34.384615 | 83 | 0.451902 | 105 | 447 | 1.904762 | 0.152381 | 0.34 | 0.42 | 0.44 | 0.605 | 0.535 | 0.535 | 0.505 | 0.465 | 0.26 | 0 | 0.225 | 0.284116 | 447 | 12 | 84 | 37.25 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0.222222 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eb31f44df29db2453a7906a1e64f3ccd3a8030b3 | 20 | py | Python | addons/lunch/populate/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/lunch/populate/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/lunch/populate/__init__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | from . import lunch
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 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 |
eb34ffec95888d31cb56b5e173b61cf180c68e05 | 24,017 | py | Python | optionmodels/latticemethods.py | GBERESEARCH/optionmodels | 4f2528317eb8bf38238fcf21a0fa286758385f69 | [
"MIT"
] | 2 | 2021-02-08T22:05:12.000Z | 2021-09-10T04:29:58.000Z | optionmodels/latticemethods.py | GBERESEARCH/optionmodels | 4f2528317eb8bf38238fcf21a0fa286758385f69 | [
"MIT"
] | null | null | null | optionmodels/latticemethods.py | GBERESEARCH/optionmodels | 4f2528317eb8bf38238fcf21a0fa286758385f69 | [
"MIT"
] | 2 | 2020-12-21T08:36:45.000Z | 2021-09-10T04:29:59.000Z | """
Lattice based option pricing models
"""
import numpy as np
from scipy.special import comb
from optionmodels.utils import Utils
# pylint: disable=invalid-name
class LatticeMethods():
"""
Lattice based option pricing models
"""
@staticmethod
def european_binomial(**kwargs):
"""
... | 34.756874 | 77 | 0.413041 | 2,747 | 24,017 | 3.58755 | 0.075719 | 0.049721 | 0.059665 | 0.027702 | 0.814307 | 0.797666 | 0.770675 | 0.750989 | 0.727144 | 0.703704 | 0 | 0.038279 | 0.457218 | 24,017 | 690 | 78 | 34.807246 | 0.717705 | 0.260399 | 0 | 0.600529 | 0 | 0 | 0.031188 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013228 | false | 0 | 0.007937 | 0 | 0.037037 | 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 |
eb4236ace9e6da14b37d9779a6ba431466dd90c8 | 39 | py | Python | Utilities/__init__.py | emcknight/ChessEngineAASpr2022- | 10ddba62cc9c558facdfe3c7ba65b24cc2c6d356 | [
"MIT"
] | 2 | 2022-03-19T20:28:06.000Z | 2022-03-25T16:35:32.000Z | Utilities/__init__.py | emcknight/ChessEngineAASpr2022- | 10ddba62cc9c558facdfe3c7ba65b24cc2c6d356 | [
"MIT"
] | null | null | null | Utilities/__init__.py | emcknight/ChessEngineAASpr2022- | 10ddba62cc9c558facdfe3c7ba65b24cc2c6d356 | [
"MIT"
] | 1 | 2022-03-25T21:32:56.000Z | 2022-03-25T21:32:56.000Z | from .SearchUtils import Memo, MemoNode | 39 | 39 | 0.846154 | 5 | 39 | 6.6 | 1 | 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 |
de4b03f8fdd2e9e67a942340865a95af20b5df5b | 10,294 | py | Python | code/section_gp_fit.py | mrtommyb/GP_model_Kepler_data | a51ba4b6ab325484b47b2e594539f537cacdbb62 | [
"MIT"
] | null | null | null | code/section_gp_fit.py | mrtommyb/GP_model_Kepler_data | a51ba4b6ab325484b47b2e594539f537cacdbb62 | [
"MIT"
] | null | null | null | code/section_gp_fit.py | mrtommyb/GP_model_Kepler_data | a51ba4b6ab325484b47b2e594539f537cacdbb62 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import division, print_function
import os
import sys
import numpy as np
import matplotlib.pyplot as plt
import george
from george.kernels import ExpSquaredKernel, RBFKernel
from ktransit import LCModel, FitTransit
from scipy import optimize
def ret_opt... | 34.894915 | 82 | 0.59967 | 1,446 | 10,294 | 4.214385 | 0.116874 | 0.074828 | 0.094519 | 0.102396 | 0.869052 | 0.850837 | 0.834099 | 0.796357 | 0.763374 | 0.73597 | 0 | 0.081533 | 0.244609 | 10,294 | 294 | 83 | 35.013605 | 0.70216 | 0.059938 | 0 | 0.683128 | 0 | 0 | 0.005287 | 0.004043 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028807 | false | 0 | 0.037037 | 0 | 0.09465 | 0.00823 | 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 |
de6824ba50c4c47941090f492c3461d542d0b2c8 | 49 | py | Python | fig_html/utils/__init__.py | kazetof/fightml | 5ce43735709170e50373f7b97676ac7e38ab73e5 | [
"MIT"
] | 1 | 2019-10-05T14:28:15.000Z | 2019-10-05T14:28:15.000Z | fig_html/utils/__init__.py | kazetof/fightml | 5ce43735709170e50373f7b97676ac7e38ab73e5 | [
"MIT"
] | null | null | null | fig_html/utils/__init__.py | kazetof/fightml | 5ce43735709170e50373f7b97676ac7e38ab73e5 | [
"MIT"
] | null | null | null | from .sample_fig_maker import SampleFiguresMaker
| 24.5 | 48 | 0.897959 | 6 | 49 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ded15aabbe4d56dca3ee52daf7f986f91583228a | 32 | py | Python | service_locator/decorators.py | alexescalonafernandez/service-locator | 9b3887a08c55d27943e3fa9961e0377ce10295ab | [
"MIT"
] | 1 | 2018-02-28T13:47:27.000Z | 2018-02-28T13:47:27.000Z | service_locator/decorators.py | alexescalonafernandez/service-locator | 9b3887a08c55d27943e3fa9961e0377ce10295ab | [
"MIT"
] | null | null | null | service_locator/decorators.py | alexescalonafernandez/service-locator | 9b3887a08c55d27943e3fa9961e0377ce10295ab | [
"MIT"
] | 1 | 2018-02-28T13:47:29.000Z | 2018-02-28T13:47:29.000Z | from .ioc import ServiceProvider | 32 | 32 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 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 |
72352468b5bc72beab91c608b4016fddac3608bd | 4,278 | py | Python | tests/0800_builder/05_scan.py | sveetch/Optimus | 983aebeccd2ada7a5a0ab96f9296d4bba1112022 | [
"MIT"
] | 2 | 2019-05-31T00:23:15.000Z | 2021-04-26T07:26:16.000Z | tests/0800_builder/05_scan.py | sveetch/Optimus | 983aebeccd2ada7a5a0ab96f9296d4bba1112022 | [
"MIT"
] | 27 | 2015-04-21T14:43:26.000Z | 2022-01-29T00:42:53.000Z | tests/0800_builder/05_scan.py | sveetch/Optimus | 983aebeccd2ada7a5a0ab96f9296d4bba1112022 | [
"MIT"
] | 1 | 2017-05-21T17:32:28.000Z | 2017-05-21T17:32:28.000Z | import os
import importlib
import shutil
import pytest
from optimus.setup_project import setup_project
from optimus.conf.loader import import_pages_module
from optimus.pages.builder import PageBuilder
from optimus.assets.registry import register_assets
@pytest.mark.parametrize(
"sample_fixture_name,attempted_te... | 28.331126 | 87 | 0.649836 | 477 | 4,278 | 5.60587 | 0.257862 | 0.048616 | 0.063575 | 0.038893 | 0.84368 | 0.84368 | 0.84368 | 0.84368 | 0.84368 | 0.84368 | 0 | 0.00064 | 0.269285 | 4,278 | 150 | 88 | 28.52 | 0.854766 | 0.20921 | 0 | 0.693069 | 0 | 0 | 0.115361 | 0.023494 | 0 | 0 | 0 | 0 | 0.019802 | 1 | 0.019802 | false | 0 | 0.118812 | 0 | 0.138614 | 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 |
a0d9f8e377ebac212774be05590905f3cd1629ab | 268 | py | Python | oxpe2elib/channel/msg/protocol/__init__.py | cketley/oxpe2e | 88bc33761e83ea0df7dc9cec435260058b367f8e | [
"Apache-2.0"
] | null | null | null | oxpe2elib/channel/msg/protocol/__init__.py | cketley/oxpe2e | 88bc33761e83ea0df7dc9cec435260058b367f8e | [
"Apache-2.0"
] | null | null | null | oxpe2elib/channel/msg/protocol/__init__.py | cketley/oxpe2e | 88bc33761e83ea0df7dc9cec435260058b367f8e | [
"Apache-2.0"
] | null | null | null | #from oxpe2elib.channel import identity
#from oxpe2elib.listener import listener
#from oxpe2elib.channel import pingService
from oxpe2elib.channel.msg.protocol import protocol
#from oxpe2elib.received import receivedMessage
from oxpe2elib.channel.msg import message
| 33.5 | 51 | 0.854478 | 33 | 268 | 6.939394 | 0.363636 | 0.340611 | 0.349345 | 0.227074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.097015 | 268 | 7 | 52 | 38.285714 | 0.921488 | 0.61194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9d30c523adc11be39c4604e55d468d94df30842b | 34,379 | py | Python | etl/parsers/etw/Microsoft_Windows_VolumeSnapshot_Driver.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_VolumeSnapshot_Driver.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_VolumeSnapshot_Driver.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-VolumeSnapshot-Driver
GUID : 67fe2216-727a-40cb-94b2-c02211edb34a
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp import Si... | 33.120424 | 123 | 0.66657 | 3,363 | 34,379 | 6.655367 | 0.049063 | 0.064337 | 0.120633 | 0.144759 | 0.947592 | 0.947592 | 0.939371 | 0.744527 | 0.738361 | 0.738361 | 0 | 0.118496 | 0.212281 | 34,379 | 1,037 | 124 | 33.152363 | 0.707987 | 0.003083 | 0 | 0.661196 | 0 | 0 | 0.263746 | 0.094793 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004689 | 0 | 0.213365 | 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 |
9d4e30b0e49a44ed9744c2dd45cb6de17762e5ad | 99 | py | Python | python/kaitai/compress/lz4.py | kaitaiStructCompile/kaitai_compress | 2258028b30a422a5d37ba4fdb50da742dd895729 | [
"MIT"
] | 7 | 2018-11-12T08:37:11.000Z | 2022-02-27T05:12:55.000Z | python/kaitai/compress/lz4.py | kaitaiStructCompile/kaitai_compress | 2258028b30a422a5d37ba4fdb50da742dd895729 | [
"MIT"
] | 9 | 2019-02-02T09:55:12.000Z | 2021-10-09T12:17:32.000Z | python/kaitai/compress/lz4.py | kaitaiStructCompile/kaitai_compress | 2258028b30a422a5d37ba4fdb50da742dd895729 | [
"MIT"
] | 3 | 2018-07-15T19:43:27.000Z | 2021-02-08T01:13:49.000Z | import lz4.frame
class Lz4:
def decode(self, data):
return lz4.frame.decompress(data)
| 16.5 | 41 | 0.676768 | 14 | 99 | 4.785714 | 0.714286 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.222222 | 99 | 5 | 42 | 19.8 | 0.831169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9d5e614000238960c9901e6f86b9ae1c3eee6080 | 4,532 | py | Python | pirates/leveleditor/worldData/pvp_deathmatchArea1_jungle_c.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/pvp_deathmatchArea1_jungle_c.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/pvp_deathmatchArea1_jungle_c.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3
objectStruct = {'Objects': {'1170793088.0jubutler': {'Type': 'Island Game Area','Name': 'pvp_deathmatchArea1_jungle_c','File': '','AdditionalData': ['JungleAreaC'],'Instanced': True,'Objects': {'1170793216.0jubutler': {'Type': 'Locator Node','Name': 'portal_interior_1','Hp... | 2,266 | 4,485 | 0.656884 | 671 | 4,532 | 4.402385 | 0.226528 | 0.036561 | 0.042654 | 0.040623 | 0.537238 | 0.462424 | 0.430603 | 0.41977 | 0.41977 | 0.358835 | 0 | 0.250117 | 0.058694 | 4,532 | 2 | 4,485 | 2,266 | 0.442335 | 0 | 0 | 0 | 0 | 0 | 0.566953 | 0.265167 | 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 |
19caff61941bed860cc978d63808d94995b2e698 | 62 | py | Python | Python/hello_world_ronlek.py | kennethsequeira/Hello-world | 464227bc7d9778a4a2a4044fe415a629003ea77f | [
"MIT"
] | 1,428 | 2018-10-03T15:15:17.000Z | 2019-03-31T18:38:36.000Z | Python/hello_world_ronlek.py | kennethsequeira/Hello-world | 464227bc7d9778a4a2a4044fe415a629003ea77f | [
"MIT"
] | 1,162 | 2018-10-03T15:05:49.000Z | 2018-10-18T14:17:52.000Z | Python/hello_world_ronlek.py | kennethsequeira/Hello-world | 464227bc7d9778a4a2a4044fe415a629003ea77f | [
"MIT"
] | 3,909 | 2018-10-03T15:07:19.000Z | 2019-03-31T18:39:08.000Z | #Script to print Hello World in Python
print("Hello World!!")
| 20.666667 | 38 | 0.741935 | 10 | 62 | 4.6 | 0.7 | 0.434783 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 62 | 2 | 39 | 31 | 0.867925 | 0.596774 | 0 | 0 | 0 | 0 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
19f1fdfe737e72562e3bd2b7b01dcd4cb947eb36 | 26 | py | Python | multi_tools/math/groups.py | Jerem2360/multitools | cd2c5aee72e5c2c8b60bbedd458303051b104c29 | [
"Unlicense"
] | null | null | null | multi_tools/math/groups.py | Jerem2360/multitools | cd2c5aee72e5c2c8b60bbedd458303051b104c29 | [
"Unlicense"
] | null | null | null | multi_tools/math/groups.py | Jerem2360/multitools | cd2c5aee72e5c2c8b60bbedd458303051b104c29 | [
"Unlicense"
] | null | null | null | from typing import Union
| 8.666667 | 24 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 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 |
c233cfec95d0dda54dfbd2e77140845247114dc8 | 45 | py | Python | cqed_lib/cqed_tools/x_analysis/__init__.py | paulsbrookes/bistability_tools | 6d7f20a20d9371a56e83a7ee48237fb70b831a85 | [
"Apache-2.0"
] | null | null | null | cqed_lib/cqed_tools/x_analysis/__init__.py | paulsbrookes/bistability_tools | 6d7f20a20d9371a56e83a7ee48237fb70b831a85 | [
"Apache-2.0"
] | null | null | null | cqed_lib/cqed_tools/x_analysis/__init__.py | paulsbrookes/bistability_tools | 6d7f20a20d9371a56e83a7ee48237fb70b831a85 | [
"Apache-2.0"
] | null | null | null | from .loading import *
from .fitting import * | 22.5 | 22 | 0.755556 | 6 | 45 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 23 | 22.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c23a7c32b337cbee7e3a5045126ce9cee442ce52 | 27 | py | Python | src/euler_python_package/euler_python/medium/p306.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p306.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p306.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem306():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
dff58c0ff92ae4b988bf075eee76af2e4793e944 | 90 | py | Python | selection/models/__init__.py | icc2115/dl-selection | e39ef0e73bf631e413bac48db791aed617dd7e32 | [
"MIT"
] | 8 | 2021-03-08T08:46:23.000Z | 2022-02-28T12:19:50.000Z | selection/models/__init__.py | icc2115/dl-selection | e39ef0e73bf631e413bac48db791aed617dd7e32 | [
"MIT"
] | null | null | null | selection/models/__init__.py | icc2115/dl-selection | e39ef0e73bf631e413bac48db791aed617dd7e32 | [
"MIT"
] | 2 | 2021-04-18T08:24:16.000Z | 2022-02-28T12:19:54.000Z | from .mlp import MLP
from .mlp import SelectorMLP
from . import train
from . import utils
| 18 | 28 | 0.777778 | 14 | 90 | 5 | 0.428571 | 0.2 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 4 | 29 | 22.5 | 0.945946 | 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 |
a034738ad51dc6d50aeef69ced8a4c5dcb0844fe | 1,897 | py | Python | tests/test_e2e_01_0Lines.py | blue-monk/csv-diff-python2 | 8fbe9d149231b7d321d867497200e7c0c0118e57 | [
"MIT"
] | null | null | null | tests/test_e2e_01_0Lines.py | blue-monk/csv-diff-python2 | 8fbe9d149231b7d321d867497200e7c0c0118e57 | [
"MIT"
] | null | null | null | tests/test_e2e_01_0Lines.py | blue-monk/csv-diff-python2 | 8fbe9d149231b7d321d867497200e7c0c0118e57 | [
"MIT"
] | null | null | null | import sys
import textwrap
import pytest
from src.csvdiff2 import csvdiff
@pytest.mark.filterwarnings("ignore:Sniffing failed")
def test_no_lines_on_both_sides_as_no_header(lhs, rhs, capfd, args):
lhs.write(textwrap.dedent('''
''').strip())
rhs.write(textwrap.dedent('''
''').strip())
sys.argv ... | 27.897059 | 68 | 0.474433 | 183 | 1,897 | 4.836066 | 0.333333 | 0.094915 | 0.085876 | 0.054237 | 0.79887 | 0.764972 | 0.764972 | 0.708475 | 0.708475 | 0.60339 | 0 | 0.013828 | 0.275698 | 1,897 | 67 | 69 | 28.313433 | 0.630277 | 0 | 0 | 0.857143 | 0 | 0 | 0.594509 | 0.090813 | 0 | 0 | 0 | 0 | 0.081633 | 1 | 0.040816 | false | 0 | 0.081633 | 0 | 0.122449 | 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 |
a05ac77f03660eae1a994784ca02c62919be29a3 | 38 | py | Python | geo/__init__.py | morysam96/geoserver-rest | ad66ce6877aad70f5cddb5baeccfff6d90732c84 | [
"MIT"
] | 83 | 2020-09-14T13:01:29.000Z | 2022-03-27T16:12:09.000Z | geo/__init__.py | morysam96/geoserver-rest | ad66ce6877aad70f5cddb5baeccfff6d90732c84 | [
"MIT"
] | 46 | 2020-09-15T06:47:52.000Z | 2022-03-03T06:16:28.000Z | geo/__init__.py | morysam96/geoserver-rest | ad66ce6877aad70f5cddb5baeccfff6d90732c84 | [
"MIT"
] | 40 | 2020-09-14T12:32:55.000Z | 2022-02-17T03:16:06.000Z | from . import Calculation_gdal, Style
| 19 | 37 | 0.815789 | 5 | 38 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.909091 | 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 |
a0759cee3612285bfa914107c209e821ebaa2145 | 23 | py | Python | PyTBot/__init__.py | RRostami/PyTBot | a95bb9b3d3d19284b60c93b758a8aa26e3357929 | [
"MIT"
] | null | null | null | PyTBot/__init__.py | RRostami/PyTBot | a95bb9b3d3d19284b60c93b758a8aa26e3357929 | [
"MIT"
] | null | null | null | PyTBot/__init__.py | RRostami/PyTBot | a95bb9b3d3d19284b60c93b758a8aa26e3357929 | [
"MIT"
] | null | null | null | from .telegram import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0852e4d727130c9ac3e56a5fab7fdccdfb497b2 | 2,113 | py | Python | tests/unit/test_handle_custom_resource_message.py | zaro0508/cfn-cr-same-region-bucket-download | 9db66c7fd9738b8d29d2d758741541d9b069a338 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_handle_custom_resource_message.py | zaro0508/cfn-cr-same-region-bucket-download | 9db66c7fd9738b8d29d2d758741541d9b069a338 | [
"Apache-2.0"
] | 1 | 2021-02-18T20:14:52.000Z | 2021-02-19T02:18:45.000Z | tests/unit/test_handle_custom_resource_message.py | zaro0508/cfn-cr-same-region-bucket-download | 9db66c7fd9738b8d29d2d758741541d9b069a338 | [
"Apache-2.0"
] | 2 | 2021-02-12T02:16:09.000Z | 2021-02-19T18:26:22.000Z | from restrict_download_region import cfnresponse, restrict_region
from pytest_mock import MockerFixture
import pytest
def test_handle_custom_resource_status_message__successful_execution__not_custom_resource(mocker: MockerFixture):
mock_cfn_send = mocker.patch.object(cfnresponse, "send", autospec=True)
event... | 32.507692 | 115 | 0.751065 | 246 | 2,113 | 6.012195 | 0.195122 | 0.132522 | 0.108181 | 0.140636 | 0.81812 | 0.811359 | 0.811359 | 0.811359 | 0.811359 | 0.735632 | 0 | 0 | 0.162328 | 2,113 | 64 | 116 | 33.015625 | 0.835593 | 0 | 0 | 0.595238 | 0 | 0 | 0.035968 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 1 | 0.190476 | false | 0.047619 | 0.071429 | 0 | 0.261905 | 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 |
a092932113db1c085ee4e2be09050d83302bc79f | 310 | py | Python | Allinone py/Print-sumofall-odd-even-numbers.py | whoafridi/Python | 4fea6f81ebfd94730b36b4d95669adcadacae5df | [
"MIT"
] | null | null | null | Allinone py/Print-sumofall-odd-even-numbers.py | whoafridi/Python | 4fea6f81ebfd94730b36b4d95669adcadacae5df | [
"MIT"
] | null | null | null | Allinone py/Print-sumofall-odd-even-numbers.py | whoafridi/Python | 4fea6f81ebfd94730b36b4d95669adcadacae5df | [
"MIT"
] | 1 | 2019-07-09T06:34:29.000Z | 2019-07-09T06:34:29.000Z | ## Print Sum of All Even Numbers
i = int(input("Enter : "))
sum = 0
for i in range(2 , i+1 , 2):
sum = sum + i
print("Result is {0}".format(sum))
## Print Sum of All Odd Numbers
i = int(input("Enter : "))
sum = 0
for i in range(1 , i+1 , 2):
sum = sum + i
print("Result is {0}".format(sum)) | 15.5 | 34 | 0.558065 | 58 | 310 | 2.982759 | 0.344828 | 0.092486 | 0.115607 | 0.150289 | 0.797688 | 0.797688 | 0.797688 | 0.797688 | 0.797688 | 0.797688 | 0 | 0.043668 | 0.26129 | 310 | 20 | 35 | 15.5 | 0.71179 | 0.187097 | 0 | 0.8 | 0 | 0 | 0.169355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 |
cd007b1597b9190ac9ba0b429eb135861da2961f | 146 | py | Python | 02-basic-python/exercise.py | nicholas-greger/2020-datascience-lectures | 389d0a5b56f510677d3b09da400268a1991a5b0f | [
"MIT"
] | 26 | 2019-12-13T09:22:19.000Z | 2021-03-06T05:21:41.000Z | 02-basic-python/exercise.py | nicholas-greger/2020-datascience-lectures | 389d0a5b56f510677d3b09da400268a1991a5b0f | [
"MIT"
] | null | null | null | 02-basic-python/exercise.py | nicholas-greger/2020-datascience-lectures | 389d0a5b56f510677d3b09da400268a1991a5b0f | [
"MIT"
] | 43 | 2020-01-08T05:09:08.000Z | 2021-12-19T11:23:40.000Z | def add_numbers(a, b):
return a + b
print(add_numbers(3, 7))
print(add_numbers(14.22, 19))
# printing a won't work because of scope
print(a)
| 18.25 | 40 | 0.691781 | 29 | 146 | 3.37931 | 0.655172 | 0.306122 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 0.171233 | 146 | 7 | 41 | 20.857143 | 0.743802 | 0.260274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
cd3c15210bb5c2050ec265824b4f32bb0c68759c | 38 | py | Python | casbin/rbac/__init__.py | goodrain/pycasbin | 1a481ba1af7619e1cc7e83896581d14976927d80 | [
"Apache-2.0"
] | 915 | 2018-11-25T01:00:39.000Z | 2022-03-30T11:21:34.000Z | casbin/rbac/__init__.py | goodrain/pycasbin | 1a481ba1af7619e1cc7e83896581d14976927d80 | [
"Apache-2.0"
] | 231 | 2019-02-13T09:29:51.000Z | 2022-03-28T16:32:51.000Z | casbin/rbac/__init__.py | goodrain/pycasbin | 1a481ba1af7619e1cc7e83896581d14976927d80 | [
"Apache-2.0"
] | 173 | 2019-02-08T02:22:33.000Z | 2022-03-10T15:16:11.000Z | from .role_manager import RoleManager
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
26a3a3284b689f89220b550ae11b5378a6a16e6d | 89 | py | Python | src/models/__init__.py | ryanwongsa/image-inpainting | d20419f3260760f1deb96d2b904dd4de92eeee36 | [
"BSD-3-Clause"
] | null | null | null | src/models/__init__.py | ryanwongsa/image-inpainting | d20419f3260760f1deb96d2b904dd4de92eeee36 | [
"BSD-3-Clause"
] | null | null | null | src/models/__init__.py | ryanwongsa/image-inpainting | d20419f3260760f1deb96d2b904dd4de92eeee36 | [
"BSD-3-Clause"
] | null | null | null | from models.pconv_unet import PConvUNet
from models.vgg16_extractor import VGG16Extractor | 44.5 | 49 | 0.898876 | 12 | 89 | 6.5 | 0.75 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.078652 | 89 | 2 | 49 | 44.5 | 0.902439 | 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 |
f82160a5d9d35b8c0e86c1cb736ee70e38af2795 | 35 | py | Python | src/interfacePy/WKB/__init__.py | dkaramit/MiMeS | a3c97a4877f181b54e880d7b144271c5659291b5 | [
"MIT"
] | 2 | 2022-01-27T20:10:19.000Z | 2022-01-29T04:26:16.000Z | src/interfacePy/WKB/__init__.py | dkaramit/MiMeS | a3c97a4877f181b54e880d7b144271c5659291b5 | [
"MIT"
] | null | null | null | src/interfacePy/WKB/__init__.py | dkaramit/MiMeS | a3c97a4877f181b54e880d7b144271c5659291b5 | [
"MIT"
] | null | null | null | from .WKB import relic, getPoints
| 11.666667 | 33 | 0.771429 | 5 | 35 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 2 | 34 | 17.5 | 0.931034 | 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 |
f85359614b95b7504db7009779a48b7ae165876d | 249 | py | Python | api/custom_errors.py | chenningg/sql-query-optimizer | 5e418989b4788378b851193533f81b9b8e6e6375 | [
"MIT"
] | 2 | 2020-11-30T15:37:01.000Z | 2022-03-09T14:09:52.000Z | api/custom_errors.py | tanchuanxin/cz4031_project_2_query_optimizer | 5e418989b4788378b851193533f81b9b8e6e6375 | [
"MIT"
] | null | null | null | api/custom_errors.py | tanchuanxin/cz4031_project_2_query_optimizer | 5e418989b4788378b851193533f81b9b8e6e6375 | [
"MIT"
] | 3 | 2020-12-14T08:27:10.000Z | 2022-03-09T14:09:48.000Z | """ ####################################################################
Allows for passing of specific errors deep in the stack trace
#################################################################### """
class CustomError(Exception):
pass | 35.571429 | 73 | 0.321285 | 15 | 249 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 249 | 7 | 74 | 35.571429 | 0.355556 | 0.803213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f8c25968b56bd7d27d12b945b440e74871cf4b4e | 30 | py | Python | BLAST/mySQL.py | c235gsy/Sustech_Computational-Biology | 860e6432a4854f79980002c9028c09e18f034ef7 | [
"MIT"
] | null | null | null | BLAST/mySQL.py | c235gsy/Sustech_Computational-Biology | 860e6432a4854f79980002c9028c09e18f034ef7 | [
"MIT"
] | null | null | null | BLAST/mySQL.py | c235gsy/Sustech_Computational-Biology | 860e6432a4854f79980002c9028c09e18f034ef7 | [
"MIT"
] | null | null | null | import mysql.connector as mc
| 10 | 28 | 0.8 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 2 | 29 | 15 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e8383520f9971a63a2f5b9be0245d344251ea00 | 112 | py | Python | FreshEverDay/df_user/views.py | Signss/FreshEverDay | e55a546010c6479ff658158cb076b7386ac0bbc5 | [
"MIT"
] | null | null | null | FreshEverDay/df_user/views.py | Signss/FreshEverDay | e55a546010c6479ff658158cb076b7386ac0bbc5 | [
"MIT"
] | null | null | null | FreshEverDay/df_user/views.py | Signss/FreshEverDay | e55a546010c6479ff658158cb076b7386ac0bbc5 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def register(request):
return render(request, 'df_user/register.html')
| 22.4 | 51 | 0.776786 | 15 | 112 | 5.733333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 112 | 4 | 52 | 28 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e40e8224e259cd0cbcc5732862c62dd4f46cf949 | 166 | py | Python | events/admin.py | MikaelSantilio/aprepi-django | 5e2b5ecffb287eab929c0759ea35ab073cc19d96 | [
"MIT"
] | null | null | null | events/admin.py | MikaelSantilio/aprepi-django | 5e2b5ecffb287eab929c0759ea35ab073cc19d96 | [
"MIT"
] | 9 | 2021-01-13T22:06:29.000Z | 2021-06-16T10:33:48.000Z | events/admin.py | MikaelSantilio/aprepi-django | 5e2b5ecffb287eab929c0759ea35ab073cc19d96 | [
"MIT"
] | 1 | 2021-02-05T18:12:15.000Z | 2021-02-05T18:12:15.000Z | from django.contrib import admin
from events import models
admin.site.register(models.Event)
admin.site.register(models.Cost)
admin.site.register(models.Collection) | 23.714286 | 38 | 0.831325 | 24 | 166 | 5.75 | 0.5 | 0.195652 | 0.369565 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 166 | 7 | 38 | 23.714286 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
e43f46ff7203e0a19b3bc55778b7924559de5c84 | 162 | py | Python | util/__init__.py | kkmumu/PKURunningHelper | de934a805dd64c56af4537c24315c813c8ca4e80 | [
"MIT"
] | 3 | 2019-07-13T12:13:37.000Z | 2020-04-24T17:03:25.000Z | util/__init__.py | cbwang2016/PKURunningHelper | 9cf3db3e10a2fd19315ec05fa3da80ffb67c39e3 | [
"MIT"
] | null | null | null | util/__init__.py | cbwang2016/PKURunningHelper | 9cf3db3e10a2fd19315ec05fa3da80ffb67c39e3 | [
"MIT"
] | 4 | 2020-10-15T03:16:56.000Z | 2021-11-03T07:23:17.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# filename: util/__init__.py
from .class_ import *
from .func import *
from .compat import *
from .error import *
| 18 | 28 | 0.67284 | 23 | 162 | 4.521739 | 0.73913 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014815 | 0.166667 | 162 | 8 | 29 | 20.25 | 0.755556 | 0.432099 | 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 |
e447da85730f966568cfa77c9c9475c5f1a901c9 | 49 | py | Python | bi_lstm_crf/model/__init__.py | taghizad3h/bi-lstm-crf | e67bb473f6c339999ad9a3e491924ad5db52f8ed | [
"MIT"
] | 157 | 2019-12-03T12:35:42.000Z | 2022-03-28T08:33:35.000Z | bi_lstm_crf/model/__init__.py | taghizad3h/bi-lstm-crf | e67bb473f6c339999ad9a3e491924ad5db52f8ed | [
"MIT"
] | 12 | 2019-12-04T06:59:06.000Z | 2021-08-14T10:16:33.000Z | bi_lstm_crf/model/__init__.py | taghizad3h/bi-lstm-crf | e67bb473f6c339999ad9a3e491924ad5db52f8ed | [
"MIT"
] | 33 | 2019-12-04T05:40:59.000Z | 2022-03-25T02:51:13.000Z | from .crf import CRF
from .model import BiRnnCrf
| 16.333333 | 27 | 0.795918 | 8 | 49 | 4.875 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 28 | 24.5 | 0.95122 | 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 |
e4c0a2401fa80adf1141c222a888cdeef247f6f2 | 3,026 | py | Python | scan/test/fetch/api_fetch/test_data/api_fetch_ports.py | korenlev/calipso-cvim | 39278a5cf09c40b26a8a143ccc0c8d437961abc2 | [
"Apache-2.0"
] | null | null | null | scan/test/fetch/api_fetch/test_data/api_fetch_ports.py | korenlev/calipso-cvim | 39278a5cf09c40b26a8a143ccc0c8d437961abc2 | [
"Apache-2.0"
] | null | null | null | scan/test/fetch/api_fetch/test_data/api_fetch_ports.py | korenlev/calipso-cvim | 39278a5cf09c40b26a8a143ccc0c8d437961abc2 | [
"Apache-2.0"
] | null | null | null | ###############################################################################
# Copyright (c) 2017-2020 Koren Lev (Cisco Systems), #
# Yaron Yogev (Cisco Systems), Ilia Abashin (Cisco Systems) and others #
# #
... | 39.815789 | 79 | 0.557832 | 304 | 3,026 | 5.391447 | 0.286184 | 0.067114 | 0.09396 | 0.120805 | 0.733984 | 0.71446 | 0.71446 | 0.71446 | 0.71446 | 0.71446 | 0 | 0.206321 | 0.247191 | 3,026 | 75 | 80 | 40.346667 | 0.513169 | 0.166557 | 0 | 0.564516 | 0 | 0 | 0.593521 | 0.325702 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
9000fc17466246fad54e47a8d5cfb2399c17e132 | 106,115 | py | Python | tests/test_all.py | Stewart86/aioCloudflare | 341c0941f8f888a8b7e696e64550bce5da4949e6 | [
"MIT"
] | 2 | 2021-09-14T13:20:55.000Z | 2022-02-24T14:18:24.000Z | tests/test_all.py | Stewart86/aioCloudflare | 341c0941f8f888a8b7e696e64550bce5da4949e6 | [
"MIT"
] | 46 | 2021-09-08T08:39:45.000Z | 2022-03-29T12:31:05.000Z | tests/test_all.py | Stewart86/aioCloudflare | 341c0941f8f888a8b7e696e64550bce5da4949e6 | [
"MIT"
] | 1 | 2021-12-30T23:02:23.000Z | 2021-12-30T23:02:23.000Z | import httpx
import pytest
from aiocloudflare.cloudflare import Cloudflare
@pytest.mark.asyncio
async def test_user(respx_mock, config):
respx_mock.get("https://api.doesnotmatter.com/user/id1").mock(
return_value=httpx.Response(200)
)
async with Cloudflare(config=config) as cf:
result = a... | 38.047687 | 108 | 0.716044 | 14,439 | 106,115 | 5.101669 | 0.018215 | 0.067442 | 0.063695 | 0.082429 | 0.965111 | 0.958758 | 0.955256 | 0.952785 | 0.950952 | 0.949038 | 0 | 0.029758 | 0.158903 | 106,115 | 2,788 | 109 | 38.061334 | 0.79557 | 0.000886 | 0 | 0.57226 | 0 | 0.012528 | 0.179895 | 0 | 0 | 0 | 0 | 0 | 0.103356 | 1 | 0 | false | 0.002685 | 0.004027 | 0 | 0.004027 | 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 |
90162adce242137ee488fda0a3c545313712e37c | 46 | py | Python | test.py | waynechuaa/testrepo | 1d03238358a8724a082fca40370f6283b3ee1069 | [
"Apache-2.0"
] | null | null | null | test.py | waynechuaa/testrepo | 1d03238358a8724a082fca40370f6283b3ee1069 | [
"Apache-2.0"
] | null | null | null | test.py | waynechuaa/testrepo | 1d03238358a8724a082fca40370f6283b3ee1069 | [
"Apache-2.0"
] | null | null | null | def add(x,y):
pass
def subtract(x,y):
pass | 9.2 | 18 | 0.630435 | 10 | 46 | 2.9 | 0.6 | 0.137931 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 5 | 19 | 9.2 | 0.783784 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
901b8df7dcc6d4d97349f4b9e8462f79f9842a6e | 87 | py | Python | models/encoder.py | nameoverflow/neuro-cangjie | 6e687e52f69a3d6e397b78d870e090f1efe00ab3 | [
"WTFPL"
] | 22 | 2019-12-23T05:38:20.000Z | 2022-03-25T05:56:12.000Z | models/encoder.py | nameoverflow/neuro-cangjie | 6e687e52f69a3d6e397b78d870e090f1efe00ab3 | [
"WTFPL"
] | 3 | 2021-09-08T01:33:45.000Z | 2022-03-12T00:09:20.000Z | models/encoder.py | nameoverflow/neuro-cangjie | 6e687e52f69a3d6e397b78d870e090f1efe00ab3 | [
"WTFPL"
] | 2 | 2019-12-24T02:38:44.000Z | 2019-12-30T00:46:39.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
import torchvision
| 14.5 | 31 | 0.816092 | 15 | 87 | 4.733333 | 0.466667 | 0.464789 | 0.366197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 5 | 32 | 17.4 | 0.959459 | 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 |
5f5f8b47385742087e2ee3d3fc7e2ce0b2baa2c3 | 9,469 | py | Python | src/generators/graphs/NetworkGenerator.py | Antonio-Cruciani/fair-group-centrality | edb77e4b7929004a52704eacdefd2f6d3c640b17 | [
"MIT"
] | null | null | null | src/generators/graphs/NetworkGenerator.py | Antonio-Cruciani/fair-group-centrality | edb77e4b7929004a52704eacdefd2f6d3c640b17 | [
"MIT"
] | null | null | null | src/generators/graphs/NetworkGenerator.py | Antonio-Cruciani/fair-group-centrality | edb77e4b7929004a52704eacdefd2f6d3c640b17 | [
"MIT"
] | null | null | null | import os
import src.generators.graphs.BarabasiAlbert as ba
import src.generators.graphs.ErdosRenyi as er
import src.generators.graphs.SBM as sbm
def create_directory_if_not_exists(dir_path):
if not os.path.isdir(dir_path):
try:
os.mkdir(dir_path)
except OSError:
raise IOEr... | 42.084444 | 134 | 0.608934 | 1,151 | 9,469 | 4.745439 | 0.086881 | 0.073233 | 0.080007 | 0.06591 | 0.833761 | 0.800439 | 0.797327 | 0.788173 | 0.776456 | 0.756683 | 0 | 0.00031 | 0.317985 | 9,469 | 224 | 135 | 42.272321 | 0.845463 | 0.160629 | 0 | 0.673611 | 0 | 0 | 0.10638 | 0.002653 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.027778 | 0 | 0.048611 | 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 |
5f87f6651e8c9d295f91283f2b87fa177c76d252 | 64 | py | Python | mathchem/__init__.py | Pshemysuaf/mathchem-package | e084a838fc836325872f37e3f638a0e13fd368f8 | [
"MIT"
] | null | null | null | mathchem/__init__.py | Pshemysuaf/mathchem-package | e084a838fc836325872f37e3f638a0e13fd368f8 | [
"MIT"
] | null | null | null | mathchem/__init__.py | Pshemysuaf/mathchem-package | e084a838fc836325872f37e3f638a0e13fd368f8 | [
"MIT"
] | null | null | null | from mathchem.mathchem import *
from mathchem.utilities import * | 32 | 32 | 0.828125 | 8 | 64 | 6.625 | 0.5 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 64 | 2 | 32 | 32 | 0.929825 | 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 |
5fb4bc19fbff6e67e80740ff44dc669e69ca4902 | 184 | py | Python | monorun/ops/least_squares/__init__.py | minghanz/MonoRUn | 3a575ec7826d2b95e05bc87099b152434743f104 | [
"MIT"
] | 86 | 2021-03-24T02:10:17.000Z | 2022-03-30T03:35:41.000Z | monorun/ops/least_squares/__init__.py | minghanz/MonoRUn | 3a575ec7826d2b95e05bc87099b152434743f104 | [
"MIT"
] | 5 | 2021-06-03T09:23:30.000Z | 2022-03-30T09:13:26.000Z | monorun/ops/least_squares/__init__.py | minghanz/MonoRUn | 3a575ec7826d2b95e05bc87099b152434743f104 | [
"MIT"
] | 10 | 2021-05-18T04:15:39.000Z | 2021-11-25T09:32:05.000Z | from .pnp_uncert_cpu import u2d_pnp_cpu
from .pnp_uncert import PnPUncert, pnp_uncert
from .builder import build_pnp
__all__ = ['u2d_pnp_cpu', 'build_pnp', 'PnPUncert', 'pnp_uncert']
| 30.666667 | 65 | 0.793478 | 29 | 184 | 4.517241 | 0.344828 | 0.274809 | 0.198473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.108696 | 184 | 5 | 66 | 36.8 | 0.786585 | 0 | 0 | 0 | 0 | 0 | 0.211957 | 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 |
3993f9a1d94887e6923c5491fce75b8bfabdde00 | 96 | py | Python | venv/lib/python3.8/site-packages/future/moves/collections.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/moves/collections.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/moves/collections.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/38/a4/3e/4df5209acff66e76519f886b7252c3a223768be1d259c8ecdc10b6898f | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
39b1e35f1c3714e859e313fc7e2c551cd426780b | 223 | py | Python | src/observer.py | AlexMartinezSenent/mastermind_on_steriods | 62fe41826d110478e4c41f22b7c8d17386d77981 | [
"MIT"
] | null | null | null | src/observer.py | AlexMartinezSenent/mastermind_on_steriods | 62fe41826d110478e4c41f22b7c8d17386d77981 | [
"MIT"
] | null | null | null | src/observer.py | AlexMartinezSenent/mastermind_on_steriods | 62fe41826d110478e4c41f22b7c8d17386d77981 | [
"MIT"
] | null | null | null | class Observer:
observers = []
def __init__(self):
Observer.observers.append(self)
self.observables = {}
def observe(self, event_name, callback):
self.observables[event_name] = callback | 24.777778 | 47 | 0.64574 | 23 | 223 | 6 | 0.521739 | 0.246377 | 0.246377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246637 | 223 | 9 | 47 | 24.777778 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
39bea9bc911c45979fcc763479ecfa6e792b1726 | 17 | py | Python | src/quiltz/domain/id/__init__.py | qwaneu/quiltz-domain | 3b487c8396c89f653b7aa42b9d34f59baa3ace09 | [
"MIT"
] | null | null | null | src/quiltz/domain/id/__init__.py | qwaneu/quiltz-domain | 3b487c8396c89f653b7aa42b9d34f59baa3ace09 | [
"MIT"
] | null | null | null | src/quiltz/domain/id/__init__.py | qwaneu/quiltz-domain | 3b487c8396c89f653b7aa42b9d34f59baa3ace09 | [
"MIT"
] | null | null | null | from .id import * | 17 | 17 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 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 |
844af9fcc50e4485f420e379cd7eb5e26f31a997 | 75 | py | Python | sabueso/protein/__init__.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | null | null | null | sabueso/protein/__init__.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | 2 | 2022-01-31T21:22:17.000Z | 2022-02-04T20:20:12.000Z | sabueso/protein/__init__.py | dprada/sabueso | 14843cf3522b5b89db5b61c1541a7015f114dd53 | [
"MIT"
] | 1 | 2021-07-20T15:01:14.000Z | 2021-07-20T15:01:14.000Z | from .is_protein import is_protein
from .get_function import get_function
| 18.75 | 38 | 0.853333 | 12 | 75 | 5 | 0.5 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 75 | 3 | 39 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
084ce5238f47b8e0f671050ff3f8f28236473b3e | 8,228 | py | Python | selenium_youtube_crawler/tests/test_gcs_helper.py | Open-Speech-EkStep/data-acquisition-pipeline | b28df36d417010d85d3e5c5f6882eb8fe89ce5ae | [
"MIT"
] | 14 | 2021-06-18T17:02:31.000Z | 2022-01-23T16:04:34.000Z | selenium_youtube_crawler/tests/test_gcs_helper.py | susmitabhatt/data-acquisition-pipeline | b28df36d417010d85d3e5c5f6882eb8fe89ce5ae | [
"MIT"
] | 2 | 2021-06-19T09:46:08.000Z | 2021-09-10T13:57:57.000Z | selenium_youtube_crawler/tests/test_gcs_helper.py | susmitabhatt/data-acquisition-pipeline | b28df36d417010d85d3e5c5f6882eb8fe89ce5ae | [
"MIT"
] | 6 | 2021-04-12T05:03:52.000Z | 2021-09-11T13:54:45.000Z | import os
from unittest import TestCase
from unittest.mock import patch
from selenium_youtube_crawler.gcs_helper import GCSHelper
class TestGCSHelper(TestCase):
def setUp(self):
self.bucket_name = "test_bucket"
self.bucket_path = "test_bucket_path"
self.gcs_helper = GCSHelper(self.bucket... | 44.475676 | 119 | 0.708556 | 1,078 | 8,228 | 4.948052 | 0.07885 | 0.052306 | 0.059055 | 0.070304 | 0.871766 | 0.853018 | 0.818898 | 0.798838 | 0.792276 | 0.790026 | 0 | 0.000458 | 0.203087 | 8,228 | 184 | 120 | 44.717391 | 0.813024 | 0.003768 | 0 | 0.676259 | 0 | 0 | 0.155339 | 0.101647 | 0 | 0 | 0 | 0 | 0.215827 | 1 | 0.086331 | false | 0 | 0.028777 | 0 | 0.122302 | 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 |
f27c87f419c593ea9e802b379337cddc7eb18a44 | 22 | py | Python | src/msys_opt/modules/__init__.py | willi-z/msys-opt | 2054931737893b4ea77a4ba2dbfb6a3e2bce7779 | [
"BSD-3-Clause"
] | null | null | null | src/msys_opt/modules/__init__.py | willi-z/msys-opt | 2054931737893b4ea77a4ba2dbfb6a3e2bce7779 | [
"BSD-3-Clause"
] | null | null | null | src/msys_opt/modules/__init__.py | willi-z/msys-opt | 2054931737893b4ea77a4ba2dbfb6a3e2bce7779 | [
"BSD-3-Clause"
] | null | null | null | from .math import Math | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b3a116b1b7d51e03ec13aba1041c2ef5e8838da | 73 | py | Python | hug-uwsgi/app.py | glasnt/cloudrun-python-examples | 7cd35932ce77f30900af4272be008f6485d5b13b | [
"Apache-2.0"
] | 2 | 2021-09-25T20:09:06.000Z | 2021-11-03T11:53:30.000Z | hug-uwsgi/app.py | glasnt/cloudrun-python-examples | 7cd35932ce77f30900af4272be008f6485d5b13b | [
"Apache-2.0"
] | null | null | null | hug-uwsgi/app.py | glasnt/cloudrun-python-examples | 7cd35932ce77f30900af4272be008f6485d5b13b | [
"Apache-2.0"
] | null | null | null | import hug
@hug.get("/")
def hello():
return "👋 Hello hug - uwsgi"
| 10.428571 | 32 | 0.575342 | 11 | 73 | 3.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232877 | 73 | 6 | 33 | 12.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4b68254a019a4fb23d7f69b6bcc28004de3ecfbb | 102 | py | Python | ntkit/__init__.py | m-chrome/ntkit | f3392518eb3061a06a9c08283e6a9f19aea7108e | [
"MIT"
] | null | null | null | ntkit/__init__.py | m-chrome/ntkit | f3392518eb3061a06a9c08283e6a9f19aea7108e | [
"MIT"
] | null | null | null | ntkit/__init__.py | m-chrome/ntkit | f3392518eb3061a06a9c08283e6a9f19aea7108e | [
"MIT"
] | null | null | null | from . import advanced
from . import common
from . import factorization
from . import primality_tests
| 20.4 | 29 | 0.803922 | 13 | 102 | 6.230769 | 0.538462 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 4 | 30 | 25.5 | 0.94186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b7c7ae2072ac510b2f8222767741f15ad053467 | 2,869 | py | Python | common/settings.py | xenomarz/deep-signature | f831f05971727c5d00cf3b5c556b6a8b658048df | [
"MIT"
] | null | null | null | common/settings.py | xenomarz/deep-signature | f831f05971727c5d00cf3b5c556b6a8b658048df | [
"MIT"
] | null | null | null | common/settings.py | xenomarz/deep-signature | f831f05971727c5d00cf3b5c556b6a8b658048df | [
"MIT"
] | null | null | null | import os
# general
data_dir = "C:/deep-signature-data"
images_dir_path_train = os.path.normpath(os.path.join(data_dir, "images/train"))
images_dir_path_test = os.path.normpath(os.path.join(data_dir, "images/test"))
# circles
circles_dir_path_train = os.path.normpath(os.path.join(data_dir, "circles/curves/train"))
c... | 89.65625 | 154 | 0.838968 | 432 | 2,869 | 5.25 | 0.06713 | 0.116402 | 0.135802 | 0.155203 | 0.915785 | 0.754409 | 0.754409 | 0.754409 | 0.754409 | 0.749118 | 0 | 0 | 0.035901 | 2,869 | 31 | 155 | 92.548387 | 0.819957 | 0.00976 | 0 | 0 | 0 | 0 | 0.295735 | 0.273881 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 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 |
29a5addc5a811ee9e151dde9ee2a7f76fec7a40d | 47 | py | Python | src/__init__.py | ekondayan/micropython-logger | 4642c96d5dc4888614d9a0450230f396a6f6c231 | [
"BSD-3-Clause"
] | null | null | null | src/__init__.py | ekondayan/micropython-logger | 4642c96d5dc4888614d9a0450230f396a6f6c231 | [
"BSD-3-Clause"
] | null | null | null | src/__init__.py | ekondayan/micropython-logger | 4642c96d5dc4888614d9a0450230f396a6f6c231 | [
"BSD-3-Clause"
] | null | null | null | from .defs import *
from .logger import Logger
| 15.666667 | 26 | 0.765957 | 7 | 47 | 5.142857 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 27 | 23.5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29ae3cebd39c05fe221614c3728885b122b0b038 | 213 | py | Python | util.py | INRokh/movies | c3f0139c0eb2f1010e6ad608dcc7011e3e4e1d66 | [
"Apache-2.0"
] | 2 | 2019-08-29T02:58:44.000Z | 2019-12-07T06:46:50.000Z | util.py | INRokh/movies | c3f0139c0eb2f1010e6ad608dcc7011e3e4e1d66 | [
"Apache-2.0"
] | null | null | null | util.py | INRokh/movies | c3f0139c0eb2f1010e6ad608dcc7011e3e4e1d66 | [
"Apache-2.0"
] | null | null | null | class GracefulShutdown(object):
def __init__(self):
self.is_shutdown = False
def exit(self, signum, frame):
self.is_shutdown = True
def is_exit(self):
return self.is_shutdown
| 21.3 | 34 | 0.647887 | 27 | 213 | 4.814815 | 0.518519 | 0.138462 | 0.323077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262911 | 213 | 9 | 35 | 23.666667 | 0.828025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
29c05dcb13767356a987845e2c66ebf42d9f223a | 25,964 | py | Python | heaviside/tests/test_activities.py | BrockWester/heaviside | 6abbcc65e46998b6964decc501f791936ef16b3d | [
"Apache-2.0"
] | 36 | 2017-01-27T21:28:50.000Z | 2022-03-15T12:29:01.000Z | heaviside/tests/test_activities.py | BrockWester/heaviside | 6abbcc65e46998b6964decc501f791936ef16b3d | [
"Apache-2.0"
] | 10 | 2017-05-03T17:15:30.000Z | 2021-01-07T22:55:08.000Z | heaviside/tests/test_activities.py | BrockWester/heaviside | 6abbcc65e46998b6964decc501f791936ef16b3d | [
"Apache-2.0"
] | 13 | 2017-05-18T15:02:10.000Z | 2021-07-27T23:09:54.000Z | # Copyright 2016 The Johns Hopkins University Applied Physics Laboratory
#
# 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 ... | 33.54522 | 78 | 0.583808 | 2,388 | 25,964 | 6.201424 | 0.10469 | 0.06989 | 0.038895 | 0.060504 | 0.810656 | 0.799514 | 0.786616 | 0.780539 | 0.765818 | 0.747721 | 0 | 0.011143 | 0.30523 | 25,964 | 773 | 79 | 33.588616 | 0.809801 | 0.052573 | 0 | 0.678141 | 0 | 0 | 0.117546 | 0.044488 | 0 | 0 | 0 | 0 | 0.13253 | 1 | 0.056799 | false | 0.001721 | 0.020654 | 0 | 0.091222 | 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 |
29eb2cc26ad1a2bd9414576190fe12ac0bf01b7b | 8,604 | py | Python | tests/test_bilves_derivatives.py | MatKie/MT_micellization | bf0f6a2309b171746f6e43af5349301f586e34cd | [
"BSD-3-Clause"
] | null | null | null | tests/test_bilves_derivatives.py | MatKie/MT_micellization | bf0f6a2309b171746f6e43af5349301f586e34cd | [
"BSD-3-Clause"
] | 1 | 2021-06-28T17:11:42.000Z | 2021-06-28T17:11:42.000Z | tests/test_bilves_derivatives.py | MatKie/MT_micellization | bf0f6a2309b171746f6e43af5349301f586e34cd | [
"BSD-3-Clause"
] | null | null | null | from MTM.micelles.bilayer_vesicle import BilayerVesicle
from MTM.micelles._bilayer_vesicle_derivative import BilayerVesicleDerivative
from numpy.core.numeric import roll
import pytest
import sys
import numpy as np
import os
from mkutils import create_fig, save_to_file
from MTM import literature
import MTM.micelles as m... | 30.619217 | 88 | 0.669456 | 1,265 | 8,604 | 4.150988 | 0.082213 | 0.070082 | 0.038088 | 0.119025 | 0.84422 | 0.824414 | 0.81832 | 0.81832 | 0.81832 | 0.81832 | 0 | 0.01579 | 0.241864 | 8,604 | 280 | 89 | 30.728571 | 0.789207 | 0 | 0 | 0.360406 | 0 | 0 | 0.000349 | 0 | 0 | 0 | 0 | 0 | 0.126904 | 1 | 0.142132 | false | 0 | 0.050761 | 0 | 0.203046 | 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 |
d9be662297e4ef3fd22604d82d20644f5a586973 | 24,428 | py | Python | src/backend/expungeservice/demo_records.py | april96415/recordexpungPDX | 43ec60ddfb7fe1ec7940b2a38c6e7d7f85286506 | [
"MIT"
] | 38 | 2019-05-09T03:13:43.000Z | 2022-03-16T22:59:25.000Z | src/backend/expungeservice/demo_records.py | april96415/recordexpungPDX | 43ec60ddfb7fe1ec7940b2a38c6e7d7f85286506 | [
"MIT"
] | 938 | 2019-05-02T15:13:21.000Z | 2022-02-27T20:59:00.000Z | src/backend/expungeservice/demo_records.py | april96415/recordexpungPDX | 43ec60ddfb7fe1ec7940b2a38c6e7d7f85286506 | [
"MIT"
] | 65 | 2019-05-09T03:28:12.000Z | 2022-03-21T00:06:39.000Z | from typing import List, Tuple
from dateutil.relativedelta import relativedelta
from dacite import from_dict
from expungeservice.models.case import CaseSummary, OeciCase
from expungeservice.models.charge import OeciCharge, EditStatus
from expungeservice.models.record import Alias
from expungeservice.models.disposition... | 42.557491 | 115 | 0.385459 | 1,651 | 24,428 | 5.491823 | 0.132041 | 0.043675 | 0.061652 | 0.085365 | 0.747987 | 0.722841 | 0.7149 | 0.708834 | 0.659093 | 0.628543 | 0 | 0.048787 | 0.514164 | 24,428 | 573 | 116 | 42.631763 | 0.715201 | 0.002907 | 0 | 0.709964 | 0 | 0 | 0.166865 | 0.000985 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001779 | false | 0.001779 | 0.014235 | 0 | 0.030249 | 0.001779 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 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 |
d9cec30505e082d1956a14a03ace1fdec52a83fd | 8,857 | py | Python | Configuration/configure_BuildRule.py | CCSEPBVR/KVS | f6153b3f52aa38904cc96d38d5cd609c5dccfc59 | [
"BSD-3-Clause"
] | null | null | null | Configuration/configure_BuildRule.py | CCSEPBVR/KVS | f6153b3f52aa38904cc96d38d5cd609c5dccfc59 | [
"BSD-3-Clause"
] | null | null | null | Configuration/configure_BuildRule.py | CCSEPBVR/KVS | f6153b3f52aa38904cc96d38d5cd609c5dccfc59 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python
import sys
import os
import string
#=============================================================================
# Initialize.
#=============================================================================
if len( sys.argv ) != 2:
sys.exit( 0 )
source_path = sys.argv[1]
find_path = "../Sou... | 38.341991 | 151 | 0.578638 | 1,143 | 8,857 | 4.223972 | 0.083115 | 0.11744 | 0.105012 | 0.093206 | 0.845485 | 0.822287 | 0.786868 | 0.764913 | 0.735294 | 0.715824 | 0 | 0.001238 | 0.179519 | 8,857 | 230 | 152 | 38.508696 | 0.663135 | 0.133454 | 0 | 0.323529 | 0 | 0.044118 | 0.230407 | 0.101792 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022059 | 0 | 0.022059 | 0.389706 | 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 |
d9e72417d53d18910a46923f24a1f6bb2d68be98 | 7,836 | py | Python | tests/contrib/flask_cache/test_wrapper_safety.py | vijayperiasamy-eb/dd-trace-py | 2b0d396fc7f76582e8ffedff48933245a77ebaf2 | [
"BSD-3-Clause"
] | 1 | 2020-03-10T01:45:56.000Z | 2020-03-10T01:45:56.000Z | tests/contrib/flask_cache/test_wrapper_safety.py | vijayperiasamy-eb/dd-trace-py | 2b0d396fc7f76582e8ffedff48933245a77ebaf2 | [
"BSD-3-Clause"
] | null | null | null | tests/contrib/flask_cache/test_wrapper_safety.py | vijayperiasamy-eb/dd-trace-py | 2b0d396fc7f76582e8ffedff48933245a77ebaf2 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
# project
from ddtrace.ext import net
from ddtrace.tracer import Tracer
from ddtrace.contrib.flask_cache import get_traced_cache
from ddtrace.contrib.flask_cache.tracers import CACHE_BACKEND
# 3rd party
from flask import Flask
from redis.exceptions import ConnectionError
import... | 33.775862 | 76 | 0.608729 | 976 | 7,836 | 4.76127 | 0.119877 | 0.086077 | 0.054229 | 0.030773 | 0.845277 | 0.829783 | 0.802023 | 0.788681 | 0.774048 | 0.774048 | 0 | 0.012893 | 0.297218 | 7,836 | 231 | 77 | 33.922078 | 0.830942 | 0.173813 | 0 | 0.694268 | 0 | 0 | 0.087517 | 0.003575 | 0 | 0 | 0 | 0 | 0.369427 | 1 | 0.044586 | false | 0.006369 | 0.057325 | 0 | 0.11465 | 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 |
d9fe83bde4566437fc1f020597dd20ad842a232f | 27,905 | py | Python | square/api/v1_transactions_api.py | codertjay/square-python-sdk | 1f5f34bc792e31991db0fb2756d92c717f2dcfa4 | [
"Apache-2.0"
] | 1 | 2022-02-28T13:18:30.000Z | 2022-02-28T13:18:30.000Z | square/api/v1_transactions_api.py | codertjay/square-python-sdk | 1f5f34bc792e31991db0fb2756d92c717f2dcfa4 | [
"Apache-2.0"
] | null | null | null | square/api/v1_transactions_api.py | codertjay/square-python-sdk | 1f5f34bc792e31991db0fb2756d92c717f2dcfa4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from deprecation import deprecated
from square.api_helper import APIHelper
from square.http.api_response import ApiResponse
from square.api.base_api import BaseApi
class V1TransactionsApi(BaseApi):
"""A Controller to access Endpoints in the square API."""
def __init__(self, config, a... | 40.559593 | 120 | 0.612543 | 3,173 | 27,905 | 5.201702 | 0.117554 | 0.032717 | 0.013087 | 0.017328 | 0.796304 | 0.785217 | 0.773099 | 0.765223 | 0.746986 | 0.731172 | 0 | 0.007074 | 0.32625 | 27,905 | 687 | 121 | 40.618632 | 0.870805 | 0.485719 | 0 | 0.82069 | 0 | 0 | 0.088427 | 0.023064 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.013793 | 0 | 0.082759 | 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 |
8a443b6df05a8e9578999021cd156e0d5e345eb4 | 88 | py | Python | blog/admin.py | amanpandey-crypto/synergee | bf24cd08ec417eda84ffc5ad373a220e763a79eb | [
"MIT"
] | null | null | null | blog/admin.py | amanpandey-crypto/synergee | bf24cd08ec417eda84ffc5ad373a220e763a79eb | [
"MIT"
] | 3 | 2021-06-10T20:30:44.000Z | 2021-10-02T08:23:25.000Z | blog/admin.py | amanpandey-crypto/synergee | bf24cd08ec417eda84ffc5ad373a220e763a79eb | [
"MIT"
] | 6 | 2021-01-24T08:21:59.000Z | 2021-10-03T11:33:02.000Z | from group.admin import admin_site
from .models import Post
admin_site.register(Post)
| 14.666667 | 34 | 0.818182 | 14 | 88 | 5 | 0.571429 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 5 | 35 | 17.6 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76d1ecb745d1da60f6150ba4d02f63c8c6bc0900 | 19,707 | py | Python | tests/experiments/environment_runners/test_environment_runner_batch.py | AGI-Labs/continual_rl | bcf17d879e8a983340be233ff8f740c424d0f303 | [
"MIT"
] | 19 | 2021-07-27T05:20:09.000Z | 2022-02-27T07:12:05.000Z | tests/experiments/environment_runners/test_environment_runner_batch.py | AGI-Labs/continual_rl | bcf17d879e8a983340be233ff8f740c424d0f303 | [
"MIT"
] | 2 | 2021-11-05T07:36:50.000Z | 2022-03-11T00:21:50.000Z | tests/experiments/environment_runners/test_environment_runner_batch.py | AGI-Labs/continual_rl | bcf17d879e8a983340be233ff8f740c424d0f303 | [
"MIT"
] | 3 | 2021-10-20T06:04:35.000Z | 2022-03-06T22:59:36.000Z | import numpy as np
from continual_rl.experiments.environment_runners.environment_runner_batch import EnvironmentRunnerBatch
from continual_rl.experiments.tasks.task_base import TaskSpec
from tests.common_mocks.mock_policy.mock_policy import MockPolicy
from tests.common_mocks.mock_policy.mock_policy_config import MockPo... | 58.304734 | 128 | 0.687776 | 2,619 | 19,707 | 4.976327 | 0.103475 | 0.063838 | 0.026855 | 0.045423 | 0.894422 | 0.886289 | 0.884447 | 0.881838 | 0.872631 | 0.86772 | 0 | 0.022922 | 0.236261 | 19,707 | 337 | 129 | 58.477745 | 0.843 | 0.199371 | 0 | 0.659898 | 0 | 0 | 0.229621 | 0.014612 | 0 | 0 | 0 | 0 | 0.35533 | 1 | 0.06599 | false | 0.015228 | 0.035533 | 0 | 0.142132 | 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 |
76d6a3ff378cc98da70fbae6d26cc05f984c99a4 | 76 | py | Python | py_tdlib/constructors/supergroup_members_filter_bots.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/supergroup_members_filter_bots.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/supergroup_members_filter_bots.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class supergroupMembersFilterBots(Type):
pass
| 12.666667 | 40 | 0.802632 | 8 | 76 | 7.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 76 | 5 | 41 | 15.2 | 0.924242 | 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 |
76efa7fe8a671539b423fbb8bdaa65cf7346d8a4 | 63 | py | Python | BboxToolkit/evaluation/__init__.py | qilei123/BboxToolkit | 97f61ae97449009c7952f648be57a28d35c2f39b | [
"Apache-2.0"
] | 38 | 2021-02-05T14:39:11.000Z | 2022-03-28T07:41:41.000Z | BboxToolkit/evaluation/__init__.py | qilei123/BboxToolkit | 97f61ae97449009c7952f648be57a28d35c2f39b | [
"Apache-2.0"
] | 5 | 2021-11-01T08:17:09.000Z | 2022-03-28T12:40:06.000Z | BboxToolkit/evaluation/__init__.py | qilei123/BboxToolkit | 97f61ae97449009c7952f648be57a28d35c2f39b | [
"Apache-2.0"
] | 13 | 2021-08-20T12:26:04.000Z | 2022-03-18T12:45:31.000Z | from .mean_ap import eval_map
from .recall import eval_recalls
| 21 | 32 | 0.84127 | 11 | 63 | 4.545455 | 0.727273 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 33 | 31.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76f530cf392f372849c6b53a81bea36e41e73b48 | 211 | py | Python | tests/test_exception.py | GouthamSiddhaarth/postcode_validator | eca06c1665d45d404eaa5e4e0daf2cb8dea115a3 | [
"MIT"
] | null | null | null | tests/test_exception.py | GouthamSiddhaarth/postcode_validator | eca06c1665d45d404eaa5e4e0daf2cb8dea115a3 | [
"MIT"
] | null | null | null | tests/test_exception.py | GouthamSiddhaarth/postcode_validator | eca06c1665d45d404eaa5e4e0daf2cb8dea115a3 | [
"MIT"
] | null | null | null | import pytest
from Exceptions.exceptions import ValidationError
def test_exception():
with pytest.raises(ValidationError, match="Postcode is invalid"):
raise ValidationError("Postcode is invalid")
| 26.375 | 69 | 0.777251 | 23 | 211 | 7.086957 | 0.652174 | 0.122699 | 0.208589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146919 | 211 | 7 | 70 | 30.142857 | 0.905556 | 0 | 0 | 0 | 0 | 0 | 0.180095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 |
0a334dc15cd5e85d68a37dc1f19681c58e7eedc3 | 26 | py | Python | vogue/crud/find_plots/bioinfo/__init__.py | mayabrandi/vogue | 463e6417a9168eadb0d11dea2d0f97919494bcd3 | [
"MIT"
] | 1 | 2021-12-16T19:29:17.000Z | 2021-12-16T19:29:17.000Z | vogue/crud/find_plots/bioinfo/__init__.py | mayabrandi/vogue | 463e6417a9168eadb0d11dea2d0f97919494bcd3 | [
"MIT"
] | 188 | 2018-10-25T06:13:17.000Z | 2022-02-25T19:47:06.000Z | vogue/crud/find_plots/bioinfo/__init__.py | mayabrandi/vogue | 463e6417a9168eadb0d11dea2d0f97919494bcd3 | [
"MIT"
] | null | null | null | from .covid import get_qc
| 13 | 25 | 0.807692 | 5 | 26 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 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 |
0a3ca711a8aa8525dc06c0a6fadbbc3cbeeaf31c | 10,596 | py | Python | imcsdk/mometa/adaptor/AdaptorEthGenProfile.py | TetrationAnalytics/imcsdk | d86e47831f294dc9fa5e99b9a92abceac2502d76 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/adaptor/AdaptorEthGenProfile.py | TetrationAnalytics/imcsdk | d86e47831f294dc9fa5e99b9a92abceac2502d76 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/adaptor/AdaptorEthGenProfile.py | TetrationAnalytics/imcsdk | d86e47831f294dc9fa5e99b9a92abceac2502d76 | [
"Apache-2.0"
] | 2 | 2016-05-26T02:05:46.000Z | 2017-09-13T05:13:25.000Z | """This module contains the general information for AdaptorEthGenProfile ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class AdaptorEthGenProfileConsts:
ARFS_DISABLED = "Disabled"
ARFS_ENABLED = "Enabled"
_ARFS_DI... | 67.490446 | 251 | 0.631465 | 1,048 | 10,596 | 6.194656 | 0.131679 | 0.078866 | 0.116913 | 0.04313 | 0.864295 | 0.825323 | 0.748922 | 0.736907 | 0.719039 | 0.719039 | 0 | 0.043346 | 0.192242 | 10,596 | 156 | 252 | 67.923077 | 0.715154 | 0.011325 | 0 | 0.325926 | 0 | 0.014815 | 0.279339 | 0.056193 | 0 | 0 | 0.016533 | 0 | 0 | 1 | 0.007407 | false | 0 | 0.022222 | 0 | 0.237037 | 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 |
0a4e92f85dd4a5e0913fdc166c52be7817b28082 | 249 | py | Python | neodroidvision/classification/architectures/self_attention_network/self_attention_modules/functions/__init__.py | sintefneodroid/vision | a4e66251ead99f15f4697bfe2abd00e2f388e743 | [
"Apache-2.0"
] | 1 | 2019-07-03T04:33:51.000Z | 2019-07-03T04:33:51.000Z | neodroidvision/classification/architectures/self_attention_network/self_attention_modules/functions/__init__.py | sintefneodroid/vision | a4e66251ead99f15f4697bfe2abd00e2f388e743 | [
"Apache-2.0"
] | 5 | 2019-07-03T04:38:07.000Z | 2021-09-10T15:40:44.000Z | neodroidvision/classification/architectures/self_attention_network/self_attention_modules/functions/__init__.py | sintefneodroid/vision | a4e66251ead99f15f4697bfe2abd00e2f388e743 | [
"Apache-2.0"
] | 3 | 2019-10-03T06:14:40.000Z | 2021-01-31T14:31:39.000Z | from .aggregation_refpad import *
from .aggregation_zeropad import *
from .self_attention_utilities import *
from .subtraction2_refpad import *
from .subtraction2_zeropad import *
from .subtraction_refpad import *
from .subtraction_zeropad import *
| 31.125 | 39 | 0.831325 | 29 | 249 | 6.862069 | 0.344828 | 0.301508 | 0.241206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00905 | 0.11245 | 249 | 7 | 40 | 35.571429 | 0.891403 | 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 |
0a5310e3bb5553b0ab5f280c2953232865939d41 | 23 | py | Python | __init__.py | RyosukeHigo/ModernRoboticsSymPy | 742334b4ea3260f6119c837e137c80a619fc7718 | [
"MIT"
] | null | null | null | __init__.py | RyosukeHigo/ModernRoboticsSymPy | 742334b4ea3260f6119c837e137c80a619fc7718 | [
"MIT"
] | null | null | null | __init__.py | RyosukeHigo/ModernRoboticsSymPy | 742334b4ea3260f6119c837e137c80a619fc7718 | [
"MIT"
] | null | null | null | from .mr_sympy import * | 23 | 23 | 0.782609 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.85 | 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 |
6a75e27aade5bb2e0f885c4a2ef38bed655e1995 | 66,474 | py | Python | tests/scanner/audit/firewall_rules_engine_test.py | mcunha/forseti-security | cbf25f6173c1a25d4e43a9738eca73f927361cb8 | [
"Apache-2.0"
] | null | null | null | tests/scanner/audit/firewall_rules_engine_test.py | mcunha/forseti-security | cbf25f6173c1a25d4e43a9738eca73f927361cb8 | [
"Apache-2.0"
] | null | null | null | tests/scanner/audit/firewall_rules_engine_test.py | mcunha/forseti-security | cbf25f6173c1a25d4e43a9738eca73f927361cb8 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 The Forseti Security 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 ap... | 39.90036 | 527 | 0.45675 | 5,618 | 66,474 | 5.174439 | 0.05162 | 0.016374 | 0.016718 | 0.012659 | 0.865428 | 0.842931 | 0.828345 | 0.792638 | 0.775748 | 0.768455 | 0 | 0.033948 | 0.392906 | 66,474 | 1,665 | 528 | 39.924324 | 0.686391 | 0.008815 | 0 | 0.627087 | 0 | 0.017316 | 0.31498 | 0.086028 | 0 | 0 | 0 | 0 | 0.018553 | 1 | 0.014224 | false | 0 | 0.006184 | 0 | 0.022263 | 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 |
6a8775688455bff9cbe0075783d4d85b0c250506 | 25,772 | py | Python | tests/models/test_DurableOrchestrationClient.py | pblocz/azure-functions-durable-python | 59e77089d4d9934aff4c884b55e3df6f350d03fe | [
"MIT"
] | null | null | null | tests/models/test_DurableOrchestrationClient.py | pblocz/azure-functions-durable-python | 59e77089d4d9934aff4c884b55e3df6f350d03fe | [
"MIT"
] | null | null | null | tests/models/test_DurableOrchestrationClient.py | pblocz/azure-functions-durable-python | 59e77089d4d9934aff4c884b55e3df6f350d03fe | [
"MIT"
] | null | null | null | import json
from typing import Any
import pytest
from azure.durable_functions.models.OrchestrationRuntimeStatus import OrchestrationRuntimeStatus
from azure.durable_functions.models.DurableOrchestrationClient \
import DurableOrchestrationClient
from azure.durable_functions.models.DurableOrchestrationStatus import... | 43.314286 | 97 | 0.710034 | 2,979 | 25,772 | 5.80094 | 0.088956 | 0.052659 | 0.031595 | 0.088537 | 0.812337 | 0.781378 | 0.773335 | 0.752271 | 0.743302 | 0.729067 | 0 | 0.02834 | 0.208637 | 25,772 | 594 | 98 | 43.387205 | 0.818975 | 0 | 0 | 0.634454 | 0 | 0 | 0.161208 | 0.096448 | 0 | 0 | 0 | 0 | 0.115546 | 1 | 0.014706 | false | 0 | 0.018908 | 0.002101 | 0.044118 | 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 |
6aab0805eae455a2787bf3d72e7cb67bfd96ad40 | 9,324 | py | Python | src/wellsfargo/tests/connector/test_applications.py | thelabnyc/django-oscar-wfrs | 9abd4ecbdafd597407fdf60657103cb5d29c4c8b | [
"0BSD"
] | 1 | 2021-02-08T05:54:56.000Z | 2021-02-08T05:54:56.000Z | src/wellsfargo/tests/connector/test_applications.py | thelabnyc/django-oscar-wfrs | 9abd4ecbdafd597407fdf60657103cb5d29c4c8b | [
"0BSD"
] | 24 | 2019-12-04T21:37:01.000Z | 2022-03-11T23:16:20.000Z | src/wellsfargo/tests/connector/test_applications.py | thelabnyc/django-oscar-wfrs | 9abd4ecbdafd597407fdf60657103cb5d29c4c8b | [
"0BSD"
] | 2 | 2016-05-31T10:02:35.000Z | 2016-12-19T11:29:37.000Z | from decimal import Decimal
from django.core.exceptions import ValidationError
from unittest import mock
from wellsfargo.core.exceptions import CreditApplicationDenied, CreditApplicationPending
from wellsfargo.connector.applications import CreditApplicationsAPIClient
from wellsfargo.tests.base import BaseTest
import re... | 45.705882 | 105 | 0.577971 | 862 | 9,324 | 5.909513 | 0.185615 | 0.073616 | 0.085787 | 0.117393 | 0.839419 | 0.837848 | 0.837848 | 0.824892 | 0.813702 | 0.794464 | 0 | 0.059609 | 0.32529 | 9,324 | 203 | 106 | 45.931034 | 0.750119 | 0.010618 | 0 | 0.661111 | 0 | 0.005556 | 0.202517 | 0.034602 | 0 | 0 | 0 | 0 | 0.194444 | 1 | 0.038889 | false | 0 | 0.044444 | 0 | 0.1 | 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 |
0ab64e05a62655f6ec19053dc10ee4e218a53cf2 | 46,895 | py | Python | tests/gcp/operators/test_compute.py | ganeshsrirams/airflow | b8c02632136320b8379956411134246cd2f6eb47 | [
"Apache-2.0"
] | 1 | 2019-10-10T23:53:01.000Z | 2019-10-10T23:53:01.000Z | tests/gcp/operators/test_compute.py | ganeshsrirams/airflow | b8c02632136320b8379956411134246cd2f6eb47 | [
"Apache-2.0"
] | 2 | 2021-03-11T04:23:28.000Z | 2021-09-29T17:44:44.000Z | tests/gcp/operators/test_compute.py | ganeshsrirams/airflow | b8c02632136320b8379956411134246cd2f6eb47 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
#... | 41.833185 | 101 | 0.61755 | 4,986 | 46,895 | 5.416165 | 0.079623 | 0.055804 | 0.06895 | 0.031846 | 0.857434 | 0.829254 | 0.80437 | 0.788002 | 0.773597 | 0.765969 | 0 | 0.013265 | 0.292675 | 46,895 | 1,120 | 102 | 41.870536 | 0.800874 | 0.032221 | 0 | 0.657895 | 0 | 0.002924 | 0.170268 | 0.064628 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.037037 | false | 0 | 0.009747 | 0 | 0.052632 | 0.002924 | 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 |
0ad99c2bc6bd5119fa5b2a2b117901f9ef024146 | 65 | py | Python | back-end/src/soulsion_api/models/articles.py | dheerajd5/SoulSion | b8e6e8d14c7d732215c8f6c4bbbdf43d3bae6b82 | [
"MIT"
] | null | null | null | back-end/src/soulsion_api/models/articles.py | dheerajd5/SoulSion | b8e6e8d14c7d732215c8f6c4bbbdf43d3bae6b82 | [
"MIT"
] | null | null | null | back-end/src/soulsion_api/models/articles.py | dheerajd5/SoulSion | b8e6e8d14c7d732215c8f6c4bbbdf43d3bae6b82 | [
"MIT"
] | null | null | null |
from soulsion_api import db
class Articles(db.Model):
pass | 10.833333 | 27 | 0.738462 | 10 | 65 | 4.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 65 | 6 | 28 | 10.833333 | 0.903846 | 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 |
0ae32c97b7ef53e6dcd3519cbc7d5a135acd06f2 | 136 | py | Python | packageopt/services/solvers/__init__.py | nspostnov/for-article-optimal-position-liquidation | 857152b0450c39cfcdb3d329e57ed07efe344356 | [
"MIT"
] | null | null | null | packageopt/services/solvers/__init__.py | nspostnov/for-article-optimal-position-liquidation | 857152b0450c39cfcdb3d329e57ed07efe344356 | [
"MIT"
] | null | null | null | packageopt/services/solvers/__init__.py | nspostnov/for-article-optimal-position-liquidation | 857152b0450c39cfcdb3d329e57ed07efe344356 | [
"MIT"
] | null | null | null | from .abstract_base_classes import *
from .implementations import *
__all__ = abstract_base_classes.__all__ + implementations.__all__
| 22.666667 | 65 | 0.830882 | 15 | 136 | 6.466667 | 0.466667 | 0.247423 | 0.391753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110294 | 136 | 5 | 66 | 27.2 | 0.801653 | 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 | 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 |
0ae3cc07812037589942da29a680d7c9eb39e2df | 34,296 | py | Python | intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_ome_firmware_baseline_compliance_info.py | Stienvdh/statrick | 7b092fc42171e226718a70a285a4b323f2f395ad | [
"MIT"
] | null | null | null | intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_ome_firmware_baseline_compliance_info.py | Stienvdh/statrick | 7b092fc42171e226718a70a285a4b323f2f395ad | [
"MIT"
] | null | null | null | intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_ome_firmware_baseline_compliance_info.py | Stienvdh/statrick | 7b092fc42171e226718a70a285a4b323f2f395ad | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Dell EMC OpenManage Ansible Modules
# Version 2.1.3
# Copyright (C) 2019-2020 Dell Inc. or its subsidiaries. All Rights Reserved.
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#
from __future__ import (absolute_import, division, print_functio... | 64.104673 | 146 | 0.642815 | 3,727 | 34,296 | 5.419909 | 0.062517 | 0.091782 | 0.106733 | 0.136634 | 0.897673 | 0.881931 | 0.85698 | 0.840149 | 0.805 | 0.790446 | 0 | 0.00991 | 0.279158 | 34,296 | 534 | 147 | 64.224719 | 0.807176 | 0.017028 | 0 | 0.633833 | 0 | 0 | 0.173479 | 0.082551 | 0 | 0 | 0 | 0 | 0.094218 | 1 | 0.079229 | false | 0 | 0.019272 | 0 | 0.111349 | 0.002141 | 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 |
7c494746bc4f080794d5a55c478ce1c7924996fd | 6,023 | py | Python | tests/back_compat_test.py | clayne/gtirb-pprinter | 97b6f88d527e1dffbb41c56c267ccd58ca270ba7 | [
"MIT"
] | 36 | 2018-11-09T15:57:13.000Z | 2022-03-02T20:07:56.000Z | tests/back_compat_test.py | clayne/gtirb-pprinter | 97b6f88d527e1dffbb41c56c267ccd58ca270ba7 | [
"MIT"
] | 10 | 2020-04-14T03:55:14.000Z | 2022-02-21T19:39:27.000Z | tests/back_compat_test.py | clayne/gtirb-pprinter | 97b6f88d527e1dffbb41c56c267ccd58ca270ba7 | [
"MIT"
] | 14 | 2019-04-17T21:11:39.000Z | 2022-03-02T20:07:58.000Z | import gtirb
from gtirb_helpers import (
create_test_module,
add_text_section,
add_symbol,
add_code_block,
)
from pprinter_helpers import (
asm_lines,
PPrinterTest,
run_asm_pprinter_with_outputput,
)
class TestMoffsetCompat(PPrinterTest):
COMPAT_WARNING_MESSAGE = (
"WARNING: u... | 35.85119 | 76 | 0.576955 | 813 | 6,023 | 4.081181 | 0.124231 | 0.126582 | 0.141049 | 0.122966 | 0.85443 | 0.833936 | 0.833936 | 0.833635 | 0.831224 | 0.830621 | 0 | 0.068122 | 0.300515 | 6,023 | 167 | 77 | 36.065868 | 0.71944 | 0.081521 | 0 | 0.527132 | 0 | 0 | 0.212121 | 0.055162 | 0 | 0 | 0.005444 | 0 | 0.093023 | 1 | 0.03876 | false | 0 | 0.023256 | 0 | 0.077519 | 0.062016 | 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 |
7c8a7b4f4f858f37bab0c363cd54d9c2cb9b036b | 39,381 | py | Python | src/Main.py | krmnino/COVID19_DataTool | 00f730941f2e644fbf8f4de8dcd8b1575e157e78 | [
"MIT"
] | null | null | null | src/Main.py | krmnino/COVID19_DataTool | 00f730941f2e644fbf8f4de8dcd8b1575e157e78 | [
"MIT"
] | null | null | null | src/Main.py | krmnino/COVID19_DataTool | 00f730941f2e644fbf8f4de8dcd8b1575e157e78 | [
"MIT"
] | null | null | null | from FileParser import parse_file
from Operations import difference
from Operations import print_diff_data
from Operations import print_cases
from Operations import print_deaths
from Operations import print_tests
from Operations import print_recovered
from Operations import print_hospitalized
from Operations import pri... | 69.577739 | 208 | 0.56606 | 5,179 | 39,381 | 4.081676 | 0.040355 | 0.172241 | 0.13047 | 0.074507 | 0.817446 | 0.796206 | 0.770093 | 0.733857 | 0.721084 | 0.712002 | 0 | 0.030083 | 0.285061 | 39,381 | 565 | 209 | 69.700885 | 0.720725 | 0 | 0 | 0.437751 | 0 | 0.002008 | 0.274059 | 0.002702 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002008 | false | 0 | 0.052209 | 0 | 0.054217 | 0.303213 | 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 |
7c9a9565b343e682c2356019e7f903be9995a34e | 1,992 | py | Python | tests/test_project.py | WinVector/data_algebra | 3d6002ddf8231d310e03537a0435df0554b62234 | [
"BSD-3-Clause"
] | 37 | 2019-08-28T08:16:48.000Z | 2022-03-14T21:18:39.000Z | tests/test_project.py | WinVector/data_algebra | 3d6002ddf8231d310e03537a0435df0554b62234 | [
"BSD-3-Clause"
] | 1 | 2019-09-02T23:13:29.000Z | 2019-09-08T01:43:10.000Z | tests/test_project.py | WinVector/data_algebra | 3d6002ddf8231d310e03537a0435df0554b62234 | [
"BSD-3-Clause"
] | 3 | 2019-08-28T12:23:11.000Z | 2020-02-08T19:22:31.000Z | import data_algebra
import data_algebra.test_util
import data_algebra.util
from data_algebra.data_ops import *
from data_algebra.test_util import formats_to_self
import pytest
def test_project0():
d = data_algebra.default_data_model.pd.DataFrame(
{"c": [1, 1, 1, 1], "g": ["a", "b", "a", "b"], "y": [1, 2,... | 28.457143 | 77 | 0.569779 | 307 | 1,992 | 3.495114 | 0.159609 | 0.031687 | 0.027959 | 0.164026 | 0.795899 | 0.728798 | 0.705499 | 0.705499 | 0.705499 | 0.705499 | 0 | 0.031546 | 0.204317 | 1,992 | 69 | 78 | 28.869565 | 0.645426 | 0 | 0 | 0.340426 | 0 | 0 | 0.047691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106383 | false | 0 | 0.12766 | 0 | 0.234043 | 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 |
6b4497388036481737727f81d54fcb1cb50a07c3 | 109 | py | Python | tests/micropython/viper_const_intbig.py | sebi5361/micropython | 6c054cd124bc6229bee127128264dc0829dea53c | [
"MIT"
] | 198 | 2017-03-24T23:23:54.000Z | 2022-01-07T07:14:00.000Z | tests/micropython/viper_const_intbig.py | sebi5361/micropython | 6c054cd124bc6229bee127128264dc0829dea53c | [
"MIT"
] | 509 | 2017-03-28T19:37:18.000Z | 2022-03-31T20:31:43.000Z | tests/micropython/viper_const_intbig.py | sebi5361/micropython | 6c054cd124bc6229bee127128264dc0829dea53c | [
"MIT"
] | 187 | 2017-03-24T23:23:58.000Z | 2022-02-25T01:48:45.000Z | # check loading constants
@micropython.viper
def f():
return 123456789012345678901234567890
print(f())
| 13.625 | 41 | 0.761468 | 11 | 109 | 7.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322581 | 0.146789 | 109 | 7 | 42 | 15.571429 | 0.569892 | 0.211009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
86337dd4518adddb67013605bd0977428d0e4a87 | 33 | py | Python | samples/bulk_write/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | samples/bulk_write/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | samples/bulk_write/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | from .bulk_write import BulkWrite | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86428789e1572f34e192f78d9a8cc1179ea1912d | 18,914 | py | Python | unit/test_get_control_instance.py | FizikRoot/ansible-cartridge | ad06411ec701b68fbf5b8ed5e184a47ffb0ac70f | [
"BSD-2-Clause"
] | null | null | null | unit/test_get_control_instance.py | FizikRoot/ansible-cartridge | ad06411ec701b68fbf5b8ed5e184a47ffb0ac70f | [
"BSD-2-Clause"
] | null | null | null | unit/test_get_control_instance.py | FizikRoot/ansible-cartridge | ad06411ec701b68fbf5b8ed5e184a47ffb0ac70f | [
"BSD-2-Clause"
] | null | null | null | import sys
import unittest
import module_utils.helpers as helpers
import unit.utils as utils
from unit.instance import Instance
sys.modules['ansible.module_utils.helpers'] = helpers
import library.cartridge_get_control_instance as get_control_instance_lib
from library.cartridge_get_control_instance import get_control... | 41.387309 | 111 | 0.633076 | 2,316 | 18,914 | 4.965458 | 0.065199 | 0.037565 | 0.065739 | 0.074609 | 0.803739 | 0.780348 | 0.764 | 0.749304 | 0.730957 | 0.68487 | 0 | 0.019236 | 0.241408 | 18,914 | 456 | 112 | 41.47807 | 0.782269 | 0.071006 | 0 | 0.672316 | 0 | 0 | 0.190327 | 0.035362 | 0 | 0 | 0 | 0 | 0.146893 | 1 | 0.036723 | false | 0 | 0.019774 | 0.002825 | 0.067797 | 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 |
86ad5976e4505e335db2fea9d7c8a57101a0ae28 | 68 | py | Python | my_package/__init__.py | leowindwave/YAPT | ee5ec568ed746f90a18dc514836624d435a7ccdb | [
"CC0-1.0"
] | null | null | null | my_package/__init__.py | leowindwave/YAPT | ee5ec568ed746f90a18dc514836624d435a7ccdb | [
"CC0-1.0"
] | null | null | null | my_package/__init__.py | leowindwave/YAPT | ee5ec568ed746f90a18dc514836624d435a7ccdb | [
"CC0-1.0"
] | null | null | null | print("my_package/__init__.py executed")
import my_package.my_module | 34 | 40 | 0.852941 | 11 | 68 | 4.636364 | 0.727273 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 68 | 2 | 41 | 34 | 0.784615 | 0 | 0 | 0 | 0 | 0 | 0.449275 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
86d3db08974881625bebc5c7410fda8f0827f2de | 422 | py | Python | penaltymodel_cache/penaltymodel/cache/__init__.py | mcfarljm/penaltymodel | 7776ca9697a52dcf2991177e7ef2905c3e0651f5 | [
"Apache-2.0"
] | 15 | 2018-01-03T18:48:56.000Z | 2021-11-05T08:24:22.000Z | penaltymodel_cache/penaltymodel/cache/__init__.py | mcfarljm/penaltymodel | 7776ca9697a52dcf2991177e7ef2905c3e0651f5 | [
"Apache-2.0"
] | 77 | 2017-12-15T01:23:35.000Z | 2022-01-07T23:41:58.000Z | penaltymodel_cache/penaltymodel/cache/__init__.py | mcfarljm/penaltymodel | 7776ca9697a52dcf2991177e7ef2905c3e0651f5 | [
"Apache-2.0"
] | 17 | 2017-12-15T00:47:34.000Z | 2022-01-26T06:07:13.000Z | from __future__ import absolute_import
import penaltymodel.cache.schema
from penaltymodel.cache.database_manager import *
import penaltymodel.cache.database_manager
from penaltymodel.cache.cache_manager import *
import penaltymodel.cache.cache_manager
from penaltymodel.cache.interface import *
import penaltymodel.c... | 24.823529 | 49 | 0.85545 | 51 | 422 | 6.882353 | 0.254902 | 0.435897 | 0.299145 | 0.330484 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090047 | 422 | 16 | 50 | 26.375 | 0.914063 | 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 |
d48c8fb6cfa80868b2ee0b6c331449af33f5dbfb | 28,477 | py | Python | ibnfmeta.py | charlesap/ibnf | 0efc87c7f250594d77fe400ba2f90f812ebe5aa1 | [
"MIT",
"Unlicense"
] | 1 | 2019-07-29T11:12:53.000Z | 2019-07-29T11:12:53.000Z | ibnfmeta.py | charlesap/ibnf | 0efc87c7f250594d77fe400ba2f90f812ebe5aa1 | [
"MIT",
"Unlicense"
] | null | null | null | ibnfmeta.py | charlesap/ibnf | 0efc87c7f250594d77fe400ba2f90f812ebe5aa1 | [
"MIT",
"Unlicense"
] | null | null | null | import sys
from binascii import *
fi = file(sys.argv[1]).read()
semantics = file(sys.argv[2]).read()
fo = open(sys.argv[3], "w+")
h={}; registers={}; context={}; mseq=0; dseq=1; T=True; F=False
def n2z( a ):
return ( '0' if a=='' else a )
def be2le( a ):
return a[6:8]+a[4:6]+a[2:4]+a[0:2]
def mark( p, s, t ):
( v... | 29.058163 | 98 | 0.473856 | 6,302 | 28,477 | 2.116154 | 0.021739 | 0.090882 | 0.129124 | 0.113827 | 0.837807 | 0.80174 | 0.792741 | 0.770846 | 0.65207 | 0.627699 | 0 | 0.018253 | 0.216982 | 28,477 | 979 | 99 | 29.087845 | 0.579828 | 0 | 0 | 0.537906 | 0 | 0.01083 | 0.11806 | 0.010254 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.004813 | null | null | 0.00722 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d48cdfb3d2807f5f63dbbeff87a735449d6ebf32 | 18,214 | py | Python | keras/initializers/initializers_v1.py | RakeshJarupula/keras | 2ac6638e91d5aff77c22b45e9c8c84fb05a9e477 | [
"Apache-2.0"
] | null | null | null | keras/initializers/initializers_v1.py | RakeshJarupula/keras | 2ac6638e91d5aff77c22b45e9c8c84fb05a9e477 | [
"Apache-2.0"
] | null | null | null | keras/initializers/initializers_v1.py | RakeshJarupula/keras | 2ac6638e91d5aff77c22b45e9c8c84fb05a9e477 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 The TensorFlow 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 applica... | 40.118943 | 109 | 0.626441 | 2,178 | 18,214 | 5.117998 | 0.123967 | 0.067103 | 0.025119 | 0.024222 | 0.826411 | 0.805867 | 0.760922 | 0.746838 | 0.744685 | 0.713824 | 0 | 0.013608 | 0.261667 | 18,214 | 453 | 110 | 40.207506 | 0.815289 | 0.747392 | 0 | 0.306667 | 0 | 0 | 0.203098 | 0.181614 | 0 | 0 | 0 | 0 | 0 | 1 | 0.146667 | false | 0 | 0.026667 | 0.053333 | 0.32 | 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 |
d4a0e9fd5e08023b5d19fca8010c5fb963f35fe8 | 8,059 | py | Python | guardian/tests/direct_rel_test.py | TabbedOut/django-guardian | 8d8400680b198cf3c9f828f6c494193a820f83e8 | [
"BSD-2-Clause"
] | 2 | 2015-09-26T10:46:01.000Z | 2018-11-26T19:06:48.000Z | guardian/tests/direct_rel_test.py | yceruto/django-guardian | d5703a1c964f4f1145d1800468db5352dacfaa18 | [
"BSD-2-Clause"
] | 1 | 2021-03-24T12:14:16.000Z | 2021-03-24T12:14:16.000Z | guardian/tests/direct_rel_test.py | yceruto/django-guardian | d5703a1c964f4f1145d1800468db5352dacfaa18 | [
"BSD-2-Clause"
] | 5 | 2015-09-26T12:22:16.000Z | 2021-03-24T12:13:43.000Z | from __future__ import unicode_literals
from .testapp.models import Mixed
from .testapp.models import Project
from .testapp.models import ProjectGroupObjectPermission
from .testapp.models import ProjectUserObjectPermission
from django.contrib.auth.models import Group, Permission
from django.test import TestCase
from gu... | 41.117347 | 80 | 0.659759 | 963 | 8,059 | 5.313603 | 0.110073 | 0.060192 | 0.046512 | 0.052765 | 0.854993 | 0.809459 | 0.754348 | 0.716435 | 0.706273 | 0.673637 | 0 | 0.000958 | 0.223105 | 8,059 | 195 | 81 | 41.328205 | 0.816323 | 0.042313 | 0 | 0.610063 | 0 | 0 | 0.138262 | 0.005966 | 0 | 0 | 0 | 0 | 0.08805 | 1 | 0.106918 | false | 0 | 0.08805 | 0 | 0.226415 | 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 |
d4cf8c723436852fd2f95085f0bc7960b28e3fb5 | 312 | py | Python | airport/_constants.py | egemenyildiz/airport-py | 30b6aa98d5b59f371347a19264e8030959939d5e | [
"MIT"
] | 3 | 2019-11-29T07:55:15.000Z | 2021-03-27T00:04:32.000Z | airport/_constants.py | egemenyildiz/airport-py | 30b6aa98d5b59f371347a19264e8030959939d5e | [
"MIT"
] | 1 | 2019-11-29T18:35:46.000Z | 2019-11-29T18:36:24.000Z | airport/_constants.py | egemenyildiz/airport-py | 30b6aa98d5b59f371347a19264e8030959939d5e | [
"MIT"
] | 1 | 2020-11-29T17:30:41.000Z | 2020-11-29T17:30:41.000Z | SCAN_RESULTS_GROUPED_PATTERN = (r'(?P<ssid>.+)\s+(?P<bssid>([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2}))\s+(?P<rssi>[0-9+\- '
r']{1,4})\s+(?P<channel>[0-9,\-+]{1,6})\s+(?P<high_throughput>[YN])\s+('
r'?P<country_code>[A-Z\-]{2,3})\s+(?P<security>.+)$')
| 78 | 120 | 0.410256 | 53 | 312 | 2.320755 | 0.566038 | 0.081301 | 0.081301 | 0.097561 | 0.113821 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070248 | 0.224359 | 312 | 3 | 121 | 104 | 0.438017 | 0 | 0 | 0 | 0 | 0.666667 | 0.650641 | 0.647436 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4e6e603fec867763dd424ce49a2429f7f04d6d1 | 167 | py | Python | djangoX/admin.py | nuratabanjeh/djangox | d3f01481fd75d909fa8e42f2b1da98518f0a589a | [
"MIT"
] | null | null | null | djangoX/admin.py | nuratabanjeh/djangox | d3f01481fd75d909fa8e42f2b1da98518f0a589a | [
"MIT"
] | null | null | null | djangoX/admin.py | nuratabanjeh/djangox | d3f01481fd75d909fa8e42f2b1da98518f0a589a | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.admin.decorators import register
from .models import Snack
# Register your models here.
admin.site.register(Snack) | 33.4 | 52 | 0.832335 | 24 | 167 | 5.791667 | 0.5 | 0.143885 | 0.244604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101796 | 167 | 5 | 53 | 33.4 | 0.926667 | 0.155689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
d4e840c1a4c50e93293f55efdd37365c11e0abd9 | 133 | py | Python | bin/lib/list_compilers.py | jfalcou/infra | 97e05039a3f4f3d69b7c50233aed5e5d60a59605 | [
"BSD-2-Clause"
] | 135 | 2017-01-12T04:39:08.000Z | 2020-05-08T17:08:52.000Z | bin/lib/list_compilers.py | jfalcou/infra | 97e05039a3f4f3d69b7c50233aed5e5d60a59605 | [
"BSD-2-Clause"
] | 229 | 2017-01-23T12:45:44.000Z | 2020-05-13T17:36:57.000Z | bin/lib/list_compilers.py | jfalcou/infra | 97e05039a3f4f3d69b7c50233aed5e5d60a59605 | [
"BSD-2-Clause"
] | 106 | 2017-04-18T14:42:34.000Z | 2020-05-07T14:24:34.000Z | #!/usr/bin/env python3
from lib.amazon import list_compilers
def main():
print(" ".join(list_compilers(with_extension=True)))
| 16.625 | 56 | 0.729323 | 19 | 133 | 4.947368 | 0.894737 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.12782 | 133 | 7 | 57 | 19 | 0.801724 | 0.157895 | 0 | 0 | 0 | 0 | 0.009009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 |
d4f498953f7bcf57a017ce527a65c524253a5bdf | 144 | py | Python | src/runtime/sys.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 31 | 2022-01-07T23:56:33.000Z | 2022-03-29T16:09:02.000Z | src/runtime/sys.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 197 | 2021-12-29T19:01:41.000Z | 2022-03-31T15:58:25.000Z | src/runtime/sys.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 17 | 2022-01-06T15:34:36.000Z | 2022-03-31T13:55:33.000Z | from ltypes import i32
def exit(error_code: i32):
"""
Exits the program with an error code `error_code`.
"""
quit(error_code)
| 16 | 54 | 0.645833 | 21 | 144 | 4.285714 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.25 | 144 | 8 | 55 | 18 | 0.796296 | 0.347222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be1c2393cb7347ad93c642e4d0a1a5650c758fbb | 11,626 | py | Python | neuron_models/spiking.py | cyanezstange/neuron_models | 1202ad923719edb92fe0c42773dfec628cb5febc | [
"MIT"
] | 1 | 2021-07-31T19:57:20.000Z | 2021-07-31T19:57:20.000Z | neuron_models/spiking.py | cyanezstange/neuron_models | 1202ad923719edb92fe0c42773dfec628cb5febc | [
"MIT"
] | null | null | null | neuron_models/spiking.py | cyanezstange/neuron_models | 1202ad923719edb92fe0c42773dfec628cb5febc | [
"MIT"
] | null | null | null | import numpy as np
from neuron_models.neuron import NeuronModel
class Izhikevich(NeuronModel):
'''...'''
def __init__(self, a=0.01, b=0.2, c=-65, d=2, t0=0, v0=0, u0=0, dt=0.1, i0=1):
# Integration parameters.
self.t0 = t0
self.dt = dt
# Constants.
self.a = a
se... | 29.507614 | 82 | 0.496473 | 1,865 | 11,626 | 3.014477 | 0.074531 | 0.064924 | 0.096051 | 0.062255 | 0.803273 | 0.792245 | 0.764141 | 0.75916 | 0.744931 | 0.71487 | 0 | 0.040664 | 0.342164 | 11,626 | 394 | 83 | 29.507614 | 0.69443 | 0.130827 | 0 | 0.68 | 0 | 0 | 0.008112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.112 | false | 0 | 0.008 | 0.048 | 0.192 | 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 |
07882f63abc9e6fb9ff120f36e2d69ee986c9dd9 | 62 | py | Python | app_verifications/invitation/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | app_verifications/invitation/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | app_verifications/invitation/__init__.py | kskarbinski/threads-api | c144c1cb51422095922310d278f80e4996c10ea0 | [
"MIT"
] | null | null | null | from .invitation_verifications import InvitationVerifications
| 31 | 61 | 0.919355 | 5 | 62 | 11.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 62 | 1 | 62 | 62 | 0.965517 | 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 |
078ae43c68e6eb9a946cc7af342acf3717fe845c | 26 | py | Python | utilities/__init__.py | r3d83ard/assemblyline_ | 6d191f9e465c10da40879799e00edaa3fc12d303 | [
"MIT"
] | 2 | 2019-05-22T15:02:02.000Z | 2019-07-10T21:29:51.000Z | utilities/__init__.py | r3d83ard/assemblyline_daily_sample | 6d191f9e465c10da40879799e00edaa3fc12d303 | [
"MIT"
] | null | null | null | utilities/__init__.py | r3d83ard/assemblyline_daily_sample | 6d191f9e465c10da40879799e00edaa3fc12d303 | [
"MIT"
] | null | null | null | from . import logger_util
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 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 |
07c10034759bc8d8516ddf5dbf10f5b72ac1ced6 | 251 | py | Python | NBprocessing/__init__.py | nirbarazida/NBprocessing | 3b020829e9c2ec0ef67b881a69637ac14e635e75 | [
"MIT"
] | 19 | 2020-11-29T17:27:38.000Z | 2021-06-01T17:16:00.000Z | NBprocessing/__init__.py | nirbarazida/NBprocessing | 3b020829e9c2ec0ef67b881a69637ac14e635e75 | [
"MIT"
] | 11 | 2020-08-10T21:03:06.000Z | 2020-10-07T11:13:43.000Z | NBprocessing/__init__.py | nirbarazida/NBprocessing | 3b020829e9c2ec0ef67b881a69637ac14e635e75 | [
"MIT"
] | 9 | 2020-12-26T11:18:15.000Z | 2022-01-20T03:47:58.000Z | from NBprocessing.categorical._NBcategorical_class import NBcategorical
from NBprocessing.continuous._NBcontinuous_class import NBcontinuous
from NBprocessing.general._NBgeneral_class import NBgeneral
from NBprocessing.plot._NBplot_class import NBplot | 62.75 | 71 | 0.908367 | 28 | 251 | 7.857143 | 0.428571 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059761 | 251 | 4 | 72 | 62.75 | 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 | 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 |
07e7a6d78cfd32d882f7e5f11cfe0fda19a42a64 | 53 | py | Python | nbt/addons/__init__.py | SpikeVN/pycmdblock | 9c93e2ecf2336ed2c9d8cae9fbaec21525f90ba8 | [
"MIT"
] | null | null | null | nbt/addons/__init__.py | SpikeVN/pycmdblock | 9c93e2ecf2336ed2c9d8cae9fbaec21525f90ba8 | [
"MIT"
] | null | null | null | nbt/addons/__init__.py | SpikeVN/pycmdblock | 9c93e2ecf2336ed2c9d8cae9fbaec21525f90ba8 | [
"MIT"
] | null | null | null | from .tools_nbt import *
from .villager_nbt import *
| 17.666667 | 27 | 0.773585 | 8 | 53 | 4.875 | 0.625 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 53 | 2 | 28 | 26.5 | 0.866667 | 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 |
07ef9f5c160c368c13025a88c815375829038dd4 | 262 | py | Python | users/models.py | dentonya/python-django-sales-inventory-project | d0fcdf81136908a022e0f4eeca94fc0357473635 | [
"Apache-2.0"
] | 1 | 2021-10-18T09:27:03.000Z | 2021-10-18T09:27:03.000Z | users/models.py | dentonya/python-django-sales-inventory-project | d0fcdf81136908a022e0f4eeca94fc0357473635 | [
"Apache-2.0"
] | 1 | 2021-08-04T20:11:28.000Z | 2021-08-04T20:11:28.000Z | users/models.py | dentonya/python-django-sales-inventory-project | d0fcdf81136908a022e0f4eeca94fc0357473635 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
is_buyer = models.BooleanField(default=False)
is_supplier = models.BooleanField(default=False)
is_admin = models.BooleanField(default=False)
| 29.111111 | 52 | 0.790076 | 33 | 262 | 6.181818 | 0.515152 | 0.264706 | 0.367647 | 0.441176 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125954 | 262 | 8 | 53 | 32.75 | 0.89083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07fd00f3f89714578611ae7c12e6b401fab2b29b | 328 | py | Python | backend/config/config.py | naiiytom/cms-angular-fastapi-keycloak | fe9266c94404e71a74b5b9676d7283b63dc11cd3 | [
"MIT"
] | 1 | 2022-01-29T21:20:27.000Z | 2022-01-29T21:20:27.000Z | backend/config/config.py | naiiytom/cms-angular-fastapi-keycloak | fe9266c94404e71a74b5b9676d7283b63dc11cd3 | [
"MIT"
] | null | null | null | backend/config/config.py | naiiytom/cms-angular-fastapi-keycloak | fe9266c94404e71a74b5b9676d7283b63dc11cd3 | [
"MIT"
] | 1 | 2022-01-29T21:20:29.000Z | 2022-01-29T21:20:29.000Z | import os
class Key():
def __init__(self):
self.AWS_ACCESS_KEY = os.getenv('AWS_ACCESS_KEY', 'ACCESS_KEY')
self.AWS_SECRET_KEY = os.getenv('AWS_SECRET_KEY', 'SECRET_KEY')
def get_access_key(self):
return self.AWS_ACCESS_KEY
def get_secret_key(self):
return self.AWS_SEC... | 25.230769 | 71 | 0.67378 | 49 | 328 | 4.061224 | 0.265306 | 0.226131 | 0.180905 | 0.160804 | 0.201005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222561 | 328 | 12 | 72 | 27.333333 | 0.780392 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.777778 | 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 |
ed06415f29f559b5e6263a064cf17a94040dd5d2 | 8,222 | py | Python | cumulus_nclu.py | vaibhgupta157/CumulusVXNetconf | 195e257254321bcffb45eba955c247f630710a52 | [
"MIT"
] | null | null | null | cumulus_nclu.py | vaibhgupta157/CumulusVXNetconf | 195e257254321bcffb45eba955c247f630710a52 | [
"MIT"
] | null | null | null | cumulus_nclu.py | vaibhgupta157/CumulusVXNetconf | 195e257254321bcffb45eba955c247f630710a52 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 42.164103 | 363 | 0.710898 | 1,079 | 8,222 | 5.174235 | 0.156627 | 0.053197 | 0.045137 | 0.037077 | 0.845961 | 0.801899 | 0.797779 | 0.780942 | 0.780942 | 0.749418 | 0 | 0.00251 | 0.176234 | 8,222 | 194 | 364 | 42.381443 | 0.821792 | 0.154707 | 0 | 0.608 | 0 | 0.016 | 0.233284 | 0.054399 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.12 | 0 | 0.352 | 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 |
ed49e6a3b9f182371dd1c67217e51e5aadd72790 | 203 | py | Python | information_sharing/apps.py | luke-feng/MAP | bc82ec20e2859dd6437d314fc12880f5e6b6aad8 | [
"Apache-2.0"
] | 1 | 2021-11-30T19:38:55.000Z | 2021-11-30T19:38:55.000Z | information_sharing/apps.py | luke-feng/MAP | bc82ec20e2859dd6437d314fc12880f5e6b6aad8 | [
"Apache-2.0"
] | null | null | null | information_sharing/apps.py | luke-feng/MAP | bc82ec20e2859dd6437d314fc12880f5e6b6aad8 | [
"Apache-2.0"
] | 1 | 2022-02-25T22:48:21.000Z | 2022-02-25T22:48:21.000Z | from django.apps import AppConfig
class InformationSharingConfig(AppConfig):
name = 'information_sharing'
verbose_name = "information sharing"
verbose_name_plural = "information sharing"
| 20.3 | 47 | 0.773399 | 20 | 203 | 7.65 | 0.6 | 0.352941 | 0.287582 | 0.379085 | 0.405229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162562 | 203 | 9 | 48 | 22.555556 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.280788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ed6d63a9cc428ee67b7e7a5c326cdd01bf8cde3f | 2,278 | py | Python | GUI/PyQt/networks/multiclass/SENets/squeeze_excitation_block.py | thomaskuestner/CNNArt | c2fc639dd2ce035f6ca90113290682a0ccd26fb8 | [
"Apache-2.0"
] | 22 | 2018-04-27T21:28:46.000Z | 2021-12-24T06:44:55.000Z | GUI/PyQt/networks/multiclass/SENets/squeeze_excitation_block.py | thomaskuestner/CNNArt | c2fc639dd2ce035f6ca90113290682a0ccd26fb8 | [
"Apache-2.0"
] | 81 | 2017-11-09T17:23:15.000Z | 2020-01-28T22:54:13.000Z | GUI/PyQt/networks/multiclass/SENets/squeeze_excitation_block.py | thomaskuestner/CNNArt | c2fc639dd2ce035f6ca90113290682a0ccd26fb8 | [
"Apache-2.0"
] | 18 | 2017-11-13T16:12:17.000Z | 2020-08-27T10:17:34.000Z | '''
@author: Yannick Wilhelm
@email: yannick.wilhelm@gmx.de
@date: February 2017
Keras implementation of a Squeeze-and-Excitation-Block in accordance with the original paper
(Hu 2017, Squeeze and Excitation Networks)
'''
from keras.layers import GlobalAveragePooling2D, Reshape, Dense, multiply, Permute, Glob... | 32.084507 | 113 | 0.704126 | 262 | 2,278 | 5.98855 | 0.301527 | 0.038241 | 0.050988 | 0.056087 | 0.772467 | 0.755895 | 0.755895 | 0.755895 | 0.755895 | 0.755895 | 0 | 0.011621 | 0.20676 | 2,278 | 71 | 114 | 32.084507 | 0.856669 | 0.310799 | 0 | 0.769231 | 0 | 0 | 0.060056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.230769 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.