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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e63238c93ea836a6f0619dfe26292a0eb7b86bbf | 98 | py | Python | bigbang/__init__.py | nllz/bigbang | d4fef7eb41ae04e51f4e369de5a721c66231202b | [
"MIT"
] | 4 | 2016-05-25T16:13:44.000Z | 2017-11-06T15:16:30.000Z | bigbang/__init__.py | nllz/bigbang | d4fef7eb41ae04e51f4e369de5a721c66231202b | [
"MIT"
] | 20 | 2016-06-13T15:28:56.000Z | 2016-07-10T17:58:17.000Z | bigbang/__init__.py | nllz/bigbang | d4fef7eb41ae04e51f4e369de5a721c66231202b | [
"MIT"
] | 8 | 2016-05-25T11:47:32.000Z | 2016-07-06T08:29:00.000Z | from . import ingress
from . import analysis
from . import visualisation
from . import bigbang_io
| 19.6 | 27 | 0.795918 | 13 | 98 | 5.923077 | 0.538462 | 0.519481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 4 | 28 | 24.5 | 0.939024 | 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 |
557c3390fe2ada1bb56ec12b3903491e1184dc86 | 582 | py | Python | fragments/models.py | flekschas/hipiler-server | df040791b0d7cc4e970f53928f8b71790bb3205d | [
"MIT"
] | null | null | null | fragments/models.py | flekschas/hipiler-server | df040791b0d7cc4e970f53928f8b71790bb3205d | [
"MIT"
] | null | null | null | fragments/models.py | flekschas/hipiler-server | df040791b0d7cc4e970f53928f8b71790bb3205d | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
import slugid
from django.db import models
class ChromInfo(models.Model):
created = models.DateTimeField(auto_now_add=True)
uuid = models.CharField(max_length=100, unique=True, default=slugid.nice)
datafile = models.TextField()
class Meta:
ordering = ... | 24.25 | 77 | 0.719931 | 70 | 582 | 5.828571 | 0.442857 | 0.053922 | 0.088235 | 0.117647 | 0.764706 | 0.764706 | 0.764706 | 0.764706 | 0.764706 | 0.764706 | 0 | 0.0125 | 0.175258 | 582 | 23 | 78 | 25.304348 | 0.8375 | 0 | 0 | 0.666667 | 0 | 0 | 0.024055 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e94ee13409728c571d7b4c640a9363baccc3d4b9 | 155 | py | Python | changelogs/custom/pypi/lazy-object-proxy.py | chris48s/changelogs | 0cdb929ac4546c766cd7eef9ae4eb4baaa08f452 | [
"MIT"
] | 54 | 2017-01-12T09:44:49.000Z | 2022-02-01T18:15:07.000Z | changelogs/custom/pypi/lazy-object-proxy.py | chris48s/changelogs | 0cdb929ac4546c766cd7eef9ae4eb4baaa08f452 | [
"MIT"
] | 254 | 2016-12-23T12:53:52.000Z | 2021-11-23T14:59:01.000Z | changelogs/custom/pypi/lazy-object-proxy.py | chris48s/changelogs | 0cdb929ac4546c766cd7eef9ae4eb4baaa08f452 | [
"MIT"
] | 26 | 2017-02-25T08:21:05.000Z | 2022-01-10T15:46:24.000Z | def get_urls(*args, **kwargs):
return {
'https://raw.githubusercontent.com/ionelmc/python-lazy-object-proxy/master/CHANGELOG.rst'
}, set()
| 31 | 97 | 0.670968 | 19 | 155 | 5.421053 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154839 | 155 | 4 | 98 | 38.75 | 0.78626 | 0 | 0 | 0 | 0 | 0.25 | 0.56129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.5 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
e98ed1ae9d5cb6ac2ea0c8d6198290970e73fe5b | 21,120 | py | Python | build/lib/LT/plotting.py | boeglinw/LabTools3 | e05d6a7208eec363c8344f6fdcf395f7df5030fc | [
"MIT"
] | null | null | null | build/lib/LT/plotting.py | boeglinw/LabTools3 | e05d6a7208eec363c8344f6fdcf395f7df5030fc | [
"MIT"
] | null | null | null | build/lib/LT/plotting.py | boeglinw/LabTools3 | e05d6a7208eec363c8344f6fdcf395f7df5030fc | [
"MIT"
] | null | null | null | """
The plotting module contains functions based on :mod:`matplotlib` and
:class:`~LT.datafile`.
They provide shortcuts to perform typical plotting tasks in experimental physics.
**NOTE:** when you use these functions, enter the show() command to see the result interactively.
Example::
>>> import LT.plotting as ... | 36.730435 | 125 | 0.440909 | 2,211 | 21,120 | 4.096789 | 0.132067 | 0.018547 | 0.030912 | 0.021859 | 0.783396 | 0.76805 | 0.762751 | 0.747295 | 0.733385 | 0.706558 | 0 | 0.004851 | 0.36553 | 21,120 | 574 | 126 | 36.794425 | 0.671119 | 0.45554 | 0 | 0.828479 | 0 | 0 | 0.018141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032362 | false | 0 | 0.009709 | 0 | 0.087379 | 0.006472 | 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 |
f93b37a5af71f3adce98dc39fee61aaffef8ddf5 | 259 | py | Python | nas_lib/algos_darts/build_open_algos.py | auroua/NPENASv1 | 1a293e50779ccc49456dc905fa989e4778c027a2 | [
"MIT"
] | 4 | 2020-09-30T04:38:45.000Z | 2022-03-18T10:57:54.000Z | nas_lib/algos_darts/build_open_algos.py | auroua/NPENASv1 | 1a293e50779ccc49456dc905fa989e4778c027a2 | [
"MIT"
] | null | null | null | nas_lib/algos_darts/build_open_algos.py | auroua/NPENASv1 | 1a293e50779ccc49456dc905fa989e4778c027a2 | [
"MIT"
] | 1 | 2021-01-27T09:27:21.000Z | 2021-01-27T09:27:21.000Z | import sys
from .gin_uncertainty_predictor_open_search import gin_uncertainty_predictor_search_open
from .gin_predictor_open_search import gin_predictor_search_open
def build_open_algos(agent):
return getattr(sys.modules[__name__], agent+'_search_open') | 37 | 88 | 0.868726 | 37 | 259 | 5.486486 | 0.432432 | 0.147783 | 0.226601 | 0.246305 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07722 | 259 | 7 | 89 | 37 | 0.849372 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f9a0312381dd7b9149cbed6e7c02af1edf1af96b | 257 | py | Python | RecSysFramework/ParameterTuning/__init__.py | damicoedoardo/NNMF | 69fff4848b3243a2d3347bec3e1c9a01ae40e51a | [
"MIT"
] | 2 | 2020-12-11T12:46:00.000Z | 2021-08-17T13:29:41.000Z | RecSysFramework/ParameterTuning/__init__.py | damicoedoardo/NNMF | 69fff4848b3243a2d3347bec3e1c9a01ae40e51a | [
"MIT"
] | null | null | null | RecSysFramework/ParameterTuning/__init__.py | damicoedoardo/NNMF | 69fff4848b3243a2d3347bec3e1c9a01ae40e51a | [
"MIT"
] | null | null | null | from .SearchAbstractClass import SearchAbstractClass, SearchInputRecommenderArgs
#from .SearchBayesianSkopt import SearchBayesianSkopt
#from .SearchBayesianSkopt_k_fold import SearchBayesianSkopt_k_fold, Evaluator_k_Fold_Wrapper, Recommender_k_Fold_Wrapper
| 64.25 | 121 | 0.910506 | 25 | 257 | 8.96 | 0.4 | 0.089286 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058366 | 257 | 3 | 122 | 85.666667 | 0.92562 | 0.669261 | 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 |
f9c6a0dac42d411784b4c6323ea9ceff3706839f | 28 | py | Python | tests/test_genes.py | RobertNiklasBock/neat-python | 845456698bb5c2f4a393676455fa45fcac76966d | [
"BSD-3-Clause"
] | null | null | null | tests/test_genes.py | RobertNiklasBock/neat-python | 845456698bb5c2f4a393676455fa45fcac76966d | [
"BSD-3-Clause"
] | null | null | null | tests/test_genes.py | RobertNiklasBock/neat-python | 845456698bb5c2f4a393676455fa45fcac76966d | [
"BSD-3-Clause"
] | null | null | null | from neatfast import genes
| 9.333333 | 26 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9e464afda574f90e4799e300ba01b89e845a1a9 | 33 | py | Python | concept_tests/osc_test.py | 56kyle/SQRL | 0815f84a0ff2aee6e8e369247071f9c61d26b10d | [
"MIT"
] | null | null | null | concept_tests/osc_test.py | 56kyle/SQRL | 0815f84a0ff2aee6e8e369247071f9c61d26b10d | [
"MIT"
] | null | null | null | concept_tests/osc_test.py | 56kyle/SQRL | 0815f84a0ff2aee6e8e369247071f9c61d26b10d | [
"MIT"
] | 1 | 2019-03-02T19:43:29.000Z | 2019-03-02T19:43:29.000Z | from pythonosc import udp_client
| 16.5 | 32 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
fb10511190761afb23938469a6abb9b87ff04518 | 98 | py | Python | networks/__init__.py | rishiabhishek/OpenNRE-PyTorch | dd7f8231e5323c5285ffeaea217fb48ad5cdf894 | [
"MIT"
] | 224 | 2018-08-06T07:28:29.000Z | 2022-03-30T06:00:25.000Z | networks/__init__.py | rishiabhishek/OpenNRE-PyTorch | dd7f8231e5323c5285ffeaea217fb48ad5cdf894 | [
"MIT"
] | 26 | 2018-10-10T07:39:47.000Z | 2021-04-21T01:35:40.000Z | networks/__init__.py | rishiabhishek/OpenNRE-PyTorch | dd7f8231e5323c5285ffeaea217fb48ad5cdf894 | [
"MIT"
] | 46 | 2018-08-14T07:47:45.000Z | 2022-03-30T06:00:26.000Z | from .embedding import *
from .encoder import *
from .selector import *
from .classifier import *
| 19.6 | 25 | 0.755102 | 12 | 98 | 6.166667 | 0.5 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 4 | 26 | 24.5 | 0.902439 | 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 |
fb24f3710de6fb65d8cb31f4ea97c06363dd4331 | 1,455 | py | Python | exercises/test_D3.py | dataXcode/IPP | c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b | [
"MIT"
] | null | null | null | exercises/test_D3.py | dataXcode/IPP | c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b | [
"MIT"
] | null | null | null | exercises/test_D3.py | dataXcode/IPP | c9b94ad2d7dc14b01e6657a4fa555507bbc7e93b | [
"MIT"
] | null | null | null | def test():
# Test
assert('"Lebanon" in countries' in __solution__ or "'Lebanon' in countries" in __solution__
), "اجابة خاطئة: لم تقم بالتحقق من وجود دولة لبنان بشكل صحيح"
assert('countries["Lebanon"] = "Beirut"' in __solution__ or "countries['Lebanon'] = 'Beirut'" in __solution__
... | 69.285714 | 115 | 0.656357 | 172 | 1,455 | 5.063953 | 0.215116 | 0.229621 | 0.220436 | 0.337543 | 0.835821 | 0.727899 | 0.583238 | 0.583238 | 0.583238 | 0.583238 | 0 | 0 | 0.204811 | 1,455 | 20 | 116 | 72.75 | 0.752809 | 0.002749 | 0 | 0.375 | 0 | 0 | 0.546584 | 0.138026 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.0625 | true | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb395c7b039e4335d84b05fc815e031adefaa637 | 43 | py | Python | tests/_tests_scripts/core.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 2 | 2019-04-19T21:34:31.000Z | 2019-05-02T22:50:25.000Z | tests/_tests_scripts/core.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 1 | 2021-01-07T16:13:45.000Z | 2021-01-21T09:27:54.000Z | tests/_tests_scripts/core.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 1 | 2018-12-21T15:56:21.000Z | 2018-12-21T15:56:21.000Z | # flake8: noqa
from catalyst.core import *
| 14.333333 | 27 | 0.744186 | 6 | 43 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.162791 | 43 | 2 | 28 | 21.5 | 0.861111 | 0.27907 | 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 |
34dc60c6ce29961e8308d5bc55714578eaccdfe0 | 36 | py | Python | app/VertebraSegmentation/net/data/__init__.py | z0978916348/Localization_and_Segmentation | 1a80d9730dad7ede8c3b92793e85a979915a2fad | [
"Unlicense",
"MIT"
] | 6 | 2020-09-17T04:17:32.000Z | 2021-09-02T03:40:10.000Z | app/VertebraSegmentation/net/data/__init__.py | z0978916348/Localization_and_Segmentation | 1a80d9730dad7ede8c3b92793e85a979915a2fad | [
"Unlicense",
"MIT"
] | 1 | 2021-01-25T06:25:14.000Z | 2021-02-25T02:33:49.000Z | app/VertebraSegmentation/net/data/__init__.py | z0978916348/Localization_and_Segmentation | 1a80d9730dad7ede8c3b92793e85a979915a2fad | [
"Unlicense",
"MIT"
] | null | null | null | from .dataset import VertebraDataset | 36 | 36 | 0.888889 | 4 | 36 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 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 |
5518e87c91c8e0da4127905b3019258e5bee3f6f | 32 | py | Python | leven_clustering/__init__.py | byshyk/leven-clustering | 56d4f50b6ef01d741f221ce9fb75ac4b18824fe8 | [
"MIT"
] | 1 | 2021-07-06T11:25:29.000Z | 2021-07-06T11:25:29.000Z | leven_clustering/__init__.py | byshyk/leven-clustering | 56d4f50b6ef01d741f221ce9fb75ac4b18824fe8 | [
"MIT"
] | null | null | null | leven_clustering/__init__.py | byshyk/leven-clustering | 56d4f50b6ef01d741f221ce9fb75ac4b18824fe8 | [
"MIT"
] | null | null | null | from .leven_clustering import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 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 |
9b322bd612ed949e0cc8867ed1d175951ea86aa6 | 105 | py | Python | dis_snek/tasks/__init__.py | KAJdev/Dis-Snek | f2bbdd2b8ae2b4ccd7351d0ed01e1c77573669c2 | [
"MIT"
] | 34 | 2021-08-03T13:58:14.000Z | 2021-10-04T11:09:44.000Z | dis_snek/tasks/__init__.py | KAJdev/Dis-Snek | f2bbdd2b8ae2b4ccd7351d0ed01e1c77573669c2 | [
"MIT"
] | 6 | 2021-08-05T12:58:33.000Z | 2021-10-04T01:18:07.000Z | dis_snek/tasks/__init__.py | KAJdev/Dis-Snek | f2bbdd2b8ae2b4ccd7351d0ed01e1c77573669c2 | [
"MIT"
] | 9 | 2021-07-30T14:10:45.000Z | 2021-10-03T17:36:26.000Z | from dis_snek.tasks.task import Task
from dis_snek.tasks import triggers
__all__ = ["Task", "triggers"]
| 21 | 36 | 0.771429 | 16 | 105 | 4.6875 | 0.5 | 0.186667 | 0.293333 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 4 | 37 | 26.25 | 0.815217 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 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 |
9b5bad8ed274fe9917b4b27c499bb3bcb21e6d62 | 122 | py | Python | gizeh/__init__.py | doc22940/gizeh | d6ed4e0205027e5c31c44da65ef6c9c7fc369551 | [
"MIT"
] | 435 | 2015-01-11T11:54:30.000Z | 2022-03-22T05:53:28.000Z | gizeh/__init__.py | doc22940/gizeh | d6ed4e0205027e5c31c44da65ef6c9c7fc369551 | [
"MIT"
] | 46 | 2015-01-11T13:31:04.000Z | 2022-02-20T10:15:33.000Z | gizeh/__init__.py | doc22940/gizeh | d6ed4e0205027e5c31c44da65ef6c9c7fc369551 | [
"MIT"
] | 69 | 2015-01-20T11:07:26.000Z | 2022-02-21T06:46:50.000Z | """ gizeh/__init__.py """
# __all__ = []
from .gizeh import *
from .geometry import *
from .version import __version__
| 13.555556 | 32 | 0.680328 | 14 | 122 | 5.071429 | 0.571429 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 122 | 8 | 33 | 15.25 | 0.71 | 0.262295 | 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 |
9bb1a3b5e2b873d4bc36908d4ef56b54937ebf98 | 45 | py | Python | Ex0112/utilidadescev/__init__.py | Rodrigo-Antonio-Silva/ExerciciosPythonCursoemVideo | 3b2d68094dd5d60f0e45a75590eb2be9be030640 | [
"MIT"
] | null | null | null | Ex0112/utilidadescev/__init__.py | Rodrigo-Antonio-Silva/ExerciciosPythonCursoemVideo | 3b2d68094dd5d60f0e45a75590eb2be9be030640 | [
"MIT"
] | null | null | null | Ex0112/utilidadescev/__init__.py | Rodrigo-Antonio-Silva/ExerciciosPythonCursoemVideo | 3b2d68094dd5d60f0e45a75590eb2be9be030640 | [
"MIT"
] | null | null | null | from Ex0112.utilidadescev import moeda, dado
| 22.5 | 44 | 0.844444 | 6 | 45 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.111111 | 45 | 1 | 45 | 45 | 0.85 | 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 |
9bbb244d9de09efbd804fd97db6937f32535312c | 35 | py | Python | simulation/sub8_simulation/sub8_sim_tools/widgets/__init__.py | ericgorday/SubjuGator | f45ac790f06eb97efc0b0810a7b43d0a6e2facee | [
"MIT"
] | 27 | 2020-02-17T21:54:09.000Z | 2022-03-18T17:49:23.000Z | simulation/sub8_simulation/sub8_sim_tools/widgets/__init__.py | ericgorday/SubjuGator | f45ac790f06eb97efc0b0810a7b43d0a6e2facee | [
"MIT"
] | 325 | 2019-09-11T14:13:56.000Z | 2022-03-31T00:38:30.000Z | simulation/sub8_simulation/sub8_sim_tools/widgets/__init__.py | ericgorday/SubjuGator | f45ac790f06eb97efc0b0810a7b43d0a6e2facee | [
"MIT"
] | 24 | 2019-09-16T00:29:45.000Z | 2022-03-06T10:56:38.000Z | # flake8: noqa
from sub import Sub
| 11.666667 | 19 | 0.742857 | 6 | 35 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.2 | 35 | 2 | 20 | 17.5 | 0.892857 | 0.342857 | 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 |
32f9f0cead0e71727b2f577fa349d6a3f73ae506 | 286 | py | Python | oozer/entities/tasks.py | panoramichq/data-collection-fb | 550b90a303c880ae8c3dfd2801dc4f991a969f89 | [
"MIT"
] | null | null | null | oozer/entities/tasks.py | panoramichq/data-collection-fb | 550b90a303c880ae8c3dfd2801dc4f991a969f89 | [
"MIT"
] | null | null | null | oozer/entities/tasks.py | panoramichq/data-collection-fb | 550b90a303c880ae8c3dfd2801dc4f991a969f89 | [
"MIT"
] | null | null | null | # flake8: noqa: F401
from oozer.entities.feedback_entity_task import feedback_entity_task
from oozer.entities.collect_entities_task import collect_entities_per_adaccount_task, collect_entities_per_page_task
from oozer.entities.import_scope_entities_task import import_ad_accounts_task
| 47.666667 | 116 | 0.902098 | 42 | 286 | 5.666667 | 0.404762 | 0.113445 | 0.214286 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.062937 | 286 | 5 | 117 | 57.2 | 0.873134 | 0.062937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5ec1f47f6d0042f046b2ea6936052d0c96a098f | 82,531 | py | Python | code/python/SecuritizedDerivativesAPIforDigitalPortals/v2/fds/sdk/SecuritizedDerivativesAPIforDigitalPortals/models/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/SecuritizedDerivativesAPIforDigitalPortals/v2/fds/sdk/SecuritizedDerivativesAPIforDigitalPortals/models/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/SecuritizedDerivativesAPIforDigitalPortals/v2/fds/sdk/SecuritizedDerivativesAPIforDigitalPortals/models/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
# import all models into this package
# if you have many models here with many references from one model to another this may
# raise a RecursionError
# to avoid this, import only the models that you directly need like:
# from from fds.sdk.SecuritizedDerivativesAPIforDigitalPortals.model.pet import Pet
#... | 170.871636 | 299 | 0.953266 | 6,682 | 82,531 | 11.347201 | 0.105208 | 0.043576 | 0.062251 | 0.323706 | 0.645235 | 0.635053 | 0.619609 | 0.5931 | 0.536216 | 0.451149 | 0 | 0.030218 | 0.02364 | 82,531 | 482 | 300 | 171.226141 | 0.910735 | 0.004738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd03634c8b369efb84b1cfbc08070b54fded6d44 | 38,571 | py | Python | picbackend/views/utils/get_parameter_validation_functions.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | picbackend/views/utils/get_parameter_validation_functions.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | picbackend/views/utils/get_parameter_validation_functions.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | import datetime
import re
import urllib
import json
from picmodels.models import HealthcarePlan
def validate_get_rqst_parameter_id(get_rqst_params, validated_params, rqst_errors):
param_name = 'id'
if param_name in get_rqst_params:
if get_rqst_params[param_name] != "all":
validate_int_lis... | 39.039474 | 178 | 0.754945 | 5,211 | 38,571 | 5.034542 | 0.040299 | 0.127273 | 0.126853 | 0.130818 | 0.906346 | 0.854965 | 0.793139 | 0.749304 | 0.712521 | 0.666362 | 0 | 0.001658 | 0.171372 | 38,571 | 987 | 179 | 39.079027 | 0.819186 | 0.00713 | 0 | 0.417952 | 0 | 0.002805 | 0.116294 | 0.017054 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106592 | false | 0.001403 | 0.007013 | 0 | 0.12202 | 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 |
bd0a044976caead9ee08476fbb61329dd1c422f1 | 168 | py | Python | chap 4/foods.py | wikilike7/python-crash-course | 85cd7a2ab6e43a554c282b6e0c1c44c415cca3a3 | [
"MIT"
] | null | null | null | chap 4/foods.py | wikilike7/python-crash-course | 85cd7a2ab6e43a554c282b6e0c1c44c415cca3a3 | [
"MIT"
] | null | null | null | chap 4/foods.py | wikilike7/python-crash-course | 85cd7a2ab6e43a554c282b6e0c1c44c415cca3a3 | [
"MIT"
] | 1 | 2019-03-05T09:31:27.000Z | 2019-03-05T09:31:27.000Z | my_foods = ['pizza', 'falafel', 'carrot cake']
# copy Array
my_friend_foods = my_foods[:]
print(my_foods)
print(my_friend_foods)
for food in my_foods:
print(food)
| 18.666667 | 46 | 0.720238 | 27 | 168 | 4.185185 | 0.481481 | 0.247788 | 0.318584 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 168 | 8 | 47 | 21 | 0.784722 | 0.059524 | 0 | 0 | 0 | 0 | 0.147436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bd29315a7e6ad3f35d88aea6451e4a1bae3fbddb | 4,084 | py | Python | businesstimedelta/test/rules/workdayrule_tests.py | moseswynn/businesstimedelta | 5b91f9342428281f7c8887f5f50827e3c2b39783 | [
"MIT"
] | 23 | 2016-01-26T00:49:46.000Z | 2022-01-16T13:00:25.000Z | businesstimedelta/test/rules/workdayrule_tests.py | moseswynn/businesstimedelta | 5b91f9342428281f7c8887f5f50827e3c2b39783 | [
"MIT"
] | 10 | 2016-02-16T00:28:04.000Z | 2022-02-02T21:18:31.000Z | businesstimedelta/test/rules/workdayrule_tests.py | moseswynn/businesstimedelta | 5b91f9342428281f7c8887f5f50827e3c2b39783 | [
"MIT"
] | 7 | 2016-02-09T10:32:21.000Z | 2022-01-25T13:34:43.000Z | import datetime
import unittest
import pytz
from ...rules.workdayrules import WorkDayRule, LunchTimeRule
class WorkDayRuleTest(unittest.TestCase):
def setUp(self):
self.pst = pytz.timezone('US/Pacific')
self.utc = pytz.timezone('UTC')
self.workdayrule = WorkDayRule(
start_time=... | 31.90625 | 76 | 0.547013 | 495 | 4,084 | 4.418182 | 0.121212 | 0.08962 | 0.164609 | 0.252401 | 0.797897 | 0.797897 | 0.746685 | 0.746685 | 0.746228 | 0.746228 | 0 | 0.100761 | 0.324437 | 4,084 | 127 | 77 | 32.15748 | 0.691917 | 0 | 0 | 0.432692 | 0 | 0 | 0.003918 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 1 | 0.115385 | false | 0 | 0.038462 | 0 | 0.173077 | 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 |
bd3e104554ef1532c24042a2d5f343348edf5511 | 134 | py | Python | tests/pyvs/__init__.py | tlalexander/stitchEm | cdff821ad2c500703e6cb237ec61139fce7bf11c | [
"MIT"
] | 182 | 2019-04-19T12:38:30.000Z | 2022-03-20T16:48:20.000Z | tests/pyvs/__init__.py | doymcc/stitchEm | 20693a55fa522d7a196b92635e7a82df9917c2e2 | [
"MIT"
] | 107 | 2019-04-23T10:49:35.000Z | 2022-03-02T18:12:28.000Z | tests/pyvs/__init__.py | doymcc/stitchEm | 20693a55fa522d7a196b92635e7a82df9917c2e2 | [
"MIT"
] | 59 | 2019-06-04T11:27:25.000Z | 2022-03-17T23:49:49.000Z | import pyvs.vsfiles
import pyvs.vshttp
import pyvs.vsimage
import pyvs.vsperf
import pyvs.vsrtmp
import pyvs.vstcp
import pyvs.vswave
| 16.75 | 19 | 0.843284 | 21 | 134 | 5.380952 | 0.428571 | 0.619469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 134 | 7 | 20 | 19.142857 | 0.941667 | 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 |
1fedbe0fa50255c97f4c5ac3de722afa7c4ffa58 | 233 | py | Python | hannibal/util/__init__.py | JorgenLiu/hannibal | 966fc27d4b1ea74323689782f70d05c22f971341 | [
"MIT"
] | 4 | 2018-11-05T09:35:56.000Z | 2019-02-23T11:33:39.000Z | hannibal/util/__init__.py | JorgenLiu/hannibal | 966fc27d4b1ea74323689782f70d05c22f971341 | [
"MIT"
] | null | null | null | hannibal/util/__init__.py | JorgenLiu/hannibal | 966fc27d4b1ea74323689782f70d05c22f971341 | [
"MIT"
] | null | null | null | from hannibal.util.href_pool import RedisHrefPool, MemPool
from hannibal.util.queues import RedisQueue, MemQueue
from hannibal.util.tricks import TrickHelper
from hannibal.util.common_utils import extract_json, extract_html, Mission
| 46.6 | 74 | 0.862661 | 32 | 233 | 6.15625 | 0.59375 | 0.243655 | 0.324873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085837 | 233 | 4 | 75 | 58.25 | 0.924883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9521086c6169c06c1cb96bfbed4686728b0f8ea9 | 45 | py | Python | nonnegcg/__init__.py | david-cortes/nonneg_cg | cc1cae197710357c94661417fe0a7e4ef68a351c | [
"BSD-2-Clause"
] | 1 | 2019-09-07T00:58:43.000Z | 2019-09-07T00:58:43.000Z | nonnegcg/__init__.py | david-cortes/nonneg_cg | cc1cae197710357c94661417fe0a7e4ef68a351c | [
"BSD-2-Clause"
] | null | null | null | nonnegcg/__init__.py | david-cortes/nonneg_cg | cc1cae197710357c94661417fe0a7e4ef68a351c | [
"BSD-2-Clause"
] | 1 | 2019-09-07T00:58:44.000Z | 2019-09-07T00:58:44.000Z | from nonnegcg._minimize import minimize_nncg
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 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 |
1f0556a5be7dd6e61fb868bf202c55b37d535dba | 24 | py | Python | app.py | project-esb/finalprj | e18d1139ee5354bdfb54b2dd9cdef466f4a8d2e2 | [
"Apache-2.0"
] | null | null | null | app.py | project-esb/finalprj | e18d1139ee5354bdfb54b2dd9cdef466f4a8d2e2 | [
"Apache-2.0"
] | null | null | null | app.py | project-esb/finalprj | e18d1139ee5354bdfb54b2dd9cdef466f4a8d2e2 | [
"Apache-2.0"
] | null | null | null | import streamlit as st
| 8 | 22 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 2 | 23 | 12 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f3395850fbeb47a8a75917e10a01b66d8cb3f18 | 74 | py | Python | imageAugmentationD3MWrapper/__init__.py | NewKnowledge/image-augmentation-d3m-wrapper | a15834d9d5729a4e45a85134d06accb8e07371e4 | [
"MIT"
] | null | null | null | imageAugmentationD3MWrapper/__init__.py | NewKnowledge/image-augmentation-d3m-wrapper | a15834d9d5729a4e45a85134d06accb8e07371e4 | [
"MIT"
] | null | null | null | imageAugmentationD3MWrapper/__init__.py | NewKnowledge/image-augmentation-d3m-wrapper | a15834d9d5729a4e45a85134d06accb8e07371e4 | [
"MIT"
] | null | null | null | from imageAugmentationD3MWrapper.wrapper import ImageAugmentationPrimitive | 74 | 74 | 0.945946 | 5 | 74 | 14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.040541 | 74 | 1 | 74 | 74 | 0.971831 | 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 |
1f456d2fbeca8e5b457483bd69fc3e564f964f85 | 10,371 | py | Python | minigugl/annotation.py | FraBle/minigugl | 2bfaab8daf1732fc3f2ed43fd743e8a1bfdb5843 | [
"MIT"
] | null | null | null | minigugl/annotation.py | FraBle/minigugl | 2bfaab8daf1732fc3f2ed43fd743e8a1bfdb5843 | [
"MIT"
] | null | null | null | minigugl/annotation.py | FraBle/minigugl | 2bfaab8daf1732fc3f2ed43fd743e8a1bfdb5843 | [
"MIT"
] | null | null | null | """Annotations for video frames."""
from pathlib import Path
from typing import Any, NamedTuple, Optional, Tuple
import cv2
from minigugl import config
Point = Tuple[int, int]
TextOrg = Point
BoxCoords = Tuple[Point, Point]
class AnnotationCoords(NamedTuple):
"""Wrapper class for annation coordinates."""
... | 27.729947 | 79 | 0.640247 | 1,326 | 10,371 | 4.753394 | 0.091252 | 0.085673 | 0.129462 | 0.118039 | 0.852769 | 0.839124 | 0.812153 | 0.812153 | 0.805807 | 0.805807 | 0 | 0.004297 | 0.28194 | 10,371 | 373 | 80 | 27.80429 | 0.842084 | 0.294957 | 0 | 0.65587 | 0 | 0 | 0.004309 | 0.003591 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040486 | false | 0 | 0.016194 | 0 | 0.093117 | 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 |
1f676a5895ab1be06dcc8de8327a66c765d505c3 | 2,862 | py | Python | Payment/migrations/0001_initial.py | devvspaces/mailfinder | a4d50a0d3bf80741e33df69c74c94daffebc435b | [
"MIT"
] | null | null | null | Payment/migrations/0001_initial.py | devvspaces/mailfinder | a4d50a0d3bf80741e33df69c74c94daffebc435b | [
"MIT"
] | null | null | null | Payment/migrations/0001_initial.py | devvspaces/mailfinder | a4d50a0d3bf80741e33df69c74c94daffebc435b | [
"MIT"
] | null | null | null | # Generated by Django 3.1.6 on 2021-03-03 02:21
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 43.363636 | 118 | 0.587352 | 276 | 2,862 | 5.952899 | 0.231884 | 0.029215 | 0.042605 | 0.066951 | 0.756543 | 0.756543 | 0.756543 | 0.756543 | 0.756543 | 0.756543 | 0 | 0.009148 | 0.274284 | 2,862 | 65 | 119 | 44.030769 | 0.781897 | 0.015723 | 0 | 0.689655 | 1 | 0 | 0.086323 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.051724 | 0 | 0.12069 | 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 |
1f700648a78c7a5df06019c0444781ed315d2b31 | 1,158 | py | Python | Archivator.py | bogdanevropin/timus | b8c38928325b204114fcfcb7c7c6e4ec44d0de1b | [
"MIT"
] | null | null | null | Archivator.py | bogdanevropin/timus | b8c38928325b204114fcfcb7c7c6e4ec44d0de1b | [
"MIT"
] | null | null | null | Archivator.py | bogdanevropin/timus | b8c38928325b204114fcfcb7c7c6e4ec44d0de1b | [
"MIT"
] | null | null | null |
unique_words = set()
dictionary = {}
try:
with open('text.txt', 'r') as text_file:
for line in text_file:
split_line = line.replace('.', '')
split_line = split_line.replace("(", '')
split_line = split_line.replace(")", '')
split_line = split_line... | 30.473684 | 53 | 0.531952 | 131 | 1,158 | 4.450382 | 0.206107 | 0.370497 | 0.288165 | 0.343053 | 0.758148 | 0.758148 | 0.658662 | 0.658662 | 0.658662 | 0.658662 | 0 | 0.002574 | 0.329016 | 1,158 | 38 | 54 | 30.473684 | 0.747748 | 0 | 0 | 0.709677 | 0 | 0 | 0.048214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1f98882d59fe6c88ac2eb4e087f43831b5fbe8eb | 196 | py | Python | bot/dialogs/__init__.py | elkprostoelk/fcspm-ksu-bot | d5873d375f2cc124d98b959fee99a89dbb1948fa | [
"MIT"
] | 1 | 2021-08-02T21:18:50.000Z | 2021-08-02T21:18:50.000Z | bot/dialogs/__init__.py | elkprostoelk/fcspm-ksu-bot | d5873d375f2cc124d98b959fee99a89dbb1948fa | [
"MIT"
] | 4 | 2020-05-01T22:14:19.000Z | 2020-05-21T20:27:29.000Z | bot/dialogs/__init__.py | elkprostoelk/fcspm-ksu-bot | d5873d375f2cc124d98b959fee99a89dbb1948fa | [
"MIT"
] | 1 | 2021-08-02T11:57:20.000Z | 2021-08-02T11:57:20.000Z | from .answer_location import *
from .bells_schedule import *
from .cancel import *
from .order_certificate import *
from .phrases import *
from .start import *
from .echo_not_understanded import * | 28 | 36 | 0.790816 | 26 | 196 | 5.769231 | 0.538462 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137755 | 196 | 7 | 36 | 28 | 0.887574 | 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 |
2f2ea10c1eb6f2c55801508096d34552782afebb | 15,395 | py | Python | app.py | boombam123/facefarrari | cd105f2e39aa9fff614d8562f2e202e6989c0350 | [
"BSD-3-Clause"
] | null | null | null | app.py | boombam123/facefarrari | cd105f2e39aa9fff614d8562f2e202e6989c0350 | [
"BSD-3-Clause"
] | null | null | null | app.py | boombam123/facefarrari | cd105f2e39aa9fff614d8562f2e202e6989c0350 | [
"BSD-3-Clause"
] | null | null | null | import tkinter as tk
from tkinter import filedialog
import os
import cv2
import sys
import cv2 #opencv itself
import common #some useful opencv functions
import numpy as np # matrix manipulations
import imutils
from matplotlib import pyplot as plt # this lets you draw inline pictures in the notebooks
import r... | 40.301047 | 128 | 0.563105 | 1,761 | 15,395 | 4.783646 | 0.187961 | 0.039174 | 0.022555 | 0.014957 | 0.814815 | 0.793685 | 0.793685 | 0.7849 | 0.776116 | 0.770418 | 0 | 0.02379 | 0.352907 | 15,395 | 381 | 129 | 40.406824 | 0.821823 | 0.254628 | 0 | 0.560386 | 0 | 0.004831 | 0.086557 | 0.012196 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038647 | false | 0 | 0.130435 | 0.014493 | 0.188406 | 0.048309 | 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 |
2f3e6d1b35cc4b046199c40a958dbd40b8753c6a | 10,684 | py | Python | packages/esp32_LoBo/frozen/display/fonts/ubuntu_condensed_15.py | TheVinhLuong102/micropy-stubs | 55ff1773008f7c4dfc3d70a403986486226eb6b3 | [
"MIT"
] | 18 | 2019-07-11T13:31:09.000Z | 2022-01-27T06:38:40.000Z | packages/esp32_LoBo/frozen/display/fonts/ubuntu_condensed_15.py | TheVinhLuong102/micropy-stubs | 55ff1773008f7c4dfc3d70a403986486226eb6b3 | [
"MIT"
] | 9 | 2019-09-01T21:44:49.000Z | 2022-02-04T20:55:08.000Z | packages/esp32_LoBo/frozen/display/fonts/ubuntu_condensed_15.py | TheVinhLuong102/micropy-stubs | 55ff1773008f7c4dfc3d70a403986486226eb6b3 | [
"MIT"
] | 6 | 2019-10-08T05:31:21.000Z | 2021-04-22T10:21:01.000Z | _FONT = {
32: [3, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63],
33: [4, 255, 255, 255, 255, 243, 243, 243, 243, 243, 243, 255, 255, 243, 243, 255, 255, 255],
34: [5, 1023, 1023, 1023, 819, 819, 819, 819, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023],
35: [8, 65535, 65535, 65535, 655... | 109.020408 | 179 | 0.643673 | 1,806 | 10,684 | 3.807309 | 0.119601 | 0.221059 | 0.228621 | 0.169866 | 0.675974 | 0.58217 | 0.486184 | 0.427138 | 0.312245 | 0.21466 | 0 | 0.77431 | 0.169319 | 10,684 | 97 | 180 | 110.14433 | 0.000451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2f7166295fc0fb168bd8d66ddd176c29ddcd09f4 | 16,491 | py | Python | out/manticoresearch-python/manticoresearch/api/search_api.py | mihaj/openapi | 29e878b0be1218a897c4c86bf9d8d51f4d1a3e57 | [
"MIT"
] | null | null | null | out/manticoresearch-python/manticoresearch/api/search_api.py | mihaj/openapi | 29e878b0be1218a897c4c86bf9d8d51f4d1a3e57 | [
"MIT"
] | 3 | 2021-12-21T08:18:48.000Z | 2022-03-24T10:50:37.000Z | out/manticoresearch-python/manticoresearch/api/search_api.py | mihaj/openapi | 29e878b0be1218a897c4c86bf9d8d51f4d1a3e57 | [
"MIT"
] | 5 | 2021-12-11T06:10:14.000Z | 2022-03-18T11:05:24.000Z | # coding: utf-8
# Manticore Search Client
# Copyright (c) 2020-2021, Manticore Software LTD (https://manticoresearch.com)
#
# All rights reserved
#
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from six.moves.urllib.parse import quote
fro... | 51.214286 | 918 | 0.608271 | 1,883 | 16,491 | 5.109931 | 0.141795 | 0.029931 | 0.04365 | 0.022449 | 0.918312 | 0.901476 | 0.888277 | 0.882665 | 0.882665 | 0.882665 | 0 | 0.014809 | 0.291614 | 16,491 | 321 | 919 | 51.373832 | 0.808851 | 0.566733 | 0 | 0.623188 | 0 | 0 | 0.169656 | 0.025044 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036232 | false | 0 | 0.043478 | 0 | 0.115942 | 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 |
c80919cdaebfb1ee30a1e649ebecf9eb5e4ea35d | 134 | py | Python | datacatalog/linkedstores/annotations/tag/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | null | null | null | datacatalog/linkedstores/annotations/tag/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 2 | 2019-07-25T15:39:04.000Z | 2019-10-21T15:31:46.000Z | datacatalog/linkedstores/annotations/tag/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 1 | 2019-10-15T14:33:44.000Z | 2019-10-15T14:33:44.000Z | from .document import TagAnnotationSchema, TagAnnotationDocument, TagAnnotation
from .store import TagAnnotationStore, StoreInterface
| 44.666667 | 79 | 0.880597 | 11 | 134 | 10.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08209 | 134 | 2 | 80 | 67 | 0.95935 | 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 |
c8454cfd101c6524715e70efffb04e216bc84bb4 | 174 | py | Python | habitat/health/admin/__init__.py | matrach/habitatOS | 1ae2a3caf6f279cf6d6d20bcd81f24d50f61d7d3 | [
"MIT"
] | 1 | 2021-02-01T19:04:39.000Z | 2021-02-01T19:04:39.000Z | habitat/health/models/__init__.py | matrach/habitatOS | 1ae2a3caf6f279cf6d6d20bcd81f24d50f61d7d3 | [
"MIT"
] | null | null | null | habitat/health/models/__init__.py | matrach/habitatOS | 1ae2a3caf6f279cf6d6d20bcd81f24d50f61d7d3 | [
"MIT"
] | null | null | null | from .blood_pressure import *
from .disease import *
from .pulse_oximetry import *
from .temperature import *
from .stool import *
from .urine import *
from .weight import *
| 21.75 | 29 | 0.758621 | 23 | 174 | 5.652174 | 0.478261 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 174 | 7 | 30 | 24.857143 | 0.890411 | 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 |
c091cbff9562c640b09b7ff5dd39c8ae67a3100e | 105 | py | Python | backend-flask-sqlalchemy/flask_sql_alchemy1/app/views.py | santiagosilas/dweb20192-vuejs | d6b322c075682247ca2e1eb70c9c64d27d741fa2 | [
"MIT"
] | 1 | 2020-11-12T15:27:20.000Z | 2020-11-12T15:27:20.000Z | cap_07_flask_sqlalchemy/flask_sql_alchemy4_relationships/app/views.py | santiagosilas/BasicoFlaskDevWeb | de7b952427e453b365c84a7f26882174d5cb13ae | [
"MIT"
] | 36 | 2019-12-05T10:39:07.000Z | 2022-02-27T10:34:55.000Z | backend-flask-sqlalchemy/flask_sql_alchemy4_relationships/app/views.py | santiagosilas/dweb20192-vuejs | d6b322c075682247ca2e1eb70c9c64d27d741fa2 | [
"MIT"
] | null | null | null | from flask import Flask
from app import app
@app.route('/')
def hello_world():
return 'Hello World!' | 17.5 | 25 | 0.704762 | 16 | 105 | 4.5625 | 0.5625 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 105 | 6 | 25 | 17.5 | 0.83908 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
c0b734ce35f3bb86f0b72b08ff801c993470c39d | 151 | py | Python | my/error.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 1,026 | 2020-03-16T16:53:29.000Z | 2022-03-29T16:03:38.000Z | my/error.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 102 | 2020-03-18T22:53:29.000Z | 2022-03-22T00:34:46.000Z | my/error.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 50 | 2020-03-17T21:00:34.000Z | 2022-03-28T08:37:13.000Z | from .core.warnings import high
high("DEPRECATED! Please use my.core.error instead.")
from .core import __NOT_HPI_MODULE__
from .core.error import *
| 21.571429 | 53 | 0.781457 | 23 | 151 | 4.869565 | 0.608696 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125828 | 151 | 6 | 54 | 25.166667 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.298013 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c0b81a3f2596f236aa455df5ad9e2dab48274ae5 | 71 | py | Python | appclassdoc/__init__.py | ROCvT-OCS-TAB/appclassdoc | 9b4ff690dfd59fd638836a503b668c9868a1b795 | [
"MIT"
] | 2 | 2021-04-16T01:39:42.000Z | 2021-04-16T11:47:11.000Z | appclassdoc/__init__.py | ROCvT-OCS-TAB/appclassdoc | 9b4ff690dfd59fd638836a503b668c9868a1b795 | [
"MIT"
] | null | null | null | appclassdoc/__init__.py | ROCvT-OCS-TAB/appclassdoc | 9b4ff690dfd59fd638836a503b668c9868a1b795 | [
"MIT"
] | 1 | 2021-04-20T09:58:16.000Z | 2021-04-20T09:58:16.000Z | """Simplify imports."""
from .appclassdoc import generate_appclassdoc
| 17.75 | 45 | 0.788732 | 7 | 71 | 7.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 3 | 46 | 23.666667 | 0.859375 | 0.239437 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c0d92d88a836cec8450317a45bac2accc3f26119 | 7,415 | py | Python | utils/iou.py | calmisential/SkeNetch | c014b9d2caa0a3a9809b437c957cea3b73af685d | [
"Apache-2.0"
] | 1 | 2021-12-14T07:26:28.000Z | 2021-12-14T07:26:28.000Z | utils/iou.py | calmisential/SkeNetch | c014b9d2caa0a3a9809b437c957cea3b73af685d | [
"Apache-2.0"
] | null | null | null | utils/iou.py | calmisential/SkeNetch | c014b9d2caa0a3a9809b437c957cea3b73af685d | [
"Apache-2.0"
] | 1 | 2021-12-14T07:26:30.000Z | 2021-12-14T07:26:30.000Z | import math
import torch
eps = 1e-6
def box_iou(boxes1, boxes2):
"""
:param boxes1: Tensor, shape: (..., 4 (xmin, ymin, xmax, ymax))
:param boxes2: Tensor, shape: (..., 4 (xmin, ymin, xmax, ymax))
:return:
"""
box_1_area = (boxes1[..., 2] - boxes1[..., 0]) * (boxes1[..., 3] - boxes1[..., 1]... | 40.741758 | 120 | 0.547404 | 1,060 | 7,415 | 3.664151 | 0.099057 | 0.018538 | 0.030896 | 0.012358 | 0.816169 | 0.803038 | 0.800978 | 0.800463 | 0.781153 | 0.756694 | 0 | 0.073441 | 0.234255 | 7,415 | 181 | 121 | 40.966851 | 0.610602 | 0.171949 | 0 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.019231 | 0 | 0.173077 | 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 |
23f161a3608592c0c88faca372e10cca3a595a91 | 64 | py | Python | 06/00/len.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | 06/00/len.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | 39 | 2017-07-31T22:54:01.000Z | 2017-08-31T00:19:03.000Z | 06/00/len.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | d = {}; print(len(d))
d = {'k1':'v1', 'k2':'v2'}; print(len(d))
| 21.333333 | 41 | 0.4375 | 12 | 64 | 2.333333 | 0.583333 | 0.571429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0.140625 | 64 | 2 | 42 | 32 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9b183ae584d6133f5446c489750426d075a674ac | 256 | py | Python | eelbrain/_utils/tests/test_parse.py | jpkulasingham/Eelbrain | 1061ce0b781a8e55ec187723b58491a5cde32e08 | [
"BSD-3-Clause"
] | 32 | 2015-04-05T15:38:55.000Z | 2022-03-12T02:35:09.000Z | eelbrain/_utils/tests/test_parse.py | jpkulasingham/Eelbrain | 1061ce0b781a8e55ec187723b58491a5cde32e08 | [
"BSD-3-Clause"
] | 22 | 2015-07-14T14:55:44.000Z | 2022-03-15T17:46:11.000Z | eelbrain/_utils/tests/test_parse.py | jpkulasingham/Eelbrain | 1061ce0b781a8e55ec187723b58491a5cde32e08 | [
"BSD-3-Clause"
] | 29 | 2015-04-23T13:51:09.000Z | 2021-08-12T11:28:21.000Z | # Author: Christian Brodbeck <christianbrodbeck@nyu.edu>
from eelbrain._utils.parse import find_variables
def test_find_variables():
assert find_variables("a + b / c.x()") == {'a', 'b', 'c'}
assert find_variables("a + 'b' / c.x()") == {'a', 'c'}
| 32 | 61 | 0.640625 | 36 | 256 | 4.388889 | 0.555556 | 0.329114 | 0.056962 | 0.253165 | 0.303797 | 0.303797 | 0.303797 | 0.303797 | 0 | 0 | 0 | 0 | 0.15625 | 256 | 7 | 62 | 36.571429 | 0.731481 | 0.210938 | 0 | 0 | 0 | 0 | 0.165 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f1ac9c02702392f7e882b277b0e91e0a2f8494c3 | 66 | py | Python | parasol/cost/__init__.py | snasiriany/parasol | 88b99704676fb1253b8bc6402665a3174a00072d | [
"MIT"
] | 66 | 2019-01-07T23:59:26.000Z | 2021-12-29T16:51:56.000Z | parasol/cost/__init__.py | snasiriany/parasol | 88b99704676fb1253b8bc6402665a3174a00072d | [
"MIT"
] | 8 | 2019-01-09T01:35:54.000Z | 2021-08-23T20:05:03.000Z | parasol/cost/__init__.py | snasiriany/parasol | 88b99704676fb1253b8bc6402665a3174a00072d | [
"MIT"
] | 21 | 2019-03-26T01:02:33.000Z | 2022-01-26T20:34:34.000Z | from .no_cost import *
from .quadratic import *
from .nn import *
| 16.5 | 24 | 0.727273 | 10 | 66 | 4.7 | 0.6 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 25 | 22 | 0.87037 | 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 |
f1ba42c57bafaee07ec0313af352bd79d96526d8 | 24 | py | Python | ros2_support_port/__init__.py | mahaarbo/ros2_support_port | dde147729b4c1261e8b60c71b4d51120825110e5 | [
"Apache-2.0"
] | null | null | null | ros2_support_port/__init__.py | mahaarbo/ros2_support_port | dde147729b4c1261e8b60c71b4d51120825110e5 | [
"Apache-2.0"
] | null | null | null | ros2_support_port/__init__.py | mahaarbo/ros2_support_port | dde147729b4c1261e8b60c71b4d51120825110e5 | [
"Apache-2.0"
] | null | null | null | from .migrator import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 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 |
7b2652eb687499152628cbfb89db2158f7b167a6 | 49 | py | Python | transpile/__init__.py | lusamreth/openbox-playground | 995fd8b074461bf8bb59a81c97106c7deb7da152 | [
"MIT"
] | null | null | null | transpile/__init__.py | lusamreth/openbox-playground | 995fd8b074461bf8bb59a81c97106c7deb7da152 | [
"MIT"
] | null | null | null | transpile/__init__.py | lusamreth/openbox-playground | 995fd8b074461bf8bb59a81c97106c7deb7da152 | [
"MIT"
] | null | null | null | from mutations.translator import TranslateSchema
| 24.5 | 48 | 0.897959 | 5 | 49 | 8.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.977778 | 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 |
9e4307714baf5a21e18885c6b9e6164062410bf1 | 489 | py | Python | matrix.py | brijendra98/Matrix-Patterns | 1373b8c36bae92a317e088a2ede00ca6db7e90fd | [
"Apache-2.0"
] | null | null | null | matrix.py | brijendra98/Matrix-Patterns | 1373b8c36bae92a317e088a2ede00ca6db7e90fd | [
"Apache-2.0"
] | null | null | null | matrix.py | brijendra98/Matrix-Patterns | 1373b8c36bae92a317e088a2ede00ca6db7e90fd | [
"Apache-2.0"
] | null | null | null | import random
min=int(111111111111111111111111111111111111111111111111111133584952738323886047554178044623297933329443107704655695888766904245400186676814324764388969996917148035021655643271585472190155228462777820084309090564)
max=int(99999999999999999999999999967890987654321234567890987654321234567890987654321234567... | 61.125 | 213 | 0.944785 | 15 | 489 | 30.8 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.857442 | 0.02454 | 489 | 7 | 214 | 69.857143 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9e48c3d1004d5b1a9d5cefcff6c490fbe9f343b2 | 11,147 | py | Python | examples/pizza_plots/plot_pizza_basic.py | JOTAJornalismo/jotaviz | cdda12d3dddb6611ec151458259a5c837c4b45d1 | [
"MIT"
] | 2 | 2021-11-19T01:50:40.000Z | 2021-11-22T22:54:53.000Z | examples/pizza_plots/plot_pizza_basic.py | JOTAJornalismo/jotaviz | cdda12d3dddb6611ec151458259a5c837c4b45d1 | [
"MIT"
] | null | null | null | examples/pizza_plots/plot_pizza_basic.py | JOTAJornalismo/jotaviz | cdda12d3dddb6611ec151458259a5c837c4b45d1 | [
"MIT"
] | null | null | null | """
==============================
Basic Pizza Plot (Percentiles)
==============================
"""
from urllib.request import urlopen
import matplotlib.pyplot as plt
from PIL import Image
import os
from jotaviz import Pizza, add_image, FontManager
####################################################################... | 34.618012 | 102 | 0.594958 | 1,359 | 11,147 | 4.790287 | 0.18911 | 0.037174 | 0.018433 | 0.025806 | 0.761598 | 0.761598 | 0.749002 | 0.749002 | 0.749002 | 0.732873 | 0 | 0.054518 | 0.24141 | 11,147 | 321 | 103 | 34.725857 | 0.71535 | 0.298915 | 0 | 0.720379 | 0 | 0.004739 | 0.232896 | 0.022806 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023697 | 0 | 0.023697 | 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 |
9e7607ff9484279132e7a29f7e5e9cd9ccb10383 | 272 | py | Python | SOSAT/constraints/__init__.py | pnnl/SOSAT | 610f99e0bb80f2f5e7836e7e3b6b816e029838bb | [
"BSD-3-Clause"
] | null | null | null | SOSAT/constraints/__init__.py | pnnl/SOSAT | 610f99e0bb80f2f5e7836e7e3b6b816e029838bb | [
"BSD-3-Clause"
] | 1 | 2021-03-22T18:59:05.000Z | 2021-03-22T18:59:05.000Z | SOSAT/constraints/__init__.py | pnnl/SOSAT | 610f99e0bb80f2f5e7836e7e3b6b816e029838bb | [
"BSD-3-Clause"
] | null | null | null | from .fault_constraint import FaultConstraint
from .faulting_regime_constraint import FaultingRegimeConstraint, SU
from .breakout_constraint import BreakoutConstraint
from .DITF_constraint import DITFConstraint
from .stress_measurement_constraint import StressMeasurement
| 45.333333 | 68 | 0.900735 | 28 | 272 | 8.5 | 0.571429 | 0.336134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077206 | 272 | 5 | 69 | 54.4 | 0.948207 | 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 |
7b4a76a97a7d3e710382e0f943529c5144f024a2 | 1,351 | py | Python | scripts/run_no_bias_gaussian_0HL_1HL_2HL.py | declanoller/rwg-benchmark | 4de250e08ab8f895d25bb24c0a63c64667de11be | [
"MIT"
] | 6 | 2020-05-05T16:57:18.000Z | 2021-12-21T22:43:46.000Z | scripts/run_no_bias_gaussian_0HL_1HL_2HL.py | declanoller/rwg-benchmark | 4de250e08ab8f895d25bb24c0a63c64667de11be | [
"MIT"
] | null | null | null | scripts/run_no_bias_gaussian_0HL_1HL_2HL.py | declanoller/rwg-benchmark | 4de250e08ab8f895d25bb24c0a63c64667de11be | [
"MIT"
] | 1 | 2021-12-21T22:43:50.000Z | 2021-12-21T22:43:50.000Z | import path_utils
import Statistics
"""
For reproducing the figures from the paper.
"""
N_SAMPLES = 10
N_EPISODES = 2
# ############################## 0 HL
Statistics.run_vary_params(
{"NN": "FFNN", "N_hidden_layers": 0, "use_bias": False},
{
"env_name": [
"CartPole-v0",
"M... | 19.867647 | 60 | 0.475944 | 132 | 1,351 | 4.590909 | 0.295455 | 0.092409 | 0.089109 | 0.094059 | 0.80363 | 0.80363 | 0.80363 | 0.80363 | 0.747525 | 0.747525 | 0 | 0.029605 | 0.324944 | 1,351 | 67 | 61 | 20.164179 | 0.634868 | 0.011843 | 0 | 0.557692 | 0 | 0 | 0.293524 | 0.060555 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038462 | 0 | 0.038462 | 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 |
7b4bc5e2e9f543d4fee57b1cf904838f9bfa1e60 | 1,153 | py | Python | src/localmotion/domain/result.py | local-motion/playground-importer | 0b2fb9151789c098b2baa1c99572ffadb30c5f3a | [
"Apache-2.0"
] | null | null | null | src/localmotion/domain/result.py | local-motion/playground-importer | 0b2fb9151789c098b2baa1c99572ffadb30c5f3a | [
"Apache-2.0"
] | null | null | null | src/localmotion/domain/result.py | local-motion/playground-importer | 0b2fb9151789c098b2baa1c99572ffadb30c5f3a | [
"Apache-2.0"
] | null | null | null | from src.localmotion.domain.playground import Playground
class Result:
def __init__(self, playground: Playground, message=None, exception=None) -> None:
self.playground = playground
self.message = message
self.exception = exception
self.line_number = 0
@classmethod
def suc... | 36.03125 | 99 | 0.706852 | 126 | 1,153 | 6.373016 | 0.230159 | 0.249066 | 0.302615 | 0.298879 | 0.520548 | 0.479452 | 0.479452 | 0.479452 | 0.407223 | 0.407223 | 0 | 0.001079 | 0.19601 | 1,153 | 31 | 100 | 37.193548 | 0.865156 | 0 | 0 | 0.304348 | 0 | 0 | 0.020815 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0 | 0.043478 | 0.217391 | 0.608696 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7baa4ed44238831cb74d919c03b1d959f06334dc | 42 | py | Python | main/views/public/task/__init__.py | tiberiucorbu/av-website | f26f44a367d718316442506b130a7034697670b8 | [
"MIT"
] | null | null | null | main/views/public/task/__init__.py | tiberiucorbu/av-website | f26f44a367d718316442506b130a7034697670b8 | [
"MIT"
] | null | null | null | main/views/public/task/__init__.py | tiberiucorbu/av-website | f26f44a367d718316442506b130a7034697670b8 | [
"MIT"
] | null | null | null | from task_clear_trash_controller import *
| 21 | 41 | 0.880952 | 6 | 42 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.894737 | 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 |
c8a1b290122307e8b61260ced591295e8311d7d5 | 81 | py | Python | spikewidgets/widgets/agreementmatrixwidget/__init__.py | Shawn-Guo-CN/spikewidgets | 225b4e3e0dc1c38f6c6bf08f285c230b8a2ae2f2 | [
"MIT"
] | null | null | null | spikewidgets/widgets/agreementmatrixwidget/__init__.py | Shawn-Guo-CN/spikewidgets | 225b4e3e0dc1c38f6c6bf08f285c230b8a2ae2f2 | [
"MIT"
] | null | null | null | spikewidgets/widgets/agreementmatrixwidget/__init__.py | Shawn-Guo-CN/spikewidgets | 225b4e3e0dc1c38f6c6bf08f285c230b8a2ae2f2 | [
"MIT"
] | null | null | null | from .agreementmatrixwidget import AgreementMatrixWidget, plot_agreement_matrix
| 27 | 79 | 0.901235 | 7 | 81 | 10.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 81 | 2 | 80 | 40.5 | 0.946667 | 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 |
c8c7b111e0173ba489db054a787518b37b5c6c13 | 257 | py | Python | pyupload/uploader/__init__.py | nandemonogatari/pyupload | 64a351edbbe1d50d726c446bbe26926d016e3d17 | [
"MIT"
] | null | null | null | pyupload/uploader/__init__.py | nandemonogatari/pyupload | 64a351edbbe1d50d726c446bbe26926d016e3d17 | [
"MIT"
] | null | null | null | pyupload/uploader/__init__.py | nandemonogatari/pyupload | 64a351edbbe1d50d726c446bbe26926d016e3d17 | [
"MIT"
] | null | null | null | from pyupload.uploader.uguu import UguuUploader
from pyupload.uploader.catbox import CatboxUploader
from pyupload.uploader.mixtape import MixTapeUploader
from pyupload.uploader.fileio import FileioUploader
from pyupload.uploader.nanmemes import NanUploader
| 42.833333 | 53 | 0.883268 | 30 | 257 | 7.566667 | 0.466667 | 0.264317 | 0.440529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077821 | 257 | 5 | 54 | 51.4 | 0.957806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8f4128d56f0d8cadeb932c889058c3152f9e17d | 142 | py | Python | vectorflow/core/__init__.py | dongrenguang/VectorFlow | 1e08a0cff6e0a282b03356d58cf4bab66339f922 | [
"MIT"
] | null | null | null | vectorflow/core/__init__.py | dongrenguang/VectorFlow | 1e08a0cff6e0a282b03356d58cf4bab66339f922 | [
"MIT"
] | null | null | null | vectorflow/core/__init__.py | dongrenguang/VectorFlow | 1e08a0cff6e0a282b03356d58cf4bab66339f922 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .basic_func import *
from .graph import *
from .name_scope import *
from .node import *
from .variable import *
| 17.75 | 25 | 0.683099 | 20 | 142 | 4.75 | 0.6 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.183099 | 142 | 7 | 26 | 20.285714 | 0.810345 | 0.147887 | 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 |
7402cc0f02f6312c4df68fcbcd575fca610af1f8 | 130 | py | Python | Errors.py | WillHord/CraigslistTracker | 4bed06395dad99428e3f0ff8dd77308496c82842 | [
"MIT"
] | null | null | null | Errors.py | WillHord/CraigslistTracker | 4bed06395dad99428e3f0ff8dd77308496c82842 | [
"MIT"
] | null | null | null | Errors.py | WillHord/CraigslistTracker | 4bed06395dad99428e3f0ff8dd77308496c82842 | [
"MIT"
] | null | null | null | class AlreadyTracked(Exception):
pass
class PageDoesNotExist(Exception):
pass
class TestFailedError(Exception):
pass | 16.25 | 34 | 0.761538 | 12 | 130 | 8.25 | 0.5 | 0.393939 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 130 | 8 | 35 | 16.25 | 0.916667 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
74065c5fc2d57c24409f41f74e0f644eb3c36641 | 26 | py | Python | terrascript/random/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/random/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/random/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | """2017-11-28 18:08:46"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cdd1767fd754634ca57c90479dfeba6381273748 | 17,855 | py | Python | tests/test_crontab.py | dapper91/crontools | 0d87c9642dc063d5d2d3017f9918591c681cacfb | [
"Unlicense"
] | 3 | 2021-03-15T20:13:15.000Z | 2021-03-24T13:24:46.000Z | tests/test_crontab.py | dapper91/crontools | 0d87c9642dc063d5d2d3017f9918591c681cacfb | [
"Unlicense"
] | 3 | 2021-03-15T21:13:35.000Z | 2021-03-20T17:19:56.000Z | tests/test_crontab.py | dapper91/crontools | 0d87c9642dc063d5d2d3017f9918591c681cacfb | [
"Unlicense"
] | 2 | 2021-07-14T18:26:22.000Z | 2022-03-03T16:52:58.000Z | import datetime as dt
import freezegun
import pytest
from crontools.crontab import Crontab
from crontools.crontab import SecondsField, MinuteField, HourField, MonthdayField, MonthField, WeekdayField, YearField
from crontools.crontab import SecondsRange, MinuteRange, HourRange, MonthdayRange, MonthRange, WeekdayRange,... | 35.426587 | 123 | 0.497508 | 2,155 | 17,855 | 4.074246 | 0.065893 | 0.069476 | 0.090319 | 0.125513 | 0.82221 | 0.797153 | 0.782346 | 0.756948 | 0.743166 | 0.738269 | 0 | 0.09656 | 0.350378 | 17,855 | 503 | 124 | 35.497018 | 0.660402 | 0 | 0 | 0.515593 | 0 | 0.006237 | 0.101988 | 0.001232 | 0 | 0 | 0 | 0 | 0.024948 | 1 | 0.014553 | false | 0 | 0.012474 | 0 | 0.027027 | 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 |
cdfd053e167c5c420d0e19e49898b25a17e39993 | 120,490 | py | Python | projects/NLR_MEG/source_analysis_session1_backup.py | yeatmanlab/BrainTools | 890db4256b0290918045e53cd3c6fd6197fcbb4e | [
"BSD-3-Clause"
] | 4 | 2019-09-20T13:29:31.000Z | 2021-05-20T00:26:53.000Z | projects/NLR_MEG/source_analysis_session1_backup.py | yeatmanlab/BrainTools | 890db4256b0290918045e53cd3c6fd6197fcbb4e | [
"BSD-3-Clause"
] | 3 | 2016-03-09T22:12:10.000Z | 2016-08-26T15:44:47.000Z | projects/NLR_MEG/source_analysis_session1_backup.py | yeatmanlab/BrainTools | 890db4256b0290918045e53cd3c6fd6197fcbb4e | [
"BSD-3-Clause"
] | 7 | 2015-11-17T06:30:38.000Z | 2022-03-04T05:59:09.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue Nov 15 12:05:40 2016
@author: sjjoo
"""
#%%
#import sys
import mne
#import imageio
from mne.utils import run_subprocess, logger
import os
from os import path as op
import copy
#import shutil
import numpy as np
from numpy.random import randn
from scipy import stats as stats
#i... | 43.451136 | 166 | 0.692904 | 20,666 | 120,490 | 3.853334 | 0.048631 | 0.019515 | 0.03805 | 0.053269 | 0.843959 | 0.820087 | 0.802544 | 0.786043 | 0.777379 | 0.770246 | 0 | 0.072199 | 0.101303 | 120,490 | 2,772 | 167 | 43.466811 | 0.66321 | 0.203619 | 0 | 0.496747 | 0 | 0 | 0.153908 | 0.051047 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013601 | 0 | 0.013601 | 0.017741 | 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 |
a814f0db622265ede4a028c95b5e76342baeb5ab | 150 | py | Python | openpype/modules/sync_server/__init__.py | dangerstudios/OpenPype | 10ddcc4699137888616eec57cd7fac9648189714 | [
"MIT"
] | null | null | null | openpype/modules/sync_server/__init__.py | dangerstudios/OpenPype | 10ddcc4699137888616eec57cd7fac9648189714 | [
"MIT"
] | null | null | null | openpype/modules/sync_server/__init__.py | dangerstudios/OpenPype | 10ddcc4699137888616eec57cd7fac9648189714 | [
"MIT"
] | null | null | null | from openpype.modules.sync_server.sync_server_module import SyncServerModule
def tray_init(tray_widget, main_widget):
return SyncServerModule()
| 25 | 76 | 0.84 | 19 | 150 | 6.315789 | 0.736842 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 150 | 5 | 77 | 30 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a82ab59065c8292af06076ff7f72229629f50231 | 115 | py | Python | tests/gui/test_gcheckbox.py | sredmond/campy | a082985375abf382341d226fc52300818f9dffe6 | [
"MIT"
] | 5 | 2018-12-03T19:18:50.000Z | 2021-05-31T07:17:06.000Z | tests/gui/test_gcheckbox.py | sredmond/campy | a082985375abf382341d226fc52300818f9dffe6 | [
"MIT"
] | 1 | 2020-02-13T20:56:05.000Z | 2020-02-19T18:32:56.000Z | tests/gui/test_gcheckbox.py | sredmond/acmpy | a082985375abf382341d226fc52300818f9dffe6 | [
"MIT"
] | 1 | 2017-06-06T07:29:07.000Z | 2017-06-06T07:29:07.000Z | """Tests for the :class:`campy.gui.ginteractors.GCheckBox` class."""
from campy.gui.ginteractors import GCheckBox
| 28.75 | 68 | 0.773913 | 15 | 115 | 5.933333 | 0.666667 | 0.179775 | 0.449438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 115 | 3 | 69 | 38.333333 | 0.847619 | 0.53913 | 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 |
a91e9e6ad0e9cf4f7bc78a551ca7d4b049209706 | 75,946 | py | Python | j3/jpandas.py | jskDr/jamespy | 729c496732d8ec2d6ba25d6b97ef2aa02065c18c | [
"MIT"
] | null | null | null | j3/jpandas.py | jskDr/jamespy | 729c496732d8ec2d6ba25d6b97ef2aa02065c18c | [
"MIT"
] | null | null | null | j3/jpandas.py | jskDr/jamespy | 729c496732d8ec2d6ba25d6b97ef2aa02065c18c | [
"MIT"
] | null | null | null | from rdkit import Chem
from rdkit.Chem import AllChem
from rdkit.Chem import Draw
from rdkit import DataStructs
import os
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from sklearn import linear_model, externals
from IPython.display import display
# This is James Sungjin Kim's library
# imp... | 31.565254 | 131 | 0.664564 | 12,462 | 75,946 | 3.84208 | 0.05593 | 0.004511 | 0.019298 | 0.016541 | 0.7948 | 0.771637 | 0.755869 | 0.73515 | 0.721387 | 0.711591 | 0 | 0.011634 | 0.189622 | 75,946 | 2,406 | 132 | 31.565254 | 0.766334 | 0.164696 | 0 | 0.721599 | 0 | 0.000701 | 0.139269 | 0.009973 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074334 | false | 0 | 0.011921 | 0.002104 | 0.145161 | 0.15007 | 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 |
a97470e640a5295662dbe6869ca81341223c2d6a | 131 | py | Python | canopy/job_count_to_simulation_count.py | CanopySimulations/canopy-python | 9ec37e674e65d6fbef0402ac0c612c163d55631e | [
"MIT"
] | null | null | null | canopy/job_count_to_simulation_count.py | CanopySimulations/canopy-python | 9ec37e674e65d6fbef0402ac0c612c163d55631e | [
"MIT"
] | 1 | 2022-01-31T10:18:08.000Z | 2022-01-31T10:18:08.000Z | canopy/job_count_to_simulation_count.py | CanopySimulations/canopy-python | 9ec37e674e65d6fbef0402ac0c612c163d55631e | [
"MIT"
] | null | null | null | def job_count_to_simulation_count(job_count: int) -> int:
if job_count <= 1:
return job_count
return job_count - 1
| 26.2 | 57 | 0.687023 | 21 | 131 | 3.904762 | 0.428571 | 0.487805 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.236641 | 131 | 4 | 58 | 32.75 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a98636577e6a46b0a33fbf715f4af0dc15fc89bb | 6,144 | py | Python | myapp/migrations/versions/d327fd496e47_.py | jollyshuai/cube-studio | 02ee737801f37a78a1b2e49c844c8401b41d9c48 | [
"Apache-2.0"
] | 1 | 2022-03-19T14:10:26.000Z | 2022-03-19T14:10:26.000Z | myapp/migrations/versions/d327fd496e47_.py | jollyshuai/cube-studio | 02ee737801f37a78a1b2e49c844c8401b41d9c48 | [
"Apache-2.0"
] | null | null | null | myapp/migrations/versions/d327fd496e47_.py | jollyshuai/cube-studio | 02ee737801f37a78a1b2e49c844c8401b41d9c48 | [
"Apache-2.0"
] | null | null | null | """empty message
Revision ID: d327fd496e47
Revises: 109a8e8dca95
Create Date: 2022-02-26 13:03:54.286807
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql
# revision identifiers, used by Alembic.
revision = 'd327fd496e47'
down_revision = '109a8e8dca95'
branch_labels = None
depe... | 52.067797 | 124 | 0.693359 | 834 | 6,144 | 5.010791 | 0.157074 | 0.137832 | 0.194305 | 0.268007 | 0.813831 | 0.811917 | 0.77028 | 0.734626 | 0.586743 | 0.482412 | 0 | 0.04003 | 0.117676 | 6,144 | 117 | 125 | 52.512821 | 0.730861 | 0.048014 | 0 | 0.4 | 0 | 0 | 0.170165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0.03 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8d362cf63c651bee3d5c30117ba000ac0687ff74 | 3,650 | py | Python | tests/test.py | evgeth/segment_tree | c2c92810620e51729103bab891b8b4e3faaab4a3 | [
"MIT"
] | 24 | 2018-02-07T12:25:44.000Z | 2022-02-05T23:07:40.000Z | tests/test.py | evgeth/segment_tree | c2c92810620e51729103bab891b8b4e3faaab4a3 | [
"MIT"
] | 1 | 2018-04-22T16:58:17.000Z | 2018-04-22T16:58:17.000Z | tests/test.py | evgeth/segment_tree | c2c92810620e51729103bab891b8b4e3faaab4a3 | [
"MIT"
] | 3 | 2017-12-20T13:42:44.000Z | 2019-01-09T18:17:46.000Z | from unittest import TestCase
from segment_tree import *
from tests.naive_segment_tree import *
import random
class TestSegmentTree(TestCase):
def test_int_segment_tree(self):
"""
Tests a basic implementation of the segment tree with integer values.
"""
array_length = 100
... | 41.477273 | 80 | 0.591233 | 499 | 3,650 | 4.144289 | 0.11022 | 0.024178 | 0.081238 | 0.092843 | 0.852031 | 0.848162 | 0.800774 | 0.76354 | 0.76354 | 0.71325 | 0 | 0.026508 | 0.286849 | 3,650 | 87 | 81 | 41.954023 | 0.76796 | 0.076164 | 0 | 0.590909 | 0 | 0 | 0.021958 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.060606 | false | 0 | 0.060606 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8d45a3f83250398e88a051e0eaf1f9b4c2c5ad7b | 158 | py | Python | main_info/modules/passport/__init__.py | wnlhn/my_news_web | 52258e5cbb0c5d631d82cadd8fdda111ae3cfa7a | [
"MIT"
] | null | null | null | main_info/modules/passport/__init__.py | wnlhn/my_news_web | 52258e5cbb0c5d631d82cadd8fdda111ae3cfa7a | [
"MIT"
] | null | null | null | main_info/modules/passport/__init__.py | wnlhn/my_news_web | 52258e5cbb0c5d631d82cadd8fdda111ae3cfa7a | [
"MIT"
] | null | null | null | # 问句天几高,心中志比天更高
from flask import Blueprint
# 创建蓝图对象,并且设置访问前缀
passprot_blue = Blueprint('passport_blue',__name__,url_prefix='/passport')
from . import views
| 22.571429 | 74 | 0.797468 | 20 | 158 | 5.95 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 158 | 6 | 75 | 26.333333 | 0.838028 | 0.183544 | 0 | 0 | 0 | 0 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 6 |
8da732686204271b8a8a897af079b8ca7b394534 | 37 | py | Python | datacatalog/formats/duke_validation/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | null | null | null | datacatalog/formats/duke_validation/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 2 | 2019-07-25T15:39:04.000Z | 2019-10-21T15:31:46.000Z | datacatalog/formats/duke_validation/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 1 | 2019-10-15T14:33:44.000Z | 2019-10-15T14:33:44.000Z | from .convert import Duke_Validation
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
a5fe77cf2c575b208cec3374e5c8b1ae7384b8f9 | 862 | py | Python | spfeas/spfeas/__init__.py | siu-panh/mapeo-uso-del-suelo | f7081a4e6784281eddceaa1a6087e0d972c92820 | [
"Apache-2.0"
] | 26 | 2017-12-07T06:38:46.000Z | 2021-10-01T18:24:47.000Z | spfeas/spfeas/__init__.py | siu-panh/mapeo-uso-del-suelo | f7081a4e6784281eddceaa1a6087e0d972c92820 | [
"Apache-2.0"
] | 21 | 2018-03-01T15:08:49.000Z | 2019-03-11T15:53:13.000Z | spfeas/spfeas/__init__.py | siu-panh/mapeo-uso-del-suelo | f7081a4e6784281eddceaa1a6087e0d972c92820 | [
"Apache-2.0"
] | 10 | 2018-03-20T22:27:43.000Z | 2020-09-07T00:27:41.000Z | from .spfeas import spatial_features
from .test_spfeas import test_features
from .data import test_image, \
training_01_4m, training_02_4m, training_03_4m, training_04_4m, training_05_4m, \
training_01_2m, training_02_2m, training_03_2m, training_04_2m, training_05_2m, \
features_01__BD1_BK4_SC8, \
fea... | 29.724138 | 85 | 0.646172 | 110 | 862 | 4.327273 | 0.209091 | 0.210084 | 0.071429 | 0.079832 | 0.710084 | 0.710084 | 0.710084 | 0.710084 | 0.710084 | 0.710084 | 0 | 0.133971 | 0.272622 | 862 | 28 | 86 | 30.785714 | 0.625199 | 0 | 0 | 0 | 0 | 0 | 0.279582 | 0.059165 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
571963a43216f1411e8b0c3847522c55c9bab199 | 81 | py | Python | mopidy_bluealsa_sink/backend.py | jakobend/mopidy-bluealsa-sink | 615306074e2ac9ae9925857c40bd420c8d335b5b | [
"MIT"
] | null | null | null | mopidy_bluealsa_sink/backend.py | jakobend/mopidy-bluealsa-sink | 615306074e2ac9ae9925857c40bd420c8d335b5b | [
"MIT"
] | null | null | null | mopidy_bluealsa_sink/backend.py | jakobend/mopidy-bluealsa-sink | 615306074e2ac9ae9925857c40bd420c8d335b5b | [
"MIT"
] | null | null | null | from mopidy.backend import Backend
class BlueAlsaSinkBackend(Backend):
pass
| 16.2 | 35 | 0.802469 | 9 | 81 | 7.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 4 | 36 | 20.25 | 0.942029 | 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 |
57318b0e65f7a6fdb5d01bb5ada53b9df04b0c8c | 10,064 | py | Python | cryspy/A_functions_base/extinction.py | ikibalin/rhochi | 1ca03f18dc72006322a101ed877cdbba33ed61e7 | [
"MIT"
] | null | null | null | cryspy/A_functions_base/extinction.py | ikibalin/rhochi | 1ca03f18dc72006322a101ed877cdbba33ed61e7 | [
"MIT"
] | null | null | null | cryspy/A_functions_base/extinction.py | ikibalin/rhochi | 1ca03f18dc72006322a101ed877cdbba33ed61e7 | [
"MIT"
] | null | null | null | import numpy
def calc_extinction_sphere_primary(
f_sq, radius, volume_unit_cell, cos_2theta, wavelength,
flag_f_sq: bool = False, flag_radius: bool = False,
flag_volume_unit_cell: bool = False, flag_cos_2theta: bool = False,
flag_wavelength: bool = False):
"""Primary extinction for... | 46.165138 | 120 | 0.631558 | 1,497 | 10,064 | 3.905144 | 0.062792 | 0.09545 | 0.122135 | 0.043106 | 0.835443 | 0.77352 | 0.745467 | 0.725453 | 0.706295 | 0.681492 | 0 | 0.038538 | 0.249702 | 10,064 | 217 | 121 | 46.37788 | 0.735664 | 0.048688 | 0 | 0.569948 | 0 | 0 | 0.039832 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020725 | false | 0.005181 | 0.005181 | 0 | 0.046632 | 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 |
938be0202c3875207911141409c70320f0176d99 | 119 | py | Python | modules/queens/__init__.py | eocode/Queens | 11a08a315dc76e7d2ddc9c742380dcfa9fd58e23 | [
"BSD-3-Clause"
] | null | null | null | modules/queens/__init__.py | eocode/Queens | 11a08a315dc76e7d2ddc9c742380dcfa9fd58e23 | [
"BSD-3-Clause"
] | null | null | null | modules/queens/__init__.py | eocode/Queens | 11a08a315dc76e7d2ddc9c742380dcfa9fd58e23 | [
"BSD-3-Clause"
] | null | null | null | from . import views
from . import models
from .algorithms import *
from .connections import *
from .utilities import *
| 19.833333 | 26 | 0.764706 | 15 | 119 | 6.066667 | 0.466667 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 119 | 5 | 27 | 23.8 | 0.919192 | 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 |
93aec55089601b69945a88788f07875b0653e1d5 | 550 | py | Python | ex05/ave.py | barbaracalderon/dsoo-1 | 4f4955afdd05874ab9d6d8c6136b9dd34852a80d | [
"MIT"
] | null | null | null | ex05/ave.py | barbaracalderon/dsoo-1 | 4f4955afdd05874ab9d6d8c6136b9dd34852a80d | [
"MIT"
] | null | null | null | ex05/ave.py | barbaracalderon/dsoo-1 | 4f4955afdd05874ab9d6d8c6136b9dd34852a80d | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from animal import Animal
class Ave(Animal):
@abstractmethod
def __init__(self, tamanho_passo: int, altura_voo: int):
super().__init__(tamanho_passo)
self.__altura_voo = altura_voo
@property
def altura_voo(self):
return self.__altura_voo
... | 25 | 60 | 0.665455 | 70 | 550 | 4.842857 | 0.357143 | 0.265487 | 0.153392 | 0.168142 | 0.259587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 550 | 22 | 61 | 25 | 0.811005 | 0 | 0 | 0.117647 | 0 | 0 | 0.043557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.117647 | 0.117647 | 0.176471 | 0.647059 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
93dd2162cb5bb19ef98af0a32e0220c702d6f624 | 207 | py | Python | custom_app/custom_app/doctype/settings_page/settings_page.py | Talleyrand333/Custom-App | 6079e95dbeabf320be3886ddd7429904d98cb638 | [
"MIT"
] | null | null | null | custom_app/custom_app/doctype/settings_page/settings_page.py | Talleyrand333/Custom-App | 6079e95dbeabf320be3886ddd7429904d98cb638 | [
"MIT"
] | null | null | null | custom_app/custom_app/doctype/settings_page/settings_page.py | Talleyrand333/Custom-App | 6079e95dbeabf320be3886ddd7429904d98cb638 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, ebukaakeru@gmail.com and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class SettingsPage(Document):
pass
| 23 | 59 | 0.797101 | 27 | 207 | 6.111111 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.130435 | 207 | 8 | 60 | 25.875 | 0.894444 | 0.574879 | 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 |
f5299c23a0d6fa26b515a4ca7f744f7451cd3a82 | 16,524 | py | Python | mqclient/implementation_tests/unit_tests.py | WIPACrepo/MQClient | 5d60adbfd327826389eb3f3af4950b94cdfac620 | [
"MIT"
] | null | null | null | mqclient/implementation_tests/unit_tests.py | WIPACrepo/MQClient | 5d60adbfd327826389eb3f3af4950b94cdfac620 | [
"MIT"
] | 26 | 2020-07-22T15:21:55.000Z | 2022-03-21T23:57:17.000Z | mqclient/implementation_tests/unit_tests.py | WIPACrepo/MQClient | 5d60adbfd327826389eb3f3af4950b94cdfac620 | [
"MIT"
] | null | null | null | """Parent class for backend unit tests."""
# fmt: off
# pylint:disable=invalid-name,protected-access
import logging
from typing import Any, List
import pytest
# local imports
from ..backend_interface import Backend, Message
from ..queue import Queue
from .utils import is_instance_by_name
class BackendUnitTest:
... | 39.06383 | 104 | 0.623699 | 2,226 | 16,524 | 4.363881 | 0.101078 | 0.059811 | 0.037369 | 0.025942 | 0.814495 | 0.788141 | 0.744287 | 0.73811 | 0.713197 | 0.691785 | 0 | 0.012369 | 0.275902 | 16,524 | 422 | 105 | 39.156398 | 0.799499 | 0.180707 | 0 | 0.68797 | 0 | 0 | 0.042906 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 1 | 0.090226 | false | 0.011278 | 0.022556 | 0 | 0.142857 | 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 |
f547ff5d3a9b9525abdddb657270b63451545c5d | 28 | py | Python | nqs/utils.py | stubbi/netket | 7391466077a4694e8f12c649730a81bf634f695e | [
"Apache-2.0"
] | 1 | 2019-11-28T10:26:04.000Z | 2019-11-28T10:26:04.000Z | nqs/utils.py | stubbi/nqs | 7391466077a4694e8f12c649730a81bf634f695e | [
"Apache-2.0"
] | null | null | null | nqs/utils.py | stubbi/nqs | 7391466077a4694e8f12c649730a81bf634f695e | [
"Apache-2.0"
] | null | null | null | from ._C_nqs.utils import *
| 14 | 27 | 0.75 | 5 | 28 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.791667 | 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 |
f58b7ae4252290849df5ae0c7e4b27a0775c0339 | 27 | py | Python | kerbal_rl/__init__.py | jinPrelude/kerbal-rl | 992f53268ddc839e58305d33d333f035bcc17357 | [
"MIT"
] | null | null | null | kerbal_rl/__init__.py | jinPrelude/kerbal-rl | 992f53268ddc839e58305d33d333f035bcc17357 | [
"MIT"
] | null | null | null | kerbal_rl/__init__.py | jinPrelude/kerbal-rl | 992f53268ddc839e58305d33d333f035bcc17357 | [
"MIT"
] | null | null | null | from kerbal_rl.env import * | 27 | 27 | 0.814815 | 5 | 27 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.875 | 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 |
f59ad3445c0db2556e84578ac44f40e0540e7045 | 178 | py | Python | tests/context.py | kalioz/mass_templates_generator | 3124ecb80a0820303488d542772ef9a82ec5b451 | [
"MIT"
] | 1 | 2020-07-15T14:30:50.000Z | 2020-07-15T14:30:50.000Z | tests/context.py | kalioz/mass_templates_generator | 3124ecb80a0820303488d542772ef9a82ec5b451 | [
"MIT"
] | null | null | null | tests/context.py | kalioz/mass_templates_generator | 3124ecb80a0820303488d542772ef9a82ec5b451 | [
"MIT"
] | null | null | null |
from sys import path as syspath
from os import path as ospath
syspath.insert(0, ospath.abspath(ospath.join(ospath.dirname(__file__), '..')))
import template
import main | 22.25 | 79 | 0.741573 | 26 | 178 | 4.923077 | 0.615385 | 0.15625 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.157303 | 178 | 8 | 80 | 22.25 | 0.846667 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
1933c8b8e5ec141d4db25767977ebb564c320646 | 360 | py | Python | python/pysearch/pysearch/searchexception.py | clarkcb/xsearch | 977ab28518c4560140e13eb0bf9050e32c2f5472 | [
"MIT"
] | 5 | 2015-06-30T04:13:04.000Z | 2022-01-01T23:06:07.000Z | python/pysearch/pysearch/searchexception.py | clarkcb/xsearch | 977ab28518c4560140e13eb0bf9050e32c2f5472 | [
"MIT"
] | 4 | 2015-03-23T23:42:46.000Z | 2020-11-30T04:42:59.000Z | python/pysearch/pysearch/searchexception.py | clarkcb/xsearch | 977ab28518c4560140e13eb0bf9050e32c2f5472 | [
"MIT"
] | 2 | 2015-03-23T23:41:21.000Z | 2020-01-24T07:34:32.000Z | # -*- coding: utf-8 -*-
###############################################################################
#
# searchexception.py
#
# class SearchException: custom exception
#
###############################################################################
class SearchException(Exception):
def __init__(self, *args):
... | 25.714286 | 79 | 0.375 | 20 | 360 | 6.35 | 0.6 | 0.314961 | 0.188976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003106 | 0.105556 | 360 | 13 | 80 | 27.692308 | 0.391304 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
19375a069a9d0bf1ae1ccfb9dbc5728ff9949209 | 268 | py | Python | src/aceinna/devices/widgets/__init__.py | daichenghe/acenav-cli | 1b626b15018d998fd9a7b88aae00e6001258b34f | [
"Apache-2.0"
] | 3 | 2021-09-04T14:48:50.000Z | 2022-02-14T00:12:37.000Z | src/aceinna/devices/widgets/__init__.py | daichenghe/acenav-cli | 1b626b15018d998fd9a7b88aae00e6001258b34f | [
"Apache-2.0"
] | 3 | 2021-08-19T09:03:46.000Z | 2021-09-30T03:13:01.000Z | src/aceinna/devices/widgets/__init__.py | daichenghe/acenav-cli | 1b626b15018d998fd9a7b88aae00e6001258b34f | [
"Apache-2.0"
] | 3 | 2021-08-20T02:37:42.000Z | 2022-03-24T07:05:19.000Z | from .ntrip_client import NTRIPClient
from .odometer_listener import (OdometerListener, CanOptions)
from .ethernet_data_logger import EthernetDataLogger
from .ethernet_data_logger import EthernetDebugDataLogger
from .ethernet_data_logger import EthernetRTCMDataLogger
| 44.666667 | 61 | 0.891791 | 29 | 268 | 7.965517 | 0.517241 | 0.155844 | 0.207792 | 0.285714 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078358 | 268 | 5 | 62 | 53.6 | 0.935223 | 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 |
1984476350cf22e13cf2daea5cf9777a29fcce87 | 41 | py | Python | avidashboard/api/__init__.py | ypraveen/avi-horizon-dashboard | 1dfbcc2bc5c39dbac2deb4b50f84f1f4b7d728d0 | [
"Apache-2.0"
] | 4 | 2015-11-12T16:20:27.000Z | 2021-01-27T15:53:19.000Z | avidashboard/api/__init__.py | ypraveen/avi-horizon-dashboard | 1dfbcc2bc5c39dbac2deb4b50f84f1f4b7d728d0 | [
"Apache-2.0"
] | 2 | 2017-07-26T14:43:13.000Z | 2018-06-13T05:29:52.000Z | avidashboard/api/__init__.py | ypraveen/avi-horizon-dashboard | 1dfbcc2bc5c39dbac2deb4b50f84f1f4b7d728d0 | [
"Apache-2.0"
] | 5 | 2015-08-31T20:02:20.000Z | 2020-03-21T15:10:37.000Z | from avidashboard.api import avi # noqa
| 20.5 | 40 | 0.780488 | 6 | 41 | 5.333333 | 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 |
5fe66c673c1667782c668094bdca62716f526572 | 164 | py | Python | yi/core/commons.py | soloist-v/yi | d7c04fe6266441d2629ba35f69c9fc659a52b370 | [
"MIT"
] | null | null | null | yi/core/commons.py | soloist-v/yi | d7c04fe6266441d2629ba35f69c9fc659a52b370 | [
"MIT"
] | null | null | null | yi/core/commons.py | soloist-v/yi | d7c04fe6266441d2629ba35f69c9fc659a52b370 | [
"MIT"
] | null | null | null | import numpy as np
from .tools import tensor
def arange(start, *args, **kwargs):
data = np.arange(start, *args, **kwargs)
return tensor(data, data.dtype)
| 20.5 | 44 | 0.682927 | 24 | 164 | 4.666667 | 0.625 | 0.196429 | 0.267857 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182927 | 164 | 7 | 45 | 23.428571 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 |
27743a5ce8b5f2cdcd30644117fec6110209ea49 | 85 | py | Python | packages/syft/src/syft/core/tensor/autograd/__init__.py | vishalbelsare/PySyft | fb04404fcfbef82fad1fb47407b35a24e9afb599 | [
"Apache-1.1"
] | 8,428 | 2017-08-10T09:17:49.000Z | 2022-03-31T08:20:14.000Z | packages/syft/src/syft/core/tensor/autograd/__init__.py | vishalbelsare/PySyft | fb04404fcfbef82fad1fb47407b35a24e9afb599 | [
"Apache-1.1"
] | 4,779 | 2017-08-09T23:19:00.000Z | 2022-03-29T11:49:36.000Z | packages/syft/src/syft/core/tensor/autograd/__init__.py | vishalbelsare/PySyft | fb04404fcfbef82fad1fb47407b35a24e9afb599 | [
"Apache-1.1"
] | 2,307 | 2017-08-10T08:52:12.000Z | 2022-03-30T05:36:07.000Z | # relative
from . import backward_ops # noqa: 401
from . import tensor # noqa: 401
| 21.25 | 39 | 0.705882 | 12 | 85 | 4.916667 | 0.666667 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 0.211765 | 85 | 3 | 40 | 28.333333 | 0.791045 | 0.329412 | 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 |
277a966a084ff6d654248a2b57022d3329ae35e5 | 3,422 | py | Python | tests/pyrog/migrations/test_0009_move_column_fk_on_input.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 42 | 2020-03-25T16:47:30.000Z | 2022-01-31T21:26:38.000Z | tests/pyrog/migrations/test_0009_move_column_fk_on_input.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 367 | 2020-04-08T12:46:34.000Z | 2022-02-16T01:15:32.000Z | tests/pyrog/migrations/test_0009_move_column_fk_on_input.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 3 | 2020-05-14T08:24:46.000Z | 2021-08-04T05:00:16.000Z | import pytest
from django.conf import settings
pytestmark = pytest.mark.django_db
@pytest.mark.migration(app_label="pyrog", migration_name="0008_column_ordering")
def test_migrate(migrator, state):
Owner = state.apps.get_model("pyrog.Owner")
InputGroup = state.apps.get_model("pyrog.InputGroup")
Column =... | 42.246914 | 90 | 0.713033 | 413 | 3,422 | 5.757869 | 0.152542 | 0.068124 | 0.090833 | 0.12868 | 0.862489 | 0.862489 | 0.817494 | 0.783011 | 0.745164 | 0.710681 | 0 | 0.007153 | 0.142022 | 3,422 | 80 | 91 | 42.775 | 0.802793 | 0 | 0 | 0.636364 | 0 | 0 | 0.158095 | 0.016365 | 0 | 0 | 0 | 0 | 0.075758 | 1 | 0.030303 | false | 0.030303 | 0.030303 | 0 | 0.060606 | 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 |
27ab50d564509f150fcdc9959085c0b86acbe78b | 804 | py | Python | CodeSignal/absoluteValuesSumMinimization.py | johanaluna/DataScience_summary | a365728b81a38f31a28e97666252910a23732936 | [
"MIT"
] | null | null | null | CodeSignal/absoluteValuesSumMinimization.py | johanaluna/DataScience_summary | a365728b81a38f31a28e97666252910a23732936 | [
"MIT"
] | null | null | null | CodeSignal/absoluteValuesSumMinimization.py | johanaluna/DataScience_summary | a365728b81a38f31a28e97666252910a23732936 | [
"MIT"
] | null | null | null | def absoluteValuesSumMinimization(a):
sums = {}
for num in a:
total = sum([abs(a[i] - num) for i in range(len(a))])
if total not in sums:
sums[total] = num
return sums[min(sums)]
if __name__ == "__main__":
a= [-10, 100, 200, 300, 400, 500, 500, 500, 500, 500, 500, 500, 50... | 57.428571 | 507 | 0.590796 | 139 | 804 | 3.359712 | 0.18705 | 1.207709 | 1.792291 | 2.364026 | 0.610278 | 0.610278 | 0.610278 | 0.610278 | 0.610278 | 0.610278 | 0 | 0.48539 | 0.233831 | 804 | 14 | 508 | 57.428571 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0.009938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.2 | 0.1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
27c56c1241961e29e10d1f2072bbdbb5cfde25eb | 29 | py | Python | ssk/smoothing/__init__.py | jobliz/solid-state-kinetics | c5767b400b19bd0256c806001664f0b369718bab | [
"MIT"
] | 2 | 2017-03-08T21:32:11.000Z | 2017-07-19T03:27:18.000Z | ssk/smoothing/__init__.py | jobliz/solid-state-kinetics | c5767b400b19bd0256c806001664f0b369718bab | [
"MIT"
] | null | null | null | ssk/smoothing/__init__.py | jobliz/solid-state-kinetics | c5767b400b19bd0256c806001664f0b369718bab | [
"MIT"
] | null | null | null | from savitzky_golay import *
| 14.5 | 28 | 0.827586 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
27fc36fd128eabd72d201a101b2c634a5ba15ece | 48 | py | Python | math/freecodecamp/program.py | spideynolove/Other-repo | 34066f177994415d031183ab9dd219d787e6e13a | [
"MIT"
] | null | null | null | math/freecodecamp/program.py | spideynolove/Other-repo | 34066f177994415d031183ab9dd219d787e6e13a | [
"MIT"
] | null | null | null | math/freecodecamp/program.py | spideynolove/Other-repo | 34066f177994415d031183ab9dd219d787e6e13a | [
"MIT"
] | null | null | null | import numpy as np
print("Hello freecodecamp!") | 16 | 28 | 0.770833 | 7 | 48 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 3 | 28 | 16 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.387755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
fd79492f585eeb7eeae5eed8c71c3b618afd6f60 | 2,889 | py | Python | testcases/indicator_tests/minmaxtrackertests.py | quantwizard-com/pythonbacktest | 7056c2804c30ca571eb43dc1ae4cc3d537f6613e | [
"Apache-2.0"
] | null | null | null | testcases/indicator_tests/minmaxtrackertests.py | quantwizard-com/pythonbacktest | 7056c2804c30ca571eb43dc1ae4cc3d537f6613e | [
"Apache-2.0"
] | null | null | null | testcases/indicator_tests/minmaxtrackertests.py | quantwizard-com/pythonbacktest | 7056c2804c30ca571eb43dc1ae4cc3d537f6613e | [
"Apache-2.0"
] | null | null | null | import unittest
from pythonbacktest.indicator import MinMaxTracker
class MinMaxTrackerTests(unittest.TestCase):
def test_add_single_collection(self):
test_data = [1, 2, 3, 4, 5, 6]
expected_result = [(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6)]
min_max_tracker = MinMaxTracker()
... | 31.747253 | 79 | 0.66009 | 425 | 2,889 | 4.091765 | 0.110588 | 0.075906 | 0.164462 | 0.086256 | 0.86774 | 0.814261 | 0.791259 | 0.791259 | 0.791259 | 0.791259 | 0 | 0.058981 | 0.225337 | 2,889 | 90 | 80 | 32.1 | 0.718052 | 0 | 0 | 0.641509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 1 | 0.113208 | false | 0 | 0.037736 | 0 | 0.169811 | 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 |
fd8e031476e69f48be0b0f45577e379de5e9be4d | 68 | py | Python | physics/__init__.py | Shlol762/physics | a142e812bac2da8edec36cdd814b49ea765d9cdc | [
"MIT"
] | null | null | null | physics/__init__.py | Shlol762/physics | a142e812bac2da8edec36cdd814b49ea765d9cdc | [
"MIT"
] | null | null | null | physics/__init__.py | Shlol762/physics | a142e812bac2da8edec36cdd814b49ea765d9cdc | [
"MIT"
] | null | null | null | from .errors import *
from .quantities import *
from .utils import * | 22.666667 | 25 | 0.75 | 9 | 68 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 3 | 26 | 22.666667 | 0.894737 | 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 |
fdb81d8a5ee66b950c3d14d1f24ade13f75189d1 | 32 | py | Python | element_animal/export/__init__.py | CBroz1/element-animal | d76cbde985ea90e12ddb47b7d22340052d3c506b | [
"MIT"
] | null | null | null | element_animal/export/__init__.py | CBroz1/element-animal | d76cbde985ea90e12ddb47b7d22340052d3c506b | [
"MIT"
] | null | null | null | element_animal/export/__init__.py | CBroz1/element-animal | d76cbde985ea90e12ddb47b7d22340052d3c506b | [
"MIT"
] | 1 | 2021-12-07T20:32:12.000Z | 2021-12-07T20:32:12.000Z | from .nwb import subject_to_nwb
| 16 | 31 | 0.84375 | 6 | 32 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 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 |
fdc97576553105aa6fe2a87695334d9f6c5d0388 | 168 | py | Python | simpleredial/model/utils/__init__.py | gmftbyGMFTBY/SimpleReDial-v1 | f45b8eb23d1499ec617b4cc4f417d83d8f2b6bde | [
"MIT"
] | 36 | 2021-10-13T10:32:08.000Z | 2022-03-20T07:50:05.000Z | simpleredial/model/utils/__init__.py | gmftbyGMFTBY/SimpleReDial-v1 | f45b8eb23d1499ec617b4cc4f417d83d8f2b6bde | [
"MIT"
] | 3 | 2021-11-24T10:57:59.000Z | 2022-03-27T15:37:40.000Z | simpleredial/model/utils/__init__.py | gmftbyGMFTBY/SimpleReDial-v1 | f45b8eb23d1499ec617b4cc4f417d83d8f2b6bde | [
"MIT"
] | 1 | 2022-03-15T07:13:22.000Z | 2022-03-15T07:13:22.000Z | from .base import *
from .grl import *
from .speaker_aware_models import *
from .utils import *
from .gen_utils import *
from .header import *
from .fg_metric import *
| 21 | 35 | 0.75 | 25 | 168 | 4.88 | 0.48 | 0.491803 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 168 | 7 | 36 | 24 | 0.871429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e30680ccb3ae866213becff1712178eb0d65003d | 69 | py | Python | cx_Freeze/samples/relimport/pkg1/pkg2/__init__.py | lexa/cx_Freeze | f1f35d19e8e7e821733f86b4da7814c40be3bfd9 | [
"PSF-2.0"
] | 358 | 2020-07-02T13:00:02.000Z | 2022-03-29T10:03:57.000Z | cx_Freeze/samples/relimport/pkg1/pkg2/__init__.py | lexa/cx_Freeze | f1f35d19e8e7e821733f86b4da7814c40be3bfd9 | [
"PSF-2.0"
] | 372 | 2020-07-02T20:47:57.000Z | 2022-03-31T19:35:05.000Z | cx_Freeze/samples/relimport/pkg1/pkg2/__init__.py | lexa/cx_Freeze | f1f35d19e8e7e821733f86b4da7814c40be3bfd9 | [
"PSF-2.0"
] | 78 | 2020-07-09T14:24:03.000Z | 2022-03-22T19:06:52.000Z | print("importing pkg1.pkg2")
from . import sub3
from .. import sub4
| 13.8 | 28 | 0.724638 | 10 | 69 | 5 | 0.8 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.15942 | 69 | 4 | 29 | 17.25 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0.275362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 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 |
e31993fdf133382cd430cb8a8d3da5949a07f75e | 145 | py | Python | mxnetseg/nn/losses/__init__.py | BebDong/MXNetSeg | 58bf1f27d827f1b34f8ddeead3f9714ee2289a4a | [
"Apache-2.0"
] | 26 | 2020-06-14T10:13:52.000Z | 2022-03-15T10:38:44.000Z | mxnetseg/nn/losses/__init__.py | BebDong/MXNetSeg | 58bf1f27d827f1b34f8ddeead3f9714ee2289a4a | [
"Apache-2.0"
] | 1 | 2021-05-08T09:10:43.000Z | 2021-05-09T11:49:01.000Z | mxnetseg/nn/losses/__init__.py | BebDong/MXNetSeg | 58bf1f27d827f1b34f8ddeead3f9714ee2289a4a | [
"Apache-2.0"
] | 4 | 2020-06-14T10:13:55.000Z | 2021-09-21T00:54:29.000Z | # coding=utf-8
from .ce_loss import *
from .dice_loss import DiceLoss
from .focal_loss import FocalLoss
from .mixed_loss import MixedLoss
| 20.714286 | 34 | 0.772414 | 22 | 145 | 4.909091 | 0.590909 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.172414 | 145 | 6 | 35 | 24.166667 | 0.891667 | 0.082759 | 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 |
8b8ca032dc3a5f6d9fe1ff08a7efe7426981e6b6 | 23 | py | Python | berryditos/__init__.py | tovam/berryditos | 7c8c250727ea4fd2add3b3efaf6ba959d597d0a6 | [
"MIT"
] | null | null | null | berryditos/__init__.py | tovam/berryditos | 7c8c250727ea4fd2add3b3efaf6ba959d597d0a6 | [
"MIT"
] | null | null | null | berryditos/__init__.py | tovam/berryditos | 7c8c250727ea4fd2add3b3efaf6ba959d597d0a6 | [
"MIT"
] | null | null | null | from .base import run
| 7.666667 | 21 | 0.73913 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.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 |
8bdc8d26a4029f44d4ffa16e290561a1dcfe5bcc | 20 | py | Python | yadda/vendor/docopt/__init__.py | njvack/yadda | cc080e4d1242d3183ba4b5363387835b711b5af8 | [
"MIT"
] | 2 | 2019-04-15T19:42:59.000Z | 2020-05-07T12:18:42.000Z | yadda/vendor/docopt/__init__.py | njvack/yadda | cc080e4d1242d3183ba4b5363387835b711b5af8 | [
"MIT"
] | null | null | null | yadda/vendor/docopt/__init__.py | njvack/yadda | cc080e4d1242d3183ba4b5363387835b711b5af8 | [
"MIT"
] | null | null | null | from docopt import * | 20 | 20 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 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 |
47552ca6d4f2f2e4dc7a276015bd8a2a9c9d4fb4 | 259 | py | Python | chainlink/scripts/price_feed_scripts/Activation1.py | RankJay/Cleopatra | 7f8c49738c936488684149df8f646c71c79c3015 | [
"MIT"
] | 1 | 2021-07-07T08:19:40.000Z | 2021-07-07T08:19:40.000Z | chainlink/scripts/price_feed_scripts/Activation1.py | RankJay/Cleopatra | 7f8c49738c936488684149df8f646c71c79c3015 | [
"MIT"
] | null | null | null | chainlink/scripts/price_feed_scripts/Activation1.py | RankJay/Cleopatra | 7f8c49738c936488684149df8f646c71c79c3015 | [
"MIT"
] | null | null | null | import os
os.system('pushd D:\ChainT\chainlink\scripts\price_feed_scripts')
os.system('brownie run scripts/price_feed_scripts/deploy_price_consumer_v3.py --network kovan')
os.system('brownie run scripts/price_feed_scripts/read_price_feed.py --network kovan') | 51.8 | 95 | 0.830116 | 41 | 259 | 4.97561 | 0.463415 | 0.176471 | 0.235294 | 0.338235 | 0.401961 | 0.401961 | 0.401961 | 0.401961 | 0 | 0 | 0 | 0.004082 | 0.054054 | 259 | 5 | 96 | 51.8 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.796154 | 0.557692 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
47b590ab16bceee5e1deb9dc42fc87cde774b609 | 121 | py | Python | mavlinkinterface/commands/__init__.py | DDriggs00/CatfishAPI | 806afea5552f9a3272b4e50177b5830e6c7dd8c8 | [
"MIT"
] | 1 | 2022-01-28T01:33:09.000Z | 2022-01-28T01:33:09.000Z | mavlinkinterface/commands/__init__.py | DDriggs00/CatfishAPI | 806afea5552f9a3272b4e50177b5830e6c7dd8c8 | [
"MIT"
] | null | null | null | mavlinkinterface/commands/__init__.py | DDriggs00/CatfishAPI | 806afea5552f9a3272b4e50177b5830e6c7dd8c8 | [
"MIT"
] | 1 | 2020-09-14T21:48:59.000Z | 2020-09-14T21:48:59.000Z | from . import active
from . import passive
from . import configuration
__all__ = ['active', 'passive', 'configuration']
| 20.166667 | 48 | 0.735537 | 13 | 121 | 6.538462 | 0.461538 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14876 | 121 | 5 | 49 | 24.2 | 0.825243 | 0 | 0 | 0 | 0 | 0 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
47dc2594ca57ef0b115ea6e0ea9c8b9c7e1969c4 | 44 | py | Python | caffael/__init__.py | joocer/caffael | 849d77e34247b0b9a060f1ec03a886353b558942 | [
"Apache-2.0"
] | null | null | null | caffael/__init__.py | joocer/caffael | 849d77e34247b0b9a060f1ec03a886353b558942 | [
"Apache-2.0"
] | 1 | 2020-11-10T15:41:36.000Z | 2020-11-11T21:17:52.000Z | caffael/__init__.py | joocer/caffael | 849d77e34247b0b9a060f1ec03a886353b558942 | [
"Apache-2.0"
] | 2 | 2020-11-09T12:33:22.000Z | 2020-11-30T15:50:08.000Z | from .controllers.scheduler import Scheduler | 44 | 44 | 0.886364 | 5 | 44 | 7.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.95122 | 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 |
9a0fd1b584ca29dccc738cb40734f2e9fbeb45fe | 54 | py | Python | codetest/__init__.py | anuragpatil94/codetest | 03768957f98fb9fb4bc5a19a3c0c875e3c33e0f6 | [
"MIT"
] | null | null | null | codetest/__init__.py | anuragpatil94/codetest | 03768957f98fb9fb4bc5a19a3c0c875e3c33e0f6 | [
"MIT"
] | null | null | null | codetest/__init__.py | anuragpatil94/codetest | 03768957f98fb9fb4bc5a19a3c0c875e3c33e0f6 | [
"MIT"
] | 1 | 2021-12-07T01:29:32.000Z | 2021-12-07T01:29:32.000Z | from .codetest import CodeTest
from . import codetest
| 18 | 30 | 0.814815 | 7 | 54 | 6.285714 | 0.428571 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 31 | 27 | 0.956522 | 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 |
9a48d55592b8a8f18920168cfa7761164bc9a4c5 | 75 | py | Python | magnn/tensors.py | eembees/magnet | 36640bd46bd07b17f16e236a28352b8c22d844c6 | [
"Unlicense"
] | null | null | null | magnn/tensors.py | eembees/magnet | 36640bd46bd07b17f16e236a28352b8c22d844c6 | [
"Unlicense"
] | null | null | null | magnn/tensors.py | eembees/magnet | 36640bd46bd07b17f16e236a28352b8c22d844c6 | [
"Unlicense"
] | null | null | null | # coding=utf-8
from numpy import ndarray as Tensor
# TODO make own Tensor
| 15 | 35 | 0.76 | 13 | 75 | 4.384615 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.186667 | 75 | 4 | 36 | 18.75 | 0.918033 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9a582f4ec12616e7a63b6c57c0d8a43a21844355 | 33 | py | Python | ping_agent/overwatch_ping_agent/__init__.py | messa/ow2 | 582cb05b95c26dd107856105064d09f18f80dd45 | [
"MIT"
] | 1 | 2020-05-11T10:02:51.000Z | 2020-05-11T10:02:51.000Z | ping_agent/overwatch_ping_agent/__init__.py | messa/ow2 | 582cb05b95c26dd107856105064d09f18f80dd45 | [
"MIT"
] | 17 | 2019-04-24T11:44:00.000Z | 2022-02-17T20:47:01.000Z | ping_agent/overwatch_ping_agent/__init__.py | messa/ow2 | 582cb05b95c26dd107856105064d09f18f80dd45 | [
"MIT"
] | null | null | null | from .main import ping_agent_main | 33 | 33 | 0.878788 | 6 | 33 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.9 | 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 |
7becad4ae49772c6837b4c4b766c79684e1b8220 | 310 | py | Python | numpy-mkl/run_test.py | Cadair/conda-recipes | 0227a81ed80e24eefffe091836dead93f8312ffe | [
"BSD-3-Clause"
] | 302 | 2015-01-04T18:21:56.000Z | 2021-11-16T12:14:37.000Z | numpy-mkl/run_test.py | Cadair/conda-recipes | 0227a81ed80e24eefffe091836dead93f8312ffe | [
"BSD-3-Clause"
] | 393 | 2015-01-03T14:35:48.000Z | 2019-12-09T15:09:07.000Z | numpy-mkl/run_test.py | Cadair/conda-recipes | 0227a81ed80e24eefffe091836dead93f8312ffe | [
"BSD-3-Clause"
] | 325 | 2015-01-04T17:26:39.000Z | 2021-11-04T16:25:54.000Z | import numpy.core.multiarray
import numpy.core.multiarray_tests
import numpy.core.scalarmath
import numpy.core.umath
import numpy.core.umath_tests
import numpy.fft.fftpack_lite
import numpy.lib._compiled_base
import numpy.linalg.lapack_lite
import numpy.numarray._capi
import numpy.random.mtrand
numpy.test()
| 23.846154 | 34 | 0.854839 | 47 | 310 | 5.489362 | 0.425532 | 0.426357 | 0.290698 | 0.193798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070968 | 310 | 12 | 35 | 25.833333 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.909091 | 0 | 0.909091 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.