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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8a24475721e16098c28acffef2cf00e95d0a5291 | 4,796 | py | Python | Lesson7-ensemble_methods/ensemnle-methods/venv/lib/python3.6/site-packages/imblearn/over_sampling/tests/test_adasyn.py | raafatzahran/Udacity-DataScience | a27eb164d840fb72fb9ab5f021e43856e60cf243 | [
"MIT"
] | 1 | 2018-09-01T11:59:24.000Z | 2018-09-01T11:59:24.000Z | imblearn/over_sampling/tests/test_adasyn.py | eavgerinos/pkg-imbalanced-learn | 3e875838cb602865d8b9786fbe940d0704771fca | [
"MIT"
] | null | null | null | imblearn/over_sampling/tests/test_adasyn.py | eavgerinos/pkg-imbalanced-learn | 3e875838cb602865d8b9786fbe940d0704771fca | [
"MIT"
] | null | null | null | """Test the module under sampler."""
# Authors: Guillaume Lemaitre <g.lemaitre58@gmail.com>
# Christos Aridas
# License: MIT
from __future__ import print_function
import numpy as np
from pytest import raises
from sklearn.utils.testing import assert_allclose, assert_array_equal
from sklearn.neighbors import ... | 38.368 | 78 | 0.511885 | 604 | 4,796 | 3.937086 | 0.213576 | 0.020185 | 0.022708 | 0.020185 | 0.76619 | 0.738436 | 0.715728 | 0.715728 | 0.684609 | 0.651808 | 0 | 0.407186 | 0.338407 | 4,796 | 124 | 79 | 38.677419 | 0.342263 | 0.025438 | 0 | 0.666667 | 0 | 0 | 0.011144 | 0 | 0 | 0 | 0 | 0 | 0.068627 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.117647 | 0.009804 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a6041040a09974245d2d737f10777d524e97395 | 20 | py | Python | chase/__init__.py | maalekkk/chase | 2255fefebd91764d0893d943ad3c5b2f57afaf87 | [
"MIT"
] | null | null | null | chase/__init__.py | maalekkk/chase | 2255fefebd91764d0893d943ad3c5b2f57afaf87 | [
"MIT"
] | null | null | null | chase/__init__.py | maalekkk/chase | 2255fefebd91764d0893d943ad3c5b2f57afaf87 | [
"MIT"
] | 1 | 2021-04-28T13:39:45.000Z | 2021-04-28T13:39:45.000Z | from chase import *
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a7951845f6ee6ae2d2e87cad2263fae4b1dbbfd | 17,824 | py | Python | tests/applicationinsights_tests/TestTelemetryClient.py | janhaviagrawal/ApplicationInsights-Python | 49a58cd688a866c71c952019b6c9ee71772443c3 | [
"MIT"
] | null | null | null | tests/applicationinsights_tests/TestTelemetryClient.py | janhaviagrawal/ApplicationInsights-Python | 49a58cd688a866c71c952019b6c9ee71772443c3 | [
"MIT"
] | null | null | null | tests/applicationinsights_tests/TestTelemetryClient.py | janhaviagrawal/ApplicationInsights-Python | 49a58cd688a866c71c952019b6c9ee71772443c3 | [
"MIT"
] | null | null | null | import unittest
import inspect
import json
import sys
if sys.version_info < (3,0):
from test import test_support
else:
from test import support as test_support
import os, os.path
rootDirectory = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..')
if rootDirectory not in sys.path:... | 73.652893 | 786 | 0.676504 | 2,007 | 17,824 | 5.824116 | 0.087693 | 0.054752 | 0.091625 | 0.106938 | 0.851484 | 0.840192 | 0.797331 | 0.789032 | 0.774745 | 0.774745 | 0 | 0.049196 | 0.166349 | 17,824 | 242 | 787 | 73.652893 | 0.737466 | 0 | 0 | 0.66055 | 0 | 0.045872 | 0.49346 | 0.25455 | 0 | 0 | 0 | 0 | 0.073395 | 1 | 0.068807 | false | 0 | 0.036697 | 0 | 0.114679 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a7dcc416c63507dbd13e8d9f3f516a2727a54e7 | 3,332 | py | Python | tfwordvec/tests/test_train.py | shkarupa-alex/tfwordvec | e508dc3b4aa93a86a9b8aa0172a8e3f3aaeac407 | [
"MIT"
] | null | null | null | tfwordvec/tests/test_train.py | shkarupa-alex/tfwordvec | e508dc3b4aa93a86a9b8aa0172a8e3f3aaeac407 | [
"MIT"
] | null | null | null | tfwordvec/tests/test_train.py | shkarupa-alex/tfwordvec | e508dc3b4aa93a86a9b8aa0172a8e3f3aaeac407 | [
"MIT"
] | null | null | null | import numpy as np
import os
import shutil
import tempfile
import tensorflow as tf
from keras.mixed_precision import policy as mixed_precision
from ..train import train_model
class TestTrainModel(tf.test.TestCase):
def setUp(self):
super().setUp()
np.random.seed(1)
tf.random.set_seed(2)
... | 37.863636 | 75 | 0.707383 | 498 | 3,332 | 4.39759 | 0.114458 | 0.141553 | 0.077626 | 0.109589 | 0.784475 | 0.784475 | 0.784475 | 0.784475 | 0.757078 | 0.757078 | 0 | 0.000733 | 0.180972 | 3,332 | 87 | 76 | 38.298851 | 0.801759 | 0 | 0 | 0.223881 | 0 | 0 | 0.078031 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.253731 | false | 0 | 0.104478 | 0 | 0.373134 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a8ad92a06f37693ee382b0ab389e2da52a05150 | 66 | py | Python | pi3nn/Optimizations/__init__.py | liusiyan/PI3NN | 37d527e67107c2cb3722dd7e153a6822a5e32ae0 | [
"Apache-2.0"
] | 11 | 2021-11-08T20:38:50.000Z | 2022-01-30T02:46:39.000Z | pi3nn/Optimizations/__init__.py | liusiyan/PI3NN | 37d527e67107c2cb3722dd7e153a6822a5e32ae0 | [
"Apache-2.0"
] | 1 | 2022-01-13T19:46:32.000Z | 2022-02-09T16:23:56.000Z | pi3nn/Optimizations/__init__.py | liusiyan/PI3NN | 37d527e67107c2cb3722dd7e153a6822a5e32ae0 | [
"Apache-2.0"
] | 1 | 2021-12-17T18:38:26.000Z | 2021-12-17T18:38:26.000Z | from .boundary_optimizer import *
from .params_optimizer import *
| 22 | 33 | 0.818182 | 8 | 66 | 6.5 | 0.625 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 34 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ac0103c7e7ca8767a25ffdefd0858d74aef4819 | 10,087 | py | Python | spotseeker_server/test/hours/overlap.py | uw-it-aca/spotseeker_server | 1d8a5bf98b76fdcb807ed4cd32f939bb7e9aa66c | [
"Apache-2.0"
] | 5 | 2015-03-12T00:36:33.000Z | 2022-02-24T16:41:25.000Z | spotseeker_server/test/hours/overlap.py | uw-it-aca/spotseeker_server | 1d8a5bf98b76fdcb807ed4cd32f939bb7e9aa66c | [
"Apache-2.0"
] | 133 | 2016-02-03T23:54:45.000Z | 2022-03-30T21:33:58.000Z | spotseeker_server/test/hours/overlap.py | uw-it-aca/spotseeker_server | 1d8a5bf98b76fdcb807ed4cd32f939bb7e9aa66c | [
"Apache-2.0"
] | 6 | 2015-01-07T23:21:15.000Z | 2017-12-07T08:26:33.000Z | # Copyright 2021 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0
from django.conf import settings
from django.test import TestCase
from django.test.client import Client
from spotseeker_server.models import Spot, SpotAvailableHours
class SpotHoursOverlapTest(TestCase):
"""Tests that when ope... | 41.854772 | 79 | 0.658471 | 1,304 | 10,087 | 4.924847 | 0.09816 | 0.067269 | 0.089069 | 0.099346 | 0.87356 | 0.87356 | 0.850981 | 0.844285 | 0.825444 | 0.808627 | 0 | 0.033723 | 0.244473 | 10,087 | 240 | 80 | 42.029167 | 0.808949 | 0.225637 | 0 | 0.61039 | 0 | 0 | 0.04131 | 0 | 0 | 0 | 0 | 0 | 0.220779 | 1 | 0.071429 | false | 0 | 0.025974 | 0 | 0.103896 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76f9cf57b92930d9e5af654a6e5f871ccbcb2484 | 14,260 | py | Python | tests/integration/operators_test/dynamicslice_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | null | null | null | tests/integration/operators_test/dynamicslice_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | null | null | null | tests/integration/operators_test/dynamicslice_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | null | null | null | # Copyright (c) 2020 Graphcore Ltd. All rights reserved.
import numpy as np
import popart
import torch
from op_tester import op_tester
# Test a set of non-overlapping dynamic slices
# tensor -> S0 -> out0
# tensor -> S1 -> out1
# tensor -> S2 -> out2
# where out0, out1 and out2 are non-overlapping subregions of the t... | 36.658098 | 93 | 0.565708 | 1,554 | 14,260 | 5.121622 | 0.138353 | 0.008544 | 0.011685 | 0.014072 | 0.779495 | 0.746074 | 0.733132 | 0.725217 | 0.721573 | 0.697701 | 0 | 0.025363 | 0.333661 | 14,260 | 388 | 94 | 36.752577 | 0.81225 | 0.173633 | 0 | 0.803846 | 0 | 0 | 0.004431 | 0 | 0 | 0 | 0 | 0.002577 | 0.026923 | 1 | 0.080769 | false | 0 | 0.015385 | 0 | 0.15 | 0.023077 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76fd99449d7fb0c0c7ec3ae64c6e7ee604aa9e22 | 20,103 | py | Python | examples/circuits/RSA_Membership/snark.py | hyunokoh/libsnark | 27016252dcb3916e4cd07d72c434b7bde851c3f9 | [
"MIT"
] | null | null | null | examples/circuits/RSA_Membership/snark.py | hyunokoh/libsnark | 27016252dcb3916e4cd07d72c434b7bde851c3f9 | [
"MIT"
] | 1 | 2018-11-12T01:05:44.000Z | 2018-11-12T01:05:44.000Z | examples/circuits/RSA_Membership/snark.py | hyunokoh/libsnark | 27016252dcb3916e4cd07d72c434b7bde851c3f9 | [
"MIT"
] | null | null | null | PAIRING_MODULUS = 0x30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001
INT_WIDTH = 64
INT_HEX_WIDTH = INT_WIDTH/4
# Note that gen_xxx is a test function to create input variables
def group1(x):
return x % PAIRING_MODULUS
def group1hex(x):
return format(group1(x),'x')
def hex(x):
return for... | 40.045817 | 239 | 0.583396 | 3,509 | 20,103 | 3.040752 | 0.035623 | 0.118088 | 0.073102 | 0.057357 | 0.883318 | 0.829241 | 0.774508 | 0.724836 | 0.68791 | 0.64836 | 0 | 0.028655 | 0.222305 | 20,103 | 501 | 240 | 40.125749 | 0.653831 | 0.051236 | 0 | 0.633245 | 0 | 0 | 0.105885 | 0 | 0.002639 | 0 | 0.003465 | 0 | 0.015831 | 0 | null | null | 0 | 0 | null | null | 0.005277 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a09bcdf271fde74cb592cd33b22e62503d14693 | 274 | py | Python | python/ephem/__init__.py | ACTCollaboration/moby2 | b0f6bd6add7170999eb964d18f16d795520426e9 | [
"BSD-2-Clause"
] | 3 | 2020-06-23T15:59:37.000Z | 2022-03-29T16:04:35.000Z | python/ephem/__init__.py | ACTCollaboration/moby2 | b0f6bd6add7170999eb964d18f16d795520426e9 | [
"BSD-2-Clause"
] | 1 | 2020-04-08T15:10:46.000Z | 2020-04-08T15:10:46.000Z | python/ephem/__init__.py | ACTCollaboration/moby2 | b0f6bd6add7170999eb964d18f16d795520426e9 | [
"BSD-2-Clause"
] | null | null | null | from __future__ import print_function
from __future__ import absolute_import
from past.builtins import basestring
from .actEphem import ACTEphem, dUT1Getter
from .stuff import get_source_coords
from .stuff import get_sources_in_patch
from .stuff import get_sources_in_tod
| 27.4 | 42 | 0.864964 | 40 | 274 | 5.475 | 0.475 | 0.123288 | 0.205479 | 0.246575 | 0.246575 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0.004115 | 0.113139 | 274 | 9 | 43 | 30.444444 | 0.897119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.142857 | 0 | 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 | 6 |
0a13d15418be6411e23a242846941f5dd4418eb8 | 114 | py | Python | torauth/utils/string_to_base64.py | tonlabs/tor-service | 1d7e15c20277202927e9869f73094fec7077bd38 | [
"Apache-2.0"
] | 4 | 2021-01-25T08:22:57.000Z | 2022-02-01T20:39:00.000Z | torauth/utils/string_to_base64.py | tonlabs/tor-service | 1d7e15c20277202927e9869f73094fec7077bd38 | [
"Apache-2.0"
] | 1 | 2021-03-31T19:09:08.000Z | 2021-04-05T10:20:06.000Z | torauth/utils/string_to_base64.py | tonlabs/tor-service | 1d7e15c20277202927e9869f73094fec7077bd38 | [
"Apache-2.0"
] | null | null | null | import base64
def string_to_base64(string):
return base64.b64encode(string.encode('utf-8')).decode('utf-8')
| 19 | 67 | 0.736842 | 17 | 114 | 4.823529 | 0.647059 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 0.105263 | 114 | 5 | 68 | 22.8 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6a6bafccd268914e65691870d718051a9ec6257a | 5,718 | py | Python | psyneulink/library/compositions/pytorchllvmhelper.py | JeshuaT/PsyNeuLink | 912f691028e848659055430f37b6c15273c762f1 | [
"Apache-2.0"
] | 67 | 2018-01-05T22:18:44.000Z | 2022-03-27T11:27:31.000Z | psyneulink/library/compositions/pytorchllvmhelper.py | JeshuaT/PsyNeuLink | 912f691028e848659055430f37b6c15273c762f1 | [
"Apache-2.0"
] | 1,064 | 2017-12-01T18:58:27.000Z | 2022-03-31T22:22:24.000Z | psyneulink/library/compositions/pytorchllvmhelper.py | JeshuaT/PsyNeuLink | 912f691028e848659055430f37b6c15273c762f1 | [
"Apache-2.0"
] | 25 | 2017-12-01T20:27:07.000Z | 2022-03-08T21:49:39.000Z | from psyneulink.core import llvm as pnlvm
__all__ = ["gen_inject_vec_binop",
"gen_inject_vec_add",
"gen_inject_vec_sub",
"gen_inject_vec_hadamard",
"gen_inject_mat_binop",
"gen_inject_mat_add",
"gen_inject_mat_sub",
"gen_inject_mat_hadamard",... | 41.737226 | 96 | 0.643057 | 888 | 5,718 | 3.845721 | 0.077703 | 0.103075 | 0.128843 | 0.112738 | 0.878184 | 0.81757 | 0.757247 | 0.75022 | 0.700732 | 0.658272 | 0 | 0.03783 | 0.232599 | 5,718 | 136 | 97 | 42.044118 | 0.740428 | 0.053865 | 0 | 0.495238 | 0 | 0 | 0.080126 | 0.053664 | 0 | 0 | 0 | 0 | 0.104762 | 1 | 0.104762 | false | 0 | 0.057143 | 0.057143 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ac56bc10a391d7ea82fe3ce7535b38f8c0608a3 | 36,638 | py | Python | tests/components/alexa/test_smart_home.py | maihde/home-assistant | 688d70644949a658e0607e52b3896a2c4c8a85e7 | [
"Apache-2.0"
] | 2 | 2018-01-15T06:36:11.000Z | 2019-06-06T14:08:01.000Z | tests/components/alexa/test_smart_home.py | maihde/home-assistant | 688d70644949a658e0607e52b3896a2c4c8a85e7 | [
"Apache-2.0"
] | 5 | 2022-03-01T06:31:03.000Z | 2022-03-31T07:20:45.000Z | tests/components/alexa/test_smart_home.py | maihde/home-assistant | 688d70644949a658e0607e52b3896a2c4c8a85e7 | [
"Apache-2.0"
] | 3 | 2018-08-27T10:08:30.000Z | 2020-07-04T10:07:03.000Z | """Test for smart home alexa support."""
import asyncio
from uuid import uuid4
import pytest
from homeassistant.components.alexa import smart_home
from homeassistant.helpers import entityfilter
from tests.common import async_mock_service
DEFAULT_CONFIG = smart_home.Config(should_expose=lambda entity_id: True)
def... | 31.693772 | 79 | 0.618211 | 4,139 | 36,638 | 5.297656 | 0.064992 | 0.016418 | 0.031468 | 0.037762 | 0.843982 | 0.803895 | 0.771834 | 0.737128 | 0.708259 | 0.690701 | 0 | 0.010586 | 0.231645 | 36,638 | 1,155 | 80 | 31.721212 | 0.768321 | 0.048365 | 0 | 0.68 | 0 | 0 | 0.254422 | 0.032575 | 0 | 0 | 0 | 0 | 0.2725 | 1 | 0.04125 | false | 0 | 0.0075 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6aec851adcc67dda33976aed149429cff1342018 | 131 | py | Python | xchain_test/keys_config.py | kobibarhanin/xchain | e8c6571a63016f185ce0f8bd2bed980e74420e11 | [
"MIT"
] | null | null | null | xchain_test/keys_config.py | kobibarhanin/xchain | e8c6571a63016f185ce0f8bd2bed980e74420e11 | [
"MIT"
] | null | null | null | xchain_test/keys_config.py | kobibarhanin/xchain | e8c6571a63016f185ce0f8bd2bed980e74420e11 | [
"MIT"
] | null | null | null | ENC_KEY = b'1234567890123456'
SIG_KEY_PATH = '/Users/kobarhan/.ssh/id_rsa_PEM'
VER_KEY_PATH = '/Users/kobarhan/.ssh/id_rsa_PEM.PUB' | 43.666667 | 52 | 0.78626 | 23 | 131 | 4.086957 | 0.608696 | 0.148936 | 0.255319 | 0.425532 | 0.659574 | 0.659574 | 0.659574 | 0.659574 | 0 | 0 | 0 | 0.130081 | 0.061069 | 131 | 3 | 52 | 43.666667 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0.621212 | 0.5 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6aeea16f63e91a3e151108bbbcaa3f92f6d658f8 | 128 | py | Python | samples/client/petstore/python/tests/util.py | VinayaSathyanarayana/swagger-codegen | dd1ed1231884f08804fd5726ab5beabac59d7abd | [
"Apache-2.0"
] | 2 | 2017-12-19T12:48:04.000Z | 2018-02-25T18:31:51.000Z | samples/client/petstore/python/tests/util.py | the-blue-alliance/swagger-codegen | 6ad8df57f7c1d593eb0fc7d132a5cef5ce0ed100 | [
"Apache-2.0"
] | null | null | null | samples/client/petstore/python/tests/util.py | the-blue-alliance/swagger-codegen | 6ad8df57f7c1d593eb0fc7d132a5cef5ce0ed100 | [
"Apache-2.0"
] | 3 | 2018-09-03T12:58:01.000Z | 2021-02-19T06:00:30.000Z | import random
def id_gen(bits=32):
""" Returns a n-bit randomly generated int """
return int(random.getrandbits(bits))
| 21.333333 | 50 | 0.695313 | 19 | 128 | 4.631579 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.179688 | 128 | 5 | 51 | 25.6 | 0.819048 | 0.296875 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a7a4c40e7f3293da76708496408530a2d70d802 | 26,967 | py | Python | sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_node.py | BearerPipelineTest/argo-workflows | ecd91b1c4215a2ab8742f7c43eaade98a1d47eba | [
"Apache-2.0"
] | 1 | 2022-02-24T01:45:03.000Z | 2022-02-24T01:45:03.000Z | sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_node.py | BearerPipelineTest/argo-workflows | ecd91b1c4215a2ab8742f7c43eaade98a1d47eba | [
"Apache-2.0"
] | 18 | 2022-02-01T23:09:58.000Z | 2022-03-31T23:28:41.000Z | sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_container_node.py | BearerPipelineTest/argo-workflows | ecd91b1c4215a2ab8742f7c43eaade98a1d47eba | [
"Apache-2.0"
] | null | null | null | """
Argo Workflows API
Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ # noqa: E501
The version of the OpenAPI document: VERSION
Generated by: https://openapi-g... | 72.491935 | 733 | 0.657656 | 3,372 | 26,967 | 5.140569 | 0.140866 | 0.043383 | 0.040614 | 0.018576 | 0.822488 | 0.801604 | 0.794739 | 0.791508 | 0.786085 | 0.779393 | 0 | 0.016773 | 0.27263 | 26,967 | 371 | 734 | 72.687332 | 0.866939 | 0.683131 | 0 | 0.338889 | 0 | 0 | 0.187059 | 0.038524 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0.011111 | 0.094444 | 0.005556 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0abc29ceaf5a6754869990b66c27edc184a19670 | 29 | py | Python | buderus/__init__.py | pszafer/bosch-thermostat-http-client-python | 98e514372453a617b14d56cedc16ff94abce87c0 | [
"Apache-2.0"
] | 1 | 2021-12-03T12:14:26.000Z | 2021-12-03T12:14:26.000Z | buderus/__init__.py | pszafer/bosch-thermostat-http-client-python | 98e514372453a617b14d56cedc16ff94abce87c0 | [
"Apache-2.0"
] | null | null | null | buderus/__init__.py | pszafer/bosch-thermostat-http-client-python | 98e514372453a617b14d56cedc16ff94abce87c0 | [
"Apache-2.0"
] | 1 | 2019-04-01T18:46:23.000Z | 2019-04-01T18:46:23.000Z | from .gateway import Gateway
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0ad4d38d6fe9bee6d44972158d99dcd6c637bc9e | 100 | py | Python | duoshuo/models.py | timgates42/duoshuo-python-sdk | 37a16e5d7c1d0899142d46f08ef53c79dbe887a0 | [
"Apache-2.0"
] | 47 | 2015-01-11T15:51:27.000Z | 2019-04-21T12:17:21.000Z | duoshuo/models.py | njuaplusplus/duoshuo-python-sdk | f0164e4348a9e3534e163a3213048ab4f06ddc36 | [
"Apache-2.0"
] | 3 | 2016-06-14T10:19:00.000Z | 2018-06-01T02:56:40.000Z | duoshuo/models.py | njuaplusplus/duoshuo-python-sdk | f0164e4348a9e3534e163a3213048ab4f06ddc36 | [
"Apache-2.0"
] | 18 | 2015-02-25T08:39:26.000Z | 2021-11-22T19:22:54.000Z | # -*- coding: utf-8 -*-
from django.db import models
from django.contrib.auth.models import User
| 16.666667 | 43 | 0.71 | 15 | 100 | 4.733333 | 0.733333 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.16 | 100 | 5 | 44 | 20 | 0.833333 | 0.21 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0ad875bc8cac6a0248e0b531c48e261b02054321 | 16,584 | py | Python | backend/python/base/connectDBClass.py | Usuyuki/kadode_nikki3 | 03f6c2a192953cb696747d6388a3b89eae2d8efd | [
"MIT"
] | 3 | 2021-10-30T13:11:25.000Z | 2021-11-14T17:04:13.000Z | backend/python/base/connectDBClass.py | Usuyuki/kadode_nikki3 | 03f6c2a192953cb696747d6388a3b89eae2d8efd | [
"MIT"
] | 68 | 2021-06-02T14:06:50.000Z | 2022-03-29T23:09:50.000Z | backend/python/base/connectDBClass.py | Usuyuki/kadode_nikki3 | 03f6c2a192953cb696747d6388a3b89eae2d8efd | [
"MIT"
] | null | null | null | import MySQLdb
from base import loadEnv
import json
class connectDB:
conn = MySQLdb.connect(
user=loadEnv.DB_USERNAME,
passwd=loadEnv.DB_PASSWORD,
host=loadEnv.DB_HOST,
db=loadEnv.DB_DATABASE,
charset="utf8"
)
def __init__(self):
self.conn=MySQLdb.connect(
user=loadEnv.... | 31.588571 | 260 | 0.588398 | 1,847 | 16,584 | 5.121278 | 0.09908 | 0.040596 | 0.034253 | 0.048208 | 0.867428 | 0.839201 | 0.816683 | 0.801353 | 0.76784 | 0.758431 | 0 | 0.01355 | 0.283526 | 16,584 | 524 | 261 | 31.648855 | 0.782528 | 0.369694 | 0 | 0.654054 | 0 | 0.059459 | 0.205008 | 0.046687 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102703 | false | 0.010811 | 0.027027 | 0 | 0.172973 | 0.021622 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ae9f8d60d63feaa8f7b9fca55bca65557307e30 | 65 | py | Python | libretto/tests/api/__init__.py | adrienlachaize/dezede | 584ec30cedab95152e2f95595b7691a04e6736e2 | [
"BSD-3-Clause"
] | 15 | 2015-02-10T21:16:31.000Z | 2021-03-25T16:46:20.000Z | libretto/tests/api/__init__.py | adrienlachaize/dezede | 584ec30cedab95152e2f95595b7691a04e6736e2 | [
"BSD-3-Clause"
] | 4 | 2021-02-10T15:42:08.000Z | 2022-03-11T23:20:38.000Z | libretto/tests/api/__init__.py | adrienlachaize/dezede | 584ec30cedab95152e2f95595b7691a04e6736e2 | [
"BSD-3-Clause"
] | 6 | 2016-07-10T14:20:48.000Z | 2022-01-19T18:34:02.000Z | from .models import BuildAncrageTestCase, UpdateOrCreateTestCase
| 32.5 | 64 | 0.892308 | 5 | 65 | 11.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 65 | 1 | 65 | 65 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c0f525b7d4f9fca4d272a3804d6f2524715c36c | 46,704 | py | Python | autotest/gdrivers/pds4.py | OpenGeoLabs/gdal | 7c397f8aee59df906fb51153f5a7980a8cc86d43 | [
"MIT"
] | null | null | null | autotest/gdrivers/pds4.py | OpenGeoLabs/gdal | 7c397f8aee59df906fb51153f5a7980a8cc86d43 | [
"MIT"
] | 7 | 2018-04-09T09:35:42.000Z | 2018-05-22T06:54:05.000Z | autotest/gdrivers/pds4.py | OpenGeoLabs/gdal | 7c397f8aee59df906fb51153f5a7980a8cc86d43 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
###############################################################################
# $Id$
#
# Project: GDAL/OGR Test Suite
# Purpose: Test PDS4 format
# Author: Even Rouault, <even.rouault at spatialys.com>
#
###############################################################################
# Copyri... | 35.788506 | 194 | 0.582348 | 5,317 | 46,704 | 4.925898 | 0.102313 | 0.027109 | 0.048108 | 0.047879 | 0.788401 | 0.768203 | 0.741094 | 0.727769 | 0.712191 | 0.696995 | 0 | 0.039716 | 0.256017 | 46,704 | 1,304 | 195 | 35.815951 | 0.714047 | 0.058796 | 0 | 0.746521 | 0 | 0.016899 | 0.424753 | 0.170445 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020875 | false | 0 | 0.013917 | 0 | 0.129225 | 0.054672 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c11e4738e629f132d86c7e1627b2cf4ac9b879e | 45 | py | Python | pypy/interpreter/test/mypackage/__main__.py | olliemath/pypy | 8b873bd0b8bf76075aba3d915c260789f26f5788 | [
"Apache-2.0",
"OpenSSL"
] | 1 | 2021-06-02T23:02:09.000Z | 2021-06-02T23:02:09.000Z | pypy/interpreter/test/mypackage/__main__.py | olliemath/pypy | 8b873bd0b8bf76075aba3d915c260789f26f5788 | [
"Apache-2.0",
"OpenSSL"
] | 1 | 2021-03-30T18:08:41.000Z | 2021-03-30T18:08:41.000Z | pypy/interpreter/test/mypackage/__main__.py | olliemath/pypy | 8b873bd0b8bf76075aba3d915c260789f26f5788 | [
"Apache-2.0",
"OpenSSL"
] | 1 | 2022-03-30T11:42:37.000Z | 2022-03-30T11:42:37.000Z | import sys
print("__main__ argv:", sys.argv)
| 15 | 33 | 0.733333 | 7 | 45 | 4.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 2 | 34 | 22.5 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
7c2a70d308593a0fdf493a9e98fb5142dbff6a3f | 4,267 | py | Python | local/trainer.py | AmirmohammadRostami/ASV-anti-spoofing-with-EABN | ab0be6a013a72c62a2a9b17f517d1c8894afbece | [
"MIT"
] | 2 | 2021-09-28T19:49:29.000Z | 2021-10-04T07:49:04.000Z | local/trainer.py | AmirmohammadRostami/ASV-anti-spoofing-with-EABN | ab0be6a013a72c62a2a9b17f517d1c8894afbece | [
"MIT"
] | null | null | null | local/trainer.py | AmirmohammadRostami/ASV-anti-spoofing-with-EABN | ab0be6a013a72c62a2a9b17f517d1c8894afbece | [
"MIT"
] | 1 | 2021-11-22T09:27:18.000Z | 2021-11-22T09:27:18.000Z | # import time
# import shutil
# import torch
# import torch.nn.functional as F
# from local import optimizer
# def train(train_loader, model, optim, epoch, device, log_interval):
# batch_time = optimizer.AverageMeter()
# data_time = optimizer.AverageMeter()
# losses = optimizer.AverageMeter()
# top1 =... | 34.691057 | 90 | 0.564097 | 530 | 4,267 | 4.416981 | 0.179245 | 0.046134 | 0.033319 | 0.030756 | 0.82956 | 0.82956 | 0.82956 | 0.82956 | 0.787698 | 0.787698 | 0 | 0.020826 | 0.291071 | 4,267 | 122 | 91 | 34.97541 | 0.753058 | 0.508085 | 0 | 0.047619 | 0 | 0 | 0.103159 | 0.023198 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.142857 | 0 | 0.166667 | 0.02381 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c5a5a35795f05b6baa231d7adcdc4f34a00c2be | 13,718 | py | Python | tests/system/action/user/test_delete.py | MJJojo97/openslides-backend | af0d1edb0070e352d46f285a1ba0bbe3702d49ae | [
"MIT"
] | null | null | null | tests/system/action/user/test_delete.py | MJJojo97/openslides-backend | af0d1edb0070e352d46f285a1ba0bbe3702d49ae | [
"MIT"
] | null | null | null | tests/system/action/user/test_delete.py | MJJojo97/openslides-backend | af0d1edb0070e352d46f285a1ba0bbe3702d49ae | [
"MIT"
] | null | null | null | from openslides_backend.permissions.management_levels import CommitteeManagementLevel
from tests.system.action.base import BaseActionTestCase
from .scope_permissions_mixin import ScopePermissionsTestMixin, UserScope
class UserDeleteActionTest(ScopePermissionsTestMixin, BaseActionTestCase):
def test_delete_correc... | 41.823171 | 246 | 0.563493 | 1,389 | 13,718 | 5.234701 | 0.076314 | 0.06464 | 0.055701 | 0.063265 | 0.857791 | 0.798927 | 0.75863 | 0.746115 | 0.721359 | 0.709806 | 0 | 0.043019 | 0.317102 | 13,718 | 327 | 247 | 41.95107 | 0.733134 | 0 | 0 | 0.577181 | 0 | 0.010067 | 0.247048 | 0.065753 | 0 | 0 | 0 | 0 | 0.181208 | 1 | 0.067114 | false | 0 | 0.010067 | 0 | 0.080537 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c93af6462ff366d86f68f5818ea1c655f80b813 | 127 | py | Python | Luna/__init__.py | Mikfr83/Luna | b72f381f32d26eee9625f928acb05064aa84f8b5 | [
"MIT"
] | null | null | null | Luna/__init__.py | Mikfr83/Luna | b72f381f32d26eee9625f928acb05064aa84f8b5 | [
"MIT"
] | null | null | null | Luna/__init__.py | Mikfr83/Luna | b72f381f32d26eee9625f928acb05064aa84f8b5 | [
"MIT"
] | null | null | null | from Luna.static.vars import *
from Luna.core.logger import Logger
from Luna.core.config import Config
__version__ = "0.0.2"
| 18.142857 | 35 | 0.771654 | 21 | 127 | 4.47619 | 0.52381 | 0.255319 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0.133858 | 127 | 6 | 36 | 21.166667 | 0.827273 | 0 | 0 | 0 | 0 | 0 | 0.03937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ca9b5cd380ff92af4acf986888c320e6db31b2a | 37 | py | Python | source/scripts/python/rsasample/depends/__init__.py | Zedonboy/core | 79a4d959659a0f96b940b28d44476943de120d95 | [
"Apache-2.0"
] | null | null | null | source/scripts/python/rsasample/depends/__init__.py | Zedonboy/core | 79a4d959659a0f96b940b28d44476943de120d95 | [
"Apache-2.0"
] | null | null | null | source/scripts/python/rsasample/depends/__init__.py | Zedonboy/core | 79a4d959659a0f96b940b28d44476943de120d95 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
import rsasample
| 9.25 | 18 | 0.756757 | 5 | 37 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.108108 | 37 | 3 | 19 | 12.333333 | 0.818182 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7cc4c961f8c84d766860aa775cd4812d79a83d28 | 6,923 | py | Python | tests/test_structure.py | Maddin-619/mkdocs-static-i18n | 772762838f560179cd027fbd4b9fe76013acd415 | [
"MIT"
] | null | null | null | tests/test_structure.py | Maddin-619/mkdocs-static-i18n | 772762838f560179cd027fbd4b9fe76013acd415 | [
"MIT"
] | null | null | null | tests/test_structure.py | Maddin-619/mkdocs-static-i18n | 772762838f560179cd027fbd4b9fe76013acd415 | [
"MIT"
] | null | null | null | from pathlib import Path
from mkdocs.commands.build import build
USE_DIRECTORY_URLS = [
Path("404.html"),
Path("image.en.png"),
Path("image.fr.png"),
Path("index.fr/index.html"),
Path("index.html"),
Path("topic1/named_file.en/index.html"),
Path("topic1/named_file.fr/index.html"),
Path(... | 34.103448 | 87 | 0.692041 | 1,004 | 6,923 | 4.449203 | 0.045817 | 0.087755 | 0.114618 | 0.080591 | 0.98433 | 0.968211 | 0.942691 | 0.919409 | 0.904858 | 0.884486 | 0 | 0.009442 | 0.14329 | 6,923 | 202 | 88 | 34.272277 | 0.743719 | 0 | 0 | 0.662921 | 0 | 0 | 0.233425 | 0.065867 | 0 | 0 | 0 | 0 | 0.044944 | 1 | 0.044944 | false | 0 | 0.011236 | 0 | 0.05618 | 0.044944 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7cd0f0c2da48773b1e672b7fc716617687f914d3 | 204 | py | Python | pybricks/media/ev3dev/__init__.py | drewwhis/pybricks-fll | 9d6672df9aeef375d3cd0983dc710abeebf9c798 | [
"MIT"
] | 17 | 2019-08-30T12:30:34.000Z | 2021-11-02T16:06:46.000Z | pybricks/media/ev3dev/__init__.py | drewwhis/pybricks-fll | 9d6672df9aeef375d3cd0983dc710abeebf9c798 | [
"MIT"
] | 19 | 2019-10-20T04:01:20.000Z | 2021-09-03T18:47:07.000Z | pybricks/media/ev3dev/__init__.py | drewwhis/pybricks-fll | 9d6672df9aeef375d3cd0983dc710abeebf9c798 | [
"MIT"
] | 8 | 2019-09-21T03:13:21.000Z | 2020-12-23T17:16:52.000Z | __all__ = ["Font", "Image", "ImageFile", "SoundFile"]
from .__stub.__imagefile import ImageFile
from .__stub.__soundfile import SoundFile
from .__stub.__font import Font
from .__stub.__image import Image | 34 | 53 | 0.784314 | 25 | 204 | 5.6 | 0.32 | 0.228571 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 204 | 6 | 54 | 34 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.131707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7cda674df13fc5a5c04f4c6e8e6e2b5f3c071719 | 65,284 | py | Python | SOURCE/Automated_Signal_generator.py | fibai/AUTOMATED-SIGNAL-GENERATOR | c6f8f62b77d372d05e447dc73c128431b45a3f06 | [
"MIT"
] | 10 | 2019-06-05T05:17:39.000Z | 2021-05-03T19:13:58.000Z | SOURCE/Automated_Signal_generator.py | ajmal017/AUTOMATED-SIGNAL-GENERATOR | c6f8f62b77d372d05e447dc73c128431b45a3f06 | [
"MIT"
] | null | null | null | SOURCE/Automated_Signal_generator.py | ajmal017/AUTOMATED-SIGNAL-GENERATOR | c6f8f62b77d372d05e447dc73c128431b45a3f06 | [
"MIT"
] | 4 | 2020-05-27T23:54:33.000Z | 2021-06-15T16:23:24.000Z | # -*- coding: utf-8 -*-
"""
Created on Wed Mar 13 18:04:29 2019
@author: kennedy
"""
import os
from STOCK import stock, loc
import pandas as pd
from oandapyV20 import API
#from mpl_finance import candlestick2_ohlc
pd.options.mode.chained_assignment = None
import numpy as np
import multiprocessing
from threading impor... | 46.832138 | 214 | 0.548067 | 7,498 | 65,284 | 4.646706 | 0.04828 | 0.034442 | 0.04179 | 0.015499 | 0.808817 | 0.788238 | 0.765564 | 0.725467 | 0.700238 | 0.672541 | 0 | 0.020588 | 0.334845 | 65,284 | 1,394 | 215 | 46.832138 | 0.781757 | 0.115128 | 0 | 0.67754 | 0 | 0 | 0.040153 | 0.001331 | 0 | 0 | 0 | 0 | 0.005592 | 1 | 0.015843 | false | 0.002796 | 0.018639 | 0.002796 | 0.087605 | 0.028891 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ceffab74298e87d9d52470fdfee1717b5e158fa | 300 | py | Python | litex_things/deps/migen/migen/__init__.py | bjonnh/fomu-playground | 9f95ed7b28d15ce219d09c16c2c8d6b5594adceb | [
"0BSD"
] | null | null | null | litex_things/deps/migen/migen/__init__.py | bjonnh/fomu-playground | 9f95ed7b28d15ce219d09c16c2c8d6b5594adceb | [
"0BSD"
] | null | null | null | litex_things/deps/migen/migen/__init__.py | bjonnh/fomu-playground | 9f95ed7b28d15ce219d09c16c2c8d6b5594adceb | [
"0BSD"
] | null | null | null | from migen.fhdl.structure import *
from migen.fhdl.module import *
from migen.fhdl.specials import *
from migen.fhdl.bitcontainer import *
from migen.fhdl.decorators import *
from migen.fhdl.simplify import *
from migen.sim import *
from migen.genlib.record import *
from migen.genlib.fsm import *
| 25 | 37 | 0.786667 | 44 | 300 | 5.363636 | 0.318182 | 0.34322 | 0.508475 | 0.402542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126667 | 300 | 11 | 38 | 27.272727 | 0.900763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b0479af502677195aafdb915b0918edfeb68fcf | 128 | py | Python | Backend/ParkingAdvisor/home_page/views.py | deepforce/parkingadvisor | 5d817496d4bc183a4ab78171f58b99a16b2d702f | [
"MIT"
] | 2 | 2018-12-12T07:12:11.000Z | 2020-02-20T21:53:57.000Z | Backend/ParkingAdvisor/home_page/views.py | deepforce/parkingadvisor | 5d817496d4bc183a4ab78171f58b99a16b2d702f | [
"MIT"
] | 8 | 2018-12-12T02:40:55.000Z | 2021-06-10T21:04:19.000Z | Backend/ParkingAdvisor/home_page/views.py | deepforce/parkingadvisor | 5d817496d4bc183a4ab78171f58b99a16b2d702f | [
"MIT"
] | 1 | 2019-07-02T00:10:14.000Z | 2019-07-02T00:10:14.000Z | from django.shortcuts import render
# Create your views here.
def show(request):
return render(request, "home_page.html") | 18.285714 | 44 | 0.75 | 18 | 128 | 5.277778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 128 | 7 | 44 | 18.285714 | 0.87963 | 0.179688 | 0 | 0 | 0 | 0 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6b383dae3d2ca0dcfa4896dd6cb57f4ac50ec3d9 | 1,628 | py | Python | mailchimp_marketing/api/__init__.py | Dehorser/mailchimp-marketing-python | ef0c2402b885f1da4e927c25f82313987f12d655 | [
"Apache-2.0"
] | null | null | null | mailchimp_marketing/api/__init__.py | Dehorser/mailchimp-marketing-python | ef0c2402b885f1da4e927c25f82313987f12d655 | [
"Apache-2.0"
] | null | null | null | mailchimp_marketing/api/__init__.py | Dehorser/mailchimp-marketing-python | ef0c2402b885f1da4e927c25f82313987f12d655 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from mailchimp_marketing.api.activity_feed_api import ActivityFeedApi
from mailchimp_marketing.api.authorized_apps_api import AuthorizedAppsApi
from mailchimp_marketing.api.automations_api import AutomationsApi
from mailchimp_marketi... | 56.137931 | 75 | 0.904177 | 208 | 1,628 | 6.774038 | 0.322115 | 0.212207 | 0.35912 | 0.408091 | 0.044003 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000657 | 0.065725 | 1,628 | 28 | 76 | 58.142857 | 0.925707 | 0.025184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8655e33945cd793cef08db38c8dbb79b69a83700 | 112 | py | Python | qipr/registry/templatetags/__init__.py | ctsit/qipr | 3f0ef102d81a859c955f918b74037d199b4d6a00 | [
"Apache-2.0"
] | 2 | 2017-02-10T15:07:51.000Z | 2017-02-10T15:08:01.000Z | qipr/registry/templatetags/__init__.py | ctsit/qipr | 3f0ef102d81a859c955f918b74037d199b4d6a00 | [
"Apache-2.0"
] | 11 | 2016-08-03T13:18:08.000Z | 2017-01-24T14:19:59.000Z | qipr/registry/templatetags/__init__.py | ctsit/qipr | 3f0ef102d81a859c955f918b74037d199b4d6a00 | [
"Apache-2.0"
] | 5 | 2016-07-29T17:12:43.000Z | 2016-12-19T15:56:14.000Z | from registry.templatetags.project_tag import project_tag
from registry.templatetags.facet_tag import facet_tag
| 37.333333 | 57 | 0.892857 | 16 | 112 | 6 | 0.4375 | 0.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 2 | 58 | 56 | 0.923077 | 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 | 0 | 0 | 0 | 6 |
8698b33ca04315211323f8bcab0a16543bafc42a | 29 | py | Python | backend/api/__main__.py | fisher60/bad-blog | 4f7d23489c53d506cbea2070ea94205346eef56a | [
"MIT"
] | null | null | null | backend/api/__main__.py | fisher60/bad-blog | 4f7d23489c53d506cbea2070ea94205346eef56a | [
"MIT"
] | null | null | null | backend/api/__main__.py | fisher60/bad-blog | 4f7d23489c53d506cbea2070ea94205346eef56a | [
"MIT"
] | null | null | null | from api.users import routes
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81005010617a6d9dce7b1b538da76b644dcef5ee | 2,259 | py | Python | epytope/Data/pssms/smm/mat/B_15_09_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/B_15_09_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/B_15_09_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_15_09_9 = {0: {'A': 0.442, 'C': 0.196, 'E': 0.169, 'D': 0.278, 'G': 0.332, 'F': -0.639, 'I': 0.188, 'H': -0.763, 'K': 0.341, 'M': -0.315, 'L': -0.164, 'N': -0.337, 'Q': -0.172, 'P': 0.504, 'S': -0.074, 'R': 0.321, 'T': -0.113, 'W': -0.281, 'V': 0.38, 'Y': -0.292}, 1: {'A': 0.056, 'C': 0.149, 'E': 0.36, 'D': 0.375, 'G... | 2,259 | 2,259 | 0.383798 | 557 | 2,259 | 1.551167 | 0.271095 | 0.060185 | 0.010417 | 0.013889 | 0.08912 | 0.018519 | 0.018519 | 0.018519 | 0 | 0 | 0 | 0.360551 | 0.165117 | 2,259 | 1 | 2,259 | 2,259 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0.080973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d48e5f837c614b6f486c075a6d0611368970fa65 | 46 | py | Python | scarlet_extensions/initialization/__init__.py | herjy/scarlet_extensions | b6def91d758be76a0cc48db82a4487fbc03887b1 | [
"MIT"
] | null | null | null | scarlet_extensions/initialization/__init__.py | herjy/scarlet_extensions | b6def91d758be76a0cc48db82a4487fbc03887b1 | [
"MIT"
] | 1 | 2020-09-07T13:13:38.000Z | 2020-09-08T15:23:36.000Z | scarlet_extensions/initialization/__init__.py | herjy/scarlet_extensions | b6def91d758be76a0cc48db82a4487fbc03887b1 | [
"MIT"
] | 2 | 2020-07-13T15:11:17.000Z | 2020-09-09T20:02:02.000Z | from .source import *
from .detection import * | 23 | 24 | 0.76087 | 6 | 46 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 24 | 23 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d499d42567a9f2e1cb8d5628f9b9a6e8d31a78e0 | 45 | py | Python | demo/code/preproc.py | mverleg/notex_package | 1a918233a7c18434dd9f8b2b3b3aa058f86d86d8 | [
"MIT",
"Unlicense",
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | demo/code/preproc.py | mverleg/notex_package | 1a918233a7c18434dd9f8b2b3b3aa058f86d86d8 | [
"MIT",
"Unlicense",
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | demo/code/preproc.py | mverleg/notex_package | 1a918233a7c18434dd9f8b2b3b3aa058f86d86d8 | [
"MIT",
"Unlicense",
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null |
def demo_preproc(rawdoc):
return rawdoc
| 6.428571 | 25 | 0.733333 | 6 | 45 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 45 | 6 | 26 | 7.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d4af22ecf67feeeee7d6a534a41f92c41b569a98 | 116 | py | Python | Python/8437.py | shinjian/Baekjoon | b114b6cc2f51bfcc4a74f2f8d0e86f03f5fa5a88 | [
"MIT"
] | null | null | null | Python/8437.py | shinjian/Baekjoon | b114b6cc2f51bfcc4a74f2f8d0e86f03f5fa5a88 | [
"MIT"
] | null | null | null | Python/8437.py | shinjian/Baekjoon | b114b6cc2f51bfcc4a74f2f8d0e86f03f5fa5a88 | [
"MIT"
] | null | null | null | # Julka - https://www.acmicpc.net/problem/8437
a = int(input())
b = int(input())
print((a+b) // 2)
print((a-b) // 2) | 23.2 | 46 | 0.586207 | 21 | 116 | 3.238095 | 0.619048 | 0.235294 | 0.205882 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 0.12931 | 116 | 5 | 47 | 23.2 | 0.613861 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d4d6032c78420488853e038e3c3f1dfa2d96364a | 268 | py | Python | tests/fixtures/utils.py | not4drugs/messy | e2afbbb3b94cbaecd9d35ed9bd21c33b4142b4f1 | [
"MIT"
] | null | null | null | tests/fixtures/utils.py | not4drugs/messy | e2afbbb3b94cbaecd9d35ed9bd21c33b4142b4f1 | [
"MIT"
] | null | null | null | tests/fixtures/utils.py | not4drugs/messy | e2afbbb3b94cbaecd9d35ed9bd21c33b4142b4f1 | [
"MIT"
] | null | null | null | import pytest
from tests import strategies
from tests.utils import example
@pytest.fixture(scope='function')
def message() -> bytes:
return example(strategies.messages)
@pytest.fixture(scope='function')
def name() -> str:
return example(strategies.names)
| 17.866667 | 39 | 0.746269 | 33 | 268 | 6.060606 | 0.545455 | 0.09 | 0.18 | 0.26 | 0.29 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13806 | 268 | 14 | 40 | 19.142857 | 0.865801 | 0 | 0 | 0.222222 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d4e28d41ac837550f004c098208a9dcc43430e1f | 640 | py | Python | Desafios/desafio108.py | josivantarcio/Desafios-em-Python | c747eed785b9640e15c498262fc5f8f5afd4337e | [
"MIT"
] | null | null | null | Desafios/desafio108.py | josivantarcio/Desafios-em-Python | c747eed785b9640e15c498262fc5f8f5afd4337e | [
"MIT"
] | 1 | 2021-04-23T15:11:11.000Z | 2021-05-21T22:36:56.000Z | Desafios/desafio108.py | josivantarcio/Desafios-em-Python | c747eed785b9640e15c498262fc5f8f5afd4337e | [
"MIT"
] | null | null | null | #Um melhor desenvolvimento deste exercício, está no desafio109.py
from utilidadesCeV import moeda
num = float(input('Digite um valor R$: '))
var = int(input('Variação: '))
print(f'O valor de {moeda.moeda(num)} com acrescimo de {var}% é igual a: {moeda.moeda(moeda.aumentar(num,var))}')
print(f'O valor de {moeda.moeda(nu... | 71.111111 | 113 | 0.714063 | 112 | 640 | 4.080357 | 0.339286 | 0.328228 | 0.131291 | 0.164114 | 0.487965 | 0.411379 | 0.411379 | 0.411379 | 0.293217 | 0.161926 | 0 | 0.005245 | 0.10625 | 640 | 9 | 114 | 71.111111 | 0.793706 | 0.1 | 0 | 0 | 0 | 0.625 | 0.770833 | 0.296875 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.625 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
be063f3ea4b62ef29b889355efae4486920866ce | 36 | py | Python | tests/test_rating.py | tba91/rating | 757cdc6caac2edcaabbde9d9e1bd51b0fdbe8d59 | [
"MIT"
] | null | null | null | tests/test_rating.py | tba91/rating | 757cdc6caac2edcaabbde9d9e1bd51b0fdbe8d59 | [
"MIT"
] | null | null | null | tests/test_rating.py | tba91/rating | 757cdc6caac2edcaabbde9d9e1bd51b0fdbe8d59 | [
"MIT"
] | null | null | null | def test_rating():
assert 1 == 1 | 18 | 18 | 0.611111 | 6 | 36 | 3.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.25 | 36 | 2 | 19 | 18 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be23e955bc1ce6696c38158f85ea10f03548f923 | 23,297 | py | Python | nasws/cnn/policy/darts_policy/genotypes.py | kcyu2014/nas-landmarkreg | a00c3619bf4042e446e1919087f0b09fe9fa3a65 | [
"MIT"
] | 8 | 2021-04-13T01:52:11.000Z | 2022-03-30T03:53:12.000Z | nasws/cnn/policy/darts_policy/genotypes.py | kcyu2014/nas-landmarkreg | a00c3619bf4042e446e1919087f0b09fe9fa3a65 | [
"MIT"
] | 4 | 2021-05-29T01:41:00.000Z | 2021-08-24T09:40:43.000Z | nasws/cnn/policy/darts_policy/genotypes.py | kcyu2014/nas-landmarkreg | a00c3619bf4042e446e1919087f0b09fe9fa3a65 | [
"MIT"
] | null | null | null | from collections import namedtuple
import torch
import ast
Genotype = namedtuple('Genotype', 'normal normal_concat reduce reduce_concat')
PRIMITIVES = [
'none',
'max_pool_3x3',
'avg_pool_3x3',
'skip_connect', # 3 identity
'sep_conv_3x3', # 4
'sep_conv_5x5',
'dil_conv_3x3',
'dil_conv_5x5'
]
NASNet ... | 110.412322 | 4,278 | 0.599476 | 4,431 | 23,297 | 2.83322 | 0.028662 | 0.110961 | 0.079656 | 0.01625 | 0.854867 | 0.814561 | 0.755934 | 0.641947 | 0.553768 | 0.481281 | 0 | 0.151883 | 0.150749 | 23,297 | 210 | 4,279 | 110.938095 | 0.482638 | 0.005838 | 0 | 0.317647 | 0 | 0.117647 | 0.441868 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 1 | 0.058824 | false | 0 | 0.017647 | 0.029412 | 0.141176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07b93e5982da3bb084d3ffdb6bdb7e92e6cbb989 | 14,255 | py | Python | tests/validation/tests/v3_api/test_service_discovery.py | drpebcak/rancher | f78b142ac4b10960213f135dc8cffbec73bd32e5 | [
"Apache-2.0"
] | 6 | 2018-08-15T16:12:38.000Z | 2019-12-17T03:49:13.000Z | tests/validation/tests/v3_api/test_service_discovery.py | VonRosenchild/rancher | 1befa202bf654bfd8506691867e14d0a1f2c5333 | [
"Apache-2.0"
] | 123 | 2018-01-25T21:17:59.000Z | 2021-02-09T13:52:39.000Z | tests/validation/tests/v3_api/test_service_discovery.py | VonRosenchild/rancher | 1befa202bf654bfd8506691867e14d0a1f2c5333 | [
"Apache-2.0"
] | 29 | 2018-01-24T20:07:59.000Z | 2021-01-26T06:09:29.000Z | import os
import pytest
from .common import * # NOQA
RANCHER_CLEANUP_PROJECT = os.environ.get("RANCHER_CLEANUP_PROJECT", "True")
namespace = {"p_client": None, "ns": None, "cluster": None,
"project": None, "testclient_pods": [], "workload": None}
DNS_RESOLUTION_DEFAULT_SECONDS = \
os.environ.get("R... | 33.699764 | 79 | 0.661101 | 1,756 | 14,255 | 5.055239 | 0.085991 | 0.05441 | 0.029965 | 0.034471 | 0.801059 | 0.782359 | 0.750253 | 0.725358 | 0.705306 | 0.693478 | 0 | 0.004977 | 0.224833 | 14,255 | 422 | 80 | 33.779621 | 0.798371 | 0.044265 | 0 | 0.651163 | 0 | 0 | 0.119464 | 0.013683 | 0 | 0 | 0 | 0 | 0.013289 | 1 | 0.069767 | false | 0 | 0.009967 | 0 | 0.086379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07d8cdb2e6cc7076d604c4ee5a8b36cee1d0b922 | 8,665 | py | Python | stubs/m5stack_flowui-v1_4_0-beta/builtins.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/m5stack_flowui-v1_4_0-beta/builtins.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/m5stack_flowui-v1_4_0-beta/builtins.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | """
Module: 'builtins' on M5 FlowUI v1.4.0-beta
"""
# MCU: (sysname='esp32', nodename='esp32', release='1.11.0', version='v1.11-284-g5d8e1c867 on 2019-08-30', machine='ESP32 module with ESP32')
# Stubber: 1.3.1 - updated
from typing import Any
class ArithmeticError(Exception):
""""""
class AssertionError(Except... | 12.204225 | 141 | 0.502135 | 960 | 8,665 | 4.523958 | 0.194792 | 0.209533 | 0.281142 | 0.383376 | 0.62123 | 0.57702 | 0.562284 | 0.542712 | 0.542712 | 0.542712 | 0 | 0.006845 | 0.342412 | 8,665 | 709 | 142 | 12.221439 | 0.755353 | 0.02412 | 0 | 0.676056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002817 | 1 | 0.422535 | false | 0.422535 | 0.005634 | 0 | 0.574648 | 0.002817 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
07f6f9caba196f582205c07af3477a679b8c11d6 | 91,238 | py | Python | dynamocharlotte/dynamo_charlotte_source.py | jc-juarez/dynamocharlotte_ide | 61941fda786034be229dd22ad4b3e38096466e0a | [
"Apache-2.0"
] | 1 | 2021-11-17T22:00:15.000Z | 2021-11-17T22:00:15.000Z | dynamocharlotte/dynamo_charlotte_source.py | JC-Juarez/dynamocharlotte_ide | 61941fda786034be229dd22ad4b3e38096466e0a | [
"Apache-2.0"
] | null | null | null | dynamocharlotte/dynamo_charlotte_source.py | JC-Juarez/dynamocharlotte_ide | 61941fda786034be229dd22ad4b3e38096466e0a | [
"Apache-2.0"
] | null | null | null | # Dynamo Charlotte
# 'dynamo_charlotte_source.py'
# Author: Juan Carlos Juárez
# Version: 1.0.0
# MVP Released Version
# Licensed under MPL 2.0.
# All rights reserved.
import dynamocharlotte.ply.lex as lex
import dynamocharlotte.ply.yacc as yacc
import sys
from collections import deque
from inspect import getframei... | 31.267306 | 219 | 0.612979 | 10,063 | 91,238 | 5.490013 | 0.048196 | 0.073942 | 0.023694 | 0.030265 | 0.764906 | 0.741665 | 0.7276 | 0.714151 | 0.702639 | 0.681081 | 0 | 0.012607 | 0.26969 | 91,238 | 2,917 | 220 | 31.278025 | 0.8165 | 0.146595 | 0 | 0.731841 | 0 | 0.000422 | 0.152391 | 0.002507 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058277 | false | 0 | 0.002956 | 0 | 0.079814 | 0.046875 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07fa4ca684b8d188aac9fb17910297d34300dfdf | 16,118 | py | Python | tensorflow/contrib/boosted_trees/estimator_batch/model.py | PaulWang1905/tensorflow | ebf12d22b4801fb8dab5034cc94562bf7cc33fa0 | [
"Apache-2.0"
] | 9 | 2019-12-29T01:47:37.000Z | 2021-12-21T13:47:41.000Z | tensorflow/contrib/boosted_trees/estimator_batch/model.py | PaulWang1905/tensorflow | ebf12d22b4801fb8dab5034cc94562bf7cc33fa0 | [
"Apache-2.0"
] | 59 | 2019-06-17T09:37:49.000Z | 2022-01-19T01:21:34.000Z | tensorflow/contrib/boosted_trees/estimator_batch/model.py | PaulWang1905/tensorflow | ebf12d22b4801fb8dab5034cc94562bf7cc33fa0 | [
"Apache-2.0"
] | 5 | 2020-12-22T10:17:47.000Z | 2021-05-06T14:14:52.000Z | # Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 38.559809 | 81 | 0.713364 | 2,062 | 16,118 | 5.276431 | 0.14549 | 0.033456 | 0.022978 | 0.01489 | 0.775551 | 0.757813 | 0.74568 | 0.74568 | 0.735938 | 0.735938 | 0 | 0.003158 | 0.214233 | 16,118 | 417 | 82 | 38.652278 | 0.855902 | 0.261323 | 0 | 0.74359 | 0 | 0 | 0.064695 | 0.014064 | 0 | 0 | 0 | 0 | 0.010989 | 1 | 0.014652 | false | 0 | 0.047619 | 0 | 0.102564 | 0.003663 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed2e57317f171e3ac0949d89ce0159c88290621b | 277 | py | Python | timm/loss/__init__.py | jinmingteo/pytorch-image-models | 2aaa8b88ca2b4c8bc24dc0c80b06f03bb1f3d480 | [
"Apache-2.0"
] | null | null | null | timm/loss/__init__.py | jinmingteo/pytorch-image-models | 2aaa8b88ca2b4c8bc24dc0c80b06f03bb1f3d480 | [
"Apache-2.0"
] | null | null | null | timm/loss/__init__.py | jinmingteo/pytorch-image-models | 2aaa8b88ca2b4c8bc24dc0c80b06f03bb1f3d480 | [
"Apache-2.0"
] | null | null | null | from .cross_entropy import LabelSmoothingCrossEntropy, SoftTargetCrossEntropy, WeightedSoftTargetCrossEntropy
from .asymmetric_loss import AsymmetricLossMultiLabel, AsymmetricLossSingleLabel
from .binary_cross_entropy import BinaryCrossEntropy
from .jsd import JsdCrossEntropy
| 55.4 | 109 | 0.906137 | 23 | 277 | 10.73913 | 0.652174 | 0.097166 | 0.145749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068592 | 277 | 4 | 110 | 69.25 | 0.957364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed5b77808fa8e5eb32070d52be9e810aae4dc7ff | 134 | py | Python | ex49/ex49t.py | KhaingNyoThein/python-exercises | 60fa59230a638619e0d9655fea2911563749562e | [
"MIT"
] | null | null | null | ex49/ex49t.py | KhaingNyoThein/python-exercises | 60fa59230a638619e0d9655fea2911563749562e | [
"MIT"
] | null | null | null | ex49/ex49t.py | KhaingNyoThein/python-exercises | 60fa59230a638619e0d9655fea2911563749562e | [
"MIT"
] | 1 | 2018-09-09T04:14:15.000Z | 2018-09-09T04:14:15.000Z | from ex48 import lexicon
print(lexicon.scan("go north"))
print(lexicon.scan("kill the princess"))
print(lexicon.scan("eat the bear"))
| 26.8 | 40 | 0.753731 | 21 | 134 | 4.809524 | 0.619048 | 0.356436 | 0.475248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.089552 | 134 | 4 | 41 | 33.5 | 0.811475 | 0 | 0 | 0 | 0 | 0 | 0.276119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
71eca802a43e6bd0ba127ba1db2659cffee896c2 | 26,178 | py | Python | dipy/align/tests/test_sumsqdiff.py | martcous/dipy | 6bff5655f03db19bde5aa951ffb91987983a889b | [
"MIT"
] | 2 | 2018-07-25T14:04:20.000Z | 2021-02-10T07:10:10.000Z | dipy/align/tests/test_sumsqdiff.py | martcous/dipy | 6bff5655f03db19bde5aa951ffb91987983a889b | [
"MIT"
] | null | null | null | dipy/align/tests/test_sumsqdiff.py | martcous/dipy | 6bff5655f03db19bde5aa951ffb91987983a889b | [
"MIT"
] | 2 | 2018-07-24T21:20:54.000Z | 2018-08-27T04:08:24.000Z | import numpy as np
from dipy.align import floating
from dipy.align import sumsqdiff as ssd
from numpy.testing import (assert_equal,
assert_almost_equal,
assert_array_almost_equal,
assert_allclose)
def iterate_residual_field_ssd_2d(delta_... | 34.444737 | 87 | 0.545649 | 3,802 | 26,178 | 3.61757 | 0.084692 | 0.027992 | 0.004362 | 0.016286 | 0.908972 | 0.873564 | 0.845499 | 0.82187 | 0.816054 | 0.80333 | 0 | 0.041496 | 0.319696 | 26,178 | 759 | 88 | 34.490119 | 0.73081 | 0.226106 | 0 | 0.698969 | 0 | 0 | 0.0004 | 0 | 0 | 0 | 0 | 0 | 0.035052 | 1 | 0.020619 | false | 0 | 0.008247 | 0 | 0.028866 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c194bec901f6706012295b791c85744ef81d10d | 92 | py | Python | button/BaseButton.py | Oisins/PygameCommons | a4a1eac2dcfeb5a285e9603e2cc9c1c50a2b3d73 | [
"BSD-2-Clause"
] | null | null | null | button/BaseButton.py | Oisins/PygameCommons | a4a1eac2dcfeb5a285e9603e2cc9c1c50a2b3d73 | [
"BSD-2-Clause"
] | null | null | null | button/BaseButton.py | Oisins/PygameCommons | a4a1eac2dcfeb5a285e9603e2cc9c1c50a2b3d73 | [
"BSD-2-Clause"
] | null | null | null | class BaseButton:
def __init__(self):
pass
def onclick(self):
pass
| 13.142857 | 23 | 0.565217 | 10 | 92 | 4.8 | 0.7 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.358696 | 92 | 6 | 24 | 15.333333 | 0.813559 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
9c24f648578a60553e02a72c321451ba0fb32fd0 | 79 | py | Python | teller/utils/deepcopy.py | Techtonique/teller | 3571353b843179335e3995a0128d4a0c54c2b905 | [
"BSD-3-Clause-Clear"
] | 5 | 2021-07-14T11:57:36.000Z | 2022-03-26T19:47:54.000Z | teller/utils/deepcopy.py | Techtonique/teller | 3571353b843179335e3995a0128d4a0c54c2b905 | [
"BSD-3-Clause-Clear"
] | 1 | 2021-12-21T17:53:37.000Z | 2022-01-26T11:36:32.000Z | teller/utils/deepcopy.py | Techtonique/teller | 3571353b843179335e3995a0128d4a0c54c2b905 | [
"BSD-3-Clause-Clear"
] | 1 | 2021-12-21T17:51:00.000Z | 2021-12-21T17:51:00.000Z | import pickle
def deepcopy(x):
return pickle.loads(pickle.dumps(x, -1))
| 11.285714 | 44 | 0.683544 | 12 | 79 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.177215 | 79 | 6 | 45 | 13.166667 | 0.815385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9c40329f366dbfc1dd9b247b89deb3018359d283 | 138 | py | Python | dbindexer/middleware.py | elreydetoda/feedsanitizer | 81a7cfc3f3d1312cd8c236b3e8cc9e84b0d72932 | [
"MIT"
] | 2 | 2019-03-10T03:34:14.000Z | 2020-06-09T22:53:32.000Z | dbindexer/middleware.py | elreydetoda/feedsanitizer | 81a7cfc3f3d1312cd8c236b3e8cc9e84b0d72932 | [
"MIT"
] | null | null | null | dbindexer/middleware.py | elreydetoda/feedsanitizer | 81a7cfc3f3d1312cd8c236b3e8cc9e84b0d72932 | [
"MIT"
] | 1 | 2020-10-16T04:11:58.000Z | 2020-10-16T04:11:58.000Z | from . import models
class DBIndexerMiddleware(object):
"""Empty because the import above already does everything for us"""
pass
| 23 | 71 | 0.73913 | 17 | 138 | 6 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 138 | 5 | 72 | 27.6 | 0.910714 | 0.442029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9c5e8e585e81626a8e160551ebdfe450ef57649e | 3,673 | py | Python | tests/unit/service/test_resource_manager.py | firebolt-db/firebolt-python-sdk | 35154a5ce070e71138d8573ce4c97891e212a939 | [
"Apache-2.0"
] | 4 | 2022-01-29T19:21:52.000Z | 2022-03-25T20:48:14.000Z | tests/unit/service/test_resource_manager.py | firebolt-db/firebolt-python-sdk | 35154a5ce070e71138d8573ce4c97891e212a939 | [
"Apache-2.0"
] | 92 | 2021-11-19T18:15:15.000Z | 2022-03-30T11:52:06.000Z | tests/unit/service/test_resource_manager.py | firebolt-db/firebolt-python-sdk | 35154a5ce070e71138d8573ce4c97891e212a939 | [
"Apache-2.0"
] | 6 | 2021-11-22T22:04:20.000Z | 2022-02-18T15:30:23.000Z | from typing import Callable
from pyfakefs.fake_filesystem_unittest import Patcher
from pytest import mark
from pytest_httpx import HTTPXMock
from firebolt.client.auth import Token, UsernamePassword
from firebolt.common.settings import Settings
from firebolt.service.manager import ResourceManager
from firebolt.utils.t... | 31.93913 | 84 | 0.71413 | 435 | 3,673 | 5.747126 | 0.17931 | 0.036 | 0.0384 | 0.048 | 0.7516 | 0.7428 | 0.7092 | 0.7044 | 0.7044 | 0.7044 | 0 | 0 | 0.204737 | 3,673 | 114 | 85 | 32.219298 | 0.855871 | 0.04465 | 0 | 0.652174 | 0 | 0 | 0.027158 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 1 | 0.021739 | false | 0.086957 | 0.086957 | 0 | 0.108696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
92de8f8674e3d4d9dd2fb48267943264c92e0678 | 4,887 | py | Python | tests/test_direct_lingam.py | Losaexellos/LiNGAM | 3c8fb456788467e5bb0a6e71a669a6804ca04fad | [
"MIT"
] | null | null | null | tests/test_direct_lingam.py | Losaexellos/LiNGAM | 3c8fb456788467e5bb0a6e71a669a6804ca04fad | [
"MIT"
] | 10 | 2020-05-30T18:51:17.000Z | 2020-11-25T16:38:07.000Z | tests/test_direct_lingam.py | Losaexellos/LiNGAM | 3c8fb456788467e5bb0a6e71a669a6804ca04fad | [
"MIT"
] | 6 | 2021-12-03T04:02:21.000Z | 2022-03-30T19:22:02.000Z | import os
import numpy as np
import pandas as pd
from lingam.direct_lingam import DirectLiNGAM
def test_fit_success():
# causal direction: x0 --> x1 --> x3
x0 = np.random.uniform(size=1000)
x1 = 2.0*x0 + np.random.uniform(size=1000)
x2 = np.random.uniform(size=1000)
x3 = 4.0*x1 + np.random.unifo... | 24.681818 | 64 | 0.529773 | 721 | 4,887 | 3.536755 | 0.122053 | 0.031373 | 0.025882 | 0.126667 | 0.814902 | 0.789804 | 0.746275 | 0.708235 | 0.669804 | 0.637647 | 0 | 0.091467 | 0.299775 | 4,887 | 197 | 65 | 24.807107 | 0.653711 | 0.096378 | 0 | 0.718121 | 0 | 0 | 0.00932 | 0 | 0 | 0 | 0 | 0 | 0.127517 | 1 | 0.026846 | false | 0.033557 | 0.026846 | 0 | 0.053691 | 0.020134 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
92e5843b5ae7815f4c0246783b4418dee5186fc7 | 31 | py | Python | pythran/tests/user_defined_import/tiny_project/csts.py | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,647 | 2015-01-13T01:45:38.000Z | 2022-03-28T01:23:41.000Z | pythran/tests/user_defined_import/tiny_project/csts.py | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,116 | 2015-01-01T09:52:05.000Z | 2022-03-18T21:06:40.000Z | pythran/tests/user_defined_import/tiny_project/csts.py | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 180 | 2015-02-12T02:47:28.000Z | 2022-03-14T10:28:18.000Z | def return_cst():
return 1
| 10.333333 | 17 | 0.645161 | 5 | 31 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.258065 | 31 | 2 | 18 | 15.5 | 0.782609 | 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 | 0 | 0 | 0 | 6 |
92ef60ebfffd59a8aeba7a2ab08dd37df9d7ec77 | 106,881 | py | Python | cirq-google/cirq_google/engine/client/quantum_v1alpha1/gapic/quantum_engine_service_client.py | Saibaba-Alapati/Cirq | 782efcd04c3bbf73a0d630306a3d1cfd9966521d | [
"Apache-2.0"
] | 3,326 | 2018-07-18T23:17:21.000Z | 2022-03-29T22:28:24.000Z | cirq-google/cirq_google/engine/client/quantum_v1alpha1/gapic/quantum_engine_service_client.py | resduo/Cirq | 680f897345eb1c71c9242515edda8f04b8594319 | [
"Apache-2.0"
] | 3,443 | 2018-07-18T21:07:28.000Z | 2022-03-31T20:23:21.000Z | cirq-google/cirq_google/engine/client/quantum_v1alpha1/gapic/quantum_engine_service_client.py | resduo/Cirq | 680f897345eb1c71c9242515edda8f04b8594319 | [
"Apache-2.0"
] | 865 | 2018-07-18T23:30:24.000Z | 2022-03-30T11:43:23.000Z | # -*- coding: utf-8 -*-
#
# Copyright 2020 The Cirq Developers
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 42.599043 | 182 | 0.602801 | 11,170 | 106,881 | 5.580125 | 0.039391 | 0.036965 | 0.053393 | 0.034365 | 0.877876 | 0.859779 | 0.834205 | 0.815931 | 0.811455 | 0.782577 | 0 | 0.00544 | 0.318962 | 106,881 | 2,508 | 183 | 42.616029 | 0.850859 | 0.439723 | 0 | 0.629568 | 0 | 0 | 0.073473 | 0.040552 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024917 | false | 0.022425 | 0.019934 | 0 | 0.068937 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
92f611ed89436c858537166291a7b77861e119fd | 6,718 | py | Python | models/backbones/resnet_backbone.py | Xlinford/CCT | 61a1aa9239f9062da1af3b2f6ff021f9378f7bf8 | [
"MIT"
] | null | null | null | models/backbones/resnet_backbone.py | Xlinford/CCT | 61a1aa9239f9062da1af3b2f6ff021f9378f7bf8 | [
"MIT"
] | null | null | null | models/backbones/resnet_backbone.py | Xlinford/CCT | 61a1aa9239f9062da1af3b2f6ff021f9378f7bf8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author: Donny You(youansheng@gmail.com)
import torch.nn as nn
from models.backbones.resnet_models import *
class NormalResnetBackbone(nn.Module):
def __init__(self, orig_resnet):
super(NormalResnetBackbone, self).__init__()
self.num_features = 2048... | 36.51087 | 98 | 0.654659 | 771 | 6,718 | 5.453956 | 0.150454 | 0.116528 | 0.085612 | 0.096314 | 0.814031 | 0.811415 | 0.798573 | 0.728894 | 0.705826 | 0.691558 | 0 | 0.037266 | 0.253052 | 6,718 | 183 | 99 | 36.710383 | 0.800717 | 0.032599 | 0 | 0.661871 | 0 | 0 | 0.072089 | 0.040819 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057554 | false | 0 | 0.028777 | 0.014388 | 0.136691 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
131c88c255cc364595afb777874a59dfbd33e0f1 | 3,678 | py | Python | tests/rl/agents/test_dqn.py | sheecegardezi/keras-rl | 4b673771bff47cc84d5e4a4088c6575ecce963af | [
"MIT"
] | null | null | null | tests/rl/agents/test_dqn.py | sheecegardezi/keras-rl | 4b673771bff47cc84d5e4a4088c6575ecce963af | [
"MIT"
] | null | null | null | tests/rl/agents/test_dqn.py | sheecegardezi/keras-rl | 4b673771bff47cc84d5e4a4088c6575ecce963af | [
"MIT"
] | null | null | null | from __future__ import division
import pytest
import numpy as np
from numpy.testing import assert_allclose
from keras.models import Model
from keras.layers import Input, merge
from rl.agents.dqn import NAFLayer
def test_naf_layer_full():
batch_size = 2
for nb_actions in (1, 3):
# Construct single mo... | 45.407407 | 111 | 0.643013 | 554 | 3,678 | 4.059567 | 0.207581 | 0.11205 | 0.039129 | 0.064028 | 0.836372 | 0.825256 | 0.794131 | 0.777234 | 0.777234 | 0.777234 | 0 | 0.012721 | 0.23056 | 3,678 | 80 | 112 | 45.975 | 0.781979 | 0.192768 | 0 | 0.481481 | 0 | 0 | 0.039581 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.037037 | false | 0 | 0.12963 | 0 | 0.166667 | 0.018519 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13489cd36d95fed2e436419ab7516b8b4129fec8 | 17,602 | py | Python | src/cms/api/views/page.py | UniversitaDellaCalabria/uniCMS | b0af4e1a767867f0a9b3c135a5c84587e713cb71 | [
"Apache-2.0"
] | 6 | 2021-01-26T17:22:53.000Z | 2022-02-15T10:09:03.000Z | src/cms/api/views/page.py | UniversitaDellaCalabria/uniCMS | b0af4e1a767867f0a9b3c135a5c84587e713cb71 | [
"Apache-2.0"
] | 5 | 2020-12-24T14:29:23.000Z | 2021-08-10T10:32:18.000Z | src/cms/api/views/page.py | UniversitaDellaCalabria/uniCMS | b0af4e1a767867f0a9b3c135a5c84587e713cb71 | [
"Apache-2.0"
] | 2 | 2020-12-24T14:13:39.000Z | 2020-12-30T16:48:52.000Z | from django.contrib.contenttypes.models import ContentType
from django.http import Http404
from django.shortcuts import get_object_or_404
from django_filters.rest_framework import DjangoFilterBackend
from rest_framework import filters, generics
from rest_framework.permissions import IsAdminUser
from rest_framework.re... | 39.115556 | 101 | 0.598568 | 1,797 | 17,602 | 5.559822 | 0.094602 | 0.024622 | 0.079271 | 0.088079 | 0.741067 | 0.732059 | 0.727154 | 0.714643 | 0.702632 | 0.67831 | 0 | 0.006229 | 0.315987 | 17,602 | 449 | 102 | 39.202673 | 0.823588 | 0.029713 | 0 | 0.727003 | 0 | 0 | 0.024457 | 0.002842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083086 | false | 0 | 0.059347 | 0.017804 | 0.362018 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1348c516268e66fb67cbac39418f29d20a8f854a | 8,820 | py | Python | tests/conftest.py | haysengithub/climate_indices | 057190526b083fdd867bcae24cf458305cec63d2 | [
"BSD-3-Clause"
] | null | null | null | tests/conftest.py | haysengithub/climate_indices | 057190526b083fdd867bcae24cf458305cec63d2 | [
"BSD-3-Clause"
] | null | null | null | tests/conftest.py | haysengithub/climate_indices | 057190526b083fdd867bcae24cf458305cec63d2 | [
"BSD-3-Clause"
] | null | null | null | import os
import numpy as np
import pytest
# constants
# start and end year of the monthly precipitation, temperature, and PET datasets
_DATA_YEAR_START_MONTHLY = 1895
_DATA_YEAR_END_MONTHLY = 2017
# start and end year of the calibration periods
# used by SPI/SPEI Pearson calculations
_CALIBRATION_YEAR_START_MONTHLY... | 22.216625 | 88 | 0.697846 | 1,234 | 8,820 | 4.667747 | 0.101297 | 0.079167 | 0.159375 | 0.2125 | 0.824826 | 0.820139 | 0.779688 | 0.636285 | 0.493056 | 0.453299 | 0 | 0.014963 | 0.151361 | 8,820 | 396 | 89 | 22.272727 | 0.754576 | 0.089229 | 0 | 0.36087 | 0 | 0 | 0.150652 | 0.009282 | 0 | 0 | 0 | 0 | 0 | 1 | 0.221739 | false | 0 | 0.013043 | 0.213043 | 0.456522 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
134b07e080b8105f3e6a2e3bf42af40c0d33c13a | 22 | py | Python | monero/wordlists/__init__.py | cryptochangements34/monero-python | 4316cfa296f13bdbe028f1912d7dfe6c2c34000e | [
"BSD-3-Clause"
] | null | null | null | monero/wordlists/__init__.py | cryptochangements34/monero-python | 4316cfa296f13bdbe028f1912d7dfe6c2c34000e | [
"BSD-3-Clause"
] | null | null | null | monero/wordlists/__init__.py | cryptochangements34/monero-python | 4316cfa296f13bdbe028f1912d7dfe6c2c34000e | [
"BSD-3-Clause"
] | null | null | null | from . import english
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
13750b2df5390feb0033552d10fcb033df907e79 | 10,453 | py | Python | tests/test_splits.py | wolass/taskwiki | 1bfcc3d6f77aac65f4d5f1da80a9b47b65b05120 | [
"MIT"
] | 465 | 2015-03-27T09:42:18.000Z | 2020-07-18T20:35:19.000Z | tests/test_splits.py | wolass/taskwiki | 1bfcc3d6f77aac65f4d5f1da80a9b47b65b05120 | [
"MIT"
] | 272 | 2015-01-10T20:38:02.000Z | 2020-07-16T12:55:15.000Z | tests/test_splits.py | wolass/taskwiki | 1bfcc3d6f77aac65f4d5f1da80a9b47b65b05120 | [
"MIT"
] | 66 | 2015-03-21T16:33:39.000Z | 2020-07-12T09:20:29.000Z | import re
from tests.base import IntegrationTest
from tasklib import local_zone
from datetime import datetime
def current_year():
return local_zone.localize(datetime.now()).year
def current_month():
current_month_number = local_zone.localize(datetime.now()).month
months = ["January", "February", "March... | 36.16955 | 104 | 0.62671 | 1,224 | 10,453 | 5.321078 | 0.134804 | 0.094427 | 0.04514 | 0.039152 | 0.811147 | 0.799017 | 0.780593 | 0.754645 | 0.754645 | 0.754645 | 0 | 0.008473 | 0.209605 | 10,453 | 288 | 105 | 36.295139 | 0.779835 | 0.01215 | 0 | 0.625616 | 0 | 0 | 0.225828 | 0.059775 | 0 | 0 | 0 | 0 | 0.236453 | 1 | 0.078818 | false | 0 | 0.019704 | 0.004926 | 0.221675 | 0.078818 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13ab07b633f139ff6a09d81b4040e490bd4bbef5 | 5,303 | py | Python | model/fcn_mobile.py | onlyNata/segModel | 7a823e096b3ed7f554a331c5fba39e24c9e0d8bf | [
"MIT"
] | 3 | 2018-07-02T06:15:36.000Z | 2019-06-10T06:26:18.000Z | model/fcn_mobile.py | onlyNata/segModel | 7a823e096b3ed7f554a331c5fba39e24c9e0d8bf | [
"MIT"
] | null | null | null | model/fcn_mobile.py | onlyNata/segModel | 7a823e096b3ed7f554a331c5fba39e24c9e0d8bf | [
"MIT"
] | 1 | 2018-10-19T08:07:59.000Z | 2018-10-19T08:07:59.000Z | # -*- coding: utf-8 -*-
"""
Created on Thu Jun 21 18:26:25 2018
@author: LiHongWang
"""
import tensorflow as tf
from nets import mobilenet_v1
from nets.mobilenet import mobilenet_v2
slim = tf.contrib.slim
#%%
def get_init_fn_v1():
"""Returns a function run by the chief worker to warm-start the t... | 33.99359 | 121 | 0.549689 | 619 | 5,303 | 4.476575 | 0.224556 | 0.045471 | 0.068567 | 0.025983 | 0.824973 | 0.81559 | 0.814868 | 0.790328 | 0.790328 | 0.790328 | 0 | 0.06488 | 0.33151 | 5,303 | 156 | 122 | 33.99359 | 0.716784 | 0.319253 | 0 | 0.52459 | 0 | 0 | 0.095785 | 0.047745 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065574 | false | 0 | 0.04918 | 0 | 0.180328 | 0.04918 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13bb8d32994f533657f2ebeb9d7235d743a8036a | 6,578 | py | Python | sympy/functions/special/mathieu_functions.py | utkarshdeorah/sympy | dcdf59bbc6b13ddbc329431adf72fcee294b6389 | [
"BSD-3-Clause"
] | 8,323 | 2015-01-02T15:51:43.000Z | 2022-03-31T13:13:19.000Z | sympy/functions/special/mathieu_functions.py | utkarshdeorah/sympy | dcdf59bbc6b13ddbc329431adf72fcee294b6389 | [
"BSD-3-Clause"
] | 15,102 | 2015-01-01T01:33:17.000Z | 2022-03-31T22:53:13.000Z | sympy/functions/special/mathieu_functions.py | utkarshdeorah/sympy | dcdf59bbc6b13ddbc329431adf72fcee294b6389 | [
"BSD-3-Clause"
] | 4,490 | 2015-01-01T17:48:07.000Z | 2022-03-31T17:24:05.000Z | """ This module contains the Mathieu functions.
"""
from sympy.core.function import Function, ArgumentIndexError
from sympy.functions.elementary.miscellaneous import sqrt
from sympy.functions.elementary.trigonometric import sin, cos
class MathieuBase(Function):
"""
Abstract base class for Mathieu functions.
... | 24.362963 | 84 | 0.584372 | 869 | 6,578 | 4.393556 | 0.121979 | 0.021477 | 0.032216 | 0.012572 | 0.810372 | 0.786276 | 0.774489 | 0.745155 | 0.745155 | 0.694081 | 0 | 0.01244 | 0.266798 | 6,578 | 269 | 85 | 24.453532 | 0.779183 | 0.587717 | 0 | 0.640625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.140625 | false | 0 | 0.046875 | 0 | 0.484375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13c05d793b8b68769697b46c0b355a70df677081 | 27 | py | Python | temp.py | saivenkat288/goCD-Test | 54cbc274f37d7ef8ecd9de608789ef89a8fb3fa4 | [
"Apache-2.0"
] | 1 | 2021-08-09T10:17:13.000Z | 2021-08-09T10:17:13.000Z | temp.py | saivenkat288/goCD-Test | 54cbc274f37d7ef8ecd9de608789ef89a8fb3fa4 | [
"Apache-2.0"
] | null | null | null | temp.py | saivenkat288/goCD-Test | 54cbc274f37d7ef8ecd9de608789ef89a8fb3fa4 | [
"Apache-2.0"
] | null | null | null | print("la lslqwmdiwdnwdn")
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 27 | 1 | 27 | 27 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b913abc229e7fd799b07ce19ccab8325efa4008c | 30,111 | py | Python | nusa/model.py | Bartman00/nusa | 472180c350d8940bf025f54b5b362e6dab280417 | [
"MIT"
] | null | null | null | nusa/model.py | Bartman00/nusa | 472180c350d8940bf025f54b5b362e6dab280417 | [
"MIT"
] | null | null | null | nusa/model.py | Bartman00/nusa | 472180c350d8940bf025f54b5b362e6dab280417 | [
"MIT"
] | null | null | null | # ***********************************
# Author: Pedro Jorge De Los Santos
# E-mail: delossantosmfq@gmail.com
# Blog: numython.github.io
# License: MIT License
# ***********************************
import re
import numpy as np
import numpy.linalg as la
import nusa.templates as tmp
from .core import Model
#~ *... | 36.498182 | 83 | 0.495467 | 4,436 | 30,111 | 3.259017 | 0.073715 | 0.038597 | 0.032925 | 0.018884 | 0.839386 | 0.817113 | 0.772498 | 0.739918 | 0.721242 | 0.697033 | 0 | 0.036091 | 0.322739 | 30,111 | 824 | 84 | 36.542476 | 0.672829 | 0.074657 | 0 | 0.677725 | 0 | 0 | 0.016162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097946 | false | 0.00316 | 0.034755 | 0 | 0.161137 | 0.00158 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9155e11936564759f4af3de18f7be28f63fd252 | 168 | py | Python | tests/tests/__init__.py | nttks/django-pipeline | 3be7a731e8f1494c3eb74c9757b0990dbf535008 | [
"MIT"
] | null | null | null | tests/tests/__init__.py | nttks/django-pipeline | 3be7a731e8f1494c3eb74c9757b0990dbf535008 | [
"MIT"
] | null | null | null | tests/tests/__init__.py | nttks/django-pipeline | 3be7a731e8f1494c3eb74c9757b0990dbf535008 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 flake8: noqa -*-
from compiler import *
from compressor import *
from glob import *
from packager import *
from storage import *
from utils import * | 24 | 36 | 0.72619 | 23 | 168 | 5.304348 | 0.565217 | 0.409836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.178571 | 168 | 7 | 37 | 24 | 0.869565 | 0.202381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b92f9849c1221c314420968440a415413a928602 | 9,182 | py | Python | autolens/plot/ray_tracing_plots.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | 1 | 2020-04-06T20:07:56.000Z | 2020-04-06T20:07:56.000Z | autolens/plot/ray_tracing_plots.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | null | null | null | autolens/plot/ray_tracing_plots.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | null | null | null | from autoarray.plot import plotters
from autoarray.plot import mat_objs
from autoastro.plot import lensing_plotters
from autolens.plot import plane_plots
@lensing_plotters.set_include_and_sub_plotter
@plotters.set_subplot_filename
def subplot_tracer(tracer, grid, positions=None, include=None, sub_plotter=None):
"... | 31.993031 | 126 | 0.711936 | 1,149 | 9,182 | 5.362054 | 0.104439 | 0.050641 | 0.037332 | 0.059731 | 0.863983 | 0.84905 | 0.839799 | 0.839799 | 0.824379 | 0.809933 | 0 | 0.002341 | 0.208996 | 9,182 | 286 | 127 | 32.104895 | 0.845931 | 0.135047 | 0 | 0.589744 | 0 | 0 | 0.001531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046154 | false | 0 | 0.020513 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b936b563df68457094c41ef9765baddf60be71e9 | 64,087 | py | Python | ansible_runner/interface.py | valbendan/ansible-runner | a3a7d1f003996fe7c757436b021d54f4a84aa4c6 | [
"Apache-2.0"
] | null | null | null | ansible_runner/interface.py | valbendan/ansible-runner | a3a7d1f003996fe7c757436b021d54f4a84aa4c6 | [
"Apache-2.0"
] | null | null | null | ansible_runner/interface.py | valbendan/ansible-runner | a3a7d1f003996fe7c757436b021d54f4a84aa4c6 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2016 Ansible by Red Hat, Inc.
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache Licen... | 66.48029 | 159 | 0.718336 | 8,888 | 64,087 | 5.069082 | 0.059743 | 0.009056 | 0.019887 | 0.017712 | 0.836862 | 0.828406 | 0.821326 | 0.813601 | 0.806432 | 0.803014 | 0 | 0.000419 | 0.217376 | 64,087 | 963 | 160 | 66.549325 | 0.897859 | 0.76134 | 0 | 0.580247 | 0 | 0 | 0.075127 | 0.002187 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057613 | false | 0.00823 | 0.057613 | 0 | 0.185185 | 0.004115 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b93921a7a279e00a441c4f2868b531ba8f4baabe | 12,868 | py | Python | tests/unit/v2/test_signature_is_valid.py | redhat-cip/python-dciauth | 5f2970678a3a10f2354dd9c50fac1e4fe55c9957 | [
"Apache-2.0"
] | null | null | null | tests/unit/v2/test_signature_is_valid.py | redhat-cip/python-dciauth | 5f2970678a3a10f2354dd9c50fac1e4fe55c9957 | [
"Apache-2.0"
] | null | null | null | tests/unit/v2/test_signature_is_valid.py | redhat-cip/python-dciauth | 5f2970678a3a10f2354dd9c50fac1e4fe55c9957 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2017 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the 'License'); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | 43.326599 | 277 | 0.673065 | 1,369 | 12,868 | 6.195033 | 0.17531 | 0.023346 | 0.042448 | 0.050937 | 0.829855 | 0.818889 | 0.786582 | 0.786582 | 0.775852 | 0.747789 | 0 | 0.170581 | 0.192726 | 12,868 | 296 | 278 | 43.472973 | 0.645841 | 0.045772 | 0 | 0.603922 | 0 | 0.043137 | 0.524505 | 0.348936 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.047059 | false | 0 | 0.015686 | 0 | 0.062745 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b950a9a0ecc0950a07e5bddee8b51d6de01b55d7 | 33,220 | py | Python | mayan/apps/metadata/tests/test_views.py | darrenflexxu/Mayan-EDMS | 6707365bfacd137e625ddc1b990168012246fa07 | [
"Apache-2.0"
] | null | null | null | mayan/apps/metadata/tests/test_views.py | darrenflexxu/Mayan-EDMS | 6707365bfacd137e625ddc1b990168012246fa07 | [
"Apache-2.0"
] | 5 | 2021-03-19T22:59:52.000Z | 2022-03-12T00:13:16.000Z | mayan/apps/metadata/tests/test_views.py | Sumit-Kumar-Jha/mayan | 5b7ddeccf080b9e41cc1074c70e27dfe447be19f | [
"Apache-2.0"
] | 1 | 2020-07-29T21:03:27.000Z | 2020-07-29T21:03:27.000Z | from __future__ import unicode_literals
from furl import furl
from django.urls import reverse
from mayan.apps.common.settings import setting_home_view
from mayan.apps.common.tests.base import GenericViewTestCase
from mayan.apps.documents.models import DocumentType
from mayan.apps.documents.permissions import (
p... | 35.079197 | 95 | 0.674925 | 3,603 | 33,220 | 5.786567 | 0.044685 | 0.141973 | 0.111276 | 0.043168 | 0.911794 | 0.891793 | 0.868819 | 0.838362 | 0.819847 | 0.790925 | 0 | 0.01049 | 0.251054 | 33,220 | 946 | 96 | 35.116279 | 0.827492 | 0.013697 | 0 | 0.648074 | 0 | 0 | 0.022167 | 0.010045 | 0 | 0 | 0 | 0 | 0.123506 | 1 | 0.065073 | false | 0 | 0.017264 | 0 | 0.088977 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b963a7c5c683cbeafbaa2e8009b23efbc1ddd754 | 319 | py | Python | autofunccli/__init__.py | CuadrosNicolas/Python-Command-Function | 6f9c050a57b2849823f31831186ee2d9bf4bb975 | [
"MIT"
] | null | null | null | autofunccli/__init__.py | CuadrosNicolas/Python-Command-Function | 6f9c050a57b2849823f31831186ee2d9bf4bb975 | [
"MIT"
] | null | null | null | autofunccli/__init__.py | CuadrosNicolas/Python-Command-Function | 6f9c050a57b2849823f31831186ee2d9bf4bb975 | [
"MIT"
] | null | null | null | from .analysis import FunctionArgParser as cmdfunc
from .analysis import UnsupportedTypeException
from .analysis import WrongInputTypeException
from .analysis import NonHomogenousEnumTypeException
from .analysis import EnumHasNoTypeException
from .analysis import IsNotAFunctionException
from .cmdclass import cmdfusion | 45.571429 | 52 | 0.887147 | 30 | 319 | 9.433333 | 0.433333 | 0.254417 | 0.381625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 319 | 7 | 53 | 45.571429 | 0.975862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9818b00b3f97b24423a19d806476930627a5946 | 2,117 | py | Python | usaspending_api/agency/tests/integration/test_subcomponents.py | ststuck/usaspending-api | b13bd5bcba0369ff8512f61a34745626c3969391 | [
"CC0-1.0"
] | 217 | 2016-11-03T17:09:53.000Z | 2022-03-10T04:17:54.000Z | usaspending_api/agency/tests/integration/test_subcomponents.py | ststuck/usaspending-api | b13bd5bcba0369ff8512f61a34745626c3969391 | [
"CC0-1.0"
] | 622 | 2016-09-02T19:18:23.000Z | 2022-03-29T17:11:01.000Z | usaspending_api/agency/tests/integration/test_subcomponents.py | ststuck/usaspending-api | b13bd5bcba0369ff8512f61a34745626c3969391 | [
"CC0-1.0"
] | 93 | 2016-09-07T20:28:57.000Z | 2022-02-25T00:25:27.000Z | import pytest
from rest_framework import status
url = "/api/v2/agency/{toptier_code}/sub_components/{filter}"
@pytest.mark.django_db
def test_success(client, bureau_data, helpers):
resp = client.get(url.format(toptier_code="001", filter=f"?fiscal_year={helpers.get_mocked_current_fiscal_year()}"))
expected_... | 31.132353 | 120 | 0.645725 | 271 | 2,117 | 4.774908 | 0.239852 | 0.07728 | 0.086553 | 0.108192 | 0.81762 | 0.81762 | 0.7983 | 0.772798 | 0.772798 | 0.738022 | 0 | 0.053907 | 0.220123 | 2,117 | 67 | 121 | 31.597015 | 0.729861 | 0 | 0 | 0.509434 | 0 | 0 | 0.223429 | 0.086443 | 0 | 0 | 0 | 0 | 0.188679 | 1 | 0.075472 | false | 0 | 0.037736 | 0 | 0.113208 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b984e00036ac9bb139b2880c56aeb406314aacd1 | 136 | py | Python | examples/A_helloworld/this_test_wont_run.py | David-Lor/pytest-talk-examples | 332162b0feada2c9b24b586edbcd3a8b2e9aac4e | [
"Apache-2.0"
] | null | null | null | examples/A_helloworld/this_test_wont_run.py | David-Lor/pytest-talk-examples | 332162b0feada2c9b24b586edbcd3a8b2e9aac4e | [
"Apache-2.0"
] | 1 | 2020-02-27T08:24:25.000Z | 2020-02-28T18:37:49.000Z | examples/A_helloworld/this_test_wont_run.py | David-Lor/pytest-talk-examples | 332162b0feada2c9b24b586edbcd3a8b2e9aac4e | [
"Apache-2.0"
] | null | null | null | """TEST that will not run, because the filename does not start with 'test_'"""
def test_what_will_not_run():
assert True is False
| 22.666667 | 78 | 0.727941 | 23 | 136 | 4.086957 | 0.73913 | 0.148936 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183824 | 136 | 5 | 79 | 27.2 | 0.846847 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b996c17656ec9b46727cab504f3b11d955d29691 | 25 | py | Python | audiogrep/__init__.py | olliepalmer/audiogrep-experiments | 7002ada286b1178055ab226a81d08279a089dabb | [
"MIT"
] | 982 | 2015-02-22T02:08:20.000Z | 2022-03-23T08:57:06.000Z | audiogrep/__init__.py | olliepalmer/audiogrep-experiments | 7002ada286b1178055ab226a81d08279a089dabb | [
"MIT"
] | 29 | 2015-02-27T15:09:39.000Z | 2020-10-21T22:29:58.000Z | audiogrep/__init__.py | olliepalmer/audiogrep-experiments | 7002ada286b1178055ab226a81d08279a089dabb | [
"MIT"
] | 79 | 2015-02-22T09:05:36.000Z | 2022-03-06T09:21:25.000Z | from .audiogrep import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9bac5aaf2504c256f14342a196f464b4b994ced | 11,179 | py | Python | tests/layer_tests/onnx_tests/test_split_concat.py | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 2,406 | 2020-04-22T15:47:54.000Z | 2022-03-31T10:27:37.000Z | tests/layer_tests/onnx_tests/test_split_concat.py | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 4,948 | 2020-04-22T15:12:39.000Z | 2022-03-31T18:45:42.000Z | tests/layer_tests/onnx_tests/test_split_concat.py | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 991 | 2020-04-23T18:21:09.000Z | 2022-03-31T18:40:57.000Z | # Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import pytest
from common.onnx_layer_test_class import Caffe2OnnxLayerTest
test_data_3D = [
dict(input_shape=[1, 50, 50], output_shapes=[[1, 50, 25], [1, 50, 25]], axis=2),
dict(input_shape=[2, 50, 50], output_shapes=[[2, 20, ... | 36.295455 | 117 | 0.586993 | 1,406 | 11,179 | 4.410384 | 0.096017 | 0.056604 | 0.049347 | 0.055152 | 0.829705 | 0.811159 | 0.790679 | 0.787615 | 0.769231 | 0.751814 | 0 | 0.050133 | 0.291618 | 11,179 | 307 | 118 | 36.413681 | 0.732921 | 0.113874 | 0 | 0.615385 | 0 | 0 | 0.041286 | 0 | 0 | 0 | 0 | 0.009772 | 0 | 1 | 0.061538 | false | 0 | 0.061538 | 0 | 0.148718 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9e796aa323c148b547eedf3fa231489b3b35a44 | 5,560 | py | Python | unit_tests/test_di.py | fensta/bracid2019 | ad9bf0b4e44c19f66c1597e857ef6cf70f56a646 | [
"MIT"
] | null | null | null | unit_tests/test_di.py | fensta/bracid2019 | ad9bf0b4e44c19f66c1597e857ef6cf70f56a646 | [
"MIT"
] | null | null | null | unit_tests/test_di.py | fensta/bracid2019 | ad9bf0b4e44c19f66c1597e857ef6cf70f56a646 | [
"MIT"
] | null | null | null | from unittest import TestCase
import pandas as pd
from pandas.api.types import is_numeric_dtype
import numpy as np
from scripts.utils import di
class TestDi(TestCase):
"""Test di() in utils.py"""
def test_di_nan_row(self):
"""Tests that correct distance is computed if NaNs occur in a row of a colum... | 49.642857 | 111 | 0.484712 | 836 | 5,560 | 3.130383 | 0.108852 | 0.07222 | 0.016049 | 0.018342 | 0.868552 | 0.8483 | 0.8483 | 0.8483 | 0.832633 | 0.832633 | 0 | 0.073132 | 0.321223 | 5,560 | 111 | 112 | 50.09009 | 0.620297 | 0.081835 | 0 | 0.638298 | 0 | 0 | 0.088114 | 0 | 0 | 0 | 0 | 0 | 0.053191 | 1 | 0.053191 | false | 0 | 0.053191 | 0 | 0.117021 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9fa8c27b5e0f6773b61f9e93b91275e038a2682 | 32 | py | Python | src/radical/dreamer/managers/ext/__init__.py | radical-project/radical.dreamer | 74bb2a9a705fc90b0dc773963f2bfd48af6e1b84 | [
"MIT"
] | 4 | 2021-04-30T04:25:12.000Z | 2021-12-16T19:53:37.000Z | src/radical/dreamer/managers/ext/__init__.py | radical-project/radical.dreamer | 74bb2a9a705fc90b0dc773963f2bfd48af6e1b84 | [
"MIT"
] | 1 | 2021-04-20T22:08:24.000Z | 2021-04-20T22:08:24.000Z | src/radical/dreamer/managers/ext/__init__.py | radical-project/radical.dreamer | 74bb2a9a705fc90b0dc773963f2bfd48af6e1b84 | [
"MIT"
] | 1 | 2021-01-10T20:09:19.000Z | 2021-01-10T20:09:19.000Z |
from .schedule import Schedule
| 10.666667 | 30 | 0.8125 | 4 | 32 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 31 | 16 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a0f03a9ac6440c6efc50395ad4bced0a5fb3222 | 43 | py | Python | rwb/editor/extensions/__init__.py | boakley/robotframework-workbench | 92f15845d6fa4baedd4f3c4346fb8ff5cf9149a6 | [
"Apache-2.0"
] | 11 | 2015-03-09T01:53:21.000Z | 2021-03-29T08:33:05.000Z | rwb/editor/extensions/__init__.py | boakley/robotframework-workbench | 92f15845d6fa4baedd4f3c4346fb8ff5cf9149a6 | [
"Apache-2.0"
] | 1 | 2016-08-24T06:20:11.000Z | 2016-08-24T06:20:11.000Z | rwb/editor/extensions/__init__.py | boakley/robotframework-workbench | 92f15845d6fa4baedd4f3c4346fb8ff5cf9149a6 | [
"Apache-2.0"
] | 5 | 2016-03-03T15:27:09.000Z | 2019-03-26T13:05:32.000Z | from abstractfilter import AbstractFilter
| 14.333333 | 41 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 42 | 21.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a19acb796c3525938d5912ca55e6b8a6b0cae0c | 96 | py | Python | venv/lib/python3.8/site-packages/pyls/plugins/definition.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pyls/plugins/definition.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pyls/plugins/definition.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/da/9e/62/a406131765bf198f085ab12520f3db69ec94b763b878861df083a210d2 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a47be8076796f34fe0c88ba7fa37347425d8985 | 124 | py | Python | Testpy.py | RavinduHasithanjana/Throtale---Expert-System-for-Automating-API-Throttling | 7e35b8de437ca24759234274722565201f949f9f | [
"Apache-2.0"
] | 2 | 2018-04-20T15:50:32.000Z | 2020-04-17T06:43:57.000Z | Testpy.py | RavinduHasithanjana/Throtale---Expert-System-for-Automating-API-Throttling | 7e35b8de437ca24759234274722565201f949f9f | [
"Apache-2.0"
] | 1 | 2018-04-20T17:30:50.000Z | 2018-05-28T14:14:03.000Z | Testpy.py | RavinduHasithanjana/Throtale---Expert-System-for-Automating-API-Throttling | 7e35b8de437ca24759234274722565201f949f9f | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import numpy
from sklearn import svm
from sklearn.model_selection import train_test_split,GridSearchCV
| 20.666667 | 65 | 0.862903 | 19 | 124 | 5.473684 | 0.736842 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 5 | 66 | 24.8 | 0.954128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e02102f37c35287eeb2fe15a4a03644015bc2c49 | 28 | py | Python | examples/__init__.py | Seattle-City-Light/enduse | ccef10ad301cb6536f39ba94852ceb0dbf2162b3 | [
"MIT"
] | null | null | null | examples/__init__.py | Seattle-City-Light/enduse | ccef10ad301cb6536f39ba94852ceb0dbf2162b3 | [
"MIT"
] | null | null | null | examples/__init__.py | Seattle-City-Light/enduse | ccef10ad301cb6536f39ba94852ceb0dbf2162b3 | [
"MIT"
] | null | null | null | from .stockturnover import * | 28 | 28 | 0.821429 | 3 | 28 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e03ab9f7da131773c5db17b53cc6cc371eeecdce | 313 | py | Python | toontown/estate/DistributedGardenBoxAI.py | journeyfan/toontown-journey | 7a4db507e5c1c38a014fc65588086d9655aaa5b4 | [
"MIT"
] | 1 | 2020-09-27T22:12:47.000Z | 2020-09-27T22:12:47.000Z | toontown/estate/DistributedGardenBoxAI.py | journeyfan/toontown-journey | 7a4db507e5c1c38a014fc65588086d9655aaa5b4 | [
"MIT"
] | null | null | null | toontown/estate/DistributedGardenBoxAI.py | journeyfan/toontown-journey | 7a4db507e5c1c38a014fc65588086d9655aaa5b4 | [
"MIT"
] | 2 | 2020-09-26T20:37:18.000Z | 2020-11-15T20:55:33.000Z | from direct.directnotify import DirectNotifyGlobal
from toontown.estate.DistributedLawnDecorAI import DistributedLawnDecorAI
class DistributedGardenBoxAI(DistributedLawnDecorAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedGardenBoxAI")
def setTypeIndex(self, todo0):
pass
| 31.3 | 82 | 0.830671 | 24 | 313 | 10.833333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00361 | 0.115016 | 313 | 9 | 83 | 34.777778 | 0.935018 | 0 | 0 | 0 | 0 | 0 | 0.070513 | 0.070513 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e041ac8e9dbdf3082a9c3b2cd53c69d617a0eb81 | 2,731 | py | Python | benchmark/test_rexnet.py | Oneflow-Inc/vision | 352e9240f63118112ea174bb2d0b502fa54be16f | [
"BSD-3-Clause"
] | 40 | 2021-10-19T02:34:56.000Z | 2022-03-25T07:49:44.000Z | benchmark/test_rexnet.py | Oneflow-Inc/vision | 352e9240f63118112ea174bb2d0b502fa54be16f | [
"BSD-3-Clause"
] | 53 | 2021-10-22T02:24:44.000Z | 2022-03-31T04:20:47.000Z | benchmark/test_rexnet.py | Oneflow-Inc/vision | 352e9240f63118112ea174bb2d0b502fa54be16f | [
"BSD-3-Clause"
] | 11 | 2022-01-06T02:57:07.000Z | 2022-03-23T15:19:51.000Z | from benchmark import *
import oneflow_benchmark
from flowvision.models.rexnet import rexnetv1_1_0
from flowvision.models.rexnet_lite import rexnet_lite_1_0
@oneflow_benchmark.ci_settings(compare={"median": "5%"})
def test_rexnetv1_1_0_batch_size1(
benchmark, net=rexnetv1_1_0, input_shape=[1, 3, 224, 224]
):
... | 32.129412 | 65 | 0.733065 | 414 | 2,731 | 4.504831 | 0.094203 | 0.023592 | 0.160858 | 0.070777 | 0.929759 | 0.929759 | 0.901877 | 0.848257 | 0.789276 | 0.789276 | 0 | 0.067174 | 0.133285 | 2,731 | 84 | 66 | 32.511905 | 0.720744 | 0 | 0 | 0.625 | 0 | 0 | 0.029293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0 | 0.0625 | 0 | 0.21875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0eb3997925e00f01e5f9d48689680006235079aa | 35,401 | py | Python | tests/ut/lineagemgr/querier/test_querier.py | zengchen1024/mindinsight | 228a448b46707e889efc1fb23502158e27ab56ca | [
"Apache-2.0"
] | null | null | null | tests/ut/lineagemgr/querier/test_querier.py | zengchen1024/mindinsight | 228a448b46707e889efc1fb23502158e27ab56ca | [
"Apache-2.0"
] | null | null | null | tests/ut/lineagemgr/querier/test_querier.py | zengchen1024/mindinsight | 228a448b46707e889efc1fb23502158e27ab56ca | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 41.116144 | 115 | 0.556679 | 3,516 | 35,401 | 5.17975 | 0.064278 | 0.103284 | 0.097628 | 0.077202 | 0.831265 | 0.813475 | 0.77987 | 0.755216 | 0.728091 | 0.68356 | 0 | 0.017579 | 0.344369 | 35,401 | 860 | 116 | 41.163953 | 0.767083 | 0.067484 | 0 | 0.628342 | 0 | 0 | 0.192287 | 0.019039 | 0 | 0 | 0 | 0 | 0.036096 | 1 | 0.032086 | false | 0 | 0.009358 | 0 | 0.046791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ee6b9c8527309783e39665706be4d36941736e0 | 255 | py | Python | plaso/analyzers/hashers/__init__.py | rick-slin/plaso | 8685bd1689cbbaea78ebf723881a842eeaf94c35 | [
"Apache-2.0"
] | 6 | 2015-07-30T11:07:24.000Z | 2021-07-23T07:12:30.000Z | plaso/analyzers/hashers/__init__.py | rick-slin/plaso | 8685bd1689cbbaea78ebf723881a842eeaf94c35 | [
"Apache-2.0"
] | null | null | null | plaso/analyzers/hashers/__init__.py | rick-slin/plaso | 8685bd1689cbbaea78ebf723881a842eeaf94c35 | [
"Apache-2.0"
] | 1 | 2021-07-23T07:12:37.000Z | 2021-07-23T07:12:37.000Z | # -*- coding: utf-8 -*-
"""This file imports Python modules that register hashers."""
from plaso.analyzers.hashers import entropy
from plaso.analyzers.hashers import md5
from plaso.analyzers.hashers import sha1
from plaso.analyzers.hashers import sha256
| 31.875 | 61 | 0.788235 | 35 | 255 | 5.742857 | 0.542857 | 0.179104 | 0.358209 | 0.497512 | 0.616915 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.117647 | 255 | 7 | 62 | 36.428571 | 0.866667 | 0.305882 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1641f5d9f56c2b723937fe2a83f49c711ac44e35 | 3,147 | py | Python | spacy_streamlit/util.py | callistachang/spacy-streamlit | aa9d029491da53ec4e3f9d7aefee22d52c3c2908 | [
"MIT"
] | 541 | 2020-06-23T12:00:56.000Z | 2022-03-30T14:03:58.000Z | spacy_streamlit/util.py | callistachang/spacy-streamlit | aa9d029491da53ec4e3f9d7aefee22d52c3c2908 | [
"MIT"
] | 28 | 2020-06-24T05:53:52.000Z | 2022-01-28T08:25:39.000Z | spacy_streamlit/util.py | callistachang/spacy-streamlit | aa9d029491da53ec4e3f9d7aefee22d52c3c2908 | [
"MIT"
] | 94 | 2020-06-23T12:56:08.000Z | 2022-03-21T14:26:27.000Z | import streamlit as st
import spacy
import base64
@st.cache(allow_output_mutation=True, suppress_st_warning=True)
def load_model(name: str) -> spacy.language.Language:
"""Load a spaCy model."""
return spacy.load(name)
@st.cache(allow_output_mutation=True, suppress_st_warning=True)
def process_text(model_nam... | 85.054054 | 1,965 | 0.619002 | 969 | 3,147 | 1.990712 | 0.194014 | 0.027994 | 0.008294 | 0.007776 | 0.087092 | 0.079834 | 0.079834 | 0.055988 | 0.055988 | 0.055988 | 0 | 0.393761 | 0.134096 | 3,147 | 36 | 1,966 | 87.416667 | 0.314128 | 0.05688 | 0 | 0.1 | 0 | 0.1 | 0.741093 | 0.162538 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.15 | 0 | 0.55 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1653641a2e00469e831218bf27da7bca397de38a | 117 | py | Python | noge/trainers/__init__.py | johny-c/noge | 88e68ba8c51ff0d63577991e233e9110cb76e228 | [
"MIT"
] | null | null | null | noge/trainers/__init__.py | johny-c/noge | 88e68ba8c51ff0d63577991e233e9110cb76e228 | [
"MIT"
] | null | null | null | noge/trainers/__init__.py | johny-c/noge | 88e68ba8c51ff0d63577991e233e9110cb76e228 | [
"MIT"
] | null | null | null | from .replay_buffer import Replay
from .dqn_trainer import DQNTrainer
from .dfp_trainer import DFPTrainer, DFPReplay
| 29.25 | 46 | 0.854701 | 16 | 117 | 6.0625 | 0.625 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 117 | 3 | 47 | 39 | 0.932692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1663fde1f9ec6e21c57c406e54dd2b7702b60ff1 | 2,542 | py | Python | waterstructureCreator/load_dictionaries.py | AlexandraDavila/WaterStructureCreator | 93820af1abb8f43cab2f4c4d84e8a625091fcccd | [
"MIT"
] | 3 | 2021-08-24T10:07:40.000Z | 2022-01-21T02:06:10.000Z | waterstructureCreator/load_dictionaries.py | AlexandraDavila/WaterStructureCreator | 93820af1abb8f43cab2f4c4d84e8a625091fcccd | [
"MIT"
] | null | null | null | waterstructureCreator/load_dictionaries.py | AlexandraDavila/WaterStructureCreator | 93820af1abb8f43cab2f4c4d84e8a625091fcccd | [
"MIT"
] | 1 | 2022-01-01T12:37:15.000Z | 2022-01-01T12:37:15.000Z | import json
from pymatgen.io.vasp import Poscar
import pandas as pd
def import_bulk_structures(filename):
"""Read bulk structures from file and return a dictionary of it.
Parameters
----------
filename : str
Filename of the file containing the bulk structures
Returns
-------
filed... | 25.42 | 111 | 0.584186 | 309 | 2,542 | 4.747573 | 0.190939 | 0.054533 | 0.06544 | 0.0818 | 0.847989 | 0.808453 | 0.808453 | 0.808453 | 0.808453 | 0.808453 | 0 | 0.005356 | 0.265539 | 2,542 | 99 | 112 | 25.676768 | 0.780396 | 0.389064 | 0 | 0.529412 | 0 | 0 | 0.055112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.205882 | 0 | 0.441176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
166f1670aa73def235c54978fc27fcc238b8c24d | 139 | py | Python | pretext/__init__.py | JeanSebastienTurcotte/pretext-cli | e2908f9ce19a1151123a38f54c35b2c047760140 | [
"MIT"
] | 10 | 2020-08-27T21:02:59.000Z | 2022-03-03T22:38:56.000Z | pretext/__init__.py | JeanSebastienTurcotte/pretext-cli | e2908f9ce19a1151123a38f54c35b2c047760140 | [
"MIT"
] | 162 | 2020-06-30T21:52:10.000Z | 2022-03-21T19:02:48.000Z | pretext/__init__.py | JeanSebastienTurcotte/pretext-cli | e2908f9ce19a1151123a38f54c35b2c047760140 | [
"MIT"
] | 7 | 2020-07-24T14:52:12.000Z | 2022-03-12T18:15:55.000Z | from . import static
def version():
with open(static.path('VERSION'), 'r') as version_file:
return version_file.read().strip() | 27.8 | 59 | 0.669065 | 19 | 139 | 4.789474 | 0.736842 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179856 | 139 | 5 | 60 | 27.8 | 0.798246 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
168b7f2c3e0e3adb79ef631bbe3c1cd529520781 | 20,089 | py | Python | multiworld/envs/pygame/__init__.py | JonathanYang0127/multiworld | fe20f708dd1b11cab950946d1280bf498d06d177 | [
"Apache-2.0"
] | null | null | null | multiworld/envs/pygame/__init__.py | JonathanYang0127/multiworld | fe20f708dd1b11cab950946d1280bf498d06d177 | [
"Apache-2.0"
] | null | null | null | multiworld/envs/pygame/__init__.py | JonathanYang0127/multiworld | fe20f708dd1b11cab950946d1280bf498d06d177 | [
"Apache-2.0"
] | null | null | null | from gym.envs.registration import register
import logging
from multiworld.envs.pygame.pick_and_place import (
PickAndPlaceEnv,
PickAndPlace1DEnv,
)
LOGGER = logging.getLogger(__name__)
REGISTERED = False
def register_pygame_envs():
global REGISTERED
if REGISTERED:
return
REGISTERED = Tru... | 31.340094 | 79 | 0.532082 | 1,931 | 20,089 | 5.263594 | 0.091144 | 0.023613 | 0.035419 | 0.062967 | 0.896694 | 0.880756 | 0.871114 | 0.859898 | 0.84819 | 0.7744 | 0 | 0.038658 | 0.348449 | 20,089 | 640 | 80 | 31.389063 | 0.737872 | 0.012893 | 0 | 0.662866 | 0 | 0 | 0.296169 | 0.162469 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008143 | false | 0 | 0.013029 | 0 | 0.026059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1695b109d58c9081842d9cea3adad5e77aa47833 | 47 | py | Python | tests/__init__.py | FarzinVatani/halo | 6f83362f6754d52cc68c4d7d352329feaeeac8e1 | [
"MIT"
] | null | null | null | tests/__init__.py | FarzinVatani/halo | 6f83362f6754d52cc68c4d7d352329feaeeac8e1 | [
"MIT"
] | null | null | null | tests/__init__.py | FarzinVatani/halo | 6f83362f6754d52cc68c4d7d352329feaeeac8e1 | [
"MIT"
] | null | null | null | all = ["test_halo_notebook.py", "test_halo.py"] | 47 | 47 | 0.723404 | 8 | 47 | 3.875 | 0.625 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.704545 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16b08e008a87190467438d42776fe2f6c835d33e | 147 | py | Python | tests/docs/test_bind_as_a_dep.py | adriangb/di | f277bb7189c8e8bde41170afb3181e6600b06be8 | [
"MIT"
] | 57 | 2021-09-28T00:48:08.000Z | 2022-03-16T16:50:39.000Z | tests/docs/test_bind_as_a_dep.py | ScareTrow/di | a89b6b7d52da41b6e094b50ee5a500c3478676fa | [
"MIT"
] | 59 | 2021-09-25T00:06:22.000Z | 2022-03-31T15:49:36.000Z | tests/docs/test_bind_as_a_dep.py | ScareTrow/di | a89b6b7d52da41b6e094b50ee5a500c3478676fa | [
"MIT"
] | 3 | 2021-12-31T10:03:03.000Z | 2021-12-31T16:07:54.000Z | import pytest
from docs_src import bind_as_a_dep
@pytest.mark.anyio
async def test_bind_as_a_dep() -> None:
await bind_as_a_dep.framework()
| 16.333333 | 39 | 0.782313 | 27 | 147 | 3.851852 | 0.62963 | 0.173077 | 0.201923 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 147 | 8 | 40 | 18.375 | 0.825397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bc55008b44f2d9a80cfab5e097bcab68f61a77a7 | 326 | py | Python | dodo_commands/__init__.py | mnieber/dodo-commands | 82330006af2c6739b030ce932ba1ff9078b241ee | [
"MIT"
] | 8 | 2016-12-01T16:45:45.000Z | 2020-05-05T20:56:57.000Z | dodo_commands/__init__.py | mnieber/dodo-commands | 82330006af2c6739b030ce932ba1ff9078b241ee | [
"MIT"
] | 75 | 2017-01-29T19:25:45.000Z | 2020-01-28T09:40:47.000Z | dodo_commands/__init__.py | mnieber/dodo-commands | 82330006af2c6739b030ce932ba1ff9078b241ee | [
"MIT"
] | 2 | 2017-06-01T09:55:20.000Z | 2017-06-08T14:45:08.000Z | from dodo_commands.framework.command_error import CommandError # noqa
from dodo_commands.framework.config_arg import ConfigArg # noqa
from dodo_commands.framework.decorator_scope import DecoratorScope # noqa
from dodo_commands.framework.singleton import Dodo # noqa
from dodo_commands.framework.util import sh_cmd #... | 54.333333 | 74 | 0.846626 | 44 | 326 | 6.068182 | 0.431818 | 0.149813 | 0.299625 | 0.468165 | 0.434457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107362 | 326 | 5 | 75 | 65.2 | 0.917526 | 0.07362 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcccbecf5ce1fd6691c3ea5a921db08b3faf0cb9 | 952 | py | Python | venv/lib/python3.8/site-packages/azureml/_compute/_constants.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/azureml/_compute/_constants.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/azureml/_compute/_constants.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | 2 | 2021-05-23T16:46:31.000Z | 2021-05-26T23:51:09.000Z | # ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
MLC_WORKSPACE_API_VERSION = '2020-02-02'
MLC_COMPUTE_RESOURCE_ID_FMT = '/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Machin... | 56 | 115 | 0.589286 | 69 | 952 | 7.855072 | 0.405797 | 0.199262 | 0.265683 | 0.332103 | 0.708487 | 0.708487 | 0.708487 | 0.708487 | 0.372694 | 0.372694 | 0 | 0.012674 | 0.171218 | 952 | 16 | 116 | 59.5 | 0.674271 | 0.181723 | 0 | 0 | 0 | 0 | 0.599473 | 0.582345 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bce88e32c770716cd4b15dda28a2d9cb43e4b414 | 12,592 | py | Python | scrapy_ddiy/spiders/yuanrenxue/yuanrenxue_004.py | LZC6244/scrapy_ddiy | 1bf7cdd382afd471af0bf7069b377fb364dc4730 | [
"MIT"
] | 9 | 2021-05-17T02:55:16.000Z | 2022-03-28T08:36:50.000Z | scrapy_ddiy/spiders/yuanrenxue/yuanrenxue_004.py | LZC6244/scrapy_ddiy | 1bf7cdd382afd471af0bf7069b377fb364dc4730 | [
"MIT"
] | null | null | null | scrapy_ddiy/spiders/yuanrenxue/yuanrenxue_004.py | LZC6244/scrapy_ddiy | 1bf7cdd382afd471af0bf7069b377fb364dc4730 | [
"MIT"
] | 1 | 2022-01-23T06:28:31.000Z | 2022-01-23T06:28:31.000Z | # -*- coding: utf-8 -*-
import re
import json
import subprocess
from scrapy import Request
from scrapy import Selector
from scrapy_ddiy.utils.spiders.ddiy_base import DdiyBaseSpider
# base64 图片 和 0-9 数字的映射
B64_IMG_MAP_NUM = {
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAdCAYAAACqhkzFAAAAAXNSR0IArs4c6QAAA... | 172.493151 | 1,346 | 0.900889 | 591 | 12,592 | 19.071066 | 0.617597 | 0.007985 | 0.010647 | 0.01597 | 0.004969 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110611 | 0.046537 | 12,592 | 72 | 1,347 | 174.888889 | 0.828169 | 0.007703 | 0 | 0 | 0 | 0.178571 | 0.847097 | 0.827473 | 0 | 1 | 0 | 0 | 0 | 1 | 0.089286 | false | 0 | 0.107143 | 0 | 0.285714 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bcf9718d17070c889817d5ecc8b4d58dcc511742 | 1,792 | py | Python | tools/c7n_azure/tests_azure/test_functional_filters_cost.py | vkubyshko/cloud-custodian | e5e3a0f8b5c85adcbec212d780b453047fb6f4d1 | [
"Apache-2.0"
] | 2,415 | 2018-12-04T00:37:58.000Z | 2022-03-31T12:28:56.000Z | tools/c7n_azure/tests_azure/test_functional_filters_cost.py | vkubyshko/cloud-custodian | e5e3a0f8b5c85adcbec212d780b453047fb6f4d1 | [
"Apache-2.0"
] | 3,272 | 2018-12-03T23:58:17.000Z | 2022-03-31T21:15:32.000Z | tools/c7n_azure/tests_azure/test_functional_filters_cost.py | vkubyshko/cloud-custodian | e5e3a0f8b5c85adcbec212d780b453047fb6f4d1 | [
"Apache-2.0"
] | 773 | 2018-12-06T09:43:23.000Z | 2022-03-30T20:44:43.000Z | # Copyright The Cloud Custodian Authors.
# SPDX-License-Identifier: Apache-2.0
import pytest
from .azure_common import BaseTest, arm_template
class CostFilterTest(BaseTest):
@arm_template('vm.json')
@pytest.mark.skiplive
def test_cost_resource(self):
p = self.load_policy({
'name': 't... | 28 | 69 | 0.469308 | 163 | 1,792 | 5.07362 | 0.361963 | 0.038694 | 0.072551 | 0.041112 | 0.788392 | 0.788392 | 0.788392 | 0.788392 | 0.788392 | 0.788392 | 0 | 0.014337 | 0.377232 | 1,792 | 63 | 70 | 28.444444 | 0.726703 | 0.041295 | 0 | 0.77551 | 0 | 0 | 0.198251 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 1 | 0.040816 | false | 0 | 0.040816 | 0 | 0.102041 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c28548266fe18e2b78309fa5e7ad2b66be3a9e1 | 75 | py | Python | AAS2015/notebooks/gwcs/__init__.py | larrybradley/astropy-workshops | 20181f6b7b71b445b39132411a82ead8d50e4a27 | [
"BSD-3-Clause"
] | 1 | 2019-12-10T19:45:03.000Z | 2019-12-10T19:45:03.000Z | AAS2015/notebooks/gwcs/__init__.py | larrybradley/astropy-workshops | 20181f6b7b71b445b39132411a82ead8d50e4a27 | [
"BSD-3-Clause"
] | null | null | null | AAS2015/notebooks/gwcs/__init__.py | larrybradley/astropy-workshops | 20181f6b7b71b445b39132411a82ead8d50e4a27 | [
"BSD-3-Clause"
] | 2 | 2019-09-30T01:37:34.000Z | 2019-10-31T18:19:54.000Z | from .wcs import *
from .coordinate_systems import *
from . import selector | 25 | 33 | 0.786667 | 10 | 75 | 5.8 | 0.6 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 75 | 3 | 34 | 25 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c28664386d9862c41ed76b283f67be13ce5293a | 32 | py | Python | maestro/types/__init__.py | fabiommendes/maestro | 46aa16c0e63e33bb654ce1f56d6920017d143ed0 | [
"MIT"
] | null | null | null | maestro/types/__init__.py | fabiommendes/maestro | 46aa16c0e63e33bb654ce1f56d6920017d143ed0 | [
"MIT"
] | null | null | null | maestro/types/__init__.py | fabiommendes/maestro | 46aa16c0e63e33bb654ce1f56d6920017d143ed0 | [
"MIT"
] | null | null | null | from .numbers import Int, Float
| 16 | 31 | 0.78125 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c2f91e144d10093b5abf3e10c0c6da87dd4cb60 | 19 | py | Python | celldetection/mpi/__init__.py | MhmdSyd/celldetection | 93e706953dc32eb694345179d5dcca5cfd9ff41b | [
"Apache-2.0"
] | 26 | 2021-04-12T05:28:16.000Z | 2022-03-28T12:12:30.000Z | celldetection/mpi/__init__.py | MhmdSyd/celldetection | 93e706953dc32eb694345179d5dcca5cfd9ff41b | [
"Apache-2.0"
] | 1 | 2021-09-29T09:50:06.000Z | 2022-03-05T14:18:36.000Z | celldetection/mpi/__init__.py | MhmdSyd/celldetection | 93e706953dc32eb694345179d5dcca5cfd9ff41b | [
"Apache-2.0"
] | 5 | 2021-04-15T09:38:19.000Z | 2022-03-11T20:51:05.000Z | from .mpi import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c2fc9bac8669a26f74ee318959777da93ec2277 | 1,827 | py | Python | core_engine/core_engine/utils/gcp/classification_transformer.py | Chronicles-of-AI/osiris | c71b1324ed270caa3724c0a8c58c4883b28dc19c | [
"Apache-2.0"
] | 3 | 2021-08-03T08:13:40.000Z | 2022-02-23T04:27:30.000Z | core_engine/core_engine/utils/gcp/classification_transformer.py | Chronicles-of-AI/osiris | c71b1324ed270caa3724c0a8c58c4883b28dc19c | [
"Apache-2.0"
] | null | null | null | core_engine/core_engine/utils/gcp/classification_transformer.py | Chronicles-of-AI/osiris | c71b1324ed270caa3724c0a8c58c4883b28dc19c | [
"Apache-2.0"
] | null | null | null | import pandas as pd
from core_engine import logger
logging = logger(__name__)
def gcp_image_classification_transformation(json_data: dict):
"""[Image Classification Transformation from Label Studio to AutoML format]
Args:
json_data (dict): [Annotations]
Raises:
error: [Error]
Retur... | 29.95082 | 79 | 0.623974 | 204 | 1,827 | 5.416667 | 0.269608 | 0.057919 | 0.043439 | 0.065158 | 0.857919 | 0.78552 | 0.78552 | 0.78552 | 0.78552 | 0.78552 | 0 | 0.004468 | 0.264915 | 1,827 | 60 | 80 | 30.45 | 0.818317 | 0.204707 | 0 | 0.666667 | 0 | 0 | 0.130058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.060606 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.