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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bf87138a0f6484c925dccbb6f27fe241bd7131aa | 111 | py | Python | apps/core/base/views.py | GMNaim/Online-Exam-System | ed1e18cf0c0fa7f896bde261988982b49825e61f | [
"MIT"
] | null | null | null | apps/core/base/views.py | GMNaim/Online-Exam-System | ed1e18cf0c0fa7f896bde261988982b49825e61f | [
"MIT"
] | null | null | null | apps/core/base/views.py | GMNaim/Online-Exam-System | ed1e18cf0c0fa7f896bde261988982b49825e61f | [
"MIT"
] | null | null | null | from django.shortcuts import render
def dashboard(request):
return render(request, 'base/dashboard.html') | 22.2 | 49 | 0.774775 | 14 | 111 | 6.142857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126126 | 111 | 5 | 49 | 22.2 | 0.886598 | 0 | 0 | 0 | 0 | 0 | 0.169643 | 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 |
44ac853e3516354ce6fc792614c773cc077bd86f | 25 | py | Python | vis/__init__.py | PrasadBabarendaGamage/vis | 9550238179df16b37a21a4ee8b9a47034e5383c8 | [
"BSD-3-Clause"
] | null | null | null | vis/__init__.py | PrasadBabarendaGamage/vis | 9550238179df16b37a21a4ee8b9a47034e5383c8 | [
"BSD-3-Clause"
] | null | null | null | vis/__init__.py | PrasadBabarendaGamage/vis | 9550238179df16b37a21a4ee8b9a47034e5383c8 | [
"BSD-3-Clause"
] | 1 | 2019-11-19T01:33:02.000Z | 2019-11-19T01:33:02.000Z | from vis.seaborn import * | 25 | 25 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 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 |
44f26d1373e9395b2190b1904b9360edd17c40ce | 1,026 | py | Python | test/test_json.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 202 | 2015-01-12T08:10:48.000Z | 2021-11-08T09:04:32.000Z | test/test_json.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 30 | 2015-01-01T09:07:17.000Z | 2021-06-03T12:58:45.000Z | test/test_json.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 58 | 2015-01-12T03:28:54.000Z | 2022-01-14T01:58:08.000Z | #coding=utf8
def test():
"""
>>> from uliweb import json_dumps
>>> print json_dumps({'a':'中文'})
{"a":"\xe4\xb8\xad\xe6\x96\x87"}
>>> print json_dumps({'a':'中文'}, unicode=True)
{"a":"\u4e2d\u6587"}
>>> import datetime
>>> print json_dumps({'a':1, 'b':True, 'c':False})
{"a":1,"c":fals... | 27.72973 | 59 | 0.505848 | 155 | 1,026 | 3.270968 | 0.296774 | 0.213018 | 0.276134 | 0.088757 | 0.280079 | 0.213018 | 0.106509 | 0.106509 | 0.106509 | 0.106509 | 0 | 0.104738 | 0.218324 | 1,026 | 36 | 60 | 28.5 | 0.527431 | 0.900585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
78042b9e00bcf553094ad56307917cf79ddddc0a | 9,242 | py | Python | pyMSpec/test/test_mass_spectrum_normalization.py | SpatialMetabolomics/pyMS | 52c4dce2c4c0eba3c6d447565f3296252f882f9e | [
"Apache-2.0"
] | 5 | 2017-12-18T06:03:51.000Z | 2019-04-05T21:12:54.000Z | pyMSpec/test/test_mass_spectrum_normalization.py | alexandrovteam/pyMS | 52c4dce2c4c0eba3c6d447565f3296252f882f9e | [
"Apache-2.0"
] | null | null | null | pyMSpec/test/test_mass_spectrum_normalization.py | alexandrovteam/pyMS | 52c4dce2c4c0eba3c6d447565f3296252f882f9e | [
"Apache-2.0"
] | 3 | 2018-10-23T13:13:19.000Z | 2021-02-22T09:19:26.000Z | import unittest
import numpy as np
import pyMSpec.normalisation as normalisation
from pyMSpec.mass_spectrum import mass_spectrum
__author__ = 'palmer'
class mass_spectrum_TestIO(unittest.TestCase):
def test_add_spectrum(self):
mzs_counts_list = [[[0, 1, 2], [2, 2, 2]],
[[0, 0... | 47.153061 | 119 | 0.541117 | 1,219 | 9,242 | 3.874487 | 0.082034 | 0.043616 | 0.055261 | 0.061825 | 0.834639 | 0.828287 | 0.824264 | 0.798433 | 0.756087 | 0.739361 | 0 | 0.072181 | 0.322441 | 9,242 | 195 | 120 | 47.394872 | 0.68205 | 0.037762 | 0 | 0.631902 | 0 | 0 | 0.011145 | 0 | 0 | 0 | 0 | 0 | 0.171779 | 1 | 0.08589 | false | 0 | 0.02454 | 0 | 0.134969 | 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 |
78b2d8e28696e2ae129d7ba21e25cbe30198e95c | 3,613 | py | Python | app/lti_app/tests/citation_checker/data.py | oss6/scriba | 104fb6718891fb57da42b5b175826cd5f0f0ec9b | [
"MIT"
] | null | null | null | app/lti_app/tests/citation_checker/data.py | oss6/scriba | 104fb6718891fb57da42b5b175826cd5f0f0ec9b | [
"MIT"
] | 40 | 2018-06-21T22:17:14.000Z | 2018-08-29T16:02:29.000Z | app/lti_app/tests/citation_checker/data.py | birmingham-international-academy/scriba | 104fb6718891fb57da42b5b175826cd5f0f0ec9b | [
"MIT"
] | null | null | null | citation_check = [
(
'Edbali (2018) stated something.',
'Edbali, T. (2018) "The test" Journal of Testing, 15(4): 261-278.',
{
'authors': ['Edbali'],
'year': '2018',
'result': True,
'in_text': True,
'in_text_separated': False,
... | 29.373984 | 79 | 0.435926 | 339 | 3,613 | 4.554572 | 0.138643 | 0.07772 | 0.084197 | 0.093264 | 0.863342 | 0.787565 | 0.787565 | 0.764896 | 0.717617 | 0.678109 | 0 | 0.06676 | 0.407141 | 3,613 | 122 | 80 | 29.614754 | 0.654062 | 0 | 0 | 0.57377 | 0 | 0.032787 | 0.463327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1544f8b5a8e27ac281baf04444c83c82820d7bb4 | 2,571 | py | Python | chapter/9/problems_9_x_x.py | orangepips/coding-the-matrix | 43ed47bf1febfcbc69fbdbcf9b4d2234512e4b1a | [
"Unlicense"
] | 1 | 2020-02-21T15:09:55.000Z | 2020-02-21T15:09:55.000Z | chapter/9/problems_9_x_x.py | orangepips/coding-the-matrix | 43ed47bf1febfcbc69fbdbcf9b4d2234512e4b1a | [
"Unlicense"
] | null | null | null | chapter/9/problems_9_x_x.py | orangepips/coding-the-matrix | 43ed47bf1febfcbc69fbdbcf9b4d2234512e4b1a | [
"Unlicense"
] | null | null | null | from resources.orthogonalization import *
from resources.vecutil import *
"""
Problem 9.2.2
b = [1, 1, 1]
vlist = [ [0, 2, 2], [0, 1, -1] ]
w = [0, 0, 0]
vlist[0] -> [0, 2, 2]
sigma0 = ([1, 1, 1] * [0, 2, 2]) / ([0, 2, 2] * [0, 2, 2])
= 4 / 8
= 1 / 2
sigma0 ->
w0 = sigma0 * vlist[0]
=... | 26.78125 | 101 | 0.37534 | 473 | 2,571 | 1.997886 | 0.118393 | 0.103704 | 0.079365 | 0.055026 | 0.408466 | 0.308995 | 0.198942 | 0.195767 | 0.122751 | 0.071958 | 0 | 0.217497 | 0.359782 | 2,571 | 96 | 102 | 26.78125 | 0.356622 | 0.220148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1551eaab29028d44c7b843d5f60e1d5c4f1c2f7d | 56,529 | py | Python | wagtail/wagtailadmin/tests/test_pages_views.py | lojack/wagtail | eaf61d5550795a3278184261f6f956f603df8d46 | [
"BSD-3-Clause"
] | null | null | null | wagtail/wagtailadmin/tests/test_pages_views.py | lojack/wagtail | eaf61d5550795a3278184261f6f956f603df8d46 | [
"BSD-3-Clause"
] | null | null | null | wagtail/wagtailadmin/tests/test_pages_views.py | lojack/wagtail | eaf61d5550795a3278184261f6f956f603df8d46 | [
"BSD-3-Clause"
] | null | null | null | from datetime import timedelta
from django.test import TestCase
from django.core.urlresolvers import reverse
from django.contrib.auth.models import User, Permission
from django.core import mail
from django.core.paginator import Paginator
from django.utils import timezone
from wagtail.tests.models import SimplePage, E... | 41.997771 | 153 | 0.658936 | 6,888 | 56,529 | 5.227062 | 0.061702 | 0.047078 | 0.046634 | 0.050744 | 0.829658 | 0.796106 | 0.773831 | 0.751361 | 0.727669 | 0.702727 | 0 | 0.0119 | 0.228449 | 56,529 | 1,345 | 154 | 42.028996 | 0.813596 | 0.134833 | 0 | 0.619501 | 0 | 0 | 0.171138 | 0.064159 | 0 | 0 | 0 | 0 | 0.24019 | 1 | 0.115339 | false | 0.007134 | 0.014269 | 0.004756 | 0.149822 | 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 |
15528ce897f3626ccf98f22e17d90230fa92bed1 | 2,410 | py | Python | molsysmt/tests/topology/get_covalent_blocks/test_get_covalent_blocks_from_molsysmt_MolSys.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tests/topology/get_covalent_blocks/test_get_covalent_blocks_from_molsysmt_MolSys.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tests/topology/get_covalent_blocks/test_get_covalent_blocks_from_molsysmt_MolSys.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | """
Unit and regression test for the get_covalent_blocks module of the molsysmt package on molsysmt MolSys molecular
systems.
"""
# Import package, test suite, and other packages as needed
import molsysmt as msm
import numpy as np
# Distance between atoms in space and time
def test_get_covalent_blocks_molsysmt_MolSy... | 50.208333 | 157 | 0.624896 | 440 | 2,410 | 3.304545 | 0.290909 | 0.075653 | 0.093535 | 0.060523 | 0.778542 | 0.778542 | 0.742779 | 0.716644 | 0.716644 | 0.716644 | 0 | 0.225155 | 0.19834 | 2,410 | 47 | 158 | 51.276596 | 0.527433 | 0.091286 | 0 | 0.558824 | 0 | 0 | 0.058743 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0.088235 | false | 0 | 0.058824 | 0 | 0.147059 | 0 | 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 |
15872d247345a83c86c321db94ef52f629381f9e | 74 | py | Python | spec/python/success.py | iCHEF/guard-pytest | d945198af0c2bc9e872f42c4a25747dffbffa12a | [
"MIT"
] | 2 | 2015-03-16T18:27:04.000Z | 2020-04-02T21:56:50.000Z | spec/python/success.py | iCHEF/guard-pytest | d945198af0c2bc9e872f42c4a25747dffbffa12a | [
"MIT"
] | 2 | 2018-05-13T09:04:55.000Z | 2018-07-04T02:41:47.000Z | spec/python/success.py | iCHEF/guard-pytest | d945198af0c2bc9e872f42c4a25747dffbffa12a | [
"MIT"
] | 8 | 2015-10-06T16:54:17.000Z | 2021-12-22T09:14:40.000Z | # vim: set fileencoding=utf-8 :
# Created: 2015-06-28
"""
>>> 1+1
2
"""
| 9.25 | 31 | 0.540541 | 12 | 74 | 3.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 0.202703 | 74 | 7 | 32 | 10.571429 | 0.474576 | 0.824324 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
158ec87d2784cfd5b7bdb0d76ecc290a1d9a83dd | 37 | py | Python | excript/lista1/q1.py | victorers1/anotacoes_curso_python | c4ef56bcfc7e3baa3944fc2962e8217c6d720b0e | [
"MIT"
] | null | null | null | excript/lista1/q1.py | victorers1/anotacoes_curso_python | c4ef56bcfc7e3baa3944fc2962e8217c6d720b0e | [
"MIT"
] | null | null | null | excript/lista1/q1.py | victorers1/anotacoes_curso_python | c4ef56bcfc7e3baa3944fc2962e8217c6d720b0e | [
"MIT"
] | null | null | null | print("Victor Emanuel Ribeiro Silva") | 37 | 37 | 0.810811 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ec5a2274db26cf1a93be81ae7d530bd5d5eece13 | 7,894 | py | Python | waves.py | xVairo/Block-Tower-Defense | 9e1e109089cd34f9a33fab610e96c18bec61e897 | [
"MIT"
] | null | null | null | waves.py | xVairo/Block-Tower-Defense | 9e1e109089cd34f9a33fab610e96c18bec61e897 | [
"MIT"
] | null | null | null | waves.py | xVairo/Block-Tower-Defense | 9e1e109089cd34f9a33fab610e96c18bec61e897 | [
"MIT"
] | null | null | null | import monsters, random
def genEnemies(wave, Images):
"""Outputs a list of all enemies based on a certain wave"""
Monsters = []
if wave == 1:
for i in range(20):
Monsters.append([monsters.Monster(1, wave, False, Images),30*i])
elif wave == 2:
for i in range(35):
M... | 51.934211 | 120 | 0.561566 | 1,138 | 7,894 | 3.895431 | 0.065905 | 0.198962 | 0.312655 | 0.412136 | 0.878863 | 0.839838 | 0.775096 | 0.762463 | 0.662531 | 0.557636 | 0 | 0.081021 | 0.265138 | 7,894 | 151 | 121 | 52.278146 | 0.683158 | 0.006714 | 0 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006757 | false | 0 | 0.006757 | 0 | 0.02027 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ec605bd4b5727fcf69276b3fe5cf79ad0efa07bc | 47 | py | Python | WebScrape/Housing/housedata/__init__.py | benzomo/PyPackages | 880823315411f6bf812827f59dd3a4408052e9a6 | [
"MIT"
] | null | null | null | WebScrape/Housing/housedata/__init__.py | benzomo/PyPackages | 880823315411f6bf812827f59dd3a4408052e9a6 | [
"MIT"
] | null | null | null | WebScrape/Housing/housedata/__init__.py | benzomo/PyPackages | 880823315411f6bf812827f59dd3a4408052e9a6 | [
"MIT"
] | null | null | null | from .scrape import *
from .data_funcs import * | 23.5 | 25 | 0.765957 | 7 | 47 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 25 | 23.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ec89e7b6cd4e39ec0859c18a79f9b60f0d91b726 | 43 | py | Python | dump/app.py | iamSwaps/Hand-Track-Sketcher | 24de737b7d07715573db04eb277e5c24273f8a1b | [
"MIT"
] | null | null | null | dump/app.py | iamSwaps/Hand-Track-Sketcher | 24de737b7d07715573db04eb277e5c24273f8a1b | [
"MIT"
] | null | null | null | dump/app.py | iamSwaps/Hand-Track-Sketcher | 24de737b7d07715573db04eb277e5c24273f8a1b | [
"MIT"
] | null | null | null | import mediapipe
import cv2
print("hello") | 10.75 | 16 | 0.790698 | 6 | 43 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.116279 | 43 | 4 | 17 | 10.75 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
ec9664980be034f8ddcd37aec9725ff748660aea | 251 | py | Python | seq_predict/__init__.py | dmorrill10/seq_predict | 4e6a0739eb1b762b5ac2e9a7d35d10230f5d6c46 | [
"MIT"
] | null | null | null | seq_predict/__init__.py | dmorrill10/seq_predict | 4e6a0739eb1b762b5ac2e9a7d35d10230f5d6c46 | [
"MIT"
] | null | null | null | seq_predict/__init__.py | dmorrill10/seq_predict | 4e6a0739eb1b762b5ac2e9a7d35d10230f5d6c46 | [
"MIT"
] | null | null | null | """Bayesian probabilistic sequence prediction
"""
from seq_predict.model import KT, KTBinary, SAD, Averager, Factored
from seq_predict.model import CTW, PTW, PTWFixedLength, FMN
from seq_predict.fast import CTW_KT, CTS_KT
from seq_predict import ac
| 27.888889 | 67 | 0.808765 | 37 | 251 | 5.324324 | 0.567568 | 0.142132 | 0.284264 | 0.192893 | 0.253807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123506 | 251 | 8 | 68 | 31.375 | 0.895455 | 0.167331 | 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 |
ecb9d2526810104cf28b3e4c46fd70a0d45af77a | 30,109 | py | Python | data_util.py | yssjtu/code-translation | 487cfcc785a9d6c1ae25d76c864e148c1cfb3086 | [
"BSD-3-Clause"
] | null | null | null | data_util.py | yssjtu/code-translation | 487cfcc785a9d6c1ae25d76c864e148c1cfb3086 | [
"BSD-3-Clause"
] | null | null | null | data_util.py | yssjtu/code-translation | 487cfcc785a9d6c1ae25d76c864e148c1cfb3086 | [
"BSD-3-Clause"
] | null | null | null | import json
import os
import random
import re
import csv
#reg for deleting /**/ comments: /\*[\s\S]*?\*/
def check_contain_chinese(check_str):
for ch in check_str:
if u'\u4e00' <= ch <= u'\u9fff':
return True
return False
def replace(str):
replacestr=['(',')','[',']','{','}',',','.'... | 46.108729 | 267 | 0.568767 | 3,739 | 30,109 | 4.418829 | 0.052955 | 0.034863 | 0.046483 | 0.081346 | 0.848202 | 0.814369 | 0.77999 | 0.755235 | 0.727091 | 0.670924 | 0 | 0.025274 | 0.269355 | 30,109 | 652 | 268 | 46.179448 | 0.72576 | 0.232389 | 0 | 0.650215 | 0 | 0 | 0.151743 | 0.088198 | 0.002146 | 0 | 0 | 0 | 0 | 1 | 0.040773 | false | 0 | 0.01073 | 0 | 0.060086 | 0.032189 | 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 |
ecc0be684214aa482f9a0907ad4432152aa48651 | 948 | py | Python | PosPy/builderproject/guiForm1.py | richierh/PointofSalePy | 54fc11b5f167d361c75b6b1cb890c7020393d46c | [
"Apache-2.0"
] | null | null | null | PosPy/builderproject/guiForm1.py | richierh/PointofSalePy | 54fc11b5f167d361c75b6b1cb890c7020393d46c | [
"Apache-2.0"
] | null | null | null | PosPy/builderproject/guiForm1.py | richierh/PointofSalePy | 54fc11b5f167d361c75b6b1cb890c7020393d46c | [
"Apache-2.0"
] | null | null | null | """Subclass of Form1, which is generated by wxFormBuilder."""
import wx
import form
# Implementing Form1
class guiForm1( form.Form1 ):
def __init__( self, parent ):
form.Form1.__init__( self, parent )
# Handlers for Form1 events.
def m_textCtrl1OnText( self, event ):
# TODO: Implement m_textCtrl1OnText
pas... | 21.066667 | 61 | 0.735232 | 111 | 948 | 6.063063 | 0.306306 | 0.047548 | 0.154532 | 0.261516 | 0.273403 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028609 | 0.188819 | 948 | 44 | 62 | 21.545455 | 0.846554 | 0.405063 | 0 | 0.380952 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 1 | 0.428571 | false | 0.380952 | 0.095238 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
019daab26ab2c0581aff860d2287e3e35e3e960c | 525 | py | Python | cli/__init__.py | mmsbrggr/polar | 34348baf6992232e47cee7a4d56b5a96567c50b8 | [
"MIT"
] | 2 | 2021-10-06T13:29:24.000Z | 2021-11-11T19:42:43.000Z | cli/__init__.py | mmsbrggr/polar | 34348baf6992232e47cee7a4d56b5a96567c50b8 | [
"MIT"
] | 1 | 2022-01-26T15:58:28.000Z | 2022-01-28T13:47:28.000Z | cli/__init__.py | mmsbrggr/polar | 34348baf6992232e47cee7a4d56b5a96567c50b8 | [
"MIT"
] | 2 | 2021-10-01T15:08:52.000Z | 2022-03-15T14:10:06.000Z | from .argument_parser import ArgumentParser
logo = """
8888888b. .d88888b. 888 d8888 8888888b.
888 Y88b d88P" "Y88b 888 d88888 888 Y88b
888 888 888 888 888 d88P888 888 888
888 d88P 888 888 888 d88P 888 888 d88P
8888888P" 888 888 888 d88P ... | 35 | 55 | 0.575238 | 69 | 525 | 4.362319 | 0.333333 | 0.318937 | 0.239203 | 0.172757 | 0.222591 | 0.169435 | 0 | 0 | 0 | 0 | 0 | 0.618012 | 0.386667 | 525 | 14 | 56 | 37.5 | 0.31677 | 0 | 0 | 0 | 0 | 0 | 0.887619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
01c93e85289e68c9ca4196698129bb9aa7925e9f | 293 | py | Python | ladder_network/__init__.py | joshloyal/LadderNetwork | f4e9225b4d89094f51a9db5f6e4392b88b965bb7 | [
"MIT"
] | null | null | null | ladder_network/__init__.py | joshloyal/LadderNetwork | f4e9225b4d89094f51a9db5f6e4392b88b965bb7 | [
"MIT"
] | null | null | null | ladder_network/__init__.py | joshloyal/LadderNetwork | f4e9225b4d89094f51a9db5f6e4392b88b965bb7 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from ladder_network import ops
from ladder_network import tensor_utils
from ladder_network.nonlinearities import activations
from ladder_network.initializations import initializers
| 32.555556 | 55 | 0.894198 | 37 | 293 | 6.567568 | 0.432432 | 0.164609 | 0.279835 | 0.1893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098976 | 293 | 8 | 56 | 36.625 | 0.920455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
172741cfe70e64f481f30bf91557bdc7c370cc83 | 204 | py | Python | auxiliary/sampling_and_meshing/O-CNN/virtual_scanner/python/ocnn/virtualscanner/__init__.py | kierannp/3dsnet | 429c3d431b36358e43c61692e0d02df3ea255635 | [
"MIT"
] | 162 | 2019-07-12T07:15:52.000Z | 2022-03-13T01:07:23.000Z | auxiliary/sampling_and_meshing/O-CNN/virtual_scanner/python/ocnn/virtualscanner/__init__.py | skim2257/AtlasNet | 96c14645a0ade14d2d89db6c4a599a48acae207a | [
"MIT"
] | 26 | 2019-07-14T12:24:03.000Z | 2022-03-01T11:53:53.000Z | auxiliary/sampling_and_meshing/O-CNN/virtual_scanner/python/ocnn/virtualscanner/__init__.py | skim2257/AtlasNet | 96c14645a0ade14d2d89db6c4a599a48acae207a | [
"MIT"
] | 29 | 2019-07-12T07:25:25.000Z | 2021-12-22T05:41:38.000Z | from ocnn.virtualscanner._virtualscanner import VirtualScanner
from ocnn.virtualscanner.directory_tree_scanner import DirectoryTreeScanner
from ocnn.virtualscanner.scanner_settings import ScannerSettings
| 51 | 75 | 0.911765 | 21 | 204 | 8.666667 | 0.47619 | 0.131868 | 0.362637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 204 | 3 | 76 | 68 | 0.947917 | 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 |
1736d24e6c61dd6906733efb6ff9200984f5bc71 | 22 | py | Python | qbitkit/__init__.py | qbitkit/qbitkit | 53a5dc2d1006ada20911f672daf2e3827296a4fd | [
"Apache-2.0"
] | 3 | 2021-02-26T09:57:28.000Z | 2021-03-27T01:02:36.000Z | qbitkit/__init__.py | qbitkit/qbitkit | 53a5dc2d1006ada20911f672daf2e3827296a4fd | [
"Apache-2.0"
] | 31 | 2021-01-03T02:26:21.000Z | 2021-08-19T02:56:59.000Z | qbitkit/__init__.py | qbitkit/qbitkit | 53a5dc2d1006ada20911f672daf2e3827296a4fd | [
"Apache-2.0"
] | null | null | null | from qbitkit import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1788f8ae5ae5c63081999144878550fdf254c3eb | 3,149 | py | Python | Assignement4.97521441/Assignment4/gen1/ThreecodeVisitor.py | fc79/IUSTCompiler | c0e88de0871d114166450b918541a12fa9407dec | [
"MIT"
] | null | null | null | Assignement4.97521441/Assignment4/gen1/ThreecodeVisitor.py | fc79/IUSTCompiler | c0e88de0871d114166450b918541a12fa9407dec | [
"MIT"
] | null | null | null | Assignement4.97521441/Assignment4/gen1/ThreecodeVisitor.py | fc79/IUSTCompiler | c0e88de0871d114166450b918541a12fa9407dec | [
"MIT"
] | null | null | null | # Generated from C:/Users/1379fgh/Documents/Compiler/Assignment4\Threecode.g4 by ANTLR 4.9.1
from antlr4 import *
# This class defines a complete generic visitor for a parse tree produced by ThreecodeParser.
class ThreecodeVisitor(ParseTreeVisitor):
# Visit a parse tree produced by ThreecodeParser#program.
d... | 29.157407 | 93 | 0.724357 | 367 | 3,149 | 6.182561 | 0.19891 | 0.055531 | 0.092552 | 0.166593 | 0.68268 | 0.68268 | 0.65271 | 0.635082 | 0.635082 | 0.635082 | 0 | 0.004003 | 0.206732 | 3,149 | 107 | 94 | 29.429907 | 0.904323 | 0.435059 | 0 | 0.47619 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47619 | false | 0 | 0.02381 | 0.47619 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bdcb1173ebf38ab0338f3030d0a39c6a825ee6d6 | 205 | py | Python | kondo/__init__.py | activatedgeek/kondo | c1fce1c1d6cb9836eee3190ee2207b39fad52377 | [
"Apache-2.0"
] | 3 | 2019-04-25T05:51:13.000Z | 2020-04-24T06:51:07.000Z | kondo/__init__.py | activatedgeek/kondo | c1fce1c1d6cb9836eee3190ee2207b39fad52377 | [
"Apache-2.0"
] | null | null | null | kondo/__init__.py | activatedgeek/kondo | c1fce1c1d6cb9836eee3190ee2207b39fad52377 | [
"Apache-2.0"
] | 1 | 2019-04-26T03:08:41.000Z | 2019-04-26T03:08:41.000Z | from .experiment import Experiment
# TODO(sanyam): remove these.
from .hparams import HParams, Spec
from .param_types import ChoiceType, RandIntType, UniformType, LogUniformType, NormalType, LogNormalType
| 41 | 104 | 0.82439 | 23 | 205 | 7.304348 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107317 | 205 | 4 | 105 | 51.25 | 0.918033 | 0.131707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da65b21e3b4ea9c13990b9a3cb10098bec0192b8 | 23,931 | py | Python | generate_json.py | AssassionXY/HOR | a4c91d90a59eb2b144d827afff626b7eac907320 | [
"Apache-2.0"
] | null | null | null | generate_json.py | AssassionXY/HOR | a4c91d90a59eb2b144d827afff626b7eac907320 | [
"Apache-2.0"
] | null | null | null | generate_json.py | AssassionXY/HOR | a4c91d90a59eb2b144d827afff626b7eac907320 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
import io
import os
import json
import numpy as np
from sys import getsizeof
from PIL import Image
from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True
def loadFont(filename):
f = open(filename, encoding='utf-8')
setting = json.load(f)
return setting
def ... | 54.388636 | 197 | 0.537504 | 2,989 | 23,931 | 4.258615 | 0.056206 | 0.041794 | 0.094037 | 0.095059 | 0.912248 | 0.903685 | 0.888601 | 0.880273 | 0.873124 | 0.847749 | 0 | 0.053415 | 0.261502 | 23,931 | 439 | 198 | 54.512528 | 0.666836 | 0.440057 | 0 | 0.485876 | 0 | 0.146893 | 0.260567 | 0.236549 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016949 | false | 0 | 0.039548 | 0 | 0.090395 | 0.00565 | 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 |
da8f6a0ecb214f8a7c88eb31dd30c46cef25dc05 | 8,569 | py | Python | assemblyline_client/v4_client/module/search/grouped.py | IanLee1521/assemblyline_client | ed2394710b5dcd5b99b21d7352a8c5dff49b6463 | [
"MIT"
] | null | null | null | assemblyline_client/v4_client/module/search/grouped.py | IanLee1521/assemblyline_client | ed2394710b5dcd5b99b21d7352a8c5dff49b6463 | [
"MIT"
] | null | null | null | assemblyline_client/v4_client/module/search/grouped.py | IanLee1521/assemblyline_client | ed2394710b5dcd5b99b21d7352a8c5dff49b6463 | [
"MIT"
] | null | null | null |
from assemblyline_client.v4_client.common.utils import SEARCHABLE, ClientError, api_path
class Grouped(object):
def __init__(self, connection):
self._connection = connection
def _do_grouped(self, bucket, field, **kwargs):
if bucket not in SEARCHABLE:
raise ClientError("Bucket %s ... | 46.069892 | 118 | 0.686895 | 1,183 | 8,569 | 4.928994 | 0.087912 | 0.043217 | 0.033613 | 0.038415 | 0.891614 | 0.88544 | 0.88544 | 0.88544 | 0.88544 | 0.88544 | 0 | 0.000609 | 0.233399 | 8,569 | 185 | 119 | 46.318919 | 0.887045 | 0.61034 | 0 | 0.355556 | 0 | 0 | 0.038098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.022222 | 0 | 0.422222 | 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 |
16f33ab1d15cf9df8bcbd5b5135af0544bcc7488 | 27 | py | Python | cli/__init__.py | Pythonian/catwatch | 25730faa9d8ec6564b075de78bbbf4ff125ada97 | [
"MIT"
] | null | null | null | cli/__init__.py | Pythonian/catwatch | 25730faa9d8ec6564b075de78bbbf4ff125ada97 | [
"MIT"
] | null | null | null | cli/__init__.py | Pythonian/catwatch | 25730faa9d8ec6564b075de78bbbf4ff125ada97 | [
"MIT"
] | 2 | 2018-08-04T16:46:55.000Z | 2019-07-02T19:30:24.000Z | import catwatch.lib.logger
| 13.5 | 26 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 27 | 1 | 27 | 27 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e574d8ee4078b12ab3c9182b15b280e4960133fb | 13,756 | py | Python | tests/flattening/flat_table_test.py | X-DataInitiative/SCALPEL-Analysis | 75c02919b28e1bc2daba04718f53cfe541c48a15 | [
"BSD-3-Clause"
] | 7 | 2019-10-18T09:10:40.000Z | 2019-10-21T11:44:23.000Z | tests/flattening/flat_table_test.py | X-DataInitiative/SCALPEL-Analysis | 75c02919b28e1bc2daba04718f53cfe541c48a15 | [
"BSD-3-Clause"
] | 9 | 2019-10-17T11:54:50.000Z | 2020-11-12T15:24:28.000Z | tests/flattening/flat_table_test.py | X-DataInitiative/SCALPEL-Analysis | 75c02919b28e1bc2daba04718f53cfe541c48a15 | [
"BSD-3-Clause"
] | 3 | 2020-01-15T06:46:25.000Z | 2022-03-06T15:35:25.000Z | # License: BSD 3 clause
import copy
from collections import OrderedDict
import pandas as pd
from scalpel.flattening.flat_table import FlatTable, HistoryTable
from scalpel.flattening.single_table import SingleTable
from tests.core.pyspark_tests import PySparkTest
class TestFlatTable(PySparkTest):
def test_sette... | 37.078167 | 88 | 0.459 | 1,466 | 13,756 | 4.12824 | 0.06412 | 0.072373 | 0.086252 | 0.15466 | 0.832452 | 0.823529 | 0.814772 | 0.792796 | 0.783708 | 0.757766 | 0 | 0.115376 | 0.365513 | 13,756 | 370 | 89 | 37.178378 | 0.578025 | 0.001527 | 0 | 0.498567 | 0 | 0 | 0.188961 | 0 | 0 | 0 | 0 | 0 | 0.077364 | 1 | 0.031519 | false | 0 | 0.017192 | 0 | 0.051576 | 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 |
e58dad6cc6c0c364f66ad62ca2bc780710e80c3e | 173 | py | Python | agents.py | ABIRHOSSAIN10/FB-Cloner | 036e5163bc36bdc3d15e2651aff20555d718872d | [
"MIT"
] | 1 | 2021-11-05T09:33:39.000Z | 2021-11-05T09:33:39.000Z | agents.py | ABIRHOSSAIN10/FB-Cloner | 036e5163bc36bdc3d15e2651aff20555d718872d | [
"MIT"
] | null | null | null | agents.py | ABIRHOSSAIN10/FB-Cloner | 036e5163bc36bdc3d15e2651aff20555d718872d | [
"MIT"
] | null | null | null | import os
os.system("cd $HOME ; git clone https://github.com/ABIRHOSSAIN10/Instagram-Cloner> /dev/null 2>&1")
os.system("cd $HONE ; cd Instagram-Cloner ; python2 instaclon") | 57.666667 | 99 | 0.739884 | 27 | 173 | 4.740741 | 0.740741 | 0.125 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032051 | 0.098266 | 173 | 3 | 100 | 57.666667 | 0.788462 | 0 | 0 | 0 | 0 | 0.333333 | 0.781609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f92952dc0a18db8888996230829245411777e4ec | 48 | py | Python | test.py | oranges0da/food101 | 2a54f9d3da4de4d408183912947f25b016bd6d81 | [
"MIT"
] | null | null | null | test.py | oranges0da/food101 | 2a54f9d3da4de4d408183912947f25b016bd6d81 | [
"MIT"
] | null | null | null | test.py | oranges0da/food101 | 2a54f9d3da4de4d408183912947f25b016bd6d81 | [
"MIT"
] | null | null | null | from model import *
print(model_summary(model)) | 16 | 27 | 0.791667 | 7 | 48 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 3 | 27 | 16 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
006a504e9c7e01b770f1cf2569dbf088aac221d0 | 46 | py | Python | squeeze_and_excitation_networks/models/__init__.py | younnggsuk/CV-Paper-Implementation | fecd67d3f216872976f9b38445ce1c1f9ef1ac02 | [
"MIT"
] | 4 | 2021-06-03T13:56:51.000Z | 2021-11-05T06:22:25.000Z | squeeze_and_excitation_networks/models/__init__.py | younnggsuk/CV-Paper-Implementation | fecd67d3f216872976f9b38445ce1c1f9ef1ac02 | [
"MIT"
] | null | null | null | squeeze_and_excitation_networks/models/__init__.py | younnggsuk/CV-Paper-Implementation | fecd67d3f216872976f9b38445ce1c1f9ef1ac02 | [
"MIT"
] | 1 | 2022-03-28T09:34:03.000Z | 2022-03-28T09:34:03.000Z | from .se_resnet import *
from .metric import * | 23 | 24 | 0.76087 | 7 | 46 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 25 | 23 | 0.871795 | 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 |
00a80c7d92fe3634d783ac47a80b9a58fd55b28b | 23 | py | Python | GarterTest/test.py | mystor/garter | be79188d67923ca18c97f4d3cfcfdf89d18b4057 | [
"PSF-2.0"
] | null | null | null | GarterTest/test.py | mystor/garter | be79188d67923ca18c97f4d3cfcfdf89d18b4057 | [
"PSF-2.0"
] | null | null | null | GarterTest/test.py | mystor/garter | be79188d67923ca18c97f4d3cfcfdf89d18b4057 | [
"PSF-2.0"
] | null | null | null | if True:
1 + 1 = 2
| 7.666667 | 13 | 0.391304 | 5 | 23 | 1.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.478261 | 23 | 2 | 14 | 11.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 6 |
00d7a0bba09178e048539444c775d7277dc830c1 | 86 | py | Python | tools/RNN/rnn_compiler/utils/__init__.py | Carles-Figuerola/Vitis-AI | fc043ea4aca1f9fe4e18962e6a6ae397812bb34b | [
"Apache-2.0"
] | 1 | 2021-04-01T06:38:48.000Z | 2021-04-01T06:38:48.000Z | tools/RNN/rnn_compiler/utils/__init__.py | cy333/Vitis-AI | 611b82cfc32ea2fe04491432bf8feed1f378c9de | [
"Apache-2.0"
] | null | null | null | tools/RNN/rnn_compiler/utils/__init__.py | cy333/Vitis-AI | 611b82cfc32ea2fe04491432bf8feed1f378c9de | [
"Apache-2.0"
] | null | null | null |
from .io import *
from .tools import *
from .processing import *
from .data import *
| 14.333333 | 25 | 0.709302 | 12 | 86 | 5.083333 | 0.5 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197674 | 86 | 5 | 26 | 17.2 | 0.884058 | 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 |
daa5bb7dd4b9037de369311dba15f1b47ac89c39 | 85 | py | Python | plugins/pushover/komand_pushover/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/pushover/komand_pushover/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/pushover/komand_pushover/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .send_message.action import SendMessage
| 28.333333 | 44 | 0.8 | 13 | 85 | 5.153846 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 85 | 2 | 45 | 42.5 | 0.930556 | 0.435294 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dae9fca7e0e7f1af4278fb0a1db7bd4583e3ad62 | 300 | py | Python | app/test/example_operations.py | Mason-McGough/CompuToolkit | d4f5fcc243a1b2a39bd2cd74b434833ca96a063b | [
"BSD-3-Clause"
] | null | null | null | app/test/example_operations.py | Mason-McGough/CompuToolkit | d4f5fcc243a1b2a39bd2cd74b434833ca96a063b | [
"BSD-3-Clause"
] | null | null | null | app/test/example_operations.py | Mason-McGough/CompuToolkit | d4f5fcc243a1b2a39bd2cd74b434833ca96a063b | [
"BSD-3-Clause"
] | null | null | null | def op_add(arg1, arg2):
return arg1 + arg2
def op_mult(arg1, arg2):
return arg1 * arg2
def op_power(arg1, arg2):
return arg1 ** arg2
def op_split(arg1, n_outs):
return [arg1] * n_outs
def op_negate(arg1, negate=True):
if negate:
return 0
else:
return arg1
| 16.666667 | 33 | 0.626667 | 47 | 300 | 3.851064 | 0.340426 | 0.265193 | 0.232044 | 0.298343 | 0.447514 | 0.447514 | 0.447514 | 0 | 0 | 0 | 0 | 0.077982 | 0.273333 | 300 | 17 | 34 | 17.647059 | 0.752294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0 | 0.307692 | 0.846154 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9766c479c4a0c746e3cf90a7b090111e27dae6c9 | 134 | py | Python | tests/unit/test_utils.py | lachmanfrantisek/ansible-bender | d0f6ba63ccdc41b135dbe0ce25815b7baed8cd26 | [
"MIT"
] | null | null | null | tests/unit/test_utils.py | lachmanfrantisek/ansible-bender | d0f6ba63ccdc41b135dbe0ce25815b7baed8cd26 | [
"MIT"
] | null | null | null | tests/unit/test_utils.py | lachmanfrantisek/ansible-bender | d0f6ba63ccdc41b135dbe0ce25815b7baed8cd26 | [
"MIT"
] | null | null | null | from ansible_bender.utils import run_cmd
def test_run_cmd():
assert "etc" in run_cmd(["ls", "-1", "/"], return_all_output=True)
| 22.333333 | 70 | 0.69403 | 22 | 134 | 3.909091 | 0.818182 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.141791 | 134 | 5 | 71 | 26.8 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
97a8a54873599df7af2fe3782f83bf68a1f5e71e | 121 | py | Python | kerastroke/__init__.py | CharlesAverill/kerastroke | 8677112a687663ff790b92adc7965c25327ecc9b | [
"MIT"
] | 3 | 2020-03-02T03:37:17.000Z | 2020-04-19T15:29:59.000Z | kerastroke/__init__.py | CharlesAverill/kerastroke | 8677112a687663ff790b92adc7965c25327ecc9b | [
"MIT"
] | 5 | 2020-03-08T19:01:38.000Z | 2020-04-28T03:22:15.000Z | kerastroke/__init__.py | CharlesAverill/kerastroke | 8677112a687663ff790b92adc7965c25327ecc9b | [
"MIT"
] | null | null | null | from kerastroke.stroke import Stroke
from kerastroke.pruning import Pruning
from kerastroke.neuroplast import NeuroPlast
| 30.25 | 44 | 0.876033 | 15 | 121 | 7.066667 | 0.4 | 0.396226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 3 | 45 | 40.333333 | 0.972477 | 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 |
8ae3116d6dec61d889bc38b0377d87e72ffc2dae | 5,190 | py | Python | test/nn/test_pooling.py | steven-lang/e2cnn | 48f49760766ec958b52d0dd7b02483886dfa2096 | [
"BSD-3-Clause"
] | 356 | 2019-11-22T10:37:22.000Z | 2022-03-25T14:42:45.000Z | test/nn/test_pooling.py | steven-lang/e2cnn | 48f49760766ec958b52d0dd7b02483886dfa2096 | [
"BSD-3-Clause"
] | 52 | 2020-01-20T16:51:36.000Z | 2022-03-31T21:40:19.000Z | test/nn/test_pooling.py | steven-lang/e2cnn | 48f49760766ec958b52d0dd7b02483886dfa2096 | [
"BSD-3-Clause"
] | 48 | 2019-12-11T09:29:30.000Z | 2022-03-18T17:51:55.000Z | import unittest
from unittest import TestCase
from e2cnn.nn import *
from e2cnn.gspaces import *
import torch
import numpy as np
class TestPooling(TestCase):
def test_pointwise_maxpooling(self):
N = 8
g = Rot2dOnR2(N)
r = FieldType(g, [repr for repr in g.represent... | 33.269231 | 123 | 0.524085 | 652 | 5,190 | 4.102761 | 0.162577 | 0.033645 | 0.063551 | 0.074766 | 0.818692 | 0.81271 | 0.799626 | 0.799626 | 0.799626 | 0.799626 | 0 | 0.034991 | 0.333719 | 5,190 | 155 | 124 | 33.483871 | 0.738577 | 0 | 0 | 0.6875 | 0 | 0.052083 | 0.101349 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.052083 | false | 0 | 0.0625 | 0 | 0.125 | 0.0625 | 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 |
de02c1d6840c81487a16f62de58c7f8a697c76e4 | 47 | py | Python | tests/python/overload0.py | jacereda/py2nim | 56fc2699d31241c60bed726f59efea4bf46be238 | [
"MIT"
] | 10 | 2020-03-10T12:01:01.000Z | 2021-05-23T19:47:06.000Z | tests/python/overload0.py | jacereda/py2nim | 56fc2699d31241c60bed726f59efea4bf46be238 | [
"MIT"
] | null | null | null | tests/python/overload0.py | jacereda/py2nim | 56fc2699d31241c60bed726f59efea4bf46be238 | [
"MIT"
] | 1 | 2020-07-17T11:20:56.000Z | 2020-07-17T11:20:56.000Z | def a(z):
print(z + z)
a(0)
a('e')
a([0])
| 6.714286 | 16 | 0.382979 | 12 | 47 | 1.5 | 0.5 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.276596 | 47 | 6 | 17 | 7.833333 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.2 | 1 | 1 | 1 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7026f55d33879df67cffe6bb8e097cfd672968b | 25 | py | Python | ookami/__init__.py | tainn1/ookami | 3b3301edf791b34a69f4de8e8a42a5de5f503252 | [
"MIT"
] | null | null | null | ookami/__init__.py | tainn1/ookami | 3b3301edf791b34a69f4de8e8a42a5de5f503252 | [
"MIT"
] | null | null | null | ookami/__init__.py | tainn1/ookami | 3b3301edf791b34a69f4de8e8a42a5de5f503252 | [
"MIT"
] | null | null | null | from .ookami import Form
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e707bf0fba7d120e7d0d9e66d45983edd9a9d716 | 178 | py | Python | tests/test_measure.py | AFM-SPM/curves | e28c3f845b5b79a75d138b3b8e57665a6dc4d224 | [
"MIT"
] | 2 | 2022-02-08T14:25:27.000Z | 2022-02-10T14:33:47.000Z | tests/test_measure.py | AFM-SPM/curves | e28c3f845b5b79a75d138b3b8e57665a6dc4d224 | [
"MIT"
] | 1 | 2022-02-11T08:56:18.000Z | 2022-02-17T18:10:14.000Z | tests/test_measure.py | AFM-SPM/curves | e28c3f845b5b79a75d138b3b8e57665a6dc4d224 | [
"MIT"
] | 1 | 2022-01-28T15:20:12.000Z | 2022-01-28T15:20:12.000Z | import curves.measure as measure
import curves.sim as sim
def test_curvature(test_curve, test_radius):
# Check that the right radius of curvature
# is returned
pass
| 22.25 | 46 | 0.752809 | 27 | 178 | 4.851852 | 0.666667 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202247 | 178 | 7 | 47 | 25.428571 | 0.922535 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e766b771273c9eb47c03842362d9f59d5d7883dc | 91 | py | Python | proglearn/sims/__init__.py | latasianguy/progressive-learning | c15299cf3c87f431250722e7f682f4abb43b5c0c | [
"MIT"
] | null | null | null | proglearn/sims/__init__.py | latasianguy/progressive-learning | c15299cf3c87f431250722e7f682f4abb43b5c0c | [
"MIT"
] | null | null | null | proglearn/sims/__init__.py | latasianguy/progressive-learning | c15299cf3c87f431250722e7f682f4abb43b5c0c | [
"MIT"
] | null | null | null | from .gaussian_sim import generate_gaussian_parity
__all__ = ["generate_gaussian_parity"]
| 22.75 | 50 | 0.846154 | 11 | 91 | 6.181818 | 0.636364 | 0.470588 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 3 | 51 | 30.333333 | 0.819277 | 0 | 0 | 0 | 1 | 0 | 0.263736 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
99bacfbf86fe5950528f09eba137bb4c82ab3d2d | 3,496 | py | Python | mayan/apps/document_states/tests/test_workflow_runtime_proxy_views.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | null | null | null | mayan/apps/document_states/tests/test_workflow_runtime_proxy_views.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 10 | 2021-03-20T00:01:17.000Z | 2022-03-12T00:48:43.000Z | mayan/apps/document_states/tests/test_workflow_runtime_proxy_views.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 1 | 2020-12-17T02:35:09.000Z | 2020-12-17T02:35:09.000Z | from mayan.apps.common.tests.base import GenericViewTestCase
from ..permissions import permission_workflow_view
from .mixins import (
WorkflowRuntimeProxyStateViewTestMixin,
WorkflowRuntimeProxyViewTestMixin, WorkflowTestMixin
)
class WorkflowRuntimeProxyViewTestCase(
WorkflowRuntimeProxyViewTestMixin, ... | 36.8 | 87 | 0.738844 | 373 | 3,496 | 6.442359 | 0.126005 | 0.154806 | 0.126509 | 0.1598 | 0.813983 | 0.813983 | 0.74407 | 0.74407 | 0.730753 | 0.693716 | 0 | 0.010018 | 0.200515 | 3,496 | 94 | 88 | 37.191489 | 0.849732 | 0 | 0 | 0.539474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.131579 | false | 0 | 0.039474 | 0 | 0.197368 | 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 |
99ce0bee3d806ba7b68b99105a65f4f10cea27aa | 66 | py | Python | blifparser/keywords/__init__.py | mario33881/blifparser | 403076573be4a50dc606bda92bf2b9464773d5ca | [
"MIT"
] | null | null | null | blifparser/keywords/__init__.py | mario33881/blifparser | 403076573be4a50dc606bda92bf2b9464773d5ca | [
"MIT"
] | null | null | null | blifparser/keywords/__init__.py | mario33881/blifparser | 403076573be4a50dc606bda92bf2b9464773d5ca | [
"MIT"
] | null | null | null | from . import fsm
from . import generic
from . import subfiles
| 16.5 | 23 | 0.727273 | 9 | 66 | 5.333333 | 0.555556 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 66 | 3 | 24 | 22 | 0.941176 | 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 |
99ffb477d13e0ebbae8b4fd5e3cf5bfffdfd749f | 43 | py | Python | ochrona/client/__init__.py | ttw225/ochrona-cli | 974973265091e0e9ff03c8cabad4c3e6ad20ea07 | [
"MIT"
] | 39 | 2020-01-12T20:24:10.000Z | 2022-03-21T15:39:20.000Z | ochrona/client/__init__.py | ttw225/ochrona-cli | 974973265091e0e9ff03c8cabad4c3e6ad20ea07 | [
"MIT"
] | 37 | 2020-02-22T19:20:59.000Z | 2022-03-07T14:33:02.000Z | ochrona/client/__init__.py | ttw225/ochrona-cli | 974973265091e0e9ff03c8cabad4c3e6ad20ea07 | [
"MIT"
] | 2 | 2021-06-27T00:40:29.000Z | 2021-12-21T11:06:19.000Z | from ochrona.client.pypi import pypi_fetch
| 21.5 | 42 | 0.860465 | 7 | 43 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82041daa241baf50efb1500ee3075a6bb0ccfe61 | 7,517 | py | Python | treasury/revenue_and_payments.py | areed1192/us-federal-treasury-python-api | 59969bfd865528072ffcedfd861aab2e0f9764ba | [
"MIT"
] | 4 | 2021-05-27T01:43:00.000Z | 2021-11-02T12:16:50.000Z | treasury/revenue_and_payments.py | areed1192/us-federal-treasury-python-api | 59969bfd865528072ffcedfd861aab2e0f9764ba | [
"MIT"
] | null | null | null | treasury/revenue_and_payments.py | areed1192/us-federal-treasury-python-api | 59969bfd865528072ffcedfd861aab2e0f9764ba | [
"MIT"
] | 1 | 2022-01-16T14:59:32.000Z | 2022-01-16T14:59:32.000Z | from typing import Dict
from typing import List
from treasury.session import FederalTreasurySession
class RevenueAndPayments():
"""
## Overview:
----
Revenue:
Daily overview of federal revenue collections such as income tax
deposits, customs duties, fees for government service, fines, and
... | 34.962791 | 103 | 0.594253 | 829 | 7,517 | 5.313631 | 0.240048 | 0.019069 | 0.03269 | 0.029966 | 0.776163 | 0.776163 | 0.776163 | 0.776163 | 0.755278 | 0.755278 | 0 | 0.003984 | 0.33218 | 7,517 | 214 | 104 | 35.126168 | 0.873506 | 0.611148 | 0 | 0.730159 | 0 | 0 | 0.111845 | 0.038226 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063492 | false | 0 | 0.047619 | 0 | 0.174603 | 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 |
820b741f2620b40ce8cf3830ca42112d3f209be7 | 777 | py | Python | octicons16px/bell_slash.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/bell_slash.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/bell_slash.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_BELL_SLASH = """
<svg class="octicon octicon-bell-slash" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M8 1.5c-.997 0-1.895.416-2.534 1.086A.75.75 0 014.38 1.55 5 5 0 0113 5v2.373a.75.75 0 01-1.5 0V5A3.5 3.5 0 008 1.5zM4.182 4.31L1.19 2.143a.75.75 0 ... | 155.4 | 746 | 0.683398 | 194 | 777 | 2.726804 | 0.582474 | 0.028355 | 0.037807 | 0.026465 | 0.037807 | 0.037807 | 0 | 0 | 0 | 0 | 0 | 0.538462 | 0.096525 | 777 | 4 | 747 | 194.25 | 0.2151 | 0 | 0 | 0 | 0 | 0.333333 | 0.963918 | 0.208763 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82207e9410616333c6d205a62b39903e26366462 | 512 | py | Python | listener/app_engine/issues/signals.py | andymckay/arecibo | eb6787ea0a276047ef5add2df67a4dd051e5c961 | [
"Apache-2.0"
] | 6 | 2016-01-26T04:47:52.000Z | 2022-01-24T19:55:04.000Z | listener/app_engine/issues/signals.py | andymckay/arecibo | eb6787ea0a276047ef5add2df67a4dd051e5c961 | [
"Apache-2.0"
] | 6 | 2017-02-12T05:11:25.000Z | 2017-02-12T05:12:15.000Z | listener/app_engine/issues/signals.py | andymckay/arecibo | eb6787ea0a276047ef5add2df67a4dd051e5c961 | [
"Apache-2.0"
] | 2 | 2015-12-09T22:37:58.000Z | 2021-09-09T17:04:33.000Z | import django.dispatch
issue_created = django.dispatch.Signal(providing_args=["instance",])
comment_created = django.dispatch.Signal(providing_args=["instance",])
issue_status_changed = django.dispatch.Signal(providing_args=["instance", "old", "new"])
issue_assigned_changed = django.dispatch.Signal(providing_args=["i... | 46.545455 | 90 | 0.777344 | 61 | 512 | 6.278689 | 0.262295 | 0.255875 | 0.313316 | 0.454308 | 0.845953 | 0.845953 | 0.845953 | 0.5953 | 0.462141 | 0.462141 | 0 | 0 | 0.058594 | 512 | 10 | 91 | 51.2 | 0.794606 | 0 | 0 | 0 | 0 | 0 | 0.134766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8222ad174b803f3453eb7140773f7a3a770a6196 | 49 | py | Python | exmoapi/core/__init__.py | victorusachev/ExmoApi | c7c1bdcf495afeaa831aab38ee6f7be45f2ab45a | [
"MIT"
] | 1 | 2021-07-12T23:42:42.000Z | 2021-07-12T23:42:42.000Z | exmoapi/core/__init__.py | victorusachev/ExmoApi | c7c1bdcf495afeaa831aab38ee6f7be45f2ab45a | [
"MIT"
] | null | null | null | exmoapi/core/__init__.py | victorusachev/ExmoApi | c7c1bdcf495afeaa831aab38ee6f7be45f2ab45a | [
"MIT"
] | 2 | 2018-03-21T11:06:28.000Z | 2020-04-25T07:27:40.000Z | from exmoapi.core.api import CoreApi, Credential
| 24.5 | 48 | 0.836735 | 7 | 49 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.931818 | 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 |
4154f7a5916544beb90c333e286f3ee3fe33e0d8 | 35 | py | Python | rds_enhanced_monitoring/graphitesend/__init__.py | natecarlson/lambda-rds-enhanced-to-graphite | 72753b8959901bf3b7a98f69baffd1af216a0e37 | [
"MIT"
] | null | null | null | rds_enhanced_monitoring/graphitesend/__init__.py | natecarlson/lambda-rds-enhanced-to-graphite | 72753b8959901bf3b7a98f69baffd1af216a0e37 | [
"MIT"
] | null | null | null | rds_enhanced_monitoring/graphitesend/__init__.py | natecarlson/lambda-rds-enhanced-to-graphite | 72753b8959901bf3b7a98f69baffd1af216a0e37 | [
"MIT"
] | null | null | null | from graphitesend import * # noqa
| 17.5 | 34 | 0.742857 | 4 | 35 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.928571 | 0.114286 | 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 |
68ba399f064ae5871661f179730dc056e01372a8 | 131 | py | Python | src/python/orquestra/__init__.py | damarkian/hfudm | 7dbd323c39ce86406039ac5a8e9cdf5b2fd36277 | [
"MIT"
] | null | null | null | src/python/orquestra/__init__.py | damarkian/hfudm | 7dbd323c39ce86406039ac5a8e9cdf5b2fd36277 | [
"MIT"
] | null | null | null | src/python/orquestra/__init__.py | damarkian/hfudm | 7dbd323c39ce86406039ac5a8e9cdf5b2fd36277 | [
"MIT"
] | null | null | null | from .welcome import *
from .util import *
from .helloqubit import *
from .helloworld import *
from .h3test import *
import sympy
| 16.375 | 25 | 0.748092 | 17 | 131 | 5.764706 | 0.470588 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.175573 | 131 | 7 | 26 | 18.714286 | 0.898148 | 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 |
68df83291826432e49db9a407134a4f81f1155cf | 35 | py | Python | gitmojithis/__init__.py | krzystof/gitmojithis | 7b9bd67d96a3b056d92745db13fb887f6cf8129b | [
"MIT"
] | 1 | 2017-01-18T18:39:48.000Z | 2017-01-18T18:39:48.000Z | gitmojithis/__init__.py | krzystof/gitmojithis | 7b9bd67d96a3b056d92745db13fb887f6cf8129b | [
"MIT"
] | null | null | null | gitmojithis/__init__.py | krzystof/gitmojithis | 7b9bd67d96a3b056d92745db13fb887f6cf8129b | [
"MIT"
] | null | null | null | from .github_api import GithubRepo
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 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 |
68e813739b30f26b61de64a51e9a2c1775187e58 | 142 | py | Python | student/admin.py | Zhumatai-prog/online_test | 2b3dc52dddb1aa11ba36aa645d2a52afa6b50c75 | [
"MIT"
] | null | null | null | student/admin.py | Zhumatai-prog/online_test | 2b3dc52dddb1aa11ba36aa645d2a52afa6b50c75 | [
"MIT"
] | null | null | null | student/admin.py | Zhumatai-prog/online_test | 2b3dc52dddb1aa11ba36aa645d2a52afa6b50c75 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Dept)
admin.site.register(Position)
admin.site.register(Student)
| 17.75 | 32 | 0.802817 | 20 | 142 | 5.7 | 0.55 | 0.236842 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 142 | 7 | 33 | 20.285714 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
68f5fb23660062206d2d54ac36dc30dbb743cc15 | 141 | py | Python | beneficiary_sys/beneficiary_system/doctype/affiliate/test_affiliate.py | samiawad97/beneficiary_sys | e4f2e720aac41b443ea90ba20f893547ad17a75e | [
"MIT"
] | null | null | null | beneficiary_sys/beneficiary_system/doctype/affiliate/test_affiliate.py | samiawad97/beneficiary_sys | e4f2e720aac41b443ea90ba20f893547ad17a75e | [
"MIT"
] | null | null | null | beneficiary_sys/beneficiary_system/doctype/affiliate/test_affiliate.py | samiawad97/beneficiary_sys | e4f2e720aac41b443ea90ba20f893547ad17a75e | [
"MIT"
] | null | null | null | # Copyright (c) 2021, s97 and Contributors
# See license.txt
# import frappe
import unittest
class TestAffiliate(unittest.TestCase):
pass
| 15.666667 | 42 | 0.77305 | 18 | 141 | 6.055556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.148936 | 141 | 8 | 43 | 17.625 | 0.858333 | 0.496454 | 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 |
ec05120c8dc06aacaa8c6896847ad7d1148351b9 | 38,016 | py | Python | instances/passenger_demand/pas-20210421-2109-int18e/4.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/4.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/4.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 4170
passenger_arriving = (
(0, 10, 7, 3, 3, 0, 4, 9, 4, 2, 6, 0), # 0
(6, 5, 13, 7, 2, 0, 10, 6, 8, 7, 2, 0), # 1
(2, 14, 8, 5, 2, 0, 2, 5, 7, 9, 1, 0), # 2
(0, 10, 9, 3, 4, 0, 9, 11, 6, 5, 1, 0), # 3
(5, 12, 7, 4, 1, 0, 11, 7, 8, 9, 1, 0), # 4
(7, 7, 10, 5, 4, 0, 8, 12... | 113.480597 | 213 | 0.730008 | 5,147 | 38,016 | 5.389742 | 0.236643 | 0.311452 | 0.246566 | 0.467179 | 0.328719 | 0.327025 | 0.326448 | 0.326448 | 0.326448 | 0.326448 | 0 | 0.819712 | 0.118739 | 38,016 | 334 | 214 | 113.820359 | 0.008328 | 0.031855 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ec0e61f5fd95531949f88b050e5c0b41af4bf564 | 29,826 | py | Python | ctm/pess_kagome/rdm_kagome.py | jurajHasik/peps-torch | bc5068b2026e670a2795fc3fc060a3313bc1e3fb | [
"MIT"
] | 33 | 2020-04-22T23:11:25.000Z | 2022-03-27T09:11:29.000Z | ctm/pess_kagome/rdm_kagome.py | jurajHasik/tn-torch | bc5068b2026e670a2795fc3fc060a3313bc1e3fb | [
"MIT"
] | 4 | 2021-06-09T14:57:50.000Z | 2021-11-29T14:46:08.000Z | ctm/pess_kagome/rdm_kagome.py | jurajHasik/tn-torch | bc5068b2026e670a2795fc3fc060a3313bc1e3fb | [
"MIT"
] | 8 | 2020-07-12T11:42:49.000Z | 2022-02-09T07:34:23.000Z | import torch
from ctm.generic.env import ENV
from ctm.generic.rdm import _sym_pos_def_rdm
from tn_interface import contract, einsum
from tn_interface import contiguous, view, permute
from tn_interface import conj
def rdm2x2_up_triangle_open(coord, state, env, sym_pos_def=False, force_cpu=False, verbosity=0):
r"""
... | 34.8028 | 120 | 0.473614 | 4,200 | 29,826 | 3.221905 | 0.05119 | 0.014928 | 0.01914 | 0.02483 | 0.823973 | 0.80838 | 0.78961 | 0.76345 | 0.750074 | 0.708543 | 0 | 0.105989 | 0.311976 | 29,826 | 857 | 121 | 34.8028 | 0.553433 | 0.250184 | 0 | 0.626016 | 0 | 0 | 0.037946 | 0.017105 | 0 | 0 | 0 | 0.002334 | 0 | 1 | 0.01897 | false | 0 | 0.01626 | 0 | 0.054201 | 0.03252 | 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 |
ec219429fbe224a69bcc69fe2176eefdd54c5c14 | 17,634 | py | Python | generated/resources/virtual_ip_heat.py | atsgen/tf-heat-plugin | 5c0405eb93287368f60f7e227e5af5ada6bfeed2 | [
"Apache-2.0"
] | 1 | 2020-04-05T19:43:40.000Z | 2020-04-05T19:43:40.000Z | generated/resources/virtual_ip_heat.py | atsgen/tf-heat-plugin | 5c0405eb93287368f60f7e227e5af5ada6bfeed2 | [
"Apache-2.0"
] | null | null | null | generated/resources/virtual_ip_heat.py | atsgen/tf-heat-plugin | 5c0405eb93287368f60f7e227e5af5ada6bfeed2 | [
"Apache-2.0"
] | 1 | 2020-08-25T12:47:27.000Z | 2020-08-25T12:47:27.000Z |
# AUTO-GENERATED file from IFMapApiGenerator. Do Not Edit!
from contrail_heat.resources import contrail
try:
from heat.common.i18n import _
except ImportError:
pass
from heat.engine import attributes
from heat.engine import constraints
from heat.engine import properties
try:
from heat.openstack.common imp... | 51.411079 | 524 | 0.642792 | 2,019 | 17,634 | 5.202576 | 0.071818 | 0.118241 | 0.235149 | 0.124905 | 0.835967 | 0.79265 | 0.734958 | 0.715727 | 0.644612 | 0.555027 | 0 | 0.003957 | 0.269139 | 17,634 | 342 | 525 | 51.561404 | 0.811065 | 0.017353 | 0 | 0.44918 | 1 | 0 | 0.074311 | 0.055084 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0.003279 | 0.036066 | 0.003279 | 0.078689 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ec4437d10112353d62013fbe448df314fdfb8b94 | 95 | py | Python | tests/test_plugins/test_get_export.py | emicoto/none | 396697f2107cf5de5408d86623ca9c852e97739c | [
"MIT"
] | 1,757 | 2020-08-24T09:41:45.000Z | 2022-03-31T15:46:18.000Z | tests/test_plugins/test_get_export.py | emicoto/none | 396697f2107cf5de5408d86623ca9c852e97739c | [
"MIT"
] | 781 | 2020-08-25T03:16:48.000Z | 2022-03-31T17:33:36.000Z | tests/test_plugins/test_get_export.py | emicoto/none | 396697f2107cf5de5408d86623ca9c852e97739c | [
"MIT"
] | 297 | 2020-08-25T01:47:37.000Z | 2022-03-30T01:17:47.000Z | import nonebot
from .test_export import export
print(export, nonebot.require("test_export"))
| 15.833333 | 45 | 0.8 | 13 | 95 | 5.692308 | 0.538462 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 95 | 5 | 46 | 19 | 0.870588 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6bc50839a061434525bb4e4aed0d26f6c3838944 | 35 | py | Python | src/db_init.py | piotrkubicki/messenger | 01a5321e390ff97c4cd42d5643c400f84fdd0453 | [
"MIT"
] | null | null | null | src/db_init.py | piotrkubicki/messenger | 01a5321e390ff97c4cd42d5643c400f84fdd0453 | [
"MIT"
] | null | null | null | src/db_init.py | piotrkubicki/messenger | 01a5321e390ff97c4cd42d5643c400f84fdd0453 | [
"MIT"
] | null | null | null | from app import init_db
init_db()
| 8.75 | 23 | 0.771429 | 7 | 35 | 3.571429 | 0.714286 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 3 | 24 | 11.666667 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6bd79e3c8e7932a7fb86f33f8d405134a53db035 | 17 | py | Python | cflearn/dist/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 400 | 2020-07-05T18:55:49.000Z | 2022-02-21T02:33:08.000Z | __init__.py | mwhit74/mlob | 8b999047c0ea00be3d9e74e9894b8f335db9e9b7 | [
"MIT"
] | 82 | 2020-08-01T13:29:38.000Z | 2021-10-09T07:13:44.000Z | __init__.py | mwhit74/mlob | 8b999047c0ea00be3d9e74e9894b8f335db9e9b7 | [
"MIT"
] | 34 | 2020-07-05T21:15:34.000Z | 2021-12-20T08:45:17.000Z | from . import ml
| 8.5 | 16 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 17 | 1 | 17 | 17 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d43686816ecdba7039509cc3c3eeaaaae709488c | 94 | py | Python | prices/site/__init__.py | andresfredes/GW2_prices | 1d9222b0d2d5b60c36d0a6305443e4cbcfcd2362 | [
"BSD-3-Clause"
] | null | null | null | prices/site/__init__.py | andresfredes/GW2_prices | 1d9222b0d2d5b60c36d0a6305443e4cbcfcd2362 | [
"BSD-3-Clause"
] | null | null | null | prices/site/__init__.py | andresfredes/GW2_prices | 1d9222b0d2d5b60c36d0a6305443e4cbcfcd2362 | [
"BSD-3-Clause"
] | null | null | null | from flask import Blueprint
site = Blueprint('site', __name__)
from prices.site import views | 18.8 | 34 | 0.787234 | 13 | 94 | 5.384615 | 0.615385 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 5 | 35 | 18.8 | 0.864198 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
d478c82e6f9fd280db2282b5379e57dce4117b25 | 2,774 | py | Python | Something.py | IvankaK/Testing | 2ce0ee645b2172b37f3c8c8ce4461b60e2180321 | [
"Apache-2.0"
] | null | null | null | Something.py | IvankaK/Testing | 2ce0ee645b2172b37f3c8c8ce4461b60e2180321 | [
"Apache-2.0"
] | null | null | null | Something.py | IvankaK/Testing | 2ce0ee645b2172b37f3c8c8ce4461b60e2180321 | [
"Apache-2.0"
] | null | null | null | import pytest
from selenium import webdriver
@pytest.fixture
def driver(request):
wd = webdriver.Chrome()
print(wd)
request.addfinalizer(wd.quit)
return wd
def test_example(driver):
cas = driver.find_element_by_css_selector
driver.get("http://ivanka/admin/login.php")
driver.find_element_b... | 31.522727 | 62 | 0.633381 | 440 | 2,774 | 3.943182 | 0.143182 | 0.117003 | 0.183862 | 0.225937 | 0.815562 | 0.77464 | 0.77464 | 0.77464 | 0.530836 | 0.530836 | 0 | 0.017932 | 0.135544 | 2,774 | 87 | 63 | 31.885057 | 0.705588 | 0 | 0 | 0.3125 | 0 | 0 | 0.479129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046875 | false | 0.015625 | 0.03125 | 0 | 0.109375 | 0.015625 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
00fcb9fa4ff5305fbd6a888d223c0b3ffbacf78d | 127 | py | Python | docs/archive/0.2-cleanup/fireworks/tutorial/step13b.py | sjdv1982/seamless | 1b814341e74a56333c163f10e6f6ceab508b7df9 | [
"MIT"
] | 15 | 2017-06-07T12:49:12.000Z | 2020-07-25T18:06:04.000Z | docs/archive/0.2-cleanup/fireworks/tutorial/step13b.py | sjdv1982/seamless | 1b814341e74a56333c163f10e6f6ceab508b7df9 | [
"MIT"
] | 110 | 2016-06-21T23:20:44.000Z | 2022-02-24T16:15:22.000Z | docs/archive/0.2-cleanup/fireworks/tutorial/step13b.py | sjdv1982/seamless | 1b814341e74a56333c163f10e6f6ceab508b7df9 | [
"MIT"
] | 6 | 2016-06-21T11:19:22.000Z | 2019-01-21T13:45:39.000Z | ctx.registrar.silk.connect("VertexData", ctx.gen_vertexdata)
ctx.registrar.silk.connect("VertexDataArray", ctx.gen_vertexdata)
| 42.333333 | 65 | 0.826772 | 16 | 127 | 6.4375 | 0.4375 | 0.23301 | 0.31068 | 0.446602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 127 | 2 | 66 | 63.5 | 0.837398 | 0 | 0 | 0 | 0 | 0 | 0.19685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e124eb6919c4171c9504d89e0e98225961e8997 | 367 | py | Python | udacity_ml/software_engineering/unit_tests/case_launch/test_compute_launch.py | issagaliyeva/machine_learning | 63f4d39a95147cdac4ef760cb47dffc318793a99 | [
"MIT"
] | null | null | null | udacity_ml/software_engineering/unit_tests/case_launch/test_compute_launch.py | issagaliyeva/machine_learning | 63f4d39a95147cdac4ef760cb47dffc318793a99 | [
"MIT"
] | null | null | null | udacity_ml/software_engineering/unit_tests/case_launch/test_compute_launch.py | issagaliyeva/machine_learning | 63f4d39a95147cdac4ef760cb47dffc318793a99 | [
"MIT"
] | null | null | null | from compute_launch import days_until_launch
def test_days_until_launch_4():
assert (days_until_launch(22, 26) == 4)
def test_days_until_launch_0():
assert (days_until_launch(253, 253) == 0)
def test_days_until_launch_0_negative():
assert (days_until_launch(83, 64) == 0)
def test_days_until_launch_1... | 20.388889 | 45 | 0.73842 | 60 | 367 | 4.05 | 0.333333 | 0.333333 | 0.555556 | 0.263374 | 0.378601 | 0.288066 | 0 | 0 | 0 | 0 | 0 | 0.080386 | 0.152589 | 367 | 17 | 46 | 21.588235 | 0.700965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | true | 0 | 0.111111 | 0 | 0.555556 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e2a14a72d107a069d66abc6cc56e5f71ddaa46a | 42 | py | Python | src/test_person_search/project/loss/__init__.py | wisematch/KDMOT | 03be0a148fc5d5a43c13a0427c429305b92e6838 | [
"MIT"
] | null | null | null | src/test_person_search/project/loss/__init__.py | wisematch/KDMOT | 03be0a148fc5d5a43c13a0427c429305b92e6838 | [
"MIT"
] | null | null | null | src/test_person_search/project/loss/__init__.py | wisematch/KDMOT | 03be0a148fc5d5a43c13a0427c429305b92e6838 | [
"MIT"
] | null | null | null | from .focal import FocalLoss, SmoothL1Loss | 42 | 42 | 0.857143 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.095238 | 42 | 1 | 42 | 42 | 0.921053 | 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 |
2e47159d3b09b10cdb09ab2ca1aafe7ac619926f | 3,514 | py | Python | tests/test_backends.py | uktrade/directory-healthcheck | 708d1cf9036c9791a0f841d63eca28b7333556b2 | [
"MIT"
] | null | null | null | tests/test_backends.py | uktrade/directory-healthcheck | 708d1cf9036c9791a0f841d63eca28b7333556b2 | [
"MIT"
] | 10 | 2018-03-06T13:58:46.000Z | 2019-12-04T14:36:58.000Z | tests/test_backends.py | uktrade/directory-healthcheck | 708d1cf9036c9791a0f841d63eca28b7333556b2 | [
"MIT"
] | null | null | null | from unittest.mock import Mock, patch
from directory_healthcheck import backends
@patch('directory_sso_api_client.client.sso_api_client.ping',
Mock(side_effect=Exception('oops')))
def test_single_sign_on_ping_connection_error():
backend = backends.SingleSignOnBackend()
backend.run_check()
assert ... | 26.621212 | 69 | 0.73136 | 448 | 3,514 | 5.397321 | 0.107143 | 0.078164 | 0.064516 | 0.084367 | 0.947891 | 0.921836 | 0.853598 | 0.823821 | 0.80273 | 0.770058 | 0 | 0.012064 | 0.150825 | 3,514 | 131 | 70 | 26.824427 | 0.798257 | 0 | 0 | 0.606383 | 0 | 0 | 0.26864 | 0.167331 | 0 | 0 | 0 | 0 | 0.12766 | 1 | 0.12766 | false | 0 | 0.021277 | 0 | 0.148936 | 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 |
5cf1600b14edfbe4f8bd1ebb80aca1c8cdeac6b1 | 1,196 | py | Python | test/WeekTest.py | nqiu/lunar-python | 479990b68011fc33e4e48bffed98f1fd2714b2ac | [
"MIT"
] | 61 | 2020-07-16T00:53:24.000Z | 2022-03-28T14:21:34.000Z | test/WeekTest.py | nqiu/lunar-python | 479990b68011fc33e4e48bffed98f1fd2714b2ac | [
"MIT"
] | 4 | 2020-09-23T08:03:40.000Z | 2022-02-21T06:09:08.000Z | test/WeekTest.py | nqiu/lunar-python | 479990b68011fc33e4e48bffed98f1fd2714b2ac | [
"MIT"
] | 25 | 2020-05-25T00:26:25.000Z | 2022-03-29T03:13:54.000Z | # -*- coding: utf-8 -*-
import unittest
from lunar_python import SolarWeek
from lunar_python.util import SolarUtil
class WeekTest(unittest.TestCase):
def test(self):
# 一周的开始从星期一开始计
start = 1
week = SolarWeek.fromYmd(2019, 5, 1, start)
self.assertEqual("2019.5.1", week.toString())
... | 36.242424 | 94 | 0.632107 | 130 | 1,196 | 5.8 | 0.338462 | 0.198939 | 0.151194 | 0.06366 | 0.761273 | 0.761273 | 0.761273 | 0.761273 | 0.761273 | 0.761273 | 0 | 0.07957 | 0.222408 | 1,196 | 32 | 95 | 37.375 | 0.731183 | 0.076087 | 0 | 0.5 | 0 | 0 | 0.069406 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.1 | false | 0 | 0.15 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cf22eddd2d7a12aecf3a3b38d7bef8594d2e6259 | 35 | py | Python | Python/hello_from_the_other_side.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,428 | 2018-10-03T15:15:17.000Z | 2019-03-31T18:38:36.000Z | Python/hello_from_the_other_side.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,162 | 2018-10-03T15:05:49.000Z | 2018-10-18T14:17:52.000Z | Python/hello_from_the_other_side.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 3,909 | 2018-10-03T15:07:19.000Z | 2019-03-31T18:39:08.000Z | print("hello from the other side")
| 17.5 | 34 | 0.742857 | 6 | 35 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d8753887e68e33fa6b6abf11c788257a8f52e0df | 41 | py | Python | solventx/__init__.py | solventx/solventx | a0aafda7085e096bd6c51d184bf20c2c48e34679 | [
"BSD-3-Clause"
] | null | null | null | solventx/__init__.py | solventx/solventx | a0aafda7085e096bd6c51d184bf20c2c48e34679 | [
"BSD-3-Clause"
] | null | null | null | solventx/__init__.py | solventx/solventx | a0aafda7085e096bd6c51d184bf20c2c48e34679 | [
"BSD-3-Clause"
] | null | null | null | from solventx._version import __version__ | 41 | 41 | 0.902439 | 5 | 41 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.842105 | 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 |
d8a63d334c454a65318bfca7734d780677d58a5e | 28 | py | Python | powerline_owmweather/__init__.py | DeepSpace2/powerline-owmweather | 5df7a1ef5c72249f35718ea49e7619fbea8ab026 | [
"MIT"
] | 10 | 2020-11-01T17:23:37.000Z | 2021-11-09T13:06:02.000Z | powerline_owmweather/__init__.py | DeepSpace2/powerline-owmweather | 5df7a1ef5c72249f35718ea49e7619fbea8ab026 | [
"MIT"
] | null | null | null | powerline_owmweather/__init__.py | DeepSpace2/powerline-owmweather | 5df7a1ef5c72249f35718ea49e7619fbea8ab026 | [
"MIT"
] | 1 | 2020-12-26T19:35:41.000Z | 2020-12-26T19:35:41.000Z | from .weather import weather | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8eeb18be84ca0b4ab591a967b4ad14aaacb3598 | 40 | py | Python | easycm/__init__.py | vhrique/pycm | 5e9f538d8a2eb061c684145d721e0b11a169ba93 | [
"BSD-3-Clause"
] | null | null | null | easycm/__init__.py | vhrique/pycm | 5e9f538d8a2eb061c684145d721e0b11a169ba93 | [
"BSD-3-Clause"
] | null | null | null | easycm/__init__.py | vhrique/pycm | 5e9f538d8a2eb061c684145d721e0b11a169ba93 | [
"BSD-3-Clause"
] | null | null | null | from .utils import plot_confusion_matrix | 40 | 40 | 0.9 | 6 | 40 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 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 |
d8f6fe8fc3882dddc4707f46070980de981b6525 | 10,154 | py | Python | src/tikkie2/v2/ideal_qr.py | new10com/tikkie-api | 9dfa96f46eb5150fb22a9d65b7c90cd2133da442 | [
"MIT"
] | null | null | null | src/tikkie2/v2/ideal_qr.py | new10com/tikkie-api | 9dfa96f46eb5150fb22a9d65b7c90cd2133da442 | [
"MIT"
] | null | null | null | src/tikkie2/v2/ideal_qr.py | new10com/tikkie-api | 9dfa96f46eb5150fb22a9d65b7c90cd2133da442 | [
"MIT"
] | null | null | null | from datetime import datetime
from typing import Optional
from tikkie2._session import ApiSession, get_session
from tikkie2._util import JsonDict, format_datetime
from tikkie2.v2.models import (
GetAllIdealQrPaymentsResponse,
GetAllIdealQrResponse,
IdealQr,
IdealQrPayment,
)
def create_non_changeable... | 40.779116 | 184 | 0.714004 | 1,427 | 10,154 | 4.939734 | 0.124737 | 0.034047 | 0.027664 | 0.020428 | 0.857852 | 0.857852 | 0.842815 | 0.805504 | 0.791318 | 0.772592 | 0 | 0.002249 | 0.211739 | 10,154 | 248 | 185 | 40.943548 | 0.878436 | 0.479417 | 0 | 0.671141 | 0 | 0 | 0.080137 | 0.013256 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040268 | false | 0 | 0.033557 | 0 | 0.114094 | 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 |
d8f765dc1efca2d1a3ce3e4e873eb87f3497b09a | 56 | py | Python | __init__.py | wk989898/ARES-implement | b2411be01124feaccbc89d74f6025fbfa584bb3f | [
"MIT"
] | null | null | null | __init__.py | wk989898/ARES-implement | b2411be01124feaccbc89d74f6025fbfa584bb3f | [
"MIT"
] | null | null | null | __init__.py | wk989898/ARES-implement | b2411be01124feaccbc89d74f6025fbfa584bb3f | [
"MIT"
] | 2 | 2021-11-24T17:08:50.000Z | 2022-01-06T03:15:39.000Z | from model import *
from utils import *
from cg import * | 18.666667 | 19 | 0.75 | 9 | 56 | 4.666667 | 0.555556 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 56 | 3 | 20 | 18.666667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b0181c86b4f89443a20053ce00bc189aea4dd91 | 4,182 | py | Python | modernrpc/tests/test_compat.py | diegoduncan21/django-modern-rpc | 559f17dec2e584a800b19c760a15e230a126a66f | [
"MIT"
] | null | null | null | modernrpc/tests/test_compat.py | diegoduncan21/django-modern-rpc | 559f17dec2e584a800b19c760a15e230a126a66f | [
"MIT"
] | null | null | null | modernrpc/tests/test_compat.py | diegoduncan21/django-modern-rpc | 559f17dec2e584a800b19c760a15e230a126a66f | [
"MIT"
] | null | null | null | # coding: utf-8
import pytest
from django.utils import six
from modernrpc.compat import standardize_strings
@pytest.mark.skipif(six.PY2, reason='Python 3 specific test')
def test_standardize_str_error_with_py3():
with pytest.raises(AssertionError) as excpinfo:
standardize_strings('123')
assert 'pytho... | 35.142857 | 102 | 0.621473 | 624 | 4,182 | 3.99359 | 0.155449 | 0.05618 | 0.077047 | 0.091493 | 0.808587 | 0.808587 | 0.795345 | 0.758828 | 0.733949 | 0.713483 | 0 | 0.087204 | 0.202056 | 4,182 | 118 | 103 | 35.440678 | 0.659574 | 0.083453 | 0 | 0.421687 | 0 | 0 | 0.156062 | 0 | 0 | 0 | 0 | 0.008475 | 0.168675 | 1 | 0.144578 | false | 0 | 0.036145 | 0 | 0.180723 | 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 |
2b47368d8a0210a1fa42104463af41d44fed30da | 4,624 | py | Python | production/yole_gcc_test.py | Vlad-Shcherbina/icfpc2014-tbd | 8169102307808a80801bf5ee55688e41287990bf | [
"WTFPL"
] | 4 | 2015-01-14T11:35:08.000Z | 2020-01-19T19:14:40.000Z | production/yole_gcc_test.py | Vlad-Shcherbina/icfpc2014-tbd | 8169102307808a80801bf5ee55688e41287990bf | [
"WTFPL"
] | null | null | null | production/yole_gcc_test.py | Vlad-Shcherbina/icfpc2014-tbd | 8169102307808a80801bf5ee55688e41287990bf | [
"WTFPL"
] | null | null | null | from unittest import TestCase
from yole_gcc import GccMachine, GccException
from asm_parser import parse_gcc
class GccTest(TestCase):
def setUp(self):
self.gcc_machine = GccMachine()
def test_ldc(self):
self.gcc_machine.ldc(3)
self.assertEquals(self.gcc_machine.data_stack, [3])
d... | 32.335664 | 83 | 0.637543 | 656 | 4,624 | 4.283537 | 0.106707 | 0.211744 | 0.423488 | 0.211744 | 0.785409 | 0.767972 | 0.733808 | 0.698221 | 0.670819 | 0.662633 | 0 | 0.025721 | 0.234862 | 4,624 | 142 | 84 | 32.56338 | 0.768513 | 0 | 0 | 0.575 | 0 | 0 | 0.012762 | 0.009085 | 0 | 0 | 0.002163 | 0 | 0.2 | 1 | 0.166667 | false | 0 | 0.025 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2b50d5c990cb6d190c72d8963367abdde06bbb36 | 43 | py | Python | pymtl3_net/bflynet/__init__.py | cornell-brg/ocn-posh | 7f8bfd800627364cfc37dc5d6a36333ee2e48c99 | [
"BSD-3-Clause"
] | 3 | 2019-06-07T13:27:06.000Z | 2019-07-16T19:00:23.000Z | pymtl3_net/bflynet/__init__.py | cornell-brg/ocn-posh | 7f8bfd800627364cfc37dc5d6a36333ee2e48c99 | [
"BSD-3-Clause"
] | 12 | 2019-07-23T02:29:31.000Z | 2019-07-25T11:07:00.000Z | pymtl3_net/bflynet/__init__.py | cornell-brg/posh-ocn | 7f8bfd800627364cfc37dc5d6a36333ee2e48c99 | [
"BSD-3-Clause"
] | null | null | null | from .BflyNetworkRTL import BflyNetworkRTL
| 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 |
9924ad0de5082b7dbc2965377961e196fded3a73 | 785 | py | Python | test/test_recovery_project_plan_create_window.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | test/test_recovery_project_plan_create_window.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | test/test_recovery_project_plan_create_window.py | hyperonecom/h1-client-python | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | [
"MIT"
] | null | null | null | """
HyperOne
HyperOne API # noqa: E501
The version of the OpenAPI document: 0.1.0
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import h1
from h1.model.recovery_project_plan_create_window import RecoveryProjectPlanCreateWindow
class TestRecoveryProjectPlanCreateWind... | 21.805556 | 88 | 0.713376 | 76 | 785 | 7.210526 | 0.657895 | 0.029197 | 0.040146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017742 | 0.210191 | 785 | 35 | 89 | 22.428571 | 0.866129 | 0.428025 | 0 | 0.230769 | 1 | 0 | 0.01937 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.230769 | false | 0.230769 | 0.307692 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
992e5e9078734506c783d127ce4a5a034d1d698d | 272 | py | Python | src/utils/transition.py | aliciafmachado/LfD | 44a19397a87a31783a7d82bd8958e3b61ff34de1 | [
"MIT"
] | null | null | null | src/utils/transition.py | aliciafmachado/LfD | 44a19397a87a31783a7d82bd8958e3b61ff34de1 | [
"MIT"
] | null | null | null | src/utils/transition.py | aliciafmachado/LfD | 44a19397a87a31783a7d82bd8958e3b61ff34de1 | [
"MIT"
] | null | null | null | """
Transition namedtuple.
"""
from collections import namedtuple
Transition = namedtuple('Transition', ('state', 'action', 'next_state', 'reward'))
TransitionTD = namedtuple('Transition', ('state', 'action', 'next_state', 'reward', 'n_next_state', 'R_cum', 'gamma_n')) | 30.222222 | 120 | 0.702206 | 29 | 272 | 6.37931 | 0.482759 | 0.324324 | 0.27027 | 0.335135 | 0.497297 | 0.497297 | 0.497297 | 0 | 0 | 0 | 0 | 0 | 0.099265 | 272 | 9 | 120 | 30.222222 | 0.755102 | 0.080882 | 0 | 0 | 0 | 0 | 0.403292 | 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 |
99a0a57fc7f310fb8326aa281fc799a1170e2c8f | 49 | py | Python | pre_processor.py | pamore/Product-Recommendation-System | f643ceaef515d5bb5bc61b5fa727203d4e282e4a | [
"MIT"
] | null | null | null | pre_processor.py | pamore/Product-Recommendation-System | f643ceaef515d5bb5bc61b5fa727203d4e282e4a | [
"MIT"
] | null | null | null | pre_processor.py | pamore/Product-Recommendation-System | f643ceaef515d5bb5bc61b5fa727203d4e282e4a | [
"MIT"
] | null | null | null | import csv
import pandas as pd
import numpy as np | 16.333333 | 19 | 0.816327 | 10 | 49 | 4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 3 | 20 | 16.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
511e3b4465cbc23170c5c43429c0dae137028b8a | 19 | py | Python | sky_status_app/models/__init__.py | embersabsalon/sky_status | 829930904cd088b0933f4a2e54224582a0ad3d95 | [
"MIT"
] | null | null | null | sky_status_app/models/__init__.py | embersabsalon/sky_status | 829930904cd088b0933f4a2e54224582a0ad3d95 | [
"MIT"
] | null | null | null | sky_status_app/models/__init__.py | embersabsalon/sky_status | 829930904cd088b0933f4a2e54224582a0ad3d95 | [
"MIT"
] | null | null | null | from . import city
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 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 |
5140fbce72cc21b2364f445a106e7a549f869c4f | 83 | py | Python | test.py | OrlandoAparecidoSalgadoFilho/horlandoalpha | 9e3ad6e9fcbcbc1e37c3c3ad48b89601ef5964ed | [
"Apache-2.0"
] | 1 | 2019-06-08T22:58:51.000Z | 2019-06-08T22:58:51.000Z | test.py | OrlandoAparecidoSalgadoFilho/horlandoalpha | 9e3ad6e9fcbcbc1e37c3c3ad48b89601ef5964ed | [
"Apache-2.0"
] | null | null | null | test.py | OrlandoAparecidoSalgadoFilho/horlandoalpha | 9e3ad6e9fcbcbc1e37c3c3ad48b89601ef5964ed | [
"Apache-2.0"
] | null | null | null | import pytest
from conta import cont
def test_conta():
assert cont (2,1) == 3
| 13.833333 | 26 | 0.686747 | 14 | 83 | 4 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0.216867 | 83 | 5 | 27 | 16.6 | 0.815385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5aa02be9f7ea1110088a574f5c32dfc411e8b2f6 | 94 | py | Python | profiling/cprofile_basic_usage.py | suroegin-learning/learn-python | be5bda86add0dcd6f2fd3db737bb7d0d3ec5f853 | [
"MIT"
] | null | null | null | profiling/cprofile_basic_usage.py | suroegin-learning/learn-python | be5bda86add0dcd6f2fd3db737bb7d0d3ec5f853 | [
"MIT"
] | null | null | null | profiling/cprofile_basic_usage.py | suroegin-learning/learn-python | be5bda86add0dcd6f2fd3db737bb7d0d3ec5f853 | [
"MIT"
] | null | null | null | import hashlib
import cProfile
cProfile.run("hashlib.md5(b'rfogijerf839hrwh78ri').digest()") | 18.8 | 61 | 0.797872 | 11 | 94 | 6.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.06383 | 94 | 5 | 61 | 18.8 | 0.784091 | 0 | 0 | 0 | 0 | 0 | 0.473684 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5aa2fb0d3c4abf91f7eb565dd5b00bb95eadaf61 | 118 | py | Python | projetoWeb/tests/test_media.py | marcosv2017/feitonaaula | e97fc122cdac5c172d16e794d3c977f50aaa54e9 | [
"MIT"
] | null | null | null | projetoWeb/tests/test_media.py | marcosv2017/feitonaaula | e97fc122cdac5c172d16e794d3c977f50aaa54e9 | [
"MIT"
] | null | null | null | projetoWeb/tests/test_media.py | marcosv2017/feitonaaula | e97fc122cdac5c172d16e794d3c977f50aaa54e9 | [
"MIT"
] | null | null | null | from utils.utils import calculaMediaFinal
def test_calculaMediaFinal():
assert calculaMediaFinal(10,10) == 10.0
| 19.666667 | 43 | 0.779661 | 14 | 118 | 6.5 | 0.642857 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068627 | 0.135593 | 118 | 5 | 44 | 23.6 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
851b048e942038ae4c9d12784a99725519fba456 | 15,195 | py | Python | tests/data/wald_space_data.py | lpereira95/geomstats | c63a4cf28e6c09f6a6b9926e8a712838362017ba | [
"MIT"
] | null | null | null | tests/data/wald_space_data.py | lpereira95/geomstats | c63a4cf28e6c09f6a6b9926e8a712838362017ba | [
"MIT"
] | null | null | null | tests/data/wald_space_data.py | lpereira95/geomstats | c63a4cf28e6c09f6a6b9926e8a712838362017ba | [
"MIT"
] | null | null | null | import random
import geomstats.backend as gs
from geomstats.geometry.stratified.wald_space import Split, Topology, Wald, WaldSpace
from tests.data_generation import TestData, _PointSetTestData, _PointTestData
class WaldTestData(_PointTestData):
_Point = Wald
n_samples = 2
n_labels_list = random.sample(... | 34.222973 | 88 | 0.481145 | 1,938 | 15,195 | 3.615067 | 0.052632 | 0.021125 | 0.018841 | 0.059663 | 0.870968 | 0.845418 | 0.830431 | 0.801741 | 0.760919 | 0.710248 | 0 | 0.063278 | 0.349984 | 15,195 | 443 | 89 | 34.300226 | 0.646046 | 0.003817 | 0 | 0.6469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002257 | 0 | 1 | 0.03504 | false | 0 | 0.010782 | 0 | 0.118598 | 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 |
51fb0920b3f966dcabcfbe0096dfef169e34801b | 2,721 | py | Python | mak/libs/pyxx/cxx/grammar/expression/compound/postfix.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | mak/libs/pyxx/cxx/grammar/expression/compound/postfix.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | mak/libs/pyxx/cxx/grammar/expression/compound/postfix.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | """
postfix-expression:
primary-expression
postfix-expression [ expr-or-braced-init-list ]
postfix-expression ( expression-list? )
simple-type-specifier ( expression-list? )
typename-specifier ( expression-list? )
simple-type-specifier braced-init-list
typename-specifier braced-init-list
... | 36.28 | 99 | 0.697905 | 308 | 2,721 | 6.11039 | 0.133117 | 0.289054 | 0.135494 | 0.225824 | 0.809245 | 0.723698 | 0.62593 | 0.435707 | 0.268863 | 0.215197 | 0 | 0.005942 | 0.134142 | 2,721 | 75 | 100 | 36.28 | 0.792869 | 0.331128 | 0 | 0.189189 | 0 | 0 | 0.627624 | 0.059669 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108108 | false | 0.108108 | 0.108108 | 0 | 0.216216 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cf914045c595bf248ce88f970455d561a7a5ef4a | 48 | py | Python | wxGameBot/log/__init__.py | shines77/wxGameBot | 8d4395ec0ffdb1b6caedd65fd5efd7fb6705ff7d | [
"MIT"
] | null | null | null | wxGameBot/log/__init__.py | shines77/wxGameBot | 8d4395ec0ffdb1b6caedd65fd5efd7fb6705ff7d | [
"MIT"
] | null | null | null | wxGameBot/log/__init__.py | shines77/wxGameBot | 8d4395ec0ffdb1b6caedd65fd5efd7fb6705ff7d | [
"MIT"
] | 1 | 2018-04-08T22:05:28.000Z | 2018-04-08T22:05:28.000Z |
from .console import console, Logger, LogLevel
| 16 | 46 | 0.791667 | 6 | 48 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 47 | 24 | 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 |
cfad83eafd85e3c6b2e8bd6510a30911e86f95ba | 23 | py | Python | core/__init__.py | athlum/death-blood | 14584a5bbafa712d58f63159f34e2a526a48066d | [
"MIT"
] | null | null | null | core/__init__.py | athlum/death-blood | 14584a5bbafa712d58f63159f34e2a526a48066d | [
"MIT"
] | null | null | null | core/__init__.py | athlum/death-blood | 14584a5bbafa712d58f63159f34e2a526a48066d | [
"MIT"
] | null | null | null | from core.core import * | 23 | 23 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cfaf89e7ee39649aa597c24d338e50c98d0cfc1d | 36 | py | Python | pyforward/__init__.py | imranmaj/pyforward | 6bc39e5e0ee6e5a3e6ca9f5531bc7a6c053652f6 | [
"MIT"
] | 4 | 2019-05-28T10:34:57.000Z | 2020-12-05T19:25:03.000Z | pyforward/__init__.py | imranmaj/pyforward | 6bc39e5e0ee6e5a3e6ca9f5531bc7a6c053652f6 | [
"MIT"
] | null | null | null | pyforward/__init__.py | imranmaj/pyforward | 6bc39e5e0ee6e5a3e6ca9f5531bc7a6c053652f6 | [
"MIT"
] | null | null | null | from pyforward.models import Mapping | 36 | 36 | 0.888889 | 5 | 36 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cfdb6baa26235d9d0ed5d3f17c4c869b73ceb8d8 | 20 | py | Python | backend/admingym/gyms/permissions/__init__.py | ManuelRivera98/AdminGym | caf2b6f5e9a0ed9e98567a036bec9a34b44ecf13 | [
"MIT"
] | 1 | 2020-09-14T04:23:07.000Z | 2020-09-14T04:23:07.000Z | backend/admingym/gyms/permissions/__init__.py | ManuelRivera98/AdminGym | caf2b6f5e9a0ed9e98567a036bec9a34b44ecf13 | [
"MIT"
] | null | null | null | backend/admingym/gyms/permissions/__init__.py | ManuelRivera98/AdminGym | caf2b6f5e9a0ed9e98567a036bec9a34b44ecf13 | [
"MIT"
] | null | null | null | from .gyms import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cfddba779bbc5c4305f799cd1ce98c824b360b61 | 24,879 | py | Python | corehq/apps/data_interfaces/tests/test_utils.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | 471 | 2015-01-10T02:55:01.000Z | 2022-03-29T18:07:18.000Z | corehq/apps/data_interfaces/tests/test_utils.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | 14,354 | 2015-01-01T07:38:23.000Z | 2022-03-31T20:55:14.000Z | corehq/apps/data_interfaces/tests/test_utils.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | 175 | 2015-01-06T07:16:47.000Z | 2022-03-29T13:27:01.000Z | from datetime import datetime
from unittest.mock import Mock, patch
from uuid import uuid4
from django.test import SimpleTestCase, TestCase
from couchdbkit import ResourceNotFound
from corehq.apps.data_interfaces.tasks import (
_get_repeat_record_ids,
task_generate_ids_and_operate_on_payloads,
)
from corehq.... | 41.883838 | 89 | 0.627316 | 2,738 | 24,879 | 5.288897 | 0.054054 | 0.088115 | 0.099441 | 0.064636 | 0.882121 | 0.852704 | 0.819902 | 0.807817 | 0.795663 | 0.78054 | 0 | 0.003136 | 0.282166 | 24,879 | 593 | 90 | 41.954469 | 0.807716 | 0 | 0 | 0.647059 | 0 | 0 | 0.182202 | 0.106315 | 0 | 0 | 0 | 0 | 0.12549 | 1 | 0.068627 | false | 0 | 0.017647 | 0 | 0.092157 | 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 |
cfeeb1f5664fab1ac683b1664c256b38654b2439 | 3,231 | py | Python | tests/test_declarative_primary_keys.py | ri-gilfanov/sqlalchemy-things | de469b50196f9529c9e1611318b6d01fc8065f3e | [
"MIT"
] | null | null | null | tests/test_declarative_primary_keys.py | ri-gilfanov/sqlalchemy-things | de469b50196f9529c9e1611318b6d01fc8065f3e | [
"MIT"
] | 4 | 2021-06-29T16:13:37.000Z | 2021-07-14T02:03:03.000Z | tests/test_declarative_primary_keys.py | ri-gilfanov/sqlalchemy-things | de469b50196f9529c9e1611318b6d01fc8065f3e | [
"MIT"
] | null | null | null | import uuid
from datetime import datetime
from typing import Any
import pytest
import sqlalchemy as sa
from sqlalchemy.ext.asyncio import AsyncSession
from sqlalchemy_things.declarative import (
BigIntegerPrimaryKeyMixin,
DateTimePrimaryKeyMixin,
IntegerPrimaryKeyMixin,
UUIDPrimaryKeyMixin,
)
@pytes... | 31.067308 | 73 | 0.709068 | 385 | 3,231 | 5.667532 | 0.184416 | 0.12099 | 0.197984 | 0.109991 | 0.78231 | 0.78231 | 0.755729 | 0.755729 | 0.755729 | 0.755729 | 0 | 0.005447 | 0.204581 | 3,231 | 103 | 74 | 31.368932 | 0.84358 | 0.030331 | 0 | 0.6875 | 0 | 0 | 0.01599 | 0 | 0 | 0 | 0 | 0 | 0.05 | 1 | 0 | false | 0 | 0.0875 | 0 | 0.1875 | 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 |
cff27bde55d55281d4746dccbd8e6b908181f20d | 70 | py | Python | pyhigh/__init__.py | sgherbst/pyhigh | 0239db0308c10aae633d5ba3dd6b50e799075bc1 | [
"MIT"
] | 2 | 2020-03-17T00:47:32.000Z | 2020-07-08T09:23:24.000Z | pyhigh/__init__.py | sgherbst/pyhigh | 0239db0308c10aae633d5ba3dd6b50e799075bc1 | [
"MIT"
] | null | null | null | pyhigh/__init__.py | sgherbst/pyhigh | 0239db0308c10aae633d5ba3dd6b50e799075bc1 | [
"MIT"
] | null | null | null | from .elevation import get_elevation, get_elevation_batch, clear_cache | 70 | 70 | 0.885714 | 10 | 70 | 5.8 | 0.7 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 70 | 1 | 70 | 70 | 0.892308 | 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 |
322396cea3d1886ebf91f5e21f45db3cbabcc809 | 35 | py | Python | loopfield/__init__.py | mshahbionaut/loopfield | a51999140b5d2292fd75ce114906778e4aff5570 | [
"MIT"
] | 9 | 2017-10-18T15:58:33.000Z | 2022-03-04T15:44:18.000Z | loopfield/__init__.py | mshahbionaut/loopfield | a51999140b5d2292fd75ce114906778e4aff5570 | [
"MIT"
] | 3 | 2018-02-18T13:13:46.000Z | 2021-12-20T22:40:45.000Z | loopfield/__init__.py | mshahbionaut/loopfield | a51999140b5d2292fd75ce114906778e4aff5570 | [
"MIT"
] | 5 | 2017-05-09T18:01:23.000Z | 2021-12-20T22:35:18.000Z | from loopfield._loopfield import *
| 17.5 | 34 | 0.828571 | 4 | 35 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 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 |
5cdec10112b5363817ce69c956880c78e50bde41 | 88 | py | Python | kfs/layers/__init__.py | the-moliver/kfs | 6b1505aef46eb7e8dd0b04d76e16f45737288622 | [
"MIT"
] | 75 | 2016-05-07T03:04:34.000Z | 2021-07-04T18:01:40.000Z | kfs/layers/__init__.py | the-moliver/kfs | 6b1505aef46eb7e8dd0b04d76e16f45737288622 | [
"MIT"
] | 11 | 2017-04-09T00:01:58.000Z | 2018-11-19T00:30:11.000Z | kfs/layers/__init__.py | the-moliver/kfs | 6b1505aef46eb7e8dd0b04d76e16f45737288622 | [
"MIT"
] | 12 | 2017-02-11T00:25:39.000Z | 2018-12-20T03:14:52.000Z | from __future__ import absolute_import
from .core import *
from .convolutional import *
| 22 | 38 | 0.818182 | 11 | 88 | 6.090909 | 0.545455 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 3 | 39 | 29.333333 | 0.881579 | 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 |
7ac22b597ac5fd89a4548b416bf406f8146e4c39 | 20 | py | Python | dlen/__init__.py | Endika/dlen | 48e954934c0ec8768bb85a2087c37068c4d70456 | [
"MIT"
] | null | null | null | dlen/__init__.py | Endika/dlen | 48e954934c0ec8768bb85a2087c37068c4d70456 | [
"MIT"
] | null | null | null | dlen/__init__.py | Endika/dlen | 48e954934c0ec8768bb85a2087c37068c4d70456 | [
"MIT"
] | null | null | null | from .dlen import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8fde09991187785e175384ea41cec8dc80a6130c | 144 | py | Python | lib/__init__.py | 144881-Studios/pymodule | 70f1de59ecd5f840072d15d0e5afe974ccf886d2 | [
"MIT"
] | 1 | 2020-08-14T13:54:22.000Z | 2020-08-14T13:54:22.000Z | lib/__init__.py | 144881-Studios/pymodule | 70f1de59ecd5f840072d15d0e5afe974ccf886d2 | [
"MIT"
] | 4 | 2020-08-19T08:09:51.000Z | 2020-10-06T06:46:46.000Z | lib/__init__.py | 144881-Studios/pymodule | 70f1de59ecd5f840072d15d0e5afe974ccf886d2 | [
"MIT"
] | null | null | null | import sys as _py
import os as _os
def path(self) :
return _py.path(self)[2]
def init(self) :
_os.system("start "+path(self)) # Windows
| 20.571429 | 45 | 0.666667 | 25 | 144 | 3.68 | 0.56 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.194444 | 144 | 6 | 46 | 24 | 0.784483 | 0.048611 | 0 | 0 | 0 | 0 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
891b0b08f26cd4c1c31c232ed3c6dbc5b433c192 | 147 | py | Python | TSDFRenderer/engine/__init__.py | DLR-RM/SingleViewReconstruction | 8669565c1addee1763896da4b8c4811bb6f55e45 | [
"MIT"
] | 190 | 2020-08-20T09:29:35.000Z | 2022-03-26T20:14:31.000Z | TSDFRenderer/engine/__init__.py | yohannes-taye/SingleViewReconstruction | 182ab38f662dd1fbbf5f8f70b212747872a2a398 | [
"MIT"
] | 10 | 2020-09-22T13:03:18.000Z | 2022-01-18T08:37:47.000Z | TSDFRenderer/engine/__init__.py | yohannes-taye/SingleViewReconstruction | 182ab38f662dd1fbbf5f8f70b212747872a2a398 | [
"MIT"
] | 20 | 2020-08-26T11:45:24.000Z | 2022-01-27T04:28:29.000Z | from engine.RenderObject import RenderObject, TSDFRenderObject, TSDFRenderObjectTrueAndPrediction
from engine.WindowManager import WindowManager
| 29.4 | 97 | 0.891156 | 12 | 147 | 10.916667 | 0.583333 | 0.152672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 147 | 4 | 98 | 36.75 | 0.97037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
64e8a3a2b3514a83717ef32d8a8215ef7882b522 | 1,398 | py | Python | backend/products/serializers.py | Ahmedlotfe/Django-REST-API | 15eb695bc63479ff2514bea0b8b968ac9d64d31f | [
"MIT"
] | null | null | null | backend/products/serializers.py | Ahmedlotfe/Django-REST-API | 15eb695bc63479ff2514bea0b8b968ac9d64d31f | [
"MIT"
] | null | null | null | backend/products/serializers.py | Ahmedlotfe/Django-REST-API | 15eb695bc63479ff2514bea0b8b968ac9d64d31f | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Product
class ProductSerializer(serializers.ModelSerializer):
my_discount = serializers.SerializerMethodField(read_only=True)
class Meta:
model = Product
fields = [
'title',
'content',
'price',
... | 22.918033 | 67 | 0.572961 | 128 | 1,398 | 6.085938 | 0.289063 | 0.115533 | 0.107831 | 0.138639 | 0.754814 | 0.716303 | 0.716303 | 0.716303 | 0.716303 | 0.716303 | 0 | 0 | 0.339771 | 1,398 | 60 | 68 | 23.3 | 0.843987 | 0 | 0 | 0.787234 | 0 | 0 | 0.082976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06383 | false | 0 | 0.042553 | 0 | 0.404255 | 0.042553 | 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 |
8f1ec826c4dacd6e7fb724568c01c55be33f9db6 | 540 | py | Python | pcwg/visualisation/turbulence.py | lcameron05/PCWG | 8ae8ea7d644aa5bec0d1651101d83d8f17994f4b | [
"MIT"
] | 14 | 2015-01-15T12:40:51.000Z | 2019-06-14T16:10:08.000Z | pcwg/visualisation/turbulence.py | lzhiwen3090/PCWG | 795e3ea267c7b87187dce04721c91a9d9c7999a7 | [
"MIT"
] | 121 | 2015-01-06T11:31:25.000Z | 2018-05-29T21:13:23.000Z | pcwg/visualisation/turbulence.py | lzhiwen3090/PCWG | 795e3ea267c7b87187dce04721c91a9d9c7999a7 | [
"MIT"
] | 26 | 2015-01-15T12:41:09.000Z | 2019-04-11T14:45:32.000Z | from plot_base import PlotBase
class TurbulenceByDirection(PlotBase):
def plot(self):
self.plot_by(self.analysis.windDirection, self.analysis.hubTurbulence, self.analysis.dataFrame, gridLines = True)
class TurbulenceBySpeed(PlotBase):
def plot(self):
self.plot_by(self.analysis.hubWindSpeed, self.analysis.hubTur... | 41.538462 | 115 | 0.811111 | 65 | 540 | 6.676923 | 0.307692 | 0.248848 | 0.103687 | 0.131336 | 0.714286 | 0.714286 | 0.714286 | 0.714286 | 0.578341 | 0 | 0 | 0 | 0.083333 | 540 | 13 | 116 | 41.538462 | 0.876768 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8f2913d252a05fd6d86834703c4611abe78a61f9 | 20 | py | Python | bestballsim/__init__.py | sansbacon/bestballsim | 30688a5aa2688527fe48e05fdd21fd787e385bfd | [
"MIT"
] | null | null | null | bestballsim/__init__.py | sansbacon/bestballsim | 30688a5aa2688527fe48e05fdd21fd787e385bfd | [
"MIT"
] | null | null | null | bestballsim/__init__.py | sansbacon/bestballsim | 30688a5aa2688527fe48e05fdd21fd787e385bfd | [
"MIT"
] | null | null | null | from .byes import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8f618ee3ac065528c1088c6710798e472879d9f5 | 18 | py | Python | recipe/run_test.py | NeoGeographyToolkit/gdal-feedstock | a4524a0489c7a56c9f91e29daac549f5948bf492 | [
"BSD-3-Clause"
] | null | null | null | recipe/run_test.py | NeoGeographyToolkit/gdal-feedstock | a4524a0489c7a56c9f91e29daac549f5948bf492 | [
"BSD-3-Clause"
] | null | null | null | recipe/run_test.py | NeoGeographyToolkit/gdal-feedstock | a4524a0489c7a56c9f91e29daac549f5948bf492 | [
"BSD-3-Clause"
] | null | null | null | print ("passed")
| 6 | 16 | 0.611111 | 2 | 18 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 2 | 17 | 9 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
8f6b9c9a89f33020ee7e020544f5f8afadc2463f | 28,683 | py | Python | api/app/models/test_storage.py | ewilczynski/enermaps | 361f8479209a5dcddc8ac0a9b53d695afd229b03 | [
"Apache-2.0"
] | null | null | null | api/app/models/test_storage.py | ewilczynski/enermaps | 361f8479209a5dcddc8ac0a9b53d695afd229b03 | [
"Apache-2.0"
] | null | null | null | api/app/models/test_storage.py | ewilczynski/enermaps | 361f8479209a5dcddc8ac0a9b53d695afd229b03 | [
"Apache-2.0"
] | null | null | null | import io
import json
import os
import shutil
import tempfile
import zipfile
from pathlib import Path
from app.common import path
from app.common.test import BaseApiTest
from app.models import storage
ENCODED_VAR = path.encode("var")
class TestCreate(BaseApiTest):
def testArea(self):
with self.flask_app... | 37.940476 | 111 | 0.562319 | 3,081 | 28,683 | 5.013632 | 0.055177 | 0.15537 | 0.122354 | 0.158542 | 0.918625 | 0.903994 | 0.878358 | 0.86923 | 0.852075 | 0.822166 | 0 | 0.063015 | 0.323362 | 28,683 | 755 | 112 | 37.990728 | 0.732894 | 0.001011 | 0 | 0.627145 | 0 | 0.00312 | 0.201306 | 0.154147 | 0 | 0 | 0 | 0 | 0.185647 | 1 | 0.067083 | false | 0 | 0.015601 | 0 | 0.092044 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.