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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8c08481604ffc4f9b4bebd59aabd54a2d704be24 | 2,192 | py | Python | tests/system/InitFile/createInitFiles.py | nih23/MRIDrivenHeatSimulation | de6d16853df1faf44c700d1fc06584351bf6c816 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | tests/system/InitFile/createInitFiles.py | nih23/MRIDrivenHeatSimulation | de6d16853df1faf44c700d1fc06584351bf6c816 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | tests/system/InitFile/createInitFiles.py | nih23/MRIDrivenHeatSimulation | de6d16853df1faf44c700d1fc06584351bf6c816 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | import netCDF4 as nc
import numpy as np
dim = 8
file_name = "init"
def create_nc_file_1D():
global dim
global file_name
nc_file_name = file_name + "1D.nc"
nc_file = nc.Dataset(nc_file_name, "w", format="NETCDF3_CLASSIC")
nNodes_0 = nc_file.createDimension("nNodes_0", dim)
time = nc_file.create... | 32.235294 | 97 | 0.643248 | 349 | 2,192 | 3.730659 | 0.117479 | 0.138249 | 0.126728 | 0.096774 | 0.868664 | 0.862519 | 0.862519 | 0.862519 | 0.814132 | 0.814132 | 0 | 0.061902 | 0.189325 | 2,192 | 67 | 98 | 32.716418 | 0.670793 | 0 | 0 | 0.327869 | 0 | 0 | 0.093066 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065574 | false | 0 | 0.032787 | 0 | 0.098361 | 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 |
8c0ab98c56e291a74619205d2570edced9ce690c | 36 | py | Python | examples/read_channel.py | dovedevic/twitch.py | 685dc893e4cf5daa9abd9571b6415acd9215b0bb | [
"MIT"
] | 3 | 2019-11-20T01:08:35.000Z | 2020-10-26T14:49:54.000Z | examples/read_channel.py | dovedevic/twitch.py | 685dc893e4cf5daa9abd9571b6415acd9215b0bb | [
"MIT"
] | 25 | 2019-11-19T22:57:44.000Z | 2019-11-20T06:37:52.000Z | examples/read_channel.py | dovedevic/twitch.py | 685dc893e4cf5daa9abd9571b6415acd9215b0bb | [
"MIT"
] | 1 | 2019-11-20T01:00:35.000Z | 2019-11-20T01:00:35.000Z | # TODO::Finish when API is finished
| 18 | 35 | 0.75 | 6 | 36 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 1 | 36 | 36 | 0.9 | 0.916667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8c11463421cdf81febf23fb6192971e02a88fcc8 | 2,344 | py | Python | serialmon/clitools/tools.py | cuhk-gw-suspension/serial-monitor | 6f44b3e5223aa1ee71e2d49637463a436ec7e072 | [
"MIT"
] | null | null | null | serialmon/clitools/tools.py | cuhk-gw-suspension/serial-monitor | 6f44b3e5223aa1ee71e2d49637463a436ec7e072 | [
"MIT"
] | 2 | 2021-06-24T18:28:43.000Z | 2021-07-09T17:52:58.000Z | serialmon/clitools/tools.py | cuhk-gw-suspension/serial-monitor | 6f44b3e5223aa1ee71e2d49637463a436ec7e072 | [
"MIT"
] | null | null | null | import click
# __package__ = "serialmon"
from ..utils.adaptUSBport import get_serial_device
from ..utils.log import print_serial_info, print_int
from ..monitor import app
@click.group()
def cli():
pass
@cli.command()
def list():
"""list all ports not with description 'n/a'."""
try:
title = "Ava... | 32.109589 | 87 | 0.626706 | 322 | 2,344 | 4.493789 | 0.291925 | 0.043538 | 0.041465 | 0.029026 | 0.721493 | 0.721493 | 0.721493 | 0.721493 | 0.721493 | 0.721493 | 0 | 0.001117 | 0.235922 | 2,344 | 72 | 88 | 32.555556 | 0.806812 | 0.101962 | 0 | 0.666667 | 0 | 0 | 0.171387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087719 | false | 0.052632 | 0.070175 | 0 | 0.157895 | 0.087719 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8c1b4616eb0add7fc113193a78e373acf0a5c093 | 813 | py | Python | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/survey/tests/test_survey_ui.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | 1 | 2019-12-19T01:53:13.000Z | 2019-12-19T01:53:13.000Z | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/survey/tests/test_survey_ui.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/survey/tests/test_survey_ui.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | import odoo.tests
# Part of Odoo. See LICENSE file for full copyright and licensing details.
class TestUi(odoo.tests.HttpCase):
post_install = True
at_install = False
def test_01_admin_survey_tour(self):
self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('test_survey')", "odoo.__... | 45.166667 | 174 | 0.729397 | 117 | 813 | 4.615385 | 0.358974 | 0.1 | 0.188889 | 0.222222 | 0.662963 | 0.662963 | 0.662963 | 0.662963 | 0.662963 | 0.662963 | 0 | 0.008299 | 0.110701 | 813 | 17 | 175 | 47.823529 | 0.738589 | 0.088561 | 0 | 0 | 0 | 0 | 0.515562 | 0.499323 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8c3a4ca6ed2cfd8a19fee29410d812da43b6f69c | 231 | py | Python | tests/markers.py | vyahello/async-weather-api | 03edabb9c1d29b2fe9b478d2751361d6dc1d4a08 | [
"MIT"
] | 2 | 2020-01-06T19:10:22.000Z | 2020-05-27T03:41:59.000Z | tests/markers.py | vyahello/async-weather-api | 03edabb9c1d29b2fe9b478d2751361d6dc1d4a08 | [
"MIT"
] | 3 | 2020-10-30T19:34:54.000Z | 2021-08-14T07:20:43.000Z | tests/markers.py | vyahello/async-weather-api | 03edabb9c1d29b2fe9b478d2751361d6dc1d4a08 | [
"MIT"
] | null | null | null | import pytest
from _pytest.mark import MarkDecorator
unit: MarkDecorator = pytest.mark.unit
smoke: MarkDecorator = pytest.mark.smoke
async_: MarkDecorator = pytest.mark.asyncio
parametrize: MarkDecorator = pytest.mark.parametrize
| 28.875 | 52 | 0.82684 | 27 | 231 | 7 | 0.37037 | 0.26455 | 0.486772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099567 | 231 | 7 | 53 | 33 | 0.908654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8c41d1e8437812c606c41522ba8eea93f37695fa | 148 | py | Python | deployment/utils/__init__.py | Damehou/FaceParsing | 2cb0d8aa8b698826ec56052c69bab7bb3f732fa5 | [
"MIT"
] | 138 | 2020-01-10T17:54:30.000Z | 2022-03-17T04:05:38.000Z | deployment/utils/__init__.py | Damehou/FaceParsing | 2cb0d8aa8b698826ec56052c69bab7bb3f732fa5 | [
"MIT"
] | 21 | 2020-02-07T12:27:41.000Z | 2022-02-05T14:50:15.000Z | deployment/utils/__init__.py | Damehou/FaceParsing | 2cb0d8aa8b698826ec56052c69bab7bb3f732fa5 | [
"MIT"
] | 28 | 2020-01-10T10:27:19.000Z | 2022-03-10T07:52:25.000Z | # -*- coding: utf-8 -*-
# @Author: luoling
# @Date: 2019-10-29 18:32:28
# @Last Modified by: luoling
# @Last Modified time: 2019-12-02 16:41:48
| 24.666667 | 42 | 0.621622 | 25 | 148 | 3.68 | 0.84 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239669 | 0.182432 | 148 | 5 | 43 | 29.6 | 0.520661 | 0.925676 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8c4af7b529a066d2c65836b18d5f1cc3d8504d33 | 145 | py | Python | robinhoodbot/utils/print.py | nikunjshanti/RobinhoodBot | edfd06192af59f51a19ff495d2dae34e282f4c4b | [
"MIT"
] | null | null | null | robinhoodbot/utils/print.py | nikunjshanti/RobinhoodBot | edfd06192af59f51a19ff495d2dae34e282f4c4b | [
"MIT"
] | null | null | null | robinhoodbot/utils/print.py | nikunjshanti/RobinhoodBot | edfd06192af59f51a19ff495d2dae34e282f4c4b | [
"MIT"
] | null | null | null | import os, sys
# Disable
def blockPrint():
sys.stdout = open(os.devnull, 'w')
# Restore
def enablePrint():
sys.stdout = sys.__stdout__
| 14.5 | 38 | 0.668966 | 19 | 145 | 4.894737 | 0.631579 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193103 | 145 | 9 | 39 | 16.111111 | 0.794872 | 0.103448 | 0 | 0 | 0 | 0 | 0.007874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4fc45afd790794daa78b174321f6caa83723a4a5 | 102 | py | Python | forum_modules/pgfulltext/settings.py | Stackato-Apps/osqa | 728bb43ae913e33769c52f40cadb26721faaf2b2 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2017-07-14T09:58:07.000Z | 2017-07-14T09:58:07.000Z | forum_modules/pgfulltext/settings.py | Stackato-Apps/osqa | 728bb43ae913e33769c52f40cadb26721faaf2b2 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | forum_modules/pgfulltext/settings.py | Stackato-Apps/osqa | 728bb43ae913e33769c52f40cadb26721faaf2b2 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | from forum.settings.base import Setting
PG_FTSTRIGGERS_VERSION = Setting('PG_FTSTRIGGERS_VERSION', 0) | 34 | 61 | 0.843137 | 14 | 102 | 5.857143 | 0.714286 | 0.219512 | 0.487805 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.078431 | 102 | 3 | 61 | 34 | 0.861702 | 0 | 0 | 0 | 0 | 0 | 0.213592 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8b1a181d4a80ff9c87202f8428948e308af0ac1c | 38 | py | Python | savecode/threeyears/idownclient/scout/plugin/searchengine/google/__init__.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 2 | 2019-05-19T11:54:26.000Z | 2019-05-19T12:03:49.000Z | savecode/threeyears/idownclient/scout/plugin/searchengine/google/__init__.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 1 | 2020-11-27T07:55:15.000Z | 2020-11-27T07:55:15.000Z | savecode/threeyears/idownclient/scout/plugin/searchengine/google/__init__.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 2 | 2021-09-06T18:06:12.000Z | 2021-12-31T07:44:43.000Z | from .googlesearch import GoogleSearch | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 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 |
8b4006429c201e86c45981f7862c0d01fef92855 | 24 | py | Python | core/clip/__init__.py | ollietb/VQGAN-CLIP-Docker | f3c6bd44bd1948dd9a5a4fd75d8d43910c9267ce | [
"MIT"
] | 57 | 2021-08-06T19:23:06.000Z | 2022-03-30T04:20:11.000Z | core/clip/__init__.py | ollietb/VQGAN-CLIP-Docker | f3c6bd44bd1948dd9a5a4fd75d8d43910c9267ce | [
"MIT"
] | 3 | 2021-09-01T00:31:10.000Z | 2021-11-13T11:27:42.000Z | core/clip/__init__.py | ollietb/VQGAN-CLIP-Docker | f3c6bd44bd1948dd9a5a4fd75d8d43910c9267ce | [
"MIT"
] | 12 | 2021-08-08T05:18:38.000Z | 2022-03-24T20:12:56.000Z | from core.clip import *
| 12 | 23 | 0.75 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c96709cc74e79fd1ae17bc35a57366229b8e015 | 53 | py | Python | config/secrets.py | pcraig3/super | 8ab30a456355ee2c7b7ea7368f254cacee1b1fef | [
"MIT"
] | null | null | null | config/secrets.py | pcraig3/super | 8ab30a456355ee2c7b7ea7368f254cacee1b1fef | [
"MIT"
] | null | null | null | config/secrets.py | pcraig3/super | 8ab30a456355ee2c7b7ea7368f254cacee1b1fef | [
"MIT"
] | null | null | null | OPENWEATHER_KEY = '354e5f35b937cc744a82cbf1a5adadf4'
| 26.5 | 52 | 0.886792 | 3 | 53 | 15.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.34 | 0.056604 | 53 | 1 | 53 | 53 | 0.58 | 0 | 0 | 0 | 0 | 0 | 0.603774 | 0.603774 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
50809f88dc33547e89d180a206f1c7c5b1b4bb07 | 91 | py | Python | bpy_speckle/callbacks/__init__.py | CyrilWaechter/SpeckleBlender | c3ab2e9055c225c08e84fabae7b76cd550b025e9 | [
"MIT"
] | 26 | 2018-05-02T13:44:28.000Z | 2021-11-19T11:32:11.000Z | bpy_speckle/callbacks/__init__.py | CyrilWaechter/SpeckleBlender | c3ab2e9055c225c08e84fabae7b76cd550b025e9 | [
"MIT"
] | 14 | 2018-05-26T23:52:11.000Z | 2020-10-05T07:57:50.000Z | bpy_speckle/callbacks/__init__.py | CyrilWaechter/SpeckleBlender | c3ab2e9055c225c08e84fabae7b76cd550b025e9 | [
"MIT"
] | 5 | 2019-05-16T07:16:46.000Z | 2020-10-01T08:50:54.000Z | from .on_mesh_edit import scb_on_mesh_edit
from .draw_speckle_info import draw_speckle_info | 45.5 | 48 | 0.901099 | 17 | 91 | 4.294118 | 0.529412 | 0.164384 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 91 | 2 | 48 | 45.5 | 0.869048 | 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 |
50edd0ebfa0a09006bb1d53ade391f78487a5c82 | 255 | py | Python | src/nlp_models/word_embedding/NgramLevelWordEmbedding.py | TeaKatz/NLP_Models | 89e77bde464473c4f1bfad2e093763c66dfbaa04 | [
"MIT"
] | null | null | null | src/nlp_models/word_embedding/NgramLevelWordEmbedding.py | TeaKatz/NLP_Models | 89e77bde464473c4f1bfad2e093763c66dfbaa04 | [
"MIT"
] | null | null | null | src/nlp_models/word_embedding/NgramLevelWordEmbedding.py | TeaKatz/NLP_Models | 89e77bde464473c4f1bfad2e093763c66dfbaa04 | [
"MIT"
] | null | null | null | from .CharacterLevelWordEmbedding import CharacterLevelWordEmbedding, CharacterLevelWordSparseEncoding
class NgramLevelWordSparseEncoding(CharacterLevelWordSparseEncoding):
pass
class NgramLevelWordEmbedding(CharacterLevelWordEmbedding):
pass
| 25.5 | 102 | 0.878431 | 13 | 255 | 17.230769 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090196 | 255 | 9 | 103 | 28.333333 | 0.965517 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
50f3d4ef4f30969157a76fb94de78e66b4e1372c | 251 | py | Python | swdata/__init__.py | tadmat/swdata | a4d87f3863714d0f9d10e4192b96b0abe60f4f2b | [
"MIT"
] | null | null | null | swdata/__init__.py | tadmat/swdata | a4d87f3863714d0f9d10e4192b96b0abe60f4f2b | [
"MIT"
] | null | null | null | swdata/__init__.py | tadmat/swdata | a4d87f3863714d0f9d10e4192b96b0abe60f4f2b | [
"MIT"
] | null | null | null | from .dataset import (
SWDataset,
LabelStruct,
Transcript,
sign2tensor,
print_max_nsymbols,
)
__all__ = [
"SWDataset",
"LabelStruct",
"Transcript",
"sign2tensor",
"print_max_nsymbols",
]
__version__ = '0.1.0'
| 13.944444 | 25 | 0.621514 | 22 | 251 | 6.545455 | 0.636364 | 0.277778 | 0.416667 | 0.569444 | 0.791667 | 0.791667 | 0.791667 | 0 | 0 | 0 | 0 | 0.026738 | 0.25498 | 251 | 17 | 26 | 14.764706 | 0.743316 | 0 | 0 | 0 | 0 | 0 | 0.25498 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0.133333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ba0855748e824076c16aae09538ea22be0801e1a | 128 | py | Python | prism/modellink/tests/modellink/__init__.py | vishalbelsare/PRISM | 9565508df8f7f7bba4119f4f523fc4635455a4db | [
"BSD-3-Clause"
] | 43 | 2019-01-28T05:40:43.000Z | 2022-03-29T20:46:57.000Z | prism/modellink/tests/modellink/__init__.py | vishalbelsare/PRISM | 9565508df8f7f7bba4119f4f523fc4635455a4db | [
"BSD-3-Clause"
] | 30 | 2019-01-28T10:55:27.000Z | 2021-02-01T04:06:55.000Z | prism/modellink/tests/modellink/__init__.py | vishalbelsare/PRISM | 9565508df8f7f7bba4119f4f523fc4635455a4db | [
"BSD-3-Clause"
] | 7 | 2020-01-10T15:54:55.000Z | 2021-02-01T04:46:17.000Z | # -*- coding: utf-8 -*-
from .extreme_link import ExtremeLink
from .simple_gaussian_link import GaussianLink2D, GaussianLink3D
| 25.6 | 64 | 0.789063 | 15 | 128 | 6.533333 | 0.8 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.117188 | 128 | 4 | 65 | 32 | 0.840708 | 0.164063 | 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 |
ba2d5bf59505096e97fab86a0ca1a75612caa7fa | 805 | py | Python | bms_controller_test.py | clean-code-craft-tcq-1/function-ext-python-Aruna1396 | 2b32dbd24aa94c69b17f199ee1bf12ea3d72bce1 | [
"MIT"
] | null | null | null | bms_controller_test.py | clean-code-craft-tcq-1/function-ext-python-Aruna1396 | 2b32dbd24aa94c69b17f199ee1bf12ea3d72bce1 | [
"MIT"
] | null | null | null | bms_controller_test.py | clean-code-craft-tcq-1/function-ext-python-Aruna1396 | 2b32dbd24aa94c69b17f199ee1bf12ea3d72bce1 | [
"MIT"
] | null | null | null | import check_battery_limits as checker
if __name__ == '__main__':
'Test for upper limit breaches'
assert (checker.is_battery_overall_health_ok({'charging_temperature': 125, 'state_of_charge': 90,
'charge_rate': 6.8}, "English", 'Celsius') is False)
'Test ... | 53.666667 | 104 | 0.595031 | 91 | 805 | 4.89011 | 0.395604 | 0.047191 | 0.12809 | 0.175281 | 0.824719 | 0.824719 | 0.824719 | 0.74382 | 0.595506 | 0.595506 | 0 | 0.038596 | 0.291925 | 805 | 14 | 105 | 57.5 | 0.742105 | 0 | 0 | 0 | 0 | 0 | 0.351553 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e8aceadd2b1dfa290b5cac5d1315d89b8af8753b | 1,088 | py | Python | folders/project1_Dice/dice.py | angelopassaro/Hacktoberfest-1 | 21f90f5d49efba9b1a27f4d9b923f5017ab43f0e | [
"Apache-2.0"
] | 1 | 2020-10-06T01:20:07.000Z | 2020-10-06T01:20:07.000Z | folders/project1_Dice/dice.py | angelopassaro/Hacktoberfest-1 | 21f90f5d49efba9b1a27f4d9b923f5017ab43f0e | [
"Apache-2.0"
] | null | null | null | folders/project1_Dice/dice.py | angelopassaro/Hacktoberfest-1 | 21f90f5d49efba9b1a27f4d9b923f5017ab43f0e | [
"Apache-2.0"
] | null | null | null | import random
x="y"
while x=="y":
number=random.randint(1,6)
if number == 1:
print(" -------- ")
print("| |")
print("| 0 |")
print("| |")
print(" -------- ")
if number == 2:
print(" -------- ")
print("| |")
print("| 0... | 25.302326 | 61 | 0.283088 | 95 | 1,088 | 3.242105 | 0.284211 | 0.253247 | 0.181818 | 0.311688 | 0.577922 | 0.415584 | 0.084416 | 0 | 0 | 0 | 0 | 0.048658 | 0.452206 | 1,088 | 42 | 62 | 25.904762 | 0.468121 | 0 | 0 | 0.731707 | 0 | 0 | 0.319853 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02439 | 0 | 0.02439 | 0.731707 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fa0ebc0918c8deee22997bd253bcaa47f563e165 | 259,298 | py | Python | vulnerability-impact-categorization/classifier_tests.py | CSIRT-MU/VulnerabilityCategorization | 24bd578c45c6cc9534566ffc4c69baff324b4b45 | [
"MIT"
] | 4 | 2018-05-05T07:30:45.000Z | 2021-01-05T06:51:21.000Z | vulnerability-impact-categorization/classifier_tests.py | CSIRT-MU/VulnerabilityCategorization | 24bd578c45c6cc9534566ffc4c69baff324b4b45 | [
"MIT"
] | null | null | null | vulnerability-impact-categorization/classifier_tests.py | CSIRT-MU/VulnerabilityCategorization | 24bd578c45c6cc9534566ffc4c69baff324b4b45 | [
"MIT"
] | 1 | 2019-04-20T08:06:18.000Z | 2019-04-20T08:06:18.000Z | import unittest
import CVE_parser
import classifier
result_impacts = {
'CVE-2017-0001': ['Privilege escalation on system'],
'CVE-2017-0002': ['Gain privileges on application'],
'CVE-2017-0003': ['Arbitrary code execution as root/administrator/system'],
'CVE-2017-0004': ['System availability loss'],
... | 71.649074 | 107 | 0.683854 | 28,660 | 259,298 | 6.186392 | 0.108549 | 0.120771 | 0.085927 | 0.169609 | 0.927158 | 0.82884 | 0.777013 | 0.763167 | 0.691013 | 0.305417 | 0 | 0.116291 | 0.174672 | 259,298 | 3,618 | 108 | 71.668878 | 0.7122 | 0.002634 | 0 | 0.149279 | 0 | 0 | 0.763311 | 0.074357 | 0 | 0 | 0 | 0 | 0.000277 | 1 | 0.000277 | false | 0 | 0.000832 | 0 | 0.001387 | 0.000555 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa561e9d912c93d1fef140ea3e30060366f77314 | 30 | py | Python | AutoTinderAzure/sample.py | tafseerahmed/Auto-Tinder | 9110637c209eb78f4fb715069b9b153ca87d719e | [
"MIT"
] | null | null | null | AutoTinderAzure/sample.py | tafseerahmed/Auto-Tinder | 9110637c209eb78f4fb715069b9b153ca87d719e | [
"MIT"
] | 1 | 2021-12-13T19:53:00.000Z | 2021-12-13T19:53:00.000Z | AutoTinderAzure/sample.py | tafseerahmed/Auto-Tinder | 9110637c209eb78f4fb715069b9b153ca87d719e | [
"MIT"
] | null | null | null |
import sys
print(sys.version) | 10 | 18 | 0.8 | 5 | 30 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 3 | 18 | 10 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d7000db598534b0f485450adc4c98e46c7cd267b | 154 | py | Python | yalul/parsers/parse_errors.py | OtavioHenrique/yalul | ce99e32365ed5607527b9f2f39705ad5d9e20ba2 | [
"MIT"
] | 1 | 2021-04-01T20:22:36.000Z | 2021-04-01T20:22:36.000Z | yalul/parsers/parse_errors.py | OtavioHenrique/yalul | ce99e32365ed5607527b9f2f39705ad5d9e20ba2 | [
"MIT"
] | 1 | 2020-11-20T22:24:38.000Z | 2020-11-20T22:24:38.000Z | yalul/parsers/parse_errors.py | OtavioHenrique/yalul | ce99e32365ed5607527b9f2f39705ad5d9e20ba2 | [
"MIT"
] | null | null | null | class ParseErrors:
def __init__(self, errors):
self.errors = errors
def add_error(self, error):
return self.errors.append(error)
| 22 | 40 | 0.655844 | 19 | 154 | 5.052632 | 0.526316 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246753 | 154 | 6 | 41 | 25.666667 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d7128e34e62f372129ff894858ec967a0d38bef6 | 25 | py | Python | voilarm/__init__.py | ansarowsky/voilarm | 0ac5469b0613538dad1996f9a3057967fa7f4a07 | [
"MIT"
] | 1 | 2022-01-27T21:28:51.000Z | 2022-01-27T21:28:51.000Z | voilarm/__init__.py | ansarowsky/voilarm | 0ac5469b0613538dad1996f9a3057967fa7f4a07 | [
"MIT"
] | null | null | null | voilarm/__init__.py | ansarowsky/voilarm | 0ac5469b0613538dad1996f9a3057967fa7f4a07 | [
"MIT"
] | null | null | null | from .alarm import Alarm
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d72d434c29aabcdc3a9c6cdaa4b21bb5f9192e14 | 1,048 | py | Python | molecule/default/files/selenium-tests/test_platform.py | marvel-nccr/ansible-role-jupyter | 9031913c8c6064ddba054242480ee28a81d07a50 | [
"MIT"
] | null | null | null | molecule/default/files/selenium-tests/test_platform.py | marvel-nccr/ansible-role-jupyter | 9031913c8c6064ddba054242480ee28a81d07a50 | [
"MIT"
] | 9 | 2018-12-16T22:58:33.000Z | 2021-09-24T08:30:48.000Z | molecule/default/files/selenium-tests/test_platform.py | marvel-nccr/ansible-role-jupyter | 9031913c8c6064ddba054242480ee28a81d07a50 | [
"MIT"
] | 1 | 2019-05-01T14:18:22.000Z | 2019-05-01T14:18:22.000Z | #!/usr/bin/env python
from selenium.webdriver.common.by import By
def test_login(selenium, url):
selenium.get(url())
selenium.find_element(By.ID, 'ipython-main-app')
# selenium.find_element(By.ID, 'notebook-container')
# selenium.find_element(By.CLASS_NAME, 'jupyter-widgets-view')
# selenium.get_s... | 30.823529 | 66 | 0.72042 | 150 | 1,048 | 4.873333 | 0.253333 | 0.147743 | 0.233926 | 0.25855 | 0.841313 | 0.807114 | 0.648427 | 0.648427 | 0.648427 | 0.648427 | 0 | 0 | 0.120229 | 1,048 | 33 | 67 | 31.757576 | 0.792842 | 0.340649 | 0 | 0.3125 | 0 | 0 | 0.182749 | 0.038012 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.0625 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d77a2afc37f185f5a00039056bd5398d4870262f | 5,818 | py | Python | tests/test_migrate_logos.py | patymori/document-store-migracao | 1320ef58de1484ca8383c29c1fea55c4b2d89e67 | [
"BSD-2-Clause"
] | 1 | 2019-11-21T12:35:36.000Z | 2019-11-21T12:35:36.000Z | tests/test_migrate_logos.py | patymori/document-store-migracao | 1320ef58de1484ca8383c29c1fea55c4b2d89e67 | [
"BSD-2-Clause"
] | 336 | 2019-04-01T14:06:37.000Z | 2022-03-21T22:16:55.000Z | tests/test_migrate_logos.py | patymori/document-store-migracao | 1320ef58de1484ca8383c29c1fea55c4b2d89e67 | [
"BSD-2-Clause"
] | 4 | 2019-03-28T13:32:04.000Z | 2020-04-17T18:03:19.000Z | from unittest import TestCase, mock
from documentstore_migracao.main.migrate_logos import migrate_logos_parser
"""
migrate_logos --uri mongodb://0.0.0.0:27017/ --db document-store --websitedb ../data-webapp
usage: migrate_logos [-h] --uri URI --db DB --websitedb path
optional arguments:
-h, --help show... | 51.035088 | 140 | 0.723444 | 719 | 5,818 | 5.503477 | 0.141864 | 0.127369 | 0.132676 | 0.169826 | 0.766237 | 0.756887 | 0.725297 | 0.725297 | 0.705332 | 0.705332 | 0 | 0.011236 | 0.173943 | 5,818 | 113 | 141 | 51.486726 | 0.81211 | 0 | 0 | 0.588889 | 0 | 0.055556 | 0.402592 | 0.282501 | 0 | 0 | 0 | 0 | 0.077778 | 1 | 0.066667 | false | 0 | 0.022222 | 0 | 0.1 | 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 |
d7968e9a44b3fce497c523a0fcaa106f72f944e5 | 23 | py | Python | src/pydex/__init__.py | waikato-datamining/pydex | a7a9090d6e618e54d969cb3539d9c8d12acd7f4f | [
"MIT"
] | null | null | null | src/pydex/__init__.py | waikato-datamining/pydex | a7a9090d6e618e54d969cb3539d9c8d12acd7f4f | [
"MIT"
] | null | null | null | src/pydex/__init__.py | waikato-datamining/pydex | a7a9090d6e618e54d969cb3539d9c8d12acd7f4f | [
"MIT"
] | null | null | null | from ._client import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.842105 | 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 |
ad085b310d8e8ac1452909dabf3079b8c7d802db | 159 | py | Python | costor_server/manager/admin.py | rphi/costor | 081de65778d404cf7a22c5524bf89a146fa8326b | [
"CNRI-Python"
] | 2 | 2019-12-31T16:49:36.000Z | 2021-02-17T09:47:41.000Z | costor_server/manager/admin.py | rphi/costor | 081de65778d404cf7a22c5524bf89a146fa8326b | [
"CNRI-Python"
] | null | null | null | costor_server/manager/admin.py | rphi/costor | 081de65778d404cf7a22c5524bf89a146fa8326b | [
"CNRI-Python"
] | null | null | null | from django.contrib import admin
from .models import Agent
# Register your models here.
@admin.register(Agent)
class AgentAdmin(admin.ModelAdmin):
pass
| 15.9 | 35 | 0.773585 | 21 | 159 | 5.857143 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 159 | 9 | 36 | 17.666667 | 0.911111 | 0.163522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ad138cdb9a9209cee34bbdd3f19ba87b7d62d4de | 57 | py | Python | libswitch/device/endpoint.py | liuyenting/libswitch | 38ed7debd7631a8d5deccef6a7165ffddd6e4a60 | [
"MIT"
] | null | null | null | libswitch/device/endpoint.py | liuyenting/libswitch | 38ed7debd7631a8d5deccef6a7165ffddd6e4a60 | [
"MIT"
] | null | null | null | libswitch/device/endpoint.py | liuyenting/libswitch | 38ed7debd7631a8d5deccef6a7165ffddd6e4a60 | [
"MIT"
] | null | null | null | class Endpoint(object):
def __init__():
pass
| 14.25 | 23 | 0.596491 | 6 | 57 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298246 | 57 | 3 | 24 | 19 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ad4186ad3d29e1ade9436744abe41746871e3270 | 1,280 | py | Python | pygame_menu/widgets/widget/__init__.py | dcartman/pygame-menu | 52a823b9121aadd6893fb878150d613ab516fcac | [
"MIT"
] | null | null | null | pygame_menu/widgets/widget/__init__.py | dcartman/pygame-menu | 52a823b9121aadd6893fb878150d613ab516fcac | [
"MIT"
] | null | null | null | pygame_menu/widgets/widget/__init__.py | dcartman/pygame-menu | 52a823b9121aadd6893fb878150d613ab516fcac | [
"MIT"
] | null | null | null | """
pygame-menu
https://github.com/ppizarror/pygame-menu
WIDGET
This module contains the widgets of pygame-menu.
"""
from pygame_menu.widgets.widget.button import Button
from pygame_menu.widgets.widget.colorinput import ColorInput
from pygame_menu.widgets.widget.dropselect import DropSelect
from pygame_menu.widgets.w... | 44.137931 | 77 | 0.867188 | 178 | 1,280 | 6.117978 | 0.213483 | 0.211203 | 0.257117 | 0.385675 | 0.514233 | 0.067952 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073438 | 1,280 | 28 | 78 | 45.714286 | 0.918212 | 0.085156 | 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 |
ad85934bc26ebfd68d34882e9c02e1d5b6128096 | 44,708 | py | Python | lorabot/lorabot.py | aleksspevak/lorabot | fe13535289a7ddf73f9fa302d3a6809b9cc3df97 | [
"MIT"
] | 4 | 2022-03-09T15:57:50.000Z | 2022-03-30T04:24:33.000Z | lorabot/lorabot.py | aleksspevak/lorabot | fe13535289a7ddf73f9fa302d3a6809b9cc3df97 | [
"MIT"
] | null | null | null | lorabot/lorabot.py | aleksspevak/lorabot | fe13535289a7ddf73f9fa302d3a6809b9cc3df97 | [
"MIT"
] | 1 | 2022-03-09T20:21:12.000Z | 2022-03-09T20:21:12.000Z | import pandas as pd
import psycopg2
import os
from dotenv import load_dotenv
import plotly.express as px
from .lorabot_sql import *
from PIL import Image, ImageDraw
class LoraBot:
def __init__(self, bot_id):
"""
LoraBot is a tool for complex analyze users, messages and events in chatbots.
... | 39.634752 | 125 | 0.520421 | 5,109 | 44,708 | 4.407908 | 0.043061 | 0.048357 | 0.016785 | 0.03206 | 0.851776 | 0.832327 | 0.827931 | 0.814032 | 0.800266 | 0.768295 | 0 | 0.014111 | 0.37387 | 44,708 | 1,127 | 126 | 39.66992 | 0.790376 | 0.149213 | 0 | 0.691751 | 0 | 0 | 0.164674 | 0.011725 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043415 | false | 0.005789 | 0.01013 | 0 | 0.143271 | 0.039074 | 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 |
a8e5b8ea023a379a8155b7d5446f567030b899fa | 20,582 | py | Python | Packs/Gurucul/Integrations/GuruculGRA/GuruculGRA_test.py | SergeBakharev/content | d66cc274f5bf6f9f0e9ed7e4df1af7b6f305aacf | [
"MIT"
] | 1 | 2020-11-25T00:42:27.000Z | 2020-11-25T00:42:27.000Z | Packs/Gurucul/Integrations/GuruculGRA/GuruculGRA_test.py | SergeBakharev/content | d66cc274f5bf6f9f0e9ed7e4df1af7b6f305aacf | [
"MIT"
] | 35 | 2022-03-14T12:40:27.000Z | 2022-03-31T01:50:51.000Z | Packs/Gurucul/Integrations/GuruculGRA/GuruculGRA_test.py | SergeBakharev/content | d66cc274f5bf6f9f0e9ed7e4df1af7b6f305aacf | [
"MIT"
] | 2 | 2021-12-13T13:07:21.000Z | 2022-03-05T02:23:34.000Z | import json
import io
def util_load_json(path):
with io.open(path, mode='r', encoding='utf-8') as f:
return json.loads(f.read())
def test_gra_fetch_users(requests_mock):
"""Unit test
Given
- fetch gra users
- command args page , max
- command raw response
When... | 34.649832 | 119 | 0.643426 | 2,464 | 20,582 | 5.195617 | 0.048701 | 0.066552 | 0.083659 | 0.041009 | 0.901265 | 0.877753 | 0.860725 | 0.843306 | 0.792064 | 0.767693 | 0 | 0.005347 | 0.263969 | 20,582 | 593 | 120 | 34.708263 | 0.839725 | 0.236955 | 0 | 0.527778 | 0 | 0 | 0.256735 | 0.085888 | 0 | 0 | 0 | 0 | 0.160494 | 1 | 0.058642 | false | 0 | 0.061728 | 0 | 0.123457 | 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 |
0f0b2c5617016da3c2538d18397a8d81cf590084 | 54 | py | Python | playground2.py | cjdjr/cosp_nas | f54243176e8398d79df25d295704f24238f24cc7 | [
"MIT"
] | 3 | 2021-12-09T18:59:40.000Z | 2021-12-09T19:00:08.000Z | playground2.py | cjdjr/cosp_nas | f54243176e8398d79df25d295704f24238f24cc7 | [
"MIT"
] | null | null | null | playground2.py | cjdjr/cosp_nas | f54243176e8398d79df25d295704f24238f24cc7 | [
"MIT"
] | null | null | null | from playground1 import *
def work():
print(get()) | 18 | 25 | 0.666667 | 7 | 54 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.185185 | 54 | 3 | 26 | 18 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f0ee4c088d03aef743e69f1952dcbac96a88a7e | 115 | py | Python | tests/__init__.py | burninghelix123/sequences | 0ab976de94b23a2ce8b0880092dcd0e930543756 | [
"0BSD"
] | null | null | null | tests/__init__.py | burninghelix123/sequences | 0ab976de94b23a2ce8b0880092dcd0e930543756 | [
"0BSD"
] | 1 | 2017-01-23T18:01:27.000Z | 2017-06-13T20:48:58.000Z | tests/__init__.py | burninghelix123/sequences | 0ab976de94b23a2ce8b0880092dcd0e930543756 | [
"0BSD"
] | null | null | null | # -*- coding: utf-8 -*-
import test_filestructure # NOQA
import test_sequences # NOQA
| 23 | 44 | 0.53913 | 11 | 115 | 5.454545 | 0.727273 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.365217 | 115 | 4 | 45 | 28.75 | 0.808219 | 0.269565 | 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 |
7e1d03af38b8db1d42e68ac4633056f2567696f7 | 169 | py | Python | avb/__init__.py | markreidvfx/pyavb | 48b05a84ff9752703a9218d5ca157ee672b020ab | [
"MIT"
] | 21 | 2019-02-05T22:08:32.000Z | 2022-03-07T03:37:59.000Z | avb/__init__.py | markreidvfx/pyavb | 48b05a84ff9752703a9218d5ca157ee672b020ab | [
"MIT"
] | 10 | 2019-07-25T04:03:44.000Z | 2021-08-12T21:31:37.000Z | avb/__init__.py | markreidvfx/pyavb | 48b05a84ff9752703a9218d5ca157ee672b020ab | [
"MIT"
] | 1 | 2020-02-20T15:08:40.000Z | 2020-02-20T15:08:40.000Z | from .file import AVBFile as open
from . import bin
from . import attributes
from . import components
from . import trackgroups
from . import essence
from . import misc
| 21.125 | 33 | 0.781065 | 24 | 169 | 5.5 | 0.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177515 | 169 | 7 | 34 | 24.142857 | 0.94964 | 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 |
7e424aee1346568b8dd267806e9fea0528e9a986 | 128 | py | Python | database/db.py | Kaneki1416/kenKaneki | cdd59c18b74d559d277b736e5e536884ce4e9499 | [
"MIT"
] | 1 | 2022-01-11T21:59:34.000Z | 2022-01-11T21:59:34.000Z | database/db.py | Kaneki1416/kenKaneki | cdd59c18b74d559d277b736e5e536884ce4e9499 | [
"MIT"
] | 1 | 2022-01-22T14:40:01.000Z | 2022-01-22T14:40:59.000Z | database/db.py | Kaneki1416/kenKaneki | cdd59c18b74d559d277b736e5e536884ce4e9499 | [
"MIT"
] | 4 | 2021-11-19T12:45:56.000Z | 2022-02-12T03:28:44.000Z | from .chat_database import ChatDB
from .sudo_database import SudoDB
class Methods(ChatDB, SudoDB):
pass
dbs = Methods()
| 12.8 | 33 | 0.75 | 17 | 128 | 5.529412 | 0.647059 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179688 | 128 | 9 | 34 | 14.222222 | 0.895238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0e4d89d423e8516b79dbd1f1e5179e17ac0a8ef9 | 50 | py | Python | snippets/python-version.py | district10/snippet-manager | bebe45a601368947168e3ee6e6ab8c1fc2ee2055 | [
"MIT"
] | 7 | 2018-08-04T09:28:19.000Z | 2020-10-19T17:46:34.000Z | snippets/python-version.py | district10/snippet-manager | bebe45a601368947168e3ee6e6ab8c1fc2ee2055 | [
"MIT"
] | null | null | null | snippets/python-version.py | district10/snippet-manager | bebe45a601368947168e3ee6e6ab8c1fc2ee2055 | [
"MIT"
] | 2 | 2018-07-31T04:14:55.000Z | 2020-04-02T01:22:39.000Z | # python sys version
import sys
print sys.version
| 12.5 | 20 | 0.8 | 8 | 50 | 5 | 0.625 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 3 | 21 | 16.666667 | 0.952381 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
0e655c4d101a95eeabef2ce9e5997f268ef321ca | 171 | py | Python | openmldefaults/symbolic/__init__.py | pfistfl/openml-defaults | 0678167f807512bd0c957f82a83ff8181461090c | [
"BSD-3-Clause"
] | 1 | 2019-08-01T13:44:47.000Z | 2019-08-01T13:44:47.000Z | openmldefaults/symbolic/__init__.py | pfistfl/openml-defaults | 0678167f807512bd0c957f82a83ff8181461090c | [
"BSD-3-Clause"
] | null | null | null | openmldefaults/symbolic/__init__.py | pfistfl/openml-defaults | 0678167f807512bd0c957f82a83ff8181461090c | [
"BSD-3-Clause"
] | 1 | 2019-08-29T15:54:38.000Z | 2019-08-29T15:54:38.000Z |
from .transform import ABCTransformer, all_transform_fns
from .configuration_wrapper import ConfigurationSampler, VanillaConfigurationSpaceSampler, SymbolicConfiguration
| 42.75 | 112 | 0.900585 | 14 | 171 | 10.785714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 171 | 3 | 113 | 57 | 0.949686 | 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 |
7d4f60590780fc7d15147fd78c32817e8e258cc0 | 21,385 | py | Python | src/genie/libs/parser/ios/tests/test_show_lisp.py | nujo/genieparser | 083b01efc46afc32abe1a1858729578beab50cd3 | [
"Apache-2.0"
] | 2 | 2021-01-27T03:37:39.000Z | 2021-01-27T03:40:50.000Z | src/genie/libs/parser/ios/tests/test_show_lisp.py | nujo/genieparser | 083b01efc46afc32abe1a1858729578beab50cd3 | [
"Apache-2.0"
] | 1 | 2020-08-01T00:23:31.000Z | 2020-08-01T00:40:05.000Z | src/genie/libs/parser/ios/tests/test_show_lisp.py | nujo/genieparser | 083b01efc46afc32abe1a1858729578beab50cd3 | [
"Apache-2.0"
] | null | null | null |
# Python
import unittest
from unittest.mock import Mock
# ATS
from pyats.topology import Device
from pyats.topology import loader
# Metaparser
from genie.metaparser.util.exceptions import SchemaEmptyParserError, SchemaMissingKeyError
# ios show_lisp
from genie.libs.parser.ios.show_lisp import ShowLispSession,\
... | 46.48913 | 114 | 0.64751 | 2,311 | 21,385 | 5.663782 | 0.04154 | 0.07151 | 0.093514 | 0.107418 | 0.933456 | 0.85866 | 0.798992 | 0.750707 | 0.737566 | 0.715181 | 0 | 0.01165 | 0.189198 | 21,385 | 459 | 115 | 46.590414 | 0.743238 | 0.127613 | 0 | 0.689552 | 0 | 0 | 0.013541 | 0 | 0 | 0 | 0 | 0 | 0.143284 | 1 | 0.143284 | false | 0 | 0.020896 | 0 | 0.202985 | 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 |
adadee060c56372e8908adb4d528845f3dfccedb | 179 | py | Python | gql/schemas/scalars/__init__.py | apoveda25/graphql-python-server | eb7b911aa1116327120b857beb17da3e30523e74 | [
"Apache-2.0"
] | 4 | 2020-06-20T11:54:04.000Z | 2021-09-07T11:41:32.000Z | gql/schemas/scalars/__init__.py | apoveda25/graphql-python-server | eb7b911aa1116327120b857beb17da3e30523e74 | [
"Apache-2.0"
] | null | null | null | gql/schemas/scalars/__init__.py | apoveda25/graphql-python-server | eb7b911aa1116327120b857beb17da3e30523e74 | [
"Apache-2.0"
] | null | null | null | import os
from ariadne.load_schema import load_schema_from_path
scalars = load_schema_from_path(os.getcwd() + "/gql/schemas/scalars/schema.graphql")
scalars_defs = f"{scalars}"
| 25.571429 | 84 | 0.798883 | 27 | 179 | 5 | 0.518519 | 0.222222 | 0.207407 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089385 | 179 | 6 | 85 | 29.833333 | 0.828221 | 0 | 0 | 0 | 0 | 0 | 0.24581 | 0.195531 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
adc6d49974e683241ebec9d6c0b4e30fc2f26d97 | 25 | py | Python | vkcoinapi/__init__.py | bixnel/vkcoinapi | 1e16afa4c4378665d1915454674b4cad7c154020 | [
"MIT"
] | 7 | 2019-04-16T16:34:05.000Z | 2019-07-09T06:51:14.000Z | vkcoinapi/__init__.py | bixnel/vkcoinapi | 1e16afa4c4378665d1915454674b4cad7c154020 | [
"MIT"
] | null | null | null | vkcoinapi/__init__.py | bixnel/vkcoinapi | 1e16afa4c4378665d1915454674b4cad7c154020 | [
"MIT"
] | 3 | 2019-05-01T03:22:04.000Z | 2019-07-09T08:36:42.000Z | from .vkcoinapi import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
70b532935ce9b8ae992ed1ab8452249612def5a4 | 77 | py | Python | TransparencyIntImporter/data/__data__.py | weso/landportal-importers | 6edfa3c301422bbe8c09cb877b1cbddbcd902463 | [
"Unlicense"
] | null | null | null | TransparencyIntImporter/data/__data__.py | weso/landportal-importers | 6edfa3c301422bbe8c09cb877b1cbddbcd902463 | [
"Unlicense"
] | 8 | 2016-02-16T13:05:37.000Z | 2017-01-04T14:38:03.000Z | old-importers/TransparencyIntImporter/data/__data__.py | landportal/landbook-importers | f0e246f493329b9c5741c50f3a0495d27ee5c54b | [
"MIT"
] | null | null | null | """__data__.py"""
import os
def path():
return os.path.dirname(__file__) | 15.4 | 36 | 0.675325 | 11 | 77 | 4 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 77 | 5 | 36 | 15.4 | 0.666667 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
70f46ba4a0a4bca6ce6da3623cdc12049041a491 | 22,789 | py | Python | test/test_interface.py | timercrack/pydatacoll | fa5c221e8071ec8222eff9e11573d91cdc4b80d4 | [
"Apache-2.0"
] | 22 | 2015-12-08T07:29:03.000Z | 2022-02-08T06:22:29.000Z | test/test_interface.py | timercrack/pydatacoll | fa5c221e8071ec8222eff9e11573d91cdc4b80d4 | [
"Apache-2.0"
] | 12 | 2015-12-11T03:27:13.000Z | 2018-04-23T13:09:32.000Z | test/test_interface.py | timercrack/pydatacoll | fa5c221e8071ec8222eff9e11573d91cdc4b80d4 | [
"Apache-2.0"
] | 10 | 2015-12-08T09:31:43.000Z | 2022-02-08T06:22:37.000Z | import asyncio
import aiohttp
import aioredis
import asynctest
import redis
try:
import ujson as json
except ImportError:
import json
import pydatacoll.utils.logger as my_logger
from pydatacoll.resources.protocol import *
from pydatacoll.resources.redis_key import *
from test.mock_device import mock_data, iec1... | 49.32684 | 121 | 0.59362 | 3,175 | 22,789 | 4.174173 | 0.070551 | 0.116577 | 0.024523 | 0.029427 | 0.803516 | 0.779446 | 0.768203 | 0.76179 | 0.749566 | 0.693881 | 0 | 0.081345 | 0.258809 | 22,789 | 461 | 122 | 49.433839 | 0.703274 | 0.002106 | 0 | 0.5 | 0 | 0.038647 | 0.188407 | 0.00519 | 0 | 0 | 0 | 0 | 0.376812 | 1 | 0.004831 | false | 0 | 0.033816 | 0 | 0.045894 | 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 |
cb34d3c85b786c92ab8e60553979400dc0dabad6 | 5,921 | py | Python | tests/test_prototype_jpeg.py | GLaDOS1105/prototype-jpeg | 15c04980d103e9158cd958fe6d65111b1ef582a6 | [
"MIT"
] | 8 | 2019-08-25T02:38:39.000Z | 2021-01-09T07:17:46.000Z | tests/test_prototype_jpeg.py | GLaDOS1105/prototype-jpeg | 15c04980d103e9158cd958fe6d65111b1ef582a6 | [
"MIT"
] | 38 | 2020-08-14T15:03:21.000Z | 2021-06-01T16:26:47.000Z | tests/test_prototype_jpeg.py | GLaDOS1105/prototype-jpeg | 15c04980d103e9158cd958fe6d65111b1ef582a6 | [
"MIT"
] | 2 | 2021-02-26T07:54:41.000Z | 2021-09-14T10:12:59.000Z | import tempfile
import unittest
from prototype_jpeg import __version__, compress, extract
def test_version():
assert __version__ == '0.1.0'
class TestCompressAndExtract(unittest.TestCase):
def test_rgb(self):
compress_and_extract({
'fn': 'tests/images/rgb/Baboon.raw',
'size'... | 29.90404 | 73 | 0.497044 | 586 | 5,921 | 4.750853 | 0.098976 | 0.126078 | 0.135776 | 0.143678 | 0.759339 | 0.758261 | 0.751796 | 0.731322 | 0.719828 | 0.707615 | 0 | 0.050789 | 0.368181 | 5,921 | 197 | 74 | 30.055838 | 0.693397 | 0 | 0 | 0.773481 | 0 | 0 | 0.266509 | 0.106739 | 0 | 0 | 0 | 0 | 0.005525 | 1 | 0.066298 | false | 0 | 0.016575 | 0 | 0.093923 | 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 |
cb5211c406515fbc8318d9668055bf83c9a0d73d | 8,514 | py | Python | app/__init__.py | YassineElbouchaibi/medica-vue-backend | b01012f40cbb611fbaa2ca27f35e771535d375af | [
"MIT"
] | null | null | null | app/__init__.py | YassineElbouchaibi/medica-vue-backend | b01012f40cbb611fbaa2ca27f35e771535d375af | [
"MIT"
] | null | null | null | app/__init__.py | YassineElbouchaibi/medica-vue-backend | b01012f40cbb611fbaa2ca27f35e771535d375af | [
"MIT"
] | null | null | null | import math
from flask import Flask, request, jsonify, send_file, make_response
from flask_cors import CORS
import os
from app.core_utils import *
app = Flask(__name__)
CORS(app)
STORAGE_ROOT = os.environ['STORAGE_ROOT']
THUMBNAILS_DIR = os.path.join(STORAGE_ROOT, "thumbnails")
IMAGES_DIR = os.path.join(STORAGE_ROOT,... | 30.736462 | 128 | 0.667019 | 1,105 | 8,514 | 5.01267 | 0.141176 | 0.019498 | 0.032497 | 0.025997 | 0.808269 | 0.804477 | 0.754288 | 0.727749 | 0.723235 | 0.713125 | 0 | 0.024836 | 0.210242 | 8,514 | 276 | 129 | 30.847826 | 0.798929 | 0.114282 | 0 | 0.63522 | 0 | 0 | 0.103053 | 0.031063 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062893 | false | 0 | 0.031447 | 0.006289 | 0.213836 | 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 |
cbb02b0b9ca714a4bd8ab426a8acd632bc92dc8a | 57 | py | Python | cfb-cursos/keyboardkeys.py | joseluizbrits/sobre-python | 316143c341e5a44070a3b13877419082774bd730 | [
"MIT"
] | null | null | null | cfb-cursos/keyboardkeys.py | joseluizbrits/sobre-python | 316143c341e5a44070a3b13877419082774bd730 | [
"MIT"
] | null | null | null | cfb-cursos/keyboardkeys.py | joseluizbrits/sobre-python | 316143c341e5a44070a3b13877419082774bd730 | [
"MIT"
] | null | null | null | from pyautogui import KEYBOARD_KEYS
print(KEYBOARD_KEYS)
| 19 | 35 | 0.877193 | 8 | 57 | 6 | 0.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 57 | 2 | 36 | 28.5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
cbb5cab4a094c3eed1543e6836b462afaa806049 | 135 | py | Python | baseline/datasets/__init__.py | eugene-choi/ml4healthcare | f4b60fc58edd314e6ab803482cc17537d4488ace | [
"MIT"
] | 1 | 2022-02-22T05:12:13.000Z | 2022-02-22T05:12:13.000Z | baseline/datasets/__init__.py | eugene-choi/ml4healthcare | f4b60fc58edd314e6ab803482cc17537d4488ace | [
"MIT"
] | null | null | null | baseline/datasets/__init__.py | eugene-choi/ml4healthcare | f4b60fc58edd314e6ab803482cc17537d4488ace | [
"MIT"
] | null | null | null | from .lits17 import lits17, lits17_no_slice
from .brats20 import brats20, brats20_no_slice
from .kits21 import kits21, kits21_no_slice
| 33.75 | 46 | 0.844444 | 21 | 135 | 5.142857 | 0.333333 | 0.194444 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.111111 | 135 | 3 | 47 | 45 | 0.75 | 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 |
cbcd4f4fc223065b83b18449902c6f0d91eff2ff | 24 | py | Python | jhu2016_labs/__init__.py | yiboyang/JHU2016Lab | 5575a4e797ce57ed3a033b662ded996b9d79d8a6 | [
"BSD-2-Clause"
] | 2 | 2021-04-07T09:26:21.000Z | 2021-04-07T09:26:46.000Z | jhu2016_labs/__init__.py | yiboyang/JHU2016Lab | 5575a4e797ce57ed3a033b662ded996b9d79d8a6 | [
"BSD-2-Clause"
] | null | null | null | jhu2016_labs/__init__.py | yiboyang/JHU2016Lab | 5575a4e797ce57ed3a033b662ded996b9d79d8a6 | [
"BSD-2-Clause"
] | 2 | 2016-07-07T23:21:59.000Z | 2016-07-13T20:22:51.000Z |
from . import plotting
| 8 | 22 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 2 | 23 | 12 | 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 |
cbd3a61e9e0aa269ef11ada2e1ad1d6fca5d6f6f | 53 | py | Python | demo/config.py | FanRegan/FlashBank | bba26b28ae83a77526824a05f45725f70cb8b6a1 | [
"MIT"
] | 1 | 2019-08-18T12:26:14.000Z | 2019-08-18T12:26:14.000Z | demo/config.py | FanRegan/FlashBank | bba26b28ae83a77526824a05f45725f70cb8b6a1 | [
"MIT"
] | null | null | null | demo/config.py | FanRegan/FlashBank | bba26b28ae83a77526824a05f45725f70cb8b6a1 | [
"MIT"
] | null | null | null | config = {
'host': '0.0.0.0',
'port': 5000
}
| 10.6 | 22 | 0.415094 | 8 | 53 | 2.75 | 0.625 | 0.272727 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 0.301887 | 53 | 4 | 23 | 13.25 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1db025d8acc1a082d0dc5d6480acf019ea83c38e | 238 | py | Python | app/controllers/row.py | StaySWEG/SWEGTwit | 4f2a8402e0db78e742ce91209d3add6d93348674 | [
"MIT"
] | null | null | null | app/controllers/row.py | StaySWEG/SWEGTwit | 4f2a8402e0db78e742ce91209d3add6d93348674 | [
"MIT"
] | 4 | 2020-02-06T11:13:36.000Z | 2020-02-06T11:17:26.000Z | app/controllers/row.py | StaySWEG/SWEGTwit | 4f2a8402e0db78e742ce91209d3add6d93348674 | [
"MIT"
] | null | null | null | class Row:
def toString(self):
return self.user + " - " + self.location + " - " + self.text
def __init__(self, user, location, text):
self.user = user
self.location = location
self.text = text | 26.444444 | 68 | 0.554622 | 27 | 238 | 4.740741 | 0.37037 | 0.1875 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.323529 | 238 | 9 | 69 | 26.444444 | 0.795031 | 0 | 0 | 0 | 0 | 0 | 0.025105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 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 |
1dbbdff910ae3ad5cfb441b1c8dc9ad480b84134 | 34 | py | Python | src/core/events/__init__.py | c6h3un/kube-hunter | 4c14d8b78d1441ac7ada7c95a3ccbaf0b0e399bd | [
"Apache-2.0"
] | 1 | 2019-05-23T09:28:47.000Z | 2019-05-23T09:28:47.000Z | src/core/events/__init__.py | c6h3un/kube-hunter | 4c14d8b78d1441ac7ada7c95a3ccbaf0b0e399bd | [
"Apache-2.0"
] | null | null | null | src/core/events/__init__.py | c6h3un/kube-hunter | 4c14d8b78d1441ac7ada7c95a3ccbaf0b0e399bd | [
"Apache-2.0"
] | null | null | null | from handler import *
import types | 17 | 21 | 0.823529 | 5 | 34 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 22 | 17 | 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 |
1debf36b7d78c2e92825f82ccb49b8512cbaa7fb | 28,084 | py | Python | benchmark/graph_generater.py | zanderhavgaard/thesis-code | d9f193e622b8b98ec88c33006f8e0e1dbb3d17fc | [
"MIT"
] | null | null | null | benchmark/graph_generater.py | zanderhavgaard/thesis-code | d9f193e622b8b98ec88c33006f8e0e1dbb3d17fc | [
"MIT"
] | 2 | 2020-04-28T07:59:30.000Z | 2020-05-17T15:36:04.000Z | benchmark/graph_generater.py | zanderhavgaard/thesis-code | d9f193e622b8b98ec88c33006f8e0e1dbb3d17fc | [
"MIT"
] | null | null | null |
import pandas as pd
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
import os
from datetime import datetime
from pprint import pprint
from warnings import filterwarnings
# default context values for dark grid
# {'font.size': 12.0,
# 'axes.labelsize': 12.0,
# 'axes.titlesize': 12.0,
# 'xt... | 39.835461 | 128 | 0.518195 | 3,529 | 28,084 | 4.024653 | 0.062907 | 0.091248 | 0.091248 | 0.085616 | 0.815462 | 0.797508 | 0.788355 | 0.779835 | 0.767373 | 0.740407 | 0 | 0.010352 | 0.332681 | 28,084 | 705 | 129 | 39.835461 | 0.747505 | 0.118502 | 0 | 0.67462 | 0 | 0 | 0.129986 | 0.018651 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047722 | false | 0 | 0.017354 | 0 | 0.067245 | 0.008677 | 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 |
38300bb6d9e052f07b076e19b3c6576f34328a1a | 27 | py | Python | metrics/meteor/__init__.py | Renovamen/Image-Captioning | de8d4f553a22e967fa56a01d5b4a2206b9431771 | [
"MIT"
] | 5 | 2020-11-03T16:08:18.000Z | 2022-01-17T03:56:15.000Z | metrics/meteor/__init__.py | Renovamen/Image-Caption | de8d4f553a22e967fa56a01d5b4a2206b9431771 | [
"MIT"
] | null | null | null | metrics/meteor/__init__.py | Renovamen/Image-Caption | de8d4f553a22e967fa56a01d5b4a2206b9431771 | [
"MIT"
] | 1 | 2020-11-03T11:29:36.000Z | 2020-11-03T11:29:36.000Z | from .meteor import Meteor
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38352b24e420c81d5c23a782c353df6897f21775 | 22,046 | py | Python | tools/mo/unit_tests/mo/middle/quantize_linear_resolver_test.py | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 1,127 | 2018-10-15T14:36:58.000Z | 2020-04-20T09:29:44.000Z | tools/mo/unit_tests/mo/middle/quantize_linear_resolver_test.py | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 439 | 2018-10-20T04:40:35.000Z | 2020-04-19T05:56:25.000Z | tools/mo/unit_tests/mo/middle/quantize_linear_resolver_test.py | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 414 | 2018-10-17T05:53:46.000Z | 2020-04-16T17:29:53.000Z | # Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import unittest
import numpy as np
from openvino.tools.mo.middle.quantize_linear_resolver import QuantizeLinearResolver
from openvino.tools.mo.front.common.partial_infer.utils import int64_array
from openvino.tools.mo.utils.ir_engine.c... | 59.583784 | 117 | 0.407602 | 2,152 | 22,046 | 3.884294 | 0.058086 | 0.065319 | 0.052638 | 0.077282 | 0.881804 | 0.861467 | 0.817203 | 0.746142 | 0.727599 | 0.698409 | 0 | 0.053546 | 0.415495 | 22,046 | 369 | 118 | 59.745257 | 0.595142 | 0.003493 | 0 | 0.675516 | 0 | 0 | 0.233543 | 0.008194 | 0 | 0 | 0 | 0 | 0.011799 | 1 | 0.011799 | false | 0 | 0.020649 | 0 | 0.038348 | 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 |
69930d7c61f5ee1aadd7a6868dffbeb58bfae76c | 16,597 | py | Python | tests/unit/modules/test_netweavermod.py | diegoakechi/salt-saphana | 22ae5a350487a14ed4fbed218652cd45123a4238 | [
"Apache-2.0"
] | null | null | null | tests/unit/modules/test_netweavermod.py | diegoakechi/salt-saphana | 22ae5a350487a14ed4fbed218652cd45123a4238 | [
"Apache-2.0"
] | null | null | null | tests/unit/modules/test_netweavermod.py | diegoakechi/salt-saphana | 22ae5a350487a14ed4fbed218652cd45123a4238 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
'''
:codeauthor: Xabier Arbulu Insausti <xarbulu@suse.com>
'''
# Import Python Libs
from __future__ import absolute_import, print_function, unicode_literals
import pytest
from salt import exceptions
# Import Salt Testing Libs
from tests.support.mixins import LoaderModuleMockMixin
from tes... | 42.44757 | 109 | 0.642948 | 1,861 | 16,597 | 5.402472 | 0.099946 | 0.095683 | 0.063656 | 0.07957 | 0.81112 | 0.765268 | 0.73145 | 0.713945 | 0.694549 | 0.65178 | 0 | 0.021687 | 0.247093 | 16,597 | 390 | 110 | 42.55641 | 0.782891 | 0.040971 | 0 | 0.496324 | 0 | 0 | 0.178304 | 0.054659 | 0 | 0 | 0 | 0 | 0.246324 | 1 | 0.084559 | false | 0.106618 | 0.029412 | 0.003676 | 0.121324 | 0.003676 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
69a5e2ebb5ec5b80c09dc925c8ea11f2b59ed164 | 33 | py | Python | cn_v2/parser/__init__.py | Larryun/coursenotify_v2 | e82794ba83d42c2cca9b2dc7c6e6108dcecaba54 | [
"MIT"
] | 1 | 2021-03-25T22:16:07.000Z | 2021-03-25T22:16:07.000Z | cn_v2/parser/__init__.py | Larryun/coursenotify_v2 | e82794ba83d42c2cca9b2dc7c6e6108dcecaba54 | [
"MIT"
] | null | null | null | cn_v2/parser/__init__.py | Larryun/coursenotify_v2 | e82794ba83d42c2cca9b2dc7c6e6108dcecaba54 | [
"MIT"
] | null | null | null | from .course import CourseParser
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
69ceb254944b7f733ad34ef3368c75bbb26a9d3f | 72 | py | Python | fastai/set_spawn.py | royalbhati/fastai | 745ddabcf9301b0078a16ac6333cd41684df149b | [
"Apache-2.0"
] | 67 | 2019-05-29T18:55:20.000Z | 2022-03-14T10:03:24.000Z | fastai/set_spawn.py | royalbhati/fastai | 745ddabcf9301b0078a16ac6333cd41684df149b | [
"Apache-2.0"
] | 17 | 2020-08-25T14:15:32.000Z | 2022-03-27T02:12:19.000Z | fastai/set_spawn.py | royalbhati/fastai | 745ddabcf9301b0078a16ac6333cd41684df149b | [
"Apache-2.0"
] | 89 | 2020-08-17T23:45:42.000Z | 2022-03-27T20:53:43.000Z | from multiprocessing import set_start_method
set_start_method('spawn')
| 18 | 44 | 0.861111 | 10 | 72 | 5.8 | 0.7 | 0.275862 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 3 | 45 | 24 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
69d4c9689a3d4d5d42eaaa7a6092d727217f24cd | 41 | py | Python | python/testData/refactoring/changeSignature/keepKeywordOfArgumentBeforeEmptyVararg.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/changeSignature/keepKeywordOfArgumentBeforeEmptyVararg.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/changeSignature/keepKeywordOfArgumentBeforeEmptyVararg.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def f(y, x, *args):
pass
f(1, x=42) | 8.2 | 19 | 0.463415 | 10 | 41 | 1.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.292683 | 41 | 5 | 20 | 8.2 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.333333 | 0 | 1 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
386f47e20a37828d2987d111065970cd41e38254 | 29 | py | Python | strudel/__init__.py | XIAOKAOBO/strudel-exploration | 8e9502ea1319566997e91f8a461c78a8db7ff891 | [
"Apache-2.0"
] | 1 | 2021-11-18T17:13:37.000Z | 2021-11-18T17:13:37.000Z | strudel/__init__.py | XIAOKAOBO/strudel | 4c14246d08e7d8fc15c3182a6c15efd5456dd571 | [
"Apache-2.0"
] | null | null | null | strudel/__init__.py | XIAOKAOBO/strudel | 4c14246d08e7d8fc15c3182a6c15efd5456dd571 | [
"Apache-2.0"
] | 2 | 2021-11-18T17:13:36.000Z | 2022-01-27T20:52:44.000Z | # Created by lan at 2021/1/2
| 14.5 | 28 | 0.689655 | 7 | 29 | 2.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0.206897 | 29 | 1 | 29 | 29 | 0.608696 | 0.896552 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
387ca1ee68142daace5a85c5b19195037120372b | 72 | py | Python | tests/functional/modules/pyi_pkg_resources_provider/package/pyi_pkgres_testpkg/subpkg2/__init__.py | hawkhai/pyinstaller | 016a24479b34de161792c72dde455a81ad4c78ae | [
"Apache-2.0"
] | 9,267 | 2015-01-01T04:08:45.000Z | 2022-03-31T11:42:38.000Z | tests/functional/modules/pyi_pkg_resources_provider/package/pyi_pkgres_testpkg/subpkg2/__init__.py | hawkhai/pyinstaller | 016a24479b34de161792c72dde455a81ad4c78ae | [
"Apache-2.0"
] | 5,150 | 2015-01-01T12:09:56.000Z | 2022-03-31T18:06:12.000Z | tests/functional/modules/pyi_pkg_resources_provider/package/pyi_pkgres_testpkg/subpkg2/__init__.py | hawkhai/pyinstaller | 016a24479b34de161792c72dde455a81ad4c78ae | [
"Apache-2.0"
] | 2,101 | 2015-01-03T10:25:27.000Z | 2022-03-30T11:04:42.000Z | from . import subsubpkg21 # noqa: F401
from . import mod # noqa: F401
| 24 | 39 | 0.694444 | 10 | 72 | 5 | 0.6 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.222222 | 72 | 2 | 40 | 36 | 0.75 | 0.291667 | 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 |
38c104fbf0c0ddc0cbebb07c83bddf6299c0bcdd | 222 | py | Python | pyperator/__init__.py | baffelli/pyperator | 4b4d176db993708dc1f7d8cec048d490910213b7 | [
"MIT"
] | 60 | 2017-03-18T10:01:16.000Z | 2021-12-07T02:55:43.000Z | pyperator/__init__.py | baffelli/pyperator | 4b4d176db993708dc1f7d8cec048d490910213b7 | [
"MIT"
] | 14 | 2017-04-11T06:10:02.000Z | 2018-03-16T12:40:20.000Z | pyperator/__init__.py | baffelli/pyperator | 4b4d176db993708dc1f7d8cec048d490910213b7 | [
"MIT"
] | 8 | 2017-11-01T11:33:34.000Z | 2019-12-01T22:58:38.000Z | from pyperator.decorators import inport, outport, component, run_once
from pyperator.nodes import Component
from pyperator.DAG import Multigraph
from pyperator.utils import InputPort, OutputPort
import pyperator.components | 44.4 | 69 | 0.864865 | 28 | 222 | 6.821429 | 0.571429 | 0.272251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 222 | 5 | 70 | 44.4 | 0.950249 | 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 |
38dace778a60ef15c674019b799386e41e752233 | 42 | py | Python | nlpete/models/__init__.py | kstats/nlp-models | 0ae6ea31a52509f9a1c8289e8ecfed643f254e30 | [
"MIT"
] | 95 | 2018-10-21T19:54:47.000Z | 2021-09-28T16:16:26.000Z | nlpete/models/__init__.py | kstats/nlp-models | 0ae6ea31a52509f9a1c8289e8ecfed643f254e30 | [
"MIT"
] | 30 | 2018-10-09T18:47:18.000Z | 2021-04-12T20:23:39.000Z | nlpete/models/__init__.py | kstats/nlp-models | 0ae6ea31a52509f9a1c8289e8ecfed643f254e30 | [
"MIT"
] | 12 | 2018-11-09T17:38:41.000Z | 2020-07-10T15:46:33.000Z | from nlpete.models.copynet import CopyNet
| 21 | 41 | 0.857143 | 6 | 42 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 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 |
2a0fb91e95f43a756d8e2d8ae360b5b62b81ba88 | 224 | py | Python | aplus_client/django/apps.py | apluslms/a-plus-client | 21cf1575ef70baf6ece70d6ae99f7bcee554e9b1 | [
"MIT"
] | 1 | 2019-10-13T10:21:51.000Z | 2019-10-13T10:21:51.000Z | aplus_client/django/apps.py | apluslms/a-plus-client | 21cf1575ef70baf6ece70d6ae99f7bcee554e9b1 | [
"MIT"
] | null | null | null | aplus_client/django/apps.py | apluslms/a-plus-client | 21cf1575ef70baf6ece70d6ae99f7bcee554e9b1 | [
"MIT"
] | 1 | 2018-08-28T18:32:20.000Z | 2018-08-28T18:32:20.000Z | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class AplusClientConfig(AppConfig):
name = 'aplus_client.django'
label = 'aplus_client'
verbose_name = _("Aplus client")
| 24.888889 | 54 | 0.758929 | 27 | 224 | 6.074074 | 0.62963 | 0.20122 | 0.182927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 224 | 8 | 55 | 28 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0.191964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
2a2c49f7a43904587471aecb73a899dc46879da9 | 60 | py | Python | api/v2/models/parties.py | Davidodari/POLITICO-API | 479560f7accc3a6e46a8cec34c4f435ae9284138 | [
"MIT"
] | 1 | 2019-09-05T23:20:21.000Z | 2019-09-05T23:20:21.000Z | api/v2/models/parties.py | Davidodari/POLITICO-API | 479560f7accc3a6e46a8cec34c4f435ae9284138 | [
"MIT"
] | 4 | 2019-02-12T10:06:12.000Z | 2019-02-20T05:00:40.000Z | api/v2/models/parties.py | Davidodari/POLITICO-API | 479560f7accc3a6e46a8cec34c4f435ae9284138 | [
"MIT"
] | 4 | 2019-02-08T23:54:24.000Z | 2019-02-19T16:26:59.000Z | from . import Model
class PartiesModelDb(Model):
pass
| 10 | 28 | 0.716667 | 7 | 60 | 6.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 60 | 5 | 29 | 12 | 0.914894 | 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 |
2a6fcd5410449d2f19d4ab46be35ecf078c9daa3 | 42 | py | Python | core/preprocess/__init__.py | BarryZM/KnowYouAI | 8c9d96238090fa8fd70b8581ac536bb1b0691eb5 | [
"MIT"
] | null | null | null | core/preprocess/__init__.py | BarryZM/KnowYouAI | 8c9d96238090fa8fd70b8581ac536bb1b0691eb5 | [
"MIT"
] | null | null | null | core/preprocess/__init__.py | BarryZM/KnowYouAI | 8c9d96238090fa8fd70b8581ac536bb1b0691eb5 | [
"MIT"
] | 1 | 2020-12-31T11:13:30.000Z | 2020-12-31T11:13:30.000Z | from .v1 import PreProcessV1 as PreProcess | 42 | 42 | 0.857143 | 6 | 42 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.119048 | 42 | 1 | 42 | 42 | 0.918919 | 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 |
aaa42e4e4b42a3c58d19fa755851b9b66301d88b | 150 | py | Python | interface/__init__.py | jeremiahmarks/todo2017 | a81e9a2b2a016654305bfacdc8c92bc72da92294 | [
"MIT"
] | null | null | null | interface/__init__.py | jeremiahmarks/todo2017 | a81e9a2b2a016654305bfacdc8c92bc72da92294 | [
"MIT"
] | null | null | null | interface/__init__.py | jeremiahmarks/todo2017 | a81e9a2b2a016654305bfacdc8c92bc72da92294 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author: Jeremiah
# @Date: 2017-04-22 15:18:17
# @Last Modified by: Jeremiah
# @Last Modified time: 2017-04-22 15:18:17
| 25 | 42 | 0.626667 | 25 | 150 | 3.76 | 0.64 | 0.12766 | 0.170213 | 0.212766 | 0.297872 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0.235772 | 0.18 | 150 | 5 | 43 | 30 | 0.528455 | 0.926667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6303f0cc54c3316ef3e92c69d099da8a0466d80c | 9,500 | py | Python | sociallink.py | nepalese-noob/sociallink | 89ea75f960003731ff34bd4f38c17d11bea116d0 | [
"MIT"
] | 2 | 2022-03-26T04:06:29.000Z | 2022-03-29T14:59:02.000Z | sociallink.py | nepalese-noob/sociallink | 89ea75f960003731ff34bd4f38c17d11bea116d0 | [
"MIT"
] | null | null | null | sociallink.py | nepalese-noob/sociallink | 89ea75f960003731ff34bd4f38c17d11bea116d0 | [
"MIT"
] | null | null | null | from tkinter import *
import os
def sites():
def fishinsta():
link = os.system("cd assets/sites/instagram; hostit -f cloudflare 8080 --silent> ../../../process/link.txt 2>&1; grep -o 'https://[-0-9a-z]*\.trycloudflare.com' '../../../process/link.txt' > ../../../process/new.txt; rm ../../../process/link.txt")
def c... | 54.285714 | 250 | 0.683895 | 1,309 | 9,500 | 4.954163 | 0.120703 | 0.031303 | 0.038859 | 0.05505 | 0.891596 | 0.880339 | 0.872629 | 0.848111 | 0.848111 | 0.842868 | 0 | 0.030448 | 0.118421 | 9,500 | 174 | 251 | 54.597701 | 0.743881 | 0 | 0 | 0.596273 | 0 | 0.012422 | 0.266 | 0.038632 | 0 | 0 | 0 | 0 | 0 | 1 | 0.10559 | false | 0.037267 | 0.012422 | 0 | 0.118012 | 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 |
2d6d95ebb8b86219e60c3decc8d65488963ca2e1 | 33 | py | Python | VAEs/SimpleVAE/__init__.py | TeaKatz/Models_Corpus | 6d9e91eb97829e73d88ecfc4754492f6324ef383 | [
"MIT"
] | null | null | null | VAEs/SimpleVAE/__init__.py | TeaKatz/Models_Corpus | 6d9e91eb97829e73d88ecfc4754492f6324ef383 | [
"MIT"
] | null | null | null | VAEs/SimpleVAE/__init__.py | TeaKatz/Models_Corpus | 6d9e91eb97829e73d88ecfc4754492f6324ef383 | [
"MIT"
] | null | null | null | from .SimpleVAE import SimpleVAE
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
2da303fcee860450dca491d65e249220141e7f21 | 57,910 | py | Python | ghostwriter/reporting/forms.py | bbhunter/Ghostwriter | 1b684ddd119feed9891e83b39c9b314b41d086ca | [
"BSD-3-Clause"
] | null | null | null | ghostwriter/reporting/forms.py | bbhunter/Ghostwriter | 1b684ddd119feed9891e83b39c9b314b41d086ca | [
"BSD-3-Clause"
] | null | null | null | ghostwriter/reporting/forms.py | bbhunter/Ghostwriter | 1b684ddd119feed9891e83b39c9b314b41d086ca | [
"BSD-3-Clause"
] | null | null | null | """This contains all of the forms used by the Reporting application."""
# Django Imports
from django import forms
from django.core.exceptions import ValidationError
from django.urls import reverse
from django.utils.translation import gettext_lazy as _
# 3rd Party Libraries
from crispy_forms.bootstrap import Accordion... | 63.777533 | 922 | 0.600967 | 6,839 | 57,910 | 5.015938 | 0.105863 | 0.014867 | 0.020522 | 0.035914 | 0.881472 | 0.868383 | 0.84649 | 0.834509 | 0.824365 | 0.810576 | 0 | 0.003669 | 0.298791 | 57,910 | 907 | 923 | 63.84785 | 0.841111 | 0.024469 | 0 | 0.656627 | 0 | 0.002008 | 0.233524 | 0.028502 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026104 | false | 0 | 0.02008 | 0 | 0.088353 | 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 |
2db7fde821e3e5deded708cdcb4e97fcfa628215 | 5,358 | py | Python | tests/test_segy/test_g.py | iod-ine/philoseismos | 79240d11cf82c3552c4a49d4e19a79b003fa9929 | [
"MIT"
] | 3 | 2020-09-28T17:57:29.000Z | 2021-08-18T03:54:46.000Z | tests/test_segy/test_g.py | iod-ine/philoseismos | 79240d11cf82c3552c4a49d4e19a79b003fa9929 | [
"MIT"
] | 1 | 2021-04-12T15:18:28.000Z | 2021-04-12T15:18:28.000Z | tests/test_segy/test_g.py | iod-ine/philoseismos | 79240d11cf82c3552c4a49d4e19a79b003fa9929 | [
"MIT"
] | 1 | 2020-05-12T07:00:59.000Z | 2020-05-12T07:00:59.000Z | """ philoseismos: engineering seismologist's toolbox.
This file contains tests for the Geometry object.
author: Ivan Dubrovin
e-mail: io.dubrovin@icloud.com """
import numpy as np
from philoseismos.segy.g import Geometry
def test_loading_from_file(manually_crafted_segy_file):
""" Test that Geometry object loa... | 40.900763 | 83 | 0.652482 | 745 | 5,358 | 4.577181 | 0.193289 | 0.138416 | 0.255132 | 0.283284 | 0.752786 | 0.702933 | 0.664223 | 0.632551 | 0.612023 | 0.612023 | 0 | 0.047802 | 0.176185 | 5,358 | 130 | 84 | 41.215385 | 0.724739 | 0.173572 | 0 | 0.722892 | 0 | 0 | 0.112047 | 0 | 0 | 0 | 0 | 0 | 0.710843 | 1 | 0.036145 | false | 0 | 0.024096 | 0 | 0.060241 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9323cebc609cf72cde63b3160323dc25d139772f | 33 | py | Python | source/py/cmd/demo.py | shakfu/pymax | 67dca5990581d91ffcedf800e585e87646ab94d4 | [
"CC0-1.0"
] | 25 | 2020-08-06T12:38:07.000Z | 2022-03-23T17:35:09.000Z | source/py/cmd/demo.py | shakfu/pymax | 67dca5990581d91ffcedf800e585e87646ab94d4 | [
"CC0-1.0"
] | 7 | 2021-04-02T02:58:56.000Z | 2022-03-31T22:58:19.000Z | source/py/cmd/demo.py | shakfu/pymax | 67dca5990581d91ffcedf800e585e87646ab94d4 | [
"CC0-1.0"
] | 3 | 2021-04-04T05:47:07.000Z | 2021-06-26T03:30:02.000Z | def color(x):
return 100*x
| 6.6 | 16 | 0.575758 | 6 | 33 | 3.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.30303 | 33 | 4 | 17 | 8.25 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
936c681b024c32764e8b1e469d2676121fb67697 | 189 | py | Python | tests/test_main.py | MattBussing/DistancePi | 23b8eca8b8e5cd9f619639cadd06e6f8b194fddb | [
"MIT"
] | null | null | null | tests/test_main.py | MattBussing/DistancePi | 23b8eca8b8e5cd9f619639cadd06e6f8b194fddb | [
"MIT"
] | null | null | null | tests/test_main.py | MattBussing/DistancePi | 23b8eca8b8e5cd9f619639cadd06e6f8b194fddb | [
"MIT"
] | null | null | null | # Author Matt Bussing
from distancepi.__main__ import get_config_loc
def test_get_config_loc():
list = ["asdf", "asf", "--config", "file"]
assert get_config_loc(list) == "file"
| 18.9 | 46 | 0.687831 | 26 | 189 | 4.576923 | 0.653846 | 0.226891 | 0.302521 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169312 | 189 | 9 | 47 | 21 | 0.757962 | 0.100529 | 0 | 0 | 0 | 0 | 0.136905 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa8bd9004bc0470d037039ed457be35f3ef3c917 | 349 | py | Python | toontown/rpc/AwardManagerUD.py | DankMickey/Project-Altis-Educational-Source | 0a74999fb52d4e690a41b984703119f63c372d20 | [
"Apache-2.0"
] | 1 | 2021-06-25T02:56:32.000Z | 2021-06-25T02:56:32.000Z | toontown/rpc/AwardManagerUD.py | kool601/Project-Altis-Educational-Source | 0a74999fb52d4e690a41b984703119f63c372d20 | [
"Apache-2.0"
] | null | null | null | toontown/rpc/AwardManagerUD.py | kool601/Project-Altis-Educational-Source | 0a74999fb52d4e690a41b984703119f63c372d20 | [
"Apache-2.0"
] | 2 | 2017-12-20T17:46:56.000Z | 2021-06-25T02:56:36.000Z | from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectGlobalUD import DistributedObjectGlobalUD
class AwardManagerUD(DistributedObjectGlobalUD):
notify = DirectNotifyGlobal.directNotify.newCategory("AwardManagerUD")
def giveAwardToToon(self, rewardId, avId, rewardName, ho... | 34.9 | 82 | 0.825215 | 28 | 349 | 10.285714 | 0.714286 | 0.069444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114613 | 349 | 9 | 83 | 38.777778 | 0.932039 | 0 | 0 | 0 | 0 | 0 | 0.04023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fab1014650ae3102d809d95ea6678c0317e5b256 | 98 | py | Python | tests/unit/conftest.py | marcelometal/fastlane | 829afd9a9b81110c47cab175cc40b892e0aebebd | [
"MIT"
] | 32 | 2019-02-19T01:37:57.000Z | 2022-03-19T22:12:23.000Z | tests/unit/conftest.py | marcelometal/fastlane | 829afd9a9b81110c47cab175cc40b892e0aebebd | [
"MIT"
] | 15 | 2019-02-18T17:51:57.000Z | 2020-03-20T16:27:38.000Z | tests/unit/conftest.py | marcelometal/fastlane | 829afd9a9b81110c47cab175cc40b892e0aebebd | [
"MIT"
] | 26 | 2019-02-14T20:00:11.000Z | 2020-01-24T18:12:57.000Z | # Fastlane
# 3rd Party
# 3rd Party
from tests.fixtures import auth_client, client, worker # NOQA
| 19.6 | 62 | 0.755102 | 14 | 98 | 5.214286 | 0.785714 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.173469 | 98 | 4 | 63 | 24.5 | 0.876543 | 0.336735 | 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 |
87eafa52e94f7f3f432cbbfe311f4d4b89796f99 | 74 | py | Python | msgr/__init__.py | cieplak/msgr | d5a2d93739ddf65d5fc2e77f018ecb31dea3d3f4 | [
"Apache-2.0"
] | null | null | null | msgr/__init__.py | cieplak/msgr | d5a2d93739ddf65d5fc2e77f018ecb31dea3d3f4 | [
"Apache-2.0"
] | null | null | null | msgr/__init__.py | cieplak/msgr | d5a2d93739ddf65d5fc2e77f018ecb31dea3d3f4 | [
"Apache-2.0"
] | null | null | null | from . import brokers
from . import settings
from .message import Message
| 18.5 | 28 | 0.797297 | 10 | 74 | 5.9 | 0.5 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 29 | 24.666667 | 0.951613 | 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 |
e208c46eb93ae115803072949aa4119ecbea102b | 229 | py | Python | bfgame/generators/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | 3 | 2017-10-28T11:28:38.000Z | 2018-09-12T09:47:00.000Z | bfgame/generators/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | bfgame/generators/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | from bfgame.generators.skeletoncrypt import SkeletonCrypt
from bfgame.generators.goblincamp import GoblinCampGenerator
from bfgame.generators.testing import TestingGenerator
from bfgame.generators.warzone import WarzoneGenerator
| 45.8 | 60 | 0.895197 | 24 | 229 | 8.541667 | 0.458333 | 0.195122 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069869 | 229 | 4 | 61 | 57.25 | 0.962441 | 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 |
e20a0f52df1eb14a8ed26a5dd5463407d9552cde | 137 | py | Python | menu.py | NinjaCats/split-exr | 084c387fd6309533f6da56d5f16a11001c85f873 | [
"MIT"
] | 11 | 2017-12-30T10:12:21.000Z | 2019-03-25T11:23:44.000Z | menu.py | NinjaCats/split-exr | 084c387fd6309533f6da56d5f16a11001c85f873 | [
"MIT"
] | 2 | 2021-05-16T14:46:54.000Z | 2021-12-02T08:43:19.000Z | menu.py | NinjaCats/split-exr | 084c387fd6309533f6da56d5f16a11001c85f873 | [
"MIT"
] | 6 | 2018-01-13T23:29:58.000Z | 2021-11-01T02:04:28.000Z | import nuke
from split_layers import split_layers
nuke.menu('Nuke').addCommand('Scripts/Split Layers', lambda: split_layers.main())
| 27.4 | 82 | 0.773723 | 19 | 137 | 5.421053 | 0.526316 | 0.427184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109489 | 137 | 4 | 83 | 34.25 | 0.844262 | 0 | 0 | 0 | 0 | 0 | 0.180451 | 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 |
e2128683968a7125243edfa86c29a3b38af1d955 | 4,498 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtCore/QBitArray.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/16012662ddca113c1f50140f9e0d3bd290a511015767475cf362e5267760f062/PySide/QtCore/QBitArray.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/16012662ddca113c1f50140f9e0d3bd290a511015767475cf362e5267760f062/PySide/QtCore/QBitArray.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtCore
# from C:\Python27\lib\site-packages\PySide\QtCore.pyd
# by generator 1.147
# no doc
# imports
import Shiboken as __Shiboken
class QBitArray(__Shiboken.Object):
# no doc
def at(self, *args, **kwargs): # real signature unknown
pass
def clear(self, *args, *... | 29.019355 | 80 | 0.576923 | 552 | 4,498 | 4.172101 | 0.163043 | 0.220148 | 0.338689 | 0.279635 | 0.749023 | 0.688233 | 0.673035 | 0.673035 | 0.302649 | 0 | 0 | 0.00247 | 0.279902 | 4,498 | 154 | 81 | 29.207792 | 0.708552 | 0.486661 | 0 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.481481 | false | 0.481481 | 0.012346 | 0 | 0.506173 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
35570785d56fa014454d372355acb5cfdff8a1d6 | 13,621 | py | Python | toyplex/components.py | yiyinglai/Solver | fdae9274447dc96bbb892be78d321dcb406a7f6c | [
"MIT"
] | null | null | null | toyplex/components.py | yiyinglai/Solver | fdae9274447dc96bbb892be78d321dcb406a7f6c | [
"MIT"
] | null | null | null | toyplex/components.py | yiyinglai/Solver | fdae9274447dc96bbb892be78d321dcb406a7f6c | [
"MIT"
] | null | null | null | from copy import deepcopy
import unittest
class Var:
"""Variables in a solver.
"""
def __init__(self, name, type='cont'):
self.type = type
self.name = name
self.val = None
def __neg__(self):
return LinExpr({self.name: -1})
def __mul__(self, other):
... | 36.226064 | 72 | 0.470597 | 1,587 | 13,621 | 3.853182 | 0.0523 | 0.120196 | 0.099428 | 0.029436 | 0.830417 | 0.800654 | 0.772363 | 0.752412 | 0.733279 | 0.702862 | 0 | 0.019548 | 0.354012 | 13,621 | 375 | 73 | 36.322667 | 0.675418 | 0.010205 | 0 | 0.536508 | 0 | 0 | 0.046757 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 1 | 0.136508 | false | 0 | 0.006349 | 0.012698 | 0.292063 | 0.003175 | 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 |
3578b2762ca8526bed9b27488d0c03c351be7b6a | 150 | py | Python | examples/while_loop/py-src/base/__init__.py | magnolia-lang/magnolia-lang | ff29126a72c9f7bec7d098c25e74606fef5464e5 | [
"BSD-3-Clause"
] | 2 | 2021-12-16T14:43:28.000Z | 2022-01-17T09:49:37.000Z | examples/while_loop/py-src/base/__init__.py | magnolia-lang/magnolia-lang | ff29126a72c9f7bec7d098c25e74606fef5464e5 | [
"BSD-3-Clause"
] | 11 | 2021-07-15T11:45:03.000Z | 2022-01-13T16:43:22.000Z | examples/while_loop/py-src/base/__init__.py | magnolia-lang/magnolia-lang | ff29126a72c9f7bec7d098c25e74606fef5464e5 | [
"BSD-3-Clause"
] | 1 | 2021-07-13T15:02:36.000Z | 2021-07-13T15:02:36.000Z | from .int16_utils import int16_utils as int16_utils
from .int32_utils import int32_utils as int32_utils
from .while_ops import while_ops as while_ops
| 37.5 | 51 | 0.86 | 27 | 150 | 4.444444 | 0.296296 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.12 | 150 | 3 | 52 | 50 | 0.818182 | 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 |
35bd219821ac5e38adfaab038dac6b1c08d72ddf | 6,914 | py | Python | DP_framework/pydp_ana.py | aitsam12/GRAM-DP_and_DP-Framework | 094c6369e43adb66ba9a0a02ee3227ca8edc1b53 | [
"MIT"
] | null | null | null | DP_framework/pydp_ana.py | aitsam12/GRAM-DP_and_DP-Framework | 094c6369e43adb66ba9a0a02ee3227ca8edc1b53 | [
"MIT"
] | null | null | null | DP_framework/pydp_ana.py | aitsam12/GRAM-DP_and_DP-Framework | 094c6369e43adb66ba9a0a02ee3227ca8edc1b53 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
from pydp.algorithms import laplacian as dp
import os
#######
# OpenMined-PyDp
#######
def pydp_analysis_count(query, dataset_column, epsilon_value, upper_bound, lower_bound, iterations):
if query == 'count':
dp_count_results = []
dp_MSE_results = []
... | 60.649123 | 148 | 0.671681 | 938 | 6,914 | 4.656716 | 0.089552 | 0.056319 | 0.065934 | 0.07326 | 0.830128 | 0.806548 | 0.799679 | 0.771291 | 0.771291 | 0.647665 | 0 | 0.006775 | 0.188747 | 6,914 | 113 | 149 | 61.185841 | 0.771974 | 0.078826 | 0 | 0.391304 | 0 | 0 | 0.165459 | 0.017019 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.043478 | 0 | 0.130435 | 0.304348 | 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 |
35d487af528998a227b1ac784b07bbc692b29f8d | 214 | py | Python | scripts/analysis/analysis_functions/__init__.py | phcanalytics/ibd_flare_model | 78da4640ab5a3a5d174d604d764f46059ee66dce | [
"MIT"
] | null | null | null | scripts/analysis/analysis_functions/__init__.py | phcanalytics/ibd_flare_model | 78da4640ab5a3a5d174d604d764f46059ee66dce | [
"MIT"
] | null | null | null | scripts/analysis/analysis_functions/__init__.py | phcanalytics/ibd_flare_model | 78da4640ab5a3a5d174d604d764f46059ee66dce | [
"MIT"
] | 1 | 2020-10-05T20:12:18.000Z | 2020-10-05T20:12:18.000Z | """
__init__.py file
Initializes modules used in custom utility functions for the project.
"""
# define custom functions
from analysis_functions import custom_metrics
from analysis_functions import transformers
| 21.4 | 69 | 0.82243 | 27 | 214 | 6.259259 | 0.703704 | 0.142012 | 0.248521 | 0.319527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135514 | 214 | 9 | 70 | 23.777778 | 0.913514 | 0.528037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ea08bc1b21ea32a55c12040465ee7773a0f2de13 | 115 | py | Python | TkiWrapper/Positioner.py | Jakub21/Tki-Wrapper | a886cfa28c5c5956bc98aa51b8beb8864f628e2b | [
"MIT"
] | null | null | null | TkiWrapper/Positioner.py | Jakub21/Tki-Wrapper | a886cfa28c5c5956bc98aa51b8beb8864f628e2b | [
"MIT"
] | null | null | null | TkiWrapper/Positioner.py | Jakub21/Tki-Wrapper | a886cfa28c5c5956bc98aa51b8beb8864f628e2b | [
"MIT"
] | null | null | null |
class Positioner:
# @abstractmethod
def __init__(self, frame): pass
# @abstractmethod
def get(self): pass
| 16.428571 | 33 | 0.704348 | 13 | 115 | 5.923077 | 0.692308 | 0.441558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191304 | 115 | 6 | 34 | 19.166667 | 0.827957 | 0.269565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.666667 | false | 0.666667 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ea6ffde932050c4e714b56f38466b4aafdd80c9f | 29 | py | Python | src/data/database/mysql_wrapper/__init__.py | super6liu/technical-analysis-julian | dd8868b65d80f78e536f3471d4dc09440de48e62 | [
"MIT"
] | 4 | 2022-03-23T09:22:54.000Z | 2022-03-26T13:18:45.000Z | basisopt/wrappers/__init__.py | robashaw/basisopt | c02fd307bc72c576ed298ea14648818b237d2f30 | [
"MIT"
] | null | null | null | basisopt/wrappers/__init__.py | robashaw/basisopt | c02fd307bc72c576ed298ea14648818b237d2f30 | [
"MIT"
] | 1 | 2022-03-23T09:22:54.000Z | 2022-03-23T09:22:54.000Z | from .wrapper import Wrapper
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea7cfa38422740a6d8df8ab469aedc662caae04c | 28,542 | py | Python | cinder/tests/volume/drivers/netapp/eseries/test_library.py | tmenjo/cinder-2015.1.1 | 1c83a5daa8041cb99bc85dd0301786d8ca43055a | [
"Apache-2.0"
] | null | null | null | cinder/tests/volume/drivers/netapp/eseries/test_library.py | tmenjo/cinder-2015.1.1 | 1c83a5daa8041cb99bc85dd0301786d8ca43055a | [
"Apache-2.0"
] | null | null | null | cinder/tests/volume/drivers/netapp/eseries/test_library.py | tmenjo/cinder-2015.1.1 | 1c83a5daa8041cb99bc85dd0301786d8ca43055a | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2014 Andrew Kerr
# Copyright (c) 2015 Alex Meade
# Copyright (c) 2015 Rushil Chugh
# Copyright (c) 2015 Yogesh Kshirsagar
# 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
# ... | 45.161392 | 79 | 0.620104 | 3,053 | 28,542 | 5.418932 | 0.092368 | 0.083112 | 0.073985 | 0.078095 | 0.833353 | 0.814676 | 0.780706 | 0.744862 | 0.721954 | 0.717239 | 0 | 0.00718 | 0.272966 | 28,542 | 631 | 80 | 45.232964 | 0.790082 | 0.028204 | 0 | 0.659363 | 0 | 0 | 0.133394 | 0.02852 | 0 | 0 | 0 | 0 | 0.081673 | 1 | 0.075697 | false | 0.003984 | 0.01992 | 0.001992 | 0.101594 | 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 |
5766d5886431297864eee1d46184c038ecaa6e58 | 36 | py | Python | Aula12/Aula12.py | diegocolombo1989/Trabalho-Python | 4603117bebfb6e801c3289e108b4e8f29442ab6f | [
"MIT"
] | null | null | null | Aula12/Aula12.py | diegocolombo1989/Trabalho-Python | 4603117bebfb6e801c3289e108b4e8f29442ab6f | [
"MIT"
] | null | null | null | Aula12/Aula12.py | diegocolombo1989/Trabalho-Python | 4603117bebfb6e801c3289e108b4e8f29442ab6f | [
"MIT"
] | null | null | null | # Aula 12 - 22-11-2019
# Dicionários | 18 | 22 | 0.694444 | 6 | 36 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.166667 | 36 | 2 | 23 | 18 | 0.5 | 0.888889 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5775a88576c635d3fc3ab3abea0240440dcce5ad | 4,198 | py | Python | CHIMA/chimaclient.py | ANTLab-polimi/CHIMA | 368602b1555ac46a005b9111446c3a7e0952e72d | [
"Apache-2.0"
] | 1 | 2021-12-16T14:50:50.000Z | 2021-12-16T14:50:50.000Z | CHIMA/chimaclient.py | ANTLab-polimi/CHIMA | 368602b1555ac46a005b9111446c3a7e0952e72d | [
"Apache-2.0"
] | null | null | null | CHIMA/chimaclient.py | ANTLab-polimi/CHIMA | 368602b1555ac46a005b9111446c3a7e0952e72d | [
"Apache-2.0"
] | null | null | null | import requests
CLIENT_PORT = 4243
class ClientRules:
route = 0
path = 1
arp = 2
ip = 3
class CHIMAclient:
def __init__(self, ip):
self.ip = ip
def add_path(self, srcIP, dstIP, stack) -> bool:
try:
code = requests.post("http://%s:%s/path" % (self.ip, CLIENT_PO... | 41.156863 | 154 | 0.481658 | 501 | 4,198 | 3.978044 | 0.11976 | 0.066232 | 0.044155 | 0.076267 | 0.903161 | 0.903161 | 0.903161 | 0.883091 | 0.811841 | 0.799799 | 0 | 0.01453 | 0.344212 | 4,198 | 102 | 155 | 41.156863 | 0.709408 | 0.597666 | 0 | 0.533333 | 0 | 0 | 0.126421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.033333 | 0 | 0.466667 | 0.066667 | 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 |
5784f972cfbf743ca76ad495f277800ad3188030 | 29,163 | py | Python | src/the_tale/the_tale/game/emissaries/tests/test_requests.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 85 | 2017-11-21T12:22:02.000Z | 2022-03-27T23:07:17.000Z | src/the_tale/the_tale/game/emissaries/tests/test_requests.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 545 | 2017-11-04T14:15:04.000Z | 2022-03-27T14:19:27.000Z | src/the_tale/the_tale/game/emissaries/tests/test_requests.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 45 | 2017-11-11T12:36:30.000Z | 2022-02-25T06:10:44.000Z |
import smart_imports
smart_imports.all()
class BaseRequestsTests(utils_testcase.TestCase,
clans_helpers.ClansTestsMixin,
helpers.EmissariesTestsMixin):
def setUp(self):
super().setUp()
self.places = game_logic.create_test_map()
self.prepa... | 44.591743 | 133 | 0.606556 | 3,395 | 29,163 | 4.84595 | 0.067452 | 0.054705 | 0.032823 | 0.033066 | 0.856552 | 0.842572 | 0.798201 | 0.785436 | 0.766351 | 0.739545 | 0 | 0.009405 | 0.303604 | 29,163 | 653 | 134 | 44.660031 | 0.80068 | 0 | 0 | 0.68552 | 0 | 0 | 0.049311 | 0.028256 | 0 | 0 | 0 | 0 | 0.031674 | 1 | 0.156109 | false | 0 | 0.004525 | 0.011312 | 0.187783 | 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 |
578e048a0e5e11fff8508555af9fec47fdb52e63 | 56 | py | Python | code/config.py | Artvin2001/db_course_work | cacfcb21a9faa000baa088dedebdea2541e84f61 | [
"MIT"
] | null | null | null | code/config.py | Artvin2001/db_course_work | cacfcb21a9faa000baa088dedebdea2541e84f61 | [
"MIT"
] | null | null | null | code/config.py | Artvin2001/db_course_work | cacfcb21a9faa000baa088dedebdea2541e84f61 | [
"MIT"
] | null | null | null | TOKEN = '5245424575:AAGkWW6TaTA5bxg5bFzBxuFaV5-Q2zL1L1U' | 56 | 56 | 0.875 | 4 | 56 | 12.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.314815 | 0.035714 | 56 | 1 | 56 | 56 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0.807018 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57a16a2a6bc99e0c3d7f97f2d71a1983e2611798 | 220 | py | Python | trove/tests/__init__.py | zhujzhuo/openstack-trove | e9d073762732ba405828fd54c86a27dcac95cd25 | [
"Apache-2.0"
] | 1 | 2015-02-26T03:24:38.000Z | 2015-02-26T03:24:38.000Z | trove/tests/__init__.py | zhujzhuo/openstack-trove | e9d073762732ba405828fd54c86a27dcac95cd25 | [
"Apache-2.0"
] | null | null | null | trove/tests/__init__.py | zhujzhuo/openstack-trove | e9d073762732ba405828fd54c86a27dcac95cd25 | [
"Apache-2.0"
] | null | null | null | DBAAS_API = "dbaas.api"
PRE_INSTANCES = "dbaas.api.pre_instances"
INSTANCES = "dbaas.api.instances"
POST_INSTANCES = "dbaas.api.post_instances"
SSH_CMD = 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
| 36.666667 | 75 | 0.786364 | 30 | 220 | 5.566667 | 0.433333 | 0.239521 | 0.305389 | 0.239521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086364 | 220 | 5 | 76 | 44 | 0.830846 | 0 | 0 | 0 | 0 | 0 | 0.627273 | 0.45 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57b5176d56c591614905e40454b9e0350d6e03f6 | 96 | py | Python | muLAn/__init__.py | muLAn-project/muLAn | 6144b315f6109715001c22b6a2ae74c1e2803cae | [
"MIT"
] | 8 | 2017-10-17T14:37:42.000Z | 2020-10-27T20:39:20.000Z | muLAn/__init__.py | muLAn-project/muLAn | 6144b315f6109715001c22b6a2ae74c1e2803cae | [
"MIT"
] | 3 | 2018-01-28T22:03:53.000Z | 2022-03-30T20:18:19.000Z | muLAn/__init__.py | muLAn-project/muLAn | 6144b315f6109715001c22b6a2ae74c1e2803cae | [
"MIT"
] | 1 | 2017-09-15T19:20:10.000Z | 2017-09-15T19:20:10.000Z | from __future__ import division, print_function
from ._version import version_info, __version__
| 32 | 47 | 0.864583 | 12 | 96 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 96 | 2 | 48 | 48 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
57d3006cd48e1a108217ba82f54b2f2de0e5fde4 | 189 | py | Python | app.py | AhmedOzil10/python-docs-hello-world | 4b31a842a8b69cbd79676f830754a3048984575d | [
"MIT"
] | null | null | null | app.py | AhmedOzil10/python-docs-hello-world | 4b31a842a8b69cbd79676f830754a3048984575d | [
"MIT"
] | null | null | null | app.py | AhmedOzil10/python-docs-hello-world | 4b31a842a8b69cbd79676f830754a3048984575d | [
"MIT"
] | null | null | null | from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "POC by Ahmed Ismail (<a href=https://bugcrowd.com/AhmedOzil10>https://bugcrowd.com/AhmedOzil10</a>)"
| 27 | 112 | 0.708995 | 27 | 189 | 4.814815 | 0.703704 | 0.2 | 0.246154 | 0.415385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0.116402 | 189 | 6 | 113 | 31.5 | 0.754491 | 0 | 0 | 0 | 0 | 0.2 | 0.529101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
57dd6e125dd7160b2682ed3745551f477b06c2bf | 34 | py | Python | rapidpro_webhooks/apps/ureport/__init__.py | unicef/rapidpro-webhooks | 773004eaae3a91ec6ac4653318bf8eff1c4b642d | [
"MIT"
] | null | null | null | rapidpro_webhooks/apps/ureport/__init__.py | unicef/rapidpro-webhooks | 773004eaae3a91ec6ac4653318bf8eff1c4b642d | [
"MIT"
] | null | null | null | rapidpro_webhooks/apps/ureport/__init__.py | unicef/rapidpro-webhooks | 773004eaae3a91ec6ac4653318bf8eff1c4b642d | [
"MIT"
] | null | null | null | from .birth_year import * # noqa
| 17 | 33 | 0.705882 | 5 | 34 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 1 | 34 | 34 | 0.851852 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
17bc36eda023a50a702d91f434fc8949ecf430ed | 123 | py | Python | web/transiq/api/management/data_sync.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | web/transiq/api/management/data_sync.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | 14 | 2020-06-05T23:06:45.000Z | 2022-03-12T00:00:18.000Z | web/transiq/api/management/data_sync.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | from api.models import S3Upload
def update_is_verified_data():
S3Upload.objects.update(verified=True, is_valid=True)
| 20.5 | 57 | 0.796748 | 18 | 123 | 5.222222 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0.113821 | 123 | 5 | 58 | 24.6 | 0.844037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa420a0fcb108601a375f18778cdb0d9dd61aea1 | 72 | py | Python | src/py_starter/__main__.py | jameskabbes/py_starter | 0638d5835d58f889314f0afe273a628444c494f7 | [
"MIT"
] | null | null | null | src/py_starter/__main__.py | jameskabbes/py_starter | 0638d5835d58f889314f0afe273a628444c494f7 | [
"MIT"
] | null | null | null | src/py_starter/__main__.py | jameskabbes/py_starter | 0638d5835d58f889314f0afe273a628444c494f7 | [
"MIT"
] | null | null | null | import py_starter as ps
ps.print_for_loop( ['Test','For','py_starter'] ) | 36 | 48 | 0.736111 | 13 | 72 | 3.769231 | 0.692308 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 2 | 48 | 36 | 0.742424 | 0 | 0 | 0 | 0 | 0 | 0.232877 | 0 | 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 |
352ddb36271bc653facccd7da752d95962c43244 | 27 | py | Python | python/8Kyu/Function 2 - squaring an argument.py | athasv/Codewars-data | 5e106466e709fd776f23585ad9f652d0d65b48d3 | [
"MIT"
] | null | null | null | python/8Kyu/Function 2 - squaring an argument.py | athasv/Codewars-data | 5e106466e709fd776f23585ad9f652d0d65b48d3 | [
"MIT"
] | null | null | null | python/8Kyu/Function 2 - squaring an argument.py | athasv/Codewars-data | 5e106466e709fd776f23585ad9f652d0d65b48d3 | [
"MIT"
] | null | null | null | def square(n): return n * n | 27 | 27 | 0.666667 | 6 | 27 | 3 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1023a9a0bb43f5562968eae8dd9745e845501d62 | 56,978 | py | Python | book/models.py | Felix-Raj/library | c93dd6dbc5a8cfe80a123a9e03d870687d8fd7ce | [
"Unlicense"
] | 1 | 2018-05-18T17:37:02.000Z | 2018-05-18T17:37:02.000Z | book/models.py | Felix-Raj/library | c93dd6dbc5a8cfe80a123a9e03d870687d8fd7ce | [
"Unlicense"
] | null | null | null | book/models.py | Felix-Raj/library | c93dd6dbc5a8cfe80a123a9e03d870687d8fd7ce | [
"Unlicense"
] | null | null | null | import logging
from django.contrib.postgres.fields import JSONField
from django.db import models
logger = logging.getLogger(__name__)
class Book(models.Model):
MAGAZINE = 'magazine'
COMICS = 'comics'
BOOKS = 'books'
EDUCATIONAL = 'educational'
BOOK_CATEGORIES = (
(MAGAZINE, MAGAZINE.capi... | 678.309524 | 54,516 | 0.947594 | 2,349 | 56,978 | 22.964666 | 0.868455 | 0.000742 | 0.001112 | 0.00089 | 0.002262 | 0.002262 | 0.002262 | 0 | 0 | 0 | 0 | 0.110898 | 0.010565 | 56,978 | 83 | 54,517 | 686.481928 | 0.845963 | 0.002124 | 0 | 0.081967 | 0 | 0.016393 | 0.961367 | 0.95915 | 0 | 1 | 0 | 0 | 0 | 1 | 0.147541 | false | 0 | 0.04918 | 0.04918 | 0.557377 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
102629de7034a14113a4ed5f61f03c25f6dd788a | 113 | py | Python | dinuq/__init__.py | spyros-lytras/dinuq | 7a3b637ba6f6cec6211ec9784cdbbfe3029d3544 | [
"MIT"
] | 11 | 2020-07-07T12:37:06.000Z | 2022-03-24T15:49:06.000Z | dinuq/__init__.py | spyros-lytras/dinuq | 7a3b637ba6f6cec6211ec9784cdbbfe3029d3544 | [
"MIT"
] | 4 | 2020-03-18T19:34:51.000Z | 2020-10-30T11:32:07.000Z | build/lib/dinuq/__init__.py | spyros-lytras/dinuq | 7a3b637ba6f6cec6211ec9784cdbbfe3029d3544 | [
"MIT"
] | 2 | 2020-03-27T10:11:32.000Z | 2022-03-23T13:11:50.000Z | from .rscu import *
from .rda import *
from .sduc import *
from .make_ntcont import *
from .thedicts import * | 22.6 | 27 | 0.707965 | 16 | 113 | 4.9375 | 0.5 | 0.506329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20354 | 113 | 5 | 28 | 22.6 | 0.877778 | 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 |
1035509c3dd9abf92a9000a4056f447f71130ba8 | 150 | py | Python | Curso de Cisco/Actividades/Funcion de multiplicacion.py | tomasfriz/Curso-de-Cisco | a50ee5fa96bd86d468403e29ccdc3565a181af60 | [
"MIT"
] | null | null | null | Curso de Cisco/Actividades/Funcion de multiplicacion.py | tomasfriz/Curso-de-Cisco | a50ee5fa96bd86d468403e29ccdc3565a181af60 | [
"MIT"
] | null | null | null | Curso de Cisco/Actividades/Funcion de multiplicacion.py | tomasfriz/Curso-de-Cisco | a50ee5fa96bd86d468403e29ccdc3565a181af60 | [
"MIT"
] | null | null | null | def multiply(a, b):
return a * b
print(multiply(3, 4)) # salida: 12
def multiply(a, b):
return
print(multiply(3, 4)) # salida: None | 16.666667 | 40 | 0.586667 | 25 | 150 | 3.56 | 0.48 | 0.067416 | 0.269663 | 0.292135 | 0.898876 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.253333 | 150 | 9 | 40 | 16.666667 | 0.732143 | 0.153333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
107bdd04ca2e58284b614f79ffb00b7fee01a7e4 | 217 | py | Python | autokeras/tuners/random_search.py | thwang1231/autokeras | 2b8a1c5506896102ed49a3e82db811ada44a1d6c | [
"MIT"
] | 1 | 2020-05-17T23:47:00.000Z | 2020-05-17T23:47:00.000Z | autokeras/tuners/random_search.py | thwang1231/autokeras | 2b8a1c5506896102ed49a3e82db811ada44a1d6c | [
"MIT"
] | null | null | null | autokeras/tuners/random_search.py | thwang1231/autokeras | 2b8a1c5506896102ed49a3e82db811ada44a1d6c | [
"MIT"
] | null | null | null | import kerastuner
from autokeras.engine import tuner as tuner_module
class RandomSearch(tuner_module.AutoTuner, kerastuner.RandomSearch):
"""KerasTuner RandomSearch with preprocessing layer tuning."""
pass
| 24.111111 | 68 | 0.801843 | 24 | 217 | 7.166667 | 0.666667 | 0.127907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133641 | 217 | 8 | 69 | 27.125 | 0.914894 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
52ee40982803b7e607062d1f0cf68786a33cba49 | 42 | py | Python | __main__.py | daveh566/Nelly | c890721fa593c519643d53f66caa24299a02d21f | [
"MIT"
] | null | null | null | __main__.py | daveh566/Nelly | c890721fa593c519643d53f66caa24299a02d21f | [
"MIT"
] | null | null | null | __main__.py | daveh566/Nelly | c890721fa593c519643d53f66caa24299a02d21f | [
"MIT"
] | null | null | null | import start
from pyrogram import filters
| 14 | 28 | 0.857143 | 6 | 42 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 2 | 29 | 21 | 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 |
5e264f2d739fe0df88f233e6f414a950ec3f49ed | 198 | py | Python | pyramda/logic/and_func_test.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 124 | 2015-07-30T21:34:25.000Z | 2022-02-19T08:45:50.000Z | pyramda/logic/and_func_test.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 37 | 2015-08-31T23:02:20.000Z | 2022-02-04T04:45:28.000Z | ramda/and_func_test.py | slavaGanzin/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 20 | 2015-08-04T18:59:09.000Z | 2021-12-13T08:08:59.000Z | from .and_func import and_func
def and_func_test():
assert and_func(True, True)
assert not and_func(True, False)
assert not and_func(False, True)
assert not and_func(False, False)
| 22 | 37 | 0.722222 | 33 | 198 | 4.090909 | 0.30303 | 0.362963 | 0.266667 | 0.355556 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 198 | 8 | 38 | 24.75 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e2b124d64daa9e7d69cb3433cdddac5ec4943dd | 31,700 | py | Python | tests/components/energy/test_websocket_api.py | jheddings/hass-core | 4270b7535b3cc4d35dc485c4b3d6c5cb61a95768 | [
"Apache-2.0"
] | null | null | null | tests/components/energy/test_websocket_api.py | jheddings/hass-core | 4270b7535b3cc4d35dc485c4b3d6c5cb61a95768 | [
"Apache-2.0"
] | null | null | null | tests/components/energy/test_websocket_api.py | jheddings/hass-core | 4270b7535b3cc4d35dc485c4b3d6c5cb61a95768 | [
"Apache-2.0"
] | null | null | null | """Test the Energy websocket API."""
from unittest.mock import AsyncMock, Mock
import pytest
from homeassistant.components.energy import data, is_configured
from homeassistant.components.recorder.statistics import async_add_external_statistics
from homeassistant.setup import async_setup_component
from homeassistant.u... | 31.293189 | 90 | 0.538013 | 3,415 | 31,700 | 4.680527 | 0.06735 | 0.018018 | 0.014264 | 0.047297 | 0.873373 | 0.848661 | 0.817317 | 0.800113 | 0.781094 | 0.758634 | 0 | 0.047345 | 0.332366 | 31,700 | 1,012 | 91 | 31.324111 | 0.7079 | 0.004763 | 0 | 0.642857 | 0 | 0 | 0.246578 | 0.084065 | 0 | 0 | 0 | 0 | 0.070313 | 1 | 0.001116 | false | 0 | 0.058036 | 0 | 0.059152 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.