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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4c69a7076182f996dd343970c51576c16b3b5b05 | 501 | py | Python | basics-6-oops/diamond.py | jerinisready/python-for-beginners | a61e19236ab5c9336328d1d2ac8d055c1fbd800f | [
"Apache-2.0"
] | null | null | null | basics-6-oops/diamond.py | jerinisready/python-for-beginners | a61e19236ab5c9336328d1d2ac8d055c1fbd800f | [
"Apache-2.0"
] | null | null | null | basics-6-oops/diamond.py | jerinisready/python-for-beginners | a61e19236ab5c9336328d1d2ac8d055c1fbd800f | [
"Apache-2.0"
] | 3 | 2017-11-02T12:58:25.000Z | 2018-05-05T07:29:23.000Z | class A:
def get(self):
print "GET of A"
def post(self):
print "POST OF A"
class B(A):
def post(self):
print "POST OF B"
def put(self):
print "PUT OF D"
class C(A):
def get(self):
print "GET of C"
def post(self):
print "POST OF C"
def pu... | 13.916667 | 26 | 0.477046 | 79 | 501 | 2.924051 | 0.202532 | 0.311688 | 0.142857 | 0.207792 | 0.800866 | 0.800866 | 0.705628 | 0.324675 | 0 | 0 | 0 | 0.012903 | 0.381238 | 501 | 35 | 27 | 14.314286 | 0.732258 | 0.053892 | 0 | 0.5 | 0 | 0 | 0.159574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.363636 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
911d432e94b5a7f61accc8fc8aec84f5513d5446 | 42 | py | Python | kissom_pg/__init__.py | joemarchionna/kissom_pg | 804d164df4da7323d8628aa631e7a504d21bdc06 | [
"MIT"
] | null | null | null | kissom_pg/__init__.py | joemarchionna/kissom_pg | 804d164df4da7323d8628aa631e7a504d21bdc06 | [
"MIT"
] | null | null | null | kissom_pg/__init__.py | joemarchionna/kissom_pg | 804d164df4da7323d8628aa631e7a504d21bdc06 | [
"MIT"
] | null | null | null | from kissom_pg.pgAdapter import PgAdapter
| 21 | 41 | 0.880952 | 6 | 42 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
912a4424e2340edb9ca6adb31bb8cb3aaeb5b350 | 181 | py | Python | consensx/admin.py | derPuntigamer/CoNSEnsX-unchained | 56ec667ddf98953f142d2c5a24f6f86880f9eb62 | [
"MIT"
] | 3 | 2016-09-05T21:46:32.000Z | 2019-09-24T08:19:37.000Z | consensx/admin.py | PPKE-Bioinf/consensx.itk.ppke.hu | 56ec667ddf98953f142d2c5a24f6f86880f9eb62 | [
"MIT"
] | 48 | 2016-09-05T11:07:10.000Z | 2021-09-22T19:02:18.000Z | consensx/admin.py | derPuntigamer/CoNSEnsX-unchained | 56ec667ddf98953f142d2c5a24f6f86880f9eb62 | [
"MIT"
] | 1 | 2016-04-20T07:44:39.000Z | 2016-04-20T07:44:39.000Z | from django.contrib import admin
from .models import CSX_upload, CSX_calculation
# Register your models here.
admin.site.register(CSX_upload)
admin.site.register(CSX_calculation)
| 22.625 | 47 | 0.828729 | 26 | 181 | 5.615385 | 0.5 | 0.123288 | 0.232877 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099448 | 181 | 7 | 48 | 25.857143 | 0.895706 | 0.143646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
913b64cef692c98769db61f6a7feed428aba4775 | 8,283 | py | Python | tests/testflows/rbac/tests/privileges/show/show_tables.py | mcspring/ClickHouse | 08f713f177f950c2f675c2c75d1261c91066888c | [
"Apache-2.0"
] | 18 | 2021-05-29T01:12:33.000Z | 2021-11-18T12:34:48.000Z | tests/testflows/rbac/tests/privileges/show/show_tables.py | mcspring/ClickHouse | 08f713f177f950c2f675c2c75d1261c91066888c | [
"Apache-2.0"
] | null | null | null | tests/testflows/rbac/tests/privileges/show/show_tables.py | mcspring/ClickHouse | 08f713f177f950c2f675c2c75d1261c91066888c | [
"Apache-2.0"
] | 2 | 2021-07-13T06:42:45.000Z | 2021-07-21T13:47:22.000Z | from testflows.core import *
from testflows.asserts import error
from rbac.requirements import *
from rbac.helper.common import *
import rbac.helper.errors as errors
@TestSuite
def table_privileges_granted_directly(self, node=None):
"""Check that a user is able to execute `CHECK` and `EXISTS`
commands on a ta... | 40.404878 | 176 | 0.650368 | 1,131 | 8,283 | 4.600354 | 0.099912 | 0.064002 | 0.060542 | 0.039208 | 0.827023 | 0.776283 | 0.739189 | 0.719585 | 0.709014 | 0.701326 | 0 | 0.003283 | 0.227695 | 8,283 | 204 | 177 | 40.602941 | 0.810067 | 0.10431 | 0 | 0.539568 | 0 | 0 | 0.271972 | 0.011446 | 0 | 0 | 0 | 0 | 0.021583 | 1 | 0.05036 | false | 0 | 0.035971 | 0 | 0.086331 | 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 |
e6a1036a9e342b813661ccee14b5dab9fa34c26f | 121 | py | Python | gdom/__init__.py | wis/gdom | f832c915f8cc39510f5bc734a2665715acbc747b | [
"BSD-3-Clause"
] | 1,323 | 2016-02-25T19:57:24.000Z | 2022-03-16T11:36:11.000Z | gdom/__init__.py | wis/gdom | f832c915f8cc39510f5bc734a2665715acbc747b | [
"BSD-3-Clause"
] | 13 | 2016-02-26T18:57:48.000Z | 2020-06-10T11:47:40.000Z | gdom/__init__.py | wis/gdom | f832c915f8cc39510f5bc734a2665715acbc747b | [
"BSD-3-Clause"
] | 46 | 2016-02-26T05:18:03.000Z | 2021-01-31T02:06:53.000Z | from .schema import schema, Node, Element, Document, Query
__all__ = ['schema', 'Node', 'Element', 'Document', 'Query']
| 30.25 | 60 | 0.68595 | 14 | 121 | 5.642857 | 0.571429 | 0.253165 | 0.43038 | 0.632911 | 0.759494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 121 | 3 | 61 | 40.333333 | 0.752381 | 0 | 0 | 0 | 0 | 0 | 0.247934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e6b473deb0aa2ed7e62145bca2557aa5ea371d61 | 27,695 | py | Python | src/BehaviorTaskMaster/QtUtility/taskwidgets.py | FongAnthonyM/BehaviorTaskMaster | 250e2853a96dd6914cf8d40265b450d898091492 | [
"MIT"
] | null | null | null | src/BehaviorTaskMaster/QtUtility/taskwidgets.py | FongAnthonyM/BehaviorTaskMaster | 250e2853a96dd6914cf8d40265b450d898091492 | [
"MIT"
] | 34 | 2021-12-01T01:53:13.000Z | 2022-03-28T11:28:09.000Z | src/BehaviorTaskMaster/QtUtility/taskwidgets.py | FongAnthonyM/BehaviorTaskMaster | 250e2853a96dd6914cf8d40265b450d898091492 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
""" taskwidgets.py
Description:
"""
__author__ = "Anthony Fong"
__copyright__ = "Copyright 2019, Anthony Fong"
__credits__ = ["Anthony Fong"]
__license__ = ""
__version__ = "1.0.0"
__maintainer__ = "Anthony Fong"
__email__ = ""
__status__ = "Prototype"
# Default Libraries ... | 39.228045 | 120 | 0.628417 | 3,178 | 27,695 | 5.314349 | 0.093455 | 0.025224 | 0.016934 | 0.039434 | 0.770205 | 0.755995 | 0.743146 | 0.731719 | 0.73012 | 0.720232 | 0 | 0.010624 | 0.259072 | 27,695 | 705 | 121 | 39.283688 | 0.812427 | 0.00733 | 0 | 0.758974 | 0 | 0 | 0.056203 | 0.00779 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117949 | false | 0.003419 | 0.025641 | 0.008547 | 0.167521 | 0.015385 | 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 |
e6bec6dace899a4325650b34f647fce83936172d | 50 | py | Python | bot/tokens.py | mukoedo1993/webster_python_bot | 73cf76f368bf4705c2c61df967039b3ce66c3928 | [
"MIT"
] | null | null | null | bot/tokens.py | mukoedo1993/webster_python_bot | 73cf76f368bf4705c2c61df967039b3ce66c3928 | [
"MIT"
] | null | null | null | bot/tokens.py | mukoedo1993/webster_python_bot | 73cf76f368bf4705c2c61df967039b3ce66c3928 | [
"MIT"
] | null | null | null | cmc_token = 'abf9d4f1-8beb-4fa4-925c-a8910fb521e6' | 50 | 50 | 0.82 | 7 | 50 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 0.04 | 50 | 1 | 50 | 50 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6c0ed3417e88ca505902480f0e2a58a76af5029 | 151 | py | Python | file_duplicator/common/generator/number_generator.py | alexeby/VidlyAPINode | 5f88ac1544b6687936c0acacb52a9c65f1be0237 | [
"Info-ZIP"
] | null | null | null | file_duplicator/common/generator/number_generator.py | alexeby/VidlyAPINode | 5f88ac1544b6687936c0acacb52a9c65f1be0237 | [
"Info-ZIP"
] | null | null | null | file_duplicator/common/generator/number_generator.py | alexeby/VidlyAPINode | 5f88ac1544b6687936c0acacb52a9c65f1be0237 | [
"Info-ZIP"
] | null | null | null | import random
def get_random_num_range(x: int, y: int):
return random.randint(x, y)
def get_random_num():
return int(random.random()*10)
| 12.583333 | 41 | 0.688742 | 25 | 151 | 3.96 | 0.48 | 0.121212 | 0.242424 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0.18543 | 151 | 11 | 42 | 13.727273 | 0.788618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e6c15b1c3eab39c19a3725d207497577905da0bd | 12,953 | py | Python | colour/algebra/coordinates/tests/test_transformations.py | tjdcs/colour | 09413da71b5da57408eb812797c5db1300d4791a | [
"BSD-3-Clause"
] | null | null | null | colour/algebra/coordinates/tests/test_transformations.py | tjdcs/colour | 09413da71b5da57408eb812797c5db1300d4791a | [
"BSD-3-Clause"
] | null | null | null | colour/algebra/coordinates/tests/test_transformations.py | tjdcs/colour | 09413da71b5da57408eb812797c5db1300d4791a | [
"BSD-3-Clause"
] | null | null | null | """
Define the unit tests for the
:mod:`colour.algebra.coordinates.transformations` module.
"""
import numpy as np
import unittest
from itertools import product
from colour.algebra import (
cartesian_to_spherical,
spherical_to_cartesian,
cartesian_to_polar,
polar_to_cartesian,
cartesian_to_cylindr... | 30.767221 | 79 | 0.617463 | 1,601 | 12,953 | 4.73579 | 0.079325 | 0.044315 | 0.059351 | 0.083092 | 0.849776 | 0.849776 | 0.798866 | 0.796096 | 0.723688 | 0.686494 | 0 | 0.097219 | 0.255925 | 12,953 | 420 | 80 | 30.840476 | 0.689458 | 0.20281 | 0 | 0.46281 | 0 | 0 | 0.032972 | 0.013926 | 0 | 0 | 0 | 0 | 0.123967 | 1 | 0.07438 | false | 0 | 0.020661 | 0 | 0.119835 | 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 |
e6e7814d9ad37a6e28c1c5d827a2c06c4e67e116 | 45 | py | Python | dev/Tools/Python/2.7.13/mac/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyxb/bundles/wssplat/wsoap.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 123 | 2015-01-12T06:43:22.000Z | 2022-03-20T18:06:46.000Z | dev/Tools/Python/2.7.13/mac/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyxb/bundles/wssplat/wsoap.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 103 | 2015-01-08T18:35:57.000Z | 2022-01-18T01:44:14.000Z | dev/Tools/Python/2.7.13/mac/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyxb/bundles/wssplat/wsoap.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 54 | 2015-02-15T17:12:00.000Z | 2022-03-07T23:02:32.000Z | from pyxb.bundles.wssplat.raw.wsoap import *
| 22.5 | 44 | 0.8 | 7 | 45 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.878049 | 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 |
e6fa3475d775bfaed603460c90023aed6699c1eb | 1,182 | py | Python | exercicios_fixacao/lista04/repet_lim_ex5.py | PauloVictorSS/unicamp-mc102 | 077ca3ea6d3df40ebe205c2e874d20a934ea5541 | [
"MIT"
] | null | null | null | exercicios_fixacao/lista04/repet_lim_ex5.py | PauloVictorSS/unicamp-mc102 | 077ca3ea6d3df40ebe205c2e874d20a934ea5541 | [
"MIT"
] | null | null | null | exercicios_fixacao/lista04/repet_lim_ex5.py | PauloVictorSS/unicamp-mc102 | 077ca3ea6d3df40ebe205c2e874d20a934ea5541 | [
"MIT"
] | null | null | null | rebar_size = int(input("Entre com o tamanho do vergalhão: "))
max_volume = int(input("Entre com o volume máximo da caixa: "))
total_possibilities = []
max_edge = rebar_size//4
x = 0
y = 0
z = 0
for x in range(1, max_edge):
possibilitie = []
if (x + y + z) == (max_edge):
if ((x * y * z) <= max_v... | 26.266667 | 63 | 0.525381 | 136 | 1,182 | 4.433824 | 0.227941 | 0.268657 | 0.039801 | 0.049751 | 0.792703 | 0.736318 | 0.736318 | 0.736318 | 0.736318 | 0.736318 | 0 | 0.009223 | 0.357868 | 1,182 | 45 | 64 | 26.266667 | 0.785244 | 0 | 0 | 0.65625 | 0 | 0 | 0.059172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.03125 | 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 |
fc023f325bac01c708172ac7efe7e26fded07e1b | 172 | py | Python | cosmosis/datablock/__init__.py | ktanidis2/Modified_CosmoSIS_for_galaxy_number_count_angular_power_spectra | 07e5d308c6a8641a369a3e0b8d13c4104988cd2b | [
"BSD-2-Clause"
] | 1 | 2021-09-15T10:10:26.000Z | 2021-09-15T10:10:26.000Z | cosmosis/datablock/__init__.py | ktanidis2/Modified_CosmoSIS_for_galaxy_number_count_angular_power_spectra | 07e5d308c6a8641a369a3e0b8d13c4104988cd2b | [
"BSD-2-Clause"
] | null | null | null | cosmosis/datablock/__init__.py | ktanidis2/Modified_CosmoSIS_for_galaxy_number_count_angular_power_spectra | 07e5d308c6a8641a369a3e0b8d13c4104988cd2b | [
"BSD-2-Clause"
] | 1 | 2021-06-11T15:29:43.000Z | 2021-06-11T15:29:43.000Z | from __future__ import absolute_import
from .cosmosis_py.block import DataBlock, BlockError, option_section, SectionOptions
from .cosmosis_py import section_names as names
| 43 | 84 | 0.866279 | 23 | 172 | 6.086957 | 0.608696 | 0.171429 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098837 | 172 | 3 | 85 | 57.333333 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc46fb3ed4dc406673332d1f4b441333a8a98172 | 2,533 | py | Python | experiment_scripts/paper_runs/big_batch/make_resnet_long.py | jacqueschen1/adam_sgd_heavy_tails | d4ecab6d460fb44ac3fd2b865641b8e47f3848ee | [
"Apache-2.0"
] | 1 | 2021-12-02T21:47:46.000Z | 2021-12-02T21:47:46.000Z | experiment_scripts/paper_runs/big_batch/make_resnet_long.py | jacqueschen1/adam_sgd_heavy_tails | d4ecab6d460fb44ac3fd2b865641b8e47f3848ee | [
"Apache-2.0"
] | null | null | null | experiment_scripts/paper_runs/big_batch/make_resnet_long.py | jacqueschen1/adam_sgd_heavy_tails | d4ecab6d460fb44ac3fd2b865641b8e47f3848ee | [
"Apache-2.0"
] | null | null | null | # 5 hours big gpu
import numpy as np
import explib
def merge_grids(*grids):
return sorted(list(set.union(*[set(grid) for grid in grids])))
EXPERIMENTS = []
EXPERIMENTS_SGD = [
{
"loss_func": "logloss",
"metrics": ["accuracy"],
"dataset": "cifar100",
"model": "resnet50",
... | 22.415929 | 78 | 0.506119 | 285 | 2,533 | 4.329825 | 0.259649 | 0.032415 | 0.048622 | 0.071313 | 0.797407 | 0.797407 | 0.797407 | 0.797407 | 0.774716 | 0.774716 | 0 | 0.058333 | 0.336755 | 2,533 | 112 | 79 | 22.616071 | 0.67619 | 0.005922 | 0 | 0.707071 | 0 | 0 | 0.199921 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010101 | false | 0 | 0.020202 | 0.010101 | 0.040404 | 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 |
fc4d5499ac2a623993710f43ece8ab531d8bc521 | 35 | py | Python | Problems/fyi.py | rikgj/Kattis | 2e34dee307aef5acea5837732bf9f27f8c548e9c | [
"MIT"
] | null | null | null | Problems/fyi.py | rikgj/Kattis | 2e34dee307aef5acea5837732bf9f27f8c548e9c | [
"MIT"
] | null | null | null | Problems/fyi.py | rikgj/Kattis | 2e34dee307aef5acea5837732bf9f27f8c548e9c | [
"MIT"
] | null | null | null |
print(int(input()[0:3] == '555'))
| 11.666667 | 33 | 0.514286 | 6 | 35 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0.114286 | 35 | 2 | 34 | 17.5 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fc6033501eb354de17cc3c750aa055aaa5d38b09 | 181 | py | Python | Darlington/phase2/STRINGS/day 32 solution/qtn9.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase2/STRINGS/day 32 solution/qtn9.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase2/STRINGS/day 32 solution/qtn9.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #program to reverse a string.
def reverse_string(str1):
return ''.join(reversed(str1))
print()
print(reverse_string("abcdef"))
print(reverse_string("Python Exercises."))
print() | 25.857143 | 42 | 0.745856 | 24 | 181 | 5.5 | 0.583333 | 0.295455 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.093923 | 181 | 7 | 43 | 25.857143 | 0.792683 | 0.154696 | 0 | 0.333333 | 0 | 0 | 0.150327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
fc694957398f13cda1ea4e009b21ca818b97b2cd | 87 | py | Python | example_project/core/context_processors.py | pnuckowski/django-guardian | 8e8dab207296ee37aa1d19eaeebfad7d0642f138 | [
"MIT"
] | 2,469 | 2015-07-27T14:21:38.000Z | 2022-03-29T23:37:37.000Z | example_project/core/context_processors.py | meetbill/django-guardian | d3611494c1e40a67b20e32ffe9e5198a53923aa2 | [
"MIT"
] | 458 | 2015-07-27T12:02:14.000Z | 2022-03-25T21:42:59.000Z | example_project/core/context_processors.py | meetbill/django-guardian | d3611494c1e40a67b20e32ffe9e5198a53923aa2 | [
"MIT"
] | 429 | 2015-07-31T08:04:17.000Z | 2022-03-11T09:28:55.000Z | import guardian
def version(request):
return {'version': guardian.get_version()}
| 14.5 | 46 | 0.724138 | 10 | 87 | 6.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 5 | 47 | 17.4 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 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 |
fc85cf1e7c5fd7342d783b5ef7529be48deb2500 | 889 | py | Python | build/mavros/catkin_generated/pkg.installspace.context.pc.py | arijitnoobstar/UAVProjectileCatcher | 3c1bed80df167192cb4b971b58c891187628142e | [
"Apache-2.0"
] | 10 | 2021-03-15T03:58:06.000Z | 2021-12-30T15:33:38.000Z | build/mavros/catkin_generated/pkg.installspace.context.pc.py | arijitnoobstar/UAVProjectileCatcher | 3c1bed80df167192cb4b971b58c891187628142e | [
"Apache-2.0"
] | 1 | 2021-09-09T15:29:31.000Z | 2021-09-09T15:29:31.000Z | build/mavros/catkin_generated/pkg.installspace.context.pc.py | arijitnoobstar/UAVProjectileCatcher | 3c1bed80df167192cb4b971b58c891187628142e | [
"Apache-2.0"
] | 4 | 2021-03-06T09:35:58.000Z | 2021-05-24T14:34:11.000Z | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include;/usr/include;/usr/include/eigen3".split(';') if "${prefix}/include;/usr/include;/usr/include/eigen3" != "" else []
PROJECT_CATKIN_DEPENDS = "diagnostic_msgs;diagnostic_updater;eigen_c... | 98.777778 | 260 | 0.7964 | 126 | 889 | 5.34127 | 0.5 | 0.059435 | 0.10104 | 0.065379 | 0.341753 | 0.341753 | 0.341753 | 0.225854 | 0.225854 | 0.225854 | 0 | 0.025882 | 0.04387 | 889 | 8 | 261 | 111.125 | 0.765882 | 0.060742 | 0 | 0 | 1 | 0.428571 | 0.677071 | 0.659064 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc8e644e558c4bd2c034ae8070b2035cf44c3083 | 138 | py | Python | trend/views.py | power3247/project3 | 0702d4754b3cb2b570b1d01df77d412c51eb28a6 | [
"Apache-2.0"
] | null | null | null | trend/views.py | power3247/project3 | 0702d4754b3cb2b570b1d01df77d412c51eb28a6 | [
"Apache-2.0"
] | null | null | null | trend/views.py | power3247/project3 | 0702d4754b3cb2b570b1d01df77d412c51eb28a6 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def trendview(request):
return render(request, 'trend/trend.html')
| 13.8 | 46 | 0.73913 | 18 | 138 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 138 | 9 | 47 | 15.333333 | 0.886957 | 0.166667 | 0 | 0 | 0 | 0 | 0.144144 | 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 |
5d7652870c78561dc44db65a46067e300da437c2 | 78,389 | py | Python | runs/2016/dnn2016verylarge/src/dataset.py | rohit21122012/DCASE2013 | 5360402265331d1c9032cf0fa94ef73f8c3c1047 | [
"MIT"
] | 2 | 2016-10-19T06:26:50.000Z | 2016-10-19T13:39:42.000Z | runs/2016/dnn2016verylarge/src/dataset.py | rohit21122012/DCASE2013 | 5360402265331d1c9032cf0fa94ef73f8c3c1047 | [
"MIT"
] | null | null | null | runs/2016/dnn2016verylarge/src/dataset.py | rohit21122012/DCASE2013 | 5360402265331d1c9032cf0fa94ef73f8c3c1047 | [
"MIT"
] | 2 | 2016-06-29T02:32:05.000Z | 2017-08-05T08:15:11.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import urllib2
import socket
import locale
import zipfile
import tarfile
from sklearn.cross_validation import StratifiedShuffleSplit, KFold
from ui import *
from general import *
from files import *
class Dataset(object):
"""Dataset base class.
The sp... | 39.71074 | 163 | 0.522395 | 8,385 | 78,389 | 4.681932 | 0.060942 | 0.034388 | 0.033878 | 0.036018 | 0.789673 | 0.763717 | 0.739238 | 0.728387 | 0.719599 | 0.699322 | 0 | 0.01357 | 0.368266 | 78,389 | 1,973 | 164 | 39.730867 | 0.779185 | 0.031943 | 0 | 0.625518 | 0 | 0.011599 | 0.138193 | 0.017868 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.000829 | 0.008285 | null | null | 0.004143 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d7d8c710d666b61c16e2e5105bdd7aa82be3827 | 47 | py | Python | dialogy/workflow/__init__.py | ayush-1506/dialogy | 2f688ad30ed14f220eb8ae1a7b82fbe04ad2edbf | [
"MIT"
] | 13 | 2021-09-09T15:18:08.000Z | 2022-03-15T10:02:59.000Z | dialogy/workflow/__init__.py | ayush-1506/dialogy | 2f688ad30ed14f220eb8ae1a7b82fbe04ad2edbf | [
"MIT"
] | 48 | 2021-01-14T21:06:28.000Z | 2021-08-30T07:23:51.000Z | dialogy/workflow/__init__.py | ayush-1506/dialogy | 2f688ad30ed14f220eb8ae1a7b82fbe04ad2edbf | [
"MIT"
] | 4 | 2021-01-18T11:19:49.000Z | 2021-08-06T05:52:17.000Z | from dialogy.workflow.workflow import Workflow
| 23.5 | 46 | 0.87234 | 6 | 47 | 6.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d7e1a706e3cc8d6412a019148304a83b1796563 | 65 | py | Python | pocportal/graphqlbase.py | Jumpscale/poc-portal | 6ddd7e004a588f9c6a5b72224b8713ebdff85691 | [
"Apache-2.0"
] | null | null | null | pocportal/graphqlbase.py | Jumpscale/poc-portal | 6ddd7e004a588f9c6a5b72224b8713ebdff85691 | [
"Apache-2.0"
] | 1 | 2017-10-03T13:46:03.000Z | 2020-06-17T14:19:50.000Z | pocportal/graphqlbase.py | Jumpscale/poc-portal | 6ddd7e004a588f9c6a5b72224b8713ebdff85691 | [
"Apache-2.0"
] | null | null | null | import graphene
class BaseQuery(graphene.ObjectType):
pass
| 10.833333 | 37 | 0.769231 | 7 | 65 | 7.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 65 | 5 | 38 | 13 | 0.925926 | 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 |
5d864663b2439d30159ed2a567d4eeb70176df85 | 17,790 | py | Python | napalm_yang/models/openconfig/system/config/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 64 | 2016-10-20T15:47:18.000Z | 2021-11-11T11:57:32.000Z | napalm_yang/models/openconfig/system/config/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 126 | 2016-10-05T10:36:14.000Z | 2019-05-15T08:43:23.000Z | napalm_yang/models/openconfig/system/config/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 63 | 2016-11-07T15:23:08.000Z | 2021-09-22T14:41:16.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 39.977528 | 541 | 0.572625 | 2,023 | 17,790 | 4.809689 | 0.106772 | 0.0148 | 0.024666 | 0.029599 | 0.811511 | 0.780781 | 0.77184 | 0.767729 | 0.762384 | 0.755807 | 0 | 0.01514 | 0.305734 | 17,790 | 444 | 542 | 40.067568 | 0.77265 | 0.187521 | 0 | 0.635015 | 0 | 0.029674 | 0.273618 | 0.117483 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041543 | false | 0 | 0.04451 | 0 | 0.130564 | 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 |
5d9a2539f53debec82909f71bd03be2744ae202d | 278 | py | Python | bin/bin/programs/chat.py | lukgth/poshy | e10d3b34648db4aa32a5697b59a03020fc677655 | [
"Apache-2.0"
] | null | null | null | bin/bin/programs/chat.py | lukgth/poshy | e10d3b34648db4aa32a5697b59a03020fc677655 | [
"Apache-2.0"
] | null | null | null | bin/bin/programs/chat.py | lukgth/poshy | e10d3b34648db4aa32a5697b59a03020fc677655 | [
"Apache-2.0"
] | null | null | null | # chat with other system users
import bz2, base64
print('Type `chat` to chat with somebody else on your system!')
exec(bz2.decompress(base64.b64decode('QlpoOTFBWSZTWdPB9nwAAA5bgAAQQOAAEgSAMmfegCAAQRT2o0jyaQGZQoNGjQZAaJfO+krzQldsEHdTNI89EvacwwLtZqMUtqBLGZX/F3JFOFCQ08H2fA==')))
| 46.333333 | 162 | 0.841727 | 27 | 278 | 8.666667 | 0.777778 | 0.068376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070039 | 0.07554 | 278 | 5 | 163 | 55.6 | 0.840467 | 0.100719 | 0 | 0 | 0 | 0 | 0.701613 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5da3450022c0a0dc2675ad27b1e6fe3abc9d1ef1 | 209 | py | Python | alignmentrs/aln/__init__.py | kentwait/alignmentrs | ab4ed6bae7ad0f7961104baf914bb6b49dc28d88 | [
"MIT"
] | 1 | 2019-07-10T00:14:44.000Z | 2019-07-10T00:14:44.000Z | alignmentrs/aln/__init__.py | kentwait/alignmentrs | ab4ed6bae7ad0f7961104baf914bb6b49dc28d88 | [
"MIT"
] | 1 | 2019-02-12T07:01:32.000Z | 2019-02-12T07:01:32.000Z | alignmentrs/aln/__init__.py | kentwait/alignmentrs | ab4ed6bae7ad0f7961104baf914bb6b49dc28d88 | [
"MIT"
] | 3 | 2019-01-30T17:51:44.000Z | 2019-09-11T07:36:49.000Z | from alignmentrs.aln.classes import Alignment, CatAlignment
from alignmentrs.aln.funcs import fasta_file_to_alignment
__all__ = ['Alignment', 'CatAlignment'
'fasta_file_to_alignment',
]
| 29.857143 | 59 | 0.741627 | 23 | 209 | 6.304348 | 0.521739 | 0.206897 | 0.248276 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 209 | 6 | 60 | 34.833333 | 0.847953 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0.110048 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5dc1faac333b06065ebe8e7da092302a3979b798 | 384 | py | Python | pycerberus/validators/__init__.py | FelixSchwarz/pycerberus | d38376a52e61516023a3de61d43ef3d225161c7e | [
"MIT"
] | null | null | null | pycerberus/validators/__init__.py | FelixSchwarz/pycerberus | d38376a52e61516023a3de61d43ef3d225161c7e | [
"MIT"
] | 4 | 2018-10-21T16:00:59.000Z | 2019-09-14T21:05:32.000Z | pycerberus/validators/__init__.py | FelixSchwarz/pycerberus | d38376a52e61516023a3de61d43ef3d225161c7e | [
"MIT"
] | null | null | null |
from pycerberus.validators.basic_numbers import *
from pycerberus.validators.checkbox import *
from pycerberus.validators.domain import *
from pycerberus.validators.foreach import *
from pycerberus.validators.email import *
from pycerberus.validators.matching_fields import *
from pycerberus.validators.oneof import *
f... | 32 | 51 | 0.833333 | 45 | 384 | 7.066667 | 0.333333 | 0.352201 | 0.603774 | 0.660377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098958 | 384 | 11 | 52 | 34.909091 | 0.919075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f8de9071e412cda1c59b4ab3ecf25d9c43c131d9 | 11,099 | py | Python | tests/test_load_body.py | jfunez/articles_meta | 70cb33363cd6862f3859ae2606f8db2e669d32d1 | [
"BSD-2-Clause"
] | null | null | null | tests/test_load_body.py | jfunez/articles_meta | 70cb33363cd6862f3859ae2606f8db2e669d32d1 | [
"BSD-2-Clause"
] | null | null | null | tests/test_load_body.py | jfunez/articles_meta | 70cb33363cd6862f3859ae2606f8db2e669d32d1 | [
"BSD-2-Clause"
] | null | null | null | # coding: utf-8
import unittest
import os
import codecs
from processing import load_body
class LoadLicensesTest(unittest.TestCase):
def test_scrapt_body(self):
data = u"""<html><header></header><body><div class="content"><div class="index,en"><div class="title">Crazy <i>Title</i></div><p>Crazy Body</p><... | 64.906433 | 532 | 0.656906 | 1,591 | 11,099 | 4.487744 | 0.126964 | 0.014006 | 0.042017 | 0.053221 | 0.822689 | 0.818207 | 0.789916 | 0.789636 | 0.789636 | 0.789636 | 0 | 0.091567 | 0.152807 | 11,099 | 170 | 533 | 65.288235 | 0.667766 | 0.044689 | 0 | 0.254902 | 0 | 0.058824 | 0.393785 | 0.171342 | 0 | 0 | 0 | 0 | 0.205882 | 1 | 0.137255 | false | 0 | 0.068627 | 0 | 0.215686 | 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 |
f8e6fab667d0361f53e9a779db2f1db685a1d2ba | 91 | py | Python | src/barril/basic/fraction/__init__.py | arthursoprana/barril | 87ebd247c3c3fa422f4ab3b5acdefbe9e85145c7 | [
"MIT"
] | 27 | 2018-09-21T18:11:47.000Z | 2021-10-05T23:32:30.000Z | src/barril/basic/fraction/__init__.py | arthursoprana/barril | 87ebd247c3c3fa422f4ab3b5acdefbe9e85145c7 | [
"MIT"
] | 43 | 2018-09-04T18:43:38.000Z | 2021-06-18T20:41:08.000Z | src/barril/basic/fraction/__init__.py | arthursoprana/barril | 87ebd247c3c3fa422f4ab3b5acdefbe9e85145c7 | [
"MIT"
] | 9 | 2018-09-21T14:20:14.000Z | 2020-02-20T11:31:47.000Z | from ._fraction import Fraction # noqa
from ._fraction_value import FractionValue # noqa
| 30.333333 | 50 | 0.802198 | 11 | 91 | 6.363636 | 0.545455 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 91 | 2 | 51 | 45.5 | 0.909091 | 0.098901 | 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 |
537f22d2d6cbd699923dab0f041f5b6bb0bc166f | 34 | py | Python | tests/urls.py | ShayestehHS/jw_nx | 94d767f85e0a839a3f8f707cb2cb9de1e17447f0 | [
"MIT"
] | null | null | null | tests/urls.py | ShayestehHS/jw_nx | 94d767f85e0a839a3f8f707cb2cb9de1e17447f0 | [
"MIT"
] | null | null | null | tests/urls.py | ShayestehHS/jw_nx | 94d767f85e0a839a3f8f707cb2cb9de1e17447f0 | [
"MIT"
] | null | null | null | from jw_nx.urls import urlpatterns | 34 | 34 | 0.882353 | 6 | 34 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.935484 | 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 |
538dc0c5b1c3fe5c686957e1f773e6826089c6d4 | 182 | py | Python | WonderPy/core/__init__.py | avrabe/WonderPy | 60d81340bed1085c32803b32209fbbd4c291310a | [
"MIT"
] | 1 | 2019-05-25T16:55:32.000Z | 2019-05-25T16:55:32.000Z | WonderPy/core/__init__.py | avrabe/WonderPy | 60d81340bed1085c32803b32209fbbd4c291310a | [
"MIT"
] | null | null | null | WonderPy/core/__init__.py | avrabe/WonderPy | 60d81340bed1085c32803b32209fbbd4c291310a | [
"MIT"
] | null | null | null | from . import wwBTLEMgr # noqa
from . import wwMain # noqa
from .wwCommands import WWCommands # noqa
from .wwRobot import WWRobot # noqa
from .wwSensors import WWSensors # noqa
| 30.333333 | 42 | 0.752747 | 23 | 182 | 5.956522 | 0.347826 | 0.233577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 182 | 5 | 43 | 36.4 | 0.931973 | 0.131868 | 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 |
539edb8e07d13e7bcbf8fbd23a14d0ae341a3e7a | 195 | py | Python | hubconf.py | Ivan1248/cutmix-semisup-seg | 0840a733fbf02271bc31a50b1cd800da19cd6fbd | [
"MIT"
] | null | null | null | hubconf.py | Ivan1248/cutmix-semisup-seg | 0840a733fbf02271bc31a50b1cd800da19cd6fbd | [
"MIT"
] | null | null | null | hubconf.py | Ivan1248/cutmix-semisup-seg | 0840a733fbf02271bc31a50b1cd800da19cd6fbd | [
"MIT"
] | null | null | null | from architectures.deeplab2 import (
ResNetDeepLab, resnet101_deeplab_coco, resnet101_deeplab_imagenet)
from architectures.deeplab3plus import DeepLabV3Plus, resnet101_deeplabv3plus_imagenet
| 48.75 | 86 | 0.882051 | 19 | 195 | 8.736842 | 0.578947 | 0.204819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072626 | 0.082051 | 195 | 3 | 87 | 65 | 0.854749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
53b073e10f21a647bf5021b6704ed91ed5b4c831 | 191 | py | Python | codeswiftr/posts/views.py | bogdan-veliscu/dev-portfolio-website | 43eb323c67f3fd691388e79039e32479c1bc0974 | [
"Apache-2.0"
] | null | null | null | codeswiftr/posts/views.py | bogdan-veliscu/dev-portfolio-website | 43eb323c67f3fd691388e79039e32479c1bc0974 | [
"Apache-2.0"
] | 4 | 2021-03-30T13:40:00.000Z | 2021-09-22T19:12:56.000Z | codeswiftr/posts/views.py | bogdan-veliscu/dev-portfolio-website | 43eb323c67f3fd691388e79039e32479c1bc0974 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.views.generic import TemplateView
# Create your views here
def latest_posts(request):
return render(request, 'posts/latest_posts.html')
| 21.222222 | 53 | 0.795812 | 26 | 191 | 5.769231 | 0.653846 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13089 | 191 | 8 | 54 | 23.875 | 0.903614 | 0.115183 | 0 | 0 | 0 | 0 | 0.137725 | 0.137725 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
99018e2b3fd11be2bd01fae801e1673345cc9ec9 | 51,720 | py | Python | codes/RANet_model_vj_backup.py | v1viswan/RANet_modifications | 3cecca77bdf6397c00ddf34452d65c0af497bd26 | [
"Apache-2.0"
] | null | null | null | codes/RANet_model_vj_backup.py | v1viswan/RANet_modifications | 3cecca77bdf6397c00ddf34452d65c0af497bd26 | [
"Apache-2.0"
] | null | null | null | codes/RANet_model_vj_backup.py | v1viswan/RANet_modifications | 3cecca77bdf6397c00ddf34452d65c0af497bd26 | [
"Apache-2.0"
] | null | null | null | # ************************************
# Author: Ziqin Wang
# Email: ziqin.wang.edu@gmail.com
# Github: https://github.com/Storife
# ************************************
import torch
import torch.nn as nn
import numpy as np
from numpy.random import normal
from numpy.linalg import svd
from math import sqrt
from torch.nn... | 50.905512 | 138 | 0.528616 | 7,145 | 51,720 | 3.579006 | 0.058502 | 0.013452 | 0.017519 | 0.024636 | 0.85402 | 0.835953 | 0.814758 | 0.784413 | 0.776044 | 0.757234 | 0 | 0.05398 | 0.340932 | 51,720 | 1,016 | 139 | 50.905512 | 0.696219 | 0.228094 | 0 | 0.609907 | 0 | 0 | 0.018782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03096 | false | 0.001548 | 0.020124 | 0 | 0.086687 | 0.009288 | 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 |
54ec368686010f7332842630dc7e7a015ec50fdb | 47 | py | Python | th_address/models/__init__.py | anndream/odoo-docker-training-v14-v2 | 7ef8f714ab151d61502d79f53badc3367335653f | [
"MIT"
] | null | null | null | th_address/models/__init__.py | anndream/odoo-docker-training-v14-v2 | 7ef8f714ab151d61502d79f53badc3367335653f | [
"MIT"
] | null | null | null | th_address/models/__init__.py | anndream/odoo-docker-training-v14-v2 | 7ef8f714ab151d61502d79f53badc3367335653f | [
"MIT"
] | null | null | null | from . import models, res_company, res_partner
| 23.5 | 46 | 0.808511 | 7 | 47 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 1 | 47 | 47 | 0.878049 | 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 |
54f463dde5a70f0fd5feb3989e62c98e8adfb945 | 40,845 | py | Python | Chinses_Word_Generator/Generator.py | CasioKing/Level-up-your-Mandarin-Chinese | cfadeaa288afdc795c92180f7a7501e91ec824e9 | [
"MIT"
] | null | null | null | Chinses_Word_Generator/Generator.py | CasioKing/Level-up-your-Mandarin-Chinese | cfadeaa288afdc795c92180f7a7501e91ec824e9 | [
"MIT"
] | null | null | null | Chinses_Word_Generator/Generator.py | CasioKing/Level-up-your-Mandarin-Chinese | cfadeaa288afdc795c92180f7a7501e91ec824e9 | [
"MIT"
] | null | null | null | import random
import time
# This is where your score will be kept
score = 0
total = 0
# Here is the data for all the characters/words used in the program
def word_1(word='水'):
global total
global score
print(word)
print('Can you tell me this character?')
answer = input()
if a... | 25.150862 | 121 | 0.520113 | 5,068 | 40,845 | 4.148579 | 0.098264 | 0.064685 | 0.105113 | 0.088942 | 0.748014 | 0.747111 | 0.745398 | 0.743686 | 0.743686 | 0.743686 | 0 | 0.023653 | 0.337544 | 40,845 | 1,623 | 122 | 25.166359 | 0.753382 | 0.010821 | 0 | 0.758344 | 0 | 0.000668 | 0.203684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059413 | false | 0 | 0.001335 | 0 | 0.11749 | 0.303071 | 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 |
070860cfd22d6473bebd783576b2cdeeeded3e26 | 2,448 | py | Python | prepro/nltk_detok.py | snukky/gec-scripts | dc3a7d5701aca15c9e743fb7965f1223afcec25f | [
"MIT"
] | 5 | 2018-09-12T13:27:10.000Z | 2021-05-18T11:08:52.000Z | prepro/nltk_detok.py | snukky/gec-scripts | dc3a7d5701aca15c9e743fb7965f1223afcec25f | [
"MIT"
] | null | null | null | prepro/nltk_detok.py | snukky/gec-scripts | dc3a7d5701aca15c9e743fb7965f1223afcec25f | [
"MIT"
] | 1 | 2021-09-10T14:20:45.000Z | 2021-09-10T14:20:45.000Z | #!/usr/bin/python
import sys, re
def detokenize_nltk(text):
text = re.sub(r'-LRB-', '(', text)
text = re.sub(r'-RRB-', ')', text)
#text = re.sub(r'\([^\)]+\s[^\)]+\)', ' ', text) # drop parenthesed content
text = re.sub(r' +', ' ', text)
text = re.sub(r'^ ', '', text)
text = re.sub(r' $', '', ... | 45.333333 | 93 | 0.38317 | 389 | 2,448 | 2.385604 | 0.138817 | 0.265086 | 0.397629 | 0.387931 | 0.762931 | 0.705819 | 0.645474 | 0.59806 | 0.491379 | 0.487069 | 0 | 0.017635 | 0.212418 | 2,448 | 53 | 94 | 46.188679 | 0.463693 | 0.39134 | 0 | 0 | 0 | 0.064516 | 0.228924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.032258 | null | null | 0.032258 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
071e8fe30410dd9caef12e723f7f683e194345b7 | 11,535 | py | Python | openmdao/components/test/test_exec_comp.py | naylor-b/OpenMDAO1 | 49d82f6601b33db9bdcf7d146d030d55e3b62ef4 | [
"Apache-2.0"
] | 17 | 2018-01-11T20:13:59.000Z | 2022-03-22T03:46:05.000Z | openmdao/components/test/test_exec_comp.py | naylor-b/OpenMDAO1 | 49d82f6601b33db9bdcf7d146d030d55e3b62ef4 | [
"Apache-2.0"
] | 6 | 2017-10-19T23:14:14.000Z | 2020-11-22T17:30:57.000Z | openmdao/components/test/test_exec_comp.py | naylor-b/OpenMDAO1 | 49d82f6601b33db9bdcf7d146d030d55e3b62ef4 | [
"Apache-2.0"
] | 10 | 2018-04-12T22:13:33.000Z | 2020-05-07T10:02:59.000Z | import unittest
import math
import numpy as np
from openmdao.api import IndepVarComp, Group, Problem, ExecComp
from openmdao.test.util import assert_rel_error
class TestExecComp(unittest.TestCase):
def test_bad_kwargs(self):
prob = Problem(root=Group())
try:
C1 = prob.root.add('C1',... | 37.696078 | 133 | 0.549718 | 1,802 | 11,535 | 3.392342 | 0.077137 | 0.06936 | 0.100769 | 0.126615 | 0.867168 | 0.835433 | 0.809586 | 0.782267 | 0.765254 | 0.74726 | 0 | 0.064298 | 0.243606 | 11,535 | 305 | 134 | 37.819672 | 0.636332 | 0.00997 | 0 | 0.522936 | 0 | 0.004587 | 0.095121 | 0.005781 | 0 | 0 | 0 | 0 | 0.316514 | 1 | 0.082569 | false | 0 | 0.022936 | 0 | 0.110092 | 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 |
072b528fe55db058c78dafce62ff4a8b76ddf6cf | 630 | py | Python | parcels/interaction/neighborsearch/__init__.py | noemieplanat/Copy-parcels-master | 21f053b81a9ccdaa5d8ee4f7efd6f01639b83bfc | [
"MIT"
] | 202 | 2017-07-24T23:22:38.000Z | 2022-03-22T15:33:46.000Z | parcels/interaction/neighborsearch/__init__.py | noemieplanat/Copy-parcels-master | 21f053b81a9ccdaa5d8ee4f7efd6f01639b83bfc | [
"MIT"
] | 538 | 2017-06-21T08:04:43.000Z | 2022-03-31T14:36:45.000Z | parcels/interaction/neighborsearch/__init__.py | noemieplanat/Copy-parcels-master | 21f053b81a9ccdaa5d8ee4f7efd6f01639b83bfc | [
"MIT"
] | 94 | 2017-07-05T10:28:55.000Z | 2022-03-23T19:46:23.000Z | from parcels.interaction.neighborsearch.hashflat import HashFlatNeighborSearch
from parcels.interaction.neighborsearch.hashspherical import HashSphericalNeighborSearch # noqa
from parcels.interaction.neighborsearch.bruteforce import BruteFlatNeighborSearch # noqa
from parcels.interaction.neighborsearch.bruteforce imp... | 63 | 96 | 0.844444 | 45 | 630 | 11.733333 | 0.355556 | 0.104167 | 0.208333 | 0.340909 | 0.287879 | 0.212121 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0.098413 | 630 | 9 | 97 | 70 | 0.929577 | 0.030159 | 0 | 0 | 0 | 0 | 0.20462 | 0.20462 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 1 | 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 |
0743c92fe2c85c90712a668acb30f85012c1d914 | 107 | py | Python | tests/test_GitSync.py | ClockworkNet/GitSync | fa8494b6078096d5982beef47ee11549923b576b | [
"MIT"
] | 1 | 2015-04-22T15:03:06.000Z | 2015-04-22T15:03:06.000Z | tests/test_GitSync.py | ClockworkNet/GitSync | fa8494b6078096d5982beef47ee11549923b576b | [
"MIT"
] | null | null | null | tests/test_GitSync.py | ClockworkNet/GitSync | fa8494b6078096d5982beef47ee11549923b576b | [
"MIT"
] | null | null | null | from gitsync import GitSync
def test_main():
assert GitSync.kFSEventStreamEventFlagNone == 0x00000000
| 21.4 | 60 | 0.803738 | 11 | 107 | 7.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 0.140187 | 107 | 4 | 61 | 26.75 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07565be8f95d8891ab3852d533efdbd07fe02012 | 994 | py | Python | tests/support.py | gsakkis/typecheck | bc49d8651eff5944179967af55156219a0228b03 | [
"MIT"
] | null | null | null | tests/support.py | gsakkis/typecheck | bc49d8651eff5944179967af55156219a0228b03 | [
"MIT"
] | null | null | null | tests/support.py | gsakkis/typecheck | bc49d8651eff5944179967af55156219a0228b03 | [
"MIT"
] | null | null | null | import unittest
class TestCase(unittest.TestCase):
def multipleAssertEqual(self, eq_tests, ne_tests, repeats=10):
# We run this multiple times to try and shake out any errors
# related to differences in set/dict/etc ordering
for _ in xrange(0, repeats):
for left, right in eq_te... | 41.416667 | 72 | 0.612676 | 126 | 994 | 4.753968 | 0.31746 | 0.1202 | 0.080134 | 0.093489 | 0.844741 | 0.844741 | 0.844741 | 0.796327 | 0.796327 | 0.560935 | 0 | 0.008708 | 0.306841 | 994 | 23 | 73 | 43.217391 | 0.860668 | 0.214286 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.125 | false | 0 | 0.0625 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab19d7c20fe980eb2413410f19c809bc83a9d1c7 | 142 | py | Python | mmdet3d/ops/paconv/__init__.py | Guangyun-Xu/mmdetection3d | 75c5c6cd590386bd1539a686c5fd2cc45c5480d5 | [
"Apache-2.0"
] | 2,216 | 2020-07-09T19:10:11.000Z | 2022-03-31T12:39:26.000Z | mmdet3d/ops/paconv/__init__.py | Guangyun-Xu/mmdetection3d | 75c5c6cd590386bd1539a686c5fd2cc45c5480d5 | [
"Apache-2.0"
] | 1,174 | 2020-07-10T07:02:28.000Z | 2022-03-31T12:38:56.000Z | mmdet3d/ops/paconv/__init__.py | Guangyun-Xu/mmdetection3d | 75c5c6cd590386bd1539a686c5fd2cc45c5480d5 | [
"Apache-2.0"
] | 681 | 2020-07-09T19:40:06.000Z | 2022-03-31T11:02:24.000Z | from .assign_score import assign_score_withk
from .paconv import PAConv, PAConvCUDA
__all__ = ['assign_score_withk', 'PAConv', 'PAConvCUDA']
| 28.4 | 56 | 0.795775 | 18 | 142 | 5.777778 | 0.444444 | 0.317308 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 142 | 4 | 57 | 35.5 | 0.818898 | 0 | 0 | 0 | 0 | 0 | 0.239437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab2ae7ad342a4caf68f7a89108b5c92dadafb27a | 30 | py | Python | src/core/app/app/views/__init__.py | WeAreBeep/FrontLineLive | faffe0672996eea3d6ada18e4a7fccb4419cac2f | [
"MIT"
] | null | null | null | src/core/app/app/views/__init__.py | WeAreBeep/FrontLineLive | faffe0672996eea3d6ada18e4a7fccb4419cac2f | [
"MIT"
] | 15 | 2020-11-07T20:21:30.000Z | 2021-03-31T09:51:51.000Z | src/core/app/app/views/__init__.py | WeAreBeep/FrontLineLive | faffe0672996eea3d6ada18e4a7fccb4419cac2f | [
"MIT"
] | 11 | 2020-11-07T18:46:12.000Z | 2022-03-13T15:50:30.000Z | from .map import get_map_data
| 15 | 29 | 0.833333 | 6 | 30 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 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 |
ab4719f31350884bbe00738f70af0f4cd959e392 | 95 | py | Python | tests/test_dbd.py | AlexRogalskiy/dbd | ac2c6fb673861321b23fbf2a57d9e39fa5cb5352 | [
"BSD-3-Clause"
] | 33 | 2022-01-09T09:32:17.000Z | 2022-03-05T18:52:11.000Z | tests/test_dbd.py | zsvoboda/dbd | ac2c6fb673861321b23fbf2a57d9e39fa5cb5352 | [
"BSD-3-Clause"
] | 2 | 2022-02-16T19:14:13.000Z | 2022-02-16T19:14:34.000Z | tests/test_dbd.py | zsvoboda/dbd | ac2c6fb673861321b23fbf2a57d9e39fa5cb5352 | [
"BSD-3-Clause"
] | null | null | null | import importlib
def test_version():
assert importlib.metadata.version('dbd') == '0.8.9'
| 15.833333 | 55 | 0.694737 | 13 | 95 | 5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.147368 | 95 | 5 | 56 | 19 | 0.765432 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab56e221fdb3eeeefe9347649fa87fc354646d99 | 19,419 | py | Python | src/datashow/prettytable/url_query_display.py | snowdreams1006/learn-python | d224bedbb670b6462e1e9a013c0a0316be10207c | [
"MIT"
] | 1 | 2019-12-25T04:20:19.000Z | 2019-12-25T04:20:19.000Z | src/datashow/prettytable/url_query_display.py | snowdreams1006/learn-python | d224bedbb670b6462e1e9a013c0a0316be10207c | [
"MIT"
] | 13 | 2020-01-16T03:23:50.000Z | 2020-11-25T11:55:29.000Z | src/datashow/prettytable/url_query_display.py | snowdreams1006/learn-python | d224bedbb670b6462e1e9a013c0a0316be10207c | [
"MIT"
] | 1 | 2020-03-28T11:46:03.000Z | 2020-03-28T11:46:03.000Z | # -*- coding: utf-8 -*-
from urllib.parse import urlparse, parse_qs, parse_qsl
from prettytable import PrettyTable
import numpy as np
def simple_table_demo():
''''
展示美化表格简单示例
'''
table = PrettyTable()
table.field_names = ["City name", "Area", "Population", "Annual Rainfall"]
table.add_row(["Ad... | 58.315315 | 674 | 0.752665 | 2,372 | 19,419 | 5.950253 | 0.137015 | 0.026924 | 0.02579 | 0.017004 | 0.79205 | 0.74125 | 0.712059 | 0.705966 | 0.703202 | 0.703202 | 0 | 0.214159 | 0.127144 | 19,419 | 333 | 675 | 58.315315 | 0.618525 | 0.029301 | 0 | 0.316742 | 0 | 0.067873 | 0.581117 | 0.012204 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049774 | false | 0 | 0.013575 | 0 | 0.085973 | 0.126697 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
db678c68cea96011693634cdb96bb6e2ceef39e7 | 1,556 | py | Python | testArray/testArray.py | mrkraimer/testPvaPy | 7d09095bc76bf0a86d8d664c85757ab8369485c8 | [
"MIT"
] | null | null | null | testArray/testArray.py | mrkraimer/testPvaPy | 7d09095bc76bf0a86d8d664c85757ab8369485c8 | [
"MIT"
] | 1 | 2020-07-18T19:50:51.000Z | 2020-07-19T09:58:16.000Z | testArray/testArray.py | mrkraimer/testPvaPy | 7d09095bc76bf0a86d8d664c85757ab8369485c8 | [
"MIT"
] | 2 | 2020-07-18T18:06:57.000Z | 2020-09-10T06:40:34.000Z | import numpy as np
print('first try int16')
values = (-128,-1,0,1,127)
data = np.array(values,dtype=np.int8)
print('int8=',data)
dataMin = int(np.min(data))
dataMax = int(np.max(data))
xp = (float(dataMin),float(dataMax))
fp = (0.0,255.0)
data = np.interp(data,xp,fp)
#print('dtype=',data.dtype,' data=',data)
data = da... | 26.827586 | 48 | 0.676093 | 264 | 1,556 | 3.984848 | 0.155303 | 0.114068 | 0.114068 | 0.076046 | 0.80038 | 0.80038 | 0.731939 | 0.731939 | 0.731939 | 0.731939 | 0 | 0.089172 | 0.091902 | 1,556 | 57 | 49 | 27.298246 | 0.655343 | 0.152956 | 0 | 0.617021 | 0 | 0 | 0.071701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.021277 | 0.234043 | 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 |
db86af736e85f69e1c2207ea7054ba50c092dc1c | 10,014 | py | Python | euclidIR/dist.py | sdhawan21/euclidIR | 15b3e8ba1a033ac6a1d80ea1a1a33176fa0633d3 | [
"MIT"
] | null | null | null | euclidIR/dist.py | sdhawan21/euclidIR | 15b3e8ba1a033ac6a1d80ea1a1a33176fa0633d3 | [
"MIT"
] | null | null | null | euclidIR/dist.py | sdhawan21/euclidIR | 15b3e8ba1a033ac6a1d80ea1a1a33176fa0633d3 | [
"MIT"
] | null | null | null | from scipy.interpolate import interp1d
import numpy as np
rn=np.random.normal
c=2.997924562e5
def h0_sne(M, zp):
"""
Hubble constant from SNe observed in different passbands
"""
val=M+25-zp
h0=pow(10, 0.2*val)
return h0
def h0_mc(M, zp, n):
"""
Monte carlo to estimate H0 given the absolute magnitude the SNa... | 23.562353 | 154 | 0.518574 | 2,009 | 10,014 | 2.561971 | 0.087606 | 0.035749 | 0.030309 | 0.025257 | 0.782009 | 0.779289 | 0.763552 | 0.749174 | 0.741986 | 0.73538 | 0 | 0.098602 | 0.18574 | 10,014 | 424 | 155 | 23.617925 | 0.532622 | 0.121929 | 0 | 0.619658 | 0 | 0 | 0.088846 | 0.048693 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.008547 | null | null | 0.021368 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbcdfb3cbffcd1ed9aff848124c9ca5c31b617cf | 1,522 | py | Python | descarteslabs/common/workflows/arrow_serialization/tests/test_context.py | carderne/descarteslabs-python | 757b480efb8d58474a3bf07f1dbd90652b46ed64 | [
"Apache-2.0"
] | 167 | 2017-03-23T22:16:58.000Z | 2022-03-08T09:19:30.000Z | descarteslabs/common/workflows/arrow_serialization/tests/test_context.py | carderne/descarteslabs-python | 757b480efb8d58474a3bf07f1dbd90652b46ed64 | [
"Apache-2.0"
] | 93 | 2017-03-23T22:11:40.000Z | 2021-12-13T18:38:53.000Z | descarteslabs/common/workflows/arrow_serialization/tests/test_context.py | carderne/descarteslabs-python | 757b480efb8d58474a3bf07f1dbd90652b46ed64 | [
"Apache-2.0"
] | 46 | 2017-03-25T19:12:14.000Z | 2021-08-15T18:04:29.000Z | import numpy as np
import pyarrow as pa
from ..context import serialization_context
def test_numpy_masked_array_serialization():
arr = np.array([1, 2, 3, 4])
arr_mask = np.array([True, False, True, False])
masked_arr = np.ma.masked_array(arr, arr_mask)
serialized_masked_arr = pa.serialize(masked_arr,... | 33.822222 | 88 | 0.763469 | 198 | 1,522 | 5.560606 | 0.186869 | 0.114441 | 0.196185 | 0.141689 | 0.773842 | 0.773842 | 0.724796 | 0.724796 | 0.724796 | 0.724796 | 0 | 0.008462 | 0.145861 | 1,522 | 44 | 89 | 34.590909 | 0.838462 | 0 | 0 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 1 | 0.129032 | false | 0 | 0.096774 | 0 | 0.225806 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 |
916b91f2bd98059ebb1ddf4b1b542ffe4e5a9db4 | 18,036 | py | Python | src/FunctionalTester.py | brownmp/ctat-mutations | e69965455b0ee4c6d0fbabcc345293ca30772a2c | [
"BSD-3-Clause"
] | 59 | 2018-05-02T15:04:26.000Z | 2022-03-30T20:26:47.000Z | src/FunctionalTester.py | brownmp/ctat-mutations | e69965455b0ee4c6d0fbabcc345293ca30772a2c | [
"BSD-3-Clause"
] | 51 | 2018-05-07T17:45:28.000Z | 2022-03-29T17:13:42.000Z | src/FunctionalTester.py | brownmp/ctat-mutations | e69965455b0ee4c6d0fbabcc345293ca30772a2c | [
"BSD-3-Clause"
] | 18 | 2018-05-07T17:40:23.000Z | 2021-12-14T04:18:24.000Z |
__author__ = "Timothy Tickle"
__copyright__ = "Copyright 2015"
__credits__ = ["Timothy Tickle", "Brian Haas"]
__license__ = "MIT"
__maintainer__ = "Timothy Tickle"
__email__ = "ttickle@broadinstitute.org"
__status__ = "Development"
import Commandline
import os
import ParentPipelineTester
import unittest
class Functi... | 48.353887 | 139 | 0.505877 | 1,669 | 18,036 | 5.095866 | 0.107849 | 0.069136 | 0.124162 | 0.0903 | 0.805409 | 0.805409 | 0.792593 | 0.754733 | 0.702058 | 0.649148 | 0 | 0.003207 | 0.394821 | 18,036 | 372 | 140 | 48.483871 | 0.775996 | 0.101686 | 0 | 0.657258 | 0 | 0 | 0.188166 | 0.062595 | 0 | 0 | 0 | 0 | 0.064516 | 1 | 0.068548 | false | 0 | 0.016129 | 0.004032 | 0.133065 | 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 |
918d4f88f8103336b675ac0309ca7e38d523f323 | 86 | py | Python | app/home.py | ChrisDesigns/ADV-Database | 2aed0d4b88a881601a213bf157f3f4f3d537ce39 | [
"MIT"
] | null | null | null | app/home.py | ChrisDesigns/ADV-Database | 2aed0d4b88a881601a213bf157f3f4f3d537ce39 | [
"MIT"
] | null | null | null | app/home.py | ChrisDesigns/ADV-Database | 2aed0d4b88a881601a213bf157f3f4f3d537ce39 | [
"MIT"
] | null | null | null | from bottle import get, template
@get('/')
def index():
return template("index")
| 14.333333 | 32 | 0.662791 | 11 | 86 | 5.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174419 | 86 | 5 | 33 | 17.2 | 0.802817 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
37e6924d8fd2d8d6ad34093d98ec71bbad4fd1ac | 67 | py | Python | tensor_rnn/modules/composite/__init__.py | arkmagus/tensor_rnn | aa74a2414d6e46cc8ddf9be81f38eb262348194b | [
"MIT"
] | 18 | 2018-03-30T12:39:11.000Z | 2021-07-16T05:10:42.000Z | tensor_rnn/modules/composite/__init__.py | androstj/tensor_rnn | aa74a2414d6e46cc8ddf9be81f38eb262348194b | [
"MIT"
] | null | null | null | tensor_rnn/modules/composite/__init__.py | androstj/tensor_rnn | aa74a2414d6e46cc8ddf9be81f38eb262348194b | [
"MIT"
] | 5 | 2018-09-28T08:51:54.000Z | 2021-04-08T08:05:44.000Z | from .cprnn import *
from .tuckerrnn import *
from .ttrnn import *
| 16.75 | 24 | 0.731343 | 9 | 67 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 3 | 25 | 22.333333 | 0.890909 | 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 |
5328ab30925df40744601061cd773028f759191e | 26,837 | py | Python | cadishi/tests/test_pydh_cudh.py | bio-phys/cadishi | b44351fcb77737c6a6da5249a0c24ee8e34f72d2 | [
"MIT"
] | 14 | 2017-08-22T13:00:42.000Z | 2021-11-19T14:07:55.000Z | cadishi/tests/test_pydh_cudh.py | bio-phys/cadishi | b44351fcb77737c6a6da5249a0c24ee8e34f72d2 | [
"MIT"
] | 1 | 2021-11-19T14:07:38.000Z | 2021-11-19T14:07:38.000Z | cadishi/tests/test_pydh_cudh.py | bio-phys/cadishi | b44351fcb77737c6a6da5249a0c24ee8e34f72d2 | [
"MIT"
] | null | null | null | # -*- Mode: python; tab-width: 4; indent-tabs-mode:nil; coding: utf-8 -*-
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 fileencoding=utf-8
#
# Cadishi --- CAlculation of DIStance HIstograms
#
# Copyright (c) Klaus Reuter, Juergen Koefinger
# See the file AUTHORS.rst for the full list of contributors.
#
# Releas... | 45.180135 | 127 | 0.63215 | 3,553 | 26,837 | 4.469181 | 0.074866 | 0.034637 | 0.016374 | 0.029473 | 0.817747 | 0.804459 | 0.770452 | 0.747276 | 0.734177 | 0.716607 | 0 | 0.015398 | 0.281291 | 26,837 | 593 | 128 | 45.256324 | 0.80786 | 0.088795 | 0 | 0.5898 | 0 | 0 | 0.021198 | 0 | 0 | 0 | 0 | 0 | 0.008869 | 1 | 0.117517 | false | 0 | 0.033259 | 0 | 0.175166 | 0.013304 | 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 |
534b34820a671b7126cecbafe18c76ed51f7556e | 283 | py | Python | src/SocialNetwork_API/services/__init__.py | mungpham/mungpham | 3545dafdb498503d2f138d4b7515a7ae8f195994 | [
"MIT"
] | null | null | null | src/SocialNetwork_API/services/__init__.py | mungpham/mungpham | 3545dafdb498503d2f138d4b7515a7ae8f195994 | [
"MIT"
] | null | null | null | src/SocialNetwork_API/services/__init__.py | mungpham/mungpham | 3545dafdb498503d2f138d4b7515a7ae8f195994 | [
"MIT"
] | null | null | null | from SocialNetwork_API.services.post import PostService
from SocialNetwork_API.services.comment import CommentService
from SocialNetwork_API.services.data import DataService
from SocialNetwork_API.services.user import UserService
from SocialNetwork_API.services.api import ApiService | 56.6 | 61 | 0.897527 | 35 | 283 | 7.114286 | 0.4 | 0.341365 | 0.401606 | 0.562249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067138 | 283 | 5 | 62 | 56.6 | 0.943182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
5366f1fb352e39c51dff6b33255ff547b09e1df7 | 13 | py | Python | test/test_decl.py | HouQiming/ama | b7dddb425892e1d4d95312b330061911489e242b | [
"BSD-2-Clause"
] | 24 | 2022-01-06T20:26:42.000Z | 2022-02-18T07:56:44.000Z | test/test_decl.py | HouQiming/ama | b7dddb425892e1d4d95312b330061911489e242b | [
"BSD-2-Clause"
] | null | null | null | test/test_decl.py | HouQiming/ama | b7dddb425892e1d4d95312b330061911489e242b | [
"BSD-2-Clause"
] | 4 | 2022-01-06T20:26:44.000Z | 2022-01-14T06:59:48.000Z | a,b,c=(d,e,)
| 6.5 | 12 | 0.384615 | 5 | 13 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 13 | 1 | 13 | 13 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7280c58790fb8e1a2e8d46cf1a85d45f3222d323 | 14,415 | py | Python | test/augmentation/test_backward_3d.py | AK391/kornia | a2535eb7593ee2fed94d23cc720804a16f9f0e7e | [
"ECL-2.0",
"Apache-2.0"
] | 4,894 | 2019-10-24T15:51:39.000Z | 2022-03-30T22:58:33.000Z | test/augmentation/test_backward_3d.py | AK391/kornia | a2535eb7593ee2fed94d23cc720804a16f9f0e7e | [
"ECL-2.0",
"Apache-2.0"
] | 912 | 2019-10-24T16:08:42.000Z | 2022-03-31T19:07:09.000Z | test/augmentation/test_backward_3d.py | AK391/kornia | a2535eb7593ee2fed94d23cc720804a16f9f0e7e | [
"ECL-2.0",
"Apache-2.0"
] | 557 | 2019-10-24T16:02:43.000Z | 2022-03-28T07:33:33.000Z | import pytest
import torch
import torch.nn as nn
from kornia.augmentation import RandomAffine3D, RandomMotionBlur3D, RandomPerspective3D, RandomRotation3D
class TestRandomAffine3DBackward:
@pytest.mark.parametrize(
"degrees",
[
10,
[10.0, 20.0],
[10.0, 20.0, 30... | 44.490741 | 119 | 0.568574 | 1,768 | 14,415 | 4.555995 | 0.07862 | 0.013408 | 0.059094 | 0.076474 | 0.872998 | 0.848417 | 0.807325 | 0.768219 | 0.768219 | 0.768219 | 0 | 0.048411 | 0.299272 | 14,415 | 323 | 120 | 44.628483 | 0.749035 | 0.139785 | 0 | 0.538168 | 0 | 0 | 0.03366 | 0 | 0 | 0 | 0 | 0.003096 | 0.091603 | 1 | 0.015267 | false | 0.026718 | 0.015267 | 0 | 0.045802 | 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 |
7284770cd247df113056a7b89d2f67382307ca4a | 35,461 | py | Python | devilry/devilry_admin/tests/assignment/test_overview.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 29 | 2015-01-18T22:56:23.000Z | 2020-11-10T21:28:27.000Z | devilry/devilry_admin/tests/assignment/test_overview.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 786 | 2015-01-06T16:10:18.000Z | 2022-03-16T11:10:50.000Z | devilry/devilry_admin/tests/assignment/test_overview.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 15 | 2015-04-06T06:18:43.000Z | 2021-02-24T12:28:30.000Z | import unittest
from datetime import timedelta
import mock
from django.conf import settings
from django.test import TestCase
from django.utils import timezone
from cradmin_legacy import cradmin_testhelpers
from cradmin_legacy.crinstance import reverse_cradmin_url
from model_bakery import baker
from devilry.apps.core ... | 53.085329 | 130 | 0.716336 | 3,687 | 35,461 | 6.519392 | 0.082181 | 0.034447 | 0.07322 | 0.047843 | 0.858468 | 0.832758 | 0.801348 | 0.779798 | 0.762242 | 0.737779 | 0 | 0.010207 | 0.204281 | 35,461 | 667 | 131 | 53.164918 | 0.841656 | 0.087476 | 0 | 0.615842 | 0 | 0 | 0.266373 | 0.172316 | 0 | 0 | 0 | 0.001499 | 0.150495 | 1 | 0.091089 | false | 0.029703 | 0.027723 | 0 | 0.130693 | 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 |
72a1f8b5414301a1a58e0637930e38bea7128efb | 119 | py | Python | dltools/__init__.py | DaehyunYou/sp8-delayline | 9146e82d8f363d4f8d20e4899df46f6fc97473b1 | [
"MIT"
] | null | null | null | dltools/__init__.py | DaehyunYou/sp8-delayline | 9146e82d8f363d4f8d20e4899df46f6fc97473b1 | [
"MIT"
] | null | null | null | dltools/__init__.py | DaehyunYou/sp8-delayline | 9146e82d8f363d4f8d20e4899df46f6fc97473b1 | [
"MIT"
] | null | null | null | from .hittypes import *
from .others import *
from .saclamodels import *
from .sp8models import *
from .units import *
| 19.833333 | 26 | 0.747899 | 15 | 119 | 5.933333 | 0.466667 | 0.449438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.168067 | 119 | 5 | 27 | 23.8 | 0.888889 | 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 |
72b56c161c4222ab78f40d1e7350ee3f5f71362d | 42,027 | py | Python | tests/checker/availability/test_base.py | veracioux/PyFunceble | ffa045297beb4f07e5466e7c4005cfcb897cc51d | [
"Apache-2.0"
] | 213 | 2017-11-19T16:00:29.000Z | 2022-03-30T20:51:35.000Z | tests/checker/availability/test_base.py | veracioux/PyFunceble | ffa045297beb4f07e5466e7c4005cfcb897cc51d | [
"Apache-2.0"
] | 270 | 2018-01-10T12:42:41.000Z | 2022-03-22T00:03:23.000Z | tests/checker/availability/test_base.py | veracioux/PyFunceble | ffa045297beb4f07e5466e7c4005cfcb897cc51d | [
"Apache-2.0"
] | 48 | 2017-12-09T22:53:49.000Z | 2022-01-29T15:50:52.000Z | """
The tool to check the availability or syntax of domain, IP or URL.
::
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ █... | 30.498549 | 88 | 0.641492 | 5,069 | 42,027 | 5.158019 | 0.068061 | 0.085405 | 0.071254 | 0.035493 | 0.857187 | 0.846286 | 0.814427 | 0.778972 | 0.743096 | 0.708483 | 0 | 0.011411 | 0.272254 | 42,027 | 1,377 | 89 | 30.520697 | 0.830669 | 0.239608 | 0 | 0.600666 | 0 | 0 | 0.051694 | 0.013538 | 0 | 0 | 0 | 0 | 0.161398 | 1 | 0.114809 | false | 0 | 0.011647 | 0 | 0.131448 | 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 |
72e19903a6c22df3eacfc58ab7c9c58c2899f1f4 | 88,264 | py | Python | src/datadog_api_client/v1/api/synthetics_api.py | rchenzheng/datadog-api-client-python | 2e86ac098c6f0c7fdd90ed218224587c0f8eafef | [
"Apache-2.0"
] | null | null | null | src/datadog_api_client/v1/api/synthetics_api.py | rchenzheng/datadog-api-client-python | 2e86ac098c6f0c7fdd90ed218224587c0f8eafef | [
"Apache-2.0"
] | null | null | null | src/datadog_api_client/v1/api/synthetics_api.py | rchenzheng/datadog-api-client-python | 2e86ac098c6f0c7fdd90ed218224587c0f8eafef | [
"Apache-2.0"
] | null | null | null | # Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2019-Present Datadog, Inc.
import re # noqa: F401
import sys # noqa: F401
from datadog_api_client.v1.api_clien... | 41.341452 | 120 | 0.536697 | 8,642 | 88,264 | 5.266489 | 0.031243 | 0.029662 | 0.028563 | 0.020873 | 0.914794 | 0.895986 | 0.881397 | 0.86439 | 0.83987 | 0.809615 | 0 | 0.004374 | 0.378297 | 88,264 | 2,134 | 121 | 41.360825 | 0.825036 | 0.441097 | 0 | 0.667565 | 0 | 0 | 0.219011 | 0.042833 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02336 | false | 0 | 0.020665 | 0 | 0.067385 | 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 |
f414184bcd7915c37994fec124f59c393ff76c40 | 138 | py | Python | env/lib/python3.4/site-packages/django_extensions/management/technical_response.py | dj-amadeous/deficit | cd086acd2165c96d3d0ed9c53fbc98da33afa83d | [
"MIT"
] | null | null | null | env/lib/python3.4/site-packages/django_extensions/management/technical_response.py | dj-amadeous/deficit | cd086acd2165c96d3d0ed9c53fbc98da33afa83d | [
"MIT"
] | null | null | null | env/lib/python3.4/site-packages/django_extensions/management/technical_response.py | dj-amadeous/deficit | cd086acd2165c96d3d0ed9c53fbc98da33afa83d | [
"MIT"
] | null | null | null | import six
def null_technical_500_response(request, exc_type, exc_value, tb, status_code=500):
six.reraise(exc_type, exc_value, tb)
| 23 | 83 | 0.782609 | 23 | 138 | 4.347826 | 0.652174 | 0.14 | 0.2 | 0.3 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049587 | 0.123188 | 138 | 5 | 84 | 27.6 | 0.77686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
be37f9c2e898f641d2e9ac161f365ab8221fcf9f | 10,003 | py | Python | tests/components/august/test_sensor.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 1 | 2021-07-08T20:09:55.000Z | 2021-07-08T20:09:55.000Z | tests/components/august/test_sensor.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 47 | 2021-02-21T23:43:07.000Z | 2022-03-31T06:07:10.000Z | tests/components/august/test_sensor.py | OpenPeerPower/core | f673dfac9f2d0c48fa30af37b0a99df9dd6640ee | [
"Apache-2.0"
] | null | null | null | """The sensor tests for the august platform."""
from openpeerpower.const import ATTR_UNIT_OF_MEASUREMENT, PERCENTAGE, STATE_UNKNOWN
from openpeerpower.helpers import entity_registry as er
from tests.components.august.mocks import (
_create_august_with_devices,
_mock_activities_from_fixture,
_mock_doorbell_... | 33.680135 | 88 | 0.707988 | 1,143 | 10,003 | 5.798775 | 0.093613 | 0.051599 | 0.050694 | 0.076041 | 0.902836 | 0.857121 | 0.821666 | 0.808992 | 0.782136 | 0.775196 | 0 | 0.050639 | 0.210337 | 10,003 | 296 | 89 | 33.793919 | 0.788454 | 0.011397 | 0 | 0.582329 | 0 | 0 | 0.258423 | 0.222056 | 0 | 0 | 0 | 0 | 0.196787 | 1 | 0 | false | 0 | 0.012048 | 0 | 0.012048 | 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 |
be672f964354c5659e44cf1dea9227e2f680dbdd | 195 | py | Python | supersaver/util/__init__.py | ftkghost/SuperSaver | 04d1f19c309b35b540f056ad9a4796225f97cb76 | [
"BSD-2-Clause"
] | null | null | null | supersaver/util/__init__.py | ftkghost/SuperSaver | 04d1f19c309b35b540f056ad9a4796225f97cb76 | [
"BSD-2-Clause"
] | 1 | 2018-08-12T12:50:17.000Z | 2018-08-12T12:50:17.000Z | supersaver/util/__init__.py | ftkghost/supersaver | 04d1f19c309b35b540f056ad9a4796225f97cb76 | [
"BSD-2-Clause"
] | null | null | null | from core.model import Site
from sca.settings import SITE_NAME, SITE_DOMAIN
def get_site():
return Site(SITE_NAME, SITE_DOMAIN)
def get_in_app_url():
return "nz.co.scamedia://from-web" | 21.666667 | 47 | 0.753846 | 33 | 195 | 4.212121 | 0.575758 | 0.143885 | 0.172662 | 0.258993 | 0.345324 | 0.345324 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14359 | 195 | 9 | 48 | 21.666667 | 0.832335 | 0 | 0 | 0 | 0 | 0 | 0.127551 | 0.127551 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
be818590a71781156c1211ee3e9c001374b0255d | 58 | py | Python | apps/local_apps/account/context_processors.py | google-code-export/django-hotclub | d783a5bbcc06816289565f3eae6d99461188ca4a | [
"MIT"
] | 4 | 2016-04-10T13:37:58.000Z | 2018-06-11T18:49:29.000Z | apps/local_apps/account/context_processors.py | pombreda/django-hotclub | d783a5bbcc06816289565f3eae6d99461188ca4a | [
"MIT"
] | null | null | null | apps/local_apps/account/context_processors.py | pombreda/django-hotclub | d783a5bbcc06816289565f3eae6d99461188ca4a | [
"MIT"
] | 3 | 2017-07-09T02:14:54.000Z | 2021-07-13T19:16:59.000Z | def openid(request):
return {'openid': request.openid} | 29 | 37 | 0.706897 | 7 | 58 | 5.857143 | 0.571429 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 37 | 29 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fe2220f257bdd2de8ac19436b8f3be9e5da499b4 | 33 | py | Python | sneakers/__init__.py | michalkoczwara/sneaky-creeper | b398af8701d51b8b3a4baf37cdaa16de3d3649d1 | [
"MIT"
] | 146 | 2015-04-02T23:25:07.000Z | 2022-02-17T17:37:33.000Z | sneakers/__init__.py | michalkoczwara/sneaky-creeper | b398af8701d51b8b3a4baf37cdaa16de3d3649d1 | [
"MIT"
] | 90 | 2015-04-23T23:33:11.000Z | 2021-06-01T21:58:35.000Z | sneakers/__init__.py | michalkoczwara/sneaky-creeper | b398af8701d51b8b3a4baf37cdaa16de3d3649d1 | [
"MIT"
] | 29 | 2015-08-08T20:38:09.000Z | 2021-06-29T19:06:13.000Z | from sneakers.exfil import Exfil
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.6 | 0.8 | 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 |
fe22caae49b802d2e8ad54ad241763b2b2877820 | 46 | py | Python | src/syfervision/transforms/__init__.py | Bhuvan-21/SyferText | 6bf972c78c7ac7de8b1448b4515501b8e5b2b2f5 | [
"Apache-2.0"
] | null | null | null | src/syfervision/transforms/__init__.py | Bhuvan-21/SyferText | 6bf972c78c7ac7de8b1448b4515501b8e5b2b2f5 | [
"Apache-2.0"
] | null | null | null | src/syfervision/transforms/__init__.py | Bhuvan-21/SyferText | 6bf972c78c7ac7de8b1448b4515501b8e5b2b2f5 | [
"Apache-2.0"
] | null | null | null | from .image_modelling import ToTensor, Resize
| 23 | 45 | 0.847826 | 6 | 46 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 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 |
2290ce9f679bbcba130396e26d42e363e84d2c40 | 91,958 | py | Python | tests/helpers/test_condition.py | pbozeman/core | 10dccc673437db223b94eff8a7b6f1990d100c85 | [
"Apache-2.0"
] | 2 | 2020-03-29T05:32:57.000Z | 2021-06-13T06:55:05.000Z | tests/helpers/test_condition.py | pbozeman/core | 10dccc673437db223b94eff8a7b6f1990d100c85 | [
"Apache-2.0"
] | 79 | 2020-07-23T07:13:37.000Z | 2022-03-22T06:02:37.000Z | tests/helpers/test_condition.py | pbozeman/core | 10dccc673437db223b94eff8a7b6f1990d100c85 | [
"Apache-2.0"
] | null | null | null | """Test the condition helper."""
from datetime import datetime
from unittest.mock import patch
import pytest
from homeassistant.components import sun
import homeassistant.components.automation as automation
from homeassistant.const import SUN_EVENT_SUNRISE, SUN_EVENT_SUNSET
from homeassistant.exceptions import Condit... | 33.475792 | 88 | 0.558766 | 10,253 | 91,958 | 4.827465 | 0.035989 | 0.039155 | 0.029396 | 0.035276 | 0.899265 | 0.880394 | 0.860049 | 0.83631 | 0.818692 | 0.782609 | 0 | 0.059285 | 0.30316 | 91,958 | 2,746 | 89 | 33.487983 | 0.713124 | 0.06939 | 0 | 0.6385 | 0 | 0 | 0.241145 | 0.070389 | 0 | 0 | 0 | 0 | 0.11568 | 1 | 0.003615 | false | 0 | 0.005423 | 0 | 0.010845 | 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 |
22db5c0efa67a48ea7ce2e5f94297c5abb19f397 | 1,530 | py | Python | tests/endpoints/test_eth_sendTransaction.py | kanzure/eth-testrpc | cbb22ff2bebc9f12098b0bb7f2a245f3510522b4 | [
"MIT"
] | 164 | 2016-04-20T08:30:22.000Z | 2022-01-05T07:43:12.000Z | tests/endpoints/test_eth_sendTransaction.py | kanzure/eth-testrpc | cbb22ff2bebc9f12098b0bb7f2a245f3510522b4 | [
"MIT"
] | 55 | 2016-06-30T20:06:56.000Z | 2019-12-12T07:36:02.000Z | tests/endpoints/test_eth_sendTransaction.py | kanzure/eth-testrpc | cbb22ff2bebc9f12098b0bb7f2a245f3510522b4 | [
"MIT"
] | 46 | 2016-04-27T16:28:46.000Z | 2022-01-09T17:59:09.000Z | from testrpc.client.utils import force_text
def test_eth_sendTransaction(rpc_client, accounts, hex_accounts):
result = rpc_client(
method="eth_sendTransaction",
params=[{
"from": accounts[0],
"to": accounts[1],
"value": 1234,
"data": "0x1234",
... | 27.818182 | 81 | 0.558824 | 167 | 1,530 | 4.952096 | 0.215569 | 0.130593 | 0.072551 | 0.087062 | 0.793229 | 0.793229 | 0.793229 | 0.793229 | 0.793229 | 0.793229 | 0 | 0.080512 | 0.285621 | 1,530 | 54 | 82 | 28.333333 | 0.676121 | 0 | 0 | 0.723404 | 0 | 0 | 0.141176 | 0.031373 | 0 | 0 | 0.015686 | 0 | 0.297872 | 1 | 0.042553 | false | 0 | 0.021277 | 0 | 0.06383 | 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 |
a3b1bc0100bd08032aaeccff307c3bccee6e5298 | 126 | py | Python | __init__.py | MarcerCyoon/DecisionMakerSLR | 019cd291d90e5e85284b099eab71f7e8c18f3a53 | [
"MIT"
] | 1 | 2019-08-02T09:47:11.000Z | 2019-08-02T09:47:11.000Z | __init__.py | MarcerCyoon/DecisionMakerSLR | 019cd291d90e5e85284b099eab71f7e8c18f3a53 | [
"MIT"
] | null | null | null | __init__.py | MarcerCyoon/DecisionMakerSLR | 019cd291d90e5e85284b099eab71f7e8c18f3a53 | [
"MIT"
] | 2 | 2020-01-04T06:13:52.000Z | 2020-01-08T04:06:08.000Z | # What an amazing python file.
from .faclass import Player
from .faclass import teamOffer
__all__ = ['Player', 'teamOffer']
| 18 | 33 | 0.746032 | 16 | 126 | 5.625 | 0.6875 | 0.244444 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 126 | 6 | 34 | 21 | 0.849057 | 0.222222 | 0 | 0 | 0 | 0 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3dcbc99b1a76a14b9835bb6359467e644a9f15d | 181 | py | Python | troc/apps/record/admin.py | Windfarer/species2 | 15849c5805621410f3e8c26d27213f9bcf483fd1 | [
"MIT"
] | 1 | 2020-01-02T11:50:50.000Z | 2020-01-02T11:50:50.000Z | troc/apps/record/admin.py | Windfarer/species2 | 15849c5805621410f3e8c26d27213f9bcf483fd1 | [
"MIT"
] | 5 | 2019-12-15T07:43:46.000Z | 2022-02-26T17:47:26.000Z | troc/apps/record/admin.py | Windfarer/species2 | 15849c5805621410f3e8c26d27213f9bcf483fd1 | [
"MIT"
] | 1 | 2020-06-13T02:25:42.000Z | 2020-06-13T02:25:42.000Z | from django.contrib import admin
from .models import Record
# Register your models here.
class RecordAdmin(admin.ModelAdmin):
pass
admin.site.register(Record, RecordAdmin) | 22.625 | 40 | 0.779006 | 23 | 181 | 6.130435 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149171 | 181 | 8 | 40 | 22.625 | 0.915584 | 0.143646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4a8d3a211d400db8f96b7a2f69e994de49f8be9f | 15,270 | py | Python | PySide2/QtPrintSupport.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | PySide2/QtPrintSupport.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | PySide2/QtPrintSupport.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | from PySide2.QtGui import QPagedPaintDevice as _QPagedPaintDevice
from PySide2.QtWidgets import QDialog as _QDialog
class _Object(object):
__dict__ = None
from . import QtWidgets as _QtWidgets
class QPrintPreviewWidget(_QtWidgets.QWidget):
def __init__(*args, **kwargs):
"""
x.__init__(...) i... | 14.231128 | 70 | 0.47387 | 1,211 | 15,270 | 5.843931 | 0.199835 | 0.221845 | 0.292779 | 0.336301 | 0.288258 | 0.274269 | 0.274269 | 0.274269 | 0.266215 | 0.137629 | 0 | 0.000347 | 0.433268 | 15,270 | 1,072 | 71 | 14.244403 | 0.817425 | 0.034774 | 0 | 0.507659 | 0 | 0 | 0.000275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.343545 | false | 0.343545 | 0.006565 | 0 | 0.654267 | 0.028446 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
435ee3de7eabd596675a6ed4b873bc464a8e47df | 204 | py | Python | test/test_util.py | xfuzzycomp/FuzzyAsteroids | 636707499b4689bdecd8af32231c3ffd43f6583b | [
"MIT"
] | 1 | 2021-09-14T20:38:08.000Z | 2021-09-14T20:38:08.000Z | test/test_util.py | xfuzzycomp/FuzzyAsteroids | 636707499b4689bdecd8af32231c3ffd43f6583b | [
"MIT"
] | null | null | null | test/test_util.py | xfuzzycomp/FuzzyAsteroids | 636707499b4689bdecd8af32231c3ffd43f6583b | [
"MIT"
] | null | null | null | from unittest import TestCase
from src.fuzzy_asteroids.util import Scenario, Map, Score
class TestScenario(TestCase):
pass
class TestMap(TestCase):
pass
class TestScore(TestCase):
pass
| 12.75 | 57 | 0.75 | 25 | 204 | 6.08 | 0.64 | 0.236842 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186275 | 204 | 15 | 58 | 13.6 | 0.915663 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.375 | 0.25 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
4375f868c06e32bb5ba32f6d643002c6196d4fe1 | 8,287 | py | Python | src/tests/test_pagure_flask_ui_plugins_pagure_no_new_branch.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | src/tests/test_pagure_flask_ui_plugins_pagure_no_new_branch.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | src/tests/test_pagure_flask_ui_plugins_pagure_no_new_branch.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
"""
(c) 2015-2018 - Copyright Red Hat Inc
Authors:
Pierre-Yves Chibon <pingou@pingoured.fr>
"""
from __future__ import unicode_literals, absolute_import
import unittest
import shutil
import sys
import os
sys.path.insert(
0, os.path.join(os.path.dirname(os.path.abspath(__file__)),... | 34.67364 | 89 | 0.520574 | 853 | 8,287 | 4.917937 | 0.161782 | 0.057211 | 0.072944 | 0.105364 | 0.821454 | 0.809535 | 0.782837 | 0.774732 | 0.761859 | 0.751847 | 0 | 0.010054 | 0.37589 | 8,287 | 238 | 90 | 34.819328 | 0.801044 | 0.057319 | 0 | 0.661376 | 0 | 0.026455 | 0.250999 | 0.044711 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.026455 | false | 0 | 0.037037 | 0 | 0.068783 | 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 |
43834bd884389f915826d3e274660ff0074add70 | 340 | py | Python | tests/test_integration/test_xfail_reason.py | lowitea/flake8-fine-pytest | 5f5b6a98abbc98e5a74c4ac8bd03890332828070 | [
"MIT"
] | null | null | null | tests/test_integration/test_xfail_reason.py | lowitea/flake8-fine-pytest | 5f5b6a98abbc98e5a74c4ac8bd03890332828070 | [
"MIT"
] | null | null | null | tests/test_integration/test_xfail_reason.py | lowitea/flake8-fine-pytest | 5f5b6a98abbc98e5a74c4ac8bd03890332828070 | [
"MIT"
] | null | null | null | def test_xfail_with_no_reason(run_validator_for_test_files):
errors = run_validator_for_test_files('xfailed_test_with_no_reason.py')
assert len(errors) == 1
def test_xfail_with_empty_reason(run_validator_for_test_files):
errors = run_validator_for_test_files('xfailed_test_with_empty_reason.py')
asse... | 30.909091 | 78 | 0.811765 | 54 | 340 | 4.518519 | 0.314815 | 0.196721 | 0.245902 | 0.311475 | 0.811475 | 0.811475 | 0.614754 | 0.614754 | 0.614754 | 0.614754 | 0 | 0.006623 | 0.111765 | 340 | 10 | 79 | 34 | 0.801325 | 0 | 0 | 0.333333 | 0 | 0 | 0.185294 | 0.185294 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
438e6b747b70cef1378c3dd7aed9fc55a98a296b | 14,801 | py | Python | wradlib/tests/test_util.py | egouden/wradlib | daac35ff24c774183ca0fa63f28a85fb1e4c84f2 | [
"MIT"
] | 1 | 2020-11-16T14:24:15.000Z | 2020-11-16T14:24:15.000Z | wradlib/tests/test_util.py | egouden/wradlib | daac35ff24c774183ca0fa63f28a85fb1e4c84f2 | [
"MIT"
] | null | null | null | wradlib/tests/test_util.py | egouden/wradlib | daac35ff24c774183ca0fa63f28a85fb1e4c84f2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Copyright (c) 2011-2020, wradlib developers.
# Distributed under the MIT License. See LICENSE.txt for more info.
import datetime as dt
import os
import deprecation
import numpy as np
import pytest
from wradlib import util
from . import requires_data
class TestHelperFunctions:
def test_... | 45.823529 | 88 | 0.441794 | 3,244 | 14,801 | 1.970407 | 0.081381 | 0.484981 | 0.673967 | 0.836671 | 0.598091 | 0.534887 | 0.504537 | 0.472153 | 0.427722 | 0.411452 | 0 | 0.272454 | 0.325991 | 14,801 | 322 | 89 | 45.965839 | 0.368284 | 0.024998 | 0 | 0.460432 | 0 | 0 | 0.011167 | 0.002913 | 0 | 0 | 0 | 0 | 0.097122 | 1 | 0.068345 | false | 0 | 0.035971 | 0 | 0.140288 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
43b1311f88ffb04ebaa22b5e0c460ddcc7b7ca51 | 177 | py | Python | Module 2 Task/Ansible-Lambda-Python/LambdaMain.py | jpeezy-undaunted/cil-internship-cohort-02 | ecdd885f61714767ef95f772258432c7bfb3a9fb | [
"MIT"
] | null | null | null | Module 2 Task/Ansible-Lambda-Python/LambdaMain.py | jpeezy-undaunted/cil-internship-cohort-02 | ecdd885f61714767ef95f772258432c7bfb3a9fb | [
"MIT"
] | null | null | null | Module 2 Task/Ansible-Lambda-Python/LambdaMain.py | jpeezy-undaunted/cil-internship-cohort-02 | ecdd885f61714767ef95f772258432c7bfb3a9fb | [
"MIT"
] | null | null | null | # -*- encoding:utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
def lambda_handler(event, context):
print("Hello Paul Welcome") | 29.5 | 82 | 0.762712 | 22 | 177 | 5.772727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.124294 | 177 | 6 | 83 | 29.5 | 0.812903 | 0.124294 | 0 | 0 | 0 | 0 | 0.116883 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
603c52918fdcc30d4417398055d173d5a3f17592 | 38 | py | Python | models/unet/__init__.py | tbuikr/fastMRI | 4395380bbcddefe0bcfea76a2790e0d978009dea | [
"MIT"
] | 2 | 2019-12-09T04:57:57.000Z | 2020-02-24T18:04:12.000Z | models/unet/__init__.py | tbuikr/fastMRI | 4395380bbcddefe0bcfea76a2790e0d978009dea | [
"MIT"
] | null | null | null | models/unet/__init__.py | tbuikr/fastMRI | 4395380bbcddefe0bcfea76a2790e0d978009dea | [
"MIT"
] | null | null | null | from .unet_transpose import define_Gen | 38 | 38 | 0.894737 | 6 | 38 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
604d655dfe6753a15cc1d7368b32b44efa545046 | 98 | py | Python | finrl_meta/env_execution_optimizing/order_execution_qlib/trade/reward/__init__.py | eitin-infant/FinRL-Meta | 4c94011e58425796e7e2e5c1bf848afd65c828d6 | [
"MIT"
] | 214 | 2021-11-08T17:06:11.000Z | 2022-03-31T18:29:48.000Z | finrl_meta/env_execution_optimizing/order_execution_qlib/trade/reward/__init__.py | eitin-infant/FinRL-Meta | 4c94011e58425796e7e2e5c1bf848afd65c828d6 | [
"MIT"
] | 51 | 2021-11-14T19:11:02.000Z | 2022-03-30T20:23:08.000Z | finrl_meta/env_execution_optimizing/order_execution_qlib/trade/reward/__init__.py | eitin-infant/FinRL-Meta | 4c94011e58425796e7e2e5c1bf848afd65c828d6 | [
"MIT"
] | 110 | 2021-11-03T07:41:40.000Z | 2022-03-31T03:23:38.000Z | from .base import *
from .pa_penalty import *
from .ppo_reward import *
from .vp_penalty import *
| 19.6 | 25 | 0.755102 | 15 | 98 | 4.733333 | 0.533333 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 4 | 26 | 24.5 | 0.865854 | 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 |
6058dc71528f9a2f33a15e425191af8a7ab7925e | 211 | py | Python | facebook_events_scraper/__init__.py | munyoudoum/facebook-events-scraper | b51c6f316fcf11d56c9869895e0e4db9e2b8234d | [
"MIT"
] | 10 | 2020-10-02T21:54:07.000Z | 2021-05-01T18:06:32.000Z | facebook_events_scraper/__init__.py | munyoudoum/facebook-events-scraper | b51c6f316fcf11d56c9869895e0e4db9e2b8234d | [
"MIT"
] | 2 | 2020-12-10T21:45:41.000Z | 2020-12-21T15:18:23.000Z | facebook_events_scraper/__init__.py | munyoudoum/facebook-events-scraper | b51c6f316fcf11d56c9869895e0e4db9e2b8234d | [
"MIT"
] | 3 | 2020-10-09T08:18:55.000Z | 2021-11-10T17:28:39.000Z | from .login import login
from .driver import driver
from .scraper import event_info
from .scraper import events_recurring
from .scraper import events_upcoming
from .scraper import events
__version__ = '0.0.1b3'
| 26.375 | 37 | 0.819905 | 31 | 211 | 5.354839 | 0.419355 | 0.26506 | 0.409639 | 0.415663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.127962 | 211 | 7 | 38 | 30.142857 | 0.880435 | 0 | 0 | 0 | 0 | 0 | 0.033175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
60908a1667a0ecfa5b19dda90b8655d2a5d1ee9b | 22,445 | py | Python | src/tests/control/test_vouchers.py | upsidedownpancake/pretix | bfeeb1028c9eccab4936029db7c38edd4cd5aad5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/tests/control/test_vouchers.py | upsidedownpancake/pretix | bfeeb1028c9eccab4936029db7c38edd4cd5aad5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/tests/control/test_vouchers.py | upsidedownpancake/pretix | bfeeb1028c9eccab4936029db7c38edd4cd5aad5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import datetime
import json
from django.utils.timezone import now
from tests.base import SoupTest, extract_form_fields
from pretix.base.models import (
Event, Item, ItemVariation, Organizer, Quota, Team, User, Voucher,
)
class VoucherFormTest(SoupTest):
def setUp(self):
super().setUp()
self.... | 43.163462 | 117 | 0.626108 | 2,936 | 22,445 | 4.58549 | 0.074932 | 0.060833 | 0.054668 | 0.047835 | 0.862438 | 0.837481 | 0.809849 | 0.762163 | 0.72235 | 0.684469 | 0 | 0.00662 | 0.232791 | 22,445 | 519 | 118 | 43.246628 | 0.775203 | 0 | 0 | 0.672566 | 0 | 0 | 0.112943 | 0.051281 | 0 | 0 | 0 | 0 | 0.119469 | 1 | 0.121681 | false | 0.004425 | 0.011062 | 0 | 0.134956 | 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 |
6097018f0fe036e061cb3a84eab2bd39b25444d5 | 62,384 | py | Python | ENV/lib/python3.6/site-packages/pyramid/tests/test_router.py | captain-c00keys/pyramid-stocks | 0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a | [
"MIT"
] | null | null | null | ENV/lib/python3.6/site-packages/pyramid/tests/test_router.py | captain-c00keys/pyramid-stocks | 0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a | [
"MIT"
] | null | null | null | ENV/lib/python3.6/site-packages/pyramid/tests/test_router.py | captain-c00keys/pyramid-stocks | 0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a | [
"MIT"
] | null | null | null | import unittest
from pyramid import testing
class TestRouter(unittest.TestCase):
def setUp(self):
self.config = testing.setUp()
self.registry = self.config.registry
def tearDown(self):
testing.tearDown()
def _registerRouteRequest(self, name):
from pyramid.interfaces impor... | 44.212615 | 80 | 0.66578 | 5,776 | 62,384 | 6.990824 | 0.059037 | 0.041135 | 0.058768 | 0.075559 | 0.815721 | 0.776319 | 0.750737 | 0.719161 | 0.69759 | 0.683846 | 0 | 0.003464 | 0.250273 | 62,384 | 1,410 | 81 | 44.243972 | 0.85987 | 0.003623 | 0 | 0.70687 | 0 | 0 | 0.036121 | 0.009445 | 0 | 0 | 0 | 0 | 0.110687 | 1 | 0.092366 | false | 0.029771 | 0.138168 | 0.00916 | 0.299237 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60a98ad188a68f01ec581e6c0e915babfcba0adf | 131 | py | Python | satdetect/ioutil/__init__.py | michaelchughes/satdetect | 23319fd1c6bd7d36709b5948584efcc723c428c1 | [
"MIT"
] | 3 | 2016-03-15T17:27:31.000Z | 2019-02-25T16:46:05.000Z | satdetect/ioutil/__init__.py | michaelchughes/satdetect | 23319fd1c6bd7d36709b5948584efcc723c428c1 | [
"MIT"
] | 1 | 2018-05-24T21:57:08.000Z | 2018-05-24T21:57:08.000Z | satdetect/ioutil/__init__.py | michaelchughes/satdetect | 23319fd1c6bd7d36709b5948584efcc723c428c1 | [
"MIT"
] | 2 | 2016-07-08T10:14:59.000Z | 2019-02-25T16:46:08.000Z | from IOUtil import imgpath2list, getFilepathParts, loadImage, mkpath
__all__ = [imgpath2list, getFilepathParts, loadImage, mkpath] | 43.666667 | 68 | 0.832061 | 12 | 131 | 8.75 | 0.666667 | 0.533333 | 0.704762 | 0.819048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.099237 | 131 | 3 | 69 | 43.666667 | 0.872881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 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 | 0 | 0 | 0 | 6 |
60f10a637e583b97d4873a96b2f110f604401415 | 3,855 | py | Python | pl_examples/test_examples.py | Palzer/pytorch-lightning | 886702a1af442f33625693a9ba33c669f9fe9535 | [
"Apache-2.0"
] | null | null | null | pl_examples/test_examples.py | Palzer/pytorch-lightning | 886702a1af442f33625693a9ba33c669f9fe9535 | [
"Apache-2.0"
] | 1 | 2021-01-20T09:05:55.000Z | 2021-01-20T09:05:55.000Z | pl_examples/test_examples.py | zippeurfou/pytorch-lightning | 4018237c309b7d9d6978da73132003615341e04a | [
"Apache-2.0"
] | null | null | null | import platform
from unittest import mock
import pytest
import torch
try:
from nvidia.dali import ops, types, pipeline, plugin
except (ImportError, ModuleNotFoundError):
DALI_AVAILABLE = False
else:
DALI_AVAILABLE = True
dp_16_args = """
--max_epochs 1 \
--batch_size 32 \
--limit_train_batches 2 \
--limi... | 32.125 | 94 | 0.715953 | 555 | 3,855 | 4.702703 | 0.156757 | 0.064368 | 0.05364 | 0.072797 | 0.81341 | 0.81341 | 0.811111 | 0.811111 | 0.796169 | 0.776628 | 0 | 0.010495 | 0.13489 | 3,855 | 119 | 95 | 32.394958 | 0.772114 | 0.555123 | 0 | 0.469388 | 0 | 0 | 0.291892 | 0.05045 | 0 | 0 | 0 | 0.008403 | 0 | 1 | 0.040816 | false | 0 | 0.204082 | 0 | 0.244898 | 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 |
60fcac8c565f52772e31b0515722896754228d53 | 131 | py | Python | src/test/test_model/test_neurons/__init__.py | Fassial/pku-intern | 4463e7d5a5844c8002f7e3d01b4fadc3a20e2038 | [
"MIT"
] | null | null | null | src/test/test_model/test_neurons/__init__.py | Fassial/pku-intern | 4463e7d5a5844c8002f7e3d01b4fadc3a20e2038 | [
"MIT"
] | null | null | null | src/test/test_model/test_neurons/__init__.py | Fassial/pku-intern | 4463e7d5a5844c8002f7e3d01b4fadc3a20e2038 | [
"MIT"
] | null | null | null | """
Created on 12:13, May. 23rd, 2021
Author: fassial
Filename: __init__.py
"""
# test_neurons model
from .test_neurons import *
| 13.1 | 33 | 0.717557 | 19 | 131 | 4.631579 | 0.894737 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.160305 | 131 | 9 | 34 | 14.555556 | 0.709091 | 0.694656 | 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 |
714f8a8d7e5693da634704e423d7dee3ad4c692f | 168 | py | Python | tonic/replays/__init__.py | Eyalcohenx/tonic | afc15c6fa23fed4f696f68f0acf961964b0172dc | [
"MIT"
] | 350 | 2020-08-06T13:49:11.000Z | 2022-03-24T08:53:59.000Z | tonic/replays/__init__.py | Eyalcohenx/tonic | afc15c6fa23fed4f696f68f0acf961964b0172dc | [
"MIT"
] | 12 | 2020-08-07T02:21:58.000Z | 2021-05-20T11:50:44.000Z | tonic/replays/__init__.py | Eyalcohenx/tonic | afc15c6fa23fed4f696f68f0acf961964b0172dc | [
"MIT"
] | 35 | 2020-08-06T16:53:40.000Z | 2021-12-17T06:01:09.000Z | from .buffers import Buffer
from .segments import Segment
from .utils import flatten_batch, lambda_returns
__all__ = [flatten_batch, lambda_returns, Buffer, Segment]
| 24 | 58 | 0.815476 | 22 | 168 | 5.863636 | 0.545455 | 0.186047 | 0.27907 | 0.387597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 168 | 6 | 59 | 28 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
7151e1a6be4abb6476e27e48f9a4112280588d02 | 65 | py | Python | steam/enums/base.py | tjensen/steam | 061ca33842c9ec5aa7c0866d20cbeed0759d5ea5 | [
"MIT"
] | 727 | 2015-07-13T20:32:55.000Z | 2022-03-31T11:55:34.000Z | steam/enums/base.py | tjensen/steam | 061ca33842c9ec5aa7c0866d20cbeed0759d5ea5 | [
"MIT"
] | 335 | 2015-07-22T12:28:35.000Z | 2022-02-24T11:53:12.000Z | steam/enums/base.py | tjensen/steam | 061ca33842c9ec5aa7c0866d20cbeed0759d5ea5 | [
"MIT"
] | 155 | 2015-07-22T08:53:19.000Z | 2022-03-30T10:59:22.000Z | from enum import IntEnum
class SteamIntEnum(IntEnum):
pass
| 10.833333 | 28 | 0.753846 | 8 | 65 | 6.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 65 | 5 | 29 | 13 | 0.942308 | 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 |
71871e0292e1d8b802fe63c2ba6b5ae65d4c0b43 | 47 | py | Python | lofti_gaiaDR2/__init__.py | Sam-2727/lofti_gaiaDR2 | 02ec58cb51ea7569b702800f508b42ea9d38b6a7 | [
"BSD-3-Clause"
] | null | null | null | lofti_gaiaDR2/__init__.py | Sam-2727/lofti_gaiaDR2 | 02ec58cb51ea7569b702800f508b42ea9d38b6a7 | [
"BSD-3-Clause"
] | null | null | null | lofti_gaiaDR2/__init__.py | Sam-2727/lofti_gaiaDR2 | 02ec58cb51ea7569b702800f508b42ea9d38b6a7 | [
"BSD-3-Clause"
] | null | null | null | from .lofti import *
from .loftitools import *
| 15.666667 | 25 | 0.744681 | 6 | 47 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 26 | 23.5 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0d1b295fde3d2e37f133fdb10dee9c9a476d7bf | 1,627 | py | Python | tests/unit/proxy/cp/cp_proxy_manager_test.py | tonytheonlypony/hazelcast-python-client | 3aafeaf2ebc05aee4f2386c62c079db496a7c81f | [
"Apache-2.0"
] | 98 | 2015-12-08T14:26:27.000Z | 2022-03-23T17:44:11.000Z | tests/unit/proxy/cp/cp_proxy_manager_test.py | tonytheonlypony/hazelcast-python-client | 3aafeaf2ebc05aee4f2386c62c079db496a7c81f | [
"Apache-2.0"
] | 396 | 2016-02-23T11:07:55.000Z | 2022-03-31T14:26:34.000Z | tests/unit/proxy/cp/cp_proxy_manager_test.py | tonytheonlypony/hazelcast-python-client | 3aafeaf2ebc05aee4f2386c62c079db496a7c81f | [
"Apache-2.0"
] | 62 | 2015-12-09T11:20:53.000Z | 2022-01-28T01:30:54.000Z | import unittest
from hazelcast.cp import _without_default_group_name, _get_object_name_for_proxy
class CPProxyManagerTest(unittest.TestCase):
def test_without_default_group_name(self):
self.assertEqual("test", _without_default_group_name("test@default"))
self.assertEqual("test", _without_default_... | 40.675 | 83 | 0.744929 | 197 | 1,627 | 5.624365 | 0.142132 | 0.08935 | 0.17148 | 0.207581 | 0.844765 | 0.795126 | 0.758123 | 0.67148 | 0.611913 | 0.532491 | 0 | 0 | 0.16595 | 1,627 | 39 | 84 | 41.717949 | 0.816507 | 0 | 0 | 0.392857 | 0 | 0 | 0.098955 | 0.012907 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.214286 | false | 0 | 0.071429 | 0 | 0.321429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1cdc5158ed6a2d1184788efd4464973510c51b48 | 1,378 | py | Python | XRDXRFutils/utils.py | zpreisler/XRDXRFutils | 9455c8394e82d8b62c7423a072bcbc6a13db1eb2 | [
"MIT"
] | null | null | null | XRDXRFutils/utils.py | zpreisler/XRDXRFutils | 9455c8394e82d8b62c7423a072bcbc6a13db1eb2 | [
"MIT"
] | 3 | 2022-03-08T10:25:39.000Z | 2022-03-30T10:47:28.000Z | XRDXRFutils/utils.py | zpreisler/XRDXRFutils | 9455c8394e82d8b62c7423a072bcbc6a13db1eb2 | [
"MIT"
] | null | null | null | from numpy import minimum,fft,pad
from scipy.signal import windows
def snip(z,m):
x = z.copy()
for p in range(1,m)[::-1]:
a1 = x[p:-p]
a2 = (x[:(-2 * p)] + x[(2 * p):]) * 0.5
x[p:-p] = minimum(a2,a1)
return x
def convolve(z,n=21,std=3):
kernel = windows.gaussian(2 * n - 1,std... | 20.878788 | 55 | 0.472424 | 259 | 1,378 | 2.478764 | 0.173745 | 0.056075 | 0.028037 | 0.018692 | 0.839564 | 0.839564 | 0.839564 | 0.839564 | 0.839564 | 0.839564 | 0 | 0.063126 | 0.275762 | 1,378 | 65 | 56 | 21.2 | 0.58016 | 0 | 0 | 0.522727 | 0 | 0 | 0.008708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.045455 | 0 | 0.318182 | 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 |
1cec17f8e4df0441d775d8b108bf5f7cb115fd1c | 140 | py | Python | vegaapiclient/generated/vega/snapshot/v1/__init__.py | vegaprotocol/sdk-python | 2491f62704afd806a47cb8467a7edf0dd65bbf1b | [
"MIT"
] | 1 | 2022-01-10T01:20:21.000Z | 2022-01-10T01:20:21.000Z | vegaapiclient/generated/vega/snapshot/v1/__init__.py | vegaprotocol/sdk-python | 2491f62704afd806a47cb8467a7edf0dd65bbf1b | [
"MIT"
] | 8 | 2021-10-01T12:54:27.000Z | 2022-03-24T12:22:40.000Z | vegaapiclient/generated/vega/snapshot/v1/__init__.py | vegaprotocol/sdk-python | 2491f62704afd806a47cb8467a7edf0dd65bbf1b | [
"MIT"
] | null | null | null | from . import snapshot_pb2_grpc as snapshot_grpc
from . import snapshot_pb2 as snapshot
__all__ = [
"snapshot_grpc",
"snapshot",
]
| 17.5 | 48 | 0.728571 | 18 | 140 | 5.166667 | 0.388889 | 0.215054 | 0.387097 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.192857 | 140 | 7 | 49 | 20 | 0.80531 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1c15fd4eed9557a7866a22680e8f03270cbc0a57 | 9,903 | py | Python | tests/runner/test_string_manipulations.py | OasisLMF/OEDtransform | 688a9cf90a7f11ee19f5f48fcbe1cb93962ea67d | [
"BSD-3-Clause"
] | 1 | 2022-03-18T14:53:27.000Z | 2022-03-18T14:53:27.000Z | tests/runner/test_string_manipulations.py | OasisLMF/OpenDataTransform | 688a9cf90a7f11ee19f5f48fcbe1cb93962ea67d | [
"BSD-3-Clause"
] | 25 | 2021-08-05T16:17:24.000Z | 2022-03-29T16:28:35.000Z | tests/runner/test_string_manipulations.py | OasisLMF/OEDtransform | 688a9cf90a7f11ee19f5f48fcbe1cb93962ea67d | [
"BSD-3-Clause"
] | 1 | 2022-01-21T14:39:20.000Z | 2022-01-21T14:39:20.000Z | from hypothesis import given, settings
from converter.config import Config
from converter.mapping.base import ColumnConversion, TransformationEntry
from converter.types.notset import NotSet
from ..connector.fakes import FakeConnector
from ..mapping.fakes import make_simple_mapping
from .stategies import runners
@gi... | 25.789063 | 76 | 0.44017 | 1,031 | 9,903 | 4.106693 | 0.080504 | 0.022201 | 0.044166 | 0.054322 | 0.871752 | 0.867974 | 0.86136 | 0.816958 | 0.794757 | 0.787671 | 0 | 0.004683 | 0.374735 | 9,903 | 383 | 77 | 25.856397 | 0.679102 | 0 | 0 | 0.595016 | 0 | 0 | 0.152984 | 0 | 0 | 0 | 0 | 0 | 0.031153 | 1 | 0.031153 | false | 0 | 0.021807 | 0 | 0.05296 | 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 |
1c1814b5a74e0313eb5ba98a15453e36d07aa496 | 19,936 | py | Python | torchrec/distributed/planner/tests/test_partitioners.py | xing-liu/torchrec | 82ffde7a69fdb9c66b79a753d6f03afa5db3f73e | [
"BSD-3-Clause"
] | null | null | null | torchrec/distributed/planner/tests/test_partitioners.py | xing-liu/torchrec | 82ffde7a69fdb9c66b79a753d6f03afa5db3f73e | [
"BSD-3-Clause"
] | null | null | null | torchrec/distributed/planner/tests/test_partitioners.py | xing-liu/torchrec | 82ffde7a69fdb9c66b79a753d6f03afa5db3f73e | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import copy
import unittest
from typing import cast, List
from torch import nn
from tor... | 36.579817 | 88 | 0.591342 | 2,055 | 19,936 | 5.545012 | 0.089538 | 0.060202 | 0.031593 | 0.022115 | 0.866871 | 0.85441 | 0.835103 | 0.808337 | 0.798947 | 0.789381 | 0 | 0.03734 | 0.312199 | 19,936 | 544 | 89 | 36.647059 | 0.793684 | 0.019011 | 0 | 0.656587 | 0 | 0 | 0.022821 | 0 | 0 | 0 | 0 | 0 | 0.045356 | 1 | 0.041037 | false | 0 | 0.025918 | 0.021598 | 0.101512 | 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 |
1c3af52ea76f81bce8055804eeaef5872fe35d37 | 30 | py | Python | pybot/plugins/api/__init__.py | harikrishnana2021/operationcode-pybot | 6e78e069c274281d50dcb71b98b9f485afb012fc | [
"MIT"
] | null | null | null | pybot/plugins/api/__init__.py | harikrishnana2021/operationcode-pybot | 6e78e069c274281d50dcb71b98b9f485afb012fc | [
"MIT"
] | null | null | null | pybot/plugins/api/__init__.py | harikrishnana2021/operationcode-pybot | 6e78e069c274281d50dcb71b98b9f485afb012fc | [
"MIT"
] | null | null | null | from .plugin import APIPlugin
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
1c4f9119b59a7242e19b3d6447984e95f84a8d19 | 19,955 | py | Python | integration-tests/test/test_internal.py | guilhermehas/rchain | 3fd2a1924e828de18204ac100bff60a6090621e1 | [
"Apache-2.0"
] | null | null | null | integration-tests/test/test_internal.py | guilhermehas/rchain | 3fd2a1924e828de18204ac100bff60a6090621e1 | [
"Apache-2.0"
] | 7 | 2019-12-27T14:15:35.000Z | 2019-12-30T01:06:20.000Z | integration-tests/test/test_internal.py | woky/rchain | 76ba93f4349fa525eb08d0b3f1751c23e0de74e2 | [
"Apache-2.0"
] | null | null | null | """Tests for the testing code itself."""
from rchain.crypto import PrivateKey
from .conftest import (
make_wallets_file_lines,
)
from .utils import(
extract_block_hash_from_propose_output,
extract_block_count_from_show_blocks,
parse_show_blocks_output,
parse_show_block_output,
parse_mvdag_str... | 48.317191 | 169 | 0.829416 | 1,081 | 19,955 | 15.139685 | 0.158187 | 0.025541 | 0.011732 | 0.007699 | 0.627765 | 0.610962 | 0.594464 | 0.54546 | 0.541733 | 0.541733 | 0 | 0.419756 | 0.101027 | 19,955 | 412 | 170 | 48.434466 | 0.492558 | 0.001704 | 0 | 0.603774 | 0 | 0 | 0.719056 | 0.566909 | 0 | 1 | 0 | 0 | 0.280323 | 1 | 0.021563 | false | 0 | 0.008086 | 0 | 0.02965 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c798e912b21323b31dcc25a0c5b4e6061f5b6c9 | 62,750 | py | Python | ironic/tests/unit/drivers/modules/test_snmp.py | hpproliant/ironic | 4f62cd97196b2a0068700ffb17456912147778d0 | [
"Apache-2.0"
] | null | null | null | ironic/tests/unit/drivers/modules/test_snmp.py | hpproliant/ironic | 4f62cd97196b2a0068700ffb17456912147778d0 | [
"Apache-2.0"
] | null | null | null | ironic/tests/unit/drivers/modules/test_snmp.py | hpproliant/ironic | 4f62cd97196b2a0068700ffb17456912147778d0 | [
"Apache-2.0"
] | null | null | null | # Copyright 2013,2014 Cray Inc
#
# Authors: David Hewson <dhewson@cray.com>
# Stig Telfer <stelfer@cray.com>
# Mark Goddard <mgoddard@cray.com>
#
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the L... | 48.908807 | 79 | 0.671777 | 8,108 | 62,750 | 4.828564 | 0.038481 | 0.033614 | 0.053129 | 0.034227 | 0.905006 | 0.887688 | 0.869349 | 0.854355 | 0.827075 | 0.79553 | 0 | 0.006509 | 0.243506 | 62,750 | 1,282 | 80 | 48.946958 | 0.818222 | 0.090853 | 0 | 0.64965 | 0 | 0 | 0.033309 | 0.005941 | 0 | 0 | 0 | 0 | 0.226226 | 1 | 0.142142 | false | 0.003003 | 0.014014 | 0.003003 | 0.163163 | 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 |
1c8de328f893e7e0d60815f5880ec363719f9035 | 31 | py | Python | sarafi/lcg.py | supakeen/sarafi | 6a7177ab0cbec3986570c415b84f794159905862 | [
"MIT"
] | null | null | null | sarafi/lcg.py | supakeen/sarafi | 6a7177ab0cbec3986570c415b84f794159905862 | [
"MIT"
] | null | null | null | sarafi/lcg.py | supakeen/sarafi | 6a7177ab0cbec3986570c415b84f794159905862 | [
"MIT"
] | null | null | null | import sarafi._lib.lcg as _lcg
| 15.5 | 30 | 0.806452 | 6 | 31 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.851852 | 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 |
98bccc5977adbaf6dbdbdea603d9c8c47d826aac | 74 | py | Python | anime_dl/common/__init__.py | tiagotda/anime-dl | d3c114faaa7586b4e1111efa2cf79d4640d4f6a9 | [
"MIT"
] | 246 | 2017-03-04T20:17:19.000Z | 2022-03-28T13:37:16.000Z | anime_dl/common/__init__.py | EpicUnknown/anime-dl | 753ae274243c3c4d52050f0c09778d9278112d4a | [
"MIT"
] | 114 | 2017-03-05T23:30:04.000Z | 2021-01-17T03:57:59.000Z | anime_dl/common/__init__.py | EpicUnknown/anime-dl | 753ae274243c3c4d52050f0c09778d9278112d4a | [
"MIT"
] | 59 | 2017-03-05T03:00:53.000Z | 2022-01-08T11:23:21.000Z | from . import browser_instance
from . import downloader
from . import misc | 24.666667 | 30 | 0.810811 | 10 | 74 | 5.9 | 0.6 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 74 | 3 | 31 | 24.666667 | 0.936508 | 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 |
98c68bba6ac295d08edc2621b79140629313c2a3 | 74 | py | Python | e6/6.py | neutronest/eulerproject-douby | 0f3d6d01ef3a12a7a8f0c92c12302d154c3bb870 | [
"MIT"
] | 4 | 2015-11-05T09:02:07.000Z | 2021-08-06T15:24:30.000Z | e6/6.py | neutronest/eulerproject-douby | 0f3d6d01ef3a12a7a8f0c92c12302d154c3bb870 | [
"MIT"
] | null | null | null | e6/6.py | neutronest/eulerproject-douby | 0f3d6d01ef3a12a7a8f0c92c12302d154c3bb870 | [
"MIT"
] | 2 | 2015-02-10T05:29:14.000Z | 2016-05-02T14:54:52.000Z | print sum(range(1, 101)) ** 2 - sum(map(lambda x: x ** 2, range(1, 101)))
| 37 | 73 | 0.567568 | 15 | 74 | 2.8 | 0.6 | 0.285714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 0.175676 | 74 | 1 | 74 | 74 | 0.52459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
98dc7dddec4c8c83475e2a71b5392aac12bf00f3 | 208 | py | Python | surgeo/db/__init__.py | yashd94/surgeo | dc449b7332e143d97321bc844739840c4b0c3666 | [
"MIT"
] | null | null | null | surgeo/db/__init__.py | yashd94/surgeo | dc449b7332e143d97321bc844739840c4b0c3666 | [
"MIT"
] | null | null | null | surgeo/db/__init__.py | yashd94/surgeo | dc449b7332e143d97321bc844739840c4b0c3666 | [
"MIT"
] | null | null | null |
# Add functions to surgeo.db namespace
from surgeo.db.unsupress import reconstitute_data
from surgeo.db.db_setup_geocode import setup_geocode_table
from surgeo.db.db_setup_surname import setup_surname_table
| 34.666667 | 58 | 0.870192 | 33 | 208 | 5.212121 | 0.454545 | 0.186047 | 0.209302 | 0.162791 | 0.22093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091346 | 208 | 5 | 59 | 41.6 | 0.910053 | 0.173077 | 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 |
98f719aea43c9e3ce67f8b8cf7d6141bd7a22fc4 | 43 | py | Python | geoq/cors/middleware/__init__.py | kaydoh/geoq | 6f10818d0cc3cef4ba8113e8b047d27e79b2f8b0 | [
"MIT"
] | 471 | 2015-01-05T15:16:26.000Z | 2022-03-28T05:06:11.000Z | geoq/cors/middleware/__init__.py | kaydoh/geoq | 6f10818d0cc3cef4ba8113e8b047d27e79b2f8b0 | [
"MIT"
] | 109 | 2015-01-06T20:00:58.000Z | 2022-03-11T23:17:53.000Z | geoq/cors/middleware/__init__.py | kaydoh/geoq | 6f10818d0cc3cef4ba8113e8b047d27e79b2f8b0 | [
"MIT"
] | 100 | 2015-01-05T15:16:39.000Z | 2021-12-01T12:13:13.000Z | from .corsMiddleware import corsMiddleware
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 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 |
c737037cb8c73ba041dee0a1c163348cc488c1a9 | 9,737 | py | Python | mangle-infra-agent/tests/PostgresTransactionLatencyFaultTest.py | vmaligireddy/mangle | caf4d4a1314a5bc073d686327483cc08c77ab7be | [
"Apache-2.0"
] | 151 | 2019-05-21T13:15:43.000Z | 2022-02-23T15:04:49.000Z | mangle-infra-agent/tests/PostgresTransactionLatencyFaultTest.py | vmaligireddy/mangle | caf4d4a1314a5bc073d686327483cc08c77ab7be | [
"Apache-2.0"
] | 80 | 2019-10-24T07:12:58.000Z | 2022-03-31T14:08:44.000Z | mangle-infra-agent/tests/PostgresTransactionLatencyFaultTest.py | vmaligireddy/mangle | caf4d4a1314a5bc073d686327483cc08c77ab7be | [
"Apache-2.0"
] | 45 | 2019-05-23T05:21:26.000Z | 2022-02-17T09:57:32.000Z | from unittest import TestCase
from unittest.mock import Mock, patch, MagicMock
import psycopg2
import unittest
import os
from Faults.FaultStatus import FaultStatus
from Faults.PostgresTransactionLatencyFault import PostgresTransactionLatencyFault
'''
Unit test cases for PostgresTransactionLatencyFault.
@author: kumar... | 43.86036 | 111 | 0.701962 | 1,175 | 9,737 | 5.485957 | 0.08766 | 0.133106 | 0.063295 | 0.058641 | 0.819578 | 0.804685 | 0.789172 | 0.776295 | 0.768694 | 0.754576 | 0 | 0.012605 | 0.201499 | 9,737 | 221 | 112 | 44.058824 | 0.816463 | 0.002259 | 0 | 0.680412 | 0 | 0 | 0.070079 | 0.002699 | 0 | 0 | 0 | 0 | 0.340206 | 1 | 0.082474 | false | 0.010309 | 0.036082 | 0 | 0.123711 | 0.010309 | 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 |
c73b8e820a6c08b76b01b2c10ee394c0921b3dbc | 191 | py | Python | robo_utils/oxford/__init__.py | IamWangYunKai/DG-TrajGen | 0a8aab7e1c05111a5afe43d53801c55942e9ff56 | [
"MIT"
] | 31 | 2021-09-15T00:43:43.000Z | 2022-03-27T22:57:21.000Z | robo_utils/oxford/__init__.py | IamWangYunKai/DG-TrajGen | 0a8aab7e1c05111a5afe43d53801c55942e9ff56 | [
"MIT"
] | 1 | 2021-12-09T03:08:13.000Z | 2021-12-15T07:08:31.000Z | robo_utils/oxford/__init__.py | IamWangYunKai/DG-TrajGen | 0a8aab7e1c05111a5afe43d53801c55942e9ff56 | [
"MIT"
] | 2 | 2021-11-26T05:45:18.000Z | 2022-01-19T12:46:41.000Z |
from . import utils
from .partial import PartialDataset
from .process import ProcessUtils
from .partial_augment import PartialDatasetAugment
from .partial_master import PartialDatasetMaster | 27.285714 | 50 | 0.863874 | 21 | 191 | 7.761905 | 0.52381 | 0.202454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109948 | 191 | 7 | 51 | 27.285714 | 0.958824 | 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 |
c7d1b55d9dbaae3a7d25aa933a7d0bca9daa0a5b | 45 | py | Python | common/__init__.py | codestetic/optionworkshop | f7f8c7ab1744069255da0d156916d0c376137040 | [
"MIT"
] | null | null | null | common/__init__.py | codestetic/optionworkshop | f7f8c7ab1744069255da0d156916d0c376137040 | [
"MIT"
] | null | null | null | common/__init__.py | codestetic/optionworkshop | f7f8c7ab1744069255da0d156916d0c376137040 | [
"MIT"
] | null | null | null | from common.instruments.option_type import *
| 22.5 | 44 | 0.844444 | 6 | 45 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.902439 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.