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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2541a12a12b71082c6ac8d4714f94e5033661e93 | 5,977 | py | Python | {{cookiecutter.project_name}}/TensorFlow_imagenet/tensorflow_imagenet.py | Bhaskers-Blu-Org2/DistributedDeepLearning | 2f407881b49415188ca2e38e5331781962939251 | [
"MIT"
] | 45 | 2019-06-13T17:38:11.000Z | 2022-03-24T00:32:38.000Z | {{cookiecutter.project_name}}/TensorFlow_imagenet/tensorflow_imagenet.py | Hrashid789/DistributedDeepLearning | 2f407881b49415188ca2e38e5331781962939251 | [
"MIT"
] | 11 | 2019-06-06T15:50:18.000Z | 2019-10-21T08:45:26.000Z | {{cookiecutter.project_name}}/TensorFlow_imagenet/tensorflow_imagenet.py | Hrashid789/DistributedDeepLearning | 2f407881b49415188ca2e38e5331781962939251 | [
"MIT"
] | 10 | 2019-07-01T04:57:37.000Z | 2020-09-29T07:04:05.000Z | """Module for running TensorFlow training on Imagenet data
"""
from invoke import task, Collection
import os
from config import load_config
_BASE_PATH = os.path.dirname(os.path.abspath(__file__))
env_values = load_config()
@task
def submit_synthetic(c, node_count=int(env_values["CLUSTER_MAX_NODES"]), epochs=1):
... | 33.768362 | 119 | 0.661034 | 723 | 5,977 | 5.217151 | 0.116183 | 0.022269 | 0.031813 | 0.044539 | 0.885207 | 0.791092 | 0.791092 | 0.791092 | 0.791092 | 0.789502 | 0 | 0.002577 | 0.220847 | 5,977 | 176 | 120 | 33.960227 | 0.807387 | 0.237075 | 0 | 0.577586 | 0 | 0 | 0.247278 | 0.075771 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051724 | false | 0 | 0.077586 | 0 | 0.12931 | 0.051724 | 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 |
c2a0ee99b15d496c33bf063ce58d2a62ede25145 | 30 | py | Python | micropython.py | PaulskPt/micropython-mcp7940 | f01582214d06a582eacde2db84bd53fead86a850 | [
"MIT"
] | null | null | null | micropython.py | PaulskPt/micropython-mcp7940 | f01582214d06a582eacde2db84bd53fead86a850 | [
"MIT"
] | 10 | 2019-06-20T22:32:48.000Z | 2022-03-01T00:51:31.000Z | micropython.py | PaulskPt/micropython-mcp7940 | f01582214d06a582eacde2db84bd53fead86a850 | [
"MIT"
] | 2 | 2019-07-16T09:38:51.000Z | 2020-01-29T22:33:31.000Z | def const(val):
return val | 15 | 15 | 0.666667 | 5 | 30 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 2 | 16 | 15 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c2c667e7a14b7fac157603c78ca5081db3f4c499 | 43 | py | Python | Python/chinese2digits/__init__.py | lai-bluejay/chinese2digits | 3da9c030a8a9ca5f82426e5719aff861109f51c1 | [
"Apache-1.1"
] | 271 | 2018-07-11T11:02:52.000Z | 2022-03-31T01:12:08.000Z | Python/chinese2digits/__init__.py | Geekzhangwei/chinese2digits | 921ac76f051e91768f42e68d77da040305d53cf0 | [
"Apache-1.1"
] | 22 | 2018-11-29T08:34:19.000Z | 2022-03-16T08:20:06.000Z | Python/chinese2digits/__init__.py | Geekzhangwei/chinese2digits | 921ac76f051e91768f42e68d77da040305d53cf0 | [
"Apache-1.1"
] | 52 | 2019-02-22T06:36:03.000Z | 2022-03-10T07:05:08.000Z | from chinese2digits.chinese2digits import * | 43 | 43 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.069767 | 43 | 1 | 43 | 43 | 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 |
c2ca79fe5738a1745a937d67ebd5e853ec6cec9e | 111 | py | Python | pyxmeans/__init__.py | araceli252/pyxmeans | 11c69f88939f44f73b49376c92e932d7c7e6f858 | [
"MIT"
] | 84 | 2015-01-22T22:50:27.000Z | 2021-12-30T07:32:38.000Z | pyxmeans/__init__.py | araceli252/pyxmeans | 11c69f88939f44f73b49376c92e932d7c7e6f858 | [
"MIT"
] | 13 | 2015-01-19T11:47:34.000Z | 2017-12-03T20:24:55.000Z | pyxmeans/__init__.py | araceli252/pyxmeans | 11c69f88939f44f73b49376c92e932d7c7e6f858 | [
"MIT"
] | 39 | 2015-01-13T07:10:01.000Z | 2022-03-21T07:31:43.000Z | from . import _minibatch
from . import benchmark
from .mini_batch import MiniBatch
from .xmeans import XMeans
| 18.5 | 33 | 0.810811 | 15 | 111 | 5.866667 | 0.466667 | 0.227273 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 111 | 5 | 34 | 22.2 | 0.93617 | 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 |
66a943c2bc1f4aecbfad9f25af6229384f949d24 | 135 | py | Python | pyrobolearn/tools/interfaces/audio/__init__.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | 2 | 2021-01-21T21:08:30.000Z | 2022-03-29T16:45:49.000Z | pyrobolearn/tools/interfaces/audio/__init__.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | null | null | null | pyrobolearn/tools/interfaces/audio/__init__.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | 1 | 2020-09-29T21:25:39.000Z | 2020-09-29T21:25:39.000Z | # -*- coding: utf-8 -*-
# import audio interfaces
# from .audio import *
# from . import audio
from .speaker import SpeakerInterface
| 16.875 | 37 | 0.696296 | 16 | 135 | 5.875 | 0.5625 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.185185 | 135 | 7 | 38 | 19.285714 | 0.845455 | 0.637037 | 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 |
dd0e23ac376765ebeebea98070e54299bb129f37 | 25 | py | Python | python_modules/dagster/dagster/generate/new_repo/new_repo/solids/__init__.py | chasleslr/dagster | 88907f9473fb8e7a9b1af9a0a8b349d42f4b8153 | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster/generate/new_repo/new_repo/solids/__init__.py | chasleslr/dagster | 88907f9473fb8e7a9b1af9a0a8b349d42f4b8153 | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster/generate/new_repo/new_repo/solids/__init__.py | chasleslr/dagster | 88907f9473fb8e7a9b1af9a0a8b349d42f4b8153 | [
"Apache-2.0"
] | null | null | null | from .hello import hello
| 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 |
06d3c56d8f83d304750b8f3bcc0b0da70e8aa16e | 16,431 | py | Python | src/core/test/test_query_rewriter.py | RogerTangos/datahub-stub | 8c3e89c792e45ccc9ad067fcf085ddd52f7ecd89 | [
"MIT"
] | null | null | null | src/core/test/test_query_rewriter.py | RogerTangos/datahub-stub | 8c3e89c792e45ccc9ad067fcf085ddd52f7ecd89 | [
"MIT"
] | null | null | null | src/core/test/test_query_rewriter.py | RogerTangos/datahub-stub | 8c3e89c792e45ccc9ad067fcf085ddd52f7ecd89 | [
"MIT"
] | null | null | null | from core.db.query_rewriter import SQLQueryRewriter
from django.db.models import signals
from django.test import TestCase
import factory
import sqlparse
from mock import patch
class QueryRewriter(TestCase):
"""Tests all the query rewriter operations in query_rewriter.py."""
@factory.django.mute_signals(si... | 46.154494 | 79 | 0.612805 | 1,762 | 16,431 | 5.461975 | 0.08059 | 0.057149 | 0.065357 | 0.056733 | 0.824501 | 0.799979 | 0.782938 | 0.747506 | 0.722984 | 0.674771 | 0 | 0.005577 | 0.29067 | 16,431 | 355 | 80 | 46.284507 | 0.820163 | 0.005903 | 0 | 0.559211 | 0 | 0 | 0.319206 | 0.080353 | 0 | 0 | 0 | 0 | 0.118421 | 1 | 0.039474 | false | 0 | 0.019737 | 0 | 0.065789 | 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 |
06dbbb053f3bfbd491b0175d66b52fe6c1c0c826 | 1,262 | py | Python | test/test_skipint.py | hlatkydavid/vnmrjpy | 48707a1000dc87e646e37c8bd686e695bd31a61e | [
"MIT"
] | null | null | null | test/test_skipint.py | hlatkydavid/vnmrjpy | 48707a1000dc87e646e37c8bd686e695bd31a61e | [
"MIT"
] | null | null | null | test/test_skipint.py | hlatkydavid/vnmrjpy | 48707a1000dc87e646e37c8bd686e695bd31a61e | [
"MIT"
] | null | null | null | import unittest
import vnmrjpy as vj
import glob
import nibabel as nib
class Test_SkipintGenerator(unittest.TestCase):
def test_generate_gems(self):
reduction = 4
gemsdir = sorted(glob.glob(vj.fids+'/gems*.fid'))[0]
procpar = gemsdir+'/procpar'
gen = vj.util.SkipintGenerator(procp... | 29.348837 | 62 | 0.637876 | 149 | 1,262 | 5.295302 | 0.268456 | 0.035488 | 0.057034 | 0.079848 | 0.776933 | 0.776933 | 0.776933 | 0.776933 | 0.776933 | 0.621039 | 0 | 0.017635 | 0.236133 | 1,262 | 42 | 63 | 30.047619 | 0.80083 | 0.075277 | 0 | 0.517241 | 1 | 0 | 0.04918 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0.137931 | false | 0.034483 | 0.137931 | 0 | 0.310345 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66553e8ba96f41222ec939bb440eeb71b0ed9440 | 75 | py | Python | 5 kyu/A Chain adding function.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | 5 kyu/A Chain adding function.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | 5 kyu/A Chain adding function.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | class add(int):
def __call__(self, func):
return add(self+func) | 25 | 29 | 0.626667 | 11 | 75 | 3.909091 | 0.727273 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 75 | 3 | 30 | 25 | 0.754386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 |
b097456c525d2365c86b50159fcf720176508198 | 108 | py | Python | pkgs/ops-pkg/src/genie/libs/ops/mld/ios/mld.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/ops-pkg/src/genie/libs/ops/mld/ios/mld.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/ops-pkg/src/genie/libs/ops/mld/ios/mld.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | '''
Mld Genie Ops Object for IOS - CLI.
'''
from ..iosxe.mld import Mld as MldXE
class Mld(MldXE):
pass | 15.428571 | 36 | 0.657407 | 18 | 108 | 3.944444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212963 | 108 | 7 | 37 | 15.428571 | 0.835294 | 0.324074 | 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 |
b0c1d8e57f1678c811b93fc8d5752bce6a572793 | 164 | py | Python | half/python/mutilthread.py | kong5664546498/half_a_wheel | d50c2359ac7dda55f54dd08bb588091eb6232b81 | [
"MIT"
] | null | null | null | half/python/mutilthread.py | kong5664546498/half_a_wheel | d50c2359ac7dda55f54dd08bb588091eb6232b81 | [
"MIT"
] | null | null | null | half/python/mutilthread.py | kong5664546498/half_a_wheel | d50c2359ac7dda55f54dd08bb588091eb6232b81 | [
"MIT"
] | null | null | null | from threading import Thread
from hello_world import hello
t = Thread(target=hello, args=("kitty",))
c = Thread(target=hello, args=("kitty",))
t.start()
c.start()
| 20.5 | 41 | 0.713415 | 25 | 164 | 4.64 | 0.48 | 0.206897 | 0.293103 | 0.362069 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115854 | 164 | 7 | 42 | 23.428571 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9fe801332cc30903478f4763357236cbc5b74a91 | 121 | py | Python | app.py | yahya09/liga-badr | 509a35249d7a0d2e068501082e6f8ab3ad45e55a | [
"MIT"
] | null | null | null | app.py | yahya09/liga-badr | 509a35249d7a0d2e068501082e6f8ab3ad45e55a | [
"MIT"
] | null | null | null | app.py | yahya09/liga-badr | 509a35249d7a0d2e068501082e6f8ab3ad45e55a | [
"MIT"
] | null | null | null | import coba
print(coba.addGlobal(5))
print(coba.powerGlobal(2))
print(coba.addGlobal(12345))
print(coba.powerGlobal(-1)) | 20.166667 | 28 | 0.77686 | 18 | 121 | 5.222222 | 0.5 | 0.382979 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 0.049587 | 121 | 6 | 29 | 20.166667 | 0.747826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.8 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
b009258637a67ca5b092238713ad06eca208ef2c | 38 | py | Python | user_interface/__init__.py | DrunkBearEKB/console-hex | fc3499105835379f339fc844b2d4be125438e5ce | [
"Apache-2.0"
] | 1 | 2021-06-02T19:05:59.000Z | 2021-06-02T19:05:59.000Z | user_interface/__init__.py | DrunkBearEKB/console-hex | fc3499105835379f339fc844b2d4be125438e5ce | [
"Apache-2.0"
] | null | null | null | user_interface/__init__.py | DrunkBearEKB/console-hex | fc3499105835379f339fc844b2d4be125438e5ce | [
"Apache-2.0"
] | null | null | null | from user_interface.win import Window
| 19 | 37 | 0.868421 | 6 | 38 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b02ed1b8c61843cbb061dbef658e4bd03b9fbb0f | 39 | py | Python | weibo_api/weibo_login/__init__.py | wdwind/weibo_api | 2ca654f2a216bdf792d2aef7b04ab3da3c734b27 | [
"MIT"
] | 13 | 2019-07-01T02:28:28.000Z | 2022-02-20T02:42:42.000Z | weibo_api/weibo_login/__init__.py | wdwind/weibo_api | 2ca654f2a216bdf792d2aef7b04ab3da3c734b27 | [
"MIT"
] | 3 | 2020-04-11T22:33:13.000Z | 2021-04-30T20:47:20.000Z | weibo_api/weibo_login/__init__.py | wdwind/weibo_api | 2ca654f2a216bdf792d2aef7b04ab3da3c734b27 | [
"MIT"
] | 4 | 2019-08-31T07:32:36.000Z | 2022-02-20T02:42:48.000Z | from .weibo_login import WeiboLoginApi
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 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 |
c6668e86bf770869c38dffbacccdca3db8bad5ed | 163 | py | Python | plpred/models/__init__.py | Christiankun/plpred | a134fafaadc694d22f10806d634efa77213a476d | [
"MIT"
] | 1 | 2021-04-09T19:25:47.000Z | 2021-04-09T19:25:47.000Z | plpred/models/__init__.py | Christiankun/plpred | a134fafaadc694d22f10806d634efa77213a476d | [
"MIT"
] | null | null | null | plpred/models/__init__.py | Christiankun/plpred | a134fafaadc694d22f10806d634efa77213a476d | [
"MIT"
] | null | null | null | from .plpred_rf import PlpredRF
from .plpred_gb import PlpredGB
from .base_model import BaseModel
from .plpred_nn import PlpredNN
from .plpred_svm import PlpredSVM | 32.6 | 33 | 0.852761 | 25 | 163 | 5.36 | 0.56 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116564 | 163 | 5 | 34 | 32.6 | 0.930556 | 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 |
c66f47d41238be4ca674ec0bef3e26cf67bb85fe | 89 | py | Python | tests/cerami/datatype/__init__.py | gummybuns/dorm | e97c0baa42c4bdfb10bbe3b4b859873e3d50aa3a | [
"MIT"
] | null | null | null | tests/cerami/datatype/__init__.py | gummybuns/dorm | e97c0baa42c4bdfb10bbe3b4b859873e3d50aa3a | [
"MIT"
] | null | null | null | tests/cerami/datatype/__init__.py | gummybuns/dorm | e97c0baa42c4bdfb10bbe3b4b859873e3d50aa3a | [
"MIT"
] | null | null | null | from .dynamo_data_type_test import *
from .translator import *
from .expression import *
| 22.25 | 36 | 0.797753 | 12 | 89 | 5.666667 | 0.666667 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 89 | 3 | 37 | 29.666667 | 0.883117 | 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 |
c67fc7874e099b8b52fd1622ebeb2ff85dd8801e | 263 | py | Python | tests/test_integration.py | Yobmod/srimpy | 3071a9d48fb2201810a863fb3d881248b365d2cf | [
"MIT"
] | 1 | 2021-10-16T10:23:57.000Z | 2021-10-16T10:23:57.000Z | tests/test_integration.py | Yobmod/srimpy | 3071a9d48fb2201810a863fb3d881248b365d2cf | [
"MIT"
] | null | null | null | tests/test_integration.py | Yobmod/srimpy | 3071a9d48fb2201810a863fb3d881248b365d2cf | [
"MIT"
] | null | null | null | """ Integration Testing for pysrim #( c)2018
#( c)2018
""" #( c)2018
#( c)2018
import pytest #( c)2018
#( c)2018
from srim.core.target import Target #( c)2018
from srim.core.layer import Layer #( c)2018
from srim.core.element import Element #( c)2018
| 26.3 | 48 | 0.661597 | 42 | 263 | 4.142857 | 0.333333 | 0.258621 | 0.137931 | 0.229885 | 0.408046 | 0.114943 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 0.190114 | 263 | 9 | 49 | 29.222222 | 0.647887 | 0.410646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c6b73f1b0e0a85e0b549ad8c4ef0809032d6e6a0 | 3,010 | py | Python | AutoEncoder/ae_model.py | CsekM8/LVH-THESIS | b0dc60daaf0825ad43951e6895289da4e3ed911b | [
"MIT"
] | null | null | null | AutoEncoder/ae_model.py | CsekM8/LVH-THESIS | b0dc60daaf0825ad43951e6895289da4e3ed911b | [
"MIT"
] | null | null | null | AutoEncoder/ae_model.py | CsekM8/LVH-THESIS | b0dc60daaf0825ad43951e6895289da4e3ed911b | [
"MIT"
] | null | null | null | import torch.nn as nn
class ConvAE(nn.Module):
def __init__(self, variant='A'):
super(ConvAE, self).__init__()
if variant == 'A':
self.encoder = nn.Sequential(
nn.Conv2d(1, 12, 5, padding=2),
nn.ReLU(inplace=True),
nn.Conv2d(12, 6, 3, pad... | 37.160494 | 57 | 0.47907 | 335 | 3,010 | 4.259701 | 0.134328 | 0.123336 | 0.14576 | 0.10021 | 0.83602 | 0.824107 | 0.796076 | 0.773651 | 0.725999 | 0.694464 | 0 | 0.091009 | 0.39402 | 3,010 | 80 | 58 | 37.625 | 0.691338 | 0 | 0 | 0.630137 | 0 | 0 | 0.000997 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027397 | false | 0 | 0.013699 | 0 | 0.068493 | 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 |
af2e789d7fa56fb50e86563d6fbef6b454a4caeb | 14 | py | Python | requirements.py | Kromey/err-nanobot | af07232512b2fc04efb19d5271064decd4c14d08 | [
"MIT"
] | 1 | 2017-07-06T03:21:51.000Z | 2017-07-06T03:21:51.000Z | requirements.py | Kromey/err-nanobot | af07232512b2fc04efb19d5271064decd4c14d08 | [
"MIT"
] | 1 | 2015-11-19T17:36:03.000Z | 2015-11-19T17:36:03.000Z | requirements.py | Kromey/err-nanobot | af07232512b2fc04efb19d5271064decd4c14d08 | [
"MIT"
] | null | null | null | pynano==0.1.1
| 7 | 13 | 0.642857 | 4 | 14 | 2.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.071429 | 14 | 1 | 14 | 14 | 0.461538 | 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 |
a57633172a008d57320dfbd9cf14b1e54232db1b | 165 | py | Python | cytoself/components/layers/norm_mse.py | royerlab/cytoself | 4c3b3a475f020b72540416ecd48198daccdfb2f1 | [
"BSD-3-Clause"
] | 16 | 2021-03-31T12:31:40.000Z | 2022-03-17T16:19:00.000Z | cytoself/components/layers/norm_mse.py | royerlab/cytoself | 4c3b3a475f020b72540416ecd48198daccdfb2f1 | [
"BSD-3-Clause"
] | null | null | null | cytoself/components/layers/norm_mse.py | royerlab/cytoself | 4c3b3a475f020b72540416ecd48198daccdfb2f1 | [
"BSD-3-Clause"
] | null | null | null | from tensorflow.compat.v1.keras.losses import MSE
def normalized_mse(var):
def loss(y_true, y_pred):
return MSE(y_true, y_pred) / var
return loss
| 18.333333 | 49 | 0.69697 | 27 | 165 | 4.074074 | 0.592593 | 0.090909 | 0.109091 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.212121 | 165 | 8 | 50 | 20.625 | 0.838462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a592663ee49a52c64e37dbf24d8775a6fe50307b | 5,421 | py | Python | tests.py | Tauag/SPass | bbaba575d2922930ec4730f68e83adff4ab060ac | [
"MIT"
] | 2 | 2018-04-27T17:52:10.000Z | 2018-04-27T19:36:13.000Z | tests.py | Tauag/SPass | bbaba575d2922930ec4730f68e83adff4ab060ac | [
"MIT"
] | 2 | 2018-04-27T13:56:53.000Z | 2018-04-27T21:46:01.000Z | tests.py | Tauag/SPass | bbaba575d2922930ec4730f68e83adff4ab060ac | [
"MIT"
] | 1 | 2018-04-27T20:55:39.000Z | 2018-04-27T20:55:39.000Z | import unittest
import string
from spass.generators import generate_random_password, generate_passphrase
from spass.exceptions import ParameterError
class TestGenerators(unittest.TestCase):
def test_length(self):
pass_set = generate_random_password()
self.assertEqual(9, len(pass_set['password']), ... | 48.837838 | 124 | 0.693968 | 663 | 5,421 | 5.470588 | 0.137255 | 0.094569 | 0.09512 | 0.086849 | 0.810587 | 0.778605 | 0.718224 | 0.697546 | 0.671078 | 0.618693 | 0 | 0.055158 | 0.200701 | 5,421 | 110 | 125 | 49.281818 | 0.781906 | 0 | 0 | 0.301205 | 1 | 0.072289 | 0.164176 | 0 | 0 | 0 | 0 | 0 | 0.313253 | 1 | 0.084337 | false | 0.626506 | 0.048193 | 0 | 0.144578 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a5ad34e6ea0d935a875772260536808f7e5423ba | 44 | py | Python | tvae/models/__init__.py | khucnam/Efflux_TransVAE | 7da1cc614f016d5520648f4853e34e2362181aa7 | [
"MIT"
] | 43 | 2019-05-15T21:58:56.000Z | 2022-03-06T03:44:26.000Z | tvae/models/__init__.py | khucnam/Efflux_TransVAE | 7da1cc614f016d5520648f4853e34e2362181aa7 | [
"MIT"
] | 1 | 2020-01-11T12:03:00.000Z | 2020-01-11T12:03:00.000Z | tvae/models/__init__.py | khucnam/Efflux_TransVAE | 7da1cc614f016d5520648f4853e34e2362181aa7 | [
"MIT"
] | 6 | 2019-07-24T18:15:41.000Z | 2022-01-13T22:17:58.000Z | from .transformer_vae import TransformerVAE
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c19d9cdc30a17972d1b43936e0248c1edc09a6f | 140 | py | Python | gallery/locale.py | lwairore/gallery | 0ec163675e9e683f82ebfbb32e462c6e86198118 | [
"MIT"
] | 1 | 2020-08-15T11:39:14.000Z | 2020-08-15T11:39:14.000Z | gallery/locale.py | lwairore/django-explore-africa | 0ec163675e9e683f82ebfbb32e462c6e86198118 | [
"MIT"
] | 4 | 2021-03-19T01:22:57.000Z | 2021-09-08T01:03:46.000Z | gallery/locale.py | lwairore/django-explore-africa | 0ec163675e9e683f82ebfbb32e462c6e86198118 | [
"MIT"
] | 1 | 2019-06-17T15:09:00.000Z | 2019-06-17T15:09:00.000Z | import os
BASE_DIR= os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
print('Location of static',os.path.join(BASE_DIR, 'static')) | 46.666667 | 69 | 0.771429 | 24 | 140 | 4.25 | 0.541667 | 0.235294 | 0.254902 | 0.294118 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 140 | 3 | 70 | 46.666667 | 0.766917 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3c26e4745a87825db61fef2ee8fbaf4d96549e9d | 87 | py | Python | models/unet/utils/__init__.py | ustb-ai3d/automatic_inpainting | b50121fcd452f03e5a89e28a8154afa635cc027b | [
"MIT"
] | 2 | 2020-04-21T07:17:01.000Z | 2021-08-02T05:14:54.000Z | models/unet/utils/__init__.py | ustb-ai3d/automatic_inpainting | b50121fcd452f03e5a89e28a8154afa635cc027b | [
"MIT"
] | null | null | null | models/unet/utils/__init__.py | ustb-ai3d/automatic_inpainting | b50121fcd452f03e5a89e28a8154afa635cc027b | [
"MIT"
] | 1 | 2020-07-17T09:22:00.000Z | 2020-07-17T09:22:00.000Z | from .load import *
from .utils import *
from .data_vis import *
from .predict import * | 21.75 | 23 | 0.735632 | 13 | 87 | 4.846154 | 0.538462 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 4 | 24 | 21.75 | 0.875 | 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 |
3c32c0ceceda8195359574885751daa0d0ba36c8 | 64 | py | Python | acq4/modules/TaskRunner/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 47 | 2015-01-05T16:18:10.000Z | 2022-03-16T13:09:30.000Z | acq4/modules/TaskRunner/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 48 | 2015-04-19T16:51:41.000Z | 2022-03-31T14:48:16.000Z | acq4/modules/TaskRunner/__init__.py | sensapex/acq4 | 9561ba73caff42c609bd02270527858433862ad8 | [
"MIT"
] | 32 | 2015-01-15T14:11:49.000Z | 2021-07-15T13:44:52.000Z | from __future__ import print_function
from .TaskRunner import *
| 21.333333 | 37 | 0.84375 | 8 | 64 | 6.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 38 | 32 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
3c449589f89840855b4405837c43a0f5aa2d0967 | 68 | py | Python | vedro/_context.py | iri6e4k0/vedro | dd51c16400993d0fe1fd34bba57edff710ac2638 | [
"Apache-2.0"
] | 2 | 2021-08-24T12:49:30.000Z | 2022-01-23T07:21:25.000Z | vedro/_context.py | iri6e4k0/vedro | dd51c16400993d0fe1fd34bba57edff710ac2638 | [
"Apache-2.0"
] | 20 | 2015-12-09T11:04:23.000Z | 2022-03-20T09:18:17.000Z | vedro/_context.py | iri6e4k0/vedro | dd51c16400993d0fe1fd34bba57edff710ac2638 | [
"Apache-2.0"
] | 3 | 2015-12-09T07:31:23.000Z | 2022-01-28T11:03:24.000Z | from typing import Any
def context(fn: Any) -> Any:
return fn
| 11.333333 | 28 | 0.661765 | 11 | 68 | 4.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 68 | 5 | 29 | 13.6 | 0.882353 | 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 |
3c84b0ad6e9e695bae4b66f49c73036393efb790 | 125 | py | Python | main.py | GuiCardosooo/yolo-gun-detection | 184f2793319a4881ed9db2363dbbfc9fab329b10 | [
"MIT"
] | null | null | null | main.py | GuiCardosooo/yolo-gun-detection | 184f2793319a4881ed9db2363dbbfc9fab329b10 | [
"MIT"
] | null | null | null | main.py | GuiCardosooo/yolo-gun-detection | 184f2793319a4881ed9db2363dbbfc9fab329b10 | [
"MIT"
] | null | null | null | import cfg.config as cfg
import lib.prepare as lpp
# 1 - Baixa base de dados
# 2 - Divide base de dados
lpp.divide_dataset() | 20.833333 | 26 | 0.744 | 23 | 125 | 4 | 0.652174 | 0.130435 | 0.23913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.184 | 125 | 6 | 27 | 20.833333 | 0.882353 | 0.384 | 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 |
b1cfbf0c8516d2af5ad28dafcfa2ba7dc101fb37 | 81 | py | Python | tests/modules/contrib/test_amixer.py | alexsr/bumblebee-status | f8d035c0798621d8f6b33b262aecb42236658bd0 | [
"MIT"
] | null | null | null | tests/modules/contrib/test_amixer.py | alexsr/bumblebee-status | f8d035c0798621d8f6b33b262aecb42236658bd0 | [
"MIT"
] | null | null | null | tests/modules/contrib/test_amixer.py | alexsr/bumblebee-status | f8d035c0798621d8f6b33b262aecb42236658bd0 | [
"MIT"
] | null | null | null | import pytest
def test_load_module():
__import__("modules.contrib.amixer")
| 13.5 | 40 | 0.753086 | 10 | 81 | 5.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 5 | 41 | 16.2 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.275 | 0.275 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b1e17d2f82466a9b2101dcd8faf944f0f5307cee | 111 | py | Python | Solutions/7kyu/7kyu_insert_dashes.py | citrok25/Codewars-1 | dc641c5079e2e8b5955eb027fd15427e5bdb2e26 | [
"MIT"
] | 46 | 2017-08-24T09:27:57.000Z | 2022-02-25T02:24:33.000Z | Solutions/7kyu/7kyu_insert_dashes.py | abbhishek971/Codewars | 9e761811db724da1e8aae44594df42b4ee879a16 | [
"MIT"
] | null | null | null | Solutions/7kyu/7kyu_insert_dashes.py | abbhishek971/Codewars | 9e761811db724da1e8aae44594df42b4ee879a16 | [
"MIT"
] | 35 | 2017-08-01T22:09:48.000Z | 2022-02-18T17:21:37.000Z | import re
def insert_dash(num):
return re.sub('[13579]+', lambda s: '-'.join(list(s.group(0))), str(num))
| 22.2 | 77 | 0.621622 | 19 | 111 | 3.578947 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.135135 | 111 | 4 | 78 | 27.75 | 0.645833 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 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 |
5916b47592f752cb57ec0faf7de65db10fdbafe1 | 149 | py | Python | libvirt_ebs/handlers/__init__.py | elprans/libvirt-ebs | a414711248db21de250d7740af06f8106cee57b8 | [
"Apache-2.0"
] | null | null | null | libvirt_ebs/handlers/__init__.py | elprans/libvirt-ebs | a414711248db21de250d7740af06f8106cee57b8 | [
"Apache-2.0"
] | null | null | null | libvirt_ebs/handlers/__init__.py | elprans/libvirt-ebs | a414711248db21de250d7740af06f8106cee57b8 | [
"Apache-2.0"
] | null | null | null | from ._routing import handle_request as handle_request # NoQA
from . import az # NoQA
from . import instances # NoQA
from . import volumes # NoQA | 37.25 | 62 | 0.751678 | 21 | 149 | 5.190476 | 0.47619 | 0.220183 | 0.385321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194631 | 149 | 4 | 63 | 37.25 | 0.908333 | 0.127517 | 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 |
3cb7ca5ab1b4a32784b741c14790b4a27734d68e | 27 | py | Python | Text_to_Image/StyleGAN2_ada/__init__.py | talha-khalid-qureshi/Image-Captioning | 4fce3efe39319c1eb111b8c4a3ca063a52e8f1bf | [
"Apache-2.0"
] | null | null | null | Text_to_Image/StyleGAN2_ada/__init__.py | talha-khalid-qureshi/Image-Captioning | 4fce3efe39319c1eb111b8c4a3ca063a52e8f1bf | [
"Apache-2.0"
] | null | null | null | Text_to_Image/StyleGAN2_ada/__init__.py | talha-khalid-qureshi/Image-Captioning | 4fce3efe39319c1eb111b8c4a3ca063a52e8f1bf | [
"Apache-2.0"
] | null | null | null | from StyleGAN2_ada import * | 27 | 27 | 0.851852 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.111111 | 27 | 1 | 27 | 27 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5979faeab7725dd7b41ee09b56dfdf0927e1be64 | 62 | py | Python | emojex/main.py | 360macky/emojex | 09d1dca4065924fa499f6c5309eb7c69afb02415 | [
"MIT"
] | 1 | 2021-05-14T15:49:27.000Z | 2021-05-14T15:49:27.000Z | emojex/main.py | 360macky/emojex | 09d1dca4065924fa499f6c5309eb7c69afb02415 | [
"MIT"
] | null | null | null | emojex/main.py | 360macky/emojex | 09d1dca4065924fa499f6c5309eb7c69afb02415 | [
"MIT"
] | null | null | null | import openai
def set_api_key(key):
openai.api_key = key
| 12.4 | 24 | 0.725806 | 11 | 62 | 3.818182 | 0.545455 | 0.285714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 4 | 25 | 15.5 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5987cfc363efe54fcc27bd5a79cf2d13045a2065 | 35 | py | Python | datasets/__init__.py | EagleMIT/m-i-d | 943c9dc3c411fd0392ebca7b0c52a7bc4561503f | [
"MIT"
] | 19 | 2021-07-27T06:08:39.000Z | 2022-03-18T07:31:44.000Z | datasets/__init__.py | EagleMIT/mid | 943c9dc3c411fd0392ebca7b0c52a7bc4561503f | [
"MIT"
] | 3 | 2021-09-07T13:20:05.000Z | 2021-10-11T01:51:29.000Z | datasets/__init__.py | EagleMIT/mid | 943c9dc3c411fd0392ebca7b0c52a7bc4561503f | [
"MIT"
] | 4 | 2021-07-27T06:20:32.000Z | 2021-08-29T04:28:18.000Z | from .midataset import SliceDataset | 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 |
59a25cb3b22c47830c8e6d709ef537e3d40bcc90 | 45 | py | Python | enthought/traits/ui/helper.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/ui/helper.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/ui/helper.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traitsui.helper import *
| 15 | 29 | 0.777778 | 6 | 45 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 30 | 22.5 | 0.921053 | 0.266667 | 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 |
abbc23bd75d072c3314df0446c6e069b6faa861b | 171 | py | Python | apps/certificate/admin.py | LizanLycan/CertsGen | 2e18d8ddea6adf90805face16cbb8f8fa06989c3 | [
"MIT"
] | null | null | null | apps/certificate/admin.py | LizanLycan/CertsGen | 2e18d8ddea6adf90805face16cbb8f8fa06989c3 | [
"MIT"
] | 1 | 2020-02-04T01:56:42.000Z | 2020-02-04T01:56:42.000Z | apps/certificate/admin.py | LizanLycan/CertsGen | 2e18d8ddea6adf90805face16cbb8f8fa06989c3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Certificate
class CertificateAdmin(admin.ModelAdmin):
pass
admin.site.register(Certificate, CertificateAdmin)
| 17.1 | 50 | 0.812865 | 19 | 171 | 7.315789 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 171 | 9 | 51 | 19 | 0.926667 | 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 |
e61f03351c81978fb25204707fa849c17e42478c | 5,773 | py | Python | Ionburst/ionburst.py | ionburstcloud/ionburst-sdk-python | c5544bc26558aa2916186dcd0f0ea389234b9e28 | [
"Apache-2.0"
] | 3 | 2021-06-23T10:58:59.000Z | 2021-07-01T18:27:51.000Z | Ionburst/ionburst.py | ionburstcloud/ionburst-sdk-python | c5544bc26558aa2916186dcd0f0ea389234b9e28 | [
"Apache-2.0"
] | null | null | null | Ionburst/ionburst.py | ionburstcloud/ionburst-sdk-python | c5544bc26558aa2916186dcd0f0ea389234b9e28 | [
"Apache-2.0"
] | 1 | 2021-07-15T04:42:08.000Z | 2021-07-15T04:42:08.000Z | from .settings import Settings
from .apiHandler import APIHandler
class Ionburst:
def __init__(self, server_url = None):
self.settings = Settings(server_url)
self.__apihandler = APIHandler(self.settings)
def __check_token(self):
if not self.settings.ionburst_id:
raise ... | 40.090278 | 101 | 0.602113 | 672 | 5,773 | 4.991071 | 0.104167 | 0.080501 | 0.116279 | 0.071556 | 0.832737 | 0.813953 | 0.792188 | 0.792188 | 0.751342 | 0.64997 | 0 | 0.011558 | 0.280617 | 5,773 | 144 | 102 | 40.090278 | 0.796051 | 0 | 0 | 0.671875 | 0 | 0 | 0.118289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117188 | false | 0 | 0.015625 | 0 | 0.242188 | 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 |
e62ceeafa9f3a192093612680d0c268104d29a1d | 25 | py | Python | test_files_copy/file_2.py | A-Wei/multiprocess_copy_folder | de62c616bd5ac48a64aef2fea360951c443839ac | [
"MIT"
] | null | null | null | test_files_copy/file_2.py | A-Wei/multiprocess_copy_folder | de62c616bd5ac48a64aef2fea360951c443839ac | [
"MIT"
] | null | null | null | test_files_copy/file_2.py | A-Wei/multiprocess_copy_folder | de62c616bd5ac48a64aef2fea360951c443839ac | [
"MIT"
] | null | null | null | # Some comments
import os | 12.5 | 15 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 2 | 16 | 12.5 | 0.952381 | 0.52 | 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 |
e63e5f8fb1afd9440a0969d0c412dc63659cb387 | 53 | py | Python | learn/__init__.py | starrysky9959/digital-recognition | a81c3fab5415cd037d362354116202d76006b755 | [
"MIT"
] | null | null | null | learn/__init__.py | starrysky9959/digital-recognition | a81c3fab5415cd037d362354116202d76006b755 | [
"MIT"
] | null | null | null | learn/__init__.py | starrysky9959/digital-recognition | a81c3fab5415cd037d362354116202d76006b755 | [
"MIT"
] | null | null | null | import learn.mymodel
from learn.mymodel import trans | 26.5 | 31 | 0.849057 | 8 | 53 | 5.625 | 0.625 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 53 | 2 | 31 | 26.5 | 0.957447 | 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 |
050fe0e2db0d86deb4eeb2760ae579b4c0b6b006 | 11,675 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_global.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 69 | 2021-12-16T01:34:09.000Z | 2022-03-31T08:27:39.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_global.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_global.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 21 | 2021-12-20T09:05:45.000Z | 2022-03-28T02:52:28.000Z | from pyradioconfig.parts.bobcat.calculators.calc_global import Calc_Global_Bobcat
from pycalcmodel.core.variable import ModelVariableFormat
from py_2_and_3_compatibility import *
class Calc_Global_Viper(Calc_Global_Bobcat):
def buildVariables(self, model):
# Build variables from the Ocelot cal... | 88.44697 | 111 | 0.75863 | 1,042 | 11,675 | 8.373321 | 0.170825 | 0.272321 | 0.30659 | 0.345673 | 0.796103 | 0.787049 | 0.782579 | 0.766418 | 0 | 0 | 0 | 0.03094 | 0.136274 | 11,675 | 131 | 112 | 89.122137 | 0.834292 | 0.003769 | 0 | 0 | 0 | 0 | 0.268983 | 0.254794 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0 | 0.025424 | 0 | 0.067797 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
058b5ca0c374af1e36cfbbaa49ba541aca6fde3d | 96 | py | Python | venv/lib/python3.8/site-packages/setuptools/command/bdist_egg.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/setuptools/command/bdist_egg.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/setuptools/command/bdist_egg.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/fa/ea/62/07a7c5b66f1c412423d4b4435691b5f93d78dc3b170af5747e1d37bbb5 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
554a76df40e86a905ec7beb050e88706b55abee9 | 29 | py | Python | main.py | frimik/slack_status | 2bf713cc69e227dad2e835b5c7d85ea2da9d6d92 | [
"MIT"
] | null | null | null | main.py | frimik/slack_status | 2bf713cc69e227dad2e835b5c7d85ea2da9d6d92 | [
"MIT"
] | null | null | null | main.py | frimik/slack_status | 2bf713cc69e227dad2e835b5c7d85ea2da9d6d92 | [
"MIT"
] | null | null | null | from slack_status import app
| 14.5 | 28 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55506f33557db0709d5ab33afde8c76d3c5f3913 | 208 | py | Python | run_services.py | ojlangnes/digital_impersonator | cf2fa9cb9cfd78e1f2978ec7cfcebde3ef804d8b | [
"MIT"
] | null | null | null | run_services.py | ojlangnes/digital_impersonator | cf2fa9cb9cfd78e1f2978ec7cfcebde3ef804d8b | [
"MIT"
] | null | null | null | run_services.py | ojlangnes/digital_impersonator | cf2fa9cb9cfd78e1f2978ec7cfcebde3ef804d8b | [
"MIT"
] | null | null | null | from sys import executable
from subprocess import Popen
Popen([executable, "front_end_worker.py"])
Popen([executable, "back_end_worker.py"])
Popen([executable, "front_end.py"])
input("Press ENTER to exit.") | 26 | 42 | 0.769231 | 30 | 208 | 5.166667 | 0.533333 | 0.290323 | 0.258065 | 0.296774 | 0.335484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091346 | 208 | 8 | 43 | 26 | 0.820106 | 0 | 0 | 0 | 0 | 0 | 0.330144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
55aced861b5b51526e1b1f28379879d8801d5061 | 165 | py | Python | teme/admin.py | MDS-PBSCB/teme | f750713801246bda523d372d3c953b3c2bed2e6c | [
"MIT"
] | null | null | null | teme/admin.py | MDS-PBSCB/teme | f750713801246bda523d372d3c953b3c2bed2e6c | [
"MIT"
] | null | null | null | teme/admin.py | MDS-PBSCB/teme | f750713801246bda523d372d3c953b3c2bed2e6c | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Teacher, Course, Rating
admin.site.register(Teacher)
admin.site.register(Course)
admin.site.register(Rating)
| 18.333333 | 43 | 0.806061 | 23 | 165 | 5.782609 | 0.478261 | 0.203008 | 0.383459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09697 | 165 | 8 | 44 | 20.625 | 0.892617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e94fa3b4c36b58eef80105ba4526cf6de42b78a3 | 49 | py | Python | sharetempus/__init__.py | ShareTempus/sharetempus-python | 3e6285d013c00f0f466a03f5d2b8be45946d731a | [
"MIT"
] | 1 | 2020-05-12T18:08:54.000Z | 2020-05-12T18:08:54.000Z | sharetempus/__init__.py | ShareTempus/sharetempus-python | 3e6285d013c00f0f466a03f5d2b8be45946d731a | [
"MIT"
] | null | null | null | sharetempus/__init__.py | ShareTempus/sharetempus-python | 3e6285d013c00f0f466a03f5d2b8be45946d731a | [
"MIT"
] | null | null | null | from sharetempus.ShareTempus import ShareTempus;
| 24.5 | 48 | 0.877551 | 5 | 49 | 8.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.955556 | 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 |
e97ca67456f764501fac6fcb37278561294ca11b | 6,191 | py | Python | imcsdk/mometa/memory/MemoryPersistentMemoryLogicalConfiguration.py | ecoen66/imcsdk | b10eaa926a5ee57cea7182ae0adc8dd1c818b0ab | [
"Apache-2.0"
] | 31 | 2016-06-14T07:23:59.000Z | 2021-09-12T17:17:26.000Z | imcsdk/mometa/memory/MemoryPersistentMemoryLogicalConfiguration.py | sthagen/imcsdk | 1831eaecb5960ca03a8624b1579521749762b932 | [
"Apache-2.0"
] | 109 | 2016-05-25T03:56:56.000Z | 2021-10-18T02:58:12.000Z | imcsdk/mometa/memory/MemoryPersistentMemoryLogicalConfiguration.py | sthagen/imcsdk | 1831eaecb5960ca03a8624b1579521749762b932 | [
"Apache-2.0"
] | 67 | 2016-05-17T05:53:56.000Z | 2022-03-24T15:52:53.000Z | """This module contains the general information for MemoryPersistentMemoryLogicalConfiguration ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class MemoryPersistentMemoryLogicalConfigurationConsts:
ADMIN_ACTION_DISABLE_SEC... | 60.696078 | 384 | 0.667259 | 569 | 6,191 | 7.047452 | 0.186292 | 0.04389 | 0.111721 | 0.167581 | 0.723441 | 0.714464 | 0.706733 | 0.705736 | 0.705736 | 0.700249 | 0 | 0.022973 | 0.177354 | 6,191 | 101 | 385 | 61.29703 | 0.764382 | 0.02649 | 0 | 0.4 | 0 | 0 | 0.312552 | 0.085619 | 0 | 0 | 0.009643 | 0 | 0 | 1 | 0.0125 | false | 0.0375 | 0.0375 | 0 | 0.3375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e994af040d1b678cef489263880d7232bdd9b630 | 69,486 | py | Python | test/ibm_qiskit/circuit/TestQiskitQuantumCircuit.py | rubenandrebarreiro/semi-quantum-conference-key-agreement-prototype | adefc5a43e4fb1c2b7926af5da93e346f96497c0 | [
"MIT"
] | null | null | null | test/ibm_qiskit/circuit/TestQiskitQuantumCircuit.py | rubenandrebarreiro/semi-quantum-conference-key-agreement-prototype | adefc5a43e4fb1c2b7926af5da93e346f96497c0 | [
"MIT"
] | null | null | null | test/ibm_qiskit/circuit/TestQiskitQuantumCircuit.py | rubenandrebarreiro/semi-quantum-conference-key-agreement-prototype | adefc5a43e4fb1c2b7926af5da93e346f96497c0 | [
"MIT"
] | null | null | null | """
Semi-Quantum Conference Key Agreement (SQCKA)
Author:
- Ruben Andre Barreiro (r.barreiro@campus.fct.unl.pt)
Supervisors:
- Andre Nuno Souto (ansouto@fc.ul.pt)
- Antonio Maria Ravara (aravara@fct.unl.pt)
Acknowledgments:
- Paulo Alexandre Mateus (pmat@math.ist.utl.pt)
"""
# Import Packages and Libraries
# Impor... | 55.767255 | 119 | 0.674035 | 9,162 | 69,486 | 4.892163 | 0.027505 | 0.074651 | 0.044621 | 0.048726 | 0.877962 | 0.869751 | 0.834412 | 0.820289 | 0.790549 | 0.764111 | 0 | 0.020276 | 0.260412 | 69,486 | 1,245 | 120 | 55.812048 | 0.847152 | 0.400714 | 0 | 0.404762 | 0 | 0 | 0.034309 | 0.013267 | 0 | 0 | 0 | 0 | 0.105159 | 1 | 0.051587 | false | 0 | 0.013889 | 0 | 0.081349 | 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 |
758adba3eff4379f74d281f36b829216f6f577d7 | 186 | py | Python | blog/app/controller/admin/__init__.py | henrY2Young/flask-jwt | f1c47efee7fd7f271c02172371c2d9cec8adde5d | [
"MIT"
] | null | null | null | blog/app/controller/admin/__init__.py | henrY2Young/flask-jwt | f1c47efee7fd7f271c02172371c2d9cec8adde5d | [
"MIT"
] | null | null | null | blog/app/controller/admin/__init__.py | henrY2Young/flask-jwt | f1c47efee7fd7f271c02172371c2d9cec8adde5d | [
"MIT"
] | null | null | null | from flask import Flask
from flask import Blueprint
app = Flask(__name__)
admin = Blueprint('admin', __name__)
user = Blueprint('user', __name__)
from .admin import *
from .user import * | 26.571429 | 36 | 0.758065 | 25 | 186 | 5.16 | 0.32 | 0.139535 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 186 | 7 | 37 | 26.571429 | 0.80625 | 0 | 0 | 0 | 0 | 0 | 0.048128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0.428571 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
f949d8f8f13e86557fd1fac026095a88589af0da | 76 | py | Python | p2pfs/__init__.py | yxwangcs/p2pfs | 57e90d8f911de36da70f5977822cde609d1c3561 | [
"MIT"
] | 2 | 2020-07-02T12:09:19.000Z | 2020-08-26T15:48:15.000Z | p2pfs/__init__.py | RyanWangGit/p2pfs | adcbf999010289e46c041aecc9af5c734c6de25e | [
"MIT"
] | null | null | null | p2pfs/__init__.py | RyanWangGit/p2pfs | adcbf999010289e46c041aecc9af5c734c6de25e | [
"MIT"
] | 2 | 2020-07-19T04:15:53.000Z | 2021-01-16T20:31:48.000Z | from p2pfs.core import *
from p2pfs.ui import PeerTerminal, TrackerTerminal
| 25.333333 | 50 | 0.828947 | 10 | 76 | 6.3 | 0.7 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.118421 | 76 | 2 | 51 | 38 | 0.910448 | 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 |
ddc1f52b5cc0bf4b3c8a1c58078521f9458dff58 | 100 | py | Python | terrascript/packet/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/packet/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/packet/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/packet/__init__.py
import terrascript
class packet(terrascript.Provider):
pass
| 12.5 | 35 | 0.78 | 11 | 100 | 6.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 100 | 7 | 36 | 14.285714 | 0.860465 | 0.3 | 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 |
ddd443f5c797846a41f52199f95e41748d41bf04 | 43 | py | Python | gym_DC/envs/__init__.py | Saeid-Rezaei-projects/Gym-DC | 58124e79e17a4f537a4a16c67808b7fff76be4c6 | [
"MIT"
] | null | null | null | gym_DC/envs/__init__.py | Saeid-Rezaei-projects/Gym-DC | 58124e79e17a4f537a4a16c67808b7fff76be4c6 | [
"MIT"
] | null | null | null | gym_DC/envs/__init__.py | Saeid-Rezaei-projects/Gym-DC | 58124e79e17a4f537a4a16c67808b7fff76be4c6 | [
"MIT"
] | null | null | null | from gym_DC.envs.DCgym_Env import DCGymEnv
| 21.5 | 42 | 0.860465 | 8 | 43 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34b9e84cfe0060986816a172e20a835bbc5dd258 | 215 | py | Python | jsonresume/exceptions.py | kelvintaywl/jsonresume-validator | 73ac162cb30ca70699c942def629188f7dfd4d3c | [
"MIT"
] | 42 | 2016-06-03T18:17:24.000Z | 2021-12-09T04:13:14.000Z | jsonresume/exceptions.py | kelvintaywl/jsonresume-validator | 73ac162cb30ca70699c942def629188f7dfd4d3c | [
"MIT"
] | 3 | 2016-04-27T12:32:41.000Z | 2020-09-29T16:43:35.000Z | jsonresume/exceptions.py | kelvintaywl/jsonresume-validator | 73ac162cb30ca70699c942def629188f7dfd4d3c | [
"MIT"
] | 9 | 2016-05-08T15:31:53.000Z | 2021-04-28T09:17:47.000Z | # -*- coding: utf-8 -*-
import colander
class InvalidResumeError(colander.Invalid):
"""Exception when a JSON resume (as python object) has invalid schema.
Subclass of colander.Invalid.
"""
pass
| 17.916667 | 74 | 0.674419 | 25 | 215 | 5.8 | 0.84 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.213953 | 215 | 11 | 75 | 19.545455 | 0.852071 | 0.572093 | 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 | 1 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
9b37db811e6bb60c829230acc03bbdeb31510d4d | 135 | py | Python | 30-webpage/apptest/vue_app/views.py | AppTestBot/AppTestBot | 035e93e662753e50d7dcc38d6fd362933186983b | [
"Apache-2.0"
] | null | null | null | 30-webpage/apptest/vue_app/views.py | AppTestBot/AppTestBot | 035e93e662753e50d7dcc38d6fd362933186983b | [
"Apache-2.0"
] | null | null | null | 30-webpage/apptest/vue_app/views.py | AppTestBot/AppTestBot | 035e93e662753e50d7dcc38d6fd362933186983b | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def test_vue(request):
return render(request, 'vue_app/index.html')
| 22.5 | 48 | 0.762963 | 20 | 135 | 5.05 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140741 | 135 | 5 | 49 | 27 | 0.87069 | 0.17037 | 0 | 0 | 0 | 0 | 0.163636 | 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 |
9b3a8a0ec45d224e54fcf75398f8b8b1308c34db | 22 | py | Python | whatsapp_api_service/__init__.py | em230418/whatsapp-api-service | 6792cea86e1f76bfa68b526582391b8a685fa2c7 | [
"MIT"
] | null | null | null | whatsapp_api_service/__init__.py | em230418/whatsapp-api-service | 6792cea86e1f76bfa68b526582391b8a685fa2c7 | [
"MIT"
] | null | null | null | whatsapp_api_service/__init__.py | em230418/whatsapp-api-service | 6792cea86e1f76bfa68b526582391b8a685fa2c7 | [
"MIT"
] | 1 | 2022-01-21T13:13:27.000Z | 2022-01-21T13:13:27.000Z | from .base import app
| 11 | 21 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32ca356344d3b9131316284a815367005ce12b0a | 279 | py | Python | tests/test_cat.py | mloskot/python-package | 4b24c22811052492d3af9d2f7d1ffa8f6ae8b412 | [
"Unlicense"
] | null | null | null | tests/test_cat.py | mloskot/python-package | 4b24c22811052492d3af9d2f7d1ffa8f6ae8b412 | [
"Unlicense"
] | null | null | null | tests/test_cat.py | mloskot/python-package | 4b24c22811052492d3af9d2f7d1ffa8f6ae8b412 | [
"Unlicense"
] | null | null | null | def test_noise():
import pets.cat.noise
assert pets.cat.noise.make() == 'meow!'
def test_noise_from_cat():
from pets import cat
assert cat.noise.make() == 'meow!'
def test_noise_from_pets_cat():
from pets.cat import noise
assert noise.make() == 'meow!'
| 23.25 | 43 | 0.666667 | 42 | 279 | 4.238095 | 0.238095 | 0.157303 | 0.202247 | 0.179775 | 0.359551 | 0.359551 | 0.359551 | 0.359551 | 0 | 0 | 0 | 0 | 0.193548 | 279 | 11 | 44 | 25.363636 | 0.791111 | 0 | 0 | 0 | 0 | 0 | 0.053763 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd107a5e926be2f15c8dbd8610cd275f5b315b19 | 48,154 | py | Python | deploy/adapters/ansible/roles/moon/files/controllers.py | wtwde/compass-docker-osa-ocata | af14c185b70125740ea4801981085c740bf98ae0 | [
"Apache-2.0"
] | null | null | null | deploy/adapters/ansible/roles/moon/files/controllers.py | wtwde/compass-docker-osa-ocata | af14c185b70125740ea4801981085c740bf98ae0 | [
"Apache-2.0"
] | null | null | null | deploy/adapters/ansible/roles/moon/files/controllers.py | wtwde/compass-docker-osa-ocata | af14c185b70125740ea4801981085c740bf98ae0 | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 Open Platform for NFV Project, Inc. and its contributors
# This software is distributed under the terms and conditions of the
# 'Apache-2.0' license which can be found in the file 'LICENSE' in this
# package distribution or at 'http://www.apache.org/licenses/LICENSE-2.0'.
from keystone.common import c... | 45.300094 | 107 | 0.669809 | 6,274 | 48,154 | 4.707683 | 0.034428 | 0.127505 | 0.112134 | 0.084101 | 0.86833 | 0.819982 | 0.78748 | 0.75369 | 0.735712 | 0.71743 | 0 | 0.001893 | 0.221311 | 48,154 | 1,062 | 108 | 45.34275 | 0.785796 | 0.037671 | 0 | 0.574777 | 0 | 0 | 0.142814 | 0.032414 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109375 | false | 0.00558 | 0.008929 | 0 | 0.217634 | 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 |
fd17fbfa4c9bc601605c850fd05b64b4b7b00bd8 | 20,316 | py | Python | processing/calssification-fusion.py | gurkirt/actNet-inAct | 1930bcb41553e50ddd83985a497a9d5ce4f1fcf2 | [
"MIT"
] | 27 | 2016-05-04T07:13:05.000Z | 2021-12-05T04:45:45.000Z | processing/calssification-fusion.py | gurkirt/actNet-inAct | 1930bcb41553e50ddd83985a497a9d5ce4f1fcf2 | [
"MIT"
] | 1 | 2017-12-28T08:29:00.000Z | 2017-12-28T08:29:00.000Z | processing/calssification-fusion.py | gurkirt/actNet-inAct | 1930bcb41553e50ddd83985a497a9d5ce4f1fcf2 | [
"MIT"
] | 12 | 2016-05-15T21:40:06.000Z | 2019-11-27T09:43:55.000Z | '''
Autor: Gurkirt Singh
Start data: 15th May 2016
purpose: of this file is read frame level predictions and process them to produce a label per video
'''
from sklearn.svm import LinearSVC,SVC
from sklearn.ensemble import RandomForestClassifier
import numpy as np
import pickle
import os,h5py
import time,json
#import p... | 35.767606 | 243 | 0.532191 | 2,256 | 20,316 | 4.784574 | 0.118351 | 0.012044 | 0.028164 | 0.024458 | 0.764314 | 0.744673 | 0.722624 | 0.712896 | 0.706967 | 0.700852 | 0 | 0.023727 | 0.292577 | 20,316 | 567 | 244 | 35.830688 | 0.727317 | 0.12596 | 0 | 0.665803 | 0 | 0.005181 | 0.116229 | 0.037991 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.015544 | null | null | 0.041451 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd401a9f6126a85fdc3acd2797b86bfde3d81a7e | 111 | py | Python | orb_simulator/orbsim_language/orbsim_ast/stop_sim_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 1 | 2022-01-19T22:49:09.000Z | 2022-01-19T22:49:09.000Z | orb_simulator/orbsim_language/orbsim_ast/stop_sim_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 15 | 2021-11-10T14:25:02.000Z | 2022-02-12T19:17:11.000Z | orb_simulator/orbsim_language/orbsim_ast/stop_sim_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | null | null | null | from orbsim_language.orbsim_ast.statement_node import StatementNode
class StopSimNode(StatementNode):
pass | 27.75 | 67 | 0.855856 | 13 | 111 | 7.076923 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099099 | 111 | 4 | 68 | 27.75 | 0.92 | 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 |
fd5ffd243fed4a807727d79e8870e953082b8338 | 171 | py | Python | ovm/utils/compat23/__init__.py | lightcode/OVM | 3c6c3528ef851f65d4bd75cafb8738c54fba7b6f | [
"MIT"
] | 1 | 2018-03-20T14:54:10.000Z | 2018-03-20T14:54:10.000Z | ovm/utils/compat23/__init__.py | lightcode/OVM | 3c6c3528ef851f65d4bd75cafb8738c54fba7b6f | [
"MIT"
] | null | null | null | ovm/utils/compat23/__init__.py | lightcode/OVM | 3c6c3528ef851f65d4bd75cafb8738c54fba7b6f | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from ovm.utils.compat23.with_popen import Popen
from ovm.utils.compat23.etree import etree
__all__ = ['Popen', 'etree']
| 17.1 | 47 | 0.701754 | 25 | 171 | 4.6 | 0.64 | 0.121739 | 0.208696 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.134503 | 171 | 9 | 48 | 19 | 0.736486 | 0.251462 | 0 | 0 | 0 | 0 | 0.079365 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5e1cb419bda79854213d848aeaff1048d037cac | 140 | py | Python | tests/basics/bytearray_decode.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | tests/basics/bytearray_decode.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | tests/basics/bytearray_decode.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | try:
print(bytearray(b'').decode())
print(bytearray(b'abc').decode())
except AttributeError:
print("SKIP")
raise SystemExit
| 20 | 37 | 0.657143 | 16 | 140 | 5.75 | 0.6875 | 0.304348 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 140 | 6 | 38 | 23.333333 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
bd0551b1483aa6e1a5d31afcd1893e239690d37c | 48 | py | Python | platform/bq/third_party/inflection/__init__.py | google-cloud-sdk-unofficial/google-cloud-sdk | 2a48a04df14be46c8745050f98768e30474a1aac | [
"Apache-2.0"
] | 2 | 2019-11-10T09:17:07.000Z | 2019-12-18T13:44:08.000Z | platform/bq/third_party/inflection/__init__.py | google-cloud-sdk-unofficial/google-cloud-sdk | 2a48a04df14be46c8745050f98768e30474a1aac | [
"Apache-2.0"
] | null | null | null | platform/bq/third_party/inflection/__init__.py | google-cloud-sdk-unofficial/google-cloud-sdk | 2a48a04df14be46c8745050f98768e30474a1aac | [
"Apache-2.0"
] | 1 | 2020-07-25T01:40:19.000Z | 2020-07-25T01:40:19.000Z | #!/usr/bin/env python
from .inflection import *
| 16 | 25 | 0.729167 | 7 | 48 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 2 | 26 | 24 | 0.833333 | 0.416667 | 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 |
1fefc92fec9274173e1160ecb53131a0d3ef84a5 | 32 | py | Python | filament/locking.py | comstud/filament | be6dbd6bf76dbcb0655c7fae239333d64ee8bb5f | [
"MIT"
] | 2 | 2017-03-08T20:29:52.000Z | 2019-05-15T20:15:42.000Z | filament/locking.py | comstud/filament | be6dbd6bf76dbcb0655c7fae239333d64ee8bb5f | [
"MIT"
] | null | null | null | filament/locking.py | comstud/filament | be6dbd6bf76dbcb0655c7fae239333d64ee8bb5f | [
"MIT"
] | null | null | null | from _filament.locking import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9527f61be2d1e19cb598533e897794282480fa9b | 9,081 | py | Python | tests/brainload/test_braindescriptors.py | dfsp-spirit/cogload | ff9d19803c2e0c9aea248a45380959c2758ba83a | [
"MIT"
] | 8 | 2018-11-11T11:41:19.000Z | 2022-02-09T10:50:34.000Z | tests/brainload/test_braindescriptors.py | dfsp-spirit/cogload | ff9d19803c2e0c9aea248a45380959c2758ba83a | [
"MIT"
] | 8 | 2018-11-05T10:11:09.000Z | 2019-11-05T20:34:19.000Z | tests/brainload/test_braindescriptors.py | dfsp-spirit/cogload | ff9d19803c2e0c9aea248a45380959c2758ba83a | [
"MIT"
] | 1 | 2020-07-20T06:43:57.000Z | 2020-07-20T06:43:57.000Z | import os
import pytest
import numpy as np
from numpy.testing import assert_array_equal, assert_allclose
import brainload as bl
import brainload.freesurferdata as fsd
import brainload.braindescriptors as bd
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
TEST_DATA_DIR = os.path.join(THIS_DIR, os.pardir, 'test_d... | 57.474684 | 201 | 0.755203 | 1,337 | 9,081 | 4.812266 | 0.103216 | 0.082064 | 0.134287 | 0.151072 | 0.827479 | 0.80572 | 0.788778 | 0.777432 | 0.751166 | 0.737022 | 0 | 0.015954 | 0.13721 | 9,081 | 157 | 202 | 57.840764 | 0.805233 | 0.011012 | 0 | 0.646154 | 0 | 0.092308 | 0.255596 | 0.048001 | 0 | 0 | 0 | 0 | 0.215385 | 1 | 0.092308 | false | 0 | 0.053846 | 0 | 0.146154 | 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 |
95310012f871b8978aa95e6de4f314ac1a3cf95d | 73 | py | Python | jacdac/gyroscope/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/gyroscope/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/gyroscope/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import GyroscopeClient # type: ignore
| 24.333333 | 50 | 0.794521 | 8 | 73 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 2 | 51 | 36.5 | 0.920635 | 0.438356 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20fd5e0318d05107cbfe2ceb26e741c7fd70d53e | 33 | py | Python | deanslist/__init__.py | upeducationnetwork/deanslist-python | 226eda2580055427119397bc28e7976f019d7301 | [
"MIT"
] | null | null | null | deanslist/__init__.py | upeducationnetwork/deanslist-python | 226eda2580055427119397bc28e7976f019d7301 | [
"MIT"
] | 2 | 2016-05-16T19:54:26.000Z | 2016-05-20T12:02:20.000Z | deanslist/__init__.py | upeducationnetwork/deanslist-python | 226eda2580055427119397bc28e7976f019d7301 | [
"MIT"
] | null | null | null | from .deanslist import dl, dlall
| 16.5 | 32 | 0.787879 | 5 | 33 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.928571 | 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 |
1f1c111dfb17991d6534f57dfea9c5be22c90642 | 17,955 | py | Python | tests/test_extract_fragments.py | phenylazide/MolecularSimilarity | 429f64c3c18daa5d341110380f761aa003ad290b | [
"MIT"
] | 1 | 2020-09-14T16:01:50.000Z | 2020-09-14T16:01:50.000Z | tests/test_extract_fragments.py | phenylazide/MolecularSimilarity | 429f64c3c18daa5d341110380f761aa003ad290b | [
"MIT"
] | 5 | 2019-04-20T06:23:01.000Z | 2019-07-25T17:28:05.000Z | tests/test_extract_fragments.py | phenylazide/MolecularSimilarity | 429f64c3c18daa5d341110380f761aa003ad290b | [
"MIT"
] | 1 | 2020-07-07T14:55:14.000Z | 2020-07-07T14:55:14.000Z | #!/usr/bin/env python3
import unittest
import rdkit
import rdkit.Chem
import rdkit.Chem.AtomPairs.Utils
import extract_fragments
class TestCalc(unittest.TestCase):
def test_atom_pairs(self):
molecule = rdkit.Chem.MolFromSmiles("c1ccccn1")
result = [{"smiles": "CC", "index": 2509202, "type": "AP... | 57 | 115 | 0.482373 | 1,944 | 17,955 | 4.416667 | 0.085391 | 0.023993 | 0.062893 | 0.012113 | 0.854647 | 0.822735 | 0.787911 | 0.73515 | 0.710109 | 0.662124 | 0 | 0.134575 | 0.285269 | 17,955 | 314 | 116 | 57.181529 | 0.534481 | 0.001671 | 0 | 0.588679 | 0 | 0.003774 | 0.255957 | 0.001283 | 0 | 0 | 0 | 0 | 0.075472 | 1 | 0.011321 | false | 0 | 0.018868 | 0 | 0.033962 | 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 |
1f215fc68a5e08bb449a230f4e6f0374bb2d8e4e | 1,413 | py | Python | sane/dataset/__init__.py | AndreyBuyanov/Neuro-Evolutionary-Calculations | af6c06890a869a768ab6929f7d2ba6f12fb1b81a | [
"MIT"
] | null | null | null | sane/dataset/__init__.py | AndreyBuyanov/Neuro-Evolutionary-Calculations | af6c06890a869a768ab6929f7d2ba6f12fb1b81a | [
"MIT"
] | null | null | null | sane/dataset/__init__.py | AndreyBuyanov/Neuro-Evolutionary-Calculations | af6c06890a869a768ab6929f7d2ba6f12fb1b81a | [
"MIT"
] | null | null | null | from .dataset_loader import Cancer1Dataset
from .dataset_loader import Cancer2Dataset
from .dataset_loader import Cancer3Dataset
from .dataset_loader import Diabetes1Dataset
from .dataset_loader import Diabetes2Dataset
from .dataset_loader import Diabetes3Dataset
from .dataset_loader import Glass1Dataset
from .dataset_... | 41.558824 | 44 | 0.883227 | 165 | 1,413 | 7.363636 | 0.224242 | 0.298765 | 0.461728 | 0.624691 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025761 | 0.093418 | 1,413 | 33 | 45 | 42.818182 | 0.922717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2f3acf1de589e82fbac9f59cd6bffd9bf4046433 | 42 | py | Python | ptb/monitor_utils/.ipynb_checkpoints/__init__-checkpoint.py | minhtannguyen/MomentumRNN | f185c5432a52533bb1625e2162ec044651e07d9a | [
"CC0-1.0"
] | 13 | 2020-06-16T16:15:55.000Z | 2021-11-24T05:24:48.000Z | mnist-timit/utils/__init__.py | minhtannguyen/MomentumRNN | f185c5432a52533bb1625e2162ec044651e07d9a | [
"CC0-1.0"
] | 2 | 2020-12-07T08:26:01.000Z | 2020-12-26T13:01:53.000Z | mnist-timit/utils/__init__.py | minhtannguyen/MomentumRNN | f185c5432a52533bb1625e2162ec044651e07d9a | [
"CC0-1.0"
] | 5 | 2020-06-11T16:13:23.000Z | 2022-03-07T14:28:46.000Z | """Useful utils
"""
from .logger import *
| 10.5 | 21 | 0.642857 | 5 | 42 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 3 | 22 | 14 | 0.771429 | 0.285714 | 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 |
2f4567b146067ec96c0feb23f68a7bf99f74f299 | 194 | py | Python | custom_app/outpatient/doctype/outpatient_record/outpatient_record.py | benson-tseng/frappe_custom | c7830b1610c7c5a71e81d75f790410b919b2fbf2 | [
"MIT"
] | 1 | 2021-09-02T12:44:22.000Z | 2021-09-02T12:44:22.000Z | custom_app/outpatient/doctype/outpatient_record/outpatient_record.py | benson-tseng/frappe_custom | c7830b1610c7c5a71e81d75f790410b919b2fbf2 | [
"MIT"
] | null | null | null | custom_app/outpatient/doctype/outpatient_record/outpatient_record.py | benson-tseng/frappe_custom | c7830b1610c7c5a71e81d75f790410b919b2fbf2 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, aaa and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class OutpatientRecord(Document):
pass
| 21.555556 | 49 | 0.793814 | 25 | 194 | 6.16 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0.139175 | 194 | 8 | 50 | 24.25 | 0.898204 | 0.525773 | 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 |
85eeafc7076dad3bc43cfc2e3e89c5d0cee7f864 | 369 | py | Python | app.py | RomanGorelsky/project_mid | e08fd3f0feea30ee3618cbc4ce99ff141f484ca9 | [
"MIT"
] | null | null | null | app.py | RomanGorelsky/project_mid | e08fd3f0feea30ee3618cbc4ce99ff141f484ca9 | [
"MIT"
] | null | null | null | app.py | RomanGorelsky/project_mid | e08fd3f0feea30ee3618cbc4ce99ff141f484ca9 | [
"MIT"
] | null | null | null | from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def hello_world():
return render_template('tables.html')
@app.route('/charts')
def render_charts():
return render_template('charts.html')
@app.route('/tables')
def render_tables():
return render_template('tables.html')
i... | 16.772727 | 41 | 0.701897 | 48 | 369 | 5 | 0.416667 | 0.233333 | 0.25 | 0.216667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140921 | 369 | 22 | 42 | 16.772727 | 0.757098 | 0 | 0 | 0.153846 | 0 | 0 | 0.151351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.230769 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c83c73d3759f3357a637d8f1c262a00f0201b30b | 174 | py | Python | pysid/identification/__init__.py | lima-84/pysid | 6038b9437e6f4bd23280c3541cb06c1cdf292d2a | [
"MIT"
] | 5 | 2019-09-08T17:22:04.000Z | 2022-01-08T18:09:56.000Z | pysid/identification/__init__.py | lima-84/pysid | 6038b9437e6f4bd23280c3541cb06c1cdf292d2a | [
"MIT"
] | null | null | null | pysid/identification/__init__.py | lima-84/pysid | 6038b9437e6f4bd23280c3541cb06c1cdf292d2a | [
"MIT"
] | 4 | 2019-09-08T17:49:23.000Z | 2022-01-10T11:44:50.000Z | #__init__.py for pysid
# Load all the functions by default
from .ivmethod import *
from .pemethod import *
from .tseries import *
from .accr import *
from .comcrit import *
| 19.333333 | 35 | 0.747126 | 25 | 174 | 5.04 | 0.68 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178161 | 174 | 8 | 36 | 21.75 | 0.881119 | 0.316092 | 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 |
c85dcbeadf179b1120b03a3cb0b74bc8ad296b89 | 339 | py | Python | movie/start.py | fuey/spiders | 4a39b0a0c55b23968e515d75a6946f3e8dc0991c | [
"Apache-2.0"
] | null | null | null | movie/start.py | fuey/spiders | 4a39b0a0c55b23968e515d75a6946f3e8dc0991c | [
"Apache-2.0"
] | null | null | null | movie/start.py | fuey/spiders | 4a39b0a0c55b23968e515d75a6946f3e8dc0991c | [
"Apache-2.0"
] | null | null | null | from scrapy import cmdline
cmdline.execute("scrapy crawl douban".split());
# cmdline.execute("scrapy crawl imdb_movie_top250".split())
# cmdline.execute("scrapy crawl imdb_tv_top250 -s LOG_FILE=spider.log".split())
# cmdline.execute("scrapy crawl rotten_tomatoes_top100".split())
# cmdline.execute("scrapy crawl mtc_all... | 42.375 | 79 | 0.781711 | 47 | 339 | 5.446809 | 0.468085 | 0.273438 | 0.390625 | 0.488281 | 0.5 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0.028754 | 0.076696 | 339 | 7 | 80 | 48.428571 | 0.789137 | 0.749263 | 0 | 0 | 0 | 0 | 0.2375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
c0deee6815997981a4353d2570ca99f04eb912c3 | 83 | py | Python | tests/__init__.py | gauravmk/rq-dashboard | d760276d075cd5e7879127c0155cad874c55e6fb | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tests/__init__.py | gauravmk/rq-dashboard | d760276d075cd5e7879127c0155cad874c55e6fb | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tests/__init__.py | gauravmk/rq-dashboard | d760276d075cd5e7879127c0155cad874c55e6fb | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from __future__ import absolute_import
from .basic import *
from .compat import *
| 16.6 | 38 | 0.795181 | 11 | 83 | 5.545455 | 0.545455 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 4 | 39 | 20.75 | 0.871429 | 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 |
c0e9fd5f20e04d63f2ad82e439285b5a6ab244f8 | 150 | py | Python | python/testData/refactoring/move/cleanupImportsAfterMove/before/src/main.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/move/cleanupImportsAfterMove/before/src/main.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/move/cleanupImportsAfterMove/before/src/main.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from lib import B
from lib import A
from lib import D
from lib import C
class C1:
print(A)
class C2:
print(B)
class C3:
print(C, D)
| 8.823529 | 17 | 0.64 | 29 | 150 | 3.310345 | 0.413793 | 0.291667 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 0.293333 | 150 | 16 | 18 | 9.375 | 0.877358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.7 | 0.3 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d06f9f3a3597bcd5b776daef5a8973d139fe355 | 916 | py | Python | arrays/numbers_even_number.py | wtlow003/leetcode-daily | e1d9c74b55e5b3106731a324d70a510e03b3b21f | [
"MIT"
] | null | null | null | arrays/numbers_even_number.py | wtlow003/leetcode-daily | e1d9c74b55e5b3106731a324d70a510e03b3b21f | [
"MIT"
] | null | null | null | arrays/numbers_even_number.py | wtlow003/leetcode-daily | e1d9c74b55e5b3106731a324d70a510e03b3b21f | [
"MIT"
] | 1 | 2022-01-05T17:52:41.000Z | 2022-01-05T17:52:41.000Z | """
1295. Find Numbers with Even Number of Digits
https://leetcode.com/problems/find-numbers-with-even-number-of-digits/
Given an array nums of integers, return how many of them contain an even number of digits.
Example:
Input: nums = [12,345,2,6,7896]
Output: 2
Explanation:
12 contains 2 digits (even number of digit... | 31.586207 | 90 | 0.70524 | 154 | 916 | 4.194805 | 0.480519 | 0.123839 | 0.195046 | 0.167183 | 0.356037 | 0.281734 | 0.198142 | 0 | 0 | 0 | 0 | 0.057692 | 0.20524 | 916 | 28 | 91 | 32.714286 | 0.82967 | 0.816594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
239818a07781a6623c9a9fbf09464b5e67a01a5e | 716 | py | Python | cebulany/sql_utils.py | hackerspace-silesia/cebulany-manager | 5965c39df15aca77a4a891a134762eb4230cbd51 | [
"MIT"
] | 4 | 2019-03-06T20:30:08.000Z | 2020-01-23T19:25:20.000Z | cebulany/sql_utils.py | hackerspace-silesia/cebulany-manager | 5965c39df15aca77a4a891a134762eb4230cbd51 | [
"MIT"
] | 9 | 2019-07-06T11:25:50.000Z | 2022-01-22T05:18:39.000Z | cebulany/sql_utils.py | hackerspace-silesia/cebulany-manager | 5965c39df15aca77a4a891a134762eb4230cbd51 | [
"MIT"
] | 3 | 2019-10-25T16:55:30.000Z | 2019-10-26T19:55:57.000Z | from sqlalchemy import func as sql_func, Date
from cebulany.models import db
def get_year_month_col(column: Date):
database_type = db.engine.dialect.name
if database_type == 'postgresql':
return sql_func.to_char(column, 'YYYY-MM')
if database_type == 'sqlite':
return sql_func.strftime('%Y... | 29.833333 | 67 | 0.702514 | 98 | 716 | 4.928571 | 0.367347 | 0.248447 | 0.115942 | 0.086957 | 0.811594 | 0.811594 | 0.811594 | 0.811594 | 0.811594 | 0.401656 | 0 | 0 | 0.184358 | 716 | 23 | 68 | 31.130435 | 0.827055 | 0 | 0 | 0.5 | 0 | 0 | 0.175978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23d18e15e98aff62671326b817142b94c2e754be | 57,734 | py | Python | PNNL-Real-Time-Transactive-Energy/modificationScripts/supportFunctions/commercialLoads.py | GMLC-TDC/Use-Cases | 14d687fe04af731c1ee466e05acfd5813095660a | [
"BSD-3-Clause"
] | 1 | 2021-01-04T07:27:34.000Z | 2021-01-04T07:27:34.000Z | PNNL-Real-Time-Transactive-Energy/modificationScripts/supportFunctions/commercialLoads.py | GMLC-TDC/Use-Cases | 14d687fe04af731c1ee466e05acfd5813095660a | [
"BSD-3-Clause"
] | null | null | null | PNNL-Real-Time-Transactive-Energy/modificationScripts/supportFunctions/commercialLoads.py | GMLC-TDC/Use-Cases | 14d687fe04af731c1ee466e05acfd5813095660a | [
"BSD-3-Clause"
] | 2 | 2019-08-01T21:49:40.000Z | 2019-09-23T19:30:36.000Z | """
This file contains four fuctions to add commercial load types to a feeder based on the use flags and cofiguration defined
"""
##################################################################################################################
# Modified April 11, 2018 by Jacob Hansen (jacob.hansen@pnnl.gov)
# Created... | 47.129796 | 182 | 0.594901 | 7,182 | 57,734 | 4.454748 | 0.065441 | 0.05251 | 0.068263 | 0.078015 | 0.844221 | 0.819122 | 0.794962 | 0.770082 | 0.760643 | 0.750016 | 0 | 0.031117 | 0.240205 | 57,734 | 1,225 | 183 | 47.129796 | 0.69824 | 0.11385 | 0 | 0.679039 | 0 | 0 | 0.290288 | 0.063417 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002183 | false | 0 | 0.001092 | 0 | 0.005459 | 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 |
23d9368aebeeb12bab57e9e2287c481078587dba | 23 | py | Python | tests/__init__.py | newskylabs/newskylabs-collagen | 3e2e331605745e6709f57dce8730ceb9ceaa002c | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | newskylabs/newskylabs-collagen | 3e2e331605745e6709f57dce8730ceb9ceaa002c | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | newskylabs/newskylabs-collagen | 3e2e331605745e6709f57dce8730ceb9ceaa002c | [
"Apache-2.0"
] | null | null | null | from . import collagen
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
23fb877a355a3c0c8b3523dc2d232a403e7cb2d5 | 145 | py | Python | env/models/robots/__init__.py | METU-KALFA/furniture | 1f81e8a3a2543ac33c06ca61448d784c625d3ca0 | [
"MIT"
] | null | null | null | env/models/robots/__init__.py | METU-KALFA/furniture | 1f81e8a3a2543ac33c06ca61448d784c625d3ca0 | [
"MIT"
] | null | null | null | env/models/robots/__init__.py | METU-KALFA/furniture | 1f81e8a3a2543ac33c06ca61448d784c625d3ca0 | [
"MIT"
] | null | null | null | from .robot import Robot
from .sawyer_robot import Sawyer
from .baxter_robot import Baxter
from .cursor import Cursor
from .ur5_robot import Ur5
| 24.166667 | 32 | 0.827586 | 23 | 145 | 5.086957 | 0.304348 | 0.376068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.137931 | 145 | 5 | 33 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9b1ca7bee9b8bed8320f7b949c141dce7be4a5d5 | 13,588 | py | Python | lexleader.py | wenting-zhao/lex-leader | 59be259aafb01f6c5b456d9d56f8c78ecaacc80f | [
"BSD-2-Clause-FreeBSD",
"MIT"
] | null | null | null | lexleader.py | wenting-zhao/lex-leader | 59be259aafb01f6c5b456d9d56f8c78ecaacc80f | [
"BSD-2-Clause-FreeBSD",
"MIT"
] | null | null | null | lexleader.py | wenting-zhao/lex-leader | 59be259aafb01f6c5b456d9d56f8c78ecaacc80f | [
"BSD-2-Clause-FreeBSD",
"MIT"
] | null | null | null | import sys
class LexLeader:
def __init__(self, columns, rows, option, columns_enabled=True, rows_enabled=True):
self.num_columns = columns
self.num_rows = rows
self.columns_enabled = columns_enabled
self.rows_enabled = rows_enabled
self.varmap = dict()
self.num_var ... | 40.927711 | 118 | 0.497792 | 1,860 | 13,588 | 3.6 | 0.074731 | 0.013441 | 0.034349 | 0.032855 | 0.815711 | 0.778973 | 0.764486 | 0.733423 | 0.70236 | 0.683542 | 0 | 0.034379 | 0.338534 | 13,588 | 331 | 119 | 41.05136 | 0.7085 | 0.346703 | 0 | 0.521505 | 0 | 0.016129 | 0.082965 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 1 | 0.064516 | false | 0 | 0.005376 | 0 | 0.129032 | 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 |
f1a6ddc83d96d40c68db915b61b446f708890502 | 156 | py | Python | __init__.py | AbstractMonkey/flask_test | 84a983c204234f471420a5041c28400c1193f762 | [
"MIT"
] | null | null | null | __init__.py | AbstractMonkey/flask_test | 84a983c204234f471420a5041c28400c1193f762 | [
"MIT"
] | null | null | null | __init__.py | AbstractMonkey/flask_test | 84a983c204234f471420a5041c28400c1193f762 | [
"MIT"
] | null | null | null | import flask from Flask
from flask_test import routes
from flask_test import config
app = Flask(__name__)
# Config class
app.config.from_object(Config)
| 14.181818 | 30 | 0.801282 | 24 | 156 | 4.916667 | 0.416667 | 0.228814 | 0.237288 | 0.322034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147436 | 156 | 10 | 31 | 15.6 | 0.887218 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.6 | null | null | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f1e9262f2424f0e7346b55deb6ded28c5b3e17a6 | 16,337 | py | Python | studd/studd_batch.py | vcerqueira/studd | c23dd2c81bb05abc47ef8e929b5c8a708f4b7923 | [
"BSD-3-Clause"
] | 2 | 2021-05-06T16:02:09.000Z | 2021-05-26T02:38:02.000Z | studd/studd_batch.py | vcerqueira/studd | c23dd2c81bb05abc47ef8e929b5c8a708f4b7923 | [
"BSD-3-Clause"
] | null | null | null | studd/studd_batch.py | vcerqueira/studd | c23dd2c81bb05abc47ef8e929b5c8a708f4b7923 | [
"BSD-3-Clause"
] | 1 | 2022-03-25T03:48:14.000Z | 2022-03-25T03:48:14.000Z | from skmultiflow.data.data_stream import DataStream
from skmultiflow.drift_detection.page_hinkley import PageHinkley as PHT
from ht_detectors.tracker_output import HypothesisTestDetector
import copy
import numpy as np
class STUDD:
def __init__(self, X, y, n_train):
"""
:param X:
:param y... | 29.812044 | 92 | 0.483381 | 1,716 | 16,337 | 4.293124 | 0.081002 | 0.04941 | 0.038007 | 0.024433 | 0.787159 | 0.773992 | 0.749559 | 0.739514 | 0.72689 | 0.72689 | 0 | 0.008038 | 0.421252 | 16,337 | 547 | 93 | 29.866545 | 0.771126 | 0.025464 | 0 | 0.806452 | 0 | 0 | 0.041222 | 0 | 0 | 0 | 0 | 0 | 0.005376 | 1 | 0.024194 | false | 0 | 0.048387 | 0 | 0.096774 | 0.045699 | 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 |
7b32fa1c33e00e06615c8ea7fda9d6cce271c330 | 68 | py | Python | v2/backend/security/admins/__init__.py | jonfairbanks/rtsp-nvr | c770c77e74a062c63fb5e2419bc00a17543da332 | [
"MIT"
] | 558 | 2017-10-04T14:33:18.000Z | 2022-03-24T21:25:08.000Z | v2/backend/security/admins/__init__.py | jonfairbanks/rtsp-nvr | c770c77e74a062c63fb5e2419bc00a17543da332 | [
"MIT"
] | 22 | 2018-04-29T04:25:49.000Z | 2021-08-02T17:26:02.000Z | v2/backend/security/admins/__init__.py | jonfairbanks/rtsp-nvr | c770c77e74a062c63fb5e2419bc00a17543da332 | [
"MIT"
] | 127 | 2017-11-14T19:47:27.000Z | 2022-03-24T21:25:12.000Z | from .role_admin import RoleAdmin
from .user_admin import UserAdmin
| 22.666667 | 33 | 0.852941 | 10 | 68 | 5.6 | 0.7 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e3c9e493814a8d39e13b9c3d6d3e69357c107f8 | 56 | py | Python | hr_zk_attendance_integration/models/__init__.py | kelvzxu/odoo_hr_addons | b5e5af7b80c09697e857bc57eecd2126072501bc | [
"MIT"
] | null | null | null | hr_zk_attendance_integration/models/__init__.py | kelvzxu/odoo_hr_addons | b5e5af7b80c09697e857bc57eecd2126072501bc | [
"MIT"
] | null | null | null | hr_zk_attendance_integration/models/__init__.py | kelvzxu/odoo_hr_addons | b5e5af7b80c09697e857bc57eecd2126072501bc | [
"MIT"
] | null | null | null | from . import zk_machine
from . import machine_analysis
| 18.666667 | 30 | 0.821429 | 8 | 56 | 5.5 | 0.625 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 31 | 28 | 0.916667 | 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 |
9e4b06f8a78c786241694bba14664c815f7fd5ec | 195 | py | Python | countries/admin.py | Thuhaa/geo_knowledge | c27e7740bd5ffa1e6f91fe738ad2f183da13e8c9 | [
"MIT"
] | null | null | null | countries/admin.py | Thuhaa/geo_knowledge | c27e7740bd5ffa1e6f91fe738ad2f183da13e8c9 | [
"MIT"
] | null | null | null | countries/admin.py | Thuhaa/geo_knowledge | c27e7740bd5ffa1e6f91fe738ad2f183da13e8c9 | [
"MIT"
] | null | null | null | #from django.contrib import admin
from django.contrib.gis import admin
from .models import WorldBorders
admin.site.register(WorldBorders, admin.GeoModelAdmin)
# Register your models here.
| 27.857143 | 55 | 0.8 | 25 | 195 | 6.24 | 0.52 | 0.128205 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 195 | 6 | 56 | 32.5 | 0.923077 | 0.302564 | 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 |
7b45a77e384fe9c49f1834d5ec8afb42b3f1bccd | 34,943 | py | Python | vel/rl/buffers/tests/test_circular_vec_env_buffer_backend.py | galatolofederico/vel | 0473648cffb3f34fb784d12dbb25844ab58ffc3c | [
"MIT"
] | 273 | 2018-09-01T08:54:34.000Z | 2022-02-02T13:22:51.000Z | vel/rl/buffers/tests/test_circular_vec_env_buffer_backend.py | braincorp/vel | bdf9d9eb6ed66278330e8cbece307f6e63ce53c6 | [
"MIT"
] | 47 | 2018-08-17T11:27:08.000Z | 2022-03-11T23:26:55.000Z | vel/rl/buffers/tests/test_circular_vec_env_buffer_backend.py | braincorp/vel | bdf9d9eb6ed66278330e8cbece307f6e63ce53c6 | [
"MIT"
] | 37 | 2018-10-11T22:56:57.000Z | 2020-10-06T19:53:05.000Z | import gym
import gym.spaces
import numpy as np
import numpy.testing as nt
import pytest
from vel.exceptions import VelException
from vel.rl.buffers.circular_replay_buffer import CircularVecEnvBufferBackend
def get_half_filled_buffer(frame_history=1):
""" Return simple preinitialized buffer """
observation_s... | 37.252665 | 120 | 0.624388 | 5,467 | 34,943 | 3.796415 | 0.044083 | 0.017249 | 0.07285 | 0.059841 | 0.898723 | 0.872416 | 0.849627 | 0.824331 | 0.755095 | 0.728355 | 0 | 0.11079 | 0.218613 | 34,943 | 937 | 121 | 37.292423 | 0.649355 | 0.054517 | 0 | 0.513302 | 0 | 0 | 0.011971 | 0 | 0 | 0 | 0 | 0 | 0.200313 | 1 | 0.045383 | false | 0 | 0.010955 | 0 | 0.073552 | 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 |
7b72186af6585eabbe5fd83946de8cfad8387a25 | 72 | py | Python | CrashCourse/cOOP/hello.py | atabaksahraei/Python-for-Developer | 6972b7c9a500312ce6a359817feb5f8461391078 | [
"MIT"
] | null | null | null | CrashCourse/cOOP/hello.py | atabaksahraei/Python-for-Developer | 6972b7c9a500312ce6a359817feb5f8461391078 | [
"MIT"
] | null | null | null | CrashCourse/cOOP/hello.py | atabaksahraei/Python-for-Developer | 6972b7c9a500312ce6a359817feb5f8461391078 | [
"MIT"
] | null | null | null | def welt():
print("Hallo Welt")
def mars():
print("Hallo Mars") | 14.4 | 23 | 0.583333 | 10 | 72 | 4.2 | 0.5 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 72 | 5 | 24 | 14.4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
7b7d07626d7be6284893caf95bddb00d9476e477 | 1,681 | py | Python | products/migrations/0002_auto_20200315_1517.py | gwoods22/beer-store-api | c21593734022718896720db916b73f0404840dc2 | [
"MIT"
] | 1 | 2020-09-10T16:56:56.000Z | 2020-09-10T16:56:56.000Z | products/migrations/0002_auto_20200315_1517.py | gwoods22/beer-store-api | c21593734022718896720db916b73f0404840dc2 | [
"MIT"
] | null | null | null | products/migrations/0002_auto_20200315_1517.py | gwoods22/beer-store-api | c21593734022718896720db916b73f0404840dc2 | [
"MIT"
] | 1 | 2020-09-20T17:47:07.000Z | 2020-09-20T17:47:07.000Z | # Generated by Django 3.0.4 on 2020-03-15 15:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('products', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='product',
name='price_per_100ml',
... | 31.12963 | 107 | 0.559786 | 171 | 1,681 | 5.368421 | 0.321637 | 0.078431 | 0.139434 | 0.174292 | 0.793028 | 0.793028 | 0.760349 | 0.760349 | 0.671024 | 0.626362 | 0 | 0.038029 | 0.311719 | 1,681 | 53 | 108 | 31.716981 | 0.755402 | 0.02677 | 0 | 0.680851 | 1 | 0 | 0.099143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7b9ebd390fc8c0cc6c28cfcd6c25c2169c0a6990 | 4,672 | py | Python | src/neural_nets.py | akensert/ddqn-isocratic-scouting-runs | ab8a87ce6dbf01cba9ffb92ea13c98ffc3a70e93 | [
"MIT"
] | null | null | null | src/neural_nets.py | akensert/ddqn-isocratic-scouting-runs | ab8a87ce6dbf01cba9ffb92ea13c98ffc3a70e93 | [
"MIT"
] | null | null | null | src/neural_nets.py | akensert/ddqn-isocratic-scouting-runs | ab8a87ce6dbf01cba9ffb92ea13c98ffc3a70e93 | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.keras.initializers import TruncatedNormal
RANDOM_SEED = 42
class QNetwork(tf.keras.Model):
def __init__(self,
hidden_sizes=[1024, 1024],
dropout_rates=[0.2, 0.2],
output_dims=11):
super(QNetwork, self).__init__()
... | 37.079365 | 81 | 0.579409 | 551 | 4,672 | 4.742287 | 0.117967 | 0.096441 | 0.134328 | 0.085725 | 0.819747 | 0.819747 | 0.819747 | 0.808649 | 0.808649 | 0.808649 | 0 | 0.043386 | 0.294521 | 4,672 | 125 | 82 | 37.376 | 0.749393 | 0 | 0 | 0.696078 | 0 | 0 | 0.007491 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.019608 | 0 | 0.137255 | 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 |
a809f168ed42ee09b4353553a47ebb338b7f26d7 | 49 | py | Python | examples/example_resolve.py | juancarlospaco/thatlib | 37403983c228521b992ad592231957a1c7af01f2 | [
"MIT"
] | 31 | 2021-05-12T16:54:34.000Z | 2022-02-17T12:36:52.000Z | examples/example_resolve.py | juancarlospaco/thatlib | 37403983c228521b992ad592231957a1c7af01f2 | [
"MIT"
] | 1 | 2021-07-23T02:58:07.000Z | 2021-09-03T21:53:29.000Z | examples/example_resolve.py | juancarlospaco/thatlib | 37403983c228521b992ad592231957a1c7af01f2 | [
"MIT"
] | 1 | 2021-05-12T22:12:20.000Z | 2021-05-12T22:12:20.000Z | from thatlib import resolve
print(resolve("./"))
| 16.333333 | 27 | 0.734694 | 6 | 49 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 2 | 28 | 24.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
b541aed235c3941ffbe34c1759517cd9f51a7549 | 18 | py | Python | src/__init__.py | AlexanderFengler/ssm_simulators | cf650641647b7c049e60c48dde365607c8d3c54a | [
"MIT"
] | 1 | 2021-10-31T15:08:11.000Z | 2021-10-31T15:08:11.000Z | src/__init__.py | AlexanderFengler/ssm_simulators | cf650641647b7c049e60c48dde365607c8d3c54a | [
"MIT"
] | 3 | 2021-07-30T15:57:56.000Z | 2022-02-25T02:47:09.000Z | src/__init__.py | AlexanderFengler/ssm_simulators | cf650641647b7c049e60c48dde365607c8d3c54a | [
"MIT"
] | null | null | null | from . import cssm | 18 | 18 | 0.777778 | 3 | 18 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b59e1b766deaf1e0fb27afacbceaea13cd456868 | 5,862 | py | Python | tests/s3/test_s3_collections.py | paulhutchings/beartype-boto3-example | d69298d9444d578799e2a17cb63de11474b2278a | [
"MIT"
] | 3 | 2021-11-16T06:21:11.000Z | 2021-11-22T08:59:11.000Z | tests/s3/test_s3_collections.py | paulhutchings/beartype-boto3-example | d69298d9444d578799e2a17cb63de11474b2278a | [
"MIT"
] | 9 | 2021-11-19T03:29:00.000Z | 2021-12-30T23:54:47.000Z | tests/s3/test_s3_collections.py | paulhutchings/beartype-boto3-example | d69298d9444d578799e2a17cb63de11474b2278a | [
"MIT"
] | null | null | null | import pytest
from bearboto3.s3 import (
ServiceResourceBucketsCollection,
BucketMultipartUploadsCollection,
BucketObjectVersionsCollection,
BucketObjectsCollection,
MultipartUploadPartsCollection,
)
from beartype import beartype
from beartype.roar import (
BeartypeCallHintPepParamException,
... | 25.486957 | 81 | 0.724497 | 498 | 5,862 | 8.094378 | 0.076305 | 0.062516 | 0.074423 | 0.0774 | 0.839742 | 0.76904 | 0.701563 | 0.60903 | 0.511784 | 0.243116 | 0 | 0.007882 | 0.177584 | 5,862 | 229 | 82 | 25.598253 | 0.828251 | 0.07523 | 0 | 0.716418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.298507 | false | 0.149254 | 0.029851 | 0.074627 | 0.402985 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b5a2999fd0d0979a0647b76e28afd188fe758e39 | 230 | py | Python | CodeWars/2016/FindCapitals-7k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodeWars/2016/FindCapitals-7k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodeWars/2016/FindCapitals-7k.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | #Return list index of all capital letters in string
def capitals(word):
return [l for l, c in enumerate(word) if c.isupper()]
#Alternate Solution
def capitals(word):
return [i for (i, c) in enumerate(word) if c.isupper()] | 32.857143 | 59 | 0.708696 | 39 | 230 | 4.179487 | 0.538462 | 0.134969 | 0.184049 | 0.257669 | 0.319018 | 0.319018 | 0.319018 | 0 | 0 | 0 | 0 | 0 | 0.178261 | 230 | 7 | 59 | 32.857143 | 0.862434 | 0.295652 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a912f357e6076933c0ebd7b06dfd11f21c274f62 | 10,427 | py | Python | addons/project/tests/test_access_rights.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/project/tests/test_access_rights.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/project/tests/test_access_rights.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.addons.mail.tests.common import mail_new_test_user
from odoo.addons.project.tests.test_project_base import TestProjectCommon
from odoo.exceptions import AccessError, ValidationError
from odoo.tests.common impor... | 45.532751 | 124 | 0.702215 | 1,482 | 10,427 | 4.744265 | 0.082321 | 0.055753 | 0.076661 | 0.070403 | 0.831461 | 0.816527 | 0.785379 | 0.759351 | 0.714408 | 0.659366 | 0 | 0.000118 | 0.189892 | 10,427 | 228 | 125 | 45.732456 | 0.832248 | 0.009015 | 0 | 0.677966 | 0 | 0 | 0.161084 | 0.005034 | 0 | 0 | 0 | 0 | 0.186441 | 1 | 0.180791 | false | 0 | 0.022599 | 0 | 0.237288 | 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 |
a97d7a9e568e6bff482fe88025d5c5252ad6273c | 95 | py | Python | julee/intents/news.py | riczfe/SEPM_GROUP6 | 9c1f44958121f36b09c20be53be28d4744322c58 | [
"MIT"
] | null | null | null | julee/intents/news.py | riczfe/SEPM_GROUP6 | 9c1f44958121f36b09c20be53be28d4744322c58 | [
"MIT"
] | null | null | null | julee/intents/news.py | riczfe/SEPM_GROUP6 | 9c1f44958121f36b09c20be53be28d4744322c58 | [
"MIT"
] | null | null | null | import webbrowser
def open_news():
webbrowser.open_new_tab("https://abcnews.go.com/") | 19 | 54 | 0.705263 | 13 | 95 | 4.923077 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 95 | 5 | 54 | 19 | 0.790123 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d5456d91b24e383d2251d3243505d616011a834 | 27 | py | Python | randomstate/prng/xorshift1024/__init__.py | bashtage/ng-numpy-randomstate | b397db9cb8688b291fc40071ab043009dfa05a85 | [
"Apache-2.0",
"BSD-3-Clause"
] | 43 | 2016-02-11T03:38:16.000Z | 2022-02-03T10:00:15.000Z | randomstate/prng/xorshift1024/__init__.py | bashtage/pcg-python | b397db9cb8688b291fc40071ab043009dfa05a85 | [
"Apache-2.0",
"BSD-3-Clause"
] | 31 | 2015-12-26T19:47:36.000Z | 2018-12-10T15:55:46.000Z | randomstate/prng/xorshift1024/__init__.py | bashtage/ng-numpy-randomstate | b397db9cb8688b291fc40071ab043009dfa05a85 | [
"Apache-2.0",
"BSD-3-Clause"
] | 11 | 2016-04-28T02:00:38.000Z | 2020-08-07T10:33:10.000Z | from .xorshift1024 import * | 27 | 27 | 0.814815 | 3 | 27 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.111111 | 27 | 1 | 27 | 27 | 0.75 | 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 |
8d63629bc59b322e97e3adbda6a9e5d92002e264 | 35 | py | Python | MovieKit/__init__.py | muellermax/Movie-Diary | a5ff2f70d545d95ec708813fd4656c4d3ccd7c31 | [
"Unlicense"
] | 1 | 2020-05-24T17:15:21.000Z | 2020-05-24T17:15:21.000Z | MovieKit/__init__.py | muellermax/Movie-Diary | a5ff2f70d545d95ec708813fd4656c4d3ccd7c31 | [
"Unlicense"
] | null | null | null | MovieKit/__init__.py | muellermax/Movie-Diary | a5ff2f70d545d95ec708813fd4656c4d3ccd7c31 | [
"Unlicense"
] | null | null | null | from .MovieDiary import MovieDiary
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5750ec498f1879e7273ef4163f27245e5416c4f8 | 3,977 | py | Python | tests/test_autodiff/test_autodiff.py | VIVelev/nujo | 56c3058b14c4e0b7ae86d0f22dbe4c4dc81e8e71 | [
"MIT"
] | 5 | 2020-03-02T22:14:38.000Z | 2022-03-09T11:13:13.000Z | tests/test_autodiff/test_autodiff.py | VIVelev/nujo | 56c3058b14c4e0b7ae86d0f22dbe4c4dc81e8e71 | [
"MIT"
] | 30 | 2020-03-09T10:43:54.000Z | 2020-06-09T20:05:45.000Z | tests/test_autodiff/test_autodiff.py | VIVelev/nujo | 56c3058b14c4e0b7ae86d0f22dbe4c4dc81e8e71 | [
"MIT"
] | 3 | 2020-03-20T13:54:23.000Z | 2020-10-17T01:03:17.000Z | import pytest
import torch
from numpy import allclose, random
import nujo as nj
# ====================================================================================================
def test_scalar_diff(scalar_tensors):
(X_nj, y_nj, W1_nj, W2_nj, X_torch, y_torch, W1_torch,
W2_torch) = scalar_tensors
... | 29.029197 | 102 | 0.570279 | 557 | 3,977 | 3.793537 | 0.091562 | 0.030289 | 0.028396 | 0.030289 | 0.823474 | 0.823474 | 0.810222 | 0.780407 | 0.753431 | 0.753431 | 0 | 0.025339 | 0.166457 | 3,977 | 136 | 103 | 29.242647 | 0.612066 | 0.195373 | 0 | 0.60274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 1 | 0.082192 | false | 0 | 0.054795 | 0 | 0.164384 | 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 |
f5672d3d5ed0ca947fa69be1d52f58e3f2039412 | 71 | py | Python | CodeWars/8 Kyu/Merge two sorted arrays into one.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Merge two sorted arrays into one.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Merge two sorted arrays into one.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def merge_arrays(arr1, arr2):
return sorted(list(set(arr1 + arr2))) | 35.5 | 41 | 0.704225 | 11 | 71 | 4.454545 | 0.818182 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.140845 | 71 | 2 | 41 | 35.5 | 0.737705 | 0 | 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 |
f593d25e862fd843feb96c153977c78f30f8bc50 | 1,870 | py | Python | tests_flstudio/stubs/collections.py | rjuang/rum-library | e7c61407c31832e46ddf1335f98f47c4b82652d0 | [
"MIT"
] | 3 | 2021-04-03T09:15:46.000Z | 2022-01-10T10:53:13.000Z | tests_flstudio/stubs/collections.py | rjuang/rum-library | e7c61407c31832e46ddf1335f98f47c4b82652d0 | [
"MIT"
] | 1 | 2022-01-30T04:06:24.000Z | 2022-01-30T04:06:24.000Z | tests_flstudio/stubs/collections.py | rjuang/rum | e7c61407c31832e46ddf1335f98f47c4b82652d0 | [
"MIT"
] | null | null | null | def channelCount(*args, **kwargs): pass
def channelNumber(*args, **kwargs): pass
def closeGraphEditor(*args, **kwargs): pass
def deselectAll(*args, **kwargs): pass
def focusEditor(*args, **kwargs): pass
def getChannelColor(*args, **kwargs): pass
def getChannelIndex(*args, **kwargs): pass
def getChannelMidiInPort(*args,... | 40.652174 | 50 | 0.738503 | 223 | 1,870 | 6.192825 | 0.2287 | 0.31861 | 0.446054 | 0.529327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001183 | 0.095722 | 1,870 | 45 | 51 | 41.555556 | 0.815494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.977778 | false | 0.977778 | 0 | 0 | 0.977778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
194ff170922d2fe2cff8e77d4db31dac8b6737c5 | 190 | py | Python | Accounts/admin.py | Shreya549/AchieveVIT | 4623f80a4e38914f2d759fc0c3591bd642486a5b | [
"MIT"
] | 3 | 2020-08-29T20:23:27.000Z | 2021-05-20T05:44:01.000Z | Accounts/admin.py | Shreya549/AchieveVIT | 4623f80a4e38914f2d759fc0c3591bd642486a5b | [
"MIT"
] | 1 | 2020-09-29T16:28:24.000Z | 2020-09-29T16:28:24.000Z | Accounts/admin.py | Shreya549/AchieveVIT | 4623f80a4e38914f2d759fc0c3591bd642486a5b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import User, Faculty, HR, OTPStore
admin.site.register(User)
admin.site.register(Faculty)
admin.site.register(HR)
admin.site.register(OTPStore) | 27.142857 | 47 | 0.810526 | 28 | 190 | 5.5 | 0.428571 | 0.233766 | 0.441558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 190 | 7 | 48 | 27.142857 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.