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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2491a71fc803b278270e6545e0aa997ad42cff7b | 1,081 | py | Python | rgkit/maps/afffsdd/fourcorners.py | outkine/rgkit | eb5d80c0d1815cc016bf7c584310120991760cc8 | [
"Unlicense"
] | 1 | 2021-11-04T22:19:59.000Z | 2021-11-04T22:19:59.000Z | rgkit/maps/afffsdd/fourcorners.py | outkine/rgkit | eb5d80c0d1815cc016bf7c584310120991760cc8 | [
"Unlicense"
] | null | null | null | rgkit/maps/afffsdd/fourcorners.py | outkine/rgkit | eb5d80c0d1815cc016bf7c584310120991760cc8 | [
"Unlicense"
] | 2 | 2021-02-16T09:37:47.000Z | 2021-11-04T22:30:51.000Z | # Map by afffsdd
# A map with four corners, with bots spawning in each of them.
# flake8: noqa
# TODO: Format this file.
{'spawn': [(1, 1), (14, 1), (15, 1), (16, 1), (17, 1), (1, 2), (1, 3), (1, 4), (17, 14), (17, 15), (17, 16), (1, 17), (2, 17), (3, 17), (4, 17), (17, 17)], 'obstacle': [(0, 0), (1, 0), (2, 0), (3, 0)... | 180.166667 | 959 | 0.379278 | 231 | 1,081 | 1.774892 | 0.17316 | 0.009756 | 0.02439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.367612 | 0.217391 | 1,081 | 5 | 960 | 216.2 | 0.117021 | 0.103608 | 0 | 0 | 0 | 0 | 0.013485 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
24a2fcbef82d9b606c9644dcb37319a8bd660a8d | 51 | py | Python | recommender-system/helpers/Time.py | sevmardi/ml-projects | 0eb218c77cda61285cfcf599599ff28a8a8deba7 | [
"MIT"
] | null | null | null | recommender-system/helpers/Time.py | sevmardi/ml-projects | 0eb218c77cda61285cfcf599599ff28a8a8deba7 | [
"MIT"
] | 7 | 2020-06-06T01:26:08.000Z | 2022-02-10T11:26:58.000Z | recommender-system/helpers/Time.py | sevmardi/ml-projects | 0eb218c77cda61285cfcf599599ff28a8a8deba7 | [
"MIT"
] | null | null | null | import time
def start():
return time.time()
| 7.285714 | 22 | 0.627451 | 7 | 51 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254902 | 51 | 6 | 23 | 8.5 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
24b1b484e2a0f69ead351a4d7c8ddaa49aeb42ed | 612 | py | Python | src/openbiolink/graph_creation/file_processor/onto/__init__.py | jerryhluo/OpenBioLink | 6fc073af978daec0b0db5938b73beed37f57f495 | [
"MIT"
] | 97 | 2019-11-26T09:53:18.000Z | 2022-03-19T10:33:10.000Z | src/openbiolink/graph_creation/file_processor/onto/__init__.py | jerryhluo/OpenBioLink | 6fc073af978daec0b0db5938b73beed37f57f495 | [
"MIT"
] | 67 | 2019-12-09T21:01:52.000Z | 2021-12-21T15:19:41.000Z | src/openbiolink/graph_creation/file_processor/onto/__init__.py | jerryhluo/OpenBioLink | 6fc073af978daec0b0db5938b73beed37f57f495 | [
"MIT"
] | 20 | 2020-01-13T23:02:25.000Z | 2022-03-16T21:43:31.000Z | from openbiolink.graph_creation.file_processor.onto.ontoDoIsAProcessor import OntoDoIsAProcessor
from openbiolink.graph_creation.file_processor.onto.ontoGoIsAProcessor import OntoGoIsAProcessor
from openbiolink.graph_creation.file_processor.onto.ontoGoPartOfProcessor import OntoGoPartOfProcessor
from openbiolink.graph_... | 87.428571 | 110 | 0.921569 | 60 | 612 | 9.2 | 0.233333 | 0.163043 | 0.217391 | 0.304348 | 0.48913 | 0.48913 | 0.48913 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 612 | 6 | 111 | 102 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
24bc4bd3f3ec771dc7f9bd9eefcdca177516a3ea | 1,679 | py | Python | models/VGG/vgg_funcs.py | abhijeetdhupia/ImgClassSeg | e841b36d170e4989d36146d4fc3deb1fe6fc7b36 | [
"MIT"
] | null | null | null | models/VGG/vgg_funcs.py | abhijeetdhupia/ImgClassSeg | e841b36d170e4989d36146d4fc3deb1fe6fc7b36 | [
"MIT"
] | null | null | null | models/VGG/vgg_funcs.py | abhijeetdhupia/ImgClassSeg | e841b36d170e4989d36146d4fc3deb1fe6fc7b36 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.nn.modules.activation import ReLU
import torch.optim as optim
class DoubleConv(nn.Module):
"""Some Information about MyModule"""
def __init__(self, in_channels, out_channels):
super(DoubleConv, self).__init__()
self.c... | 39.97619 | 112 | 0.650983 | 216 | 1,679 | 4.819444 | 0.194444 | 0.211335 | 0.273775 | 0.169068 | 0.763689 | 0.709894 | 0.709894 | 0.709894 | 0.638809 | 0.638809 | 0 | 0.02728 | 0.235855 | 1,679 | 42 | 113 | 39.97619 | 0.7841 | 0.038118 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.138889 | 0.055556 | 0.361111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
24ff43902d9ee3947a0b840767671eaf3c6068c6 | 2,345 | py | Python | tests/integration/unit_test/test_unit_test_java8_al2.py | hawflau/aws-sam-cli-app-templates | 47e7100659c1cdf8c1ae1d8eba36de5dbd01623c | [
"Apache-2.0"
] | 173 | 2020-08-25T14:07:05.000Z | 2022-03-30T06:06:50.000Z | tests/integration/unit_test/test_unit_test_java8_al2.py | hawflau/aws-sam-cli-app-templates | 47e7100659c1cdf8c1ae1d8eba36de5dbd01623c | [
"Apache-2.0"
] | 98 | 2020-09-08T00:18:55.000Z | 2022-03-21T06:49:48.000Z | tests/integration/unit_test/test_unit_test_java8_al2.py | hawflau/aws-sam-cli-app-templates | 47e7100659c1cdf8c1ae1d8eba36de5dbd01623c | [
"Apache-2.0"
] | 109 | 2020-09-02T17:34:10.000Z | 2022-03-28T03:47:38.000Z | from unittest import skip
from tests.integration.unit_test.unit_test_base import UnitTestBase
class UnitTest_java8_al2_cookiecutter_aws_sam_hello_java_gradle(UnitTestBase.JavaUnitTestGradleBase):
directory = "java8.al2/cookiecutter-aws-sam-hello-java-gradle"
code_directories = ["HelloWorldFunction"]
class ... | 43.425926 | 118 | 0.81322 | 262 | 2,345 | 6.954198 | 0.156489 | 0.070252 | 0.175631 | 0.201976 | 0.956092 | 0.950055 | 0.950055 | 0.950055 | 0.867728 | 0.838639 | 0 | 0.01518 | 0.101066 | 2,345 | 53 | 119 | 44.245283 | 0.849146 | 0 | 0 | 0.444444 | 0 | 0.055556 | 0.368444 | 0.245629 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.722222 | 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 | 1 | 0 | 0 | 8 |
7025f73ad80c8076e262f4fb828675dfe810962c | 96,140 | py | Python | sdk/python/pulumi_oci/dataflow/invoke_run.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/dataflow/invoke_run.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/dataflow/invoke_run.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... | 61.588725 | 864 | 0.686946 | 12,553 | 96,140 | 5.086115 | 0.037362 | 0.066504 | 0.057012 | 0.053754 | 0.959434 | 0.94634 | 0.927999 | 0.917849 | 0.90546 | 0.872976 | 0 | 0.004988 | 0.205492 | 96,140 | 1,560 | 865 | 61.628205 | 0.830868 | 0.477803 | 0 | 0.735912 | 1 | 0 | 0.117781 | 0.030746 | 0 | 0 | 0 | 0 | 0 | 1 | 0.170166 | false | 0.001105 | 0.007735 | 0.003315 | 0.283978 | 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 |
704269a69696036d378bf997b226dc4f61c15926 | 1,349 | py | Python | tareas/funcion_pitagora.py | PythonCisco/clase | 6e18715012ce72385637b7f09a0a9c810165f1af | [
"MIT"
] | null | null | null | tareas/funcion_pitagora.py | PythonCisco/clase | 6e18715012ce72385637b7f09a0a9c810165f1af | [
"MIT"
] | null | null | null | tareas/funcion_pitagora.py | PythonCisco/clase | 6e18715012ce72385637b7f09a0a9c810165f1af | [
"MIT"
] | null | null | null | """
Anselmo Mc Taggart
2022-02-11
"""
def terna_pitagorica(n1, n2, n3):
"""Imprime si los tres argumentos forman una terna pitagórica.
No puede distinguir si el orden de los valores no es a, b, c.
Los dos primeros tienen que ser los catetos, el último debe ser la hipotenusa.
No retorna nad... | 21.412698 | 83 | 0.581913 | 202 | 1,349 | 3.861386 | 0.277228 | 0.153846 | 0.023077 | 0.05 | 0.789744 | 0.789744 | 0.789744 | 0.789744 | 0.735897 | 0.697436 | 0 | 0.038631 | 0.328391 | 1,349 | 62 | 84 | 21.758065 | 0.822296 | 0 | 0 | 0.766667 | 0 | 0 | 0.170767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5624f6f5b41df397c85012e9df9fea2425a1d5c5 | 29,348 | py | Python | pysvm/svm.py | Kaslanarian/PythonSVM | 715eeef2a245736167addf45a6aee8b40b54d0c7 | [
"MIT"
] | 2 | 2021-09-25T01:00:37.000Z | 2021-09-27T12:13:24.000Z | pysvm/svm.py | Kaslanarian/PythonSVM | 715eeef2a245736167addf45a6aee8b40b54d0c7 | [
"MIT"
] | 1 | 2021-09-17T12:08:14.000Z | 2021-09-17T12:08:14.000Z | pysvm/svm.py | Kaslanarian/PythonSVM | 715eeef2a245736167addf45a6aee8b40b54d0c7 | [
"MIT"
] | null | null | null | import numpy as np
from sklearn.base import BaseEstimator
from sklearn.metrics import accuracy_score, r2_score
from sklearn.multiclass import OneVsOneClassifier, OneVsRestClassifier
from .rff import NormalRFF
from .solver import Solver, SolverWithCache, NuSolver, NuSolverWithCache
class BiLinearSVC(BaseEstimator):
... | 31.321238 | 216 | 0.511858 | 3,687 | 29,348 | 3.97559 | 0.074586 | 0.035612 | 0.025242 | 0.031519 | 0.849434 | 0.833129 | 0.819075 | 0.802906 | 0.784145 | 0.771115 | 0 | 0.032403 | 0.341727 | 29,348 | 936 | 217 | 31.354701 | 0.726332 | 0.300395 | 0 | 0.738431 | 0 | 0 | 0.022938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104628 | false | 0 | 0.012072 | 0.042254 | 0.219316 | 0.014085 | 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 |
3b5d1255f3db95024131da5f5742cbae6d2fb11a | 78 | py | Python | python/stitch/frameworks/tune/__init__.py | theNewFlesh/sparse | 21e895d2e24cc17e92fe921534059046080cc58b | [
"MIT"
] | 2 | 2020-04-17T04:26:23.000Z | 2021-12-27T17:24:08.000Z | python/stitch/frameworks/tune/__init__.py | theNewFlesh/stitch | 21e895d2e24cc17e92fe921534059046080cc58b | [
"MIT"
] | null | null | null | python/stitch/frameworks/tune/__init__.py | theNewFlesh/stitch | 21e895d2e24cc17e92fe921534059046080cc58b | [
"MIT"
] | null | null | null | import stitch.frameworks.tune.tuner
import stitch.frameworks.tune.config_path
| 26 | 41 | 0.871795 | 11 | 78 | 6.090909 | 0.636364 | 0.358209 | 0.656716 | 0.776119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 78 | 2 | 42 | 39 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
3b79b586c3e357dfed9bc7ec561f04de9e569586 | 4,454 | py | Python | ATH/nucleicAcid.py | james-darpino/Game_Design1 | 7b07c27b976a8193561d38d7da17e583a166e0c0 | [
"MIT"
] | null | null | null | ATH/nucleicAcid.py | james-darpino/Game_Design1 | 7b07c27b976a8193561d38d7da17e583a166e0c0 | [
"MIT"
] | null | null | null | ATH/nucleicAcid.py | james-darpino/Game_Design1 | 7b07c27b976a8193561d38d7da17e583a166e0c0 | [
"MIT"
] | null | null | null |
import pygame
import random
import Globals
class Adenine(pygame.sprite.Sprite):
""" This class represents an Adenine which the player must collect. """
def __init__(self):
""" Constructor, create the image of the Adenine. """
super().__init__()
self.image = pygame.Surface([Globals.IO... | 38.068376 | 96 | 0.647283 | 590 | 4,454 | 4.744068 | 0.123729 | 0.080029 | 0.064309 | 0.06288 | 0.964273 | 0.964273 | 0.964273 | 0.964273 | 0.964273 | 0.964273 | 0 | 0.006979 | 0.227885 | 4,454 | 116 | 97 | 38.396552 | 0.806921 | 0.237539 | 0 | 0.835821 | 0 | 0 | 0.013749 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238806 | false | 0 | 0.044776 | 0 | 0.343284 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8e9758dab0b96fe58f164d814a58e08e4cd51b66 | 8,442 | py | Python | userbot/plugins/binchecker.py | karmaboii/Karmabot | f7007daee7d7dfb57ecc9ae26dd09f75c7aaf3b5 | [
"MIT"
] | null | null | null | userbot/plugins/binchecker.py | karmaboii/Karmabot | f7007daee7d7dfb57ecc9ae26dd09f75c7aaf3b5 | [
"MIT"
] | null | null | null | userbot/plugins/binchecker.py | karmaboii/Karmabot | f7007daee7d7dfb57ecc9ae26dd09f75c7aaf3b5 | [
"MIT"
] | null | null | null | # © KarmaBot
# Created by @Karmaboii
import datetime
import asyncio
from telethon import events
from telethon.errors.rpcerrorlist import YouBlockedUserError, UserAlreadyParticipantError
from telethon.tl.functions.account import UpdateNotifySettingsRequest
from telethon.tl.functions.messages import ImportChatInviteRequ... | 42.636364 | 95 | 0.59429 | 972 | 8,442 | 5.047325 | 0.088477 | 0.088055 | 0.063596 | 0.097839 | 0.916429 | 0.916429 | 0.916429 | 0.916429 | 0.916429 | 0.916429 | 0 | 0.001017 | 0.300877 | 8,442 | 197 | 96 | 42.852792 | 0.830058 | 0.003791 | 0 | 0.843243 | 0 | 0 | 0.185322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.048649 | 0 | 0.081081 | 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 |
8edccc557fbaa4ed787958477c2924c39a0369b2 | 14,222 | py | Python | Indo/indo_dec.py | shyamjangid07/Reverse-Engineering | 469efabcd6057f7895d8d891f1fabdf2ffe730b0 | [
"Apache-2.0"
] | 337 | 2020-08-15T12:22:14.000Z | 2022-03-29T06:05:15.000Z | Indo/indo_dec.py | ajairakaam/Reverse-Engineering | 49d00bafd0622ffb79e081946a19c5fd3a42628f | [
"Apache-2.0"
] | 3 | 2020-11-12T14:30:48.000Z | 2021-05-18T16:56:22.000Z | Indo/indo_dec.py | ajairakaam/Reverse-Engineering | 49d00bafd0622ffb79e081946a19c5fd3a42628f | [
"Apache-2.0"
] | 83 | 2020-08-15T00:22:58.000Z | 2022-03-31T08:40:23.000Z |
# Decompiled by HTR-TECH | TAHMID RAYAT
# Github : https://github.com/htr-tech
#---------------------------------------
# Auto Dis Parser 2.2.0
# Source File : indo_1.pyc
# Bytecode Version : 2.7
# Embedded file name: <tegarid>
# Time : Sun Aug 9 11:45:04 2020
#---------------------------------------
import os, sys, ... | 56.888 | 2,007 | 0.641471 | 2,630 | 14,222 | 3.453612 | 0.138783 | 0.346802 | 0.199163 | 0.26423 | 0.709017 | 0.703622 | 0.686007 | 0.672905 | 0.660685 | 0.656061 | 0 | 0.257692 | 0.147588 | 14,222 | 249 | 2,008 | 57.116466 | 0.491545 | 0.022008 | 0 | 0.305825 | 0 | 0.116505 | 0.65712 | 0.513276 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.11165 | 0.043689 | null | null | 0.135922 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 12 |
d93de5a9d4c4667841246e036fdb3d427311e6f4 | 153 | py | Python | src/configflow/exceptions/__init__.py | volodymyrPivoshenko/configflow | 2158c8395c4913b836c2a27e38c51f5ec519323b | [
"MIT"
] | 8 | 2022-01-25T09:06:34.000Z | 2022-03-28T14:55:45.000Z | src/configflow/exceptions/__init__.py | volodymyrPivoshenko/configflow | 2158c8395c4913b836c2a27e38c51f5ec519323b | [
"MIT"
] | 23 | 2022-01-23T15:15:00.000Z | 2022-03-28T21:47:15.000Z | src/configflow/exceptions/__init__.py | volodymyrPivoshenko/configflow | 2158c8395c4913b836c2a27e38c51f5ec519323b | [
"MIT"
] | 1 | 2022-03-15T21:08:19.000Z | 2022-03-15T21:08:19.000Z | """Package for the exceptions."""
from configflow.exceptions import io
from configflow.exceptions import misc
from configflow.exceptions import sources
| 25.5 | 41 | 0.823529 | 19 | 153 | 6.631579 | 0.526316 | 0.333333 | 0.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 153 | 5 | 42 | 30.6 | 0.926471 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
d9441c37de378d1d7fbce4db995fcac8d52dad63 | 242 | py | Python | hermes/forms/tasks.py | NiekKeijzer/hermes | 48c2e015ab5b299dbbc488a8934af76cabf144cb | [
"MIT"
] | null | null | null | hermes/forms/tasks.py | NiekKeijzer/hermes | 48c2e015ab5b299dbbc488a8934af76cabf144cb | [
"MIT"
] | null | null | null | hermes/forms/tasks.py | NiekKeijzer/hermes | 48c2e015ab5b299dbbc488a8934af76cabf144cb | [
"MIT"
] | null | null | null | from hermes.forms.models import Submission
from .signals import submission_received
def dispatch_submission_received(submission: Submission) -> None:
submission_received.send_robust(dispatch_submission_received, submission=submission)
| 30.25 | 88 | 0.85124 | 27 | 242 | 7.37037 | 0.481481 | 0.361809 | 0.261307 | 0.361809 | 0.462312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 242 | 7 | 89 | 34.571429 | 0.904545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 0 | 8 |
d949505c7f3d2515f4ac98c37564e531c21eb3bb | 21,319 | py | Python | Funcoes.py | Wesley-Breno/Calculator | 3f2c254177d5db155bdfeb32c5ef620523a94eb2 | [
"MIT"
] | 3 | 2021-06-25T04:06:14.000Z | 2021-07-29T20:05:09.000Z | Funcoes.py | Wesley-Breno/Calculator | 3f2c254177d5db155bdfeb32c5ef620523a94eb2 | [
"MIT"
] | null | null | null | Funcoes.py | Wesley-Breno/Calculator | 3f2c254177d5db155bdfeb32c5ef620523a94eb2 | [
"MIT"
] | null | null | null | from random import randint
def titulo_inicial():
"""
Ira escrever o titulo do jogo... "Calculator".
:return: None
"""
print()
print('\033[;1m⟶-⟷-⟵' * 10)
print(f'{"Calculator":^50}')
print('⟶-⟷-⟵' * 10)
print('\033[m')
def pular(c=1):
"""
Serve para pular linhas.
:p... | 40.919386 | 116 | 0.393874 | 2,255 | 21,319 | 3.702439 | 0.066075 | 0.049347 | 0.040244 | 0.057492 | 0.84573 | 0.826925 | 0.825009 | 0.805126 | 0.805126 | 0.805126 | 0 | 0.137783 | 0.48492 | 21,319 | 520 | 117 | 40.998077 | 0.621983 | 0.07491 | 0 | 0.922727 | 0 | 0.036364 | 0.266098 | 0.053199 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011364 | false | 0 | 0.002273 | 0 | 0.013636 | 0.295455 | 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 |
d9504bf6bd55f14bbf36d7503f8289596841f780 | 108 | py | Python | packages/watchmen-meta/src/watchmen_meta/analysis/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-meta/src/watchmen_meta/analysis/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-meta/src/watchmen_meta/analysis/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | from .pipeline_index_service import PipelineIndexService
from .topic_index_service import TopicIndexService
| 36 | 56 | 0.907407 | 12 | 108 | 7.833333 | 0.666667 | 0.255319 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 2 | 57 | 54 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d993e6829d30bcdd16990a42ad2fcd53d118ea63 | 60,066 | py | Python | cisco-ios-xr/ydk/models/_deviate/_cisco_xr_openconfig_bgp_deviations.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/_deviate/_cisco_xr_openconfig_bgp_deviations.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/_deviate/_cisco_xr_openconfig_bgp_deviations.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_... | 38.528544 | 183 | 0.605484 | 5,426 | 60,066 | 6.419278 | 0.024512 | 0.097844 | 0.077517 | 0.113692 | 0.987511 | 0.985903 | 0.985588 | 0.980965 | 0.968792 | 0.909161 | 0 | 0.009661 | 0.252123 | 60,066 | 1,558 | 184 | 38.553273 | 0.765705 | 0 | 0 | 0.506752 | 0 | 0 | 0.633813 | 0.407792 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004502 | 0 | 0.004502 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
79577b021b7614f443da02698bcfa0027a4ad293 | 5,993 | py | Python | cottonformation/res/codeguruprofiler.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/codeguruprofiler.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/codeguruprofiler.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class PropProfilingGroupChannel(Property):
"""
AWS Object Type = "AWS::Code... | 57.625 | 244 | 0.776406 | 604 | 5,993 | 7.610927 | 0.124172 | 0.234936 | 0.040679 | 0.062867 | 0.841853 | 0.840983 | 0.807918 | 0.78486 | 0.78486 | 0.78486 | 0 | 0.000185 | 0.100451 | 5,993 | 103 | 245 | 58.184466 | 0.852532 | 0.347572 | 0 | 0.25 | 0 | 0 | 0.087417 | 0.058016 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0 | 0.076923 | 0 | 0.326923 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
795aca3bd791cdcef8635e8c9a29afeba89d6acb | 2,532 | py | Python | tests/test_bail.py | 1Blackdiamondsc/seed-liquidity | 91e08c1a0bfa8115db38a23d236c22dcddf039af | [
"MIT"
] | 55 | 2020-12-18T15:34:11.000Z | 2022-03-27T12:50:09.000Z | tests/test_bail.py | 1Blackdiamondsc/seed-liquidity | 91e08c1a0bfa8115db38a23d236c22dcddf039af | [
"MIT"
] | null | null | null | tests/test_bail.py | 1Blackdiamondsc/seed-liquidity | 91e08c1a0bfa8115db38a23d236c22dcddf039af | [
"MIT"
] | 17 | 2020-12-18T14:36:32.000Z | 2022-02-10T17:41:12.000Z | import brownie
def test_bail_seed_running(seed, lido, weth, agent, whale, chain):
lido_amount = seed.target(0)
weth_amount = seed.target(1)
lido.approve(seed, lido_amount)
seed.deposit([lido_amount, 0], {'from': agent})
weth.approve(seed, weth_amount)
seed.deposit([0, weth_amount], {'from... | 29.44186 | 87 | 0.657583 | 345 | 2,532 | 4.66087 | 0.104348 | 0.099502 | 0.068408 | 0.069652 | 0.954602 | 0.941542 | 0.894279 | 0.894279 | 0.873756 | 0.873756 | 0 | 0.02419 | 0.183649 | 2,532 | 86 | 88 | 29.44186 | 0.753749 | 0 | 0 | 0.866667 | 0 | 0 | 0.031583 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.066667 | false | 0 | 0.016667 | 0 | 0.083333 | 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 |
8dbfe3713d63847ad2350264da0aea47929c6753 | 20,051 | py | Python | src/Stats.py | jtaghia/MRGP | 92891dfb74e4322341ac3e7774d98eeb557ab215 | [
"MIT"
] | 1 | 2021-05-27T09:31:48.000Z | 2021-05-27T09:31:48.000Z | src/Stats.py | jtaghia/MRGP | 92891dfb74e4322341ac3e7774d98eeb557ab215 | [
"MIT"
] | 2 | 2021-07-14T03:36:11.000Z | 2021-07-14T03:40:00.000Z | src/Stats.py | jtaghia/MRGP | 92891dfb74e4322341ac3e7774d98eeb557ab215 | [
"MIT"
] | 1 | 2021-07-12T21:08:44.000Z | 2021-07-12T21:08:44.000Z | import numpy as np
from scipy.special import psi, gammaln
from scipy.optimize import fsolve
from scipy.misc import logsumexp
class Stats(object):
def __init__(self, posterior):
qd = posterior
self.noise_region_specific = qd.noise_region_specific
self.bias_region_specific = qd.bias_region_... | 43.306695 | 108 | 0.567254 | 2,781 | 20,051 | 3.756562 | 0.046027 | 0.026802 | 0.036853 | 0.037906 | 0.913564 | 0.894898 | 0.885039 | 0.877668 | 0.858524 | 0.853068 | 0 | 0.005117 | 0.278689 | 20,051 | 462 | 109 | 43.400433 | 0.717209 | 0.065882 | 0 | 0.802228 | 0 | 0 | 0.022915 | 0.006853 | 0 | 0 | 0 | 0.002165 | 0 | 1 | 0.072423 | false | 0 | 0.011142 | 0 | 0.097493 | 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 |
8dc47ec5b9d6ab433a154ef1dd25f32a073f7f13 | 21,006 | py | Python | models.py | eLeVeNnN/shinnosuke | 0e07273991fbf6231aea084f490826883f562d0e | [
"MIT"
] | 24 | 2019-08-19T08:57:50.000Z | 2020-07-06T06:31:38.000Z | models.py | E1eveNn/shinnosuke | 0e07273991fbf6231aea084f490826883f562d0e | [
"MIT"
] | 1 | 2019-08-24T02:56:30.000Z | 2019-08-24T02:56:30.000Z | models.py | E1eveNn/shinnosuke | 0e07273991fbf6231aea084f490826883f562d0e | [
"MIT"
] | 1 | 2020-04-22T18:53:52.000Z | 2020-04-22T18:53:52.000Z | from .utils.Objectives import get_objective
from .utils.Optimizers import get_optimizer
from .utils.MiniBatch import get_batches
import time
import matplotlib.pyplot as plt
import os
import pickle
class Sequential():
def __init__(self,layers=None):
self.layers=[] if layers is None else laye... | 35.483108 | 274 | 0.52466 | 2,571 | 21,006 | 4.04473 | 0.085959 | 0.01154 | 0.018463 | 0.009232 | 0.868545 | 0.860756 | 0.837965 | 0.830849 | 0.824118 | 0.824118 | 0 | 0.018685 | 0.363039 | 21,006 | 591 | 275 | 35.543147 | 0.75852 | 0.022184 | 0 | 0.856132 | 0 | 0.009434 | 0.05192 | 0 | 0 | 0 | 0 | 0 | 0.014151 | 1 | 0.058962 | false | 0 | 0.016509 | 0 | 0.103774 | 0.061321 | 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 |
30f80bae5194f798785c5a2c4e2135218f813f2f | 39 | py | Python | keyboards/inline/__init__.py | reeegry/youtube-parser-bot | 475e232f80445ae6ba3e988d844b61bada6c0aed | [
"MIT"
] | null | null | null | keyboards/inline/__init__.py | reeegry/youtube-parser-bot | 475e232f80445ae6ba3e988d844b61bada6c0aed | [
"MIT"
] | null | null | null | keyboards/inline/__init__.py | reeegry/youtube-parser-bot | 475e232f80445ae6ba3e988d844b61bada6c0aed | [
"MIT"
] | null | null | null | def callback_datas():
return None
| 9.75 | 21 | 0.692308 | 5 | 39 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 39 | 3 | 22 | 13 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
eb5dfe67b18cdb4f20d6da97bad44a66ee1d284b | 697 | py | Python | src/test/test_statement.py | tdamsma/alembic_utils | 944e3a732bef1b90e5ff077b349d839d8470a4e6 | [
"MIT"
] | 74 | 2020-04-30T09:28:15.000Z | 2022-03-28T12:23:06.000Z | src/test/test_statement.py | tdamsma/alembic_utils | 944e3a732bef1b90e5ff077b349d839d8470a4e6 | [
"MIT"
] | 69 | 2020-05-06T12:29:01.000Z | 2022-02-23T12:27:28.000Z | src/test/test_statement.py | tdamsma/alembic_utils | 944e3a732bef1b90e5ff077b349d839d8470a4e6 | [
"MIT"
] | 23 | 2020-05-06T12:12:36.000Z | 2022-03-23T06:25:45.000Z | from alembic_utils.statement import coerce_to_quoted, coerce_to_unquoted
def test_coerce_to_quoted() -> None:
assert coerce_to_quoted('"public"') == '"public"'
assert coerce_to_quoted("public") == '"public"'
assert coerce_to_quoted("public.table") == '"public"."table"'
assert coerce_to_quoted('"public... | 41 | 72 | 0.700143 | 87 | 697 | 5.275862 | 0.172414 | 0.22658 | 0.27451 | 0.217865 | 0.753813 | 0.753813 | 0.753813 | 0.753813 | 0.623094 | 0.623094 | 0 | 0 | 0.12769 | 697 | 16 | 73 | 43.5625 | 0.754934 | 0 | 0 | 0 | 0 | 0 | 0.278336 | 0 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.166667 | true | 0 | 0.083333 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
eb5e2f71c41a238447af46499bdfd6419df4c5bd | 24,188 | py | Python | db/test/test_02_submit_rider.py | RagtagOpen/backend | b5172b61f7b189632f3fa6c47e8d63bc8148da3d | [
"MIT"
] | null | null | null | db/test/test_02_submit_rider.py | RagtagOpen/backend | b5172b61f7b189632f3fa6c47e8d63bc8148da3d | [
"MIT"
] | null | null | null | db/test/test_02_submit_rider.py | RagtagOpen/backend | b5172b61f7b189632f3fa6c47e8d63bc8148da3d | [
"MIT"
] | null | null | null | import pytest
import pgdb
@pytest.fixture
def pgdbConn(dbhost, db, frontenduser):
return pgdb.connect(dbhost + ':' + db + ':' + frontenduser)
def generic_rider_insert(conn, args):
cursor=conn.cursor()
cursor.execute("""
SELECT * from carpoolvote.submit_new_rider (
%(IPAddress)s,... | 33.735007 | 106 | 0.600339 | 2,175 | 24,188 | 6.550805 | 0.054713 | 0.036637 | 0.019582 | 0.024003 | 0.906513 | 0.906513 | 0.906513 | 0.906513 | 0.906513 | 0.906513 | 0 | 0.073384 | 0.254093 | 24,188 | 716 | 107 | 33.782123 | 0.716329 | 0 | 0 | 0.854864 | 0 | 0.020734 | 0.444105 | 0.159501 | 0 | 0 | 0 | 0 | 0.092504 | 1 | 0.033493 | false | 0 | 0.00319 | 0.001595 | 0.039872 | 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 |
eb94e576ddf818945339ae70a9b555a6796cd185 | 6,583 | py | Python | src/models.py | nidolow/image-classification | 1231878f57adb74887aa3c6671ce9466fde7c3fc | [
"MIT"
] | 1 | 2022-01-17T05:01:50.000Z | 2022-01-17T05:01:50.000Z | src/models.py | nidolow/image-classification | 1231878f57adb74887aa3c6671ce9466fde7c3fc | [
"MIT"
] | 4 | 2021-06-08T21:56:35.000Z | 2022-03-12T00:38:38.000Z | src/models.py | nidolow/image-classification | 1231878f57adb74887aa3c6671ce9466fde7c3fc | [
"MIT"
] | null | null | null | from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Conv2D, Flatten, Dropout, MaxPooling2D, BatchNormalization, ReLU
def add_conv(model, filters, dropout, batch_norm):
"""
Adds to model convolution layer with optional dropout and batch normalization.
Args:
mo... | 34.465969 | 109 | 0.64621 | 878 | 6,583 | 4.73918 | 0.109339 | 0.105744 | 0.106224 | 0.12497 | 0.821677 | 0.791637 | 0.776256 | 0.776256 | 0.769286 | 0.75751 | 0 | 0.038721 | 0.187908 | 6,583 | 190 | 110 | 34.647368 | 0.739618 | 0.165122 | 0 | 0.786408 | 0 | 0 | 0.143157 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048544 | false | 0 | 0.019417 | 0 | 0.126214 | 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 |
ccdef88b8ffb205aafe91409649c16fc474029de | 117 | py | Python | labs/space_station/solutions/tropiques.py | letstrythat/scientificpython | 522bd70d66e4d985e5c22b1dc25b75f208910bb7 | [
"MIT"
] | null | null | null | labs/space_station/solutions/tropiques.py | letstrythat/scientificpython | 522bd70d66e4d985e5c22b1dc25b75f208910bb7 | [
"MIT"
] | null | null | null | labs/space_station/solutions/tropiques.py | letstrythat/scientificpython | 522bd70d66e4d985e5c22b1dc25b75f208910bb7 | [
"MIT"
] | null | null | null | print(earth.at(ts.utc(2017, 6, 21)).observe(sun).radec())
print(earth.at(ts.utc(2017, 12, 22)).observe(sun).radec())
| 39 | 58 | 0.675214 | 22 | 117 | 3.590909 | 0.590909 | 0.253165 | 0.303797 | 0.35443 | 0.531646 | 0.531646 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0.051282 | 117 | 2 | 59 | 58.5 | 0.576577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
15e10ee88525ade30223670ab84756d962e6bcef | 485 | py | Python | tests/pyflakes_bears/pep8_naming_test_files/E07/valid.py | MacBox7/coala-pyflakes | 637f8a2e77973384be79d30b0dae1f43072e60c8 | [
"MIT"
] | null | null | null | tests/pyflakes_bears/pep8_naming_test_files/E07/valid.py | MacBox7/coala-pyflakes | 637f8a2e77973384be79d30b0dae1f43072e60c8 | [
"MIT"
] | 12 | 2018-05-21T06:12:59.000Z | 2018-07-30T10:37:16.000Z | tests/pyflakes_bears/pep8_naming_test_files/E07/valid.py | MacBox7/coala-pyflakes | 637f8a2e77973384be79d30b0dae1f43072e60c8 | [
"MIT"
] | 1 | 2018-06-10T16:16:47.000Z | 2018-06-10T16:16:47.000Z | def __getattr__():
pass
class C1:
def __str__(self):
return ''
def foo(self):
'''
>>> class Good():
... def __str__(self):
... return 1
'''
pass
class C2:
if True:
def __str__(self):
return ''
class C... | 16.166667 | 38 | 0.375258 | 42 | 485 | 3.857143 | 0.452381 | 0.148148 | 0.246914 | 0.395062 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.521649 | 485 | 29 | 39 | 16.724138 | 0.681034 | 0.134021 | 0 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.15 | 0 | 0.15 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 7 |
c619731997551d719584d94379175a2b31ec3728 | 509 | py | Python | test.py | itshoro/AniListPy | 953c67dfa475c966c38b48b15e6e216a4b82b671 | [
"MIT"
] | 1 | 2021-01-18T02:25:04.000Z | 2021-01-18T02:25:04.000Z | test.py | itshoro/AniListPy | 953c67dfa475c966c38b48b15e6e216a4b82b671 | [
"MIT"
] | null | null | null | test.py | itshoro/AniListPy | 953c67dfa475c966c38b48b15e6e216a4b82b671 | [
"MIT"
] | null | null | null |
# Query Animes
from anilistpy.test.test_queries import test_query_single_anime_by_id, test_query_single_anime_by_name, test_query_multiple_anime_by_ids
test_query_single_anime_by_id()
test_query_single_anime_by_name()
test_query_multiple_anime_by_ids()
# Query Manga
from anilistpy.test.test_queries import test_query_... | 33.933333 | 136 | 0.901768 | 88 | 509 | 4.511364 | 0.170455 | 0.27204 | 0.302267 | 0.201511 | 0.947103 | 0.947103 | 0.947103 | 0.947103 | 0.947103 | 0.775819 | 0 | 0 | 0.05501 | 509 | 14 | 137 | 36.357143 | 0.825364 | 0.047151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
c63583c0dd206a233be1c1966187b01505d05bc0 | 437 | py | Python | cupyx/scipy/ndimage/__init__.py | andersk/cupy | c73a325dd034ee9abfac2c4af11aa9107ec89042 | [
"MIT"
] | 2 | 2020-02-28T09:27:58.000Z | 2020-10-12T07:10:24.000Z | cupyx/scipy/ndimage/__init__.py | andersk/cupy | c73a325dd034ee9abfac2c4af11aa9107ec89042 | [
"MIT"
] | null | null | null | cupyx/scipy/ndimage/__init__.py | andersk/cupy | c73a325dd034ee9abfac2c4af11aa9107ec89042 | [
"MIT"
] | null | null | null | from cupyx.scipy.ndimage.filters import correlate # NOQA
from cupyx.scipy.ndimage.filters import convolve # NOQA
from cupyx.scipy.ndimage.interpolation import affine_transform # NOQA
from cupyx.scipy.ndimage.interpolation import map_coordinates # NOQA
from cupyx.scipy.ndimage.interpolation import rotate # NOQA
fr... | 48.555556 | 70 | 0.82151 | 58 | 437 | 6.155172 | 0.293103 | 0.176471 | 0.27451 | 0.411765 | 0.817927 | 0.806723 | 0.616247 | 0 | 0 | 0 | 0 | 0 | 0.114416 | 437 | 8 | 71 | 54.625 | 0.922481 | 0.077803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
c6552e7166dc303f7bf6d7787dfa0a79e9b62947 | 158 | py | Python | bin/__init__.py | JackHumphries9/ida | a234484cdcd0e19612911b4f548ceb40bb22fad4 | [
"MIT"
] | null | null | null | bin/__init__.py | JackHumphries9/ida | a234484cdcd0e19612911b4f548ceb40bb22fad4 | [
"MIT"
] | null | null | null | bin/__init__.py | JackHumphries9/ida | a234484cdcd0e19612911b4f548ceb40bb22fad4 | [
"MIT"
] | null | null | null | from bin import core
from bin import _font
#from bin import _settings
from bin import _console
from bin import _packageManager
from bin import __tkinterp | 26.333333 | 32 | 0.816456 | 24 | 158 | 5.125 | 0.375 | 0.341463 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 158 | 6 | 33 | 26.333333 | 0.946154 | 0.158228 | 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 |
d695b9b6b6f2b2b5e78934445d5d03550dd3738d | 3,717 | py | Python | backend/stock/migrations/0005_auto_20210213_0207.py | fengxia41103/stock | 1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1 | [
"MIT"
] | 1 | 2021-09-30T05:25:08.000Z | 2021-09-30T05:25:08.000Z | backend/stock/migrations/0005_auto_20210213_0207.py | fengxia41103/stock | 1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1 | [
"MIT"
] | 8 | 2021-09-30T05:27:09.000Z | 2021-12-03T23:02:24.000Z | backend/stock/migrations/0005_auto_20210213_0207.py | fengxia41103/stock | 1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1 | [
"MIT"
] | 3 | 2021-09-29T05:11:45.000Z | 2021-10-31T07:26:31.000Z | # Generated by Django 3.1.6 on 2021-02-13 02:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stock', '0004_incomestatement'),
]
operations = [
migrations.AlterField(
model_name='incomestatement',
name='ebit',
... | 35.740385 | 70 | 0.587033 | 341 | 3,717 | 6.260997 | 0.175953 | 0.168618 | 0.210773 | 0.244496 | 0.841218 | 0.841218 | 0.818735 | 0.818735 | 0.818735 | 0.78829 | 0 | 0.013836 | 0.299973 | 3,717 | 103 | 71 | 36.087379 | 0.806687 | 0.012107 | 0 | 0.731959 | 1 | 0 | 0.171117 | 0.049319 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010309 | 0 | 0.041237 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
ba44d83bfc25ad50a02b744b06ec66399015e78f | 4,046 | py | Python | tests/test_ansi_color.py | jakiee3y/luma.core | 713de8e4e397493dd196e8e7653268877135ffe9 | [
"MIT"
] | 114 | 2017-01-13T16:06:46.000Z | 2022-03-23T23:51:45.000Z | tests/test_ansi_color.py | plaes/luma.core | 884b60de14becc5ee25798d48e4d83c56d228840 | [
"MIT"
] | 192 | 2017-01-12T18:00:00.000Z | 2022-02-20T22:38:31.000Z | tests/test_ansi_color.py | plaes/luma.core | 884b60de14becc5ee25798d48e4d83c56d228840 | [
"MIT"
] | 58 | 2017-01-21T13:54:03.000Z | 2022-03-06T15:48:27.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2017-18 Richard Hull and contributors
# See LICENSE.rst for details.
"""
Tests for the :py:mod:`luma.core.ansi_color` module.
"""
import pytest
from luma.core import ansi_color
def test_parse_str_no_escape():
gen = ansi_color.parse_str("hello world"... | 32.368 | 70 | 0.562037 | 537 | 4,046 | 4.141527 | 0.175047 | 0.242356 | 0.420863 | 0.517986 | 0.795863 | 0.733813 | 0.722572 | 0.709982 | 0.709982 | 0.621403 | 0 | 0.01408 | 0.210084 | 4,046 | 124 | 71 | 32.629032 | 0.68179 | 0.0435 | 0 | 0.680412 | 0 | 0 | 0.166364 | 0.006219 | 0 | 0 | 0 | 0 | 0.752577 | 1 | 0.061856 | false | 0 | 0.020619 | 0 | 0.082474 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
242ac62761c06b934c502cbd6ac5177e563c1322 | 4,367 | py | Python | rwmem/memory.py | iduel/ReadMem | a732405a12344b3cb8e42adade8f6bfb69be0435 | [
"MIT"
] | null | null | null | rwmem/memory.py | iduel/ReadMem | a732405a12344b3cb8e42adade8f6bfb69be0435 | [
"MIT"
] | null | null | null | rwmem/memory.py | iduel/ReadMem | a732405a12344b3cb8e42adade8f6bfb69be0435 | [
"MIT"
] | null | null | null | import ctypes
import rwmem.exception
def read_bytes(handle: int, address: int, bytes: int):
"""Read data from process memory.
Parameters:
-----------
handle: int
The handle to a process.
The handle must have the PROCESS_VM_OPERATION access right.
address: int
The proce... | 36.697479 | 139 | 0.665216 | 589 | 4,367 | 4.70798 | 0.14601 | 0.042914 | 0.060945 | 0.064912 | 0.862604 | 0.846015 | 0.846015 | 0.802019 | 0.802019 | 0.789758 | 0 | 0.006687 | 0.246622 | 4,367 | 118 | 140 | 37.008475 | 0.83617 | 0.191665 | 0 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.027778 | 0 | 0.194444 | 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 |
24631535a0ca397a605dea5359e5e204ce0a2bcd | 459,799 | py | Python | sympy/physics/quantum/tests/test_spin.py | msgoff/sympy | 1e7daef7514902f5e89718fa957b7b36c6669a10 | [
"BSD-3-Clause"
] | null | null | null | sympy/physics/quantum/tests/test_spin.py | msgoff/sympy | 1e7daef7514902f5e89718fa957b7b36c6669a10 | [
"BSD-3-Clause"
] | null | null | null | sympy/physics/quantum/tests/test_spin.py | msgoff/sympy | 1e7daef7514902f5e89718fa957b7b36c6669a10 | [
"BSD-3-Clause"
] | null | null | null | from sympy import cos, exp, expand, I, Matrix, pi, S, sin, sqrt, Sum, symbols, Rational
from sympy.abc import alpha, beta, gamma, j, m
from sympy.physics.quantum import hbar, represent, Commutator, InnerProduct
from sympy.physics.quantum.qapply import qapply
from sympy.physics.quantum.tensorproduct import TensorProduct... | 31.475835 | 88 | 0.400342 | 59,848 | 459,799 | 3.074021 | 0.00269 | 0.165159 | 0.083751 | 0.133171 | 0.986308 | 0.981139 | 0.973507 | 0.964332 | 0.952395 | 0.94265 | 0 | 0.104792 | 0.402385 | 459,799 | 14,607 | 89 | 31.47799 | 0.564733 | 0.007999 | 0 | 0.708008 | 0 | 0 | 0.000886 | 0 | 0 | 0 | 0 | 0 | 0.092006 | 1 | 0.002651 | false | 0 | 0.000558 | 0 | 0.003209 | 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 |
79eacad242585ca8fffc62922749ed2be91cff44 | 41 | py | Python | Waveforms/results/hSymmetric_3_2.py | keefemitman/PostNewtonian | 853d6577cb0002da5eebe1cb55f0c28fbc114324 | [
"MIT"
] | 18 | 2015-03-26T01:04:36.000Z | 2022-02-01T19:26:21.000Z | Waveforms/results/hSymmetric_3_2.py | keefemitman/PostNewtonian | 853d6577cb0002da5eebe1cb55f0c28fbc114324 | [
"MIT"
] | 4 | 2015-01-08T23:46:29.000Z | 2017-09-20T19:13:51.000Z | Waveforms/results/hSymmetric_3_2.py | keefemitman/PostNewtonian | 853d6577cb0002da5eebe1cb55f0c28fbc114324 | [
"MIT"
] | 3 | 2016-05-13T02:36:14.000Z | 2021-11-23T21:36:32.000Z | 8*sqrt(7)*sqrt(pi)*nu*r(0)**3*v(0)**10/21 | 41 | 41 | 0.560976 | 13 | 41 | 1.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 0 | 41 | 1 | 41 | 41 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cef3ff965d1255bbb59a4f29b2bc258f946b2ba0 | 1,937 | py | Python | test/legacy/babi.py | parmeet/text | 1fb2aedb48b5ecc5e81741e7c8504486b91655c6 | [
"BSD-3-Clause"
] | 1 | 2021-04-16T08:31:30.000Z | 2021-04-16T08:31:30.000Z | test/legacy/babi.py | parmeet/text | 1fb2aedb48b5ecc5e81741e7c8504486b91655c6 | [
"BSD-3-Clause"
] | 3 | 2021-02-24T22:51:20.000Z | 2021-03-05T02:38:15.000Z | test/legacy/babi.py | parmeet/text | 1fb2aedb48b5ecc5e81741e7c8504486b91655c6 | [
"BSD-3-Clause"
] | 1 | 2021-06-21T07:13:53.000Z | 2021-06-21T07:13:53.000Z | from torchtext.legacy import datasets
# en-valid
TRAIN_NUM = [0] + [900] * 16 + [904, 905, 900, 904]
VAL_NUM = [0] + [100] * 16 + [96, 95, 100, 96]
TEST_NUM = [0] + [1000] * 20
# Testcase 1 (joint training)
train_iter, val_iter, test_iter = datasets.BABI20.iters(task=1, joint=True)
assert len(train_iter.dataset) == s... | 37.980392 | 86 | 0.691791 | 316 | 1,937 | 4.044304 | 0.164557 | 0.126761 | 0.056338 | 0.075117 | 0.884194 | 0.884194 | 0.884194 | 0.884194 | 0.881064 | 0.871674 | 0 | 0.076355 | 0.16159 | 1,937 | 50 | 87 | 38.74 | 0.710591 | 0.095509 | 0 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.529412 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.029412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
063c85f0a1f4f874816ee9302107f906c9a7a7fb | 6,699 | py | Python | buildnotifylib/generated/icons_rc.py | rwilsonncsa/buildnotify | 35a960937c2b77d5c802162a8a83d02640d6e55c | [
"MIT"
] | null | null | null | buildnotifylib/generated/icons_rc.py | rwilsonncsa/buildnotify | 35a960937c2b77d5c802162a8a83d02640d6e55c | [
"MIT"
] | null | null | null | buildnotifylib/generated/icons_rc.py | rwilsonncsa/buildnotify | 35a960937c2b77d5c802162a8a83d02640d6e55c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: Tue Mar 18 20:49:08 2014
# by: The Resource Compiler for PyQt (Qt v4.8.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore
qt_resource_data = "\
\x00\x00\x00\xcd\
\x3c\
\x73\x76\x67\x20\x78\x6d\x6c\x6e\x73\x3d\x22\x68\x... | 46.520833 | 129 | 0.723242 | 1,553 | 6,699 | 3.108178 | 0.081777 | 0.087011 | 0.07831 | 0.044748 | 0.875078 | 0.866377 | 0.865134 | 0.856433 | 0.841516 | 0.828465 | 0 | 0.403387 | 0.030452 | 6,699 | 143 | 130 | 46.846154 | 0.3398 | 0.027019 | 0 | 0.546875 | 0 | 0.648438 | 0 | 0 | 0 | 1 | 0.001229 | 0 | 0 | 1 | 0.015625 | false | 0 | 0.007813 | 0 | 0.023438 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
065370ad3a1ca4e10e67a9cbad43334d8a237551 | 27,824 | py | Python | CourseOutlineBackend/courseoutline/views.py | stancsz/web-development-project-ensf-607 | 03b11df4971afd4f27fee54a1800a40d4cc10240 | [
"Apache-2.0"
] | null | null | null | CourseOutlineBackend/courseoutline/views.py | stancsz/web-development-project-ensf-607 | 03b11df4971afd4f27fee54a1800a40d4cc10240 | [
"Apache-2.0"
] | null | null | null | CourseOutlineBackend/courseoutline/views.py | stancsz/web-development-project-ensf-607 | 03b11df4971afd4f27fee54a1800a40d4cc10240 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
from rest_framework.views import APIView
from rest_framework.response import Response
from rest_framework.mixins import UpdateModelMixin, DestroyModelMixin
from .models import *
from .serializers import *
class CoordinatorPostGetView(
APIView,
U... | 37.65088 | 84 | 0.657777 | 2,736 | 27,824 | 6.580775 | 0.042398 | 0.097973 | 0.06065 | 0.074646 | 0.905026 | 0.873146 | 0.82005 | 0.82005 | 0.82005 | 0.82005 | 0 | 0.016172 | 0.253271 | 27,824 | 738 | 85 | 37.701897 | 0.850412 | 0.000827 | 0 | 0.861538 | 0 | 0 | 0.046836 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086154 | false | 0 | 0.009231 | 0 | 0.332308 | 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 |
06591a81f57be649455ef644c818b2583e2c7726 | 21,984 | py | Python | ComplementaryScripts/Step_03_Compare_Refine/Step_refine_pipeline_part02_pathways.py | HaoLuoChalmers/Lactobacillus_reuteri_MM41A_GEM | 9be6a48e7467e0c81b0b974180860d599fc9c201 | [
"CC-BY-4.0"
] | null | null | null | ComplementaryScripts/Step_03_Compare_Refine/Step_refine_pipeline_part02_pathways.py | HaoLuoChalmers/Lactobacillus_reuteri_MM41A_GEM | 9be6a48e7467e0c81b0b974180860d599fc9c201 | [
"CC-BY-4.0"
] | 1 | 2021-07-19T16:00:03.000Z | 2021-07-19T16:00:03.000Z | ComplementaryScripts/Step_03_Compare_Refine/Step_refine_pipeline_part02_pathways.py | SysBioChalmers/Lactobacillus_reuteri_MM41A_GEM | 9be6a48e7467e0c81b0b974180860d599fc9c201 | [
"CC-BY-4.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Created by Hao Luo at 4/22/20
"""Step_refine_pipeline_part03_amino_acids.py
:description : script to refine important metabolites
:param : metabolites list: [lac acet etoh 1,3-propanediol,reuterin,hista_HISDC]
:returns:
:rtype:
"""
import os
import cobra
import My_d... | 43.968 | 126 | 0.70756 | 3,567 | 21,984 | 3.941968 | 0.063639 | 0.065785 | 0.092099 | 0.185478 | 0.896451 | 0.888557 | 0.873764 | 0.857691 | 0.839414 | 0.828319 | 0 | 0.061703 | 0.147062 | 21,984 | 499 | 127 | 44.056112 | 0.688177 | 0.182724 | 0 | 0.781457 | 0 | 0 | 0.137301 | 0.025499 | 0 | 0 | 0 | 0.002004 | 0 | 1 | 0 | false | 0.019868 | 0.009934 | 0 | 0.009934 | 0.099338 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0659b3217901c7e9d1f75a811a4542bf1d206536 | 13,512 | py | Python | cea/plots/old/graphs_solar_potential.py | pajotca/CityEnergyAnalyst | f3d0a08f7b5f5967961bf831625544a95c7702f0 | [
"MIT"
] | 1 | 2018-08-16T14:34:23.000Z | 2018-08-16T14:34:23.000Z | cea/plots/old/graphs_solar_potential.py | pajotca/CityEnergyAnalyst | f3d0a08f7b5f5967961bf831625544a95c7702f0 | [
"MIT"
] | null | null | null | cea/plots/old/graphs_solar_potential.py | pajotca/CityEnergyAnalyst | f3d0a08f7b5f5967961bf831625544a95c7702f0 | [
"MIT"
] | null | null | null | """
Solar graphs
"""
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
__author__ = "Jimeno A. Fonseca"
__copyright__ = "Copyright 2015, Architecture and Building Systems - ETH Zurich"
__credits__ = ["Jimeno A. Fonseca"]
__license__ = "MIT"
__version__ = "0.1"
__maintainer__ = "Daren Thomas"
__em... | 116.482759 | 329 | 0.701377 | 2,297 | 13,512 | 4.006966 | 0.074445 | 0.066276 | 0.091265 | 0.048892 | 0.861256 | 0.839744 | 0.815732 | 0.790635 | 0.777597 | 0.771838 | 0 | 0.090364 | 0.086812 | 13,512 | 115 | 330 | 117.495652 | 0.655564 | 0.00259 | 0 | 0.238095 | 0 | 0 | 0.155851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.035714 | 0 | 0.130952 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
066c396f36bb46c0521fe991a90fcb4a2c2f663e | 47 | py | Python | moduler/__init__.py | sfairchild/moduler | a7b5c14ef65d03f524a67bb5460d4d447ccfbc72 | [
"MIT"
] | null | null | null | moduler/__init__.py | sfairchild/moduler | a7b5c14ef65d03f524a67bb5460d4d447ccfbc72 | [
"MIT"
] | null | null | null | moduler/__init__.py | sfairchild/moduler | a7b5c14ef65d03f524a67bb5460d4d447ccfbc72 | [
"MIT"
] | null | null | null | def run():
return (u'This still works!!!')
| 15.666667 | 35 | 0.574468 | 7 | 47 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 47 | 2 | 36 | 23.5 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0.404255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
06810e1bd19e4139bdc4f994025c8ca331e51848 | 460 | py | Python | 14/00/00/0.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | 14/00/00/0.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | 46 | 2017-06-30T22:19:07.000Z | 2017-07-31T22:51:31.000Z | 14/00/00/0.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | import datetime
#print(int('100').__getattr__('abcdefg')) # AttributeError: 'int' object has no attribute '__getattr__'
#print(str('abc').__getattr__('abcdefg')) # AttributeError: 'str' object has no attribute '__getattr__'
#print(range(3).__getattr__('abcdefg')) # AttributeError: 'range' object has no attribute '__get... | 65.714286 | 130 | 0.76087 | 52 | 460 | 6.115385 | 0.326923 | 0.176101 | 0.352201 | 0.251572 | 0.386792 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0.009501 | 0.084783 | 460 | 6 | 131 | 76.666667 | 0.745843 | 0.936957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ebfd1c163c53ebe9cdcade12d7193d2ef35d015d | 12,052 | py | Python | flask_sqlite_admin/tests/core_test.py | twaldear/flask-sqlite-admin | 6ff25881057b5b657b1cc868e1b00283086f110c | [
"MIT"
] | 6 | 2018-09-26T02:58:56.000Z | 2020-07-21T14:55:39.000Z | flask_sqlite_admin/tests/core_test.py | twaldear/flask-sqlite-admin | 6ff25881057b5b657b1cc868e1b00283086f110c | [
"MIT"
] | 2 | 2019-08-08T01:45:59.000Z | 2019-09-21T16:54:32.000Z | flask_sqlite_admin/tests/core_test.py | twaldear/flask-sqlite-admin | 6ff25881057b5b657b1cc868e1b00283086f110c | [
"MIT"
] | 5 | 2017-04-07T14:49:54.000Z | 2020-09-16T09:38:08.000Z | import unittest
import os
import tempfile
from flask import Flask, make_response, redirect, url_for, request
from core import sqliteAdminBlueprint
import sqlite3
from functools import wraps
db_file = tempfile.mkstemp()
class flask_test_app:
""" basic app setup """
app = Flask(__name__)
@app.route('/')
def inde... | 49.191837 | 207 | 0.67159 | 1,754 | 12,052 | 4.482896 | 0.108894 | 0.032939 | 0.038916 | 0.041333 | 0.854127 | 0.830726 | 0.814829 | 0.789648 | 0.726313 | 0.702785 | 0 | 0.019819 | 0.12081 | 12,052 | 245 | 208 | 49.191837 | 0.722254 | 0.020246 | 0 | 0.445714 | 0 | 0.022857 | 0.387733 | 0.058619 | 0 | 0 | 0 | 0 | 0.228571 | 1 | 0.24 | false | 0.005714 | 0.04 | 0.022857 | 0.388571 | 0.057143 | 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 |
233204c23d4470ea69c3ee9cdefd80a8920f0c93 | 1,370 | py | Python | py_fitness/py_fitness/workout/permissions.py | audiolion/py-fitness | 9e0ca785c73a07cb788685bbde6e840a7a2e3419 | [
"MIT"
] | 1 | 2017-04-17T19:59:15.000Z | 2017-04-17T19:59:15.000Z | py_fitness/py_fitness/workout/permissions.py | audiolion/py-fitness | 9e0ca785c73a07cb788685bbde6e840a7a2e3419 | [
"MIT"
] | 1 | 2016-12-09T01:58:46.000Z | 2016-12-09T01:58:46.000Z | py_fitness/py_fitness/workout/permissions.py | audiolion/py-fitness | 9e0ca785c73a07cb788685bbde6e840a7a2e3419 | [
"MIT"
] | null | null | null | from rest_framework import permissions
class WorkoutIsOwnerOrReadOnly(permissions.BasePermission):
"""
Custom permission to only allow owners of an object to edit it.
"""
def has_object_permission(self, request, view, obj):
if request.method in permissions.SAFE_METHODS:
return Tru... | 27.4 | 67 | 0.693431 | 161 | 1,370 | 5.819876 | 0.242236 | 0.106724 | 0.132337 | 0.175027 | 0.83031 | 0.794023 | 0.794023 | 0.794023 | 0.794023 | 0.794023 | 0 | 0 | 0.233577 | 1,370 | 49 | 68 | 27.959184 | 0.892381 | 0.186131 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.047619 | 0 | 0.809524 | 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 |
88e3698ddd15e4eec956097054dfabf49c228508 | 142 | py | Python | tests/__init__.py | Python-Tools/sserender | 2a283e7e0c533f70dbb45d0adac35bb094723aac | [
"MIT"
] | null | null | null | tests/__init__.py | Python-Tools/sserender | 2a283e7e0c533f70dbb45d0adac35bb094723aac | [
"MIT"
] | null | null | null | tests/__init__.py | Python-Tools/sserender | 2a283e7e0c533f70dbb45d0adac35bb094723aac | [
"MIT"
] | null | null | null | def setUpModule() -> None:
print("[Module sserender Test Start]")
def tearDownModule() -> None:
print("[Module sserender Test End]") | 23.666667 | 42 | 0.669014 | 16 | 142 | 5.9375 | 0.625 | 0.189474 | 0.315789 | 0.505263 | 0.589474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176056 | 142 | 6 | 43 | 23.666667 | 0.811966 | 0 | 0 | 0 | 0 | 0 | 0.391608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
88efe5a40685f4a84b416f2757a2d89d34dbebdb | 26,166 | py | Python | riboviz/test/test_process_utils.py | rasilab/riboviz | a2ebaa7dac383e6ce0972626bf57fdba105d1780 | [
"Apache-2.0"
] | 13 | 2020-10-20T13:03:11.000Z | 2022-02-17T02:07:41.000Z | riboviz/test/test_process_utils.py | rasilab/riboviz | a2ebaa7dac383e6ce0972626bf57fdba105d1780 | [
"Apache-2.0"
] | 306 | 2020-03-04T14:23:34.000Z | 2022-02-26T14:51:02.000Z | riboviz/test/test_process_utils.py | rasilab/riboviz | a2ebaa7dac383e6ce0972626bf57fdba105d1780 | [
"Apache-2.0"
] | 9 | 2020-04-26T20:27:02.000Z | 2022-02-01T13:16:52.000Z | """
:py:mod:`riboviz.process_utils` tests.
"""
import os.path
import tempfile
import pytest
from riboviz import process_utils
from riboviz import utils
@pytest.fixture(scope="function")
def tmp_stdout_file():
"""
Create a temporary file with a ``log`` suffix.
:return: path to temporary file
:rtype: s... | 37.326676 | 90 | 0.641367 | 3,730 | 26,166 | 4.259517 | 0.03807 | 0.048716 | 0.069549 | 0.036254 | 0.965697 | 0.954368 | 0.942913 | 0.924471 | 0.913142 | 0.911631 | 0 | 0.008133 | 0.252847 | 26,166 | 700 | 91 | 37.38 | 0.804552 | 0.287205 | 0 | 0.819753 | 0 | 0 | 0.116225 | 0 | 0 | 0 | 0 | 0 | 0.264198 | 1 | 0.069136 | false | 0.051852 | 0.012346 | 0 | 0.081481 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
00406ebe1a4d839db58b9ab9e1ec2ee191be1cf5 | 16,983 | py | Python | CodeGenerator/Generators/ISD_EntityReader.py | Cooolrik/ISD | c06afd5a2f4e7d2fe21ba3c77e60595c1bd24ade | [
"MIT"
] | null | null | null | CodeGenerator/Generators/ISD_EntityReader.py | Cooolrik/ISD | c06afd5a2f4e7d2fe21ba3c77e60595c1bd24ade | [
"MIT"
] | null | null | null | CodeGenerator/Generators/ISD_EntityReader.py | Cooolrik/ISD | c06afd5a2f4e7d2fe21ba3c77e60595c1bd24ade | [
"MIT"
] | null | null | null | # ISD Copyright (c) 2021 Ulrik Lindahl
# Licensed under the MIT license https://github.com/Cooolrik/ISD/blob/main/LICENSE
import CodeGeneratorHelpers as hlp
def ISD_EntityReader_h():
lines = []
lines.append('// ISD Copyright (c) 2021 Ulrik Lindahl')
lines.append('// Licensed under the MIT license https://github.co... | 56.989933 | 222 | 0.676206 | 2,202 | 16,983 | 5.027702 | 0.075386 | 0.242435 | 0.175594 | 0.090597 | 0.877428 | 0.85593 | 0.822419 | 0.809773 | 0.783308 | 0.76172 | 0 | 0.003657 | 0.162692 | 16,983 | 298 | 223 | 56.989933 | 0.774895 | 0.010658 | 0 | 0.664207 | 0 | 0.103321 | 0.625409 | 0.225219 | 0 | 0 | 0 | 0 | 0.00369 | 1 | 0.01107 | false | 0 | 0.00369 | 0 | 0.01476 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cc64ba8c9040168b08cf2f0761703ce7069fb218 | 208 | py | Python | interrogatio/handlers/__init__.py | ffaraone/interrogatio | 8b66e7fe73d14bfda38cc2eb3aecb3291e4afda1 | [
"BSD-3-Clause"
] | 5 | 2019-02-19T13:10:39.000Z | 2022-03-04T19:11:04.000Z | interrogatio/handlers/__init__.py | ffaraone/interrogatio | 8b66e7fe73d14bfda38cc2eb3aecb3291e4afda1 | [
"BSD-3-Clause"
] | 11 | 2020-03-24T16:58:41.000Z | 2021-12-14T10:19:17.000Z | interrogatio/handlers/__init__.py | ffaraone/interrogatio | 8b66e7fe73d14bfda38cc2eb3aecb3291e4afda1 | [
"BSD-3-Clause"
] | 2 | 2019-05-31T08:36:26.000Z | 2020-12-18T17:58:50.000Z | from interrogatio.handlers.base import QHandler # noqa
from interrogatio.handlers.registry import ( # noqa
register, get_instance, get_registered,
)
from interrogatio.handlers.builtins import * # noqa
| 34.666667 | 55 | 0.788462 | 24 | 208 | 6.75 | 0.541667 | 0.296296 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139423 | 208 | 5 | 56 | 41.6 | 0.905028 | 0.067308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
aeb64d63948bbd932197caf9211def73c9432e83 | 3,615 | py | Python | cloudaux/tests/aws/test_sts.py | Deepak1100/cloudaux | 322b26b9c47e5f4fcd5cd11fc4aa5fa830c050f9 | [
"Apache-2.0"
] | 76 | 2017-02-20T21:35:29.000Z | 2022-02-07T19:21:07.000Z | cloudaux/tests/aws/test_sts.py | Deepak1100/cloudaux | 322b26b9c47e5f4fcd5cd11fc4aa5fa830c050f9 | [
"Apache-2.0"
] | 100 | 2016-11-13T08:36:09.000Z | 2021-08-11T05:59:18.000Z | cloudaux/tests/aws/test_sts.py | Deepak1100/cloudaux | 322b26b9c47e5f4fcd5cd11fc4aa5fa830c050f9 | [
"Apache-2.0"
] | 43 | 2016-11-13T16:50:40.000Z | 2021-08-16T21:01:03.000Z | """
.. module: cloudaux.tests.aws.test_sts
:platform: Unix
:copyright: (c) 2018 by Netflix Inc., see AUTHORS for more
:license: Apache, see LICENSE for more details.
.. moduleauthor:: Josafat Gonzalez <josafatg@netflix.com>
"""
from botocore.client import Config
from cloudaux.aws.sts import boto3_cached_con... | 31.710526 | 95 | 0.6426 | 451 | 3,615 | 4.929047 | 0.179601 | 0.084121 | 0.107063 | 0.068376 | 0.853351 | 0.822762 | 0.822762 | 0.822762 | 0.822762 | 0.817814 | 0 | 0.040925 | 0.222683 | 3,615 | 113 | 96 | 31.99115 | 0.750178 | 0.114799 | 0 | 0.71831 | 0 | 0 | 0.202766 | 0.076077 | 0 | 0 | 0 | 0 | 0.112676 | 1 | 0.084507 | false | 0 | 0.098592 | 0 | 0.211268 | 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 |
aef63c24ef0d01a8655e8af8758804242bac0963 | 3,485 | py | Python | papers/ICCV2021-NGC/configs/_updater.py | huang-ziyuan/EssentialMC2 | 87141df94c1ac8e426ceec071720b97f5b9d3b88 | [
"MIT"
] | 69 | 2021-11-01T11:18:13.000Z | 2022-03-28T04:27:17.000Z | papers/ICCV2021-NGC/configs/_updater.py | huang-ziyuan/EssentialMC2 | 87141df94c1ac8e426ceec071720b97f5b9d3b88 | [
"MIT"
] | 6 | 2021-11-01T09:28:13.000Z | 2022-02-11T09:49:58.000Z | papers/ICCV2021-NGC/configs/_updater.py | huang-ziyuan/EssentialMC2 | 87141df94c1ac8e426ceec071720b97f5b9d3b88 | [
"MIT"
] | 16 | 2021-11-11T06:26:18.000Z | 2022-03-20T13:32:15.000Z | def update_data(hyper_params):
return dict(
train=dict(
samples_per_gpu=hyper_params['batch_size'],
workers_per_gpu=hyper_params['workers_per_gpu'],
dataset=dict(
root_dir=hyper_params['dataset_root'],
cifar_type=hyper_params['dataset_name'... | 35.561224 | 101 | 0.604017 | 410 | 3,485 | 4.65122 | 0.129268 | 0.305716 | 0.109596 | 0.169376 | 0.807027 | 0.807027 | 0.774515 | 0.774515 | 0.774515 | 0.774515 | 0 | 0.004045 | 0.290674 | 3,485 | 97 | 102 | 35.927835 | 0.767395 | 0 | 0 | 0.640449 | 0 | 0 | 0.160402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05618 | false | 0 | 0 | 0.05618 | 0.11236 | 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 |
4e15790175ea46572e34e3be68fe64ed79c3ce16 | 4,312 | py | Python | tests/test_managedblockchain/test_managedblockchain_networks.py | nourishcare/moto | 8d3d43da90be101216d16330aeacaf7bd1fff6f4 | [
"Apache-2.0"
] | null | null | null | tests/test_managedblockchain/test_managedblockchain_networks.py | nourishcare/moto | 8d3d43da90be101216d16330aeacaf7bd1fff6f4 | [
"Apache-2.0"
] | null | null | null | tests/test_managedblockchain/test_managedblockchain_networks.py | nourishcare/moto | 8d3d43da90be101216d16330aeacaf7bd1fff6f4 | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
import boto3
import sure # noqa
from moto.managedblockchain.exceptions import BadRequestException
from moto import mock_managedblockchain
from . import helpers
@mock_managedblockchain
def test_create_network():
conn = boto3.client("managedblockchain", region_name="us-eas... | 34.774194 | 83 | 0.726809 | 442 | 4,312 | 6.90724 | 0.192308 | 0.064199 | 0.047167 | 0.055028 | 0.835899 | 0.835899 | 0.75565 | 0.75565 | 0.75565 | 0.7396 | 0 | 0.021082 | 0.163961 | 4,312 | 123 | 84 | 35.056911 | 0.825798 | 0.018553 | 0 | 0.702128 | 0 | 0 | 0.182679 | 0.013251 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.06383 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9d6731737f2515afd78dfd4cf63cb4388f9b9e7a | 119 | py | Python | server/tomato/context_processors.py | dtcooper/tomato | a54aa3bc3858fa8ad377696f5275ac0c2103f33a | [
"MIT"
] | 1 | 2020-02-25T09:21:31.000Z | 2020-02-25T09:21:31.000Z | server/tomato/context_processors.py | dtcooper/tomato | a54aa3bc3858fa8ad377696f5275ac0c2103f33a | [
"MIT"
] | null | null | null | server/tomato/context_processors.py | dtcooper/tomato | a54aa3bc3858fa8ad377696f5275ac0c2103f33a | [
"MIT"
] | null | null | null | from .client_server_constants import COLORS
def rotator_colors(request):
return {'ROTATOR_COLORS': dict(COLORS)}
| 19.833333 | 43 | 0.781513 | 15 | 119 | 5.933333 | 0.733333 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 119 | 5 | 44 | 23.8 | 0.855769 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 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 |
9de738b1ea882829fbff5abe96cfb8d93e90bfc0 | 1,511 | py | Python | django/trebek/apps/trivia/migrations/0013_auto_20210527_1431.py | whutch/trebek | 8f5d80a97c7d3aaf29a2faf43a63969cb4150449 | [
"MIT"
] | 1 | 2021-06-06T12:06:31.000Z | 2021-06-06T12:06:31.000Z | django/trebek/apps/trivia/migrations/0013_auto_20210527_1431.py | whutch/trebek | 8f5d80a97c7d3aaf29a2faf43a63969cb4150449 | [
"MIT"
] | 1 | 2021-04-03T17:03:21.000Z | 2021-05-27T21:14:59.000Z | django/trebek/apps/trivia/migrations/0013_auto_20210527_1431.py | whutch/trebek | 8f5d80a97c7d3aaf29a2faf43a63969cb4150449 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.3 on 2021-05-27 19:31
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('trivia', '0012_auto_20201124_1702'),
]
operations = [
migrations.AlterField(
model_name='game',
name='id',
... | 34.340909 | 111 | 0.605559 | 155 | 1,511 | 5.729032 | 0.283871 | 0.081081 | 0.168919 | 0.195946 | 0.737613 | 0.737613 | 0.737613 | 0.737613 | 0.737613 | 0.737613 | 0 | 0.028259 | 0.273991 | 1,511 | 43 | 112 | 35.139535 | 0.781222 | 0.029782 | 0 | 0.648649 | 1 | 0 | 0.07377 | 0.01571 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d182eb75f003f809eb788df4e0ff6ea5348d128b | 46,942 | py | Python | transquest/training/run_multi.py | agesb/TransQuest | 84fb49b2e8d3dfae6caacc378e9764e610452aad | [
"Apache-2.0"
] | null | null | null | transquest/training/run_multi.py | agesb/TransQuest | 84fb49b2e8d3dfae6caacc378e9764e610452aad | [
"Apache-2.0"
] | null | null | null | transquest/training/run_multi.py | agesb/TransQuest | 84fb49b2e8d3dfae6caacc378e9764e610452aad | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import wandb
from transformers import AutoTokenizer, AutoModelForSequenceClassification
from transformers import XLMRobertaTokenizer, XLMRobertaForMaskedLM
import torch
from torch.utils.data import Dataset
import requests
import tqdm
import regex
im... | 50.259101 | 266 | 0.587427 | 5,241 | 46,942 | 4.931311 | 0.058004 | 0.049294 | 0.062488 | 0.032501 | 0.847321 | 0.830064 | 0.816019 | 0.79822 | 0.787618 | 0.783285 | 0 | 0.004013 | 0.304653 | 46,942 | 933 | 267 | 50.312969 | 0.787782 | 0.039581 | 0 | 0.763081 | 0 | 0 | 0.102023 | 0.0262 | 0 | 0 | 0 | 0 | 0.013081 | 1 | 0.013081 | false | 0 | 0.047965 | 0 | 0.072674 | 0.03343 | 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 |
d1d038b3c27b15a35458be16ee758e0b16121b66 | 118 | py | Python | src/opera/threading/utils.py | Legion2/xopera-opera | 808f23cbac326b6d067e6ec531a0109ae02d0f5e | [
"Apache-2.0"
] | null | null | null | src/opera/threading/utils.py | Legion2/xopera-opera | 808f23cbac326b6d067e6ec531a0109ae02d0f5e | [
"Apache-2.0"
] | null | null | null | src/opera/threading/utils.py | Legion2/xopera-opera | 808f23cbac326b6d067e6ec531a0109ae02d0f5e | [
"Apache-2.0"
] | null | null | null | from threading import current_thread
def print_thread(str):
print("[{}] {}".format(current_thread().name, str))
| 19.666667 | 55 | 0.70339 | 15 | 118 | 5.333333 | 0.666667 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127119 | 118 | 5 | 56 | 23.6 | 0.776699 | 0 | 0 | 0 | 0 | 0 | 0.059322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
d1dc6c49f1963433fcaef822a68e321440aec237 | 4,459 | py | Python | django_app/migrations/0013_auto_20201110_1850.py | jorgeassis/darwinCoreGUI | 3cfd1752acb77fd56ad4511d9e1a83bc86252449 | [
"CC0-1.0"
] | null | null | null | django_app/migrations/0013_auto_20201110_1850.py | jorgeassis/darwinCoreGUI | 3cfd1752acb77fd56ad4511d9e1a83bc86252449 | [
"CC0-1.0"
] | null | null | null | django_app/migrations/0013_auto_20201110_1850.py | jorgeassis/darwinCoreGUI | 3cfd1752acb77fd56ad4511d9e1a83bc86252449 | [
"CC0-1.0"
] | null | null | null | # Generated by Django 3.1.3 on 2020-11-10 18:50
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('django_app', '0012_auto_20201110_1848'),
]
operations = [
migrations.AlterField(
model_name='biodiversityrecords',
n... | 34.565891 | 61 | 0.579726 | 352 | 4,459 | 7.267045 | 0.167614 | 0.179828 | 0.224785 | 0.260751 | 0.810399 | 0.810399 | 0.79007 | 0.774433 | 0.774433 | 0.774433 | 0 | 0.010094 | 0.311281 | 4,459 | 128 | 62 | 34.835938 | 0.822859 | 0.010092 | 0 | 0.754098 | 1 | 0 | 0.182004 | 0.021306 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008197 | 0 | 0.032787 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
ae819ed07b666ee5dcbef5bf44de7596ef8cd5b7 | 3,082 | py | Python | tests/test_cloudwatch_subscription_lambda.py | binxio/blog-cloudwatch-subscription-elasticsearch-lambda | f068a45c4d11df120bbe06d39674ec58d5697de8 | [
"Apache-2.0"
] | 1 | 2021-06-05T16:19:23.000Z | 2021-06-05T16:19:23.000Z | tests/test_cloudwatch_subscription_lambda.py | binxio/blog-cloudwatch-subscription-elasticsearch-lambda | f068a45c4d11df120bbe06d39674ec58d5697de8 | [
"Apache-2.0"
] | null | null | null | tests/test_cloudwatch_subscription_lambda.py | binxio/blog-cloudwatch-subscription-elasticsearch-lambda | f068a45c4d11df120bbe06d39674ec58d5697de8 | [
"Apache-2.0"
] | null | null | null | from lambdas.cloudwatch_subscription_lambda import *
import json
def event() -> dict:
return {
"awslogs": {"data": "H4sIAAAAAAAAAKVSXXPaMBD8Kx5PH1GQZNmS/AbFSchXKZA2kzjTEdZBPGMw9UdIyvDfe8ZJylObTp5s3+7d7Xpv6y6hLM0Cps9rcEN30Jv2flxGk0nvJHI7br5ZQYHlgHGhPM1FICmWs3xxUuT1GpGu2ZTdzCxn1nSTLK/txlTJAynrWZkU6bpK8xWBzJRVmpR... | 192.625 | 1,271 | 0.791045 | 272 | 3,082 | 8.922794 | 0.492647 | 0.054388 | 0.017305 | 0.029666 | 0.316852 | 0.316852 | 0.283066 | 0.283066 | 0.283066 | 0.283066 | 0 | 0.205742 | 0.050616 | 3,082 | 15 | 1,272 | 205.466667 | 0.623718 | 0 | 0 | 0 | 0 | 0.363636 | 0.728748 | 0.527579 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.363636 | true | 0 | 0.181818 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
88181c9a6fd627934ecb3115109b3ce13ed61353 | 371 | py | Python | python/trump.py | flaireclair/AIPoker | 519cff95ee36333f580d273c569c840fb8920ac2 | [
"MIT"
] | 1 | 2020-02-04T14:22:33.000Z | 2020-02-04T14:22:33.000Z | python/trump.py | flaireclair/AIPoker | 519cff95ee36333f580d273c569c840fb8920ac2 | [
"MIT"
] | null | null | null | python/trump.py | flaireclair/AIPoker | 519cff95ee36333f580d273c569c840fb8920ac2 | [
"MIT"
] | null | null | null | cards = {'SPADE' : ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13'],
'HEART' : ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13'],
'CLUB' : ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13'],
'DIAMOND' : ['1', '2', '3', '4', '5', '6',... | 61.833333 | 90 | 0.253369 | 57 | 371 | 1.649123 | 0.315789 | 0.085106 | 0.12766 | 0.170213 | 0.723404 | 0.723404 | 0.723404 | 0.723404 | 0.723404 | 0.723404 | 0 | 0.25 | 0.266846 | 371 | 5 | 91 | 74.2 | 0.095588 | 0 | 0 | 0 | 0 | 0 | 0.239892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
88863a5400b019d5bbed2e5dc5f0efb6df17ae7e | 17,710 | py | Python | atomia_manager/atomia_tests.py | stefan-stankovic-atomia/AutomationServerManager | 0f28941401d3c042ff928ec38428838a2fa7400f | [
"ISC"
] | null | null | null | atomia_manager/atomia_tests.py | stefan-stankovic-atomia/AutomationServerManager | 0f28941401d3c042ff928ec38428838a2fa7400f | [
"ISC"
] | null | null | null | atomia_manager/atomia_tests.py | stefan-stankovic-atomia/AutomationServerManager | 0f28941401d3c042ff928ec38428838a2fa7400f | [
"ISC"
] | null | null | null | from atomia_entities import AtomiaService
import atomia
import pytest
import urllib2
class ArgumentsMock(object):
def __init__(self, username = None, password = None, url = None, entity = None, action = None, account = None, service = None, parent = None, path = None, servicedata = None, query = None):
se... | 56.401274 | 289 | 0.659797 | 1,870 | 17,710 | 6.080749 | 0.061497 | 0.063319 | 0.083722 | 0.177293 | 0.910826 | 0.899745 | 0.881717 | 0.857884 | 0.848914 | 0.817958 | 0 | 0.060902 | 0.17205 | 17,710 | 313 | 290 | 56.58147 | 0.714588 | 0.004574 | 0 | 0.563265 | 0 | 0 | 0.1312 | 0.022018 | 0 | 0 | 0 | 0 | 0.122449 | 1 | 0.171429 | false | 0.008163 | 0.016327 | 0 | 0.191837 | 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 |
ee10413220c86229194a1f3df1dea68609b745b2 | 99 | py | Python | service/models/common/__init__.py | CyberArkForTheCommunity/jobli-backend | 2309c9ac33993cb89a8e1581630d99b46f8d55aa | [
"MIT"
] | null | null | null | service/models/common/__init__.py | CyberArkForTheCommunity/jobli-backend | 2309c9ac33993cb89a8e1581630d99b46f8d55aa | [
"MIT"
] | 1 | 2021-12-23T13:36:43.000Z | 2021-12-23T13:36:43.000Z | service/models/common/__init__.py | CyberArkForTheCommunity/jobli-backend | 2309c9ac33993cb89a8e1581630d99b46f8d55aa | [
"MIT"
] | null | null | null | from service.models.common.address import Address
from service.models.common.answer import Answer
| 24.75 | 49 | 0.848485 | 14 | 99 | 6 | 0.5 | 0.261905 | 0.404762 | 0.547619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 99 | 3 | 50 | 33 | 0.933333 | 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 |
ee1aa7bd1c83dd1089c336b4403b8e87e7875edb | 8,986 | py | Python | instrosetta/interfaces/motion_control/singleaxis_pb2_grpc.py | jmosbacher/instrosetta-python | b323ee4d3db0b7d8e22ec731dac521c967e5323d | [
"MIT"
] | null | null | null | instrosetta/interfaces/motion_control/singleaxis_pb2_grpc.py | jmosbacher/instrosetta-python | b323ee4d3db0b7d8e22ec731dac521c967e5323d | [
"MIT"
] | null | null | null | instrosetta/interfaces/motion_control/singleaxis_pb2_grpc.py | jmosbacher/instrosetta-python | b323ee4d3db0b7d8e22ec731dac521c967e5323d | [
"MIT"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from instrosetta.interfaces.motion_control import singleaxis_pb2 as instrosetta_dot_interfaces_dot_motion__control_dot_singleaxis__pb2
class SingleAxisStub(object):
# missing associated documentation comment in .proto file
pass
... | 54.13253 | 135 | 0.804807 | 929 | 8,986 | 7.302476 | 0.094726 | 0.0824 | 0.116745 | 0.131338 | 0.865566 | 0.865566 | 0.865566 | 0.812058 | 0.812058 | 0.803803 | 0 | 0.005519 | 0.132985 | 8,986 | 165 | 136 | 54.460606 | 0.865229 | 0.075117 | 0 | 0.37594 | 1 | 0 | 0.133301 | 0.079087 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075188 | false | 0.075188 | 0.015038 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
4e4e48198b17912aa75dd1732ddeaf3694f46ac7 | 20,782 | py | Python | Devmiko/__init__.py | vsantiago113/Devmiko | 743bb53f8b3d0af4621d86058df4ae6e7f782715 | [
"MIT"
] | 1 | 2021-02-03T20:20:42.000Z | 2021-02-03T20:20:42.000Z | Devmiko/__init__.py | vsantiago113/Devmiko | 743bb53f8b3d0af4621d86058df4ae6e7f782715 | [
"MIT"
] | null | null | null | Devmiko/__init__.py | vsantiago113/Devmiko | 743bb53f8b3d0af4621d86058df4ae6e7f782715 | [
"MIT"
] | null | null | null | import paramiko
import time
import re
import warnings
import sys
import logging
from tqdm import tqdm
import socket
warnings.filterwarnings(action='ignore', module='.*paramiko.*')
class DevmikoSSHException(Exception):
pass
class DevmikoAuthenticationException(Exception):
pass
class TqdmWrap(tqdm):
de... | 38.772388 | 107 | 0.578048 | 2,121 | 20,782 | 5.437058 | 0.083451 | 0.05437 | 0.098855 | 0.085848 | 0.905914 | 0.891953 | 0.876604 | 0.866805 | 0.839664 | 0.825702 | 0 | 0.004674 | 0.320566 | 20,782 | 535 | 108 | 38.84486 | 0.81204 | 0 | 0 | 0.880694 | 0 | 0 | 0.050524 | 0.012703 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060738 | false | 0.045553 | 0.017354 | 0 | 0.097614 | 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 |
4e71a934d3f5bcf1432630e5adda8570805eb63f | 18,528 | py | Python | public/actions/create_goldfish_action_test.py | CarbonROM/android_tools_acloud | 0ed5352df639789767d8ea6fe0a510d7a84cfdcc | [
"Apache-2.0"
] | null | null | null | public/actions/create_goldfish_action_test.py | CarbonROM/android_tools_acloud | 0ed5352df639789767d8ea6fe0a510d7a84cfdcc | [
"Apache-2.0"
] | null | null | null | public/actions/create_goldfish_action_test.py | CarbonROM/android_tools_acloud | 0ed5352df639789767d8ea6fe0a510d7a84cfdcc | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#
# Copyright 2018 - The Android Open Source Project
#
# 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 requir... | 41.449664 | 81 | 0.643405 | 2,117 | 18,528 | 5.290978 | 0.101559 | 0.059995 | 0.053031 | 0.032229 | 0.808231 | 0.775556 | 0.768592 | 0.736184 | 0.725471 | 0.722525 | 0 | 0.004043 | 0.279145 | 18,528 | 446 | 82 | 41.542601 | 0.834606 | 0.091159 | 0 | 0.754237 | 0 | 0 | 0.054183 | 0.01092 | 0 | 0 | 0 | 0.002242 | 0.042373 | 1 | 0.014124 | false | 0 | 0.031073 | 0 | 0.101695 | 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 |
4e8998e08fb03a77ca3cba64ad0f4cfe22e99a37 | 27,175 | py | Python | sdk/python/pulumi_oci/artifacts/container_repository.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/artifacts/container_repository.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/artifacts/container_repository.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... | 43.972492 | 200 | 0.661454 | 3,108 | 27,175 | 5.524131 | 0.07175 | 0.074961 | 0.078572 | 0.04613 | 0.863009 | 0.838779 | 0.806046 | 0.78135 | 0.764692 | 0.706681 | 0 | 0.001589 | 0.235842 | 27,175 | 617 | 201 | 44.04376 | 0.825195 | 0.332879 | 0 | 0.596491 | 1 | 0 | 0.123909 | 0.022266 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163743 | false | 0.002924 | 0.020468 | 0 | 0.28655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4ec4918af1234bf1c8c9ccca7e90ee1a84b3a8e0 | 179,336 | py | Python | StatsModel.py | sh4174/LonWGP | 24d1876cf6bedca64e63041d28e2a54d9475997f | [
"MIT"
] | null | null | null | StatsModel.py | sh4174/LonWGP | 24d1876cf6bedca64e63041d28e2a54d9475997f | [
"MIT"
] | null | null | null | StatsModel.py | sh4174/LonWGP | 24d1876cf6bedca64e63041d28e2a54d9475997f | [
"MIT"
] | null | null | null | # MRep Manifold
import manifolds
import numpy as np
import pylab
from random import shuffle
import itertools
# Stats Model
import statsmodels.api as sm
import matplotlib.pyplot as plt
#############################################################
########## Generalized Gaussian Noise Generation ##########
#... | 29.394525 | 253 | 0.642437 | 25,639 | 179,336 | 4.204337 | 0.018253 | 0.0313 | 0.029788 | 0.01694 | 0.936815 | 0.915237 | 0.900172 | 0.888149 | 0.873454 | 0.860763 | 0 | 0.015346 | 0.206428 | 179,336 | 6,100 | 254 | 29.399344 | 0.742088 | 0.144745 | 0 | 0.838594 | 0 | 0 | 0.064707 | 0.025643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024086 | false | 0 | 0.001938 | 0.000277 | 0.065891 | 0.156977 | 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 |
4ecf533bd84460954ddb14e261ac689748acc28a | 7,941 | py | Python | soil/skeleton/migrations/0005_auto_20200319_1134.py | mahalsnz/terraprobe | e6579fbcd0d15982a24a29172b1e57830a54a4f6 | [
"FSFAP"
] | 2 | 2021-06-22T22:03:21.000Z | 2021-07-28T00:10:44.000Z | soil/skeleton/migrations/0005_auto_20200319_1134.py | mahalsnz/soilmoisture | e6579fbcd0d15982a24a29172b1e57830a54a4f6 | [
"FSFAP"
] | 146 | 2019-06-19T03:15:55.000Z | 2021-06-21T22:50:06.000Z | soil/skeleton/migrations/0005_auto_20200319_1134.py | mahalsnz/terraprobe | e6579fbcd0d15982a24a29172b1e57830a54a4f6 | [
"FSFAP"
] | 4 | 2019-06-09T22:10:14.000Z | 2020-08-03T21:11:25.000Z | # Generated by Django 2.2.1 on 2020-03-18 22:34
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('skeleton', '0004_auto_20200314_1328'),
]
operations = [
migrations.RemoveField(
model_name='site',
name='rz1_top',
... | 54.390411 | 290 | 0.488603 | 1,100 | 7,941 | 3.481818 | 0.087273 | 0.063446 | 0.088251 | 0.115405 | 0.918799 | 0.914099 | 0.904178 | 0.882768 | 0.863446 | 0.756397 | 0 | 0.188636 | 0.279688 | 7,941 | 145 | 291 | 54.765517 | 0.480944 | 0.005667 | 0 | 0.661871 | 1 | 0 | 0.068153 | 0.002914 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007194 | 0 | 0.028777 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
14e7779be7b2053d20777d3019a66eedb7132323 | 4,967 | py | Python | sla_cli/tests/src/download/isic/conftest.py | DavidWalshe93/SL-CLI | c92ca8a6e57eb51bf9c9433013ce16d443f8d152 | [
"MIT"
] | 2 | 2022-01-07T09:59:32.000Z | 2022-01-25T12:04:06.000Z | sla_cli/tests/src/download/isic/conftest.py | DavidWalshe93/SL-CLI | c92ca8a6e57eb51bf9c9433013ce16d443f8d152 | [
"MIT"
] | null | null | null | sla_cli/tests/src/download/isic/conftest.py | DavidWalshe93/SL-CLI | c92ca8a6e57eb51bf9c9433013ce16d443f8d152 | [
"MIT"
] | 1 | 2021-04-07T17:14:37.000Z | 2021-04-07T17:14:37.000Z | """
Author: David Walshe
Date: 10 April 2021
"""
import pytest
from sla_cli.src.download.downloader import DownloaderOptions
@pytest.fixture
def sample_isic_records():
"""Returns two isic archive metadata records."""
return [
{
'_id': '5436e3abbae478396759f0cf',
'_m... | 37.345865 | 84 | 0.421784 | 365 | 4,967 | 5.613699 | 0.372603 | 0.015617 | 0.021474 | 0.025378 | 0.816984 | 0.816984 | 0.816984 | 0.743777 | 0.743777 | 0.743777 | 0 | 0.15545 | 0.449567 | 4,967 | 132 | 85 | 37.628788 | 0.594001 | 0.037044 | 0 | 0.752137 | 0 | 0 | 0.384874 | 0.103361 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | true | 0 | 0.017094 | 0 | 0.068376 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
09152ad3ad03b67623840f46ff00dbfdbecb9083 | 244 | py | Python | jupyterlab2pymolpysnips/H-bonds/distance.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlab2pymolpysnips/H-bonds/distance.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlab2pymolpysnips/H-bonds/distance.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | """
cmd.do('distance ${1:dist3}, ${2:/rcsb074137//B/IOD`605/I`B}, ${3:/rcsb074137//B/IOD`605/I`A}')
"""
cmd.do('distance dist3, /rcsb074137//B/IOD`605/I`B, /rcsb074137//B/IOD`605/I`A')
# Description: H-bond distances.
# Source: placeHolder
| 27.111111 | 95 | 0.643443 | 41 | 244 | 3.829268 | 0.463415 | 0.280255 | 0.356688 | 0.433121 | 0.484076 | 0.484076 | 0 | 0 | 0 | 0 | 0 | 0.183857 | 0.086066 | 244 | 8 | 96 | 30.5 | 0.520179 | 0.610656 | 0 | 0 | 0 | 1 | 0.823529 | 0.623529 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0929ccba5be3fa64a3ef479a8870d54f065cbabf | 2,505 | py | Python | src/pretix/base/migrations/0100_auto_20181023_2300.py | pajowu/pretix | d6985123b4528f134ead71ce0a4613c9a309fd2c | [
"ECL-2.0",
"Apache-2.0"
] | 1,248 | 2015-04-24T13:32:06.000Z | 2022-03-29T07:01:36.000Z | src/pretix/base/migrations/0100_auto_20181023_2300.py | pajowu/pretix | d6985123b4528f134ead71ce0a4613c9a309fd2c | [
"ECL-2.0",
"Apache-2.0"
] | 2,113 | 2015-02-18T18:58:16.000Z | 2022-03-31T11:12:32.000Z | src/pretix/base/migrations/0100_auto_20181023_2300.py | pajowu/pretix | d6985123b4528f134ead71ce0a4613c9a309fd2c | [
"ECL-2.0",
"Apache-2.0"
] | 453 | 2015-05-13T09:29:06.000Z | 2022-03-24T13:39:16.000Z | # Generated by Django 2.1 on 2018-10-23 23:00
import django_countries.fields
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pretixbase', '0099_auto_20180912_1035'),
]
operations = [
migrations.AddField(
model_name='invoice'... | 31.3125 | 80 | 0.567665 | 245 | 2,505 | 5.57551 | 0.195918 | 0.20937 | 0.218887 | 0.256955 | 0.839678 | 0.839678 | 0.839678 | 0.839678 | 0.803807 | 0.764275 | 0 | 0.029412 | 0.321357 | 2,505 | 79 | 81 | 31.708861 | 0.774118 | 0.017166 | 0 | 0.712329 | 1 | 0 | 0.143902 | 0.00935 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027397 | 0 | 0.068493 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
0940bfab0ebba11557aa3ef9d2c0cd4973ba6dbe | 522 | py | Python | python/testData/formatter/fromImportTrailingCommaWithParentheses_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/formatter/fromImportTrailingCommaWithParentheses_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/formatter/fromImportTrailingCommaWithParentheses_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from module import foo
from module import foo, bar
from module import foo, bar,
# | margin
from module import (foo, bar,
baz, )
from module import (foo,
bar, )
from module import (foo,
bar, )
from module import (foo,
... | 20.076923 | 37 | 0.45977 | 53 | 522 | 4.528302 | 0.150943 | 0.416667 | 0.666667 | 0.791667 | 0.883333 | 0.791667 | 0.791667 | 0.791667 | 0.791667 | 0.791667 | 0 | 0 | 0.471264 | 522 | 25 | 38 | 20.88 | 0.869565 | 0.045977 | 0 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
11c1e5a7fb1343fb7225d996ae033facec29da52 | 1,757 | py | Python | make_queue/migrations/0021_alter_id_fields_to_use_bigautofield.py | MAKENTNU/web | 7a5b512bf4c087d1561cdb623d7df4b3d04811a2 | [
"MIT"
] | 10 | 2017-11-25T01:47:20.000Z | 2020-03-24T18:28:24.000Z | make_queue/migrations/0021_alter_id_fields_to_use_bigautofield.py | MAKENTNU/web | 7a5b512bf4c087d1561cdb623d7df4b3d04811a2 | [
"MIT"
] | 319 | 2017-11-16T09:56:03.000Z | 2022-03-28T00:24:37.000Z | make_queue/migrations/0021_alter_id_fields_to_use_bigautofield.py | MAKENTNU/web | 7a5b512bf4c087d1561cdb623d7df4b3d04811a2 | [
"MIT"
] | 6 | 2017-11-12T14:04:08.000Z | 2021-03-10T09:41:18.000Z | # Generated by Django 3.2.2 on 2021-05-11 15:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('make_queue', '0020_printer3dcourse_advanced_course'),
]
operations = [
migrations.AlterField(
model_name='machine',
... | 35.857143 | 111 | 0.611838 | 177 | 1,757 | 5.892655 | 0.259887 | 0.080537 | 0.167785 | 0.194631 | 0.737296 | 0.737296 | 0.737296 | 0.737296 | 0.737296 | 0.737296 | 0 | 0.016368 | 0.269778 | 1,757 | 48 | 112 | 36.604167 | 0.796571 | 0.025612 | 0 | 0.666667 | 1 | 0 | 0.090058 | 0.021053 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.095238 | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eead57a9b9271885bd99186436507d54f8ae2a64 | 69 | py | Python | lw_visutils/data/__init__.py | wolterlw/lw_visutils | 1487a235c8c0cd71b42758ccb13760a45689889b | [
"MIT"
] | null | null | null | lw_visutils/data/__init__.py | wolterlw/lw_visutils | 1487a235c8c0cd71b42758ccb13760a45689889b | [
"MIT"
] | null | null | null | lw_visutils/data/__init__.py | wolterlw/lw_visutils | 1487a235c8c0cd71b42758ccb13760a45689889b | [
"MIT"
] | null | null | null | import lw_visutils.data.wrappers
import lw_visutils.data.transformers | 34.5 | 36 | 0.898551 | 10 | 69 | 6 | 0.6 | 0.266667 | 0.533333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 69 | 2 | 36 | 34.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
0183624fde61b9b8bb023787016c964c88412b6b | 170 | py | Python | flask/app/views.py | hou2zi0/flask-app-docker | 0e51b1f00201fc6eb46a62d0d8f2701bc02d4031 | [
"MIT"
] | null | null | null | flask/app/views.py | hou2zi0/flask-app-docker | 0e51b1f00201fc6eb46a62d0d8f2701bc02d4031 | [
"MIT"
] | null | null | null | flask/app/views.py | hou2zi0/flask-app-docker | 0e51b1f00201fc6eb46a62d0d8f2701bc02d4031 | [
"MIT"
] | null | null | null | from app import app
@app.route('/')
def index():
return "Hello from Flask! 🐵"
@app.route('/affe')
def affe():
return "Hello from Flask! Affe sagt Hallo! 🐵"
| 17 | 49 | 0.611765 | 26 | 170 | 4.076923 | 0.5 | 0.150943 | 0.283019 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217647 | 170 | 9 | 50 | 18.888889 | 0.781955 | 0 | 0 | 0 | 0 | 0 | 0.358824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0.285714 | 0.714286 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
6dac5fc789cda2aff36b9b3c5169ab6b88531a81 | 8,692 | py | Python | quickpac/api/zip_api.py | camptocamp/quickpack-client | 761c08bdc3846c724adbc99b589d2db460a6bcdc | [
"MIT"
] | null | null | null | quickpac/api/zip_api.py | camptocamp/quickpack-client | 761c08bdc3846c724adbc99b589d2db460a6bcdc | [
"MIT"
] | null | null | null | quickpac/api/zip_api.py | camptocamp/quickpack-client | 761c08bdc3846c724adbc99b589d2db460a6bcdc | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Quickpac API
Here you will find all public interfaces to the Quickpac system. # noqa: E501
OpenAPI spec version: v1.00
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 c... | 41 | 347 | 0.635987 | 1,091 | 8,692 | 4.816682 | 0.171402 | 0.039581 | 0.030828 | 0.027402 | 0.89705 | 0.891722 | 0.891722 | 0.87079 | 0.860894 | 0.860894 | 0 | 0.016488 | 0.281293 | 8,692 | 211 | 348 | 41.194313 | 0.824716 | 0.426254 | 0 | 0.72381 | 1 | 0 | 0.164182 | 0.047128 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.038095 | 0 | 0.152381 | 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 |
6dae0dd1cece4441cb228e477ab3da4bc72d7aec | 46 | py | Python | skypy/supernova/tests/test_import.py | ArthurTolley/skypy | 5621877ada75c667b1af7e665b02a91026f7ef0f | [
"BSD-3-Clause"
] | 1 | 2020-12-28T18:00:24.000Z | 2020-12-28T18:00:24.000Z | skypy/supernova/tests/test_import.py | ArthurTolley/skypy | 5621877ada75c667b1af7e665b02a91026f7ef0f | [
"BSD-3-Clause"
] | 2 | 2020-12-28T20:14:40.000Z | 2020-12-28T21:49:27.000Z | skypy/supernova/tests/test_import.py | ArthurTolley/skypy | 5621877ada75c667b1af7e665b02a91026f7ef0f | [
"BSD-3-Clause"
] | null | null | null | def test_import():
import skypy.supernova
| 15.333333 | 26 | 0.73913 | 6 | 46 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 27 | 23 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
111d42e6dc3cd0f6f289feea86436bf95b41463c | 134 | py | Python | tracki/src/domain/entities/__init__.py | rok-povsic/Tracki | f92fec62fa66e87fa6feb509142f09cd548c570a | [
"MIT"
] | null | null | null | tracki/src/domain/entities/__init__.py | rok-povsic/Tracki | f92fec62fa66e87fa6feb509142f09cd548c570a | [
"MIT"
] | null | null | null | tracki/src/domain/entities/__init__.py | rok-povsic/Tracki | f92fec62fa66e87fa6feb509142f09cd548c570a | [
"MIT"
] | null | null | null | from tracki.src.domain.entities.category import Category # noqa F401
from tracki.src.domain.entities.shift import Shift # noqa F401
| 44.666667 | 69 | 0.80597 | 20 | 134 | 5.4 | 0.5 | 0.185185 | 0.240741 | 0.351852 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0.119403 | 134 | 2 | 70 | 67 | 0.864407 | 0.141791 | 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 |
1154b3960e4c755151899cc26ab8dfaaa1f0dda8 | 92 | py | Python | parameters_8000.py | wasuaje/web2py5 | 02f310b9526f92c4ec62ab5b0271069a1c101e9f | [
"BSD-3-Clause"
] | null | null | null | parameters_8000.py | wasuaje/web2py5 | 02f310b9526f92c4ec62ab5b0271069a1c101e9f | [
"BSD-3-Clause"
] | null | null | null | parameters_8000.py | wasuaje/web2py5 | 02f310b9526f92c4ec62ab5b0271069a1c101e9f | [
"BSD-3-Clause"
] | null | null | null | password="pbkdf2(1000,20,sha512)$addea80690104c89$e64c88b318e761d47ad2b915b38e2af362e3df15"
| 46 | 91 | 0.891304 | 7 | 92 | 11.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.494505 | 0.01087 | 92 | 1 | 92 | 92 | 0.406593 | 0 | 0 | 0 | 0 | 0 | 0.869565 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
febd0ea8f41dc36a7cc485bed62e17ba757e0b86 | 21,828 | py | Python | test/test_definition.py | gonzalorodrigo/ScSFWorkload | 2301dacf486df8ed783c0ba33cbbde6e9978c17e | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-03-18T18:27:49.000Z | 2019-03-18T18:27:49.000Z | test/test_definition.py | gonzalorodrigo/ScSFWorkload | 2301dacf486df8ed783c0ba33cbbde6e9978c17e | [
"BSD-3-Clause-LBNL"
] | 1 | 2020-12-17T21:33:15.000Z | 2020-12-17T21:35:41.000Z | test/test_definition.py | gonzalorodrigo/ScSFWorkload | 2301dacf486df8ed783c0ba33cbbde6e9978c17e | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-01-05T08:23:20.000Z | 2021-01-05T08:23:20.000Z | """
python -m unittest test_definition
"""
from commonLib.DBManager import DB
from orchestration.definition import (ExperimentDefinition,
GroupExperimentDefinition,
DeltaExperimentDefinition)
import datetime
import os
import subprocess
... | 38.094241 | 80 | 0.574995 | 2,523 | 21,828 | 4.629409 | 0.08918 | 0.052911 | 0.045205 | 0.036729 | 0.830993 | 0.811473 | 0.788955 | 0.760873 | 0.755223 | 0.75411 | 0 | 0.040664 | 0.318398 | 21,828 | 573 | 81 | 38.094241 | 0.744388 | 0.006185 | 0 | 0.727079 | 0 | 0.004264 | 0.116887 | 0.025047 | 0 | 0 | 0 | 0 | 0.164179 | 1 | 0.03838 | false | 0.021322 | 0.014925 | 0 | 0.055437 | 0.006397 | 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 |
3a308f19f79fb2ed9cc5dcd557ab43105ed854bb | 1,041 | py | Python | default_filled_in_text.py | PCSailor/python_openpyxl_dcflog | ee10a3cde550b0d76fd033912de32af38d010589 | [
"MIT"
] | null | null | null | default_filled_in_text.py | PCSailor/python_openpyxl_dcflog | ee10a3cde550b0d76fd033912de32af38d010589 | [
"MIT"
] | null | null | null | default_filled_in_text.py | PCSailor/python_openpyxl_dcflog | ee10a3cde550b0d76fd033912de32af38d010589 | [
"MIT"
] | null | null | null | ''' From Page 11 '''
# Yes or No values 9 and 696969
sheet.cell(row=row, column=col).value = 'Yes / No'
sheet.cell(row=row, column=col).font = Font(size = 9, color='696969')
# ✓ X values 8 and DCDCDC
sheet.cell(row=row, column=col).value = '✓ X'
sheet.cell(row=row, column=col).font = Fon... | 41.64 | 89 | 0.618636 | 164 | 1,041 | 3.926829 | 0.231707 | 0.167702 | 0.223602 | 0.279503 | 0.844721 | 0.844721 | 0.844721 | 0.799689 | 0.799689 | 0.684783 | 0 | 0.080097 | 0.208453 | 1,041 | 24 | 90 | 43.375 | 0.699029 | 0.214217 | 0 | 0.416667 | 0 | 0 | 0.098504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
3ae637f7612db14cf67820e0ebe41297e4aa10fe | 793 | py | Python | tests/parser/nonground.query.4.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/nonground.query.4.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/nonground.query.4.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
% This is most similar to nonground.query.3, just without the second
% constraint. We originally failed to process this correctly.
color(red,X) | color(green,X) | color(blue,X) :- node(X).
node("Cosenza").
node("Vienna").
node("Diamante").
redish :- color(red,"Vienna").
dark :- not color(red,"V... | 21.432432 | 69 | 0.6343 | 112 | 793 | 4.491071 | 0.294643 | 0.095427 | 0.111332 | 0.067594 | 0.978131 | 0.978131 | 0.978131 | 0.978131 | 0.978131 | 0.978131 | 0 | 0.003072 | 0.179067 | 793 | 36 | 70 | 22.027778 | 0.769585 | 0 | 0 | 0.923077 | 0 | 0.076923 | 0.959264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
aafb9eefcc0795d1ec7a0afcfcce812f33d4d209 | 3,841 | py | Python | jdaviz/tests/test_subsets.py | check-spelling/jdaviz | bfd0514d13bdc6fa0b8c8536a603293409270337 | [
"MIT",
"BSD-3-Clause"
] | 55 | 2019-05-24T18:53:05.000Z | 2022-03-14T08:45:52.000Z | jdaviz/tests/test_subsets.py | check-spelling/jdaviz | bfd0514d13bdc6fa0b8c8536a603293409270337 | [
"MIT",
"BSD-3-Clause"
] | 1,105 | 2019-05-09T15:17:35.000Z | 2022-03-31T21:22:18.000Z | jdaviz/tests/test_subsets.py | rosteen/jdaviz | e02c08d68ef71c5e40600785f46e65e5ae95e236 | [
"MIT",
"BSD-3-Clause"
] | 49 | 2019-05-07T18:05:42.000Z | 2022-03-22T15:15:34.000Z | import numpy as np
import pytest
from glue.core import Data
from glue.core.roi import RectangularROI, XRangeROI
from numpy.testing import assert_allclose
from regions import RectanglePixelRegion
from jdaviz.app import Application
@pytest.fixture
def jdaviz_app():
return Application(configuration='cubeviz')
def... | 33.99115 | 94 | 0.73106 | 580 | 3,841 | 4.62931 | 0.144828 | 0.083799 | 0.145624 | 0.111359 | 0.818622 | 0.804097 | 0.793669 | 0.780261 | 0.780261 | 0.748976 | 0 | 0.042224 | 0.142932 | 3,841 | 112 | 95 | 34.294643 | 0.77339 | 0.021349 | 0 | 0.636364 | 0 | 0 | 0.099548 | 0 | 0 | 0 | 0 | 0 | 0.441558 | 1 | 0.064935 | false | 0 | 0.090909 | 0.012987 | 0.168831 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c966accaa41da53dee5de330137f3db8c12d88d6 | 46 | py | Python | src/lib/BaseHTTPServer.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/BaseHTTPServer.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/BaseHTTPServer.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("BaseHTTPServer")
| 23 | 45 | 0.804348 | 6 | 46 | 5.333333 | 0.666667 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 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 |
c985ed257c0ec5d698ea9a86f2c000cd53fc0011 | 50 | py | Python | sample_app/foo/bar1.py | ali5h/pazel | c861a358f577c81d6d8298b478bfe4449889be59 | [
"MIT"
] | null | null | null | sample_app/foo/bar1.py | ali5h/pazel | c861a358f577c81d6d8298b478bfe4449889be59 | [
"MIT"
] | null | null | null | sample_app/foo/bar1.py | ali5h/pazel | c861a358f577c81d6d8298b478bfe4449889be59 | [
"MIT"
] | null | null | null | import numpy as np
def sample():
return 1.0
| 8.333333 | 18 | 0.64 | 9 | 50 | 3.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.28 | 50 | 5 | 19 | 10 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
a386882a055e1f8e3e9da36d87b41a3fe13fa4b2 | 62,054 | py | Python | src/genie/libs/parser/iosxe/tests/ShowIpOspfDatabaseRouter/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowIpOspfDatabaseRouter/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowIpOspfDatabaseRouter/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"vrf": {
"default": {
"address_family": {
"ipv4": {
"instance": {
"1": {
"areas": {
"0.0.0.0": {
"database": {
... | 81.435696 | 118 | 0.094289 | 1,797 | 62,054 | 3.102393 | 0.067891 | 0.038744 | 0.043049 | 0.043049 | 0.888969 | 0.838027 | 0.756771 | 0.749058 | 0.731659 | 0.631211 | 0 | 0.169689 | 0.850711 | 62,054 | 761 | 119 | 81.542707 | 0.432103 | 0 | 0 | 0.607096 | 0 | 0 | 0.098962 | 0 | 0 | 0 | 0.00116 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6e5cf0af4754b37e4fbdd950657f8e724513ac01 | 13,007 | py | Python | tests/controllers/test_data_controller.py | charlie9578/greenbyte-api-sdk | 6835ee1f6a667b5c7827c5248391081f06b75513 | [
"MIT"
] | null | null | null | tests/controllers/test_data_controller.py | charlie9578/greenbyte-api-sdk | 6835ee1f6a667b5c7827c5248391081f06b75513 | [
"MIT"
] | null | null | null | tests/controllers/test_data_controller.py | charlie9578/greenbyte-api-sdk | 6835ee1f6a667b5c7827c5248391081f06b75513 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
greenbyteapi
This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
"""
import jsonpickle
import dateutil.parser
from .controller_test_base import ControllerTestBase
from ..test_helper import TestHelper
from greenbyteapi.api_helper import APIHelper
class... | 44.392491 | 164 | 0.677404 | 1,580 | 13,007 | 5.417722 | 0.141772 | 0.033411 | 0.061682 | 0.050467 | 0.904439 | 0.891355 | 0.880841 | 0.880841 | 0.851636 | 0.851636 | 0 | 0.037015 | 0.212808 | 13,007 | 292 | 165 | 44.544521 | 0.798222 | 0.287384 | 0 | 0.656716 | 1 | 0.044776 | 0.227213 | 0.164153 | 0 | 0 | 0 | 0 | 0.149254 | 1 | 0.067164 | false | 0 | 0.037313 | 0 | 0.11194 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6e9f85035b6d740909725f57329e6ef52d71d304 | 252 | py | Python | codesignal/string/findEmailDomain.py | peterlamar/python-cp-cheatsheet | f9f854064a3c657c04fab27d0a496401bfa97da1 | [
"Apache-2.0"
] | 140 | 2020-10-21T13:23:52.000Z | 2022-03-31T15:09:45.000Z | codesignal/string/findEmailDomain.py | ajibolashodipo/python-cp-cheatsheet | f9f854064a3c657c04fab27d0a496401bfa97da1 | [
"Apache-2.0"
] | 1 | 2021-07-22T14:01:25.000Z | 2021-07-22T14:01:25.000Z | codesignal/string/findEmailDomain.py | ajibolashodipo/python-cp-cheatsheet | f9f854064a3c657c04fab27d0a496401bfa97da1 | [
"Apache-2.0"
] | 33 | 2020-10-21T14:17:02.000Z | 2022-03-25T11:25:03.000Z | """
For address = "prettyandsimple@example.com", the output should be
findEmailDomain(address) = "example.com";
"""
def findEmailDomain(address):
return address.split('@')[-1]
def findEmailDomain(address):
return address[address.rfind('@')+1:] | 28 | 65 | 0.710317 | 28 | 252 | 6.392857 | 0.535714 | 0.368715 | 0.27933 | 0.346369 | 0.424581 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008969 | 0.115079 | 252 | 9 | 66 | 28 | 0.793722 | 0.424603 | 0 | 0.5 | 0 | 0 | 0.014493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
6edff66812ee71ae6adde099ab3aab58d28ba6ce | 68,626 | py | Python | benchmarks/SimResults/micro_pinned_train_combos/cmpB_bwavesgcccactusADMgromacs/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/micro_pinned_train_combos/cmpB_bwavesgcccactusADMgromacs/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/micro_pinned_train_combos/cmpB_bwavesgcccactusADMgromacs/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.083151 | 124 | 0.682045 | 8,090 | 68,626 | 5.779728 | 0.067985 | 0.12353 | 0.112922 | 0.093417 | 0.938171 | 0.929574 | 0.91749 | 0.884961 | 0.860323 | 0.842316 | 0 | 0.131924 | 0.224274 | 68,626 | 914 | 125 | 75.083151 | 0.746407 | 0 | 0 | 0.642232 | 0 | 0 | 0.657249 | 0.048086 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
42c23e1d62ace450801f32c424bf3c5b9e10adee | 5,061 | py | Python | build/kinova-ros/kinova_msgs/cmake/kinova_msgs-genmsg-context.py | madalynlmillen/MadalynMillenCapstone | a1585ba419d4ab4854908b4ba88e4c8ca330b5cd | [
"MIT",
"Unlicense"
] | null | null | null | build/kinova-ros/kinova_msgs/cmake/kinova_msgs-genmsg-context.py | madalynlmillen/MadalynMillenCapstone | a1585ba419d4ab4854908b4ba88e4c8ca330b5cd | [
"MIT",
"Unlicense"
] | null | null | null | build/kinova-ros/kinova_msgs/cmake/kinova_msgs-genmsg-context.py | madalynlmillen/MadalynMillenCapstone | a1585ba419d4ab4854908b4ba88e4c8ca330b5cd | [
"MIT",
"Unlicense"
] | null | null | null | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/kinova/MillenCapstone/catkin_ws/src/kinova-ros/kinova_msgs/msg/FingerPosition.msg;/home/kinova/MillenCapstone/catkin_ws/src/kinova-ros/kinova_msgs/msg/JointAngles.msg;/home/kinova/MillenCapstone/catkin_ws/src/kinova-ros/kinova_msgs/msg/JointVelo... | 421.75 | 3,218 | 0.864058 | 703 | 5,061 | 6.032717 | 0.142248 | 0.122613 | 0.277293 | 0.346616 | 0.703372 | 0.687809 | 0.687809 | 0.683094 | 0.683094 | 0.683094 | 0 | 0 | 0.006718 | 5,061 | 11 | 3,219 | 460.090909 | 0.843644 | 0.009682 | 0 | 0 | 1 | 0.333333 | 0.959481 | 0.953493 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
42c45984a475d4bf6db8adbb57565c28ec003479 | 15,190 | py | Python | src/py/LEC-paper-boxplots.py | AJueling/LEC | f720aa8cec147d8f9acab00c1d1de3bd8fc40b6e | [
"BSD-3-Clause"
] | 1 | 2021-10-05T12:45:58.000Z | 2021-10-05T12:45:58.000Z | src/py/LEC-paper-boxplots.py | AJueling/LEC | f720aa8cec147d8f9acab00c1d1de3bd8fc40b6e | [
"BSD-3-Clause"
] | null | null | null | src/py/LEC-paper-boxplots.py | AJueling/LEC | f720aa8cec147d8f9acab00c1d1de3bd8fc40b6e | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pandas as pd
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
import matplotlib.ticker as mticker
from matplotlib.collections import PatchCollection
from read_output import LEC_global, analyze_LEC
def LEC4_overview(df, name, letter):
"""
creates... | 50.973154 | 129 | 0.512179 | 2,307 | 15,190 | 3.274816 | 0.107499 | 0.061152 | 0.069887 | 0.040503 | 0.869887 | 0.85824 | 0.856651 | 0.856651 | 0.856651 | 0.848312 | 0 | 0.061809 | 0.261883 | 15,190 | 298 | 130 | 50.973154 | 0.612023 | 0.025806 | 0 | 0.72332 | 0 | 0 | 0.13788 | 0.030775 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007905 | false | 0 | 0.031621 | 0 | 0.039526 | 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 |
287e63dc77c9a3c3cd4d264ca26f6865a9af7243 | 53,063 | py | Python | etl/parsers/etw/Microsoft_Windows_USB_MAUSBHOST.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_USB_MAUSBHOST.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_USB_MAUSBHOST.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-USB-MAUSBHOST
GUID : 7725b5f9-1f2e-4e21-baeb-b2af4690bc87
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp import Sid
from e... | 34.411803 | 123 | 0.664267 | 5,239 | 53,063 | 6.423745 | 0.055163 | 0.096809 | 0.059844 | 0.088192 | 0.945148 | 0.94384 | 0.942771 | 0.812504 | 0.800351 | 0.800351 | 0 | 0.098835 | 0.225279 | 53,063 | 1,541 | 124 | 34.434134 | 0.719818 | 0.001847 | 0 | 0.716226 | 0 | 0 | 0.374443 | 0.203433 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003019 | 0 | 0.161509 | 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 |
287fcda2f713c086c51a5f2ed7352dbbd706cf82 | 1,646 | py | Python | src/cr/vision/dl/aug/sgmt.py | indigits/indigits-vision | 317fbf70c558e8f9563c3d0ba3bebbc5f84af622 | [
"Apache-2.0"
] | 2 | 2021-11-02T10:09:47.000Z | 2021-12-10T04:23:14.000Z | src/cr/vision/dl/aug/sgmt.py | indigits/indigits-vision | 317fbf70c558e8f9563c3d0ba3bebbc5f84af622 | [
"Apache-2.0"
] | null | null | null | src/cr/vision/dl/aug/sgmt.py | indigits/indigits-vision | 317fbf70c558e8f9563c3d0ba3bebbc5f84af622 | [
"Apache-2.0"
] | null | null | null | """
Augmentation functions for image segmentation tasks
"""
from tensorflow.keras.preprocessing.image import ImageDataGenerator
def augment_train_2d(images, masks,
batch_size=32,
seed=0,
args=dict(
rotation_range=10.0,
height_shift_range=0.02,
shear_range=5,
horizontal_fli... | 32.92 | 67 | 0.696233 | 201 | 1,646 | 5.462687 | 0.253731 | 0.081967 | 0.065574 | 0.065574 | 0.859745 | 0.859745 | 0.859745 | 0.797814 | 0.797814 | 0.797814 | 0 | 0.016858 | 0.207169 | 1,646 | 49 | 68 | 33.591837 | 0.824521 | 0.030984 | 0 | 0.837209 | 0 | 0 | 0.010082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.023256 | 0 | 0.116279 | 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 |
953d535574578989851c194699049aeb3db5a5d0 | 180 | py | Python | donations/payment_gateways/_2c2p/constants.py | diffractive/newstream | cf1a1f230e18d01c63b50ab9d360aa44ac5a486f | [
"MIT"
] | 1 | 2020-05-03T12:33:42.000Z | 2020-05-03T12:33:42.000Z | donations/payment_gateways/_2c2p/constants.py | diffractive/newstream | cf1a1f230e18d01c63b50ab9d360aa44ac5a486f | [
"MIT"
] | 14 | 2020-07-06T20:05:57.000Z | 2022-03-12T00:39:11.000Z | donations/payment_gateways/_2c2p/constants.py | diffractive/newstream | cf1a1f230e18d01c63b50ab9d360aa44ac5a486f | [
"MIT"
] | null | null | null | from site_settings.models import GATEWAY_CAN_EDIT_SUBSCRIPTION, GATEWAY_CAN_CANCEL_SUBSCRIPTION
API_CAPABILITIES = [GATEWAY_CAN_EDIT_SUBSCRIPTION, GATEWAY_CAN_CANCEL_SUBSCRIPTION] | 60 | 95 | 0.916667 | 23 | 180 | 6.565217 | 0.521739 | 0.264901 | 0.18543 | 0.344371 | 0.715232 | 0.715232 | 0.715232 | 0.715232 | 0 | 0 | 0 | 0 | 0.05 | 180 | 3 | 96 | 60 | 0.883041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
95ab9f0657f51d6270a63487802c65cb0dfef3d6 | 33,335 | py | Python | python3/madasterapi/api/building_file_element_api.py | Madaster/examples | bd2e8e464172e0d47cac8ed1672501a24ba624c3 | [
"MIT"
] | 2 | 2021-04-13T12:19:26.000Z | 2021-09-13T15:40:44.000Z | python3/madasterapi/api/building_file_element_api.py | Madaster/examples | bd2e8e464172e0d47cac8ed1672501a24ba624c3 | [
"MIT"
] | null | null | null | python3/madasterapi/api/building_file_element_api.py | Madaster/examples | bd2e8e464172e0d47cac8ed1672501a24ba624c3 | [
"MIT"
] | null | null | null | """
Madaster Private API - Build: 8815
Welcome to the **Madaster Private API** endpoint. This endpoint can be used to interact with the Madaster Platform and its resources. This API does not fully cover all functionality of the platform yet, please see below for the available functions and what they can be use... | 38.360184 | 1,015 | 0.472806 | 2,902 | 33,335 | 5.159545 | 0.090627 | 0.040072 | 0.062179 | 0.025646 | 0.885127 | 0.855874 | 0.846791 | 0.829293 | 0.824618 | 0.824618 | 0 | 0.003241 | 0.444728 | 33,335 | 868 | 1,016 | 38.404378 | 0.805673 | 0.329384 | 0 | 0.728785 | 0 | 0 | 0.225821 | 0.062667 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011647 | false | 0 | 0.011647 | 0 | 0.034942 | 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 |
c2621adc77a959a20fb6e54a775c55dd7e138ca2 | 507 | py | Python | src/visualization/visualize.py | afederation/RescueForcast | c3aac61c353428eb8a7f60bbb2b3bb3c67f5b70f | [
"MIT"
] | null | null | null | src/visualization/visualize.py | afederation/RescueForcast | c3aac61c353428eb8a7f60bbb2b3bb3c67f5b70f | [
"MIT"
] | null | null | null | src/visualization/visualize.py | afederation/RescueForcast | c3aac61c353428eb8a7f60bbb2b3bb3c67f5b70f | [
"MIT"
] | null | null | null | def missions_per_year(df):
'''
From a dataframe with the 'Year' column,
Plot a graph showing the number of missions per year
'''
missions_per_year = df.Year.value_counts()
plt.plot(missions_per_year.sort_index())
plt.show()
def missions_per_week(df):
'''
From a dataframe with the '... | 25.35 | 56 | 0.678501 | 76 | 507 | 4.315789 | 0.302632 | 0.268293 | 0.320122 | 0.155488 | 0.890244 | 0.890244 | 0.890244 | 0.890244 | 0.890244 | 0.890244 | 0 | 0 | 0.218935 | 507 | 19 | 57 | 26.684211 | 0.828283 | 0.368836 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
c28461c5045ef0eb2f2589aab30b86de5b481a4c | 3,960 | py | Python | src/revenue/views.py | janakparajuli/Survey_Office | 1d5eb673eef67f923bf4c2b24156bea76f5fc32d | [
"Apache-2.0"
] | null | null | null | src/revenue/views.py | janakparajuli/Survey_Office | 1d5eb673eef67f923bf4c2b24156bea76f5fc32d | [
"Apache-2.0"
] | null | null | null | src/revenue/views.py | janakparajuli/Survey_Office | 1d5eb673eef67f923bf4c2b24156bea76f5fc32d | [
"Apache-2.0"
] | null | null | null | from urllib import quote_plus
from django.contrib import messages
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger
from django.db.models import Q
from django.http import HttpResponse, HttpResponseRedirect, Http404
from django.shortcuts import render, get_object_or_404, redirect
from django.utils... | 37.358491 | 130 | 0.705303 | 506 | 3,960 | 5.314229 | 0.203557 | 0.052064 | 0.041651 | 0.041651 | 0.853105 | 0.833023 | 0.833023 | 0.804016 | 0.804016 | 0.804016 | 0 | 0.009843 | 0.17904 | 3,960 | 105 | 131 | 37.714286 | 0.817287 | 0.208838 | 0 | 0.752941 | 0 | 0 | 0.075909 | 0.014152 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047059 | false | 0 | 0.105882 | 0 | 0.2 | 0.023529 | 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 |
c2d735d5df0e32fd101ce4ba36d7e1367c0d7faa | 202 | py | Python | keras/applications/mobilenet.py | ikingye/keras | 1a3ee8441933fc007be6b2beb47af67998d50737 | [
"MIT"
] | 5 | 2020-11-30T22:26:03.000Z | 2020-12-01T22:34:25.000Z | keras/applications/mobilenet.py | ikingye/keras | 1a3ee8441933fc007be6b2beb47af67998d50737 | [
"MIT"
] | 10 | 2020-12-01T22:55:29.000Z | 2020-12-11T18:31:46.000Z | keras/applications/mobilenet.py | ikingye/keras | 1a3ee8441933fc007be6b2beb47af67998d50737 | [
"MIT"
] | 15 | 2020-11-30T22:12:22.000Z | 2020-12-09T01:32:48.000Z | from tensorflow.keras.applications.mobilenet import MobileNet
from tensorflow.keras.applications.mobilenet import decode_predictions
from tensorflow.keras.applications.mobilenet import preprocess_input
| 50.5 | 70 | 0.89604 | 23 | 202 | 7.782609 | 0.434783 | 0.234637 | 0.318436 | 0.519553 | 0.77095 | 0.77095 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 202 | 3 | 71 | 67.333333 | 0.942105 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
6c207881036cc5b79b74deb0da28511ec1ef7a2e | 22,071 | py | Python | dct_fast_rnn.py | kazuki-irie/dct-fast-weights | b2d81b910d6a879b832f5066a22a064ba57b7ff2 | [
"MIT"
] | 4 | 2021-07-08T07:35:23.000Z | 2022-01-05T03:00:34.000Z | dct_fast_rnn.py | kazuki-irie/dct-fast-weights | b2d81b910d6a879b832f5066a22a064ba57b7ff2 | [
"MIT"
] | null | null | null | dct_fast_rnn.py | kazuki-irie/dct-fast-weights | b2d81b910d6a879b832f5066a22a064ba57b7ff2 | [
"MIT"
] | null | null | null | # Fast RNN models with DCT-parameterized weights;
# DCT coefficients are parameterised by LSTMs.
import math
import torch
import torch.nn as nn
import torch_dct as dct
from external_torch_dct import DCTLayer
from custom_layer import LinearWithDCT
# Fast weight RNN layer with DCT-parameterized weights;
# DCT coeffi... | 35.946254 | 79 | 0.596393 | 2,989 | 22,071 | 4.127133 | 0.07996 | 0.029912 | 0.016861 | 0.017023 | 0.877351 | 0.871595 | 0.86049 | 0.845006 | 0.822147 | 0.811608 | 0 | 0.009621 | 0.307734 | 22,071 | 613 | 80 | 36.004894 | 0.797762 | 0.134339 | 0 | 0.798526 | 0 | 0 | 0.029268 | 0 | 0 | 0 | 0 | 0.003263 | 0.007371 | 1 | 0.034398 | false | 0 | 0.014742 | 0 | 0.083538 | 0.027027 | 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 |
66659baa05e180bc8eef4e216c5b218171dbbf6f | 34,244 | py | Python | tests/unit/domain/conftest.py | ivcmartello/registrobrepp | dece39a451bcdb964d337df6aa7bd418a60c1a85 | [
"MIT"
] | null | null | null | tests/unit/domain/conftest.py | ivcmartello/registrobrepp | dece39a451bcdb964d337df6aa7bd418a60c1a85 | [
"MIT"
] | null | null | null | tests/unit/domain/conftest.py | ivcmartello/registrobrepp | dece39a451bcdb964d337df6aa7bd418a60c1a85 | [
"MIT"
] | null | null | null | import pytest
from decouple import config
@pytest.fixture
def domainxmlschema():
from lxml import etree
schema = config('EPPSCHEMAPATH', '../../../schemas') + '/domain-1.0.xsd'
xmlschema_doc = etree.parse(schema)
return etree.XMLSchema(xmlschema_doc)
@pytest.fixture
def checkdomaincommandxmlexpecte... | 32.706781 | 889 | 0.637455 | 3,867 | 34,244 | 5.64391 | 0.090251 | 0.028225 | 0.052417 | 0.064513 | 0.782772 | 0.767469 | 0.755464 | 0.745017 | 0.73709 | 0.716747 | 0 | 0.047161 | 0.199363 | 34,244 | 1,046 | 890 | 32.73805 | 0.748878 | 0 | 0 | 0.823893 | 0 | 0.08033 | 0.905034 | 0.469367 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038105 | false | 0 | 0.00309 | 0.037075 | 0.0793 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
66710c7b51600d8ba1ac6a0a1058f23b25814d14 | 36,197 | py | Python | python/src/opendp/trans.py | orespo/opendp | ba595c7b2a0c1e4240cbcf41bf358efff76988f1 | [
"MIT"
] | null | null | null | python/src/opendp/trans.py | orespo/opendp | ba595c7b2a0c1e4240cbcf41bf358efff76988f1 | [
"MIT"
] | null | null | null | python/src/opendp/trans.py | orespo/opendp | ba595c7b2a0c1e4240cbcf41bf358efff76988f1 | [
"MIT"
] | null | null | null | # Auto-generated. Do not edit.
from opendp._convert import *
from opendp._lib import *
from opendp.mod import *
from opendp.typing import *
__all__ = [
"make_cast",
"make_cast_default",
"make_is_equal",
"make_is_null",
"make_cast_inherent",
"make_cast_metric",
"make_clamp",
"make_unclam... | 37.587747 | 133 | 0.714755 | 4,945 | 36,197 | 5.062892 | 0.056218 | 0.026282 | 0.034271 | 0.037386 | 0.838113 | 0.815386 | 0.780756 | 0.774285 | 0.767135 | 0.75012 | 0 | 0.000486 | 0.204161 | 36,197 | 962 | 134 | 37.626819 | 0.868608 | 0.487969 | 0 | 0.604775 | 1 | 0 | 0.04312 | 0.010177 | 0 | 0 | 0 | 0 | 0.068966 | 1 | 0.068966 | false | 0 | 0.01061 | 0 | 0.148541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dd3f7a9c4c4dd723f01f9dd16031296ff374b03d | 10,664 | py | Python | src/putils/findDiagonal/testRotation.py | chanul13/EDMFTF | 967d85d898924991b31861b4e1f45129e3eff180 | [
"BSD-3-Clause"
] | 7 | 2018-04-03T06:37:42.000Z | 2021-11-08T11:44:06.000Z | src/putils/findDiagonal/testRotation.py | chanul13/EDMFTF | 967d85d898924991b31861b4e1f45129e3eff180 | [
"BSD-3-Clause"
] | null | null | null | src/putils/findDiagonal/testRotation.py | chanul13/EDMFTF | 967d85d898924991b31861b4e1f45129e3eff180 | [
"BSD-3-Clause"
] | 3 | 2016-10-27T20:23:34.000Z | 2019-12-13T13:54:11.000Z | from scipy import *
from scipy import linalg
def mprint(Us):
for i in range(shape(Us)[0]):
for j in range(shape(Us)[1]):
print "%9.6f %9.6f " % (real(Us[i,j]), imag(Us[i,j])),
print
def StringToMatrix(cfstr):
mm=[]
for line in cfstr.split('\n'):
line = line.strip()
... | 133.3 | 260 | 0.615529 | 1,696 | 10,664 | 3.870283 | 0.044222 | 0.485375 | 0.527118 | 0.866545 | 0.943175 | 0.943175 | 0.943175 | 0.943175 | 0.941956 | 0.941956 | 0 | 0.82005 | 0.288166 | 10,664 | 79 | 261 | 134.987342 | 0.044658 | 0 | 0 | 0.217391 | 0 | 0.57971 | 0.939422 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.028986 | null | null | 0.072464 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.