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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8c42bc054164bf102cb3c019bde55c78ebac365a | 2,523 | py | Python | tests/psychology/typicality/objects/test_objs_typicality_min.py | rvyjidacek/fcapsy | 6d531a337b0e65cac10e41b84d232498f3a05b76 | [
"MIT"
] | null | null | null | tests/psychology/typicality/objects/test_objs_typicality_min.py | rvyjidacek/fcapsy | 6d531a337b0e65cac10e41b84d232498f3a05b76 | [
"MIT"
] | null | null | null | tests/psychology/typicality/objects/test_objs_typicality_min.py | rvyjidacek/fcapsy | 6d531a337b0e65cac10e41b84d232498f3a05b76 | [
"MIT"
] | null | null | null | import pytest
from bitsets import bitset
from fcapsy import Concept, Context
from fcapsy.psychology.typicality import typicality_min
from fcapsy.similarity import jaccard, smc, rosch
@pytest.mark.parametrize("similarity_function", [jaccard, smc])
def test_objs_typicality_min_1(similarity_function):
context = Cont... | 35.041667 | 79 | 0.647642 | 301 | 2,523 | 5.275748 | 0.116279 | 0.238035 | 0.020781 | 0.147355 | 0.858312 | 0.798489 | 0.779597 | 0.728589 | 0.56864 | 0.56864 | 0 | 0.040142 | 0.219976 | 2,523 | 71 | 80 | 35.535211 | 0.766768 | 0 | 0 | 0.347826 | 0 | 0 | 0.030123 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.086957 | false | 0 | 0.108696 | 0 | 0.195652 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4fd6109c925edcbdf1a157f12190d8d3cc422ecb | 6,638 | py | Python | fluentcheck/tests/tests_check/test_numbers.py | jstoebel/fluentcheck | 9258dab4f46776b5df50528f5028ce2d11a443c5 | [
"MIT"
] | 83 | 2018-05-31T13:21:06.000Z | 2022-03-20T14:27:49.000Z | fluentcheck/tests/tests_check/test_numbers.py | jstoebel/fluentcheck | 9258dab4f46776b5df50528f5028ce2d11a443c5 | [
"MIT"
] | 20 | 2019-02-10T15:07:44.000Z | 2021-04-02T13:18:52.000Z | fluentcheck/tests/tests_check/test_numbers.py | jstoebel/fluentcheck | 9258dab4f46776b5df50528f5028ce2d11a443c5 | [
"MIT"
] | 11 | 2019-02-16T21:33:11.000Z | 2022-03-25T03:39:52.000Z | import unittest
from fluentcheck.classes import Check
from fluentcheck.exceptions import CheckError
class TestNumbersAssertions(unittest.TestCase):
def test_is_number(self):
# ints
val = 123
res = Check(val).is_number()
self.assertIsInstance(res, Check)
# floats
v... | 23.45583 | 87 | 0.524706 | 758 | 6,638 | 4.418206 | 0.084433 | 0.124216 | 0.178561 | 0.217378 | 0.884443 | 0.847417 | 0.743506 | 0.674231 | 0.573007 | 0.197074 | 0 | 0.029679 | 0.370594 | 6,638 | 282 | 88 | 23.539007 | 0.7719 | 0.010545 | 0 | 0.671296 | 0 | 0 | 0.006708 | 0 | 0 | 0 | 0 | 0 | 0.134259 | 1 | 0.092593 | false | 0.115741 | 0.013889 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
8b2f97c31f1387f7647ddbdc4f16523c472d3c75 | 156 | py | Python | hebpipe/lib/xrenner/modules/__init__.py | amir-zeldes/HebPipe | a3eb95abd2dd9588806b545eba7b28f57e589973 | [
"Apache-2.0"
] | 21 | 2019-02-04T16:27:37.000Z | 2022-03-22T11:45:05.000Z | hebpipe/lib/xrenner/modules/__init__.py | amir-zeldes/HebPipe | a3eb95abd2dd9588806b545eba7b28f57e589973 | [
"Apache-2.0"
] | 12 | 2020-01-02T15:56:31.000Z | 2022-03-31T10:35:16.000Z | hebpipe/lib/xrenner/modules/__init__.py | amir-zeldes/HebPipe | a3eb95abd2dd9588806b545eba7b28f57e589973 | [
"Apache-2.0"
] | 5 | 2020-01-01T20:51:35.000Z | 2021-12-21T12:56:53.000Z | # __init__.py
"""
xrenner - eXternally configurable REference and Non Named Entity Recognizer
Author: Amir Zeldes
"""
from .xrenner_xrenner import Xrenner | 19.5 | 75 | 0.788462 | 19 | 156 | 6.210526 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 156 | 8 | 76 | 19.5 | 0.880597 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8ca0d44fdbb4524918ccdfc3beaf1d26f1e30188 | 44 | py | Python | model/error/invalid_name_error.py | FellowHashbrown/virus.sh | 757e50fa402f63ab7161518dcec7e1441aa880dd | [
"MIT"
] | null | null | null | model/error/invalid_name_error.py | FellowHashbrown/virus.sh | 757e50fa402f63ab7161518dcec7e1441aa880dd | [
"MIT"
] | null | null | null | model/error/invalid_name_error.py | FellowHashbrown/virus.sh | 757e50fa402f63ab7161518dcec7e1441aa880dd | [
"MIT"
] | null | null | null | class InvalidNameError(Exception):
pass
| 14.666667 | 34 | 0.772727 | 4 | 44 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 35 | 22 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
50887cb10db54c44f1a8e3849f8b30c9ce7bfe92 | 282 | py | Python | algorithm_learning/learning_repeat_copy_ntm.py | SigmaQuan/NTM-Keras | a6fbc7374e596c46d0fa073e4bdb100fc8cf310a | [
"MIT"
] | 33 | 2016-11-06T05:42:35.000Z | 2020-12-18T22:42:40.000Z | algorithm_learning/learning_repeat_copy_ntm.py | imbi7py/NTM-Keras | a6fbc7374e596c46d0fa073e4bdb100fc8cf310a | [
"MIT"
] | 2 | 2017-01-22T09:06:54.000Z | 2017-06-29T13:18:05.000Z | algorithm_learning/learning_repeat_copy_ntm.py | imbi7py/NTM-Keras | a6fbc7374e596c46d0fa073e4bdb100fc8cf310a | [
"MIT"
] | 17 | 2016-09-17T22:15:50.000Z | 2020-12-19T05:55:59.000Z | # -*- coding: utf-8 -*-
"""An implementation of learning priority sort algorithm_learning with NTM.
Input sequence length: "1 ~ 20: (1*2+1)=3 ~ (20*2+1)=41"
Input dimension: "8"
Output sequence length: equal to input sequence length.
Output dimension: equal to input dimension.
"""
| 35.25 | 75 | 0.716312 | 43 | 282 | 4.674419 | 0.55814 | 0.208955 | 0.189055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062241 | 0.14539 | 282 | 7 | 76 | 40.285714 | 0.771784 | 0.968085 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
508d4354cdaf231610773aba6d9b867dbb817af4 | 157 | py | Python | custom_objects/__init__.py | RamonWill/portfolio-management-project | ac8ce313f8d62f09810fc1da19d6b252f193871b | [
"MIT"
] | 14 | 2020-01-01T04:59:06.000Z | 2022-02-08T06:48:21.000Z | custom_objects/__init__.py | linhvien/portfolio-management-project | ac8ce313f8d62f09810fc1da19d6b252f193871b | [
"MIT"
] | null | null | null | custom_objects/__init__.py | linhvien/portfolio-management-project | ac8ce313f8d62f09810fc1da19d6b252f193871b | [
"MIT"
] | 8 | 2020-10-15T06:52:37.000Z | 2021-10-04T06:44:36.000Z | from .callback import Callback
from .datatable import DataTable
from .finance_calculator import FinanceCalculator
from .reconciliation import Reconciliation
| 31.4 | 49 | 0.872611 | 17 | 157 | 8 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101911 | 157 | 4 | 50 | 39.25 | 0.964539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
50c8e6cb9d1edd54a993fe9940f254cd090df3d2 | 76 | py | Python | atlasnet_v2/__init__.py | RobinBaumann/TF-AtlasNetV2 | 32bd962407becacc9b9bee6c76c96216818e4c89 | [
"MIT"
] | null | null | null | atlasnet_v2/__init__.py | RobinBaumann/TF-AtlasNetV2 | 32bd962407becacc9b9bee6c76c96216818e4c89 | [
"MIT"
] | null | null | null | atlasnet_v2/__init__.py | RobinBaumann/TF-AtlasNetV2 | 32bd962407becacc9b9bee6c76c96216818e4c89 | [
"MIT"
] | null | null | null | """
Created by Robin Baumann <mail@robin-baumann.com> on April 27, 2020.
""" | 25.333333 | 68 | 0.697368 | 12 | 76 | 4.416667 | 0.833333 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.131579 | 76 | 3 | 69 | 25.333333 | 0.712121 | 0.894737 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0f97107bea0e9537c55a2ca4308f4d217489ff91 | 3,062 | py | Python | torchdrug/layers/sampler.py | wconnell/torchdrug | a710097cb4ad4c48e0de0d18fbb77ef0e806cdc8 | [
"Apache-2.0"
] | 772 | 2021-08-10T05:03:46.000Z | 2022-03-31T12:48:31.000Z | torchdrug/layers/sampler.py | wconnell/torchdrug | a710097cb4ad4c48e0de0d18fbb77ef0e806cdc8 | [
"Apache-2.0"
] | 77 | 2021-08-12T16:19:15.000Z | 2022-03-30T14:32:14.000Z | torchdrug/layers/sampler.py | wconnell/torchdrug | a710097cb4ad4c48e0de0d18fbb77ef0e806cdc8 | [
"Apache-2.0"
] | 90 | 2021-08-11T16:27:13.000Z | 2022-03-28T11:41:53.000Z | from torch import nn
from torch_scatter import scatter_add
from torchdrug.layers import functional
class NodeSampler(nn.Module):
"""
Node sampler from `GraphSAINT: Graph Sampling Based Inductive Learning Method`_.
.. _GraphSAINT\: Graph Sampling Based Inductive Learning Method:
https://arxiv.org... | 32.924731 | 98 | 0.628674 | 396 | 3,062 | 4.684343 | 0.219697 | 0.067925 | 0.049596 | 0.060377 | 0.748248 | 0.748248 | 0.748248 | 0.714825 | 0.714825 | 0.714825 | 0 | 0.01085 | 0.277596 | 3,062 | 92 | 99 | 33.282609 | 0.827758 | 0.289353 | 0 | 0.511628 | 0 | 0 | 0.054348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093023 | false | 0 | 0.069767 | 0 | 0.255814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0fdb5693c4799a79206317582712053e3e346f76 | 145 | py | Python | lms.py | daryavasilyeva/lms | 39e4b225c6ad446ed31d903b7c9fea4f4443c827 | [
"MIT"
] | null | null | null | lms.py | daryavasilyeva/lms | 39e4b225c6ad446ed31d903b7c9fea4f4443c827 | [
"MIT"
] | null | null | null | lms.py | daryavasilyeva/lms | 39e4b225c6ad446ed31d903b7c9fea4f4443c827 | [
"MIT"
] | null | null | null | from app import app, db
from app.models import User, Student, Teacher, Group, Course, Materials, Homework, Homework_parcel
app.run(debug = True) | 36.25 | 98 | 0.77931 | 22 | 145 | 5.090909 | 0.727273 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131034 | 145 | 4 | 99 | 36.25 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 5 |
0fdf92bf103a83901d4b5707cd0e0eb976348a61 | 55 | py | Python | classcharts/homework/__init__.py | danieljtrowbridge/classcharts.py | 64bf3e6cbb46da91db166e7c8a33154aaf297d60 | [
"MIT"
] | null | null | null | classcharts/homework/__init__.py | danieljtrowbridge/classcharts.py | 64bf3e6cbb46da91db166e7c8a33154aaf297d60 | [
"MIT"
] | null | null | null | classcharts/homework/__init__.py | danieljtrowbridge/classcharts.py | 64bf3e6cbb46da91db166e7c8a33154aaf297d60 | [
"MIT"
] | null | null | null | from .objects import *
from .api import HomeworkClient
| 18.333333 | 31 | 0.8 | 7 | 55 | 6.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 32 | 27.5 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 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 | 5 |
0fe6b1820d6b4ab39cab35a339e661ae9008b906 | 145 | py | Python | intvalpy/linear/__init__.py | AndrosovAS/intvalpy | 0e809d7de44b037fa6162a5bd5b1e0f984d1fc55 | [
"MIT"
] | 4 | 2021-05-31T07:45:19.000Z | 2022-01-27T08:36:22.000Z | intvalpy/linear/__init__.py | AndrosovAS/intvalpy | 0e809d7de44b037fa6162a5bd5b1e0f984d1fc55 | [
"MIT"
] | 8 | 2021-08-18T14:07:42.000Z | 2022-03-23T12:12:17.000Z | intvalpy/linear/__init__.py | AndrosovAS/intvalpy | 0e809d7de44b037fa6162a5bd5b1e0f984d1fc55 | [
"MIT"
] | 2 | 2021-02-12T06:02:05.000Z | 2022-01-28T17:40:26.000Z | from .overdetermined import Rohn, PSS, ASh
from .square_system import Gauss, Gauss_Seidel
from .system_properties import Uni, Tol, ive, outliers
| 36.25 | 54 | 0.813793 | 21 | 145 | 5.47619 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124138 | 145 | 3 | 55 | 48.333333 | 0.905512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
0fe71983d588ab47fa3540f9852e5f3a6451b9f4 | 60 | py | Python | demo1.py | TechRepublics/PyHub | eb4115cf55768bc9ef457516302c2f39e0e61d71 | [
"Apache-2.0"
] | null | null | null | demo1.py | TechRepublics/PyHub | eb4115cf55768bc9ef457516302c2f39e0e61d71 | [
"Apache-2.0"
] | null | null | null | demo1.py | TechRepublics/PyHub | eb4115cf55768bc9ef457516302c2f39e0e61d71 | [
"Apache-2.0"
] | null | null | null | from numpy import numpy
print("sky")
print("city")
| 8.571429 | 24 | 0.616667 | 8 | 60 | 4.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 60 | 6 | 25 | 10 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 | 0 | 1 | 0 | 5 |
ba27c1098d7728e0a9a20768a1f7bf30e0c497b2 | 166 | py | Python | HDPython/ast/ast_classes/ast_expr.py | HardwareDesignWithPython/HDPython | aade03aaa092b1684fa12bffd17674cf1c45f5ac | [
"MIT"
] | null | null | null | HDPython/ast/ast_classes/ast_expr.py | HardwareDesignWithPython/HDPython | aade03aaa092b1684fa12bffd17674cf1c45f5ac | [
"MIT"
] | null | null | null | HDPython/ast/ast_classes/ast_expr.py | HardwareDesignWithPython/HDPython | aade03aaa092b1684fa12bffd17674cf1c45f5ac | [
"MIT"
] | 1 | 2021-10-20T20:08:16.000Z | 2021-10-20T20:08:16.000Z | from HDPython.ast.ast_classes.ast_base import add_class
def body_expr(astParser,Node):
return astParser.Unfold_body(Node.value)
add_class("Expr", body_expr) | 23.714286 | 55 | 0.789157 | 26 | 166 | 4.769231 | 0.615385 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114458 | 166 | 7 | 56 | 23.714286 | 0.843537 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e863640d43c7da7639f3fc8c22963358590ca325 | 1,172 | py | Python | book_center/tests/bc_contact/models/test_contact_form_model.py | geodimitrov/Python-Web-Framework-SoftUni | 06b7e11aee0024a564d1b266d5ed6271351ac116 | [
"MIT"
] | null | null | null | book_center/tests/bc_contact/models/test_contact_form_model.py | geodimitrov/Python-Web-Framework-SoftUni | 06b7e11aee0024a564d1b266d5ed6271351ac116 | [
"MIT"
] | null | null | null | book_center/tests/bc_contact/models/test_contact_form_model.py | geodimitrov/Python-Web-Framework-SoftUni | 06b7e11aee0024a564d1b266d5ed6271351ac116 | [
"MIT"
] | null | null | null | from django.core.exceptions import ValidationError
from tests.core.test_cases import BookCenterTestCase
class ContactFormModelTests(BookCenterTestCase):
def test_contact_form_model_when_subject_contains_non_english_chars__expect_exception(self):
self.contact_form.subject = 'Бълхичка'
with self.as... | 35.515152 | 96 | 0.743174 | 137 | 1,172 | 6.014599 | 0.350365 | 0.133495 | 0.163835 | 0.083738 | 0.700243 | 0.700243 | 0.700243 | 0.700243 | 0.700243 | 0.700243 | 0 | 0 | 0.187713 | 1,172 | 32 | 97 | 36.625 | 0.865546 | 0 | 0 | 0.571429 | 0 | 0 | 0.047822 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | false | 0 | 0.095238 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e88de061c0e3e6aab34d95a0d7bbf50d9e892f7c | 150 | py | Python | utils/makeModel.py | L-Zhe/CoRPG | aa7a14a2b1c5397b327b4f91846795f7956bf2cd | [
"MIT"
] | 13 | 2021-09-15T05:44:05.000Z | 2022-03-24T12:24:00.000Z | utils/makeModel.py | L-Zhe/CoRPG | aa7a14a2b1c5397b327b4f91846795f7956bf2cd | [
"MIT"
] | null | null | null | utils/makeModel.py | L-Zhe/CoRPG | aa7a14a2b1c5397b327b4f91846795f7956bf2cd | [
"MIT"
] | 4 | 2021-09-17T20:00:48.000Z | 2022-03-10T03:09:57.000Z | from Transformer.Model import transformer
import importlib
from utils import constants
def make_model(config):
return transformer(config)
| 21.428571 | 44 | 0.786667 | 18 | 150 | 6.5 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 150 | 6 | 45 | 25 | 0.943548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
e893b85996d7b281d9c9cdd445cf12e7243e0b53 | 183 | py | Python | ftc/lib/util/__init__.py | efulet/ann_text_classification | fba05a1789a19aa6d607ee36069dda419bb98e28 | [
"MIT"
] | null | null | null | ftc/lib/util/__init__.py | efulet/ann_text_classification | fba05a1789a19aa6d607ee36069dda419bb98e28 | [
"MIT"
] | null | null | null | ftc/lib/util/__init__.py | efulet/ann_text_classification | fba05a1789a19aa6d607ee36069dda419bb98e28 | [
"MIT"
] | null | null | null | """
@created_at 2015-01-18
@author Exequiel Fuentes Lettura <efulet@gmail.com>
"""
from options import Options
from system_utils import SystemUtils
from file_utils import FileUtils
| 18.3 | 51 | 0.797814 | 26 | 183 | 5.5 | 0.769231 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.125683 | 183 | 9 | 52 | 20.333333 | 0.84375 | 0.404372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e8bd7dc685e424188d5ffc8f6cc6b2aecf15b6b7 | 35 | py | Python | addsource/__init__.py | t-brandt/acorns-adi | 6645fae7878a1801beeda0c6604b01e61f37ca15 | [
"BSD-2-Clause"
] | 1 | 2016-10-30T16:29:51.000Z | 2016-10-30T16:29:51.000Z | addsource/__init__.py | t-brandt/acorns-adi | 6645fae7878a1801beeda0c6604b01e61f37ca15 | [
"BSD-2-Clause"
] | null | null | null | addsource/__init__.py | t-brandt/acorns-adi | 6645fae7878a1801beeda0c6604b01e61f37ca15 | [
"BSD-2-Clause"
] | null | null | null | from addsource import addsource
| 7 | 31 | 0.8 | 4 | 35 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 4 | 32 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e8cb15a2165132fb6ce2866f04fe63450ca4a346 | 1,642 | py | Python | pymtl3/passes/sverilog/TranslationImportPass.py | hsqforfun/pymtl3 | 05e06601cf262a663a95d1235cb99056ece84580 | [
"BSD-3-Clause"
] | 1 | 2019-11-12T12:26:01.000Z | 2019-11-12T12:26:01.000Z | pymtl3/passes/sverilog/TranslationImportPass.py | hsqforfun/pymtl3 | 05e06601cf262a663a95d1235cb99056ece84580 | [
"BSD-3-Clause"
] | null | null | null | pymtl3/passes/sverilog/TranslationImportPass.py | hsqforfun/pymtl3 | 05e06601cf262a663a95d1235cb99056ece84580 | [
"BSD-3-Clause"
] | null | null | null | #=========================================================================
# TranslationImportPass.py
#=========================================================================
# Translate and import components having the `sverilog_translate_import`
# attribute.
#
# Author : Peitian Pan
# Date : Aug 6, 2019
from py... | 30.981132 | 78 | 0.667479 | 198 | 1,642 | 5.247475 | 0.267677 | 0.034649 | 0.024062 | 0.069297 | 0.284889 | 0.180943 | 0 | 0 | 0 | 0 | 0 | 0.006489 | 0.155298 | 1,642 | 52 | 79 | 31.576923 | 0.74261 | 0.180268 | 0 | 0 | 0 | 0 | 0.056054 | 0.018685 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28125 | false | 0.34375 | 0.46875 | 0.21875 | 1.03125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 5 |
2cdaa12d95236390cf439f073cc850995e270822 | 7,742 | py | Python | tests.py | iamtrask/PyAono | 4d847d7552dcee2c1e31727f37c4618ee7241896 | [
"Apache-2.0"
] | 2 | 2019-04-15T14:00:15.000Z | 2020-04-15T04:36:04.000Z | tests.py | iamtrask/PyAono | 4d847d7552dcee2c1e31727f37c4618ee7241896 | [
"Apache-2.0"
] | null | null | null | tests.py | iamtrask/PyAono | 4d847d7552dcee2c1e31727f37c4618ee7241896 | [
"Apache-2.0"
] | 2 | 2018-09-18T13:52:29.000Z | 2019-09-06T03:49:35.000Z | import unittest
import Aono
class correctness_test(unittest.TestCase):
def __init__(self, *args, **kwargs):
super(correctness_test, self).__init__(*args, **kwargs)
keys = Aono.key_gen()
self.keys = keys.generate_key(100, 64, 40, 8, 4, 7)
def test_single_data(self):
ct = Aon... | 40.962963 | 99 | 0.604237 | 1,225 | 7,742 | 3.640816 | 0.075102 | 0.084305 | 0.056054 | 0.064126 | 0.873991 | 0.843498 | 0.811659 | 0.731839 | 0.692601 | 0.634753 | 0 | 0.078032 | 0.238569 | 7,742 | 188 | 100 | 41.180851 | 0.678541 | 0 | 0 | 0.5125 | 0 | 0 | 0.001033 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.15 | false | 0 | 0.0125 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fa0cdf82c5d25a24979b9ef081cad21bde7f4560 | 323 | py | Python | src/mynumbers.py | metaperl/gridtrader-ng | eeba5f0dfbdd70026a49f9648d170b5f517edb7e | [
"MIT"
] | 1 | 2020-10-10T22:50:09.000Z | 2020-10-10T22:50:09.000Z | src/mynumbers.py | metaperl/gridtrader-ng | eeba5f0dfbdd70026a49f9648d170b5f517edb7e | [
"MIT"
] | null | null | null | src/mynumbers.py | metaperl/gridtrader-ng | eeba5f0dfbdd70026a49f9648d170b5f517edb7e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from sympy import N
from sympy.core.numbers import Float
def mystr(f): return "{:.8f}".format(float(f))
Float.__str__ = Float.__repr__ = mystr
def F(n):
return N(n, 8)
def CF(config, config_section, config_parm):
return F(config.getfloat(config_section, config_parm))
... | 19 | 59 | 0.656347 | 48 | 323 | 4.166667 | 0.479167 | 0.09 | 0.19 | 0.23 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.201238 | 323 | 16 | 60 | 20.1875 | 0.763566 | 0.065015 | 0 | 0 | 0 | 0 | 0.021201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.25 | 0.375 | 0.875 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
fa5addbe54e3a8afcab23d0cd1765c22c4091637 | 15,384 | py | Python | tests/test_smartapp.py | andrewsayre/pysmartapp | 5c3be867584d7e82d00b5998295b20bd12eccf94 | [
"MIT"
] | 10 | 2019-02-07T20:07:10.000Z | 2020-12-30T20:29:32.000Z | tests/test_smartapp.py | andrewsayre/pysmartapp | 5c3be867584d7e82d00b5998295b20bd12eccf94 | [
"MIT"
] | 1 | 2021-12-05T15:00:13.000Z | 2021-12-05T15:00:13.000Z | tests/test_smartapp.py | andrewsayre/pysmartapp | 5c3be867584d7e82d00b5998295b20bd12eccf94 | [
"MIT"
] | 2 | 2020-10-17T20:20:45.000Z | 2021-09-28T12:58:50.000Z | """Tests for the SmartApp file."""
import asyncio
import pytest
from pysmartapp.dispatch import Dispatcher
from pysmartapp.errors import (
SignatureVerificationError, SmartAppNotRegisteredError)
from pysmartapp.smartapp import SmartApp, SmartAppManager
from .utilities import get_dispatch_handler, get_fixture
I... | 35.86014 | 78 | 0.657566 | 1,650 | 15,384 | 5.929697 | 0.078182 | 0.017375 | 0.044971 | 0.05928 | 0.834832 | 0.798855 | 0.732318 | 0.7037 | 0.650961 | 0.628066 | 0 | 0.004032 | 0.25832 | 15,384 | 428 | 79 | 35.943925 | 0.853462 | 0.087429 | 0 | 0.632959 | 0 | 0 | 0.070978 | 0.019556 | 0 | 0 | 0 | 0 | 0.168539 | 1 | 0.029963 | false | 0.007491 | 0.022472 | 0 | 0.059925 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d73a7001aab9a79102dd6b286d1d05150d74c65b | 114 | py | Python | networking_bgpvpn/tests/functional/test_placeholder.py | cgoncalves/networking-bgpvpn | 3ec876c4ead840874e08d6dc876a36814d5f1f81 | [
"Apache-2.0"
] | 38 | 2015-06-23T08:06:16.000Z | 2022-01-25T16:03:10.000Z | networking_bgpvpn/tests/functional/test_placeholder.py | cgoncalves/networking-bgpvpn | 3ec876c4ead840874e08d6dc876a36814d5f1f81 | [
"Apache-2.0"
] | null | null | null | networking_bgpvpn/tests/functional/test_placeholder.py | cgoncalves/networking-bgpvpn | 3ec876c4ead840874e08d6dc876a36814d5f1f81 | [
"Apache-2.0"
] | 17 | 2015-11-28T00:45:22.000Z | 2021-07-22T09:22:30.000Z | from neutron.tests import base
class PlaceholderTest(base.BaseTestCase):
def test_noop(self):
pass
| 14.25 | 41 | 0.719298 | 14 | 114 | 5.785714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 114 | 7 | 42 | 16.285714 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
d74a801247cef3fdcc59e23b442d46496591bf5c | 593 | py | Python | haasomeapi/dataobjects/accountdata/OrderContainer.py | iamcos/haasomeapi | eac1640cc13e1e7649b8a8d6ed88184722c907c8 | [
"MIT"
] | 9 | 2018-07-08T22:40:53.000Z | 2022-03-21T20:32:43.000Z | haasomeapi/dataobjects/accountdata/OrderContainer.py | iamcos/haasomeapi | eac1640cc13e1e7649b8a8d6ed88184722c907c8 | [
"MIT"
] | 5 | 2018-08-25T11:48:05.000Z | 2019-12-12T19:57:20.000Z | haasomeapi/dataobjects/accountdata/OrderContainer.py | iamcos/haasomeapi | eac1640cc13e1e7649b8a8d6ed88184722c907c8 | [
"MIT"
] | 6 | 2018-08-31T23:49:36.000Z | 2022-01-08T04:51:21.000Z | from typing import Dict
from haasomeapi.dataobjects.accountdata.BaseOrder import BaseOrder
class OrderContainer:
""" Data Object containing the Base Order
:ivar exchangeOrderList: Dict[str, :class:`~haasomeapi.dataobjects.accountdata.BaseOrder`]:
:ivar marginOrderList: Dict[str, :class:`~haasomeapi.data... | 34.882353 | 96 | 0.755481 | 58 | 593 | 7.724138 | 0.362069 | 0.09375 | 0.285714 | 0.366071 | 0.372768 | 0.372768 | 0.372768 | 0.254464 | 0 | 0 | 0 | 0 | 0.136594 | 593 | 16 | 97 | 37.0625 | 0.875 | 0.526138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d78b04e8dc2d6bb30b4ac5e86e2e6ad33ec10ee8 | 50 | py | Python | examples/_tests_scripts/dl_utils.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 46 | 2020-03-27T20:12:32.000Z | 2021-11-21T19:08:51.000Z | examples/_tests_scripts/dl_utils.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 2 | 2020-04-06T10:43:04.000Z | 2020-07-01T18:26:10.000Z | examples/_tests_scripts/dl_utils.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 5 | 2020-04-17T14:09:53.000Z | 2021-05-10T08:58:29.000Z | # flake8: noqa
from catalyst_rl.dl.utils import *
| 16.666667 | 34 | 0.76 | 8 | 50 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.14 | 50 | 2 | 35 | 25 | 0.837209 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ad07ae8a0091e1caafe7216f8c5098e96d81dccb | 136 | py | Python | animals_app/admin.py | wagnergbriel/IloveAnimals-ProjectComplete | 67fa321427bd8e9db91e3b0d6acaa0d5a32967e0 | [
"MIT"
] | 1 | 2021-12-10T23:05:00.000Z | 2021-12-10T23:05:00.000Z | animals_app/admin.py | wagnergbriel/IloveAnimals-ProjectComplete | 67fa321427bd8e9db91e3b0d6acaa0d5a32967e0 | [
"MIT"
] | null | null | null | animals_app/admin.py | wagnergbriel/IloveAnimals-ProjectComplete | 67fa321427bd8e9db91e3b0d6acaa0d5a32967e0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Colaborador, Animais
admin.site.register(Colaborador)
admin.site.register(Animais) | 27.2 | 40 | 0.838235 | 18 | 136 | 6.333333 | 0.555556 | 0.157895 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080882 | 136 | 5 | 41 | 27.2 | 0.912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 5 |
ad6c367e3d29fe52f7a9d1fa81bf12b30a345fb5 | 95 | py | Python | post3/src/main.py | abelsiqueira/call-julia-from-python-experiments | c9f5e8dd6d2d50f0b5ad331df75e028e0ab3b5b5 | [
"MIT"
] | 8 | 2021-11-17T09:42:24.000Z | 2022-01-04T10:44:11.000Z | post3/src/main.py | abelsiqueira/faster-python-using-julia-blogposts | c9f5e8dd6d2d50f0b5ad331df75e028e0ab3b5b5 | [
"MIT"
] | 20 | 2021-12-02T14:59:20.000Z | 2022-01-05T12:24:06.000Z | post3/src/main.py | abelsiqueira/faster-python-using-julia-blogposts | c9f5e8dd6d2d50f0b5ad331df75e028e0ab3b5b5 | [
"MIT"
] | 3 | 2022-02-15T17:32:05.000Z | 2022-03-16T18:54:56.000Z | import run_experiments
import run_analysis
import gain_over_effort
import split_pandas_analysis | 23.75 | 28 | 0.926316 | 14 | 95 | 5.857143 | 0.642857 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073684 | 95 | 4 | 28 | 23.75 | 0.931818 | 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 | 0 | 0 | 0 | 5 |
d110c22c4d68c906e3ff729409033d3a0379cafc | 62 | py | Python | nntransfer/models/wrappers/__init__.py | sinzlab/nntransfer | 78622feb568b1cc50ac0f73c8297f9785876a659 | [
"MIT"
] | null | null | null | nntransfer/models/wrappers/__init__.py | sinzlab/nntransfer | 78622feb568b1cc50ac0f73c8297f9785876a659 | [
"MIT"
] | null | null | null | nntransfer/models/wrappers/__init__.py | sinzlab/nntransfer | 78622feb568b1cc50ac0f73c8297f9785876a659 | [
"MIT"
] | 2 | 2021-07-30T08:39:04.000Z | 2022-03-01T16:26:11.000Z | from .intermediate_layer_getter import IntermediateLayerGetter | 62 | 62 | 0.935484 | 6 | 62 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 62 | 1 | 62 | 62 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
d1172978f57e43d2f8399889e0e801ccc83d0059 | 27,911 | py | Python | tests/unit/storage/cassandra/test_services.py | satroutr/poppy | 27417f86854d9e0a04726acc263ef0a2ce9f8f6e | [
"Apache-2.0"
] | 3 | 2017-07-05T20:09:59.000Z | 2018-11-27T22:02:57.000Z | tests/unit/storage/cassandra/test_services.py | satroutr/poppy | 27417f86854d9e0a04726acc263ef0a2ce9f8f6e | [
"Apache-2.0"
] | 24 | 2017-04-18T15:14:04.000Z | 2019-03-20T19:09:07.000Z | tests/unit/storage/cassandra/test_services.py | satroutr/poppy | 27417f86854d9e0a04726acc263ef0a2ce9f8f6e | [
"Apache-2.0"
] | 8 | 2017-04-03T13:24:27.000Z | 2021-11-08T20:28:10.000Z | # Copyright (c) 2014 Rackspace, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... | 37.565276 | 79 | 0.585361 | 2,928 | 27,911 | 5.241462 | 0.09597 | 0.094807 | 0.032254 | 0.044439 | 0.806477 | 0.759692 | 0.73024 | 0.708021 | 0.683195 | 0.664755 | 0 | 0.005505 | 0.32317 | 27,911 | 742 | 80 | 37.615903 | 0.806892 | 0.082727 | 0 | 0.599297 | 0 | 0 | 0.093482 | 0.024741 | 0 | 0 | 0 | 0.001348 | 0.082601 | 1 | 0.066784 | false | 0 | 0.024605 | 0 | 0.100176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d133474cc6f160b8e0fcb521d4ea0851d072aadc | 297 | py | Python | passbook/sources/saml/apps.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | passbook/sources/saml/apps.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | passbook/sources/saml/apps.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | """Passbook SAML app config"""
from django.apps import AppConfig
class PassbookSourceSAMLConfig(AppConfig):
"""passbook saml_idp app config"""
name = "passbook.sources.saml"
label = "passbook_sources_saml"
verbose_name = "passbook Sources.SAML"
mountpoint = "source/saml/"
| 22.846154 | 42 | 0.717172 | 33 | 297 | 6.333333 | 0.545455 | 0.215311 | 0.272727 | 0.220096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171717 | 297 | 12 | 43 | 24.75 | 0.849594 | 0.178451 | 0 | 0 | 0 | 0 | 0.321888 | 0.180258 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.666667 | 0.166667 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
d15db9ba571837dceb934100ca10abecac1623c4 | 123 | py | Python | cardapio/urls.py | SquadUninove/API | 825c791b9494f4b0116ddf6ddc74f7d89e07faf3 | [
"MIT"
] | null | null | null | cardapio/urls.py | SquadUninove/API | 825c791b9494f4b0116ddf6ddc74f7d89e07faf3 | [
"MIT"
] | null | null | null | cardapio/urls.py | SquadUninove/API | 825c791b9494f4b0116ddf6ddc74f7d89e07faf3 | [
"MIT"
] | 1 | 2021-09-21T23:51:53.000Z | 2021-09-21T23:51:53.000Z | from django.urls import include, path
from .views import CardapioDetail, CardapioList, CardapioUpdate, CardapioDelete
| 17.571429 | 80 | 0.813008 | 13 | 123 | 7.692308 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 123 | 6 | 81 | 20.5 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
0f4eb63b6f0f55ef2385538911f88b4bd21b68eb | 21 | py | Python | python/testData/completion/moduleWithNoImportablePath/-/m7.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/moduleWithNoImportablePath/-/m7.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/moduleWithNoImportablePath/-/m7.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class MyFoo:
pass | 10.5 | 12 | 0.666667 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 21 | 2 | 13 | 10.5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7e344ae675629c2f04b16aab0526dba27d6c8623 | 4,470 | py | Python | plasma/filters/functional/gradient.py | jambobjambo/Deep-Edit | a5e3a474a497b9788fab8f96555763bcf9622e66 | [
"Apache-2.0"
] | null | null | null | plasma/filters/functional/gradient.py | jambobjambo/Deep-Edit | a5e3a474a497b9788fab8f96555763bcf9622e66 | [
"Apache-2.0"
] | null | null | null | plasma/filters/functional/gradient.py | jambobjambo/Deep-Edit | a5e3a474a497b9788fab8f96555763bcf9622e66 | [
"Apache-2.0"
] | null | null | null | #
# Plasma
# Copyright (c) 2020 Homedeck, LLC.
#
from torch import cat, linspace, meshgrid, Tensor
from torch.nn.functional import interpolate
def radial_gradient (input: Tensor, radius: Tensor) -> Tensor:
"""
Create a radial gradient which starts from the center of the given image.
We use the equat... | 37.881356 | 88 | 0.630425 | 672 | 4,470 | 4.16369 | 0.145833 | 0.011437 | 0.050036 | 0.032166 | 0.794496 | 0.77055 | 0.761258 | 0.761258 | 0.716941 | 0.683345 | 0 | 0.033275 | 0.226846 | 4,470 | 118 | 89 | 37.881356 | 0.776331 | 0.438926 | 0 | 0.531915 | 0 | 0 | 0.003475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106383 | false | 0 | 0.042553 | 0 | 0.255319 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7e997135a4e09d03fad952b043a2b08252042ceb | 129 | py | Python | defter/feature/new/backend.py | BarryWangQwQ/Defter | e5e9c54525e77510268052e40a31cda4ec1ee7b4 | [
"MIT"
] | 5 | 2021-08-12T11:28:43.000Z | 2021-11-22T10:01:18.000Z | defter/feature/new/backend.py | BarryWangQwQ/Defter | e5e9c54525e77510268052e40a31cda4ec1ee7b4 | [
"MIT"
] | null | null | null | defter/feature/new/backend.py | BarryWangQwQ/Defter | e5e9c54525e77510268052e40a31cda4ec1ee7b4 | [
"MIT"
] | null | null | null | from defter import backend
backend.init(path='src', extensions=['xxx.js'])
# TODO Coding here :-)
backend.start('xxx.html')
| 12.9 | 47 | 0.689922 | 18 | 129 | 4.944444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131783 | 129 | 9 | 48 | 14.333333 | 0.794643 | 0.155039 | 0 | 0 | 0 | 0 | 0.158879 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7ea21c377bb1d5b6a5996b225843a97c27bed064 | 285 | py | Python | mapper.py | marcos-tulio/python-nes-emulator | 6ef18d702d6c173926da035700ebd9c59209dd0a | [
"Apache-2.0"
] | 1 | 2021-04-29T10:45:04.000Z | 2021-04-29T10:45:04.000Z | mapper.py | marcos-tulio/python-nes-emulator | 6ef18d702d6c173926da035700ebd9c59209dd0a | [
"Apache-2.0"
] | null | null | null | mapper.py | marcos-tulio/python-nes-emulator | 6ef18d702d6c173926da035700ebd9c59209dd0a | [
"Apache-2.0"
] | null | null | null | class Mapper():
prg_banks = 0
chr_banks = 0
def __init__(self, prg_banks, chr_banks): pass
def cpuMapRead(self, addr): pass
def cpuMapWrite(self, addr): pass
def ppuMapRead(self, addr): pass
def ppuMapWrite(self, addr): pass
def reset(self): pass
| 17.8125 | 50 | 0.652632 | 40 | 285 | 4.45 | 0.4 | 0.196629 | 0.269663 | 0.337079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009302 | 0.245614 | 285 | 15 | 51 | 19 | 0.818605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.666667 | false | 0.666667 | 0 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
0e59452f22c63100aed896e28a5620041d1bd3af | 28 | py | Python | neurolib/models/aln/__init__.py | leonidas228/neurolib | a7aa6f487db73c3b64471007ac5a965da4a65f9a | [
"MIT"
] | 258 | 2020-01-26T14:38:09.000Z | 2022-03-31T14:54:04.000Z | neurolib/models/aln/__init__.py | leonidas228/neurolib | a7aa6f487db73c3b64471007ac5a965da4a65f9a | [
"MIT"
] | 172 | 2020-01-27T11:02:28.000Z | 2022-03-22T22:25:38.000Z | neurolib/models/aln/__init__.py | leonidas228/neurolib | a7aa6f487db73c3b64471007ac5a965da4a65f9a | [
"MIT"
] | 49 | 2020-02-04T08:34:44.000Z | 2022-03-28T09:29:12.000Z | from .model import ALNModel
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 | 0 | 0 | 0 | 5 |
0e5bb58bd43198097f117ebea2f317a7603fc102 | 53 | py | Python | testproj/goodbye_world.py | shonteag/librapy | 2f647a64204c39e6ab1ecd65696bec6fa8c23e9f | [
"MIT"
] | null | null | null | testproj/goodbye_world.py | shonteag/librapy | 2f647a64204c39e6ab1ecd65696bec6fa8c23e9f | [
"MIT"
] | 1 | 2018-09-28T02:29:34.000Z | 2018-09-28T02:29:34.000Z | testproj/goodbye_world.py | shonteag/librapy | 2f647a64204c39e6ab1ecd65696bec6fa8c23e9f | [
"MIT"
] | null | null | null | print "Goodbye, bitter world. I shall sys.exit() now" | 53 | 53 | 0.735849 | 9 | 53 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 1 | 53 | 53 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0e8aa461f61864d0ce948804527138b272fd946b | 23 | py | Python | molsysmt/native/old/former_topology/elements/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | 3 | 2020-06-02T03:55:52.000Z | 2022-03-21T04:43:52.000Z | molsysmt/native/old/former_topology/elements/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | 28 | 2020-06-24T00:55:53.000Z | 2021-07-16T22:09:19.000Z | molsysmt/native/old/former_topology/elements/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | 1 | 2021-06-17T18:55:25.000Z | 2021-06-17T18:55:25.000Z | from .makers import *
| 7.666667 | 21 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7ec117210d655992543a5f28ba6e8e8aa1da2845 | 113 | py | Python | controllers/home.py | Zhanelya/sprks | 917256da5c994f2b9f2352c126eb8377d5728d85 | [
"MIT"
] | 1 | 2021-11-09T00:53:31.000Z | 2021-11-09T00:53:31.000Z | controllers/home.py | Zhanelya/sprks | 917256da5c994f2b9f2352c126eb8377d5728d85 | [
"MIT"
] | null | null | null | controllers/home.py | Zhanelya/sprks | 917256da5c994f2b9f2352c126eb8377d5728d85 | [
"MIT"
] | null | null | null | from localsys.environment import render
import web
class home:
def GET(self):
return render.home() | 14.125 | 39 | 0.699115 | 15 | 113 | 5.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230089 | 113 | 8 | 40 | 14.125 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
7efaed9668dcac878a5d6aa1db327daf6e4d0649 | 161 | py | Python | CodeWars/8 Kyu/repeatIt.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/repeatIt.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/repeatIt.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def repeat_it(string,n):
print( string)
if type(string) == str:
return string * n
print(string*n)
else:
return 'Not a string' | 23 | 29 | 0.559006 | 22 | 161 | 4.045455 | 0.590909 | 0.235955 | 0.269663 | 0.404494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.329193 | 161 | 7 | 29 | 23 | 0.824074 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 0.285714 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7d2b2dea7276bbeb977be8e8148dbd31dcff807c | 76 | py | Python | openslides_backend/services/database/__init__.py | ThomasJunk/openslides-backend | 798ed65d1490bf93ed3bd870cfc6f2a8c6f47986 | [
"MIT"
] | null | null | null | openslides_backend/services/database/__init__.py | ThomasJunk/openslides-backend | 798ed65d1490bf93ed3bd870cfc6f2a8c6f47986 | [
"MIT"
] | null | null | null | openslides_backend/services/database/__init__.py | ThomasJunk/openslides-backend | 798ed65d1490bf93ed3bd870cfc6f2a8c6f47986 | [
"MIT"
] | null | null | null | from .adapter import Adapter # noqa
from .engine import HTTPEngine # noqa
| 25.333333 | 38 | 0.763158 | 10 | 76 | 5.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 76 | 2 | 39 | 38 | 0.935484 | 0.118421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7d2fc62ef1b9b6a7ea32ee8a8093f1a9b2991a5e | 61 | py | Python | src/pdfui/error/error.py | ichiro-kazusa/PDFCon | 529c22145bfd20919b015b5ba70e8bab33feed01 | [
"MIT"
] | null | null | null | src/pdfui/error/error.py | ichiro-kazusa/PDFCon | 529c22145bfd20919b015b5ba70e8bab33feed01 | [
"MIT"
] | null | null | null | src/pdfui/error/error.py | ichiro-kazusa/PDFCon | 529c22145bfd20919b015b5ba70e8bab33feed01 | [
"MIT"
] | null | null | null |
class SelectionNotContinuousException(Exception):
pass
| 12.2 | 49 | 0.803279 | 4 | 61 | 12.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 61 | 4 | 50 | 15.25 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7d312a7fc2915c47511e151dcf74c1c9a5e6c5ff | 43 | py | Python | tests/test_entry.py | regginold/drosophila-courtship | a40249ee538a73f66b25d55c47e06f8505ba10f2 | [
"MIT"
] | 4 | 2019-05-01T19:14:45.000Z | 2020-04-23T04:31:21.000Z | tests/test_entry.py | benshahary/drosophila-courtship | a40249ee538a73f66b25d55c47e06f8505ba10f2 | [
"MIT"
] | null | null | null | tests/test_entry.py | benshahary/drosophila-courtship | a40249ee538a73f66b25d55c47e06f8505ba10f2 | [
"MIT"
] | 1 | 2020-02-26T17:14:03.000Z | 2020-02-26T17:14:03.000Z |
from context import entry
entry.main() | 10.75 | 26 | 0.72093 | 6 | 43 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 43 | 4 | 27 | 10.75 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 | 0 | 0 | 5 |
adb512ad7ed9506241105faf4baaa31865c22fe1 | 6,261 | py | Python | acouchbase/tests/cases/mutation_tokens_t.py | dfresh613/couchbase-python-client | c77af56490ed4c6d364fcf8fc1a374570de0239b | [
"Apache-2.0"
] | 189 | 2015-01-07T18:34:31.000Z | 2022-03-21T17:41:56.000Z | acouchbase/tests/cases/mutation_tokens_t.py | dfresh613/couchbase-python-client | c77af56490ed4c6d364fcf8fc1a374570de0239b | [
"Apache-2.0"
] | 24 | 2015-05-19T14:00:16.000Z | 2022-03-16T22:01:30.000Z | acouchbase/tests/cases/mutation_tokens_t.py | dfresh613/couchbase-python-client | c77af56490ed4c6d364fcf8fc1a374570de0239b | [
"Apache-2.0"
] | 60 | 2015-03-10T22:12:50.000Z | 2022-03-07T21:57:40.000Z | from unittest import SkipTest
from functools import wraps
from nose.tools import nottest
from acouchbase.cluster import (Cluster, get_event_loop,
close_event_loop)
from couchbase_tests.async_base import AsyncioTestCase
from couchbase.exceptions import DocumentNotFoundException
import co... | 36.614035 | 108 | 0.674493 | 738 | 6,261 | 5.555556 | 0.172087 | 0.052683 | 0.083415 | 0.085366 | 0.80878 | 0.739512 | 0.713659 | 0.705122 | 0.683659 | 0.660732 | 0 | 0.003275 | 0.219773 | 6,261 | 170 | 109 | 36.829412 | 0.836029 | 0.06804 | 0 | 0.656 | 0 | 0 | 0.046016 | 0 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.088 | false | 0.016 | 0.056 | 0.008 | 0.24 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
adf883127657dd0135e3b583897f92264df82a26 | 31 | py | Python | jarbas_hive_mind/discovery/__init__.py | emphasize/HiveMind-core | e476e9341f817c726b9f68ca094cdd837fd38bd5 | [
"Apache-2.0"
] | 43 | 2020-11-23T17:53:47.000Z | 2022-02-07T13:30:57.000Z | jarbas_hive_mind/discovery/__init__.py | emphasize/HiveMind-core | e476e9341f817c726b9f68ca094cdd837fd38bd5 | [
"Apache-2.0"
] | 24 | 2020-11-10T07:53:09.000Z | 2021-12-13T22:58:50.000Z | jarbas_hive_mind/discovery/__init__.py | emphasize/HiveMind-core | e476e9341f817c726b9f68ca094cdd837fd38bd5 | [
"Apache-2.0"
] | 5 | 2020-12-26T00:44:29.000Z | 2021-09-14T16:38:51.000Z | from HiveMind_presence import * | 31 | 31 | 0.870968 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 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 | 0 | 0 | 0 | 5 |
bc108c4d00651c3767583925e6647a1ae92e3e72 | 177 | py | Python | fasttext_python/fasttext_python/FastTextModel.py | Limmen/data_science | 337b105cda0c58f2cb4200b553a47e0311fe32c1 | [
"MIT"
] | null | null | null | fasttext_python/fasttext_python/FastTextModel.py | Limmen/data_science | 337b105cda0c58f2cb4200b553a47e0311fe32c1 | [
"MIT"
] | null | null | null | fasttext_python/fasttext_python/FastTextModel.py | Limmen/data_science | 337b105cda0c58f2cb4200b553a47e0311fe32c1 | [
"MIT"
] | null | null | null | class FastTextModel(object):
def __init__(self, word_index, raw_word_vectors):
pass
def save_to_word2vec_format(self, word_vectors, output_path):
pass
| 22.125 | 65 | 0.711864 | 23 | 177 | 4.956522 | 0.73913 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.214689 | 177 | 7 | 66 | 25.285714 | 0.81295 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
bc10ae8d84d6db8bac705dc2264a1268e5f9b334 | 290 | py | Python | ursina/shaders/__init__.py | clayboone/ursina | 9aebd9403b924af260fbefbfd7cef5ad82feeff7 | [
"MIT"
] | 1 | 2020-09-04T14:32:33.000Z | 2020-09-04T14:32:33.000Z | ursina/shaders/__init__.py | clayboone/ursina | 9aebd9403b924af260fbefbfd7cef5ad82feeff7 | [
"MIT"
] | null | null | null | ursina/shaders/__init__.py | clayboone/ursina | 9aebd9403b924af260fbefbfd7cef5ad82feeff7 | [
"MIT"
] | 1 | 2020-09-04T14:32:41.000Z | 2020-09-04T14:32:41.000Z | from ursina.shaders.normals import normals_shader
# post processing effects
from ursina.shaders.camera_vertical_blur import camera_vertical_blur_shader
from ursina.shaders.camera_contrast import camera_contrast_shader
from ursina.shaders.camera_grayscale import camera_grayscale_shader
| 29 | 75 | 0.886207 | 39 | 290 | 6.282051 | 0.358974 | 0.163265 | 0.277551 | 0.281633 | 0.236735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 290 | 9 | 76 | 32.222222 | 0.921053 | 0.07931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bc39f953581d7288eff2833151be41cc9b2412e8 | 166 | py | Python | programming-language/cases/python/examples/py.test/conventions/mymodule_test.py | wdv4758h/notes | 60fa483961245ec5bb264d3f28a885fb82a1c25e | [
"Unlicense"
] | 136 | 2015-06-15T13:26:40.000Z | 2022-03-03T07:47:31.000Z | programming-language/cases/python/examples/py.test/conventions/test_mymodule.py | wdv4758h/notes | 60fa483961245ec5bb264d3f28a885fb82a1c25e | [
"Unlicense"
] | 82 | 2017-01-06T06:32:55.000Z | 2020-09-03T03:34:24.000Z | programming-language/cases/python/examples/py.test/conventions/mymodule_test.py | wdv4758h/notes | 60fa483961245ec5bb264d3f28a885fb82a1c25e | [
"Unlicense"
] | 18 | 2015-12-04T04:02:44.000Z | 2022-02-24T03:48:57.000Z | #!/usr/bin/env python
class TestMyModule:
'''
``Test`` prefix
'''
def test_f(self):
'''
``test_`` prefix
'''
pass
| 11.066667 | 24 | 0.421687 | 15 | 166 | 4.533333 | 0.8 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.403614 | 166 | 14 | 25 | 11.857143 | 0.686869 | 0.319277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
70c5d17adc5066cff6466b9a2922fd757dee6148 | 11,311 | py | Python | tests/test_skunky.py | gvauter/skunky | d625d800d533162289361da0d27bbd3feb837b8b | [
"Apache-2.0"
] | 44 | 2018-03-11T22:12:32.000Z | 2021-02-16T22:30:21.000Z | tests/test_skunky.py | gvauter/skunky | d625d800d533162289361da0d27bbd3feb837b8b | [
"Apache-2.0"
] | 2 | 2018-03-11T22:56:42.000Z | 2018-12-12T13:22:20.000Z | tests/test_skunky.py | gvauter/skunky | d625d800d533162289361da0d27bbd3feb837b8b | [
"Apache-2.0"
] | 6 | 2018-08-09T23:38:17.000Z | 2020-08-10T03:59:39.000Z | #!/usr/bin/env python
import boto3
from botocore import exceptions
import json
import logging
import time
import unittest
from mock import patch, Mock, PropertyMock, MagicMock
from skunky.aws.lambdakickass import LambdaKickass
from skunky.skunky import Skunky
class SkunkyTestCase(unittest.TestCase):
@patch('bo... | 33.764179 | 113 | 0.635664 | 1,274 | 11,311 | 5.305338 | 0.142072 | 0.052079 | 0.03107 | 0.022489 | 0.807812 | 0.800118 | 0.754549 | 0.719041 | 0.682793 | 0.644326 | 0 | 0.07571 | 0.243303 | 11,311 | 335 | 114 | 33.764179 | 0.713985 | 0.001768 | 0 | 0.558935 | 0 | 0 | 0.217873 | 0.013462 | 0 | 0 | 0 | 0 | 0.106464 | 1 | 0.060837 | false | 0 | 0.034221 | 0 | 0.102662 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
70daa8ba6258909a2e4aad81185623a116dacb20 | 97 | py | Python | earthquake/admin.py | thaiseerp/Live-Events-Earthquake-map-using-in-Google-Maps-using-Django | 9359b36275cfb60619f2dbcfdd1a83cdbac6ef1f | [
"MIT"
] | null | null | null | earthquake/admin.py | thaiseerp/Live-Events-Earthquake-map-using-in-Google-Maps-using-Django | 9359b36275cfb60619f2dbcfdd1a83cdbac6ef1f | [
"MIT"
] | null | null | null | earthquake/admin.py | thaiseerp/Live-Events-Earthquake-map-using-in-Google-Maps-using-Django | 9359b36275cfb60619f2dbcfdd1a83cdbac6ef1f | [
"MIT"
] | null | null | null | """
Author: Thaiseer Parammal
"""
from django.contrib import admin
# Register your models here.
| 13.857143 | 32 | 0.742268 | 12 | 97 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 6 | 33 | 16.166667 | 0.878049 | 0.546392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
70fc99637de072e9ce23f5b2617639b522b5ada1 | 165 | py | Python | rrError.py | andrew54068/rentalRadar | 8d4d4a62d9d8ecc8c29d4648f6a325b8e3e82cbd | [
"MIT"
] | 2 | 2020-07-25T03:40:15.000Z | 2020-08-30T15:17:25.000Z | rrError.py | andrew54068/rentalRadar | 8d4d4a62d9d8ecc8c29d4648f6a325b8e3e82cbd | [
"MIT"
] | null | null | null | rrError.py | andrew54068/rentalRadar | 8d4d4a62d9d8ecc8c29d4648f6a325b8e3e82cbd | [
"MIT"
] | null | null | null | class SqlError(Exception):
def __init__(self, message="Salary != in (5000, 15000) range"):
self.message = message
super().__init__(self.message) | 33 | 67 | 0.654545 | 19 | 165 | 5.263158 | 0.684211 | 0.33 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068702 | 0.206061 | 165 | 5 | 68 | 33 | 0.694656 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
70fddcc1fcfc0f986859504f58154eec0eb5086d | 280 | py | Python | recipes/models.py | evemon/ohsiha | 91d635bf5159b63cbd276b9dccabbf3ec8e4aa92 | [
"MIT"
] | null | null | null | recipes/models.py | evemon/ohsiha | 91d635bf5159b63cbd276b9dccabbf3ec8e4aa92 | [
"MIT"
] | null | null | null | recipes/models.py | evemon/ohsiha | 91d635bf5159b63cbd276b9dccabbf3ec8e4aa92 | [
"MIT"
] | null | null | null | from django.db import models
from django.urls import reverse
class Recipe(models.Model):
title = models.CharField(max_length=200)
href = models.CharField(max_length=100)
ingredients = models.CharField(max_length=200)
thumbnail = models.CharField(max_length=200)
| 28 | 50 | 0.764286 | 38 | 280 | 5.526316 | 0.5 | 0.285714 | 0.342857 | 0.457143 | 0.385714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.142857 | 280 | 9 | 51 | 31.111111 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
cb080f625f95b0f2191799dc47575aa3567ff3a7 | 172 | py | Python | codechain/sdk/key/__init__.py | CodeChain-io/codechain-sdk-python | e21420fe8e1105f23f04fc6ca3f18a444c2bf9a3 | [
"0BSD"
] | 11 | 2018-08-22T09:42:54.000Z | 2019-11-30T07:19:42.000Z | codechain/sdk/key/__init__.py | CodeChain-io/codechain-sdk-python | e21420fe8e1105f23f04fc6ca3f18a444c2bf9a3 | [
"0BSD"
] | 38 | 2019-07-22T06:13:39.000Z | 2021-06-02T00:43:21.000Z | codechain/sdk/key/__init__.py | CodeChain-io/codechain-sdk-python | e21420fe8e1105f23f04fc6ca3f18a444c2bf9a3 | [
"0BSD"
] | 5 | 2019-07-24T19:13:00.000Z | 2020-03-18T12:13:27.000Z | import sys
from .key import Key
from .key import KeyStoreType
# -------
# Pythons
# -------
if sys.version_info < (3, 6):
raise ValueError("Please use >=python3.6")
| 14.333333 | 46 | 0.627907 | 23 | 172 | 4.652174 | 0.695652 | 0.130841 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.186047 | 172 | 11 | 47 | 15.636364 | 0.735714 | 0.133721 | 0 | 0 | 0 | 0 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
cb4058b26a49665945127397e17e8d8aa0f0ccc6 | 322 | py | Python | wagtail_sb_material/wagtail_hooks.py | softbutterfly/softbutterfly-wagtail-materialize | 8619166b5688d4a51b1a6e39a03e22661bc1a7ea | [
"BSD-3-Clause"
] | null | null | null | wagtail_sb_material/wagtail_hooks.py | softbutterfly/softbutterfly-wagtail-materialize | 8619166b5688d4a51b1a6e39a03e22661bc1a7ea | [
"BSD-3-Clause"
] | null | null | null | wagtail_sb_material/wagtail_hooks.py | softbutterfly/softbutterfly-wagtail-materialize | 8619166b5688d4a51b1a6e39a03e22661bc1a7ea | [
"BSD-3-Clause"
] | null | null | null | from django.templatetags.static import static
from django.utils.html import format_html
from wagtail.core import hooks
@hooks.register('insert_editor_css')
def editor_css():
return format_html(
'<link rel="stylesheet" href="{}">',
static('softbutterfly/wagtail/css/softbutterfly-wagtail.css')
... | 24.769231 | 69 | 0.729814 | 40 | 322 | 5.75 | 0.55 | 0.086957 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 322 | 12 | 70 | 26.833333 | 0.842491 | 0 | 0 | 0 | 0 | 0 | 0.313665 | 0.158385 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.333333 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 1 | 0 | 0 | 5 |
cb43a57dc95d0358bc28192f38754bacaf60e68e | 78 | py | Python | pythonteste/aula11.py | kaue-pessoa/cursoemvideo-python | d0f651a85d43c1800fcbc14cad0d8c20c86dbacf | [
"MIT"
] | null | null | null | pythonteste/aula11.py | kaue-pessoa/cursoemvideo-python | d0f651a85d43c1800fcbc14cad0d8c20c86dbacf | [
"MIT"
] | null | null | null | pythonteste/aula11.py | kaue-pessoa/cursoemvideo-python | d0f651a85d43c1800fcbc14cad0d8c20c86dbacf | [
"MIT"
] | null | null | null | print('\033[4;33;45mOlá Mundo!\033[m')
# para adicionar cor no python pychar
| 26 | 38 | 0.717949 | 14 | 78 | 4 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 0.128205 | 78 | 2 | 39 | 39 | 0.661765 | 0.448718 | 0 | 0 | 0 | 0 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
cb4ca588754de90204c71911427283ccdc95ce1a | 286 | py | Python | backend/app/literature/crud/resource_descriptor_crud.py | alliance-genome/agr_literature_service_demo | 48cd3a3797f96ef94e6d40d2c94e379bfc48914f | [
"MIT"
] | null | null | null | backend/app/literature/crud/resource_descriptor_crud.py | alliance-genome/agr_literature_service_demo | 48cd3a3797f96ef94e6d40d2c94e379bfc48914f | [
"MIT"
] | 39 | 2021-10-18T17:02:49.000Z | 2022-03-28T20:56:24.000Z | backend/app/literature/crud/resource_descriptor_crud.py | alliance-genome/agr_literature_service_demo | 48cd3a3797f96ef94e6d40d2c94e379bfc48914f | [
"MIT"
] | 1 | 2021-10-21T00:11:18.000Z | 2021-10-21T00:11:18.000Z | from sqlalchemy.orm import Session
from literature.models import ResourceDescriptorModel
from initialize import update_resource_descriptor
def update(db: Session):
return update_resource_descriptor(db)
def show(db: Session):
return db.query(ResourceDescriptorModel).all()
| 20.428571 | 53 | 0.811189 | 34 | 286 | 6.705882 | 0.529412 | 0.122807 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125874 | 286 | 13 | 54 | 22 | 0.912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.428571 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
cbdca94a99ef0120b85aecf2caffedcc8f73bf9d | 115 | py | Python | examples/imported.py | tardyp/pyserde | 2bef77d9888ffcc650f031f0e883cb2ff08cbf60 | [
"MIT"
] | 113 | 2019-06-15T08:04:41.000Z | 2022-03-31T22:48:54.000Z | examples/imported.py | tardyp/pyserde | 2bef77d9888ffcc650f031f0e883cb2ff08cbf60 | [
"MIT"
] | 168 | 2019-06-25T23:44:13.000Z | 2022-03-31T17:39:30.000Z | examples/imported.py | tardyp/pyserde | 2bef77d9888ffcc650f031f0e883cb2ff08cbf60 | [
"MIT"
] | 26 | 2020-05-25T15:17:09.000Z | 2022-03-24T05:31:45.000Z | import enum
class ImportedEnum(enum.IntEnum):
V0 = enum.auto()
V1 = enum.auto()
V2 = 10
V3 = 100
| 12.777778 | 33 | 0.582609 | 16 | 115 | 4.1875 | 0.75 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.295652 | 115 | 8 | 34 | 14.375 | 0.716049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1.166667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1dbde6ca7778ad6eb356d4eefff96a1f6b3f2379 | 56 | py | Python | app/utilities/__init__.py | actini/storage-manager | 0f6995fe65e2ed8dd862ffd03b52c3808c0ff873 | [
"MIT"
] | null | null | null | app/utilities/__init__.py | actini/storage-manager | 0f6995fe65e2ed8dd862ffd03b52c3808c0ff873 | [
"MIT"
] | null | null | null | app/utilities/__init__.py | actini/storage-manager | 0f6995fe65e2ed8dd862ffd03b52c3808c0ff873 | [
"MIT"
] | null | null | null | from .configloader import ConfigLoader, ConfigException
| 28 | 55 | 0.875 | 5 | 56 | 9.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 56 | 1 | 56 | 56 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
1df9eedc3047cdf63be37f3aa9def5de2653adee | 276 | py | Python | condenser/database_helper.py | Spantree/condenser | 430c950c4a871ced2eaa2b48445957a4fe0562b1 | [
"MIT"
] | null | null | null | condenser/database_helper.py | Spantree/condenser | 430c950c4a871ced2eaa2b48445957a4fe0562b1 | [
"MIT"
] | null | null | null | condenser/database_helper.py | Spantree/condenser | 430c950c4a871ced2eaa2b48445957a4fe0562b1 | [
"MIT"
] | null | null | null | from . import config_reader
def get_specific_helper():
if config_reader.get_db_type() == 'postgres':
from . import psql_database_helper
return psql_database_helper
else:
from . import mysql_database_helper
return mysql_database_helper
| 27.6 | 49 | 0.713768 | 34 | 276 | 5.382353 | 0.5 | 0.306011 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231884 | 276 | 9 | 50 | 30.666667 | 0.863208 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.375 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
381b8e485ad8fda54be642dadcdbca6da6565166 | 63 | py | Python | python/phonetisaurus/__init__.py | aplawson/Phonetisaurus | e73a6042d5f99d5feeb9963e3c3696190a9e0e5e | [
"BSD-3-Clause"
] | 349 | 2015-04-07T10:19:21.000Z | 2022-03-28T22:43:43.000Z | python/phonetisaurus/__init__.py | aplawson/Phonetisaurus | e73a6042d5f99d5feeb9963e3c3696190a9e0e5e | [
"BSD-3-Clause"
] | 61 | 2015-05-19T15:48:46.000Z | 2022-01-12T06:49:58.000Z | python/phonetisaurus/__init__.py | aplawson/Phonetisaurus | e73a6042d5f99d5feeb9963e3c3696190a9e0e5e | [
"BSD-3-Clause"
] | 117 | 2015-06-07T00:55:37.000Z | 2022-03-23T00:59:30.000Z | from Phonetisaurus import PhonetisaurusScript as Phonetisaurus
| 31.5 | 62 | 0.904762 | 6 | 63 | 9.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 63 | 1 | 63 | 63 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
381fb64327f16bec6fd1bef8a4b81fa86440c1b0 | 4,133 | py | Python | clients/python/client/relevanced_client/test/test_centroid_document_operations.py | scivey/relevanced | 8f0fe67f48ea1da7468a70eef026ed23b4298a27 | [
"MIT"
] | 10 | 2015-12-02T01:41:52.000Z | 2020-05-11T04:05:56.000Z | clients/python/client/relevanced_client/test/test_centroid_document_operations.py | scivey/relevanced | 8f0fe67f48ea1da7468a70eef026ed23b4298a27 | [
"MIT"
] | null | null | null | clients/python/client/relevanced_client/test/test_centroid_document_operations.py | scivey/relevanced | 8f0fe67f48ea1da7468a70eef026ed23b4298a27 | [
"MIT"
] | 3 | 2017-05-20T19:31:44.000Z | 2019-04-14T03:47:07.000Z | from __future__ import print_function
from .common import IsolatedTestCase
from .. import (
EDocumentDoesNotExist,
ECentroidDoesNotExist,
EDocumentAlreadyInCentroid,
EDocumentNotInCentroid
)
class TestCentroidDocumentOperations(IsolatedTestCase):
def test_add_document_1(self):
self.client.... | 45.922222 | 87 | 0.711106 | 528 | 4,133 | 5.255682 | 0.090909 | 0.140541 | 0.134775 | 0.086486 | 0.838919 | 0.794595 | 0.762162 | 0.702342 | 0.676757 | 0.657297 | 0 | 0.017401 | 0.165739 | 4,133 | 89 | 88 | 46.438202 | 0.787413 | 0 | 0 | 0.486111 | 0 | 0 | 0.14061 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 1 | 0.138889 | false | 0 | 0.041667 | 0 | 0.194444 | 0.013889 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
383f8a303e9e612596921aafdd8826c71e44c6ab | 13,835 | py | Python | testing/objects/test_arrayobject.py | jweinraub/hippyvm | 09c7643aaa1c4ade566e8681abd2543f12bf874c | [
"MIT"
] | 289 | 2015-01-01T15:36:55.000Z | 2022-03-27T00:22:27.000Z | testing/objects/test_arrayobject.py | jweinraub/hippyvm | 09c7643aaa1c4ade566e8681abd2543f12bf874c | [
"MIT"
] | 26 | 2015-01-21T16:34:41.000Z | 2020-08-26T15:12:54.000Z | testing/objects/test_arrayobject.py | jweinraub/hippyvm | 09c7643aaa1c4ade566e8681abd2543f12bf874c | [
"MIT"
] | 35 | 2015-01-05T12:09:41.000Z | 2022-03-16T09:30:16.000Z | import py, sys
from rpython.rlib.rfloat import INFINITY, NAN, isnan
from testing.test_interpreter import BaseTestInterpreter
def doset(space, w_array, w_index, w_newvalue):
w_res, w_new2 = w_array.setitem2_maybe_inplace(space, w_index, w_newvalue)
assert w_new2 is w_newvalue
assert w_res is w_array # ... | 42.700617 | 78 | 0.507987 | 1,857 | 13,835 | 3.485191 | 0.084545 | 0.124227 | 0.096879 | 0.086527 | 0.815822 | 0.770859 | 0.749382 | 0.708436 | 0.633498 | 0.61063 | 0 | 0.059219 | 0.365305 | 13,835 | 323 | 79 | 42.832817 | 0.677827 | 0.008746 | 0 | 0.557823 | 0 | 0 | 0.038088 | 0.001897 | 0 | 0 | 0 | 0 | 0.210884 | 1 | 0.07483 | false | 0 | 0.010204 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
69957c45f7d53be6bde147eb378accc40900434e | 100 | py | Python | Chakravala/__init__.py | Rachiiit/Chakravala | feee7cf8b847ace583c5b102648659f67ae17372 | [
"CC0-1.0"
] | null | null | null | Chakravala/__init__.py | Rachiiit/Chakravala | feee7cf8b847ace583c5b102648659f67ae17372 | [
"CC0-1.0"
] | null | null | null | Chakravala/__init__.py | Rachiiit/Chakravala | feee7cf8b847ace583c5b102648659f67ae17372 | [
"CC0-1.0"
] | null | null | null | from .chakravala import chakravala, chakravala_terno
from .sqrt_approx import sqrt_approx, sqrt_app | 50 | 53 | 0.86 | 14 | 100 | 5.857143 | 0.5 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 100 | 2 | 54 | 50 | 0.911111 | 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 | 0 | 0 | 0 | 5 |
6998713b5a740bc6859d84a270bc28e065be9ac0 | 59 | py | Python | mymldev/utils/__init__.py | Suneel123/mymldev | d80826432f97c9004986cd5a625f74757cf362bb | [
"MIT"
] | null | null | null | mymldev/utils/__init__.py | Suneel123/mymldev | d80826432f97c9004986cd5a625f74757cf362bb | [
"MIT"
] | null | null | null | mymldev/utils/__init__.py | Suneel123/mymldev | d80826432f97c9004986cd5a625f74757cf362bb | [
"MIT"
] | null | null | null | # Utility snippets
from .misc import ConfigHolder, DotDict
| 19.666667 | 39 | 0.813559 | 7 | 59 | 6.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 40 | 29.5 | 0.941176 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
699c8fd5329616005a0a8e0f48a54d4ab6336cab | 124 | py | Python | class_room_backend/chat/admin.py | mdShakilHossainNsu2018/classroom_flutter | 226be17a0bce9522377714b380764881e914040a | [
"MIT"
] | null | null | null | class_room_backend/chat/admin.py | mdShakilHossainNsu2018/classroom_flutter | 226be17a0bce9522377714b380764881e914040a | [
"MIT"
] | null | null | null | class_room_backend/chat/admin.py | mdShakilHossainNsu2018/classroom_flutter | 226be17a0bce9522377714b380764881e914040a | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import TrainData
# Register your models here.
admin.site.register(TrainData)
| 20.666667 | 32 | 0.814516 | 17 | 124 | 5.941176 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 5 | 33 | 24.8 | 0.926606 | 0.209677 | 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 | 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 | 5 |
69a71bf3bd2fc019376062296b1aa19a42800846 | 104 | py | Python | colorterm/__init__.py | jalonsors/colorterm | af861ead1da772f6f461733caee867b63a88837d | [
"MIT"
] | 1 | 2015-12-30T17:13:09.000Z | 2015-12-30T17:13:09.000Z | colorterm/__init__.py | jalonsors/colorterm | af861ead1da772f6f461733caee867b63a88837d | [
"MIT"
] | null | null | null | colorterm/__init__.py | jalonsors/colorterm | af861ead1da772f6f461733caee867b63a88837d | [
"MIT"
] | 1 | 2020-12-23T21:05:17.000Z | 2020-12-23T21:05:17.000Z | from .colorterm import ColorTerm, formatter
from .table import Table
colorterm = colorterm.ColorTerm()
| 20.8 | 43 | 0.807692 | 12 | 104 | 7 | 0.416667 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 4 | 44 | 26 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3884bd31e83ca0c616e30b0cda78c9cd644ba9b7 | 129 | py | Python | Chapter 06/ch6_1r.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 06/ch6_1r.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 06/ch6_1r.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | z=10
w=-10
while(z<50):
if (z>0 and w<0):
print(z**2, w**3)
z = z+10
w=w+10
# 100 -1000 | 14.333333 | 27 | 0.364341 | 26 | 129 | 1.807692 | 0.5 | 0.12766 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0.44186 | 129 | 9 | 28 | 14.333333 | 0.361111 | 0.069767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
38a716d342d37dabc2be6d9237dd3d8ab2a7939e | 97 | py | Python | newdust/__init__.py | eblur/newdust | 7e843ae2604a844826606ea04c459694fdd5c178 | [
"BSD-2-Clause"
] | 4 | 2018-02-04T19:04:01.000Z | 2022-02-09T04:11:18.000Z | newdust/__init__.py | eblur/newdust | 7e843ae2604a844826606ea04c459694fdd5c178 | [
"BSD-2-Clause"
] | 21 | 2017-08-15T21:13:42.000Z | 2021-12-23T20:07:24.000Z | newdust/__init__.py | eblur/newdust | 7e843ae2604a844826606ea04c459694fdd5c178 | [
"BSD-2-Clause"
] | 1 | 2021-01-28T18:29:12.000Z | 2021-01-28T18:29:12.000Z | from . import constants
from . import graindist
from . import scatmodels
from .grainpop import *
| 19.4 | 24 | 0.783505 | 12 | 97 | 6.333333 | 0.5 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 4 | 25 | 24.25 | 0.938272 | 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 | 0 | 0 | 0 | 5 |
38ac7830eed8a95e2299fbce24c1cbdd6598a315 | 589 | py | Python | tests/lanczos/run.py | weikengchen/Virgo | 73b924f33e18c017bafa3ed37da84a7b0d80ec5d | [
"Apache-2.0"
] | 9 | 2020-06-02T04:54:08.000Z | 2021-12-07T12:54:09.000Z | tests/lanczos/run.py | weikengchen/Virgo | 73b924f33e18c017bafa3ed37da84a7b0d80ec5d | [
"Apache-2.0"
] | 2 | 2021-01-07T18:34:10.000Z | 2021-03-22T20:29:43.000Z | tests/lanczos/run.py | weikengchen/Virgo | 73b924f33e18c017bafa3ed37da84a7b0d80ec5d | [
"Apache-2.0"
] | 5 | 2020-06-08T09:11:37.000Z | 2021-07-29T12:15:47.000Z | import os
os.system('mkdir -p LOG')
os.system('./zk_proof lanczos2_112_N=16_circuit.txt lanczos2_112_N=16_meta.txt LOG/lanczos2_112_N=16.txt')
os.system('./zk_proof lanczos2_176_N=64_circuit.txt lanczos2_176_N=64_meta.txt LOG/lanczos2_176_N=64.txt')
os.system('./zk_proof lanczos2_304_N=256_circuit.txt lanczos2_304_N=25... | 73.625 | 115 | 0.828523 | 117 | 589 | 3.786325 | 0.196581 | 0.108352 | 0.112867 | 0.1693 | 0.286682 | 0.234763 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 0.042445 | 589 | 7 | 116 | 84.142857 | 0.593972 | 0 | 0 | 0 | 0 | 0 | 0.840407 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2a1e102925d13f2518d375ccaecffd9244889f3d | 4,460 | py | Python | models/base.py | OrangeBai/C3DLab | 24c3a92706aad43fe7a4d559bba1f956f8f0bef7 | [
"MIT"
] | null | null | null | models/base.py | OrangeBai/C3DLab | 24c3a92706aad43fe7a4d559bba1f956f8f0bef7 | [
"MIT"
] | null | null | null | models/base.py | OrangeBai/C3DLab | 24c3a92706aad43fe7a4d559bba1f956f8f0bef7 | [
"MIT"
] | null | null | null | from tensorflow.python.keras.engine.input_layer import Input
from tensorflow.python.keras.layers import Conv2D, TimeDistributed, Dense,Flatten,Dropout
from nets.RoiPoolingConv import RoiPoolingConv
from tensorflow.python.keras.engine.training import Model
from tensorflow.keras.optimizers import Adam, SGD
from helper im... | 44.158416 | 115 | 0.631166 | 539 | 4,460 | 4.961039 | 0.204082 | 0.041885 | 0.031414 | 0.022438 | 0.367614 | 0.282723 | 0.244577 | 0.133508 | 0.091997 | 0.091997 | 0 | 0.011226 | 0.241031 | 4,460 | 100 | 116 | 44.6 | 0.77873 | 0.876682 | 0 | 0 | 0 | 0 | 0.017391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
2a46cc9d10a0388dbd22373d199fe3fc112c697a | 38 | py | Python | code/brain/story/trigger.py | OpenGenus/lama | d8c0c38549c0fed402cf66b311e74374a6ba62af | [
"MIT"
] | null | null | null | code/brain/story/trigger.py | OpenGenus/lama | d8c0c38549c0fed402cf66b311e74374a6ba62af | [
"MIT"
] | null | null | null | code/brain/story/trigger.py | OpenGenus/lama | d8c0c38549c0fed402cf66b311e74374a6ba62af | [
"MIT"
] | null | null | null | # Find the appropriate story for user. | 38 | 38 | 0.789474 | 6 | 38 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 1 | 38 | 38 | 0.9375 | 0.947368 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2a520b3c66202912712eecf2fde70f1115edd6ed | 37 | py | Python | utils.py | corenel/pytorch-starter-kit | f09e3193d4e03e0d018f66158e3d426cb8766e22 | [
"MIT"
] | 2 | 2019-06-07T05:22:49.000Z | 2020-07-22T10:11:26.000Z | utils.py | corenel/pytorch-starter-kit | f09e3193d4e03e0d018f66158e3d426cb8766e22 | [
"MIT"
] | null | null | null | utils.py | corenel/pytorch-starter-kit | f09e3193d4e03e0d018f66158e3d426cb8766e22 | [
"MIT"
] | null | null | null | """Helpful functions for project."""
| 18.5 | 36 | 0.702703 | 4 | 37 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.787879 | 0.810811 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2a83bdf29bf73da17ac76e1333665bb7b11f230e | 210 | py | Python | odm2admin/apps.py | ocefpaf/ODM2-Admin | 2a0d17daf4d3a50386f4f0c1e37d18da1f287c16 | [
"MIT"
] | 5 | 2016-08-10T17:20:36.000Z | 2017-04-26T17:46:06.000Z | odm2admin/apps.py | ocefpaf/ODM2-Admin | 2a0d17daf4d3a50386f4f0c1e37d18da1f287c16 | [
"MIT"
] | 85 | 2016-07-01T16:25:15.000Z | 2017-10-03T18:06:38.000Z | odm2admin/apps.py | ocefpaf/ODM2-Admin | 2a0d17daf4d3a50386f4f0c1e37d18da1f287c16 | [
"MIT"
] | 8 | 2016-07-26T16:40:24.000Z | 2018-11-15T15:45:43.000Z | from django.apps import AppConfig
from django.core.management import settings
class ODM2AdminConfig(AppConfig):
name = '{}'.format(settings.APP_NAME)
verbose_name = '{}'.format(settings.VERBOSE_NAME)
| 26.25 | 53 | 0.761905 | 25 | 210 | 6.28 | 0.56 | 0.127389 | 0.229299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.12381 | 210 | 7 | 54 | 30 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
aa5e5120bd82c96328a67334e512440d4af5c8bc | 806 | py | Python | fileSafe/src/LoadDlls.py | wangzhongtian/vobTool.srcGit | 255a33ce109b63d335084007b3d1f3635a2992bf | [
"Unlicense"
] | null | null | null | fileSafe/src/LoadDlls.py | wangzhongtian/vobTool.srcGit | 255a33ce109b63d335084007b3d1f3635a2992bf | [
"Unlicense"
] | null | null | null | fileSafe/src/LoadDlls.py | wangzhongtian/vobTool.srcGit | 255a33ce109b63d335084007b3d1f3635a2992bf | [
"Unlicense"
] | null | null | null |
import clr
import sys
import System
import System.IO
def getFullNames1(dllname):
filename=None
filename = "./"+dllname
if ( System.IO.File.Exists(filename) ):
print("Load Dlls:" ,filename)
return dllname
for p in System.Environment.GetEnvironmentVariable("libpath").split(";"):
filename = p+"... | 26.866667 | 75 | 0.621588 | 92 | 806 | 5.445652 | 0.282609 | 0.07984 | 0.11976 | 0.135729 | 0.722555 | 0.722555 | 0.722555 | 0.722555 | 0.722555 | 0.722555 | 0 | 0.001647 | 0.246898 | 806 | 30 | 76 | 26.866667 | 0.823723 | 0 | 0 | 0.666667 | 0 | 0 | 0.066998 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.148148 | 0 | 0.37037 | 0.185185 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aa791ffaf483d76317e380054bd5be53b3fd5fab | 4,726 | py | Python | content/views.py | farhadmpr/PyEditorial | ae81bf2cd35ff354b58a114e1c49732358b5750e | [
"CC0-1.0"
] | 2 | 2020-08-24T09:34:35.000Z | 2021-01-06T10:39:14.000Z | content/views.py | farhadmpr/PyEditorial | ae81bf2cd35ff354b58a114e1c49732358b5750e | [
"CC0-1.0"
] | null | null | null | content/views.py | farhadmpr/PyEditorial | ae81bf2cd35ff354b58a114e1c49732358b5750e | [
"CC0-1.0"
] | null | null | null | from django.views import generic
from django.db.models import Q
from content import models as ContentModels
from constance import config
from .forms import SearchForm
class Base(generic.ListView):
template_name = 'base.html'
def get_context_data(self, *, object_list=None, **kwargs):
context = sup... | 35.533835 | 147 | 0.688108 | 545 | 4,726 | 5.781651 | 0.148624 | 0.076166 | 0.106633 | 0.064741 | 0.754364 | 0.73437 | 0.73437 | 0.727388 | 0.713424 | 0.57093 | 0 | 0.001284 | 0.175836 | 4,726 | 132 | 148 | 35.80303 | 0.807702 | 0 | 0 | 0.494505 | 0 | 0 | 0.082734 | 0.004444 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.010989 | 0.054945 | 0 | 0.593407 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 5 |
aab8ce71d41c1382037da88b49fac08b459be554 | 9,644 | py | Python | cotidia/admin/templatetags/admin_search_dashboard_tags.py | hayden5-mwac/cotidia-admin | cfdd9d2677dd1098019fafbec8a6d07e1a42f9eb | [
"BSD-3-Clause"
] | 2 | 2019-07-20T14:43:21.000Z | 2021-04-30T15:43:49.000Z | cotidia/admin/templatetags/admin_search_dashboard_tags.py | hayden5-mwac/cotidia-admin | cfdd9d2677dd1098019fafbec8a6d07e1a42f9eb | [
"BSD-3-Clause"
] | 16 | 2020-07-17T04:26:20.000Z | 2022-03-23T14:47:31.000Z | cotidia/admin/templatetags/admin_search_dashboard_tags.py | hayden5-mwac/cotidia-admin | cfdd9d2677dd1098019fafbec8a6d07e1a42f9eb | [
"BSD-3-Clause"
] | 1 | 2020-05-18T20:56:45.000Z | 2020-05-18T20:56:45.000Z | import json
from django import template
from django.core.serializers.json import DjangoJSONEncoder
from django.contrib.contenttypes.models import ContentType
from cotidia.admin.utils import get_model_serializer_class
register = template.Library()
# @register.inclusion_tag("admin/partials/dynamic_list_config.html",... | 42.672566 | 90 | 0.716197 | 1,100 | 9,644 | 5.955455 | 0.139091 | 0.127004 | 0.130514 | 0.027782 | 0.771333 | 0.766601 | 0.756068 | 0.749504 | 0.744009 | 0.744009 | 0 | 0 | 0.170676 | 9,644 | 225 | 91 | 42.862222 | 0.81908 | 0.538988 | 0 | 0 | 0 | 0 | 0.249076 | 0.060074 | 0 | 0 | 0 | 0.004444 | 0 | 1 | 0.024096 | false | 0 | 0.060241 | 0.012048 | 0.108434 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aac04d1acc383386dcf33fc340658c1121bc7745 | 696 | py | Python | tests/work_with_gdscript/pysubnode.py | blueflamegames/godot-python | b4ae8ecda7f698e1d64eb0a9acc133094fb40843 | [
"CC-BY-3.0"
] | 1,323 | 2016-11-17T21:28:18.000Z | 2022-03-31T17:42:37.000Z | tests/work_with_gdscript/pysubnode.py | blueflamegames/godot-python | b4ae8ecda7f698e1d64eb0a9acc133094fb40843 | [
"CC-BY-3.0"
] | 301 | 2017-01-02T17:49:13.000Z | 2022-03-14T13:17:42.000Z | tests/work_with_gdscript/pysubnode.py | blueflamegames/godot-python | b4ae8ecda7f698e1d64eb0a9acc133094fb40843 | [
"CC-BY-3.0"
] | 131 | 2017-02-09T08:05:03.000Z | 2022-03-15T06:44:34.000Z | from godot import exposed, export
from pynode import PyNode
@exposed
class PySubNode(PyNode):
_sub_ready_called = False
_overloaded_by_child_prop_value = None
def _ready(self):
super()._ready()
self._sub_ready_called = True
def is_sub_ready_called(self):
return self._sub_rea... | 24 | 61 | 0.715517 | 94 | 696 | 4.861702 | 0.329787 | 0.183807 | 0.260394 | 0.275711 | 0.310722 | 0.253829 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20546 | 696 | 28 | 62 | 24.857143 | 0.826401 | 0 | 0 | 0 | 0 | 0 | 0.04023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1 | 0.15 | 0.65 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
aae3ebb7805c174284fc1df8a0f6d3cf5cc23671 | 390 | py | Python | continuous_integration/display_versions.py | jeremiedbb/threadpoolctl | e8c9dc6ebd5565a75284aed31beec2e439d4f80e | [
"BSD-3-Clause"
] | null | null | null | continuous_integration/display_versions.py | jeremiedbb/threadpoolctl | e8c9dc6ebd5565a75284aed31beec2e439d4f80e | [
"BSD-3-Clause"
] | null | null | null | continuous_integration/display_versions.py | jeremiedbb/threadpoolctl | e8c9dc6ebd5565a75284aed31beec2e439d4f80e | [
"BSD-3-Clause"
] | null | null | null | from threadpoolctl import threadpool_info
from pprint import pprint
try:
import numpy as np
print("numpy", np.__version__)
except ImportError:
pass
try:
import scipy
import scipy.linalg
print("scipy", scipy.__version__)
except ImportError:
pass
try:
from tests._openmp_test_helper impo... | 16.25 | 51 | 0.725641 | 48 | 390 | 5.625 | 0.458333 | 0.188889 | 0.233333 | 0.207407 | 0.22963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207692 | 390 | 23 | 52 | 16.956522 | 0.873786 | 0.010256 | 0 | 0.5 | 0 | 0 | 0.026042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.5 | 0.222222 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
2a9fb03ffb5b363a77d9500e616f057178b18dcc | 302 | py | Python | python/datagraph/neo/svc/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/datagraph/neo/svc/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/datagraph/neo/svc/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | from .find_common_relationships import FindCommonRelationships
from .generate_similarity_metric import GenerateSimilarityMetric
from .generate_similarity_triples import GenerateSimilarityTriples
from .initialize_neo_graph import InitializeNeoGraph
from .transform_owl_to_json import TransformOwltoJson
| 50.333333 | 66 | 0.917219 | 31 | 302 | 8.580645 | 0.677419 | 0.090226 | 0.165414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066225 | 302 | 5 | 67 | 60.4 | 0.943262 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 5 |
2ac7b97776139d8b20449a0811832ef7927d0efc | 263 | gyp | Python | test_FrozenNode/fileTypes/binding.gyp | sefcom/FrozenNode-nodeRequireResolver | f307505aed7ff340f570e28c1694969dfca9eed5 | [
"Apache-2.0"
] | null | null | null | test_FrozenNode/fileTypes/binding.gyp | sefcom/FrozenNode-nodeRequireResolver | f307505aed7ff340f570e28c1694969dfca9eed5 | [
"Apache-2.0"
] | null | null | null | test_FrozenNode/fileTypes/binding.gyp | sefcom/FrozenNode-nodeRequireResolver | f307505aed7ff340f570e28c1694969dfca9eed5 | [
"Apache-2.0"
] | null | null | null | {
"targets": [
{
"target_name": "simpleTest",
"sources": [ "simpleTest.cc" ]
},
{
"target_name": "simpleTest2",
"sources": [ "simpleTest.cc" ]
},
{
"target_name": "simpleTest3",
"sources": [ "simpleTest.cc" ]
}
]
} | 16.4375 | 36 | 0.490494 | 19 | 263 | 6.631579 | 0.421053 | 0.238095 | 0.452381 | 0.396825 | 0.460317 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.292776 | 263 | 16 | 37 | 16.4375 | 0.666667 | 0 | 0 | 0.1875 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2acc7cd9ee1f35977a43399a913af635efdc5146 | 9,840 | py | Python | src/waldur_mastermind/marketplace_azure/tests/test_order_item.py | opennode/nodeconductor-assembly-waldur | cad9966389dc9b52b13d2301940c99cf4b243900 | [
"MIT"
] | 2 | 2017-01-20T15:26:25.000Z | 2017-08-03T04:38:08.000Z | src/waldur_mastermind/marketplace_azure/tests/test_order_item.py | opennode/nodeconductor-assembly-waldur | cad9966389dc9b52b13d2301940c99cf4b243900 | [
"MIT"
] | null | null | null | src/waldur_mastermind/marketplace_azure/tests/test_order_item.py | opennode/nodeconductor-assembly-waldur | cad9966389dc9b52b13d2301940c99cf4b243900 | [
"MIT"
] | null | null | null | from django.core.exceptions import ObjectDoesNotExist
from rest_framework import test
from waldur_azure import models as azure_models
from waldur_azure.tests import factories as azure_factories
from waldur_azure.tests import fixtures as azure_fixtures
from waldur_core.core import utils as core_utils
from waldur_master... | 37.992278 | 88 | 0.705996 | 1,039 | 9,840 | 6.382098 | 0.110683 | 0.065149 | 0.066355 | 0.035892 | 0.814658 | 0.793545 | 0.768512 | 0.763686 | 0.683155 | 0.683155 | 0 | 0.00013 | 0.219106 | 9,840 | 258 | 89 | 38.139535 | 0.862832 | 0 | 0 | 0.59434 | 0 | 0 | 0.0125 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 1 | 0.075472 | false | 0 | 0.04717 | 0 | 0.150943 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2acfae2eb073ce66613d3772c688b271c376e112 | 513 | py | Python | sdk/kamonohashi/op/rest/api/__init__.py | sinpcw/kamonohashi | fb779c69a7746c3a100394f82001d8a914355861 | [
"Apache-2.0"
] | null | null | null | sdk/kamonohashi/op/rest/api/__init__.py | sinpcw/kamonohashi | fb779c69a7746c3a100394f82001d8a914355861 | [
"Apache-2.0"
] | null | null | null | sdk/kamonohashi/op/rest/api/__init__.py | sinpcw/kamonohashi | fb779c69a7746c3a100394f82001d8a914355861 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from kamonohashi.op.rest.api.account_api import AccountApi
from kamonohashi.op.rest.api.data_api import DataApi
from kamonohashi.op.rest.api.data_set_api import DataSetApi
from kamonohashi.op.rest.api.inference_api import InferenceAp... | 39.461538 | 70 | 0.85575 | 76 | 513 | 5.605263 | 0.355263 | 0.246479 | 0.279343 | 0.34507 | 0.413146 | 0.131455 | 0 | 0 | 0 | 0 | 0 | 0.002128 | 0.083821 | 513 | 12 | 71 | 42.75 | 0.904255 | 0.079922 | 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 | 0 | 0 | 0 | 5 |
2ae30030df8644188012aac72115881801f9b08a | 927 | py | Python | tests/test_splitter.py | gaqzi/radish | 42cbface3bc181d3fa62afbb15f7a6f5433d4509 | [
"Beerware"
] | null | null | null | tests/test_splitter.py | gaqzi/radish | 42cbface3bc181d3fa62afbb15f7a6f5433d4509 | [
"Beerware"
] | 1 | 2016-09-18T16:00:10.000Z | 2016-09-18T16:00:10.000Z | tests/test_splitter.py | gaqzi/radish | 42cbface3bc181d3fa62afbb15f7a6f5433d4509 | [
"Beerware"
] | null | null | null | from radish import splitter
class TestSplit(object):
def test_splits_one_into_one_piece(self):
assert splitter.split(['1', '2', '3']) == ['1', '2', '3']
def test_splits_into_jobs_pieces_consistently(self):
assert splitter.split(['1', '2', '3'], splits=2) == [['1', '3'], ['2']]
def test_r... | 38.625 | 85 | 0.599784 | 125 | 927 | 4.192 | 0.296 | 0.030534 | 0.253817 | 0.263359 | 0.541985 | 0.442748 | 0.442748 | 0.39313 | 0.39313 | 0.39313 | 0 | 0.046917 | 0.195254 | 927 | 23 | 86 | 40.304348 | 0.655496 | 0 | 0 | 0 | 0 | 0 | 0.030205 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 1 | 0.375 | false | 0 | 0.0625 | 0 | 0.5625 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
2ae927a5f0e7c9bd7e61141d8dbd16e4a31dcd9b | 122 | py | Python | src/env/exmaple.py | jarbus/hackRPI2019 | cf154ca1844926ab45241f7d3315b198bdfa6d76 | [
"MIT"
] | null | null | null | src/env/exmaple.py | jarbus/hackRPI2019 | cf154ca1844926ab45241f7d3315b198bdfa6d76 | [
"MIT"
] | null | null | null | src/env/exmaple.py | jarbus/hackRPI2019 | cf154ca1844926ab45241f7d3315b198bdfa6d76 | [
"MIT"
] | null | null | null | """ Example on how to set up the recovery environment. """
import gym
import env.recovery
dir(gym.make("revcovery-v0"))
| 17.428571 | 58 | 0.721311 | 19 | 122 | 4.631579 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.147541 | 122 | 6 | 59 | 20.333333 | 0.836538 | 0.409836 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2af74339063f2b5258e4257e434ec26b295f5977 | 23 | py | Python | python3.7/app/prin.py | brdhunga/uvicorn-gunicorn-fastapi-docker | a7ff8f5fd3e5b9a8a76ce74a7b1c03071a7dc8b1 | [
"MIT"
] | null | null | null | python3.7/app/prin.py | brdhunga/uvicorn-gunicorn-fastapi-docker | a7ff8f5fd3e5b9a8a76ce74a7b1c03071a7dc8b1 | [
"MIT"
] | null | null | null | python3.7/app/prin.py | brdhunga/uvicorn-gunicorn-fastapi-docker | a7ff8f5fd3e5b9a8a76ce74a7b1c03071a7dc8b1 | [
"MIT"
] | null | null | null | print(' i the file yo') | 23 | 23 | 0.652174 | 5 | 23 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6316da447557b2425a0c9444ccb7a26e0baaa970 | 60 | py | Python | Arknights/__init__.py | boatliuz/ArknightsAutoHelper | 2dd260b59b4734301dabb1b6793bba05a716517c | [
"MIT"
] | null | null | null | Arknights/__init__.py | boatliuz/ArknightsAutoHelper | 2dd260b59b4734301dabb1b6793bba05a716517c | [
"MIT"
] | null | null | null | Arknights/__init__.py | boatliuz/ArknightsAutoHelper | 2dd260b59b4734301dabb1b6793bba05a716517c | [
"MIT"
] | null | null | null | # coding: utf-8
from Arknights.base import ArknightsHelper
| 15 | 42 | 0.8 | 8 | 60 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.133333 | 60 | 3 | 43 | 20 | 0.903846 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
63291e262b4d8c1167fc37640dc2925ce15508db | 6,460 | py | Python | addons/point_of_sale/__manifest__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/point_of_sale/__manifest__.py | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/point_of_sale/__manifest__.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.
{
'name': 'Point of Sale',
'version': '1.0.1',
'category': 'Sales/Point of Sale',
'sequence': 40,
'summary': 'User-friendly PoS interface for shops and restaurants',
'description': "",
'depend... | 51.269841 | 95 | 0.697988 | 699 | 6,460 | 6.354793 | 0.240343 | 0.143854 | 0.191805 | 0.23638 | 0.510131 | 0.347816 | 0.047726 | 0 | 0 | 0 | 0 | 0.001296 | 0.164087 | 6,460 | 125 | 96 | 51.68 | 0.821296 | 0.014551 | 0 | 0.02459 | 0 | 0 | 0.773063 | 0.723558 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.008197 | 0 | 0.008197 | 0.016393 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2d5fa2b96d88000223f30b61574a48e61e2168f3 | 42 | py | Python | src/processing/alternative_actor_suggestion/__init__.py | 1997alireza/Movie-Casting-Problems | df555e57401ec1b120d8e9d3c2d51b1d3a070f21 | [
"MIT"
] | 3 | 2021-04-20T06:02:34.000Z | 2021-04-24T04:16:45.000Z | src/processing/alternative_actor_suggestion/__init__.py | 1997alireza/Movie-Casting-Problems | df555e57401ec1b120d8e9d3c2d51b1d3a070f21 | [
"MIT"
] | null | null | null | src/processing/alternative_actor_suggestion/__init__.py | 1997alireza/Movie-Casting-Problems | df555e57401ec1b120d8e9d3c2d51b1d3a070f21 | [
"MIT"
] | null | null | null | """
AAS = Alternative Actor Suggestion
""" | 14 | 34 | 0.690476 | 4 | 42 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 35 | 14 | 0.805556 | 0.809524 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2d6c44ce62999b9c39718c333ce8f8ac837841df | 6,570 | py | Python | python/akg/ops/math/gpu/tensorcore_batch_matmul.py | tianjiashuo/akg | a9cbf642063fb1086a93e8bc6be6feb145689817 | [
"Apache-2.0"
] | 286 | 2020-06-23T06:40:44.000Z | 2022-03-30T01:27:49.000Z | python/akg/ops/math/gpu/tensorcore_batch_matmul.py | tianjiashuo/akg | a9cbf642063fb1086a93e8bc6be6feb145689817 | [
"Apache-2.0"
] | 10 | 2020-07-31T03:26:59.000Z | 2021-12-27T15:00:54.000Z | python/akg/ops/math/gpu/tensorcore_batch_matmul.py | tianjiashuo/akg | a9cbf642063fb1086a93e8bc6be6feb145689817 | [
"Apache-2.0"
] | 30 | 2020-07-17T01:04:14.000Z | 2021-12-27T14:05:19.000Z | # Copyright 2021 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 49.029851 | 155 | 0.641705 | 1,006 | 6,570 | 4.008946 | 0.131213 | 0.096702 | 0.053558 | 0.059509 | 0.779569 | 0.760476 | 0.743863 | 0.738408 | 0.738408 | 0.704934 | 0 | 0.040882 | 0.199543 | 6,570 | 133 | 156 | 49.398496 | 0.725994 | 0.09102 | 0 | 0.540816 | 0 | 0 | 0.045187 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05102 | false | 0 | 0.040816 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2d7e6ccb07dd2e10be11b1e8f97566223a0935c2 | 104 | py | Python | backend/app/app/schemas/msg.py | tgogos/NEF_emulator | be126a1967e11148f02f526be4ab192b6ce6df68 | [
"Apache-2.0"
] | 10 | 2022-01-27T12:13:45.000Z | 2022-03-22T10:44:37.000Z | backend/app/app/schemas/msg.py | EVOLVED-5G/NEF_emulator | bcbce43bf1226a4ddd81db8662c982460cff2583 | [
"Apache-2.0"
] | 6 | 2022-01-28T14:22:17.000Z | 2022-02-09T13:31:45.000Z | backend/app/app/schemas/msg.py | EVOLVED-5G/NEF_emulator | bcbce43bf1226a4ddd81db8662c982460cff2583 | [
"Apache-2.0"
] | 2 | 2022-01-27T12:04:18.000Z | 2022-01-27T12:18:59.000Z | from pydantic import BaseModel, constr
class Msg(BaseModel):
supi: constr(regex=r'^[0-9]{15,16}$') | 20.8 | 41 | 0.692308 | 16 | 104 | 4.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.134615 | 104 | 5 | 41 | 20.8 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2d806c38714802b82a20a5320d422c9a8fa69c27 | 73 | py | Python | wiggin/actions/__init__.py | golobor/plugychrom | df5c46895a9e419cda7793272625e289b1095137 | [
"MIT"
] | null | null | null | wiggin/actions/__init__.py | golobor/plugychrom | df5c46895a9e419cda7793272625e289b1095137 | [
"MIT"
] | 1 | 2021-12-16T10:52:24.000Z | 2021-12-16T10:52:24.000Z | wiggin/actions/__init__.py | golobor/plugychrom | df5c46895a9e419cda7793272625e289b1095137 | [
"MIT"
] | 2 | 2021-03-05T17:06:06.000Z | 2021-12-16T10:51:49.000Z | from . import sim, conformations, constraints, interactions # noqa: F401 | 73 | 73 | 0.780822 | 8 | 73 | 7.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.136986 | 73 | 1 | 73 | 73 | 0.857143 | 0.136986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2d86983a60366010ac0b7f912a1dd4d70bb1e89e | 71 | py | Python | build/lib/requestmap/Protocols/__init__.py | yyjlincoln/RequestMap | 3fff1117e4aef59afe66cce29cd29e7670ae46f7 | [
"Apache-2.0"
] | 2 | 2021-12-12T06:25:51.000Z | 2021-12-26T11:08:27.000Z | build/lib/requestmap/Protocols/__init__.py | yyjlincoln/RequestMap | 3fff1117e4aef59afe66cce29cd29e7670ae46f7 | [
"Apache-2.0"
] | null | null | null | build/lib/requestmap/Protocols/__init__.py | yyjlincoln/RequestMap | 3fff1117e4aef59afe66cce29cd29e7670ae46f7 | [
"Apache-2.0"
] | null | null | null | from . import Flask as Flask
from . import ProtocolBase as ProtocolBase | 35.5 | 42 | 0.816901 | 10 | 71 | 5.8 | 0.5 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 71 | 2 | 42 | 35.5 | 0.966667 | 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 | 0 | 0 | 0 | 5 |
2dad59f66a070611ef17b0b700de51a14b485383 | 68,173 | py | Python | tacker/vnflcm/vnflcm_driver.py | lkpdn/tacker | 578b12e989876ab99effbb372fec9345de85bcf5 | [
"Apache-2.0"
] | null | null | null | tacker/vnflcm/vnflcm_driver.py | lkpdn/tacker | 578b12e989876ab99effbb372fec9345de85bcf5 | [
"Apache-2.0"
] | null | null | null | tacker/vnflcm/vnflcm_driver.py | lkpdn/tacker | 578b12e989876ab99effbb372fec9345de85bcf5 | [
"Apache-2.0"
] | 1 | 2020-11-16T02:14:35.000Z | 2020-11-16T02:14:35.000Z | # Copyright (C) 2020 NTT DATA
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | 46.629959 | 79 | 0.567189 | 7,055 | 68,173 | 5.065627 | 0.057548 | 0.06279 | 0.056606 | 0.017125 | 0.831076 | 0.801304 | 0.754183 | 0.7229 | 0.690805 | 0.641334 | 0 | 0.001054 | 0.360099 | 68,173 | 1,461 | 80 | 46.661875 | 0.818173 | 0.017148 | 0 | 0.634277 | 0 | 0 | 0.091534 | 0.013964 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023718 | false | 0 | 0.019128 | 0 | 0.053558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2dc2f16f3693de4d82e91dffc7fe342189ef8011 | 1,291 | py | Python | tests/test_sanity.py | gilbrookie/cmdr | ee31e5b75a01f00e45f8181bf78017f232f0287e | [
"ISC"
] | null | null | null | tests/test_sanity.py | gilbrookie/cmdr | ee31e5b75a01f00e45f8181bf78017f232f0287e | [
"ISC"
] | null | null | null | tests/test_sanity.py | gilbrookie/cmdr | ee31e5b75a01f00e45f8181bf78017f232f0287e | [
"ISC"
] | null | null | null | import unittest
class SanityTest(unittest.TestCase):
def test_module_import(self):
try:
import cmdr
except ImportError, ex:
self.fail("ImportError", ex)
try:
import cmdr.application
except ImportError, ex:
self.fail("ImportError", ex... | 22.649123 | 46 | 0.570875 | 133 | 1,291 | 5.360902 | 0.210526 | 0.218794 | 0.190743 | 0.193548 | 0.58906 | 0.58906 | 0.518934 | 0.518934 | 0.499299 | 0.499299 | 0 | 0 | 0.343145 | 1,291 | 56 | 47 | 23.053571 | 0.840802 | 0 | 0 | 0.5 | 0 | 0 | 0.05732 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | null | null | 0 | 0.547619 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
930b420e9675769f0e4ee22cabcb0c4c19a4720f | 70 | py | Python | References/hello_package/diff.py | pywaker/pybasics | 0e1eed95049cad9c989b6e6c5e60a8ca3bd2ae89 | [
"CC-BY-4.0"
] | 6 | 2020-07-14T12:05:08.000Z | 2022-01-06T05:28:51.000Z | References/hello_package/diff.py | pywaker/pybasics | 0e1eed95049cad9c989b6e6c5e60a8ca3bd2ae89 | [
"CC-BY-4.0"
] | null | null | null | References/hello_package/diff.py | pywaker/pybasics | 0e1eed95049cad9c989b6e6c5e60a8ca3bd2ae89 | [
"CC-BY-4.0"
] | 13 | 2020-06-12T16:04:57.000Z | 2020-10-13T04:49:05.000Z |
def diff():
print("Diff Diff")
def patch():
print("Patch")
| 8.75 | 22 | 0.542857 | 9 | 70 | 4.222222 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 70 | 7 | 23 | 10 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
932743858a860b6da1d32a706d8697c0158b5fe1 | 94 | py | Python | Tests/test_M2.py | Abhi-1U/pyrix | a6ea9577196d23dbebf6709c17d7c60eca187473 | [
"MIT"
] | 2 | 2020-10-02T17:59:05.000Z | 2020-11-29T09:25:39.000Z | Tests/test_M2.py | Abhi-1U/pyrix | a6ea9577196d23dbebf6709c17d7c60eca187473 | [
"MIT"
] | null | null | null | Tests/test_M2.py | Abhi-1U/pyrix | a6ea9577196d23dbebf6709c17d7c60eca187473 | [
"MIT"
] | null | null | null | import pytest
from pyrix import Matrix
from pyrix.exception import incompaitableTypeException
| 23.5 | 54 | 0.882979 | 11 | 94 | 7.545455 | 0.636364 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 94 | 3 | 55 | 31.333333 | 0.988095 | 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 | 0 | 0 | 0 | 5 |
934a87be5728ff8097f343827a87dc0c30b1a0b1 | 152 | py | Python | tests/travel/test_travel_01.py | hackebrot/earth | 2787eeb37692f1c82bc12cb24a4c1574826204a7 | [
"MIT"
] | 12 | 2019-08-03T00:55:46.000Z | 2021-01-17T15:02:05.000Z | tests/events/test_events_04.py | hackebrot/earth | 2787eeb37692f1c82bc12cb24a4c1574826204a7 | [
"MIT"
] | 5 | 2019-03-12T13:14:34.000Z | 2019-10-29T15:01:53.000Z | tests/year/test_year_01.py | hackebrot/earth | 2787eeb37692f1c82bc12cb24a4c1574826204a7 | [
"MIT"
] | 3 | 2019-12-21T04:35:13.000Z | 2020-12-11T14:44:39.000Z | def test_numbers():
assert 1234 == 1234
def test_hello_world():
assert "hello" + "world" == "helloworld"
def test_foobar():
assert True
| 13.818182 | 44 | 0.644737 | 19 | 152 | 4.947368 | 0.526316 | 0.223404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.223684 | 152 | 10 | 45 | 15.2 | 0.728814 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
936355052461378ad0f693cdd154ae5488b0c3f9 | 105 | py | Python | freqtrade/plugins/protections/__init__.py | Fractate/freqbot | 47b35d2320dc97977411454c1466c762d339fdee | [
"MIT"
] | 1 | 2022-03-06T22:44:30.000Z | 2022-03-06T22:44:30.000Z | freqtrade/plugins/protections/__init__.py | Fractate/freqbot | 47b35d2320dc97977411454c1466c762d339fdee | [
"MIT"
] | null | null | null | freqtrade/plugins/protections/__init__.py | Fractate/freqbot | 47b35d2320dc97977411454c1466c762d339fdee | [
"MIT"
] | 1 | 2021-09-22T23:28:21.000Z | 2021-09-22T23:28:21.000Z | # flake8: noqa: F401
from freqtrade.plugins.protections.iprotection import IProtection, ProtectionReturn
| 35 | 83 | 0.847619 | 11 | 105 | 8.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.085714 | 105 | 2 | 84 | 52.5 | 0.885417 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9366b14ac438e976d06aa5b03b8736dd965f2b51 | 12,723 | py | Python | MLStudio/supervised/visual/base.py | j2slab/MLStudio | 7d7c4b1073617968c28f0e496020e4720b552451 | [
"BSD-3-Clause"
] | 1 | 2019-05-13T01:07:23.000Z | 2019-05-13T01:07:23.000Z | MLStudio/supervised/visual/base.py | DecisionScients/MLStudio | 7d7c4b1073617968c28f0e496020e4720b552451 | [
"BSD-3-Clause"
] | 1 | 2020-04-11T22:14:42.000Z | 2020-04-11T22:14:42.000Z | MLStudio/supervised/visual/base.py | decisionscients/MLStudio | 7d7c4b1073617968c28f0e496020e4720b552451 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
# ============================================================================ #
# Project : MLStudio #
# Version : 0.1.0 #
# File : base.py ... | 35.243767 | 94 | 0.512379 | 1,239 | 12,723 | 5.202583 | 0.17837 | 0.039715 | 0.033509 | 0.024822 | 0.75287 | 0.714086 | 0.708501 | 0.708501 | 0.690506 | 0.67282 | 0 | 0.010245 | 0.317221 | 12,723 | 360 | 95 | 35.341667 | 0.731783 | 0.601981 | 0 | 0.796117 | 0 | 0 | 0.014811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.174757 | false | 0.009709 | 0.067961 | 0 | 0.291262 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9371be72319dc9f573c765edaafa3ffebfd864d5 | 75 | py | Python | src/scanlib/__init__.py | heavyrage/scanserver | cee3d43f0d1c3af56da8e616c6f2251d8a4b3c19 | [
"MIT"
] | null | null | null | src/scanlib/__init__.py | heavyrage/scanserver | cee3d43f0d1c3af56da8e616c6f2251d8a4b3c19 | [
"MIT"
] | null | null | null | src/scanlib/__init__.py | heavyrage/scanserver | cee3d43f0d1c3af56da8e616c6f2251d8a4b3c19 | [
"MIT"
] | null | null | null | from flask_restful import fields, marshal
from constants import Constants | 37.5 | 42 | 0.853333 | 10 | 75 | 6.3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 75 | 2 | 43 | 37.5 | 0.969231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
937b49031d762a296966718d10bb19119acb2122 | 18,383 | py | Python | message_evarilos_engine_type2_pb2.py | flemic/ECE-EVARILOS | d4492dd218dbe2e4f19357af2668766ea13fcd17 | [
"BSD-3-Clause"
] | 1 | 2017-02-02T09:51:37.000Z | 2017-02-02T09:51:37.000Z | message_evarilos_engine_type2_pb2.py | flemic/ECE-EVARILOS | d4492dd218dbe2e4f19357af2668766ea13fcd17 | [
"BSD-3-Clause"
] | null | null | null | message_evarilos_engine_type2_pb2.py | flemic/ECE-EVARILOS | d4492dd218dbe2e4f19357af2668766ea13fcd17 | [
"BSD-3-Clause"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: message_evarilos_engine_type2.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import descriptor_pb2
# @@protoc_inse... | 48.376316 | 2,049 | 0.747212 | 2,546 | 18,383 | 5.07502 | 0.077769 | 0.067487 | 0.056962 | 0.057349 | 0.809767 | 0.738178 | 0.706137 | 0.668911 | 0.57511 | 0.551196 | 0 | 0.050125 | 0.131807 | 18,383 | 379 | 2,050 | 48.503958 | 0.759461 | 0.024697 | 0 | 0.683908 | 1 | 0.002874 | 0.254129 | 0.215123 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011494 | 0 | 0.028736 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.