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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
53db38d3d4792abb4e568a479428d537b001b0ca | 2,156 | py | Python | 02_findingtheOffset.py | F-Masood/ExploitingBufferOverflows | 9397dc2bc45255a50379cd105e8b4b6242993a4b | [
"MIT"
] | 3 | 2021-12-09T14:40:49.000Z | 2022-02-22T04:21:07.000Z | 02_findingtheOffset.py | F-Masood/Exploiting_StackBased_BufferOverflows | 9397dc2bc45255a50379cd105e8b4b6242993a4b | [
"MIT"
] | null | null | null | 02_findingtheOffset.py | F-Masood/Exploiting_StackBased_BufferOverflows | 9397dc2bc45255a50379cd105e8b4b6242993a4b | [
"MIT"
] | null | null | null | #!/usr/bin/python
import sys,socket
#msf-pattern_create -l 1850 [vulnhub netstart by foxlox]
offset = "Aa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7Ab8Ab9Ac0Ac1Ac2Ac3Ac4Ac5Ac6Ac7Ac8Ac9Ad0Ad1Ad2Ad3Ad4Ad5Ad6Ad7Ad8Ad9Ae0Ae1Ae2Ae3Ae4Ae5Ae6Ae7Ae8Ae9Af0Af1Af2Af3Af4Af5Af6Af7Af8Af9Ag0Ag1Ag2Ag3Ag4Ag5Ag6Ag7Ag8Ag9Ah0A... | 119.777778 | 1,861 | 0.95269 | 47 | 2,156 | 43.638298 | 0.808511 | 0.011702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301474 | 0.024583 | 2,156 | 17 | 1,862 | 126.823529 | 0.673799 | 0.032931 | 0 | 0 | 0 | 0 | 0.906865 | 0.888142 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
53f083bccdcb5a3b0a7302a872a4cd92fc3e8ab0 | 35 | py | Python | python/testData/refactoring/move/moveSymbolDoesntReorderImportsInOriginFile/after/src/other.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/move/moveSymbolDoesntReorderImportsInOriginFile/after/src/other.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/move/moveSymbolDoesntReorderImportsInOriginFile/after/src/other.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import b
def func():
print(b) | 7 | 12 | 0.571429 | 6 | 35 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 35 | 5 | 12 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 7 |
071ad13101052b7cb3fd2d4fd950c1005dc109a9 | 54,921 | py | Python | src/evaluation/evaluator.py | agnes-yang/DeepADoTS | 4a52caf4e49bad8e057649ca05ea9522c77518fb | [
"MIT"
] | null | null | null | src/evaluation/evaluator.py | agnes-yang/DeepADoTS | 4a52caf4e49bad8e057649ca05ea9522c77518fb | [
"MIT"
] | null | null | null | src/evaluation/evaluator.py | agnes-yang/DeepADoTS | 4a52caf4e49bad8e057649ca05ea9522c77518fb | [
"MIT"
] | null | null | null | <<<<<<< HEAD
import gc
import logging
import os
import pickle
import re
import sys
import traceback
from textwrap import wrap
import matplotlib.pyplot as plt
import matplotlib.patheffects as path_effects
from matplotlib.font_manager import FontProperties
import numpy as np
import pandas as pd
import prog... | 45.920569 | 120 | 0.597003 | 7,057 | 54,921 | 4.468471 | 0.074536 | 0.010275 | 0.003805 | 0.009133 | 0.999429 | 0.999429 | 0.999429 | 0.999429 | 0.999429 | 0.999429 | 0 | 0.009893 | 0.28592 | 54,921 | 1,195 | 121 | 45.958996 | 0.794176 | 0.055006 | 0 | 0.994975 | 0 | 0.00402 | 0.119693 | 0.031296 | 0 | 0 | 0 | 0 | 0.01005 | 0 | null | null | 0.00201 | 0.046231 | null | null | 0.024121 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0736d4d113f112a1fe5974c6d2a7f844c8f407d2 | 160 | py | Python | apps/store/models.py | jakejie/ShopPro | f0cec134ae77f4449f15a0219123d6a6bce2aad2 | [
"Apache-2.0"
] | 1 | 2019-04-20T16:58:02.000Z | 2019-04-20T16:58:02.000Z | apps/store/models.py | jakejie/ShopPro | f0cec134ae77f4449f15a0219123d6a6bce2aad2 | [
"Apache-2.0"
] | 6 | 2020-06-05T19:57:58.000Z | 2021-09-08T00:49:17.000Z | apps/store/models.py | jakejie/ShopPro | f0cec134ae77f4449f15a0219123d6a6bce2aad2 | [
"Apache-2.0"
] | 1 | 2021-09-10T18:29:28.000Z | 2021-09-10T18:29:28.000Z | from django.db import models
class StoreManage(models.Model):
pass
class StoreCategory(models.Model):
pass
class Activate(models.Model):
pass
| 11.428571 | 34 | 0.725 | 20 | 160 | 5.8 | 0.55 | 0.284483 | 0.387931 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19375 | 160 | 13 | 35 | 12.307692 | 0.899225 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 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 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
076873caae99de202f9a8eeccf536a330dc8f471 | 33,739 | py | Python | sdk/python/pulumi_azure/loganalytics/linked_service.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/loganalytics/linked_service.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/loganalytics/linked_service.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"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... | 56.325543 | 293 | 0.686327 | 4,371 | 33,739 | 5.111187 | 0.049188 | 0.062531 | 0.070185 | 0.063023 | 0.922251 | 0.914194 | 0.909359 | 0.902466 | 0.897856 | 0.886576 | 0 | 0.003418 | 0.228282 | 33,739 | 598 | 294 | 56.419732 | 0.85463 | 0.401909 | 0 | 0.796407 | 1 | 0.035928 | 0.20015 | 0.003586 | 0 | 0 | 0 | 0 | 0 | 1 | 0.149701 | false | 0.002994 | 0.01497 | 0 | 0.254491 | 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 |
4aebde625d398be9bb422562d27de505cb67b625 | 15,872 | py | Python | tests/test_leu.py | fscm/multicurrency | 5eabdcbfbf427dcafe08d4d05cfce8c9348aeb91 | [
"MIT"
] | 2 | 2021-03-26T18:19:57.000Z | 2021-07-27T01:15:50.000Z | tests/test_leu.py | fscm/multicurrency | 5eabdcbfbf427dcafe08d4d05cfce8c9348aeb91 | [
"MIT"
] | null | null | null | tests/test_leu.py | fscm/multicurrency | 5eabdcbfbf427dcafe08d4d05cfce8c9348aeb91 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
#
# copyright: 2020-2022, Frederico Martins
# author: Frederico Martins <http://github.com/fscm>
# license: SPDX-License-Identifier: MIT
"""Tests for the Leu currency representation(s)."""
from decimal import Context
from pytest import raises
from multicurrency import Currency
from multicurren... | 36.072727 | 84 | 0.538432 | 1,503 | 15,872 | 5.405855 | 0.085163 | 0.120492 | 0.089969 | 0.099938 | 0.856615 | 0.814892 | 0.795815 | 0.789908 | 0.7776 | 0.755815 | 0 | 0.029596 | 0.346459 | 15,872 | 439 | 85 | 36.154897 | 0.753302 | 0.035849 | 0 | 0.754476 | 0 | 0 | 0.152174 | 0.004097 | 0 | 0 | 0 | 0 | 0.245524 | 1 | 0.030691 | false | 0 | 0.015345 | 0 | 0.051151 | 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 |
4af2cee59291280c406b9f9ce445aaae5f3834af | 797 | py | Python | mercurius/exceptions.py | bossiernesto/mercurius | 9c4bc26f45a317d4e22137b412f63f18976461fe | [
"BSD-2-Clause"
] | 2 | 2015-05-27T20:38:29.000Z | 2017-02-16T11:48:05.000Z | mercurius/exceptions.py | bossiernesto/mercurius | 9c4bc26f45a317d4e22137b412f63f18976461fe | [
"BSD-2-Clause"
] | 3 | 2015-01-15T23:32:45.000Z | 2015-01-15T23:49:05.000Z | mercurius/exceptions.py | bossiernesto/mercurius | 9c4bc26f45a317d4e22137b412f63f18976461fe | [
"BSD-2-Clause"
] | null | null | null | class ConfigError(Exception):
def __init__(self, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
class MercuryUnsupportedService(Exception):
def __init__(self, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
class MercuryConnectException(Exception):
def __init__(s... | 30.653846 | 49 | 0.690088 | 78 | 797 | 6.435897 | 0.166667 | 0.191235 | 0.286853 | 0.430279 | 0.731076 | 0.731076 | 0.731076 | 0.731076 | 0.731076 | 0.731076 | 0 | 0 | 0.166876 | 797 | 25 | 50 | 31.88 | 0.756024 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
4af66b49747ff9477eb663df7989dbbcaf6a6e09 | 96,643 | py | Python | tboneReward.py | thh0003/DeepRacer | 0e639585e8d33a9157c262b7d7cb99e60b0dffc8 | [
"Apache-2.0"
] | null | null | null | tboneReward.py | thh0003/DeepRacer | 0e639585e8d33a9157c262b7d7cb99e60b0dffc8 | [
"Apache-2.0"
] | null | null | null | tboneReward.py | thh0003/DeepRacer | 0e639585e8d33a9157c262b7d7cb99e60b0dffc8 | [
"Apache-2.0"
] | 1 | 2021-02-12T10:06:51.000Z | 2021-02-12T10:06:51.000Z | # model name: tbone-015
#
import math
class HISTORY:
stepsPerSecond = 64
lookAheadSteps = 32
prev_speed=None
prev_steering_angle=None
prev_steps=None
prev_distance_centerline=None
prev_location=(0.00,0.00)
step_duration = float(1 / stepsPerSecond)
prev_total_reward = None
prev_... | 276.122857 | 4,891 | 0.774572 | 9,944 | 96,643 | 7.454344 | 0.055511 | 0.010199 | 0.015298 | 0.015136 | 0.894949 | 0.886477 | 0.87327 | 0.867523 | 0.864919 | 0.843658 | 0 | 0.668187 | 0.076477 | 96,643 | 350 | 4,892 | 276.122857 | 0.162338 | 0.025041 | 0 | 0.201581 | 0 | 0 | 0.071841 | 0.009719 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059289 | false | 0 | 0.003953 | 0.003953 | 0.181818 | 0.071146 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 10 |
4afdb769365aa89eb2ecdc3f93c366ba4299ae7f | 83 | py | Python | RegscorePy/__init__.py | UBC-MDS/model-comparison-package | bcb898fe574e72d5b098d2695040f1615e05946c | [
"MIT"
] | 19 | 2018-03-03T20:48:19.000Z | 2022-01-17T01:21:24.000Z | RegscorePy/__init__.py | UBC-MDS/model-comparison-package | bcb898fe574e72d5b098d2695040f1615e05946c | [
"MIT"
] | 17 | 2018-02-15T22:49:58.000Z | 2018-03-22T03:38:58.000Z | RegscorePy/__init__.py | UBC-MDS/model-comparison-package | bcb898fe574e72d5b098d2695040f1615e05946c | [
"MIT"
] | 3 | 2018-03-01T22:07:13.000Z | 2020-03-09T13:13:25.000Z | from RegscorePy import aic
from RegscorePy import bic
from RegscorePy import mallow | 27.666667 | 29 | 0.86747 | 12 | 83 | 6 | 0.5 | 0.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 83 | 3 | 29 | 27.666667 | 1 | 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 |
ab2f0fb91b21289228b87b2aa0e3f586c1bab2df | 90 | py | Python | tests/c_module_test.py | asottile/setuptools-golang-examples | 8bdfe883c8a72742158fe07059d1fe429fb8d4e0 | [
"MIT"
] | 11 | 2016-03-13T03:16:12.000Z | 2021-08-14T01:53:24.000Z | tests/c_module_test.py | asottile/setuptools-golang-examples | 8bdfe883c8a72742158fe07059d1fe429fb8d4e0 | [
"MIT"
] | 3 | 2017-02-12T12:54:52.000Z | 2019-09-09T20:55:05.000Z | tests/c_module_test.py | asottile/setuptools-golang-examples | 8bdfe883c8a72742158fe07059d1fe429fb8d4e0 | [
"MIT"
] | 1 | 2016-12-17T13:35:14.000Z | 2016-12-17T13:35:14.000Z | import c_module
def test_c_module():
assert c_module.hello_world() == 'hello world'
| 15 | 50 | 0.722222 | 14 | 90 | 4.285714 | 0.571429 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 51 | 18 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ab2f5b8d4792fbc59b89398f16ebdca527e22027 | 11,783 | py | Python | tests/test_kernels.py | RevanMacQueen/HpBandSter | 3b6a5594df30796f43114f7e0e70c1dc56c11e60 | [
"BSD-3-Clause"
] | 546 | 2018-01-18T08:09:02.000Z | 2022-03-25T03:06:24.000Z | tests/test_kernels.py | RevanMacQueen/HpBandSter | 3b6a5594df30796f43114f7e0e70c1dc56c11e60 | [
"BSD-3-Clause"
] | 99 | 2018-02-09T14:00:13.000Z | 2022-01-11T17:05:44.000Z | tests/test_kernels.py | RevanMacQueen/HpBandSter | 3b6a5594df30796f43114f7e0e70c1dc56c11e60 | [
"BSD-3-Clause"
] | 126 | 2018-02-12T14:08:58.000Z | 2022-03-08T02:50:33.000Z | import os
import unittest
import numpy as np
#from scipy.integrate import quadrature as quadrature
from scipy.integrate import quad as quadrature
from statsmodels.nonparametric import kernels as sm_kernels
from hpbandster.optimizers.kde import kernels as hp_kernels
import ConfigSpace as CS
from pdb import set_t... | 36.033639 | 141 | 0.719426 | 1,923 | 11,783 | 4.227769 | 0.095164 | 0.042435 | 0.04797 | 0.036162 | 0.876507 | 0.855966 | 0.852645 | 0.840221 | 0.8369 | 0.819434 | 0 | 0.040553 | 0.146143 | 11,783 | 326 | 142 | 36.144172 | 0.767518 | 0.057541 | 0 | 0.714953 | 0 | 0 | 0.059046 | 0 | 0 | 0 | 0 | 0 | 0.084112 | 1 | 0.102804 | false | 0 | 0.037383 | 0 | 0.196262 | 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 |
db5859dd6b72238df119a5bd50931cc9b6a98bc9 | 81 | py | Python | scripts/update_front_end.py | mattheweller/TokenFarm | f2f4accc121b29f280e740cc4dbedc207fb61f33 | [
"MIT"
] | 1 | 2021-11-20T08:29:10.000Z | 2021-11-20T08:29:10.000Z | scripts/update_front_end.py | mattheweller/TokenFarm | f2f4accc121b29f280e740cc4dbedc207fb61f33 | [
"MIT"
] | null | null | null | scripts/update_front_end.py | mattheweller/TokenFarm | f2f4accc121b29f280e740cc4dbedc207fb61f33 | [
"MIT"
] | 1 | 2022-02-14T03:21:27.000Z | 2022-02-14T03:21:27.000Z | from scripts.deploy import update_front_end
def main():
update_front_end()
| 13.5 | 43 | 0.765432 | 12 | 81 | 4.833333 | 0.75 | 0.37931 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 5 | 44 | 16.2 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
db6bfdadd7306c73645432b3d2935a0adf2ff718 | 103 | py | Python | accepted/chennaipy/october/samplecode/minions/__init__.py | tasdikrahman/talks | bba44283e149ab27fb8cc2f6f8644adf9f2c8a11 | [
"MIT"
] | 1 | 2017-04-16T06:59:02.000Z | 2017-04-16T06:59:02.000Z | accepted/chennaipy/october/samplecode/minions/__init__.py | prodicus/talks | bba44283e149ab27fb8cc2f6f8644adf9f2c8a11 | [
"MIT"
] | null | null | null | accepted/chennaipy/october/samplecode/minions/__init__.py | prodicus/talks | bba44283e149ab27fb8cc2f6f8644adf9f2c8a11 | [
"MIT"
] | 1 | 2019-10-26T00:28:07.000Z | 2019-10-26T00:28:07.000Z | # minions/__init__.py
print("inside minions/__init__.py")
from .foo import Foo
from .bar import Bar
| 12.875 | 35 | 0.747573 | 16 | 103 | 4.3125 | 0.5625 | 0.318841 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 7 | 36 | 14.714286 | 0.784091 | 0.184466 | 0 | 0 | 0 | 0 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
db91b5d0571ba472364cbad40dac989d29f41f85 | 1,511 | py | Python | discoutils/help_cmds.py | Rishiraj0100/discoutils | 67da54034bf5771d7e55627c2cdcddc9f72f19a4 | [
"MIT"
] | 2 | 2021-04-09T03:27:43.000Z | 2021-05-24T16:29:42.000Z | discoutils/help_cmds.py | Rishiraj0100/discoutils | 67da54034bf5771d7e55627c2cdcddc9f72f19a4 | [
"MIT"
] | null | null | null | discoutils/help_cmds.py | Rishiraj0100/discoutils | 67da54034bf5771d7e55627c2cdcddc9f72f19a4 | [
"MIT"
] | 1 | 2021-03-20T14:23:28.000Z | 2021-03-20T14:23:28.000Z | import discord
from discord.ext import commands
class MinimalEmbedHelp(commands.MinimalHelpCommand):
def __init__(self, **options):
self.options = options
self.embed_template = options.get("embed_template", discord.Embed) or discord.Embed
if not issubclass(self.embed_template, discord.Embed):
raise... | 36.853659 | 110 | 0.704831 | 197 | 1,511 | 5.253807 | 0.238579 | 0.150725 | 0.131401 | 0.096618 | 0.863768 | 0.863768 | 0.863768 | 0.863768 | 0.863768 | 0.863768 | 0 | 0 | 0.181337 | 1,511 | 40 | 111 | 37.775 | 0.836702 | 0 | 0 | 0.777778 | 0 | 0 | 0.138981 | 0.034414 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.166667 | 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 |
dba1ac1cb5ca95bcd1ee105cb06a942b6ca81e2a | 18,904 | py | Python | tests/test_dlda.py | NumberAI/python-bandwidth-iris | 0e05f79d68b244812afb97e00fd65b3f46d00aa3 | [
"MIT"
] | 2 | 2020-04-13T13:47:59.000Z | 2022-02-23T20:32:41.000Z | tests/test_dlda.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2020-09-18T20:59:24.000Z | 2021-08-25T16:51:42.000Z | tests/test_dlda.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2018-12-12T14:39:50.000Z | 2020-11-17T21:42:29.000Z | #!/usr/bin/env python
import os
import sys
# For coverage.
if __package__ is None:
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/..")
from unittest import main, TestCase
import requests
import requests_mock
from iris_sdk.client import Client
from iris_sdk.models.account import Account
XML_RES... | 44.065268 | 83 | 0.597598 | 1,981 | 18,904 | 5.536598 | 0.130742 | 0.15454 | 0.072757 | 0.026258 | 0.870077 | 0.849836 | 0.839807 | 0.804158 | 0.795861 | 0.761214 | 0 | 0.067444 | 0.274492 | 18,904 | 429 | 84 | 44.065268 | 0.732264 | 0.002698 | 0 | 0.709945 | 0 | 0 | 0.364143 | 0.213774 | 0 | 0 | 0 | 0 | 0.312155 | 1 | 0.016575 | false | 0 | 0.019337 | 0 | 0.038674 | 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 |
dbb198672a65768e575e0918d52623b322c29f9c | 60,858 | py | Python | py2cytoscape/cyrest/networks.py | g-simmons2/py2cytoscape | e2cd1c5d598e1da02f50273e958ddf574c523eb8 | [
"MIT"
] | 97 | 2018-01-23T00:20:51.000Z | 2022-03-11T05:01:01.000Z | py2cytoscape/cyrest/networks.py | g-simmons2/py2cytoscape | e2cd1c5d598e1da02f50273e958ddf574c523eb8 | [
"MIT"
] | 64 | 2018-01-24T14:51:20.000Z | 2022-02-21T01:05:02.000Z | py2cytoscape/cyrest/networks.py | g-simmons2/py2cytoscape | e2cd1c5d598e1da02f50273e958ddf574c523eb8 | [
"MIT"
] | 25 | 2018-01-20T20:29:39.000Z | 2021-04-09T17:28:58.000Z | from .base import *
class networks(object):
"""
cytoscape session interface as shown in CyREST's swagger documentation.
:param url: an url of the type 'http://' + host + ':' + str(port) + '/' + version + '/'.
"""
def __init__(self, url):
self.__url = url + 'commands/networks'
self... | 40.762224 | 389 | 0.658582 | 7,321 | 60,858 | 5.424532 | 0.060238 | 0.020145 | 0.024476 | 0.035051 | 0.87664 | 0.854103 | 0.824944 | 0.789741 | 0.772241 | 0.730617 | 0 | 0.006822 | 0.241332 | 60,858 | 1,492 | 390 | 40.789544 | 0.853306 | 0.559318 | 0 | 0.330677 | 0 | 0 | 0.102582 | 0.006699 | 0 | 0 | 0 | 0 | 0 | 1 | 0.322709 | false | 0.055777 | 0.003984 | 0 | 0.649402 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
91742e29031a9a152eb085356856b78ba9fca01a | 3,193 | py | Python | pdip/integrator/connection/types/bigdata/adapters/source/big_data_source_adapter.py | ahmetcagriakca/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 2 | 2021-12-09T21:07:46.000Z | 2021-12-11T22:18:01.000Z | pdip/integrator/connection/types/bigdata/adapters/source/big_data_source_adapter.py | PythonDataIntegrator/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | null | null | null | pdip/integrator/connection/types/bigdata/adapters/source/big_data_source_adapter.py | PythonDataIntegrator/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 3 | 2021-11-15T00:47:00.000Z | 2021-12-17T11:35:45.000Z | from typing import List
from injector import inject
from pdip.integrator.connection.base import ConnectionSourceAdapter
from pdip.integrator.connection.types.bigdata.base import BigDataProvider
from pdip.integrator.integration.domain.base import IntegrationBase
class BigDataSourceAdapter(ConnectionSourceAdapter):
... | 54.118644 | 116 | 0.705606 | 341 | 3,193 | 6.451613 | 0.16129 | 0.229091 | 0.286364 | 0.163636 | 0.716364 | 0.716364 | 0.716364 | 0.716364 | 0.716364 | 0.716364 | 0 | 0 | 0.212339 | 3,193 | 58 | 117 | 55.051724 | 0.874751 | 0 | 0 | 0.568627 | 0 | 0 | 0.047917 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078431 | false | 0 | 0.098039 | 0 | 0.254902 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
919ed8f0ad1d905cb001d29c8ec96e6e35189fc9 | 38,660 | py | Python | code/jobscheduling/schedulers/BlockPBEDF.py | mdskrzypczyk/LinkScheduling | 46b4a676976f3429f6b5a28685386ed712f1bbe0 | [
"MIT"
] | null | null | null | code/jobscheduling/schedulers/BlockPBEDF.py | mdskrzypczyk/LinkScheduling | 46b4a676976f3429f6b5a28685386ed712f1bbe0 | [
"MIT"
] | null | null | null | code/jobscheduling/schedulers/BlockPBEDF.py | mdskrzypczyk/LinkScheduling | 46b4a676976f3429f6b5a28685386ed712f1bbe0 | [
"MIT"
] | null | null | null | from queue import PriorityQueue
from jobscheduling.log import LSLogger
from jobscheduling.schedulers.scheduler import Scheduler, verify_budget_schedule
from jobscheduling.task import get_lcm_for
logger = LSLogger()
class UniResourcePreemptionBudgetScheduler(Scheduler):
def schedule_tasks(self, taskset, topology... | 48.385482 | 120 | 0.550285 | 4,600 | 38,660 | 4.40087 | 0.053478 | 0.034776 | 0.048903 | 0.032602 | 0.918247 | 0.912567 | 0.906639 | 0.894833 | 0.892907 | 0.888461 | 0 | 0.008679 | 0.380083 | 38,660 | 798 | 121 | 48.446115 | 0.836018 | 0.171133 | 0 | 0.893458 | 0 | 0 | 0.001051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018692 | false | 0 | 0.016822 | 0 | 0.063551 | 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 |
91db55f6a6e21f30d05f690510442f2248488a06 | 54,805 | py | Python | test/integration/component/test_multiple_public_interfaces.py | lujiefsi/cloudstack | 74a7cbf753537928265c1f36afe086d69ad44e90 | [
"Apache-2.0"
] | 1 | 2020-06-17T08:53:55.000Z | 2020-06-17T08:53:55.000Z | test/integration/component/test_multiple_public_interfaces.py | lujiefsi/cloudstack | 74a7cbf753537928265c1f36afe086d69ad44e90 | [
"Apache-2.0"
] | 4 | 2021-09-11T01:43:33.000Z | 2022-03-10T22:44:41.000Z | test/integration/component/test_multiple_public_interfaces.py | lujiefsi/cloudstack | 74a7cbf753537928265c1f36afe086d69ad44e90 | [
"Apache-2.0"
] | 1 | 2017-04-03T18:22:22.000Z | 2017-04-03T18:22:22.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 41.996169 | 137 | 0.516741 | 5,130 | 54,805 | 5.418908 | 0.0846 | 0.025612 | 0.020576 | 0.012842 | 0.886507 | 0.880931 | 0.872729 | 0.855498 | 0.854419 | 0.844383 | 0 | 0.006881 | 0.40073 | 54,805 | 1,304 | 138 | 42.028374 | 0.83954 | 0.093477 | 0 | 0.80093 | 0 | 0.00093 | 0.133703 | 0.00522 | 0 | 0 | 0 | 0 | 0.022326 | 1 | 0.037209 | false | 0.008372 | 0.012093 | 0 | 0.07814 | 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 |
37cf77fc741601aa6e077dbfe6167357d096dbf3 | 15,864 | py | Python | sdk/python/pulumi_aws/dynamodb/_inputs.py | jen20/pulumi-aws | 172e00c642adc03238f89cc9c5a16b914a77c2b1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/dynamodb/_inputs.py | jen20/pulumi-aws | 172e00c642adc03238f89cc9c5a16b914a77c2b1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/dynamodb/_inputs.py | jen20/pulumi-aws | 172e00c642adc03238f89cc9c5a16b914a77c2b1 | [
"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 warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 35.972789 | 141 | 0.633447 | 1,988 | 15,864 | 4.867706 | 0.082998 | 0.110261 | 0.086804 | 0.043195 | 0.870001 | 0.809548 | 0.791878 | 0.771417 | 0.750853 | 0.714581 | 0 | 0.000254 | 0.255736 | 15,864 | 440 | 142 | 36.054545 | 0.819344 | 0.300555 | 0 | 0.633065 | 1 | 0 | 0.102301 | 0.016589 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21371 | false | 0 | 0.020161 | 0.008065 | 0.358871 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
531732938f823a08099857cd3f950ce94c14880b | 163 | py | Python | PythonExercicios/ex107/moeda.py | lordvinick/Python | c03fd08d4c204104bf0196b0bd129427fd2067ae | [
"MIT"
] | null | null | null | PythonExercicios/ex107/moeda.py | lordvinick/Python | c03fd08d4c204104bf0196b0bd129427fd2067ae | [
"MIT"
] | null | null | null | PythonExercicios/ex107/moeda.py | lordvinick/Python | c03fd08d4c204104bf0196b0bd129427fd2067ae | [
"MIT"
] | null | null | null | def dobro(n):
return n * 2
def metade(n):
return n / 2
def aumentar(n):
return n + (10 / 100 * n)
def diminuir(n):
return n - (13 / 100 * n)
| 10.866667 | 29 | 0.521472 | 28 | 163 | 3.035714 | 0.392857 | 0.329412 | 0.376471 | 0.211765 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 0.331288 | 163 | 14 | 30 | 11.642857 | 0.669725 | 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 |
531d2f25dc1dbe6a7fabf963d1ad341f8a8e99b4 | 126 | py | Python | temboo/core/Library/Zendesk/Tags/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Zendesk/Tags/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Zendesk/Tags/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Zendesk.Tags.ListTags import ListTags, ListTagsInputSet, ListTagsResultSet, ListTagsChoreographyExecution
| 63 | 125 | 0.888889 | 11 | 126 | 10.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 126 | 1 | 126 | 126 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5330461e76435e6a79d0153a3c546ef32ad7b769 | 45,041 | py | Python | py-scripts/tip-cicd-sanity/single_client_throughput.py | yadavnikita/lanforge-scripts | 067e75b71cd5c756d87da2fc4856b67e24260cab | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | null | null | null | py-scripts/tip-cicd-sanity/single_client_throughput.py | yadavnikita/lanforge-scripts | 067e75b71cd5c756d87da2fc4856b67e24260cab | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | null | null | null | py-scripts/tip-cicd-sanity/single_client_throughput.py | yadavnikita/lanforge-scripts | 067e75b71cd5c756d87da2fc4856b67e24260cab | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# Script is based off of sta_connect2.py
# Script built for max throughput testing on a single client
# The main function of the script creates a station, then tests:
# 1. UDP Downstream (AP to STA)
# 2. UDP Upstream (STA to AP)
# 3. TCP Downstream (AP to STA)
# 4. TCP Upstream (STA to ... | 42.814639 | 146 | 0.606714 | 5,843 | 45,041 | 4.380455 | 0.06726 | 0.032663 | 0.016878 | 0.015472 | 0.847626 | 0.835671 | 0.82563 | 0.817855 | 0.814026 | 0.810197 | 0 | 0.014511 | 0.280877 | 45,041 | 1,051 | 147 | 42.855376 | 0.775702 | 0.10395 | 0 | 0.818634 | 0 | 0 | 0.093662 | 0.007268 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058385 | false | 0.03354 | 0.012422 | 0.002484 | 0.10559 | 0.101863 | 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 |
53356027e1e1c532205d963aa9363c18c5588353 | 14 | py | Python | code/sample_2-1-15.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/sample_2-1-15.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/sample_2-1-15.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | print(9**0.5)
| 7 | 13 | 0.571429 | 4 | 14 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.071429 | 14 | 1 | 14 | 14 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
727601bdf896c3df2c176c804ebc8e67bab24b1e | 2,345 | py | Python | noiseInterp.py | oist/psgan | 2b4faf1cfd1f0ced162a7e44b7d00eb58edf4a49 | [
"MIT"
] | 1 | 2020-12-24T06:54:40.000Z | 2020-12-24T06:54:40.000Z | noiseInterp.py | oist/psgan | 2b4faf1cfd1f0ced162a7e44b7d00eb58edf4a49 | [
"MIT"
] | null | null | null | noiseInterp.py | oist/psgan | 2b4faf1cfd1f0ced162a7e44b7d00eb58edf4a49 | [
"MIT"
] | 1 | 2020-12-24T06:57:14.000Z | 2020-12-24T06:57:14.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Aug 13 12:10:41 2019
@author: reiters
"""
import numpy as np
#t1=np.load('/gpfs/laur/sepia_tools/PSGAN_textures/usedTextures/noiseBig_epoch_501_fc1.0_ngf80_ndf80_dep5-5.npy',None,'allow_pickle',True)
#t2=np.load('/gpfs/laur/sepia_tools/PSGAN_textures/... | 71.060606 | 174 | 0.826866 | 392 | 2,345 | 4.609694 | 0.209184 | 0.057554 | 0.093525 | 0.129496 | 0.832319 | 0.832319 | 0.832319 | 0.832319 | 0.832319 | 0.831212 | 0 | 0.075165 | 0.029851 | 2,345 | 33 | 175 | 71.060606 | 0.719121 | 0.721109 | 0 | 0 | 0 | 0 | 0.594295 | 0.55626 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 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 |
72bf157e393cf24cbb2df229c798e4e4c15e63c0 | 202 | py | Python | tests/expectations/cat-x-cat-pw-idxs.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 3 | 2021-01-22T20:42:31.000Z | 2021-06-02T17:53:19.000Z | tests/expectations/cat-x-cat-pw-idxs.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 331 | 2017-11-13T22:41:56.000Z | 2021-12-02T21:59:43.000Z | tests/expectations/cat-x-cat-pw-idxs.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 1 | 2021-02-19T02:49:00.000Z | 2021-02-19T02:49:00.000Z | (
((1,), (), ()),
((2,), (), ()),
((1, 2), (), ()),
((), (0,), ()),
((), (0,), (0,)),
((), (), ()),
((), (), ()),
((), (), ()),
((), (), ()),
((), (0,), (0,)),
)
| 15.538462 | 21 | 0.044554 | 9 | 202 | 1 | 0.333333 | 0.888889 | 1 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.361386 | 202 | 12 | 22 | 16.833333 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
72d6db48d214a0b8978ca3f6abcfdd1c8117c2e1 | 6,668 | py | Python | config.py | hbutsuak95/iv_rl | 0f72a8f077a238237027ea96b7d1160c35ac9959 | [
"MIT"
] | 9 | 2022-01-16T11:27:00.000Z | 2022-03-13T14:04:48.000Z | config.py | hbutsuak95/iv_rl | 0f72a8f077a238237027ea96b7d1160c35ac9959 | [
"MIT"
] | null | null | null | config.py | hbutsuak95/iv_rl | 0f72a8f077a238237027ea96b7d1160c35ac9959 | [
"MIT"
] | null | null | null | config = dict({
"LunarLander-v2": {
"DQN": {
"eff_batch_size" : 128,
"eps_decay" : 0.99,
"gamma" : 0.99,
"tau" : 0.005,
"lr" : 0.0005
},
"EnsembleDQN": {
"eff_batch_size" : 64,
"eps_decay" : 0.99,
"gamma" : 0.99,
"tau" : 0.005,
"lr" : 0... | 18.318681 | 38 | 0.420066 | 716 | 6,668 | 3.581006 | 0.103352 | 0.112324 | 0.126365 | 0.099454 | 0.880265 | 0.846724 | 0.804212 | 0.781591 | 0.781591 | 0.778861 | 0 | 0.112395 | 0.428914 | 6,668 | 363 | 39 | 18.369146 | 0.560924 | 0 | 0 | 0.711538 | 0 | 0 | 0.347383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
f4056394ea1442fe773de4cc6e8fb8fa335cbc33 | 32,794 | py | Python | tests/managers/test_background.py | bdjilka/connect-extension-runner | 7930b34dae92addb3807984fd553debc2b78ac23 | [
"Apache-2.0"
] | null | null | null | tests/managers/test_background.py | bdjilka/connect-extension-runner | 7930b34dae92addb3807984fd553debc2b78ac23 | [
"Apache-2.0"
] | null | null | null | tests/managers/test_background.py | bdjilka/connect-extension-runner | 7930b34dae92addb3807984fd553debc2b78ac23 | [
"Apache-2.0"
] | null | null | null | import asyncio
import time
import pytest
from connect.eaas.config import ConfigHelper
from connect.eaas.constants import (
ASSET_REQUEST_TASK_TYPES,
BACKGROUND_TASK_TYPES,
LISTING_REQUEST_TASK_TYPES,
TASK_TYPE_EXT_METHOD_MAP,
TIER_CONFIG_REQUEST_TASK_TYPES,
)
from connect.eaas.dataclasses import (... | 32.826827 | 98 | 0.647192 | 3,783 | 32,794 | 5.349194 | 0.05604 | 0.038595 | 0.005782 | 0.040225 | 0.918512 | 0.905268 | 0.880213 | 0.874234 | 0.863758 | 0.840927 | 0 | 0.030755 | 0.222663 | 32,794 | 998 | 99 | 32.859719 | 0.763063 | 0 | 0 | 0.748603 | 0 | 0.013408 | 0.239007 | 0.13722 | 0 | 0 | 0 | 0 | 0.031285 | 1 | 0 | false | 0 | 0.010056 | 0 | 0.010056 | 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 |
f408e76faea4f52a7470f9b6a719435a4eb77812 | 77 | py | Python | coms/src/coms/__init__.py | tylerferrara/coms | 5070b65836f0ff3538f787e4cbe46203355270ea | [
"MIT"
] | null | null | null | coms/src/coms/__init__.py | tylerferrara/coms | 5070b65836f0ff3538f787e4cbe46203355270ea | [
"MIT"
] | 5 | 2022-02-11T00:22:24.000Z | 2022-02-15T01:31:28.000Z | coms/src/coms/__init__.py | tylerferrara/coms | 5070b65836f0ff3538f787e4cbe46203355270ea | [
"MIT"
] | null | null | null | from coms.sim import *
from coms.constants import *
from coms.utils import *
| 19.25 | 28 | 0.766234 | 12 | 77 | 4.916667 | 0.5 | 0.40678 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 3 | 29 | 25.666667 | 0.907692 | 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 |
f4689bbde0696cb3c63faedcf15b273645172e1e | 45,529 | py | Python | qcengine/programs/tests/test_dftd3_mp2d.py | dotsdl/QCEngine | 51c7e0bfb28c826923eb38fcec84b9e45e90b3c4 | [
"BSD-3-Clause"
] | 1 | 2019-10-22T20:28:03.000Z | 2019-10-22T20:28:03.000Z | qcengine/programs/tests/test_dftd3_mp2d.py | ChemRacer/QCEngine | fcc4cba9a79f494378527eee1c7b218b33189e66 | [
"BSD-3-Clause"
] | null | null | null | qcengine/programs/tests/test_dftd3_mp2d.py | ChemRacer/QCEngine | fcc4cba9a79f494378527eee1c7b218b33189e66 | [
"BSD-3-Clause"
] | null | null | null | import copy
import numpy as np
import pytest
import qcelemental as qcel
import qcengine as qcng
from qcelemental.testing import compare, compare_recursive, compare_values, tnm
from qcengine.programs import empirical_dispersion_resources
from qcengine.testing import is_program_new_enough, using_dftd3, using_dftd3_321,... | 50.031868 | 138 | 0.66652 | 5,744 | 45,529 | 5.23172 | 0.085306 | 0.228412 | 0.256963 | 0.261123 | 0.865429 | 0.832252 | 0.794083 | 0.76836 | 0.713687 | 0.701175 | 0 | 0.450242 | 0.152694 | 45,529 | 909 | 139 | 50.086909 | 0.328745 | 0.023282 | 0 | 0.553398 | 0 | 0 | 0.128584 | 0 | 0 | 0 | 0 | 0 | 0.053398 | 1 | 0.01699 | false | 0 | 0.012136 | 0.001214 | 0.033981 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
be4d32813913f9706eedc11c2e371d8d4cadf975 | 6,914 | py | Python | myadmin/forms.py | Hoofeycheng/videoproject | ebb7df4d07085f9e4adeac8273ea19ff6f2667b6 | [
"MIT"
] | null | null | null | myadmin/forms.py | Hoofeycheng/videoproject | ebb7df4d07085f9e4adeac8273ea19ff6f2667b6 | [
"MIT"
] | null | null | null | myadmin/forms.py | Hoofeycheng/videoproject | ebb7df4d07085f9e4adeac8273ea19ff6f2667b6 | [
"MIT"
] | null | null | null | from django import forms
from django.contrib.auth.forms import AuthenticationForm
from django.core.exceptions import ValidationError
from users.models import User
from video.models import Video, Classification
class UserLoginForm(AuthenticationForm):
username = forms.CharField(min_length=4,max_length=30,
... | 44.320513 | 90 | 0.453572 | 502 | 6,914 | 6.109562 | 0.187251 | 0.073362 | 0.0776 | 0.104989 | 0.813825 | 0.809912 | 0.799478 | 0.787414 | 0.768829 | 0.768829 | 0 | 0.020919 | 0.439977 | 6,914 | 156 | 91 | 44.320513 | 0.771178 | 0.029795 | 0 | 0.713178 | 0 | 0 | 0.145563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007752 | false | 0.046512 | 0.03876 | 0 | 0.27907 | 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 |
beb59c019310405492753fb8c5abc4f8e2f10488 | 1,834 | py | Python | test/pyaz/batch/node/user/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | test/pyaz/batch/node/user/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | 9 | 2021-09-24T16:37:24.000Z | 2021-12-24T00:39:19.000Z | test/pyaz/batch/node/user/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | import json, subprocess
from .... pyaz_utils import get_cli_name, get_params
def create(pool_id, node_id, name=None, is_admin=None, expiry_time=None, password=None, ssh_public_key=None, json_file=None, account_name=None, account_key=None, account_endpoint=None):
params = get_params(locals())
command = "az ... | 39.869565 | 185 | 0.689749 | 245 | 1,834 | 5.028571 | 0.212245 | 0.080357 | 0.048701 | 0.029221 | 0.859578 | 0.859578 | 0.82711 | 0.82711 | 0.82711 | 0.82711 | 0 | 0.004068 | 0.195747 | 1,834 | 45 | 186 | 40.755556 | 0.831186 | 0 | 0 | 0.804878 | 0 | 0 | 0.058342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073171 | false | 0.04878 | 0.04878 | 0 | 0.195122 | 0.219512 | 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 |
bec1de71110b57f69888dd52f597cfcfd2beb472 | 4,776 | py | Python | test/test_allele.py | til-unc/mhcgnomes | 0bfbe193daeb7cd38d958222f6071dd657e9fb6e | [
"Apache-2.0"
] | 6 | 2020-10-27T15:31:32.000Z | 2020-11-29T03:26:06.000Z | test/test_allele.py | til-unc/mhcgnomes | 0bfbe193daeb7cd38d958222f6071dd657e9fb6e | [
"Apache-2.0"
] | 4 | 2020-10-27T14:57:16.000Z | 2020-11-04T21:56:39.000Z | test/test_allele.py | pirl-unc/mhcgnomes | 0bfbe193daeb7cd38d958222f6071dd657e9fb6e | [
"Apache-2.0"
] | null | null | null | from mhcgnomes import Allele
from nose.tools import eq_
def test_allele_get_A0201():
allele = Allele.get("HLA", "A", "02", "01")
assert allele is not None
assert type(allele) is Allele
eq_(allele.species_prefix, "HLA")
eq_(allele.gene_name, "A")
eq_(list(allele.allele_fields), ["02", "01"])
... | 39.8 | 76 | 0.764657 | 607 | 4,776 | 5.766063 | 0.097199 | 0.329143 | 0.278571 | 0.464286 | 0.863429 | 0.863429 | 0.839143 | 0.819429 | 0.819429 | 0.804 | 0 | 0.02355 | 0.15536 | 4,776 | 119 | 77 | 40.134454 | 0.844075 | 0 | 0 | 0.619048 | 0 | 0 | 0.028266 | 0 | 0 | 0 | 0 | 0 | 0.72381 | 1 | 0.095238 | false | 0 | 0.019048 | 0 | 0.114286 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
fe35a3b2938c3a9695a40ff8f464099558b920bb | 15,070 | py | Python | plot_cifar100.py | VamshiTeja/SMDL | 0dda36df9d0f2f921f365cc644f61dd81798693c | [
"MIT"
] | 16 | 2019-06-05T05:18:56.000Z | 2021-10-30T00:29:54.000Z | plot_cifar100.py | VamshiTeja/SMDL | 0dda36df9d0f2f921f365cc644f61dd81798693c | [
"MIT"
] | 5 | 2020-01-13T10:49:58.000Z | 2022-03-11T23:48:55.000Z | plot_cifar100.py | VamshiTeja/SMDL | 0dda36df9d0f2f921f365cc644f61dd81798693c | [
"MIT"
] | 6 | 2019-06-06T15:40:05.000Z | 2020-08-11T12:46:58.000Z | import numpy as np
import matplotlib.pyplot as plt
import sys, os
from lib.config import cfg
if sys.version_info[0] == 2:
import cPickle as pickle
else:
import pickle
def plot_accuracies(data, title='Accuracy Plot', plot_type='Accuracy', x_axis_label='Epochs',save_location=None, mode='Test'):
"""
Thi... | 62.272727 | 212 | 0.656271 | 1,761 | 15,070 | 5.220329 | 0.105622 | 0.049603 | 0.146851 | 0.170347 | 0.840748 | 0.823126 | 0.814642 | 0.814642 | 0.792886 | 0.787773 | 0 | 0.087013 | 0.235103 | 15,070 | 242 | 213 | 62.272727 | 0.710506 | 0.125614 | 0 | 0.404624 | 0 | 0 | 0.578903 | 0.500344 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011561 | false | 0 | 0.034682 | 0 | 0.046243 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fe48b296946247e97ad2d31e5a4afeb53cac385b | 30 | py | Python | Chapter 04/ch41k.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 04/ch41k.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 04/ch41k.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | print(2+3 * 5 & 7**2)
#17 | 10 | 24 | 0.4 | 7 | 30 | 1.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.35 | 0.333333 | 30 | 3 | 25 | 10 | 0.25 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
fe6c73aab9a5655789293d99cf2998fe3fd967db | 111 | py | Python | dizoo/procgen/maze/entry/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 464 | 2021-07-08T07:26:33.000Z | 2022-03-31T12:35:16.000Z | dizoo/procgen/maze/entry/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 177 | 2021-07-09T08:22:55.000Z | 2022-03-31T07:35:22.000Z | dizoo/procgen/maze/entry/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 92 | 2021-07-08T12:16:37.000Z | 2022-03-31T09:24:41.000Z | from .maze_ppo_config import main_config, create_config
from .maze_dqn_config import main_config, create_config | 55.5 | 55 | 0.882883 | 18 | 111 | 5 | 0.444444 | 0.177778 | 0.355556 | 0.488889 | 0.755556 | 0.755556 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 111 | 2 | 56 | 55.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 8 |
fe980797b792f640d2f480a499ac62e42f8e8dbb | 11,680 | py | Python | supervised_BAE.py | bolopenguin/SSb-VAE-Custom | ad5484e9d3d0e57fc632c365fdb4847bf64ee457 | [
"Apache-2.0"
] | null | null | null | supervised_BAE.py | bolopenguin/SSb-VAE-Custom | ad5484e9d3d0e57fc632c365fdb4847bf64ee457 | [
"Apache-2.0"
] | null | null | null | supervised_BAE.py | bolopenguin/SSb-VAE-Custom | ad5484e9d3d0e57fc632c365fdb4847bf64ee457 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import keras
from keras.layers import *
from keras.models import Sequential,Model
from keras import backend as K
from base_networks import *
import tensorflow as tf
def my_KL_loss(y_true, y_pred):
y_pred = K.clip(y_pred, K.epsilon(), 1)
return - K.sum(y_true*K.log(y_pred), axis=-1)
def my_... | 38.045603 | 148 | 0.672089 | 1,838 | 11,680 | 4.023939 | 0.093036 | 0.027042 | 0.018659 | 0.031098 | 0.871011 | 0.865603 | 0.857761 | 0.842888 | 0.827474 | 0.809221 | 0 | 0.011243 | 0.192808 | 11,680 | 306 | 149 | 38.169935 | 0.773229 | 0.093408 | 0 | 0.77169 | 0 | 0 | 0.047727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.100457 | false | 0 | 0.031963 | 0.022831 | 0.246575 | 0.045662 | 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 |
22865f57d0b712c2fd4683b00a65c077c11cd2bd | 1,139 | py | Python | asyncapi_schema_pydantic/v2_3_0/mqtt5_bindings.py | albertnadal/asyncapi-schema-pydantic | 83966bdc11f2d465a10b52cec5ff79d18fa6f5fe | [
"MIT"
] | null | null | null | asyncapi_schema_pydantic/v2_3_0/mqtt5_bindings.py | albertnadal/asyncapi-schema-pydantic | 83966bdc11f2d465a10b52cec5ff79d18fa6f5fe | [
"MIT"
] | null | null | null | asyncapi_schema_pydantic/v2_3_0/mqtt5_bindings.py | albertnadal/asyncapi-schema-pydantic | 83966bdc11f2d465a10b52cec5ff79d18fa6f5fe | [
"MIT"
] | null | null | null | from pydantic import BaseModel, Extra
class Mqtt5ChannelBinding(BaseModel):
"""
This document defines how to describe MQTT 5-specific information on AsyncAPI.
This object MUST NOT contain any properties. Its name is reserved for future use.
"""
class Config:
extra = Extra.forbid
class... | 22.78 | 85 | 0.703248 | 141 | 1,139 | 5.680851 | 0.262411 | 0.064919 | 0.104869 | 0.139825 | 0.857678 | 0.857678 | 0.857678 | 0.857678 | 0.857678 | 0.857678 | 0 | 0.009238 | 0.239684 | 1,139 | 49 | 86 | 23.244898 | 0.915704 | 0.568042 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.692308 | 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 |
22e519b0dcbf03b30f8a44ed0349936fbe28ec41 | 77,747 | py | Python | tests/tests.py | NoNameItem/cool-django-auth-ldap | 58920e50bc85b7ffa9337468e5e6256dfcfd27e7 | [
"MIT"
] | null | null | null | tests/tests.py | NoNameItem/cool-django-auth-ldap | 58920e50bc85b7ffa9337468e5e6256dfcfd27e7 | [
"MIT"
] | 3 | 2019-11-17T16:52:56.000Z | 2020-01-24T12:16:59.000Z | tests/tests.py | NoNameItem/cool-django-auth-ldap | 58920e50bc85b7ffa9337468e5e6256dfcfd27e7 | [
"MIT"
] | null | null | null | # coding: utf-8
# Copyright (c) 2019, Artem Vasin
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# - Redistributions of source code must retain the above copyright notice, this
# list of condi... | 37.00476 | 122 | 0.618866 | 8,743 | 77,747 | 5.263411 | 0.061306 | 0.023252 | 0.023665 | 0.034182 | 0.847212 | 0.815203 | 0.795211 | 0.769025 | 0.757704 | 0.737668 | 0 | 0.00248 | 0.258492 | 77,747 | 2,100 | 123 | 37.022381 | 0.79575 | 0.031873 | 0 | 0.646639 | 0 | 0 | 0.160907 | 0.072637 | 0 | 0 | 0 | 0 | 0.155265 | 1 | 0.07674 | false | 0.070791 | 0.012493 | 0.00119 | 0.098156 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
22f569ff73204966052ebdd3b28a02a28d34d1f8 | 8,626 | py | Python | vl/test/test_data.py | hurwitzlab/viral-learning | 8d7aebc0d58fa32a429f4a47593452ee2722ba82 | [
"MIT"
] | 1 | 2018-02-23T16:49:30.000Z | 2018-02-23T16:49:30.000Z | vl/test/test_data.py | hurwitzlab/viral-learning | 8d7aebc0d58fa32a429f4a47593452ee2722ba82 | [
"MIT"
] | null | null | null | vl/test/test_data.py | hurwitzlab/viral-learning | 8d7aebc0d58fa32a429f4a47593452ee2722ba82 | [
"MIT"
] | null | null | null | import h5py
import numpy as np
from vl.data import load_kmer_random_batches_h5, load_kmer_range_batches_h5
def test_load_kmer_range_batches_h5():
with h5py.File('unit_test.h5', 'w') as test_data:
dset1_shape = (12, 2)
dset1 = test_data.create_dataset('/test/data1', dset1_shape, dtype=np.float64)
... | 33.564202 | 103 | 0.465221 | 1,040 | 8,626 | 3.636538 | 0.098077 | 0.105764 | 0.069804 | 0.014807 | 0.982549 | 0.963511 | 0.957694 | 0.957694 | 0.957694 | 0.957694 | 0 | 0.118253 | 0.34709 | 8,626 | 256 | 104 | 33.695313 | 0.553267 | 0.076165 | 0 | 0.930233 | 0 | 0 | 0.019697 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 1 | 0.011628 | false | 0 | 0.017442 | 0 | 0.02907 | 0.005814 | 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 |
a3a803915854109d3925e5378843f1a0d0f44cad | 10,111 | py | Python | mablane/algortims/_UCB.py | analyticslane/mablane | 237dd5bbeb40ba9a175a65d0327e57e29e0438d0 | [
"MIT"
] | null | null | null | mablane/algortims/_UCB.py | analyticslane/mablane | 237dd5bbeb40ba9a175a65d0327e57e29e0438d0 | [
"MIT"
] | null | null | null | mablane/algortims/_UCB.py | analyticslane/mablane | 237dd5bbeb40ba9a175a65d0327e57e29e0438d0 | [
"MIT"
] | null | null | null | import numpy as np
from ._Epsilon import Epsilon
class UCB1(Epsilon):
"""
Agente que soluciona el problema del el Bandido Multibrazo
(Multi-Armed Bandit) mediante el uso de una estrategia UCB1
Parámetros
----------
bandits : array of Bandit
Vector con los bandidos con los que se ... | 31.303406 | 111 | 0.557709 | 1,203 | 10,111 | 4.586866 | 0.162095 | 0.01631 | 0.017941 | 0.019935 | 0.810982 | 0.795759 | 0.749184 | 0.737224 | 0.722363 | 0.690286 | 0 | 0.024071 | 0.350806 | 10,111 | 323 | 112 | 31.303406 | 0.816575 | 0.427356 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01548 | 0 | 1 | 0.107143 | false | 0 | 0.017857 | 0 | 0.205357 | 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 |
4319ba4e0989f9f1415b9a5e9155385b3d646341 | 209,148 | py | Python | com/vmware/nsx/fabric_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | com/vmware/nsx/fabric_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | com/vmware/nsx/fabric_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#---------------------------------------------------------------------------
# Copyright 2020 VMware, Inc. All rights reserved.
# AUTO GENERATED FILE -- DO NOT MODIFY!
#
# vAPI stub file for package com.vmware.nsx.fabric.
#-----------------------------------------------------------------------... | 44.747112 | 161 | 0.597553 | 20,714 | 209,148 | 5.792604 | 0.027083 | 0.067282 | 0.079308 | 0.09761 | 0.907141 | 0.891689 | 0.858786 | 0.842051 | 0.826199 | 0.81334 | 0 | 0.001276 | 0.295652 | 209,148 | 4,673 | 162 | 44.756687 | 0.813234 | 0.269058 | 0 | 0.704172 | 1 | 0.00171 | 0.308574 | 0.198605 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026676 | false | 0 | 0.004104 | 0 | 0.075581 | 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 |
4a621edb562c9655024f3170e500a63fcfdad5dc | 534,717 | py | Python | UI_Compiled/icons_qrc_rc.py | Tuhin-thinks/Github-Single-FileDownloader | f1473a0ea6b4b68c327d4d4d5eb3f13721cfa2f0 | [
"MIT"
] | null | null | null | UI_Compiled/icons_qrc_rc.py | Tuhin-thinks/Github-Single-FileDownloader | f1473a0ea6b4b68c327d4d4d5eb3f13721cfa2f0 | [
"MIT"
] | null | null | null | UI_Compiled/icons_qrc_rc.py | Tuhin-thinks/Github-Single-FileDownloader | f1473a0ea6b4b68c327d4d4d5eb3f13721cfa2f0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x01\x17\
\x3c\
\x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x... | 55.845117 | 129 | 0.723237 | 128,826 | 534,717 | 3.001638 | 0.002375 | 0.076527 | 0.041801 | 0.043663 | 0.97971 | 0.969966 | 0.962042 | 0.952709 | 0.947689 | 0.940482 | 0 | 0.425908 | 0.018069 | 534,717 | 9,574 | 130 | 55.85095 | 0.310566 | 0.000284 | 0 | 0.664574 | 0 | 0.793785 | 0.000002 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000209 | false | 0 | 0.000105 | 0 | 0.000314 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
4a664dc4c2eb8363d314ea2c8ca4600ff5d41601 | 203 | py | Python | cornucopia/views/tags.py | AlexandraAlter/django-cornucopia | 1681ccbc5e98736e61f6afb1b78931dda9547486 | [
"MIT"
] | null | null | null | cornucopia/views/tags.py | AlexandraAlter/django-cornucopia | 1681ccbc5e98736e61f6afb1b78931dda9547486 | [
"MIT"
] | null | null | null | cornucopia/views/tags.py | AlexandraAlter/django-cornucopia | 1681ccbc5e98736e61f6afb1b78931dda9547486 | [
"MIT"
] | null | null | null | from django import http, views
class TagListView(views.View):
pass
class TagView(views.View):
pass
class TagAliasView(views.View):
pass
class TagImplicationView(views.View):
pass
| 11.277778 | 37 | 0.714286 | 25 | 203 | 5.8 | 0.48 | 0.248276 | 0.358621 | 0.372414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20197 | 203 | 17 | 38 | 11.941176 | 0.895062 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.444444 | 0.111111 | 0 | 0.555556 | 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 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
4a85a092f03106ff913e0f5e95db9eae562313e9 | 17,062 | py | Python | apps/fhir/server/tests/responses.py | dtisza1/bluebutton-web-server | 6322f28d75bd9e00f8dc4b5988a0cd5f7c6c80cb | [
"Apache-2.0"
] | 25 | 2017-12-10T00:48:31.000Z | 2022-03-25T01:29:13.000Z | apps/fhir/server/tests/responses.py | dtisza1/bluebutton-web-server | 6322f28d75bd9e00f8dc4b5988a0cd5f7c6c80cb | [
"Apache-2.0"
] | 298 | 2017-12-05T05:53:32.000Z | 2022-03-21T19:29:03.000Z | apps/fhir/server/tests/responses.py | dtisza1/bluebutton-web-server | 6322f28d75bd9e00f8dc4b5988a0cd5f7c6c80cb | [
"Apache-2.0"
] | 31 | 2017-12-04T16:01:12.000Z | 2021-09-26T22:34:55.000Z | # flake8: noqa
responses = {
"success": {
"status_code": 200,
"content": {
"resourceType":"Bundle",
"id":"389a548b-9c85-4491-9795-9306a957030b",
"meta":{
"lastUpdated":"2019-12-18T13:40:02.792-05:00"
},
"type":"searchset",
... | 41.21256 | 156 | 0.302133 | 853 | 17,062 | 5.985932 | 0.114889 | 0.099295 | 0.122209 | 0.098707 | 0.984724 | 0.984724 | 0.984724 | 0.984724 | 0.984724 | 0.984724 | 0 | 0.154385 | 0.581643 | 17,062 | 413 | 157 | 41.312349 | 0.560941 | 0.000703 | 0 | 0.625304 | 0 | 0.036496 | 0.33171 | 0.041588 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
78dc9e542ad8932b9c4f5e353298af0c78dff6d5 | 42,438 | py | Python | sdk/python/pulumi_azure/appservice/environment_v3.py | roderik/pulumi-azure | f6d0c058d6f9111a709bc5f1515d1638f9d615f0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/appservice/environment_v3.py | roderik/pulumi-azure | f6d0c058d6f9111a709bc5f1515d1638f9d615f0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/appservice/environment_v3.py | roderik/pulumi-azure | f6d0c058d6f9111a709bc5f1515d1638f9d615f0 | [
"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 warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 53.923761 | 291 | 0.696899 | 5,106 | 42,438 | 5.535253 | 0.048962 | 0.088349 | 0.074621 | 0.030252 | 0.922372 | 0.902275 | 0.878074 | 0.861763 | 0.84347 | 0.805718 | 0 | 0.0047 | 0.207809 | 42,438 | 786 | 292 | 53.992366 | 0.835986 | 0.323248 | 0 | 0.684211 | 1 | 0 | 0.151143 | 0.091144 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166316 | false | 0.002105 | 0.014737 | 0.006316 | 0.284211 | 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 |
78eff3d7c52b09cbd98146b1731f20c92237288b | 215 | py | Python | em2/auth/utils.py | samuelcolvin/em2 | a587eaa80c09a2b44d9c221d09a563aad5b05d78 | [
"MIT"
] | 5 | 2019-03-20T19:07:45.000Z | 2020-10-03T01:16:05.000Z | em2/auth/utils.py | samuelcolvin/em2 | a587eaa80c09a2b44d9c221d09a563aad5b05d78 | [
"MIT"
] | 51 | 2019-03-12T16:19:46.000Z | 2021-03-09T00:52:24.000Z | em2/auth/utils.py | samuelcolvin/em2 | a587eaa80c09a2b44d9c221d09a563aad5b05d78 | [
"MIT"
] | 1 | 2019-05-31T14:41:18.000Z | 2019-05-31T14:41:18.000Z | import bcrypt
from em2.settings import Settings
def mk_password(password: str, settings: Settings) -> str:
return bcrypt.hashpw(password.encode(), bcrypt.gensalt(rounds=settings.bcrypt_work_factor)).decode()
| 26.875 | 104 | 0.781395 | 28 | 215 | 5.892857 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005208 | 0.106977 | 215 | 7 | 105 | 30.714286 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.5 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 7 |
6009f000814753ab436278e2d2cc38e961e80f3f | 118 | py | Python | networkx/algorithms/link_analysis/__init__.py | marscher/networkx | 2b01a30d6967cc94a0f8caca2252bce7817b2b1c | [
"BSD-3-Clause"
] | 2 | 2022-01-19T02:07:57.000Z | 2022-01-20T16:22:15.000Z | networkx/algorithms/link_analysis/__init__.py | Reed-CompBio/networkx | c266c4b29699290333dff5440e3c9e3029ec0341 | [
"BSD-3-Clause"
] | null | null | null | networkx/algorithms/link_analysis/__init__.py | Reed-CompBio/networkx | c266c4b29699290333dff5440e3c9e3029ec0341 | [
"BSD-3-Clause"
] | 1 | 2022-02-03T09:38:16.000Z | 2022-02-03T09:38:16.000Z | from networkx.algorithms.link_analysis.hits_alg import *
from networkx.algorithms.link_analysis.pagerank_alg import *
| 39.333333 | 60 | 0.864407 | 16 | 118 | 6.125 | 0.5625 | 0.244898 | 0.44898 | 0.530612 | 0.693878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 118 | 2 | 61 | 59 | 0.890909 | 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 |
60207f8a49b47fbcf85522f04e9cb01dce580ee8 | 95 | py | Python | src/python/math_fun/lib/math.py | jaximan/pexample | 8820e82b01b4ef84746351ddf2e1c8af1ff6b0a1 | [
"Apache-2.0"
] | 17 | 2017-12-28T18:05:53.000Z | 2022-03-07T09:45:40.000Z | src/python/math_fun/lib/math.py | jaximan/pexample | 8820e82b01b4ef84746351ddf2e1c8af1ff6b0a1 | [
"Apache-2.0"
] | null | null | null | src/python/math_fun/lib/math.py | jaximan/pexample | 8820e82b01b4ef84746351ddf2e1c8af1ff6b0a1 | [
"Apache-2.0"
] | 2 | 2017-12-28T17:14:17.000Z | 2020-03-25T17:46:37.000Z | import numpy as np
def random_sum(*dimensions):
return np.random.rand(*dimensions).sum()
| 15.833333 | 44 | 0.726316 | 14 | 95 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 95 | 5 | 45 | 19 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
605d3355ade13da0e6d1e8abca4f445efda9ee05 | 115 | py | Python | labelbox/data/annotation_types/data/__init__.py | nickaustinlee/labelbox-python | 45eb808165849e5a55fb6869ca5cc415d74772ce | [
"Apache-2.0",
"MIT"
] | null | null | null | labelbox/data/annotation_types/data/__init__.py | nickaustinlee/labelbox-python | 45eb808165849e5a55fb6869ca5cc415d74772ce | [
"Apache-2.0",
"MIT"
] | null | null | null | labelbox/data/annotation_types/data/__init__.py | nickaustinlee/labelbox-python | 45eb808165849e5a55fb6869ca5cc415d74772ce | [
"Apache-2.0",
"MIT"
] | null | null | null | from .raster import ImageData
from .raster import MaskData
from .text import TextData
from .video import VideoData
| 23 | 29 | 0.826087 | 16 | 115 | 5.9375 | 0.5625 | 0.210526 | 0.336842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 115 | 4 | 30 | 28.75 | 0.959596 | 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 |
606a151c1009f225adc5aacf1ad386960edc6735 | 329 | py | Python | icontact/tests/__init__.py | rochapps/django-icontact | ba50b5a66d6ed179793fb460ee6cf4d242d46276 | [
"BSD-3-Clause"
] | 1 | 2015-03-31T14:33:06.000Z | 2015-03-31T14:33:06.000Z | icontact/tests/__init__.py | rochapps/django-icontact | ba50b5a66d6ed179793fb460ee6cf4d242d46276 | [
"BSD-3-Clause"
] | null | null | null | icontact/tests/__init__.py | rochapps/django-icontact | ba50b5a66d6ed179793fb460ee6cf4d242d46276 | [
"BSD-3-Clause"
] | null | null | null | from icontact.tests.client import IContactClientTests
from icontact.tests.adapter import IContactDataTests
from icontact.tests.adapter import IContactAdapterTests
from icontact.tests.models import IContactManagerTests
from icontact.tests.models import IContactModelTests
from icontact.tests.observer import IContactObser... | 47 | 57 | 0.890578 | 36 | 329 | 8.138889 | 0.388889 | 0.245734 | 0.348123 | 0.163823 | 0.40273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072948 | 329 | 6 | 58 | 54.833333 | 0.960656 | 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 |
608d5ce46221662958076af811b187e85685de12 | 1,581 | py | Python | rvpvp/isa/rvv/vmxxx_vvm.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 5 | 2021-05-10T09:57:00.000Z | 2021-10-05T14:39:20.000Z | rvpvp/isa/rvv/vmxxx_vvm.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | null | null | null | rvpvp/isa/rvv/vmxxx_vvm.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 1 | 2021-05-14T20:24:11.000Z | 2021-05-14T20:24:11.000Z | from ...isa.inst import *
import numpy as np
class Vmadc_vvm(Inst):
name = 'vmadc.vvm'
# vmadc.vvm vd, vs2, vs1, v0
def golden(self):
if self['vl']==0:
return self['ori']
if self['ori'].dtype != np.uint8:
self['ori'].dtype = np.uint8
bit = np.unpack... | 40.538462 | 110 | 0.536369 | 214 | 1,581 | 3.953271 | 0.224299 | 0.066194 | 0.099291 | 0.066194 | 0.865248 | 0.865248 | 0.865248 | 0.865248 | 0.865248 | 0.865248 | 0 | 0.02467 | 0.2821 | 1,581 | 38 | 111 | 41.605263 | 0.720705 | 0.034788 | 0 | 0.727273 | 0 | 0 | 0.097304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.060606 | 0 | 0.363636 | 0.030303 | 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 |
609d48ef9cbb96154eaf89ea87cde1b7e4a94abf | 11,743 | py | Python | tests/test_gui.py | COE420Group4/Donation-Nation | 58d62bc3a28aba0ce2b484ad68329ac0bd0680f2 | [
"MIT"
] | null | null | null | tests/test_gui.py | COE420Group4/Donation-Nation | 58d62bc3a28aba0ce2b484ad68329ac0bd0680f2 | [
"MIT"
] | null | null | null | tests/test_gui.py | COE420Group4/Donation-Nation | 58d62bc3a28aba0ce2b484ad68329ac0bd0680f2 | [
"MIT"
] | null | null | null | import pytest
import time
import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.c... | 56.186603 | 118 | 0.752874 | 1,736 | 11,743 | 4.937212 | 0.106567 | 0.169175 | 0.176409 | 0.259713 | 0.825341 | 0.822891 | 0.822891 | 0.804924 | 0.786839 | 0.771205 | 0 | 0.033441 | 0.07562 | 11,743 | 209 | 119 | 56.186603 | 0.756149 | 0.023844 | 0 | 0.602151 | 0 | 0.021505 | 0.246268 | 0.058839 | 0 | 0 | 0 | 0 | 0.069892 | 1 | 0.080645 | false | 0.134409 | 0.069892 | 0 | 0.155914 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
60adee835337db8004368a1f0ef4d70ea3646b4a | 77,807 | bzl | Python | csharp/nuget/packages.bzl | kalbasit/rules_proto_grpc | 7e0a97adc8801df1cd74ee435d74bbd857c98a36 | [
"Apache-2.0"
] | 1 | 2021-08-11T23:14:07.000Z | 2021-08-11T23:14:07.000Z | csharp/nuget/packages.bzl | kalbasit/rules_proto_grpc | 7e0a97adc8801df1cd74ee435d74bbd857c98a36 | [
"Apache-2.0"
] | 1 | 2020-04-06T12:24:52.000Z | 2020-04-06T12:24:52.000Z | csharp/nuget/packages.bzl | kalbasit/rules_proto_grpc | 7e0a97adc8801df1cd74ee435d74bbd857c98a36 | [
"Apache-2.0"
] | 1 | 2020-02-03T20:31:13.000Z | 2020-02-03T20:31:13.000Z | load("@io_bazel_rules_dotnet//dotnet:defs.bzl", "net_gac4", "nuget_package")
def packages():
nuget_package(
name = "npgsql",
package = "npgsql",
version = "4.0.3",
# sha256 = "4e1f91eb9f0c3dfb8e029edbc325175cd202455df3641bc16155ef422b6bfd6f",
core_lib = {
"netsta... | 37.642477 | 104 | 0.478453 | 6,624 | 77,807 | 5.505737 | 0.013889 | 0.085001 | 0.102303 | 0.087524 | 0.948231 | 0.923499 | 0.832822 | 0.796764 | 0.714176 | 0.683082 | 0 | 0.072692 | 0.371985 | 77,807 | 2,066 | 105 | 37.660697 | 0.673666 | 0.00126 | 0 | 0.76542 | 0 | 0 | 0.520385 | 0.451586 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000486 | true | 0 | 0 | 0 | 0.000486 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
60aef6c9bf088015bf2201a3e35454c7c14c23bd | 9,622 | py | Python | pyocd/target/builtin/target_M263KIAAE.py | vince-zeng/pyOCD | c9e7bbaee81c2c94b2d8f05a70b6f341457fdae1 | [
"Apache-2.0"
] | 1 | 2022-03-25T01:07:23.000Z | 2022-03-25T01:07:23.000Z | pyocd/target/builtin/target_M263KIAAE.py | vince-zeng/pyOCD | c9e7bbaee81c2c94b2d8f05a70b6f341457fdae1 | [
"Apache-2.0"
] | null | null | null | pyocd/target/builtin/target_M263KIAAE.py | vince-zeng/pyOCD | c9e7bbaee81c2c94b2d8f05a70b6f341457fdae1 | [
"Apache-2.0"
] | 1 | 2021-06-10T08:34:00.000Z | 2021-06-10T08:34:00.000Z | # pyOCD debugger
# Copyright (c) 2019 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# 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
#
# ... | 59.030675 | 99 | 0.744336 | 854 | 9,622 | 8.302108 | 0.395785 | 0.022567 | 0.03385 | 0.03385 | 0.850494 | 0.850494 | 0.842031 | 0.842031 | 0.842031 | 0.842031 | 0 | 0.546388 | 0.169923 | 9,622 | 162 | 100 | 59.395062 | 0.341305 | 0.077219 | 0 | 0.793893 | 0 | 0 | 0.051485 | 0 | 0 | 0 | 0.631365 | 0 | 0 | 1 | 0.007634 | false | 0 | 0.030534 | 0 | 0.061069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
60b006324cff30289f01c8333639af9249888759 | 60,333 | py | Python | tests/testflows/rbac/tests/views/view.py | mikhno-s/ClickHouse | 83e95cd0120da00a60506fcf2f4d23d908c45977 | [
"Apache-2.0"
] | 2 | 2021-03-25T06:53:00.000Z | 2021-04-29T07:32:51.000Z | tests/testflows/rbac/tests/views/view.py | mikhno-s/ClickHouse | 83e95cd0120da00a60506fcf2f4d23d908c45977 | [
"Apache-2.0"
] | 1 | 2020-03-26T01:50:51.000Z | 2020-03-26T01:50:51.000Z | tests/testflows/rbac/tests/views/view.py | mikhno-s/ClickHouse | 83e95cd0120da00a60506fcf2f4d23d908c45977 | [
"Apache-2.0"
] | null | null | null | from testflows.core import *
from testflows.asserts import error
from rbac.requirements import *
from rbac.helper.common import *
import rbac.helper.errors as errors
@TestSuite
@Requirements(
RQ_SRS_006_RBAC_View_Create("1.0"),
)
def create(self, node=None):
"""Test the RBAC functionality of the `CREATE VIEW`... | 51.877042 | 242 | 0.660716 | 8,644 | 60,333 | 4.39727 | 0.019435 | 0.052407 | 0.03236 | 0.022731 | 0.970508 | 0.963825 | 0.952591 | 0.94733 | 0.940174 | 0.923283 | 0 | 0.010217 | 0.234266 | 60,333 | 1,162 | 243 | 51.921687 | 0.812528 | 0.097873 | 0 | 0.777778 | 0 | 0.006803 | 0.302778 | 0.012918 | 0 | 0 | 0 | 0 | 0.005669 | 1 | 0.049887 | false | 0 | 0.005669 | 0 | 0.055556 | 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 |
60ba39d9c066d15edc2c028cda4222e23d077191 | 3,658 | py | Python | tests/test_tutorial_mul.py | sdpython/td3a_cpp | f78cdc1e5b97df747b088e9c4c339b25bae7fba9 | [
"MIT"
] | 1 | 2020-09-12T16:36:55.000Z | 2020-09-12T16:36:55.000Z | tests/test_tutorial_mul.py | AmineDiro/td3a_cpp | 16b669babf29335da2c76a14eaa886d16af210da | [
"MIT"
] | null | null | null | tests/test_tutorial_mul.py | AmineDiro/td3a_cpp | 16b669babf29335da2c76a14eaa886d16af210da | [
"MIT"
] | 6 | 2020-02-03T12:02:48.000Z | 2021-01-21T16:36:54.000Z | """
Unit tests for ``random_strategy``.
"""
import unittest
import numpy
from numpy.testing import assert_almost_equal
from td3a_cpp.tutorial.mul_cython_omp import dmul_cython_omp
class TestTutorialMul(unittest.TestCase):
def test_matrix_mul(self):
va = numpy.random.randn(3, 4).astype(numpy.float64)
... | 38.104167 | 69 | 0.579005 | 503 | 3,658 | 4.025845 | 0.127237 | 0.097778 | 0.142222 | 0.071111 | 0.870617 | 0.849877 | 0.829136 | 0.811358 | 0.811358 | 0.791111 | 0 | 0.058498 | 0.308365 | 3,658 | 95 | 70 | 38.505263 | 0.741897 | 0.009568 | 0 | 0.708861 | 0 | 0 | 0.002213 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 1 | 0.113924 | false | 0 | 0.050633 | 0 | 0.177215 | 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 |
7189516ae12da8584b01f60f6b34565cbfed8c79 | 7,071 | py | Python | plugins/habitat_plugin/habitat_task_samplers.py | mattdeitke/allenact-1 | 70f106b32a38424e862399a76d84f607838063be | [
"MIT"
] | null | null | null | plugins/habitat_plugin/habitat_task_samplers.py | mattdeitke/allenact-1 | 70f106b32a38424e862399a76d84f607838063be | [
"MIT"
] | null | null | null | plugins/habitat_plugin/habitat_task_samplers.py | mattdeitke/allenact-1 | 70f106b32a38424e862399a76d84f607838063be | [
"MIT"
] | null | null | null | from typing import List, Optional, Union, Callable
import gym
import habitat
from habitat.config import Config
from core.base_abstractions.sensor import Sensor
from core.base_abstractions.task import TaskSampler
from plugins.habitat_plugin.habitat_environment import HabitatEnvironment
from plugins.habitat_plugin.habi... | 31.287611 | 92 | 0.620421 | 863 | 7,071 | 4.862109 | 0.137891 | 0.056721 | 0.057197 | 0.036225 | 0.832936 | 0.806244 | 0.806244 | 0.806244 | 0.806244 | 0.78408 | 0 | 0.003801 | 0.293028 | 7,071 | 225 | 93 | 31.426667 | 0.835567 | 0.06463 | 0 | 0.77907 | 0 | 0 | 0.016915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116279 | false | 0 | 0.046512 | 0.023256 | 0.255814 | 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 |
71ae39d611bc7834df990ccc83d4264e08958cf7 | 12,631 | py | Python | server/grpc/example_pb2_grpc.py | amine-ouertani/DigitalBeing | 1acba704d4dd512b54b3cce124ecad3926268695 | [
"MIT"
] | null | null | null | server/grpc/example_pb2_grpc.py | amine-ouertani/DigitalBeing | 1acba704d4dd512b54b3cce124ecad3926268695 | [
"MIT"
] | null | null | null | server/grpc/example_pb2_grpc.py | amine-ouertani/DigitalBeing | 1acba704d4dd512b54b3cce124ecad3926268695 | [
"MIT"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import example_pb2 as example__pb2
class AgentStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel)... | 42.385906 | 93 | 0.640804 | 1,080 | 12,631 | 7.237037 | 0.088889 | 0.063971 | 0.052201 | 0.069601 | 0.809237 | 0.809237 | 0.809237 | 0.770343 | 0.763434 | 0.748849 | 0 | 0.005517 | 0.28248 | 12,631 | 297 | 94 | 42.52862 | 0.856891 | 0.067849 | 0 | 0.698413 | 1 | 0 | 0.072847 | 0.026109 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.007937 | 0.031746 | 0.123016 | 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 |
71e2987dd8aec6a260512b9e75fb3ee33fd4b592 | 20,953 | py | Python | user/tests/test_authentication.py | dev-jochland/Employee-Management-System | e4a1e87b7bd9b72a2fa6eaf11293eaad50803ad8 | [
"MIT"
] | null | null | null | user/tests/test_authentication.py | dev-jochland/Employee-Management-System | e4a1e87b7bd9b72a2fa6eaf11293eaad50803ad8 | [
"MIT"
] | null | null | null | user/tests/test_authentication.py | dev-jochland/Employee-Management-System | e4a1e87b7bd9b72a2fa6eaf11293eaad50803ad8 | [
"MIT"
] | null | null | null | from django.test import TestCase
from django.urls import reverse
from rest_framework import status
from rest_framework.test import APIClient
import user.models as um
class OrganisationSignUpTest(TestCase):
def setUp(self) -> None:
self.client = APIClient()
def test_organisation_can_sign_up(self):
... | 44.018908 | 120 | 0.630172 | 2,178 | 20,953 | 5.85124 | 0.080349 | 0.074153 | 0.102872 | 0.063873 | 0.864642 | 0.840003 | 0.793079 | 0.774404 | 0.722065 | 0.695543 | 0 | 0.015058 | 0.26149 | 20,953 | 475 | 121 | 44.111579 | 0.808518 | 0.093829 | 0 | 0.615836 | 0 | 0 | 0.241895 | 0.004964 | 0 | 0 | 0 | 0 | 0.211144 | 1 | 0.017595 | false | 0.255132 | 0.014663 | 0 | 0.041056 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
e0eda045d26743766dea6a3836db56e7c98a7684 | 150,103 | py | Python | src/genie/libs/parser/nxos/tests/test_show_isis.py | svautour/genieparser | 7416c9a4b44582be835a0646fb7fad92a5181c7d | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/nxos/tests/test_show_isis.py | svautour/genieparser | 7416c9a4b44582be835a0646fb7fad92a5181c7d | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/nxos/tests/test_show_isis.py | svautour/genieparser | 7416c9a4b44582be835a0646fb7fad92a5181c7d | [
"Apache-2.0"
] | null | null | null | #!/bin/env python
import unittest
from unittest.mock import Mock
from pyats.topology import Device
from genie.metaparser.util.exceptions import (SchemaMissingKeyError,
SchemaEmptyParserError)
from genie.libs.parser.nxos.show_isis import (ShowIsis,
... | 50.8479 | 102 | 0.247856 | 9,861 | 150,103 | 3.639793 | 0.049792 | 0.016494 | 0.024072 | 0.026078 | 0.895353 | 0.881366 | 0.86061 | 0.835674 | 0.822941 | 0.80107 | 0 | 0.173896 | 0.66976 | 150,103 | 2,952 | 103 | 50.8479 | 0.550171 | 0.000107 | 0 | 0.68902 | 0 | 0.006254 | 0.341595 | 0.005757 | 0 | 0 | 0.009435 | 0 | 0.005212 | 1 | 0.005212 | false | 0.000695 | 0.001737 | 0 | 0.022238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
1cbc0dc680bb8483386400ed568bdb5162ba4541 | 3,002 | py | Python | ivy_tests/test_ivy/test_functional/test_core/test_sorting.py | VedPatwardhan/ivy | 7b2105fa8cf38879444a1029bfaa7f0b2f27717a | [
"Apache-2.0"
] | 1 | 2022-02-13T19:35:02.000Z | 2022-02-13T19:35:02.000Z | ivy_tests/test_ivy/test_functional/test_core/test_sorting.py | Arijit1000/ivy | de193946a580ca0f54d78fe7fc4031a6ff66d2bb | [
"Apache-2.0"
] | null | null | null | ivy_tests/test_ivy/test_functional/test_core/test_sorting.py | Arijit1000/ivy | de193946a580ca0f54d78fe7fc4031a6ff66d2bb | [
"Apache-2.0"
] | null | null | null | """Collection of tests for sorting functions."""
# global
from hypothesis import given, strategies as st
import numpy as np
# local
import ivy_tests.test_ivy.helpers as helpers
import ivy.functional.backends.numpy as ivy_np
# argsort
@given(
array_shape=helpers.lists(
st.integers(1, 5), min_size="num_di... | 23.453125 | 87 | 0.622252 | 385 | 3,002 | 4.636364 | 0.218182 | 0.078431 | 0.07619 | 0.038095 | 0.87619 | 0.87619 | 0.87619 | 0.87619 | 0.829132 | 0.829132 | 0 | 0.009888 | 0.258827 | 3,002 | 127 | 88 | 23.637795 | 0.79236 | 0.049634 | 0 | 0.830189 | 0 | 0 | 0.035211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018868 | false | 0 | 0.037736 | 0 | 0.075472 | 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 |
1cfd904c7bbd0bb806cd967d9fc3db93d35b4b1c | 110 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/nixi/calculators/calc_dsa.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/nixi/calculators/calc_dsa.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/nixi/calculators/calc_dsa.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.parts.jumbo.calculators.calc_dsa import CALC_DSA
class CALC_DSA_nixi(CALC_DSA):
pass | 18.333333 | 67 | 0.818182 | 17 | 110 | 5 | 0.647059 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 110 | 6 | 68 | 18.333333 | 0.876289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
e80e340533f19e068f642fd4b182769288fe32d1 | 12,748 | py | Python | examples/introduction/Readme_1_processing_chain.py | magics-tech/dabstract-1 | 9f7a2d99d0dff1df5c2f90c82b1eecc9c42c2c24 | [
"MIT"
] | 7 | 2020-11-04T13:21:01.000Z | 2021-12-14T13:08:04.000Z | examples/introduction/Readme_1_processing_chain.py | magics-tech/dabstract-1 | 9f7a2d99d0dff1df5c2f90c82b1eecc9c42c2c24 | [
"MIT"
] | null | null | null | examples/introduction/Readme_1_processing_chain.py | magics-tech/dabstract-1 | 9f7a2d99d0dff1df5c2f90c82b1eecc9c42c2c24 | [
"MIT"
] | 2 | 2020-11-26T09:25:23.000Z | 2021-09-22T12:05:14.000Z | import numpy as np
import os
from scipy.io.wavfile import write as audio_write
### Generate data
data = np.random.uniform(size=(10000)) # single example
DATA = np.random.uniform(size=(10,10000)) # multi example
wavfiles, numpyfiles = [], []
datafolder = 'data_intro/data'
os.makedirs(datafolder,exist_ok=True)
os.makedi... | 39.8375 | 123 | 0.677832 | 1,747 | 12,748 | 4.870063 | 0.126503 | 0.055007 | 0.082511 | 0.052656 | 0.776681 | 0.746121 | 0.746121 | 0.746121 | 0.732487 | 0.712858 | 0 | 0.012342 | 0.129275 | 12,748 | 319 | 124 | 39.962382 | 0.754144 | 0.430499 | 0 | 0.736264 | 1 | 0 | 0.092264 | 0.003516 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021978 | false | 0 | 0.214286 | 0.016484 | 0.263736 | 0.17033 | 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 |
e81dd64ef4d274a0c0e5f2f3b5bf7934ecb70dc7 | 23,019 | py | Python | atom/proton/python/proton_api/api/business_financial_management_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | 11 | 2019-04-16T02:11:17.000Z | 2021-12-16T22:51:40.000Z | atom/proton/python/proton_api/api/business_financial_management_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | 81 | 2019-11-19T23:24:28.000Z | 2022-03-28T11:35:47.000Z | atom/proton/python/proton_api/api/business_financial_management_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | 11 | 2020-07-08T02:29:56.000Z | 2022-03-28T10:05:33.000Z | # coding: utf-8
"""
Hydrogen Proton API
Financial engineering module of Hydrogen Atom # noqa: E501
OpenAPI spec version: 1.9.2
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401... | 43.432075 | 165 | 0.645206 | 2,560 | 23,019 | 5.509766 | 0.071094 | 0.045941 | 0.048919 | 0.055583 | 0.940021 | 0.922368 | 0.901808 | 0.867777 | 0.854803 | 0.854803 | 0 | 0.015408 | 0.275381 | 23,019 | 529 | 166 | 43.514178 | 0.830216 | 0.341674 | 0 | 0.734767 | 1 | 0 | 0.209499 | 0.104927 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039427 | false | 0 | 0.014337 | 0 | 0.111111 | 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 |
e835d8aec98b25751b00916688f43a9e7f3821aa | 2,813 | py | Python | tests/test_uriutil.py | airbornemint/PieCrust2 | bd8e44a1a3ba646a9ebfbb4d4f1fa01a1daa3beb | [
"Apache-2.0"
] | 43 | 2015-04-24T05:30:04.000Z | 2022-02-03T17:47:35.000Z | tests/test_uriutil.py | airbornemint/PieCrust2 | bd8e44a1a3ba646a9ebfbb4d4f1fa01a1daa3beb | [
"Apache-2.0"
] | 54 | 2015-01-03T01:58:44.000Z | 2021-05-06T21:56:26.000Z | tests/test_uriutil.py | airbornemint/PieCrust2 | bd8e44a1a3ba646a9ebfbb4d4f1fa01a1daa3beb | [
"Apache-2.0"
] | 8 | 2015-05-10T01:50:46.000Z | 2016-12-26T20:53:15.000Z | import mock
import pytest
from piecrust.uriutil import split_sub_uri
@pytest.mark.parametrize('uri, expected, pretty_urls', [
('/', ('/', 1), True),
('/2', ('/', 2), True),
('/foo/bar', ('/foo/bar', 1), True),
('/foo/bar/', ('/foo/bar', 1), True),
('/foo/bar/2/', ('/foo/bar', 2), True),
('/foo... | 36.532468 | 66 | 0.50871 | 380 | 2,813 | 3.644737 | 0.113158 | 0.216607 | 0.116968 | 0.07148 | 0.886643 | 0.873646 | 0.873646 | 0.873646 | 0.873646 | 0.873646 | 0 | 0.02587 | 0.202986 | 2,813 | 76 | 67 | 37.013158 | 0.591882 | 0 | 0 | 0.73913 | 0 | 0 | 0.328947 | 0.029872 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.043478 | false | 0 | 0.043478 | 0 | 0.086957 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1c110aba556247840a81e0d2194a42594ea74bc5 | 6,824 | py | Python | deepchem/trans/tests/test_balancing.py | micimize/deepchem | 651df9f9d8e6f1b33d3af8f0be251e9e8095fe88 | [
"MIT"
] | 1 | 2020-08-19T17:25:27.000Z | 2020-08-19T17:25:27.000Z | deepchem/trans/tests/test_balancing.py | swpper/deepchem | 510b9bf1805bc5a472c1a519700e6b128e06c651 | [
"MIT"
] | 1 | 2020-09-22T18:42:21.000Z | 2020-09-22T18:42:21.000Z | deepchem/trans/tests/test_balancing.py | swpper/deepchem | 510b9bf1805bc5a472c1a519700e6b128e06c651 | [
"MIT"
] | 1 | 2022-03-11T00:10:23.000Z | 2022-03-11T00:10:23.000Z | import os
import numpy as np
import deepchem as dc
import itertools
import tempfile
def test_binary_1d():
"""Test balancing transformer on single-task dataset without explicit task dimension."""
n_samples = 20
n_features = 3
n_classes = 2
np.random.seed(123)
ids = np.arange(n_samples)
X = np.random.rand... | 38.994286 | 90 | 0.699443 | 1,144 | 6,824 | 3.949301 | 0.096154 | 0.044267 | 0.046481 | 0.07127 | 0.860779 | 0.84772 | 0.8444 | 0.83444 | 0.822931 | 0.812528 | 0 | 0.010718 | 0.193288 | 6,824 | 174 | 91 | 39.218391 | 0.809991 | 0.216295 | 0 | 0.763359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183206 | 1 | 0.038168 | false | 0 | 0.038168 | 0 | 0.076336 | 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 |
1c2ace55c3094d237b2ee33d730a279091ae7a83 | 10,872 | py | Python | tests/obfuscatetests/test_ob_get_source_statements.py | rdevost/pymixup | 9004fbdc7939033014b0eefa669056014647a0c8 | [
"MIT"
] | 5 | 2017-01-02T15:12:31.000Z | 2021-09-03T15:51:39.000Z | tests/obfuscatetests/test_ob_get_source_statements.py | rdevost/pymixup | 9004fbdc7939033014b0eefa669056014647a0c8 | [
"MIT"
] | null | null | null | tests/obfuscatetests/test_ob_get_source_statements.py | rdevost/pymixup | 9004fbdc7939033014b0eefa669056014647a0c8 | [
"MIT"
] | 1 | 2021-09-03T15:51:41.000Z | 2021-09-03T15:51:41.000Z | import pytest
from os.path import join
import io
from logic.obfuscatefile import source_statement_gen
def test_get_source_statements(tmpdir):
#
# Create a short source file
#
dir_name = str(tmpdir.mkdir('source'))
source_file = 'app.py'
with io.open(join(dir_name, source_file), 'w') as source:... | 37.75 | 78 | 0.588944 | 1,410 | 10,872 | 4.37305 | 0.090071 | 0.179046 | 0.209212 | 0.249595 | 0.847551 | 0.79614 | 0.786409 | 0.747973 | 0.703211 | 0.701103 | 0 | 0 | 0.256163 | 10,872 | 287 | 79 | 37.881533 | 0.762458 | 0.099982 | 0 | 0.780269 | 0 | 0 | 0.235765 | 0.015595 | 0 | 0 | 0 | 0 | 0.349776 | 1 | 0.008969 | false | 0 | 0.053812 | 0 | 0.06278 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
1c47745f1c0e2c39646a97885253608082c44006 | 46 | py | Python | __init__.py | lucaskjaero/WiktionaryParser | c60a7cb7e50ca929e02c8e6e258c23f4d4114c21 | [
"MIT"
] | 1 | 2021-08-24T17:51:41.000Z | 2021-08-24T17:51:41.000Z | __init__.py | lucaskjaero/WiktionaryParser | c60a7cb7e50ca929e02c8e6e258c23f4d4114c21 | [
"MIT"
] | null | null | null | __init__.py | lucaskjaero/WiktionaryParser | c60a7cb7e50ca929e02c8e6e258c23f4d4114c21 | [
"MIT"
] | 1 | 2020-12-14T16:22:31.000Z | 2020-12-14T16:22:31.000Z | from .wiktionaryparser import WiktionaryParser | 46 | 46 | 0.913043 | 4 | 46 | 10.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
98d48231698048016fa5002738e0348323b850f0 | 11,362 | py | Python | fhirclient/models/specimen_tests.py | zzhou41/client-py | cbfa8d7c7f1bad233b237b7c5582fc0577b21f70 | [
"Apache-2.0"
] | null | null | null | fhirclient/models/specimen_tests.py | zzhou41/client-py | cbfa8d7c7f1bad233b237b7c5582fc0577b21f70 | [
"Apache-2.0"
] | null | null | null | fhirclient/models/specimen_tests.py | zzhou41/client-py | cbfa8d7c7f1bad233b237b7c5582fc0577b21f70 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 4.0.0-a53ec6ee1b on 2019-07-29.
# 2019, SMART Health IT.
import os
import io
import unittest
import json
from . import specimen
from .fhirdate import FHIRDate
class SpecimenTests(unittest.TestCase):
def instantiate_from(self, filename):
... | 58.266667 | 121 | 0.689403 | 1,389 | 11,362 | 5.62347 | 0.156947 | 0.224683 | 0.270004 | 0.074254 | 0.816285 | 0.761618 | 0.735629 | 0.59621 | 0.568045 | 0.464473 | 0 | 0.056762 | 0.161151 | 11,362 | 194 | 122 | 58.56701 | 0.762774 | 0.010474 | 0 | 0.337278 | 1 | 0 | 0.219187 | 0.01415 | 0 | 0 | 0 | 0 | 0.721893 | 1 | 0.065089 | false | 0 | 0.035503 | 0 | 0.112426 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
98d554d79299426017272bd9624e0f22cbdf0f75 | 4,606 | py | Python | tests/Transform/test_Transform__diffusive_flux_mass_molar_to_mass_mass.py | kamilazdybal/multipy | ebdcddb63bfb1cd647ca99bbf9002b04a9b50ed9 | [
"MIT"
] | null | null | null | tests/Transform/test_Transform__diffusive_flux_mass_molar_to_mass_mass.py | kamilazdybal/multipy | ebdcddb63bfb1cd647ca99bbf9002b04a9b50ed9 | [
"MIT"
] | null | null | null | tests/Transform/test_Transform__diffusive_flux_mass_molar_to_mass_mass.py | kamilazdybal/multipy | ebdcddb63bfb1cd647ca99bbf9002b04a9b50ed9 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import multipy
################################################################################
################################################################################
####
#### Class: Transform
####
########################################################################... | 35.160305 | 88 | 0.506079 | 506 | 4,606 | 4.268775 | 0.094862 | 0.074074 | 0.111111 | 0.20463 | 0.909722 | 0.863426 | 0.863426 | 0.862963 | 0.862963 | 0.862963 | 0 | 0.029822 | 0.20647 | 4,606 | 130 | 89 | 35.430769 | 0.561149 | 0.003474 | 0 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282051 | 1 | 0.051282 | false | 0.025641 | 0.038462 | 0 | 0.102564 | 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 |
c74bd4ff416dfff1676d4a89fc72fea46c671413 | 574 | py | Python | helpers/json_manager.py | xxopcode90xx/DiscordChatBotProject | d9577fabe9d5b57ad31c36a6abcc8c907a15c69d | [
"Apache-2.0"
] | 491 | 2020-05-31T07:24:46.000Z | 2022-03-31T21:56:40.000Z | helpers/json_manager.py | hhhhhhhhhhh22/unicorn | 2f3e6ed3de993c793b541d1ca84b06609f0a4f9a | [
"Apache-2.0"
] | 51 | 2020-05-28T23:23:49.000Z | 2022-03-13T13:35:01.000Z | helpers/json_manager.py | hhhhhhhhhhh22/unicorn | 2f3e6ed3de993c793b541d1ca84b06609f0a4f9a | [
"Apache-2.0"
] | 175 | 2020-02-04T03:59:21.000Z | 2022-03-30T00:09:19.000Z | import json
def add_user_to_blacklist(user_id: int):
with open("blacklist.json", "r+") as file:
file_data = json.load(file)
file_data["ids"].append(user_id)
with open("blacklist.json", "w") as file:
file.seek(0)
json.dump(file_data, file, indent=4)
def remove_user_from_blackl... | 28.7 | 46 | 0.62892 | 88 | 574 | 3.920455 | 0.295455 | 0.13913 | 0.197101 | 0.243478 | 0.852174 | 0.852174 | 0.852174 | 0.852174 | 0.852174 | 0.852174 | 0 | 0.008969 | 0.222997 | 574 | 19 | 47 | 30.210526 | 0.764574 | 0 | 0 | 0.533333 | 0 | 0 | 0.116725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.2 | 0 | 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 |
c7b7c2481d60d51b4ac7d84a7ce49dfce7550bab | 216 | py | Python | dataset/__init__.py | sunchengrong/PSENet | adb1a6e62d858b368449c26fcddebc3147efef8b | [
"Apache-2.0"
] | 25 | 2020-02-29T12:14:10.000Z | 2020-04-24T07:56:06.000Z | dataset/__init__.py | sunchengrong/PSENet | adb1a6e62d858b368449c26fcddebc3147efef8b | [
"Apache-2.0"
] | 33 | 2020-12-10T19:15:39.000Z | 2022-03-12T00:17:30.000Z | dataset/__init__.py | sunchengrong/PSENet | adb1a6e62d858b368449c26fcddebc3147efef8b | [
"Apache-2.0"
] | 4 | 2020-02-29T12:14:18.000Z | 2020-04-12T12:26:50.000Z | from dataset.icdar2015_loader import IC15Loader
from dataset.icdar2015_test_loader import IC15TestLoader
from dataset.ctw1500_loader import CTW1500Loader
from dataset.ctw1500_test_loader import CTW1500TestLoader | 43.2 | 57 | 0.888889 | 26 | 216 | 7.153846 | 0.423077 | 0.236559 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.092593 | 216 | 5 | 58 | 43.2 | 0.806122 | 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 |
c7b864ca14a3bc9daafa90eb5dc006358813829f | 172 | py | Python | client/client.py | areed1192/tcg-player-api | 93f7de10dee876955d1ef8a2777735343c887c9e | [
"MIT"
] | 26 | 2020-09-09T14:58:02.000Z | 2022-03-11T14:50:16.000Z | client/client.py | areed1192/tcg-player-api | 93f7de10dee876955d1ef8a2777735343c887c9e | [
"MIT"
] | 1 | 2020-10-11T10:02:22.000Z | 2020-10-11T10:02:22.000Z | client/client.py | areed1192/tcg-player-api | 93f7de10dee876955d1ef8a2777735343c887c9e | [
"MIT"
] | 16 | 2020-12-15T17:30:05.000Z | 2022-03-08T08:55:38.000Z |
from typing import List
from typing import Dict
from typing import Union
class MyNewClass():
def __init__(self):
pass
def __repr__(self):
pass
| 12.285714 | 24 | 0.662791 | 22 | 172 | 4.818182 | 0.590909 | 0.283019 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284884 | 172 | 13 | 25 | 13.230769 | 0.861789 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.375 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
c7b87b9edd9ad1bc77c2956fe759474d59a68451 | 30,773 | py | Python | pyhealth/data/expdata_generator.py | Abhinav43/PyHealth | 5aa9816f76990d221d79340b331c18dfa10adcb3 | [
"BSD-2-Clause"
] | 485 | 2020-08-03T20:04:21.000Z | 2022-02-25T13:35:43.000Z | pyhealth/data/expdata_generator.py | Abhinav43/PyHealth | 5aa9816f76990d221d79340b331c18dfa10adcb3 | [
"BSD-2-Clause"
] | 6 | 2020-08-06T01:07:45.000Z | 2021-10-15T21:49:42.000Z | pyhealth/data/expdata_generator.py | Abhinav43/PyHealth | 5aa9816f76990d221d79340b331c18dfa10adcb3 | [
"BSD-2-Clause"
] | 98 | 2020-08-04T01:04:38.000Z | 2022-02-09T10:36:03.000Z | # -*- coding: utf-8 -*-
# Author: Zhi Qiao <mingshan_ai@163.com>
# License: BSD 2 clause
import os
import csv
import pickle
import random
import numpy as np
import pandas as pd
import tqdm
from tqdm._tqdm import trange
import time
try:
from ..utils.check import *
except:
from pyhealth.utils.check import *
c... | 37.210399 | 102 | 0.547525 | 3,989 | 30,773 | 3.987215 | 0.042617 | 0.067777 | 0.072179 | 0.058095 | 0.954165 | 0.951713 | 0.945552 | 0.944169 | 0.942911 | 0.936184 | 0 | 0.006781 | 0.300296 | 30,773 | 827 | 103 | 37.210399 | 0.731887 | 0.102135 | 0 | 0.884477 | 0 | 0 | 0.142078 | 0.020163 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028881 | false | 0 | 0.019856 | 0 | 0.055957 | 0.189531 | 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 |
c7e189e6773746fd1d80a363f8e5b716329bbc27 | 31,010 | py | Python | trainer.py | Sheroa/Video_Colorization | 5c772ac0ec944814cd8be0a94b0746116b11ac01 | [
"MIT"
] | null | null | null | trainer.py | Sheroa/Video_Colorization | 5c772ac0ec944814cd8be0a94b0746116b11ac01 | [
"MIT"
] | null | null | null | trainer.py | Sheroa/Video_Colorization | 5c772ac0ec944814cd8be0a94b0746116b11ac01 | [
"MIT"
] | null | null | null | import time
import datetime
import itertools
import numpy as np
import torch
import torch.nn as nn
from torch.autograd import Variable
import torch.autograd as autograd
from torch.utils.data import DataLoader
import torch.backends.cudnn as cudnn
import dataset
import utils
import sys
import networks.pwcnet as pwcnet
... | 45.336257 | 186 | 0.559723 | 3,873 | 31,010 | 4.226439 | 0.059385 | 0.00782 | 0.017594 | 0.012707 | 0.975075 | 0.973486 | 0.970432 | 0.970432 | 0.961879 | 0.953021 | 0 | 0.01484 | 0.308965 | 31,010 | 684 | 187 | 45.336257 | 0.749032 | 0.141535 | 0 | 0.897059 | 0 | 0.009804 | 0.075774 | 0.017152 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.034314 | 0 | 0.063725 | 0.061275 | 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 |
1bfce171449b5e7ea033125f3988357e625d424b | 17,121 | py | Python | indy_common/test/auth/metadata/test_auth_rule_with_metadata_simple.py | Rob-S/indy-node | 0aefbda62c5a7412d7e03b2fb9795c500ea67e9f | [
"Apache-2.0"
] | 627 | 2017-07-06T12:38:08.000Z | 2022-03-30T13:18:43.000Z | indy_common/test/auth/metadata/test_auth_rule_with_metadata_simple.py | Rob-S/indy-node | 0aefbda62c5a7412d7e03b2fb9795c500ea67e9f | [
"Apache-2.0"
] | 580 | 2017-06-29T17:59:57.000Z | 2022-03-29T21:37:52.000Z | indy_common/test/auth/metadata/test_auth_rule_with_metadata_simple.py | Rob-S/indy-node | 0aefbda62c5a7412d7e03b2fb9795c500ea67e9f | [
"Apache-2.0"
] | 704 | 2017-06-29T17:45:34.000Z | 2022-03-30T07:08:58.000Z | from indy_common.authorize.auth_constraints import AuthConstraint, IDENTITY_OWNER, AuthConstraintForbidden
from indy_common.constants import ENDORSER
from indy_common.test.auth.metadata.helper import validate, PLUGIN_FIELD, Action
from plenum.common.constants import TRUSTEE
MAX_SIG_COUNT = 3
def test_plugin_simple_r... | 50.955357 | 116 | 0.635535 | 1,946 | 17,121 | 5.181912 | 0.034943 | 0.052063 | 0.06783 | 0.118703 | 0.960631 | 0.959738 | 0.959738 | 0.947739 | 0.945359 | 0.938715 | 0 | 0.012304 | 0.292682 | 17,121 | 335 | 117 | 51.107463 | 0.820396 | 0 | 0 | 0.780405 | 0 | 0 | 0.000467 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064189 | false | 0 | 0.013514 | 0 | 0.077703 | 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 |
4002ec11f18ba86940bda122bbfda09957c38321 | 7,491 | py | Python | benderopt/tests/validation/test_mixture.py | tchar/benderopt | 83a6bbb9c5732f6232c1a1bbc971f8022a975a28 | [
"MIT"
] | 66 | 2019-01-08T14:34:21.000Z | 2020-10-22T00:54:58.000Z | benderopt/tests/validation/test_mixture.py | tchar/benderopt | 83a6bbb9c5732f6232c1a1bbc971f8022a975a28 | [
"MIT"
] | 4 | 2019-03-03T19:17:26.000Z | 2020-10-22T18:37:30.000Z | benderopt/tests/validation/test_mixture.py | tchar/benderopt | 83a6bbb9c5732f6232c1a1bbc971f8022a975a28 | [
"MIT"
] | 5 | 2019-04-29T03:28:54.000Z | 2020-10-22T19:45:40.000Z | import pytest
from benderopt.validation.mixture import validate_mixture, validate_mixture_value
from benderopt.validation.utils import ValidationError
def test_mixture_search_space_ok():
search_space = {
"weights": [0.5, 0.5],
"parameters": [
{
"category": "normal",
... | 28.701149 | 92 | 0.457749 | 724 | 7,491 | 4.520718 | 0.066298 | 0.278949 | 0.142988 | 0.079438 | 0.903147 | 0.895509 | 0.895509 | 0.895509 | 0.895509 | 0.895509 | 0 | 0.050053 | 0.375918 | 7,491 | 260 | 93 | 28.811538 | 0.650053 | 0.066079 | 0 | 0.544503 | 0 | 0 | 0.176952 | 0 | 0 | 0 | 0 | 0 | 0.010471 | 1 | 0.073298 | false | 0 | 0.015707 | 0 | 0.089005 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
405a8de28620665eaaf041c61af7f70f220efde2 | 94,322 | py | Python | core/sqf/src/seatrans/hbase-trx/src/main/python/thrift2/gen-py/hbase/THBaseService.py | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 148 | 2015-06-18T21:26:04.000Z | 2017-12-25T01:47:01.000Z | core/sqf/src/seatrans/hbase-trx/src/main/python/thrift2/gen-py/hbase/THBaseService.py | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 1,352 | 2015-06-20T03:05:01.000Z | 2017-12-25T14:13:18.000Z | core/sqf/src/seatrans/hbase-trx/src/main/python/thrift2/gen-py/hbase/THBaseService.py | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 166 | 2015-06-19T18:52:10.000Z | 2017-12-27T06:19:32.000Z | #
# Autogenerated by Thrift Compiler (0.9.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
from ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport import TTransport
... | 31.357048 | 188 | 0.658828 | 11,375 | 94,322 | 5.280527 | 0.028308 | 0.015483 | 0.027869 | 0.024873 | 0.902407 | 0.878667 | 0.870409 | 0.857707 | 0.848383 | 0.838411 | 0 | 0.005506 | 0.229809 | 94,322 | 3,007 | 189 | 31.367476 | 0.821325 | 0.093923 | 0 | 0.842946 | 1 | 0 | 0.035198 | 0.00075 | 0 | 0 | 0 | 0 | 0 | 1 | 0.110914 | false | 0.005768 | 0.002662 | 0.028838 | 0.217835 | 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 |
4063319c787e45fde05e1706897065720b502962 | 14,646 | py | Python | jumpscale/clients/currencylayer/__init__.py | zaibon/js-sdk | cd1d26f2c3343884c1927ceef7c1e12e3f7da905 | [
"Apache-2.0"
] | 13 | 2020-09-02T09:05:08.000Z | 2022-03-12T02:43:24.000Z | jumpscale/clients/currencylayer/__init__.py | zaibon/js-sdk | cd1d26f2c3343884c1927ceef7c1e12e3f7da905 | [
"Apache-2.0"
] | 1,998 | 2020-06-15T11:46:10.000Z | 2022-03-24T22:12:41.000Z | jumpscale/clients/currencylayer/__init__.py | zaibon/js-sdk | cd1d26f2c3343884c1927ceef7c1e12e3f7da905 | [
"Apache-2.0"
] | 8 | 2020-09-29T06:50:35.000Z | 2021-06-14T03:30:52.000Z |
"""
JS-NG> fake = j.clients.currencylayer.new('fake')
JS-NG> fake.cur2id_print()
{'aed': 1,
'afn': 2,
'all': 3,
'amd': 4,
'ang': 5,
'aoa': 6,
'ars': 7... | 20.455307 | 1,337 | 0.457053 | 2,279 | 14,646 | 2.934182 | 0.258447 | 0.005982 | 0.007178 | 0.003589 | 0.701062 | 0.701062 | 0.689248 | 0.689248 | 0.689248 | 0.689248 | 0 | 0.297685 | 0.247918 | 14,646 | 715 | 1,338 | 20.483916 | 0.309396 | 0.987369 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
40bebeabbf79ea9774e5c3dca1d8cd3ac6772646 | 2,712 | py | Python | test/v1/test_users.py | SelaDanti/store-manager-api | 3d3a26ebf961ddb2c97f0d31c48ae07b43201b4f | [
"MIT"
] | 1 | 2018-10-18T12:40:19.000Z | 2018-10-18T12:40:19.000Z | test/v1/test_users.py | SelaDanti/store-manager-api | 3d3a26ebf961ddb2c97f0d31c48ae07b43201b4f | [
"MIT"
] | 5 | 2018-10-23T11:08:56.000Z | 2019-10-21T15:58:54.000Z | test/v1/test_users.py | SelaDanti/store-manager-api | 3d3a26ebf961ddb2c97f0d31c48ae07b43201b4f | [
"MIT"
] | 1 | 2018-10-18T13:37:35.000Z | 2018-10-18T13:37:35.000Z | import unittest
import json
from app import create_app
class TestInvalidData(unittest.TestCase):
def setUp(self):
self.test = create_app('testing').test_client()
self.content_type = 'application/json'
def tearDown(self):
self.test = None
self.content_type = None
def test_not_emailI(self):
payload = {... | 37.666667 | 101 | 0.712021 | 375 | 2,712 | 5.013333 | 0.178667 | 0.093617 | 0.079787 | 0.06383 | 0.804255 | 0.804255 | 0.755319 | 0.717553 | 0.717553 | 0.693085 | 0 | 0.019365 | 0.105089 | 2,712 | 72 | 102 | 37.666667 | 0.755253 | 0 | 0 | 0.59322 | 0 | 0 | 0.211205 | 0.008109 | 0 | 0 | 0 | 0 | 0.135593 | 1 | 0.152542 | false | 0.118644 | 0.050847 | 0 | 0.237288 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
90a943a8f323d5690c9e80436b17fac13104d0c4 | 330 | py | Python | knowit/rules/__init__.py | ratoaq2/knowit | e7cc0d786fafdb9dba99b95a1cc95c02f84f0b5b | [
"MIT"
] | 21 | 2016-10-15T13:49:16.000Z | 2021-06-14T14:42:57.000Z | knowit/rules/__init__.py | ratoaq2/knowit | e7cc0d786fafdb9dba99b95a1cc95c02f84f0b5b | [
"MIT"
] | 35 | 2016-11-18T17:08:38.000Z | 2021-11-26T09:36:35.000Z | knowit/rules/__init__.py | ratoaq2/knowit | e7cc0d786fafdb9dba99b95a1cc95c02f84f0b5b | [
"MIT"
] | 5 | 2016-11-23T23:39:52.000Z | 2021-02-27T19:18:27.000Z |
from knowit.rules.audio import AtmosRule
from knowit.rules.audio import AudioChannelsRule
from knowit.rules.audio import DtsHdRule
from knowit.rules.general import LanguageRule
from knowit.rules.subtitle import ClosedCaptionRule
from knowit.rules.subtitle import HearingImpairedRule
from knowit.rules.video import Resol... | 36.666667 | 53 | 0.869697 | 42 | 330 | 6.833333 | 0.357143 | 0.243902 | 0.365854 | 0.209059 | 0.473868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087879 | 330 | 8 | 54 | 41.25 | 0.953488 | 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 |
90b232963c4041540fbe309af85a587634a392a0 | 135 | py | Python | zero/what_is_oop.py | magicalcarpet/the_complete_python_course | 0ac0c5015a93607d7d29258ac0a3fc38dda81bd2 | [
"MIT"
] | null | null | null | zero/what_is_oop.py | magicalcarpet/the_complete_python_course | 0ac0c5015a93607d7d29258ac0a3fc38dda81bd2 | [
"MIT"
] | null | null | null | zero/what_is_oop.py | magicalcarpet/the_complete_python_course | 0ac0c5015a93607d7d29258ac0a3fc38dda81bd2 | [
"MIT"
] | null | null | null | print((type(None)))
print(type(True))
print(type(5))
print(type(5.5))
print(type('hi'))
print(type([]))
print(type(()))
print(type({})) | 16.875 | 19 | 0.62963 | 22 | 135 | 3.863636 | 0.272727 | 0.847059 | 0.235294 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.051852 | 135 | 8 | 20 | 16.875 | 0.640625 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 7 |
90b7b6dac2ac0e3ec63808875956c62c12b09e2e | 187 | py | Python | zip/app/views.py | kdheepak/zip | 5c7f2400045d6ae2b3b4994577c73209562604a9 | [
"BSD-3-Clause"
] | null | null | null | zip/app/views.py | kdheepak/zip | 5c7f2400045d6ae2b3b4994577c73209562604a9 | [
"BSD-3-Clause"
] | 2 | 2018-08-14T20:52:43.000Z | 2020-11-18T11:26:48.000Z | zip/app/views.py | kdheepak/zip | 5c7f2400045d6ae2b3b4994577c73209562604a9 | [
"BSD-3-Clause"
] | 2 | 2018-04-17T08:39:23.000Z | 2019-02-05T07:43:00.000Z | # -*- encoding: utf-8 -*-
from flask import url_for, redirect, render_template, flash, g, session
from app import app
@app.route('/')
def index():
return render_template('index.html')
| 20.777778 | 71 | 0.705882 | 27 | 187 | 4.777778 | 0.740741 | 0.217054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.139037 | 187 | 8 | 72 | 23.375 | 0.795031 | 0.122995 | 0 | 0 | 0 | 0 | 0.067901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
90bc4a23101028d1eba113429d147698ebdc7c6d | 43,903 | py | Python | ckan/tests/functional/api/test_follow.py | gcba/ckan | f4508f2999d5f69281ac8003ba7f42df5930b6fd | [
"Apache-2.0"
] | null | null | null | ckan/tests/functional/api/test_follow.py | gcba/ckan | f4508f2999d5f69281ac8003ba7f42df5930b6fd | [
"Apache-2.0"
] | null | null | null | ckan/tests/functional/api/test_follow.py | gcba/ckan | f4508f2999d5f69281ac8003ba7f42df5930b6fd | [
"Apache-2.0"
] | 1 | 2020-10-30T02:19:02.000Z | 2020-10-30T02:19:02.000Z | '''Test for the follower API.
This module tests following, unfollowing, getting a list of what you're
following or the number of things you're following, getting a list of who's
following you or the number of followers you have, testing whether or not
you're following something, etc.
This module _does not_ test the u... | 45.167695 | 90 | 0.624422 | 5,574 | 43,903 | 4.738608 | 0.040545 | 0.024533 | 0.050203 | 0.073373 | 0.918714 | 0.899784 | 0.878166 | 0.85068 | 0.807443 | 0.781963 | 0 | 0.010219 | 0.257773 | 43,903 | 971 | 91 | 45.214212 | 0.800344 | 0.157187 | 0 | 0.701201 | 0 | 0 | 0.133821 | 0.010629 | 0 | 0 | 0 | 0 | 0.157658 | 1 | 0.09009 | false | 0 | 0.010511 | 0 | 0.106607 | 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 |
90ed2cb3a84f0857b48f6aac44b96a5b9ab712e1 | 173,547 | py | Python | QUANTAXIS/QASU/save_tdx.py | yehonghao/QUANTAXIS | d977810233607e2bea016450bef6bb080582b498 | [
"MIT"
] | 1 | 2021-02-19T07:49:31.000Z | 2021-02-19T07:49:31.000Z | QUANTAXIS/QASU/save_tdx.py | yehonghao/QUANTAXIS | d977810233607e2bea016450bef6bb080582b498 | [
"MIT"
] | null | null | null | QUANTAXIS/QASU/save_tdx.py | yehonghao/QUANTAXIS | d977810233607e2bea016450bef6bb080582b498 | [
"MIT"
] | 1 | 2021-02-19T07:49:38.000Z | 2021-02-19T07:49:38.000Z | # coding:utf-8
#
# The MIT License (MIT)
#
# Copyright (c) 2016-2019 yutiansut/QUANTAXIS
#
# 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 th... | 33.195677 | 118 | 0.430149 | 16,478 | 173,547 | 4.132419 | 0.025671 | 0.056466 | 0.041222 | 0.072165 | 0.950363 | 0.932285 | 0.926748 | 0.919699 | 0.913311 | 0.896569 | 0 | 0.022395 | 0.478211 | 173,547 | 5,227 | 119 | 33.202028 | 0.729523 | 0.046374 | 0 | 0.786197 | 0 | 0 | 0.07888 | 0.001622 | 0 | 0 | 0 | 0.000957 | 0 | 1 | 0.020518 | false | 0.002798 | 0.003031 | 0.000233 | 0.024015 | 0.00373 | 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 |
2947ece7313e9afff8decbf03c8a3ad7d8c40923 | 4,970 | py | Python | pyawair/data.py | andriykorchak/pyawair | 5f0bbcfe79712fca467b116ef1dce77317a692b9 | [
"Apache-2.0"
] | 16 | 2018-07-16T00:15:59.000Z | 2020-09-06T02:24:40.000Z | pyawair/data.py | andriykorchak/pyawair | 5f0bbcfe79712fca467b116ef1dce77317a692b9 | [
"Apache-2.0"
] | 32 | 2018-07-28T17:07:56.000Z | 2021-03-22T16:38:02.000Z | pyawair/data.py | andriykorchak/pyawair | 5f0bbcfe79712fca467b116ef1dce77317a692b9 | [
"Apache-2.0"
] | 3 | 2018-07-29T15:58:05.000Z | 2021-03-18T19:07:54.000Z | from pyawair.devices import *
import pyawair.conn
import pyawair.objects
def get_current_air_data(auth, device_name=None, device_type=None, device_id=None):
"""
Function to get the current air data from a single specific Awair Device linked
to your account
:param auth: pyawair.auth.AwairAuth object wh... | 44.375 | 95 | 0.711268 | 738 | 4,970 | 4.653117 | 0.119241 | 0.081538 | 0.044263 | 0.020967 | 0.964764 | 0.964764 | 0.964764 | 0.964764 | 0.964764 | 0.964764 | 0 | 0.006152 | 0.215091 | 4,970 | 111 | 96 | 44.774775 | 0.874135 | 0.467807 | 0 | 0.784314 | 0 | 0 | 0.139073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078431 | false | 0 | 0.058824 | 0 | 0.215686 | 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 |
2971ce4b79d6bac67495797eb58b18e7a360347a | 35,816 | py | Python | sdk/python/pulumi_azure/cosmosdb/mongo_collection.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/cosmosdb/mongo_collection.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/cosmosdb/mongo_collection.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"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 warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 54.680916 | 346 | 0.685113 | 4,425 | 35,816 | 5.363616 | 0.057853 | 0.071838 | 0.068046 | 0.03337 | 0.913879 | 0.901154 | 0.894287 | 0.87697 | 0.864667 | 0.855482 | 0 | 0.005386 | 0.22247 | 35,816 | 654 | 347 | 54.764526 | 0.846632 | 0.415624 | 0 | 0.764228 | 1 | 0 | 0.142363 | 0.053069 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162602 | false | 0.00271 | 0.01897 | 0.00813 | 0.279133 | 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 |
46597ed04492dd815f62cc568dcf91dc16c19591 | 1,453 | py | Python | adventofcode/day2.py | Imipenem/Competitive_Prog_with_Python | 64f64c733b591acd8f75a36efbb66cca3b58f05f | [
"MIT"
] | null | null | null | adventofcode/day2.py | Imipenem/Competitive_Prog_with_Python | 64f64c733b591acd8f75a36efbb66cca3b58f05f | [
"MIT"
] | null | null | null | adventofcode/day2.py | Imipenem/Competitive_Prog_with_Python | 64f64c733b591acd8f75a36efbb66cca3b58f05f | [
"MIT"
] | null | null | null | def opcodeI() -> int:
with open("/home/thelichking/Desktop/adventOfCode/Day2/Opcodes",'r' ) as file:
lines = list(map(int,file.readline().replace("\n","").split(",")))
lines[1],lines[2] = 1,0
idx = 0
while idx < len(lines):
cur_opcode = lines[idx]
if cur_op... | 32.288889 | 101 | 0.52512 | 197 | 1,453 | 3.791878 | 0.253807 | 0.149933 | 0.208835 | 0.11245 | 0.829987 | 0.829987 | 0.829987 | 0.829987 | 0.829987 | 0.829987 | 0 | 0.052579 | 0.306263 | 1,453 | 45 | 102 | 32.288889 | 0.688492 | 0 | 0 | 0.666667 | 0 | 0 | 0.081155 | 0.070151 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0 | 0 | 0.181818 | 0.030303 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
466d800ff51a829401b626e9b95173a227d0c8d5 | 71,023 | py | Python | tests/test_ext_anatools.py | andy-maier/yamlloader | 13c8d42f63c97309ee1b5a7ac1e7f216c10e1b1c | [
"MIT"
] | 9 | 2018-01-18T15:27:11.000Z | 2020-12-18T04:46:49.000Z | tests/test_ext_anatools.py | andy-maier/yamlloader | 13c8d42f63c97309ee1b5a7ac1e7f216c10e1b1c | [
"MIT"
] | 12 | 2018-02-08T10:10:53.000Z | 2022-03-29T22:07:45.000Z | tests/test_ext_anatools.py | andy-maier/yamlloader | 13c8d42f63c97309ee1b5a7ac1e7f216c10e1b1c | [
"MIT"
] | 2 | 2019-06-22T09:05:50.000Z | 2021-07-12T18:34:18.000Z | from collections import OrderedDict
from unittest import TestCase
import yaml
import yamlloader
config1 = """name: sim1_all_result
model:
categories:
- Mode
pdf:
rare:
sig:
yield: VAR 10000 0 1000000
brem0:
yield: VAR 0.5 0 1
mass:
observable-names:
... | 72.398573 | 135 | 0.071836 | 1,273 | 71,023 | 3.940299 | 0.095051 | 0.033493 | 0.023923 | 0.035885 | 0.839314 | 0.830542 | 0.830542 | 0.830542 | 0.830542 | 0.830542 | 0 | 0.183726 | 0.90068 | 71,023 | 980 | 136 | 72.472449 | 0.52736 | 0 | 0 | 0.664264 | 0 | 0 | 0.090027 | 0.001492 | 0 | 0 | 0 | 0 | 0.00206 | 1 | 0.00309 | false | 0 | 0.004119 | 0 | 0.008239 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
467015cba285e8f561874cdccaad2e1b0f0badf2 | 3,434 | py | Python | py_labeler/labeler/controller/StatsController.py | anhaidgroup/magellan_labeler | 97583163091cd04a8bfd3824d78291da58f24f9c | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | 5 | 2019-03-13T11:49:35.000Z | 2021-11-17T01:37:36.000Z | py_labeler/labeler/controller/StatsController.py | anhaidgroup/magellan_labeler | 97583163091cd04a8bfd3824d78291da58f24f9c | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | 5 | 2017-12-31T19:00:37.000Z | 2020-01-29T18:56:47.000Z | py_labeler/labeler/controller/StatsController.py | anhaidgroup/magellan_labeler | 97583163091cd04a8bfd3824d78291da58f24f9c | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | 4 | 2017-12-30T17:23:07.000Z | 2020-02-25T20:49:35.000Z | try:
from PyQt5.QtCore import QObject
except ImportError:
raise ImportError('PyQt5 is not installed. Please install PyQt5 to use '
'GUI related functions in py_labeler.')
from py_labeler.utils import ApplicationContext
class StatsController(QObject):
"""
Computes statistics to b... | 39.471264 | 113 | 0.670938 | 454 | 3,434 | 4.852423 | 0.162996 | 0.179755 | 0.136178 | 0.072628 | 0.82887 | 0.802542 | 0.802542 | 0.802542 | 0.802542 | 0.802542 | 0 | 0.002774 | 0.265288 | 3,434 | 86 | 114 | 39.930233 | 0.870392 | 0.372452 | 0 | 0.307692 | 0 | 0 | 0.142318 | 0 | 0 | 0 | 0 | 0.046512 | 0 | 1 | 0.192308 | false | 0 | 0.153846 | 0 | 0.538462 | 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 | 1 | 0 | 0 | 8 |
46894717b61c99b63e2be204c229bda35ee8a8be | 42,534 | py | Python | infoblox_netmri/api/broker/v3_6_0/device_cpu_hourly_broker.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/broker/v3_6_0/device_cpu_hourly_broker.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/broker/v3_6_0/device_cpu_hourly_broker.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | from ..broker import Broker
class DeviceCpuHourlyBroker(Broker):
controller = "device_cpu_hourlies"
def index(self, **kwargs):
"""Lists the available device cpu hourlies. Any of the inputs listed may be be used to narrow the list; other inputs will be ignored. Of the various ways to quer... | 47.952649 | 516 | 0.592091 | 5,082 | 42,534 | 4.911846 | 0.05608 | 0.078519 | 0.051038 | 0.05925 | 0.935061 | 0.93402 | 0.917995 | 0.909022 | 0.890474 | 0.886267 | 0 | 0.005033 | 0.322683 | 42,534 | 887 | 517 | 47.952649 | 0.861432 | 0.799008 | 0 | 0 | 0 | 0 | 0.055369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0.058824 | 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 | 1 | 0 | 0 | 8 |
46937815ee612ffd8864f5e11e9191ed03474849 | 875,834 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_man_ipsla_oper.py | bopopescu/ACI | dd717bc74739eeed4747b3ea9e36b239580df5e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_man_ipsla_oper.py | bopopescu/ACI | dd717bc74739eeed4747b3ea9e36b239580df5e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_man_ipsla_oper.py | bopopescu/ACI | dd717bc74739eeed4747b3ea9e36b239580df5e1 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-07-22T04:04:44.000Z | 2020-07-22T04:04:44.000Z | """ Cisco_IOS_XR_man_ipsla_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR man\-ipsla package operational data.
This module contains definitions
for the following management objects\:
ipsla\: IPSLA operational data
Copyright (c) 2013\-2017 by Cisco Systems, Inc.
All rights reserved.
... | 66.893302 | 1,053 | 0.329499 | 52,927 | 875,834 | 5.198934 | 0.011204 | 0.02291 | 0.02996 | 0.03137 | 0.952843 | 0.932749 | 0.905438 | 0.888125 | 0.87872 | 0.866658 | 0 | 0.041522 | 0.600898 | 875,834 | 13,092 | 1,054 | 66.898411 | 0.745679 | 0.187952 | 0 | 0.802074 | 0 | 0.001353 | 0.126673 | 0.021248 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057259 | false | 0 | 0.001127 | 0 | 0.11587 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 9 |
d3b69e8cb26ebf814af4590bd2d7166bc2629180 | 67,399 | py | Python | fsmpy/tests/test_similarities.py | GCidd/fsmpy | 131e81925481b3fe608f2c1945bbb00a8b674e72 | [
"BSD-3-Clause"
] | 1 | 2022-01-31T07:01:59.000Z | 2022-01-31T07:01:59.000Z | fsmpy/tests/test_similarities.py | GCidd/fsmpy | 131e81925481b3fe608f2c1945bbb00a8b674e72 | [
"BSD-3-Clause"
] | null | null | null | fsmpy/tests/test_similarities.py | GCidd/fsmpy | 131e81925481b3fe608f2c1945bbb00a8b674e72 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from numpy.testing import assert_almost_equal
from numpy.testing import assert_equal
from fsmpy.datasets import load_patients_diagnoses
from fsmpy.sets import IntuitionisticFuzzySet
from fsmpy.similarities import chen_1, hung_yang_4, hung_yang_3, hung_yang_2, hwang_yang, park_kwun_lim, ye, hung_yang... | 62.406481 | 154 | 0.683734 | 11,984 | 67,399 | 3.525701 | 0.039803 | 0.100753 | 0.123142 | 0.132917 | 0.919601 | 0.896265 | 0.879248 | 0.832884 | 0.811394 | 0.789028 | 0 | 0.114098 | 0.173741 | 67,399 | 1,079 | 155 | 62.464319 | 0.644616 | 0.0123 | 0 | 0.314836 | 0 | 0 | 0.000722 | 0 | 0 | 0 | 0 | 0 | 0.510759 | 1 | 0.024915 | false | 0.001133 | 0.014723 | 0 | 0.039638 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d3f595fe53969c414c5560deb820dd0c8dad71fe | 3,594 | py | Python | geonewsloco/maploco/migrations/0003_auto__chg_field_story_headline__chg_field_story_popularity__chg_field_.py | robertjli/geo-news-map-loco | ae56e9293149a42cd560ad4646eeadfbc2865963 | [
"MIT"
] | null | null | null | geonewsloco/maploco/migrations/0003_auto__chg_field_story_headline__chg_field_story_popularity__chg_field_.py | robertjli/geo-news-map-loco | ae56e9293149a42cd560ad4646eeadfbc2865963 | [
"MIT"
] | null | null | null | geonewsloco/maploco/migrations/0003_auto__chg_field_story_headline__chg_field_story_popularity__chg_field_.py | robertjli/geo-news-map-loco | ae56e9293149a42cd560ad4646eeadfbc2865963 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Changing field 'Story.headline'
db.alter_column(u'maploco_story', 'hea... | 50.619718 | 144 | 0.645242 | 449 | 3,594 | 5.055679 | 0.135857 | 0.081057 | 0.135683 | 0.193833 | 0.837885 | 0.834361 | 0.834361 | 0.813216 | 0.813216 | 0.771806 | 0 | 0.014696 | 0.166945 | 3,594 | 70 | 145 | 51.342857 | 0.743487 | 0.128269 | 0 | 0 | 0 | 0 | 0.426051 | 0.237729 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.114286 | 0 | 0.257143 | 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 |
3103dafe0a13ba4e5b9201613b19b89430d7fa1e | 10,687 | py | Python | nidm/experiment/tests/test_map_vars_to_terms.py | surchs/PyNIDM | bd3497a03060a74870aee3964bdacf39500aa941 | [
"Apache-2.0"
] | 20 | 2017-11-25T19:34:02.000Z | 2021-11-27T01:43:37.000Z | nidm/experiment/tests/test_map_vars_to_terms.py | surchs/PyNIDM | bd3497a03060a74870aee3964bdacf39500aa941 | [
"Apache-2.0"
] | 100 | 2017-05-10T22:07:32.000Z | 2021-12-09T20:14:13.000Z | nidm/experiment/tests/test_map_vars_to_terms.py | surchs/PyNIDM | bd3497a03060a74870aee3964bdacf39500aa941 | [
"Apache-2.0"
] | 27 | 2017-05-10T21:54:59.000Z | 2021-11-12T18:26:03.000Z |
from pathlib import Path
import pytest
import pandas as pd
import json
import os
import urllib
import re
from nidm.experiment.Utils import map_variables_to_terms
import tempfile
from os.path import join
from nidm.core import Constants
from uuid import UUID
@pytest.fixture(scope="module", autouse="True")
def setu... | 40.634981 | 110 | 0.549265 | 1,145 | 10,687 | 4.985153 | 0.153712 | 0.056412 | 0.079713 | 0.115627 | 0.831815 | 0.796076 | 0.761037 | 0.755081 | 0.740715 | 0.733532 | 0 | 0.025544 | 0.285674 | 10,687 | 262 | 111 | 40.790076 | 0.722164 | 0.069804 | 0 | 0.645455 | 0 | 0 | 0.408864 | 0.006554 | 0 | 0 | 0 | 0 | 0.409091 | 1 | 0.027273 | false | 0 | 0.109091 | 0 | 0.136364 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
31091d09e6962bc0d86f8c7052feab814c54a4f9 | 1,676 | py | Python | tests/test_jinja_expression.py | sgbaird/souschef | a1cf400d104aab85c963f473cca02af9706fd7b0 | [
"Apache-2.0"
] | 4 | 2022-01-05T17:59:15.000Z | 2022-01-24T14:55:47.000Z | tests/test_jinja_expression.py | sgbaird/souschef | a1cf400d104aab85c963f473cca02af9706fd7b0 | [
"Apache-2.0"
] | 29 | 2020-11-15T00:39:02.000Z | 2022-01-16T14:33:37.000Z | tests/test_jinja_expression.py | sgbaird/souschef | a1cf400d104aab85c963f473cca02af9706fd7b0 | [
"Apache-2.0"
] | 1 | 2022-01-14T03:22:16.000Z | 2022-01-14T03:22:16.000Z | from souschef.jinja_expression import (
get_global_jinja_var,
is_jinja_expression,
set_global_jinja_var,
)
def test_add_jinja_var(pure_yaml_with_comments):
set_global_jinja_var(pure_yaml_with_comments, "version", "10.9.8")
assert get_global_jinja_var(pure_yaml_with_comments, "version") == "10.9.8"... | 39.904762 | 87 | 0.794153 | 267 | 1,676 | 4.41573 | 0.142322 | 0.196777 | 0.237489 | 0.173028 | 0.898219 | 0.890585 | 0.780322 | 0.717557 | 0.668363 | 0.502969 | 0 | 0.018654 | 0.104415 | 1,676 | 41 | 88 | 40.878049 | 0.766822 | 0 | 0 | 0 | 0 | 0 | 0.106205 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 1 | 0.222222 | false | 0 | 0.037037 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
31c49cc9638e6d1bf1a475de373d6b09644a51a5 | 56,776 | py | Python | Server/Python/tests/dbsserver_t/unittests/web_t/DBSWriterModel_t.py | vkuznet/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 8 | 2015-08-14T04:01:32.000Z | 2021-06-03T00:56:42.000Z | Server/Python/tests/dbsserver_t/unittests/web_t/DBSWriterModel_t.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 162 | 2015-01-07T21:34:47.000Z | 2021-10-13T09:42:41.000Z | Server/Python/tests/dbsserver_t/unittests/web_t/DBSWriterModel_t.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 16 | 2015-01-22T15:27:29.000Z | 2021-04-28T09:23:28.000Z | """
web unittests
"""
from __future__ import print_function
__revision__ = "$Id: DBSWriterModel_t.py,v 1.27 2010/08/24 19:48:44 yuyi Exp $"
__version__ = "$Revision: 1.27 $"
import os
import sys
import unittest
import time
import uuid
import traceback
from ctypes import *
from cherrypy import request, response, HTTPE... | 43.640277 | 142 | 0.569906 | 6,268 | 56,776 | 4.854499 | 0.062221 | 0.027803 | 0.041344 | 0.016564 | 0.825424 | 0.798574 | 0.775306 | 0.758118 | 0.736756 | 0.706422 | 0 | 0.041066 | 0.299176 | 56,776 | 1,300 | 143 | 43.673846 | 0.723649 | 0.004333 | 0 | 0.678917 | 0 | 0.026112 | 0.307107 | 0.053075 | 0 | 0 | 0 | 0 | 0.000967 | 0 | null | null | 0 | 0.010638 | null | null | 0.008704 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
735045cacbb6566a68320f9609cf0a374c75add9 | 53,910 | py | Python | src/capsule_model.py | Sharut/Bilinear-Linformer | 025e2ffefe8bb57092cd4a912ea66ec3d65997e0 | [
"MIT"
] | null | null | null | src/capsule_model.py | Sharut/Bilinear-Linformer | 025e2ffefe8bb57092cd4a912ea66ec3d65997e0 | [
"MIT"
] | null | null | null | src/capsule_model.py | Sharut/Bilinear-Linformer | 025e2ffefe8bb57092cd4a912ea66ec3d65997e0 | [
"MIT"
] | null | null | null | #
# For licensing see accompanying LICENSE file.
# Copyright (C) 2019 Apple Inc. All Rights Reserved.
#
from src import layers
import torch.nn as nn
import torch.nn.functional as F
import torch
'''
{'backbone': {'kernel_size': 3, 'output_dim': 128, 'input_dim': 3, 'stride': 2, 'padding': 1, 'out_img_size':... | 54.235412 | 205 | 0.478854 | 5,394 | 53,910 | 4.520208 | 0.040786 | 0.092445 | 0.067673 | 0.034124 | 0.952916 | 0.947051 | 0.94135 | 0.939792 | 0.93528 | 0.932327 | 0 | 0.018495 | 0.405249 | 53,910 | 993 | 206 | 54.29003 | 0.741946 | 0.133463 | 0 | 0.907381 | 0 | 0 | 0.155533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014472 | false | 0 | 0.005789 | 0 | 0.034732 | 0.015919 | 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 |
b40df0303f8abde0680ff7f5cccb14e409be1bf3 | 241 | py | Python | Gofer_voice/multi_hear.py | Srinath-tr/Goferbot | 0f734d01c6504c6c97dbdf45f5adf8b25c0f9fd9 | [
"Apache-2.0",
"bzip2-1.0.6"
] | 1 | 2019-04-23T21:50:08.000Z | 2019-04-23T21:50:08.000Z | Gofer_voice/multi_hear.py | Srinath-tr/Goferbot | 0f734d01c6504c6c97dbdf45f5adf8b25c0f9fd9 | [
"Apache-2.0",
"bzip2-1.0.6"
] | null | null | null | Gofer_voice/multi_hear.py | Srinath-tr/Goferbot | 0f734d01c6504c6c97dbdf45f5adf8b25c0f9fd9 | [
"Apache-2.0",
"bzip2-1.0.6"
] | 2 | 2019-02-14T08:13:33.000Z | 2019-04-23T21:47:48.000Z | import subprocess
subprocess.Popen(['python','hear_auto.py'])
subprocess.Popen(['python','hear_auto.py'])
subprocess.Popen(['python','hear_auto.py'])
#subprocess.Popen(['python','hear_auto.py'])
#subprocess.Popen(['python','hear_auto.py'])
| 30.125 | 44 | 0.73029 | 32 | 241 | 5.34375 | 0.21875 | 0.438596 | 0.614035 | 0.730994 | 0.906433 | 0.906433 | 0.906433 | 0.906433 | 0.906433 | 0.906433 | 0 | 0 | 0.033195 | 241 | 7 | 45 | 34.428571 | 0.733906 | 0.356846 | 0 | 0.75 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.