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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fa15bb67b93340d194098e6afb7420d913b7f2ad | 4,015 | py | Python | unittests/utility/test_utils.py | rpratap-bot/cephci | 113ce2afc6bc22a66cce1fede21d4c53834a61f4 | [
"MIT"
] | null | null | null | unittests/utility/test_utils.py | rpratap-bot/cephci | 113ce2afc6bc22a66cce1fede21d4c53834a61f4 | [
"MIT"
] | null | null | null | unittests/utility/test_utils.py | rpratap-bot/cephci | 113ce2afc6bc22a66cce1fede21d4c53834a61f4 | [
"MIT"
] | null | null | null | import os
import pytest
from utility.utils import custom_ceph_config
suite_config = {'global': {'osd_pool_default_pg_num': 64,
'osd_default_pool_size': 2,
'osd_pool_default_pgp_num': 64,
'mon_max_pg_per_osd': 1024,
... | 39.752475 | 70 | 0.56812 | 461 | 4,015 | 4.427332 | 0.119306 | 0.088192 | 0.141107 | 0.082313 | 0.902009 | 0.877511 | 0.848604 | 0.798628 | 0.77805 | 0.764821 | 0 | 0.043882 | 0.330262 | 4,015 | 100 | 71 | 40.15 | 0.715136 | 0 | 0 | 0.607595 | 0 | 0 | 0.284932 | 0.171357 | 0 | 0 | 0 | 0 | 0.101266 | 1 | 0.113924 | false | 0 | 0.037975 | 0.012658 | 0.164557 | 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 |
fa174b1b9b726a8e138611adc50fbede0dcf70e8 | 96 | py | Python | venv/lib/python3.8/site-packages/clikit/utils/command.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/clikit/utils/command.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/clikit/utils/command.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/2b/35/8c/aa657928ee14a7f7bd76e20e4fb17d02a241d5018ec7159fc1ba17c650 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa2433dc6b1cd7ca424f2da130da1c4295fbbaf1 | 154 | py | Python | blog/admin.py | alcibiadesBustillo/twitter_clone | 6e61a06484800d687384cee289daff5d8bfff330 | [
"MIT"
] | null | null | null | blog/admin.py | alcibiadesBustillo/twitter_clone | 6e61a06484800d687384cee289daff5d8bfff330 | [
"MIT"
] | null | null | null | blog/admin.py | alcibiadesBustillo/twitter_clone | 6e61a06484800d687384cee289daff5d8bfff330 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Post
# Register your models here.
@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
pass
| 19.25 | 34 | 0.779221 | 21 | 154 | 5.714286 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 154 | 7 | 35 | 22 | 0.909091 | 0.168831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fa6eaabf46b74547c222e05c763a44240ec1d3f4 | 45 | py | Python | 2.Python/m2.py | sgeek28/Data-Science | ea0bfd6eeb78f534ab89fc9d4c306adb0087e07e | [
"MIT"
] | null | null | null | 2.Python/m2.py | sgeek28/Data-Science | ea0bfd6eeb78f534ab89fc9d4c306adb0087e07e | [
"MIT"
] | null | null | null | 2.Python/m2.py | sgeek28/Data-Science | ea0bfd6eeb78f534ab89fc9d4c306adb0087e07e | [
"MIT"
] | null | null | null | import m1
print("M2 name is %s",(__name__))
| 11.25 | 33 | 0.666667 | 8 | 45 | 3.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.155556 | 45 | 3 | 34 | 15 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.288889 | 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 |
d7009732b9dab86d2fdae57bce3b257877dd38d2 | 42 | py | Python | src/Driver/__init__.py | TTTPOB/UnifiedMessageRelay | 7cba8febee4e6d834a15176779c54019c769dc96 | [
"MIT"
] | null | null | null | src/Driver/__init__.py | TTTPOB/UnifiedMessageRelay | 7cba8febee4e6d834a15176779c54019c769dc96 | [
"MIT"
] | null | null | null | src/Driver/__init__.py | TTTPOB/UnifiedMessageRelay | 7cba8febee4e6d834a15176779c54019c769dc96 | [
"MIT"
] | null | null | null | from . import QQ, Telegram, Line, Discord
| 21 | 41 | 0.738095 | 6 | 42 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 1 | 42 | 42 | 0.885714 | 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 |
d70c2245993f9b335f496218760144f60c24002e | 11,243 | py | Python | UserNameListGenerator.py | 3xxu5/UserNameListGenerator | d3afac14a91621bf02413316c3a9e8b90dda6e65 | [
"Unlicense"
] | 3 | 2020-03-22T19:53:31.000Z | 2020-07-16T11:51:16.000Z | UserNameListGenerator.py | dpdug4n/UserNameListGenerator | d3afac14a91621bf02413316c3a9e8b90dda6e65 | [
"Unlicense"
] | null | null | null | UserNameListGenerator.py | dpdug4n/UserNameListGenerator | d3afac14a91621bf02413316c3a9e8b90dda6e65 | [
"Unlicense"
] | null | null | null | #UserName List Generator - D.Patrick Dugan
#There probably is a more pythonic way to do this...
import argparse
import sys
class UserNameGen(object):
def __init__(self, username, usersfile, outfile, numappend, email):
self.username = username
self.usersfile = usersfile
... | 55.935323 | 145 | 0.524593 | 1,155 | 11,243 | 5.04329 | 0.12987 | 0.128412 | 0.151416 | 0.194678 | 0.748498 | 0.746438 | 0.709013 | 0.696652 | 0.671588 | 0.669528 | 0 | 0.026043 | 0.347683 | 11,243 | 201 | 146 | 55.935323 | 0.768203 | 0.016899 | 0 | 0.111111 | 0 | 0 | 0.038993 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.274854 | false | 0 | 0.011696 | 0.245614 | 0.538012 | 0.02924 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
d73f78a323cd7bf4904483ca801f6f6015ed4d1c | 8,511 | py | Python | autolens/simulator/simulator.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | 1 | 2020-04-06T20:07:56.000Z | 2020-04-06T20:07:56.000Z | autolens/simulator/simulator.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | null | null | null | autolens/simulator/simulator.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | null | null | null | from autoarray.structures import grids
from autoarray.simulator import simulator
from autolens.lens import ray_tracing
class ImagingSimulator(simulator.ImagingSimulator):
def __init__(
self,
shape_2d,
pixel_scales,
sub_size,
psf,
exposure_time,
background_le... | 37.328947 | 126 | 0.646693 | 1,106 | 8,511 | 4.786618 | 0.159132 | 0.036267 | 0.011334 | 0.017 | 0.876842 | 0.86853 | 0.848508 | 0.848508 | 0.814507 | 0.814507 | 0 | 0.010354 | 0.29644 | 8,511 | 227 | 127 | 37.493392 | 0.873747 | 0.502526 | 0 | 0.55914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086022 | false | 0 | 0.032258 | 0 | 0.204301 | 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 |
d750e0d331763b0421a82014fd9ea2b97c4249c8 | 5,451 | py | Python | tests/download_helpers/github.py | everestmz/l2tdevtools | e416061d4765bb698fdca258b400b2a44dabc21d | [
"Apache-2.0"
] | null | null | null | tests/download_helpers/github.py | everestmz/l2tdevtools | e416061d4765bb698fdca258b400b2a44dabc21d | [
"Apache-2.0"
] | null | null | null | tests/download_helpers/github.py | everestmz/l2tdevtools | e416061d4765bb698fdca258b400b2a44dabc21d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for the download helper object implementations."""
from __future__ import unicode_literals
import os
import unittest
from l2tdevtools.download_helpers import github
from tests import test_lib
@unittest.skipIf(
os.environ.get('TRAVIS_OS_NAME') == 'osx',
... | 34.283019 | 79 | 0.749587 | 599 | 5,451 | 6.51419 | 0.155259 | 0.078934 | 0.04613 | 0.066889 | 0.823936 | 0.821886 | 0.798821 | 0.798821 | 0.798821 | 0.758073 | 0 | 0.010918 | 0.143093 | 5,451 | 158 | 80 | 34.5 | 0.824449 | 0.121813 | 0 | 0.681319 | 0 | 0.032967 | 0.136258 | 0.019072 | 0 | 0 | 0 | 0 | 0.098901 | 1 | 0.098901 | false | 0 | 0.054945 | 0 | 0.32967 | 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 |
ad20bbfe62a33e23ef0434af176a8ce1aaef65d5 | 157 | py | Python | av_bakery/av_bakery/doctype/avb_customer/test_avb_customer.py | yuvabedev/AV-Bakery-APP | 2a58a6283f9e3c11fa91706b82594a6f4d9cef94 | [
"MIT"
] | null | null | null | av_bakery/av_bakery/doctype/avb_customer/test_avb_customer.py | yuvabedev/AV-Bakery-APP | 2a58a6283f9e3c11fa91706b82594a6f4d9cef94 | [
"MIT"
] | null | null | null | av_bakery/av_bakery/doctype/avb_customer/test_avb_customer.py | yuvabedev/AV-Bakery-APP | 2a58a6283f9e3c11fa91706b82594a6f4d9cef94 | [
"MIT"
] | null | null | null | # Copyright (c) 2022, mariya@yuvabe.com and Contributors
# See license.txt
# import frappe
import unittest
class TestAVBCustomer(unittest.TestCase):
pass
| 17.444444 | 56 | 0.783439 | 20 | 157 | 6.15 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.133758 | 157 | 8 | 57 | 19.625 | 0.875 | 0.535032 | 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 |
ad71c5b9cfc506f170cc060787584b2fadde0160 | 5,458 | py | Python | tests/test_integration.py | repole/drowsy | 1360068c52d4ef4fbb7bcb2db2e4a5ce9c3c7294 | [
"MIT"
] | 4 | 2016-06-16T20:16:38.000Z | 2020-08-18T19:51:40.000Z | tests/test_integration.py | repole/drowsy | 1360068c52d4ef4fbb7bcb2db2e4a5ce9c3c7294 | [
"MIT"
] | 2 | 2017-10-05T11:14:39.000Z | 2018-04-15T00:54:35.000Z | tests/test_integration.py | repole/drowsy | 1360068c52d4ef4fbb7bcb2db2e4a5ce9c3c7294 | [
"MIT"
] | null | null | null | """
tests.test_integration
~~~~~~~~~~~~~~~~~~~~~~
Integration tests for Drowsy.
"""
# :copyright: (c) 2016-2020 by Nicholas Repole and contributors.
# See AUTHORS for more details.
# :license: MIT - See LICENSE for more details.
from drowsy.parser import ModelQueryParamParser
from .base import... | 36.145695 | 71 | 0.622023 | 586 | 5,458 | 5.53413 | 0.174061 | 0.067838 | 0.055504 | 0.082023 | 0.798335 | 0.734813 | 0.721862 | 0.721862 | 0.721862 | 0.702128 | 0 | 0.012765 | 0.282338 | 5,458 | 150 | 72 | 36.386667 | 0.815165 | 0.111579 | 0 | 0.704918 | 0 | 0 | 0.061638 | 0.030506 | 0 | 0 | 0 | 0 | 0.114754 | 1 | 0.057377 | false | 0 | 0.02459 | 0 | 0.090164 | 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 |
ad871c79a8a17859a411087a2f543210fb62f593 | 95 | py | Python | unit_test.py | Woufeil/MyPingSweeper | 8095b3257c74befb23dc0c52a8b602cbabd3e718 | [
"MIT"
] | null | null | null | unit_test.py | Woufeil/MyPingSweeper | 8095b3257c74befb23dc0c52a8b602cbabd3e718 | [
"MIT"
] | null | null | null | unit_test.py | Woufeil/MyPingSweeper | 8095b3257c74befb23dc0c52a8b602cbabd3e718 | [
"MIT"
] | null | null | null | import mypingsweeper as script
def test_main():
assert script.main("191.168.1.0/27") == 0
| 19 | 45 | 0.694737 | 16 | 95 | 4.0625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 0.157895 | 95 | 4 | 46 | 23.75 | 0.675 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 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 |
a8e39a76c04f465dd001650fbbd73b4b0b65ae3a | 9,997 | py | Python | models/denoising/rednet.py | smikhai1/deep-image-denoising | 157180fc378d580e29c14885f91ed80d23074897 | [
"MIT"
] | 2 | 2021-03-11T13:07:06.000Z | 2022-02-17T12:40:47.000Z | models/denoising/rednet.py | smikhai1/deep-image-denoising | 157180fc378d580e29c14885f91ed80d23074897 | [
"MIT"
] | null | null | null | models/denoising/rednet.py | smikhai1/deep-image-denoising | 157180fc378d580e29c14885f91ed80d23074897 | [
"MIT"
] | null | null | null | import torch.nn as nn
import torch.nn.functional as F
class RED_Net_30(nn.Module):
"""
This baseline is 30-layered residual encoder-decoder neural network
with symmetric skip-connections between convolutional and deconvolutional
layers with step 2, ReLU activations, filters of constant size 3x3, consta... | 26.44709 | 83 | 0.505652 | 1,340 | 9,997 | 3.655224 | 0.059701 | 0.033687 | 0.142915 | 0.153124 | 0.901797 | 0.879747 | 0.879747 | 0.85443 | 0.85443 | 0.843814 | 0 | 0.111828 | 0.364009 | 9,997 | 378 | 84 | 26.44709 | 0.65854 | 0.062919 | 0 | 0.609929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014184 | false | 0 | 0.007092 | 0 | 0.035461 | 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 |
d152eb5edf56e20b76acf2c0f0ab42fbb0121142 | 11,652 | py | Python | tests/commands/test_build_full_response.py | atviriduomenys/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 2 | 2019-03-14T06:41:14.000Z | 2019-03-26T11:48:14.000Z | tests/commands/test_build_full_response.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 44 | 2019-04-05T15:52:45.000Z | 2022-03-30T07:41:33.000Z | tests/commands/test_build_full_response.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 1 | 2019-04-01T09:54:27.000Z | 2019-04-01T09:54:27.000Z | from spinta import commands
from spinta.commands import build_full_response
from spinta.components import Model
def create_model(context, schema):
manifest = context.get('store').manifest
data = {
'type': 'model',
'name': 'model',
**schema,
}
model = Model()
model.eid = '92... | 22.625243 | 80 | 0.412805 | 939 | 11,652 | 4.920128 | 0.090522 | 0.101299 | 0.073593 | 0.074026 | 0.829437 | 0.812987 | 0.805195 | 0.774242 | 0.759307 | 0.758658 | 0 | 0.014724 | 0.434604 | 11,652 | 514 | 81 | 22.669261 | 0.686551 | 0.023172 | 0 | 0.663717 | 0 | 0 | 0.130362 | 0.003165 | 0 | 0 | 0 | 0 | 0.042035 | 1 | 0.042035 | false | 0 | 0.006637 | 0 | 0.050885 | 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 |
0f1e2b57ee82dac64aedaa3b7958c8ba1af6d299 | 41 | py | Python | seabed/__init__.py | noaa-ocs-modeling/seabed | 95c9a2fb8a2fe678d783a134af69be6873d6a595 | [
"CC0-1.0"
] | null | null | null | seabed/__init__.py | noaa-ocs-modeling/seabed | 95c9a2fb8a2fe678d783a134af69be6873d6a595 | [
"CC0-1.0"
] | null | null | null | seabed/__init__.py | noaa-ocs-modeling/seabed | 95c9a2fb8a2fe678d783a134af69be6873d6a595 | [
"CC0-1.0"
] | null | null | null | from .ngdc import NGDCSeabedDescriptions
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 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 |
0f2e1bf683130047e30f9689dd6d4ee63ac073ef | 21 | py | Python | codes/nlper/modules/__init__.py | zhaoxiongjun/NLPer-Arsenal | c62cc155de5f471a522a26199893348abd9184f4 | [
"MIT"
] | 839 | 2020-07-13T00:53:01.000Z | 2022-03-31T15:09:38.000Z | codes/nlper/modules/__init__.py | 760bdteam/NLPer-Arsenal | 17f34ec68c83babf8c3e5959fed14b9f251f869f | [
"MIT"
] | 8 | 2021-07-16T01:31:50.000Z | 2022-03-11T12:14:22.000Z | codes/nlper/modules/__init__.py | 760bdteam/NLPer-Arsenal | 17f34ec68c83babf8c3e5959fed14b9f251f869f | [
"MIT"
] | 108 | 2021-04-26T01:01:13.000Z | 2022-03-26T08:47:04.000Z | from .mlp import MLP
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0f2ed8dbdd75c324a2270542392afc144cea3b11 | 174 | py | Python | wtu/task/__init__.py | ag-sc/WTU | 17d28696ba0a9391bf6f29dde91d2201c74ac292 | [
"Apache-2.0"
] | 2 | 2018-07-30T15:00:38.000Z | 2021-05-21T08:38:17.000Z | wtu/task/__init__.py | ag-sc/WTU | 17d28696ba0a9391bf6f29dde91d2201c74ac292 | [
"Apache-2.0"
] | null | null | null | wtu/task/__init__.py | ag-sc/WTU | 17d28696ba0a9391bf6f29dde91d2201c74ac292 | [
"Apache-2.0"
] | null | null | null | from abc import ABCMeta, abstractmethod
from wtu.table import Table
class Task(metaclass=ABCMeta):
@abstractmethod
def run(self, table: Table) -> bool:
pass
| 21.75 | 40 | 0.712644 | 22 | 174 | 5.636364 | 0.681818 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 174 | 7 | 41 | 24.857143 | 0.898551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0f43da08fb7568b744096fc683d41d7f52de795e | 12,134 | py | Python | analyze_foldamers/tests/test_angle_distributions.py | shirtsgroup/analyze_foldamers | 17a7b948d1d0d4fbfb1d84d58753289404fb99a9 | [
"MIT"
] | null | null | null | analyze_foldamers/tests/test_angle_distributions.py | shirtsgroup/analyze_foldamers | 17a7b948d1d0d4fbfb1d84d58753289404fb99a9 | [
"MIT"
] | 33 | 2020-08-05T23:00:56.000Z | 2022-03-21T22:37:03.000Z | analyze_foldamers/tests/test_angle_distributions.py | shirtsgroup/analyze_foldamers | 17a7b948d1d0d4fbfb1d84d58753289404fb99a9 | [
"MIT"
] | null | null | null | """
Unit and regression test for the analyze_foldamers package.
"""
# Import package, test suite, and other packages as needed
import analyze_foldamers
import pytest
import sys
import os
import pickle
from cg_openmm.cg_model.cgmodel import CGModel
from analyze_foldamers.parameters.bond_distributions import *
from anal... | 30.718987 | 79 | 0.672243 | 1,631 | 12,134 | 4.714286 | 0.063765 | 0.042138 | 0.04552 | 0.061907 | 0.927039 | 0.918455 | 0.910261 | 0.841072 | 0.834439 | 0.806347 | 0 | 0.005471 | 0.216664 | 12,134 | 395 | 80 | 30.718987 | 0.803472 | 0.149745 | 0 | 0.657534 | 0 | 0 | 0.203947 | 0.125687 | 0 | 0 | 0 | 0 | 0.082192 | 1 | 0.082192 | false | 0 | 0.041096 | 0 | 0.123288 | 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 |
0f9066f3e6deaa306f78ab0f73c61b11930f29bb | 7,088 | py | Python | president/tests/gameplay/test_settings.py | BrandonShute/President | abd35471e4a861d25bcf153660a947536c69738b | [
"MIT"
] | null | null | null | president/tests/gameplay/test_settings.py | BrandonShute/President | abd35471e4a861d25bcf153660a947536c69738b | [
"MIT"
] | null | null | null | president/tests/gameplay/test_settings.py | BrandonShute/President | abd35471e4a861d25bcf153660a947536c69738b | [
"MIT"
] | null | null | null | from unittest import TestCase
from gameplay.settings import game_settings, TRUMP_CARD_SHORT_NAME
from gameplay.settings import START_CARD_SUIT, START_CARD_SHORT_NAME
from gameplay.president_card import PresidentCard
from gameplay.card_constants import SPADES, CLUBS, HEARTS, DIAMONDS
class SettingsTest(TestCase):
... | 34.407767 | 110 | 0.680023 | 838 | 7,088 | 5.307876 | 0.116945 | 0.056205 | 0.044514 | 0.06205 | 0.805306 | 0.782824 | 0.75607 | 0.725944 | 0.710656 | 0.672437 | 0 | 0.006701 | 0.242099 | 7,088 | 205 | 111 | 34.57561 | 0.821296 | 0 | 0 | 0.614379 | 0 | 0 | 0.043178 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.124183 | false | 0.03268 | 0.039216 | 0 | 0.169935 | 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 |
0f9444609cf8d59976ce2cb7f684308de6d3dfe4 | 44,010 | py | Python | cryptoapis/api/informative_api.py | Crypto-APIs/Crypto_APIs_2.0_SDK_Python | c59ebd914850622b2c6500c4c30af31fb9cecf0e | [
"MIT"
] | 5 | 2021-05-17T04:45:03.000Z | 2022-03-23T12:51:46.000Z | cryptoapis/api/informative_api.py | Crypto-APIs/Crypto_APIs_2.0_SDK_Python | c59ebd914850622b2c6500c4c30af31fb9cecf0e | [
"MIT"
] | null | null | null | cryptoapis/api/informative_api.py | Crypto-APIs/Crypto_APIs_2.0_SDK_Python | c59ebd914850622b2c6500c4c30af31fb9cecf0e | [
"MIT"
] | 2 | 2021-06-02T07:32:26.000Z | 2022-02-12T02:36:23.000Z | """
CryptoAPIs
Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of thei... | 41.874405 | 484 | 0.522677 | 3,987 | 44,010 | 5.592927 | 0.098821 | 0.020584 | 0.027266 | 0.028028 | 0.770528 | 0.752679 | 0.732679 | 0.718956 | 0.703798 | 0.695278 | 0 | 0.010743 | 0.392956 | 44,010 | 1,050 | 485 | 41.914286 | 0.823926 | 0.362554 | 0 | 0.713904 | 0 | 0 | 0.231854 | 0.042479 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009358 | false | 0 | 0.046791 | 0 | 0.065508 | 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 |
7ea93dd7733aab03deaca4ea27798d71c6e9ce05 | 146,082 | py | Python | tests/unit/gapic/pubsublite_v1/test_admin_service.py | tmdiep/python-pubsublite | 8edef6708fab60ce29c040f3de60783fe31b55ae | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/pubsublite_v1/test_admin_service.py | tmdiep/python-pubsublite | 8edef6708fab60ce29c040f3de60783fe31b55ae | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/pubsublite_v1/test_admin_service.py | tmdiep/python-pubsublite | 8edef6708fab60ce29c040f3de60783fe31b55ae | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 37.010894 | 115 | 0.688647 | 16,921 | 146,082 | 5.739614 | 0.024585 | 0.013406 | 0.024094 | 0.023672 | 0.934102 | 0.907177 | 0.886615 | 0.860348 | 0.844265 | 0.823198 | 0 | 0.00358 | 0.225476 | 146,082 | 3,946 | 116 | 37.020274 | 0.854796 | 0.221027 | 0 | 0.69033 | 0 | 0 | 0.074166 | 0.027216 | 0 | 0 | 0 | 0 | 0.142799 | 1 | 0.049776 | false | 0 | 0.009792 | 0.000816 | 0.060384 | 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 |
0e54aa2cc5108bf97327827024ef82726428cac9 | 86 | py | Python | configur/__init__.py | StudioTrackr/configur | 6e7505a812d830955f2ef65fc14b650b10487e37 | [
"MIT"
] | null | null | null | configur/__init__.py | StudioTrackr/configur | 6e7505a812d830955f2ef65fc14b650b10487e37 | [
"MIT"
] | null | null | null | configur/__init__.py | StudioTrackr/configur | 6e7505a812d830955f2ef65fc14b650b10487e37 | [
"MIT"
] | null | null | null | from configur.config import Settings
from configur.logging_config import init_logging
| 28.666667 | 48 | 0.883721 | 12 | 86 | 6.166667 | 0.583333 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 49 | 43 | 0.948718 | 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 |
0e72de8675c3e4801f9d7ef0a6dfea644f9f921f | 132 | py | Python | Chapter01/manage.py | allainwonderland/Mastering-Flask-Web-Development-Second-Edition | f8963b73747d98d040f1d753e0f85b6ce6adf2fe | [
"MIT"
] | null | null | null | Chapter01/manage.py | allainwonderland/Mastering-Flask-Web-Development-Second-Edition | f8963b73747d98d040f1d753e0f85b6ce6adf2fe | [
"MIT"
] | null | null | null | Chapter01/manage.py | allainwonderland/Mastering-Flask-Web-Development-Second-Edition | f8963b73747d98d040f1d753e0f85b6ce6adf2fe | [
"MIT"
] | null | null | null | from main import app, db, User
@app.shell_context_processor
def make_shell_context():
return dict(app=app, db=db, User=User)
| 16.5 | 42 | 0.742424 | 22 | 132 | 4.272727 | 0.590909 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 7 | 43 | 18.857143 | 0.839286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7ec762e199a3cf05d8de4f80904464fb2feca1df | 541 | py | Python | geokit/test/TEST_ALL.py | PyPSA/geokit | 4c6c98fc8fbae11f44fea46bcdf6299cbf65e0e1 | [
"MIT"
] | 1 | 2021-03-12T15:52:49.000Z | 2021-03-12T15:52:49.000Z | geokit/test/TEST_ALL.py | r-beer/geokit-1 | 950d86467a44b97b49df3837dd5a2fff59383c35 | [
"MIT"
] | null | null | null | geokit/test/TEST_ALL.py | r-beer/geokit-1 | 950d86467a44b97b49df3837dd5a2fff59383c35 | [
"MIT"
] | 1 | 2020-08-06T17:25:35.000Z | 2020-08-06T17:25:35.000Z | import os
print("\nTESTING: util...")
os.system("python test_util.py")
print("\nTESTING: srs...")
os.system("python test_srs.py")
print("\nTESTING: geom...")
os.system("python test_geom.py")
print("\nTESTING: raster...")
os.system("python test_raster.py")
print("\nTESTING: vector...")
os.system("python test_vector... | 20.037037 | 38 | 0.698706 | 74 | 541 | 5 | 0.216216 | 0.281081 | 0.302703 | 0.389189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079482 | 541 | 26 | 39 | 20.807692 | 0.742972 | 0 | 0 | 0 | 0 | 0 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.058824 | 0 | 0.058824 | 0.470588 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7ecbfdb337ebe4111b61e3e30088974c98dad157 | 2,312 | py | Python | tests/unit/app/api/representations/test_json.py | datphan/moviecrab | e3bcff700b994388f1ded68d268a960b10d57a81 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/app/api/representations/test_json.py | datphan/moviecrab | e3bcff700b994388f1ded68d268a960b10d57a81 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/app/api/representations/test_json.py | datphan/moviecrab | e3bcff700b994388f1ded68d268a960b10d57a81 | [
"BSD-3-Clause"
] | null | null | null | from mock import patch, MagicMock
from nose.plugins.attrib import attr
from tests.unit import UnitTestCase
class JsonTestCase(UnitTestCase):
@attr('smoke')
@patch('app.api.representations.json.current_app')
@patch('app.api.representations.json.make_response')
def test_output_json(self, mock_make_res... | 31.671233 | 92 | 0.67301 | 270 | 2,312 | 5.451852 | 0.225926 | 0.067935 | 0.076087 | 0.101902 | 0.870924 | 0.870924 | 0.870924 | 0.870924 | 0.870924 | 0.870924 | 0 | 0.005028 | 0.225779 | 2,312 | 72 | 93 | 32.111111 | 0.817318 | 0 | 0 | 0.692308 | 0 | 0 | 0.138408 | 0.070934 | 0 | 0 | 0 | 0 | 0.211538 | 1 | 0.038462 | false | 0 | 0.096154 | 0 | 0.153846 | 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 |
7d1ce0218b47c6a9a831d814d0cad8d398d8504d | 35 | py | Python | horoscope/__init__.py | tapasweni-pathak/pyhoroscope | bd619b28756b416869d0f616395bd5b1f5daf855 | [
"MIT"
] | 10 | 2015-10-18T14:44:52.000Z | 2018-01-20T18:41:47.000Z | horoscope/__init__.py | tapasweni-pathak/pyhoroscope | bd619b28756b416869d0f616395bd5b1f5daf855 | [
"MIT"
] | 17 | 2015-08-11T02:40:59.000Z | 2017-07-06T01:21:43.000Z | horoscope/__init__.py | tapasweni-pathak/pyhoroscope | bd619b28756b416869d0f616395bd5b1f5daf855 | [
"MIT"
] | 6 | 2015-07-11T15:18:29.000Z | 2018-08-17T18:40:19.000Z | from pyhoroscope import Horoscope
| 11.666667 | 33 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 34 | 17.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
adabbe2e8b8359428d0bfe6a770398718c652949 | 142 | py | Python | evidentialdl/layers/__init__.py | Tuttusa/EvidentialDL | 7813c2705784bfeee21d25643259fd28d75b5f95 | [
"MIT"
] | 2 | 2022-03-19T06:22:10.000Z | 2022-03-22T00:51:24.000Z | evidentialdl/layers/__init__.py | Tuttusa/EvidentialDL | 7813c2705784bfeee21d25643259fd28d75b5f95 | [
"MIT"
] | null | null | null | evidentialdl/layers/__init__.py | Tuttusa/EvidentialDL | 7813c2705784bfeee21d25643259fd28d75b5f95 | [
"MIT"
] | null | null | null | from evidentialdl.layers.continuous import DenseNormalGamma, DenseNormal
from evidentialdl.layers.discrete import DenseDirichlet, DenseSigmoid | 71 | 72 | 0.894366 | 14 | 142 | 9.071429 | 0.714286 | 0.251969 | 0.346457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06338 | 142 | 2 | 73 | 71 | 0.954887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bc146d99cadd651d322871d70951658a1880bcab | 53 | py | Python | gitlab_timetracking/__init__.py | cutec-chris/gitlab-timetracking | 8f96fadb5baee8a80bb309ca61a7d06ba4f5a2be | [
"MIT"
] | null | null | null | gitlab_timetracking/__init__.py | cutec-chris/gitlab-timetracking | 8f96fadb5baee8a80bb309ca61a7d06ba4f5a2be | [
"MIT"
] | null | null | null | gitlab_timetracking/__init__.py | cutec-chris/gitlab-timetracking | 8f96fadb5baee8a80bb309ca61a7d06ba4f5a2be | [
"MIT"
] | null | null | null | from gitlab_timetracking.gitlab_timetracking import * | 53 | 53 | 0.90566 | 6 | 53 | 7.666667 | 0.666667 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 53 | 1 | 53 | 53 | 0.92 | 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 |
bc28e65e27114fc8ca8f3921b99c5b25d51ed28f | 422 | py | Python | notebooks/experiments/src/image_demos/__init__.py | fronovics/AI_playground | ac302c0694fa2182af343c257b28a033bc4cf5b9 | [
"Apache-2.0"
] | null | null | null | notebooks/experiments/src/image_demos/__init__.py | fronovics/AI_playground | ac302c0694fa2182af343c257b28a033bc4cf5b9 | [
"Apache-2.0"
] | null | null | null | notebooks/experiments/src/image_demos/__init__.py | fronovics/AI_playground | ac302c0694fa2182af343c257b28a033bc4cf5b9 | [
"Apache-2.0"
] | null | null | null | from notebooks.experiments.src.image_demos.demo_1a import VideoRecognitionDashboard
from notebooks.experiments.src.image_demos.demo_1b import VideoTakeDashboard
from notebooks.experiments.src.image_demos.demo_2 import TwoClassCameraDashboard
from notebooks.experiments.src.image_demos.simple_binary_classifier import Sim... | 70.333333 | 97 | 0.905213 | 51 | 422 | 7.27451 | 0.392157 | 0.175202 | 0.32345 | 0.363881 | 0.530997 | 0.530997 | 0.331536 | 0 | 0 | 0 | 0 | 0.007463 | 0.047393 | 422 | 5 | 98 | 84.4 | 0.915423 | 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 |
70e00da97deb84f8e4a8bff847348036927e3fbe | 1,209 | py | Python | test_python_toolbox/test_read_write_lock/test.py | hboshnak/python_toolbox | cb9ef64b48f1d03275484d707dc5079b6701ad0c | [
"MIT"
] | 119 | 2015-02-05T17:59:47.000Z | 2022-02-21T22:43:40.000Z | test_python_toolbox/test_read_write_lock/test.py | hboshnak/python_toolbox | cb9ef64b48f1d03275484d707dc5079b6701ad0c | [
"MIT"
] | 4 | 2019-04-24T14:01:14.000Z | 2020-05-21T12:03:29.000Z | test_python_toolbox/test_read_write_lock/test.py | hboshnak/python_toolbox | cb9ef64b48f1d03275484d707dc5079b6701ad0c | [
"MIT"
] | 14 | 2015-03-30T06:30:42.000Z | 2021-12-24T23:45:11.000Z | # Copyright 2009-2017 Ram Rachum.
# This program is distributed under the MIT license.
from python_toolbox.locking import ReadWriteLock
def test():
''' '''
read_write_lock = ReadWriteLock()
with read_write_lock.read:
pass
with read_write_lock.write:
pass
with read_write_lock.read ... | 32.675676 | 59 | 0.554177 | 136 | 1,209 | 4.580882 | 0.227941 | 0.303371 | 0.438202 | 0.518459 | 0.680578 | 0.674157 | 0.627608 | 0.627608 | 0.627608 | 0.627608 | 0 | 0.011019 | 0.399504 | 1,209 | 36 | 60 | 33.583333 | 0.847107 | 0.067825 | 0 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 1 | 0.037037 | false | 0.148148 | 0.037037 | 0 | 0.074074 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cb26753c8d8d6f07a7ad7f71f5b9b394c74aedf3 | 108 | py | Python | day03/test7.py | liuweidongg/dejin | 12240b9d27347d6e041338869591aa7133bf80cd | [
"Apache-2.0"
] | 1 | 2018-09-27T02:01:38.000Z | 2018-09-27T02:01:38.000Z | day03/test7.py | liuweidongg/dejin | 12240b9d27347d6e041338869591aa7133bf80cd | [
"Apache-2.0"
] | null | null | null | day03/test7.py | liuweidongg/dejin | 12240b9d27347d6e041338869591aa7133bf80cd | [
"Apache-2.0"
] | null | null | null | n = 50000.0
s = 0
a = 0
while n<=50000.0 and n>=2:
a = (1/n)+(1/(n-1))
s = a+s
n = n-1
print(s)
| 12 | 26 | 0.425926 | 28 | 108 | 1.642857 | 0.357143 | 0.130435 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260274 | 0.324074 | 108 | 8 | 27 | 13.5 | 0.369863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb308023311eb5f86ecd8068785364d3dd3083af | 10,252 | py | Python | tests/test_selenium/test_token_correct.py | lungsang/pyrrha | 5d101494267ba4b8146e2a846adb3cc7813b892f | [
"MIT"
] | 16 | 2018-11-16T13:48:20.000Z | 2020-11-13T21:28:06.000Z | tests/test_selenium/test_token_correct.py | lungsang/pyrrha | 5d101494267ba4b8146e2a846adb3cc7813b892f | [
"MIT"
] | 179 | 2018-11-16T12:43:05.000Z | 2022-03-31T08:52:22.000Z | tests/test_selenium/test_token_correct.py | lungsang/pyrrha | 5d101494267ba4b8146e2a846adb3cc7813b892f | [
"MIT"
] | 21 | 2019-02-17T15:56:29.000Z | 2022-03-28T09:27:57.000Z | from tests.test_selenium.base import TokenCorrectBase, TokenCorrect2CorporaBase
import selenium
class TestTokenCorrectWauchierCorpus(TokenCorrectBase):
def test_edit_token_lemma_with_allowed_values(self):
""" [Wauchier] Test the edition of a token lemma with allowed values"""
# Try first with an e... | 45.362832 | 106 | 0.660359 | 1,395 | 10,252 | 4.58853 | 0.102509 | 0.070302 | 0.044993 | 0.056241 | 0.843306 | 0.826746 | 0.818778 | 0.767068 | 0.725668 | 0.68005 | 0 | 0.006675 | 0.225517 | 10,252 | 225 | 107 | 45.564444 | 0.799496 | 0.142606 | 0 | 0.56875 | 0 | 0.0125 | 0.100173 | 0.037838 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.075 | false | 0 | 0.0125 | 0 | 0.13125 | 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 |
cb5629c6995c00c3e631a907b69c5238bf14151b | 188 | py | Python | bin/sticks/polysticks-123-4x4-clipped-corners-2.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/sticks/polysticks-123-4x4-clipped-corners-2.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/sticks/polysticks-123-4x4-clipped-corners-2.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | 1 | 2022-01-02T16:54:14.000Z | 2022-01-02T16:54:14.000Z | #!/usr/bin/env python
# $Id$
"""132 solutions"""
import puzzler
from puzzler.puzzles.polysticks123 import Polysticks123_4x4ClippedCorners2
puzzler.run(Polysticks123_4x4ClippedCorners2)
| 18.8 | 74 | 0.81383 | 20 | 188 | 7.55 | 0.7 | 0.410596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 0.085106 | 188 | 9 | 75 | 20.888889 | 0.773256 | 0.207447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb73bdfb1c93b46fb2ecb2cac023007b9a3a2c49 | 103 | py | Python | seaborn_altair/__init__.py | Kitware/seaborn_altair | 716fbf10e2bf207f4de5aaad87fddba43d4e4dfe | [
"Apache-2.0"
] | 21 | 2018-06-06T12:06:47.000Z | 2022-01-27T20:43:07.000Z | seaborn_altair/__init__.py | Kitware/seaborn_altair | 716fbf10e2bf207f4de5aaad87fddba43d4e4dfe | [
"Apache-2.0"
] | 1 | 2019-05-09T18:32:25.000Z | 2019-05-10T13:28:40.000Z | seaborn_altair/__init__.py | Kitware/seaborn_altair | 716fbf10e2bf207f4de5aaad87fddba43d4e4dfe | [
"Apache-2.0"
] | 2 | 2018-12-06T13:19:40.000Z | 2019-07-02T06:26:35.000Z | from .axisgrid import *
from .categorical import *
from .regression import *
from .relational import *
| 20.6 | 26 | 0.76699 | 12 | 103 | 6.583333 | 0.5 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 4 | 27 | 25.75 | 0.908046 | 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 |
cb7b0e42094a1c46b4291a3c59f6cbc4279712b6 | 77 | py | Python | svnTree/test/__init__.py | Nizarazo/instl | d04e9aede292caa1174447189a423726fa3bb97f | [
"BSD-3-Clause"
] | 8 | 2015-06-10T12:33:11.000Z | 2022-02-19T03:02:56.000Z | svnTree/test/__init__.py | Nizarazo/instl | d04e9aede292caa1174447189a423726fa3bb97f | [
"BSD-3-Clause"
] | 13 | 2016-12-27T09:02:20.000Z | 2022-02-07T08:49:24.000Z | svnTree/test/__init__.py | Nizarazo/instl | d04e9aede292caa1174447189a423726fa3bb97f | [
"BSD-3-Clause"
] | 6 | 2015-09-24T21:20:46.000Z | 2021-06-23T12:58:31.000Z | from .test_SVNTree import TestSVNTree
from .test_SVNItem import TestSVNItem
| 19.25 | 37 | 0.857143 | 10 | 77 | 6.4 | 0.7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 77 | 3 | 38 | 25.666667 | 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 |
cb7f43b41ebd40cd1df5a99e4d98b76bb2914897 | 4,423 | py | Python | tests/unit/dataactvalidator/test_fabs41_detached_award_financial_assistance_1.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | 1 | 2019-06-22T21:53:16.000Z | 2019-06-22T21:53:16.000Z | tests/unit/dataactvalidator/test_fabs41_detached_award_financial_assistance_1.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_fabs41_detached_award_financial_assistance_1.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | null | null | null | from tests.unit.dataactcore.factories.staging import DetachedAwardFinancialAssistanceFactory
from tests.unit.dataactvalidator.utils import number_of_errors, query_columns
from dataactcore.models.domainModels import CityCode
_FILE = 'fabs41_detached_award_financial_assistance_1'
def test_column_headers(database):
... | 67.015152 | 120 | 0.628985 | 432 | 4,423 | 6.006944 | 0.203704 | 0.078227 | 0.201156 | 0.127168 | 0.777264 | 0.77341 | 0.763391 | 0.734875 | 0.721002 | 0.721002 | 0 | 0.047435 | 0.299344 | 4,423 | 65 | 121 | 68.046154 | 0.789932 | 0.092923 | 0 | 0.285714 | 0 | 0 | 0.060408 | 0.017367 | 0 | 0 | 0 | 0 | 0.061224 | 1 | 0.061224 | false | 0 | 0.061224 | 0 | 0.122449 | 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 |
cbc0c16c8427e4328c081835ad06ada7d44dfe4a | 3,180 | py | Python | test/v2/test_h_infinity.py | wavestate/wavestate-iirrational | 01d6dba8b2131fa2a099a74f17e6540f30cee606 | [
"Apache-2.0"
] | null | null | null | test/v2/test_h_infinity.py | wavestate/wavestate-iirrational | 01d6dba8b2131fa2a099a74f17e6540f30cee606 | [
"Apache-2.0"
] | null | null | null | test/v2/test_h_infinity.py | wavestate/wavestate-iirrational | 01d6dba8b2131fa2a099a74f17e6540f30cee606 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
"""
from __future__ import division, print_function, unicode_literals
import pytest
import numpy as np
import os.path as path
from wavestate.iirrational import v2
from wavestate.iirrational.v2 import testing
from wavestate.iirrational.testing.utilities import (
sign_validate_and_plot_... | 25.853659 | 85 | 0.628302 | 425 | 3,180 | 4.357647 | 0.232941 | 0.064795 | 0.080994 | 0.097192 | 0.765659 | 0.765659 | 0.765659 | 0.765659 | 0.765659 | 0.765659 | 0 | 0.033319 | 0.254403 | 3,180 | 122 | 86 | 26.065574 | 0.747786 | 0.065094 | 0 | 0.71134 | 0 | 0 | 0.046701 | 0.02132 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030928 | false | 0 | 0.14433 | 0 | 0.206186 | 0.164948 | 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 |
cbcb6a4a9dc4326179a3714346fb2e369b2ab1ff | 23 | py | Python | dixi/__init__.py | tvogels/dixi | 0ab33a7e0de06e358e9c1b4ec7a7a296a19d0df9 | [
"BSD-3-Clause"
] | 1 | 2018-09-21T02:01:53.000Z | 2018-09-21T02:01:53.000Z | dixi/__init__.py | tvogels/dixi | 0ab33a7e0de06e358e9c1b4ec7a7a296a19d0df9 | [
"BSD-3-Clause"
] | null | null | null | dixi/__init__.py | tvogels/dixi | 0ab33a7e0de06e358e9c1b4ec7a7a296a19d0df9 | [
"BSD-3-Clause"
] | null | null | null | from .dixi import Dixi
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1dae24fe067a6fcba43d1740fc67434520b5eb71 | 371 | py | Python | Ex00.py | ErickTeixeira777/Python-3 | 5bd886d13e8118bba556d499ecd6841e9cdb5e9f | [
"MIT"
] | null | null | null | Ex00.py | ErickTeixeira777/Python-3 | 5bd886d13e8118bba556d499ecd6841e9cdb5e9f | [
"MIT"
] | null | null | null | Ex00.py | ErickTeixeira777/Python-3 | 5bd886d13e8118bba556d499ecd6841e9cdb5e9f | [
"MIT"
] | null | null | null | print('\033[36m{:=^37}\033[m'.format('Code-Save'))
print('\033[31m{:=^37}\033[m'.format('Hello Word'))
print('\033[0;37;40mHello, Word!\033[m')
'''Lista cores de fundo
Trasparente = '\033[0;30;40m
Vermelho = '\033[0;30;41m
Verde = '\033[0;30;42m
Amarelo = '\033[0;30;43m
Azul = '\033[0;30;44m
Roxo = '\033[0;30;45m
Azul... | 26.5 | 51 | 0.628032 | 71 | 371 | 3.28169 | 0.478873 | 0.154506 | 0.206009 | 0.103004 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282738 | 0.09434 | 371 | 13 | 52 | 28.538462 | 0.410714 | 0 | 0 | 0 | 0 | 0 | 0.630137 | 0.287671 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1db981f295877f875ba5272ea664182f0fa5765c | 17,542 | py | Python | interaction_prediction/dataset.py | david9dragon9/AIR | cbcb7cb74f4280596ede9d998f75f20c272843bd | [
"Apache-2.0"
] | 16 | 2021-06-20T17:01:46.000Z | 2021-12-16T19:04:42.000Z | interaction_prediction/dataset.py | david9dragon9/AIR | cbcb7cb74f4280596ede9d998f75f20c272843bd | [
"Apache-2.0"
] | 1 | 2022-03-03T08:49:40.000Z | 2022-03-04T03:24:09.000Z | interaction_prediction/dataset.py | david9dragon9/AIR | cbcb7cb74f4280596ede9d998f75f20c272843bd | [
"Apache-2.0"
] | 4 | 2021-08-18T13:36:42.000Z | 2022-03-04T06:03:44.000Z | import tensorflow as tf
import numpy as np
i_scenario_features = {
'scenario/id':
tf.io.FixedLenFeature([1], tf.string, default_value = None)
}
i_state_features = {
'state/id':
tf.io.FixedLenFeature([2], tf.float32, default_value=None),
'state/type':
tf.io.FixedLenFeature([2], tf.f... | 42.57767 | 133 | 0.688576 | 2,473 | 17,542 | 4.615447 | 0.05742 | 0.127563 | 0.149816 | 0.071842 | 0.88847 | 0.852287 | 0.831873 | 0.814526 | 0.792798 | 0.788943 | 0 | 0.033556 | 0.162467 | 17,542 | 412 | 134 | 42.57767 | 0.74333 | 0.027477 | 0 | 0.619835 | 0 | 0 | 0.164451 | 0.053641 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049587 | false | 0 | 0.00551 | 0 | 0.104683 | 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 |
1dc190f6176d0a846e9c71f98b93f061dcd95f21 | 40 | py | Python | src/biblishelf_main/utils/type/loader.py | x007007007/biblishelf | a79b105f6929ecc9df41b1e74a92713212cd06fa | [
"MIT"
] | null | null | null | src/biblishelf_main/utils/type/loader.py | x007007007/biblishelf | a79b105f6929ecc9df41b1e74a92713212cd06fa | [
"MIT"
] | 3 | 2018-01-28T15:17:55.000Z | 2018-01-31T09:21:01.000Z | src/biblishelf_main/utils/type/loader.py | x007007007/biblishelf | a79b105f6929ecc9df41b1e74a92713212cd06fa | [
"MIT"
] | 1 | 2018-01-27T13:49:51.000Z | 2018-01-27T13:49:51.000Z |
def load_all_file_analyzer():
pass | 10 | 29 | 0.725 | 6 | 40 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 4 | 30 | 10 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
38224f6928549a14507992edcd7c280d651a1b84 | 90 | py | Python | deelight/exceptions.py | codingjoe/yeelight-night-shift | e9fc8add2f00e2f917b5094b7100060896cf50b0 | [
"Apache-2.0"
] | 2 | 2019-10-26T10:42:18.000Z | 2021-08-18T06:33:48.000Z | deelight/exceptions.py | codingjoe/yeelight-night-shift | e9fc8add2f00e2f917b5094b7100060896cf50b0 | [
"Apache-2.0"
] | null | null | null | deelight/exceptions.py | codingjoe/yeelight-night-shift | e9fc8add2f00e2f917b5094b7100060896cf50b0 | [
"Apache-2.0"
] | null | null | null | from yeelib.exceptions import YeelightError
class CommandError(YeelightError):
pass
| 15 | 43 | 0.811111 | 9 | 90 | 8.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 90 | 5 | 44 | 18 | 0.948052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3828461b32b7545cfe8356d29432592cf07782ec | 1,863 | py | Python | python/src/main/python/pyalink/alink/tests/common/types/file_system/test_s3.py | wenwei8268/Alink | c00702538c95a32403985ebd344eb6aeb81749a7 | [
"Apache-2.0"
] | null | null | null | python/src/main/python/pyalink/alink/tests/common/types/file_system/test_s3.py | wenwei8268/Alink | c00702538c95a32403985ebd344eb6aeb81749a7 | [
"Apache-2.0"
] | null | null | null | python/src/main/python/pyalink/alink/tests/common/types/file_system/test_s3.py | wenwei8268/Alink | c00702538c95a32403985ebd344eb6aeb81749a7 | [
"Apache-2.0"
] | null | null | null | import unittest
import pandas as pd
import pytest
from pyalink.alink import *
class TestS3FileSystem(unittest.TestCase):
@pytest.mark.skip()
def test_hadoop_s3(self):
data = [
["0L", "1L", 0.6],
["2L", "2L", 0.8],
["2L", "4L", 0.6],
["3L", "1L", 0.6],... | 27.397059 | 116 | 0.497585 | 194 | 1,863 | 4.685567 | 0.340206 | 0.013201 | 0.017602 | 0.114411 | 0.825083 | 0.778878 | 0.778878 | 0.778878 | 0.754675 | 0.754675 | 0 | 0.061748 | 0.330649 | 1,863 | 67 | 117 | 27.80597 | 0.667201 | 0 | 0 | 0.666667 | 0 | 0 | 0.154589 | 0.05475 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039216 | false | 0 | 0.078431 | 0 | 0.137255 | 0.078431 | 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 |
69b38bc85d726bed0b1e6e2afcab0703cbeb1fda | 394 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/EGL/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/EGL/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/EGL/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | """OpenGL.EGL the portable interface to GL environments"""
from OpenGL.raw.EGL._types import *
from OpenGL.raw.EGL._errors import EGLError
from OpenGL.EGL.VERSION.EGL_1_0 import *
from OpenGL.EGL.VERSION.EGL_1_1 import *
from OpenGL.EGL.VERSION.EGL_1_2 import *
from OpenGL.EGL.VERSION.EGL_1_3 import *
from OpenG... | 39.4 | 59 | 0.781726 | 69 | 394 | 4.26087 | 0.304348 | 0.272109 | 0.326531 | 0.408163 | 0.591837 | 0.591837 | 0.510204 | 0 | 0 | 0 | 0 | 0.034682 | 0.121827 | 394 | 9 | 60 | 43.777778 | 0.815029 | 0.13198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
69be20f02389f56a37f50e8c13f066eaeb65d49f | 5,987 | py | Python | Contents/Libraries/Shared/rebulk/test/test_processors.py | jippo015/Sub-Zero.bundle | 734e0f7128c05c0f639e11e7dfc77daa1014064b | [
"MIT"
] | 1,553 | 2015-11-09T02:17:06.000Z | 2022-03-31T20:24:52.000Z | Contents/Libraries/Shared/rebulk/test/test_processors.py | saiterlz/Sub-Zero.bundle | 1a0bb9c3e4be84be35d46672907783363fe5a87b | [
"MIT"
] | 691 | 2015-11-05T21:32:26.000Z | 2022-03-17T10:52:45.000Z | Contents/Libraries/Shared/rebulk/test/test_processors.py | saiterlz/Sub-Zero.bundle | 1a0bb9c3e4be84be35d46672907783363fe5a87b | [
"MIT"
] | 162 | 2015-11-06T19:38:55.000Z | 2022-03-16T02:42:41.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# pylint: disable=no-self-use, pointless-statement, missing-docstring, no-member, len-as-condition
from ..pattern import StringPattern, RePattern
from ..processors import ConflictSolver
from ..rules import execute_rule
from ..match import Matches
def test_conflict_1():
... | 27.717593 | 98 | 0.700351 | 691 | 5,987 | 5.908828 | 0.131693 | 0.110458 | 0.11903 | 0.097967 | 0.82121 | 0.771247 | 0.735734 | 0.713201 | 0.713201 | 0.713201 | 0 | 0.071587 | 0.169367 | 5,987 | 215 | 99 | 27.846512 | 0.749447 | 0.023217 | 0 | 0.651515 | 0 | 0 | 0.087767 | 0.013345 | 0 | 0 | 0 | 0 | 0.189394 | 1 | 0.106061 | false | 0 | 0.030303 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38bec4312a8590d7cc0a068d2b4304e365a932a3 | 12,192 | py | Python | django_evolution/tests/test_database_state.py | kamrankalantarli/django-evolution | 3e67426b189aecca5e470607838d1191f4892859 | [
"BSD-3-Clause"
] | null | null | null | django_evolution/tests/test_database_state.py | kamrankalantarli/django-evolution | 3e67426b189aecca5e470607838d1191f4892859 | [
"BSD-3-Clause"
] | null | null | null | django_evolution/tests/test_database_state.py | kamrankalantarli/django-evolution | 3e67426b189aecca5e470607838d1191f4892859 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals
from django.test.testcases import TestCase
from django_evolution.db.state import DatabaseState, IndexState
from django_evolution.errors import DatabaseStateError
class DatabaseStateTests(TestCase):
"""Testing django_evolution.db.state.DatabaseState."""
def test_initi... | 42.778947 | 78 | 0.560614 | 1,218 | 12,192 | 5.278325 | 0.083744 | 0.13548 | 0.076995 | 0.049774 | 0.845544 | 0.798258 | 0.767149 | 0.741173 | 0.703375 | 0.694354 | 0 | 0.005007 | 0.344734 | 12,192 | 284 | 79 | 42.929577 | 0.799725 | 0.085302 | 0 | 0.674757 | 0 | 0 | 0.1581 | 0.003982 | 0 | 0 | 0 | 0 | 0.106796 | 1 | 0.087379 | false | 0 | 0.019417 | 0 | 0.11165 | 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 |
38bf9b711e9ae92e4a2b7d23322fe0366419b2ed | 710 | py | Python | src/spaceone/identity/model/__init__.py | choonho/identity | e56263e06e04b4d3ea7b230026c9b2db4e0be685 | [
"Apache-2.0"
] | 1 | 2020-07-31T09:42:02.000Z | 2020-07-31T09:42:02.000Z | src/spaceone/identity/model/__init__.py | choonho/identity | e56263e06e04b4d3ea7b230026c9b2db4e0be685 | [
"Apache-2.0"
] | null | null | null | src/spaceone/identity/model/__init__.py | choonho/identity | e56263e06e04b4d3ea7b230026c9b2db4e0be685 | [
"Apache-2.0"
] | null | null | null | from spaceone.identity.model.api_key_model import APIKey
from spaceone.identity.model.domain_model import Domain
from spaceone.identity.model.domain_owner_model import DomainOwner
from spaceone.identity.model.provider_model import Provider
from spaceone.identity.model.service_account_model import ServiceAccount
from sp... | 59.166667 | 91 | 0.885915 | 95 | 710 | 6.452632 | 0.263158 | 0.215334 | 0.358891 | 0.448613 | 0.256117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064789 | 710 | 11 | 92 | 64.545455 | 0.923193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38c11889322acf84cac86c38748dd07c8d6fc231 | 196 | py | Python | budgetsupervisor/utils.py | ltowarek/budget-supervisor | 862a2d720aecd4ad2fded9c63bc839190ebbc77e | [
"MIT"
] | 1 | 2022-03-01T10:28:31.000Z | 2022-03-01T10:28:31.000Z | budgetsupervisor/utils.py | ltowarek/budget-supervisor | 862a2d720aecd4ad2fded9c63bc839190ebbc77e | [
"MIT"
] | 75 | 2020-11-07T20:14:55.000Z | 2021-10-05T15:08:22.000Z | budgetsupervisor/utils.py | ltowarek/budget-supervisor | 862a2d720aecd4ad2fded9c63bc839190ebbc77e | [
"MIT"
] | null | null | null | from urllib.parse import urlparse
from django.http import HttpResponseRedirect
def get_url_path(response: HttpResponseRedirect) -> str:
return urlparse(response.url).path.rstrip("/") + "/"
| 24.5 | 56 | 0.765306 | 23 | 196 | 6.434783 | 0.695652 | 0.094595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 196 | 7 | 57 | 28 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2a15b93f4b154afc33b34bebb573815fc7fb34f9 | 109 | py | Python | gltflib/utils/__init__.py | Onboard-Team/gltflib | 1aef8e5edcd6336b170226b0666bf78f92f02ee9 | [
"MIT"
] | 56 | 2019-06-17T10:46:25.000Z | 2022-03-30T14:48:36.000Z | gltflib/utils/__init__.py | Onboard-Team/gltflib | 1aef8e5edcd6336b170226b0666bf78f92f02ee9 | [
"MIT"
] | 198 | 2019-11-15T03:33:25.000Z | 2022-03-30T07:02:21.000Z | gltflib/utils/__init__.py | Onboard-Team/gltflib | 1aef8e5edcd6336b170226b0666bf78f92f02ee9 | [
"MIT"
] | 11 | 2019-10-15T01:37:05.000Z | 2022-03-24T12:11:12.000Z | from .data_utils import padbytes
from .file_utils import create_parent_dirs
from .json_utils import del_none
| 27.25 | 42 | 0.862385 | 18 | 109 | 4.888889 | 0.666667 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 3 | 43 | 36.333333 | 0.907216 | 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 |
2a312e68c471ffc80c0e2678ea86271e8757789f | 5,177 | py | Python | mftools/fingerprint/generate_features.py | mikedwhite/microstructural-fingerprinting-tools | 969ac9d032f82ca002846ac39017b7de04f50e85 | [
"BSD-3-Clause"
] | null | null | null | mftools/fingerprint/generate_features.py | mikedwhite/microstructural-fingerprinting-tools | 969ac9d032f82ca002846ac39017b7de04f50e85 | [
"BSD-3-Clause"
] | null | null | null | mftools/fingerprint/generate_features.py | mikedwhite/microstructural-fingerprinting-tools | 969ac9d032f82ca002846ac39017b7de04f50e85 | [
"BSD-3-Clause"
] | null | null | null | import cv2
import numpy as np
import torch.nn as nn
from PIL import Image
from skimage import img_as_ubyte, color
from torchvision import models, transforms
def generate_feature_sift(image):
r"""Extract scale invariant feature transform (SIFT) features from a single image.
Parameters
----------
image... | 28.445055 | 119 | 0.629901 | 630 | 5,177 | 5.107937 | 0.209524 | 0.027968 | 0.03729 | 0.044748 | 0.802051 | 0.762896 | 0.718459 | 0.711311 | 0.668117 | 0.643257 | 0 | 0.028169 | 0.245702 | 5,177 | 181 | 120 | 28.60221 | 0.795903 | 0.370678 | 0 | 0.670886 | 1 | 0 | 0.054454 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063291 | false | 0 | 0.075949 | 0 | 0.240506 | 0.037975 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa4f5bd3fdd91ce4b63500d4e98dca4a1da41b7a | 307 | py | Python | httpcore/_compat.py | abranjith/httpcore | de629324b1e2b375fe1d6c61b0daf8d9430559ca | [
"BSD-3-Clause"
] | 1 | 2022-01-30T18:55:08.000Z | 2022-01-30T18:55:08.000Z | httpcore/_compat.py | abranjith/httpcore | de629324b1e2b375fe1d6c61b0daf8d9430559ca | [
"BSD-3-Clause"
] | null | null | null | httpcore/_compat.py | abranjith/httpcore | de629324b1e2b375fe1d6c61b0daf8d9430559ca | [
"BSD-3-Clause"
] | null | null | null | # `contextlib.asynccontextmanager` exists from Python 3.7 onwards.
# For 3.6 we require the `async_generator` package for a backported version.
try:
from contextlib import asynccontextmanager # type: ignore
except ImportError:
from async_generator import asynccontextmanager # type: ignore # noqa
| 43.857143 | 76 | 0.785016 | 38 | 307 | 6.289474 | 0.684211 | 0.117155 | 0.242678 | 0.292887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015444 | 0.156352 | 307 | 6 | 77 | 51.166667 | 0.907336 | 0.557003 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
aa68b87648174208eb713daa0fafe91d7245753b | 44 | py | Python | src/hub/dataload/sources/snpedia/__init__.py | erikyao/myvariant.info | a4eaaca7ab6c069199f8942d5afae2dece908147 | [
"Apache-2.0"
] | 39 | 2017-07-01T22:34:39.000Z | 2022-03-15T22:25:59.000Z | src/hub/dataload/sources/snpedia/__init__.py | erikyao/myvariant.info | a4eaaca7ab6c069199f8942d5afae2dece908147 | [
"Apache-2.0"
] | 105 | 2017-06-28T17:26:06.000Z | 2022-03-17T17:49:53.000Z | src/hub/dataload/sources/snpedia/__init__.py | erikyao/myvariant.info | a4eaaca7ab6c069199f8942d5afae2dece908147 | [
"Apache-2.0"
] | 15 | 2015-10-15T20:46:50.000Z | 2021-07-12T19:17:49.000Z | from .snpedia_upload import SnpediaUploader
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 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 |
aac3c947b47f5799fa94d1260331ba99cf674270 | 8,764 | py | Python | tests/test_param_check.py | pengyan510/torchtest | f84e4a7f1c3e0cda2430ba09880af4a964b1d3ba | [
"MIT"
] | 24 | 2021-06-09T16:12:45.000Z | 2022-03-08T17:50:47.000Z | tests/test_param_check.py | pengyan510/torchtest | f84e4a7f1c3e0cda2430ba09880af4a964b1d3ba | [
"MIT"
] | 1 | 2021-11-19T09:17:30.000Z | 2021-11-19T09:17:30.000Z | tests/test_param_check.py | pengyan510/torchtest | f84e4a7f1c3e0cda2430ba09880af4a964b1d3ba | [
"MIT"
] | 1 | 2021-06-11T05:23:33.000Z | 2021-06-11T05:23:33.000Z | import pytest
import torcheck
def test_module_changing_check_with_changing_model(
changing_model_optimizer, changing_model, dataloader, run_training
):
torcheck.register(changing_model_optimizer)
torcheck.add_module_changing_check(changing_model, module_name="NeuralNet")
run_training(changing_model, d... | 35.771429 | 86 | 0.728206 | 1,064 | 8,764 | 5.613722 | 0.046053 | 0.091411 | 0.104972 | 0.090407 | 0.909426 | 0.881467 | 0.838105 | 0.819354 | 0.771304 | 0.771304 | 0 | 0.010717 | 0.180169 | 8,764 | 244 | 87 | 35.918033 | 0.820598 | 0.005591 | 0 | 0.539171 | 0 | 0 | 0.130899 | 0 | 0 | 0 | 0 | 0.004098 | 0 | 1 | 0.059908 | false | 0 | 0.009217 | 0 | 0.069124 | 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 |
2ae7c519067038f0ae5b50a687621d95bae2ab9b | 158 | py | Python | tutorials/W2D2_LinearSystems/solutions/W2D2_Tutorial1_Solution_80f8ef7f.py | raxosiris/course-content | 6904ae919b91aeb885d73b53cb9b02e6ec73d9cd | [
"CC-BY-4.0"
] | 2 | 2021-05-12T02:19:05.000Z | 2021-05-12T13:49:29.000Z | tutorials/W2D2_LinearSystems/solutions/W2D2_Tutorial1_Solution_80f8ef7f.py | raxosiris/course-content | 6904ae919b91aeb885d73b53cb9b02e6ec73d9cd | [
"CC-BY-4.0"
] | 1 | 2021-06-16T05:41:08.000Z | 2021-06-16T05:41:08.000Z | tutorials/W2D2_LinearSystems/solutions/W2D2_Tutorial1_Solution_80f8ef7f.py | raxosiris/course-content | 6904ae919b91aeb885d73b53cb9b02e6ec73d9cd | [
"CC-BY-4.0"
] | 1 | 2021-11-26T17:23:48.000Z | 2021-11-26T17:23:48.000Z | """
Students should observe exponential growth to positive values, exponential
growth to negative values, stable oscillations, and decay to the origin.
"""; | 26.333333 | 74 | 0.78481 | 20 | 158 | 6.2 | 0.75 | 0.274194 | 0.306452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14557 | 158 | 6 | 75 | 26.333333 | 0.918519 | 0.93038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2d9eb845ed2097cb994c85998ac8420c7899f73d | 4,704 | py | Python | db/insert_blob_img.py | inf6150-doublej/backend | 7734bce3b531213f62eb04c2f89cecde490702b8 | [
"MIT"
] | null | null | null | db/insert_blob_img.py | inf6150-doublej/backend | 7734bce3b531213f62eb04c2f89cecde490702b8 | [
"MIT"
] | 27 | 2019-05-10T00:01:39.000Z | 2019-06-08T19:09:23.000Z | db/insert_blob_img.py | inf6150-doublej/backend | 7734bce3b531213f62eb04c2f89cecde490702b8 | [
"MIT"
] | null | null | null | import datetime
import sqlite3
import os
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
DB_PATH = os.path.join(ROOT_DIR, 'db.db')
con = sqlite3.connect(DB_PATH)
cur = con.cursor()
now = datetime.datetime.now()
with open(ROOT_DIR + '/img/bear.jpeg', "rb") as input_file:
imagedata = input_file.read()
pic_id... | 30.153846 | 63 | 0.637755 | 660 | 4,704 | 4.315152 | 0.104545 | 0.08427 | 0.089888 | 0.134831 | 0.88448 | 0.87184 | 0.87184 | 0.87184 | 0.87184 | 0.87184 | 0 | 0.007666 | 0.195791 | 4,704 | 155 | 64 | 30.348387 | 0.745176 | 0 | 0 | 0.698529 | 0 | 0 | 0.250425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022059 | 0 | 0.022059 | 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 |
937dbde8d9f31c8f22f5758973ff6bd3fc6b2c65 | 348 | py | Python | v1.0.0.test/toontown/uberdog/DistributedCpuInfoMgrUD.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 4 | 2019-07-01T15:46:43.000Z | 2021-07-23T16:26:48.000Z | v1.0.0.test/toontown/uberdog/DistributedCpuInfoMgrUD.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 1 | 2019-06-29T03:40:05.000Z | 2021-06-13T01:15:16.000Z | v1.0.0.test/toontown/uberdog/DistributedCpuInfoMgrUD.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 4 | 2019-07-28T21:18:46.000Z | 2021-02-25T06:37:25.000Z | from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectGlobalUD import DistributedObjectGlobalUD
class DistributedCpuInfoMgrUD(DistributedObjectGlobalUD):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedCpuInfoMgrUD')
def setCpuInfoToUd(self, todo0, todo1,... | 43.5 | 83 | 0.836207 | 27 | 348 | 10.777778 | 0.703704 | 0.068729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012862 | 0.106322 | 348 | 8 | 84 | 43.5 | 0.92283 | 0 | 0 | 0 | 0 | 0 | 0.065903 | 0.065903 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fa8f8ccca1bb40ff65f60ad9a4752e0361b314aa | 134 | py | Python | msgtracker/__init__.py | mpillar/msg-tracker | 16edb9d555795d0eec625dd954e14f914cbbbe2b | [
"MIT"
] | null | null | null | msgtracker/__init__.py | mpillar/msg-tracker | 16edb9d555795d0eec625dd954e14f914cbbbe2b | [
"MIT"
] | null | null | null | msgtracker/__init__.py | mpillar/msg-tracker | 16edb9d555795d0eec625dd954e14f914cbbbe2b | [
"MIT"
] | null | null | null | from . import backend
from . import constants
from . import helper
from . import endpoints
from . import algorithm
from . import test
| 19.142857 | 23 | 0.776119 | 18 | 134 | 5.777778 | 0.444444 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 134 | 6 | 24 | 22.333333 | 0.945455 | 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 |
facd7591fa42c7b457d148f2b47518b7b0696dc9 | 229 | py | Python | nomenklatura/__init__.py | ouseful-backup/nomenklatura | 086852e849c90ada59bc39a844479f805bae2279 | [
"MIT"
] | null | null | null | nomenklatura/__init__.py | ouseful-backup/nomenklatura | 086852e849c90ada59bc39a844479f805bae2279 | [
"MIT"
] | null | null | null | nomenklatura/__init__.py | ouseful-backup/nomenklatura | 086852e849c90ada59bc39a844479f805bae2279 | [
"MIT"
] | null | null | null | # shut up useless SA warning:
import warnings;
warnings.filterwarnings('ignore', 'Unicode type received non-unicode bind param value.')
from sqlalchemy.exc import SAWarning
warnings.filterwarnings('ignore', category=SAWarning)
| 32.714286 | 88 | 0.803493 | 28 | 229 | 6.571429 | 0.75 | 0.23913 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104803 | 229 | 6 | 89 | 38.166667 | 0.897561 | 0.117904 | 0 | 0 | 0 | 0 | 0.316583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
879afc490dc48f3bbf725a63781a7684eb643711 | 31 | py | Python | grsnp/__init__.py | mdozmorov/genome_runner | 1fd77dd8e0bb7333e2d8e0d299d020bc8a3e36a1 | [
"AFL-3.0"
] | 11 | 2016-12-12T08:40:14.000Z | 2020-05-11T22:42:28.000Z | grsnp/__init__.py | mdozmorov/genome_runner | 1fd77dd8e0bb7333e2d8e0d299d020bc8a3e36a1 | [
"AFL-3.0"
] | 66 | 2015-07-10T12:08:34.000Z | 2016-07-02T01:56:07.000Z | grsnp/__init__.py | mdozmorov/genomerunner_web | c6e0be91c3cf8eb8443093573034f9fcd40dbe22 | [
"AFL-3.0"
] | 5 | 2016-07-08T16:57:35.000Z | 2020-01-06T20:07:49.000Z | import hypergeom4, grsnp, path
| 15.5 | 30 | 0.806452 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
879f69f6a99f029fde277d0d49ca64607243256c | 94 | py | Python | tests/__init__.py | akshaybabloo/SpikesData | aa44342845871f310d6ecb522e9f2b88e749aa98 | [
"MIT"
] | null | null | null | tests/__init__.py | akshaybabloo/SpikesData | aa44342845871f310d6ecb522e9f2b88e749aa98 | [
"MIT"
] | null | null | null | tests/__init__.py | akshaybabloo/SpikesData | aa44342845871f310d6ecb522e9f2b88e749aa98 | [
"MIT"
] | null | null | null | from numpy.testing import run_module_suite
if __name__ == '__main__':
run_module_suite()
| 18.8 | 42 | 0.765957 | 13 | 94 | 4.615385 | 0.769231 | 0.3 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 4 | 43 | 23.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
879f98b32e3759d809452ce0f41733d293d3b8fa | 81 | py | Python | toai/metrics/__init__.py | mokahaiku/toai | 76ce097ee6785586e33b63acdfe06467fef4c36c | [
"MIT"
] | 9 | 2019-07-31T16:57:26.000Z | 2019-11-27T22:24:44.000Z | toai/metrics/__init__.py | mokahaiku/toai | 76ce097ee6785586e33b63acdfe06467fef4c36c | [
"MIT"
] | 8 | 2019-10-14T15:48:09.000Z | 2019-11-24T10:24:13.000Z | toai/metrics/__init__.py | tribeofai/toai | 76ce097ee6785586e33b63acdfe06467fef4c36c | [
"MIT"
] | 5 | 2019-07-31T16:57:14.000Z | 2019-11-22T13:00:33.000Z | # pylama:ignore=W0611
from .error_rate import error_rate
from .rmse import rmse
| 16.2 | 34 | 0.802469 | 13 | 81 | 4.846154 | 0.615385 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.135802 | 81 | 4 | 35 | 20.25 | 0.842857 | 0.234568 | 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 |
87bd4d7802edd86d94c98dacb749c0c5af4decac | 21 | py | Python | utils/__init__.py | chucoding/notion2github | 4dd34c641a21c59a6fed7bbfd050beb9be174c16 | [
"MIT"
] | 1 | 2022-03-20T07:05:05.000Z | 2022-03-20T07:05:05.000Z | utils/__init__.py | chucoding/notion2github | 4dd34c641a21c59a6fed7bbfd050beb9be174c16 | [
"MIT"
] | null | null | null | utils/__init__.py | chucoding/notion2github | 4dd34c641a21c59a6fed7bbfd050beb9be174c16 | [
"MIT"
] | null | null | null | from .logMng import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35947f81ab83122003a939989c7b2cc3256ba43b | 89 | py | Python | unit-testing-for-data-science-in-python/1. Unit testing basics/preprocessing_helpers.py | nhutnamhcmus/datacamp-playground | 25457e813b1145e1d335562286715eeddd1c1a7b | [
"MIT"
] | 1 | 2021-05-08T11:09:27.000Z | 2021-05-08T11:09:27.000Z | unit-testing-for-data-science-in-python/1. Unit testing basics/preprocessing_helpers.py | nhutnamhcmus/datacamp-playground | 25457e813b1145e1d335562286715eeddd1c1a7b | [
"MIT"
] | 1 | 2022-03-12T15:42:14.000Z | 2022-03-12T15:42:14.000Z | unit-testing-for-data-science-in-python/1. Unit testing basics/preprocessing_helpers.py | nhutnamhcmus/datacamp-playground | 25457e813b1145e1d335562286715eeddd1c1a7b | [
"MIT"
] | 1 | 2021-04-30T18:24:19.000Z | 2021-04-30T18:24:19.000Z | def convert_to_int(number_with_commas):
return number_with_commas.replace(",", "")
| 29.666667 | 47 | 0.741573 | 12 | 89 | 5 | 0.75 | 0.333333 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 2 | 48 | 44.5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
35cb51c60b407daf78b05db119597ec7f78252d3 | 153 | py | Python | authors/apps/articles/admin.py | hoslack/jua-kali_Backend | e0e92aa0287c4a17b303fdde941f457b28c51223 | [
"BSD-3-Clause"
] | 2 | 2018-07-14T21:31:21.000Z | 2018-08-05T23:46:06.000Z | authors/apps/articles/admin.py | andela/ah-scorpion | 6b6b31ca0a42dc577e9740d54b8c579de1a603fe | [
"BSD-3-Clause"
] | 36 | 2018-07-25T11:46:06.000Z | 2021-06-10T20:33:42.000Z | authors/apps/articles/admin.py | hoslack/jua-kali_Backend | e0e92aa0287c4a17b303fdde941f457b28c51223 | [
"BSD-3-Clause"
] | 3 | 2018-09-04T17:43:53.000Z | 2018-11-18T10:14:59.000Z | from django.contrib import admin
from .models import Article
class AuthorAdmin(admin.ModelAdmin):
pass
admin.site.register(Article, AuthorAdmin)
| 15.3 | 41 | 0.79085 | 19 | 153 | 6.368421 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 153 | 9 | 42 | 17 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ea2ae949e9a6912c734f32554bf5d377bf58f69f | 159 | py | Python | jupyter_extension_example/__init__.py | killf/jupyter_extension_example | 7c217814a399e1a5a1f756743341f3ba835c8f78 | [
"MIT"
] | null | null | null | jupyter_extension_example/__init__.py | killf/jupyter_extension_example | 7c217814a399e1a5a1f756743341f3ba835c8f78 | [
"MIT"
] | null | null | null | jupyter_extension_example/__init__.py | killf/jupyter_extension_example | 7c217814a399e1a5a1f756743341f3ba835c8f78 | [
"MIT"
] | null | null | null | from .application import SimpleApp
def _jupyter_server_extension_paths():
return [{"module": "jupyter_extension_example.application", "app": SimpleApp}]
| 26.5 | 82 | 0.779874 | 17 | 159 | 6.941176 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106918 | 159 | 5 | 83 | 31.8 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 0.289308 | 0.232704 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
ea4438d9cee6f0f244decb3d3054ad8fd55d6244 | 22,311 | py | Python | tests/infer_for_schema/test_len_on_properties.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 5 | 2021-12-29T12:55:34.000Z | 2022-03-01T17:57:21.000Z | tests/infer_for_schema/test_len_on_properties.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 10 | 2021-12-29T02:15:55.000Z | 2022-03-09T11:04:22.000Z | tests/infer_for_schema/test_len_on_properties.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 2 | 2021-12-29T01:42:12.000Z | 2022-02-15T13:46:33.000Z | # pylint: disable=missing-docstring
import textwrap
import unittest
from typing import Optional, MutableMapping
import tests.common
import tests.infer_for_schema.common
from aas_core_codegen import infer_for_schema, intermediate
class Test_expected(unittest.TestCase):
def test_no_constraints(self) -> None:
... | 30.816298 | 107 | 0.541392 | 2,041 | 22,311 | 5.439 | 0.069574 | 0.118908 | 0.086479 | 0.039636 | 0.935231 | 0.918476 | 0.912711 | 0.907576 | 0.907576 | 0.885326 | 0 | 0.007431 | 0.384788 | 22,311 | 723 | 108 | 30.858921 | 0.801326 | 0.025862 | 0 | 0.674051 | 0 | 0 | 0.034648 | 0 | 0 | 0 | 0 | 0 | 0.079114 | 1 | 0.050633 | false | 0 | 0.018987 | 0 | 0.079114 | 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 |
ea819fefe410b0149492b8de71cb3d547614cc7f | 5,150 | py | Python | hail/python/test/hail/experimental/test_dnd_array.py | sigmarkarl/hail | 11b7c22342a945c61b24c5f8babf4ab411d3d2f1 | [
"MIT"
] | 2 | 2020-12-15T21:20:24.000Z | 2020-12-21T19:46:26.000Z | hail/python/test/hail/experimental/test_dnd_array.py | Dania-Abuhijleh/hail | a187dc0867801ca1eee774588fe58604a133a0d9 | [
"MIT"
] | 2 | 2016-11-17T03:06:10.000Z | 2017-12-05T19:00:24.000Z | hail/python/test/hail/experimental/test_dnd_array.py | Dania-Abuhijleh/hail | a187dc0867801ca1eee774588fe58604a133a0d9 | [
"MIT"
] | 2 | 2020-07-28T18:55:19.000Z | 2020-10-19T16:43:03.000Z | import numpy as np
import hail as hl
from hail.utils import new_temp_file
from ..helpers import startTestHailContext, stopTestHailContext
setUpModule = startTestHailContext
tearDownModule = stopTestHailContext
def test_range_collect():
n_variants = 10
n_samples = 10
block_size = 3
mt = hl.utils.rang... | 32.1875 | 74 | 0.620583 | 754 | 5,150 | 3.964191 | 0.122016 | 0.102375 | 0.073603 | 0.073938 | 0.813985 | 0.786885 | 0.784209 | 0.755437 | 0.744731 | 0.721981 | 0 | 0.02246 | 0.256505 | 5,150 | 159 | 75 | 32.389937 | 0.758161 | 0 | 0 | 0.655738 | 0 | 0 | 0.007961 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 1 | 0.07377 | false | 0 | 0.032787 | 0.008197 | 0.114754 | 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 |
5763fbd66438f819e66ced8023bfcfc641fcbfec | 136 | py | Python | Python/S10430.py | irostub/Beakjoon-Problem-Solving | 3a230cbd16ade4ed7cc1da7f36085853d69d673d | [
"Beerware"
] | null | null | null | Python/S10430.py | irostub/Beakjoon-Problem-Solving | 3a230cbd16ade4ed7cc1da7f36085853d69d673d | [
"Beerware"
] | null | null | null | Python/S10430.py | irostub/Beakjoon-Problem-Solving | 3a230cbd16ade4ed7cc1da7f36085853d69d673d | [
"Beerware"
] | null | null | null | A, B, C = map(int, input().split())
print((A + B) % C)
print(((A % C) + (B % C)) % C)
print((A * B) % C)
print(((A % C) * (B % C)) % C)
| 22.666667 | 35 | 0.404412 | 27 | 136 | 2.037037 | 0.296296 | 0.181818 | 0.163636 | 0.290909 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0 | 0 | 0.25 | 136 | 5 | 36 | 27.2 | 0.539216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
579d829b322f7c2c222606d468fb26efab542653 | 219 | py | Python | chainer_mask_rcnn/datasets/voc/__init__.py | m3at/chainer-mask-rcnn | fa491663675cdc97974008becc99454d5e6e1d09 | [
"MIT"
] | 61 | 2018-04-04T07:09:32.000Z | 2021-11-12T19:54:23.000Z | chainer_mask_rcnn/datasets/voc/__init__.py | Swall0w/chainer-mask-rcnn | 83366fc77e52aa6a29cfac4caa697d8b45dcffc6 | [
"MIT"
] | 15 | 2018-04-10T10:48:47.000Z | 2021-05-20T10:00:42.000Z | chainer_mask_rcnn/datasets/voc/__init__.py | Swall0w/chainer-mask-rcnn | 83366fc77e52aa6a29cfac4caa697d8b45dcffc6 | [
"MIT"
] | 18 | 2018-07-06T10:13:56.000Z | 2022-03-02T12:25:31.000Z | # flake8: noqa
from .sbd import SBDInstanceSeg
from .sbd import SBDInstanceSegmentationDataset
from .voc import VOC2012InstanceSeg
from .voc import VOC2012InstanceSegmentationDataset
from .voc import VOCInstanceSegBase
| 31.285714 | 51 | 0.863014 | 22 | 219 | 8.590909 | 0.5 | 0.111111 | 0.206349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045918 | 0.105023 | 219 | 6 | 52 | 36.5 | 0.918367 | 0.054795 | 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 |
57bc11fdb8416846cd917001fc20ece76d90aae5 | 111 | py | Python | lightning_transformers/task/nlp/reaction/datasets/__init__.py | zhaisilong/lightning-transformers | cd6843b6caa8279df86bb5e808dfccc79ca9c3d2 | [
"Apache-2.0"
] | null | null | null | lightning_transformers/task/nlp/reaction/datasets/__init__.py | zhaisilong/lightning-transformers | cd6843b6caa8279df86bb5e808dfccc79ca9c3d2 | [
"Apache-2.0"
] | null | null | null | lightning_transformers/task/nlp/reaction/datasets/__init__.py | zhaisilong/lightning-transformers | cd6843b6caa8279df86bb5e808dfccc79ca9c3d2 | [
"Apache-2.0"
] | null | null | null | from lightning_transformers.task.nlp.translation.datasets.smi import SMILESTranslationDataModule # noqa: F401
| 55.5 | 110 | 0.864865 | 12 | 111 | 7.916667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029126 | 0.072072 | 111 | 1 | 111 | 111 | 0.893204 | 0.09009 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
57e48ba8c21c287a7669fea6db5a2180893ba033 | 102 | py | Python | python-api-challenge/Solutions to Homework/api_keys.py | samstruthers35/python-api-challenge | e248dc1ed0b15ad727e48e1fc0682c2335b0114c | [
"ADSL"
] | null | null | null | python-api-challenge/Solutions to Homework/api_keys.py | samstruthers35/python-api-challenge | e248dc1ed0b15ad727e48e1fc0682c2335b0114c | [
"ADSL"
] | null | null | null | python-api-challenge/Solutions to Homework/api_keys.py | samstruthers35/python-api-challenge | e248dc1ed0b15ad727e48e1fc0682c2335b0114c | [
"ADSL"
] | null | null | null | weather_api_key = "6d13e35324673617dbbc9a5c9ad44c2a"
g_key = "AIzaSyAJzbJZHeQUGmjKvFbd3SJhYUjTYgG8P3Y" | 51 | 52 | 0.892157 | 7 | 102 | 12.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237113 | 0.04902 | 102 | 2 | 53 | 51 | 0.670103 | 0 | 0 | 0 | 0 | 0 | 0.68932 | 0.68932 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57f5f89e329c4e61a27a12bb839ade682a5843f0 | 263 | py | Python | model/score.py | rbzargon/py_flashcards | 69a154ac747484ed508565aa4cfb9871b68f6c7a | [
"Apache-2.0"
] | null | null | null | model/score.py | rbzargon/py_flashcards | 69a154ac747484ed508565aa4cfb9871b68f6c7a | [
"Apache-2.0"
] | null | null | null | model/score.py | rbzargon/py_flashcards | 69a154ac747484ed508565aa4cfb9871b68f6c7a | [
"Apache-2.0"
] | null | null | null |
class Score:
def __init__(self, maximum: int):
super().__init__()
self.score = 0
self.maximum = maximum
@property
def score(self):
return self.score
@property
def maximum(self):
return self.maximum
| 15.470588 | 37 | 0.570342 | 29 | 263 | 4.896552 | 0.37931 | 0.232394 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.334601 | 263 | 16 | 38 | 16.4375 | 0.805714 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.181818 | 0.545455 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
17ab307b840a2a012ea46c19f7cca7e2822413d4 | 37 | py | Python | tests/fixtures.py | brianbruggeman/rl | 6dd8a53da07697ffc87e62aa397be7b3b08f0aa0 | [
"MIT"
] | null | null | null | tests/fixtures.py | brianbruggeman/rl | 6dd8a53da07697ffc87e62aa397be7b3b08f0aa0 | [
"MIT"
] | null | null | null | tests/fixtures.py | brianbruggeman/rl | 6dd8a53da07697ffc87e62aa397be7b3b08f0aa0 | [
"MIT"
] | null | null | null | # TODO: Add fixtures here as needed.
| 18.5 | 36 | 0.72973 | 6 | 37 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 1 | 37 | 37 | 0.9 | 0.918919 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
17af38da6e0ff1e8b254a4d72b1232cf67eb210b | 175 | py | Python | bulbea/app/config/server.py | saimohithnaag/StockPredictor | 4caba8f042f1d87ec0b41ec8e14d3a458a7409a4 | [
"Apache-2.0"
] | 1,761 | 2017-03-09T08:51:28.000Z | 2022-03-27T18:15:06.000Z | bulbea/app/config/server.py | saimohithnaag/StockPredictor | 4caba8f042f1d87ec0b41ec8e14d3a458a7409a4 | [
"Apache-2.0"
] | 38 | 2017-03-11T11:51:16.000Z | 2021-06-27T15:00:07.000Z | bulbea/app/config/server.py | saimohithnaag/StockPredictor | 4caba8f042f1d87ec0b41ec8e14d3a458a7409a4 | [
"Apache-2.0"
] | 511 | 2017-03-12T03:49:26.000Z | 2022-03-15T23:05:49.000Z | # imports - compatibility packages
from __future__ import absolute_import
# module imports
from bulbea.app.config import BaseConfig
class ServerConfig(BaseConfig):
pass
| 19.444444 | 40 | 0.811429 | 20 | 175 | 6.85 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 175 | 8 | 41 | 21.875 | 0.913333 | 0.268571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
17d254b9c2762b119b4c763ed5a2d4ec0cfeed74 | 31 | py | Python | rlagent/__init__.py | YunjaeChoi/rlagent | 41062fc1beaa2d5a0765bb782e1a55d1962ab058 | [
"MIT"
] | null | null | null | rlagent/__init__.py | YunjaeChoi/rlagent | 41062fc1beaa2d5a0765bb782e1a55d1962ab058 | [
"MIT"
] | null | null | null | rlagent/__init__.py | YunjaeChoi/rlagent | 41062fc1beaa2d5a0765bb782e1a55d1962ab058 | [
"MIT"
] | null | null | null | from rlagent.core import Agent
| 15.5 | 30 | 0.83871 | 5 | 31 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa2e042d0e793dbebdae8c76b56e742befe01df5 | 41 | py | Python | aniapython.py | azawada123/gitCDV-1 | fbb25b8cf0dcd50bd76c8a3f451fbdf53c90cae5 | [
"MIT"
] | null | null | null | aniapython.py | azawada123/gitCDV-1 | fbb25b8cf0dcd50bd76c8a3f451fbdf53c90cae5 | [
"MIT"
] | 2 | 2019-10-06T12:58:42.000Z | 2019-10-06T13:35:30.000Z | aniapython.py | azawada123/gitCDV-1 | fbb25b8cf0dcd50bd76c8a3f451fbdf53c90cae5 | [
"MIT"
] | 22 | 2019-10-06T12:46:04.000Z | 2019-10-06T12:48:33.000Z | print("Hello World from feature branch")
| 20.5 | 40 | 0.780488 | 6 | 41 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.756098 | 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 |
aa3730c47e5b655169b49df530388def38025e5f | 126 | py | Python | tests/test_canvasutils.py | rtaph/canvasutils | 0515723bfa295d9627e21a15923b0eb5d5a31fef | [
"BSD-3-Clause"
] | null | null | null | tests/test_canvasutils.py | rtaph/canvasutils | 0515723bfa295d9627e21a15923b0eb5d5a31fef | [
"BSD-3-Clause"
] | null | null | null | tests/test_canvasutils.py | rtaph/canvasutils | 0515723bfa295d9627e21a15923b0eb5d5a31fef | [
"BSD-3-Clause"
] | null | null | null | from canvasutils import __version__
def test_version():
assert __version__ == "0.4.0"
# I need to write tests here...
| 14 | 35 | 0.698413 | 18 | 126 | 4.388889 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.198413 | 126 | 8 | 36 | 15.75 | 0.752475 | 0.230159 | 0 | 0 | 0 | 0 | 0.052632 | 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 |
a4c5303f452a5da855cbf86c4b44bbcc095b8303 | 41 | py | Python | autopipe/exceptions/__init__.py | AnonymusRaccoon/AutoPipe | e75a5891828c0d937f0e2b0ea38ae33f7758512a | [
"MIT"
] | null | null | null | autopipe/exceptions/__init__.py | AnonymusRaccoon/AutoPipe | e75a5891828c0d937f0e2b0ea38ae33f7758512a | [
"MIT"
] | null | null | null | autopipe/exceptions/__init__.py | AnonymusRaccoon/AutoPipe | e75a5891828c0d937f0e2b0ea38ae33f7758512a | [
"MIT"
] | null | null | null | from .ArgumentError import ArgumentError
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 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 |
a4cd5f2a35ced4df7d04d805c12845b83ffa41d2 | 70 | py | Python | scripts/engine/project.py | pebbie/BIBINT | c00d11c228c8da2ae2a88cd616147da54309ebaa | [
"MIT"
] | 1 | 2022-02-06T17:09:44.000Z | 2022-02-06T17:09:44.000Z | scripts/engine/project.py | pebbie/BIBINT | c00d11c228c8da2ae2a88cd616147da54309ebaa | [
"MIT"
] | null | null | null | scripts/engine/project.py | pebbie/BIBINT | c00d11c228c8da2ae2a88cd616147da54309ebaa | [
"MIT"
] | null | null | null | import ConfigParser
def load_project(project_configuration):
pass | 17.5 | 40 | 0.828571 | 8 | 70 | 7 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 70 | 4 | 41 | 17.5 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
35005be899586ab5db7afe9d9a8078f35e0d23d3 | 84 | py | Python | afs/lla/VolServerLLAError.py | chanke/afspy | 525e7b3b53e58be515f11b83cc59ddb0765ef8e5 | [
"BSD-2-Clause"
] | null | null | null | afs/lla/VolServerLLAError.py | chanke/afspy | 525e7b3b53e58be515f11b83cc59ddb0765ef8e5 | [
"BSD-2-Clause"
] | null | null | null | afs/lla/VolServerLLAError.py | chanke/afspy | 525e7b3b53e58be515f11b83cc59ddb0765ef8e5 | [
"BSD-2-Clause"
] | null | null | null | from afs.util.AFSError import AFSError
class VolServerLLAError(AFSError):
pass
| 16.8 | 38 | 0.797619 | 10 | 84 | 6.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 4 | 39 | 21 | 0.930556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
103c03880b829a583d2f21e31d44336be8866ba2 | 47 | py | Python | Example-University-System/university_manager.py | s-c-23/Elements-of-Software-Design | 4a29b6e864b792f7dc3bafd25b13e9abd8d79798 | [
"MIT"
] | null | null | null | Example-University-System/university_manager.py | s-c-23/Elements-of-Software-Design | 4a29b6e864b792f7dc3bafd25b13e9abd8d79798 | [
"MIT"
] | null | null | null | Example-University-System/university_manager.py | s-c-23/Elements-of-Software-Design | 4a29b6e864b792f7dc3bafd25b13e9abd8d79798 | [
"MIT"
] | null | null | null | from people import *
from course import *
| 5.875 | 20 | 0.680851 | 6 | 47 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276596 | 47 | 7 | 21 | 6.714286 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
106011d01a8d066ce2557a12bf203132fb657a4f | 41 | py | Python | demo/code/compile.py | mverleg/notex_package | 1a918233a7c18434dd9f8b2b3b3aa058f86d86d8 | [
"MIT",
"Unlicense",
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | demo/code/compile.py | mverleg/notex_package | 1a918233a7c18434dd9f8b2b3b3aa058f86d86d8 | [
"MIT",
"Unlicense",
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | demo/code/compile.py | mverleg/notex_package | 1a918233a7c18434dd9f8b2b3b3aa058f86d86d8 | [
"MIT",
"Unlicense",
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null |
def demo_compile(soup):
return soup
| 5.857143 | 23 | 0.707317 | 6 | 41 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 41 | 6 | 24 | 6.833333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
108f5c9ccf8428730035dd4b0be28ea8d046efac | 77 | py | Python | stonehenge/server/__init__.py | RobertTownley/stonehenge | 376b8e1501dd12ac1bcec5de680a5b521b0d949c | [
"MIT"
] | 1 | 2018-09-07T14:15:31.000Z | 2018-09-07T14:15:31.000Z | stonehenge/server/__init__.py | RobertTownley/stonehenge | 376b8e1501dd12ac1bcec5de680a5b521b0d949c | [
"MIT"
] | 5 | 2018-09-06T01:48:12.000Z | 2021-05-08T10:47:00.000Z | stonehenge/server/__init__.py | RobertTownley/stonehenge | 376b8e1501dd12ac1bcec5de680a5b521b0d949c | [
"MIT"
] | null | null | null | from stonehenge.modules import Module
class ServerModule(Module):
pass
| 12.833333 | 37 | 0.779221 | 9 | 77 | 6.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 5 | 38 | 15.4 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
10949c45725f93d4bd0378555385ba9f8077999c | 8,587 | py | Python | openstack_dashboard/dashboards/admin/flavors/tests.py | Mirantis/openstack-horizon | 4d8e331635a1d9ed9ea1ae574a79a370265aef0b | [
"Apache-2.0"
] | 3 | 2017-02-13T15:11:01.000Z | 2021-07-28T08:28:09.000Z | openstack_dashboard/dashboards/admin/flavors/tests.py | Mirantis/openstack-horizon | 4d8e331635a1d9ed9ea1ae574a79a370265aef0b | [
"Apache-2.0"
] | null | null | null | openstack_dashboard/dashboards/admin/flavors/tests.py | Mirantis/openstack-horizon | 4d8e331635a1d9ed9ea1ae574a79a370265aef0b | [
"Apache-2.0"
] | 2 | 2018-08-29T10:56:04.000Z | 2019-11-11T11:45:20.000Z | from django import http
from django.core.urlresolvers import reverse
from mox import IsA
from openstack_dashboard import api
from openstack_dashboard.test import helpers as test
from novaclient.v1_1 import flavors
class FlavorsTests(test.BaseAdminViewTests):
@test.create_stubs({api.nova: ('flavor_list', 'flavor_... | 43.588832 | 79 | 0.504716 | 852 | 8,587 | 4.93662 | 0.131455 | 0.036614 | 0.067998 | 0.068474 | 0.815977 | 0.776985 | 0.752734 | 0.724441 | 0.692582 | 0.668331 | 0 | 0.005141 | 0.388378 | 8,587 | 196 | 80 | 43.811224 | 0.795697 | 0.024805 | 0 | 0.723926 | 0 | 0 | 0.122652 | 0.062822 | 0 | 0 | 0 | 0 | 0.09816 | 1 | 0.02454 | false | 0 | 0.03681 | 0 | 0.067485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
10ac7cbe619024238618a3ad09a214f8eaac65dc | 3,848 | py | Python | tests/common/output/test_sarif_report.py | graybrandonpfg/checkov | 3081a8560f6369465314ee8f4ac8a8ec01649d68 | [
"Apache-2.0"
] | null | null | null | tests/common/output/test_sarif_report.py | graybrandonpfg/checkov | 3081a8560f6369465314ee8f4ac8a8ec01649d68 | [
"Apache-2.0"
] | null | null | null | tests/common/output/test_sarif_report.py | graybrandonpfg/checkov | 3081a8560f6369465314ee8f4ac8a8ec01649d68 | [
"Apache-2.0"
] | null | null | null | import unittest
import os
import json
import jsonschema
import urllib.request
from checkov.common.models.enums import CheckResult
from checkov.common.output.report import Report
from checkov.common.output.record import Record
class TestSarifReport(unittest.TestCase):
def test_valid_passing_valid_testcases(self):... | 32.336134 | 104 | 0.58316 | 435 | 3,848 | 4.868966 | 0.264368 | 0.037771 | 0.030689 | 0.037771 | 0.737488 | 0.737488 | 0.737488 | 0.737488 | 0.737488 | 0.737488 | 0 | 0.017957 | 0.305353 | 3,848 | 118 | 105 | 32.610169 | 0.774411 | 0 | 0 | 0.704762 | 0 | 0.009524 | 0.161642 | 0.036642 | 0 | 0 | 0 | 0 | 0.019048 | 1 | 0.028571 | false | 0.009524 | 0.07619 | 0 | 0.12381 | 0.019048 | 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 |
52c338027d8db5563504a731a668f53048ef5172 | 3,568 | py | Python | forge_api_client/versions.py | dmh126/forge-python-data-management-api | 9c33f220021251a0340346065e3dd1998fc49a12 | [
"MIT"
] | 1 | 2019-07-02T08:32:22.000Z | 2019-07-02T08:32:22.000Z | forge_api_client/versions.py | dmh126/forge-python-data-management-api | 9c33f220021251a0340346065e3dd1998fc49a12 | [
"MIT"
] | null | null | null | forge_api_client/versions.py | dmh126/forge-python-data-management-api | 9c33f220021251a0340346065e3dd1998fc49a12 | [
"MIT"
] | 2 | 2019-07-04T05:13:42.000Z | 2020-05-09T22:15:05.000Z | from .utils import get_request, post_request, patch_request, authorized
class Versions:
@authorized
def getVersion(self, project_id, version_id):
url = self.api_url + '/data/v1/projects/%s/versions/%s' % (project_id, version_id)
headers = {
'Authorization': '%s %s' % (self.token_... | 29.00813 | 109 | 0.612948 | 416 | 3,568 | 5.0625 | 0.115385 | 0.08547 | 0.136752 | 0.153846 | 0.850427 | 0.850427 | 0.82811 | 0.82811 | 0.82811 | 0.82811 | 0 | 0.003765 | 0.255605 | 3,568 | 122 | 110 | 29.245902 | 0.789157 | 0 | 0 | 0.628205 | 0 | 0 | 0.191984 | 0.131446 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128205 | false | 0 | 0.012821 | 0 | 0.282051 | 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 |
52f30a30a3430473874d130ca8c5d8641129665a | 39 | py | Python | update/__main__.py | itemmanager/bungieapi | 0c4326f88ea0f28a1dcab683dc08c8d21c940fc1 | [
"MIT"
] | 5 | 2022-01-06T21:05:53.000Z | 2022-02-12T19:58:11.000Z | update/__main__.py | itemmanager/bungieapi | 0c4326f88ea0f28a1dcab683dc08c8d21c940fc1 | [
"MIT"
] | 8 | 2021-12-25T02:40:56.000Z | 2022-03-28T03:31:41.000Z | update/__main__.py | itemmanager/bungieapi | 0c4326f88ea0f28a1dcab683dc08c8d21c940fc1 | [
"MIT"
] | 1 | 2022-01-30T23:53:25.000Z | 2022-01-30T23:53:25.000Z | from .cli import generate
generate()
| 7.8 | 25 | 0.74359 | 5 | 39 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 4 | 26 | 9.75 | 0.90625 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5e0aa5a7d5eddf99f706a755767166ccd3cc53ea | 3,315 | py | Python | tests/test_calculate.py | ayeshasilvia/price_calculator | 3b0773cbda115d1a30941cb5b269d76d8df1f9c9 | [
"MIT"
] | null | null | null | tests/test_calculate.py | ayeshasilvia/price_calculator | 3b0773cbda115d1a30941cb5b269d76d8df1f9c9 | [
"MIT"
] | null | null | null | tests/test_calculate.py | ayeshasilvia/price_calculator | 3b0773cbda115d1a30941cb5b269d76d8df1f9c9 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
import pytest
import os
from src.price_calculator.calculate import read_files, check_options, get_base_price, calculate
__author__ = "Ayesha Mosaddeque"
__copyright__ = "Ayesha Mosaddeque"
__license__ = "mit"
def test_read_files():
assert read_files(os.p... | 31.571429 | 95 | 0.638009 | 405 | 3,315 | 4.987654 | 0.202469 | 0.047525 | 0.10297 | 0.142574 | 0.801485 | 0.785149 | 0.762871 | 0.762871 | 0.762871 | 0.627723 | 0 | 0.028736 | 0.21267 | 3,315 | 104 | 96 | 31.875 | 0.745211 | 0.01267 | 0 | 0.493827 | 0 | 0 | 0.255885 | 0.158361 | 0 | 0 | 0 | 0 | 0.185185 | 1 | 0.098765 | false | 0 | 0.049383 | 0 | 0.148148 | 0.061728 | 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 |
eae54459cee5602a223babdc6ac5858f18588ee7 | 31 | py | Python | app/api/v1/__init__.py | FX-HAO/scheduler-service | 885b724076f51609696eaf5fcda317487e706c22 | [
"BSD-2-Clause"
] | 1 | 2017-07-19T14:17:22.000Z | 2017-07-19T14:17:22.000Z | app/api/v1/__init__.py | FX-HAO/scheduler-service | 885b724076f51609696eaf5fcda317487e706c22 | [
"BSD-2-Clause"
] | 2 | 2017-02-07T05:33:21.000Z | 2017-02-14T02:03:28.000Z | app/api/v1/__init__.py | FX-HAO/scheduler-service | 885b724076f51609696eaf5fcda317487e706c22 | [
"BSD-2-Clause"
] | 2 | 2017-01-08T08:28:38.000Z | 2021-07-20T07:44:36.000Z | from .users import UserResource | 31 | 31 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.964286 | 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 |
eaee2287027fce5d45ecad25e510bc7a1c234461 | 34 | py | Python | ddlogger/__init__.py | kkew3/dot-dot-logger | 31620e2137c5a2dbdcf7bb46dd91555c51b64c81 | [
"MIT"
] | null | null | null | ddlogger/__init__.py | kkew3/dot-dot-logger | 31620e2137c5a2dbdcf7bb46dd91555c51b64c81 | [
"MIT"
] | null | null | null | ddlogger/__init__.py | kkew3/dot-dot-logger | 31620e2137c5a2dbdcf7bb46dd91555c51b64c81 | [
"MIT"
] | null | null | null | from ddlogger import DotDotLogger
| 17 | 33 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
eaf01e1d18a4774a07317336c4dbfdf1d34de834 | 9,569 | py | Python | authors/apps/articles/tests/test_comments.py | andela/ah-backend-prime | 0708463d4565a4977a5a5dcb839f1dfed52fdc90 | [
"BSD-3-Clause"
] | 1 | 2019-09-19T14:30:05.000Z | 2019-09-19T14:30:05.000Z | authors/apps/articles/tests/test_comments.py | e-ian/authors-haven-frontend | 05829c8088ca49ef2cf0863dc87ec55b44b13534 | [
"BSD-3-Clause"
] | 22 | 2019-03-25T16:10:53.000Z | 2022-03-11T23:44:21.000Z | authors/apps/articles/tests/test_comments.py | e-ian/authors-haven-frontend | 05829c8088ca49ef2cf0863dc87ec55b44b13534 | [
"BSD-3-Clause"
] | 6 | 2019-03-25T09:39:39.000Z | 2021-03-11T23:54:12.000Z | import json
from rest_framework.test import APIClient, APITestCase
from .base import BaseTest
from rest_framework import status, response
from django.urls import reverse
from .base import ArticlesBaseTest
from .test_data import (
VALID_ARTICLE,
VALID_COMMENT,
VALID_COMMENT_2
)
from authors.apps.authenticat... | 29.17378 | 67 | 0.564113 | 981 | 9,569 | 5.24159 | 0.100917 | 0.073901 | 0.080513 | 0.055426 | 0.849086 | 0.834889 | 0.818942 | 0.765461 | 0.765461 | 0.710618 | 0 | 0.011365 | 0.337966 | 9,569 | 328 | 68 | 29.17378 | 0.800316 | 0.047027 | 0 | 0.67433 | 0 | 0 | 0.060445 | 0.003502 | 0 | 0 | 0.000339 | 0 | 0.065134 | 1 | 0.042146 | false | 0 | 0.034483 | 0 | 0.08046 | 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 |
d81f2262959956bea008b69793b51952b4b3e0b3 | 134 | py | Python | code/1007.py | minssoj/Learning_Algorithm_Up | 45ec4e2eb4c07c9ec907a74dbd31370e1645c50b | [
"MIT"
] | null | null | null | code/1007.py | minssoj/Learning_Algorithm_Up | 45ec4e2eb4c07c9ec907a74dbd31370e1645c50b | [
"MIT"
] | null | null | null | code/1007.py | minssoj/Learning_Algorithm_Up | 45ec4e2eb4c07c9ec907a74dbd31370e1645c50b | [
"MIT"
] | null | null | null | # [기초-출력] 출력하기07(설명)
# minso.jeong@daum.net
'''
문제링크 : https://www.codeup.kr/problem.php?id=1007
'''
print('"C:\Download\hello.cpp"') | 19.142857 | 48 | 0.649254 | 22 | 134 | 3.954545 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.08209 | 134 | 7 | 49 | 19.142857 | 0.658537 | 0.664179 | 0 | 0 | 0 | 0 | 0.621622 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d820238df5a63041ec4a118603d01c05f21d8ea7 | 123 | py | Python | self_supervised/__init__.py | 36000/myow | 73f2b430d284bcd6bb0c6faaac30576e84393ff1 | [
"Apache-2.0"
] | 19 | 2021-02-22T15:51:30.000Z | 2022-01-23T12:25:30.000Z | self_supervised/__init__.py | 36000/myow | 73f2b430d284bcd6bb0c6faaac30576e84393ff1 | [
"Apache-2.0"
] | 1 | 2022-01-19T16:21:51.000Z | 2022-01-19T16:21:51.000Z | self_supervised/__init__.py | 36000/myow | 73f2b430d284bcd6bb0c6faaac30576e84393ff1 | [
"Apache-2.0"
] | 2 | 2021-07-28T21:19:07.000Z | 2022-01-26T23:10:56.000Z | from . import data, transforms
from . import model, optimizer, trainer, loss
from . import tensorboard
from . import utils
| 24.6 | 45 | 0.772358 | 16 | 123 | 5.9375 | 0.625 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162602 | 123 | 4 | 46 | 30.75 | 0.92233 | 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 |
d83332ec12fd27b8284305f900864e8565581901 | 38 | py | Python | creacion_de_aplicaciones/pyqt5_iris/app/gui/__init__.py | soytupadrrre/Master_Python_Eip | c4774209d7dd15584233fe5d4cc01b1434c9316b | [
"MIT"
] | null | null | null | creacion_de_aplicaciones/pyqt5_iris/app/gui/__init__.py | soytupadrrre/Master_Python_Eip | c4774209d7dd15584233fe5d4cc01b1434c9316b | [
"MIT"
] | null | null | null | creacion_de_aplicaciones/pyqt5_iris/app/gui/__init__.py | soytupadrrre/Master_Python_Eip | c4774209d7dd15584233fe5d4cc01b1434c9316b | [
"MIT"
] | null | null | null | from app.gui.home import Ui_MainWindow | 38 | 38 | 0.868421 | 7 | 38 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc24117c3addc5bfa4374db72d97499544e36999 | 39 | py | Python | venv/Lib/site-packages/IPython/kernel/restarter.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | venv/Lib/site-packages/IPython/kernel/restarter.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | venv/Lib/site-packages/IPython/kernel/restarter.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | from jupyter_client.restarter import *
| 19.5 | 38 | 0.846154 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc391bcb36c653049c076a4517a847fc4cf64e7f | 79 | py | Python | h1st/h1st/model_repository/__init__.py | Mou-Ikkai/h1st | da47a8f1ad6af532c549e075fba19e3b3692de89 | [
"Apache-2.0"
] | 2 | 2020-08-21T07:49:08.000Z | 2020-08-21T07:49:13.000Z | h1st/h1st/model_repository/__init__.py | Mou-Ikkai/h1st | da47a8f1ad6af532c549e075fba19e3b3692de89 | [
"Apache-2.0"
] | null | null | null | h1st/h1st/model_repository/__init__.py | Mou-Ikkai/h1st | da47a8f1ad6af532c549e075fba19e3b3692de89 | [
"Apache-2.0"
] | null | null | null | from h1st.model_repository.model_repository import ModelRepository, ModelSerDe
| 39.5 | 78 | 0.898734 | 9 | 79 | 7.666667 | 0.777778 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.063291 | 79 | 1 | 79 | 79 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc5b1079f6f7da6115a683ff6f3bbe717a9a8a84 | 420 | py | Python | delira/data_loading/sampler/__init__.py | gedoensmax/delira | 545e2ccbe56ed382d300cf3d00317e9a0e3ab5f6 | [
"BSD-2-Clause"
] | null | null | null | delira/data_loading/sampler/__init__.py | gedoensmax/delira | 545e2ccbe56ed382d300cf3d00317e9a0e3ab5f6 | [
"BSD-2-Clause"
] | null | null | null | delira/data_loading/sampler/__init__.py | gedoensmax/delira | 545e2ccbe56ed382d300cf3d00317e9a0e3ab5f6 | [
"BSD-2-Clause"
] | null | null | null | from delira.data_loading.sampler.abstract import AbstractSampler
from delira.data_loading.sampler.batch import BatchSampler
from delira.data_loading.sampler.random import RandomSampler, \
RandomSamplerNoReplacement, RandomSamplerWithReplacement
from delira.data_loading.sampler.sequential import SequentialSampler
fr... | 52.5 | 73 | 0.87381 | 43 | 420 | 8.418605 | 0.44186 | 0.138122 | 0.19337 | 0.290055 | 0.38674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078571 | 420 | 7 | 74 | 60 | 0.935401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 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 |
dc6ea56134f47a2d8d89e119047ce37c62492e43 | 114 | py | Python | nncompress/__init__.py | GabrielMajeri/neuralcompressor | ab293a87abc1d9173553ce0388a88d3ebcf028c7 | [
"MIT"
] | 84 | 2018-03-17T13:35:31.000Z | 2022-03-17T08:43:58.000Z | nncompress/__init__.py | GabrielMajeri/neuralcompressor | ab293a87abc1d9173553ce0388a88d3ebcf028c7 | [
"MIT"
] | 9 | 2018-04-06T01:15:10.000Z | 2020-02-24T13:34:39.000Z | nncompress/__init__.py | GabrielMajeri/neuralcompressor | ab293a87abc1d9173553ce0388a88d3ebcf028c7 | [
"MIT"
] | 23 | 2018-03-31T01:36:41.000Z | 2020-09-25T03:58:47.000Z | from __future__ import absolute_import, division, print_function
from .embed_compress import EmbeddingCompressor
| 28.5 | 64 | 0.877193 | 13 | 114 | 7.153846 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096491 | 114 | 3 | 65 | 38 | 0.902913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
dc7b52f4f1436ad0d70f342b11bb3f4ff43941e1 | 237 | py | Python | app/ml/objects/classification/enum.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | 1 | 2021-05-04T08:46:19.000Z | 2021-05-04T08:46:19.000Z | app/ml/objects/classification/enum.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | null | null | null | app/ml/objects/classification/enum.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | 1 | 2022-01-28T21:21:32.000Z | 2022-01-28T21:21:32.000Z | from enum import Enum
class Classifier(str, Enum):
KNEIGHBORS_CLASSIFIER = "KNEIGHBORS_CLASSIFIER"
MLP_CLASSIFIER = "MLP_CLASSIFIER"
RANDOM_FOREST_CLASSIFIER = "RANDOM_FOREST_CLASSIFIER"
SVC_CLASSIFIER = "SVC_CLASSIFIER" | 33.857143 | 57 | 0.78481 | 26 | 237 | 6.769231 | 0.423077 | 0.227273 | 0.261364 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147679 | 237 | 7 | 58 | 33.857143 | 0.871287 | 0 | 0 | 0 | 0 | 0 | 0.306723 | 0.189076 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
dc7f87a795e52252ea4c10ed91f4ba38e6dd2cf4 | 54,704 | py | Python | vaccine/tests/test_vaccine_reg_whatsapp.py | praekeltfoundation/vaccine-eligibility | 041010cbb14a12854a9644d97e56b63ba62cd32e | [
"BSD-3-Clause"
] | null | null | null | vaccine/tests/test_vaccine_reg_whatsapp.py | praekeltfoundation/vaccine-eligibility | 041010cbb14a12854a9644d97e56b63ba62cd32e | [
"BSD-3-Clause"
] | 6 | 2021-04-09T11:09:23.000Z | 2022-03-29T08:35:25.000Z | vaccine/tests/test_vaccine_reg_whatsapp.py | praekeltfoundation/vaccine-eligibility | 041010cbb14a12854a9644d97e56b63ba62cd32e | [
"BSD-3-Clause"
] | null | null | null | import gzip
from datetime import date
from unittest import mock
import pytest
from sanic import Sanic, response
from vaccine.data.medscheme import config as m_config
from vaccine.data.suburbs import config as s_config
from vaccine.models import Message
from vaccine.testing import AppTester
from vaccine.vaccine_reg_wh... | 36.518024 | 88 | 0.666386 | 6,304 | 54,704 | 5.523953 | 0.084549 | 0.077391 | 0.081038 | 0.104873 | 0.870861 | 0.856876 | 0.842058 | 0.821526 | 0.793412 | 0.763806 | 0 | 0.040026 | 0.217205 | 54,704 | 1,497 | 89 | 36.542418 | 0.77236 | 0 | 0 | 0.687017 | 0 | 0 | 0.356621 | 0.11224 | 0 | 0 | 0 | 0 | 0.142195 | 1 | 0.003864 | false | 0.037867 | 0.013138 | 0.000773 | 0.021638 | 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 |
dc82fe29faf62f9aae84f188efa41469dfe6ff15 | 40,088 | py | Python | sqlite_dissect/export/csv_export.py | Defense-Cyber-Crime-Center/sqlite-dissect | e1a6c19928bc092bf7aeaff71072634f77a452ea | [
"MIT"
] | 12 | 2021-10-21T21:23:51.000Z | 2022-03-13T03:01:53.000Z | sqlite_dissect/export/csv_export.py | Defense-Cyber-Crime-Center/sqlite-dissect | e1a6c19928bc092bf7aeaff71072634f77a452ea | [
"MIT"
] | 21 | 2021-09-13T17:00:33.000Z | 2022-03-31T12:56:56.000Z | sqlite_dissect/export/csv_export.py | kchason/sqlite-dissect | e1a6c19928bc092bf7aeaff71072634f77a452ea | [
"MIT"
] | 1 | 2021-10-21T22:00:07.000Z | 2021-10-21T22:00:07.000Z | import os
from csv import QUOTE_ALL
from csv import writer
from logging import DEBUG
from logging import getLogger
from os.path import basename
from os.path import normpath
from os.path import sep
from re import sub
from sqlite_dissect.constants import ILLEGAL_XML_CHARACTER_PATTERN
from sqlite_dissect.constants import ... | 59.654762 | 120 | 0.595964 | 4,974 | 40,088 | 4.648774 | 0.081021 | 0.034252 | 0.037495 | 0.017126 | 0.877827 | 0.848246 | 0.832764 | 0.831596 | 0.823293 | 0.81153 | 0 | 0.00212 | 0.352799 | 40,088 | 671 | 121 | 59.743666 | 0.889112 | 0.397126 | 0 | 0.588235 | 0 | 0.00692 | 0.067776 | 0 | 0.010381 | 0 | 0 | 0 | 0 | 1 | 0.027682 | false | 0.013841 | 0.055363 | 0.00346 | 0.096886 | 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.