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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73f89d7a5fe0d0c81a167d875bdcdc268a4e2bbe | 5,043 | py | Python | mr-bat.py | Bhai4You/Mr.Bat | 7d3e51a8c7dcd1d62df5622bb0bcb5e067811934 | [
"BSD-2-Clause"
] | 10 | 2019-09-02T07:25:11.000Z | 2021-12-19T09:33:41.000Z | mr-bat.py | Bhai4You/Mr.Bat | 7d3e51a8c7dcd1d62df5622bb0bcb5e067811934 | [
"BSD-2-Clause"
] | null | null | null | mr-bat.py | Bhai4You/Mr.Bat | 7d3e51a8c7dcd1d62df5622bb0bcb5e067811934 | [
"BSD-2-Clause"
] | 8 | 2019-04-16T08:27:00.000Z | 2021-08-04T20:39:16.000Z |
import socket
import random
import os, sys, subprocess,time
import os, sys, json, urllib, re
from time import sleep
os.system("clear")
reload(sys)
sys.setdefaultencoding("utf-8")
# Console colors
W = '\033[0m' # white (normal)
R = '\033[31m' # red
G = '\033[32m' # green
O = '\033[33m' # orange
B = '\033[1m' ... | 41 | 154 | 0.414832 | 585 | 5,043 | 3.558974 | 0.247863 | 0.167147 | 0.198847 | 0.201729 | 0.355908 | 0.32757 | 0.300672 | 0.269452 | 0.245917 | 0.245917 | 0 | 0.21967 | 0.266111 | 5,043 | 122 | 155 | 41.336066 | 0.34288 | 0.012294 | 0 | 0.130841 | 0 | 0.149533 | 0.763581 | 0.275855 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.046729 | null | null | 0.11215 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb5ae2c95460d7de42c3a9230ffc9c8ea9b1f5de | 313 | py | Python | renormalizer/model/__init__.py | liwt31/Renormalizer | 123a9d53f4f5f32c0088c255475f0ee60d02c745 | [
"Apache-2.0"
] | null | null | null | renormalizer/model/__init__.py | liwt31/Renormalizer | 123a9d53f4f5f32c0088c255475f0ee60d02c745 | [
"Apache-2.0"
] | null | null | null | renormalizer/model/__init__.py | liwt31/Renormalizer | 123a9d53f4f5f32c0088c255475f0ee60d02c745 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Author: Jiajun Ren <jiajunren0522@gmail.com>
from renormalizer.model.phonon import Phonon
from renormalizer.model.mol import Mol
from renormalizer.model.mlist import MolList, MolList2, ModelTranslator, construct_j_matrix, load_from_dict
from renormalizer.model.ephtable import EphTable
| 39.125 | 107 | 0.814696 | 41 | 313 | 6.121951 | 0.609756 | 0.25498 | 0.334661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.099042 | 313 | 7 | 108 | 44.714286 | 0.868794 | 0.210863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb84a81f70cc5196376cb27504ffee5649923d90 | 34 | py | Python | src/qibo/callbacks.py | mofeing/qibo | 3eb675ba893bf35f103d41a8a64c86aae9cbf616 | [
"Apache-2.0"
] | 81 | 2020-09-04T10:54:40.000Z | 2021-05-17T13:20:38.000Z | src/qibo/callbacks.py | mofeing/qibo | 3eb675ba893bf35f103d41a8a64c86aae9cbf616 | [
"Apache-2.0"
] | 201 | 2020-08-24T08:41:33.000Z | 2021-05-18T12:23:19.000Z | src/qibo/callbacks.py | mofeing/qibo | 3eb675ba893bf35f103d41a8a64c86aae9cbf616 | [
"Apache-2.0"
] | 20 | 2021-06-11T18:13:09.000Z | 2022-03-28T07:32:09.000Z | from qibo.core.callbacks import *
| 17 | 33 | 0.794118 | 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 |
8375937d69dc11dce3ae3c5c6744fc1159c60450 | 39 | py | Python | echoblog.py | echocho/echoblog | af1d3b361df1fef1e834d311f44e99df7ef72f11 | [
"MIT"
] | null | null | null | echoblog.py | echocho/echoblog | af1d3b361df1fef1e834d311f44e99df7ef72f11 | [
"MIT"
] | null | null | null | echoblog.py | echocho/echoblog | af1d3b361df1fef1e834d311f44e99df7ef72f11 | [
"MIT"
] | null | null | null | #! flask/bin/python
from app import app | 19.5 | 19 | 0.769231 | 7 | 39 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 20 | 19.5 | 0.882353 | 0.461538 | 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 |
83b4552393a6b8d1fb150e8e13553c00b85f3dc5 | 134 | py | Python | component/parameter/__init__.py | sepal-contrib/se.plan | a534d0f15e371310b6bc483867685f8a21f790c0 | [
"MIT"
] | 5 | 2020-11-06T17:24:57.000Z | 2021-12-21T23:06:22.000Z | component/parameter/__init__.py | sepal-contrib/se.plan | a534d0f15e371310b6bc483867685f8a21f790c0 | [
"MIT"
] | 90 | 2020-11-22T13:19:45.000Z | 2022-02-18T14:00:35.000Z | component/parameter/__init__.py | sepal-contrib/se.plan | a534d0f15e371310b6bc483867685f8a21f790c0 | [
"MIT"
] | 2 | 2020-11-06T17:25:03.000Z | 2021-06-09T23:03:24.000Z | from .file_params import *
from .gui_params import *
from .viz_params import *
from .color_gradient import *
from .directory import *
| 22.333333 | 29 | 0.776119 | 19 | 134 | 5.263158 | 0.473684 | 0.4 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 134 | 5 | 30 | 26.8 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f7c437aadd0ec1f61642c252bb5e72481c03c6fe | 4,113 | py | Python | fanstatic/test_slot.py | derilinx/fanstatic | 661ee3619c607aaa4f8c654d0e8093f260cf5288 | [
"BSD-3-Clause"
] | null | null | null | fanstatic/test_slot.py | derilinx/fanstatic | 661ee3619c607aaa4f8c654d0e8093f260cf5288 | [
"BSD-3-Clause"
] | null | null | null | fanstatic/test_slot.py | derilinx/fanstatic | 661ee3619c607aaa4f8c654d0e8093f260cf5288 | [
"BSD-3-Clause"
] | 1 | 2021-08-09T03:23:13.000Z | 2021-08-09T03:23:13.000Z | import pytest
from fanstatic import NeededResources, Library, Resource, Slot, SlotError
def test_fill_slot():
needed = NeededResources()
lib = Library('lib', '')
slot = Slot(lib, '.js')
a = Resource(lib, 'a.js', depends=[slot])
b = Resource(lib, 'b.js')
needed.need(a, {slot: b})
resour... | 25.079268 | 76 | 0.605884 | 546 | 4,113 | 4.501832 | 0.115385 | 0.107404 | 0.034174 | 0.052889 | 0.788853 | 0.770138 | 0.770138 | 0.748983 | 0.748983 | 0.690399 | 0 | 0.000914 | 0.202285 | 4,113 | 163 | 77 | 25.233129 | 0.748247 | 0.024799 | 0 | 0.757282 | 0 | 0.009709 | 0.210329 | 0.143214 | 0 | 0 | 0 | 0 | 0.07767 | 1 | 0.097087 | false | 0 | 0.019417 | 0 | 0.116505 | 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 |
791c95db1d70960b129202b5bb0fc14dfaa1810a | 89 | py | Python | TWLight/comments/__init__.py | jajodiaraghav/TWLight | 22359ab0b95ee3653e8ffa0eb698acd7bb8ebf70 | [
"MIT"
] | 1 | 2019-10-24T04:49:52.000Z | 2019-10-24T04:49:52.000Z | TWLight/comments/__init__.py | jajodiaraghav/TWLight | 22359ab0b95ee3653e8ffa0eb698acd7bb8ebf70 | [
"MIT"
] | 1 | 2019-03-29T15:29:45.000Z | 2019-03-29T15:57:20.000Z | TWLight/comments/__init__.py | jajodiaraghav/TWLight | 22359ab0b95ee3653e8ffa0eb698acd7bb8ebf70 | [
"MIT"
] | 1 | 2019-09-26T14:40:27.000Z | 2019-09-26T14:40:27.000Z | def get_form():
from .forms import CommentWithoutEmail
return CommentWithoutEmail | 29.666667 | 42 | 0.786517 | 9 | 89 | 7.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 3 | 43 | 29.666667 | 0.932432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f7169146ec3baeb91915b19f26b91545909663f8 | 149 | py | Python | foundation/migrate.py | shreyashah115/foundation | 42f19d23cfda77bae533f4884aecc15b3cd07f14 | [
"MIT"
] | null | null | null | foundation/migrate.py | shreyashah115/foundation | 42f19d23cfda77bae533f4884aecc15b3cd07f14 | [
"MIT"
] | null | null | null | foundation/migrate.py | shreyashah115/foundation | 42f19d23cfda77bae533f4884aecc15b3cd07f14 | [
"MIT"
] | null | null | null | import frappe
from frappe.database import Database
from markdown2 import markdown
from frappe.utils import validate_email_add
def migrate():
pass
| 16.555556 | 43 | 0.832215 | 21 | 149 | 5.809524 | 0.619048 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.134228 | 149 | 8 | 44 | 18.625 | 0.937985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0.166667 | 0.666667 | 0 | 0.833333 | 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 |
f74bd12d7d4e22137523ec857496b79106d59c37 | 4,636 | py | Python | test/test_md019.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 20 | 2021-01-14T17:39:09.000Z | 2022-03-14T08:35:22.000Z | test/test_md019.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 304 | 2020-08-15T23:24:00.000Z | 2022-03-31T23:34:03.000Z | test/test_md019.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 3 | 2021-08-11T10:26:26.000Z | 2021-11-02T20:41:27.000Z | """
Module to provide tests related to the MD019 rule.
"""
from test.markdown_scanner import MarkdownScanner
import pytest
# pylint: disable=too-many-lines
@pytest.mark.rules
def test_md019_good_single_spacing():
"""
Test to make sure this rule does not trigger with a document that
contains an Atx Headi... | 28.617284 | 109 | 0.690035 | 562 | 4,636 | 5.475089 | 0.153025 | 0.063373 | 0.064348 | 0.082223 | 0.916477 | 0.914202 | 0.880403 | 0.830029 | 0.828729 | 0.80078 | 0 | 0.025563 | 0.223684 | 4,636 | 161 | 110 | 28.795031 | 0.829397 | 0.186799 | 0 | 0.625 | 0 | 0.068182 | 0.346048 | 0.209385 | 0 | 0 | 0 | 0 | 0.056818 | 1 | 0.056818 | false | 0 | 0.022727 | 0 | 0.079545 | 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 |
f764d091b3a085d00802ab7f140d23d2ba7a09fd | 125 | py | Python | 0x04-python-more_data_structures/1-search_replace.py | omarcherni007/holbertonschool-higher_level_programming | 65f3430ab0310f85368d73cb72e139631e8c6f1e | [
"MIT"
] | 1 | 2022-01-04T11:07:56.000Z | 2022-01-04T11:07:56.000Z | 0x04-python-more_data_structures/1-search_replace.py | omarcherni007/holbertonschool-higher_level_programming | 65f3430ab0310f85368d73cb72e139631e8c6f1e | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/1-search_replace.py | omarcherni007/holbertonschool-higher_level_programming | 65f3430ab0310f85368d73cb72e139631e8c6f1e | [
"MIT"
] | null | null | null | #!/usr/bin/python3
def search_replace(my_list, search, replace):
return [replace if i == search else i for i in my_list]
| 31.25 | 59 | 0.72 | 22 | 125 | 3.954545 | 0.636364 | 0.298851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.168 | 125 | 3 | 60 | 41.666667 | 0.826923 | 0.136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f766c70844a73ac671536d8a2ee5ca6dacc57ce6 | 43 | py | Python | solarbextrapolation/data/__init__.py | sunpy/solarbextrapolation | e064466df118cd72239ec3bcdc60ba42b40f1abb | [
"MIT"
] | 13 | 2015-09-29T12:46:58.000Z | 2021-09-24T06:13:27.000Z | solarbextrapolation/data/__init__.py | dstansby/solarbextrapolation | ec77ffe42978acd4d77f51ddfce5750c7e4cffac | [
"MIT",
"BSD-3-Clause"
] | 24 | 2015-06-24T13:45:44.000Z | 2020-02-15T00:06:38.000Z | solarbextrapolation/data/__init__.py | dstansby/solarbextrapolation | ec77ffe42978acd4d77f51ddfce5750c7e4cffac | [
"MIT",
"BSD-3-Clause"
] | 9 | 2015-06-04T16:35:43.000Z | 2019-05-01T20:39:05.000Z | from ._sample import download_sample_data
| 14.333333 | 41 | 0.860465 | 6 | 43 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 42 | 21.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3b7bfbec9d8e13180ac93a2187fa86cf6510292 | 35,075 | py | Python | ostap/utils/pdg_format.py | TatianaOvsiannikova/ostap | a005a78b4e2860ac8f4b618e94b4b563b2eddcf1 | [
"BSD-3-Clause"
] | 14 | 2017-03-24T12:38:08.000Z | 2022-02-21T05:00:57.000Z | ostap/utils/pdg_format.py | TatianaOvsiannikova/ostap | a005a78b4e2860ac8f4b618e94b4b563b2eddcf1 | [
"BSD-3-Clause"
] | 10 | 2019-03-08T18:48:42.000Z | 2022-03-22T11:59:48.000Z | ostap/utils/pdg_format.py | TatianaOvsiannikova/ostap | a005a78b4e2860ac8f4b618e94b4b563b2eddcf1 | [
"BSD-3-Clause"
] | 11 | 2017-03-23T15:29:58.000Z | 2022-02-21T05:03:57.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# =============================================================================
# @file
# Set of utilities for rounding according to PDG prescription
# @see http://pdg.lbl.gov/2010/reviews/rpp2010-rev-rpp-intro.pdf
# @see section 5.3 of doi:10.1088/0954-3899/33/1/001
# Quot... | 38.333333 | 141 | 0.508681 | 4,715 | 35,075 | 3.741039 | 0.067656 | 0.034016 | 0.020409 | 0.036283 | 0.806848 | 0.791598 | 0.7734 | 0.769658 | 0.75078 | 0.740461 | 0 | 0.075945 | 0.320884 | 35,075 | 914 | 142 | 38.375274 | 0.664568 | 0.519116 | 0 | 0.456338 | 0 | 0 | 0.085435 | 0.00138 | 0 | 0 | 0 | 0 | 0.011268 | 1 | 0.03662 | false | 0 | 0.019718 | 0 | 0.140845 | 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 |
e3bc30c5ea25fdafb92d69479017da854fab5fcc | 611 | py | Python | testr.py | Azizimj/GTSPbnd | 5baa0935ed42d83a3b87cce6b103beb0e31fda08 | [
"Apache-2.0"
] | null | null | null | testr.py | Azizimj/GTSPbnd | 5baa0935ed42d83a3b87cce6b103beb0e31fda08 | [
"Apache-2.0"
] | null | null | null | testr.py | Azizimj/GTSPbnd | 5baa0935ed42d83a3b87cce6b103beb0e31fda08 | [
"Apache-2.0"
] | null | null | null | def cal_c():
from scipy.stats import mvn
import numpy as np
low = np.array([0, 0])
upp = np.array([1, 1])
mu = np.array([.5, .5])
S = np.array([[1, 0],[0, 1]])
p, i = mvn.mvnun(low, upp, mu, S)
print(p, i)
low = np.array([0, 0])
upp = np.array([1, 1])
mu = np.array([.5, .5])... | 22.62963 | 37 | 0.454992 | 116 | 611 | 2.37931 | 0.206897 | 0.304348 | 0.144928 | 0.130435 | 0.706522 | 0.706522 | 0.706522 | 0.706522 | 0.706522 | 0.706522 | 0 | 0.071926 | 0.294599 | 611 | 27 | 38 | 22.62963 | 0.568445 | 0 | 0 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.086957 | 0 | 0.173913 | 0.130435 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e3caea1542ffd88b83c015de2eee8a1f334140d9 | 19 | py | Python | tempCodeRunnerFile.py | albertwdl/ML1DGAN | 6ce4933f0324cc978657e2bc4fe51d89f9e8ce76 | [
"MIT"
] | null | null | null | tempCodeRunnerFile.py | albertwdl/ML1DGAN | 6ce4933f0324cc978657e2bc4fe51d89f9e8ce76 | [
"MIT"
] | null | null | null | tempCodeRunnerFile.py | albertwdl/ML1DGAN | 6ce4933f0324cc978657e2bc4fe51d89f9e8ce76 | [
"MIT"
] | null | null | null | '--batchSize','100' | 19 | 19 | 0.631579 | 2 | 19 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 19 | 1 | 19 | 19 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54054fa61dbdf413ff7491cb8c88131f987f7981 | 64 | py | Python | multilingual_t5/baseline_gu/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/baseline_gu/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/baseline_gu/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | """baseline_gu dataset."""
from .baseline_gu import BaselineGu
| 16 | 35 | 0.765625 | 8 | 64 | 5.875 | 0.75 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 64 | 3 | 36 | 21.333333 | 0.824561 | 0.3125 | 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 |
541c7336841139594435890510491a358cad17ec | 109 | py | Python | routes/validate_upload.py | eHattori/Flask-Model-Architecture | a2a1c2140a30cdf543654d6941eb9ab5df2eddd6 | [
"MIT"
] | null | null | null | routes/validate_upload.py | eHattori/Flask-Model-Architecture | a2a1c2140a30cdf543654d6941eb9ab5df2eddd6 | [
"MIT"
] | null | null | null | routes/validate_upload.py | eHattori/Flask-Model-Architecture | a2a1c2140a30cdf543654d6941eb9ab5df2eddd6 | [
"MIT"
] | null | null | null | from . import routes
@routes.route('/validateUpload/hello')
def hello():
return 'Hello Validate Order'
| 15.571429 | 38 | 0.715596 | 13 | 109 | 6 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155963 | 109 | 6 | 39 | 18.166667 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.376147 | 0.192661 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
58194b62fe2d94561c5e375867074f92ef3053d5 | 41 | py | Python | ip3country/__init__.py | statsig-io/ip3country-py | fdaa3267fc54cb589f097dff3e6fab364686d229 | [
"0BSD"
] | null | null | null | ip3country/__init__.py | statsig-io/ip3country-py | fdaa3267fc54cb589f097dff3e6fab364686d229 | [
"0BSD"
] | null | null | null | ip3country/__init__.py | statsig-io/ip3country-py | fdaa3267fc54cb589f097dff3e6fab364686d229 | [
"0BSD"
] | null | null | null | from .country_lookup import CountryLookup | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 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 |
581c16fd2ffaa69dc48d435ae4253765da89c296 | 7,929 | py | Python | tests/cli/test_commands.py | meatballs/python_utils | 7e7ab9856c6dee95bdede03ab1784bda179e3b1c | [
"MIT"
] | null | null | null | tests/cli/test_commands.py | meatballs/python_utils | 7e7ab9856c6dee95bdede03ab1784bda179e3b1c | [
"MIT"
] | null | null | null | tests/cli/test_commands.py | meatballs/python_utils | 7e7ab9856c6dee95bdede03ab1784bda179e3b1c | [
"MIT"
] | 1 | 2016-02-05T13:43:03.000Z | 2016-02-05T13:43:03.000Z | import os
from click.testing import CliRunner
import matador.cli.commands as cmd
import globals as gbl
from pathlib import Path
def test_init(tmpdir):
project_folder = Path(str(tmpdir), gbl.project)
os.chdir(tmpdir)
runner = CliRunner()
result = runner.invoke(
cmd.matador, ['init', '-p', gbl.p... | 34.624454 | 78 | 0.649136 | 1,040 | 7,929 | 4.761538 | 0.0875 | 0.079968 | 0.045436 | 0.038166 | 0.830372 | 0.820477 | 0.787561 | 0.749192 | 0.731826 | 0.701939 | 0 | 0.00459 | 0.203178 | 7,929 | 228 | 79 | 34.776316 | 0.779202 | 0 | 0 | 0.697802 | 0 | 0 | 0.216042 | 0.013621 | 0 | 0 | 0 | 0 | 0.137363 | 1 | 0.043956 | false | 0 | 0.049451 | 0 | 0.093407 | 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 |
58a67002b35d55f710d0a91fd40c12f31b6e05ac | 140 | py | Python | accounts/admin.py | ankitmlive/prolab-api | 8e86e222269b63108cd33f08a90b2d921a1152f6 | [
"MIT"
] | null | null | null | accounts/admin.py | ankitmlive/prolab-api | 8e86e222269b63108cd33f08a90b2d921a1152f6 | [
"MIT"
] | 5 | 2021-03-30T12:47:27.000Z | 2021-09-22T18:38:27.000Z | accounts/admin.py | ankitmlive/prolab-api | 8e86e222269b63108cd33f08a90b2d921a1152f6 | [
"MIT"
] | 1 | 2020-03-16T14:42:31.000Z | 2020-03-16T14:42:31.000Z | from django.contrib import admin
#from django.contrib.auth.admin import UserAdmin
from .models import ProUser
admin.site.register(ProUser)
| 23.333333 | 48 | 0.828571 | 20 | 140 | 5.8 | 0.55 | 0.172414 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 140 | 5 | 49 | 28 | 0.920635 | 0.335714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
54982d848dc616af818bafe683b651a66447d349 | 94 | py | Python | algorithm/__init__.py | Opeyem1a/flight-path-optimizer | eb4285ed867f22163182789050131ec625889578 | [
"MIT"
] | null | null | null | algorithm/__init__.py | Opeyem1a/flight-path-optimizer | eb4285ed867f22163182789050131ec625889578 | [
"MIT"
] | null | null | null | algorithm/__init__.py | Opeyem1a/flight-path-optimizer | eb4285ed867f22163182789050131ec625889578 | [
"MIT"
] | null | null | null | from .flight_optimizer import FlightOptimizer
from .flight_noptimizer import FlightNoptimizer
| 31.333333 | 47 | 0.893617 | 10 | 94 | 8.2 | 0.7 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 94 | 2 | 48 | 47 | 0.953488 | 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 |
49b4553dcd0af9a77863ad54273a65597047da9b | 37 | py | Python | pi_gpio_api/__init__.py | jcapona/pi-gpio-api | 26934ffb9d11d4ad226ee39df294f7606836261f | [
"MIT"
] | null | null | null | pi_gpio_api/__init__.py | jcapona/pi-gpio-api | 26934ffb9d11d4ad226ee39df294f7606836261f | [
"MIT"
] | null | null | null | pi_gpio_api/__init__.py | jcapona/pi-gpio-api | 26934ffb9d11d4ad226ee39df294f7606836261f | [
"MIT"
] | null | null | null | from pi_gpio_api.core.app import app
| 18.5 | 36 | 0.837838 | 8 | 37 | 3.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.878788 | 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 |
49e2b409c13d9eab61e338b60a4af0a142de4b12 | 9,358 | py | Python | tests/test_context.py | goodplay/goodplay | dad71b2e2a27d2dc4ba8ce76ae2f927dda83daca | [
"Apache-2.0"
] | 16 | 2016-03-16T12:20:49.000Z | 2020-04-17T15:31:54.000Z | tests/test_context.py | goodplay/goodplay | dad71b2e2a27d2dc4ba8ce76ae2f927dda83daca | [
"Apache-2.0"
] | 290 | 2016-02-26T06:49:32.000Z | 2022-03-18T08:32:25.000Z | tests/test_context.py | goodplay/goodplay | dad71b2e2a27d2dc4ba8ce76ae2f927dda83daca | [
"Apache-2.0"
] | 9 | 2016-01-20T20:55:44.000Z | 2020-11-04T03:51:03.000Z | # -*- coding: utf-8 -*-
from goodplay.ansible_support import Inventory, Playbook
from goodplay.context import GoodplayContext
# inventory_path
def test_inventory_path_file_found_in_playbook_path_dir(tmpdir):
playbook_path = tmpdir.join('test_playbook.yml')
playbook_path.ensure()
inventory_path = tmpdir... | 25.708791 | 93 | 0.751229 | 1,249 | 9,358 | 5.247398 | 0.071257 | 0.166616 | 0.079036 | 0.105279 | 0.849252 | 0.803326 | 0.759536 | 0.749771 | 0.743668 | 0.743668 | 0 | 0.005165 | 0.151742 | 9,358 | 363 | 94 | 25.779614 | 0.820484 | 0.013785 | 0 | 0.639423 | 0 | 0 | 0.10218 | 0 | 0 | 0 | 0 | 0 | 0.177885 | 1 | 0.139423 | false | 0 | 0.009615 | 0 | 0.149038 | 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 |
49fb5f45ee328b02a4c7a2dd3cd1ac7601f5e594 | 36 | py | Python | smart_home_hub/device/devices/roku/__init__.py | rsmith49/smart_home_hub | 36c8d07feecfb0166f0125585e109b1b357c4519 | [
"Apache-2.0"
] | null | null | null | smart_home_hub/device/devices/roku/__init__.py | rsmith49/smart_home_hub | 36c8d07feecfb0166f0125585e109b1b357c4519 | [
"Apache-2.0"
] | null | null | null | smart_home_hub/device/devices/roku/__init__.py | rsmith49/smart_home_hub | 36c8d07feecfb0166f0125585e109b1b357c4519 | [
"Apache-2.0"
] | null | null | null | from .roku_device import RokuDevice
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 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 |
b7047238047c54eb5c35b5180b9b365e14791bc1 | 41 | py | Python | src/.py/rgb/test.py | TED-996/krait-rgb | 44b60400bda2624265d3ec72a1a12a31e1bf036c | [
"MIT"
] | null | null | null | src/.py/rgb/test.py | TED-996/krait-rgb | 44b60400bda2624265d3ec72a1a12a31e1bf036c | [
"MIT"
] | null | null | null | src/.py/rgb/test.py | TED-996/krait-rgb | 44b60400bda2624265d3ec72a1a12a31e1bf036c | [
"MIT"
] | null | null | null | import cycle
import sys
print(sys.argv) | 8.2 | 15 | 0.780488 | 7 | 41 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 5 | 15 | 8.2 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b73f6cc840cf79e1051922f68d09633f2afe6f79 | 25 | py | Python | manipulation_main/agents/__init__.py | ama29/6.843-Final-Project | cc0628f32cd695e0a76ffb0b7daa8c7350b6f0ed | [
"MIT"
] | 75 | 2020-10-24T06:32:55.000Z | 2022-03-26T07:44:49.000Z | manipulation_main/agents/__init__.py | ama29/6.843-Final-Project | cc0628f32cd695e0a76ffb0b7daa8c7350b6f0ed | [
"MIT"
] | 12 | 2021-03-21T06:19:00.000Z | 2022-03-31T13:39:34.000Z | manipulation_main/agents/__init__.py | ama29/6.843-Final-Project | cc0628f32cd695e0a76ffb0b7daa8c7350b6f0ed | [
"MIT"
] | 27 | 2020-12-30T12:49:46.000Z | 2022-03-17T16:10:02.000Z |
from .agent import Agent | 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 2 | 24 | 12.5 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b7619a9fca12d3248d6f23cab82e91353d3db008 | 14,535 | py | Python | examples/split/examples_split.py | sdeepaknarayanan/IoTPy | ba022c3d6696527b834a865b9cf403d90665145b | [
"BSD-3-Clause"
] | 3 | 2019-08-15T19:36:54.000Z | 2020-05-27T05:50:42.000Z | examples/split/examples_split.py | sdeepaknarayanan/IoTPy | ba022c3d6696527b834a865b9cf403d90665145b | [
"BSD-3-Clause"
] | 2 | 2020-05-29T19:34:39.000Z | 2020-06-12T19:42:05.000Z | examples/split/examples_split.py | sdeepaknarayanan/IoTPy | ba022c3d6696527b834a865b9cf403d90665145b | [
"BSD-3-Clause"
] | null | null | null | """
This module has examples of splitting a stream
into multiple streams.
"""
import sys
sys.path.append("../../IoTPy/helper_functions")
sys.path.append("../../IoTPy/core")
sys.path.append("../../IoTPy/agent_types")
# stream, helper_control are in IoTPy/IoTPy/core
from stream import Stream, run
from helper_control im... | 31.875 | 66 | 0.598074 | 1,979 | 14,535 | 4.335523 | 0.085902 | 0.029371 | 0.067133 | 0.029837 | 0.827389 | 0.793124 | 0.775641 | 0.768881 | 0.75338 | 0.734732 | 0 | 0.044772 | 0.253182 | 14,535 | 455 | 67 | 31.945055 | 0.745647 | 0.500172 | 0 | 0.623037 | 0 | 0 | 0.01064 | 0.007235 | 0 | 0 | 0 | 0 | 0.167539 | 1 | 0.089005 | false | 0 | 0.036649 | 0.041885 | 0.209424 | 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 |
b793b39c8a1eb4956fb8ddf421039cc4900574f3 | 41 | py | Python | src/visualization/__init__.py | daniellepaynter/snapshot_pilot | 6d678760f3d382dbdd640ff42ebb6dde38cfb77c | [
"MIT"
] | null | null | null | src/visualization/__init__.py | daniellepaynter/snapshot_pilot | 6d678760f3d382dbdd640ff42ebb6dde38cfb77c | [
"MIT"
] | null | null | null | src/visualization/__init__.py | daniellepaynter/snapshot_pilot | 6d678760f3d382dbdd640ff42ebb6dde38cfb77c | [
"MIT"
] | null | null | null | from .snapshotpilot_dataproc_mod import * | 41 | 41 | 0.878049 | 5 | 41 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b7c274fe091609362612060ecfa9975e4209b566 | 149 | py | Python | authors/apps/orders/admin.py | hoslack/jua-kali_Backend | e0e92aa0287c4a17b303fdde941f457b28c51223 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/orders/admin.py | hoslack/jua-kali_Backend | e0e92aa0287c4a17b303fdde941f457b28c51223 | [
"BSD-3-Clause"
] | 3 | 2020-06-05T19:27:45.000Z | 2021-06-10T20:59:41.000Z | authors/apps/orders/admin.py | hoslack/jua-kali_Backend | e0e92aa0287c4a17b303fdde941f457b28c51223 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import Order
class AuthorAdmin(admin.ModelAdmin):
pass
admin.site.register(Order, AuthorAdmin)
| 14.9 | 39 | 0.785235 | 19 | 149 | 6.157895 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14094 | 149 | 9 | 40 | 16.555556 | 0.914063 | 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 |
4d3377026e00d02f5d5ae8f9712f2aa5cf6626fd | 18 | py | Python | efp/__init__.py | cmptrgeekken/eve-fit-parser | 72f337a56b92f7dafbdff65ff1d53a5a33993fb7 | [
"MIT"
] | null | null | null | efp/__init__.py | cmptrgeekken/eve-fit-parser | 72f337a56b92f7dafbdff65ff1d53a5a33993fb7 | [
"MIT"
] | null | null | null | efp/__init__.py | cmptrgeekken/eve-fit-parser | 72f337a56b92f7dafbdff65ff1d53a5a33993fb7 | [
"MIT"
] | null | null | null | from .efp import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
4d38c08dd4dfcdabf1ae918263c6df6e7b228f1a | 25 | py | Python | async_translate/providers/deepl/__init__.py | Memotic/async-translate | 062166dbd0adfd19538b8b040dac5860bb821db1 | [
"MIT"
] | 4 | 2020-10-05T03:06:20.000Z | 2022-03-01T21:47:21.000Z | async_translate/providers/deepl/__init__.py | Memotic/async-translate | 062166dbd0adfd19538b8b040dac5860bb821db1 | [
"MIT"
] | 2 | 2020-10-05T03:09:40.000Z | 2022-03-12T20:12:49.000Z | async_translate/providers/deepl/__init__.py | Memotic/async-translate | 062166dbd0adfd19538b8b040dac5860bb821db1 | [
"MIT"
] | 2 | 2020-09-25T01:50:26.000Z | 2022-01-28T20:54:48.000Z | from .deepl import DeepL
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d39bc33cb91646cbd806896f2806fa47069bd5a | 473 | py | Python | tests/fixtures_transforms.py | kristianeschenburg/mantarray-waveform-analysis | a18ef19388cfdc271df208835ebf0d7ffc547ac3 | [
"MIT"
] | null | null | null | tests/fixtures_transforms.py | kristianeschenburg/mantarray-waveform-analysis | a18ef19388cfdc271df208835ebf0d7ffc547ac3 | [
"MIT"
] | 87 | 2020-08-17T19:38:20.000Z | 2022-02-18T02:03:54.000Z | tests/fixtures_transforms.py | kristianeschenburg/mantarray-waveform-analysis | a18ef19388cfdc271df208835ebf0d7ffc547ac3 | [
"MIT"
] | 1 | 2021-07-01T16:48:50.000Z | 2021-07-01T16:48:50.000Z | # -*- coding: utf-8 -*-
"""Fixtures for testing the transforms."""
from mantarray_waveform_analysis import BESSEL_LOWPASS_10_UUID
from mantarray_waveform_analysis import CENTIMILLISECONDS_PER_SECOND
from mantarray_waveform_analysis import create_filter
import pytest
@pytest.fixture(scope="session", name="bessel_lowp... | 36.384615 | 90 | 0.832981 | 63 | 473 | 5.825397 | 0.507937 | 0.141689 | 0.163488 | 0.237057 | 0.411444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044084 | 0.088795 | 473 | 12 | 91 | 39.416667 | 0.807425 | 0.124736 | 0 | 0 | 0 | 0 | 0.083333 | 0.066176 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0.571429 | 0.571429 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 6 |
4d98de4b60dd7926ef6aba77afe571d3851a873a | 323 | py | Python | Codewars/7kyu/find-all-pairs-1/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/7kyu/find-all-pairs-1/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/7kyu/find-all-pairs-1/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
test.assert_equals(duplicates([1, 2, 5, 6, 5, 2]) , 2)
test.assert_equals(duplicates([1, 2, 2, 20, 6, 20, 2, 6, 2]), 4)
test.assert_equals(duplicates([0, 0, 0, 0, 0, 0, 0]) , 3)
test.assert_equals(duplicates([1000, 1000]), 1)
test.assert_equals(duplicates([]), 0)
test.assert_equals(duplicates([54]), 0... | 32.3 | 64 | 0.653251 | 59 | 323 | 3.474576 | 0.254237 | 0.292683 | 0.468293 | 0.760976 | 0.697561 | 0.307317 | 0 | 0 | 0 | 0 | 0 | 0.151943 | 0.123839 | 323 | 9 | 65 | 35.888889 | 0.572438 | 0.043344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4db08bc270d7b8273bb5e06b65261bc03c05c89a | 15,874 | py | Python | YanyuAutoScript/gui.py | HYLnP/YanyuAutoScript | 6eed69bcf599a38e91bcf0809371b34cb9ce97e7 | [
"MIT"
] | 4 | 2021-11-24T12:22:04.000Z | 2022-03-09T07:54:34.000Z | YanyuAutoScript/gui.py | HYLnP/YanyuAutoScript | 6eed69bcf599a38e91bcf0809371b34cb9ce97e7 | [
"MIT"
] | null | null | null | YanyuAutoScript/gui.py | HYLnP/YanyuAutoScript | 6eed69bcf599a38e91bcf0809371b34cb9ce97e7 | [
"MIT"
] | 1 | 2022-03-09T07:54:36.000Z | 2022-03-09T07:54:36.000Z | # -*- coding:utf-8 -*-
# 用户:HYL
# 日期:2021年11月17日
import time
from tkinter import Tk, Button
import threading
import uiautomator2 as u2
print('欢迎使用烟雨江湖脚本,本脚本禁止商用。')
print("初始位置在泰山马车处,需要有马车票,使用前请先检查是否有马车票")
class MainWindow(Tk):
"""继承Tk,实例化窗口"""
def __init__(self):
super().__init__()... | 30.883268 | 95 | 0.500063 | 2,290 | 15,874 | 3.448035 | 0.132314 | 0.25076 | 0.37424 | 0.399189 | 0.805218 | 0.805218 | 0.754686 | 0.653875 | 0.653875 | 0.424265 | 0 | 0.17015 | 0.321721 | 15,874 | 514 | 96 | 30.883268 | 0.563202 | 0.010268 | 0 | 0.64 | 0 | 0 | 0.038167 | 0.022676 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018947 | false | 0 | 0.008421 | 0 | 0.029474 | 0.077895 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
150506f8fc87c78275ef2cd39145c68845db6d22 | 32,551 | py | Python | response_screen/tests.py | snowminc/Groupformer | 5712ab3b2c21ebea9d96adab6265acba4000fb9e | [
"MIT"
] | 1 | 2021-02-19T18:43:35.000Z | 2021-02-19T18:43:35.000Z | response_screen/tests.py | snowminc/Groupformer | 5712ab3b2c21ebea9d96adab6265acba4000fb9e | [
"MIT"
] | 72 | 2021-02-16T23:37:09.000Z | 2021-05-10T21:58:31.000Z | response_screen/tests.py | snowminc/Groupformer | 5712ab3b2c21ebea9d96adab6265acba4000fb9e | [
"MIT"
] | 2 | 2021-09-05T03:00:05.000Z | 2021-09-13T14:38:26.000Z | from django.test import TestCase
from django.urls import reverse
from django.contrib.auth.models import User
from django.contrib.staticfiles.testing import LiveServerTestCase
from time import sleep
from selenium.webdriver.firefox.webdriver import WebDriver
from dbtools.models import *
def create_sample_groupformer()... | 55.929553 | 181 | 0.662591 | 4,087 | 32,551 | 5.124786 | 0.086127 | 0.061876 | 0.067224 | 0.096634 | 0.850179 | 0.831463 | 0.810026 | 0.788207 | 0.76381 | 0.739651 | 0 | 0.012944 | 0.174035 | 32,551 | 582 | 182 | 55.929553 | 0.766086 | 0.222727 | 0 | 0.677019 | 0 | 0 | 0.241919 | 0.158277 | 0 | 0 | 0 | 0 | 0.26087 | 1 | 0.086957 | false | 0 | 0.034161 | 0 | 0.139752 | 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 |
15180a7a8ed3a1cf8e52d5d5a93cf23ea911e700 | 35 | py | Python | vnpy/api/bitfinex/__init__.py | black0144/vnpy | 0d0ea30dad14a0150f7500ff9a62528030321426 | [
"MIT"
] | 5 | 2019-01-17T12:14:14.000Z | 2021-05-30T10:24:42.000Z | vnpy/api/bitfinex/__init__.py | black0144/vnpy | 0d0ea30dad14a0150f7500ff9a62528030321426 | [
"MIT"
] | 1 | 2018-06-12T10:08:24.000Z | 2018-06-12T10:08:24.000Z | vnpy/api/bitfinex/__init__.py | black0144/vnpy | 0d0ea30dad14a0150f7500ff9a62528030321426 | [
"MIT"
] | 5 | 2019-03-26T03:17:45.000Z | 2019-11-05T08:08:18.000Z | from .vnbitfinex import BitfinexApi | 35 | 35 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 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 |
12ae7e1403bc5bc10c3543d6cd8c103cf792ff33 | 99 | py | Python | src/ml_commons/layers/__init__.py | pekalam/ml_commons | 739293e5eb5b9bce453f0a9ab77a61acba554807 | [
"MIT"
] | null | null | null | src/ml_commons/layers/__init__.py | pekalam/ml_commons | 739293e5eb5b9bce453f0a9ab77a61acba554807 | [
"MIT"
] | null | null | null | src/ml_commons/layers/__init__.py | pekalam/ml_commons | 739293e5eb5b9bce453f0a9ab77a61acba554807 | [
"MIT"
] | null | null | null | from .channelwise_dense.channelwise_dense import ChannelwiseDense
from .unpool.unpool import Unpool | 49.5 | 65 | 0.888889 | 12 | 99 | 7.166667 | 0.5 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 99 | 2 | 66 | 49.5 | 0.934783 | 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 |
12d050fdcf26385c40c09f073a54f28e2e873fbd | 30 | py | Python | mlcl/datasets/__init__.py | tmplxz/carelabels | 7e9b93ffa05d6f3e6a598ffb79cef3df7aecac68 | [
"MIT"
] | null | null | null | mlcl/datasets/__init__.py | tmplxz/carelabels | 7e9b93ffa05d6f3e6a598ffb79cef3df7aecac68 | [
"MIT"
] | null | null | null | mlcl/datasets/__init__.py | tmplxz/carelabels | 7e9b93ffa05d6f3e6a598ffb79cef3df7aecac68 | [
"MIT"
] | null | null | null | from .base import DatasetBase
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
425014a7a1162c50ca5e409a209ba5e77460c18b | 3,118 | py | Python | Lib/site-packages/PySide/examples/widgets/tooltips/tooltips_rc.py | heylenz/python27 | bee49fa9d65b8ab7d591146a5b6cd47aeb41d940 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | Lib/site-packages/PySide/examples/widgets/tooltips/tooltips_rc.py | heylenz/python27 | bee49fa9d65b8ab7d591146a5b6cd47aeb41d940 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | Lib/site-packages/PySide/examples/widgets/tooltips/tooltips_rc.py | heylenz/python27 | bee49fa9d65b8ab7d591146a5b6cd47aeb41d940 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: to syyskuuta 2 17:22:34 2010
# by: The Resource Compiler for PyQt (Qt v4.7.0)
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore
qt_resource_data = "\
\x00\x00\x00\xaa\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\... | 37.566265 | 96 | 0.722258 | 687 | 3,118 | 3.25182 | 0.323144 | 0.241719 | 0.213518 | 0.091316 | 0.384064 | 0.378693 | 0.376007 | 0.346464 | 0.335721 | 0.27932 | 0 | 0.338824 | 0.045863 | 3,118 | 82 | 97 | 38.02439 | 0.412101 | 0.059333 | 0 | 0.149254 | 0 | 0.522388 | 0 | 0 | 0 | 1 | 0.002735 | 0 | 0 | 1 | 0.029851 | false | 0 | 0.014925 | 0 | 0.044776 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
426b88abfd9da8a3a2b8e49df396408319b2fba2 | 49 | py | Python | models/__init__.py | pratyaksh10/TPSNet | b0287e2db28d3e398aa344c86e5a4913f2ecb874 | [
"MIT"
] | 2 | 2022-03-25T03:30:54.000Z | 2022-03-25T03:31:04.000Z | models/__init__.py | pratyaksh10/TPSNet | b0287e2db28d3e398aa344c86e5a4913f2ecb874 | [
"MIT"
] | null | null | null | models/__init__.py | pratyaksh10/TPSNet | b0287e2db28d3e398aa344c86e5a4913f2ecb874 | [
"MIT"
] | 6 | 2022-03-25T03:31:29.000Z | 2022-03-25T22:29:59.000Z | from .basic_block import *
from .resnet import * | 24.5 | 27 | 0.755102 | 7 | 49 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 28 | 24.5 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35e92c7b98db380e4b808f48ec7b5741b418b31a | 11,357 | py | Python | tests/driver_partitioner_test.py | elias-1/NiftyNet | 05cd2ffbff5043d9a40b524a6d72f6bd5cd072d2 | [
"Apache-2.0"
] | 2 | 2019-03-25T18:50:47.000Z | 2019-10-10T01:45:02.000Z | tests/driver_partitioner_test.py | elias-1/NiftyNet | 05cd2ffbff5043d9a40b524a6d72f6bd5cd072d2 | [
"Apache-2.0"
] | null | null | null | tests/driver_partitioner_test.py | elias-1/NiftyNet | 05cd2ffbff5043d9a40b524a6d72f6bd5cd072d2 | [
"Apache-2.0"
] | 2 | 2018-05-13T14:54:48.000Z | 2018-05-26T16:08:09.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function
import os
import tensorflow as tf
from niftynet.engine.application_driver import ApplicationDriver
from niftynet.utilities.util_common import ParserNamespace
TARGET_FILE = os.path.join('testing_data', 'test_splitting.csv')
def _generat... | 36.400641 | 65 | 0.6168 | 1,142 | 11,357 | 5.728546 | 0.114711 | 0.053653 | 0.055029 | 0.043565 | 0.837053 | 0.814736 | 0.79196 | 0.783094 | 0.769948 | 0.769948 | 0 | 0.010526 | 0.29735 | 11,357 | 311 | 66 | 36.517685 | 0.809273 | 0.007749 | 0 | 0.669145 | 0 | 0 | 0.139459 | 0.05992 | 0 | 0 | 0 | 0 | 0.133829 | 1 | 0.055762 | false | 0 | 0.018587 | 0 | 0.104089 | 0.003717 | 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 |
c4034ee4ced44113f76cd926f78e968fcaf695be | 135 | py | Python | bioscrape/__init__.py | zoltuz/bioscrape | bf0f1d4b6f68f265fc208733b75ec16c36a28688 | [
"MIT"
] | 16 | 2017-11-16T02:22:25.000Z | 2020-06-15T20:36:44.000Z | bioscrape/__init__.py | zoltuz/bioscrape | bf0f1d4b6f68f265fc208733b75ec16c36a28688 | [
"MIT"
] | 90 | 2020-04-16T23:39:29.000Z | 2021-09-18T18:37:06.000Z | bioscrape/__init__.py | zoltuz/bioscrape | bf0f1d4b6f68f265fc208733b75ec16c36a28688 | [
"MIT"
] | 15 | 2018-04-18T03:09:07.000Z | 2020-06-26T18:02:23.000Z | import bioscrape.random
import bioscrape.types
import bioscrape.simulator
import bioscrape.inference
bioscrape.random.py_seed_random() | 22.5 | 33 | 0.874074 | 17 | 135 | 6.823529 | 0.470588 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 135 | 6 | 33 | 22.5 | 0.920635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c40c37623240d157b1b69b626ae2928afccb8c41 | 2,455 | py | Python | lunespy/server/blocks/__init__.py | lunes-platform/LunesPy | ae50786debb84114582b5fc67ac28ac2ea66b8c5 | [
"Apache-2.0"
] | 4 | 2022-01-06T20:59:36.000Z | 2022-01-07T11:27:19.000Z | lunespy/server/blocks/__init__.py | lunes-platform/LunesPy | ae50786debb84114582b5fc67ac28ac2ea66b8c5 | [
"Apache-2.0"
] | null | null | null | lunespy/server/blocks/__init__.py | lunes-platform/LunesPy | ae50786debb84114582b5fc67ac28ac2ea66b8c5 | [
"Apache-2.0"
] | 1 | 2022-02-11T13:37:03.000Z | 2022-02-11T13:37:03.000Z | from requests import get
from lunespy.server.nodes import Node
def block_from_height(height: int, node_url: str = None) -> dict:
if node_url == None:
full_url = f'{Node.mainnet.value}/blocks/at/{height}'
else:
full_url = f'{node_url}/blocks/at/{height}' # You have pass your node url with https... | 29.578313 | 142 | 0.573931 | 306 | 2,455 | 4.447712 | 0.173203 | 0.082292 | 0.047024 | 0.070536 | 0.880235 | 0.880235 | 0.875827 | 0.818516 | 0.818516 | 0.818516 | 0 | 0.014027 | 0.303055 | 2,455 | 82 | 143 | 29.939024 | 0.781414 | 0.092464 | 0 | 0.666667 | 0 | 0 | 0.224022 | 0.161044 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.030303 | 0 | 0.212121 | 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 |
c40ee1fbf7ec3815b1828bf85041c1f54432be06 | 29 | py | Python | ubadkhabad.py | Divyanshi0409/Python-Programs | 7fb8ab2159cc69de7168bf19f91325b9c7a908c7 | [
"MIT"
] | null | null | null | ubadkhabad.py | Divyanshi0409/Python-Programs | 7fb8ab2159cc69de7168bf19f91325b9c7a908c7 | [
"MIT"
] | null | null | null | ubadkhabad.py | Divyanshi0409/Python-Programs | 7fb8ab2159cc69de7168bf19f91325b9c7a908c7 | [
"MIT"
] | null | null | null | print("Junaid is pagal,dumb") | 29 | 29 | 0.758621 | 5 | 29 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 29 | 1 | 29 | 29 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c42cf9a5dfa294fed23f30280732cb2ea7045b95 | 22 | py | Python | apscrypt/__init__.py | Sellig6792/APSCrypt | cfff9c17100237d9197ba2c372a01946d9c419a8 | [
"MIT"
] | 1 | 2021-09-19T15:02:40.000Z | 2021-09-19T15:02:40.000Z | apscrypt/__init__.py | Sellig6792/APSCrypt | cfff9c17100237d9197ba2c372a01946d9c419a8 | [
"MIT"
] | null | null | null | apscrypt/__init__.py | Sellig6792/APSCrypt | cfff9c17100237d9197ba2c372a01946d9c419a8 | [
"MIT"
] | null | null | null | from .crypt import *
| 11 | 21 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 1 | 22 | 22 | 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 |
c440fa689671b85484c4d3e4f405145767aac69a | 101 | py | Python | src/layers/__init__.py | jwspaeth/MIT-9.520-Project | 5076e01f230196b99c7bede0632b72152783d17d | [
"MIT"
] | null | null | null | src/layers/__init__.py | jwspaeth/MIT-9.520-Project | 5076e01f230196b99c7bede0632b72152783d17d | [
"MIT"
] | null | null | null | src/layers/__init__.py | jwspaeth/MIT-9.520-Project | 5076e01f230196b99c7bede0632b72152783d17d | [
"MIT"
] | null | null | null | from .LocallyConnected1d import LocallyConnected1d
from .LocallyConnected2d import LocallyConnected2d | 50.5 | 50 | 0.910891 | 8 | 101 | 11.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.069307 | 101 | 2 | 51 | 50.5 | 0.93617 | 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 |
c46389ae0c06c26546bc9f1309075f02e670e59f | 93 | py | Python | utils/euclidean_distance.py | devbas/aml-quora | da343ff3499566da082e12329e6228a1d9b34a7a | [
"MIT"
] | null | null | null | utils/euclidean_distance.py | devbas/aml-quora | da343ff3499566da082e12329e6228a1d9b34a7a | [
"MIT"
] | null | null | null | utils/euclidean_distance.py | devbas/aml-quora | da343ff3499566da082e12329e6228a1d9b34a7a | [
"MIT"
] | null | null | null | import numpy as np
def euclidean_distance(x, y):
return np.sqrt(np.sum(np.square(x - y))) | 31 | 44 | 0.698925 | 18 | 93 | 3.555556 | 0.722222 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 93 | 3 | 44 | 31 | 0.810127 | 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 |
6712b3a9504da80b58aaa1b4eb4c913ec5a7e8f8 | 155 | py | Python | tests/exceptions.py | mazi76erX2/mention-python | 5133f463faa4ef053365fbf15db0a75dbb00a4e5 | [
"MIT"
] | 4 | 2019-04-20T16:32:46.000Z | 2021-10-30T14:14:25.000Z | tests/exceptions.py | mazi76erX2/mention-python | 5133f463faa4ef053365fbf15db0a75dbb00a4e5 | [
"MIT"
] | null | null | null | tests/exceptions.py | mazi76erX2/mention-python | 5133f463faa4ef053365fbf15db0a75dbb00a4e5 | [
"MIT"
] | 3 | 2017-10-11T16:04:23.000Z | 2020-10-26T15:04:09.000Z | class InvalidResponseException(Exception):
pass
class InvalidEndpointException(Exception):
pass
class InvalidURLException(Exception):
pass
| 14.090909 | 42 | 0.780645 | 12 | 155 | 10.083333 | 0.5 | 0.322314 | 0.297521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 155 | 10 | 43 | 15.5 | 0.930769 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
671f5d748222c4163133fd48cbd6e0bdfebd6aac | 18 | py | Python | build/lib/ESINet/viz/__init__.py | The-Platypus/ESINet | b9b4e8ed8c6a0fa6d082e303014859a054233fd4 | [
"MIT"
] | null | null | null | build/lib/ESINet/viz/__init__.py | The-Platypus/ESINet | b9b4e8ed8c6a0fa6d082e303014859a054233fd4 | [
"MIT"
] | null | null | null | build/lib/ESINet/viz/__init__.py | The-Platypus/ESINet | b9b4e8ed8c6a0fa6d082e303014859a054233fd4 | [
"MIT"
] | null | null | null | from .viz import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
676149be7d9706286573982d874a52cedb96bc88 | 186 | py | Python | erpnext_chinese/monkey_patches/utils.py | eanfs/erpnext_chinese | 68c22267b37553092955f2c3c14d35cfdbb79873 | [
"MIT"
] | null | null | null | erpnext_chinese/monkey_patches/utils.py | eanfs/erpnext_chinese | 68c22267b37553092955f2c3c14d35cfdbb79873 | [
"MIT"
] | null | null | null | erpnext_chinese/monkey_patches/utils.py | eanfs/erpnext_chinese | 68c22267b37553092955f2c3c14d35cfdbb79873 | [
"MIT"
] | 1 | 2022-01-27T01:20:08.000Z | 2022-01-27T01:20:08.000Z | from frappe import utils
#因网络问题导致获取用户图像超时,故取消此功能,详见https://gitee.com/yuzelin/erpnext-chinese-docs/issues/I3PXHV
def has_gravatar(email):
return ''
utils.has_gravatar = has_gravatar | 26.571429 | 86 | 0.801075 | 25 | 186 | 5.84 | 0.8 | 0.226027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.091398 | 186 | 7 | 87 | 26.571429 | 0.857988 | 0.456989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
677ac9b89a92c1538d1180a192c654cb0311d5c7 | 4,171 | py | Python | tests/test_word_stripper.py | donkirkby/sliced_art | f462ba1fdb0959c7db4de1e3e9dadc368b1df206 | [
"MIT"
] | null | null | null | tests/test_word_stripper.py | donkirkby/sliced_art | f462ba1fdb0959c7db4de1e3e9dadc368b1df206 | [
"MIT"
] | 5 | 2020-02-08T17:23:40.000Z | 2021-03-27T19:27:05.000Z | tests/test_word_stripper.py | donkirkby/sliced_art | f462ba1fdb0959c7db4de1e3e9dadc368b1df206 | [
"MIT"
] | null | null | null | from sliced_art.word_stripper import WordStripper
def test_display():
all_words = 'lots of words rail the liar sail lairs of lira rails'.split()
word_stripper = WordStripper(all_words)
target_letter = 'r'
word_stripper[target_letter] = 'rails'
expected_display = 'sail+R -- rail+S, liar+S, lira+S'... | 25.432927 | 78 | 0.704867 | 570 | 4,171 | 4.877193 | 0.110526 | 0.172662 | 0.103597 | 0.116547 | 0.869784 | 0.869784 | 0.869784 | 0.83705 | 0.83705 | 0.83705 | 0 | 0.001485 | 0.19276 | 4,171 | 163 | 79 | 25.588957 | 0.824176 | 0 | 0 | 0.631068 | 0 | 0 | 0.161592 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 1 | 0.116505 | false | 0 | 0.009709 | 0 | 0.126214 | 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 |
6792321f3db3df0e42c3a9532e449553fad4645b | 224 | py | Python | pynano/checkers/__init__.py | isidentical/pynano | 29ece35782cacfb3cfcf35bf9b50e6a11cf44d34 | [
"MIT"
] | 2 | 2019-09-15T16:26:32.000Z | 2019-09-15T17:20:40.000Z | pynano/checkers/__init__.py | pynano/pynano | 29ece35782cacfb3cfcf35bf9b50e6a11cf44d34 | [
"MIT"
] | null | null | null | pynano/checkers/__init__.py | pynano/pynano | 29ece35782cacfb3cfcf35bf9b50e6a11cf44d34 | [
"MIT"
] | null | null | null | from pynano.checkers.checker import CHECKERS, NanoSyntaxError, SyntaxChecker
from pynano.checkers.strict import NotAllowedError, StrictSubsetChecker
from pynano.checkers.type import VALID_TYPES, NanoTypeError, TypeValidator
| 56 | 76 | 0.875 | 24 | 224 | 8.125 | 0.625 | 0.153846 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075893 | 224 | 3 | 77 | 74.666667 | 0.942029 | 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 |
67990ed56be8b4ce99c99e387d4017e6522eda95 | 33 | py | Python | tests/operators/conftest.py | angelneo/http | 850ad937bcaa917743ce9b476ca7d0ff337c243f | [
"MIT"
] | 10 | 2017-03-27T08:34:22.000Z | 2019-11-20T01:02:12.000Z | tests/operators/conftest.py | angelneo/http | 850ad937bcaa917743ce9b476ca7d0ff337c243f | [
"MIT"
] | 7 | 2017-03-20T01:38:57.000Z | 2019-02-12T14:33:26.000Z | tests/operators/conftest.py | grappa-python/http | 0de893e02b98282270d6daa8c48d65d0269b371f | [
"MIT"
] | 5 | 2017-04-09T15:41:54.000Z | 2020-12-18T10:17:33.000Z | from ..conftest import * # noqa
| 16.5 | 32 | 0.666667 | 4 | 33 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 1 | 33 | 33 | 0.846154 | 0.121212 | 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 |
67ce0d92034f71c96a8e965173c68e6445d1be29 | 31 | py | Python | techrachit.py | eastmest/Termux-Megapackage | 08f610d25539cfdc5992893996aa4c89630c9a07 | [
"MIT"
] | null | null | null | techrachit.py | eastmest/Termux-Megapackage | 08f610d25539cfdc5992893996aa4c89630c9a07 | [
"MIT"
] | null | null | null | techrachit.py | eastmest/Termux-Megapackage | 08f610d25539cfdc5992893996aa4c89630c9a07 | [
"MIT"
] | null | null | null | print ("tech rachit are here")
| 15.5 | 30 | 0.709677 | 5 | 31 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
67da37e0ce30cd0f169b342f278180f371afb21a | 19,440 | py | Python | oppy/tests/unit/circuit/test_circuitmanager.py | nskinkel/oppy | 68c84146da5d7d994fd55ead5df747c93c95a2f5 | [
"BSD-3-Clause"
] | 25 | 2015-01-08T04:37:40.000Z | 2021-07-21T15:06:35.000Z | oppy/tests/unit/circuit/test_circuitmanager.py | nskinkel/oppy | 68c84146da5d7d994fd55ead5df747c93c95a2f5 | [
"BSD-3-Clause"
] | 72 | 2015-01-08T04:38:13.000Z | 2017-06-18T14:35:50.000Z | oppy/tests/unit/circuit/test_circuitmanager.py | nskinkel/oppy | 68c84146da5d7d994fd55ead5df747c93c95a2f5 | [
"BSD-3-Clause"
] | 4 | 2015-01-20T22:17:45.000Z | 2018-05-23T09:15:04.000Z | import mock
from twisted.trial import unittest
from oppy.circuit.circuitmanager import CircuitManager
from oppy.circuit.definitions import (
CircuitType,
DEFAULT_OPEN_IPv4,
DEFAULT_OPEN_IPv6,
)
from oppy.path.path import Path
ID = 0
class CircuitManagerTest(unittest.TestCase):
@mock.patch('oppy.c... | 39.673469 | 78 | 0.681276 | 2,214 | 19,440 | 5.650858 | 0.056911 | 0.085365 | 0.047958 | 0.055951 | 0.839022 | 0.79506 | 0.787067 | 0.764367 | 0.742786 | 0.724882 | 0 | 0.015654 | 0.227778 | 19,440 | 489 | 79 | 39.754601 | 0.817746 | 0.011317 | 0 | 0.696237 | 0 | 0 | 0.024304 | 0.024304 | 0 | 0 | 0 | 0.002045 | 0.193548 | 1 | 0.096774 | false | 0 | 0.013441 | 0 | 0.112903 | 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 |
67e56606e3bf5354fda434ade40a481c6d3d5cd3 | 107 | py | Python | idealreport/__init__.py | idealprediction/idealreport | 62f6dfdd56b711e81b64f2d25995108dad3f0844 | [
"MIT"
] | 3 | 2016-07-08T18:07:57.000Z | 2018-08-15T01:10:17.000Z | idealreport/__init__.py | idealprediction/idealreport | 62f6dfdd56b711e81b64f2d25995108dad3f0844 | [
"MIT"
] | null | null | null | idealreport/__init__.py | idealprediction/idealreport | 62f6dfdd56b711e81b64f2d25995108dad3f0844 | [
"MIT"
] | 1 | 2018-02-12T03:49:39.000Z | 2018-02-12T03:49:39.000Z | from idealreport import create_html
from idealreport.reporter import Reporter
from idealreport import plot
| 26.75 | 41 | 0.878505 | 14 | 107 | 6.642857 | 0.5 | 0.483871 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 3 | 42 | 35.666667 | 0.978947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
db00331ae2ca4c25ba29194474c8d8109c45edd4 | 13 | py | Python | lab1/lex/t.py | CXWorks/compilerLab | 97654acec4ab742b6ec9e1c555e1eab607d3d9a9 | [
"MIT"
] | 3 | 2018-05-04T07:41:21.000Z | 2018-11-16T14:09:29.000Z | lab1/lex/t.py | CXWorks/compilerLab | 97654acec4ab742b6ec9e1c555e1eab607d3d9a9 | [
"MIT"
] | null | null | null | lab1/lex/t.py | CXWorks/compilerLab | 97654acec4ab742b6ec9e1c555e1eab607d3d9a9 | [
"MIT"
] | 3 | 2017-10-24T11:26:12.000Z | 2019-06-05T06:10:33.000Z | a=0110
b=233
| 4.333333 | 6 | 0.692308 | 4 | 13 | 2.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.636364 | 0.153846 | 13 | 2 | 7 | 6.5 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db13b36f2eb399f56f8436032f17295688f0bd52 | 163 | py | Python | ed/l/python/examples/whatever/regex.py | cn007b/stash | bae604d3056f09b9b6c6b3e0282f02c829801f5c | [
"MIT"
] | null | null | null | ed/l/python/examples/whatever/regex.py | cn007b/stash | bae604d3056f09b9b6c6b3e0282f02c829801f5c | [
"MIT"
] | null | null | null | ed/l/python/examples/whatever/regex.py | cn007b/stash | bae604d3056f09b9b6c6b3e0282f02c829801f5c | [
"MIT"
] | 1 | 2021-11-26T05:40:08.000Z | 2021-11-26T05:40:08.000Z | import re
def anum(s: str) -> bool:
return re.search(r'^[\d\w]+$', s)
print(anum('1'))
print(anum('x'))
print(anum('x_'))
print(anum('x-'))
print(anum('='))
| 12.538462 | 35 | 0.558282 | 28 | 163 | 3.214286 | 0.535714 | 0.5 | 0.333333 | 0.5 | 0.433333 | 0.433333 | 0.433333 | 0.433333 | 0 | 0 | 0 | 0.007042 | 0.128834 | 163 | 12 | 36 | 13.583333 | 0.626761 | 0 | 0 | 0 | 0 | 0 | 0.09816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 0.375 | 0.625 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
db1dd163c3f236a8b5eedd427d2ddb20812c2f62 | 45 | py | Python | c2nl/utils/__init__.py | chengjunyan1/GN-Transformer-AST | 95b92da9addd694fceeded875bcc56369548322d | [
"Apache-2.0"
] | 8 | 2021-01-20T09:30:41.000Z | 2022-03-01T21:36:25.000Z | c2nl/utils/__init__.py | chengjunyan1/GN-Transformer-AST | 95b92da9addd694fceeded875bcc56369548322d | [
"Apache-2.0"
] | 1 | 2022-01-21T06:30:34.000Z | 2022-03-01T21:35:01.000Z | c2nl/utils/__init__.py | chengjunyan1/GN-Transformer-AST | 95b92da9addd694fceeded875bcc56369548322d | [
"Apache-2.0"
] | 1 | 2022-02-21T22:58:28.000Z | 2022-02-21T22:58:28.000Z | from .logging import *
from .misc import *
| 15 | 23 | 0.688889 | 6 | 45 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 45 | 2 | 24 | 22.5 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1fdbbadf49c80cec4ae80a81d5061fa8a08da0a | 56 | py | Python | sequencing_tools/stats_tools/__init__.py | wckdouglas/tgirt_seq_tools | 0ab6683ca6b5b748b7d7af7f77dc556f16ccf6f6 | [
"MIT"
] | 7 | 2019-03-12T07:37:53.000Z | 2021-06-23T20:29:35.000Z | sequencing_tools/stats_tools/__init__.py | wckdouglas/sequencing_tools | 0ab6683ca6b5b748b7d7af7f77dc556f16ccf6f6 | [
"MIT"
] | null | null | null | sequencing_tools/stats_tools/__init__.py | wckdouglas/sequencing_tools | 0ab6683ca6b5b748b7d7af7f77dc556f16ccf6f6 | [
"MIT"
] | null | null | null | from sequencing_tools.stats_tools._stats_tools import *
| 28 | 55 | 0.875 | 8 | 56 | 5.625 | 0.625 | 0.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c028d44e4f8c8a0717887c2ee2ddda8272f9cd32 | 462 | py | Python | neurodsp/utils/sim.py | bcmartinb/neurodsp | 36d8506f3bd916f83b093a62843ffb77647a6e1e | [
"Apache-2.0"
] | 154 | 2019-01-30T04:10:48.000Z | 2022-03-30T12:55:00.000Z | neurodsp/utils/sim.py | bcmartinb/neurodsp | 36d8506f3bd916f83b093a62843ffb77647a6e1e | [
"Apache-2.0"
] | 159 | 2019-01-28T22:49:36.000Z | 2022-03-17T16:42:48.000Z | neurodsp/utils/sim.py | bcmartinb/neurodsp | 36d8506f3bd916f83b093a62843ffb77647a6e1e | [
"Apache-2.0"
] | 42 | 2019-05-31T21:06:44.000Z | 2022-03-25T23:17:57.000Z | """Simulation related utility functions."""
import numpy as np
###################################################################################################
###################################################################################################
def set_random_seed(seed_val=0):
"""Set the random... | 25.666667 | 99 | 0.350649 | 36 | 462 | 4.361111 | 0.527778 | 0.254777 | 0.178344 | 0.216561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002538 | 0.147186 | 462 | 17 | 100 | 27.176471 | 0.395939 | 0.300866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c069301a216c7f3850ab3dba98edf8ee4f13f1ea | 36 | py | Python | src/coolbeans/extort/__init__.py | runarp/coolbeans | 128a7f2e45690d2d22b05608e555c44334f46859 | [
"MIT"
] | 5 | 2020-05-17T04:48:25.000Z | 2022-01-27T09:36:45.000Z | src/coolbeans/extort/__init__.py | runarp/coolbeans | 128a7f2e45690d2d22b05608e555c44334f46859 | [
"MIT"
] | 1 | 2020-05-17T06:21:52.000Z | 2020-05-22T13:49:33.000Z | src/coolbeans/extort/__init__.py | runarp/coolbeans | 128a7f2e45690d2d22b05608e555c44334f46859 | [
"MIT"
] | 1 | 2021-01-28T03:00:27.000Z | 2021-01-28T03:00:27.000Z | from .base import ExtortionProtocol
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
fbfa8e5142b3c8fc60f483337d70281339c2b543 | 22,529 | py | Python | ipy_course_tools/formula.py | edualphacruncher/ipy-course-tools | 3ff9145609dc98c8b0e7823688a136a843f2312a | [
"MIT"
] | null | null | null | ipy_course_tools/formula.py | edualphacruncher/ipy-course-tools | 3ff9145609dc98c8b0e7823688a136a843f2312a | [
"MIT"
] | null | null | null | ipy_course_tools/formula.py | edualphacruncher/ipy-course-tools | 3ff9145609dc98c8b0e7823688a136a843f2312a | [
"MIT"
] | null | null | null | from sympy.interactive import printing
from sympy import Matrix, MatrixSymbol, Symbol, poly
from sympy.abc import x
from IPython.display import Math
import itertools
def show_formula(symbol, value, formula_op="=", formula_align=False, display=False):
"""Pretty print a sympy formula. This embeds the formula expres... | 37.863866 | 298 | 0.651516 | 2,957 | 22,529 | 4.839702 | 0.082854 | 0.039131 | 0.029348 | 0.024946 | 0.805674 | 0.789533 | 0.765355 | 0.747816 | 0.721822 | 0.716652 | 0 | 0.000781 | 0.260953 | 22,529 | 594 | 299 | 37.927609 | 0.858739 | 0.483111 | 0 | 0.665823 | 0 | 0.002532 | 0.106295 | 0.035909 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037975 | false | 0 | 0.01519 | 0.007595 | 0.118987 | 0.025316 | 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 |
222ee95b0b8e68ddeffa2178a31108f0c0feb1cf | 37 | py | Python | tardis/montecarlo/__init__.py | GOLoDovkA-A/tardis | 847b562022ccda2db2486549f739188ba48f172c | [
"BSD-3-Clause"
] | 176 | 2015-02-26T07:26:59.000Z | 2022-03-16T18:26:22.000Z | tardis/montecarlo/__init__.py | GOLoDovkA-A/tardis | 847b562022ccda2db2486549f739188ba48f172c | [
"BSD-3-Clause"
] | 1,474 | 2015-02-12T13:02:16.000Z | 2022-03-31T09:05:54.000Z | tardis/montecarlo/__init__.py | GOLoDovkA-A/tardis | 847b562022ccda2db2486549f739188ba48f172c | [
"BSD-3-Clause"
] | 434 | 2015-02-07T17:15:41.000Z | 2022-03-23T04:49:38.000Z | from tardis.montecarlo.base import *
| 18.5 | 36 | 0.810811 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97d36fbcc0b35b21018d40f861c83b8c43d997be | 195 | py | Python | moto/iot/__init__.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 3 | 2020-08-04T20:29:41.000Z | 2020-11-09T09:28:19.000Z | moto/iot/__init__.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 17 | 2020-08-28T12:53:56.000Z | 2020-11-10T01:04:46.000Z | moto/iot/__init__.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 2 | 2017-03-02T05:59:52.000Z | 2020-09-03T13:25:44.000Z | from __future__ import unicode_literals
from .models import iot_backends
from ..core.models import base_decorator
iot_backend = iot_backends["us-east-1"]
mock_iot = base_decorator(iot_backends)
| 27.857143 | 40 | 0.830769 | 29 | 195 | 5.172414 | 0.551724 | 0.22 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0.097436 | 195 | 6 | 41 | 32.5 | 0.846591 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97d6c6f437970b1f3293a80c8433ab5f6517ca53 | 17,689 | py | Python | tests/test_functional/test_network.py | ardangelo/craycli | a943ff2d069aadd319ad4ea3ed344c791797fd53 | [
"MIT"
] | 1 | 2022-03-01T20:40:15.000Z | 2022-03-01T20:40:15.000Z | tests/test_functional/test_network.py | ardangelo/craycli | a943ff2d069aadd319ad4ea3ed344c791797fd53 | [
"MIT"
] | 2 | 2022-02-25T20:48:55.000Z | 2022-03-16T11:07:33.000Z | tests/test_functional/test_network.py | ardangelo/craycli | a943ff2d069aadd319ad4ea3ed344c791797fd53 | [
"MIT"
] | 2 | 2022-03-08T17:49:40.000Z | 2022-03-15T22:22:41.000Z | """ Test the main CLI command (`cray`) and options.
MIT License
(C) Copyright [2020] Hewlett Packard Enterprise Development LP
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction... | 32.757407 | 100 | 0.577647 | 1,938 | 17,689 | 5.214654 | 0.119195 | 0.028498 | 0.029685 | 0.044528 | 0.837621 | 0.822878 | 0.81318 | 0.798338 | 0.78211 | 0.752721 | 0 | 0.011267 | 0.277461 | 17,689 | 539 | 101 | 32.818182 | 0.779438 | 0.282266 | 0 | 0.672823 | 0 | 0 | 0.21737 | 0.027292 | 0 | 0 | 0 | 0 | 0.221636 | 1 | 0.015831 | false | 0 | 0.013193 | 0 | 0.029024 | 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 |
3f0f9227c71ad943bea5370e03dc553953dc0758 | 89 | py | Python | examples/aditi/sarkar/admin.py | navycut/navycut | 1d49621105c7c4683d52a3d2c853ae7165b9dc0d | [
"MIT"
] | 13 | 2021-04-26T04:00:36.000Z | 2021-09-18T19:57:58.000Z | examples/aditi/sarkar/admin.py | navycut/navycut | 1d49621105c7c4683d52a3d2c853ae7165b9dc0d | [
"MIT"
] | 6 | 2021-07-15T16:30:33.000Z | 2021-09-09T04:51:03.000Z | examples/aditi/sarkar/admin.py | navycut/navycut | 1d49621105c7c4683d52a3d2c853ae7165b9dc0d | [
"MIT"
] | 7 | 2021-07-21T06:21:55.000Z | 2021-09-02T17:58:04.000Z | from navycut.contrib.admin import admin
from .models import *
admin.register_model(Band) | 22.25 | 39 | 0.820225 | 13 | 89 | 5.538462 | 0.692308 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 89 | 4 | 40 | 22.25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f1b83b321ee435d92a70e19d8de3835cec4cafb | 35 | py | Python | 4_advanced/ai-py-injection-factory/tests/support/solvers/__init__.py | grecoe/teals | ea00bab4e90d3f71e3ec2d202ce596abcf006f37 | [
"MIT"
] | null | null | null | 4_advanced/ai-py-injection-factory/tests/support/solvers/__init__.py | grecoe/teals | ea00bab4e90d3f71e3ec2d202ce596abcf006f37 | [
"MIT"
] | 9 | 2019-11-21T13:12:47.000Z | 2021-02-02T14:52:52.000Z | 4_advanced/ai-py-injection-factory/tests/support/solvers/__init__.py | grecoe/teals | ea00bab4e90d3f71e3ec2d202ce596abcf006f37 | [
"MIT"
] | 2 | 2021-01-25T03:38:30.000Z | 2021-03-07T23:54:53.000Z | from .testsolver import DummySolver | 35 | 35 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 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 |
58d0bd6bb3fe415a93fdea57fd35f31ab65fd42e | 174 | py | Python | pyN/Populations/__init__.py | ericjang/pyN | c2fb35579c12df20b792408b69d92cab215c42b1 | [
"BSD-2-Clause"
] | 5 | 2018-02-26T17:50:33.000Z | 2019-05-18T10:10:57.000Z | pyN/Populations/__init__.py | ericjang/pyN | c2fb35579c12df20b792408b69d92cab215c42b1 | [
"BSD-2-Clause"
] | 1 | 2020-12-12T20:02:30.000Z | 2021-04-13T08:05:01.000Z | pyN/Populations/__init__.py | ericjang/pyN | c2fb35579c12df20b792408b69d92cab215c42b1 | [
"BSD-2-Clause"
] | 5 | 2016-02-27T14:08:06.000Z | 2019-05-15T13:32:50.000Z | from pyN.Populations.IzhikevichPopulation import *
from pyN.Populations.AdExPopulation import *
#Hodgkin-Huxley Populations not quite working yet.
#from HHPopulation import * | 43.5 | 50 | 0.83908 | 20 | 174 | 7.3 | 0.65 | 0.09589 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097701 | 174 | 4 | 51 | 43.5 | 0.929936 | 0.431034 | 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 |
58d8fb40cc35b473dd0edd93e1a44b2f95e487c9 | 66 | py | Python | nilmtk/disaggregate/__init__.py | pilillo/nilmtk | 00bb1f948b6de1cc5c891102728c19b9bfc7c739 | [
"Apache-2.0"
] | null | null | null | nilmtk/disaggregate/__init__.py | pilillo/nilmtk | 00bb1f948b6de1cc5c891102728c19b9bfc7c739 | [
"Apache-2.0"
] | null | null | null | nilmtk/disaggregate/__init__.py | pilillo/nilmtk | 00bb1f948b6de1cc5c891102728c19b9bfc7c739 | [
"Apache-2.0"
] | null | null | null | from .combinatorial_optimisation import CombinatorialOptimisation
| 33 | 65 | 0.924242 | 5 | 66 | 12 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 66 | 1 | 66 | 66 | 0.967742 | 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 |
58df1de21440b60b5459bf1b7bcb21a359a384e9 | 44 | py | Python | mlbench/__init__.py | jacxhanx/mlbench | 70a867b646f658fc9e76f11c1252a830fa493bc3 | [
"MIT"
] | null | null | null | mlbench/__init__.py | jacxhanx/mlbench | 70a867b646f658fc9e76f11c1252a830fa493bc3 | [
"MIT"
] | null | null | null | mlbench/__init__.py | jacxhanx/mlbench | 70a867b646f658fc9e76f11c1252a830fa493bc3 | [
"MIT"
] | null | null | null | # import mlbench.data
# import mlbench.train | 22 | 22 | 0.795455 | 6 | 44 | 5.833333 | 0.666667 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 22 | 22 | 0.897436 | 0.909091 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
45216b300dc01e8dca02502754ec05fe30df36d7 | 168 | py | Python | topicnet/cooking_machine/__init__.py | bt2901/TopicNet | cab4c5a5fa259a5709e736c819598caf84841206 | [
"MIT"
] | 123 | 2019-09-11T15:35:47.000Z | 2022-03-03T02:00:45.000Z | topicnet/cooking_machine/__init__.py | bt2901/TopicNet | cab4c5a5fa259a5709e736c819598caf84841206 | [
"MIT"
] | 65 | 2019-10-14T13:24:31.000Z | 2022-03-27T18:45:00.000Z | topicnet/cooking_machine/__init__.py | bt2901/TopicNet | cab4c5a5fa259a5709e736c819598caf84841206 | [
"MIT"
] | 15 | 2019-10-16T20:17:55.000Z | 2022-03-30T21:46:54.000Z | from .dataset import Dataset
from .dataset import BaseDataset
from .experiment import Experiment
from .model_constructor import *
from .dataset_cooc import DatasetCooc
| 28 | 37 | 0.845238 | 21 | 168 | 6.666667 | 0.428571 | 0.235714 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 168 | 5 | 38 | 33.6 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
188b3a1bac708a8619ebef86cc81287d08aa4798 | 28,778 | py | Python | ibmsecurity/isam/web/api_access_control/resources/resources.py | zone-zero/ibmsecurity | 7d3e38104b67e1b267e18a44845cb756a5302c3d | [
"Apache-2.0"
] | 46 | 2017-03-21T21:08:59.000Z | 2022-02-20T22:03:46.000Z | ibmsecurity/isam/web/api_access_control/resources/resources.py | zone-zero/ibmsecurity | 7d3e38104b67e1b267e18a44845cb756a5302c3d | [
"Apache-2.0"
] | 201 | 2017-03-21T21:25:52.000Z | 2022-03-30T21:38:20.000Z | ibmsecurity/isam/web/api_access_control/resources/resources.py | zone-zero/ibmsecurity | 7d3e38104b67e1b267e18a44845cb756a5302c3d | [
"Apache-2.0"
] | 91 | 2017-03-22T16:25:36.000Z | 2022-02-04T04:36:29.000Z | import logging
import os
import ibmsecurity
from ibmsecurity.utilities import tools
logger = logging.getLogger(__name__)
uri = "/wga/apiac/resource/instance"
requires_modules = ["wga"]
requires_version = "9.0.7"
def get_all(isamAppliance, instance_name, resource_server_name, check_mode=False, force=False):
"""... | 46.11859 | 120 | 0.613211 | 3,077 | 28,778 | 5.467013 | 0.054924 | 0.059922 | 0.073832 | 0.075853 | 0.88628 | 0.871359 | 0.839555 | 0.775294 | 0.749554 | 0.707407 | 0 | 0.01024 | 0.304364 | 28,778 | 623 | 121 | 46.192616 | 0.830061 | 0.019598 | 0 | 0.690678 | 0 | 0.010593 | 0.101666 | 0.026469 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044492 | false | 0 | 0.012712 | 0 | 0.197034 | 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 |
e14f485e64e28de530d378160c4a49e514c1db07 | 5,206 | py | Python | readthedocs/api/v3/tests/test_redirects.py | darrowco/readthedocs.org | fa7fc5a24306f1f6a27c7393f381c594ab29b357 | [
"MIT"
] | 19 | 2018-03-28T12:28:35.000Z | 2022-02-14T20:09:42.000Z | readthedocs/api/v3/tests/test_redirects.py | darrowco/readthedocs.org | fa7fc5a24306f1f6a27c7393f381c594ab29b357 | [
"MIT"
] | 274 | 2017-10-10T07:59:04.000Z | 2022-03-12T00:56:03.000Z | readthedocs/api/v3/tests/test_redirects.py | darrowco/readthedocs.org | fa7fc5a24306f1f6a27c7393f381c594ab29b357 | [
"MIT"
] | 13 | 2018-04-03T09:49:50.000Z | 2021-04-18T22:04:15.000Z | from .mixins import APIEndpointMixin
from django.urls import reverse
class RedirectsEndpointTests(APIEndpointMixin):
def test_unauthed_projects_redirects_list(self):
response = self.client.get(
reverse(
'projects-redirects-list',
kwargs={
'p... | 32.335404 | 77 | 0.541299 | 470 | 5,206 | 5.746809 | 0.142553 | 0.132173 | 0.085524 | 0.083302 | 0.914846 | 0.874491 | 0.785635 | 0.785635 | 0.768974 | 0.768974 | 0 | 0.021125 | 0.354399 | 5,206 | 160 | 78 | 32.5375 | 0.782505 | 0 | 0 | 0.633803 | 0 | 0 | 0.17307 | 0.108144 | 0 | 0 | 0 | 0 | 0.105634 | 1 | 0.056338 | false | 0 | 0.014085 | 0 | 0.077465 | 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 |
e15672d34f20b21097c3daf9ea7c6b94f34bbebc | 27 | py | Python | pycklx/__init__.py | robspassky/pycklx | b08992977dfc611e7f6efb50e9b01f4d302020c8 | [
"BSD-2-Clause"
] | null | null | null | pycklx/__init__.py | robspassky/pycklx | b08992977dfc611e7f6efb50e9b01f4d302020c8 | [
"BSD-2-Clause"
] | null | null | null | pycklx/__init__.py | robspassky/pycklx | b08992977dfc611e7f6efb50e9b01f4d302020c8 | [
"BSD-2-Clause"
] | null | null | null | from .core import topickle
| 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 |
e1599dd2c00fa4e164af2099ca23f8bee206ad79 | 30 | py | Python | kurac/__init__.py | i-vone/kur.ac | 8c1a7ee0a43f6ec3bb2251115987aba33d57e9f3 | [
"MIT"
] | null | null | null | kurac/__init__.py | i-vone/kur.ac | 8c1a7ee0a43f6ec3bb2251115987aba33d57e9f3 | [
"MIT"
] | null | null | null | kurac/__init__.py | i-vone/kur.ac | 8c1a7ee0a43f6ec3bb2251115987aba33d57e9f3 | [
"MIT"
] | null | null | null | from kurac.kurac import kurac
| 15 | 29 | 0.833333 | 5 | 30 | 5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1be8a8dd647ed1453a5cf915cccd6196fcfeff7 | 38 | py | Python | spatial_graphs/__init__.py | alisonpeard/spatial-louvain | 4d2964a769adc0a9169d8c04fa4bcaff1df42afe | [
"BSD-3-Clause"
] | null | null | null | spatial_graphs/__init__.py | alisonpeard/spatial-louvain | 4d2964a769adc0a9169d8c04fa4bcaff1df42afe | [
"BSD-3-Clause"
] | null | null | null | spatial_graphs/__init__.py | alisonpeard/spatial-louvain | 4d2964a769adc0a9169d8c04fa4bcaff1df42afe | [
"BSD-3-Clause"
] | null | null | null | from .spatial_graphs import * # noqa
| 19 | 37 | 0.736842 | 5 | 38 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 1 | 38 | 38 | 0.870968 | 0.105263 | 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 |
bedb1581c5c82b9f555d24d6dfa0c2d242c06300 | 6,090 | py | Python | _unittests/ut_sklapi/test_onnx_speedup_transformer.py | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 32 | 2018-03-04T23:33:30.000Z | 2022-03-10T19:15:06.000Z | _unittests/ut_sklapi/test_onnx_speedup_transformer.py | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 184 | 2017-11-30T14:10:35.000Z | 2022-02-21T08:29:31.000Z | _unittests/ut_sklapi/test_onnx_speedup_transformer.py | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 9 | 2019-07-24T13:18:00.000Z | 2022-03-07T04:08:07.000Z | """
@brief test log(time=4s)
"""
from io import BytesIO
import pickle
import unittest
from logging import getLogger
import numpy
# import pandas
# from sklearn.pipeline import make_pipeline
from sklearn.decomposition import PCA
from sklearn.datasets import load_iris
from pyquickhelper.pycode import ExtTestCase
fro... | 33.461538 | 70 | 0.587849 | 667 | 6,090 | 5.181409 | 0.14093 | 0.055556 | 0.048611 | 0.055556 | 0.774016 | 0.758391 | 0.758391 | 0.758391 | 0.7364 | 0.735243 | 0 | 0.015858 | 0.30624 | 6,090 | 181 | 71 | 33.646409 | 0.80213 | 0.014286 | 0 | 0.730263 | 0 | 0 | 0.016016 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.092105 | false | 0 | 0.078947 | 0.006579 | 0.184211 | 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 |
bee409ec09959aac70ccb8237e56fe1667419eb1 | 263 | py | Python | datasets/loader/__init__.py | wutong16/Adversarial_Long-Tail | ab2f3a792aede2bd2a3e57657c787ec542165be1 | [
"FSFAP"
] | 78 | 2021-04-05T15:58:03.000Z | 2022-03-30T02:42:42.000Z | datasets/loader/__init__.py | wutong16/Adversarial_Long-Tail | ab2f3a792aede2bd2a3e57657c787ec542165be1 | [
"FSFAP"
] | 1 | 2022-03-08T04:11:02.000Z | 2022-03-18T04:11:17.000Z | datasets/loader/__init__.py | wutong16/Adversarial_Long-Tail | ab2f3a792aede2bd2a3e57657c787ec542165be1 | [
"FSFAP"
] | 9 | 2021-04-13T09:51:51.000Z | 2022-03-09T02:45:20.000Z | from .sampler import GroupSampler, DistributedGroupSampler, DistributedSampler, ClassAwareSampler
from .build_loader import build_dataloader
__all__ = ['GroupSampler', 'DistributedGroupSampler', 'build_dataloader', 'DistributedSampler', 'ClassAwareSampler']
| 52.6 | 117 | 0.828897 | 20 | 263 | 10.55 | 0.55 | 0.331754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087452 | 263 | 4 | 118 | 65.75 | 0.879167 | 0 | 0 | 0 | 0 | 0 | 0.332046 | 0.088803 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bef073ec8748277f5988dd656aed1e4012dd8587 | 252 | py | Python | nmigen_boards/colorlight_i5.py | hansfbaier/amaranth-boards | a3e92db69e74cc18a42808f6f72068f05efe018e | [
"BSD-2-Clause"
] | 1 | 2022-01-22T20:23:07.000Z | 2022-01-22T20:23:07.000Z | nmigen_boards/colorlight_i5.py | amaranth-community-unofficial/amaranth-boards | eacb18700d0ed97f525737ca80d923ebd5851505 | [
"BSD-2-Clause"
] | null | null | null | nmigen_boards/colorlight_i5.py | amaranth-community-unofficial/amaranth-boards | eacb18700d0ed97f525737ca80d923ebd5851505 | [
"BSD-2-Clause"
] | null | null | null |
from amaranth_boards.colorlight_i5 import *
from amaranth_boards.colorlight_i5 import __all__
import warnings
warnings.warn("instead of nmigen_boards.colorlight_i5, use amaranth_boards.colorlight_i5",
DeprecationWarning, stacklevel=2)
| 28 | 90 | 0.809524 | 31 | 252 | 6.193548 | 0.516129 | 0.333333 | 0.375 | 0.40625 | 0.375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0.022936 | 0.134921 | 252 | 8 | 91 | 31.5 | 0.857798 | 0 | 0 | 0 | 0 | 0 | 0.290837 | 0.227092 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8360b50f91e82a0d5fee0a38f6990a31553fc32f | 72 | py | Python | py_tdlib/constructors/chat_members_filter_banned.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/chat_members_filter_banned.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/chat_members_filter_banned.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class chatMembersFilterBanned(Type):
pass
| 12 | 36 | 0.791667 | 8 | 72 | 7.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 72 | 5 | 37 | 14.4 | 0.919355 | 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 |
8362dfe4ca13727fd2af4c0f69bc5560e5277526 | 231 | py | Python | board/imx6sl/ucube.py | jinlongliu/AliOS-Things | ce051172a775f987183e7aca88bb6f3b809ea7b0 | [
"Apache-2.0"
] | 4 | 2019-03-12T11:04:48.000Z | 2019-10-22T06:06:53.000Z | board/imx6sl/ucube.py | IamBaoMouMou/AliOS-Things | 195a9160b871b3d78de6f8cf6c2ab09a71977527 | [
"Apache-2.0"
] | 3 | 2018-12-17T13:06:46.000Z | 2018-12-28T01:40:59.000Z | board/imx6sl/ucube.py | IamBaoMouMou/AliOS-Things | 195a9160b871b3d78de6f8cf6c2ab09a71977527 | [
"Apache-2.0"
] | 2 | 2018-01-23T07:54:08.000Z | 2018-01-23T11:38:59.000Z | linux_only_targets="blink bluetooth.ble_bqb netmgrapp bluetooth.blemesh_srv bluetooth.blemesh uDataapp bluetooth.blemesh_cli bluetooth.bleadv wifihalapp hdlcapp.hdlcserver acapp helloworld bluetooth.bleperipheral helloworld_nocli"
| 115.5 | 230 | 0.896104 | 28 | 231 | 7.178571 | 0.714286 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 231 | 1 | 231 | 231 | 0.926267 | 0 | 0 | 0 | 0 | 1 | 0.904762 | 0.281385 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
55c4f4dd136a61fc9c07b3ae15653490c12f66f5 | 1,836 | py | Python | docking/test_Cornell.py | thenlevy/docking_project | 8f0acfa44d57d466e119872cb0f099de7dc85423 | [
"MIT"
] | 1 | 2018-04-09T12:15:41.000Z | 2018-04-09T12:15:41.000Z | docking/test_Cornell.py | thenlevy/docking_project | 8f0acfa44d57d466e119872cb0f099de7dc85423 | [
"MIT"
] | null | null | null | docking/test_Cornell.py | thenlevy/docking_project | 8f0acfa44d57d466e119872cb0f099de7dc85423 | [
"MIT"
] | null | null | null | from Cornell import Cornell_calc
from parser_pdb import parse_pdb
from structureToolsProjPython import preparePDB
official = preparePDB("../data/ex.pdb", "D")
test = Cornell_calc(parse_pdb("../data/ex.pdb"))
for chain in official["chains"]:
for curres in official[chain]["reslist"]:
for atomtype in officia... | 43.714286 | 87 | 0.581699 | 221 | 1,836 | 4.696833 | 0.190045 | 0.057803 | 0.183044 | 0.086705 | 0.791908 | 0.791908 | 0.791908 | 0.791908 | 0.732177 | 0.732177 | 0 | 0.002222 | 0.264706 | 1,836 | 41 | 88 | 44.780488 | 0.766667 | 0 | 0 | 0.684211 | 0 | 0 | 0.120915 | 0.022876 | 0 | 0 | 0 | 0 | 0.026316 | 1 | 0 | false | 0 | 0.078947 | 0 | 0.078947 | 0.315789 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
55db9b1436b009d05084d9b0d0c06ad3f6981146 | 13,193 | py | Python | test/parallel/test_pool.py | lorenzosteccanella/machin | 9d3ce87dbed820b5019211b0690b54613084d9e4 | [
"MIT"
] | 287 | 2020-06-13T05:19:50.000Z | 2022-03-31T04:46:32.000Z | test/parallel/test_pool.py | lorenzosteccanella/machin | 9d3ce87dbed820b5019211b0690b54613084d9e4 | [
"MIT"
] | 19 | 2020-08-19T05:33:45.000Z | 2022-03-27T15:16:03.000Z | test/parallel/test_pool.py | lorenzosteccanella/machin | 9d3ce87dbed820b5019211b0690b54613084d9e4 | [
"MIT"
] | 44 | 2020-07-06T00:41:44.000Z | 2022-03-29T17:05:08.000Z | from logging import DEBUG
from machin.parallel.pool import Pool, P2PPool, CtxPool, ThreadPool, CtxThreadPool
from machin.utils.logging import default_logger as logger
from test.util_fixtures import *
from test.util_platforms import linux_only
import dill
import pytest
import torch as t
# enable pool logging
logger.s... | 33.065163 | 87 | 0.564542 | 1,865 | 13,193 | 3.903485 | 0.124397 | 0.050824 | 0.055357 | 0.07239 | 0.781868 | 0.768819 | 0.767033 | 0.727885 | 0.702473 | 0.681044 | 0 | 0.042676 | 0.301978 | 13,193 | 398 | 88 | 33.148241 | 0.747855 | 0.200864 | 0 | 0.701439 | 0 | 0 | 0.01422 | 0 | 0 | 0 | 0 | 0 | 0.143885 | 1 | 0.122302 | false | 0.007194 | 0.028777 | 0.014388 | 0.194245 | 0.003597 | 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 |
55f57765b835e2c3bcb85c6d0d13e4704d963574 | 5,576 | py | Python | tests/test_sequence_searches.py | GeoffSCollins/PolTools | 1ea9b166efc56610c385802f9491b4c8ec25a1d0 | [
"MIT"
] | null | null | null | tests/test_sequence_searches.py | GeoffSCollins/PolTools | 1ea9b166efc56610c385802f9491b4c8ec25a1d0 | [
"MIT"
] | null | null | null | tests/test_sequence_searches.py | GeoffSCollins/PolTools | 1ea9b166efc56610c385802f9491b4c8ec25a1d0 | [
"MIT"
] | null | null | null | import unittest.mock
from pathlib import Path
from PolTools.main_programs import sequence_searches
from PolTools.main_programs.sequence_searches import InvalidSearchException
import io
from quieter import Quieter
class TestSequenceSearches(unittest.TestCase):
polr2a_region_file = str(Path(__file__).parent) + "... | 45.704918 | 88 | 0.720947 | 708 | 5,576 | 5.358757 | 0.148305 | 0.063258 | 0.053769 | 0.063258 | 0.85398 | 0.843437 | 0.833421 | 0.811281 | 0.792304 | 0.792304 | 0 | 0.014187 | 0.16571 | 5,576 | 121 | 89 | 46.082645 | 0.801376 | 0.064383 | 0 | 0.494382 | 0 | 0 | 0.071799 | 0.009791 | 0 | 0 | 0 | 0 | 0.179775 | 1 | 0.191011 | false | 0 | 0.067416 | 0.011236 | 0.303371 | 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 |
3606ce17e9008136870cd62acc9a721583fe384f | 10,038 | py | Python | experiment_qft.py | fabianbauermarquart/quavl | 5e0a685912c2f914a9a3581ce65d76f3b05f7261 | [
"MIT"
] | null | null | null | experiment_qft.py | fabianbauermarquart/quavl | 5e0a685912c2f914a9a3581ce65d76f3b05f7261 | [
"MIT"
] | null | null | null | experiment_qft.py | fabianbauermarquart/quavl | 5e0a685912c2f914a9a3581ce65d76f3b05f7261 | [
"MIT"
] | null | null | null | from typing import List
import numpy as np
from z3 import If, Or, Not, And
from quavl.lib.constants import cos, sin, pi
from quavl.lib.expressions.complex import ComplexVal
from quavl.lib.expressions.qbit import Qbits, QbitVal
from quavl.lib.models.circuit import Circuit, Method
from quavl.lib.operations.gates import... | 30.603659 | 82 | 0.555888 | 1,208 | 10,038 | 4.396523 | 0.104305 | 0.027678 | 0.031632 | 0.033139 | 0.809264 | 0.798531 | 0.701186 | 0.701186 | 0.6865 | 0.6865 | 0 | 0.08465 | 0.33154 | 10,038 | 327 | 83 | 30.697248 | 0.706855 | 0.0789 | 0 | 0.728643 | 0 | 0 | 0.009103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030151 | false | 0 | 0.045226 | 0 | 0.080402 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3699ffecbe9c5b48345e8857ba5e05e711ef26fd | 94 | py | Python | tests/test_events.py | stlk/pyworking.cz | 13fd0a21c498b1589cd4b1fc3f2d908fe06b2970 | [
"MIT"
] | 5 | 2017-08-26T11:53:37.000Z | 2017-12-13T20:50:18.000Z | tests/test_events.py | stlk/pyworking.cz | 13fd0a21c498b1589cd4b1fc3f2d908fe06b2970 | [
"MIT"
] | 40 | 2017-08-27T20:34:43.000Z | 2020-08-31T09:45:02.000Z | tests/test_events.py | stlk/pyworking.cz | 13fd0a21c498b1589cd4b1fc3f2d908fe06b2970 | [
"MIT"
] | 15 | 2017-08-26T11:55:16.000Z | 2021-08-21T09:35:55.000Z | from pyworking_cz.model import load_events
def test_load_events():
assert load_events()
| 15.666667 | 42 | 0.787234 | 14 | 94 | 4.928571 | 0.714286 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 5 | 43 | 18.8 | 0.8625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3d4780d9ba9915f207b24c2f63469d28160f40f1 | 9,810 | py | Python | data_steward/cdr_cleaner/clean_cdr.py | berneskaracay/curation | 713e8ac606822a6f639ed3a74c9c0c07ba19f7c0 | [
"MIT"
] | null | null | null | data_steward/cdr_cleaner/clean_cdr.py | berneskaracay/curation | 713e8ac606822a6f639ed3a74c9c0c07ba19f7c0 | [
"MIT"
] | null | null | null | data_steward/cdr_cleaner/clean_cdr.py | berneskaracay/curation | 713e8ac606822a6f639ed3a74c9c0c07ba19f7c0 | [
"MIT"
] | null | null | null | """
A module to serve as the entry point to the cdr_cleaner package.
It gathers the list of query strings to execute and sends them
to the query engine.
"""
# Python imports
import logging
# Third party imports
from google.appengine.api import app_identity
# Project imports
import bq_utils
import constants.cdr_clean... | 39.878049 | 111 | 0.780428 | 1,484 | 9,810 | 4.740566 | 0.093666 | 0.116418 | 0.093248 | 0.104904 | 0.837242 | 0.786638 | 0.749396 | 0.738024 | 0.706326 | 0.64307 | 0 | 0.000955 | 0.145872 | 9,810 | 245 | 112 | 40.040816 | 0.838644 | 0.202243 | 0 | 0.410256 | 0 | 0 | 0.055504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0 | 0.128205 | 0 | 0.282051 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9eb206fcf121820e86df3221d0d56162c417861 | 28 | py | Python | main.py | Baldwin90/thenewboston-python-client | cfefc4dc7a401f9e055fde16e56100d41539fd69 | [
"MIT"
] | null | null | null | main.py | Baldwin90/thenewboston-python-client | cfefc4dc7a401f9e055fde16e56100d41539fd69 | [
"MIT"
] | null | null | null | main.py | Baldwin90/thenewboston-python-client | cfefc4dc7a401f9e055fde16e56100d41539fd69 | [
"MIT"
] | null | null | null | print('Hello cruel world.')
| 14 | 27 | 0.714286 | 4 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
18204d922c0ee98d8b0d7aea50a4b7b80092dbef | 109 | py | Python | f_monthpython/f_monthpython/views.py | koffi09/Parissssportif | 0ca2a57c27f15ffb389dbd350f0bb746751f2639 | [
"Apache-2.0"
] | null | null | null | f_monthpython/f_monthpython/views.py | koffi09/Parissssportif | 0ca2a57c27f15ffb389dbd350f0bb746751f2639 | [
"Apache-2.0"
] | null | null | null | f_monthpython/f_monthpython/views.py | koffi09/Parissssportif | 0ca2a57c27f15ffb389dbd350f0bb746751f2639 | [
"Apache-2.0"
] | null | null | null |
from django.shortcuts import render
def home(request):
return render (request,'home.html')
| 12.111111 | 41 | 0.66055 | 13 | 109 | 5.538462 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247706 | 109 | 8 | 42 | 13.625 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0.092784 | 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 |
182e45162e0fd0bd2656b99406de9e9ec25f4b9a | 40 | py | Python | contrib/action_recognition/r2p1d/vu/utils/__init__.py | revodavid/ComputerVision | e705e2a154cb63245e03dffb5a97c284e0897aee | [
"MIT"
] | 2 | 2020-11-12T20:40:22.000Z | 2022-03-20T18:08:15.000Z | contrib/action_recognition/r2p1d/vu/utils/__init__.py | revodavid/ComputerVision | e705e2a154cb63245e03dffb5a97c284e0897aee | [
"MIT"
] | null | null | null | contrib/action_recognition/r2p1d/vu/utils/__init__.py | revodavid/ComputerVision | e705e2a154cb63245e03dffb5a97c284e0897aee | [
"MIT"
] | 5 | 2020-04-09T17:56:47.000Z | 2021-04-26T14:22:57.000Z | from .common import Config, system_info
| 20 | 39 | 0.825 | 6 | 40 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18642ee07d3da0c1485a050c5051d46cc87c693f | 120 | py | Python | openpecha/catalog/utils.py | ta4tsering/openpecha-toolkit | ff24b4813fb8146a4327e746e4024890b6807bea | [
"Apache-2.0"
] | 1 | 2021-12-08T04:47:40.000Z | 2021-12-08T04:47:40.000Z | openpecha/catalog/utils.py | ta4tsering/openpecha-toolkit | ff24b4813fb8146a4327e746e4024890b6807bea | [
"Apache-2.0"
] | 38 | 2019-11-12T10:49:25.000Z | 2021-04-07T12:10:24.000Z | openpecha/catalog/utils.py | OpenPecha/openpecha | 73359686e2b3a703c6018aecbffe7adb4f485c88 | [
"Apache-2.0"
] | 6 | 2021-08-30T04:02:15.000Z | 2021-12-27T03:39:41.000Z | from openpecha.config import N_SIG, PECHA_PREFIX
def create_pecha_id(num):
return f"{PECHA_PREFIX}{num:0{N_SIG}}"
| 20 | 48 | 0.758333 | 21 | 120 | 4.047619 | 0.714286 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.125 | 120 | 5 | 49 | 24 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 0.233333 | 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 |
a120bf348723fe226b222ac94eb040d1e909c9da | 172,412 | py | Python | slingen/src/isas/avx.py | danielesgit/slingen | e7cfee7f6f2347b57eb61a077746c9309a85411c | [
"BSD-3-Clause"
] | 23 | 2018-03-13T07:52:26.000Z | 2022-03-24T02:32:00.000Z | slingen/src/isas/avx.py | danielesgit/slingen | e7cfee7f6f2347b57eb61a077746c9309a85411c | [
"BSD-3-Clause"
] | 2 | 2018-09-28T18:29:25.000Z | 2019-02-20T13:22:19.000Z | slingen/src/isas/avx.py | danielesgit/slingen | e7cfee7f6f2347b57eb61a077746c9309a85411c | [
"BSD-3-Clause"
] | 3 | 2018-06-13T13:51:57.000Z | 2020-01-11T14:47:02.000Z | '''
Created on Apr 18, 2012
@author: danieles
'''
import sys
from sympy import sympify
from islpy import Set, Map
from src.dsls.ll import Matrix, ZeroMatrix, Symmetric, LowerTriangular, UpperTriangular, LowerUnitTriangular, UpperUnitTriangular, IdentityMatrix, AllEntriesConstantMatrix
from src.binding import getRe... | 52.596705 | 221 | 0.530491 | 21,662 | 172,412 | 4.164805 | 0.033099 | 0.017934 | 0.01503 | 0.010685 | 0.853255 | 0.826952 | 0.796715 | 0.766632 | 0.742158 | 0.71519 | 0 | 0.087296 | 0.307751 | 172,412 | 3,278 | 222 | 52.596705 | 0.668602 | 0.214968 | 0 | 0.680932 | 0 | 0 | 0.031527 | 0.001033 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115254 | false | 0 | 0.00339 | 0.048729 | 0.252966 | 0.033898 | 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 |
a17be312a663870cdfc225b0ef2e52f5a13626d3 | 2,530 | py | Python | Project Euler/8_Largest_Product_in_series.py | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | Project Euler/8_Largest_Product_in_series.py | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | Project Euler/8_Largest_Product_in_series.py | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | # The four adjacent digits in the 1000-digit number that have the greatest product
# are 9 × 9 × 8 × 9 = 5832.
# 73167176531330624919225119674426574742355349194934
# 96983520312774506326239578318016984801869478851843
# 85861560789112949495459501737958331952853208805511
# 1254069874715852386305071569329096329522744304... | 64.871795 | 1,011 | 0.920553 | 105 | 2,530 | 22.209524 | 0.6 | 0.012007 | 0.013722 | 0.016295 | 0.051458 | 0.051458 | 0.051458 | 0.051458 | 0.051458 | 0.051458 | 0 | 0.843554 | 0.052569 | 2,530 | 39 | 1,012 | 64.871795 | 0.128077 | 0.495257 | 0 | 0 | 0 | 0 | 0.798085 | 0.798085 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.111111 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a17cc4ffec41cafa375795aa578c3274e9a6d5e1 | 461 | py | Python | client/database/get.py | EvlosCo/go-cli | 4818da63388cf00cca98ee69623bc4450c875804 | [
"MIT"
] | 1 | 2019-04-15T19:38:45.000Z | 2019-04-15T19:38:45.000Z | client/database/get.py | EvlosCo/go-cli | 4818da63388cf00cca98ee69623bc4450c875804 | [
"MIT"
] | null | null | null | client/database/get.py | EvlosCo/go-cli | 4818da63388cf00cca98ee69623bc4450c875804 | [
"MIT"
] | null | null | null | from database import models
from database import db
def get_server_url():
return db.session.query(models.Setting) \
.filter_by(setting_name='url').first().setting_value
def get_token_name():
return db.session.query(models.Setting) \
.filter_by(setting_name='token_name').first().setti... | 25.611111 | 71 | 0.70282 | 62 | 461 | 4.983871 | 0.306452 | 0.058252 | 0.145631 | 0.194175 | 0.718447 | 0.718447 | 0.537217 | 0.537217 | 0.537217 | 0.537217 | 0 | 0 | 0.173536 | 461 | 17 | 72 | 27.117647 | 0.811024 | 0 | 0 | 0.272727 | 0 | 0 | 0.039046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.181818 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a1886a3d709d4b5030abaf3ec339234d4f5c5e43 | 30 | py | Python | tests/test.py | TheNewThinkTank/dark-matter-attractor | b27daa576faf291e45645aa5f40f5d49e8a1a96d | [
"MIT"
] | 1 | 2020-06-07T10:03:19.000Z | 2020-06-07T10:03:19.000Z | tests/test.py | TheNewThinkTank/dark-matter-attractor | b27daa576faf291e45645aa5f40f5d49e8a1a96d | [
"MIT"
] | null | null | null | tests/test.py | TheNewThinkTank/dark-matter-attractor | b27daa576faf291e45645aa5f40f5d49e8a1a96d | [
"MIT"
] | null | null | null |
def test_dummy():
pass
| 5 | 17 | 0.566667 | 4 | 30 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 30 | 5 | 18 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a1987244e68095d69870e8d90c11f939aa5b25fc | 504 | py | Python | clismo/compiler/__init__.py | jmorgadov/clismo | 1200a5115eef5b2e1801bd1768c78191220ae0e2 | [
"MIT"
] | 2 | 2022-02-19T22:11:30.000Z | 2022-02-23T18:22:56.000Z | clismo/compiler/__init__.py | jmorgadov/clismo | 1200a5115eef5b2e1801bd1768c78191220ae0e2 | [
"MIT"
] | null | null | null | clismo/compiler/__init__.py | jmorgadov/clismo | 1200a5115eef5b2e1801bd1768c78191220ae0e2 | [
"MIT"
] | null | null | null | from clismo.compiler.generic_ast import AST
from clismo.compiler.grammar import (Grammar, NonTerminal, Production, Symbol,
Terminal)
from clismo.compiler.parsers.parser import Parser
from clismo.compiler.parsers.lritem import LRItem
from clismo.compiler.parsers.lr1_parser import LR1... | 42 | 78 | 0.793651 | 61 | 504 | 6.491803 | 0.377049 | 0.20202 | 0.363636 | 0.189394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007026 | 0.152778 | 504 | 11 | 79 | 45.818182 | 0.920375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.888889 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a19eb7a240ac3a9b6ca22da0bcdd4df0e09d537b | 84 | py | Python | app/dean/__init__.py | jqqqqqqqqqq/CourseCenter | 61e38b4f5e7a312023dd7c58a399f44d110f2b08 | [
"MIT"
] | null | null | null | app/dean/__init__.py | jqqqqqqqqqq/CourseCenter | 61e38b4f5e7a312023dd7c58a399f44d110f2b08 | [
"MIT"
] | null | null | null | app/dean/__init__.py | jqqqqqqqqqq/CourseCenter | 61e38b4f5e7a312023dd7c58a399f44d110f2b08 | [
"MIT"
] | null | null | null | from flask import Blueprint
dean = Blueprint('dean', __name__)
from . import views | 16.8 | 34 | 0.761905 | 11 | 84 | 5.454545 | 0.636364 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 84 | 5 | 35 | 16.8 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
a1c17c3fb80473cc633bf571c3ca352f3084b809 | 89 | py | Python | core/utils/__init__.py | luckylwk/neural-network-theano | 420c89e7028fcd9671866918c22a837d04387012 | [
"MIT"
] | null | null | null | core/utils/__init__.py | luckylwk/neural-network-theano | 420c89e7028fcd9671866918c22a837d04387012 | [
"MIT"
] | null | null | null | core/utils/__init__.py | luckylwk/neural-network-theano | 420c89e7028fcd9671866918c22a837d04387012 | [
"MIT"
] | null | null | null | from .activation import *
from .cost import *
from .weights import *
from .tests import * | 22.25 | 25 | 0.741573 | 12 | 89 | 5.5 | 0.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 4 | 26 | 22.25 | 0.891892 | 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 |
a1e6aff5c732d17d561527aeffb0acaa2a8d1e8b | 76 | py | Python | gal_gen/__init__.py | andrevitorelli/TenGU | 539a39552bb18cc19dc941003e2a44d646da98e1 | [
"MIT"
] | 1 | 2021-03-19T15:36:48.000Z | 2021-03-19T15:36:48.000Z | gal_gen/__init__.py | andrevitorelli/TenGU | 539a39552bb18cc19dc941003e2a44d646da98e1 | [
"MIT"
] | null | null | null | gal_gen/__init__.py | andrevitorelli/TenGU | 539a39552bb18cc19dc941003e2a44d646da98e1 | [
"MIT"
] | null | null | null | """gal_gen dataset."""
from .gal_gen import GalGen
from .galaxies import *
| 15.2 | 27 | 0.723684 | 11 | 76 | 4.818182 | 0.636364 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 4 | 28 | 19 | 0.815385 | 0.210526 | 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 |
629b6023fe7a67774d5a63070d46f302aeb06004 | 88 | py | Python | CodeWars/7 Kyu/Decreasing Inputs.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Decreasing Inputs.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Decreasing Inputs.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def add(*args):
return round(sum(a / float(i) for i, a in enumerate(args, start=1))) | 44 | 72 | 0.647727 | 17 | 88 | 3.352941 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.170455 | 88 | 2 | 72 | 44 | 0.767123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.