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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9f8697580540d8d34809d9765dc1ccb0eb61128b | 5,873 | py | Python | web/transiq/owner/migrations/0019_auto_20180619_1643.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | web/transiq/owner/migrations/0019_auto_20180619_1643.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | 14 | 2020-06-05T23:06:45.000Z | 2022-03-12T00:00:18.000Z | web/transiq/owner/migrations/0019_auto_20180619_1643.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.0.5 on 2018-06-19 16:43
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('owner', '0018_auto_20180... | 39.153333 | 175 | 0.609739 | 593 | 5,873 | 5.819562 | 0.114671 | 0.070414 | 0.159954 | 0.187772 | 0.87337 | 0.87337 | 0.841205 | 0.796291 | 0.78528 | 0.770791 | 0 | 0.007294 | 0.276349 | 5,873 | 149 | 176 | 39.416107 | 0.804706 | 0.007662 | 0 | 0.846154 | 1 | 0 | 0.133196 | 0.023172 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020979 | 0 | 0.041958 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9f9f4179d32df33c98bc1e956c00f11113b2fb78 | 1,438 | py | Python | tools/gen_rgb2rgb.py | jibonaronno/OpenMV-openmv | ec7bca0a3d0407f632d86b57ac2bdc6dc84f0252 | [
"MIT"
] | 6 | 2017-05-24T06:51:37.000Z | 2020-07-04T16:36:29.000Z | util/gen_rgb2rgb.py | guohuijiang1234/openmv | 9c3e9109ec1a2b68bb34107557945bfa379d3a0e | [
"MIT"
] | 2 | 2018-11-13T06:47:24.000Z | 2019-05-15T06:21:55.000Z | util/gen_rgb2rgb.py | guohuijiang1234/openmv | 9c3e9109ec1a2b68bb34107557945bfa379d3a0e | [
"MIT"
] | 1 | 2021-01-08T03:41:16.000Z | 2021-01-08T03:41:16.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
sys.stdout.write("#include <stdint.h>\n")
sys.stdout.write("const uint8_t rb528_table[32] = {\n")
for i in range(32):
if not (i % 8):
sys.stdout.write(" ")
sys.stdout.write("%3d" % (((i * 255) + 15.5) // 31))
if (i + 1) % 8:
sys.s... | 26.62963 | 57 | 0.493046 | 220 | 1,438 | 3.186364 | 0.190909 | 0.32097 | 0.499287 | 0.171184 | 0.834522 | 0.800285 | 0.800285 | 0.763195 | 0.763195 | 0.694722 | 0 | 0.09309 | 0.275382 | 1,438 | 53 | 58 | 27.132075 | 0.579655 | 0.029207 | 0 | 0.695652 | 0 | 0 | 0.167145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021739 | 0 | 0.021739 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 9 |
9fa882aad399bea1f2b4f1251055474f8b88a434 | 45 | py | Python | Source_Code/Python/labinstrument/SS/CMW500/__init__.py | fenglwh/instruments | 7886158d1ed97fe6bfe372a55f4fca107e834311 | [
"MIT"
] | null | null | null | Source_Code/Python/labinstrument/SS/CMW500/__init__.py | fenglwh/instruments | 7886158d1ed97fe6bfe372a55f4fca107e834311 | [
"MIT"
] | 3 | 2018-09-21T00:57:21.000Z | 2018-09-21T01:49:40.000Z | Source_Code/Python/labinstrument/SS/CMW500/__init__.py | fenglwh/instruments | 7886158d1ed97fe6bfe372a55f4fca107e834311 | [
"MIT"
] | null | null | null | from .CMW500_WIFI.CMW500_WIFI import CMW_WIFI | 45 | 45 | 0.888889 | 8 | 45 | 4.625 | 0.625 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.066667 | 45 | 1 | 45 | 45 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4ca343867c3d63321e254619ee276e43efce15fa | 35,933 | py | Python | tests/test_dataset.py | jasonb5/xcdat | 4a35d6a6131fe3fec22593f54a9e48b640ceac4f | [
"Apache-2.0"
] | null | null | null | tests/test_dataset.py | jasonb5/xcdat | 4a35d6a6131fe3fec22593f54a9e48b640ceac4f | [
"Apache-2.0"
] | null | null | null | tests/test_dataset.py | jasonb5/xcdat | 4a35d6a6131fe3fec22593f54a9e48b640ceac4f | [
"Apache-2.0"
] | null | null | null | import pathlib
import warnings
import numpy as np
import pytest
import xarray as xr
from tests.fixtures import generate_dataset
from xcdat.dataset import (
_has_cf_compliant_time,
_keep_single_var,
_postprocess_dataset,
_preprocess_non_cf_dataset,
_split_time_units_attr,
decode_non_cf_time,
... | 37.352391 | 89 | 0.531155 | 4,079 | 35,933 | 4.495219 | 0.071831 | 0.027051 | 0.085079 | 0.085297 | 0.840096 | 0.80541 | 0.774978 | 0.747055 | 0.721204 | 0.698517 | 0 | 0.152846 | 0.345254 | 35,933 | 961 | 90 | 37.391259 | 0.626514 | 0.059806 | 0 | 0.613551 | 1 | 0 | 0.188904 | 0.103136 | 0 | 0 | 0 | 0 | 0.065245 | 1 | 0.055207 | false | 0 | 0.010038 | 0.001255 | 0.076537 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4cbfd7715f9b83ddc84288f6b0b486b797a48ebd | 17,471 | py | Python | test/testMarkdownGenerator.py | open-cluster-management/canary-reporting | d97d49fb83e8e8d5e56b937261928285303e475e | [
"Apache-2.0"
] | null | null | null | test/testMarkdownGenerator.py | open-cluster-management/canary-reporting | d97d49fb83e8e8d5e56b937261928285303e475e | [
"Apache-2.0"
] | 35 | 2021-03-24T14:57:42.000Z | 2021-09-23T18:37:58.000Z | test/testMarkdownGenerator.py | open-cluster-management/canary-reporting | d97d49fb83e8e8d5e56b937261928285303e475e | [
"Apache-2.0"
] | 1 | 2021-08-02T14:26:55.000Z | 2021-08-02T14:26:55.000Z | import unittest, os, sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../..')))
from generators import MarkdownGenerator
class TestMarkdownGenerator(unittest.TestCase):
results_folder = f"{os.path.dirname(os.path.abspath(__file__))}/test_results_dir"
ignorelist = [
{
... | 49.633523 | 157 | 0.718219 | 2,331 | 17,471 | 5.222222 | 0.099099 | 0.102522 | 0.086749 | 0.102522 | 0.970919 | 0.968537 | 0.968537 | 0.968537 | 0.958679 | 0.951779 | 0 | 0.047037 | 0.143323 | 17,471 | 352 | 158 | 49.633523 | 0.766286 | 0 | 0 | 0.868132 | 0 | 0.241758 | 0.864812 | 0.093922 | 0 | 0 | 0 | 0 | 0.010989 | 1 | 0.010989 | false | 0.021978 | 0.058608 | 0 | 0.080586 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
4ceae7dfc09d929e5073ff9de80b4666670c99ab | 53 | py | Python | PythonFiles/Miniconda2/pkgs/wincertstore-0.2-py27hf04cefb_0/info/test/run_test.py | manos-mark/WebCamera-Head-and-Gaze-tracking | 5001196f2e9ef31a653ee66efed979b3d10452e8 | [
"MIT"
] | null | null | null | PythonFiles/Miniconda2/pkgs/wincertstore-0.2-py27hf04cefb_0/info/test/run_test.py | manos-mark/WebCamera-Head-and-Gaze-tracking | 5001196f2e9ef31a653ee66efed979b3d10452e8 | [
"MIT"
] | null | null | null | PythonFiles/Miniconda2/pkgs/wincertstore-0.2-py27hf04cefb_0/info/test/run_test.py | manos-mark/WebCamera-Head-and-Gaze-tracking | 5001196f2e9ef31a653ee66efed979b3d10452e8 | [
"MIT"
] | null | null | null | print("import: 'wincertstore'")
import wincertstore
| 13.25 | 31 | 0.773585 | 5 | 53 | 8.2 | 0.6 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 3 | 32 | 17.666667 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 1 | 0 | 7 |
e21de50ac69fdc7b85e83308fb7a303edbdb6801 | 826 | py | Python | test_performance/load_server/controllers/teste_controller_async.py | sharkguto/teste_carga | 56d6e9dcbd3e7b7fe7295d8fcf4b4e8b84943cfb | [
"MIT"
] | 1 | 2021-10-14T07:27:47.000Z | 2021-10-14T07:27:47.000Z | test_performance/load_server/controllers/teste_controller_async.py | sharkguto/teste_carga | 56d6e9dcbd3e7b7fe7295d8fcf4b4e8b84943cfb | [
"MIT"
] | 4 | 2019-08-06T02:26:32.000Z | 2021-06-10T21:39:19.000Z | test_performance/load_server/controllers/teste_controller_async.py | sharkguto/teste_carga | 56d6e9dcbd3e7b7fe7295d8fcf4b4e8b84943cfb | [
"MIT"
] | 1 | 2018-05-11T18:04:41.000Z | 2018-05-11T18:04:41.000Z | def get_hello(name: str) -> tuple: # noqa: E501
"""
# noqa: E501
:param name:
:type name: str
:rtype: None
"""
return {"response": f" ola {name}. bem vindo ao clube"}, 200
# import aiohttp
# from connexion.lifecycle import ConnexionResponse
# async def get_hello(name: str) -> tuple... | 18.355556 | 64 | 0.533898 | 98 | 826 | 4.44898 | 0.306122 | 0.09633 | 0.075688 | 0.103211 | 0.866972 | 0.866972 | 0.866972 | 0.866972 | 0.866972 | 0.788991 | 0 | 0.047285 | 0.308717 | 826 | 45 | 65 | 18.355556 | 0.716287 | 0.762712 | 0 | 0 | 0 | 0 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e23876dfd67852c5d0bb2e1f1388732ee9ca0868 | 76 | py | Python | rgbd_seg/loggers/__init__.py | tomchol/ShapeConv | 41ead20854daed43b59ef978665fa53f113cbb65 | [
"Apache-2.0"
] | 57 | 2021-08-03T08:03:56.000Z | 2022-03-25T12:17:44.000Z | rgbd_seg/loggers/__init__.py | tomchol/ShapeConv | 41ead20854daed43b59ef978665fa53f113cbb65 | [
"Apache-2.0"
] | 6 | 2021-08-30T10:06:46.000Z | 2022-03-08T12:47:20.000Z | rgbd_seg/loggers/__init__.py | tomchol/ShapeConv | 41ead20854daed43b59ef978665fa53f113cbb65 | [
"Apache-2.0"
] | 8 | 2021-08-13T08:32:54.000Z | 2022-03-25T11:12:13.000Z | from .builder import build_logger
from .builder import build_summarys_writer | 38 | 42 | 0.881579 | 11 | 76 | 5.818182 | 0.636364 | 0.34375 | 0.53125 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 76 | 2 | 42 | 38 | 0.927536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 8 |
e2399a0115b6732db1be06cd443b1e0905146ec7 | 3,445 | py | Python | ost_kyc_sdk_python/saas/users_kyc.py | OpenSTFoundation/kyc-sdk-python | 095d789e11a48a1578c73370cf88170196e7ebae | [
"MIT"
] | 13 | 2019-02-27T14:38:30.000Z | 2019-02-28T15:44:36.000Z | ost_kyc_sdk_python/saas/users_kyc.py | ostdotcom/ost-kyc-sdk-python | 095d789e11a48a1578c73370cf88170196e7ebae | [
"MIT"
] | null | null | null | ost_kyc_sdk_python/saas/users_kyc.py | ostdotcom/ost-kyc-sdk-python | 095d789e11a48a1578c73370cf88170196e7ebae | [
"MIT"
] | 2 | 2018-12-14T07:31:57.000Z | 2018-12-26T21:42:46.000Z | from .base import Base
class UsersKYC(Base):
def __init__(self, params):
Base.__init__(self, params)
self.endpoint = '/api/v2/users-kyc'
#
# Submit KYC
# * Author: Mayur
# * Date: 20/11/2018
# * Reviewed By:
#
# Return dict
#
def submit_kyc(self, params):
... | 28.00813 | 92 | 0.609869 | 428 | 3,445 | 4.661215 | 0.156542 | 0.04812 | 0.066165 | 0.080201 | 0.839098 | 0.818045 | 0.789975 | 0.752882 | 0.752882 | 0.729825 | 0 | 0.02601 | 0.274601 | 3,445 | 122 | 93 | 28.237705 | 0.772309 | 0.215965 | 0 | 0.52381 | 0 | 0 | 0.083491 | 0.018596 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.02381 | 0 | 0.452381 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e266410f2403d5d666d6f8cfba6a8b48f28c7101 | 2,256 | py | Python | tests/test_listkeys.py | json-transformations/jsonls | 5f5ac2c84fb165e54da075e9244c71581808262e | [
"MIT"
] | null | null | null | tests/test_listkeys.py | json-transformations/jsonls | 5f5ac2c84fb165e54da075e9244c71581808262e | [
"MIT"
] | null | null | null | tests/test_listkeys.py | json-transformations/jsonls | 5f5ac2c84fb165e54da075e9244c71581808262e | [
"MIT"
] | null | null | null | from jsonls.core import get_keylists, get_keystrings
def test_get_simple_keylists():
data = {"status": "success", "message": {"affenpinscher": []}}
expect = [
(),
('message',),
('message', 'affenpinscher','*'),
('status',)
]
result = sorted(get_keylists(data))
asser... | 32.695652 | 79 | 0.511525 | 210 | 2,256 | 5.409524 | 0.2 | 0.174296 | 0.253521 | 0.202465 | 0.859155 | 0.792254 | 0.767606 | 0.767606 | 0.700704 | 0.700704 | 0 | 0.004753 | 0.253989 | 2,256 | 68 | 80 | 33.176471 | 0.670232 | 0 | 0 | 0.333333 | 0 | 0 | 0.37367 | 0.094858 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.066667 | false | 0 | 0.016667 | 0 | 0.083333 | 0.05 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
e2a17ec49d5024de9f91d125a69780e02d80b6e5 | 133 | py | Python | src/tests/test_weather.py | pckltr/Pi_Weather_Station | 6222b4ed77e92096bbed6fea3f8603e27e76bf30 | [
"MIT"
] | 9 | 2019-05-12T17:43:39.000Z | 2021-12-04T19:20:02.000Z | src/tests/test_weather.py | pckltr/Pi_Weather_Station | 6222b4ed77e92096bbed6fea3f8603e27e76bf30 | [
"MIT"
] | 2 | 2019-11-02T21:10:35.000Z | 2020-02-07T10:30:16.000Z | src/tests/test_weather.py | pckltr/Pi_Weather_Station | 6222b4ed77e92096bbed6fea3f8603e27e76bf30 | [
"MIT"
] | 6 | 2019-05-22T14:32:01.000Z | 2021-12-25T18:28:13.000Z | import pytest
from src.weather import set_screen_color
def test_set_screen_color():
assert set_screen_color(25) == [0, 0, 155]
| 19 | 46 | 0.759398 | 22 | 133 | 4.272727 | 0.636364 | 0.287234 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061947 | 0.150376 | 133 | 6 | 47 | 22.166667 | 0.769912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
2c7f3eb86e4c0ff3e0cca16a82a82efd2b1aa919 | 39,868 | py | Python | napalm_yang/models/openconfig/network_instances/network_instance/connection_points/connection_point/endpoints/endpoint/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 64 | 2016-10-20T15:47:18.000Z | 2021-11-11T11:57:32.000Z | napalm_yang/models/openconfig/network_instances/network_instance/connection_points/connection_point/endpoints/endpoint/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 126 | 2016-10-05T10:36:14.000Z | 2019-05-15T08:43:23.000Z | napalm_yang/models/openconfig/network_instances/network_instance/connection_points/connection_point/endpoints/endpoint/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 63 | 2016-11-07T15:23:08.000Z | 2021-09-22T14:41:16.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 38.933594 | 377 | 0.604144 | 4,120 | 39,868 | 5.604854 | 0.049029 | 0.068855 | 0.049714 | 0.056383 | 0.983761 | 0.974363 | 0.974363 | 0.974363 | 0.974363 | 0.974363 | 0 | 0.000648 | 0.303502 | 39,868 | 1,023 | 378 | 38.971652 | 0.830957 | 0.218546 | 0 | 0.882813 | 0 | 0.013021 | 0.254554 | 0.083497 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044271 | false | 0 | 0.029948 | 0 | 0.11849 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
2cadbc9eac6e1b55c93b12a413fe375e0ad6108d | 132 | py | Python | acct.py | rmdmattingly/QCI-Robinhood-Bot | 838e077a4338d8b63fc155d7b49b1bbbe389e489 | [
"MIT"
] | null | null | null | acct.py | rmdmattingly/QCI-Robinhood-Bot | 838e077a4338d8b63fc155d7b49b1bbbe389e489 | [
"MIT"
] | null | null | null | acct.py | rmdmattingly/QCI-Robinhood-Bot | 838e077a4338d8b63fc155d7b49b1bbbe389e489 | [
"MIT"
] | null | null | null | username = 'UPDATE_TO_YOUR_ROBINHOOD_USERNAME'
password = 'UPDATE_TO_YOUR_ROBINHOOD_PASSWORD'
key = 'UPDATE_TO_YOUR_QUIKFO_API_KEY'
| 33 | 46 | 0.863636 | 19 | 132 | 5.315789 | 0.473684 | 0.237624 | 0.356436 | 0.415842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 132 | 3 | 47 | 44 | 0.821138 | 0 | 0 | 0 | 0 | 0 | 0.719697 | 0.719697 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
e2e7cfc5028c3c92d359e9123726e5918c93f739 | 10,572 | py | Python | egs/wsj/s5/steps/libs/nnet3/xconfig/added_components.py | XIEXurong/kaldi_bayes_adapt | 54d108361fe881667055aa0f299f9658ad3585f8 | [
"Apache-2.0"
] | 1 | 2022-02-09T16:05:18.000Z | 2022-02-09T16:05:18.000Z | egs/wsj/s5/steps/libs/nnet3/xconfig/added_components.py | XIEXurong/kaldi_bayes_adapt | 54d108361fe881667055aa0f299f9658ad3585f8 | [
"Apache-2.0"
] | null | null | null | egs/wsj/s5/steps/libs/nnet3/xconfig/added_components.py | XIEXurong/kaldi_bayes_adapt | 54d108361fe881667055aa0f299f9658ad3585f8 | [
"Apache-2.0"
] | null | null | null |
from __future__ import print_function
import math
import re
import sys
from libs.nnet3.xconfig.basic_layers import XconfigLayerBase
class XconfigDimRangeComponentInit(XconfigLayerBase):
"""This class is for parsing lines like
'dim-range-component name=feature1 input=Append(-3,0,3) dim=40 dim-offset=0'
w... | 38.443636 | 106 | 0.61417 | 1,307 | 10,572 | 4.800306 | 0.119357 | 0.047816 | 0.043513 | 0.032993 | 0.805228 | 0.777016 | 0.754861 | 0.748805 | 0.721549 | 0.715811 | 0 | 0.013112 | 0.271377 | 10,572 | 274 | 107 | 38.583942 | 0.801376 | 0.20961 | 0 | 0.71123 | 0 | 0.005348 | 0.156679 | 0.00389 | 0.005348 | 0 | 0 | 0 | 0.042781 | 1 | 0.149733 | false | 0.010695 | 0.026738 | 0 | 0.283422 | 0.005348 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e2f3968c3b87e6ca96e984a7bef4d554fdf3bb99 | 131 | py | Python | Workers/PythonEvaluation/Executables/Calculation.py | IshmaGurca/SwarmAnalytics | 81688dac4d32d568cfac218224a45cbf048b2af9 | [
"MIT"
] | null | null | null | Workers/PythonEvaluation/Executables/Calculation.py | IshmaGurca/SwarmAnalytics | 81688dac4d32d568cfac218224a45cbf048b2af9 | [
"MIT"
] | null | null | null | Workers/PythonEvaluation/Executables/Calculation.py | IshmaGurca/SwarmAnalytics | 81688dac4d32d568cfac218224a45cbf048b2af9 | [
"MIT"
] | null | null | null | def Plus(a,b):
return a + b
def Minus(a,b):
return a - b
def Times(a,b):
return a*b
def Divide(a,b):
return a/b
| 10.916667 | 16 | 0.549618 | 28 | 131 | 2.571429 | 0.285714 | 0.222222 | 0.444444 | 0.5 | 0.680556 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29771 | 131 | 11 | 17 | 11.909091 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
1a4f3c0b0d7270eda2eca3fb8c1cdd937d5a0ff6 | 41,255 | py | Python | src/edge/tests/test_recombine.py | jvrana/edge | b38efc3dfe3e888ee3045539bc00152771baccc0 | [
"MIT"
] | null | null | null | src/edge/tests/test_recombine.py | jvrana/edge | b38efc3dfe3e888ee3045539bc00152771baccc0 | [
"MIT"
] | null | null | null | src/edge/tests/test_recombine.py | jvrana/edge | b38efc3dfe3e888ee3045539bc00152771baccc0 | [
"MIT"
] | null | null | null | import os
import json
from Bio.Seq import Seq
from django.test import TestCase
import edge.recombine
from edge.recombine import find_swap_region, recombine, remove_overhangs
from edge.blastdb import build_all_genome_dbs, fragment_fasta_fn
from edge.models import Genome, Fragment, Genome_Fragment, Operation
class Re... | 45.992196 | 99 | 0.641498 | 4,696 | 41,255 | 5.407155 | 0.050468 | 0.100819 | 0.048874 | 0.05104 | 0.932932 | 0.917021 | 0.89414 | 0.88138 | 0.876772 | 0.865942 | 0 | 0.011868 | 0.240189 | 41,255 | 896 | 100 | 46.043527 | 0.798188 | 0.01481 | 0 | 0.824586 | 0 | 0 | 0.11474 | 0.050405 | 0 | 0 | 0 | 0 | 0.243094 | 1 | 0.059392 | false | 0.004144 | 0.012431 | 0 | 0.078729 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1a4ff4ec915f23e7c019a823ef18c805568717f8 | 93,000 | py | Python | src/commercetools/platform/models/_schemas/cart.py | lime-green/commercetools-python-sdk | 63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6 | [
"MIT"
] | 1 | 2021-04-07T20:01:30.000Z | 2021-04-07T20:01:30.000Z | src/commercetools/platform/models/_schemas/cart.py | lime-green/commercetools-python-sdk | 63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6 | [
"MIT"
] | null | null | null | src/commercetools/platform/models/_schemas/cart.py | lime-green/commercetools-python-sdk | 63b77f6e5abe43e2b3ebbf3cdbbe00c7cf80dca6 | [
"MIT"
] | null | null | null | # Generated file, please do not change!!!
import re
import typing
import marshmallow
import marshmallow_enum
from commercetools import helpers
from ... import models
from ..cart import (
CartOrigin,
CartState,
DiscountCodeState,
InventoryMode,
LineItemMode,
LineItemPriceMode,
RoundingMode... | 32.11326 | 88 | 0.65086 | 7,920 | 93,000 | 7.374369 | 0.06351 | 0.044534 | 0.064327 | 0.053317 | 0.769523 | 0.766287 | 0.754336 | 0.747128 | 0.733636 | 0.726325 | 0 | 0 | 0.24843 | 93,000 | 2,895 | 89 | 32.124352 | 0.835599 | 0.00071 | 0 | 0.725249 | 1 | 0 | 0.147713 | 0.087743 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034592 | false | 0 | 0.004771 | 0.010338 | 0.257256 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1a5dd77af680707d37650fbaa6250f0830f1941f | 107 | py | Python | Term2/4-type-casting-str.py | theseana/apondaone | 7cbf3572a86c73220329804fee1f3d03842ae902 | [
"MIT"
] | null | null | null | Term2/4-type-casting-str.py | theseana/apondaone | 7cbf3572a86c73220329804fee1f3d03842ae902 | [
"MIT"
] | null | null | null | Term2/4-type-casting-str.py | theseana/apondaone | 7cbf3572a86c73220329804fee1f3d03842ae902 | [
"MIT"
] | null | null | null | # a = 42
# print(type(a))
# a = str(a)
# print(type(a))
a = 42.3
print(type(a))
a = str(a)
print(type(a))
| 10.7 | 16 | 0.53271 | 23 | 107 | 2.478261 | 0.26087 | 0.631579 | 0.701754 | 0.578947 | 0.877193 | 0.877193 | 0.877193 | 0.877193 | 0.877193 | 0 | 0 | 0.05814 | 0.196262 | 107 | 9 | 17 | 11.888889 | 0.604651 | 0.439252 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
1ad098a3f232958a53327bbe5d1205a10e228108 | 229,198 | py | Python | ddos.py | 3RL4N9/DDoS | 487a01dfd1b3fe0ed1fde4804f6ca378014884fe | [
"Apache-2.0"
] | null | null | null | ddos.py | 3RL4N9/DDoS | 487a01dfd1b3fe0ed1fde4804f6ca378014884fe | [
"Apache-2.0"
] | null | null | null | ddos.py | 3RL4N9/DDoS | 487a01dfd1b3fe0ed1fde4804f6ca378014884fe | [
"Apache-2.0"
] | null | null | null | import marshal
exec(marshal.loads('c\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00@\x00\x00\x00s!\x00\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00e\x00\x00j\x01\x00d\x02\x00\x83\x01\x00d\x01\x00\x04Ud\x01\x00S(\x03\x00\x00\x00i\xff\xff\xff\xffNs\x8e:\x01\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00@\x00\x00\x0... | 76,399.333333 | 229,182 | 0.755295 | 51,642 | 229,198 | 3.352058 | 0.009295 | 0.58729 | 0.557135 | 0.529615 | 0.982895 | 0.980925 | 0.978066 | 0.976067 | 0.974282 | 0.972058 | 0 | 0.406013 | 0.000768 | 229,198 | 2 | 229,183 | 114,599 | 0.34984 | 0 | 0 | 0 | 0 | 3 | 0.788558 | 0.786019 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 19 |
b602e0acc2d3a5a19b09ac08ef3a7c954abaa5cc | 18,572 | py | Python | src/wampyre/tests/test_session.py | JohnDoee/wampire | 37c3bc6c30a97520addad6e0d2e74014dba77d6a | [
"MIT"
] | 1 | 2018-07-04T18:44:46.000Z | 2018-07-04T18:44:46.000Z | src/wampyre/tests/test_session.py | JohnDoee/wampire | 37c3bc6c30a97520addad6e0d2e74014dba77d6a | [
"MIT"
] | 1 | 2018-11-23T03:59:44.000Z | 2018-11-23T03:59:44.000Z | src/wampyre/tests/test_session.py | JohnDoee/wampire | 37c3bc6c30a97520addad6e0d2e74014dba77d6a | [
"MIT"
] | null | null | null | import pytest
from ..opcodes import OP
from ..pattern import Pattern
from ..realm import realm_manager
from ..session import STATE_CLOSED, STATE_UNAUTHENTICATED
from ..transports.base import TransportBase
def transport_base():
class TestTransportBase(TransportBase):
def __init__(self):
self._... | 32.411867 | 86 | 0.654803 | 2,261 | 18,572 | 5.209642 | 0.05617 | 0.046693 | 0.046354 | 0.064522 | 0.866287 | 0.846591 | 0.811105 | 0.783513 | 0.761185 | 0.740301 | 0 | 0.014324 | 0.191794 | 18,572 | 572 | 87 | 32.468531 | 0.77042 | 0 | 0 | 0.71116 | 0 | 0 | 0.088251 | 0.026707 | 0 | 0 | 0 | 0 | 0.431072 | 1 | 0.065646 | false | 0 | 0.013129 | 0.008753 | 0.09628 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
3749f59a1f30b7b20cfed75a48005fff681711ff | 9,648 | py | Python | GPoFM/models/GPoNNet.py | MaxInGaussian/GPoFM | b7ddfa3361f7e55fb4ca29a2355f4b860bb90e9c | [
"BSD-3-Clause"
] | 4 | 2017-12-08T07:51:23.000Z | 2020-08-02T16:47:04.000Z | GPoFM/models/GPoNNet.py | MaxInGaussian/GPoFM | b7ddfa3361f7e55fb4ca29a2355f4b860bb90e9c | [
"BSD-3-Clause"
] | null | null | null | GPoFM/models/GPoNNet.py | MaxInGaussian/GPoFM | b7ddfa3361f7e55fb4ca29a2355f4b860bb90e9c | [
"BSD-3-Clause"
] | null | null | null | """
GPoFM: Gaussian Process Training with
Optimized Feature Maps for Shift-Invariant Kernels
Github: https://github.com/MaxInGaussian/GPoFM
Author: Max W. Y. Lam [maxingaussian@gmail.com]
"""
import sys, os, string, time
import numpy as np
import numpy.random as npr
from theano import tensor as TT
from . impor... | 36 | 119 | 0.576078 | 1,424 | 9,648 | 3.794944 | 0.103933 | 0.026647 | 0.013323 | 0.019985 | 0.896558 | 0.896558 | 0.896558 | 0.896558 | 0.867691 | 0.867691 | 0 | 0.019501 | 0.277156 | 9,648 | 267 | 120 | 36.134831 | 0.755377 | 0.198072 | 0 | 0.815029 | 0 | 0 | 0.041783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104046 | false | 0 | 0.028902 | 0.017341 | 0.306358 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
37aa52347915cb5a71ebd7a12db9e5e6f7fe34e5 | 10,599 | py | Python | test/ui/req/test_model.py | RaT0M/multiply-ui | ad7fffb15cc962604340b31b38d34bc470fa8448 | [
"MIT"
] | null | null | null | test/ui/req/test_model.py | RaT0M/multiply-ui | ad7fffb15cc962604340b31b38d34bc470fa8448 | [
"MIT"
] | 20 | 2019-05-21T10:33:36.000Z | 2019-12-11T08:13:29.000Z | test/ui/req/test_model.py | RaT0M/multiply-ui | ad7fffb15cc962604340b31b38d34bc470fa8448 | [
"MIT"
] | 1 | 2020-10-14T12:32:36.000Z | 2020-10-14T12:32:36.000Z | import unittest
from multiply_ui.ui.req.model import InputRequest, ProcessingRequest, InputIdentifiers
class RequestModelTest(unittest.TestCase):
def test_input_request(self):
input_request = InputRequest(dict(name='bibo',
roi='POLYGON ((7.890891 51.997565, 7.89... | 67.942308 | 111 | 0.512312 | 950 | 10,599 | 5.516842 | 0.108421 | 0.174013 | 0.073268 | 0.119061 | 0.920435 | 0.918145 | 0.905934 | 0.892578 | 0.875787 | 0.875787 | 0 | 0.093938 | 0.371261 | 10,599 | 155 | 112 | 68.380645 | 0.692527 | 0 | 0 | 0.808219 | 0 | 0.013699 | 0.142655 | 0 | 0 | 0 | 0 | 0 | 0.506849 | 1 | 0.020548 | false | 0 | 0.013699 | 0 | 0.041096 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
807511de9e73287f0c7ccbc6617209b84be283ee | 20,238 | py | Python | EasyDeep/net_structures/AutoEncoder.py | strawsyz/straw | db313c78c2e3c0355cd10c70ac25a15bb5632d41 | [
"MIT"
] | 2 | 2020-04-06T09:09:19.000Z | 2020-07-24T03:59:55.000Z | EasyDeep/net_structures/AutoEncoder.py | strawsyz/straw | db313c78c2e3c0355cd10c70ac25a15bb5632d41 | [
"MIT"
] | null | null | null | EasyDeep/net_structures/AutoEncoder.py | strawsyz/straw | db313c78c2e3c0355cd10c70ac25a15bb5632d41 | [
"MIT"
] | null | null | null | import torch
from torch import nn
from torch.autograd import Variable
class CNNAutoEncoder(nn.Module):
def __init__(self):
super(CNNAutoEncoder, self).__init__()
self.encoder = nn.Sequential(
nn.Conv2d(1, 16, 3, stride=3, padding=1),
nn.ReLU(True),
nn.MaxPool2d(... | 107.079365 | 12,512 | 0.666074 | 2,799 | 20,238 | 4.761343 | 0.196499 | 0.090043 | 0.253846 | 0.268778 | 0.720117 | 0.695205 | 0.676821 | 0.666016 | 0.657012 | 0.646507 | 0 | 0.409112 | 0.147544 | 20,238 | 188 | 12,513 | 107.648936 | 0.363378 | 0.728432 | 0 | 0.183673 | 0 | 0 | 0.061586 | 0.00402 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061224 | false | 0 | 0.068027 | 0.006803 | 0.170068 | 0.081633 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
807be52504bad528b206d95f52ad31ad42af8305 | 152 | py | Python | crowdin_api/typing.py | dpaskov/crowdin-api-client-python | e3be5f5ba567ffd97fdeb3f11b54f81ccb74ad98 | [
"MIT"
] | 13 | 2021-03-02T02:31:57.000Z | 2022-03-05T20:03:38.000Z | crowdin_api/typing.py | dpaskov/crowdin-api-client-python | e3be5f5ba567ffd97fdeb3f11b54f81ccb74ad98 | [
"MIT"
] | 17 | 2021-03-23T09:10:30.000Z | 2022-03-17T10:05:25.000Z | crowdin_api/typing.py | dpaskov/crowdin-api-client-python | e3be5f5ba567ffd97fdeb3f11b54f81ccb74ad98 | [
"MIT"
] | 6 | 2021-04-22T07:54:46.000Z | 2021-12-30T19:38:44.000Z | import sys
if sys.version_info >= (3, 8):
from typing import TypedDict # noqa F401
else:
from typing_extensions import TypedDict # noqa F401
| 21.714286 | 56 | 0.717105 | 22 | 152 | 4.863636 | 0.636364 | 0.186916 | 0.35514 | 0.429907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 0.217105 | 152 | 6 | 57 | 25.333333 | 0.831933 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 7 |
80aa11ce4fccc9cff91f2cd1d716f2381d7a349c | 16,759 | py | Python | determine_period.py | TransitionProjects/Agency-Metrics-FY-18-19 | 5f049445a7f1925156e18f3153027f5bfbab48c0 | [
"MIT"
] | null | null | null | determine_period.py | TransitionProjects/Agency-Metrics-FY-18-19 | 5f049445a7f1925156e18f3153027f5bfbab48c0 | [
"MIT"
] | null | null | null | determine_period.py | TransitionProjects/Agency-Metrics-FY-18-19 | 5f049445a7f1925156e18f3153027f5bfbab48c0 | [
"MIT"
] | null | null | null | """
Takes dataframes from various ART reports and identifies the fiscal year and
quarter of each row of data, returning the results as a new dataframe object
"""
from datetime import datetime
import pandas as pd
import numpy as np
class QuarterAndFiscalYear:
def __init__(
self,
dataframe,
... | 32.796477 | 84 | 0.350558 | 1,959 | 16,759 | 2.966309 | 0.100051 | 0.01239 | 0.01239 | 0.01652 | 0.740664 | 0.731027 | 0.726209 | 0.726209 | 0.712442 | 0.701084 | 0 | 0.377202 | 0.518945 | 16,759 | 510 | 85 | 32.860784 | 0.343587 | 0.078764 | 0 | 0.819172 | 0 | 0 | 0.199555 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008715 | false | 0.002179 | 0.006536 | 0 | 0.023965 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
80ca87e299b82b703f0c50ea0ddc2236996d1d5f | 6,356 | py | Python | dvoc_model/integration_methods.py | TragerJoswig-Jones/dvoc_model | fb5d369096e436b2e4a518c4f16c3493e36aadfc | [
"MIT"
] | null | null | null | dvoc_model/integration_methods.py | TragerJoswig-Jones/dvoc_model | fb5d369096e436b2e4a518c4f16c3493e36aadfc | [
"MIT"
] | null | null | null | dvoc_model/integration_methods.py | TragerJoswig-Jones/dvoc_model | fb5d369096e436b2e4a518c4f16c3493e36aadfc | [
"MIT"
] | null | null | null | import scipy.optimize
import numpy as np
""" Explicit Solvers """
# TODO: Make this equation modular / allow any number of components
def forward_euler_step(dt, components, set_states=True, update_states=False):
dxs = []
for component in components:
dxdt = component.dynamics()
dxs.append(dxdt... | 33.989305 | 107 | 0.625551 | 830 | 6,356 | 4.675904 | 0.140964 | 0.06957 | 0.082453 | 0.073435 | 0.803659 | 0.793095 | 0.750837 | 0.723783 | 0.723783 | 0.701623 | 0 | 0.032569 | 0.265733 | 6,356 | 186 | 108 | 34.172043 | 0.799014 | 0.060573 | 0 | 0.686567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0 | 1 | 0.067164 | false | 0 | 0.014925 | 0 | 0.149254 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
80d02367c373abe957de9ff3a027d963439013d9 | 2,544 | py | Python | config.py | vzer/vzer-gitlab | fc70b5450f219530550f84d5f135259b439e0e79 | [
"Apache-2.0"
] | null | null | null | config.py | vzer/vzer-gitlab | fc70b5450f219530550f84d5f135259b439e0e79 | [
"Apache-2.0"
] | null | null | null | config.py | vzer/vzer-gitlab | fc70b5450f219530550f84d5f135259b439e0e79 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#coding=utf-8
__author__ = 'vzer'
class Base_Config(object):
#app config
SECRET_KEY=""
POST_PRE_PAGE=6
REGISTERCODE=""
DEBUG = True
#mysql config
MYSQL_DB = ""
MYSQL_USER = ""
MYSQL_PASS = ""
MYSQL_HOST = ""
MYSQL_PORT =0
SQLALCHEMY_DATABASE_URI =... | 24.461538 | 62 | 0.621462 | 325 | 2,544 | 4.563077 | 0.212308 | 0.016183 | 0.018206 | 0.016183 | 0.886042 | 0.869858 | 0.848955 | 0.848955 | 0.82468 | 0.82468 | 0 | 0.032655 | 0.265723 | 2,544 | 104 | 63 | 24.461538 | 0.761242 | 0.063286 | 0 | 0.746479 | 0 | 0 | 0.203376 | 0.088608 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.126761 | 0 | 0 | 0.901408 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
80e35556976bfb273b98ba7157d593f53ba63267 | 2,768 | py | Python | proj/model/base_model.py | NanYoMy/mmregnet | 50909d39289733264dce14666e9deeecbe858819 | [
"Apache-2.0"
] | 7 | 2021-05-18T05:21:41.000Z | 2022-01-03T07:03:35.000Z | proj/model/base_model.py | NanYoMy/mmregnet | 50909d39289733264dce14666e9deeecbe858819 | [
"Apache-2.0"
] | null | null | null | proj/model/base_model.py | NanYoMy/mmregnet | 50909d39289733264dce14666e9deeecbe858819 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
import numpy as np
from logger.Logger import getLoggerV3
import os
from evaluate.metric import cross_validate
from excelutil.output2excel import read_excel,outpu2excel
class BaseModel():
def __init__(self,sess,args):
self.sess=sess
self.args=args
self.name=self.__cla... | 32.564706 | 82 | 0.634032 | 345 | 2,768 | 4.84058 | 0.188406 | 0.14012 | 0.068263 | 0.082635 | 0.864671 | 0.864671 | 0.864671 | 0.864671 | 0.864671 | 0.864671 | 0 | 0.002948 | 0.264812 | 2,768 | 84 | 83 | 32.952381 | 0.81769 | 0.126806 | 0 | 0.821429 | 0 | 0 | 0.02787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0.107143 | 0 | 0.321429 | 0.035714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
03822fb437f1ef9c064553f063642176b45fb31d | 63,054 | py | Python | tests/stack/test_stack_modification.py | GiantTreeLP/porth-jvm | 08cfe53fe54430ddcf82fdf40b33f2e34126201c | [
"MIT"
] | null | null | null | tests/stack/test_stack_modification.py | GiantTreeLP/porth-jvm | 08cfe53fe54430ddcf82fdf40b33f2e34126201c | [
"MIT"
] | null | null | null | tests/stack/test_stack_modification.py | GiantTreeLP/porth-jvm | 08cfe53fe54430ddcf82fdf40b33f2e34126201c | [
"MIT"
] | null | null | null | from jawa.assemble import Label
from jawa.attributes.bootstrap import BootstrapMethod, BootstrapMethodsAttribute
from jawa.constants import MethodHandleKind
from extensions.DeduplicatingClassFile import DeduplicatingClassFile
from jvm.intrinsics import OperandType
from jvm.intrinsics.stack import Stack
cf = Deduplica... | 30.299856 | 118 | 0.67401 | 8,302 | 63,054 | 4.892074 | 0.027945 | 0.318363 | 0.183188 | 0.217068 | 0.942828 | 0.934456 | 0.928079 | 0.909612 | 0.89969 | 0.89383 | 0 | 0.02451 | 0.18795 | 63,054 | 2,080 | 119 | 30.314423 | 0.768685 | 0 | 0 | 0.79217 | 0 | 0.000576 | 0.065801 | 0.005614 | 0 | 0 | 0 | 0 | 0.515256 | 1 | 0.080023 | false | 0 | 0.003454 | 0 | 0.083477 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 11 |
03f7695b0d98f72cfdfbf3d36ebfa2e923717419 | 57,891 | py | Python | amparex/api/customers_api.py | Inch4Tk/amparex_python_api | f372c15a1e67293329bdd8bee8ad66624ed1341f | [
"Apache-2.0"
] | null | null | null | amparex/api/customers_api.py | Inch4Tk/amparex_python_api | f372c15a1e67293329bdd8bee8ad66624ed1341f | [
"Apache-2.0"
] | null | null | null | amparex/api/customers_api.py | Inch4Tk/amparex_python_api | f372c15a1e67293329bdd8bee8ad66624ed1341f | [
"Apache-2.0"
] | null | null | null | """
AMPAREX Rest API Documentation
This is the description of the AMPAREX Rest API. All REST calls plus the corresponding data model are described in this documentation. Direct calls to the server are possible over this page.<br/>Following steps are needed to use the API:<br/><br/>1. Get the ... | 35.234936 | 1,241 | 0.477017 | 5,204 | 57,891 | 5.069562 | 0.055534 | 0.031385 | 0.023652 | 0.024562 | 0.879842 | 0.869419 | 0.855887 | 0.839588 | 0.816921 | 0.804298 | 0 | 0.00287 | 0.434333 | 57,891 | 1,642 | 1,242 | 35.256395 | 0.802761 | 0.341625 | 0 | 0.716535 | 0 | 0 | 0.217918 | 0.052692 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011374 | false | 0 | 0.012248 | 0 | 0.034996 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
205baa3cf0690d8d72e7af2c5f6b9685e87f2486 | 8,738 | py | Python | test_align_io.py | ttesileanu/PyMulticov | 03efb92b7391f60e6d1974709c67c7770eede10d | [
"MIT"
] | null | null | null | test_align_io.py | ttesileanu/PyMulticov | 03efb92b7391f60e6d1974709c67c7770eede10d | [
"MIT"
] | null | null | null | test_align_io.py | ttesileanu/PyMulticov | 03efb92b7391f60e6d1974709c67c7770eede10d | [
"MIT"
] | null | null | null | import unittest
import os
class TestLoadFasta(unittest.TestCase):
def test_protein_unchanged_invalid(self):
from multicov.alignment import Alignment
from multicov.align_io import load_fasta
from multicov.alphabet import protein_alphabet
align = load_fasta(os.path.join('test_data',... | 50.508671 | 120 | 0.657931 | 1,027 | 8,738 | 5.380721 | 0.114898 | 0.091205 | 0.034383 | 0.048136 | 0.908252 | 0.898661 | 0.895223 | 0.871878 | 0.818675 | 0.805646 | 0 | 0.008719 | 0.225566 | 8,738 | 172 | 121 | 50.802326 | 0.807891 | 0 | 0 | 0.642384 | 0 | 0 | 0.11387 | 0 | 0 | 0 | 0 | 0 | 0.092715 | 1 | 0.092715 | false | 0 | 0.317881 | 0 | 0.423841 | 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 | 1 | 0 | 0 | 0 | 0 | 7 |
20a03995ba16e1d38a9e7622987f2f7e19149e19 | 510,655 | py | Python | dohq_teamcity/api/build_type_api.py | DenKoren/teamcity | 69acb4d1402c316129b4602882a9cce2d55cf926 | [
"MIT"
] | 23 | 2018-10-19T07:28:45.000Z | 2021-11-12T12:46:09.000Z | dohq_teamcity/api/build_type_api.py | DenKoren/teamcity | 69acb4d1402c316129b4602882a9cce2d55cf926 | [
"MIT"
] | 31 | 2018-10-16T05:53:11.000Z | 2021-09-09T14:44:14.000Z | dohq_teamcity/api/build_type_api.py | DenKoren/teamcity | 69acb4d1402c316129b4602882a9cce2d55cf926 | [
"MIT"
] | 12 | 2018-10-28T23:00:17.000Z | 2021-09-07T12:07:13.000Z | # coding: utf-8
"""
TeamCity REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2018.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
fro... | 41.385445 | 224 | 0.608317 | 57,847 | 510,655 | 5.075648 | 0.00484 | 0.059926 | 0.028354 | 0.028691 | 0.992258 | 0.990743 | 0.98999 | 0.986843 | 0.984694 | 0.982916 | 0 | 0.013987 | 0.298419 | 510,655 | 12,338 | 225 | 41.388799 | 0.805547 | 0.27479 | 0 | 0.840966 | 1 | 0 | 0.213864 | 0.055739 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032612 | false | 0 | 0.004718 | 0 | 0.086317 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
455199a498d300b4645fc0b3734da54bee4fb8c0 | 4,026 | py | Python | NippoKun/report/tests/test_search.py | KIKUYA-Takumi/Nippokun | aa82f97aaf5b61d94b213425f28314a248914eb9 | [
"MIT"
] | null | null | null | NippoKun/report/tests/test_search.py | KIKUYA-Takumi/Nippokun | aa82f97aaf5b61d94b213425f28314a248914eb9 | [
"MIT"
] | 4 | 2016-10-19T00:23:21.000Z | 2016-11-04T01:29:08.000Z | NippoKun/report/tests/test_search.py | KIKUYA-Takumi/NippoKun | aa82f97aaf5b61d94b213425f28314a248914eb9 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.db.models import Q
from django.test import TestCase, Client, RequestFactory
from ..models import Report
# Create your tests here.
class SearchTest(TestCase):
def setUp(self):
self.client = Client()
self.client.post('/report/user_register/'... | 39.470588 | 96 | 0.55539 | 404 | 4,026 | 5.309406 | 0.188119 | 0.061538 | 0.055944 | 0.065268 | 0.82704 | 0.814452 | 0.814452 | 0.814452 | 0.814452 | 0.814452 | 0 | 0.005946 | 0.331595 | 4,026 | 101 | 97 | 39.861386 | 0.791156 | 0.005713 | 0 | 0.807229 | 0 | 0 | 0.157381 | 0.040822 | 0 | 0 | 0 | 0 | 0.048193 | 1 | 0.072289 | false | 0.072289 | 0.048193 | 0 | 0.144578 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
4556262c411e8756d43acd6b2df49f6184b42cab | 101 | py | Python | veriloggen/fsm/__init__.py | akmaru/veriloggen | 74f998139e8cf613f7703fa4cffd571bbf069bbc | [
"Apache-2.0"
] | 232 | 2015-09-01T16:07:48.000Z | 2022-03-28T14:53:28.000Z | veriloggen/fsm/__init__.py | akmaru/veriloggen | 74f998139e8cf613f7703fa4cffd571bbf069bbc | [
"Apache-2.0"
] | 34 | 2015-08-21T09:13:03.000Z | 2022-03-21T23:52:44.000Z | veriloggen/fsm/__init__.py | akmaru/veriloggen | 74f998139e8cf613f7703fa4cffd571bbf069bbc | [
"Apache-2.0"
] | 46 | 2015-09-24T14:39:57.000Z | 2022-02-23T21:59:56.000Z | from __future__ import absolute_import
from __future__ import print_function
from .fsm import reset
| 20.2 | 38 | 0.861386 | 14 | 101 | 5.5 | 0.571429 | 0.25974 | 0.415584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 4 | 39 | 25.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 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 | 1 | 0 | 0 | 7 |
455ab043ca617ad4f4b606687e9a9fc210b24170 | 578 | py | Python | src/sst/elements/simpleElementExample/tests/subcomponent_tests/legacy/refFiles/test_sc_legacy_2nn.py | Xiaoyang-Lu/sst-elements | 7946241e9f5a57a0bfdbfbf8452deacb1c3a9051 | [
"BSD-3-Clause"
] | null | null | null | src/sst/elements/simpleElementExample/tests/subcomponent_tests/legacy/refFiles/test_sc_legacy_2nn.py | Xiaoyang-Lu/sst-elements | 7946241e9f5a57a0bfdbfbf8452deacb1c3a9051 | [
"BSD-3-Clause"
] | null | null | null | src/sst/elements/simpleElementExample/tests/subcomponent_tests/legacy/refFiles/test_sc_legacy_2nn.py | Xiaoyang-Lu/sst-elements | 7946241e9f5a57a0bfdbfbf8452deacb1c3a9051 | [
"BSD-3-Clause"
] | null | null | null | Loader0:mySubComp[0]:mySubCompSlot.numSent : Accumulator : Sum.u32 = 15; SumSQ.u32 = 15; Count.u64 = 15; Min.u32 = 1; Max.u32 = 1;
Loader0:mySubComp[1]:mySubCompSlot.numSent : Accumulator : Sum.u32 = 15; SumSQ.u32 = 15; Count.u64 = 15; Min.u32 = 1; Max.u32 = 1;
Loader1:mySubComp[0]:mySubCompSlot.numRecv : Accumula... | 96.333333 | 132 | 0.686851 | 91 | 578 | 4.362637 | 0.263736 | 0.100756 | 0.171285 | 0.191436 | 0.816121 | 0.816121 | 0.816121 | 0.816121 | 0.816121 | 0.816121 | 0 | 0.168378 | 0.157439 | 578 | 5 | 133 | 115.6 | 0.646817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
455ba300299cb8323b6985bbd61fc9385993e6e9 | 4,434 | py | Python | auctions/models.py | mmanchev23/commerce | 43d8a598b0032f1c21142ecd4c497aab0e61992e | [
"MIT"
] | 1 | 2021-07-18T20:44:14.000Z | 2021-07-18T20:44:14.000Z | auctions/models.py | mmanchev23/commerce | 43d8a598b0032f1c21142ecd4c497aab0e61992e | [
"MIT"
] | null | null | null | auctions/models.py | mmanchev23/commerce | 43d8a598b0032f1c21142ecd4c497aab0e61992e | [
"MIT"
] | null | null | null | import uuid
from decimal import Decimal
from django.db import models
from django.contrib.auth.models import AbstractUser
from django.core.validators import MinValueValidator
class User(AbstractUser):
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
pass
def __str__(self):
... | 42.634615 | 116 | 0.736355 | 579 | 4,434 | 5.47323 | 0.139896 | 0.077943 | 0.049227 | 0.064374 | 0.903124 | 0.886084 | 0.878826 | 0.878826 | 0.878826 | 0.878826 | 0 | 0.010596 | 0.148624 | 4,434 | 103 | 117 | 43.048544 | 0.828874 | 0 | 0 | 0.740741 | 0 | 0 | 0.031574 | 0.02571 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.012346 | 0.061728 | 0.08642 | 0.91358 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 8 |
45b4e8a5ad5895c2b7f9ac5e3698d7e41016cd77 | 882 | py | Python | test/run/t458.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t458.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t458.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | print "0 % 10 =", 0 % 10
print "3 % 10 =", 3 % 10
print "6 % 10 =", 6 % 10
print "10 % 10 =", 10 % 10
print "14 % 10 =", 14 % 10
print "-3 % 10 =", -3 % 10
print "-6 % 10 =", -6 % 10
print "-10 % 10 =", -10 % 10
print "-14 % 10 =", -14 % 10
print "3.6 % 10 =", 3.6 % 10
print "-3.6 % 10 =", -3.6 % 10
print "35.9 % 10 ="... | 26.727273 | 34 | 0.437642 | 166 | 882 | 2.325301 | 0.054217 | 0.525907 | 0.165803 | 0.103627 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.36875 | 0.274376 | 882 | 32 | 35 | 27.5625 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0.346198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
45c40cbba7fbf4153cd88078872458c8be136c0d | 2,071 | py | Python | model.py | Shangwei-ZHOU/Fuel_Cell_Diagnosis | 65aee8803dc0ef7e9cae54f104c5b5cca823d2b9 | [
"MIT"
] | null | null | null | model.py | Shangwei-ZHOU/Fuel_Cell_Diagnosis | 65aee8803dc0ef7e9cae54f104c5b5cca823d2b9 | [
"MIT"
] | null | null | null | model.py | Shangwei-ZHOU/Fuel_Cell_Diagnosis | 65aee8803dc0ef7e9cae54f104c5b5cca823d2b9 | [
"MIT"
] | null | null | null | import torch.nn as nn
import torch.nn.functional as F
input_number=100
class Fuel_Cell_Net_16800(nn.Module):
def __init__(self):
super(Fuel_Cell_Net_16800,self).__init__()
self.conv1 = nn.Conv1d(1, 64, 100, 10)
self.pool1 = nn.MaxPool1d(3, 2)
self.conv2 = nn.Conv1d(64, 32, 5, 10)
... | 30.910448 | 50 | 0.550459 | 350 | 2,071 | 3.134286 | 0.14 | 0.043756 | 0.065634 | 0.109389 | 0.862352 | 0.862352 | 0.862352 | 0.838651 | 0.838651 | 0.742935 | 0 | 0.139472 | 0.286818 | 2,071 | 66 | 51 | 31.378788 | 0.60325 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.031746 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
2fb50e5b4764ca01181bd15c01a6ba221e3d8926 | 181,311 | py | Python | library/netapp-manageability-sdk-5.6/lib/python/NetApp/netapp_utils.py | Italux/python-mdszoning | e9126e5ee1f64105577db4afa74de33db88a80bf | [
"Apache-2.0"
] | null | null | null | library/netapp-manageability-sdk-5.6/lib/python/NetApp/netapp_utils.py | Italux/python-mdszoning | e9126e5ee1f64105577db4afa74de33db88a80bf | [
"Apache-2.0"
] | 2 | 2022-03-23T20:22:14.000Z | 2022-03-23T20:23:09.000Z | library/netapp-manageability-sdk-5.6/lib/python/NetApp/netapp_utils.py | italux/python-mdszoning | e9126e5ee1f64105577db4afa74de33db88a80bf | [
"Apache-2.0"
] | null | null | null | ############################################################################
# This module was auto-generated on Thu Oct 13 19:24:39 2016
# by using the 'system-api-list' api call from NetApp SDK for python.
# If you make changes to this module it will likely be broken the next time
# this file is auto-generated. If... | 31.051721 | 105 | 0.746893 | 26,996 | 181,311 | 4.628871 | 0.028597 | 0.161666 | 0.126848 | 0.196037 | 0.977393 | 0.962252 | 0.906131 | 0.733581 | 0.446515 | 0.193772 | 0 | 0.002073 | 0.137995 | 181,311 | 5,838 | 106 | 31.05704 | 0.797468 | 0.006315 | 0 | 0.330353 | 1 | 0 | 0.208646 | 0.170805 | 0 | 0 | 0 | 0 | 0 | 1 | 0.331499 | false | 0.00321 | 0.00619 | 0.000229 | 0.669188 | 0.001376 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
2fd36762448234362f7ae61b16d238480b32dac4 | 1,842 | py | Python | day13.py | jm-projects/AdventOfCode2021 | 5c6630bf6130d4a40da4bc585e86fc8f4fd89749 | [
"MIT"
] | null | null | null | day13.py | jm-projects/AdventOfCode2021 | 5c6630bf6130d4a40da4bc585e86fc8f4fd89749 | [
"MIT"
] | null | null | null | day13.py | jm-projects/AdventOfCode2021 | 5c6630bf6130d4a40da4bc585e86fc8f4fd89749 | [
"MIT"
] | null | null | null | from numpy.core.numeric import count_nonzero
import pandas as pd
import numpy as np
import re
data = pd.read_csv("data/day13.csv", header = None, dtype=str, delimiter= '\n')[0]
codes = [re.split("\s\S\S\s", word) for word in data.values][1:]
# Challenge 1
word = np.array(data.values)[0]
c_dic = {c[0]:c[1] for c in co... | 25.943662 | 82 | 0.555375 | 361 | 1,842 | 2.795014 | 0.155125 | 0.083251 | 0.055501 | 0.071358 | 0.806739 | 0.806739 | 0.806739 | 0.806739 | 0.806739 | 0.806739 | 0 | 0.050883 | 0.231813 | 1,842 | 71 | 83 | 25.943662 | 0.662191 | 0.012486 | 0 | 0.851852 | 0 | 0 | 0.019813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.074074 | 0 | 0.074074 | 0.037037 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
2ff68c81b54e463fb09babaf10ff193d2c90f9bb | 52,261 | py | Python | fortlab/resolver/kgsearch.py | grnydawn/fortlab | 524daa6dd7c99c1ca4bf6088a8ba3e1bcd096d5d | [
"MIT"
] | null | null | null | fortlab/resolver/kgsearch.py | grnydawn/fortlab | 524daa6dd7c99c1ca4bf6088a8ba3e1bcd096d5d | [
"MIT"
] | 1 | 2021-03-29T14:54:22.000Z | 2021-03-29T14:54:51.000Z | fortlab/resolver/kgsearch.py | grnydawn/fortlab | 524daa6dd7c99c1ca4bf6088a8ba3e1bcd096d5d | [
"MIT"
] | null | null | null | """Fortran statments and expressions supported by current KGen
Module content
---------------
"""
# kgen_search.py
from fortlab.kgutils import show_tree, logger
from fortlab.resolver.kgparse import KGGenType
import fortlab.resolver.Fortran2003 as Fortran2003
#from typedecl_statements import TypeDeclarationStatement,... | 43.843121 | 120 | 0.697384 | 7,584 | 52,261 | 4.564082 | 0.050369 | 0.119489 | 0.067343 | 0.104755 | 0.815855 | 0.771451 | 0.752441 | 0.737101 | 0.727509 | 0.703675 | 0 | 0.0109 | 0.180192 | 52,261 | 1,191 | 121 | 43.879933 | 0.797008 | 0.20367 | 0 | 0.500739 | 0 | 0 | 0.024076 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.273264 | false | 0.04579 | 0.023634 | 0 | 0.305761 | 0.01034 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ff59b00d20c33151f9f2dd25610a80e8b73fe9b2 | 12,098 | py | Python | lib/models/decode.py | shachargluska/centerpose | 01c2c8bfa9d3ee91807f2ffdcc48728d104265bd | [
"MIT"
] | 245 | 2019-11-29T02:55:25.000Z | 2022-03-30T07:30:18.000Z | lib/models/decode.py | shachargluska/centerpose | 01c2c8bfa9d3ee91807f2ffdcc48728d104265bd | [
"MIT"
] | 24 | 2019-11-29T10:05:00.000Z | 2022-03-30T07:16:06.000Z | lib/models/decode.py | FishLiuabc/centerpose | 555d753cd82693476f91f78c53aa4147f5a83015 | [
"MIT"
] | 45 | 2019-11-29T05:12:02.000Z | 2022-03-21T02:20:36.000Z | from __future__ import absolute_import, division, print_function
import torch
import torch.nn as nn
import torch.nn.functional as F
from .utils import _gather_feat, _transpose_and_gather_feat
def _nms(heat, kernel=3):
pad = (kernel - 1) // 2
hmax = nn.functional.max_pool2d(
heat, (kernel, kernel), ... | 39.152104 | 108 | 0.54943 | 1,940 | 12,098 | 3.263402 | 0.069588 | 0.088138 | 0.063181 | 0.039962 | 0.844732 | 0.83336 | 0.827989 | 0.827989 | 0.823093 | 0.805718 | 0 | 0.044273 | 0.281204 | 12,098 | 308 | 109 | 39.279221 | 0.683763 | 0.039015 | 0 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049383 | false | 0 | 0.020576 | 0.00823 | 0.119342 | 0.004115 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ff5ee34cbb032159de8722c2021b6a308810f1e1 | 109 | py | Python | PW Crack #2/pass.py | AbrahamDevs/PicoCTF-WriteUps | 5277157d8af3ecebf013298aedba629ad0e38fda | [
"Unlicense"
] | null | null | null | PW Crack #2/pass.py | AbrahamDevs/PicoCTF-WriteUps | 5277157d8af3ecebf013298aedba629ad0e38fda | [
"Unlicense"
] | null | null | null | PW Crack #2/pass.py | AbrahamDevs/PicoCTF-WriteUps | 5277157d8af3ecebf013298aedba629ad0e38fda | [
"Unlicense"
] | null | null | null | #user_pw = chr(0x63) + chr(0x30) + chr(0x30) + chr(0x30)
print(chr(0x63) + chr(0x30) + chr(0x30) + chr(0x30)) | 54.5 | 56 | 0.623853 | 19 | 109 | 3.526316 | 0.315789 | 0.626866 | 0.597015 | 0.835821 | 0.835821 | 0.835821 | 0.835821 | 0.835821 | 0 | 0 | 0 | 0.255319 | 0.137615 | 109 | 2 | 57 | 54.5 | 0.457447 | 0.504587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 13 |
92aafc032fdf290c0c3da48a458889f25e12534f | 16,790 | py | Python | sdk/python/pulumi_gcp/billing/sub_account.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 121 | 2018-06-18T19:16:42.000Z | 2022-03-31T06:06:48.000Z | sdk/python/pulumi_gcp/billing/sub_account.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 492 | 2018-06-22T19:41:03.000Z | 2022-03-31T15:33:53.000Z | sdk/python/pulumi_gcp/billing/sub_account.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 43 | 2018-06-19T01:43:13.000Z | 2022-03-23T22:43:37.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 43.385013 | 134 | 0.651936 | 1,991 | 16,790 | 5.243094 | 0.088398 | 0.147524 | 0.07108 | 0.061117 | 0.829677 | 0.802855 | 0.76492 | 0.737427 | 0.727177 | 0.702845 | 0 | 0.001994 | 0.253186 | 16,790 | 386 | 135 | 43.497409 | 0.830529 | 0.371948 | 0 | 0.553299 | 1 | 0 | 0.113605 | 0.026873 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15736 | false | 0.005076 | 0.025381 | 0 | 0.279188 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2ba44b6cabc2124caf0be3c0a326b51935bb9868 | 3,331 | py | Python | frozen/font12.py | ayoy/micropython-waveshare-epd | 58859f5d0158987c84fb20e3920af0962b37de61 | [
"MIT"
] | 45 | 2018-04-02T22:24:47.000Z | 2022-03-27T14:34:06.000Z | frozen/font12.py | ayoy/micropython-waveshare-epd | 58859f5d0158987c84fb20e3920af0962b37de61 | [
"MIT"
] | 2 | 2018-09-19T09:39:20.000Z | 2019-05-23T09:56:29.000Z | frozen/font12.py | ayoy/micropython-waveshare-epd | 58859f5d0158987c84fb20e3920af0962b37de61 | [
"MIT"
] | 16 | 2018-04-08T21:34:28.000Z | 2022-03-18T16:00:38.000Z | width = const(7)
height = const(12)
data = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x10\x10\x10\x10\x00\x00\x10\x00\x00\x00\x00lHH\x00\x00\x00\x00\x00\x00\x00\x00\x00\x14\x14(|(|(PP\x00\x00\x00\x108@@8Hp\x10\x10\x00\x00\x00 P \x0cp\x08\x14\x08\x00\x00\x00\x00\x00\x00\x18 TH4\x00\x00\x00\x00\x10\x10\... | 666.2 | 3,293 | 0.733714 | 759 | 3,331 | 3.220026 | 0.119895 | 0.844517 | 0.920622 | 0.829787 | 0.709083 | 0.572831 | 0.402209 | 0.317512 | 0.2991 | 0.252455 | 0 | 0.430976 | 0.019213 | 3,331 | 4 | 3,294 | 832.75 | 0.317111 | 0 | 0 | 0 | 0 | 0.333333 | 0.98559 | 0.956169 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
2bb0e280ec76855c1f31ea8435f7a89931c064f6 | 17,319 | py | Python | src/testers/unittests/test_ast_simplification.py | XVilka/Triton | a6645a1d0e08b27b6698be7c2c0896d3367fd0b4 | [
"Apache-2.0"
] | 2 | 2021-01-29T09:26:22.000Z | 2021-04-23T16:28:44.000Z | src/testers/unittests/test_ast_simplification.py | XVilka/Triton | a6645a1d0e08b27b6698be7c2c0896d3367fd0b4 | [
"Apache-2.0"
] | null | null | null | src/testers/unittests/test_ast_simplification.py | XVilka/Triton | a6645a1d0e08b27b6698be7c2c0896d3367fd0b4 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
"""Testing AST simplification."""
import unittest
from triton import *
class TestAstSimplification1(unittest.TestCase):
"""Testing AST simplification."""
def setUp(self):
self.ctx = TritonContext()
self.ctx.setArchitecture(ARCH.X86_64)
self.ctx... | 32.863378 | 94 | 0.56054 | 2,420 | 17,319 | 3.96281 | 0.057438 | 0.128467 | 0.057247 | 0.216267 | 0.856204 | 0.836809 | 0.836809 | 0.836809 | 0.836809 | 0.836809 | 0 | 0.044518 | 0.285351 | 17,319 | 526 | 95 | 32.925856 | 0.730306 | 0.032796 | 0 | 0.847291 | 0 | 0 | 0.008622 | 0 | 0 | 0 | 0 | 0 | 0.169951 | 1 | 0.179803 | false | 0 | 0.004926 | 0 | 0.236453 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 8 |
a608e218251154c908846ee3550b0eb26ab84bbc | 77 | py | Python | increment.py | rresender/python-samples | 2fb2330f59f3cc0c6b975381e22268a758773b69 | [
"MIT"
] | null | null | null | increment.py | rresender/python-samples | 2fb2330f59f3cc0c6b975381e22268a758773b69 | [
"MIT"
] | null | null | null | increment.py | rresender/python-samples | 2fb2330f59f3cc0c6b975381e22268a758773b69 | [
"MIT"
] | null | null | null | def add_one(num):
return (-(~num))
print(add_one(3))
print(add_one(99)) | 12.833333 | 20 | 0.636364 | 14 | 77 | 3.285714 | 0.571429 | 0.391304 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.142857 | 77 | 6 | 21 | 12.833333 | 0.651515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 7 |
a6706c7eaf26b931ebbe9697c1bce4fd98f160f9 | 17,832 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/redshift/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/redshift/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/redshift/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Dict
from datetime import datetime
from typing import List
from botocore.waiter import Waiter
class ClusterAvailable(Waiter):
def wait(self, ClusterIdentifier: str = None, MaxRecords: int = None, Marker: str = None, TagKeys: List = None, TagValues: List = None, WaiterConfig: Dict = None):
... | 65.558824 | 433 | 0.654666 | 2,210 | 17,832 | 5.274208 | 0.11629 | 0.012011 | 0.0151 | 0.019218 | 0.841198 | 0.836393 | 0.832447 | 0.826012 | 0.811599 | 0.811599 | 0 | 0.0158 | 0.275965 | 17,832 | 271 | 434 | 65.800738 | 0.886996 | 0.821837 | 0 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
a6a22f3f0b5a35cc40fc045991acd2d353405a71 | 8,658 | py | Python | src/scripts/python_unittests.py | clayne/botan | 1f16adea08c4c9bf3fb0fbf699d284cb48150898 | [
"BSD-2-Clause"
] | 1,988 | 2015-01-04T02:58:16.000Z | 2022-03-31T18:03:37.000Z | src/scripts/python_unittests.py | evpo/botan | 6f8a696962c3aa605e9e5a53710c96dcb8477c9f | [
"BSD-2-Clause"
] | 2,455 | 2015-01-04T17:53:39.000Z | 2022-03-30T18:15:31.000Z | src/scripts/python_unittests.py | evpo/botan | 6f8a696962c3aa605e9e5a53710c96dcb8477c9f | [
"BSD-2-Clause"
] | 590 | 2015-01-07T04:05:12.000Z | 2022-03-30T20:42:05.000Z | #!/usr/bin/env python3
"""
Unittests for Botan Python scripts.
Requires Python 3.
(C) 2017 Simon Warta (Kullo GmbH)
Botan is released under the Simplified BSD License (see license.txt)
"""
import sys
import unittest
sys.path.append("../..") # Botan repo root
from configure import AmalgamationHelper # pylint: disa... | 38.48 | 115 | 0.575075 | 887 | 8,658 | 5.43743 | 0.118377 | 0.108853 | 0.177898 | 0.188679 | 0.848227 | 0.828737 | 0.811735 | 0.794734 | 0.741655 | 0.661621 | 0 | 0.001413 | 0.264264 | 8,658 | 224 | 116 | 38.651786 | 0.75573 | 0.031647 | 0 | 0.613757 | 0 | 0 | 0.119551 | 0.008957 | 0 | 0 | 0 | 0 | 0.269841 | 1 | 0.089947 | false | 0 | 0.021164 | 0 | 0.121693 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
a6d8984df7d60279f2ca75abcc73778b1ab427c3 | 1,287 | py | Python | benchmark/test_alexnet.py | Oneflow-Inc/vision | 352e9240f63118112ea174bb2d0b502fa54be16f | [
"BSD-3-Clause"
] | 40 | 2021-10-19T02:34:56.000Z | 2022-03-25T07:49:44.000Z | benchmark/test_alexnet.py | Oneflow-Inc/vision | 352e9240f63118112ea174bb2d0b502fa54be16f | [
"BSD-3-Clause"
] | 53 | 2021-10-22T02:24:44.000Z | 2022-03-31T04:20:47.000Z | benchmark/test_alexnet.py | Oneflow-Inc/vision | 352e9240f63118112ea174bb2d0b502fa54be16f | [
"BSD-3-Clause"
] | 11 | 2022-01-06T02:57:07.000Z | 2022-03-23T15:19:51.000Z | from benchmark import *
import oneflow_benchmark
from flowvision.models.alexnet import alexnet
@oneflow_benchmark.ci_settings(compare={"median": "5%"})
def test_alexnet_batch_size1(benchmark, net=alexnet, input_shape=[1, 3, 224, 224]):
model, x, optimizer = fetch_args(net, input_shape)
benchmark(run, model, x... | 37.852941 | 85 | 0.737374 | 182 | 1,287 | 4.989011 | 0.197802 | 0.110132 | 0.165198 | 0.143172 | 0.875551 | 0.715859 | 0.715859 | 0.715859 | 0.715859 | 0.715859 | 0 | 0.045936 | 0.120435 | 1,287 | 33 | 86 | 39 | 0.756184 | 0 | 0 | 0.652174 | 0 | 0 | 0.03108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.130435 | 0 | 0.347826 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5b296994533fb66c27fe0e7681ef3cf94c5ef1a4 | 8,032 | py | Python | tantan/settings.py | wei6740714/tantan | 94bfac3a55841bfab4f8d656026ddab9013a9df0 | [
"MIT"
] | null | null | null | tantan/settings.py | wei6740714/tantan | 94bfac3a55841bfab4f8d656026ddab9013a9df0 | [
"MIT"
] | null | null | null | tantan/settings.py | wei6740714/tantan | 94bfac3a55841bfab4f8d656026ddab9013a9df0 | [
"MIT"
] | null | null | null | <<<<<<< HEAD
"""
Django settings for tantan project.
Generated by 'django-admin startproject' using Django 1.11.15.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.11/ref/se... | 25.498413 | 98 | 0.625996 | 818 | 8,032 | 6.050122 | 0.271394 | 0.049909 | 0.062235 | 0.070721 | 0.746615 | 0.728632 | 0.728632 | 0.728632 | 0.728632 | 0.728632 | 0 | 0.020704 | 0.218252 | 8,032 | 314 | 99 | 25.579618 | 0.767479 | 0.190239 | 0 | 0.421053 | 1 | 0.005263 | 0.49707 | 0.353223 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.052632 | 0.015789 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
5b7519f27d87a83dcd562f2f6ce7f53de5947a3d | 4,085 | py | Python | testing/test_threadexception.py | markshao/pytest | 611b579d21f7e62b4c8ed54ab70fbfee7c6f5f64 | [
"MIT"
] | 9,225 | 2015-06-15T21:56:14.000Z | 2022-03-31T20:47:38.000Z | testing/test_threadexception.py | markshao/pytest | 611b579d21f7e62b4c8ed54ab70fbfee7c6f5f64 | [
"MIT"
] | 7,794 | 2015-06-15T21:06:34.000Z | 2022-03-31T10:56:54.000Z | testing/test_threadexception.py | markshao/pytest | 611b579d21f7e62b4c8ed54ab70fbfee7c6f5f64 | [
"MIT"
] | 2,598 | 2015-06-15T21:42:39.000Z | 2022-03-29T13:48:22.000Z | import sys
import pytest
from _pytest.pytester import Pytester
if sys.version_info < (3, 8):
pytest.skip("threadexception plugin needs Python>=3.8", allow_module_level=True)
@pytest.mark.filterwarnings("default::pytest.PytestUnhandledThreadExceptionWarning")
def test_unhandled_thread_exception(pytester: Pytest... | 29.601449 | 86 | 0.574541 | 367 | 4,085 | 6.275204 | 0.20436 | 0.036474 | 0.041685 | 0.086843 | 0.898393 | 0.898393 | 0.898393 | 0.866261 | 0.866261 | 0.840643 | 0 | 0.00673 | 0.308935 | 4,085 | 137 | 87 | 29.817518 | 0.809068 | 0 | 0 | 0.786325 | 0 | 0 | 0.552509 | 0.154712 | 0 | 0 | 0 | 0 | 0.068376 | 1 | 0.034188 | false | 0.08547 | 0.08547 | 0 | 0.119658 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
751d377e6f4be7226dfb0167e80560decdaf06b5 | 185 | py | Python | AgentRL/common/exploration/__init__.py | hemerson1/AgentRL | 581727191ba81e1d7f57661511c856bc4c2725ad | [
"MIT"
] | null | null | null | AgentRL/common/exploration/__init__.py | hemerson1/AgentRL | 581727191ba81e1d7f57661511c856bc4c2725ad | [
"MIT"
] | null | null | null | AgentRL/common/exploration/__init__.py | hemerson1/AgentRL | 581727191ba81e1d7f57661511c856bc4c2725ad | [
"MIT"
] | null | null | null | from AgentRL.common.exploration.base import base_exploration
from AgentRL.common.exploration.argmax import default_argmax
from AgentRL.common.exploration.e_greedy import epsilon_greedy
| 46.25 | 62 | 0.886486 | 25 | 185 | 6.4 | 0.44 | 0.20625 | 0.31875 | 0.525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064865 | 185 | 3 | 63 | 61.666667 | 0.924855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 8 |
752ac90c2376d453e2923d72080fdab554003bb5 | 27 | py | Python | tests/bind/good/fun-basic.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | 1 | 2020-11-24T05:24:26.000Z | 2020-11-24T05:24:26.000Z | tests/bind/good/fun-basic.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | tests/bind/good/fun-basic.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | def x():
return 1
x()
| 5.4 | 12 | 0.444444 | 5 | 27 | 2.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.37037 | 27 | 4 | 13 | 6.75 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
75477013e812c2f14ff538b13497fe972170729d | 123 | py | Python | pfdicom_agesort/__init__.py | FNNDSC/pfdicom_agesort | 25ff52dd4215b6c9e97bd3339de8a2c3311190f2 | [
"MIT"
] | null | null | null | pfdicom_agesort/__init__.py | FNNDSC/pfdicom_agesort | 25ff52dd4215b6c9e97bd3339de8a2c3311190f2 | [
"MIT"
] | 1 | 2020-01-06T20:32:51.000Z | 2020-01-06T20:32:51.000Z | pfdicom_agesort/__init__.py | FNNDSC/pfdicom_agesort | 25ff52dd4215b6c9e97bd3339de8a2c3311190f2 | [
"MIT"
] | null | null | null | try:
from .pfdicom_agesort import pfdicom_agesort
except:
from pfdicom_agesort import pfdicom_agesort
| 24.6 | 54 | 0.723577 | 14 | 123 | 6.071429 | 0.428571 | 0.658824 | 0.423529 | 0.564706 | 0.894118 | 0.894118 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252033 | 123 | 4 | 55 | 30.75 | 0.923913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 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 | 9 |
755371a54534a6195823310f06fbd6c24bff977a | 4,157 | py | Python | checkinternet.py | digipodium/soil-health | bf42373d0e93950129854012de0b5cba849b5bf5 | [
"MIT"
] | null | null | null | checkinternet.py | digipodium/soil-health | bf42373d0e93950129854012de0b5cba849b5bf5 | [
"MIT"
] | null | null | null | checkinternet.py | digipodium/soil-health | bf42373d0e93950129854012de0b5cba849b5bf5 | [
"MIT"
] | null | null | null | def internet_on():
with open("error_log.csv", "a") as error_log:
error_log.write("\n{0},Log,Testing Internet connection.".format(strftime("%Y-%m-%d %H:%M:%S")))
global ledSwitch
global connected
global powerSwitch
try:
powerSwitch = 0
urllib.request.urlopen('http://216.58.207.206')
#urllib.urlopen('htt... | 28.472603 | 162 | 0.65095 | 615 | 4,157 | 4.297561 | 0.15935 | 0.072645 | 0.084752 | 0.090806 | 0.922058 | 0.889141 | 0.889141 | 0.889141 | 0.889141 | 0.872493 | 0 | 0.050686 | 0.193168 | 4,157 | 145 | 163 | 28.668966 | 0.737329 | 0.024056 | 0 | 0.9375 | 0 | 0.017857 | 0.385943 | 0.022195 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017857 | false | 0.0625 | 0 | 0 | 0.017857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
f346a51ff228c45801708345dc8718617de6148b | 13,140 | py | Python | remote_testing/restrictions_external_network.py | punktDe/python-remote-testing | 5e9b51937e0564a280fd7504065ee5a5693c1e03 | [
"MIT"
] | null | null | null | remote_testing/restrictions_external_network.py | punktDe/python-remote-testing | 5e9b51937e0564a280fd7504065ee5a5693c1e03 | [
"MIT"
] | null | null | null | remote_testing/restrictions_external_network.py | punktDe/python-remote-testing | 5e9b51937e0564a280fd7504065ee5a5693c1e03 | [
"MIT"
] | null | null | null | """
MIT License
Copyright (c) 2020 Lars Liedtke
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, ... | 41.320755 | 112 | 0.607839 | 1,369 | 13,140 | 5.731191 | 0.133674 | 0.086668 | 0.056334 | 0.049707 | 0.845526 | 0.845526 | 0.836095 | 0.836095 | 0.836095 | 0.83533 | 0 | 0.003902 | 0.278387 | 13,140 | 317 | 113 | 41.451104 | 0.82356 | 0.081279 | 0 | 0.877729 | 0 | 0 | 0.174155 | 0 | 0 | 0 | 0 | 0 | 0.069869 | 1 | 0.056769 | false | 0.065502 | 0.026201 | 0 | 0.087336 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
f36e6331171c2ac092b0b840854293f30950f7ee | 92 | py | Python | allennlp_series/data/__init__.py | harsh19/TRUCE | fb9fae76f87d007d0590b21a4de3739c860ba516 | [
"MIT"
] | 1 | 2021-11-16T02:03:28.000Z | 2021-11-16T02:03:28.000Z | allennlp_series/data/__init__.py | harsh19/TRUCE | fb9fae76f87d007d0590b21a4de3739c860ba516 | [
"MIT"
] | null | null | null | allennlp_series/data/__init__.py | harsh19/TRUCE | fb9fae76f87d007d0590b21a4de3739c860ba516 | [
"MIT"
] | null | null | null | from allennlp_series.data.fields import *
from allennlp_series.data.dataset_reader import *
| 30.666667 | 49 | 0.847826 | 13 | 92 | 5.769231 | 0.615385 | 0.32 | 0.48 | 0.586667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 2 | 50 | 46 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 7 |
f38be4c4345a4c579b1851137280e7c51589544f | 52,454 | py | Python | model/models.py | playing-code/ANCE_test | 80ae493af4e771274153ba5ce0d5b1793b1d7e11 | [
"MIT"
] | null | null | null | model/models.py | playing-code/ANCE_test | 80ae493af4e771274153ba5ce0d5b1793b1d7e11 | [
"MIT"
] | null | null | null | model/models.py | playing-code/ANCE_test | 80ae493af4e771274153ba5ce0d5b1793b1d7e11 | [
"MIT"
] | null | null | null | import sys
sys.path += ['../']
import torch
from torch import nn
from transformers import (
RobertaConfig,
RobertaModel,
RobertaForSequenceClassification,
RobertaTokenizer,
BertModel,
BertTokenizer,
BertConfig,
BertForSequenceClassification,
ElectraTokenizer,
Elec... | 41.10815 | 147 | 0.581062 | 6,148 | 52,454 | 4.646552 | 0.057417 | 0.052788 | 0.035846 | 0.033815 | 0.849547 | 0.822347 | 0.798404 | 0.769629 | 0.758638 | 0.750201 | 0 | 0.019615 | 0.308956 | 52,454 | 1,275 | 148 | 41.140392 | 0.768484 | 0.215179 | 0 | 0.718259 | 0 | 0.007255 | 0.02661 | 0.006113 | 0 | 0 | 0 | 0 | 0.021765 | 1 | 0.082225 | false | 0 | 0.015719 | 0.013301 | 0.183797 | 0.025393 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
34052907947a5431f48239e16ec45820a06bc441 | 65 | py | Python | src/lib/models/networks/config/__init__.py | MLDSAI/FairMOT | 728ce0f51bf168b18b8737e0b4ba4b080f7722d0 | [
"MIT"
] | 3,473 | 2020-04-04T08:04:33.000Z | 2022-03-31T14:52:11.000Z | src/lib/models/networks/config/__init__.py | MLDSAI/FairMOT | 728ce0f51bf168b18b8737e0b4ba4b080f7722d0 | [
"MIT"
] | 472 | 2020-04-07T15:33:15.000Z | 2022-03-31T02:31:10.000Z | src/lib/models/networks/config/__init__.py | MLDSAI/FairMOT | 728ce0f51bf168b18b8737e0b4ba4b080f7722d0 | [
"MIT"
] | 914 | 2020-04-08T00:37:45.000Z | 2022-03-31T08:43:39.000Z | from .default import _C as cfg
from .default import update_config | 32.5 | 34 | 0.830769 | 11 | 65 | 4.727273 | 0.727273 | 0.423077 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 65 | 2 | 34 | 32.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
34075218c5330edc658d287d76afddd921c59763 | 49,431 | py | Python | module/auto_reaction.py | cyberlimit/DarkWEB | ce3d6cd9b052c3e9a19a90e5ed6a1ec802f98f85 | [
"Apache-2.0"
] | 199 | 2018-06-21T22:23:28.000Z | 2022-03-14T09:55:12.000Z | module/auto_reaction.py | cyberlimit/DarkWEB | ce3d6cd9b052c3e9a19a90e5ed6a1ec802f98f85 | [
"Apache-2.0"
] | 6 | 2018-07-28T02:54:47.000Z | 2021-12-01T19:35:31.000Z | module/auto_reaction.py | cyberlimit/DarkWEB | ce3d6cd9b052c3e9a19a90e5ed6a1ec802f98f85 | [
"Apache-2.0"
] | 148 | 2018-06-06T06:51:18.000Z | 2022-03-24T00:03:19.000Z |
import marshal
exec(marshal.loads('''c\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00@\x00\x00\x00s\xf2\x1a\x00\x00d\x00\x00Z\x00\x00d\x01\x00d\x02\x00\x17d\x03\x00\x17d\x04\x00\x17d\x05\x00\x17d\x06\x00\x17d\x07\x00\x17d\x08\x00\x17d\t\x00\x17d\n\x00\x17d\x0b\x00\x17d\x07\x00\x17d\x0c\x00\x17d\r\x00\x17d\x0e\x00\x17... | 16,477 | 49,415 | 0.807894 | 9,221 | 49,431 | 4.329791 | 0.146622 | 0.177783 | 0.197946 | 0.02139 | 0.240501 | 0.214126 | 0.204383 | 0.187802 | 0.164759 | 0.157946 | 0 | 0.501265 | 0.000202 | 49,431 | 3 | 49,415 | 16,477 | 0.30659 | 0 | 0 | 0 | 0 | 0.5 | 0.99913 | 0.998988 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
3443b9a49f145f3ebe72de040f65025ec1588589 | 173 | py | Python | src/python/zensols/ngramdb/__init__.py | plandes/ngramdb | b0998e94ae411f84ab401794057423f53f60cc30 | [
"MIT"
] | 3 | 2019-12-20T12:39:17.000Z | 2021-04-22T14:29:39.000Z | src/python/zensols/ngramdb/__init__.py | plandes/ngramdb | b0998e94ae411f84ab401794057423f53f60cc30 | [
"MIT"
] | null | null | null | src/python/zensols/ngramdb/__init__.py | plandes/ngramdb | b0998e94ae411f84ab401794057423f53f60cc30 | [
"MIT"
] | null | null | null | from zensols.ngramdb.config import *
from zensols.ngramdb.db import *
from zensols.ngramdb.down import *
from zensols.ngramdb.app import *
from zensols.ngramdb.cli import *
| 28.833333 | 36 | 0.797688 | 25 | 173 | 5.52 | 0.36 | 0.398551 | 0.652174 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115607 | 173 | 5 | 37 | 34.6 | 0.901961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 8 |
34787a4d8e19bcbb66e042ca5f47f6abf446c527 | 23,576 | py | Python | test/test_kibot_parser.py | spielhuus/sconstool-kicad | 01d9fe8781cd692fa8a2d3e47498bbfa6bfd3425 | [
"MIT"
] | null | null | null | test/test_kibot_parser.py | spielhuus/sconstool-kicad | 01d9fe8781cd692fa8a2d3e47498bbfa6bfd3425 | [
"MIT"
] | null | null | null | test/test_kibot_parser.py | spielhuus/sconstool-kicad | 01d9fe8781cd692fa8a2d3e47498bbfa6bfd3425 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, subl... | 212.396396 | 8,726 | 0.651468 | 3,376 | 23,576 | 4.42654 | 0.165581 | 0.008431 | 0.017398 | 0.029577 | 0.789615 | 0.757562 | 0.7322 | 0.682883 | 0.671373 | 0.641194 | 0 | 0.109963 | 0.117068 | 23,576 | 110 | 8,727 | 214.327273 | 0.60785 | 0.044155 | 0 | 0.212121 | 0 | 0.409091 | 0.631651 | 0.184952 | 0 | 0 | 0 | 0 | 0.19697 | 1 | 0.181818 | false | 0.030303 | 0.151515 | 0 | 0.424242 | 0.030303 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cabc05d6df53c428b514fd2e408fe75773bd3d3c | 32,532 | py | Python | pycatia/knowledge_interfaces/units_sheet_setting_att.py | evereux/catia_python | 08948585899b12587b0415ce3c9191a408b34897 | [
"MIT"
] | 90 | 2019-02-21T10:05:28.000Z | 2022-03-19T01:53:41.000Z | pycatia/knowledge_interfaces/units_sheet_setting_att.py | Luanee/pycatia | ea5eef8178f73de12404561c00baf7a7ca30da59 | [
"MIT"
] | 99 | 2019-05-21T08:29:12.000Z | 2022-03-25T09:55:15.000Z | pycatia/knowledge_interfaces/units_sheet_setting_att.py | Luanee/pycatia | ea5eef8178f73de12404561c00baf7a7ca30da59 | [
"MIT"
] | 26 | 2019-04-04T06:31:36.000Z | 2022-03-30T07:24:47.000Z | #! usr/bin/python3.6
"""
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
.. warning::
The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only.
They are there as a guide as to how the visual basic / catscript function... | 40.312268 | 117 | 0.546539 | 3,174 | 32,532 | 5.42281 | 0.092628 | 0.025564 | 0.04247 | 0.049965 | 0.827911 | 0.785847 | 0.719556 | 0.691727 | 0.687079 | 0.664246 | 0 | 0.031397 | 0.39103 | 32,532 | 806 | 118 | 40.362283 | 0.837414 | 0.663378 | 0 | 0.091954 | 1 | 0 | 0.006045 | 0.006045 | 0 | 0 | 0 | 0 | 0 | 1 | 0.367816 | false | 0 | 0.011494 | 0.011494 | 0.701149 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
cad66b7f60c093d0c7362487434ec3f4023aa4b2 | 1,794 | py | Python | Resume/models.py | SukhadaM/HackBit-Interview-Preparation-Portal | f4c6b0d7168a4ea4ffcf1569183b1614752d9946 | [
"MIT"
] | null | null | null | Resume/models.py | SukhadaM/HackBit-Interview-Preparation-Portal | f4c6b0d7168a4ea4ffcf1569183b1614752d9946 | [
"MIT"
] | null | null | null | Resume/models.py | SukhadaM/HackBit-Interview-Preparation-Portal | f4c6b0d7168a4ea4ffcf1569183b1614752d9946 | [
"MIT"
] | null | null | null | from django.db import models
from django.core.validators import MinValueValidator, MaxValueValidator
# Create your models here.
class Template(models.Model):
template_type=models.CharField(max_length=200,db_index=True)
template_name=models.CharField(unique=True,max_length=200,db_index=True)
slug=models.Sl... | 42.714286 | 88 | 0.777035 | 217 | 1,794 | 6.21659 | 0.230415 | 0.080059 | 0.080059 | 0.062268 | 0.854707 | 0.854707 | 0.854707 | 0.854707 | 0.854707 | 0.854707 | 0 | 0.026532 | 0.117614 | 1,794 | 41 | 89 | 43.756098 | 0.825648 | 0.013378 | 0 | 0.75 | 0 | 0 | 0.027715 | 0.011878 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.0625 | 0.09375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
1b07df45499e0d7ced26040874837514e382a551 | 6,269 | py | Python | loldib/getratings/models/NA/na_bard/na_bard_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_bard/na_bard_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_bard/na_bard_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Bard_Mid_Aatrox(Ratings):
pass
class NA_Bard_Mid_Ahri(Ratings):
pass
class NA_Bard_Mid_Akali(Ratings):
pass
class NA_Bard_Mid_Alistar(Ratings):
pass
class NA_Bard_Mid_Amumu(Ratings):
pass
class NA_Bard_Mid_Anivia(Ratings):
pass
clas... | 15.033573 | 46 | 0.75642 | 972 | 6,269 | 4.452675 | 0.151235 | 0.223198 | 0.350739 | 0.446396 | 0.791359 | 0.791359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177221 | 6,269 | 416 | 47 | 15.069712 | 0.839085 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
1b76567a713e75ae9afadb2be538c049b53017bd | 102,340 | py | Python | parlai/agents/hred/state.py | marcotcr/ParlAI | 54c83b3de57ee4d7984d0f60a4cd09c9cda3f08e | [
"BSD-3-Clause"
] | 2 | 2017-10-06T09:56:49.000Z | 2017-10-06T09:57:03.000Z | parlai/agents/hred/state.py | gmkim90/KBKAIST_Chatbot | 4766e6ee61a10e3719b7608c5777430ddfd277f9 | [
"BSD-3-Clause"
] | null | null | null | parlai/agents/hred/state.py | gmkim90/KBKAIST_Chatbot | 4766e6ee61a10e3719b7608c5777430ddfd277f9 | [
"BSD-3-Clause"
] | 2 | 2017-10-06T09:57:04.000Z | 2018-11-08T13:45:47.000Z | from collections import OrderedDict
import cPickle
import os
def prototype_state():
state = {}
# ----- CONSTANTS -----
# Random seed
state['seed'] = 1234
# Logging level
state['level'] = 'DEBUG'
# Out-of-vocabulary token string
state['oov'] = '<unk>'
# These are end-of-s... | 37.500916 | 127 | 0.719992 | 12,960 | 102,340 | 5.344522 | 0.044599 | 0.034173 | 0.033264 | 0.044467 | 0.905363 | 0.894723 | 0.881008 | 0.871248 | 0.861821 | 0.848524 | 0 | 0.027242 | 0.163191 | 102,340 | 2,729 | 128 | 37.500916 | 0.78156 | 0.192994 | 0 | 0.938043 | 0 | 0 | 0.530746 | 0.409382 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022003 | false | 0 | 0.001737 | 0 | 0.045744 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1b9c1e462e14e1ccaa27a39c0113f4e587eba367 | 9,888 | py | Python | src/pywriter/ods/ods_scenelist.py | peter88213/yWrestler | 32a152e8b814983ecaef6e9861df1d6b7008568d | [
"MIT"
] | null | null | null | src/pywriter/ods/ods_scenelist.py | peter88213/yWrestler | 32a152e8b814983ecaef6e9861df1d6b7008568d | [
"MIT"
] | null | null | null | src/pywriter/ods/ods_scenelist.py | peter88213/yWrestler | 32a152e8b814983ecaef6e9861df1d6b7008568d | [
"MIT"
] | null | null | null | """Provide a class for ODS scene list export.
Copyright (c) 2022 Peter Triesberger
For further information see https://github.com/peter88213/PyWriter
Published under the MIT License (https://opensource.org/licenses/mit-license.php)
"""
from pywriter.ods.ods_file import OdsFile
class OdsSceneList(OdsFile):
... | 43.179039 | 215 | 0.638451 | 1,292 | 9,888 | 4.873839 | 0.118421 | 0.176274 | 0.188979 | 0.196125 | 0.728601 | 0.728601 | 0.721613 | 0.721613 | 0.721613 | 0.718437 | 0 | 0.010944 | 0.186792 | 9,888 | 228 | 216 | 43.368421 | 0.772168 | 0.088896 | 0 | 0.581395 | 0 | 0.267442 | 0.89881 | 0.510338 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005814 | false | 0 | 0.005814 | 0 | 0.052326 | 0.005814 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
1bbce6d6eea87aadfbaa38c2fc66bfbc3654eccd | 205 | py | Python | kirigami/nn/__init__.py | marc-harary/kirigami | 059256f7ebb083e6b21d633d8928f4144c2f02fb | [
"MIT"
] | null | null | null | kirigami/nn/__init__.py | marc-harary/kirigami | 059256f7ebb083e6b21d633d8928f4144c2f02fb | [
"MIT"
] | 2 | 2021-01-18T03:53:35.000Z | 2021-04-01T02:35:02.000Z | kirigami/nn/__init__.py | marc-harary/kirigami | 059256f7ebb083e6b21d633d8928f4144c2f02fb | [
"MIT"
] | null | null | null | from kirigami.nn.regularize import *
from kirigami.nn.reshape import *
from kirigami.nn.loss import *
from kirigami.nn.lstm_wrapper import *
from kirigami.nn.resnet import *
from kirigami.nn.spot import *
| 29.285714 | 38 | 0.795122 | 31 | 205 | 5.225806 | 0.354839 | 0.444444 | 0.518519 | 0.617284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117073 | 205 | 6 | 39 | 34.166667 | 0.895028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
59ed6583308ab34b301f9a5c8b63d99cf5e59ed8 | 8,882 | py | Python | elections/migrations/0049_auto_20190510_0736.py | zinaukarenku/zkr-platform | 8daf7d1206c482f1f8e0bcd54d4fde783e568774 | [
"Apache-2.0"
] | 2 | 2018-11-16T21:45:17.000Z | 2019-02-03T19:55:46.000Z | elections/migrations/0049_auto_20190510_0736.py | zinaukarenku/zkr-platform | 8daf7d1206c482f1f8e0bcd54d4fde783e568774 | [
"Apache-2.0"
] | 13 | 2018-08-17T19:12:11.000Z | 2022-03-11T23:27:41.000Z | elections/migrations/0049_auto_20190510_0736.py | zinaukarenku/zkr-platform | 8daf7d1206c482f1f8e0bcd54d4fde783e568774 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.1.7 on 2019-05-10 07:36
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('elections', '0048_presidentcandidatebiography'),
]
operations = [
migrations.CreateModel(
name=... | 51.34104 | 162 | 0.612362 | 815 | 8,882 | 6.487117 | 0.158282 | 0.11027 | 0.062417 | 0.072631 | 0.810857 | 0.805372 | 0.774352 | 0.743333 | 0.704558 | 0.704558 | 0 | 0.010515 | 0.261202 | 8,882 | 172 | 163 | 51.639535 | 0.795184 | 0.005066 | 0 | 0.771084 | 1 | 0 | 0.243237 | 0.072326 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012048 | 0 | 0.03012 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
94497d4f63eba902d06684a3f328f2d16600bf0b | 15,384 | py | Python | pyramid/tests/test_static.py | danielpronych/pyramid-doxygen | ad95a8c151c2c4e029e03aed2feda2993380f36f | [
"BSD-2-Clause"
] | null | null | null | pyramid/tests/test_static.py | danielpronych/pyramid-doxygen | ad95a8c151c2c4e029e03aed2feda2993380f36f | [
"BSD-2-Clause"
] | null | null | null | pyramid/tests/test_static.py | danielpronych/pyramid-doxygen | ad95a8c151c2c4e029e03aed2feda2993380f36f | [
"BSD-2-Clause"
] | null | null | null | import datetime
import unittest
# 5 years from now (more or less)
fiveyrsfuture = datetime.datetime.utcnow() + datetime.timedelta(5*365)
class Test_static_view_use_subpath_False(unittest.TestCase):
def _getTargetClass(self):
from pyramid.static import static_view
return static_view
def _makeO... | 41.354839 | 80 | 0.642421 | 1,643 | 15,384 | 5.823494 | 0.096166 | 0.051735 | 0.051735 | 0.071279 | 0.929243 | 0.91273 | 0.898411 | 0.895171 | 0.895171 | 0.895171 | 0 | 0.005637 | 0.23895 | 15,384 | 371 | 81 | 41.466307 | 0.811582 | 0.002015 | 0 | 0.838415 | 0 | 0 | 0.149502 | 0.06651 | 0 | 0 | 0 | 0 | 0.17378 | 1 | 0.125 | false | 0.003049 | 0.070122 | 0.003049 | 0.234756 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
849f6a751659bc40bf1e15374c00140755cbbbe3 | 160 | py | Python | src/clusto/drivers/devices/common/__init__.py | rongoro/clusto | d6425433e5132e8778feeb9db4b8dd80b933b030 | [
"BSD-3-Clause"
] | 5 | 2015-07-19T08:28:01.000Z | 2021-07-08T14:49:27.000Z | src/clusto/drivers/devices/common/__init__.py | wt/clusto | c114ce7c42dcfa33c1e79f4d3b49313115fea06b | [
"BSD-3-Clause"
] | null | null | null | src/clusto/drivers/devices/common/__init__.py | wt/clusto | c114ce7c42dcfa33c1e79f4d3b49313115fea06b | [
"BSD-3-Clause"
] | 5 | 2015-01-06T07:57:07.000Z | 2021-11-10T18:01:33.000Z | from clusto.drivers.devices.common.portmixin import *
from clusto.drivers.devices.common.ipmixin import *
from clusto.drivers.devices.common.snmpmixin import *
| 40 | 53 | 0.83125 | 21 | 160 | 6.333333 | 0.428571 | 0.225564 | 0.383459 | 0.541353 | 0.766917 | 0.541353 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 160 | 3 | 54 | 53.333333 | 0.898649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 8 |
84a6ec319fa7480411842e596ccfaee58c75c889 | 177 | py | Python | {{ cookiecutter.project_slug }}/src/{{ cookiecutter.project_slug }}/settings/__init__.py | moorinteractive/coockiecutter-django | 9c712b2b87459cc3acbfce320f0414da20327761 | [
"MIT"
] | null | null | null | {{ cookiecutter.project_slug }}/src/{{ cookiecutter.project_slug }}/settings/__init__.py | moorinteractive/coockiecutter-django | 9c712b2b87459cc3acbfce320f0414da20327761 | [
"MIT"
] | null | null | null | {{ cookiecutter.project_slug }}/src/{{ cookiecutter.project_slug }}/settings/__init__.py | moorinteractive/coockiecutter-django | 9c712b2b87459cc3acbfce320f0414da20327761 | [
"MIT"
] | null | null | null | from {{ cookiecutter.project_slug }}.settings.base import * # noqa
try:
from {{ cookiecutter.project_slug }}.settings.local import * # noqa
except ImportError:
pass
| 22.125 | 72 | 0.706215 | 20 | 177 | 6.15 | 0.65 | 0.260163 | 0.373984 | 0.439024 | 0.569106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180791 | 177 | 7 | 73 | 25.285714 | 0.848276 | 0.050847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0.6 | null | null | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 8 |
ca4f40c9d5f8661cb0a9d0507a89e3e303997f69 | 3,189 | py | Python | user/vistas/templates/administrativo.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | user/vistas/templates/administrativo.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | user/vistas/templates/administrativo.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
doc+='''<!DOCTYPE html>
<html>
'''
data["titulo"]="Unexpo núcleo Charallave"
doc+='''
'''
try: doc+=str(incluir(data,"head"))
except Exception, e: doc+=str(e)
doc+='''
<body class="" >
'''
try: doc+=str(incluir(data,"widget-navbar"))
except Exception, e: doc+=str(e)
doc+='''
<d... | 38.421687 | 153 | 0.706805 | 525 | 3,189 | 4.266667 | 0.169524 | 0.089286 | 0.0375 | 0.075 | 0.885268 | 0.858482 | 0.858482 | 0.846875 | 0.846875 | 0.816518 | 0 | 0.02445 | 0.102226 | 3,189 | 83 | 154 | 38.421687 | 0.757946 | 0.021637 | 0 | 0.746667 | 0 | 0.186667 | 0.909557 | 0.127325 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ca9af783aae4319783690b6816af069b3f01dca0 | 3,083 | py | Python | tests/test_automations.py | andrewmilas10/courier-python | d0935bcef2dfc67324794b2ba320a69256131422 | [
"MIT"
] | 13 | 2020-07-29T22:05:36.000Z | 2021-08-10T14:32:50.000Z | tests/test_automations.py | andrewmilas10/courier-python | d0935bcef2dfc67324794b2ba320a69256131422 | [
"MIT"
] | 18 | 2020-03-19T20:04:45.000Z | 2022-03-31T23:32:11.000Z | tests/test_automations.py | andrewmilas10/courier-python | d0935bcef2dfc67324794b2ba320a69256131422 | [
"MIT"
] | 8 | 2020-05-15T15:30:29.000Z | 2022-02-08T14:10:48.000Z | import json
import responses
import pytest
from os import environ
from trycourier.client import Courier
from trycourier.exceptions import CourierAPIException
@responses.activate
def test_success_invoke():
responses.add(
responses.POST,
'https://api.courier.com/automations/invoke',
status=2... | 32.452632 | 76 | 0.647421 | 320 | 3,083 | 6.128125 | 0.221875 | 0.086181 | 0.106578 | 0.048955 | 0.899031 | 0.899031 | 0.867415 | 0.867415 | 0.867415 | 0.828659 | 0 | 0.063158 | 0.198832 | 3,083 | 94 | 77 | 32.797872 | 0.730769 | 0 | 0 | 0.722892 | 0 | 0 | 0.290626 | 0.0506 | 0 | 0 | 0 | 0 | 0.156627 | 1 | 0.048193 | false | 0 | 0.072289 | 0 | 0.120482 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
046f31610d0817246ce89f57dede49d258bb65bb | 20,376 | py | Python | Incident-Response/Tools/dfirtrack/dfirtrack_main/tests/system_importer/test_system_importer_file_csv_check_content_file_system.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 1 | 2021-07-24T17:22:50.000Z | 2021-07-24T17:22:50.000Z | Incident-Response/Tools/dfirtrack/dfirtrack_main/tests/system_importer/test_system_importer_file_csv_check_content_file_system.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 2 | 2022-02-28T03:40:31.000Z | 2022-02-28T03:40:52.000Z | Incident-Response/Tools/dfirtrack/dfirtrack_main/tests/system_importer/test_system_importer_file_csv_check_content_file_system.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 2 | 2022-02-25T08:34:51.000Z | 2022-03-16T17:29:44.000Z | from django.contrib.auth.models import User
from django.contrib.messages import get_messages
from django.test import TestCase
from django.utils import timezone
from dfirtrack.settings import BASE_DIR
from dfirtrack_main.importer.file.csv import system_cron
from dfirtrack_main.tests.system_importer.config_functions impo... | 47.276102 | 154 | 0.699352 | 2,461 | 20,376 | 5.509955 | 0.0577 | 0.047124 | 0.059735 | 0.08208 | 0.942847 | 0.932153 | 0.932153 | 0.929056 | 0.928761 | 0.928761 | 0 | 0.011327 | 0.202739 | 20,376 | 430 | 155 | 47.386047 | 0.823392 | 0.114596 | 0 | 0.812207 | 0 | 0.018779 | 0.272825 | 0.120337 | 0 | 0 | 0 | 0 | 0.28169 | 1 | 0.079812 | false | 0.103286 | 0.525822 | 0 | 0.615023 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 10 |
0482fcfc2f6bb3c65e8da083cd19ff380676c1a8 | 12,161 | py | Python | lib/doxx/datatypes/remotefiles.py | joesantana/doxx | 08b89597792ce6c9e795c8bb11001a3a69c1f22c | [
"MIT"
] | null | null | null | lib/doxx/datatypes/remotefiles.py | joesantana/doxx | 08b89597792ce6c9e795c8bb11001a3a69c1f22c | [
"MIT"
] | null | null | null | lib/doxx/datatypes/remotefiles.py | joesantana/doxx | 08b89597792ce6c9e795c8bb11001a3a69c1f22c | [
"MIT"
] | 1 | 2021-07-17T22:59:12.000Z | 2021-07-17T22:59:12.000Z | #!/usr/bin/env python
# encoding: utf-8
from os import remove
import os.path
from multiprocessing import Process, Lock
from Naked.toolshed.system import stderr, stdout, file_exists
from doxx.commands.pull import pull_binary_file, pull_text_file
from doxx.commands.unpack import unpack_run
from doxx.utilities.filesyste... | 38.853035 | 135 | 0.593537 | 1,453 | 12,161 | 4.780454 | 0.094288 | 0.104809 | 0.024331 | 0.023323 | 0.869421 | 0.83055 | 0.763029 | 0.730204 | 0.730204 | 0.715088 | 0 | 0.003549 | 0.258531 | 12,161 | 312 | 136 | 38.977564 | 0.766774 | 0.2832 | 0 | 0.819277 | 0 | 0.012048 | 0.165158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054217 | false | 0 | 0.042169 | 0 | 0.096386 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
04c8ea116a425456d39a39007eeb07e8a31e03fb | 80 | py | Python | 20160213_1.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | 20160213_1.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | 20160213_1.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
import mod1
print mod1.sum(1,2)
print mod1.safe_sum(1,2) | 16 | 24 | 0.6625 | 16 | 80 | 3.25 | 0.625 | 0.346154 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0.125 | 80 | 5 | 24 | 16 | 0.628571 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
8e0b5ca50f31b4ce5353ce85b331c3391e804040 | 5,489 | py | Python | tests/endpoints/test_auth_endpoints.py | Elias-Wilde/my-projekt | 74993684aaf9806fa20d67dc83fd103cff492b2a | [
"MIT"
] | null | null | null | tests/endpoints/test_auth_endpoints.py | Elias-Wilde/my-projekt | 74993684aaf9806fa20d67dc83fd103cff492b2a | [
"MIT"
] | null | null | null | tests/endpoints/test_auth_endpoints.py | Elias-Wilde/my-projekt | 74993684aaf9806fa20d67dc83fd103cff492b2a | [
"MIT"
] | null | null | null | def test_register_get(client, captured_templates):
"""
GIVEN a Flask application configured for testing (client)
WHEN the '/' route is requested (GET)
THEN there should be the correct `status_code`, `template.name`,
and the correct `page_title` in the context
"""
# mimic a browser: 'GE... | 29.831522 | 82 | 0.674075 | 722 | 5,489 | 5.020776 | 0.146814 | 0.084414 | 0.039724 | 0.036414 | 0.857655 | 0.825655 | 0.806345 | 0.806345 | 0.787034 | 0.761655 | 0 | 0.016973 | 0.23793 | 5,489 | 183 | 83 | 29.994536 | 0.849629 | 0.404263 | 0 | 0.653333 | 0 | 0 | 0.154493 | 0 | 0 | 0 | 0 | 0 | 0.44 | 1 | 0.08 | false | 0.08 | 0 | 0 | 0.08 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
8e4dbb435e98d67b6bdc98e969abb443f9268267 | 17,717 | py | Python | src/test/python/org/o3project/odenos/core/util/test_remote_object_interface.py | o3project/odenos | 837d0d3d3c37482e843c40c5eeeac10646e68c65 | [
"Apache-2.0"
] | 26 | 2015-02-18T10:22:50.000Z | 2020-06-18T05:07:54.000Z | src/test/python/org/o3project/odenos/core/util/test_remote_object_interface.py | o3project/odenos | 837d0d3d3c37482e843c40c5eeeac10646e68c65 | [
"Apache-2.0"
] | 45 | 2015-02-20T00:40:45.000Z | 2021-12-14T21:07:57.000Z | src/test/python/org/o3project/odenos/core/util/test_remote_object_interface.py | o3project/odenos | 837d0d3d3c37482e843c40c5eeeac10646e68c65 | [
"Apache-2.0"
] | 30 | 2015-02-19T02:00:35.000Z | 2017-02-18T15:28:09.000Z | # -*- coding:utf-8 -*-
# Copyright 2015 NEC Corporation. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License... | 46.138021 | 79 | 0.588531 | 1,806 | 17,717 | 5.421927 | 0.084718 | 0.062806 | 0.04902 | 0.04902 | 0.870915 | 0.853656 | 0.844975 | 0.83752 | 0.81873 | 0.795547 | 0 | 0.006016 | 0.333917 | 17,717 | 383 | 80 | 46.258486 | 0.823744 | 0.053 | 0 | 0.781046 | 0 | 0 | 0.135692 | 0.098581 | 0 | 0 | 0 | 0 | 0.232026 | 1 | 0.068627 | false | 0 | 0.019608 | 0 | 0.091503 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8e52e8200994b43cdcaf1b7b0da63e22c59279f4 | 2,969 | py | Python | site24x7miner/node.py | bilalbox/site24x7-miner | 79e90a2ba6a4e4eb675437489ee5d5825810abc6 | [
"Apache-2.0"
] | null | null | null | site24x7miner/node.py | bilalbox/site24x7-miner | 79e90a2ba6a4e4eb675437489ee5d5825810abc6 | [
"Apache-2.0"
] | null | null | null | site24x7miner/node.py | bilalbox/site24x7-miner | 79e90a2ba6a4e4eb675437489ee5d5825810abc6 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
import logging
import requests
import json
from minemeld.ft.basepoller import BasePollerFT
LOG = logging.getLogger(__name__)
class IPv4(BasePollerFT):
def configure(self):
super(IPv4, self).configure()
self.polling_timeout = self.config.get('polling_timeou... | 33.738636 | 200 | 0.616706 | 344 | 2,969 | 5.200581 | 0.30814 | 0.029067 | 0.029067 | 0.031302 | 0.885411 | 0.848519 | 0.848519 | 0.848519 | 0.848519 | 0.848519 | 0 | 0.033475 | 0.285618 | 2,969 | 87 | 201 | 34.126437 | 0.809995 | 0.14584 | 0 | 0.724138 | 0 | 0 | 0.249505 | 0.008317 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0 | 0.086207 | 0 | 0.327586 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6d093798ef39de535f6b2ef5d31bcaffe80bf0fe | 165,391 | py | Python | sdk/python/pulumi_rke/cluster.py | mitchellmaler/pulumi-rke | af2e3416c802f7b3eea7102788c9aed3cfd65f20 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_rke/cluster.py | mitchellmaler/pulumi-rke | af2e3416c802f7b3eea7102788c9aed3cfd65f20 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_rke/cluster.py | mitchellmaler/pulumi-rke | af2e3416c802f7b3eea7102788c9aed3cfd65f20 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from . import utilities, tables
class Cluster... | 69.085631 | 1,319 | 0.628166 | 18,043 | 165,391 | 5.673391 | 0.037078 | 0.120139 | 0.088898 | 0.03172 | 0.958394 | 0.950296 | 0.939472 | 0.927524 | 0.912656 | 0.901421 | 0 | 0.005274 | 0.22503 | 165,391 | 2,393 | 1,320 | 69.114501 | 0.793373 | 0.60019 | 0 | 0.009302 | 1 | 0 | 0.153528 | 0.039415 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018605 | false | 0.004651 | 0.027907 | 0.009302 | 0.339535 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6d2a10154203c862f145df82e6a1e0fbc346c464 | 1,655 | py | Python | panci/tests/test_travis2tox.py | msabramo/python-panci | f5954f9649ed5ee2a026576d3a74ffa1d3155708 | [
"MIT"
] | 34 | 2015-01-04T12:22:35.000Z | 2020-10-21T22:51:30.000Z | panci/tests/test_travis2tox.py | msabramo/python-panci | f5954f9649ed5ee2a026576d3a74ffa1d3155708 | [
"MIT"
] | 11 | 2015-07-18T01:44:11.000Z | 2019-08-14T05:32:24.000Z | panci/tests/test_travis2tox.py | msabramo/python-panci | f5954f9649ed5ee2a026576d3a74ffa1d3155708 | [
"MIT"
] | 12 | 2015-02-26T08:55:51.000Z | 2021-02-14T17:04:48.000Z | import six
import unittest
from panci.travis2tox import travis2tox
class TravisToToxCommandsTests(unittest.TestCase):
def test_before_install(self):
travis = '''
language: python
python:
- 2.7
before_install:
- echo 1
- echo 2
'''
tox_config = travis2tox(six.StringIO(travis))
... | 19.244186 | 67 | 0.608459 | 200 | 1,655 | 4.91 | 0.14 | 0.0611 | 0.10998 | 0.1222 | 0.870672 | 0.870672 | 0.870672 | 0.870672 | 0.700611 | 0.700611 | 0 | 0.036007 | 0.261631 | 1,655 | 85 | 68 | 19.470588 | 0.767594 | 0 | 0 | 0.8 | 0 | 0 | 0.318429 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 1 | 0.085714 | false | 0 | 0.042857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6d3728f7084b91f4787a0a0f6080c042eee6e361 | 162 | py | Python | soccerpy/__init__.py | SlapBot/soccerpy | e70cd9bf2ad130f004d85328a83deba0815461bd | [
"MIT"
] | null | null | null | soccerpy/__init__.py | SlapBot/soccerpy | e70cd9bf2ad130f004d85328a83deba0815461bd | [
"MIT"
] | 1 | 2017-07-18T17:04:58.000Z | 2017-07-19T02:02:46.000Z | soccerpy/__init__.py | SlapBot/soccerpy | e70cd9bf2ad130f004d85328a83deba0815461bd | [
"MIT"
] | 1 | 2018-08-17T23:51:31.000Z | 2018-08-17T23:51:31.000Z | from soccerpy.modules.Competition.competition import Competition
from soccerpy.modules.Fixture.fixture import Fixture
from soccerpy.modules.Team.team import Team
| 40.5 | 64 | 0.87037 | 21 | 162 | 6.714286 | 0.333333 | 0.255319 | 0.404255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 162 | 3 | 65 | 54 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 7 |
edb2b0596e1e1cb8ecb027a8f8a50b7e041d19d4 | 130 | py | Python | blogstrap/__init__.py | joehakimrahme/blogstrap | 6ff91904065d01ebaf757a51c1483c7f180521c0 | [
"Apache-2.0"
] | null | null | null | blogstrap/__init__.py | joehakimrahme/blogstrap | 6ff91904065d01ebaf757a51c1483c7f180521c0 | [
"Apache-2.0"
] | 13 | 2015-11-16T12:21:50.000Z | 2020-05-28T08:25:27.000Z | blogstrap/__init__.py | joehakimrahme/blogstrap | 6ff91904065d01ebaf757a51c1483c7f180521c0 | [
"Apache-2.0"
] | 2 | 2015-11-22T09:39:53.000Z | 2020-11-24T10:35:19.000Z | import six
if six.PY2:
from blogstrap import create_app # noqa
else:
from blogstrap.blogstrap import create_app # noqa
| 18.571429 | 54 | 0.738462 | 19 | 130 | 4.947368 | 0.526316 | 0.276596 | 0.446809 | 0.510638 | 0.595745 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.215385 | 130 | 6 | 55 | 21.666667 | 0.911765 | 0.069231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 8 |
edb99ecc54cb284ed550aebdcbbd6b1175a52d3d | 2,269 | py | Python | scripts/data_argumentation.py | JinshuChen/SteelDetection | ce8bf4d859591f4d9df30b41bdd69c3331688e8c | [
"MIT"
] | 4 | 2019-03-29T09:30:13.000Z | 2020-05-07T12:42:16.000Z | scripts/data_argumentation.py | JinshuChen/SteelDetection | ce8bf4d859591f4d9df30b41bdd69c3331688e8c | [
"MIT"
] | 1 | 2019-10-29T11:18:14.000Z | 2019-10-29T11:18:14.000Z | scripts/data_argumentation.py | JinshuChen/SteelDetection | ce8bf4d859591f4d9df30b41bdd69c3331688e8c | [
"MIT"
] | null | null | null | import os
from impy.ObjectDetectionDataset import *
# def main():
# # Define the path to images and annotations
# images_path = "/home/c/workspace/tf_models/research/SteelDetection/impy_train_data/circle_steel/img"
# annotations_path = "/home/c/workspace/tf_models/research/SteelDetection/impy_train_data/circle_stee... | 64.828571 | 163 | 0.824152 | 274 | 2,269 | 6.514599 | 0.237226 | 0.02521 | 0.070588 | 0.080672 | 0.817927 | 0.817927 | 0.817927 | 0.783193 | 0.783193 | 0.783193 | 0 | 0.007264 | 0.089907 | 2,269 | 35 | 164 | 64.828571 | 0.857143 | 0.534156 | 0 | 0 | 0 | 0 | 0.477295 | 0.456039 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.230769 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b6a4e1060401e8fa16df2b9458777ae26a4cfd86 | 7,685 | py | Python | tests/test_convert.py | blester125/word-vectors | 4f6d8b2b6d8b87fad453a37000c6d0d236a6cb96 | [
"MIT"
] | 1 | 2018-07-06T08:37:34.000Z | 2018-07-06T08:37:34.000Z | tests/test_convert.py | blester125/word-vectors | 4f6d8b2b6d8b87fad453a37000c6d0d236a6cb96 | [
"MIT"
] | 5 | 2020-04-24T13:21:10.000Z | 2020-06-23T19:45:51.000Z | tests/test_convert.py | blester125/word_vectors | 4f6d8b2b6d8b87fad453a37000c6d0d236a6cb96 | [
"MIT"
] | null | null | null | import os
import random
import pathlib
from unittest.mock import patch
import numpy as np
from word_vectors import FileType
from word_vectors.read import read
from word_vectors.convert import convert
from utils import vocab, vectors, DATA, GLOVE, W2V, W2V_TEXT, LEADER, rand_str
INPUT_MAPPING = {
GLOVE: FileType.G... | 43.174157 | 109 | 0.660117 | 1,076 | 7,685 | 4.402416 | 0.060409 | 0.074098 | 0.044332 | 0.050665 | 0.935402 | 0.918092 | 0.913025 | 0.913025 | 0.907114 | 0.904792 | 0 | 0.008604 | 0.243852 | 7,685 | 177 | 110 | 43.418079 | 0.806574 | 0 | 0 | 0.834395 | 0 | 0 | 0.053481 | 0.051139 | 0 | 0 | 0 | 0 | 0.248408 | 1 | 0.057325 | false | 0 | 0.057325 | 0 | 0.11465 | 0.012739 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b6aa826b85b68aee168a92557d906c1fe964b4dc | 114,702 | py | Python | OrderCloud/apis/order_api.py | klreeher/python-sdk | b7fe922dcfc3bb73fe4149475fa45fdcb04d956a | [
"Apache-2.0"
] | null | null | null | OrderCloud/apis/order_api.py | klreeher/python-sdk | b7fe922dcfc3bb73fe4149475fa45fdcb04d956a | [
"Apache-2.0"
] | null | null | null | OrderCloud/apis/order_api.py | klreeher/python-sdk | b7fe922dcfc3bb73fe4149475fa45fdcb04d956a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
OrderCloud
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.0
Contact: ordercloud@four51.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Ve... | 44.579091 | 195 | 0.582213 | 12,279 | 114,702 | 5.256617 | 0.023373 | 0.030908 | 0.032969 | 0.023425 | 0.972857 | 0.962554 | 0.95865 | 0.954807 | 0.951058 | 0.94686 | 0 | 0.001316 | 0.330805 | 114,702 | 2,572 | 196 | 44.596423 | 0.839587 | 0.35009 | 0 | 0.811229 | 1 | 0 | 0.204687 | 0.037315 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034988 | false | 0 | 0.005696 | 0 | 0.092758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fce10226c020f854fc867dc34e7ec5a92e4a6f62 | 6,690 | py | Python | marketplace_api/apps/products/api/views/product_viewsets.py | JOSECONDORI5/API-marketplace | 2a1aed133c0b49e0e89f3a05cc94aa2b711d36e0 | [
"MIT"
] | null | null | null | marketplace_api/apps/products/api/views/product_viewsets.py | JOSECONDORI5/API-marketplace | 2a1aed133c0b49e0e89f3a05cc94aa2b711d36e0 | [
"MIT"
] | null | null | null | marketplace_api/apps/products/api/views/product_viewsets.py | JOSECONDORI5/API-marketplace | 2a1aed133c0b49e0e89f3a05cc94aa2b711d36e0 | [
"MIT"
] | null | null | null | from rest_framework import generics, status
from rest_framework import viewsets
from rest_framework.response import Response
from apps.base.api import GeneralListApiView
from apps.products.api.serializers.product_serializer import ProductSerializer
from apps.users.authentication_mixins import Authentication
class Pr... | 46.458333 | 114 | 0.679223 | 763 | 6,690 | 5.78637 | 0.123198 | 0.092412 | 0.076104 | 0.043035 | 0.807022 | 0.807022 | 0.807022 | 0.786863 | 0.775085 | 0.774405 | 0 | 0.011941 | 0.21136 | 6,690 | 143 | 115 | 46.783217 | 0.824867 | 0.663229 | 0 | 0.057143 | 0 | 0 | 0.055892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.171429 | 0 | 0.628571 | 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 | 1 | 0 | 0 | 7 |
1e24003b925d542d0967fb8b130c585bd9cf072e | 9,028 | py | Python | test/test_SM/test_ploshadki/test_ploshadka_ETPRF.py | IrinaSlobodchikova/marker | 72f981134fb025a94348cd2bc829fa8430a01372 | [
"Apache-2.0"
] | null | null | null | test/test_SM/test_ploshadki/test_ploshadka_ETPRF.py | IrinaSlobodchikova/marker | 72f981134fb025a94348cd2bc829fa8430a01372 | [
"Apache-2.0"
] | null | null | null | test/test_SM/test_ploshadki/test_ploshadka_ETPRF.py | IrinaSlobodchikova/marker | 72f981134fb025a94348cd2bc829fa8430a01372 | [
"Apache-2.0"
] | null | null | null |
def test_sm_etprf_include_eic_yestoday(app):
app.testhelpersm.refresh_page()
app.session.open_SM_page(app.smPurchases)
app.session.ensure_login_sm(app.username, app.password)
app.session.ensure_login_sm(app.username, app.password)
app.session.open_SM_page(app.smPurchases)
app.testHelperSMSear... | 48.021277 | 112 | 0.772818 | 1,187 | 9,028 | 5.617523 | 0.062342 | 0.242502 | 0.093731 | 0.04799 | 0.99865 | 0.99865 | 0.986053 | 0.979304 | 0.979304 | 0.979304 | 0 | 0.019361 | 0.130372 | 9,028 | 188 | 113 | 48.021277 | 0.829958 | 0.154962 | 0 | 0.903448 | 0 | 0 | 0.007889 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.068966 | false | 0.137931 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
1e99308ac1e7db45f504c3ecd96b9eaf81a98fed | 5,217 | py | Python | tests/services.py | mabdi/VirtIOT | 44a9336db16761a446517bbcd59b2f5dd7fe2216 | [
"MIT"
] | 1 | 2018-08-04T17:13:02.000Z | 2018-08-04T17:13:02.000Z | tests/services.py | mabdi/CSIoT | 44a9336db16761a446517bbcd59b2f5dd7fe2216 | [
"MIT"
] | null | null | null | tests/services.py | mabdi/CSIoT | 44a9336db16761a446517bbcd59b2f5dd7fe2216 | [
"MIT"
] | null | null | null | import unittest
from core import app,agent,simulation
from core.common import get_conn
class ServicesTestCase(unittest.TestCase):
def test_consume_f(self):
"""consume friend services test"""
agent.deleteAll()
simulation.clear_all_messages()
simulation.reset_ts()
a = agent.random_agen... | 32.203704 | 87 | 0.560092 | 703 | 5,217 | 4.008535 | 0.112376 | 0.053939 | 0.080908 | 0.085167 | 0.889283 | 0.883605 | 0.883605 | 0.883605 | 0.860894 | 0.860894 | 0 | 0.039483 | 0.213533 | 5,217 | 161 | 88 | 32.403727 | 0.647331 | 0.022618 | 0 | 0.801587 | 0 | 0 | 0.205865 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.02381 | false | 0 | 0.02381 | 0 | 0.055556 | 0.007937 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1eb6a8de3d14221782fc2a2b6f6163290af599a8 | 20,257 | py | Python | tests/test_services/test_set_867.py | yangyimincn/ucloud-sdk-python3 | 9732d67f32ec5f46467458ba655c44c193a6bbff | [
"Apache-2.0"
] | 37 | 2019-06-19T09:41:34.000Z | 2022-02-18T08:06:00.000Z | tests/test_services/test_set_867.py | yangyimincn/ucloud-sdk-python3 | 9732d67f32ec5f46467458ba655c44c193a6bbff | [
"Apache-2.0"
] | 90 | 2019-08-09T09:27:33.000Z | 2022-03-30T15:54:55.000Z | tests/test_services/test_set_867.py | yangyimincn/ucloud-sdk-python3 | 9732d67f32ec5f46467458ba655c44c193a6bbff | [
"Apache-2.0"
] | 19 | 2019-06-13T02:46:01.000Z | 2021-11-01T07:22:18.000Z | """ Code is generated by ucloud-model, DO NOT EDIT IT. """
import pytest
import logging
from ucloud.core import exc
from ucloud.testing import env, funcs, op, utest
logger = logging.getLogger(__name__)
scenario = utest.Scenario(867)
@pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason())
def test_set_867(... | 26.514398 | 80 | 0.603791 | 2,065 | 20,257 | 5.779177 | 0.104116 | 0.09452 | 0.035613 | 0.054466 | 0.81691 | 0.795039 | 0.774342 | 0.761019 | 0.756913 | 0.756913 | 0 | 0.016124 | 0.246828 | 20,257 | 763 | 81 | 26.549148 | 0.766075 | 0.002468 | 0 | 0.738204 | 1 | 0 | 0.241943 | 0.092183 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038052 | false | 0.006088 | 0.006088 | 0 | 0.08067 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1eca5040063c79932c73223d4f412a91e61d79e8 | 2,857 | py | Python | dataset_decoder.py | okwrtdsh/3D-ResNets-PyTorch | f36a32ea8b283524d1d102937c49689b1f475b5f | [
"MIT"
] | null | null | null | dataset_decoder.py | okwrtdsh/3D-ResNets-PyTorch | f36a32ea8b283524d1d102937c49689b1f475b5f | [
"MIT"
] | null | null | null | dataset_decoder.py | okwrtdsh/3D-ResNets-PyTorch | f36a32ea8b283524d1d102937c49689b1f475b5f | [
"MIT"
] | null | null | null | from datasets.ucf101_decoder import UCF101
def get_training_set(opt,
common_temporal_transform,
common_spatial_transform,
target_spatial_transform,
input_spatial_transform,
target_label_transform
... | 33.22093 | 64 | 0.60658 | 263 | 2,857 | 6.13308 | 0.140684 | 0.267824 | 0.204588 | 0.16181 | 0.822071 | 0.822071 | 0.822071 | 0.822071 | 0.749535 | 0.749535 | 0 | 0.018548 | 0.339517 | 2,857 | 85 | 65 | 33.611765 | 0.836248 | 0 | 0 | 0.689189 | 0 | 0 | 0.029751 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.040541 | false | 0 | 0.013514 | 0 | 0.094595 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 9 |
1ecc7d1c94a99e1b6614a3c6414a05ececa7eb38 | 3,203 | py | Python | np/linalg.py | BK-Modding/galois | 5da4db84d90083e337ebe2c1838df5c6db88fd3f | [
"MIT"
] | null | null | null | np/linalg.py | BK-Modding/galois | 5da4db84d90083e337ebe2c1838df5c6db88fd3f | [
"MIT"
] | null | null | null | np/linalg.py | BK-Modding/galois | 5da4db84d90083e337ebe2c1838df5c6db88fd3f | [
"MIT"
] | null | null | null | def matrix_rank(x):
"""
Returns the rank of a Galois field matrix.
References
----------
* https://numpy.org/doc/stable/reference/generated/numpy.linalg.matrix_rank.html
Examples
--------
.. ipython:: python
GF = galois.GF(31)
A = GF.Identity(4); A
np.linalg.ma... | 20.934641 | 85 | 0.499844 | 428 | 3,203 | 3.693925 | 0.156542 | 0.070841 | 0.085389 | 0.119545 | 0.802657 | 0.801392 | 0.788741 | 0.759646 | 0.731815 | 0.731815 | 0 | 0.028176 | 0.346238 | 3,203 | 152 | 86 | 21.072368 | 0.726839 | 0.806744 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
94d9ac9bc28ad31229ba01fc7419406888fe9d62 | 38,013 | py | Python | sdk/python/pulumi_azure/mssql/virtual_machine.py | ScriptBox99/pulumi-azure | 1b8c6d5479ccabc39094741eac25a8ca44c8833a | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/mssql/virtual_machine.py | ScriptBox99/pulumi-azure | 1b8c6d5479ccabc39094741eac25a8ca44c8833a | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/mssql/virtual_machine.py | ScriptBox99/pulumi-azure | 1b8c6d5479ccabc39094741eac25a8ca44c8833a | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 51.718367 | 241 | 0.693868 | 4,300 | 38,013 | 5.853953 | 0.055814 | 0.0756 | 0.07699 | 0.034085 | 0.925195 | 0.914031 | 0.910218 | 0.90557 | 0.89969 | 0.885508 | 0 | 0.003965 | 0.210402 | 38,013 | 734 | 242 | 51.788828 | 0.834683 | 0.317076 | 0 | 0.823961 | 1 | 0 | 0.178907 | 0.111594 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163814 | false | 0.066015 | 0.017115 | 0 | 0.278729 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
44ae14ad870b56f5ea786483b48850918bc37b46 | 12,811 | py | Python | orquesta/tests/unit/conducting/native/test_task_rendering_for_with_items.py | trstruth/orquesta | e6ebbbeb2c661486067e659dc7552f0a986603a6 | [
"Apache-2.0"
] | 3 | 2020-11-17T21:29:26.000Z | 2021-03-17T13:56:16.000Z | orquesta/tests/unit/conducting/native/test_task_rendering_for_with_items.py | trstruth/orquesta | e6ebbbeb2c661486067e659dc7552f0a986603a6 | [
"Apache-2.0"
] | 5 | 2021-03-02T01:41:36.000Z | 2022-03-08T23:31:31.000Z | orquesta/tests/unit/conducting/native/test_task_rendering_for_with_items.py | trstruth/orquesta | e6ebbbeb2c661486067e659dc7552f0a986603a6 | [
"Apache-2.0"
] | 15 | 2020-08-08T16:21:40.000Z | 2022-03-17T04:45:51.000Z | # Copyright 2019 Extreme Networks, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 31.170316 | 96 | 0.543673 | 1,341 | 12,811 | 4.936614 | 0.126771 | 0.074924 | 0.0571 | 0.054532 | 0.830514 | 0.828399 | 0.824471 | 0.821148 | 0.800302 | 0.795317 | 0 | 0.008191 | 0.332917 | 12,811 | 410 | 97 | 31.246341 | 0.76644 | 0.046679 | 0 | 0.800623 | 0 | 0 | 0.282365 | 0.008855 | 0 | 0 | 0 | 0 | 0.071651 | 1 | 0.024922 | false | 0 | 0.012461 | 0 | 0.040498 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
44e000959d86c618f9d201401ca8fa4bdcd9d5ef | 24,062 | py | Python | sdk/aqualink_sdk/api/users_api.py | aqualinkorg/aqualink-sdk | dad972d1dd5b74e8216bdc30521a8b76f7844733 | [
"MIT"
] | 1 | 2022-02-06T23:05:37.000Z | 2022-02-06T23:05:37.000Z | sdk/aqualink_sdk/api/users_api.py | aqualinkorg/aqualink-sdk | dad972d1dd5b74e8216bdc30521a8b76f7844733 | [
"MIT"
] | 3 | 2022-02-07T06:13:31.000Z | 2022-03-11T12:43:39.000Z | sdk/aqualink_sdk/api/users_api.py | aqualinkorg/aqualink-sdk | dad972d1dd5b74e8216bdc30521a8b76f7844733 | [
"MIT"
] | null | null | null | """
Aqualink API documentation
The Aqualink public API documentation # noqa: E501
The version of the OpenAPI document: 1.0.0
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from aqualink_sdk.api_client import ApiClient, Endpoint as _Endpoint
from a... | 35.967115 | 98 | 0.512385 | 2,327 | 24,062 | 5.039106 | 0.088956 | 0.034539 | 0.022173 | 0.023026 | 0.882654 | 0.852123 | 0.839843 | 0.814003 | 0.805219 | 0.790551 | 0 | 0.002875 | 0.407281 | 24,062 | 668 | 99 | 36.020958 | 0.81931 | 0.389618 | 0 | 0.622066 | 1 | 0 | 0.2285 | 0.054132 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0 | 0.021127 | 0 | 0.049296 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7871513213a8e46582179f91a12da0691bb9ada6 | 2,705 | py | Python | models/text.py | pranjal-mittal0/life-calendar | 72a651259561007fccea948879894f415ca8ccbe | [
"MIT"
] | 50 | 2020-09-29T17:11:10.000Z | 2021-11-15T11:46:10.000Z | models/text.py | pranjal-mittal0/life-calendar | 72a651259561007fccea948879894f415ca8ccbe | [
"MIT"
] | 1 | 2021-04-12T15:50:17.000Z | 2021-08-20T15:13:21.000Z | models/text.py | pranjal-mittal0/life-calendar | 72a651259561007fccea948879894f415ca8ccbe | [
"MIT"
] | 2 | 2020-10-05T21:10:24.000Z | 2020-10-06T09:29:43.000Z | from models.user import db
class Day(db.Model):
__tablename__ = "day"
id = db.Column(db.Integer, primary_key=True)
number = db.Column(db.Integer)
textcontent = db.Column(db.Text)
number = db.Column(db.Integer, unique=True)
colors = db.Column(db.Text)
# connect day to user
user_email =... | 28.776596 | 65 | 0.65841 | 353 | 2,705 | 4.838527 | 0.09915 | 0.12178 | 0.152225 | 0.122951 | 0.876464 | 0.862998 | 0.862998 | 0.862998 | 0.862998 | 0.862998 | 0 | 0 | 0.226987 | 2,705 | 93 | 66 | 29.086022 | 0.816834 | 0.036599 | 0 | 0.787879 | 0 | 0 | 0.045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106061 | false | 0 | 0.015152 | 0.030303 | 0.69697 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 8 |
78801da06054edd6c91e0210bcb314fb0e21f262 | 18,788 | py | Python | SnowPype.py | Data-Alchemy/Snowflake | d7789200c68304d617e6905d180ebc4878558936 | [
"Apache-2.0"
] | null | null | null | SnowPype.py | Data-Alchemy/Snowflake | d7789200c68304d617e6905d180ebc4878558936 | [
"Apache-2.0"
] | null | null | null | SnowPype.py | Data-Alchemy/Snowflake | d7789200c68304d617e6905d180ebc4878558936 | [
"Apache-2.0"
] | null | null | null | import snowflake.connector
from snowflake.connector.pandas_tools import write_pandas
from snowflake.connector.pandas_tools import pd_writer
import pandas as pd
import os
import datetime
import re
###########################################################################
########################## Pandas Settings ####... | 52.480447 | 206 | 0.429423 | 1,814 | 18,788 | 4.334068 | 0.097574 | 0.064106 | 0.031417 | 0.028619 | 0.865429 | 0.852073 | 0.826762 | 0.826762 | 0.826762 | 0.826762 | 0 | 0.004923 | 0.437779 | 18,788 | 357 | 207 | 52.627451 | 0.739373 | 0.026293 | 0 | 0.782772 | 0 | 0.022472 | 0.325461 | 0.027823 | 0.022472 | 0 | 0 | 0 | 0 | 1 | 0.014981 | false | 0.003745 | 0.026217 | 0.003745 | 0.052434 | 0.078652 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
152610f981700cfe147078ac5e571f0ad359878c | 85 | py | Python | python/testData/formatter/continuationIndentBeforeFunctionArguments_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/formatter/continuationIndentBeforeFunctionArguments_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/formatter/continuationIndentBeforeFunctionArguments_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | sum(
1,
2, 3,
5,
)
sum(
1,
2, 3,
5)
| 7.727273 | 13 | 0.164706 | 10 | 85 | 1.4 | 0.5 | 0.571429 | 0.714286 | 0.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32 | 0.705882 | 85 | 10 | 14 | 8.5 | 0.24 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.