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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
075b8421486f89fc99464d27c8ccefa534212678 | 3,945 | py | Python | tests/test_index.py | hixi-hyi/aws-cloudformation-lambda-strings | f91f04e040d3d26bd0290cf6aa5ff45979cf952f | [
"MIT"
] | null | null | null | tests/test_index.py | hixi-hyi/aws-cloudformation-lambda-strings | f91f04e040d3d26bd0290cf6aa5ff45979cf952f | [
"MIT"
] | null | null | null | tests/test_index.py | hixi-hyi/aws-cloudformation-lambda-strings | f91f04e040d3d26bd0290cf6aa5ff45979cf952f | [
"MIT"
] | null | null | null | from unittest import TestCase
import cfntest
from src.index import Strings
def get(c, name):
return c.response.get_data(name)
class Test(TestCase):
def test_one_case(self):
context = cfntest.get_context()
event = cfntest.get_create_event({"Values": ["dEv"]})
c = Strings(event, context)
c.run()
... | 40.670103 | 73 | 0.662104 | 495 | 3,945 | 5.20404 | 0.09899 | 0.088509 | 0.391304 | 0.413043 | 0.940217 | 0.854037 | 0.72632 | 0.569099 | 0.569099 | 0.569099 | 0 | 0 | 0.142205 | 3,945 | 96 | 74 | 41.09375 | 0.761229 | 0 | 0 | 0.414634 | 0 | 0 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0.682927 | 1 | 0.060976 | false | 0 | 0.036585 | 0.012195 | 0.121951 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0764d953316fa04bba8d053bde589ed21daec5a2 | 44 | py | Python | libtest2.py | mparikh15/Oracle-of-Nazene | 87686b6e4ee72e3fc41ff20e513f53e392fb0043 | [
"Apache-2.0"
] | null | null | null | libtest2.py | mparikh15/Oracle-of-Nazene | 87686b6e4ee72e3fc41ff20e513f53e392fb0043 | [
"Apache-2.0"
] | null | null | null | libtest2.py | mparikh15/Oracle-of-Nazene | 87686b6e4ee72e3fc41ff20e513f53e392fb0043 | [
"Apache-2.0"
] | null | null | null | from librarytest import *
print hello()
| 11 | 26 | 0.704545 | 5 | 44 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 44 | 3 | 27 | 14.666667 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
4ae5070257fe549b7e5840008b3c7533d03ef07c | 190 | py | Python | schemas/image_list.py | dereina/pypreprocessing | 7eed46693a5ef1b3f1a14d0428a57d88f1915d04 | [
"Apache-2.0"
] | null | null | null | schemas/image_list.py | dereina/pypreprocessing | 7eed46693a5ef1b3f1a14d0428a57d88f1915d04 | [
"Apache-2.0"
] | null | null | null | schemas/image_list.py | dereina/pypreprocessing | 7eed46693a5ef1b3f1a14d0428a57d88f1915d04 | [
"Apache-2.0"
] | null | null | null | class ImageList:
def __init__(self, images = []):
self.images = images
print("images list")
@property
def data(self):
return self.images
| 21.111111 | 37 | 0.531579 | 19 | 190 | 5.105263 | 0.578947 | 0.309278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.368421 | 190 | 8 | 38 | 23.75 | 0.808333 | 0 | 0 | 0 | 0 | 0 | 0.06044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ab34f5e5e7fb3bfe2cb5b476b7546325d70b22b1 | 100 | py | Python | jax_random_projections/__init__.py | Baschdl/jax-random_projections | 47bd6ef04dae26c05679f3b276454cb167a056ba | [
"MIT"
] | 1 | 2020-05-17T15:06:03.000Z | 2020-05-17T15:06:03.000Z | jax_random_projections/__init__.py | Baschdl/jax-random_projections | 47bd6ef04dae26c05679f3b276454cb167a056ba | [
"MIT"
] | null | null | null | jax_random_projections/__init__.py | Baschdl/jax-random_projections | 47bd6ef04dae26c05679f3b276454cb167a056ba | [
"MIT"
] | null | null | null | from jax_random_projections.sparse import SparseRandomProjectionJAX, SparseRandomProjectionJAXCached | 100 | 100 | 0.94 | 8 | 100 | 11.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 100 | 1 | 100 | 100 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab4fe7bbcc7bfea222ff390cfded56b5cdcfd0d8 | 5,981 | py | Python | nevow/test/test_static.py | perkinslr/nevow-py3 | 69c7a64832a176955af5534febf5a405c511b5eb | [
"MIT"
] | null | null | null | nevow/test/test_static.py | perkinslr/nevow-py3 | 69c7a64832a176955af5534febf5a405c511b5eb | [
"MIT"
] | null | null | null | nevow/test/test_static.py | perkinslr/nevow-py3 | 69c7a64832a176955af5534febf5a405c511b5eb | [
"MIT"
] | null | null | null | from twisted.trial import unittest
import os
from nevow import static, util, context, testutil
def deferredRender(res, req):
d = util.maybeDeferred(res.renderHTTP,
context.PageContext(
tag=res, parent=context.RequestContext(
tag=req)))
def done(result):
if isinstan... | 43.34058 | 76 | 0.638355 | 673 | 5,981 | 5.619614 | 0.127786 | 0.119249 | 0.100476 | 0.137493 | 0.796933 | 0.796933 | 0.796933 | 0.796933 | 0.796933 | 0.796933 | 0 | 0.047785 | 0.230229 | 5,981 | 137 | 77 | 43.656934 | 0.773675 | 0.02625 | 0 | 0.486239 | 0 | 0 | 0.106841 | 0 | 0 | 0 | 0 | 0 | 0.183486 | 1 | 0.211009 | false | 0 | 0.027523 | 0 | 0.449541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db5bbac39e1758edc73907bf6a90e2a781bb3b4e | 10,059 | py | Python | myusers/tests/integration_tests/test_change_password.py | AdamCottrill/django-custom-semantic-user | e71dec48c4e5cfe2d7b4c9b057c9b9378ce4b13b | [
"MIT"
] | null | null | null | myusers/tests/integration_tests/test_change_password.py | AdamCottrill/django-custom-semantic-user | e71dec48c4e5cfe2d7b4c9b057c9b9378ce4b13b | [
"MIT"
] | 9 | 2019-12-04T22:38:28.000Z | 2022-02-10T07:55:09.000Z | myusers/tests/integration_tests/test_change_password.py | AdamCottrill/django-custom-semantic-user | e71dec48c4e5cfe2d7b4c9b057c9b9378ce4b13b | [
"MIT"
] | null | null | null | """Integration tests for the change password template
The change password view uses django's built view but uses custom
template. The tests in this file verify that the custom template
contains all of the necessary elements including error messages and
mark-up.
Tests in this file include:
+ change password login req... | 31.336449 | 81 | 0.70673 | 1,354 | 10,059 | 5.139586 | 0.12777 | 0.028452 | 0.021555 | 0.033051 | 0.756718 | 0.735019 | 0.713896 | 0.70786 | 0.696221 | 0.682282 | 0 | 0.013388 | 0.205488 | 10,059 | 320 | 82 | 31.434375 | 0.857357 | 0.220698 | 0 | 0.718232 | 0 | 0 | 0.210636 | 0.042412 | 0 | 0 | 0 | 0 | 0.281768 | 1 | 0.049724 | false | 0.491713 | 0.022099 | 0 | 0.071823 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
db99d15ec45fdd95cbebc5ff9f35c207ef04d38f | 3,957 | py | Python | tests/persistence/test_essences.py | MarkusH/kopf | caaf399c46af0fcb10730eec2db303484d31b38b | [
"MIT"
] | 1,038 | 2019-03-26T16:32:56.000Z | 2022-03-27T09:15:03.000Z | tests/persistence/test_essences.py | MarkusH/kopf | caaf399c46af0fcb10730eec2db303484d31b38b | [
"MIT"
] | 393 | 2019-03-26T13:43:42.000Z | 2020-09-14T13:18:14.000Z | tests/persistence/test_essences.py | MarkusH/kopf | caaf399c46af0fcb10730eec2db303484d31b38b | [
"MIT"
] | 116 | 2019-03-31T23:01:09.000Z | 2022-03-18T16:44:58.000Z | from typing import Type
import pytest
from kopf.storage.diffbase import DiffBaseStorage, AnnotationsDiffBaseStorage, StatusDiffBaseStorage
from kopf.storage.diffbase import LAST_SEEN_ANNOTATION
from kopf.structs.bodies import Body
ALL_STORAGES = [AnnotationsDiffBaseStorage, StatusDiffBaseStorage]
@pytest.mark.para... | 30.438462 | 100 | 0.669194 | 438 | 3,957 | 5.876712 | 0.180365 | 0.052836 | 0.097902 | 0.074592 | 0.778943 | 0.717949 | 0.717949 | 0.717949 | 0.717949 | 0.687646 | 0 | 0 | 0.16376 | 3,957 | 129 | 101 | 30.674419 | 0.777879 | 0 | 0 | 0.727273 | 0 | 0 | 0.180692 | 0.024261 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.072727 | false | 0 | 0.045455 | 0 | 0.118182 | 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 |
dbdc556edc27483958c00b9c56e3b7888fb62890 | 3,343 | py | Python | unittests/test_deck_of_cards.py | jamberin/card_games | 93a16751e14520fa7e5b0f508ed0990c4a774c34 | [
"Unlicense"
] | 1 | 2020-05-30T01:00:22.000Z | 2020-05-30T01:00:22.000Z | unittests/test_deck_of_cards.py | jamberin/card_games | 93a16751e14520fa7e5b0f508ed0990c4a774c34 | [
"Unlicense"
] | null | null | null | unittests/test_deck_of_cards.py | jamberin/card_games | 93a16751e14520fa7e5b0f508ed0990c4a774c34 | [
"Unlicense"
] | null | null | null | """ Unit tests for the deck of cards resource """
from shared_resources.card_utilities.deck_of_cards import StandardCardDeck, EuchreCardDeck
from unittest import TestCase
class TestStandardCardDeck(TestCase):
""" Unit tests for the StandardCardDeck class """
def test_standard_52_card_deck(self):
"""... | 34.112245 | 90 | 0.618606 | 439 | 3,343 | 4.594533 | 0.132118 | 0.089241 | 0.059494 | 0.079326 | 0.85176 | 0.841844 | 0.817551 | 0.80119 | 0.772434 | 0.772434 | 0 | 0.024576 | 0.294047 | 3,343 | 97 | 91 | 34.463918 | 0.830085 | 0.388872 | 0 | 0.513514 | 0 | 0 | 0.060956 | 0 | 0 | 0 | 0 | 0 | 0.324324 | 1 | 0.135135 | false | 0 | 0.054054 | 0 | 0.216216 | 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 |
9154bf03494b35bdb9956849a0191b7efe55c43b | 40 | py | Python | enthought/kiva/setup.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/kiva/setup.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/kiva/setup.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from kiva.setup import *
| 13.333333 | 24 | 0.75 | 6 | 40 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 25 | 20 | 0.909091 | 0.3 | 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 |
9172ab9946f581b1e51d7d9be10aae0a6def626c | 37 | py | Python | pingo/galileo/__init__.py | rbanffy/pingo | b448d5eecae17b82aafd708c2594dae6d4194d84 | [
"MIT"
] | null | null | null | pingo/galileo/__init__.py | rbanffy/pingo | b448d5eecae17b82aafd708c2594dae6d4194d84 | [
"MIT"
] | 1 | 2021-03-20T05:17:03.000Z | 2021-03-20T05:17:03.000Z | pingo/galileo/__init__.py | rbanffy/pingo | b448d5eecae17b82aafd708c2594dae6d4194d84 | [
"MIT"
] | null | null | null | from galileo import Galileo2 # noqa
| 18.5 | 36 | 0.783784 | 5 | 37 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.189189 | 37 | 1 | 37 | 37 | 0.933333 | 0.108108 | 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 |
91867a53a7ee0a46a65172c03b0b24255b930973 | 9,252 | py | Python | tests/test_multipath.py | adamkewley/multipath | 9468c64e676cbed30c051ef6e88ef1d8e7b7ff56 | [
"Apache-2.0"
] | null | null | null | tests/test_multipath.py | adamkewley/multipath | 9468c64e676cbed30c051ef6e88ef1d8e7b7ff56 | [
"Apache-2.0"
] | null | null | null | tests/test_multipath.py | adamkewley/multipath | 9468c64e676cbed30c051ef6e88ef1d8e7b7ff56 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# 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 or agreed to in writing, software
... | 35.178707 | 97 | 0.670558 | 1,205 | 9,252 | 4.772614 | 0.118672 | 0.061207 | 0.046948 | 0.033907 | 0.813076 | 0.785603 | 0.751695 | 0.719527 | 0.709442 | 0.682316 | 0 | 0.019017 | 0.221358 | 9,252 | 262 | 98 | 35.312977 | 0.779289 | 0.058258 | 0 | 0.589595 | 0 | 0 | 0.041849 | 0 | 0 | 0 | 0 | 0 | 0.132948 | 1 | 0.138728 | false | 0 | 0.023121 | 0 | 0.16763 | 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 |
91ae8c10c408b53d85943c1457d6b0d0bc13fec9 | 20 | py | Python | authenticate/__init__.py | Jacobinski/SB-Bot | d9d6dfa2e4948dd5b8cdb60c97b5e42641ab0dbe | [
"MIT"
] | 1 | 2017-10-30T19:54:09.000Z | 2017-10-30T19:54:09.000Z | authenticate/__init__.py | Jacobinski/SB-Bot | d9d6dfa2e4948dd5b8cdb60c97b5e42641ab0dbe | [
"MIT"
] | 1 | 2021-06-01T21:48:43.000Z | 2021-06-01T21:48:43.000Z | authenticate/__init__.py | Jacobinski/SB-Bot | d9d6dfa2e4948dd5b8cdb60c97b5e42641ab0dbe | [
"MIT"
] | 1 | 2020-09-23T01:45:06.000Z | 2020-09-23T01:45:06.000Z | from .login import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 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 |
91e11188ab7633bef8df8107b16635f784591d30 | 34 | py | Python | flask_02_ex/app/nasa_exoplanet/views/__init__.py | japinol7/flask_examples | 09f962f6f9fad6fc291675aac441597936d1475a | [
"MIT"
] | 3 | 2020-09-27T13:38:13.000Z | 2020-09-27T15:04:14.000Z | flask_02_ex/app/nasa_exoplanet/views/__init__.py | japinol7/flask_examples | 09f962f6f9fad6fc291675aac441597936d1475a | [
"MIT"
] | null | null | null | flask_02_ex/app/nasa_exoplanet/views/__init__.py | japinol7/flask_examples | 09f962f6f9fad6fc291675aac441597936d1475a | [
"MIT"
] | null | null | null | from . import nasa_exoplanet_view
| 17 | 33 | 0.852941 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
37e4ce211db0ead2e99377216e79a615112a8da7 | 5,922 | py | Python | tests/legacy_test.py | jepler/Adafruit_CircuitPython_Requests | 9a9527110726036bfad94b14166e62aa61c1276e | [
"MIT"
] | null | null | null | tests/legacy_test.py | jepler/Adafruit_CircuitPython_Requests | 9a9527110726036bfad94b14166e62aa61c1276e | [
"MIT"
] | null | null | null | tests/legacy_test.py | jepler/Adafruit_CircuitPython_Requests | 9a9527110726036bfad94b14166e62aa61c1276e | [
"MIT"
] | null | null | null | from unittest import mock
import legacy_mocket as mocket
import json
import pytest
import adafruit_requests
ip = "1.2.3.4"
host = "httpbin.org"
response = {"Date": "July 25, 2019"}
encoded = json.dumps(response).encode("utf-8")
headers = "HTTP/1.0 200 OK\r\nContent-Length: {}\r\n\r\n".format(len(encoded)).encode(
... | 34.430233 | 86 | 0.68102 | 825 | 5,922 | 4.715152 | 0.126061 | 0.043188 | 0.06581 | 0.065039 | 0.860411 | 0.839332 | 0.838046 | 0.828792 | 0.767866 | 0.757069 | 0 | 0.021394 | 0.171226 | 5,922 | 171 | 87 | 34.631579 | 0.77119 | 0.049983 | 0 | 0.606299 | 0 | 0.007874 | 0.082428 | 0.003739 | 0 | 0 | 0 | 0 | 0.291339 | 1 | 0.055118 | false | 0 | 0.03937 | 0 | 0.094488 | 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 |
37f63d9616df86156e4cfab077dd4536c5ae3478 | 35 | py | Python | livemark/plugins/markdown/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 73 | 2021-06-07T13:28:36.000Z | 2022-03-26T05:37:59.000Z | livemark/plugins/markdown/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 120 | 2021-06-04T12:51:01.000Z | 2022-03-21T11:11:36.000Z | livemark/plugins/markdown/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 7 | 2021-09-22T11:38:26.000Z | 2022-03-26T05:35:58.000Z | from .plugin import MarkdownPlugin
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
532d20ced701d5a17ba23cf69e711fa40f629882 | 6,277 | py | Python | bitwise/signal/INV_CTRL.py | jamesjiang52/Bitwise | c71f151d23034b3f9e2a939f637be0eaa16c45c3 | [
"MIT"
] | null | null | null | bitwise/signal/INV_CTRL.py | jamesjiang52/Bitwise | c71f151d23034b3f9e2a939f637be0eaa16c45c3 | [
"MIT"
] | null | null | null | bitwise/signal/INV_CTRL.py | jamesjiang52/Bitwise | c71f151d23034b3f9e2a939f637be0eaa16c45c3 | [
"MIT"
] | null | null | null | """
The following classes are defined:
ControlledInverter4
ControlledInverter8
ControlledInverter16
"""
from .. import wire
from .. import gate
Wire = wire.Wire
Bus4 = wire.Bus4
Bus8 = wire.Bus8
Bus16 = wire.Bus16
class ControlledInverter4:
"""Construct a new 4-bit controlled inverter.
Args:
... | 31.70202 | 78 | 0.578142 | 812 | 6,277 | 4.23399 | 0.087438 | 0.109366 | 0.04363 | 0.036649 | 0.841478 | 0.818208 | 0.782141 | 0.774578 | 0.774578 | 0.774578 | 0 | 0.027394 | 0.331209 | 6,277 | 197 | 79 | 31.862944 | 0.791567 | 0.235622 | 0 | 0.661417 | 0 | 0 | 0.088779 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070866 | false | 0 | 0.015748 | 0 | 0.133858 | 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 |
5356a24d6d7712bfdc68571254f6127ccd11cbb3 | 22,089 | py | Python | Notebooks/utils/DL_utils.py | Sleentex/Deep-learning-with-Python | 4a8d3c225f0ebf30c85e4347d536ddb3842ba8fe | [
"MIT"
] | null | null | null | Notebooks/utils/DL_utils.py | Sleentex/Deep-learning-with-Python | 4a8d3c225f0ebf30c85e4347d536ddb3842ba8fe | [
"MIT"
] | null | null | null | Notebooks/utils/DL_utils.py | Sleentex/Deep-learning-with-Python | 4a8d3c225f0ebf30c85e4347d536ddb3842ba8fe | [
"MIT"
] | null | null | null | # Utility functions for deep learning with Keras
# Dr. Tirthajyoti Sarkar, Fremont, CA 94536
# ==============================================
# NOTES
# Used tf.keras in general except in special functions where older/independent Keras has been used.
import tensorflow as tf
import numpy as np
import matplotli... | 35.627419 | 138 | 0.619584 | 2,778 | 22,089 | 4.834053 | 0.160907 | 0.018095 | 0.018393 | 0.013404 | 0.827388 | 0.808251 | 0.787847 | 0.764167 | 0.745625 | 0.738476 | 0 | 0.020501 | 0.299968 | 22,089 | 620 | 139 | 35.627419 | 0.84796 | 0.36285 | 0 | 0.68915 | 0 | 0 | 0.085721 | 0.006562 | 0 | 0 | 0 | 0 | 0.038123 | 1 | 0.038123 | false | 0 | 0.052786 | 0 | 0.120235 | 0.017595 | 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 |
72681d9007387a1f452e8d706e2545c282d63abf | 7,593 | py | Python | backend/post/views.py | JustKode/JustKode-Blog | 53db04958be962ea6dc71248f9b02341f090cec1 | [
"MIT"
] | 6 | 2020-04-19T11:56:16.000Z | 2022-01-24T08:13:27.000Z | backend/post/views.py | JustKode/JustKode-Blog | 53db04958be962ea6dc71248f9b02341f090cec1 | [
"MIT"
] | 5 | 2021-03-09T02:52:23.000Z | 2022-02-12T09:07:09.000Z | backend/post/views.py | JustKode/JustKode-Blog | 53db04958be962ea6dc71248f9b02341f090cec1 | [
"MIT"
] | null | null | null | from django.contrib.auth.hashers import check_password, make_password
from rest_framework.views import APIView
from rest_framework.response import Response
from rest_framework import status
from board.models import Category, SubCategory
from post.serializer import PostSerializer, CommentSerializer, CommentPostSerialize... | 46.582822 | 160 | 0.616357 | 798 | 7,593 | 5.701754 | 0.111529 | 0.092308 | 0.091429 | 0.072527 | 0.791429 | 0.765934 | 0.754066 | 0.732088 | 0.726154 | 0.726154 | 0 | 0.014386 | 0.285921 | 7,593 | 163 | 161 | 46.582822 | 0.824788 | 0.010536 | 0 | 0.671642 | 0 | 0 | 0.089199 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074627 | false | 0.11194 | 0.052239 | 0 | 0.380597 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
727309695ce7588dddc7beaa679e1eb3cadb4c97 | 140 | py | Python | distancefrompicture/__init__.py | Robtom5/distance_from_picture | 6e4c0ea1808e55afbeae9bd86cb2cbefeb6d2cbb | [
"MIT"
] | 1 | 2018-03-26T10:50:24.000Z | 2018-03-26T10:50:24.000Z | distancefrompicture/__init__.py | Robtom5/distance_from_picture | 6e4c0ea1808e55afbeae9bd86cb2cbefeb6d2cbb | [
"MIT"
] | null | null | null | distancefrompicture/__init__.py | Robtom5/distance_from_picture | 6e4c0ea1808e55afbeae9bd86cb2cbefeb6d2cbb | [
"MIT"
] | null | null | null | from .CameraProperties import CameraProperties
from .DistanceFinder import DistanceFinder
from .TargetProperties import TargetProperties
| 35 | 47 | 0.871429 | 12 | 140 | 10.166667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 140 | 3 | 48 | 46.666667 | 0.976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
728afb87ac6d3dc8efc1a9b3ee86d34105803c22 | 3,671 | py | Python | urls.py | cjoakim/azure-cognitive-search-example | 943053438d698f15e8315880491e37e759d29ae8 | [
"MIT"
] | null | null | null | urls.py | cjoakim/azure-cognitive-search-example | 943053438d698f15e8315880491e37e759d29ae8 | [
"MIT"
] | null | null | null | urls.py | cjoakim/azure-cognitive-search-example | 943053438d698f15e8315880491e37e759d29ae8 | [
"MIT"
] | null | null | null | __author__ = 'Chris Joakim'
__email__ = "chjoakim@microsoft.com"
__license__ = "MIT"
__version__ = "November 2021"
import os
from base import BaseClass
class Urls(BaseClass):
"""
An instance of this class is created in main class SearchClient. It is used
to generate all URL values used by this app t... | 39.473118 | 123 | 0.693816 | 482 | 3,671 | 5.018672 | 0.155602 | 0.198429 | 0.165358 | 0.198429 | 0.757338 | 0.733361 | 0.684994 | 0.684994 | 0.670938 | 0.670938 | 0 | 0.00386 | 0.153092 | 3,671 | 92 | 124 | 39.902174 | 0.774204 | 0.043857 | 0 | 0.280702 | 0 | 0 | 0.220533 | 0.205047 | 0 | 0 | 0 | 0 | 0 | 1 | 0.421053 | false | 0 | 0.035088 | 0.403509 | 0.877193 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
72a7742b25156da65e52a757dfb412c80607c056 | 98 | py | Python | short_stuff/__init__.py | artconomy/short_stuff | 169b990e6bb68d34280332c3c010b1bca6819f2f | [
"WTFPL"
] | 5 | 2019-07-12T02:46:03.000Z | 2020-09-22T13:16:48.000Z | short_stuff/__init__.py | artconomy/short_stuff | 169b990e6bb68d34280332c3c010b1bca6819f2f | [
"WTFPL"
] | null | null | null | short_stuff/__init__.py | artconomy/short_stuff | 169b990e6bb68d34280332c3c010b1bca6819f2f | [
"WTFPL"
] | 1 | 2020-07-02T02:00:44.000Z | 2020-07-02T02:00:44.000Z | from .lib import *
try:
from . import django
except ImportError: # pragma: no cover
pass
| 16.333333 | 39 | 0.673469 | 13 | 98 | 5.076923 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255102 | 98 | 5 | 40 | 19.6 | 0.90411 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 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 |
72c981191dec12d515b9a496968fddc8cfbd09d0 | 96 | py | Python | venv/lib/python3.8/site-packages/debugpy/common/json.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/debugpy/common/json.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/debugpy/common/json.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ed/41/56/757167cd8261902223c5c61480cbfa8e3d6b11efecc97ce8076f880053 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 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 |
f49028a2d704ed30d1b1feaf09c090e1ebfebd3e | 611 | py | Python | exerciciios/ex017.py | uneves/exercicios-cursoemvideo-python-01 | 562a7954f33bb7ede090421fb60ce8f2cda8b941 | [
"MIT"
] | null | null | null | exerciciios/ex017.py | uneves/exercicios-cursoemvideo-python-01 | 562a7954f33bb7ede090421fb60ce8f2cda8b941 | [
"MIT"
] | null | null | null | exerciciios/ex017.py | uneves/exercicios-cursoemvideo-python-01 | 562a7954f33bb7ede090421fb60ce8f2cda8b941 | [
"MIT"
] | null | null | null | #import math
from math import sqrt
catop = float(input('medida do cateto oposto'))
cataj = float(input('medida do cateto adjacente'))
hipot = sqrt(catop**2 + cataj**2)
# ou hipot = (catop**2 + cataj**2)**1/2
print('No triangulo onde o cateto op {} e adjacente {} \n''a hipotenusa é {:.2f}'.format(catop, cataj, hipot) )
... | 35.941176 | 111 | 0.695581 | 97 | 611 | 4.381443 | 0.340206 | 0.094118 | 0.150588 | 0.169412 | 0.72 | 0.72 | 0.72 | 0.72 | 0.72 | 0.72 | 0 | 0.015414 | 0.150573 | 611 | 16 | 112 | 38.1875 | 0.803468 | 0.119476 | 0 | 0.6 | 0 | 0 | 0.451128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be42a9fefc710ed99cf16654fe953370e4530597 | 23 | py | Python | jblib/oslib/__init__.py | ANamelessDrake/jblib | 317437b0551865e1c24991b22e2e0a2814f8597d | [
"MIT"
] | null | null | null | jblib/oslib/__init__.py | ANamelessDrake/jblib | 317437b0551865e1c24991b22e2e0a2814f8597d | [
"MIT"
] | null | null | null | jblib/oslib/__init__.py | ANamelessDrake/jblib | 317437b0551865e1c24991b22e2e0a2814f8597d | [
"MIT"
] | null | null | null | from .dir_libs import * | 23 | 23 | 0.782609 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be4f42afbcd05a9e5a00f26bd96b1093f1dc161d | 225 | py | Python | tests/urlpatterns_reverse/urls_error_handlers.py | tomleo/django | ebfb71c64a786620947c9d598fd1ebae2958acff | [
"BSD-3-Clause"
] | 1 | 2020-04-09T07:05:17.000Z | 2020-04-09T07:05:17.000Z | tests/urlpatterns_reverse/urls_error_handlers.py | liuliang2015/django | 86d3079d5797811c1e118cfd600a913685212165 | [
"BSD-3-Clause"
] | null | null | null | tests/urlpatterns_reverse/urls_error_handlers.py | liuliang2015/django | 86d3079d5797811c1e118cfd600a913685212165 | [
"BSD-3-Clause"
] | 1 | 2020-04-12T19:00:12.000Z | 2020-04-12T19:00:12.000Z | # Used by the ErrorHandlerResolutionTests test case.
from django.conf.urls import patterns
urlpatterns = patterns('')
handler404 = 'urlpatterns_reverse.views.empty_view'
handler500 = 'urlpatterns_reverse.views.empty_view'
| 25 | 52 | 0.813333 | 26 | 225 | 6.884615 | 0.730769 | 0.201117 | 0.256983 | 0.312849 | 0.357542 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.102222 | 225 | 8 | 53 | 28.125 | 0.856436 | 0.222222 | 0 | 0 | 0 | 0 | 0.416185 | 0.416185 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be6e6d5d0a1e97703273b07edcfd119f0cb51f23 | 16 | py | Python | .history/my_classes/FunctionParameters/*args_20210628234718.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | .history/my_classes/FunctionParameters/*args_20210628234718.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | .history/my_classes/FunctionParameters/*args_20210628234718.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | '''[*args]
''' | 4 | 10 | 0.25 | 1 | 16 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 4 | 11 | 4 | 0.307692 | 0.4375 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be8ea9bc3f1a7bdd199a7bc938538aabdd6df15d | 132 | py | Python | utils/__init__.py | ITXIAOKE/XKADB | 39209a06c740e6a7d15d093897bbab193d65a565 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | ITXIAOKE/XKADB | 39209a06c740e6a7d15d093897bbab193d65a565 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | ITXIAOKE/XKADB | 39209a06c740e6a7d15d093897bbab193d65a565 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2018/5/21 9:47
# @Author : xiaoke
# @Email : 976249817@qq.com
# @File : __init__.py
| 22 | 30 | 0.522727 | 18 | 132 | 3.611111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 0.272727 | 132 | 5 | 31 | 26.4 | 0.46875 | 0.878788 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
beb221140165e4bde9baaef0c014b751808d215f | 49 | py | Python | server/__init__.py | tpoerschke/multisnak | 06a408e988353acdfe713e24490bef49a31e85d7 | [
"MIT"
] | null | null | null | server/__init__.py | tpoerschke/multisnak | 06a408e988353acdfe713e24490bef49a31e85d7 | [
"MIT"
] | null | null | null | server/__init__.py | tpoerschke/multisnak | 06a408e988353acdfe713e24490bef49a31e85d7 | [
"MIT"
] | null | null | null | from .multisnak_server import Server, load_config | 49 | 49 | 0.877551 | 7 | 49 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.911111 | 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 |
beba9b78dbc45916427225d0c234be12c53e5ca1 | 139 | py | Python | easymd/__init__.py | zhiqi-li/Panoptic-SegFormer | cdb9b68059e9ef825a3f7079c37aa835b1711227 | [
"Apache-2.0"
] | 97 | 2021-11-20T17:09:24.000Z | 2022-03-31T03:03:38.000Z | easymd/__init__.py | zhiqi-li/Panoptic-SegFormer | cdb9b68059e9ef825a3f7079c37aa835b1711227 | [
"Apache-2.0"
] | 3 | 2021-12-04T10:01:04.000Z | 2022-02-25T06:18:57.000Z | easymd/__init__.py | zhiqi-li/Panoptic-SegFormer | cdb9b68059e9ef825a3f7079c37aa835b1711227 | [
"Apache-2.0"
] | 9 | 2021-12-03T08:39:04.000Z | 2022-03-27T14:09:04.000Z | from .analysis_tools import *
from .models import *
from .core import *
from .runner import *
from .utils import *
from .datasets import * | 19.857143 | 29 | 0.741007 | 19 | 139 | 5.368421 | 0.473684 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172662 | 139 | 7 | 30 | 19.857143 | 0.886957 | 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 |
bec513b0750f2d4e7502c59a8bcf9b9a9b567bd2 | 316 | py | Python | python/graphscope/experimental/nx/tests/algorithms/forward/isomorphism/test_isomorphism.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 2 | 2020-12-15T08:42:10.000Z | 2022-01-14T09:13:16.000Z | python/graphscope/experimental/nx/tests/algorithms/forward/isomorphism/test_isomorphism.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 1 | 2020-12-22T13:15:40.000Z | 2020-12-22T13:15:40.000Z | python/graphscope/experimental/nx/tests/algorithms/forward/isomorphism/test_isomorphism.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 1 | 2021-11-23T03:40:43.000Z | 2021-11-23T03:40:43.000Z | import networkx.algorithms.isomorphism.tests.test_isomorphism
import pytest
from graphscope.experimental.nx.utils.compat import import_as_graphscope_nx
import_as_graphscope_nx(networkx.algorithms.isomorphism.tests.test_isomorphism,
decorators=pytest.mark.usefixtures("graphscope_session"))
| 39.5 | 81 | 0.816456 | 36 | 316 | 6.916667 | 0.5 | 0.144578 | 0.232932 | 0.273092 | 0.393574 | 0.393574 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 316 | 7 | 82 | 45.142857 | 0.889286 | 0 | 0 | 0 | 0 | 0 | 0.056962 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
fe3b87aa57edf7adda0fe5be261907a7828ffb1a | 173 | py | Python | website/views.py | mjmkh/resume-mjmk | 301026453a3e61a05b81a606a679446c156f80e5 | [
"MIT"
] | null | null | null | website/views.py | mjmkh/resume-mjmk | 301026453a3e61a05b81a606a679446c156f80e5 | [
"MIT"
] | null | null | null | website/views.py | mjmkh/resume-mjmk | 301026453a3e61a05b81a606a679446c156f80e5 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index_view(request):
return render(request, 'website/index.html') | 28.833333 | 48 | 0.791908 | 24 | 173 | 5.666667 | 0.75 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127168 | 173 | 6 | 48 | 28.833333 | 0.900662 | 0.132948 | 0 | 0 | 0 | 0 | 0.120805 | 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 |
fe3f05fd822bc5adbe94107a4c3598f96511f5e0 | 15,574 | py | Python | tests/test_pca.py | ixkael/spectro-photometric-pca | 9914b7e3ba7e3341beafe12f81e211e017bd875f | [
"MIT"
] | null | null | null | tests/test_pca.py | ixkael/spectro-photometric-pca | 9914b7e3ba7e3341beafe12f81e211e017bd875f | [
"MIT"
] | null | null | null | tests/test_pca.py | ixkael/spectro-photometric-pca | 9914b7e3ba7e3341beafe12f81e211e017bd875f | [
"MIT"
] | null | null | null | from spectrophotometricpca.pca import *
from spectrophotometricpca.datapipeline import *
import itertools
import jax.experimental.optimizers
import pytest
import jax
import jax.numpy as np
from jax.scipy.special import logsumexp
from chex import assert_shape
key = jax.random.PRNGKey(42)
@pytest.mark.skip()
def tes... | 35.884793 | 88 | 0.488828 | 1,452 | 15,574 | 4.921488 | 0.106749 | 0.024069 | 0.026868 | 0.038063 | 0.804226 | 0.777778 | 0.710747 | 0.70445 | 0.680521 | 0.665687 | 0 | 0.015132 | 0.444138 | 15,574 | 433 | 89 | 35.967667 | 0.810327 | 0.016566 | 0 | 0.703209 | 0 | 0 | 0.008492 | 0 | 0 | 0 | 0 | 0 | 0.048128 | 1 | 0.024064 | false | 0 | 0.024064 | 0 | 0.058824 | 0.018717 | 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 |
fe4d085e236920ab16888b57d173f7eed334f964 | 35,587 | py | Python | project/src/codegen/translator.py | vaishious/comperler | 24b3f853ae134e46435005c4509276a4020b8b02 | [
"MIT"
] | 6 | 2016-01-09T14:11:20.000Z | 2017-01-26T10:10:01.000Z | project/src/codegen/translator.py | vaishious/comperler | 24b3f853ae134e46435005c4509276a4020b8b02 | [
"MIT"
] | null | null | null | project/src/codegen/translator.py | vaishious/comperler | 24b3f853ae134e46435005c4509276a4020b8b02 | [
"MIT"
] | null | null | null | """
MODULE : translator.py
Purpose : Contains the main translation function.
Import Acronym : TRANS
"""
# List of Imports Begin
import debug as DEBUG
import instr3ac as INSTRUCTION
import registers as REG
import global_objects as G
import translator as TRANS
import library as LIB
import mips_assembly as ASM
# List... | 42.164692 | 144 | 0.601287 | 4,628 | 35,587 | 4.550778 | 0.067632 | 0.07445 | 0.139595 | 0.143583 | 0.827501 | 0.785955 | 0.755045 | 0.74175 | 0.702816 | 0.651868 | 0 | 0.017678 | 0.2513 | 35,587 | 843 | 145 | 42.214709 | 0.772782 | 0.078062 | 0 | 0.60678 | 0 | 0 | 0.119131 | 0.016251 | 0 | 0 | 0 | 0 | 0.001695 | 1 | 0.025424 | false | 0.016949 | 0.011864 | 0.001695 | 0.040678 | 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 |
fea137235667531e0b21010387c3fca0619b0460 | 10,792 | py | Python | tests/test_WriteApi.py | semyont/influxdb-client-python | 7b685fda2030b22697b6096cc3161fbbc01e7bee | [
"MIT"
] | 1 | 2021-06-06T10:39:47.000Z | 2021-06-06T10:39:47.000Z | tests/test_WriteApi.py | semyont/influxdb-client-python | 7b685fda2030b22697b6096cc3161fbbc01e7bee | [
"MIT"
] | null | null | null | tests/test_WriteApi.py | semyont/influxdb-client-python | 7b685fda2030b22697b6096cc3161fbbc01e7bee | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import absolute_import
import datetime
import unittest
import time
from multiprocessing.pool import ApplyResult
from influxdb_client import Point, WritePrecision
from influxdb_client.client.write_api import SYNCHRONOUS, ASYNCHRONOUS
from influxdb_client.rest import ApiException
from t... | 38.269504 | 120 | 0.642976 | 1,356 | 10,792 | 4.90118 | 0.10472 | 0.133163 | 0.038068 | 0.033855 | 0.804995 | 0.804995 | 0.782275 | 0.778513 | 0.762564 | 0.720734 | 0 | 0.053565 | 0.211175 | 10,792 | 281 | 121 | 38.405694 | 0.727006 | 0.005004 | 0 | 0.625 | 0 | 0.020833 | 0.168536 | 0.04842 | 0 | 0 | 0 | 0 | 0.3125 | 1 | 0.078125 | false | 0 | 0.046875 | 0 | 0.135417 | 0.015625 | 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 |
22f434fe36d0ad0bc8511c9b1bac137f3fcd17f7 | 110 | py | Python | frontier/__init__.py | rschweiz1/frontier | 1dab5a101209fecac919a68b88ff1a87a426b6c2 | [
"Apache-2.0"
] | 4 | 2017-11-25T22:05:55.000Z | 2018-10-15T05:48:33.000Z | frontier/__init__.py | rschweiz1/frontier | 1dab5a101209fecac919a68b88ff1a87a426b6c2 | [
"Apache-2.0"
] | 2 | 2020-09-25T05:15:35.000Z | 2021-06-25T15:14:27.000Z | frontier/__init__.py | rschweiz1/frontier | 1dab5a101209fecac919a68b88ff1a87a426b6c2 | [
"Apache-2.0"
] | 1 | 2018-01-15T17:22:36.000Z | 2018-01-15T17:22:36.000Z | from frontier.strategies.formulas import scrub, series_to_supervised
from frontier.models.tfmodels import RNN
| 36.666667 | 68 | 0.872727 | 15 | 110 | 6.266667 | 0.8 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 110 | 2 | 69 | 55 | 0.930693 | 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 |
fe0306c04a9d3a48566563e6d0978a0df794e484 | 22,656 | py | Python | tests/test_ansible_module_01.py | Open-CAS/open-cas-ansible | 80912c1260cefd04242fd2706833f3604009974d | [
"BSD-3-Clause"
] | 3 | 2019-06-27T20:26:56.000Z | 2022-01-24T18:51:00.000Z | tests/test_ansible_module_01.py | Open-CAS/open-cas-ansible | 80912c1260cefd04242fd2706833f3604009974d | [
"BSD-3-Clause"
] | 4 | 2019-11-12T10:09:45.000Z | 2021-11-10T12:15:59.000Z | tests/test_ansible_module_01.py | Open-CAS/open-cas-ansible | 80912c1260cefd04242fd2706833f3604009974d | [
"BSD-3-Clause"
] | 5 | 2019-06-14T12:59:55.000Z | 2021-11-09T13:18:43.000Z | #
# Copyright(c) 2012-2019 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
#
import pytest
from unittest.mock import patch, Mock
import helpers as h
from os import strerror
from errno import ENOENT
import cas
import opencas
class AnsibleFailJson(Exception):
pass
class AnsibleExitJson(Exception):
... | 28.934866 | 80 | 0.688736 | 2,946 | 22,656 | 4.894433 | 0.061439 | 0.09002 | 0.061377 | 0.043692 | 0.880366 | 0.866288 | 0.834177 | 0.819058 | 0.804841 | 0.786185 | 0 | 0.006711 | 0.191075 | 22,656 | 782 | 81 | 28.971867 | 0.780051 | 0.008254 | 0 | 0.694754 | 0 | 0 | 0.178702 | 0.079022 | 0 | 0 | 0 | 0 | 0.09539 | 1 | 0.052464 | false | 0.00318 | 0.011129 | 0 | 0.069952 | 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 |
fe13e7ff9c15f8714d226c30a13c5ec61eca566d | 254 | py | Python | packages/gtmcore/gtmcore/environment/__init__.py | jjwatts/gigantum-client | 88ce0475fb6880322bdd06d987c494e29064f278 | [
"MIT"
] | 60 | 2018-09-26T15:46:00.000Z | 2021-10-10T02:37:14.000Z | packages/gtmcore/gtmcore/environment/__init__.py | jjwatts/gigantum-client | 88ce0475fb6880322bdd06d987c494e29064f278 | [
"MIT"
] | 1,706 | 2018-09-26T16:11:22.000Z | 2021-08-20T13:37:59.000Z | packages/gtmcore/gtmcore/environment/__init__.py | jjwatts/gigantum-client | 88ce0475fb6880322bdd06d987c494e29064f278 | [
"MIT"
] | 11 | 2019-03-14T13:23:51.000Z | 2022-01-25T01:29:16.000Z | from gtmcore.environment.packagemanager import PackageManager
from gtmcore.environment.repositorymanager import RepositoryManager
from gtmcore.environment.repository import BaseRepository
from gtmcore.environment.componentmanager import ComponentManager
| 50.8 | 67 | 0.905512 | 24 | 254 | 9.583333 | 0.375 | 0.191304 | 0.382609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 254 | 4 | 68 | 63.5 | 0.966387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe192cb27b1f498a5ba9db72c8a49029c716c7b9 | 44 | py | Python | simpleAICV/detection/models/__init__.py | LouieShao/importance_based_downsampling | 18fe22b984fee8ada8e888a2af6a7e7352b32680 | [
"MIT"
] | 154 | 2020-05-31T08:31:12.000Z | 2021-05-14T02:46:32.000Z | simpleAICV/detection/models/__init__.py | LouieShao/importance_based_downsampling | 18fe22b984fee8ada8e888a2af6a7e7352b32680 | [
"MIT"
] | 11 | 2021-05-20T09:02:50.000Z | 2022-01-20T09:55:47.000Z | simpleAICV/detection/models/__init__.py | LouieShao/importance_based_downsampling | 18fe22b984fee8ada8e888a2af6a7e7352b32680 | [
"MIT"
] | 37 | 2020-07-20T06:14:25.000Z | 2021-05-18T01:27:19.000Z | from .retinanet import *
from .fcos import * | 22 | 24 | 0.75 | 6 | 44 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 25 | 22 | 0.891892 | 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 |
a3cb7c152744f595c1a3ca98095742369b46ead7 | 3,707 | py | Python | philipshue.py | z1pti3/jimiPlugin-philipshue | 399be40dc316d983d665c9d9f4b94c88ee82a0e3 | [
"Apache-2.0"
] | 1 | 2021-07-26T15:02:41.000Z | 2021-07-26T15:02:41.000Z | philipshue.py | z1pti3/jimiPlugin-philipshue | 399be40dc316d983d665c9d9f4b94c88ee82a0e3 | [
"Apache-2.0"
] | null | null | null | philipshue.py | z1pti3/jimiPlugin-philipshue | 399be40dc316d983d665c9d9f4b94c88ee82a0e3 | [
"Apache-2.0"
] | null | null | null | from core import plugin, model
class _philipshue(plugin._plugin):
version = 0.33
def install(self):
# Register models
model.registerModel("philipshueMotionDetected","_philipshueMotionDetected","_action","plugins.philipshue.models.action")
model.registerModel("philipshueLightOn","_phili... | 78.87234 | 130 | 0.755328 | 298 | 3,707 | 9.208054 | 0.134228 | 0.127915 | 0.226312 | 0.28535 | 0.923834 | 0.923834 | 0.923834 | 0.86516 | 0.522959 | 0.299198 | 0 | 0.004851 | 0.110332 | 3,707 | 46 | 131 | 80.586957 | 0.827168 | 0.008902 | 0 | 0.4 | 0 | 0 | 0.577499 | 0.317625 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075 | false | 0 | 0.025 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3dbe621a19b9f3d3992a8e2ca65a128da2a0c1d | 3,182 | py | Python | hm_web/migrations/0001_initial.py | dantswain/heavy_meta | c3154130c2c951f1a5b46174193157625bb1be17 | [
"MIT"
] | null | null | null | hm_web/migrations/0001_initial.py | dantswain/heavy_meta | c3154130c2c951f1a5b46174193157625bb1be17 | [
"MIT"
] | null | null | null | hm_web/migrations/0001_initial.py | dantswain/heavy_meta | c3154130c2c951f1a5b46174193157625bb1be17 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.1 on 2018-01-17 03:13
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 45.457143 | 124 | 0.590823 | 330 | 3,182 | 5.506061 | 0.212121 | 0.039626 | 0.06164 | 0.096863 | 0.783709 | 0.783709 | 0.783709 | 0.783709 | 0.783709 | 0.783709 | 0 | 0.010323 | 0.269327 | 3,182 | 69 | 125 | 46.115942 | 0.771183 | 0.014142 | 0 | 0.629032 | 1 | 0 | 0.083892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.048387 | 0 | 0.112903 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3fee9585d46e27feabe9c8f2efb2d911a4075d4 | 89 | py | Python | office365/sharepoint/fields/field_number.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/fields/field_number.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/fields/field_number.py | wreiner/Office365-REST-Python-Client | 476bbce4f5928a140b4f5d33475d0ac9b0783530 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.sharepoint.fields.field import Field
class FieldNumber(Field):
pass
| 14.833333 | 51 | 0.786517 | 11 | 89 | 6.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.146067 | 89 | 5 | 52 | 17.8 | 0.881579 | 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 |
43387fd670ca6c92fc82454ab65f636c517ac56e | 1,375 | py | Python | CodeWarsKataStuff/Sub array division copy.py | perrymant/CodeWarsKataStuff | 20eb25a3f0070aee5f5ae9a03a656acd5557c021 | [
"MIT"
] | null | null | null | CodeWarsKataStuff/Sub array division copy.py | perrymant/CodeWarsKataStuff | 20eb25a3f0070aee5f5ae9a03a656acd5557c021 | [
"MIT"
] | null | null | null | CodeWarsKataStuff/Sub array division copy.py | perrymant/CodeWarsKataStuff | 20eb25a3f0070aee5f5ae9a03a656acd5557c021 | [
"MIT"
] | null | null | null | """
solve([1,3,4,7,6],9) == true
def solve(arr,n):
arr.sort()
ab, ae = 0, len(arr)-1
while ab < ae:
test = ae
ae -= 1
if n-arr[test] in arr[ab:ae]:
return True
else:
return False
def solve(arr,n):
arr.sort()
ab, ae = 0, len(arr)-1
w... | 18.333333 | 107 | 0.496727 | 212 | 1,375 | 3.221698 | 0.20283 | 0.070278 | 0.080527 | 0.087848 | 0.816984 | 0.796486 | 0.77306 | 0.77306 | 0.710102 | 0.710102 | 0 | 0.025522 | 0.373091 | 1,375 | 74 | 108 | 18.581081 | 0.766821 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.4 | 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 |
4a437dc4f80b8a644263319880bb6613b4b39642 | 27 | py | Python | ghsTools/__init__.py | goffstown-sports-app/Tools | 67758d5746de6eef14530338140d3e8cdd7d2bf6 | [
"MIT"
] | null | null | null | ghsTools/__init__.py | goffstown-sports-app/Tools | 67758d5746de6eef14530338140d3e8cdd7d2bf6 | [
"MIT"
] | 2 | 2020-01-04T04:23:21.000Z | 2020-04-16T04:15:58.000Z | ghsTools/__init__.py | goffstown-sports-app/Tools | 67758d5746de6eef14530338140d3e8cdd7d2bf6 | [
"MIT"
] | null | null | null | from .main import ghsTools
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 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 |
4a48ce51eaba7ce4b695d8924226c96dcd42976b | 19,342 | py | Python | online-norm/tensorflow/online_norm_tf/tests/test_online_norm.py | Ajk4/online-normalization | 84895855fb8b099ad8c1266dc325bec41d72ecf5 | [
"BSD-3-Clause"
] | null | null | null | online-norm/tensorflow/online_norm_tf/tests/test_online_norm.py | Ajk4/online-normalization | 84895855fb8b099ad8c1266dc325bec41d72ecf5 | [
"BSD-3-Clause"
] | null | null | null | online-norm/tensorflow/online_norm_tf/tests/test_online_norm.py | Ajk4/online-normalization | 84895855fb8b099ad8c1266dc325bec41d72ecf5 | [
"BSD-3-Clause"
] | null | null | null | """
Released under BSD 3-Clause License,
Copyright (c) 2019 Cerebras Systems Inc.
All rights reserved.
Testing for Online Normalization Layer using numpy reference
"""
import unittest
import numpy as np
import tensorflow as tf
from online_norm_tf import online_norm, batch_online_norm
tf.logging.set_verbosity(tf.l... | 44.26087 | 80 | 0.557543 | 2,552 | 19,342 | 3.99373 | 0.094436 | 0.017661 | 0.035714 | 0.032378 | 0.806711 | 0.791013 | 0.778061 | 0.755789 | 0.729199 | 0.716641 | 0 | 0.013085 | 0.363871 | 19,342 | 436 | 81 | 44.362385 | 0.815263 | 0.213473 | 0 | 0.697211 | 0 | 0 | 0.027 | 0 | 0 | 0 | 0 | 0 | 0.079681 | 1 | 0.047809 | false | 0 | 0.015936 | 0.023904 | 0.095618 | 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 |
4a9ce38697649a74e77f59629dcc7d5e22fbaaa1 | 23 | py | Python | tests/test/__init__.py | salvatorecorvaglia/ledger-app-algorand | 549b863af169b3ce5c7721f2e6a7fca5b4bd05fb | [
"MIT"
] | 16 | 2019-06-12T11:46:12.000Z | 2022-01-30T16:28:42.000Z | tests/test/__init__.py | salvatorecorvaglia/ledger-app-algorand | 549b863af169b3ce5c7721f2e6a7fca5b4bd05fb | [
"MIT"
] | 42 | 2019-07-26T13:31:03.000Z | 2022-03-18T15:18:52.000Z | tests/test/__init__.py | salvatorecorvaglia/ledger-app-algorand | 549b863af169b3ce5c7721f2e6a7fca5b4bd05fb | [
"MIT"
] | 38 | 2019-04-08T14:16:22.000Z | 2022-03-18T06:42:29.000Z | from . import txn_utils | 23 | 23 | 0.826087 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
434ff03e15e5fe0870ced86d576e92a4d2223d5c | 24 | py | Python | triggers/add_new_policy_rule_set.py | noironetworks/gbp-scale-tester | 23bc1683edb1c34f0fa00617623b997c23dba9f1 | [
"Apache-2.0"
] | null | null | null | triggers/add_new_policy_rule_set.py | noironetworks/gbp-scale-tester | 23bc1683edb1c34f0fa00617623b997c23dba9f1 | [
"Apache-2.0"
] | null | null | null | triggers/add_new_policy_rule_set.py | noironetworks/gbp-scale-tester | 23bc1683edb1c34f0fa00617623b997c23dba9f1 | [
"Apache-2.0"
] | null | null | null | import sys
import os
| 4 | 10 | 0.708333 | 4 | 24 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 24 | 5 | 11 | 4.8 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
43c0f45f5843e8403cde255bf019a5e685da451a | 6,713 | py | Python | pymatflow/cp2k/base/dft_transport.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 6 | 2020-03-06T16:13:08.000Z | 2022-03-09T07:53:34.000Z | pymatflow/cp2k/base/dft_transport.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-10-02T02:23:08.000Z | 2021-11-08T13:29:37.000Z | pymatflow/cp2k/base/dft_transport.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-07-10T16:28:14.000Z | 2021-07-10T16:28:14.000Z | #!/usr/bin/env python
# _*_ coding: utf-8 _*_
# ==============================
# ==============================
class cp2k_dft_transport_beyn:
def __init__(self):
self.params = {
}
self.status = False
def to_input(self, fout):
"""
fout: a... | 30.652968 | 83 | 0.475644 | 811 | 6,713 | 3.810111 | 0.073983 | 0.035599 | 0.03301 | 0.074757 | 0.816505 | 0.782201 | 0.768932 | 0.750809 | 0.735922 | 0.672492 | 0 | 0.008105 | 0.375093 | 6,713 | 218 | 84 | 30.793578 | 0.728486 | 0.055117 | 0 | 0.566667 | 0 | 0 | 0.070756 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.14 | false | 0.046667 | 0 | 0 | 0.186667 | 0.06 | 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 |
43d1f8057acc44e903f6cb30f828b61d38bf955d | 211 | py | Python | own_practice/three_ten.py | Ellis0817/Introduction-to-Programming-Using-Python | 1882a2a846162d5ff56d4d56c3940b638ef408bd | [
"MIT"
] | null | null | null | own_practice/three_ten.py | Ellis0817/Introduction-to-Programming-Using-Python | 1882a2a846162d5ff56d4d56c3940b638ef408bd | [
"MIT"
] | 4 | 2019-11-07T12:32:19.000Z | 2020-07-19T14:04:44.000Z | own_practice/three_ten.py | Ellis0817/Introduction-to-Programming-Using-Python | 1882a2a846162d5ff56d4d56c3940b638ef408bd | [
"MIT"
] | 5 | 2019-12-04T15:56:55.000Z | 2022-01-14T06:19:18.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
# coding = utf-8
"""
程式設計練習題 3.3-3.6 3.10 顯示萬國碼.
請撰寫一程式,顯示希臘字母,其萬國碼為u03b1、u03b2、u03b3、u3b5、u3b6、u03b7與u03b8。
"""
print(u'\u03b1\u03b2\u03b3\u03b5\u03b6\u03b7\u03b8')
| 17.583333 | 59 | 0.677725 | 34 | 211 | 4.205882 | 0.764706 | 0.125874 | 0.13986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257895 | 0.099526 | 211 | 11 | 60 | 19.181818 | 0.494737 | 0.672986 | 0 | 0 | 0 | 0 | 0.711864 | 0.711864 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
78f49bcf55a10901789d77759e5cbe569c35d6a7 | 35 | py | Python | videos/082_avoiding_import_loops_in_python/example3-subpackage-init/fix1/mypkg/subpkg_b/__init__.py | matthewstidham/VideosSampleCode | 122edfbf5a805930bb031dad584e79a6c487ba7a | [
"MIT"
] | 1 | 2022-02-16T05:24:12.000Z | 2022-02-16T05:24:12.000Z | videos/082_avoiding_import_loops_in_python/example3-subpackage-init/fix1/mypkg/subpkg_b/__init__.py | bandirevanth/VideosSampleCode | 9eec145ac6fffb11d2a51356fb65d74ecd721d50 | [
"MIT"
] | null | null | null | videos/082_avoiding_import_loops_in_python/example3-subpackage-init/fix1/mypkg/subpkg_b/__init__.py | bandirevanth/VideosSampleCode | 9eec145ac6fffb11d2a51356fb65d74ecd721d50 | [
"MIT"
] | null | null | null | from .._subpkg_b.module_b import B
| 17.5 | 34 | 0.8 | 7 | 35 | 3.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.806452 | 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 |
60189f94311adfa7da508b4739b39e68aa4f04d7 | 32 | py | Python | env/lib/python3.8/site-packages/plotly/graph_objs/graph_objs.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 11,750 | 2015-10-12T07:03:39.000Z | 2022-03-31T20:43:15.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/graph_objs.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,951 | 2015-10-12T00:41:25.000Z | 2022-03-31T22:19:26.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/graph_objs.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,623 | 2015-10-15T14:40:27.000Z | 2022-03-28T16:05:50.000Z | from plotly.graph_objs import *
| 16 | 31 | 0.8125 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
717aee96af6ac36eec41248fcfa2f15b7f2e7355 | 32 | py | Python | duper/__init__.py | kjanker/data-duper | fa86f245254e6ac54f98a270196dada624add854 | [
"MIT"
] | 2 | 2021-12-04T12:50:20.000Z | 2021-12-04T12:50:28.000Z | duper/__init__.py | kjanker/data-duper | fa86f245254e6ac54f98a270196dada624add854 | [
"MIT"
] | null | null | null | duper/__init__.py | kjanker/data-duper | fa86f245254e6ac54f98a270196dada624add854 | [
"MIT"
] | null | null | null | from .base import Duper # noqa
| 16 | 31 | 0.71875 | 5 | 32 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 1 | 32 | 32 | 0.92 | 0.125 | 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 |
718291c25129e5c23c6586e8af6abb526501756a | 138 | py | Python | tests/admin.py | tjsoftware-co/django-admin-resumable-js | bfebeadc242393e78bc89f326c8459ab5e49febc | [
"MIT"
] | 7 | 2020-10-14T18:09:49.000Z | 2022-01-11T12:04:21.000Z | tests/admin.py | tjsoftware-co/django-admin-resumable-js | bfebeadc242393e78bc89f326c8459ab5e49febc | [
"MIT"
] | null | null | null | tests/admin.py | tjsoftware-co/django-admin-resumable-js | bfebeadc242393e78bc89f326c8459ab5e49febc | [
"MIT"
] | 5 | 2021-02-28T12:27:38.000Z | 2021-11-19T23:00:19.000Z | from django.contrib import admin
from .models import Foo
class FooAdmin(admin.ModelAdmin):
pass
admin.site.register(Foo, FooAdmin)
| 15.333333 | 34 | 0.775362 | 19 | 138 | 5.631579 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 138 | 8 | 35 | 17.25 | 0.90678 | 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 |
718ae4523f4d95a246f4e81fe702c10ec1665fcd | 48 | py | Python | terawatt_model/__init__.py | Nikolai-Hlubek/terawatt | 33aeb944ecc5a4310b9b0faa24e5d32f0d2248f1 | [
"MIT"
] | 1 | 2016-09-26T13:09:44.000Z | 2016-09-26T13:09:44.000Z | terawatt_model/__init__.py | Nikolai-Hlubek/terawatt | 33aeb944ecc5a4310b9b0faa24e5d32f0d2248f1 | [
"MIT"
] | null | null | null | terawatt_model/__init__.py | Nikolai-Hlubek/terawatt | 33aeb944ecc5a4310b9b0faa24e5d32f0d2248f1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from .devices import *
| 9.6 | 22 | 0.6875 | 7 | 48 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.166667 | 48 | 4 | 23 | 12 | 0.8 | 0.4375 | 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 |
e0ced86da43cb19774f2c648de09cc0ff44cbc4c | 61 | py | Python | gammapy/irf/edisp/__init__.py | Rishank2610/gammapy | 3cd64fdb2c53c8e5c697a9b85ef8d0486bff0b76 | [
"BSD-3-Clause"
] | 155 | 2015-02-25T12:38:02.000Z | 2022-03-13T17:54:30.000Z | gammapy/irf/edisp/__init__.py | Rishank2610/gammapy | 3cd64fdb2c53c8e5c697a9b85ef8d0486bff0b76 | [
"BSD-3-Clause"
] | 3,131 | 2015-01-06T15:36:23.000Z | 2022-03-31T17:30:57.000Z | gammapy/irf/edisp/__init__.py | Rishank2610/gammapy | 3cd64fdb2c53c8e5c697a9b85ef8d0486bff0b76 | [
"BSD-3-Clause"
] | 158 | 2015-03-16T20:36:44.000Z | 2022-03-30T16:05:37.000Z | from .core import *
from .kernel import *
from .map import *
| 15.25 | 21 | 0.704918 | 9 | 61 | 4.777778 | 0.555556 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 3 | 22 | 20.333333 | 0.877551 | 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 |
e0d80b1ab17a0f3a351a1deb3542a5e29e542203 | 45 | py | Python | auto_trainer/__init__.py | WPI-MMR/learning_experiments | bd0cb32dd936bd31f3c671fd0da3455d9e29441a | [
"MIT"
] | null | null | null | auto_trainer/__init__.py | WPI-MMR/learning_experiments | bd0cb32dd936bd31f3c671fd0da3455d9e29441a | [
"MIT"
] | 10 | 2020-11-18T13:56:07.000Z | 2021-03-20T21:10:19.000Z | auto_trainer/__init__.py | WPI-MMR/learning_experiments | bd0cb32dd936bd31f3c671fd0da3455d9e29441a | [
"MIT"
] | null | null | null | from .trainer import train, get_synced_config | 45 | 45 | 0.866667 | 7 | 45 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0fff30214a185a1264b0516eb9780570678f598 | 35 | py | Python | BioModelsDAG/pipeline/bases/__init__.py | danielqiang/BioModels | 4697ad44d98953e2646f692f3010191febc64747 | [
"MIT"
] | 1 | 2021-03-07T13:47:07.000Z | 2021-03-07T13:47:07.000Z | BioModelsDAG/pipeline/bases/__init__.py | danielqiang/BioModels | 4697ad44d98953e2646f692f3010191febc64747 | [
"MIT"
] | 2 | 2021-03-31T19:53:45.000Z | 2021-12-13T20:46:15.000Z | BioModelsDAG/pipeline/bases/__init__.py | danielqiang/BioModels | 4697ad44d98953e2646f692f3010191febc64747 | [
"MIT"
] | null | null | null | from .baseparser import BaseParser
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
4612cefe86c663dc25e5c454de7349cb1f3510bc | 5,624 | py | Python | usage/sum_para.py | UmbraVenus/awca-tools | de299ed9069eeb73b6246bcdbbbcad287739ef94 | [
"MIT"
] | null | null | null | usage/sum_para.py | UmbraVenus/awca-tools | de299ed9069eeb73b6246bcdbbbcad287739ef94 | [
"MIT"
] | null | null | null | usage/sum_para.py | UmbraVenus/awca-tools | de299ed9069eeb73b6246bcdbbbcad287739ef94 | [
"MIT"
] | null | null | null | from awca import summarization, paraphrasing
text = " Undesirable Aliens in Nineteenth Century United States: How Immigrants Became Citizens When the first gathered Congress of the United States of America declared the country’s independence from the British Empire in the summer of 1776, notions of who comprised this ... | 1,124.8 | 5,540 | 0.815434 | 908 | 5,624 | 5.050661 | 0.428414 | 0.007414 | 0.014174 | 0.010685 | 0.032926 | 0.020497 | 0.020497 | 0.020497 | 0.020497 | 0.020497 | 0 | 0.009466 | 0.154694 | 5,624 | 5 | 5,541 | 1,124.8 | 0.955196 | 0 | 0 | 0 | 0 | 0.333333 | 0.983289 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1cd776b9759fb854473fea1dae471ebccee4bd34 | 232 | py | Python | midtools/__init__.py | reiserm/mid-2458 | 022ac9d09d8ecd610c1b0b1f4b6ee4e3c442f4da | [
"BSD-3-Clause"
] | null | null | null | midtools/__init__.py | reiserm/mid-2458 | 022ac9d09d8ecd610c1b0b1f4b6ee4e3c442f4da | [
"BSD-3-Clause"
] | 7 | 2020-08-20T09:19:51.000Z | 2020-11-22T19:53:27.000Z | midtools/__init__.py | reiserm/mid-2458 | 022ac9d09d8ecd610c1b0b1f4b6ee4e3c442f4da | [
"BSD-3-Clause"
] | 1 | 2020-08-10T08:32:35.000Z | 2020-08-10T08:32:35.000Z | from .azimuthal_integration import azimuthal_integration
from .dataset import Dataset
from .calibration import Calibrator
from .correlations import correlate
from .statistics import statistics
from .dataset import _submit_slurm_job
| 33.142857 | 56 | 0.87069 | 28 | 232 | 7.035714 | 0.464286 | 0.203046 | 0.172589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 232 | 6 | 57 | 38.666667 | 0.947115 | 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 |
1ceb20b8662eb82854d9410cea03884d50604c2a | 64 | py | Python | pynads/funcs/__init__.py | justanr/gonads | 4cd40eae04d3e738443d1232063c762b34784462 | [
"MIT"
] | 19 | 2015-03-21T07:47:15.000Z | 2019-10-05T21:20:36.000Z | pynads/funcs/__init__.py | justanr/gonads | 4cd40eae04d3e738443d1232063c762b34784462 | [
"MIT"
] | 7 | 2015-03-31T14:30:26.000Z | 2017-07-29T15:29:59.000Z | pynads/funcs/__init__.py | justanr/gonads | 4cd40eae04d3e738443d1232063c762b34784462 | [
"MIT"
] | 4 | 2017-10-18T08:07:46.000Z | 2019-10-05T21:20:38.000Z | from .lifted import *
from .monoid import *
from .pure import *
| 16 | 21 | 0.71875 | 9 | 64 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 22 | 21.333333 | 0.884615 | 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 |
1c033d5f6d81d2b5d224ddebd8b33ae32cbe5824 | 12,199 | py | Python | backend/app/app/api/api_v1/robots/config.py | H-HChen/rmt_web_devkit | ef38447320f98fbd44a330303c644d2915bf035a | [
"Apache-2.0"
] | null | null | null | backend/app/app/api/api_v1/robots/config.py | H-HChen/rmt_web_devkit | ef38447320f98fbd44a330303c644d2915bf035a | [
"Apache-2.0"
] | 13 | 2021-05-20T02:29:19.000Z | 2021-08-23T10:14:57.000Z | backend/app/app/api/api_v1/robots/config.py | H-HChen/rmt_web_devkit | ef38447320f98fbd44a330303c644d2915bf035a | [
"Apache-2.0"
] | 3 | 2021-05-10T07:55:40.000Z | 2022-02-28T16:52:01.000Z | from typing import Any, Optional
from fastapi import APIRouter, Depends
from sqlalchemy.orm import Session
from app import models, schemas
from app.api import deps
from app.extensions.utils import list_to_tree
from random import randint
import rmt_py_wrapper
import json
import os
import subprocess
import re
router =... | 39.866013 | 156 | 0.690958 | 1,803 | 12,199 | 4.296173 | 0.083195 | 0.030338 | 0.072812 | 0.028918 | 0.847792 | 0.827137 | 0.819649 | 0.786083 | 0.72928 | 0.705267 | 0 | 0.010474 | 0.217395 | 12,199 | 306 | 157 | 39.866013 | 0.80088 | 0.205263 | 0 | 0.666667 | 0 | 0 | 0.046787 | 0.014452 | 0 | 0 | 0 | 0.003268 | 0 | 1 | 0.055556 | false | 0 | 0.060606 | 0 | 0.171717 | 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 |
1c2b101cc49648ec3fb251fd993a7676d6e524ba | 110 | py | Python | gui/theme.py | YannThorimbert/FantasyStrategia | e9e26cbd95faba6f1223aaa34bc0b2c6e60cf5f5 | [
"MIT"
] | null | null | null | gui/theme.py | YannThorimbert/FantasyStrategia | e9e26cbd95faba6f1223aaa34bc0b2c6e60cf5f5 | [
"MIT"
] | null | null | null | gui/theme.py | YannThorimbert/FantasyStrategia | e9e26cbd95faba6f1223aaa34bc0b2c6e60cf5f5 | [
"MIT"
] | null | null | null | import thorpy
def set_theme(theme):
thorpy.set_theme(theme)
thorpy.style.DEF_COLOR = (150,150,150)
| 13.75 | 42 | 0.709091 | 17 | 110 | 4.411765 | 0.470588 | 0.213333 | 0.346667 | 0.506667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 0.172727 | 110 | 7 | 43 | 15.714286 | 0.725275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c2ce8ef3f28996eea179c80f2f83131dd92c886 | 96 | py | Python | venv/lib/python3.8/site-packages/jedi/inference/dynamic_params.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/jedi/inference/dynamic_params.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/jedi/inference/dynamic_params.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/76/91/2b/5cae2d2be4d6846ecff635daea2ffbdab1395472b27a018518521826f9 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 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 |
1c376e09821b633ae0074cdc19887f5321bd9147 | 92 | py | Python | dji_asdk_to_python/mission_control/timeline_element_feedback.py | msanchezc/dji-asdk-to-python | cf3e56691524624314a28f5ebc6f3f59cbd4d8cb | [
"BSD-3-Clause"
] | 7 | 2020-11-02T16:31:28.000Z | 2021-11-09T21:32:44.000Z | dji_asdk_to_python/mission_control/timeline_element_feedback.py | msanchezc/dji-asdk-to-python | cf3e56691524624314a28f5ebc6f3f59cbd4d8cb | [
"BSD-3-Clause"
] | 64 | 2020-09-03T04:32:39.000Z | 2022-02-21T20:30:16.000Z | dji_asdk_to_python/mission_control/timeline_element_feedback.py | PSBPOSAS/dji-asdk-to-python | 39fd29e172249656ce9f6e7b6273eeff6790d8c1 | [
"BSD-3-Clause"
] | 4 | 2020-09-16T19:07:30.000Z | 2022-02-21T04:48:10.000Z | class TimelineElementFeedback:
def __init__(self, app_ip):
self.app_ip = app_ip
| 23 | 31 | 0.706522 | 12 | 92 | 4.833333 | 0.583333 | 0.258621 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 92 | 3 | 32 | 30.666667 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1c44c2e440428fbf8e99bba9838287b19cd3fed5 | 195 | py | Python | bindsnet_master/bindsnet/pipeline/__init__.py | Singular-Brain/ProjectBrain | 2d22d45c13a86825c0dcaf517a59e02f2c4f6164 | [
"MIT"
] | 6 | 2021-06-01T03:43:35.000Z | 2022-02-11T10:41:06.000Z | bindsnet_master/bindsnet/pipeline/__init__.py | Singular-Brain/ProjectBrain | 2d22d45c13a86825c0dcaf517a59e02f2c4f6164 | [
"MIT"
] | 1 | 2022-03-31T03:22:14.000Z | 2022-03-31T03:22:14.000Z | bindsnet_master/bindsnet/pipeline/__init__.py | Singular-Brain/ProjectBrain | 2d22d45c13a86825c0dcaf517a59e02f2c4f6164 | [
"MIT"
] | 3 | 2021-10-30T02:30:40.000Z | 2021-11-16T04:23:12.000Z | from .environment_pipeline import EnvironmentPipeline
from .base_pipeline import BasePipeline
from .dataloader_pipeline import DataLoaderPipeline, TorchVisionDatasetPipeline
from . import action
| 39 | 79 | 0.887179 | 19 | 195 | 8.947368 | 0.578947 | 0.247059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087179 | 195 | 4 | 80 | 48.75 | 0.955056 | 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 |
1c4d787ee59f4483f412a3f9fdf3c18a41aac321 | 2,779 | py | Python | testing/MLDB-953-normalize.py | kstepanmpmg/mldb | f78791cd34d01796705c0f173a14359ec1b2e021 | [
"Apache-2.0"
] | 665 | 2015-12-09T17:00:14.000Z | 2022-03-25T07:46:46.000Z | testing/MLDB-953-normalize.py | tomzhang/mldb | a09cf2d9ca454d1966b9e49ae69f2fe6bf571494 | [
"Apache-2.0"
] | 797 | 2015-12-09T19:48:19.000Z | 2022-03-07T02:19:47.000Z | testing/MLDB-953-normalize.py | matebestek/mldb | f78791cd34d01796705c0f173a14359ec1b2e021 | [
"Apache-2.0"
] | 103 | 2015-12-25T04:39:29.000Z | 2022-02-03T02:55:22.000Z | #
# MLDB-953-normalize.py
# mldb.ai inc, 2015
# This file is part of MLDB. Copyright 2015 mldb.ai inc. All rights reserved.
#
from mldb import mldb
result = mldb.get('/v1/query', q='select normalize({1, 2, 3, 4}, 1) as x')
mldb.log(result)
result = mldb.get('/v1/query', q='select norm(normalize({1, 2, 3, 4}, 1), 1) ... | 43.421875 | 117 | 0.615689 | 546 | 2,779 | 3.122711 | 0.10989 | 0.031672 | 0.040469 | 0.053959 | 0.864516 | 0.852199 | 0.846334 | 0.782991 | 0.782991 | 0.758358 | 0 | 0.138281 | 0.11263 | 2,779 | 63 | 118 | 44.111111 | 0.553122 | 0.076646 | 0 | 0.428571 | 0 | 0.142857 | 0.438624 | 0.098905 | 0 | 0 | 0 | 0 | 0.357143 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.02381 | 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 |
1c877f28f86578937174069cefd7450e28495718 | 10,717 | py | Python | tests/test_alr.py | jiahfong/alr | ee561c545bd98ec17c4f9c3040ef23b0222ef71a | [
"MIT"
] | 2 | 2020-09-20T18:06:35.000Z | 2021-02-03T07:52:58.000Z | tests/test_alr.py | jiahfong/alr | ee561c545bd98ec17c4f9c3040ef23b0222ef71a | [
"MIT"
] | null | null | null | tests/test_alr.py | jiahfong/alr | ee561c545bd98ec17c4f9c3040ef23b0222ef71a | [
"MIT"
] | null | null | null | import torch
import numpy as np
import copy
from alr import MCDropout, ALRModel
from torch import nn
from torch.nn import functional as F
class Net1(nn.Module):
def __init__(self):
super(Net1, self).__init__()
self.fc = nn.Linear(10, 10)
self.drop = nn.Dropout()
def forward(self, x):... | 31.244898 | 79 | 0.597555 | 1,507 | 10,717 | 4.109489 | 0.135368 | 0.01098 | 0.021314 | 0.025836 | 0.840627 | 0.791539 | 0.768287 | 0.759567 | 0.743097 | 0.711933 | 0 | 0.053631 | 0.267519 | 10,717 | 342 | 80 | 31.336257 | 0.735287 | 0.12037 | 0 | 0.695279 | 0 | 0 | 0.001386 | 0 | 0 | 0 | 0 | 0 | 0.090129 | 1 | 0.141631 | false | 0 | 0.025751 | 0.017167 | 0.227468 | 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 |
98daefeb7b6fb1595ba6651e036a389f3ff8ad64 | 7,488 | py | Python | yardstick/tests/unit/benchmark/scenarios/energy/test_energy.py | upfront710/yardstick | 2c3898f2ca061962cedbfc7435f78b59aa39b097 | [
"Apache-2.0"
] | 28 | 2017-02-07T07:46:42.000Z | 2021-06-30T08:11:06.000Z | yardstick/tests/unit/benchmark/scenarios/energy/test_energy.py | upfront710/yardstick | 2c3898f2ca061962cedbfc7435f78b59aa39b097 | [
"Apache-2.0"
] | 6 | 2018-01-18T08:00:54.000Z | 2019-04-11T04:51:41.000Z | yardstick/tests/unit/benchmark/scenarios/energy/test_energy.py | upfront710/yardstick | 2c3898f2ca061962cedbfc7435f78b59aa39b097 | [
"Apache-2.0"
] | 46 | 2016-12-13T10:05:47.000Z | 2021-02-18T07:33:06.000Z | ##############################################################################
# Copyright (c) 2019 Lenovo Group Limited Co.,Ltd and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution,... | 40.918033 | 78 | 0.642094 | 900 | 7,488 | 5.062222 | 0.144444 | 0.108648 | 0.105356 | 0.087577 | 0.824188 | 0.824188 | 0.814311 | 0.814311 | 0.814311 | 0.804653 | 0 | 0.016569 | 0.226229 | 7,488 | 182 | 79 | 41.142857 | 0.769762 | 0.04781 | 0 | 0.694805 | 0 | 0 | 0.174706 | 0.149584 | 0 | 0 | 0 | 0 | 0.097403 | 1 | 0.097403 | false | 0.012987 | 0.032468 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98e76e200a7b183620142b715764a8f65e4e897a | 11,103 | py | Python | trade_remedies_api/workflow/tests/test_outcomes.py | uktrade/trade-remedies-api | fbe2d142ef099c7244788a0f72dd1003eaa7edce | [
"MIT"
] | 1 | 2020-08-13T10:37:15.000Z | 2020-08-13T10:37:15.000Z | trade_remedies_api/workflow/tests/test_outcomes.py | uktrade/trade-remedies-api | fbe2d142ef099c7244788a0f72dd1003eaa7edce | [
"MIT"
] | 4 | 2020-09-10T13:41:52.000Z | 2020-12-16T09:00:21.000Z | trade_remedies_api/workflow/tests/test_outcomes.py | uktrade/trade-remedies-api | fbe2d142ef099c7244788a0f72dd1003eaa7edce | [
"MIT"
] | null | null | null | from django.test import SimpleTestCase
from workflow.models import Workflow
from workflow.outcomes import BaseOutcome
class MyOutcome(BaseOutcome):
key = "MY_OUTCOME"
def __init__(self, action, workflow, spec=None, **kwargs):
super().__init__(action, workflow, spec, **kwargs)
self.call_count... | 33.543807 | 100 | 0.528866 | 1,307 | 11,103 | 4.107881 | 0.06886 | 0.052151 | 0.077482 | 0.093127 | 0.857515 | 0.818029 | 0.80257 | 0.775191 | 0.721736 | 0.700689 | 0 | 0.017958 | 0.327929 | 11,103 | 330 | 101 | 33.645455 | 0.701555 | 0.010358 | 0 | 0.382239 | 0 | 0 | 0.113089 | 0 | 0 | 0 | 0 | 0 | 0.096525 | 1 | 0.150579 | false | 0 | 0.011583 | 0.03861 | 0.220077 | 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 |
c731ba07fa0bad4e17e719c0032c620ee633686c | 46 | py | Python | DividendFiend/__init__.py | anthonyastarita/DividendFiend | d97d0eb3ece91a5d0bd80c374f41f2975f9c3c1a | [
"MIT"
] | 2 | 2020-11-11T04:02:30.000Z | 2022-01-28T16:08:58.000Z | DividendFiend/__init__.py | anthonyastarita/DividendFiend | d97d0eb3ece91a5d0bd80c374f41f2975f9c3c1a | [
"MIT"
] | null | null | null | DividendFiend/__init__.py | anthonyastarita/DividendFiend | d97d0eb3ece91a5d0bd80c374f41f2975f9c3c1a | [
"MIT"
] | null | null | null | from DividendFiend.StockInfo import StockInfo
| 23 | 45 | 0.891304 | 5 | 46 | 8.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.97619 | 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 |
c737562348a3f3479c1f0e8736f128c82718a0f8 | 245 | py | Python | phamt/test/__init__.py | noahbenson/phamt | 2b5a784bce97b0aa33be8980b2fd853439ad42dd | [
"MIT"
] | null | null | null | phamt/test/__init__.py | noahbenson/phamt | 2b5a784bce97b0aa33be8980b2fd853439ad42dd | [
"MIT"
] | null | null | null | phamt/test/__init__.py | noahbenson/phamt | 2b5a784bce97b0aa33be8980b2fd853439ad42dd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
####################################################################################################
# phamt/test/__init__.py
# Initialization of the phamt library tests.
# By Noah C. Benson
from .phamt import TestPHAMT
| 30.625 | 100 | 0.416327 | 21 | 245 | 4.666667 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004545 | 0.102041 | 245 | 7 | 101 | 35 | 0.440909 | 0.428571 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c77326c30eef927208fa8aa02c95c7fbe1e1a642 | 88 | py | Python | windows_packages_gpu/torch/utils/ffi/__init__.py | codeproject/DeepStack | d96368a3db1bc0266cb500ba3701d130834da0e6 | [
"Apache-2.0"
] | 353 | 2020-12-10T10:47:17.000Z | 2022-03-31T23:08:29.000Z | windows_packages_gpu/torch/utils/ffi/__init__.py | codeproject/DeepStack | d96368a3db1bc0266cb500ba3701d130834da0e6 | [
"Apache-2.0"
] | 80 | 2020-12-10T09:54:22.000Z | 2022-03-30T22:08:45.000Z | windows_packages_gpu/torch/utils/ffi/__init__.py | codeproject/DeepStack | d96368a3db1bc0266cb500ba3701d130834da0e6 | [
"Apache-2.0"
] | 63 | 2020-12-10T17:10:34.000Z | 2022-03-28T16:27:07.000Z | raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
| 44 | 87 | 0.795455 | 12 | 88 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 88 | 1 | 88 | 88 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0.747126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7d6825508ae11bc24d113aba271f4cb316b4d1b | 4,917 | py | Python | custom_lib/model/job.py | ktiyab/tiny-gae-gce-scheduler-skeleton | 0416a750630260fe36f4af127f714681bf0cf314 | [
"BSD-3-Clause"
] | 1 | 2018-12-13T23:31:31.000Z | 2018-12-13T23:31:31.000Z | custom_lib/model/job.py | ktiyab/tiny-gae-gce-scheduler-skeleton | 0416a750630260fe36f4af127f714681bf0cf314 | [
"BSD-3-Clause"
] | null | null | null | custom_lib/model/job.py | ktiyab/tiny-gae-gce-scheduler-skeleton | 0416a750630260fe36f4af127f714681bf0cf314 | [
"BSD-3-Clause"
] | null | null | null | """
Copyright Tiyab KONLAMBIGUE
Licensed under the BSD 3-Clause "New" or "Revised" license;
you may not use this file except in compliance with the License.
You may obtain a copy of the License at : https://opensource.org/licenses/BSD-3-Clause
"""
from google.appengine.ext import ndb
class Job(ndb.Model):
creati... | 38.414063 | 94 | 0.638601 | 634 | 4,917 | 4.769716 | 0.148265 | 0.059524 | 0.063492 | 0.018519 | 0.76918 | 0.76918 | 0.76918 | 0.76918 | 0.76918 | 0.736772 | 0 | 0.000554 | 0.265202 | 4,917 | 127 | 95 | 38.716535 | 0.836424 | 0.062233 | 0 | 0.804348 | 0 | 0 | 0.064158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065217 | false | 0 | 0.01087 | 0.021739 | 0.456522 | 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 |
1be34732f2880cc731ef2dab7a4b203c55de4bb6 | 193 | py | Python | source-code-from-author-book/Listings-for-Second-Edition/listing_6_4.py | robrac/algorithms-exercises-with-python | 5780171517eacc1c7133fdc32cf079623cd14cf9 | [
"MIT"
] | null | null | null | source-code-from-author-book/Listings-for-Second-Edition/listing_6_4.py | robrac/algorithms-exercises-with-python | 5780171517eacc1c7133fdc32cf079623cd14cf9 | [
"MIT"
] | null | null | null | source-code-from-author-book/Listings-for-Second-Edition/listing_6_4.py | robrac/algorithms-exercises-with-python | 5780171517eacc1c7133fdc32cf079623cd14cf9 | [
"MIT"
] | null | null | null | def getRootVal(root):
return root[0]
def setRootVal(root,newVal):
root[0] = newVal
def getLeftChild(root):
return root[1]
def getRightChild(root):
return root[2]
| 16.083333 | 28 | 0.637306 | 25 | 193 | 4.92 | 0.44 | 0.243902 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0.248705 | 193 | 11 | 29 | 17.545455 | 0.82069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.375 | 0.875 | 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 |
40354cd240fb2af1c6ef8c85205039612a914a9b | 805 | py | Python | venv/Lib/site-packages/tensorflow_core/_api/v2/compat/v1/lite/constants/__init__.py | TEDxVienna/continuum | 85cefbc274fc59e2059c313bc0d3b9b93a34ba6d | [
"MIT"
] | 2 | 2020-09-30T00:11:09.000Z | 2021-10-04T13:00:38.000Z | venv/Lib/site-packages/tensorflow_core/_api/v2/compat/v1/lite/constants/__init__.py | TEDxVienna/continuum | 85cefbc274fc59e2059c313bc0d3b9b93a34ba6d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/tensorflow_core/_api/v2/compat/v1/lite/constants/__init__.py | TEDxVienna/continuum | 85cefbc274fc59e2059c313bc0d3b9b93a34ba6d | [
"MIT"
] | 1 | 2020-06-28T11:47:47.000Z | 2020-06-28T11:47:47.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.lite.constants namespace.
"""
from __future__ import print_function as _print_function
import sys as _sys
from tensorflow.lite.python.lite_constants import FLOAT
from... | 38.333333 | 82 | 0.850932 | 116 | 805 | 5.706897 | 0.362069 | 0.196375 | 0.244713 | 0.326284 | 0.584592 | 0.584592 | 0.584592 | 0 | 0 | 0 | 0 | 0.010914 | 0.089441 | 805 | 20 | 83 | 40.25 | 0.892224 | 0.21118 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.916667 | 0 | 0.916667 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4052f82d34551b9cca13dda21afacef10b10278f | 101 | py | Python | cronjob/cronjob/constants.py | x-aficionados/realtime-crime-reporting | 5cd0b66f3051401a1bb884f58352bb5bbf195d99 | [
"MIT"
] | null | null | null | cronjob/cronjob/constants.py | x-aficionados/realtime-crime-reporting | 5cd0b66f3051401a1bb884f58352bb5bbf195d99 | [
"MIT"
] | null | null | null | cronjob/cronjob/constants.py | x-aficionados/realtime-crime-reporting | 5cd0b66f3051401a1bb884f58352bb5bbf195d99 | [
"MIT"
] | null | null | null | import os
MONGODB_URL = os.environ.get("MONGODB_URL")
MONGODB_NAME = os.environ.get("MONGODB_NAME")
| 20.2 | 45 | 0.772277 | 16 | 101 | 4.625 | 0.4375 | 0.27027 | 0.324324 | 0.513514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 101 | 4 | 46 | 25.25 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0.227723 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
407b8601ad109aa29496f102f6fcc3114cae773a | 85 | py | Python | xfbin/structure/br/__init__.py | SutandoTsukai181/xfbin_lib | 8e2c56f354bfd868f9162f816cc528e6f830cdbc | [
"MIT"
] | 3 | 2021-07-20T09:13:13.000Z | 2021-09-06T18:08:15.000Z | xfbin/structure/br/__init__.py | SutandoTsukai181/xfbin_lib | 8e2c56f354bfd868f9162f816cc528e6f830cdbc | [
"MIT"
] | 1 | 2021-09-06T18:07:48.000Z | 2021-09-06T18:07:48.000Z | xfbin/structure/br/__init__.py | SutandoTsukai181/xfbin_lib | 8e2c56f354bfd868f9162f816cc528e6f830cdbc | [
"MIT"
] | null | null | null | from .br_nucc import BrNuccChunk
from .br_nud import BrNud
from .br_nut import BrNut
| 21.25 | 32 | 0.823529 | 15 | 85 | 4.466667 | 0.6 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 3 | 33 | 28.333333 | 0.917808 | 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 |
40c375699a4b15664c2bbd5da8489570582676af | 29 | py | Python | __init__.py | myriadrf/pyLMS8001 | 7d50b6078c1028ecc2be4bf123063190c028b337 | [
"Apache-2.0"
] | null | null | null | __init__.py | myriadrf/pyLMS8001 | 7d50b6078c1028ecc2be4bf123063190c028b337 | [
"Apache-2.0"
] | null | null | null | __init__.py | myriadrf/pyLMS8001 | 7d50b6078c1028ecc2be4bf123063190c028b337 | [
"Apache-2.0"
] | 1 | 2018-10-26T03:54:24.000Z | 2018-10-26T03:54:24.000Z | from LMS8001_EVB import *
| 5.8 | 25 | 0.724138 | 4 | 29 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.241379 | 29 | 4 | 26 | 7.25 | 0.727273 | 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 |
904b7f58142f6eddddaf925dbff7b62a92fb1707 | 46 | py | Python | ExplainToMe/views/__init__.py | renandecarlo/ExplainToMe | 122fee1b418f4820767505ee5cde08714db691fe | [
"Apache-2.0"
] | 438 | 2015-03-23T08:35:07.000Z | 2022-03-31T07:59:26.000Z | ExplainToMe/views/__init__.py | renandecarlo/ExplainToMe | 122fee1b418f4820767505ee5cde08714db691fe | [
"Apache-2.0"
] | 12 | 2016-08-11T19:37:39.000Z | 2018-07-26T20:13:20.000Z | ExplainToMe/views/__init__.py | renandecarlo/ExplainToMe | 122fee1b418f4820767505ee5cde08714db691fe | [
"Apache-2.0"
] | 74 | 2016-02-05T16:03:39.000Z | 2021-12-14T06:04:08.000Z | from . api import api
from . root import root
| 15.333333 | 23 | 0.73913 | 8 | 46 | 4.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 2 | 24 | 23 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
291583282ce62245a7e16f305af1ebc91c444559 | 288 | py | Python | src/masoniteorm/connections/__init__.py | resmo/orm | 4e10708409e9c95a793b0a8b585095c679a56053 | [
"MIT"
] | 94 | 2020-02-08T21:08:56.000Z | 2022-03-28T15:24:52.000Z | src/masoniteorm/connections/__init__.py | resmo/orm | 4e10708409e9c95a793b0a8b585095c679a56053 | [
"MIT"
] | 441 | 2020-02-09T06:17:44.000Z | 2022-03-30T07:27:39.000Z | src/masoniteorm/connections/__init__.py | resmo/orm | 4e10708409e9c95a793b0a8b585095c679a56053 | [
"MIT"
] | 28 | 2020-02-26T10:29:05.000Z | 2022-03-30T19:08:28.000Z | from .ConnectionResolver import ConnectionResolver
from .ConnectionFactory import ConnectionFactory
from .MySQLConnection import MySQLConnection
from .PostgresConnection import PostgresConnection
from .SQLiteConnection import SQLiteConnection
from .MSSQLConnection import MSSQLConnection
| 41.142857 | 50 | 0.895833 | 24 | 288 | 10.75 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 288 | 6 | 51 | 48 | 0.977273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29629042cd29ddbcb75c32c06ff7ca67e5ad87e9 | 54,724 | py | Python | visual_dynamics/policies/servoing_policy.py | alexlee-gk/visual_dynamics | 90227bb0d0aebb1989117b5c25ca311655ca7cc7 | [
"MIT"
] | 30 | 2017-04-05T12:55:09.000Z | 2022-03-14T14:31:31.000Z | visual_dynamics/policies/servoing_policy.py | alexlee-gk/visual_dynamics | 90227bb0d0aebb1989117b5c25ca311655ca7cc7 | [
"MIT"
] | 1 | 2017-06-19T02:39:03.000Z | 2017-06-19T02:39:03.000Z | visual_dynamics/policies/servoing_policy.py | alexlee-gk/visual_dynamics | 90227bb0d0aebb1989117b5c25ca311655ca7cc7 | [
"MIT"
] | 13 | 2017-04-05T12:55:09.000Z | 2021-03-16T01:59:12.000Z | from __future__ import division, print_function
import time
import lasagne.layers as L
import numpy as np
import theano
import theano.tensor as T
import yaml
from visual_dynamics.policies import Policy
from visual_dynamics.spaces import AxisAngleSpace
from visual_dynamics.spaces import TranslationAxisAngleSpace
from... | 52.720617 | 175 | 0.621903 | 7,638 | 54,724 | 4.14729 | 0.043205 | 0.025286 | 0.012217 | 0.011996 | 0.825552 | 0.795309 | 0.762983 | 0.744862 | 0.720302 | 0.696688 | 0 | 0.008706 | 0.271672 | 54,724 | 1,037 | 176 | 52.771456 | 0.78606 | 0.082742 | 0 | 0.577206 | 0 | 0 | 0.021509 | 0 | 0 | 0 | 0 | 0 | 0.026961 | 1 | 0.04902 | false | 0.001225 | 0.020833 | 0.001225 | 0.125 | 0.026961 | 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 |
2966f3a7093c6eab7a2f40e0f0690bc8d7964a43 | 147 | py | Python | home/sort_array_by_frequancy.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | home/sort_array_by_frequancy.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | home/sort_array_by_frequancy.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | from collections import Counter
def frequency_sort(items):
return [item for items, c in Counter(items).most_common() for item in [items] * c]
| 29.4 | 86 | 0.741497 | 23 | 147 | 4.652174 | 0.652174 | 0.11215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 147 | 4 | 87 | 36.75 | 0.869919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
462aa9f5d049125fa17fc8d49cf93401f0b77b99 | 4,353 | py | Python | src/tests/catwalk_tests/test_individual_importance.py | josephbajor/triage_NN | cbaee6e5a06e597c91fec372717d89a2b5f34fa5 | [
"MIT"
] | 160 | 2017-06-13T09:59:59.000Z | 2022-03-21T22:00:35.000Z | src/tests/catwalk_tests/test_individual_importance.py | josephbajor/triage_NN | cbaee6e5a06e597c91fec372717d89a2b5f34fa5 | [
"MIT"
] | 803 | 2016-10-21T19:44:02.000Z | 2022-03-29T00:02:33.000Z | src/tests/catwalk_tests/test_individual_importance.py | josephbajor/triage_NN | cbaee6e5a06e597c91fec372717d89a2b5f34fa5 | [
"MIT"
] | 59 | 2017-01-31T22:10:22.000Z | 2022-03-19T12:35:03.000Z | from triage.component.catwalk.individual_importance import (
IndividualImportanceCalculator,
IndividualImportanceCalculatorNoOp,
)
from tests.utils import (
rig_engines,
fake_trained_model,
matrix_creator,
matrix_metadata_creator,
get_matrix_store,
)
from unittest.mock import patch
def sa... | 34.275591 | 87 | 0.627154 | 482 | 4,353 | 5.313278 | 0.20332 | 0.030066 | 0.04998 | 0.052714 | 0.852011 | 0.822335 | 0.822335 | 0.822335 | 0.822335 | 0.795783 | 0 | 0.003932 | 0.298874 | 4,353 | 126 | 88 | 34.547619 | 0.83519 | 0.090283 | 0 | 0.536082 | 0 | 0 | 0.078862 | 0.039727 | 0 | 0 | 0 | 0 | 0.061856 | 1 | 0.030928 | false | 0 | 0.123711 | 0.010309 | 0.164948 | 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 |
4630c36cf1fedc407b8354610cb1ffdcc0ca9e81 | 36 | py | Python | fi.py | zhangweiiowa/CAS1 | 1a148f75bdf9a10dfd4f9838b3d40f7b9560989c | [
"Apache-2.0"
] | null | null | null | fi.py | zhangweiiowa/CAS1 | 1a148f75bdf9a10dfd4f9838b3d40f7b9560989c | [
"Apache-2.0"
] | null | null | null | fi.py | zhangweiiowa/CAS1 | 1a148f75bdf9a10dfd4f9838b3d40f7b9560989c | [
"Apache-2.0"
] | null | null | null | import netcdf
import basemap as map
| 12 | 21 | 0.833333 | 6 | 36 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 2 | 22 | 18 | 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 |
4651afc46ac76a786213b7fccb3f2663001af436 | 30 | py | Python | generic/py-backend/inotify_simple/__init__.py | Vistaus/seabass2 | 58b9361e53120d594a74e6fabf034fcb66217eab | [
"MIT"
] | 13 | 2020-05-23T08:54:18.000Z | 2022-02-14T12:55:03.000Z | generic/py-backend/inotify_simple/__init__.py | Vistaus/seabass2 | 58b9361e53120d594a74e6fabf034fcb66217eab | [
"MIT"
] | 74 | 2020-05-09T08:37:37.000Z | 2021-11-02T15:22:33.000Z | generic/py-backend/inotify_simple/__init__.py | Vistaus/seabass2 | 58b9361e53120d594a74e6fabf034fcb66217eab | [
"MIT"
] | 8 | 2020-05-09T08:12:28.000Z | 2021-07-18T16:30:45.000Z | from .inotify_simple import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4697ea4f09bd28ce80148905641e934ab86edd58 | 49 | py | Python | wwshc/utils/__init__.py | J0J0HA/realeses | 903783244e183418c8ddf91c6a0cbac3c2d40fdb | [
"MIT"
] | 2 | 2022-02-20T13:23:14.000Z | 2022-02-28T15:56:40.000Z | wwshc/utils/__init__.py | J0J0HA/realeses | 903783244e183418c8ddf91c6a0cbac3c2d40fdb | [
"MIT"
] | null | null | null | wwshc/utils/__init__.py | J0J0HA/realeses | 903783244e183418c8ddf91c6a0cbac3c2d40fdb | [
"MIT"
] | null | null | null | from . import exceptions, events, caching, extra
| 24.5 | 48 | 0.77551 | 6 | 49 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 0.904762 | 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 |
31154a61fffa47763ec5c0e806220ee3743a79c9 | 26 | py | Python | src/__init__.py | WaylonWalker/pyDataVizDay | 3441570a5adf7322d4c1ad74ecc2ac73dc306d46 | [
"MIT"
] | 1 | 2017-07-04T12:26:06.000Z | 2017-07-04T12:26:06.000Z | src/__init__.py | WaylonWalker/pyDataVizDay | 3441570a5adf7322d4c1ad74ecc2ac73dc306d46 | [
"MIT"
] | null | null | null | src/__init__.py | WaylonWalker/pyDataVizDay | 3441570a5adf7322d4c1ad74ecc2ac73dc306d46 | [
"MIT"
] | null | null | null | from pyDataVizDay import * | 26 | 26 | 0.846154 | 3 | 26 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 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 |
3137fd4dedc3db71ee23a749a9bd27a19dba7296 | 243 | py | Python | python/masonite/app/http/controllers/PageController.py | paulcsmith/web-frameworks | cc5a9744d7847a778bff0b1140df4a998974c8fe | [
"MIT"
] | 5 | 2021-01-26T08:47:38.000Z | 2021-01-30T00:42:19.000Z | python/masonite/app/http/controllers/PageController.py | paulcsmith/web-frameworks | cc5a9744d7847a778bff0b1140df4a998974c8fe | [
"MIT"
] | 443 | 2019-10-17T20:33:38.000Z | 2021-08-03T03:20:46.000Z | python/masonite/app/http/controllers/PageController.py | paulcsmith/web-frameworks | cc5a9744d7847a778bff0b1140df4a998974c8fe | [
"MIT"
] | 2 | 2020-11-30T11:52:43.000Z | 2021-03-22T07:05:29.000Z | from masonite.request import Request
class PageController:
def index(self, request: Request):
return ""
def show_user(self, request: Request):
return request.param("id")
def create_user(self):
return ""
| 18.692308 | 42 | 0.646091 | 28 | 243 | 5.535714 | 0.535714 | 0.141935 | 0.232258 | 0.309677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255144 | 243 | 12 | 43 | 20.25 | 0.856354 | 0 | 0 | 0.25 | 0 | 0 | 0.00823 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.375 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
31720a71958d9bef5893f2c06ec54b7ee35720b0 | 4,272 | py | Python | language/migrations/0001_initial.py | vsanasc/sbrain | c0d0c24ea347d6bd0f34b9fdc3d7f01563ba0461 | [
"BSD-3-Clause"
] | 1 | 2019-10-22T19:17:59.000Z | 2019-10-22T19:17:59.000Z | language/migrations/0001_initial.py | vsanasc/sbrain | c0d0c24ea347d6bd0f34b9fdc3d7f01563ba0461 | [
"BSD-3-Clause"
] | null | null | null | language/migrations/0001_initial.py | vsanasc/sbrain | c0d0c24ea347d6bd0f34b9fdc3d7f01563ba0461 | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 2.0 on 2017-12-04 17:54
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Episode',
fields=[
... | 46.434783 | 119 | 0.567884 | 405 | 4,272 | 5.839506 | 0.190123 | 0.033827 | 0.088795 | 0.105708 | 0.793658 | 0.770825 | 0.770825 | 0.770825 | 0.770825 | 0.770825 | 0 | 0.012366 | 0.280665 | 4,272 | 91 | 120 | 46.945055 | 0.75724 | 0.010066 | 0 | 0.666667 | 1 | 0 | 0.113083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3187a68259f391f99d1e40fba9659989753d33d9 | 23 | py | Python | yeelight_async/__init__.py | fanthos/python-yeelight-async | 5078b6d8f56b58bd680d2b15ca77da88b6cec81f | [
"BSD-3-Clause"
] | null | null | null | yeelight_async/__init__.py | fanthos/python-yeelight-async | 5078b6d8f56b58bd680d2b15ca77da88b6cec81f | [
"BSD-3-Clause"
] | null | null | null | yeelight_async/__init__.py | fanthos/python-yeelight-async | 5078b6d8f56b58bd680d2b15ca77da88b6cec81f | [
"BSD-3-Clause"
] | null | null | null | from .bulb import Bulb
| 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 |
318a130c23a0ad9fd091519f8383690185d5e9bf | 84 | py | Python | plugins/auth_users/__init__.py | ajenti/ajen | 177c1a67278a7763ed06eb2f773d7b409a85ec77 | [
"MIT"
] | 3,777 | 2015-02-21T00:10:12.000Z | 2022-03-30T15:33:22.000Z | plugins/auth_users/__init__.py | ajenti/ajen | 177c1a67278a7763ed06eb2f773d7b409a85ec77 | [
"MIT"
] | 749 | 2015-03-12T14:17:03.000Z | 2022-03-25T13:22:28.000Z | plugins/auth_users/__init__.py | ajenti/ajen | 177c1a67278a7763ed06eb2f773d7b409a85ec77 | [
"MIT"
] | 687 | 2015-03-21T10:42:33.000Z | 2022-03-21T23:18:12.000Z | # pyflakes: disable-all
from .api import *
from .main import *
from .views import *
| 16.8 | 23 | 0.714286 | 12 | 84 | 5 | 0.666667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 84 | 4 | 24 | 21 | 0.869565 | 0.25 | 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 |
318ebcfc8e646569351e9493760e2e5c819d80b7 | 37 | py | Python | snowflakeapi/__init__.py | thenishantsapkota/snowflake-api.py | fc8d18f0e6f63e7a4b63eab9f3c32d5989b3f426 | [
"MIT"
] | 3 | 2021-07-23T03:41:21.000Z | 2021-07-24T01:58:44.000Z | snowflakeapi/__init__.py | thenishantsapkota/snowflake-api.py | fc8d18f0e6f63e7a4b63eab9f3c32d5989b3f426 | [
"MIT"
] | null | null | null | snowflakeapi/__init__.py | thenishantsapkota/snowflake-api.py | fc8d18f0e6f63e7a4b63eab9f3c32d5989b3f426 | [
"MIT"
] | 2 | 2021-07-23T13:02:21.000Z | 2021-08-24T01:17:11.000Z | from .snowflakeapi import SnowClient
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
319541283238e7e5c430e680e78ca1f684ef1a78 | 189 | py | Python | src/users/tests/user_creator/conftest.py | denkasyanov/education-backend | c796b6f2f1cc1cd09f83cab2ca0cc45344906ef5 | [
"MIT"
] | 151 | 2020-04-21T09:58:57.000Z | 2021-09-12T09:01:21.000Z | src/users/tests/user_creator/conftest.py | denkasyanov/education-backend | c796b6f2f1cc1cd09f83cab2ca0cc45344906ef5 | [
"MIT"
] | 163 | 2020-05-29T20:52:00.000Z | 2021-09-11T12:44:56.000Z | src/users/tests/user_creator/conftest.py | boochamoocha/education-backend | c6ffb0c00bc066c8f1e0a8c0ffe4d0215c7c416a | [
"MIT"
] | 39 | 2020-04-21T12:28:16.000Z | 2021-09-12T15:33:47.000Z | import pytest
pytestmark = [pytest.mark.django_db]
@pytest.fixture
def user(mixer):
return mixer.blend('users.User', username='rulon.oboev@gmail.com', email='rulon.oboev@gmail.com')
| 21 | 101 | 0.740741 | 27 | 189 | 5.148148 | 0.703704 | 0.143885 | 0.215827 | 0.258993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100529 | 189 | 8 | 102 | 23.625 | 0.817647 | 0 | 0 | 0 | 0 | 0 | 0.275132 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3198d857b97ebf755623c2f8581d7a85f4c07abf | 1,969 | py | Python | autograd/tests/test_unary.py | pmaederyork/Dragrongrad | 32794d561f8d0273592ed55d315013eab2c24b8b | [
"MIT"
] | 3 | 2018-12-17T16:24:11.000Z | 2020-06-03T22:40:50.000Z | autograd/tests/test_unary.py | cs207-project-group4/project-repo | d5ee88d2a7d16477d816d830ba90d241a05e3b48 | [
"MIT"
] | 2 | 2018-10-18T17:59:26.000Z | 2018-12-08T16:06:34.000Z | autograd/tests/test_unary.py | cs207-project-group4/project-repo | d5ee88d2a7d16477d816d830ba90d241a05e3b48 | [
"MIT"
] | 1 | 2019-08-19T06:06:13.000Z | 2019-08-19T06:06:13.000Z | from autograd.blocks.trigo import sin
from autograd.variable import Variable
import numpy as np
import autograd as ad
def test_neg_forward():
ad.set_mode('forward')
# =============================================================================
# define the input variable
# ==========================... | 37.865385 | 83 | 0.325038 | 143 | 1,969 | 4.34965 | 0.251748 | 0.048232 | 0.07717 | 0.109325 | 0.707396 | 0.707396 | 0.707396 | 0.707396 | 0.707396 | 0.707396 | 0 | 0.002367 | 0.141696 | 1,969 | 51 | 84 | 38.607843 | 0.36568 | 0.554088 | 0 | 0.5 | 0 | 0 | 0.076834 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.1 | false | 0 | 0.2 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
319b8bbc618c86fa8c5db0b6ffae2c3adbe2eb55 | 67 | py | Python | tests/arithmetic/PERC.py | past-one/rubymine-is2018 | 9b7f38bbcab0b59434e074632e9e2fb9dbd56d29 | [
"Apache-2.0"
] | null | null | null | tests/arithmetic/PERC.py | past-one/rubymine-is2018 | 9b7f38bbcab0b59434e074632e9e2fb9dbd56d29 | [
"Apache-2.0"
] | null | null | null | tests/arithmetic/PERC.py | past-one/rubymine-is2018 | 9b7f38bbcab0b59434e074632e9e2fb9dbd56d29 | [
"Apache-2.0"
] | null | null | null | if 10 % 3 == 1: # true
pass
if 10 % 0 == 5: # none
pass
| 11.166667 | 23 | 0.41791 | 12 | 67 | 2.333333 | 0.75 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0.432836 | 67 | 5 | 24 | 13.4 | 0.526316 | 0.134328 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
31b7ae7fc79845f58935fe2502d5ee3b26b64bb3 | 36 | py | Python | onigiri/__init__.py | alvations/onigiri | 586b1ae34f7809948a7726f8cd79417631e2bc66 | [
"Apache-2.0"
] | 1 | 2018-12-04T23:50:52.000Z | 2018-12-04T23:50:52.000Z | onigiri/__init__.py | alvations/onigiri | 586b1ae34f7809948a7726f8cd79417631e2bc66 | [
"Apache-2.0"
] | null | null | null | onigiri/__init__.py | alvations/onigiri | 586b1ae34f7809948a7726f8cd79417631e2bc66 | [
"Apache-2.0"
] | null | null | null |
from onigiri.client import Client
| 9 | 33 | 0.805556 | 5 | 36 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 3 | 34 | 12 | 0.966667 | 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 |
31cfa366df237da11ab2845dc5238adf0deaff3f | 23,918 | py | Python | CMSIS/DSP/Testing/PatternGeneration/Tools.py | giorgio-arenarm/CMSIS_5 | 30c0379e79e833eab4d5da117c14cceb319d5259 | [
"Apache-2.0"
] | null | null | null | CMSIS/DSP/Testing/PatternGeneration/Tools.py | giorgio-arenarm/CMSIS_5 | 30c0379e79e833eab4d5da117c14cceb319d5259 | [
"Apache-2.0"
] | null | null | null | CMSIS/DSP/Testing/PatternGeneration/Tools.py | giorgio-arenarm/CMSIS_5 | 30c0379e79e833eab4d5da117c14cceb319d5259 | [
"Apache-2.0"
] | null | null | null | import os.path
import struct
import numpy as np
TAILONLY = 1
BODYONLY = 2
BODYANDTAIL = 3
def loopnb(format,loopkind):
nb = 0
if loopkind == TAILONLY:
if format == 0 or format == 31:
nb = 3
if format == 15:
nb = 7
if format == 7:
nb = 15
if loop... | 32.809328 | 88 | 0.539677 | 3,248 | 23,918 | 3.929803 | 0.070813 | 0.020213 | 0.030085 | 0.040113 | 0.832968 | 0.826857 | 0.804607 | 0.79638 | 0.765356 | 0.763475 | 0 | 0.031857 | 0.334602 | 23,918 | 728 | 89 | 32.854396 | 0.770154 | 0.375742 | 0 | 0.379195 | 0 | 0 | 0.068154 | 0 | 0 | 0 | 0.013631 | 0 | 0 | 1 | 0.187919 | false | 0 | 0.010067 | 0.013423 | 0.234899 | 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 |
732deed6daf10942c6b92200033c23c3357ffa7b | 12,290 | py | Python | test/unit/protocols/test_rb.py | colibri-coruscans/pyGSTi | da54f4abf668a28476030528f81afa46a1fbba33 | [
"Apache-2.0"
] | null | null | null | test/unit/protocols/test_rb.py | colibri-coruscans/pyGSTi | da54f4abf668a28476030528f81afa46a1fbba33 | [
"Apache-2.0"
] | null | null | null | test/unit/protocols/test_rb.py | colibri-coruscans/pyGSTi | da54f4abf668a28476030528f81afa46a1fbba33 | [
"Apache-2.0"
] | null | null | null | from ..util import BaseCase
import pygsti
from pygsti.protocols import rb as _rb
from pygsti.processors import CliffordCompilationRules as CCR
from pygsti.processors import QubitProcessorSpec as QPS
class TestCliffordRBDesign(BaseCase):
def setUp(self):
self.num_qubits = 4
self.qubit_labels = ['Q... | 50.785124 | 157 | 0.625793 | 1,469 | 12,290 | 5.063308 | 0.127978 | 0.031057 | 0.0121 | 0.019226 | 0.871067 | 0.866362 | 0.823071 | 0.823071 | 0.808416 | 0.789728 | 0 | 0.018454 | 0.254841 | 12,290 | 241 | 158 | 50.995851 | 0.793732 | 0.106428 | 0 | 0.679487 | 0 | 0 | 0.054942 | 0 | 0 | 0 | 0 | 0.004149 | 0.051282 | 1 | 0.057692 | false | 0 | 0.032051 | 0 | 0.108974 | 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 |
73397465248ea21e00075709979bb31de3008f5e | 5,086 | py | Python | ex_unit_test.py | russ-hensel/twitter_analysis_db | 516a7fd3c63348ecc67daa6dcf5efb88ee73a5e3 | [
"MIT"
] | 1 | 2020-05-18T13:46:11.000Z | 2020-05-18T13:46:11.000Z | ex_unit_test.py | russ-hensel/twitter_analysis_db | 516a7fd3c63348ecc67daa6dcf5efb88ee73a5e3 | [
"MIT"
] | null | null | null | ex_unit_test.py | russ-hensel/twitter_analysis_db | 516a7fd3c63348ecc67daa6dcf5efb88ee73a5e3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
""""
this is a template for example or template files
"""
# ----------------------------------------
def ex_1():
print("""
================ ex_1(): ===============
""")
#ex_1()
# ----------------------------------------
def ex_2():
print("""
================ ... | 23.330275 | 97 | 0.428038 | 597 | 5,086 | 3.433836 | 0.145729 | 0.080488 | 0.122927 | 0.169756 | 0.782927 | 0.768293 | 0.755122 | 0.753659 | 0.700976 | 0.67561 | 0 | 0.041744 | 0.364137 | 5,086 | 217 | 98 | 23.437788 | 0.592146 | 0.793944 | 0 | 0.32 | 0 | 0 | 0.246857 | 0.024 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.16 | false | 0 | 0.08 | 0 | 0.32 | 0.24 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
734a090c25e1805f6a86cbdb686b82024cc79e5a | 6,184 | py | Python | flarestack/icecube_utils/reference_sensitivity.py | robertdstein/flarestack | 2ce7e67da336514f6f38f06126a1fbd82131e441 | [
"MIT"
] | null | null | null | flarestack/icecube_utils/reference_sensitivity.py | robertdstein/flarestack | 2ce7e67da336514f6f38f06126a1fbd82131e441 | [
"MIT"
] | 25 | 2019-11-14T15:46:24.000Z | 2020-11-27T11:14:22.000Z | flarestack/icecube_utils/reference_sensitivity.py | robertdstein/flarestack | 2ce7e67da336514f6f38f06126a1fbd82131e441 | [
"MIT"
] | 2 | 2020-01-06T19:39:27.000Z | 2020-07-16T20:32:29.000Z | import os
import numpy as np
from scipy.interpolate import interp1d, interp2d
from flarestack.data.icecube.ic_season import get_published_sens_ref_dir
ref_dir_7yr, ref_10yr = get_published_sens_ref_dir()
def reference_sensitivity(sindec=np.array(0.0), gamma=2.0, sample="7yr"):
if sample == "7yr":
return... | 37.02994 | 91 | 0.65815 | 971 | 6,184 | 4.120494 | 0.119464 | 0.057736 | 0.017996 | 0.013997 | 0.901525 | 0.868783 | 0.859285 | 0.859285 | 0.836291 | 0.824544 | 0 | 0.038859 | 0.217658 | 6,184 | 166 | 92 | 37.253012 | 0.788136 | 0.358991 | 0 | 0.590361 | 0 | 0 | 0.049086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072289 | false | 0 | 0.048193 | 0 | 0.26506 | 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 |
73624375c06ac5d59e181987b07bde610d3ad3a0 | 7,565 | py | Python | tests/v2/test_sale.py | kipruto/https-github.com-kipruto-store-manager-api-v2 | 064a1b5db79aa1872c6f35a4f3d49a43e0883518 | [
"MIT"
] | null | null | null | tests/v2/test_sale.py | kipruto/https-github.com-kipruto-store-manager-api-v2 | 064a1b5db79aa1872c6f35a4f3d49a43e0883518 | [
"MIT"
] | 7 | 2018-10-31T20:22:05.000Z | 2018-11-01T20:32:28.000Z | tests/v2/test_sale.py | kipruto/https-github.com-kipruto-store-manager-api-v2 | 064a1b5db79aa1872c6f35a4f3d49a43e0883518 | [
"MIT"
] | null | null | null | import unittest
from app import create_app
import json
class TestSale(unittest.TestCase):
def setUp(self):
self.app = create_app('testing')
self.app_context = self.app.app_context()
self.app_context.push()
self.client = self.app.test_client(use_cookies=True)
self.category... | 40.672043 | 84 | 0.517515 | 726 | 7,565 | 5.209366 | 0.121212 | 0.091222 | 0.098889 | 0.116869 | 0.871497 | 0.866737 | 0.832893 | 0.786356 | 0.718139 | 0.718139 | 0 | 0.014625 | 0.376338 | 7,565 | 186 | 85 | 40.672043 | 0.786986 | 0.02842 | 0 | 0.626667 | 0 | 0 | 0.127198 | 0.007089 | 0 | 0 | 0 | 0 | 0.153333 | 1 | 0.026667 | false | 0.026667 | 0.02 | 0 | 0.053333 | 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.