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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fe5098e19be998cabf898745a890320919886ab9 | 103 | py | Python | backslash/user.py | oren0e/backslash-python | 37f0fe37e21c384baa27b4f5b7210e79d02a65dc | [
"BSD-3-Clause"
] | null | null | null | backslash/user.py | oren0e/backslash-python | 37f0fe37e21c384baa27b4f5b7210e79d02a65dc | [
"BSD-3-Clause"
] | null | null | null | backslash/user.py | oren0e/backslash-python | 37f0fe37e21c384baa27b4f5b7210e79d02a65dc | [
"BSD-3-Clause"
] | null | null | null | from .api_object import APIObject
class User(APIObject): # pylint: disable=abstract-method
pass
| 17.166667 | 57 | 0.757282 | 13 | 103 | 5.923077 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165049 | 103 | 5 | 58 | 20.6 | 0.895349 | 0.300971 | 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 |
fea292850596671cee49ab54db60dac80db44ab7 | 5,795 | py | Python | tests/unit/test_ssh.py | awiddersheim/aws-gate | d02a6fd1bef28a66b0cbbb1cef2d9c2d0a636c28 | [
"BSD-3-Clause"
] | 1 | 2021-02-02T18:12:20.000Z | 2021-02-02T18:12:20.000Z | tests/unit/test_ssh.py | awiddersheim/aws-gate | d02a6fd1bef28a66b0cbbb1cef2d9c2d0a636c28 | [
"BSD-3-Clause"
] | 512 | 2020-10-04T06:05:42.000Z | 2022-03-31T04:04:33.000Z | tests/unit/test_ssh.py | awiddersheim/aws-gate | d02a6fd1bef28a66b0cbbb1cef2d9c2d0a636c28 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from aws_gate.ssh import SshSession, ssh
def test_create_ssh_session(ssm_mock, instance_id):
sess = SshSession(instance_id=instance_id, ssm=ssm_mock)
sess.create()
assert ssm_mock.start_session.called
def test_terminate_ssh_session(ssm_mock, instance_id):
sess = SshSession(instance_i... | 35.552147 | 87 | 0.720794 | 820 | 5,795 | 4.770732 | 0.108537 | 0.076943 | 0.150307 | 0.193252 | 0.82771 | 0.776329 | 0.720603 | 0.700665 | 0.680982 | 0.668712 | 0 | 0.008188 | 0.157032 | 5,795 | 162 | 88 | 35.771605 | 0.792631 | 0 | 0 | 0.634146 | 0 | 0 | 0.250733 | 0.186885 | 0 | 0 | 0 | 0 | 0.105691 | 1 | 0.089431 | false | 0.00813 | 0.01626 | 0 | 0.105691 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
feb1a1eec737e3a537772aba967d87c921f67986 | 179 | py | Python | libs/mdcs/__init__.py | dpttw/SEMimage | 08492dee6c1ef8d494f5a2fcd5f9621e815ba8a0 | [
"MIT"
] | null | null | null | libs/mdcs/__init__.py | dpttw/SEMimage | 08492dee6c1ef8d494f5a2fcd5f9621e815ba8a0 | [
"MIT"
] | null | null | null | libs/mdcs/__init__.py | dpttw/SEMimage | 08492dee6c1ef8d494f5a2fcd5f9621e815ba8a0 | [
"MIT"
] | 2 | 2016-11-08T17:00:36.000Z | 2021-10-03T23:01:52.000Z | import blob
from curate import curate
from curate import curate_as
import explore
import exporter
import repository
import saved_queries
import templates
import types
import users | 17.9 | 28 | 0.871508 | 26 | 179 | 5.923077 | 0.5 | 0.12987 | 0.207792 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128492 | 179 | 10 | 29 | 17.9 | 0.987179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
22d721205330324619f2f7e6b156d6e7de231eda | 112 | py | Python | corehq/ex-submodules/fluff/fluff_filter/models.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2020-05-05T13:10:01.000Z | 2020-05-05T13:10:01.000Z | corehq/ex-submodules/fluff/fluff_filter/models.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2019-12-09T14:00:14.000Z | 2019-12-09T14:00:14.000Z | corehq/ex-submodules/fluff/fluff_filter/models.py | MaciejChoromanski/commcare-hq | fd7f65362d56d73b75a2c20d2afeabbc70876867 | [
"BSD-3-Clause"
] | 5 | 2015-11-30T13:12:45.000Z | 2019-07-01T19:27:07.000Z | from __future__ import absolute_import
from dimagi.ext.couchdbkit import Document
class _(Document):
pass
| 16 | 42 | 0.803571 | 14 | 112 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151786 | 112 | 6 | 43 | 18.666667 | 0.884211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 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 |
a3c49ab1e05255ad8d64938685b32e2d8091ffbd | 62 | py | Python | study1/1_python/sound/formats/wavread.py | yangjy10/lecture | 5ceddfb45bcd9b835567bc013f7a829eae9745c7 | [
"MIT"
] | 1 | 2018-12-27T03:52:56.000Z | 2018-12-27T03:52:56.000Z | study1_practice/1_python/sound/formats/wavread.py | yangjy10/lecture | 5ceddfb45bcd9b835567bc013f7a829eae9745c7 | [
"MIT"
] | null | null | null | study1_practice/1_python/sound/formats/wavread.py | yangjy10/lecture | 5ceddfb45bcd9b835567bc013f7a829eae9745c7 | [
"MIT"
] | null | null | null |
def waveread():
return "This function name is waveread"
| 12.4 | 43 | 0.693548 | 8 | 62 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 62 | 4 | 44 | 15.5 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a3f9ab5692778d795fff41b67693fc774b5764d7 | 79 | py | Python | sikulix4python/__init__.py | SeldomQA/sikulix4python | 4907bdf6aabff1d0555053f6ba00cf5cd1cd8e93 | [
"MIT"
] | null | null | null | sikulix4python/__init__.py | SeldomQA/sikulix4python | 4907bdf6aabff1d0555053f6ba00cf5cd1cd8e93 | [
"MIT"
] | null | null | null | sikulix4python/__init__.py | SeldomQA/sikulix4python | 4907bdf6aabff1d0555053f6ba00cf5cd1cd8e93 | [
"MIT"
] | null | null | null | from . sxgateway import *
from . sxclasses import *
from . sxundotted import *
| 19.75 | 26 | 0.734177 | 9 | 79 | 6.444444 | 0.555556 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 79 | 3 | 27 | 26.333333 | 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 |
43093c5b5790ab84dd1e7002213e858ce81b34a4 | 51,947 | py | Python | test/test_set_manager.py | NRuf77/proset | 101d491e05c2423faddca31029232982f46d8831 | [
"MIT"
] | null | null | null | test/test_set_manager.py | NRuf77/proset | 101d491e05c2423faddca31029232982f46d8831 | [
"MIT"
] | null | null | null | test/test_set_manager.py | NRuf77/proset | 101d491e05c2423faddca31029232982f46d8831 | [
"MIT"
] | null | null | null | """Unit tests for code in set_manager.py.
Copyright by Nikolaus Ruf
Released under the MIT license - see LICENSE file for details
"""
from unittest import TestCase
import numpy as np
from proset.set_manager import ClassifierSetManager
# define common objects for testing
TARGET = np.array([0, 1, 0, 2... | 46.883574 | 119 | 0.633434 | 6,033 | 51,947 | 5.228245 | 0.048069 | 0.036459 | 0.049458 | 0.061981 | 0.886405 | 0.853053 | 0.814692 | 0.775189 | 0.730296 | 0.700717 | 0 | 0.018065 | 0.262595 | 51,947 | 1,107 | 120 | 46.925926 | 0.805357 | 0.066241 | 0 | 0.670431 | 0 | 0 | 0.093518 | 0 | 0 | 0 | 0 | 0 | 0.196099 | 1 | 0.078029 | false | 0.00616 | 0.00308 | 0 | 0.082136 | 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 |
430bb3c6704af19100c28ac5c4e04c8be49c1bd9 | 152 | py | Python | catkit/testbed/__init__.py | jamienoss/catkit | 8c1e22e8f96d51f4453bba27c4710d27da5d37c5 | [
"BSD-3-Clause"
] | 3 | 2020-11-05T15:56:54.000Z | 2021-03-31T03:38:17.000Z | catkit/testbed/__init__.py | jamienoss/catkit | 8c1e22e8f96d51f4453bba27c4710d27da5d37c5 | [
"BSD-3-Clause"
] | 52 | 2020-10-06T18:14:49.000Z | 2022-03-08T00:12:24.000Z | catkit/testbed/__init__.py | jamienoss/catkit | 8c1e22e8f96d51f4453bba27c4710d27da5d37c5 | [
"BSD-3-Clause"
] | 4 | 2021-03-06T13:58:17.000Z | 2022-03-02T14:04:35.000Z | from catkit.testbed.caching import devices, DeviceCacheEnum, ImmutableDeviceCacheEnum
from catkit.testbed.experiment import Experiment, SafetyException
| 50.666667 | 85 | 0.881579 | 15 | 152 | 8.933333 | 0.666667 | 0.149254 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072368 | 152 | 2 | 86 | 76 | 0.950355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
4a3fd6134dda8268a703b5a0e203f9ee2a32430e | 140 | py | Python | tfsnippet/bayes/distributions/__init__.py | haowen-xu/tfsnippet-pre-alpha | 31eb2cf692ac25b95cc815aaca53754d6db42d9f | [
"MIT"
] | null | null | null | tfsnippet/bayes/distributions/__init__.py | haowen-xu/tfsnippet-pre-alpha | 31eb2cf692ac25b95cc815aaca53754d6db42d9f | [
"MIT"
] | null | null | null | tfsnippet/bayes/distributions/__init__.py | haowen-xu/tfsnippet-pre-alpha | 31eb2cf692ac25b95cc815aaca53754d6db42d9f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .base import *
from .bernoulli import *
from .categorical import *
from .gamma import *
from .normal import *
| 17.5 | 26 | 0.678571 | 18 | 140 | 5.277778 | 0.555556 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.185714 | 140 | 7 | 27 | 20 | 0.824561 | 0.15 | 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 |
4a4729f796226d62347e9e5964f2338ed1096d99 | 2,421 | py | Python | Scripts/shape_adjustment.py | ParulParima/LabelMe-Image-Data-Augment- | 0d37c8844a2bec7bc0b69e1414e7cb3dfc387098 | [
"MIT"
] | 15 | 2021-06-05T07:32:33.000Z | 2022-03-18T13:16:48.000Z | Scripts/shape_adjustment.py | ParulParima/LabelMe-Image-Data-Augment- | 0d37c8844a2bec7bc0b69e1414e7cb3dfc387098 | [
"MIT"
] | null | null | null | Scripts/shape_adjustment.py | ParulParima/LabelMe-Image-Data-Augment- | 0d37c8844a2bec7bc0b69e1414e7cb3dfc387098 | [
"MIT"
] | null | null | null | import numpy as np
class shape_adjustment:
def __init__(self):
pass
# Adds shape_adjust or crops the background image accordingly to match dimensions of the annotated image
def shape_adjust(self,res, bg_width, bg_height):
pad_w_tot = res.shape[1] - bg_width
... | 46.557692 | 125 | 0.579513 | 365 | 2,421 | 3.646575 | 0.142466 | 0.048084 | 0.067618 | 0.175808 | 0.7716 | 0.74831 | 0.74831 | 0.74831 | 0.631856 | 0.609316 | 0 | 0.034676 | 0.261462 | 2,421 | 52 | 126 | 46.557692 | 0.709732 | 0.204461 | 0 | 0.147059 | 0 | 0 | 0.0375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.058824 | 0.029412 | 0 | 0.147059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4a7121814eea3e5aa9fb0e2d8e5e32704156feb9 | 1,203 | py | Python | suitcase/nxsas/tests/test__copy_metadata_to_h5_datasets.py | jklynch/suitcase-sas | 914572806f47f7a3a373755e772eafc45a9c3dd4 | [
"BSD-3-Clause"
] | 1 | 2021-07-30T11:03:26.000Z | 2021-07-30T11:03:26.000Z | suitcase/nxsas/tests/test__copy_metadata_to_h5_datasets.py | jklynch/suitcase-sas | 914572806f47f7a3a373755e772eafc45a9c3dd4 | [
"BSD-3-Clause"
] | 2 | 2020-07-02T18:22:06.000Z | 2020-12-02T16:38:52.000Z | suitcase/nxsas/tests/test__copy_metadata_to_h5_datasets.py | jklynch/suitcase-sas | 914572806f47f7a3a373755e772eafc45a9c3dd4 | [
"BSD-3-Clause"
] | 3 | 2020-06-07T13:54:13.000Z | 2020-08-10T13:36:28.000Z | from suitcase.nxsas import _copy_metadata_to_h5_datasets
def test_str(h5_context):
with h5_context() as tmp_h5_file:
_copy_metadata_to_h5_datasets(
a_mapping={"uid": "5720b93f-2f5d-4ace-8ace-2efb669fc38f"},
h5_group=tmp_h5_file,
)
assert "uid" in tmp_h5_file
... | 32.513514 | 82 | 0.640898 | 159 | 1,203 | 4.415094 | 0.232704 | 0.099715 | 0.179487 | 0.091168 | 0.87037 | 0.836182 | 0.705128 | 0.705128 | 0.705128 | 0.705128 | 0 | 0.063373 | 0.226101 | 1,203 | 36 | 83 | 33.416667 | 0.690655 | 0.052369 | 0 | 0.32 | 0 | 0 | 0.198769 | 0.063325 | 0 | 0 | 0 | 0 | 0.24 | 1 | 0.12 | false | 0 | 0.04 | 0 | 0.16 | 0.08 | 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 |
4a7c04d984dd26a040522990701c1abd8362d870 | 115 | py | Python | src/matplotlib_learning/draw_mutil_grip.py | Shylcok/DataVizProject | 3c8bde847bece65a198d70c5299130cb9bff80c2 | [
"Apache-2.0"
] | 2 | 2019-09-04T01:59:54.000Z | 2020-12-02T13:43:25.000Z | src/matplotlib_learning/draw_mutil_grip.py | Shylcok/DataVizProject | 3c8bde847bece65a198d70c5299130cb9bff80c2 | [
"Apache-2.0"
] | 1 | 2020-08-05T03:27:36.000Z | 2020-08-05T03:27:36.000Z | src/matplotlib_learning/draw_mutil_grip.py | Shylcok/DataVizProject | 3c8bde847bece65a198d70c5299130cb9bff80c2 | [
"Apache-2.0"
] | null | null | null | import matplotlib.pyplot as plt
# 多重网格
plt.subplot(2, 2, 1)
plt.subplot(2, 2, 3)
plt.subplot(2, 2, 4)
plt.show()
| 12.777778 | 31 | 0.669565 | 23 | 115 | 3.347826 | 0.521739 | 0.38961 | 0.428571 | 0.467532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092784 | 0.156522 | 115 | 8 | 32 | 14.375 | 0.701031 | 0.034783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4aae87532383c03bf7a9fa65436fa357acff1736 | 161 | py | Python | battleofai/utils.py | LiBa001/python-battleofai | 8d4a488ce7e04be354e0d55cb55e7875189f2153 | [
"MIT"
] | 2 | 2018-09-28T16:11:03.000Z | 2018-10-09T14:43:17.000Z | battleofai/utils.py | LiBa001/python-battleofai | 8d4a488ce7e04be354e0d55cb55e7875189f2153 | [
"MIT"
] | null | null | null | battleofai/utils.py | LiBa001/python-battleofai | 8d4a488ce7e04be354e0d55cb55e7875189f2153 | [
"MIT"
] | null | null | null | def generate_get_uri(endpoint: str, **params):
unpacked_params = [f"{p}={params[p]}" for p in params]
return endpoint + '?' + '&'.join(unpacked_params)
| 32.2 | 58 | 0.652174 | 22 | 161 | 4.590909 | 0.636364 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161491 | 161 | 4 | 59 | 40.25 | 0.748148 | 0 | 0 | 0 | 1 | 0 | 0.10559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4ac37e85f65450ee07f74968d7351ab6e4832053 | 582 | py | Python | run_all_alts.py | sthadas/Perceptual_similarity | 5d21660e66e1ea31d72462db35aa4a8c850d6016 | [
"BSD-2-Clause"
] | 1 | 2018-10-03T13:32:09.000Z | 2018-10-03T13:32:09.000Z | run_all_alts.py | sthadas/Perceptual_similarity | 5d21660e66e1ea31d72462db35aa4a8c850d6016 | [
"BSD-2-Clause"
] | null | null | null | run_all_alts.py | sthadas/Perceptual_similarity | 5d21660e66e1ea31d72462db35aa4a8c850d6016 | [
"BSD-2-Clause"
] | null | null | null | import subprocess
for alt in ["Alt7","Alt8"]:
# subprocess.call(r'C:\\Users\\hstern\\AppData\\Local\\Continuum\\anaconda3\\python.exe C:\\Users\\hstern\\Downloads\\PerceptualSimilarity-master\\test_dataset_model.py --dataset_mode 2afc --model net --net alex --use_gpu --batch_size 1 --alt {0}'.format(alt))
subproce... | 145.5 | 271 | 0.766323 | 85 | 582 | 5.129412 | 0.482353 | 0.055046 | 0.068807 | 0.073395 | 0.463303 | 0.366972 | 0.366972 | 0.366972 | 0.366972 | 0.366972 | 0 | 0.014625 | 0.060137 | 582 | 4 | 271 | 145.5 | 0.78245 | 0.443299 | 0 | 0 | 0 | 0.333333 | 0.76875 | 0.54375 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
436fe38feaf480a8f887dd56791c89941f592586 | 42,430 | py | Python | contrib/runners/orquesta_runner/tests/unit/test_error_handling.py | momokuri-3/st2 | 0a7038723d701b433d7079b843cc76d4bf1ae8c9 | [
"Apache-2.0"
] | 4,920 | 2015-01-01T15:12:17.000Z | 2022-03-31T19:31:15.000Z | contrib/runners/orquesta_runner/tests/unit/test_error_handling.py | momokuri-3/st2 | 0a7038723d701b433d7079b843cc76d4bf1ae8c9 | [
"Apache-2.0"
] | 3,563 | 2015-01-05T19:02:19.000Z | 2022-03-31T19:23:09.000Z | contrib/runners/orquesta_runner/tests/unit/test_error_handling.py | momokuri-3/st2 | 0a7038723d701b433d7079b843cc76d4bf1ae8c9 | [
"Apache-2.0"
] | 774 | 2015-01-01T20:41:24.000Z | 2022-03-31T13:25:29.000Z | # Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless ... | 41.476051 | 98 | 0.645345 | 5,490 | 42,430 | 4.605829 | 0.059563 | 0.048406 | 0.033695 | 0.039073 | 0.856047 | 0.844183 | 0.83042 | 0.82781 | 0.803686 | 0.793087 | 0 | 0.007968 | 0.257577 | 42,430 | 1,022 | 99 | 41.516634 | 0.794737 | 0.070351 | 0 | 0.682152 | 0 | 0 | 0.117631 | 0.02803 | 0 | 0 | 0 | 0 | 0.149144 | 1 | 0.022005 | false | 0 | 0.031785 | 0 | 0.057457 | 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 |
43bfd2cfc1114924cd82b5357682ed22c48d2300 | 415 | py | Python | modules/tests/staff/__init__.py | PeterDaveHello/eden | 26174a9dde2f19cd3bc879694f373ad5f765b6ed | [
"MIT"
] | 1 | 2017-11-16T14:50:19.000Z | 2017-11-16T14:50:19.000Z | modules/tests/staff/__init__.py | PeterDaveHello/eden | 26174a9dde2f19cd3bc879694f373ad5f765b6ed | [
"MIT"
] | null | null | null | modules/tests/staff/__init__.py | PeterDaveHello/eden | 26174a9dde2f19cd3bc879694f373ad5f765b6ed | [
"MIT"
] | 1 | 2019-12-16T15:14:46.000Z | 2019-12-16T15:14:46.000Z | from staff import *
from create_staff_job_title import *
from create_staff_certificate import *
from create_staff_training import *
from add_staff_to_organisation import *
from add_staff_to_office import *
from add_staff_to_warehouse import *
from add_staff_participants import *
from create_staff import *
from staff_se... | 29.642857 | 39 | 0.843373 | 62 | 415 | 5.274194 | 0.274194 | 0.366972 | 0.195719 | 0.256881 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125301 | 415 | 13 | 40 | 31.923077 | 0.900826 | 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 |
43ce51b14e734295a65307ab57dba6496a6411fd | 3,850 | py | Python | tests/test_decompiler.py | edmcman/angr | fac69d1812235f560514c12a36b9a0cb7d7f4803 | [
"BSD-2-Clause"
] | 1 | 2020-05-09T13:11:41.000Z | 2020-05-09T13:11:41.000Z | tests/test_decompiler.py | edmcman/angr | fac69d1812235f560514c12a36b9a0cb7d7f4803 | [
"BSD-2-Clause"
] | null | null | null | tests/test_decompiler.py | edmcman/angr | fac69d1812235f560514c12a36b9a0cb7d7f4803 | [
"BSD-2-Clause"
] | 1 | 2020-05-09T13:15:26.000Z | 2020-05-09T13:15:26.000Z |
import os
import angr
test_location = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..', 'binaries', 'tests')
def test_decompiling_all_x86_64():
bin_path = os.path.join(test_location, "x86_64", "all")
p = angr.Project(bin_path, auto_load_libs=False)
cfg = p.analyses.CFG(data_referenc... | 32.083333 | 106 | 0.651429 | 548 | 3,850 | 4.410584 | 0.191606 | 0.040546 | 0.033099 | 0.03765 | 0.803062 | 0.7741 | 0.7741 | 0.750103 | 0.750103 | 0.70542 | 0 | 0.016989 | 0.22026 | 3,850 | 119 | 107 | 32.352941 | 0.788141 | 0.046494 | 0 | 0.662791 | 0 | 0 | 0.119782 | 0 | 0 | 0 | 0.004911 | 0.008403 | 0.011628 | 1 | 0.081395 | false | 0 | 0.023256 | 0 | 0.104651 | 0.186047 | 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 |
43ce9969be84452bd5b9473db0f01130b3081f3a | 28,742 | py | Python | tests/python/unittest/test_meta_schedule_schedule_rule_multi_level_tiling.py | shengxinhu/tvm | 06c443e9959452c6da3a911fe0c11e08c5554477 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 90 | 2021-11-30T11:58:10.000Z | 2022-03-31T02:24:04.000Z | tests/python/unittest/test_meta_schedule_schedule_rule_multi_level_tiling.py | shengxinhu/tvm | 06c443e9959452c6da3a911fe0c11e08c5554477 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 64 | 2021-11-22T23:58:23.000Z | 2022-03-31T03:19:22.000Z | tests/python/unittest/test_meta_schedule_schedule_rule_multi_level_tiling.py | shengxinhu/tvm | 06c443e9959452c6da3a911fe0c11e08c5554477 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 27 | 2021-12-09T22:39:27.000Z | 2022-03-24T23:21:48.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 50.336252 | 171 | 0.624035 | 4,399 | 28,742 | 3.889975 | 0.101614 | 0.029921 | 0.044881 | 0.068957 | 0.815276 | 0.792309 | 0.770337 | 0.75637 | 0.74439 | 0.74439 | 0 | 0.125798 | 0.220896 | 28,742 | 570 | 172 | 50.424561 | 0.638369 | 0.038272 | 0 | 0.614987 | 0 | 0.124031 | 0.462447 | 0.228824 | 0 | 0 | 0 | 0 | 0.01292 | 1 | 0.02584 | false | 0 | 0.031008 | 0 | 0.062016 | 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 |
78db254bdba8b20df0fe47356871efebe2821566 | 1,706 | py | Python | src/ufc-2.0.5/src/utils/python/ufc_utils/function.py | szmurlor/fiver | 083251420eb934d860c99dcf1eb07ae5b8ba7e8c | [
"Apache-2.0"
] | null | null | null | src/ufc-2.0.5/src/utils/python/ufc_utils/function.py | szmurlor/fiver | 083251420eb934d860c99dcf1eb07ae5b8ba7e8c | [
"Apache-2.0"
] | null | null | null | src/ufc-2.0.5/src/utils/python/ufc_utils/function.py | szmurlor/fiver | 083251420eb934d860c99dcf1eb07ae5b8ba7e8c | [
"Apache-2.0"
] | null | null | null | # Code generation format strings for UFC (Unified Form-assembly Code) v. 2.0.5.
# This code is released into the public domain.
#
# The FEniCS Project (http://www.fenicsproject.org/) 2006-2011.
function_combined = """\
/// This class defines the interface for a general tensor-valued function.
class %(classname)s: pub... | 21.871795 | 95 | 0.63306 | 195 | 1,706 | 5.497436 | 0.307692 | 0.11194 | 0.058769 | 0.05597 | 0.794776 | 0.744403 | 0.744403 | 0.744403 | 0.744403 | 0.744403 | 0 | 0.008289 | 0.222157 | 1,706 | 77 | 96 | 22.155844 | 0.799548 | 0.108441 | 0 | 0.637931 | 0 | 0.034483 | 0.939314 | 0.186675 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
78e96de562ab9216269e2c191b6992b5cafc87d2 | 2,978 | py | Python | configs/data_configs.py | justsong-lab/encoder4editing | 0f6ff7829793dbf4845a5bcafe7ec50335ba2864 | [
"MIT"
] | null | null | null | configs/data_configs.py | justsong-lab/encoder4editing | 0f6ff7829793dbf4845a5bcafe7ec50335ba2864 | [
"MIT"
] | null | null | null | configs/data_configs.py | justsong-lab/encoder4editing | 0f6ff7829793dbf4845a5bcafe7ec50335ba2864 | [
"MIT"
] | null | null | null | from configs import transforms_config
from configs.paths_config import dataset_paths
DATASETS = {
'bedroom_encode': {
'transforms': transforms_config.EncodeTransforms,
'train_source_root': dataset_paths['bedroom_train'],
'train_target_root': dataset_paths['bedroom_train'],
'test_source_root': dataset_paths['... | 38.675325 | 55 | 0.765615 | 353 | 2,978 | 5.94051 | 0.082153 | 0.234621 | 0.305198 | 0.209824 | 0.912732 | 0.843109 | 0.665713 | 0.665713 | 0.665713 | 0.665713 | 0 | 0 | 0.08865 | 2,978 | 76 | 56 | 39.184211 | 0.77266 | 0 | 0 | 0.418919 | 0 | 0 | 0.449966 | 0.015782 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.027027 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60bb945c7251044ca3c029eafdad250db70f4db8 | 70,991 | py | Python | d4s2_api_v2/tests_api.py | Duke-GCB/D4S2 | 47bef4b632967440608f2cc7a3fc31c32b2060fa | [
"MIT"
] | null | null | null | d4s2_api_v2/tests_api.py | Duke-GCB/D4S2 | 47bef4b632967440608f2cc7a3fc31c32b2060fa | [
"MIT"
] | 138 | 2016-09-23T18:09:18.000Z | 2022-03-03T15:50:19.000Z | d4s2_api_v2/tests_api.py | Duke-GCB/D4S2 | 47bef4b632967440608f2cc7a3fc31c32b2060fa | [
"MIT"
] | null | null | null | from django.core.urlresolvers import reverse, NoReverseMatch
from django.contrib.auth.models import User as django_user
from rest_framework import status
from rest_framework.test import APITestCase
from d4s2_api_v1.tests_api import AuthenticatedResourceTestCase
from d4s2_api_v1.api import EMAIL_TEMPLATES_NOT_SETUP_MSG,... | 46.490504 | 119 | 0.642927 | 8,353 | 70,991 | 5.209146 | 0.05076 | 0.099283 | 0.051273 | 0.048263 | 0.835034 | 0.801503 | 0.774177 | 0.746874 | 0.724766 | 0.70114 | 0 | 0.027712 | 0.231438 | 70,991 | 1,526 | 120 | 46.52097 | 0.769781 | 0.00755 | 0 | 0.617625 | 0 | 0 | 0.143192 | 0.038521 | 0 | 0 | 0 | 0 | 0.237491 | 1 | 0.075429 | false | 0.021658 | 0.008962 | 0 | 0.099328 | 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 |
60d26e24ebe0a0412bb525f64f974bfed4949676 | 459 | py | Python | src/awkward1/types.py | sjperkins/awkward-1.0 | 75dbd5d06a012ff9d1da56f898b747cea2b1d2a9 | [
"BSD-3-Clause"
] | null | null | null | src/awkward1/types.py | sjperkins/awkward-1.0 | 75dbd5d06a012ff9d1da56f898b747cea2b1d2a9 | [
"BSD-3-Clause"
] | null | null | null | src/awkward1/types.py | sjperkins/awkward-1.0 | 75dbd5d06a012ff9d1da56f898b747cea2b1d2a9 | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/master/LICENSE
from __future__ import absolute_import
from awkward1._ext import Type
from awkward1._ext import ArrayType
from awkward1._ext import PrimitiveType
from awkward1._ext import RegularType
from awkward1._ext import UnknownType
from a... | 32.785714 | 89 | 0.843137 | 66 | 459 | 5.651515 | 0.454545 | 0.289544 | 0.36193 | 0.506702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0.104575 | 459 | 13 | 90 | 35.307692 | 0.878346 | 0.189542 | 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 |
60ecb7a0ced54f482af0afb2d74fa9ae77abfbdf | 39 | py | Python | exceptions/__init__.py | zzzanderw/SC2-MMR-Tracking | be8f5474e63996beebb0cb6df52903d836c67677 | [
"MIT"
] | 4 | 2018-11-24T22:41:55.000Z | 2019-05-13T07:14:15.000Z | exceptions/__init__.py | captainGeech42/SC2-MMR-Tracking | be8f5474e63996beebb0cb6df52903d836c67677 | [
"MIT"
] | 10 | 2017-12-03T18:48:12.000Z | 2017-12-12T17:52:47.000Z | exceptions/__init__.py | captainGeech42/SC2-MMR-Tracking | be8f5474e63996beebb0cb6df52903d836c67677 | [
"MIT"
] | null | null | null | from .requesterror import RequestError
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
71583d99f34b2f5e4e9195be2885c591b1b230a6 | 57,848 | py | Python | sysinv/sysinv/sysinv/sysinv/tests/api/test_kube_rootca_update.py | albailey/config | 40ebe63d7dfc6a0a03216ebe55ed3ec9cf5410b9 | [
"Apache-2.0"
] | null | null | null | sysinv/sysinv/sysinv/sysinv/tests/api/test_kube_rootca_update.py | albailey/config | 40ebe63d7dfc6a0a03216ebe55ed3ec9cf5410b9 | [
"Apache-2.0"
] | null | null | null | sysinv/sysinv/sysinv/sysinv/tests/api/test_kube_rootca_update.py | albailey/config | 40ebe63d7dfc6a0a03216ebe55ed3ec9cf5410b9 | [
"Apache-2.0"
] | null | null | null | """
Tests for the API /kube_rootca_update/ methods.
"""
import datetime
import json
import mock
import os
from six.moves import http_client
from sysinv.common import constants
from sysinv.common import exception
from sysinv.common import health
from sysinv.common import kubernetes
from sysinv.conductor.manager import ... | 45.765823 | 111 | 0.668545 | 6,680 | 57,848 | 5.486677 | 0.057036 | 0.069029 | 0.060026 | 0.062072 | 0.851819 | 0.823797 | 0.791384 | 0.75073 | 0.725465 | 0.706693 | 0 | 0.003563 | 0.252835 | 57,848 | 1,263 | 112 | 45.802059 | 0.844408 | 0.104049 | 0 | 0.65701 | 0 | 0 | 0.124262 | 0.028926 | 0 | 0 | 0 | 0 | 0.174971 | 1 | 0.090382 | false | 0 | 0.016222 | 0.00927 | 0.135574 | 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 |
71a426730ac03d76b6be65cf819c93b663e4fe87 | 2,518 | py | Python | tests/test_write_basic_job.py | eodcgmbh/eodc-openeo-bindings | 4e80eba036771a0c81359e1ac66862f1eead407b | [
"MIT"
] | null | null | null | tests/test_write_basic_job.py | eodcgmbh/eodc-openeo-bindings | 4e80eba036771a0c81359e1ac66862f1eead407b | [
"MIT"
] | 7 | 2020-02-18T17:12:31.000Z | 2020-09-24T07:19:04.000Z | tests/test_write_basic_job.py | eodcgmbh/eodc-openeo-bindings | 4e80eba036771a0c81359e1ac66862f1eead407b | [
"MIT"
] | null | null | null | """
This test checks the input file generation of a basic job.
"""
import os
from eodc_openeo_bindings.job_writer.basic_writer import BasicJobWriter
def test_basic(test_folder, evi_file, out_filepath_basic,
backend_processes, S2_filepaths, setup_ref_job_folder):
BasicJobWriter().write_job(proces... | 39.34375 | 128 | 0.735107 | 343 | 2,518 | 5.026239 | 0.183673 | 0.076566 | 0.111369 | 0.034803 | 0.840487 | 0.840487 | 0.781323 | 0.781323 | 0.781323 | 0.781323 | 0 | 0.009528 | 0.166402 | 2,518 | 63 | 129 | 39.968254 | 0.811815 | 0.023034 | 0 | 0.657895 | 0 | 0 | 0.072594 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 1 | 0.078947 | false | 0 | 0.052632 | 0 | 0.131579 | 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 |
71c804b495481aae9ef7ac77417e4ae4ac060bdc | 129 | py | Python | 04_Day_Strings/31.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 04_Day_Strings/31.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 04_Day_Strings/31.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | print('30DaysOfPython'.isidentifier()) # can not be a variable
print('thirty_days_of_python'.isidentifier()) # can be a variable
| 43 | 65 | 0.775194 | 18 | 129 | 5.388889 | 0.666667 | 0.309278 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.100775 | 129 | 2 | 66 | 64.5 | 0.818966 | 0.302326 | 0 | 0 | 0 | 0 | 0.402299 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 |
71e55a8ea269064d57e6e2166017c3d77d6b8bed | 47 | py | Python | recbole/config/__init__.py | Ahren09/RecBole | b3921818dfbc1b81f9eda8d5e9f05bc9d9114089 | [
"MIT"
] | 1,773 | 2020-11-04T01:22:11.000Z | 2022-03-31T08:05:41.000Z | recbole/config/__init__.py | chenyushuo/RecBole | f04084b8d2cffcb79eb9e4b21325f8f6c75c638e | [
"MIT"
] | 378 | 2020-11-05T02:42:27.000Z | 2022-03-31T22:57:04.000Z | recbole/config/__init__.py | chenyushuo/RecBole | f04084b8d2cffcb79eb9e4b21325f8f6c75c638e | [
"MIT"
] | 354 | 2020-11-04T01:37:09.000Z | 2022-03-31T10:39:32.000Z | from recbole.config.configurator import Config
| 23.5 | 46 | 0.87234 | 6 | 47 | 6.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 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 |
e0e9e9ed85c8ee7d510b22c33193efd0235992e9 | 307 | py | Python | IPython/lib/tests/test_imports.py | ivanov/ipython | 62cc379d3b454923cb48e94663f385f54ec806cc | [
"BSD-3-Clause-Clear"
] | 2 | 2015-04-21T12:12:43.000Z | 2015-04-21T12:12:54.000Z | IPython/lib/tests/test_imports.py | 08saikiranreddy/ipython | 3498382180ad409592f46a9dd0d190ca917bfbff | [
"BSD-3-Clause-Clear"
] | 1 | 2015-07-16T22:26:53.000Z | 2015-07-16T22:26:53.000Z | IPython/lib/tests/test_imports.py | 08saikiranreddy/ipython | 3498382180ad409592f46a9dd0d190ca917bfbff | [
"BSD-3-Clause-Clear"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
def test_import_backgroundjobs():
from IPython.lib import backgroundjobs
def test_import_deepreload():
from IPython.lib import deepreload
def test_import_demo():
from IPython.lib import demo
def test_import_irunner():
from IPython.lib import demo
| 20.466667 | 42 | 0.762215 | 43 | 307 | 5.255814 | 0.395349 | 0.123894 | 0.230089 | 0.353982 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003876 | 0.159609 | 307 | 14 | 43 | 21.928571 | 0.872093 | 0.117264 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e80c56c93e5c5f7b02aa3dc3f0fcd49dc3cde9f4 | 345 | py | Python | data/typing/pandas.io.pickle.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 67 | 2020-08-17T11:53:26.000Z | 2021-11-08T20:16:06.000Z | data/typing/pandas.io.pickle.py | data-apis/python-record-api | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 36 | 2020-08-17T11:09:51.000Z | 2021-12-15T18:09:47.000Z | data/typing/pandas.io.pickle.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 7 | 2020-08-19T05:06:47.000Z | 2020-11-04T05:10:38.000Z | from typing import *
@overload
def read_pickle(filepath_or_buffer: Literal["test.pkl"]):
"""
usage.modin: 1
"""
...
@overload
def read_pickle(filepath_or_buffer: str):
"""
usage.geopandas: 3
"""
...
def read_pickle(filepath_or_buffer: str):
"""
usage.geopandas: 3
usage.... | 13.269231 | 57 | 0.57971 | 40 | 345 | 4.775 | 0.475 | 0.109948 | 0.204188 | 0.329843 | 0.727749 | 0.727749 | 0.727749 | 0.492147 | 0.492147 | 0.492147 | 0 | 0.015686 | 0.26087 | 345 | 25 | 58 | 13.8 | 0.733333 | 0.194203 | 0 | 0.777778 | 0 | 0 | 0.035088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e836d3af16e1f7a2ffe47c2f96d05b2bcc450457 | 16 | py | Python | metrics/__init__.py | ElementAI/wise_ils | f0897b4aae042c2085eeb13b38c2a26b43cb8eaf | [
"Apache-2.0"
] | 24 | 2019-08-08T22:00:14.000Z | 2021-01-28T01:45:51.000Z | metrics/__init__.py | JaringAu/wise_ils | 4e8bca05d834a80a5aff5e7c6e84dd3a283b399b | [
"Apache-2.0"
] | 6 | 2019-08-12T03:05:23.000Z | 2020-07-27T21:26:12.000Z | metrics/__init__.py | JaringAu/wise_ils | 4e8bca05d834a80a5aff5e7c6e84dd3a283b399b | [
"Apache-2.0"
] | 8 | 2019-08-08T22:15:02.000Z | 2021-01-28T01:45:52.000Z | from . import ap | 16 | 16 | 0.75 | 3 | 16 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 1 | 16 | 16 | 0.923077 | 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 |
1c312d1dd12914eccb845d112a48c2d3462790c7 | 135 | py | Python | frontend/admin.py | ebmdatalab/openpathology-web | e0620a39b174f2789df2cbea4e12bc413c1723ac | [
"MIT"
] | 2 | 2019-10-08T10:13:25.000Z | 2019-10-08T21:55:38.000Z | frontend/admin.py | HDRUK/openpathology-web | e0620a39b174f2789df2cbea4e12bc413c1723ac | [
"MIT"
] | 44 | 2019-09-25T06:36:28.000Z | 2021-08-18T11:59:24.000Z | frontend/admin.py | HDRUK/openpathology-web | e0620a39b174f2789df2cbea4e12bc413c1723ac | [
"MIT"
] | 4 | 2019-08-12T14:02:54.000Z | 2020-06-16T20:33:11.000Z | from django.contrib import admin
from .models import Measure
@admin.register(Measure)
class MeasureAdmin(admin.ModelAdmin):
pass
| 16.875 | 37 | 0.792593 | 17 | 135 | 6.294118 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 7 | 38 | 19.285714 | 0.91453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 |
1c39e9326c83dea15da67c3d3d62970f9952f41d | 10,185 | py | Python | tests/test_packet_builder.py | hansroh/aioquic | 491869f9faab05d8bcbcbabb2a4f9244e0cd06f9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_packet_builder.py | hansroh/aioquic | 491869f9faab05d8bcbcbabb2a4f9244e0cd06f9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_packet_builder.py | hansroh/aioquic | 491869f9faab05d8bcbcbabb2a4f9244e0cd06f9 | [
"BSD-3-Clause"
] | 2 | 2019-11-05T22:55:03.000Z | 2020-06-12T12:57:36.000Z | from unittest import TestCase
from aioquic.quic.crypto import CryptoPair
from aioquic.quic.packet import (
PACKET_TYPE_HANDSHAKE,
PACKET_TYPE_INITIAL,
PACKET_TYPE_ONE_RTT,
QuicFrameType,
QuicProtocolVersion,
)
from aioquic.quic.packet_builder import (
QuicPacketBuilder,
QuicPacketBuilderSto... | 33.725166 | 88 | 0.606578 | 1,037 | 10,185 | 5.68756 | 0.114754 | 0.111902 | 0.100712 | 0.061038 | 0.850119 | 0.813835 | 0.805358 | 0.768057 | 0.738386 | 0.721261 | 0 | 0.023992 | 0.308395 | 10,185 | 301 | 89 | 33.837209 | 0.813316 | 0.031615 | 0 | 0.677966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.04661 | false | 0 | 0.021186 | 0.004237 | 0.080508 | 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 |
1c534e3571a731f088d8b9d71888c4ef16e6b2e1 | 80 | py | Python | reststore/__init__.py | pombredanne/reststore | 0ec492e1840d0afcc7ec9859b0586cc78c6f6d2b | [
"MIT"
] | null | null | null | reststore/__init__.py | pombredanne/reststore | 0ec492e1840d0afcc7ec9859b0586cc78c6f6d2b | [
"MIT"
] | null | null | null | reststore/__init__.py | pombredanne/reststore | 0ec492e1840d0afcc7ec9859b0586cc78c6f6d2b | [
"MIT"
] | null | null | null |
from reststore.files import Files
from reststore.client import FilesClient
| 11.428571 | 41 | 0.8125 | 10 | 80 | 6.5 | 0.6 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 80 | 6 | 42 | 13.333333 | 0.970149 | 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 |
1c67b356e25ae0076aae5c8d2508a4ae0dc009b2 | 6,230 | py | Python | messages/test_data.py | sharebears/pulsar-messages | 723faa7be560f97f9a349e23b395239ccc10161f | [
"MIT"
] | null | null | null | messages/test_data.py | sharebears/pulsar-messages | 723faa7be560f97f9a349e23b395239ccc10161f | [
"MIT"
] | null | null | null | messages/test_data.py | sharebears/pulsar-messages | 723faa7be560f97f9a349e23b395239ccc10161f | [
"MIT"
] | null | null | null | from core import db
from core.mixins import TestDataPopulator
from messages.permissions import MessagePermissions
class MessagesPopulator(TestDataPopulator):
@classmethod
def populate(cls):
db.session.execute(
"""
INSERT INTO pm_conversations (topic, sender_id) VALUES
... | 53.706897 | 92 | 0.502889 | 758 | 6,230 | 4.102902 | 0.105541 | 0.226367 | 0.216077 | 0.288103 | 0.798071 | 0.773312 | 0.703537 | 0.623794 | 0.623794 | 0.623794 | 0 | 0.049776 | 0.319583 | 6,230 | 115 | 93 | 54.173913 | 0.683888 | 0 | 0 | 0.178571 | 0 | 0 | 0.191161 | 0.046249 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.107143 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98c95b8f4c1fb120f45652f210ea629b5b9ffdf7 | 308 | py | Python | algorithms/__init__.py | jaekyeom/MABAS | 5f5ae82f6570666dfa4e3c8447dae85ac8d51015 | [
"Apache-2.0",
"MIT"
] | 11 | 2020-07-30T10:54:40.000Z | 2021-11-05T06:32:49.000Z | algorithms/__init__.py | jaekyeom/MABAS | 5f5ae82f6570666dfa4e3c8447dae85ac8d51015 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-30T03:17:19.000Z | 2021-07-31T15:19:03.000Z | algorithms/__init__.py | jaekyeom/MABAS | 5f5ae82f6570666dfa4e3c8447dae85ac8d51015 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-12-20T07:25:14.000Z | 2020-12-20T07:25:14.000Z | from .Algorithm import *
from .FewShot import FewShot
from .FewShot_finetune import FewShotFinetune
#from .FewShot_hallucinator import FewShotHallucinator
#from .ImageNetLowShotExperiments import ImageNetLowShotExperiments
#from .ImageNetLowShotExperiments_finetune import ImageNetLowShotExperimentsFinetune
| 44 | 84 | 0.88961 | 26 | 308 | 10.423077 | 0.384615 | 0.121771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 308 | 6 | 85 | 51.333333 | 0.954225 | 0.655844 | 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 |
98f72b0f52d6fe1e549a440cf7b87a4e27ea593d | 20,466 | py | Python | tests/test_autostep.py | arup-group/mc | 50b8faa8b9d40dece88e0a27f911edd427ebc064 | [
"MIT"
] | null | null | null | tests/test_autostep.py | arup-group/mc | 50b8faa8b9d40dece88e0a27f911edd427ebc064 | [
"MIT"
] | 12 | 2021-12-14T15:10:43.000Z | 2022-03-31T13:39:25.000Z | tests/test_autostep.py | arup-group/mc | 50b8faa8b9d40dece88e0a27f911edd427ebc064 | [
"MIT"
] | null | null | null | from pathlib import Path
import pytest
from copy import deepcopy
import os
from mc.base import BaseConfig
from mc import autostep
from mc.bitsim.basic_iter_lambda import lambda_handler
from tests.env import this_dir
def test_construct_overrides_map_from_tuple():
assert autostep.construct_override_map_from_tuple(... | 44.203024 | 122 | 0.669843 | 2,371 | 20,466 | 5.566006 | 0.068747 | 0.082746 | 0.044707 | 0.035463 | 0.865272 | 0.844434 | 0.812079 | 0.798818 | 0.769417 | 0.753732 | 0 | 0.017649 | 0.166667 | 20,466 | 462 | 123 | 44.298701 | 0.756142 | 0 | 0 | 0.644909 | 0 | 0 | 0.337552 | 0.144979 | 0 | 0 | 0 | 0 | 0.305483 | 1 | 0.062663 | false | 0 | 0.020888 | 0.002611 | 0.091384 | 0.002611 | 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 |
c70e2f8b922f30495316fb9dc4a9833f0362e779 | 5,374 | py | Python | src/quantrt/models/account.py | ardieb/quantrt | 4a65b97218711ce8ebc7ae90588546cbee72e646 | [
"MIT"
] | null | null | null | src/quantrt/models/account.py | ardieb/quantrt | 4a65b97218711ce8ebc7ae90588546cbee72e646 | [
"MIT"
] | null | null | null | src/quantrt/models/account.py | ardieb/quantrt | 4a65b97218711ce8ebc7ae90588546cbee72e646 | [
"MIT"
] | null | null | null | import asyncio
import asyncpg
import quantrt.common.config
import quantrt.common.log
import quantrt.util.database
import quantrt.util.time
from dataclasses import dataclass
from datetime import datetime
from decimal import Decimal
from enum import Enum
from typing import Optional, Iterable, List
@dataclass
class Ac... | 33.798742 | 113 | 0.621883 | 617 | 5,374 | 5.333874 | 0.153971 | 0.04649 | 0.027347 | 0.057733 | 0.797934 | 0.779702 | 0.779702 | 0.764813 | 0.764813 | 0.74962 | 0 | 0.004162 | 0.284704 | 5,374 | 158 | 114 | 34.012658 | 0.851977 | 0.029401 | 0 | 0.730769 | 0 | 0 | 0.308888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.084615 | 0 | 0.161538 | 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 |
c70ff8a7b6e1fabb6b71bdfab3b9e258670229e0 | 810 | py | Python | pygimli/physics/gravimetry/__init__.py | baender/gimli | eb9a2204669cf11209b9577472f61ac70217a191 | [
"Apache-2.0"
] | 224 | 2015-02-20T21:36:24.000Z | 2022-03-30T07:27:43.000Z | pygimli/physics/gravimetry/__init__.py | baender/gimli | eb9a2204669cf11209b9577472f61ac70217a191 | [
"Apache-2.0"
] | 341 | 2015-05-21T14:39:51.000Z | 2022-03-31T01:54:07.000Z | pygimli/physics/gravimetry/__init__.py | baender/gimli | eb9a2204669cf11209b9577472f61ac70217a191 | [
"Apache-2.0"
] | 107 | 2015-01-24T14:40:21.000Z | 2022-02-25T12:12:13.000Z | # -*- coding: utf-8 -*-
"""Solve gravimetric and magneto static problems in 2D and 3D analytical"""
from . gravMagModelling import BaZCylinderHoriz
from . gravMagModelling import BZPoly
from . gravMagModelling import BaZSphere
from . gravMagModelling import uSphere
from . gravMagModelling import gradUSphere
from . gr... | 32.4 | 75 | 0.820988 | 76 | 810 | 8.697368 | 0.460526 | 0.423601 | 0.550681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004267 | 0.132099 | 810 | 24 | 76 | 33.75 | 0.935989 | 0.22963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c730c9cefd5589b2090d9ef2a36c215e97d48a96 | 1,840 | py | Python | runtime/components/Basic_Arithmetic/test_abs.py | ulise/hetida-designer | a6be8eb45abf950d5498e3ca756ea1d2e46b5c00 | [
"MIT"
] | 41 | 2020-11-18T10:12:29.000Z | 2022-03-28T21:46:41.000Z | runtime/components/Basic_Arithmetic/test_abs.py | ulise/hetida-designer | a6be8eb45abf950d5498e3ca756ea1d2e46b5c00 | [
"MIT"
] | 4 | 2020-12-08T15:28:15.000Z | 2022-02-01T11:40:17.000Z | runtime/components/Basic_Arithmetic/test_abs.py | ulise/hetida-designer | a6be8eb45abf950d5498e3ca756ea1d2e46b5c00 | [
"MIT"
] | 14 | 2020-11-18T11:39:17.000Z | 2022-03-21T15:05:11.000Z | import pandas as pd
from .abs import main
def test_numeric():
assert main(data=-4)["absolute"] == 4
def test_series():
assert main(
data=pd.Series(
{
"2019-08-01T15:20:12": 4,
"2019-08-01T15:44:12": None,
"2019-08-03T16:20:15": -16,
... | 25.915493 | 62 | 0.358152 | 204 | 1,840 | 3.205882 | 0.20098 | 0.220183 | 0.201835 | 0.119266 | 0.730887 | 0.675841 | 0.675841 | 0.675841 | 0.675841 | 0.675841 | 0 | 0.386221 | 0.479348 | 1,840 | 70 | 63 | 26.285714 | 0.296451 | 0 | 0 | 0.33871 | 0 | 0 | 0.267391 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 1 | 0.064516 | true | 0 | 0.032258 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7360af41dd806de6f4c620ed7ef77d0eaa8cda7 | 95 | py | Python | starlette_cbge/endpoints/list_endpoint.py | gvbgduh/starlette-cbge | 4c18a1cf1cfa088d67a61b89e64217e2e4dac809 | [
"MIT"
] | 7 | 2019-09-01T21:37:23.000Z | 2020-05-12T19:36:04.000Z | starlette_cbge/endpoints/list_endpoint.py | gvbgduh/starlette-cbge | 4c18a1cf1cfa088d67a61b89e64217e2e4dac809 | [
"MIT"
] | null | null | null | starlette_cbge/endpoints/list_endpoint.py | gvbgduh/starlette-cbge | 4c18a1cf1cfa088d67a61b89e64217e2e4dac809 | [
"MIT"
] | null | null | null | from starlette_cbge.endpoints import BaseEndpoint
class ListEndpoint(BaseEndpoint):
pass
| 15.833333 | 49 | 0.821053 | 10 | 95 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 5 | 50 | 19 | 0.939024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
1bf40384c85a7f004708b25556c4319187154027 | 295 | py | Python | penknife/main.py | mfhorita/Autotasks-Python | 083937e3d5dd56c44edf9d5fb54e9357dd9c6dc3 | [
"MIT"
] | 1 | 2021-11-26T00:21:01.000Z | 2021-11-26T00:21:01.000Z | penknife/main.py | mfhorita/Autotasks-Python | 083937e3d5dd56c44edf9d5fb54e9357dd9c6dc3 | [
"MIT"
] | null | null | null | penknife/main.py | mfhorita/Autotasks-Python | 083937e3d5dd56c44edf9d5fb54e9357dd9c6dc3 | [
"MIT"
] | null | null | null | # coding=utf-8
from penknife import msg # MsgBox tasks
from penknife import pdf # PDF tasks
from penknife import rpa # Robotics tasks
from penknife import web # Web tasks
from penknife import sys # System tasks
from penknife import vba # Excel e Word tasks
| 29.5 | 51 | 0.684746 | 41 | 295 | 4.926829 | 0.463415 | 0.356436 | 0.534653 | 0.569307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004739 | 0.284746 | 295 | 9 | 52 | 32.777778 | 0.952607 | 0.311864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
40808c1e8920e7fc29091959cd4ad69f4ca87eb8 | 213 | py | Python | helloworld_project/comments/views.py | stephano1111/helloword | 2335d2407ea8b2bf407ff0ed6bb07f70cca33ead | [
"Apache-2.0"
] | 1 | 2022-03-04T03:41:04.000Z | 2022-03-04T03:41:04.000Z | helloworld_project/comments/views.py | stephano1111/helloword | 2335d2407ea8b2bf407ff0ed6bb07f70cca33ead | [
"Apache-2.0"
] | null | null | null | helloworld_project/comments/views.py | stephano1111/helloword | 2335d2407ea8b2bf407ff0ed6bb07f70cca33ead | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def homePageView(request):
return render(request, 'comments.html', {})
#return HttpResponse('Commets');
| 23.666667 | 47 | 0.751174 | 25 | 213 | 6.4 | 0.72 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14554 | 213 | 8 | 48 | 26.625 | 0.879121 | 0.253521 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
40c78eecbca48ff7e72bbc7c5a8ec7a0bb2f07d3 | 119 | py | Python | dictutil.py | JediKoder/coursera-CodeMatrix | 1ac461d22ebaf2777eabdcf31d76d709c33f472a | [
"MIT"
] | 6 | 2015-09-18T02:07:21.000Z | 2020-04-22T17:05:11.000Z | dictutil.py | JediKoder/coursera-CodeMatrix | 1ac461d22ebaf2777eabdcf31d76d709c33f472a | [
"MIT"
] | null | null | null | dictutil.py | JediKoder/coursera-CodeMatrix | 1ac461d22ebaf2777eabdcf31d76d709c33f472a | [
"MIT"
] | 10 | 2015-09-05T03:54:00.000Z | 2020-04-21T12:56:40.000Z | def dict2list(dct, keylist): return [dct[k] for k in keylist]
def list2dict(L, keylist): return dict(zip(keylist, L))
| 29.75 | 61 | 0.722689 | 20 | 119 | 4.3 | 0.6 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.134454 | 119 | 3 | 62 | 39.666667 | 0.815534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
40cdcd9a2cf810a5a0df031b7b20b24d742fc462 | 4,869 | py | Python | gdb/migrations/0004_auto_20180303_1416.py | paleocore/paleocore110 | 754f3248ab22a2996b43bd224bd4ba15462edf7d | [
"MIT"
] | null | null | null | gdb/migrations/0004_auto_20180303_1416.py | paleocore/paleocore110 | 754f3248ab22a2996b43bd224bd4ba15462edf7d | [
"MIT"
] | 7 | 2020-02-05T20:54:24.000Z | 2021-12-13T20:13:20.000Z | gdb/migrations/0004_auto_20180303_1416.py | paleocore/paleocore110 | 754f3248ab22a2996b43bd224bd4ba15462edf7d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2018-03-03 14:16
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('gdb', '0003_auto_20180303_0054... | 62.423077 | 184 | 0.631752 | 548 | 4,869 | 5.470803 | 0.208029 | 0.062375 | 0.044363 | 0.064043 | 0.759173 | 0.755504 | 0.755504 | 0.718145 | 0.718145 | 0.690127 | 0 | 0.018827 | 0.236394 | 4,869 | 77 | 185 | 63.233766 | 0.78752 | 0.013966 | 0 | 0.528571 | 1 | 0 | 0.270321 | 0.009587 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc012eaff2cd52b103e6bc167f0c72da23317e87 | 172 | py | Python | evalml/pipelines/components/transformers/encoders/__init__.py | Mahesh1822/evalml | aa0ec2379aeba12bbd0dcaaa000f9a2a62064169 | [
"BSD-3-Clause"
] | 454 | 2020-09-25T15:36:06.000Z | 2022-03-30T04:48:49.000Z | evalml/pipelines/components/transformers/encoders/__init__.py | Mahesh1822/evalml | aa0ec2379aeba12bbd0dcaaa000f9a2a62064169 | [
"BSD-3-Clause"
] | 2,175 | 2020-09-25T17:05:45.000Z | 2022-03-31T19:54:54.000Z | evalml/pipelines/components/transformers/encoders/__init__.py | Mahesh1822/evalml | aa0ec2379aeba12bbd0dcaaa000f9a2a62064169 | [
"BSD-3-Clause"
] | 66 | 2020-09-25T18:46:27.000Z | 2022-03-02T18:33:30.000Z | """Components used to encode the input data."""
from .onehot_encoder import OneHotEncoder
from .target_encoder import TargetEncoder
from .label_encoder import LabelEncoder
| 34.4 | 47 | 0.831395 | 22 | 172 | 6.363636 | 0.727273 | 0.278571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110465 | 172 | 4 | 48 | 43 | 0.915033 | 0.238372 | 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 |
907d22b706d4f2153165b6ba04f4aae515c3dbb2 | 4,682 | py | Python | tests/unit/models/directdebit/test_initialize_tokenization.py | adyaksaw/xendit-python | 47b05f2a6582104a274dc12a172c6421de86febc | [
"MIT"
] | 10 | 2020-10-31T23:34:34.000Z | 2022-03-08T19:08:55.000Z | tests/unit/models/directdebit/test_initialize_tokenization.py | adyaksaw/xendit-python | 47b05f2a6582104a274dc12a172c6421de86febc | [
"MIT"
] | 22 | 2020-07-30T14:25:07.000Z | 2022-03-31T03:55:46.000Z | tests/unit/models/directdebit/test_initialize_tokenization.py | adyaksaw/xendit-python | 47b05f2a6582104a274dc12a172c6421de86febc | [
"MIT"
] | 11 | 2020-07-28T08:09:40.000Z | 2022-03-18T00:14:02.000Z | import pytest
from ..model_base_test import ModelBaseTest
from tests.sampleresponse.direct_debit import linked_account_response
from xendit.models import DirectDebit
# fmt: off
class TestInitializeTokenization(ModelBaseTest):
@pytest.fixture
def default_linked_account_data(self):
tested_class = Direct... | 47.77551 | 140 | 0.718924 | 556 | 4,682 | 5.552158 | 0.181655 | 0.092647 | 0.084224 | 0.101069 | 0.812763 | 0.803693 | 0.775834 | 0.749271 | 0.749271 | 0.74668 | 0 | 0.024695 | 0.195643 | 4,682 | 97 | 141 | 48.268041 | 0.795008 | 0.003417 | 0 | 0.369048 | 0 | 0 | 0.138323 | 0.056401 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0.047619 | 0 | 0.202381 | 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 |
9088f6501c8f16542d82e256d5086d244fa6bb42 | 1,578 | py | Python | mayan/apps/metadata/icons.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 4 | 2021-09-02T00:16:30.000Z | 2021-09-09T22:25:15.000Z | mayan/apps/metadata/icons.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 86 | 2021-09-01T23:53:02.000Z | 2021-09-20T02:25:10.000Z | mayan/apps/metadata/icons.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 70 | 2021-09-01T12:54:51.000Z | 2022-02-16T00:53:18.000Z | from mayan.apps.appearance.classes import Icon
from mayan.apps.documents.icons import icon_document_type
icon_document_metadata_add = Icon(
driver_name='fontawesome-dual', primary_symbol='database',
secondary_symbol='plus'
)
icon_document_metadata_edit = Icon(
driver_name='fontawesome-dual', primary_symbol... | 36.697674 | 78 | 0.793409 | 194 | 1,578 | 6.051546 | 0.175258 | 0.110733 | 0.155026 | 0.276831 | 0.796422 | 0.740204 | 0.740204 | 0.703578 | 0.703578 | 0.653322 | 0 | 0 | 0.096958 | 1,578 | 42 | 79 | 37.571429 | 0.82386 | 0 | 0 | 0.390244 | 0 | 0 | 0.195817 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04878 | 0 | 0.04878 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90a3d4f03884d595880af2cc9439734745ba53d1 | 25 | py | Python | lib/yamddpp/yamddpp/plists/__init__.py | atomrq/simulab | 886f2d613ecbac711b41026887f6d9f7ac94b25f | [
"BSD-3-Clause"
] | null | null | null | lib/yamddpp/yamddpp/plists/__init__.py | atomrq/simulab | 886f2d613ecbac711b41026887f6d9f7ac94b25f | [
"BSD-3-Clause"
] | null | null | null | lib/yamddpp/yamddpp/plists/__init__.py | atomrq/simulab | 886f2d613ecbac711b41026887f6d9f7ac94b25f | [
"BSD-3-Clause"
] | null | null | null | from .nlist import nlist
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 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 |
90d4112200aa28ad95d5ccbef595fe59ea4b96fe | 95 | py | Python | software/python/led_pwm_tlc5947/led_pwm_tlc5947/__init__.py | willdickson/led_pwm_tlc5947 | 9943ae76af0a33366509763917969d2da2bb60ce | [
"MIT"
] | null | null | null | software/python/led_pwm_tlc5947/led_pwm_tlc5947/__init__.py | willdickson/led_pwm_tlc5947 | 9943ae76af0a33366509763917969d2da2bb60ce | [
"MIT"
] | null | null | null | software/python/led_pwm_tlc5947/led_pwm_tlc5947/__init__.py | willdickson/led_pwm_tlc5947 | 9943ae76af0a33366509763917969d2da2bb60ce | [
"MIT"
] | null | null | null | from .led_pwm_tlc5947 import PwmController
from .led_pwm_tlc5947 import PwmControllerException
| 31.666667 | 51 | 0.894737 | 12 | 95 | 6.75 | 0.583333 | 0.17284 | 0.246914 | 0.419753 | 0.567901 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 0.084211 | 95 | 2 | 52 | 47.5 | 0.83908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
90d56729927e34dfb5d1232e275448a560cf0234 | 30,299 | py | Python | networkx/algorithms/connectivity/connectivity.py | rakschahsa/networkx | 6cac55b1064c3c346665f9281680fa3b66442ad0 | [
"BSD-3-Clause"
] | 445 | 2019-01-26T13:50:26.000Z | 2022-03-18T05:17:38.000Z | Library/lib/python3.7/site-packages/networkx/algorithms/connectivity/connectivity.py | gengyong/Carnets | 8930a14f69360d4db115a85ff9e0f6efa80fa2e7 | [
"BSD-3-Clause"
] | 242 | 2019-01-29T15:48:27.000Z | 2022-03-31T22:09:21.000Z | site-packages/networkx/algorithms/connectivity/connectivity.py | Wristlebane/Pyto | 901ac307b68486d8289105c159ca702318bea5b0 | [
"MIT"
] | 31 | 2019-03-10T09:51:27.000Z | 2022-02-14T23:11:12.000Z | # -*- coding: utf-8 -*-
"""
Flow based connectivity algorithms
"""
from __future__ import division
import itertools
from operator import itemgetter
import networkx as nx
# Define the default maximum flow function to use in all flow based
# connectivity algorithms.
from networkx.algorithms.flow import boykov_kolmogoro... | 36.904994 | 88 | 0.670517 | 4,185 | 30,299 | 4.762485 | 0.092234 | 0.053786 | 0.032663 | 0.016959 | 0.81441 | 0.782098 | 0.758818 | 0.733481 | 0.712257 | 0.694948 | 0 | 0.005566 | 0.252847 | 30,299 | 820 | 89 | 36.95 | 0.874856 | 0.69933 | 0 | 0.543956 | 0 | 0 | 0.069651 | 0.016683 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.054945 | 0.005495 | 0.181319 | 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 |
90e83c7d93329a2da247e3eaa6afc64d26fe4051 | 41 | py | Python | rl_toolkit/networks/callbacks/__init__.py | markub3327/stable-baselines | b2b621f741c8cb184797cbb918ae2cee78f54d1a | [
"MIT"
] | null | null | null | rl_toolkit/networks/callbacks/__init__.py | markub3327/stable-baselines | b2b621f741c8cb184797cbb918ae2cee78f54d1a | [
"MIT"
] | null | null | null | rl_toolkit/networks/callbacks/__init__.py | markub3327/stable-baselines | b2b621f741c8cb184797cbb918ae2cee78f54d1a | [
"MIT"
] | null | null | null | from .agent import AgentCallback # noqa
| 20.5 | 40 | 0.780488 | 5 | 41 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 1 | 41 | 41 | 0.941176 | 0.097561 | 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 |
90e9d3220341a713c744b88e7c0047c094fe1f26 | 28 | py | Python | src/__init__.py | ianstokesrees-gamma/demo-machine-learning | bc27995165e72ad829395e3a44102032b0d83c47 | [
"MIT"
] | 3 | 2021-05-11T17:48:09.000Z | 2022-01-24T17:58:34.000Z | src/__init__.py | ianstokesrees-gamma/demo-machine-learning | bc27995165e72ad829395e3a44102032b0d83c47 | [
"MIT"
] | null | null | null | src/__init__.py | ianstokesrees-gamma/demo-machine-learning | bc27995165e72ad829395e3a44102032b0d83c47 | [
"MIT"
] | 4 | 2020-10-27T02:03:06.000Z | 2022-01-24T17:59:20.000Z | from . import config # noqa | 28 | 28 | 0.714286 | 4 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 1 | 28 | 28 | 0.909091 | 0.142857 | 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 |
90f3dea049fab918f47b5b7a1ef990a326e5ff64 | 557 | py | Python | tests/__init__.py | phananh1096/aspire360_measures | d756a9757bb577b75069b8ff17ae33eab3b059e8 | [
"RSA-MD"
] | null | null | null | tests/__init__.py | phananh1096/aspire360_measures | d756a9757bb577b75069b8ff17ae33eab3b059e8 | [
"RSA-MD"
] | null | null | null | tests/__init__.py | phananh1096/aspire360_measures | d756a9757bb577b75069b8ff17ae33eab3b059e8 | [
"RSA-MD"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import test_aspire360
# from . import test_survey
# from . import test_survey_flow
# from . import test_certification_flow
# from . import test_survey_invite
# from . import test_survey_security
# from . import te... | 34.8125 | 74 | 0.797127 | 78 | 557 | 5.346154 | 0.410256 | 0.28777 | 0.402878 | 0.431655 | 0.158273 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008351 | 0.140036 | 557 | 15 | 75 | 37.133333 | 0.862213 | 0.897666 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
29315fd5d76d33bd25886fafcf53c9cc9d141a00 | 864 | py | Python | algs/src/python/imagep/src/anaglyph/anaglyph_methods.py | sivikt/14m2-alg | 38a07ef26de0cc857a5ad389c2987d57a69d23d4 | [
"Unlicense"
] | 1 | 2015-02-13T19:05:30.000Z | 2015-02-13T19:05:30.000Z | algs/src/python/imagep/src/anaglyph/anaglyph_methods.py | sivikt/14m2-alg | 38a07ef26de0cc857a5ad389c2987d57a69d23d4 | [
"Unlicense"
] | null | null | null | algs/src/python/imagep/src/anaglyph/anaglyph_methods.py | sivikt/14m2-alg | 38a07ef26de0cc857a5ad389c2987d57a69d23d4 | [
"Unlicense"
] | null | null | null | TRUE = [
[[ 0.299, 0.587, 0.114 ],
[ 0, 0, 0 ],
[ 0, 0, 0 ]],
[[ 0, 0, 0 ],
[ 0, 0, 0 ],
[ 0.299, 0.587, 0.114 ]]
]
GRAY = [
[[ 0.299, 0.587, 0.114 ],
[ 0, 0, 0 ],
[ 0, 0, 0 ]],
[[ 0, 0, 0 ],
[ 0.299, 0.587, 0.114 ],
[ 0.299, 0.587, 0.1... | 15.157895 | 30 | 0.260417 | 128 | 864 | 1.742188 | 0.140625 | 0.511211 | 0.64574 | 0.717489 | 0.627803 | 0.627803 | 0.578475 | 0.573991 | 0.573991 | 0.573991 | 0 | 0.326622 | 0.482639 | 864 | 57 | 31 | 15.157895 | 0.17226 | 0 | 0 | 0.574468 | 0 | 0 | 0.00578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
29412b0d9b324d5df10cca590ccf856c37829688 | 39 | py | Python | crypto/__init__.py | hslee1539/blockSQL | bb1a2d8c8cbde55d171d656325b33c64a198570c | [
"MIT"
] | null | null | null | crypto/__init__.py | hslee1539/blockSQL | bb1a2d8c8cbde55d171d656325b33c64a198570c | [
"MIT"
] | null | null | null | crypto/__init__.py | hslee1539/blockSQL | bb1a2d8c8cbde55d171d656325b33c64a198570c | [
"MIT"
] | null | null | null | from blockSQL.crypto import rc4_module
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 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 |
29783eaf68aa13ab9b189fb97b87c4909e1eef86 | 30 | py | Python | silkpy/symbolic/geometry_map/coord_transform/__init__.py | jiaxin1996/silkpy | 7720d47b33b731d9e11e67d99c8574514b8f177b | [
"MIT"
] | 1 | 2021-05-13T09:23:03.000Z | 2021-05-13T09:23:03.000Z | silkpy/symbolic/geometry_map/coord_transform/__init__.py | jiaxin1996/silkpy | 7720d47b33b731d9e11e67d99c8574514b8f177b | [
"MIT"
] | null | null | null | silkpy/symbolic/geometry_map/coord_transform/__init__.py | jiaxin1996/silkpy | 7720d47b33b731d9e11e67d99c8574514b8f177b | [
"MIT"
] | 1 | 2021-05-27T14:13:24.000Z | 2021-05-27T14:13:24.000Z | from .coord_transform import * | 30 | 30 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 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 |
463ae1d3f4ce8fa8f10b1f039ce47e7cc1c22c3e | 2,618 | py | Python | opt/bin/gpu-temp.py | computer-geek64/dotfiles | 1318f74f37d4ba850705d6fd7d02bfcf2b5a9f56 | [
"MIT"
] | null | null | null | opt/bin/gpu-temp.py | computer-geek64/dotfiles | 1318f74f37d4ba850705d6fd7d02bfcf2b5a9f56 | [
"MIT"
] | null | null | null | opt/bin/gpu-temp.py | computer-geek64/dotfiles | 1318f74f37d4ba850705d6fd7d02bfcf2b5a9f56 | [
"MIT"
] | null | null | null | #!/usr/bin/python3 -B
# gpu-temp.py
from subprocess import Popen, PIPE
temperature = None
fan_speed = None
for line in Popen(['nvidia-smi', '-q'], stdout=PIPE, stderr=PIPE).communicate()[0].decode().split('\n'):
if 'GPU Current Temp' in line and not temperature:
temperature = int(line.split(': ')[-1].spl... | 47.6 | 139 | 0.677235 | 393 | 2,618 | 4.384224 | 0.170483 | 0.283227 | 0.102147 | 0.148578 | 0.741149 | 0.741149 | 0.719095 | 0.719095 | 0.674985 | 0.674985 | 0 | 0.049817 | 0.164248 | 2,618 | 54 | 140 | 48.481481 | 0.73766 | 0.203209 | 0 | 0.264706 | 0 | 0 | 0.204447 | 0.125181 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.058824 | 0.029412 | 0 | 0.029412 | 0.029412 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4647b973f240beadf3f9f08818cb1fb1514cef8f | 124 | py | Python | bempy/django/blocks/title/__init__.py | svetlyak40wt/bempy | ad87982d17c2d14c344d9e3d91a48c37dfb72535 | [
"BSD-3-Clause"
] | 1 | 2015-04-29T15:19:45.000Z | 2015-04-29T15:19:45.000Z | bempy/django/blocks/title/__init__.py | svetlyak40wt/bempy | ad87982d17c2d14c344d9e3d91a48c37dfb72535 | [
"BSD-3-Clause"
] | null | null | null | bempy/django/blocks/title/__init__.py | svetlyak40wt/bempy | ad87982d17c2d14c344d9e3d91a48c37dfb72535 | [
"BSD-3-Clause"
] | 1 | 2019-06-10T16:08:54.000Z | 2019-06-10T16:08:54.000Z | from bempy.blocks import block
@block()
def title(content, level=None):
return dict(content=content, level=level or 1)
| 20.666667 | 50 | 0.741935 | 19 | 124 | 4.842105 | 0.736842 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.145161 | 124 | 5 | 51 | 24.8 | 0.858491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
46508115d86f167a8fdb352a493097d7974573c1 | 72 | py | Python | Lab/L1/ex6.py | Mi7ai/Algoritmia | 2f1c7b3990e4971f4f977fd0ea4d308004ab3db5 | [
"Apache-2.0"
] | null | null | null | Lab/L1/ex6.py | Mi7ai/Algoritmia | 2f1c7b3990e4971f4f977fd0ea4d308004ab3db5 | [
"Apache-2.0"
] | null | null | null | Lab/L1/ex6.py | Mi7ai/Algoritmia | 2f1c7b3990e4971f4f977fd0ea4d308004ab3db5 | [
"Apache-2.0"
] | null | null | null | def raiz(a, b, c):
if a == 0: return None
# todo
return None | 18 | 26 | 0.527778 | 13 | 72 | 2.923077 | 0.769231 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.347222 | 72 | 4 | 27 | 18 | 0.787234 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4682de302e67de2761dbd57666c165f9b8936742 | 173 | py | Python | github/expand_intervals.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | github/expand_intervals.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | github/expand_intervals.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | from typing import Iterable
from itertools import chain
def expand_intervals(items: Iterable) -> Iterable:
return chain(*(range(item[0], item[1]+1) for item in items)) | 28.833333 | 64 | 0.745665 | 26 | 173 | 4.923077 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02027 | 0.144509 | 173 | 6 | 64 | 28.833333 | 0.844595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
46b3e89cf0a53f2d25b6ed4f2a15deb9e192de13 | 116 | py | Python | uts/__init__.py | Yifei-Liu/uts | 64c137d59fcd0c7c016082018d67a56abac0b28e | [
"MIT"
] | 1 | 2021-07-09T15:37:58.000Z | 2021-07-09T15:37:58.000Z | uts/__init__.py | Yifei-Liu/uts | 64c137d59fcd0c7c016082018d67a56abac0b28e | [
"MIT"
] | 1 | 2021-07-20T22:22:44.000Z | 2021-07-20T22:23:04.000Z | uts/__init__.py | Yifei-Liu/uts | 64c137d59fcd0c7c016082018d67a56abac0b28e | [
"MIT"
] | 1 | 2021-06-29T20:13:18.000Z | 2021-06-29T20:13:18.000Z | import uts.ema
import uts.peak_detection
import uts.rolling
import uts.sma
import uts.thresholding
import uts.zscore | 19.333333 | 25 | 0.853448 | 19 | 116 | 5.157895 | 0.473684 | 0.55102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094828 | 116 | 6 | 26 | 19.333333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
d3bf2be8161e936be68116e48987ed324ce04472 | 89 | py | Python | package/awesome_panel/express/fontawesome/__init__.py | jlstevens/awesome-panel | c67b0f4529a3ce6a8517648f49fef8358e2e2c8b | [
"Apache-2.0"
] | null | null | null | package/awesome_panel/express/fontawesome/__init__.py | jlstevens/awesome-panel | c67b0f4529a3ce6a8517648f49fef8358e2e2c8b | [
"Apache-2.0"
] | null | null | null | package/awesome_panel/express/fontawesome/__init__.py | jlstevens/awesome-panel | c67b0f4529a3ce6a8517648f49fef8358e2e2c8b | [
"Apache-2.0"
] | 1 | 2021-10-05T05:40:19.000Z | 2021-10-05T05:40:19.000Z | """This module exports functionality from fontawesome"""
from .fontawesome import extend
| 29.666667 | 56 | 0.808989 | 10 | 89 | 7.2 | 0.8 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 89 | 2 | 57 | 44.5 | 0.911392 | 0.561798 | 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 |
d3e906aeae92a8bd1ef2b75b90db77fbacf58279 | 5,817 | py | Python | p096.py | arpit0891/Project-euler | ab36b33c578578595bb518508fa2fe5862f4a044 | [
"MIT"
] | 1 | 2020-05-14T09:22:32.000Z | 2020-05-14T09:22:32.000Z | p096.py | prve17/Project-Euler | 1ff72404ca9ebe7de2eab83d43960d86bc487515 | [
"MIT"
] | 1 | 2020-03-13T12:42:28.000Z | 2020-05-13T13:26:32.000Z | p096.py | prve17/Project-Euler | 1ff72404ca9ebe7de2eab83d43960d86bc487515 | [
"MIT"
] | 3 | 2020-05-13T13:39:46.000Z | 2020-06-26T10:44:53.000Z | def compute():
def extract(sudoku): # For example: extract([3, 9, 4, 1, ...]) = 394
return int("".join(map(str, sudoku[ : 3])))
ans = sum(extract(solve(puz)) for puz in PUZZLES)
return str(ans)
# Given a string of 81 digits, this returns a list of 81 ints representing the solved sudoku puzzle.
def solve(puzzl... | 51.477876 | 100 | 0.857143 | 298 | 5,817 | 16.704698 | 0.45302 | 0.008437 | 0.008035 | 0.006629 | 0.030735 | 0.028726 | 0.028726 | 0.028726 | 0.028726 | 0 | 0 | 0.763565 | 0.078047 | 5,817 | 112 | 101 | 51.9375 | 0.164647 | 0.055011 | 0 | 0.082474 | 0 | 0 | 0.741119 | 0.737839 | 0 | 1 | 0 | 0 | 0.020619 | 1 | 0.041237 | false | 0 | 0 | 0.010309 | 0.113402 | 0.010309 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3fb26a4e5f304d5839a66eb80d7347b42e2e3fd | 13,078 | py | Python | cupy/array_api/_creation_functions.py | ColmTalbot/cupy | 1c7ee304aed3f3664a191f61a7b4cecbcec2608c | [
"MIT"
] | null | null | null | cupy/array_api/_creation_functions.py | ColmTalbot/cupy | 1c7ee304aed3f3664a191f61a7b4cecbcec2608c | [
"MIT"
] | null | null | null | cupy/array_api/_creation_functions.py | ColmTalbot/cupy | 1c7ee304aed3f3664a191f61a7b4cecbcec2608c | [
"MIT"
] | null | null | null | from __future__ import annotations
from typing import TYPE_CHECKING, List, Optional, Tuple, Union
if TYPE_CHECKING:
from ._typing import (
Array,
Device,
Dtype,
NestedSequence,
SupportsDLPack,
SupportsBufferProtocol,
)
from collections.abc import Sequence
f... | 29.722727 | 88 | 0.647653 | 1,701 | 13,078 | 4.858907 | 0.111699 | 0.052269 | 0.029038 | 0.044525 | 0.77072 | 0.751845 | 0.733817 | 0.728615 | 0.717483 | 0.667877 | 0 | 0.002131 | 0.246521 | 13,078 | 439 | 89 | 29.790433 | 0.836615 | 0.218764 | 0 | 0.719723 | 0 | 0 | 0.059788 | 0 | 0 | 0 | 0 | 0.002278 | 0 | 1 | 0.058824 | false | 0 | 0.083045 | 0 | 0.207612 | 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 |
31567f308d70645024f23288d761513db11809bf | 78,437 | py | Python | pybind/slxos/v16r_1_00b/brocade_vcs_rpc/show_vcs/output/vcs_nodes/vcs_node_info/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_vcs_rpc/show_vcs/output/vcs_nodes/vcs_node_info/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_vcs_rpc/show_vcs/output/vcs_nodes/vcs_node_info/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 74.20719 | 976 | 0.744585 | 11,196 | 78,437 | 4.9097 | 0.021972 | 0.04639 | 0.053994 | 0.035365 | 0.919191 | 0.882861 | 0.861595 | 0.846714 | 0.836344 | 0.825229 | 0 | 0.009077 | 0.124941 | 78,437 | 1,056 | 977 | 74.277462 | 0.791789 | 0.198197 | 0 | 0.510526 | 0 | 0.059649 | 0.359091 | 0.192733 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136842 | false | 0 | 0.017544 | 0 | 0.261404 | 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 |
7361de1e760df1d8255b1916b34b5ce7e930d41a | 2,167 | py | Python | hackerspace/templatetags/translate.py | y0av/HackspaceOS | f20579f29c6659a8d768a4254809cf7ca94cf039 | [
"MIT"
] | null | null | null | hackerspace/templatetags/translate.py | y0av/HackspaceOS | f20579f29c6659a8d768a4254809cf7ca94cf039 | [
"MIT"
] | null | null | null | hackerspace/templatetags/translate.py | y0av/HackspaceOS | f20579f29c6659a8d768a4254809cf7ca94cf039 | [
"MIT"
] | null | null | null | from django.template import Library
register = Library()
@register.filter
def landingpage(text, language):
from django.template.loader import get_template
return get_template('translations/landingpage.html').render({
'word': text,
'language': language
}).lstrip().rstrip()
@register.filte... | 25.494118 | 67 | 0.673743 | 235 | 2,167 | 6.123404 | 0.153191 | 0.133426 | 0.112578 | 0.122307 | 0.806115 | 0.806115 | 0.806115 | 0.806115 | 0.806115 | 0.806115 | 0 | 0 | 0.193816 | 2,167 | 84 | 68 | 25.797619 | 0.823698 | 0 | 0 | 0.621212 | 0 | 0 | 0.155976 | 0.094139 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.136364 | 0 | 0.409091 | 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 |
7df444a8ea7ae337524f273b5b5fed324ce7e43b | 124 | py | Python | mit/6.006/r01/counter.py | abrantesasf/algoritmos | 37a599d71f41b45ec585577b74aa2b060ad4cf87 | [
"MIT"
] | 1 | 2021-08-21T16:35:25.000Z | 2021-08-21T16:35:25.000Z | Recitation 1 Asymptotic Complexity, Peak Finding/rec01_code/counter.py | benymaxparsa/MIT-EECS-6.006-Introduction-to-Algorithms | ca9909a50e5056efc0691a203e6cae3e6f2873c7 | [
"MIT"
] | null | null | null | Recitation 1 Asymptotic Complexity, Peak Finding/rec01_code/counter.py | benymaxparsa/MIT-EECS-6.006-Introduction-to-Algorithms | ca9909a50e5056efc0691a203e6cae3e6f2873c7 | [
"MIT"
] | 2 | 2018-12-01T20:40:05.000Z | 2021-11-26T02:53:06.000Z | problemMatrix = [
[1, 2, 0, 0, 0],
[2, 3, 2, 0, 0],
[3, 4, 1, 0, 0],
[4, 5, 0, 0, 0],
[5, 6, 7, 0, 0]
]
| 15.5 | 20 | 0.306452 | 26 | 124 | 1.461538 | 0.346154 | 0.368421 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.395161 | 124 | 7 | 21 | 17.714286 | 0.173333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7df61dc066471d061fbf0175603ebe71b3662d2a | 58,679 | py | Python | tokenio/proto/polishapi_pb2.py | aukaio/token-io | 3438cdd5714ec7d8ef96f8dbfe746998c906f9be | [
"MIT"
] | null | null | null | tokenio/proto/polishapi_pb2.py | aukaio/token-io | 3438cdd5714ec7d8ef96f8dbfe746998c906f9be | [
"MIT"
] | null | null | null | tokenio/proto/polishapi_pb2.py | aukaio/token-io | 3438cdd5714ec7d8ef96f8dbfe746998c906f9be | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: polishapi.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.pro... | 47.474919 | 5,978 | 0.761823 | 7,193 | 58,679 | 5.954261 | 0.057556 | 0.047818 | 0.083215 | 0.110112 | 0.768661 | 0.738798 | 0.729412 | 0.712181 | 0.69488 | 0.630087 | 0 | 0.037609 | 0.113209 | 58,679 | 1,235 | 5,979 | 47.51336 | 0.785456 | 0.032175 | 0 | 0.678231 | 1 | 0.001735 | 0.287234 | 0.240025 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005204 | 0 | 0.005204 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b40b8a16434618f69e409cd9e4151a4911c0d29c | 9,547 | py | Python | spira/lgm/route/manhattan_base.py | cloudcalvin/spira | 2dcaef188f2bc8c3839e1b5ff0be027e0cd4908c | [
"MIT"
] | null | null | null | spira/lgm/route/manhattan_base.py | cloudcalvin/spira | 2dcaef188f2bc8c3839e1b5ff0be027e0cd4908c | [
"MIT"
] | 1 | 2021-10-17T10:18:04.000Z | 2021-10-17T10:18:04.000Z | spira/lgm/route/manhattan_base.py | cloudcalvin/spira | 2dcaef188f2bc8c3839e1b5ff0be027e0cd4908c | [
"MIT"
] | null | null | null | import spira
import numpy as np
from spira.lgm.route.manhattan import __Manhattan__
from spira.lgm.route.manhattan90 import RouteManhattan90
from spira.lgm.route.manhattan180 import RouteManhattan180
class RouteManhattan(__Manhattan__):
def validate_parameters(self):
return True
def create_elemental... | 41.872807 | 84 | 0.596941 | 1,345 | 9,547 | 4.14052 | 0.072119 | 0.080804 | 0.116718 | 0.067337 | 0.833902 | 0.795655 | 0.768001 | 0.768001 | 0.768001 | 0.768001 | 0 | 0.109014 | 0.228449 | 9,547 | 227 | 85 | 42.057269 | 0.647027 | 0.170944 | 0 | 0.5 | 0 | 0 | 0.01168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.034722 | 0.006944 | 0.381944 | 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 |
b41091a672fc6c5cd6195f553e5d343c254d8931 | 89 | py | Python | thirdweb/__init__.py | princetonwong/python-sdk | f35181d97620e29d055498fca75f3702f3bb2449 | [
"Apache-2.0"
] | 1 | 2022-02-18T16:59:12.000Z | 2022-02-18T16:59:12.000Z | thirdweb/__init__.py | princetonwong/python-sdk | f35181d97620e29d055498fca75f3702f3bb2449 | [
"Apache-2.0"
] | null | null | null | thirdweb/__init__.py | princetonwong/python-sdk | f35181d97620e29d055498fca75f3702f3bb2449 | [
"Apache-2.0"
] | null | null | null | from .modules import *
from .options import *
from .sdk import NftlabsSdk, ThirdwebSdk
| 14.833333 | 40 | 0.764045 | 11 | 89 | 6.181818 | 0.636364 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 41 | 17.8 | 0.918919 | 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 |
b4222c714e960376c7adae510b2735161e411045 | 150 | py | Python | pegaflow/service/dashboard/__init__.py | polyactis/pegaflow | d30d0bbb501ccfbe0ead6c950946a14d4b6c4708 | [
"Apache-2.0"
] | null | null | null | pegaflow/service/dashboard/__init__.py | polyactis/pegaflow | d30d0bbb501ccfbe0ead6c950946a14d4b6c4708 | [
"Apache-2.0"
] | null | null | null | pegaflow/service/dashboard/__init__.py | polyactis/pegaflow | d30d0bbb501ccfbe0ead6c950946a14d4b6c4708 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
blueprint = Blueprint("dashboard", __name__)
from pegaflow.service.dashboard import views # noqa: E402,F401 isort:skip
| 25 | 74 | 0.793333 | 19 | 150 | 6.052632 | 0.736842 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045802 | 0.126667 | 150 | 5 | 75 | 30 | 0.832061 | 0.173333 | 0 | 0 | 0 | 0 | 0.07377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
b456863e69285d00ffaee08a8575cd0e55e22e59 | 170 | py | Python | src/hist/axis.py | LovelyBuggies/Nino-Hist | b53305567336b49280c43a700524c0e3ab05997e | [
"MIT"
] | 1 | 2020-03-12T15:55:18.000Z | 2020-03-12T15:55:18.000Z | src/hist/axis.py | LovelyBuggies/Nino-Hist | b53305567336b49280c43a700524c0e3ab05997e | [
"MIT"
] | 12 | 2020-03-07T12:09:26.000Z | 2020-05-19T02:01:19.000Z | src/hist/axis.py | LovelyBuggies/Nino-hist | b53305567336b49280c43a700524c0e3ab05997e | [
"MIT"
] | null | null | null | __all__ = ("Regular", "Bool", "Variable", "Integer", "StrCategory", "IntCategory")
from ._internal.axis import Regular, Bool, Variable, Integer, StrCategory, IntCategory | 56.666667 | 86 | 0.741176 | 17 | 170 | 7.117647 | 0.647059 | 0.181818 | 0.31405 | 0.429752 | 0.793388 | 0.793388 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 170 | 3 | 86 | 56.666667 | 0.79085 | 0 | 0 | 0 | 0 | 0 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b45c77255f4b08461a4417576a20f0e3be70443f | 41 | py | Python | {{cookiecutter.package_name}}/tests/test_{{cookiecutter.package_slug}}.py | saltastroops/saao-pypackage-cookiecutter | c6cb1eda009035c4f29efcccd05485c16609cb15 | [
"MIT"
] | null | null | null | {{cookiecutter.package_name}}/tests/test_{{cookiecutter.package_slug}}.py | saltastroops/saao-pypackage-cookiecutter | c6cb1eda009035c4f29efcccd05485c16609cb15 | [
"MIT"
] | null | null | null | {{cookiecutter.package_name}}/tests/test_{{cookiecutter.package_slug}}.py | saltastroops/saao-pypackage-cookiecutter | c6cb1eda009035c4f29efcccd05485c16609cb15 | [
"MIT"
] | null | null | null | def test_pytest_works():
assert True
| 13.666667 | 24 | 0.731707 | 6 | 41 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 25 | 20.5 | 0.848485 | 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 |
b48993906ccef93317c8a6eadb49213e7b36e24b | 1,812 | py | Python | HttpUtil.py | juneauwang/RESTApiAutoTest | b9f1f22d02a6379ace4ff8742f6f791308f64f26 | [
"MIT"
] | null | null | null | HttpUtil.py | juneauwang/RESTApiAutoTest | b9f1f22d02a6379ace4ff8742f6f791308f64f26 | [
"MIT"
] | null | null | null | HttpUtil.py | juneauwang/RESTApiAutoTest | b9f1f22d02a6379ace4ff8742f6f791308f64f26 | [
"MIT"
] | 1 | 2020-12-09T14:06:08.000Z | 2020-12-09T14:06:08.000Z | import requests
import json
import os
import time
from logModule import logModule
class HttpUtil:
def __init__(self):
self.url = ""
self.logger = logModule()
def Put(self,url,body,headers):
duration = -1
try:
startTime = time.time()
response =... | 32.945455 | 75 | 0.538631 | 191 | 1,812 | 5.062827 | 0.219895 | 0.103413 | 0.093071 | 0.058945 | 0.82213 | 0.82213 | 0.82213 | 0.82213 | 0.82213 | 0.768356 | 0 | 0.015693 | 0.366998 | 1,812 | 54 | 76 | 33.555556 | 0.827376 | 0 | 0 | 0.666667 | 0 | 0 | 0.015367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.104167 | 0 | 0.270833 | 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 |
b48e23fd185cacf9dc2a9e089430745adad75228 | 88 | py | Python | web/service/test/404.py | aashish24/tangelo | fcaf2542d48904055558fa43c8d50533afc9ad71 | [
"Apache-2.0"
] | 1 | 2015-06-13T09:28:36.000Z | 2015-06-13T09:28:36.000Z | web/service/test/404.py | aashish24/tangelo | fcaf2542d48904055558fa43c8d50533afc9ad71 | [
"Apache-2.0"
] | null | null | null | web/service/test/404.py | aashish24/tangelo | fcaf2542d48904055558fa43c8d50533afc9ad71 | [
"Apache-2.0"
] | null | null | null | import tangelo
def run():
return tangelo.HTTPStatusCode(404, "uh oh where is it?")
| 17.6 | 60 | 0.704545 | 13 | 88 | 4.769231 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.181818 | 88 | 4 | 61 | 22 | 0.819444 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
81f313ea10a8ac15c15adaa6f53d197bb3890738 | 43 | py | Python | Networks/__init__.py | IewNixIl/graduation_project_under | 67d0345208511bb06c35c3453227b2fa4ebef4a3 | [
"MIT"
] | null | null | null | Networks/__init__.py | IewNixIl/graduation_project_under | 67d0345208511bb06c35c3453227b2fa4ebef4a3 | [
"MIT"
] | null | null | null | Networks/__init__.py | IewNixIl/graduation_project_under | 67d0345208511bb06c35c3453227b2fa4ebef4a3 | [
"MIT"
] | null | null | null | from .unet import Unet
from .net import Net | 21.5 | 22 | 0.790698 | 8 | 43 | 4.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 23 | 21.5 | 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 |
c317f4d646eecb27bc6502bf12bec73848d8c9ca | 46 | py | Python | lib/models/common/__init__.py | aligholami/kepler | a272ac427e09892cd44ade70e910272c4f69c638 | [
"Unlicense"
] | null | null | null | lib/models/common/__init__.py | aligholami/kepler | a272ac427e09892cd44ade70e910272c4f69c638 | [
"Unlicense"
] | null | null | null | lib/models/common/__init__.py | aligholami/kepler | a272ac427e09892cd44ade70e910272c4f69c638 | [
"Unlicense"
] | null | null | null | from .lightning_module import LightningModule
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 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 |
c34deb1e3a56098576477f60351f00df40a1c600 | 256 | py | Python | deepfcn/data/Example.py | shobrook/DeepFCN | 05f40de992721e1f4ace5aa3ac887c2a4f20ebb0 | [
"MIT"
] | 9 | 2022-03-12T23:54:50.000Z | 2022-03-16T19:37:03.000Z | deepfcn/data/Example.py | shobrook/DeepFCN | 05f40de992721e1f4ace5aa3ac887c2a4f20ebb0 | [
"MIT"
] | null | null | null | deepfcn/data/Example.py | shobrook/DeepFCN | 05f40de992721e1f4ace5aa3ac887c2a4f20ebb0 | [
"MIT"
] | 1 | 2022-03-14T06:24:13.000Z | 2022-03-14T06:24:13.000Z | class Example(object):
def __init__(self, node_features, fc_matrix, y):
# TODO: Add data shape validations
self.node_features = node_features
self.fc_matrix, self.y = fc_matrix, y
def to_data_obj(self):
pass # TODO
| 28.444444 | 52 | 0.652344 | 36 | 256 | 4.305556 | 0.527778 | 0.232258 | 0.206452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261719 | 256 | 8 | 53 | 32 | 0.820106 | 0.144531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c35ab636cf624cce38a9b2492cb4ad392879123a | 30 | py | Python | hello_world.py | imarinr/primerRepo3A | 11deb1f11ff776953a2838e2ca34ee7c70615605 | [
"MIT"
] | null | null | null | hello_world.py | imarinr/primerRepo3A | 11deb1f11ff776953a2838e2ca34ee7c70615605 | [
"MIT"
] | null | null | null | hello_world.py | imarinr/primerRepo3A | 11deb1f11ff776953a2838e2ca34ee7c70615605 | [
"MIT"
] | null | null | null | print("Hola Mundo tercero A")
| 15 | 29 | 0.733333 | 5 | 30 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 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 |
5edf638b802da5975b0161b1c2685775c9f42708 | 60 | py | Python | script/cgi/perthon/ex/array.py | ErikNissen/webanwendung | 92ea306c1764f74035aa843d98eed186ea2339b4 | [
"MIT"
] | null | null | null | script/cgi/perthon/ex/array.py | ErikNissen/webanwendung | 92ea306c1764f74035aa843d98eed186ea2339b4 | [
"MIT"
] | null | null | null | script/cgi/perthon/ex/array.py | ErikNissen/webanwendung | 92ea306c1764f74035aa843d98eed186ea2339b4 | [
"MIT"
] | null | null | null | v = [10,11,12,13,14]
n = 3
x = v[1:n][1:2][0] #.ok
print x | 10 | 23 | 0.466667 | 18 | 60 | 1.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.319149 | 0.216667 | 60 | 6 | 24 | 10 | 0.276596 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4889bf653c6e493463722494d08fb5fcc2eaabb0 | 253 | py | Python | csv_analyzer/apps/dataset/apps.py | saduqz/csv-analyzer-test | 732d4902aeba9278e7547ed5a83e4a482790076c | [
"MIT"
] | null | null | null | csv_analyzer/apps/dataset/apps.py | saduqz/csv-analyzer-test | 732d4902aeba9278e7547ed5a83e4a482790076c | [
"MIT"
] | null | null | null | csv_analyzer/apps/dataset/apps.py | saduqz/csv-analyzer-test | 732d4902aeba9278e7547ed5a83e4a482790076c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DatasetConfig(AppConfig):
name = 'csv_analyzer.apps.dataset'
def ready(self):
try:
import csv_analyzer.apps.dataset.signals # noqa F401
except ImportError:
pass
| 21.083333 | 65 | 0.644269 | 28 | 253 | 5.75 | 0.75 | 0.136646 | 0.186335 | 0.273292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016575 | 0.284585 | 253 | 11 | 66 | 23 | 0.872928 | 0.035573 | 0 | 0 | 0 | 0 | 0.103306 | 0.103306 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.375 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
48d17f11c57c16ff20ef16e0a58e5d8862664a85 | 96 | py | Python | venv/lib/python3.8/site-packages/jedi/inference/value/iterable.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/jedi/inference/value/iterable.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/jedi/inference/value/iterable.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/bd/8c/9b/c3083f52b2a42d18e7b4d16956ec1407c623947779224a3d2a43c563b0 | 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 |
48e1e6da5bd144f10f5bbd60fdc3f1b169faa1cd | 100 | py | Python | src/UQpy/inference/information_criteria/baseclass/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/inference/information_criteria/baseclass/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/inference/information_criteria/baseclass/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | from UQpy.inference.information_criteria.baseclass.InformationCriterion import InformationCriterion
| 50 | 99 | 0.92 | 9 | 100 | 10.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 100 | 1 | 100 | 100 | 0.947917 | 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 |
d28db9757f5e146d28c72ad4b3112d2a24613365 | 8,384 | py | Python | yelpify/recommend_hybrid.py | RH5648/yelpify | 440a9bd72c488eedcac1585f5331b5a24c6b6b12 | [
"MIT"
] | 1 | 2020-10-27T20:34:14.000Z | 2020-10-27T20:34:14.000Z | yelpify/recommend_hybrid.py | RH5648/yelpify | 440a9bd72c488eedcac1585f5331b5a24c6b6b12 | [
"MIT"
] | 1 | 2020-12-04T05:04:21.000Z | 2020-12-17T04:55:00.000Z | yelpify/recommend_hybrid.py | RH5648/yelpify | 440a9bd72c488eedcac1585f5331b5a24c6b6b12 | [
"MIT"
] | 1 | 2021-01-14T05:58:16.000Z | 2021-01-14T05:58:16.000Z | """
NAME
recommend_hybrid
DESCRIPTION
This module provides access to functions that make recommendations to both
new and known item or user.
FUNCTIONS
recommend_hybrid_item(
df, model, interactions, item_id, user_dict, item_dict, topn, show)
Return the recommended users to an existin... | 39.92381 | 78 | 0.657323 | 1,090 | 8,384 | 4.877982 | 0.122936 | 0.036111 | 0.041377 | 0.024074 | 0.850856 | 0.817942 | 0.785405 | 0.768478 | 0.768478 | 0.731239 | 0 | 0.002313 | 0.278149 | 8,384 | 209 | 79 | 40.114833 | 0.876239 | 0.456823 | 0 | 0.57 | 0 | 0 | 0.052557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.04 | 0 | 0.12 | 0.14 | 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 |
d2afaa30411a35ef26e87bdea83f12d732877b44 | 18,224 | py | Python | ci/create_suite.py | robertopreste/mitoviz | 3b5ec3d1185785b185d7c62c85b6ad98861817a7 | [
"MIT"
] | null | null | null | ci/create_suite.py | robertopreste/mitoviz | 3b5ec3d1185785b185d7c62c85b6ad98861817a7 | [
"MIT"
] | 93 | 2019-12-27T08:57:20.000Z | 2022-03-31T23:04:02.000Z | ci/create_suite.py | robertopreste/mitoviz | 3b5ec3d1185785b185d7c62c85b6ad98861817a7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
# Created by Roberto Preste
import os
import matplotlib.pyplot as plt
from mitoviz import plot_df, plot_vcf
from mitoviz.plot import PlotBase
from mitoviz.tests.constants import (
SAMPLE_VCF, SAMPLE_HF_VCF,
SAMPLE_DF, SAMPLE_HF_DF,
BASE_MITO_POLAR, BASE_MITO_P... | 41.512528 | 79 | 0.722783 | 2,709 | 18,224 | 4.44629 | 0.023625 | 0.058447 | 0.069738 | 0.045828 | 0.927024 | 0.848983 | 0.771856 | 0.730428 | 0.708427 | 0.651059 | 0 | 0.000067 | 0.182726 | 18,224 | 438 | 80 | 41.607306 | 0.808648 | 0.084339 | 0 | 0.359756 | 0 | 0 | 0.047486 | 0.045488 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088415 | false | 0 | 0.015244 | 0 | 0.103659 | 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 |
d2b22d9aeef6e446cac77a8c24e9913e9d4df654 | 195 | py | Python | dalib/translation/cyclegan/__init__.py | ashok-arjun/Transfer-Learning-Library | e13bb3e37bc7ca74a382cfdc85a640deaf0333b3 | [
"MIT"
] | 1,474 | 2020-07-24T02:55:55.000Z | 2022-03-31T12:35:56.000Z | dalib/translation/cyclegan/__init__.py | mxliu/Transfer-Learning-Library | 7b0ccb3a8087ecc65daf4b1e815e5a3f42106641 | [
"MIT"
] | 70 | 2020-08-05T10:47:33.000Z | 2022-03-31T03:48:54.000Z | dalib/translation/cyclegan/__init__.py | mxliu/Transfer-Learning-Library | 7b0ccb3a8087ecc65daf4b1e815e5a3f42106641 | [
"MIT"
] | 312 | 2020-08-01T11:08:39.000Z | 2022-03-30T06:03:47.000Z | from . import discriminator
from . import generator
from . import loss
from . import transform
from .discriminator import *
from .generator import *
from .loss import *
from .transform import *
| 19.5 | 28 | 0.769231 | 24 | 195 | 6.25 | 0.25 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 195 | 9 | 29 | 21.666667 | 0.925926 | 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 |
d2e81a65f2386f5a0ef97356cd3ddc8a110bcc14 | 26,834 | py | Python | cogs/economy.py | Cynlis/World | dd9a24af0851d83409bc4ab7ac59460c55ea49e2 | [
"MIT"
] | 1 | 2020-11-13T08:51:05.000Z | 2020-11-13T08:51:05.000Z | cogs/economy.py | G3VV/World | dd9a24af0851d83409bc4ab7ac59460c55ea49e2 | [
"MIT"
] | null | null | null | cogs/economy.py | G3VV/World | dd9a24af0851d83409bc4ab7ac59460c55ea49e2 | [
"MIT"
] | null | null | null | import asyncio
import discord
import pymongo
import random
from pymongo import MongoClient
from discord.ext import commands
class EconomyCog(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command()
async def create(self, ctx):
cluster = MongoClient("think ima... | 47.747331 | 191 | 0.536521 | 3,067 | 26,834 | 4.639713 | 0.071079 | 0.067041 | 0.054111 | 0.063949 | 0.871539 | 0.84863 | 0.823331 | 0.795784 | 0.78201 | 0.77168 | 0 | 0.015253 | 0.318365 | 26,834 | 562 | 192 | 47.747331 | 0.762287 | 0 | 0 | 0.697087 | 0 | 0.050485 | 0.202672 | 0.000875 | 0 | 0 | 0.000609 | 0 | 0 | 1 | 0.003884 | false | 0 | 0.01165 | 0 | 0.017476 | 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 |
d2f6d5a774e65678f6724277da2d782b0f1acecb | 101 | py | Python | text2speech/bus.py | Joanguitar/text2speech | aa5e129589b00b8ea5e6a0dc5529fac96b64876e | [
"Apache-2.0"
] | 2 | 2020-09-17T21:33:57.000Z | 2021-01-02T20:42:31.000Z | text2speech/bus.py | Joanguitar/text2speech | aa5e129589b00b8ea5e6a0dc5529fac96b64876e | [
"Apache-2.0"
] | 2 | 2021-01-11T18:50:11.000Z | 2021-06-08T20:19:14.000Z | text2speech/bus.py | Joanguitar/text2speech | aa5e129589b00b8ea5e6a0dc5529fac96b64876e | [
"Apache-2.0"
] | 5 | 2020-08-11T17:11:53.000Z | 2021-08-28T19:00:34.000Z | from ovos_utils.messagebus import Message
from ovos_utils.messagebus import FakeBus
bus = FakeBus()
| 20.2 | 41 | 0.831683 | 14 | 101 | 5.857143 | 0.571429 | 0.195122 | 0.317073 | 0.560976 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 4 | 42 | 25.25 | 0.921348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2fa3c0ca5ac21aced5bd2e264d27b9aeefee6f9 | 43,516 | py | Python | test/test_plugin_telegram.py | caronc/pnotify | 4c57d76ee7d88b04b3ac2667f91d9e7062486415 | [
"MIT"
] | null | null | null | test/test_plugin_telegram.py | caronc/pnotify | 4c57d76ee7d88b04b3ac2667f91d9e7062486415 | [
"MIT"
] | null | null | null | test/test_plugin_telegram.py | caronc/pnotify | 4c57d76ee7d88b04b3ac2667f91d9e7062486415 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (C) 2020 Chris Caron <lead2gold@gmail.com>
# All rights reserved.
#
# This code is licensed under the MIT License.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files(the "Software"), to deal
# in th... | 36.112863 | 79 | 0.630136 | 5,563 | 43,516 | 4.812871 | 0.102463 | 0.036752 | 0.030029 | 0.033615 | 0.785613 | 0.766079 | 0.745798 | 0.723015 | 0.700344 | 0.677037 | 0 | 0.04523 | 0.240946 | 43,516 | 1,204 | 80 | 36.142857 | 0.765069 | 0.209164 | 0 | 0.789125 | 0 | 0.002653 | 0.308079 | 0.093096 | 0 | 0 | 0 | 0 | 0.201592 | 1 | 0.006631 | false | 0 | 0.02122 | 0 | 0.027851 | 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 |
82a075c6ce47874a9aeeee4c4cfb596da3010e00 | 42 | py | Python | jinahub/indexers/SimpleIndexer/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | jinahub/indexers/SimpleIndexer/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | jinahub/indexers/SimpleIndexer/__init__.py | vivek2301/executors | 8159681d68408ab8f797497bc3374be77e6ca392 | [
"Apache-2.0"
] | null | null | null | from .simple_indexer import SimpleIndexer
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 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 |
82aa7e1aa6957c5be632bbd33bef3ddc00a16e8c | 18 | py | Python | cryptos/electrumx_client/__init__.py | cfd2000/pybitcointool | 96e7843226d76cfe73b2ab0660cc89add490d76a | [
"MIT"
] | 230 | 2017-12-07T07:49:39.000Z | 2022-03-27T10:08:16.000Z | cryptos/electrumx_client/__init__.py | cfd2000/pybitcointool | 96e7843226d76cfe73b2ab0660cc89add490d76a | [
"MIT"
] | 26 | 2017-12-19T15:09:57.000Z | 2022-02-25T14:13:56.000Z | cryptos/electrumx_client/__init__.py | cfd2000/pybitcointool | 96e7843226d76cfe73b2ab0660cc89add490d76a | [
"MIT"
] | 145 | 2017-12-20T11:45:55.000Z | 2022-03-05T08:07:32.000Z | from .rpc import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 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 |
82becd7bbde67d1aad062285383cd451ff900e92 | 137 | py | Python | pynab/exceptions.py | nikdoof/pynab | 1edcbf9044e4764f86158fcd808801bbf8057548 | [
"BSD-3-Clause"
] | 5 | 2016-04-25T11:19:08.000Z | 2020-02-04T22:51:23.000Z | pynab/exceptions.py | nikdoof/pynab | 1edcbf9044e4764f86158fcd808801bbf8057548 | [
"BSD-3-Clause"
] | null | null | null | pynab/exceptions.py | nikdoof/pynab | 1edcbf9044e4764f86158fcd808801bbf8057548 | [
"BSD-3-Clause"
] | null | null | null |
class InvalidBudget(Exception):
def __init__(self, msg):
self.msg = msg
def __unicode__(self):
return self.msg | 17.125 | 31 | 0.627737 | 16 | 137 | 4.875 | 0.5625 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277372 | 137 | 8 | 32 | 17.125 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
82e20339eec88c608eb43d89039fd21bf172f141 | 62 | py | Python | Models.py | Wally869/MusiStrata-Interpreter | 20c55626aae31255796dd494441ad5b5f47367dc | [
"MIT"
] | null | null | null | Models.py | Wally869/MusiStrata-Interpreter | 20c55626aae31255796dd494441ad5b5f47367dc | [
"MIT"
] | null | null | null | Models.py | Wally869/MusiStrata-Interpreter | 20c55626aae31255796dd494441ad5b5f47367dc | [
"MIT"
] | null | null | null |
from enum import Enum
class RhythmicModels(Enum):
pass | 8.857143 | 27 | 0.725806 | 8 | 62 | 5.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 62 | 7 | 28 | 8.857143 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
7d70f248411c3cfb94aed99687740bc96288489f | 29 | py | Python | lib/assets/Lib/pwd.py | s6007589/cafe-grader-web | 18a993801c698fb7b7ec6ae5f4b67920503cb242 | [
"MIT"
] | 25 | 2016-09-04T07:34:13.000Z | 2022-02-14T07:39:02.000Z | lib/assets/Lib/pwd.py | it56660024/cafe-grader-web | e9a1305fd62e79e54f6961f97ddc5cd57bafd73c | [
"MIT"
] | 25 | 2015-02-05T03:59:27.000Z | 2022-02-11T16:54:04.000Z | lib/assets/Lib/pwd.py | it56660024/cafe-grader-web | e9a1305fd62e79e54f6961f97ddc5cd57bafd73c | [
"MIT"
] | 16 | 2016-09-05T00:30:27.000Z | 2021-12-05T11:07:02.000Z |
def getpwuid():
pass
| 7.25 | 16 | 0.517241 | 3 | 29 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.37931 | 29 | 3 | 17 | 9.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7dc9b2eff0b5eb0f7832728fb7e99bc02e304def | 116 | py | Python | sb3_contrib/bdpi/__init__.py | steckdenis/stable-baselines3-contrib | 554ae3f068a0378e5bee38046607fe8aa0b77e4c | [
"MIT"
] | null | null | null | sb3_contrib/bdpi/__init__.py | steckdenis/stable-baselines3-contrib | 554ae3f068a0378e5bee38046607fe8aa0b77e4c | [
"MIT"
] | null | null | null | sb3_contrib/bdpi/__init__.py | steckdenis/stable-baselines3-contrib | 554ae3f068a0378e5bee38046607fe8aa0b77e4c | [
"MIT"
] | null | null | null | from sb3_contrib.bdpi.bdpi import BDPI
from sb3_contrib.bdpi.policies import CnnPolicy, MlpPolicy, MultiInputPolicy
| 38.666667 | 76 | 0.862069 | 16 | 116 | 6.125 | 0.5625 | 0.142857 | 0.285714 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.086207 | 116 | 2 | 77 | 58 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7de9172796e570e9da6db2df99eff686e32380fa | 183 | py | Python | twisted/protocols/haproxy/test/__init__.py | hawkowl/twisted | c413aac3888dea2202c0dc26f978d7f88b4b837a | [
"Unlicense",
"MIT"
] | 9,953 | 2019-04-03T23:41:04.000Z | 2022-03-31T11:54:44.000Z | stackoverflow/venv/lib/python3.6/site-packages/twisted/protocols/haproxy/test/__init__.py | W4LKURE/learn_python3_spider | 98dd354a41598b31302641f9a0ea49d1ecfa0fb1 | [
"MIT"
] | 1,243 | 2015-01-23T17:23:59.000Z | 2022-03-28T13:46:17.000Z | stackoverflow/venv/lib/python3.6/site-packages/twisted/protocols/haproxy/test/__init__.py | W4LKURE/learn_python3_spider | 98dd354a41598b31302641f9a0ea49d1ecfa0fb1 | [
"MIT"
] | 2,803 | 2019-04-06T13:15:33.000Z | 2022-03-31T07:42:01.000Z | # -*- test-case-name: twisted.protocols.haproxy.test -*-
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
"""
Unit tests for L{twisted.protocols.haproxy}.
"""
| 22.875 | 56 | 0.710383 | 23 | 183 | 5.652174 | 0.73913 | 0.246154 | 0.353846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125683 | 183 | 7 | 57 | 26.142857 | 0.8125 | 0.918033 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
819a30b33e1d097a3f0d1434b205caef6ffd5ee0 | 10,471 | py | Python | pysheic/model_utils.py | Dartspacephysiker/pySHEIC | aa108acb677cc4fe78991cbbde02ec0469938224 | [
"MIT"
] | null | null | null | pysheic/model_utils.py | Dartspacephysiker/pySHEIC | aa108acb677cc4fe78991cbbde02ec0469938224 | [
"MIT"
] | null | null | null | pysheic/model_utils.py | Dartspacephysiker/pySHEIC | aa108acb677cc4fe78991cbbde02ec0469938224 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import os
from functools import reduce
# basepath = os.path.dirname(__file__)
basepath = '/SPENCEdata/Research/database/SHEIC/matrices/10k_points/'
default_coeff_fn = os.path.abspath(os.path.join(basepath,'model_v1_iteration_3.txt'))
default_transpose_coeff_fn = os.path.abspath(... | 55.696809 | 167 | 0.537962 | 1,356 | 10,471 | 3.99115 | 0.146755 | 0.027162 | 0.018108 | 0.020695 | 0.837214 | 0.837214 | 0.82003 | 0.79878 | 0.783629 | 0.783629 | 0 | 0.017546 | 0.330532 | 10,471 | 187 | 168 | 55.994652 | 0.754494 | 0.60997 | 0 | 0.036364 | 0 | 0 | 0.135702 | 0.029134 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054545 | false | 0 | 0.072727 | 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 |
81a40188a7bb2b96d3737eb6a7ae289f4f980693 | 52 | py | Python | run_server.py | ZW7436/ThunderBoard | b122d7fb75208da43df86213fb32901caa6c2e41 | [
"MIT"
] | 7 | 2020-04-10T09:05:45.000Z | 2021-08-30T07:26:49.000Z | run_server.py | ZW7436/ThunderBoard | b122d7fb75208da43df86213fb32901caa6c2e41 | [
"MIT"
] | 2 | 2021-09-08T01:52:52.000Z | 2022-03-12T00:23:47.000Z | run_server.py | ZW7436/ThunderBoard | b122d7fb75208da43df86213fb32901caa6c2e41 | [
"MIT"
] | 4 | 2021-03-31T14:27:21.000Z | 2021-08-30T07:26:52.000Z | import thunder_board.app
thunder_board.app.serve()
| 13 | 25 | 0.826923 | 8 | 52 | 5.125 | 0.625 | 0.585366 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 3 | 26 | 17.333333 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
81b6d7019dbdf38d48d0fd6583e61fd2b4600b44 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/array_api/_sorting_functions.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/array_api/_sorting_functions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/array_api/_sorting_functions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/a0/1b/32/5709d52c12632512d98b84697bd6b07ac7a966301dbe34c727f272e74a | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 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 |
c4e45671eb929181831aafbe7638930705458a31 | 206 | py | Python | contrail_provisioning/compute/templates/contrail_lbaas_auth_conf.py | atsgen/contrail-provisioning | dda84a5ed7e17b5cc7148c2505e66ed3e8a86120 | [
"Apache-2.0"
] | 2 | 2015-10-29T19:36:26.000Z | 2016-04-19T13:24:00.000Z | contrail_provisioning/compute/templates/contrail_lbaas_auth_conf.py | atsgen/contrail-provisioning | dda84a5ed7e17b5cc7148c2505e66ed3e8a86120 | [
"Apache-2.0"
] | 1 | 2017-07-03T09:10:18.000Z | 2017-07-03T09:10:18.000Z | contrail_provisioning/compute/templates/contrail_lbaas_auth_conf.py | atsgen/contrail-provisioning | dda84a5ed7e17b5cc7148c2505e66ed3e8a86120 | [
"Apache-2.0"
] | 18 | 2016-01-14T23:10:39.000Z | 2021-12-13T06:32:38.000Z | import string
template = string.Template("""
[BARBICAN]
admin_tenant_name=$__admin_tenant_name__
admin_user=$__admin_user__
admin_password=$__admin_password__
auth_url=$__auth_url__
region=RegionOne
""")
| 17.166667 | 40 | 0.830097 | 26 | 206 | 5.576923 | 0.5 | 0.193103 | 0.206897 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067961 | 206 | 11 | 41 | 18.727273 | 0.755208 | 0 | 0 | 0 | 0 | 0 | 0.757282 | 0.592233 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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.