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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1ade1ed3683e381ae0cc38b512be128ac35c2ed2 | 27 | py | Python | src/inventory_management/models/__init__.py | grai-io/inventory-management | 85b898b4354090ed970f0f61f2a6acd286a085e2 | [
"MIT"
] | null | null | null | src/inventory_management/models/__init__.py | grai-io/inventory-management | 85b898b4354090ed970f0f61f2a6acd286a085e2 | [
"MIT"
] | null | null | null | src/inventory_management/models/__init__.py | grai-io/inventory-management | 85b898b4354090ed970f0f61f2a6acd286a085e2 | [
"MIT"
] | null | null | null | from .order_up_to import *
| 13.5 | 26 | 0.777778 | 5 | 27 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ae72d863860ad5ab3724754d8a1196f7848277b | 33 | py | Python | evolocity/pl.py | samsledje/evolocity | 2b162ff61d4239ba5af06a601e5bb62f501d4a0f | [
"MIT"
] | 25 | 2021-06-03T22:51:24.000Z | 2022-03-18T09:38:42.000Z | evolocity/pl.py | samsledje/evolocity | 2b162ff61d4239ba5af06a601e5bb62f501d4a0f | [
"MIT"
] | 7 | 2021-07-11T17:20:24.000Z | 2022-03-17T02:31:13.000Z | evolocity/pl.py | samsledje/evolocity | 2b162ff61d4239ba5af06a601e5bb62f501d4a0f | [
"MIT"
] | 5 | 2021-06-08T18:39:14.000Z | 2022-03-11T12:55:33.000Z | from evolocity.plotting import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dcd0745abfd4bc4dca36e61ae99c7c41acf2e01b | 11,759 | py | Python | tests/test_blogs.py | NaKolenke/kolenka-backend | b8bf0a49b424e088b02bfeb59b7a083e59973b88 | [
"MIT"
] | null | null | null | tests/test_blogs.py | NaKolenke/kolenka-backend | b8bf0a49b424e088b02bfeb59b7a083e59973b88 | [
"MIT"
] | null | null | null | tests/test_blogs.py | NaKolenke/kolenka-backend | b8bf0a49b424e088b02bfeb59b7a083e59973b88 | [
"MIT"
] | null | null | null | import datetime
import pytest
from src.model.models import Blog, BlogInvite, BlogParticipiation, Token, User
@pytest.fixture
def other_user_and_token():
user = User.create(
username="other_user",
password="0x:993fadc17393cdfb06dfb7f5dd0d13de",
email="asd",
registration_date=datet... | 31.525469 | 87 | 0.633217 | 1,602 | 11,759 | 4.493134 | 0.081149 | 0.044179 | 0.061684 | 0.045151 | 0.819116 | 0.802028 | 0.767296 | 0.73312 | 0.717699 | 0.674771 | 0 | 0.016536 | 0.208011 | 11,759 | 372 | 88 | 31.610215 | 0.756362 | 0 | 0 | 0.624549 | 0 | 0 | 0.182158 | 0.005953 | 0 | 0 | 0 | 0 | 0.357401 | 1 | 0.068592 | false | 0.00722 | 0.036101 | 0 | 0.111913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b48fb0f921f202fd4bd5e90216d0dd595a872ca2 | 164 | py | Python | Day2/environment-and-paths-python/python-main-functions/import_this_example.py | klimpie94/Python-training | 7af210126cfe2e9386a8f22075ea0d7eff80daac | [
"RSA-MD"
] | null | null | null | Day2/environment-and-paths-python/python-main-functions/import_this_example.py | klimpie94/Python-training | 7af210126cfe2e9386a8f22075ea0d7eff80daac | [
"RSA-MD"
] | 1 | 2021-12-13T20:33:28.000Z | 2021-12-13T20:33:28.000Z | Day2/environment-and-paths-python/python-main-functions/import_this_example.py | klimpie94/Python-training | 7af210126cfe2e9386a8f22075ea0d7eff80daac | [
"RSA-MD"
] | 9 | 2020-02-05T10:24:12.000Z | 2020-02-10T13:08:50.000Z | import python_zen
# As the main function is not imported we can only use the function
# from the python_zen module...
python_zen.import_this_without_side_effect()
| 27.333333 | 67 | 0.810976 | 28 | 164 | 4.5 | 0.714286 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140244 | 164 | 5 | 68 | 32.8 | 0.893617 | 0.579268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4ed2685093b23a5fa2b12e0bcda8f79dc6f414f | 12,467 | py | Python | Data_Collection_Code/Syntax_Analysis/parse_ground_truth.py | dimitristaufer/Cloud-NLP-Evaluation | 201d7721616f4526ae58bed503fc05874cf2e52a | [
"MIT"
] | null | null | null | Data_Collection_Code/Syntax_Analysis/parse_ground_truth.py | dimitristaufer/Cloud-NLP-Evaluation | 201d7721616f4526ae58bed503fc05874cf2e52a | [
"MIT"
] | null | null | null | Data_Collection_Code/Syntax_Analysis/parse_ground_truth.py | dimitristaufer/Cloud-NLP-Evaluation | 201d7721616f4526ae58bed503fc05874cf2e52a | [
"MIT"
] | 1 | 2022-03-26T11:47:11.000Z | 2022-03-26T11:47:11.000Z | import sys
sys.path.append('../')
sys.path.append('../..')
import pyconll
from mongo_connect import Connect
# This program parses two POS corpora and stores them in a local mongoDB database #
### Universal Dependencies version of syntax annotations
# from the GUM corpus (https://corpling.uis.georgetown.edu/gum/) ##... | 35.518519 | 121 | 0.574477 | 1,208 | 12,467 | 5.771523 | 0.166391 | 0.033563 | 0.088353 | 0.033563 | 0.784423 | 0.784423 | 0.777395 | 0.75043 | 0.742685 | 0.742685 | 0 | 0.008053 | 0.322692 | 12,467 | 350 | 122 | 35.62 | 0.817622 | 0.174862 | 0 | 0.726891 | 0 | 0 | 0.171008 | 0.103161 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046218 | false | 0 | 0.012605 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
370a5bdc43ab9effc0ca3a17db706337b6f94e46 | 305 | py | Python | python/AmcCarrierCore/AppHardware/RtmCryoDet/__init__.py | slaclab/amc-carrier-core | 1ecbd2d2c9215863c200b4404456616dd4ed2e2f | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-01-31T17:12:03.000Z | 2019-01-31T17:12:03.000Z | python/AmcCarrierCore/AppHardware/RtmCryoDet/__init__.py | slaclab/amc-carrier-core | 1ecbd2d2c9215863c200b4404456616dd4ed2e2f | [
"BSD-3-Clause-LBNL"
] | 33 | 2018-03-25T21:06:15.000Z | 2022-01-27T17:07:01.000Z | python/AmcCarrierCore/AppHardware/RtmCryoDet/__init__.py | slaclab/amc-carrier-core | 1ecbd2d2c9215863c200b4404456616dd4ed2e2f | [
"BSD-3-Clause-LBNL"
] | 3 | 2020-04-16T12:37:58.000Z | 2022-03-31T09:14:13.000Z |
from AmcCarrierCore.AppHardware.RtmCryoDet._rtmCryoDet import *
from AmcCarrierCore.AppHardware.RtmCryoDet._dacLut import *
from AmcCarrierCore.AppHardware.RtmCryoDet._spiCryo import *
from AmcCarrierCore.AppHardware.RtmCryoDet._spiMax import *
from AmcCarrierCore.AppHardware.RtmCryoDet._spiSr import *
| 43.571429 | 63 | 0.865574 | 30 | 305 | 8.633333 | 0.3 | 0.34749 | 0.559846 | 0.752896 | 0.694981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068852 | 305 | 6 | 64 | 50.833333 | 0.911972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3727cb3a74ffa8549a8cd8b273642a7ffa60c246 | 5,887 | py | Python | src/the_tale/the_tale/common/utils/tests/test_xls.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 85 | 2017-11-21T12:22:02.000Z | 2022-03-27T23:07:17.000Z | src/the_tale/the_tale/common/utils/tests/test_xls.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 545 | 2017-11-04T14:15:04.000Z | 2022-03-27T14:19:27.000Z | src/the_tale/the_tale/common/utils/tests/test_xls.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 45 | 2017-11-11T12:36:30.000Z | 2022-02-25T06:10:44.000Z |
import smart_imports
smart_imports.all()
class XLSTests(testcase.TestCase):
def setUp(self):
super(XLSTests, self).setUp()
def test_load_table_simple(self):
data = utils_xls.load_table(os.path.join(os.path.dirname(__file__), 'fixtures/xls_table_simple.xls'), sheet_index=0)
self.ass... | 58.87 | 130 | 0.530661 | 722 | 5,887 | 4.041551 | 0.094183 | 0.086361 | 0.052776 | 0.076765 | 0.921864 | 0.917752 | 0.906785 | 0.885538 | 0.85024 | 0.822138 | 0 | 0.063799 | 0.289112 | 5,887 | 99 | 131 | 59.464646 | 0.633453 | 0 | 0 | 0.358974 | 0 | 0 | 0.160381 | 0.068977 | 0 | 0 | 0 | 0 | 0.179487 | 1 | 0.192308 | false | 0 | 0.025641 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e960f50a60f96630a19c6b1c7f7adc7990c9fe1 | 43 | py | Python | pypro/base/models/__init__.py | rodrigoddc/django-advanced-course | 098507d8111f38f8a6b914575e50861538913f6c | [
"MIT"
] | 1 | 2020-06-30T01:30:31.000Z | 2020-06-30T01:30:31.000Z | pypro/base/models/__init__.py | rodrigoddc/django-advanced-course | 098507d8111f38f8a6b914575e50861538913f6c | [
"MIT"
] | 102 | 2020-06-30T01:03:27.000Z | 2021-09-22T19:26:44.000Z | pypro/base/models/__init__.py | rodrigoddc/django-advanced-course | 098507d8111f38f8a6b914575e50861538913f6c | [
"MIT"
] | null | null | null | from .user_custom import UserManager, User
| 21.5 | 42 | 0.837209 | 6 | 43 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e9d2e683a165edaa137a3269842afc8ab17dee2 | 211 | py | Python | lang/Python/url-decoding.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/url-decoding.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/url-decoding.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | #Python 2.X
import urllib.request, urllib.parse, urllib.error
print(urllib.parse.unquote("http%3A%2F%2Ffoo%20bar%2F"))
#Python 3.5+
from urllib.parse import unquote
print((unquote('http%3A%2F%2Ffoo%20bar%2F')))
| 30.142857 | 56 | 0.758294 | 36 | 211 | 4.444444 | 0.5 | 0.20625 | 0.1625 | 0.1875 | 0.3375 | 0.3375 | 0.3375 | 0 | 0 | 0 | 0 | 0.076142 | 0.066351 | 211 | 6 | 57 | 35.166667 | 0.736041 | 0.099526 | 0 | 0 | 0 | 0 | 0.265957 | 0.265957 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
2c1ee07bb606278d910c7ea9e8cb49c6dcf518db | 30 | py | Python | rocketman/utils/__init__.py | Batucho/Rocketman | ff93b7e68be269e4b1b04b4d72611e308e73a76b | [
"MIT"
] | null | null | null | rocketman/utils/__init__.py | Batucho/Rocketman | ff93b7e68be269e4b1b04b4d72611e308e73a76b | [
"MIT"
] | null | null | null | rocketman/utils/__init__.py | Batucho/Rocketman | ff93b7e68be269e4b1b04b4d72611e308e73a76b | [
"MIT"
] | null | null | null | from rocketman.utils import *
| 15 | 29 | 0.8 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25cc4f1d3641dd7fe191eec78b5416a3a202fed5 | 160 | py | Python | Python/PycharmProjects/aula 6/main.py | MarcelaSamili/Desafios-do-curso-de-Python | f331e91821c0c25b3e32d2075254ef650292f280 | [
"MIT"
] | null | null | null | Python/PycharmProjects/aula 6/main.py | MarcelaSamili/Desafios-do-curso-de-Python | f331e91821c0c25b3e32d2075254ef650292f280 | [
"MIT"
] | null | null | null | Python/PycharmProjects/aula 6/main.py | MarcelaSamili/Desafios-do-curso-de-Python | f331e91821c0c25b3e32d2075254ef650292f280 | [
"MIT"
] | null | null | null | #Os arquivos main.py das aulas 6,7 e 8 não tem nada, porém os arquivos main.py das outras aulas tem breves explicações da aula na qual foi inspirado o desafio.
| 80 | 159 | 0.78125 | 32 | 160 | 3.90625 | 0.78125 | 0.16 | 0.224 | 0.256 | 0.304 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.18125 | 160 | 1 | 160 | 160 | 0.931298 | 0.9875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
25ceade12d46713648345cc4a48e0416c43d5c97 | 32 | py | Python | acq4/drivers/PatchStar/__init__.py | tropp/ACQ4 | 792e05e99cedfc175593d200aeabecd6fa6304ce | [
"MIT"
] | null | null | null | acq4/drivers/PatchStar/__init__.py | tropp/ACQ4 | 792e05e99cedfc175593d200aeabecd6fa6304ce | [
"MIT"
] | null | null | null | acq4/drivers/PatchStar/__init__.py | tropp/ACQ4 | 792e05e99cedfc175593d200aeabecd6fa6304ce | [
"MIT"
] | null | null | null | from patchstar import PatchStar
| 16 | 31 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25f16c129e44eeb148c31a847f92c7fe65ad20c1 | 60 | py | Python | inception/__init__.py | nishaq503/InceptionTime | 01fa6d2f72e91b27f421ca9bd1cd06381406d4e6 | [
"MIT"
] | null | null | null | inception/__init__.py | nishaq503/InceptionTime | 01fa6d2f72e91b27f421ca9bd1cd06381406d4e6 | [
"MIT"
] | null | null | null | inception/__init__.py | nishaq503/InceptionTime | 01fa6d2f72e91b27f421ca9bd1cd06381406d4e6 | [
"MIT"
] | null | null | null | from . import datagen
from . import net
from . import utils
| 15 | 21 | 0.75 | 9 | 60 | 5 | 0.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 3 | 22 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25f9d69c8977e55156ace5077ef14dbe4fac1bfe | 20,419 | py | Python | mdl-ref-server/test.py | joshrl-clearme/mdl-ref-apps | 4aacf07dc769657497b526c9982e247886fdc019 | [
"Apache-2.0"
] | 41 | 2020-04-13T12:24:57.000Z | 2022-01-31T18:51:32.000Z | mdl-ref-server/test.py | joshrl-clearme/mdl-ref-apps | 4aacf07dc769657497b526c9982e247886fdc019 | [
"Apache-2.0"
] | 13 | 2020-05-12T19:20:59.000Z | 2022-01-05T16:28:55.000Z | mdl-ref-server/test.py | joshrl-clearme/mdl-ref-apps | 4aacf07dc769657497b526c9982e247886fdc019 | [
"Apache-2.0"
] | 27 | 2020-03-26T04:21:59.000Z | 2022-02-25T07:08:30.000Z | #!/usr/bin/python3
import cbor
import hashlib
import tornado.testing
import unittest
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import serialization
from cryptography.hazmat.primitives.asymmetric import ec
import server
import util
class coseTest(unittest.TestCase):... | 49.802439 | 122 | 0.574122 | 1,780 | 20,419 | 6.343258 | 0.125843 | 0.073333 | 0.050217 | 0.069347 | 0.782924 | 0.774511 | 0.767425 | 0.759277 | 0.759277 | 0.74555 | 0 | 0.011086 | 0.32411 | 20,419 | 409 | 123 | 49.924205 | 0.807043 | 0.069347 | 0 | 0.738019 | 0 | 0 | 0.164961 | 0.099757 | 0 | 0 | 0 | 0.002445 | 0.226837 | 1 | 0.019169 | false | 0 | 0.028754 | 0 | 0.060703 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d31c101f61d00331a4f6b4b7ee5a32e9011c72e0 | 12,962 | py | Python | mimic3benchmark/readers.py | aureus5/mimiciII | 0ce15bb67a90b88dbe96e842dbe05d84b6b8ab59 | [
"MIT"
] | 11 | 2019-10-16T15:34:19.000Z | 2022-03-31T10:50:44.000Z | mimic3benchmark/readers.py | aureus5/mimiciII | 0ce15bb67a90b88dbe96e842dbe05d84b6b8ab59 | [
"MIT"
] | null | null | null | mimic3benchmark/readers.py | aureus5/mimiciII | 0ce15bb67a90b88dbe96e842dbe05d84b6b8ab59 | [
"MIT"
] | 4 | 2019-05-24T11:50:35.000Z | 2021-02-23T07:01:14.000Z | import os
import numpy as np
import random
class Reader(object):
def __init__(self, dataset_dir, listfile=None):
self._dataset_dir = dataset_dir
if listfile is None:
listfile_path = os.path.join(dataset_dir, "listfile.csv")
else:
listfile_path = listfile
wit... | 35.032432 | 99 | 0.569974 | 1,651 | 12,962 | 4.345851 | 0.107813 | 0.052404 | 0.033171 | 0.027596 | 0.803902 | 0.790244 | 0.775192 | 0.757352 | 0.757352 | 0.757352 | 0 | 0.008183 | 0.32117 | 12,962 | 369 | 100 | 35.127371 | 0.807251 | 0.353186 | 0 | 0.611111 | 0 | 0 | 0.05465 | 0 | 0 | 0 | 0 | 0 | 0.030864 | 1 | 0.148148 | false | 0 | 0.018519 | 0.018519 | 0.302469 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d341084571320f433acd2ecc79500ed615bc51d2 | 84 | py | Python | chapter-04/04-04-QSharp-From-Python/host.py | Djohnnie/Introducing-Microsoft-Quantum-Computing-For-Developers | e437815576bd3576050f7c75b99d47a3c68955c4 | [
"MIT"
] | null | null | null | chapter-04/04-04-QSharp-From-Python/host.py | Djohnnie/Introducing-Microsoft-Quantum-Computing-For-Developers | e437815576bd3576050f7c75b99d47a3c68955c4 | [
"MIT"
] | null | null | null | chapter-04/04-04-QSharp-From-Python/host.py | Djohnnie/Introducing-Microsoft-Quantum-Computing-For-Developers | e437815576bd3576050f7c75b99d47a3c68955c4 | [
"MIT"
] | null | null | null | import qsharp
from _04_04_QSharp_From_Python import HelloQ
print(HelloQ.simulate()) | 21 | 44 | 0.857143 | 13 | 84 | 5.153846 | 0.615385 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.083333 | 84 | 4 | 45 | 21 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d346d29a8413b326e2aa4ef59b53271433f06e25 | 101 | py | Python | Beta/Number of Triangles in an Finite Nsized Triangular Tiling.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | Beta/Number of Triangles in an Finite Nsized Triangular Tiling.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | Beta/Number of Triangles in an Finite Nsized Triangular Tiling.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | # https://oeis.org/A002717
from math import floor
def solve(n):
return floor(n*(n+2)*(2*n+1)//8)
| 20.2 | 36 | 0.643564 | 20 | 101 | 3.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 0.138614 | 101 | 4 | 37 | 25.25 | 0.632184 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d36bb5f72c05b99c68f6aad997c1388a728d6015 | 9,851 | py | Python | tests/kovan_test_data.py | jannikluhn/tlbc-monitor | 9d54d40bfed48db5542fd6714946ea27684a918e | [
"MIT"
] | null | null | null | tests/kovan_test_data.py | jannikluhn/tlbc-monitor | 9d54d40bfed48db5542fd6714946ea27684a918e | [
"MIT"
] | 61 | 2019-04-08T20:13:47.000Z | 2020-07-16T09:18:48.000Z | tests/kovan_test_data.py | jannikluhn/tlbc-monitor | 9d54d40bfed48db5542fd6714946ea27684a918e | [
"MIT"
] | 3 | 2019-02-22T14:15:27.000Z | 2019-10-23T04:20:47.000Z | from hexbytes import HexBytes
from web3.datastructures import AttributeDict
# test vectors retrieved from Kovan via web3.py
KOVAN_GENESIS_BLOCK = AttributeDict(
{
"author": "0x0000000000000000000000000000000000000000",
"difficulty": 131072,
"extraData": HexBytes("0x"),
"gasLimit"... | 51.307292 | 532 | 0.699726 | 234 | 9,851 | 29.444444 | 0.444444 | 0.01103 | 0.048766 | 0.053991 | 0.03135 | 0 | 0 | 0 | 0 | 0 | 0 | 0.618405 | 0.239976 | 9,851 | 191 | 533 | 51.575916 | 0.301857 | 0.004568 | 0 | 0.543478 | 0 | 0 | 0.626275 | 0.541616 | 0 | 0 | 0.492656 | 0 | 0 | 1 | 0 | false | 0 | 0.01087 | 0 | 0.01087 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d36c5a68e2ea7701dd9533031acedf4bf739650a | 105 | py | Python | main.py | ronaldshaooo/OpenDataJudicial | ee55b234276511b824a04d836607741f9189ebd8 | [
"MIT"
] | null | null | null | main.py | ronaldshaooo/OpenDataJudicial | ee55b234276511b824a04d836607741f9189ebd8 | [
"MIT"
] | null | null | null | main.py | ronaldshaooo/OpenDataJudicial | ee55b234276511b824a04d836607741f9189ebd8 | [
"MIT"
] | null | null | null | import update_judicial_data
update_judicial_data.refresh()
update_judicial_data.copy_fincial_judgement() | 26.25 | 45 | 0.904762 | 14 | 105 | 6.214286 | 0.571429 | 0.482759 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 105 | 4 | 45 | 26.25 | 0.861386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d3713e121f08a00650cddbe78763a428aff511cf | 222 | py | Python | scenario/targeting/__init__.py | NREL/K_Road | ec8049cf1b81c58dd3b95f8298a362d863cd4a68 | [
"BSD-3-Clause"
] | 1 | 2021-04-19T23:28:26.000Z | 2021-04-19T23:28:26.000Z | scenario/targeting/__init__.py | NREL/K_Road | ec8049cf1b81c58dd3b95f8298a362d863cd4a68 | [
"BSD-3-Clause"
] | null | null | null | scenario/targeting/__init__.py | NREL/K_Road | ec8049cf1b81c58dd3b95f8298a362d863cd4a68 | [
"BSD-3-Clause"
] | null | null | null | from .target_baseline import TargetBaseline
from .target_observer import TargetObserver
from .target_process import TargetProcess
from .target_rewarder import TargetRewarder
from .target_terminator import TargetTerminator
| 37 | 47 | 0.887387 | 25 | 222 | 7.68 | 0.52 | 0.260417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 222 | 5 | 48 | 44.4 | 0.950495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d39af3a729e6e29538c1c2cb75f7f4c1dbdd9667 | 420 | py | Python | presqt/targets/gitlab/utilities/__init__.py | djordjetrajkovic/presqt | 8424b61b1c5b8d29de74c7a333889d9e9eb7aee8 | [
"Apache-2.0"
] | 3 | 2019-01-29T19:45:25.000Z | 2020-12-01T18:24:51.000Z | presqt/targets/gitlab/utilities/__init__.py | djordjetrajkovic/presqt | 8424b61b1c5b8d29de74c7a333889d9e9eb7aee8 | [
"Apache-2.0"
] | 419 | 2018-09-13T23:11:15.000Z | 2021-09-22T17:49:00.000Z | presqt/targets/gitlab/utilities/__init__.py | djordjetrajkovic/presqt | 8424b61b1c5b8d29de74c7a333889d9e9eb7aee8 | [
"Apache-2.0"
] | 2 | 2020-04-10T08:19:41.000Z | 2021-01-04T15:29:42.000Z | from presqt.targets.gitlab.utilities.validation_check import validation_check
from presqt.targets.gitlab.utilities.gitlab_paginated_data import gitlab_paginated_data
from presqt.targets.gitlab.utilities.download_content import download_content
from presqt.targets.gitlab.utilities.delete_gitlab_project import delete_git... | 70 | 87 | 0.904762 | 56 | 420 | 6.5 | 0.303571 | 0.137363 | 0.233516 | 0.315934 | 0.43956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 420 | 5 | 88 | 84 | 0.91 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d3a1b5ceb1f7c3703557f14c545723043f438b44 | 20 | py | Python | modules/tests/helpers/__init__.py | PeterDaveHello/eden | 26174a9dde2f19cd3bc879694f373ad5f765b6ed | [
"MIT"
] | 1 | 2016-12-22T09:31:22.000Z | 2016-12-22T09:31:22.000Z | modules/tests/helpers/__init__.py | PeterDaveHello/eden | 26174a9dde2f19cd3bc879694f373ad5f765b6ed | [
"MIT"
] | null | null | null | modules/tests/helpers/__init__.py | PeterDaveHello/eden | 26174a9dde2f19cd3bc879694f373ad5f765b6ed | [
"MIT"
] | 1 | 2019-12-16T15:14:46.000Z | 2019-12-16T15:14:46.000Z | from report import * | 20 | 20 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d3ac57572a2922aad562812262ffcfda90640f7f | 98 | py | Python | frost/ext/__init__.py | Den4200/pyfrost | c341eeb1262746d889dcff4f405f7d52f7caf23d | [
"MIT"
] | 2 | 2020-03-02T14:29:07.000Z | 2020-03-04T00:36:35.000Z | frost/ext/__init__.py | Den4200/pyfrost | c341eeb1262746d889dcff4f405f7d52f7caf23d | [
"MIT"
] | 16 | 2020-03-08T05:50:48.000Z | 2020-05-11T04:40:13.000Z | frost/ext/__init__.py | Den4200/pyfrost | c341eeb1262746d889dcff4f405f7d52f7caf23d | [
"MIT"
] | 1 | 2020-03-29T00:33:04.000Z | 2020-03-29T00:33:04.000Z | from frost.ext.cog import Cog
from frost.ext.handler import Handler
__all__ = ('Cog', 'Handler')
| 19.6 | 37 | 0.744898 | 15 | 98 | 4.6 | 0.466667 | 0.26087 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 4 | 38 | 24.5 | 0.811765 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6cb7ae5da53d83defcb003178ee1a57595acf20d | 109 | py | Python | python_interface/gecco_modules/string_to_form.py | ak-ustutt/GeCCo-public | 8d43a6c9323aeba7eb54625b95553bfd4b2418c6 | [
"MIT"
] | null | null | null | python_interface/gecco_modules/string_to_form.py | ak-ustutt/GeCCo-public | 8d43a6c9323aeba7eb54625b95553bfd4b2418c6 | [
"MIT"
] | null | null | null | python_interface/gecco_modules/string_to_form.py | ak-ustutt/GeCCo-public | 8d43a6c9323aeba7eb54625b95553bfd4b2418c6 | [
"MIT"
] | null | null | null | from .stf_pack.stf_top import Formula, GenForm, make_formula
__all__=["Formula", "GenForm", "make_formula"]
| 27.25 | 60 | 0.770642 | 15 | 109 | 5.066667 | 0.6 | 0.368421 | 0.473684 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091743 | 109 | 3 | 61 | 36.333333 | 0.767677 | 0 | 0 | 0 | 0 | 0 | 0.238532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9f0de2441af5bcc6147b7c75411bf219db7cc7d4 | 121 | py | Python | scipyplot/__init__.py | robertocalandra/scipyplot | c2f2ffe00207fbb5b78732981d572c031660ed74 | [
"MIT"
] | 4 | 2016-12-02T20:24:54.000Z | 2020-07-26T20:54:03.000Z | scipyplot/__init__.py | robertocalandra/scipyplot | c2f2ffe00207fbb5b78732981d572c031660ed74 | [
"MIT"
] | 6 | 2017-01-17T01:22:14.000Z | 2021-06-10T09:26:12.000Z | scipyplot/__init__.py | robertocalandra/scipyplot | c2f2ffe00207fbb5b78732981d572c031660ed74 | [
"MIT"
] | 1 | 2021-04-22T08:46:22.000Z | 2021-04-22T08:46:22.000Z | from __future__ import absolute_import
from .plot import *
from .log import *
from .stats import *
from .utils import *
| 17.285714 | 38 | 0.760331 | 17 | 121 | 5.117647 | 0.470588 | 0.45977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173554 | 121 | 6 | 39 | 20.166667 | 0.87 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f6cabaceea075866e57c8dd1484f978a9c16360 | 152 | py | Python | tests/unit/plugins/settings/conftest.py | pauleveritt/kaybee | a00a718aaaa23b2d12db30dfacb6b2b6ec84459c | [
"Apache-2.0"
] | 2 | 2017-11-08T19:55:57.000Z | 2018-12-21T12:41:41.000Z | tests/unit/plugins/settings/conftest.py | pauleveritt/kaybee | a00a718aaaa23b2d12db30dfacb6b2b6ec84459c | [
"Apache-2.0"
] | null | null | null | tests/unit/plugins/settings/conftest.py | pauleveritt/kaybee | a00a718aaaa23b2d12db30dfacb6b2b6ec84459c | [
"Apache-2.0"
] | 1 | 2018-10-13T08:59:29.000Z | 2018-10-13T08:59:29.000Z | import dectate
import pytest
@pytest.fixture()
def settings_kb_app():
class settings_kb_app(dectate.App):
pass
yield settings_kb_app
| 13.818182 | 39 | 0.723684 | 21 | 152 | 4.952381 | 0.52381 | 0.288462 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203947 | 152 | 10 | 40 | 15.2 | 0.859504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0.142857 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
9f7dbeab62b8e4f5d3d4c26f73882e30a04ce9f2 | 6,591 | py | Python | test/data/test_dataset_strategy_changes.py | CristianPachacama/cartoframes | 3dc4e10d175069a7d7b734db3d9526127aad9dec | [
"BSD-3-Clause"
] | 1 | 2020-11-23T23:44:32.000Z | 2020-11-23T23:44:32.000Z | test/data/test_dataset_strategy_changes.py | CristianPachacama/cartoframes | 3dc4e10d175069a7d7b734db3d9526127aad9dec | [
"BSD-3-Clause"
] | null | null | null | test/data/test_dataset_strategy_changes.py | CristianPachacama/cartoframes | 3dc4e10d175069a7d7b734db3d9526127aad9dec | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""Unit tests for cartoframes.data.dataset about strategy changes"""
import unittest
import pandas as pd
from cartoframes.auth import Credentials
from cartoframes.utils import load_geojson
from cartoframes.data import StrategiesRegistry
from cartoframes.data.registry.dataframe_dataset import D... | 42.522581 | 110 | 0.693521 | 702 | 6,591 | 6.249288 | 0.132479 | 0.146797 | 0.138819 | 0.15204 | 0.758833 | 0.741509 | 0.723273 | 0.723273 | 0.723273 | 0.723273 | 0 | 0.006163 | 0.212259 | 6,591 | 154 | 111 | 42.798701 | 0.83879 | 0.016993 | 0 | 0.583333 | 0 | 0 | 0.043418 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 1 | 0.098485 | false | 0 | 0.083333 | 0 | 0.189394 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9fba0815c5c681bcbd3892fffa18d096896e01a9 | 2,583 | py | Python | tests/lib/k8s/test_cli.py | ChauffeurPrive/nestor-api | 364b5f034eeb929932a5a8c3f3b00d1275a7ae5b | [
"Apache-2.0"
] | 2 | 2020-08-17T09:59:03.000Z | 2020-08-17T09:59:23.000Z | tests/lib/k8s/test_cli.py | ChauffeurPrive/nestor-api | 364b5f034eeb929932a5a8c3f3b00d1275a7ae5b | [
"Apache-2.0"
] | 83 | 2020-06-12T14:37:35.000Z | 2022-01-26T14:10:10.000Z | tests/lib/k8s/test_cli.py | ChauffeurPrive/nestor-api | 364b5f034eeb929932a5a8c3f3b00d1275a7ae5b | [
"Apache-2.0"
] | 1 | 2020-07-02T14:33:45.000Z | 2020-07-02T14:33:45.000Z | import os
from unittest import TestCase
from unittest.mock import patch
import nestor_api.lib.k8s.cli as cli
from nestor_api.lib.k8s.enums.k8s_resource_kind import K8sResourceKind
class TestK8sCli(TestCase):
@patch("nestor_api.lib.k8s.cli.K8sConfiguration", autospec=True)
@patch("nestor_api.lib.k8s.cli.io", ... | 38.552239 | 100 | 0.619822 | 299 | 2,583 | 5.133779 | 0.210702 | 0.046906 | 0.062541 | 0.078176 | 0.828013 | 0.816287 | 0.816287 | 0.816287 | 0.816287 | 0.816287 | 0 | 0.011862 | 0.249322 | 2,583 | 66 | 101 | 39.136364 | 0.779783 | 0 | 0 | 0.6 | 0 | 0 | 0.285714 | 0.127758 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.054545 | false | 0 | 0.090909 | 0 | 0.163636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9fce41f39d7199678a591024060bdb8424530065 | 73 | py | Python | pytorl/envs/__init__.py | kareido/pytorl | 2f2f5258425166b8bfbde985a229fecdef3752d9 | [
"MIT"
] | 16 | 2019-03-03T02:00:55.000Z | 2020-02-13T19:22:32.000Z | pytorl/envs/__init__.py | kareido/pytorl | 2f2f5258425166b8bfbde985a229fecdef3752d9 | [
"MIT"
] | null | null | null | pytorl/envs/__init__.py | kareido/pytorl | 2f2f5258425166b8bfbde985a229fecdef3752d9 | [
"MIT"
] | null | null | null | from .ale_atari import make_atari_env
from .gym_ctrl import make_ctrl_env | 36.5 | 37 | 0.876712 | 14 | 73 | 4.142857 | 0.571429 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 73 | 2 | 38 | 36.5 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c9ab1a13194d60a313c9ae4656afcd71a2930ea | 18,449 | py | Python | bulbware_model.py | fintopo/bulbware | 638cf34684e86f3a3adf03f999199717748a46fa | [
"MIT"
] | null | null | null | bulbware_model.py | fintopo/bulbware | 638cf34684e86f3a3adf03f999199717748a46fa | [
"MIT"
] | 7 | 2015-01-11T00:07:05.000Z | 2016-06-18T02:33:27.000Z | bulbware_model.py | fintopo/bulbware | 638cf34684e86f3a3adf03f999199717748a46fa | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from google.appengine.ext import ndb
from google.appengine.api import users
from google.appengine.api import memcache
import datetime
import calendar
import pickle
import json
import logging
import bulbware_lib
import user_model
class BulbwareProject(ndb.Model):
app_n... | 33.422101 | 152 | 0.684319 | 2,419 | 18,449 | 5.081852 | 0.045887 | 0.046124 | 0.02237 | 0.027333 | 0.832018 | 0.791507 | 0.771333 | 0.732856 | 0.700561 | 0.680387 | 0 | 0.00271 | 0.180064 | 18,449 | 551 | 153 | 33.482759 | 0.809942 | 0.002277 | 0 | 0.689076 | 0 | 0 | 0.038493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121849 | false | 0 | 0.021008 | 0.037815 | 0.378151 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4cb4048bca3b306d73e88bab9a256a33070c5eba | 20 | py | Python | dopamine/agents/sdqn/__init__.py | jdmartin86/dopamine | 7aefe7dcce4d0f089aa9f5690599dfda0ffbe1a6 | [
"Apache-2.0"
] | 1 | 2018-12-29T20:02:47.000Z | 2018-12-29T20:02:47.000Z | dopamine/agents/sdqn/__init__.py | jdmartin86/dopamine | 7aefe7dcce4d0f089aa9f5690599dfda0ffbe1a6 | [
"Apache-2.0"
] | null | null | null | dopamine/agents/sdqn/__init__.py | jdmartin86/dopamine | 7aefe7dcce4d0f089aa9f5690599dfda0ffbe1a6 | [
"Apache-2.0"
] | null | null | null | # ICML 2019 release
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.2 | 20 | 1 | 20 | 20 | 0.6875 | 0.85 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4cd0fd76435bfe7d04978481f108394ac319c36b | 34 | py | Python | server/__init__.py | lclbm/xrx_pvp_server | f40cdbdc5de8c04b8113611c3174c84a200402b1 | [
"MIT"
] | 1 | 2022-03-31T06:27:03.000Z | 2022-03-31T06:27:03.000Z | server/__init__.py | lclbm/xrx_pvp_server | f40cdbdc5de8c04b8113611c3174c84a200402b1 | [
"MIT"
] | null | null | null | server/__init__.py | lclbm/xrx_pvp_server | f40cdbdc5de8c04b8113611c3174c84a200402b1 | [
"MIT"
] | 1 | 2022-03-10T07:39:24.000Z | 2022-03-10T07:39:24.000Z | from .d2_pvp_server import DB, API | 34 | 34 | 0.823529 | 7 | 34 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 34 | 1 | 34 | 34 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ce9097ca001e06017cae73654c1b4b9623c305d | 82 | py | Python | util/generic_util.py | jasoncin/dewarp-deskew-stn | 050170fadceb9d98508aec6a855ea36b9b06cb74 | [
"MIT"
] | null | null | null | util/generic_util.py | jasoncin/dewarp-deskew-stn | 050170fadceb9d98508aec6a855ea36b9b06cb74 | [
"MIT"
] | null | null | null | util/generic_util.py | jasoncin/dewarp-deskew-stn | 050170fadceb9d98508aec6a855ea36b9b06cb74 | [
"MIT"
] | null | null | null | import random
def decision(probability):
return random.random() < probability | 20.5 | 40 | 0.768293 | 9 | 82 | 7 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 82 | 4 | 40 | 20.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
4cfe9318239e87c1ee6a5ee0856b35350ac80799 | 225 | py | Python | backend/wallet/admin.py | crowdbotics-apps/ezride-28420 | 9dad5e710b3cf0c7d81c01505b400b21a840f268 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/wallet/admin.py | crowdbotics-apps/ezride-28420 | 9dad5e710b3cf0c7d81c01505b400b21a840f268 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | backend/wallet/admin.py | crowdbotics-apps/ezride-28420 | 9dad5e710b3cf0c7d81c01505b400b21a840f268 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from django.contrib import admin
from .models import DriverWallet, PaymentMethod, UserWallet
admin.site.register(DriverWallet)
admin.site.register(UserWallet)
admin.site.register(PaymentMethod)
# Register your models here.
| 25 | 59 | 0.831111 | 27 | 225 | 6.925926 | 0.481481 | 0.144385 | 0.272727 | 0.28877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 225 | 8 | 60 | 28.125 | 0.912195 | 0.115556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 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 | 6 |
9815b7031a38e4d3fcff60bedd884581c84a0b7d | 3,283 | py | Python | python/athena/gpu_ops/SwapOut.py | DMALab/TSplit | 8f86f987163aa06521bfeeb174616eb4a0a81b47 | [
"Apache-2.0"
] | 2 | 2021-05-29T11:18:14.000Z | 2021-09-09T14:29:21.000Z | python/athena/gpu_ops/SwapOut.py | DMALab/TSplit | 8f86f987163aa06521bfeeb174616eb4a0a81b47 | [
"Apache-2.0"
] | null | null | null | python/athena/gpu_ops/SwapOut.py | DMALab/TSplit | 8f86f987163aa06521bfeeb174616eb4a0a81b47 | [
"Apache-2.0"
] | 1 | 2021-05-01T16:34:37.000Z | 2021-05-01T16:34:37.000Z | from __future__ import absolute_import
from .Node import Op, NAME_RULE, PROFILING_MODE
from .. import profiler
import ndarray
import numpy as np
from ..stream import create_event_handle
class SwapOutOp(Op):
def __call__(self, node_A):
new_node = Op.__call__(self)
new_node.inputs = [node_A]
... | 28.798246 | 87 | 0.59671 | 436 | 3,283 | 4.247706 | 0.190367 | 0.090713 | 0.047516 | 0.025918 | 0.791577 | 0.791577 | 0.791577 | 0.791577 | 0.791577 | 0.708423 | 0 | 0.01048 | 0.302467 | 3,283 | 114 | 88 | 28.798246 | 0.798253 | 0.098386 | 0 | 0.736842 | 0 | 0 | 0.019084 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.131579 | false | 0 | 0.105263 | 0.026316 | 0.368421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e2385f795d0f754603057d2883fd52490dd01902 | 627 | py | Python | lib/constants.py | seunomosowon/TA-connectivity | 40244c5fb2ba7f8f32fd250fb1abf85fbfcb9114 | [
"CC-BY-3.0"
] | 4 | 2016-06-19T11:49:50.000Z | 2019-10-28T09:18:42.000Z | bin/connectivity_lib/constants.py | dbreddyAI/TA-connectivity | f953318237bdc8b2e16445eb575312145704e483 | [
"CC-BY-3.0"
] | 8 | 2016-10-21T00:22:29.000Z | 2021-01-26T13:04:57.000Z | bin/connectivity_lib/constants.py | dbreddyAI/TA-connectivity | f953318237bdc8b2e16445eb575312145704e483 | [
"CC-BY-3.0"
] | 4 | 2016-06-19T11:49:52.000Z | 2019-11-14T10:10:49.000Z | """
This includes constants that may be used in the connectivity_libs module.
"""
WEBTIMEOUT = 5
NUM_OF_WORKER_PROCESSES = 4
REGEX_IP = r'(?P<ip_address>(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))'
REGEX_EMAIL = r'[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a... | 48.230769 | 119 | 0.4689 | 139 | 627 | 2.035971 | 0.273381 | 0.084806 | 0.141343 | 0.169611 | 0.448763 | 0.448763 | 0.420495 | 0.420495 | 0.388693 | 0.388693 | 0 | 0.16158 | 0.111643 | 627 | 12 | 120 | 52.25 | 0.346499 | 0.116427 | 0 | 0 | 0 | 0.625 | 0.695971 | 0.672161 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e24c1f15c4c17516ddfb3c32a727c0acae528450 | 9,240 | py | Python | api/tests/mathematical_object_list.py | Gawaboumga/OEMS | 1e60fa1f350f4cf1ca2e48072e0b4228eeb15024 | [
"MIT"
] | null | null | null | api/tests/mathematical_object_list.py | Gawaboumga/OEMS | 1e60fa1f350f4cf1ca2e48072e0b4228eeb15024 | [
"MIT"
] | 10 | 2020-02-11T23:18:38.000Z | 2022-03-11T23:32:40.000Z | api/tests/mathematical_object_list.py | Gawaboumga/OEMS | 1e60fa1f350f4cf1ca2e48072e0b4228eeb15024 | [
"MIT"
] | null | null | null | from rest_framework import status
from rest_framework.test import APITestCase
from django.test import override_settings
from django.urls import reverse
from oems.settings import PAGINATION_SIZE, TEST_MEDIA_ROOT
from api.models import Function, MathematicalObject, Name, Tag
from api.tests import utils
@override_settin... | 40.526316 | 97 | 0.654978 | 964 | 9,240 | 6.064315 | 0.094398 | 0.128293 | 0.033869 | 0.054567 | 0.827403 | 0.792166 | 0.761888 | 0.755217 | 0.733664 | 0.7039 | 0 | 0.010516 | 0.228139 | 9,240 | 227 | 98 | 40.704846 | 0.80917 | 0 | 0 | 0.614973 | 0 | 0 | 0.096861 | 0.03842 | 0 | 0 | 0 | 0 | 0.26738 | 1 | 0.042781 | false | 0 | 0.037433 | 0 | 0.085562 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e254a02892e0e122786e75d98d1c2ae455f8cbe1 | 9,500 | py | Python | python/dcf-tools/dcf/parse.py | tshu/lely-core | fd0ceff2db726af6d2a766039a0b5a6d33d056e8 | [
"Apache-2.0"
] | 4 | 2020-12-27T11:31:57.000Z | 2022-02-09T11:32:08.000Z | python/dcf-tools/dcf/parse.py | tshu/lely-core | fd0ceff2db726af6d2a766039a0b5a6d33d056e8 | [
"Apache-2.0"
] | null | null | null | python/dcf-tools/dcf/parse.py | tshu/lely-core | fd0ceff2db726af6d2a766039a0b5a6d33d056e8 | [
"Apache-2.0"
] | 1 | 2022-01-03T01:41:59.000Z | 2022-01-03T01:41:59.000Z | import collections
import configparser
import os
class IniDict(collections.abc.MutableMapping):
def __init__(
self, dict_type=collections.OrderedDict, key_xform=lambda str: str.lower()
):
self.__dict = dict_type()
self.key_xform = key_xform
def __delitem__(self, key):
self... | 33.450704 | 88 | 0.520737 | 1,001 | 9,500 | 4.777223 | 0.162837 | 0.058553 | 0.035132 | 0.038059 | 0.77959 | 0.771644 | 0.771644 | 0.761188 | 0.761188 | 0.752405 | 0 | 0.050747 | 0.344526 | 9,500 | 283 | 89 | 33.568905 | 0.717199 | 0.04 | 0 | 0.73251 | 0 | 0 | 0.197805 | 0 | 0 | 0 | 0.026674 | 0 | 0 | 1 | 0.041152 | false | 0 | 0.012346 | 0.004115 | 0.090535 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e28ebae1e7cc5ceada2fe8c587bb581778154270 | 289 | py | Python | lobotomy/_services/__init__.py | rocketboosters/lobotomy | 209817120d3a1fd11c218d2f243acbbdd17d8b0f | [
"MIT"
] | null | null | null | lobotomy/_services/__init__.py | rocketboosters/lobotomy | 209817120d3a1fd11c218d2f243acbbdd17d8b0f | [
"MIT"
] | null | null | null | lobotomy/_services/__init__.py | rocketboosters/lobotomy | 209817120d3a1fd11c218d2f243acbbdd17d8b0f | [
"MIT"
] | null | null | null | from lobotomy._services._definitions import Method # noqa: F401
from lobotomy._services._definitions import Service # noqa: F401
def load_definition(service_name: str) -> "Service":
"""Load client definition data for the associated AWS service."""
return Service(service_name)
| 36.125 | 69 | 0.768166 | 36 | 289 | 5.972222 | 0.583333 | 0.111628 | 0.186047 | 0.288372 | 0.344186 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024292 | 0.145329 | 289 | 7 | 70 | 41.285714 | 0.846154 | 0.283737 | 0 | 0 | 0 | 0 | 0.035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2c9c386e5cd74b35e63f7566916bc9086f65d625 | 38 | py | Python | JarvisAI/JarvisAI/JarvisAI/features/utilities/utilities.py | MaroonAngel/Jarvis_AI | 7757be9672c7eb4119aa8a2d3d8c8769ef9b6101 | [
"MIT"
] | 1 | 2022-03-16T02:17:14.000Z | 2022-03-16T02:17:14.000Z | JarvisAI/JarvisAI/JarvisAI/features/utilities/utilities.py | MaroonAngel/Jarvis_AI | 7757be9672c7eb4119aa8a2d3d8c8769ef9b6101 | [
"MIT"
] | null | null | null | JarvisAI/JarvisAI/JarvisAI/features/utilities/utilities.py | MaroonAngel/Jarvis_AI | 7757be9672c7eb4119aa8a2d3d8c8769ef9b6101 | [
"MIT"
] | null | null | null |
def set_timer():
# WIP
pass
| 6.333333 | 16 | 0.5 | 5 | 38 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.394737 | 38 | 5 | 17 | 7.6 | 0.782609 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e2c58db4326fdd23d3e9a37d432e858dc3d04e9e | 59 | py | Python | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/importStatementsAnalysisExecutorData/in_1_project_with_imports/sample_project/src/common/common.py | JetBrains-Research/Lupa | c105487621564c60cae17395bf32eb40868ceb89 | [
"Apache-2.0"
] | 16 | 2022-01-11T00:32:20.000Z | 2022-03-25T21:40:52.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/importStatementsAnalysisExecutorData/in_1_project_with_imports/sample_project/src/common/common.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 12 | 2021-07-05T11:42:01.000Z | 2021-12-23T07:57:54.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/importStatementsAnalysisExecutorData/in_1_project_with_imports/sample_project/src/common/common.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 3 | 2021-09-10T13:21:54.000Z | 2021-11-23T11:37:55.000Z | def common_function():
print('I am a common function')
| 19.666667 | 35 | 0.694915 | 9 | 59 | 4.444444 | 0.777778 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 59 | 2 | 36 | 29.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1aba7a3df39d2d589efd5c2907b4c74942095581 | 192 | py | Python | hermes/hooks/mail/admin.py | NiekKeijzer/hermes | 48c2e015ab5b299dbbc488a8934af76cabf144cb | [
"MIT"
] | null | null | null | hermes/hooks/mail/admin.py | NiekKeijzer/hermes | 48c2e015ab5b299dbbc488a8934af76cabf144cb | [
"MIT"
] | null | null | null | hermes/hooks/mail/admin.py | NiekKeijzer/hermes | 48c2e015ab5b299dbbc488a8934af76cabf144cb | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import FormMailSettings
# Register your models here.
@admin.register(FormMailSettings)
class FormMailSettingsAdmin(admin.ModelAdmin):
pass
| 19.2 | 46 | 0.8125 | 21 | 192 | 7.428571 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 192 | 9 | 47 | 21.333333 | 0.928571 | 0.135417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1ac422f579a24cd21c91d7284a26084dedd24b1f | 36 | py | Python | app/user/tests/__init__.py | Seiya7/django-api-recipe-app | bac4e4d5808990ddd7aca0b399bcebc52a12625d | [
"MIT"
] | null | null | null | app/user/tests/__init__.py | Seiya7/django-api-recipe-app | bac4e4d5808990ddd7aca0b399bcebc52a12625d | [
"MIT"
] | null | null | null | app/user/tests/__init__.py | Seiya7/django-api-recipe-app | bac4e4d5808990ddd7aca0b399bcebc52a12625d | [
"MIT"
] | null | null | null | from .test_user_api import * # noqa | 36 | 36 | 0.75 | 6 | 36 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 1 | 36 | 36 | 0.833333 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46ea13c4da85c3a0147823593395d25a91361ffa | 158 | py | Python | languages/python/design_closure_example1.py | RohitAthithya/learntosolveit | fe1df98534d3af2fb3ba87c6540d9d8fa883c244 | [
"BSD-3-Clause"
] | 136 | 2015-03-06T18:11:21.000Z | 2022-03-10T22:31:40.000Z | languages/python/design_closure_example1.py | RohitAthithya/learntosolveit | fe1df98534d3af2fb3ba87c6540d9d8fa883c244 | [
"BSD-3-Clause"
] | 27 | 2015-01-07T01:38:03.000Z | 2021-12-22T19:20:15.000Z | languages/python/design_closure_example1.py | RohitAthithya/learntosolveit | fe1df98534d3af2fb3ba87c6540d9d8fa883c244 | [
"BSD-3-Clause"
] | 1,582 | 2015-01-01T20:37:06.000Z | 2022-03-30T12:29:24.000Z | class Constant():
def __init__(self, value):
self._value = value
def __call__(self):
return self._value
y = Constant(5)
print((y()))
| 17.555556 | 30 | 0.601266 | 20 | 158 | 4.25 | 0.55 | 0.317647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.259494 | 158 | 8 | 31 | 19.75 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
20266ce69be294ba9ed6c6655d0e39b745667298 | 21 | py | Python | __init__.py | top-fox/appkit | 7cd62c1b6c7f68e423e056708db15c505054aff8 | [
"MIT"
] | null | null | null | __init__.py | top-fox/appkit | 7cd62c1b6c7f68e423e056708db15c505054aff8 | [
"MIT"
] | null | null | null | __init__.py | top-fox/appkit | 7cd62c1b6c7f68e423e056708db15c505054aff8 | [
"MIT"
] | null | null | null | import src as appkit
| 10.5 | 20 | 0.809524 | 4 | 21 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2029d3b27966d5c39881f426c350074f201d64a8 | 17,127 | py | Python | client/reference/client_test.py | ehohenstein/flack | 0677080a77a3f5c16cbb208207f15ba5113a5fb1 | [
"MIT"
] | null | null | null | client/reference/client_test.py | ehohenstein/flack | 0677080a77a3f5c16cbb208207f15ba5113a5fb1 | [
"MIT"
] | null | null | null | client/reference/client_test.py | ehohenstein/flack | 0677080a77a3f5c16cbb208207f15ba5113a5fb1 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import datetime
import json
import unittest
import client
class FakeTime(object):
def __init__(self):
self.slept_ms = 0
def sleep(self, ms):
self.slept_ms += ms
class FakeWebSocket(object):
def __init__(self):
self.url = None
self.onOpen = None
... | 46.414634 | 213 | 0.681964 | 2,273 | 17,127 | 4.853938 | 0.077871 | 0.051482 | 0.075773 | 0.085471 | 0.820085 | 0.777667 | 0.745491 | 0.709417 | 0.634098 | 0.617602 | 0 | 0.008494 | 0.168272 | 17,127 | 368 | 214 | 46.540761 | 0.766023 | 0.000993 | 0 | 0.422535 | 0 | 0 | 0.156301 | 0.00304 | 0 | 0 | 0 | 0 | 0.200704 | 1 | 0.260563 | false | 0.010563 | 0.014085 | 0 | 0.292254 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20308039b7a10eba9e32069aa5ff03bfd9fe6271 | 187 | py | Python | sysvis/shapes/__init__.py | signdoubt/sysvis | cdff15b1d29e65ebbae0a8eaf1db05b48c9c14bb | [
"MIT"
] | null | null | null | sysvis/shapes/__init__.py | signdoubt/sysvis | cdff15b1d29e65ebbae0a8eaf1db05b48c9c14bb | [
"MIT"
] | null | null | null | sysvis/shapes/__init__.py | signdoubt/sysvis | cdff15b1d29e65ebbae0a8eaf1db05b48c9c14bb | [
"MIT"
] | null | null | null | from sysvis.shapes.basic import Rect, Cylinder, Person, Arrow, Shape
from sysvis.shapes.compound import Compound, Group, Zone
from sysvis.shapes.utils import Shape, ShapeAttrs, Gap, Text
| 46.75 | 68 | 0.807487 | 27 | 187 | 5.592593 | 0.62963 | 0.198676 | 0.317881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112299 | 187 | 3 | 69 | 62.333333 | 0.909639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6475ae27c4ae5b6aca350a170bd38a7733bab1b5 | 14,949 | py | Python | web/transiq/fms/trip_history.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | web/transiq/fms/trip_history.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | 14 | 2020-06-05T23:06:45.000Z | 2022-03-12T00:00:18.000Z | web/transiq/fms/trip_history.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime, timedelta
from django.contrib.auth.models import User
from api.decorators import api_get
from api.helper import json_response
from broker.models import Broker
from fms.decorators import authenticated_user
from fms.views import get_or_none, get_vehicle_current_data
from owner.models impo... | 48.378641 | 141 | 0.569536 | 1,598 | 14,949 | 5.008761 | 0.096996 | 0.027986 | 0.033733 | 0.029735 | 0.833458 | 0.822464 | 0.808221 | 0.801474 | 0.778736 | 0.771614 | 0 | 0.005361 | 0.326243 | 14,949 | 308 | 142 | 48.535714 | 0.789317 | 0.007225 | 0 | 0.6875 | 0 | 0 | 0.121647 | 0.014625 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0.003472 | 0.041667 | 0 | 0.104167 | 0.006944 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
647f499fca0718879f6ce8ce88804820346afbec | 10,752 | py | Python | tests/helpers/test_misc.py | praveendhac/nephos | f4b43d53c1eebe5c0d4474e4bd5cbbf0a7abcba0 | [
"Apache-2.0"
] | null | null | null | tests/helpers/test_misc.py | praveendhac/nephos | f4b43d53c1eebe5c0d4474e4bd5cbbf0a7abcba0 | [
"Apache-2.0"
] | null | null | null | tests/helpers/test_misc.py | praveendhac/nephos | f4b43d53c1eebe5c0d4474e4bd5cbbf0a7abcba0 | [
"Apache-2.0"
] | 1 | 2020-12-06T19:55:45.000Z | 2020-12-06T19:55:45.000Z | from subprocess import CalledProcessError
from unittest import mock
from unittest.mock import call
from nephos.helpers.misc import (execute, execute_until_success,
input_data, input_files,
get_response, pretty_print)
class TestExecute:
@mock.patch... | 48.432432 | 123 | 0.65532 | 1,372 | 10,752 | 4.855685 | 0.092566 | 0.089763 | 0.117382 | 0.148604 | 0.831432 | 0.805464 | 0.778445 | 0.741219 | 0.708946 | 0.669619 | 0 | 0.007647 | 0.209449 | 10,752 | 221 | 124 | 48.651584 | 0.776118 | 0.014416 | 0 | 0.491892 | 0 | 0.005405 | 0.207708 | 0.124114 | 0 | 0 | 0 | 0 | 0.318919 | 1 | 0.102703 | false | 0.027027 | 0.021622 | 0 | 0.162162 | 0.275676 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
648211ea2be32e845d77511739eb62fde10d0dc2 | 268 | py | Python | app/blueprint_open_class/__init__.py | medsci-tech/mime_analysis_flask_mongodb_2017 | 7856aeee976b6e9fb89aa52ba89a53eb43f5b877 | [
"MIT"
] | null | null | null | app/blueprint_open_class/__init__.py | medsci-tech/mime_analysis_flask_mongodb_2017 | 7856aeee976b6e9fb89aa52ba89a53eb43f5b877 | [
"MIT"
] | null | null | null | app/blueprint_open_class/__init__.py | medsci-tech/mime_analysis_flask_mongodb_2017 | 7856aeee976b6e9fb89aa52ba89a53eb43f5b877 | [
"MIT"
] | null | null | null | from flask import Blueprint
blueprint_open_class = Blueprint('blueprint_open_class',
__name__,
url_prefix='/open_class',
template_folder='../templates/open_class')
from . import views
| 26.8 | 69 | 0.559701 | 24 | 268 | 5.75 | 0.541667 | 0.26087 | 0.318841 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.365672 | 268 | 9 | 70 | 29.777778 | 0.811765 | 0 | 0 | 0 | 0 | 0 | 0.202247 | 0.086142 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b37ff63107f4a0d5fecc4b0b9abccc0b06f70bfa | 88 | py | Python | tests/quectel_ec25/fixtures/urc.py | Sinusoidal36/async-gsm-modem | d220753a50b61a86faedfcdf4e4c52a959dbe882 | [
"Apache-2.0"
] | 4 | 2021-07-09T01:24:05.000Z | 2021-09-02T22:25:13.000Z | tests/quectel_ec25/fixtures/urc.py | Sinusoidal36/async-gsm-modem | d220753a50b61a86faedfcdf4e4c52a959dbe882 | [
"Apache-2.0"
] | null | null | null | tests/quectel_ec25/fixtures/urc.py | Sinusoidal36/async-gsm-modem | d220753a50b61a86faedfcdf4e4c52a959dbe882 | [
"Apache-2.0"
] | null | null | null | import pytest
@pytest.fixture
def urc_codes():
return [(b'+CMTI', 1), (b'+CMT', 2)] | 17.6 | 40 | 0.613636 | 14 | 88 | 3.785714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.159091 | 88 | 5 | 40 | 17.6 | 0.689189 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b3c167078c982e9a689b89abfed7966d1209c947 | 35 | py | Python | test/python_rules/custom_runner/custom_runner_single/custom_runner_test.py | samwestmoreland/please | 1616742eeefca3dd0b3194e4c1ec9a8542ec13c7 | [
"Apache-2.0"
] | 1,992 | 2016-08-08T11:14:10.000Z | 2022-03-31T08:29:57.000Z | test/python_rules/custom_runner/custom_runner_single/custom_runner_test.py | samwestmoreland/please | 1616742eeefca3dd0b3194e4c1ec9a8542ec13c7 | [
"Apache-2.0"
] | 1,059 | 2016-08-03T17:11:37.000Z | 2022-03-30T16:27:30.000Z | test/python_rules/custom_runner/custom_runner_single/custom_runner_test.py | samwestmoreland/please | 1616742eeefca3dd0b3194e4c1ec9a8542ec13c7 | [
"Apache-2.0"
] | 213 | 2016-12-09T15:37:00.000Z | 2022-03-23T23:08:26.000Z | def test_custom_runner():
pass
| 11.666667 | 25 | 0.714286 | 5 | 35 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 2 | 26 | 17.5 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
37343348cd6e5e2264eacf2f39fe2a4aa21e18ce | 215 | py | Python | dlfairness/original_code/nifr/nifr/layers/inn/__init__.py | lin-tan/fairness-variance | 7f6aee23160707ffe78f429e5d960022ea1c9fe4 | [
"BSD-3-Clause"
] | null | null | null | dlfairness/original_code/nifr/nifr/layers/inn/__init__.py | lin-tan/fairness-variance | 7f6aee23160707ffe78f429e5d960022ea1c9fe4 | [
"BSD-3-Clause"
] | null | null | null | dlfairness/original_code/nifr/nifr/layers/inn/__init__.py | lin-tan/fairness-variance | 7f6aee23160707ffe78f429e5d960022ea1c9fe4 | [
"BSD-3-Clause"
] | null | null | null | from .activations import *
from .bijector import *
from .chain import *
from .coupling import *
from .glow import *
from .misc import *
from .normalization import *
from .permutation import *
from .reshape import *
| 21.5 | 28 | 0.748837 | 27 | 215 | 5.962963 | 0.407407 | 0.496894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167442 | 215 | 9 | 29 | 23.888889 | 0.899441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
376e44a7a1e7b889bbdf9140d9c51758e8bc0bfd | 3,542 | py | Python | pyfronius/tests/web_raw/web_state.py | skatsaounis/pyfronius | 6568a9a496316c2841c7eeafed9d10dc08951c0e | [
"MIT"
] | null | null | null | pyfronius/tests/web_raw/web_state.py | skatsaounis/pyfronius | 6568a9a496316c2841c7eeafed9d10dc08951c0e | [
"MIT"
] | null | null | null | pyfronius/tests/web_raw/web_state.py | skatsaounis/pyfronius | 6568a9a496316c2841c7eeafed9d10dc08951c0e | [
"MIT"
] | null | null | null | GET_POWER_FLOW_REALTIME_DATA = {
'timestamp': {
'value': '2019-01-10T23:33:12+01:00'
},
'status': {
'Code': 0,
'Reason': '',
'UserMessage': ''
},
'energy_day': {
'value': 0,
'unit': 'Wh'
},
'energy_total': {
'value': 26213502,
'... | 19.145946 | 44 | 0.355167 | 270 | 3,542 | 4.488889 | 0.214815 | 0.064356 | 0.079208 | 0.082508 | 0.820957 | 0.820957 | 0.759076 | 0.706271 | 0.706271 | 0.632013 | 0 | 0.105699 | 0.45511 | 3,542 | 184 | 45 | 19.25 | 0.52228 | 0 | 0 | 0.572222 | 0 | 0 | 0.283173 | 0.035291 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
37a66c516356314f24ceae2d36e83ebe080f7b17 | 287 | py | Python | src/spaceone/notification/info/__init__.py | stat-kwon/notification | 55c4c7e1355636a1fd08e2fde7d16a09c5a04b3e | [
"Apache-2.0"
] | 2 | 2021-11-05T06:55:13.000Z | 2022-01-16T08:58:33.000Z | src/spaceone/notification/info/__init__.py | stat-kwon/notification | 55c4c7e1355636a1fd08e2fde7d16a09c5a04b3e | [
"Apache-2.0"
] | 5 | 2022-02-18T03:43:35.000Z | 2022-03-16T12:08:34.000Z | src/spaceone/notification/info/__init__.py | stat-kwon/notification | 55c4c7e1355636a1fd08e2fde7d16a09c5a04b3e | [
"Apache-2.0"
] | 4 | 2021-05-14T06:27:17.000Z | 2022-02-28T14:32:49.000Z | from spaceone.notification.info.common_info import *
from spaceone.notification.info.protocol_info import *
from spaceone.notification.info.project_channel_info import *
from spaceone.notification.info.user_channel_info import *
from spaceone.notification.info.notification_info import * | 57.4 | 61 | 0.864111 | 37 | 287 | 6.513514 | 0.27027 | 0.39834 | 0.497925 | 0.580913 | 0.688797 | 0.688797 | 0.373444 | 0 | 0 | 0 | 0 | 0 | 0.066202 | 287 | 5 | 62 | 57.4 | 0.899254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
805d7eb0144c7c7b0b504b6069791aba6122a9e8 | 233 | py | Python | liquepy/element/__init__.py | geosharma/liquepy | d567f6a7eb93eb76218f718375f2d34355d7edd4 | [
"MIT"
] | 4 | 2020-04-12T14:49:24.000Z | 2020-09-22T09:28:10.000Z | liquepy/element/__init__.py | geosharma/liquepy | d567f6a7eb93eb76218f718375f2d34355d7edd4 | [
"MIT"
] | null | null | null | liquepy/element/__init__.py | geosharma/liquepy | d567f6a7eb93eb76218f718375f2d34355d7edd4 | [
"MIT"
] | 4 | 2019-11-02T02:11:34.000Z | 2021-04-30T06:06:41.000Z | from liquepy.element.models import ShearTest
from liquepy.element.assess import calc_diss_energy_fd, calc_abs_delta_tau_fd, calc_diss_energy_et, \
calc_abs_delta_tau_et, calc_case_et, calc_case_fd, calc_case_peaks_and_indices_fd
| 58.25 | 101 | 0.871245 | 41 | 233 | 4.390244 | 0.463415 | 0.1 | 0.2 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081545 | 233 | 3 | 102 | 77.666667 | 0.841122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8061a39ad080c776feca6469cbee4bd9ce9fb1ea | 31,029 | py | Python | test/sarun_test.py | Najafova/hls4ml_test | 21f9951b3f0ca88cc2312a8863977c1477b9233e | [
"Apache-2.0"
] | null | null | null | test/sarun_test.py | Najafova/hls4ml_test | 21f9951b3f0ca88cc2312a8863977c1477b9233e | [
"Apache-2.0"
] | null | null | null | test/sarun_test.py | Najafova/hls4ml_test | 21f9951b3f0ca88cc2312a8863977c1477b9233e | [
"Apache-2.0"
] | null | null | null | import pytest
import hls4ml
import tensorflow as tf
import numpy as np
from tensorflow.keras import optimizers
from tensorflow.keras.layers import Input, Dense, Activation, Conv1D, Conv2D, \
Reshape, ELU, LeakyReLU, ThresholdedReLU, \
PReLU, Batch... | 50.290113 | 155 | 0.656031 | 4,145 | 31,029 | 4.683715 | 0.056695 | 0.065108 | 0.068559 | 0.105954 | 0.836973 | 0.823632 | 0.80545 | 0.78124 | 0.735243 | 0.718605 | 0 | 0.026221 | 0.185117 | 31,029 | 617 | 156 | 50.290113 | 0.741586 | 0.358084 | 0 | 0.462329 | 0 | 0 | 0.063047 | 0 | 0 | 0 | 0 | 0.001621 | 0.263699 | 1 | 0.023973 | false | 0 | 0.030822 | 0 | 0.054795 | 0.010274 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8064dbe79598dfb44534a14aa5d2935099353134 | 11,167 | py | Python | hallo/modules/channel_control/operator.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2022-01-27T13:25:01.000Z | 2022-01-27T13:25:01.000Z | hallo/modules/channel_control/operator.py | joshcoales/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 75 | 2015-09-26T18:07:18.000Z | 2022-01-04T07:15:11.000Z | hallo/modules/channel_control/operator.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2021-04-10T12:02:47.000Z | 2021-04-10T12:02:47.000Z | from hallo.events import EventMode
from hallo.function import Function
import hallo.modules.channel_control.channel_control
from hallo.server import Server
class Operator(Function):
"""
Gives a user on an irc server "operator" status.
"""
def __init__(self):
"""
Constructor
""... | 42.95 | 104 | 0.576251 | 1,417 | 11,167 | 4.371912 | 0.102329 | 0.040678 | 0.071348 | 0.104923 | 0.923648 | 0.923648 | 0.910412 | 0.90912 | 0.897175 | 0.886521 | 0 | 0.003541 | 0.342527 | 11,167 | 259 | 105 | 43.11583 | 0.840234 | 0.179189 | 0 | 0.579235 | 0 | 0 | 0.144075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0 | 0.021858 | 0 | 0.262295 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
807de119319727e3fffbae808030f1343b4a14da | 24 | py | Python | paypal/standard/ipn/tests/__init__.py | Telofy/django-paypal | 0d7080cbc7552212b5fca7ed5042bd710d094bee | [
"Unlicense",
"MIT"
] | 19 | 2015-04-29T16:16:07.000Z | 2018-08-21T18:18:18.000Z | paypal/standard/ipn/tests/__init__.py | sdvoynikov/idea-color-themes | c770dd14ee6cca58a5078c8885a7d8adac34965b | [
"MIT"
] | 2 | 2015-08-14T20:20:12.000Z | 2015-10-21T17:15:28.000Z | paypal/standard/ipn/tests/__init__.py | sdvoynikov/idea-color-themes | c770dd14ee6cca58a5078c8885a7d8adac34965b | [
"MIT"
] | 5 | 2015-07-04T02:29:05.000Z | 2018-02-21T06:28:35.000Z | from .test_ipn import *
| 12 | 23 | 0.75 | 4 | 24 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
808f4f68ece9cc5c42f633e02263205fd7a121a7 | 74 | py | Python | null_bot_api/models/experts/__init__.py | lordralinc/null_bot_api | 334b46d48669c7b6c95f27f23b3e7a81a897df2e | [
"MIT"
] | 1 | 2021-08-03T15:28:57.000Z | 2021-08-03T15:28:57.000Z | null_bot_api/models/experts/__init__.py | lordralinc/null_bot_api | 334b46d48669c7b6c95f27f23b3e7a81a897df2e | [
"MIT"
] | null | null | null | null_bot_api/models/experts/__init__.py | lordralinc/null_bot_api | 334b46d48669c7b6c95f27f23b3e7a81a897df2e | [
"MIT"
] | null | null | null | from .get_card import ExpertsGetCard
from .get_info import ExpertsGetInfo
| 24.666667 | 36 | 0.864865 | 10 | 74 | 6.2 | 0.7 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
809b20ae6e7c02c9bd12a810cf1fe8ec7d752b4b | 28 | py | Python | lib/junno/nnet/__init__.py | LIV4D/JuNNo | 7358f8344a7c125088e53aa1de0072c4699a9f07 | [
"BSD-3-Clause"
] | null | null | null | lib/junno/nnet/__init__.py | LIV4D/JuNNo | 7358f8344a7c125088e53aa1de0072c4699a9f07 | [
"BSD-3-Clause"
] | 1 | 2019-03-04T09:18:54.000Z | 2019-03-05T06:15:06.000Z | lib/junno/nnet/__init__.py | LIV4D/JuNNo | 7358f8344a7c125088e53aa1de0072c4699a9f07 | [
"BSD-3-Clause"
] | null | null | null | from .history import History | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80d3cb44a9b9565e4f5733e0043c03468549d5d1 | 58 | py | Python | gtloader/__init__.py | geotrellis/python-geotrellis | 819be71fd9fa1c89954be6a117bfc36a419b23ce | [
"Apache-2.0"
] | 13 | 2015-01-01T15:44:08.000Z | 2021-11-16T13:32:31.000Z | gtloader/__init__.py | geotrellis/python-geotrellis | 819be71fd9fa1c89954be6a117bfc36a419b23ce | [
"Apache-2.0"
] | null | null | null | gtloader/__init__.py | geotrellis/python-geotrellis | 819be71fd9fa1c89954be6a117bfc36a419b23ce | [
"Apache-2.0"
] | null | null | null | import commands
def main(args):
commands.main(args)
| 11.6 | 23 | 0.706897 | 8 | 58 | 5.125 | 0.625 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 58 | 4 | 24 | 14.5 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80dc6f669c408a086aa65809f9e56c7aee09bb9a | 3,442 | py | Python | tests/terraform/checks/resource/azure/test_StorageAccountName.py | antonblr/checkov | 9415c6593c537945c08f7a19f28bdd8b96966f67 | [
"Apache-2.0"
] | 4,013 | 2019-12-09T13:16:54.000Z | 2022-03-31T14:31:01.000Z | tests/terraform/checks/resource/azure/test_StorageAccountName.py | antonblr/checkov | 9415c6593c537945c08f7a19f28bdd8b96966f67 | [
"Apache-2.0"
] | 1,258 | 2019-12-17T09:55:51.000Z | 2022-03-31T19:17:17.000Z | tests/terraform/checks/resource/azure/test_StorageAccountName.py | antonblr/checkov | 9415c6593c537945c08f7a19f28bdd8b96966f67 | [
"Apache-2.0"
] | 638 | 2019-12-19T08:57:38.000Z | 2022-03-30T21:38:37.000Z | import unittest
import hcl2
from checkov.terraform.checks.resource.azure.StorageAccountName import check
from checkov.common.models.enums import CheckResult
class TestAzureStorageAccountNamingRule(unittest.TestCase):
def test_failure_dash(self):
hcl_res = hcl2.loads("""
resource "azurerm_st... | 43.56962 | 85 | 0.601685 | 326 | 3,442 | 6.003067 | 0.180982 | 0.091978 | 0.107307 | 0.143076 | 0.830864 | 0.8186 | 0.8186 | 0.8186 | 0.8186 | 0.8186 | 0 | 0.00462 | 0.308251 | 3,442 | 78 | 86 | 44.128205 | 0.817304 | 0 | 0 | 0.671642 | 0 | 0 | 0.567403 | 0.20308 | 0 | 0 | 0 | 0 | 0.074627 | 1 | 0.074627 | false | 0.014925 | 0.059701 | 0 | 0.149254 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
03ed254b9d0e19064f3d26ab53c245fd33ff791a | 203 | py | Python | tests/common/scripts/cleaning/test_code_to_empty.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 42 | 2020-03-25T16:47:30.000Z | 2022-01-31T21:26:38.000Z | tests/common/scripts/cleaning/test_code_to_empty.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 367 | 2020-04-08T12:46:34.000Z | 2022-02-16T01:15:32.000Z | tests/common/scripts/cleaning/test_code_to_empty.py | arkhn/fhir-river | a12179c34fad131d16dedc20c61297ed83d805e6 | [
"Apache-2.0"
] | 3 | 2020-05-14T08:24:46.000Z | 2021-08-04T05:00:16.000Z | from common.scripts.cleaning import code_to_empty
def test_code_to_empty():
assert code_to_empty("-1") is None
assert code_to_empty("(sans)") is None
assert code_to_empty("-2") is not None
| 25.375 | 49 | 0.73399 | 35 | 203 | 3.942857 | 0.485714 | 0.217391 | 0.398551 | 0.369565 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.162562 | 203 | 7 | 50 | 29 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.049261 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ff13cf375534ae942d9d3932fff10c0b92706baa | 1,516 | py | Python | events/permissions.py | Strategy-Tap/Novizi-BackEnd | 536edde68dc79ad5467f2dbb0931a56930a4edea | [
"MIT"
] | null | null | null | events/permissions.py | Strategy-Tap/Novizi-BackEnd | 536edde68dc79ad5467f2dbb0931a56930a4edea | [
"MIT"
] | 4 | 2021-04-08T21:23:49.000Z | 2022-03-12T00:44:54.000Z | events/permissions.py | Strategy-Tap/Novizi-BackEnd | 536edde68dc79ad5467f2dbb0931a56930a4edea | [
"MIT"
] | 1 | 2020-06-12T16:08:46.000Z | 2020-06-12T16:08:46.000Z | """Collection permissions."""
from typing import Any
from django.utils import timezone
from rest_framework import permissions
from rest_framework.request import Request
class IsOwnerOrReadOnly(permissions.BasePermission):
"""Allows full access to object owner otherwise read only."""
def has_object_permissio... | 29.72549 | 80 | 0.649736 | 178 | 1,516 | 5.47191 | 0.331461 | 0.057495 | 0.034908 | 0.071869 | 0.702259 | 0.702259 | 0.702259 | 0.702259 | 0.702259 | 0.702259 | 0 | 0 | 0.282982 | 1,516 | 50 | 81 | 30.32 | 0.896044 | 0.371372 | 0 | 0.444444 | 0 | 0 | 0.04551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.222222 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 6 |
ff1f74155e59f3e43afaee9b00bb1b4628ce9fd7 | 147 | py | Python | databird/__init__.py | jonas-hagen/databird | cfb358e74da62bb9d7ea0e6c7ac984671472120b | [
"MIT"
] | 1 | 2021-11-05T00:12:00.000Z | 2021-11-05T00:12:00.000Z | databird/__init__.py | jonas-hagen/databird | cfb358e74da62bb9d7ea0e6c7ac984671472120b | [
"MIT"
] | null | null | null | databird/__init__.py | jonas-hagen/databird | cfb358e74da62bb9d7ea0e6c7ac984671472120b | [
"MIT"
] | null | null | null | from databird.base_driver import BaseDriver
from databird.classes import Repository, Profile
from databird.configuration import ConfigurationError
| 36.75 | 53 | 0.884354 | 17 | 147 | 7.588235 | 0.647059 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088435 | 147 | 3 | 54 | 49 | 0.962687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
205f1675b3b88ab291e7e8f46ac758a0b7853e24 | 150 | py | Python | stock_management/stock_management/doctype/warehouse/test_warehouse.py | rahib-hassan/stock_management | 9f54f2db45c8bf4e0c904c7d30164d2a81040045 | [
"MIT"
] | null | null | null | stock_management/stock_management/doctype/warehouse/test_warehouse.py | rahib-hassan/stock_management | 9f54f2db45c8bf4e0c904c7d30164d2a81040045 | [
"MIT"
] | null | null | null | stock_management/stock_management/doctype/warehouse/test_warehouse.py | rahib-hassan/stock_management | 9f54f2db45c8bf4e0c904c7d30164d2a81040045 | [
"MIT"
] | 3 | 2022-03-11T07:17:25.000Z | 2022-03-21T04:55:26.000Z | # Copyright (c) 2022, Rahib Hassan and Contributors
# See license.txt
# import frappe
import unittest
class TestWarehouse(unittest.TestCase):
pass
| 16.666667 | 51 | 0.78 | 19 | 150 | 6.157895 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.146667 | 150 | 8 | 52 | 18.75 | 0.882813 | 0.526667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
20bc837e60420e0e181cc7d2df78cb50932421da | 12,288 | py | Python | src/utils/feature_extraction.py | cpaismz89/DeepFireTopology | 9cfe7c5ed9997a2a89b7405af47d9991da7d5471 | [
"MIT"
] | null | null | null | src/utils/feature_extraction.py | cpaismz89/DeepFireTopology | 9cfe7c5ed9997a2a89b7405af47d9991da7d5471 | [
"MIT"
] | null | null | null | src/utils/feature_extraction.py | cpaismz89/DeepFireTopology | 9cfe7c5ed9997a2a89b7405af47d9991da7d5471 | [
"MIT"
] | null | null | null | # Importations
from keras.applications import ResNet50, VGG16, imagenet_utils
from sklearn.preprocessing import LabelEncoder
from keras.preprocessing.image import img_to_array, load_img
from keras.utils import to_categorical
from imutils import paths
import numpy as np
import pickle
import random
import os
# Extract ... | 42.082192 | 124 | 0.593913 | 1,486 | 12,288 | 4.851279 | 0.169583 | 0.021223 | 0.015259 | 0.011652 | 0.771119 | 0.753641 | 0.736857 | 0.736857 | 0.728811 | 0.722292 | 0 | 0.015783 | 0.324544 | 12,288 | 292 | 125 | 42.082192 | 0.852771 | 0.345459 | 0 | 0.724832 | 0 | 0 | 0.068774 | 0.015871 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033557 | false | 0 | 0.060403 | 0 | 0.107383 | 0.053691 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20d086b539c89a2a9d6783a8592e42d2d1d6d45f | 3,033 | py | Python | plot_voronoy.py | RandallBalestriero/SMASO | ad7607928c369a06225a74bdfe93332ebf60c650 | [
"MIT"
] | null | null | null | plot_voronoy.py | RandallBalestriero/SMASO | ad7607928c369a06225a74bdfe93332ebf60c650 | [
"MIT"
] | null | null | null | plot_voronoy.py | RandallBalestriero/SMASO | ad7607928c369a06225a74bdfe93332ebf60c650 | [
"MIT"
] | null | null | null | from pylab import *
eps=0.1
def VQ(x,W,ppi,sigma):
print shape(dot(x,W.T))
vq = argmax(dot(x,W.T)+log(ppi).reshape((1,-1))*sigma-0.5*(W*W).sum(1).reshape((1,-1)),axis=1)
print unique(vq)
return vq
def MVQ(x,W,b):
print shape(dot(x,W.T))
vq = argmax(dot(x,W.T)+b.reshape((1,-1)),axis=1)
pr... | 22.301471 | 140 | 0.577646 | 620 | 3,033 | 2.817742 | 0.156452 | 0.017172 | 0.022896 | 0.027476 | 0.753864 | 0.74585 | 0.74585 | 0.74585 | 0.744705 | 0.741271 | 0 | 0.056359 | 0.134191 | 3,033 | 135 | 141 | 22.466667 | 0.608911 | 0.063304 | 0 | 0.615385 | 0 | 0 | 0.049082 | 0.016949 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.010989 | null | null | 0.043956 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
455180fa627d80ce2b9778a763d7b68cd25895c3 | 58 | py | Python | spikeforest/sorters/mountainsort4/__init__.py | flatironinstitute/spikeforest | bbb5e38f35f66b09c327a593012d5468f4c46d30 | [
"Apache-2.0"
] | 22 | 2019-05-07T18:18:06.000Z | 2021-11-29T12:03:17.000Z | spikeforest/sorters/mountainsort4/__init__.py | flatironinstitute/spikeforest | bbb5e38f35f66b09c327a593012d5468f4c46d30 | [
"Apache-2.0"
] | 79 | 2019-03-05T13:04:46.000Z | 2021-11-05T09:27:09.000Z | spikeforest/sorters/mountainsort4/__init__.py | flatironinstitute/spikeforest | bbb5e38f35f66b09c327a593012d5468f4c46d30 | [
"Apache-2.0"
] | 8 | 2019-06-04T18:05:28.000Z | 2021-09-23T01:09:34.000Z | from .mountainsort4_wrapper1 import mountainsort4_wrapper1 | 58 | 58 | 0.931034 | 6 | 58 | 8.666667 | 0.666667 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0.051724 | 58 | 1 | 58 | 58 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4553b146f87c200babea52ab46274bb2edb78b20 | 626 | py | Python | controller/home.py | Rudi9719/booksearch-web | c48300e04ebdf2f01a990c67d4ff63d282da8168 | [
"Apache-2.0"
] | null | null | null | controller/home.py | Rudi9719/booksearch-web | c48300e04ebdf2f01a990c67d4ff63d282da8168 | [
"Apache-2.0"
] | null | null | null | controller/home.py | Rudi9719/booksearch-web | c48300e04ebdf2f01a990c67d4ff63d282da8168 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from controller.base import BaseController
from frameworks.bottle import view, static_file, template
class HomeController(BaseController):
def index(self):
return template('home/index')
def login(self):
return template('home/login')
def about(s... | 20.193548 | 57 | 0.607029 | 69 | 626 | 5.492754 | 0.42029 | 0.158311 | 0.28496 | 0.348285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282748 | 626 | 30 | 58 | 20.866667 | 0.844098 | 0.031949 | 0 | 0 | 0 | 0 | 0.120861 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0.055556 | 0.111111 | 0.333333 | 0.888889 | 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 | 1 | 1 | 0 | 0 | 6 |
45853906437bf22421624d861e93aa33535bb92a | 109 | py | Python | artificial-intelligence-practice/handwritten-digit-recognition/main.py | rileyweber13/learning-sandbox | 668c13daf8620826cc674f4deacbddff3c477d92 | [
"MIT"
] | null | null | null | artificial-intelligence-practice/handwritten-digit-recognition/main.py | rileyweber13/learning-sandbox | 668c13daf8620826cc674f4deacbddff3c477d92 | [
"MIT"
] | 4 | 2019-11-15T16:36:04.000Z | 2021-02-01T20:28:17.000Z | artificial-intelligence-practice/handwritten-digit-recognition/main.py | rileyweber13/learning-sandbox | 668c13daf8620826cc674f4deacbddff3c477d92 | [
"MIT"
] | null | null | null | import plot_mnist_data
import baseline
if __name__ == "__main__":
# plot_mnist_data
baseline.main()
| 15.571429 | 26 | 0.733945 | 14 | 109 | 4.857143 | 0.571429 | 0.264706 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183486 | 109 | 6 | 27 | 18.166667 | 0.764045 | 0.137615 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
45b8cf7b714ef1d6cd4b9dd250223bb4dbc22746 | 45 | py | Python | api/schema/branch/__init__.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 1 | 2022-03-03T09:55:57.000Z | 2022-03-03T09:55:57.000Z | api/schema/branch/__init__.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 7 | 2022-02-09T10:44:53.000Z | 2022-03-28T03:29:43.000Z | api/schema/branch/__init__.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | null | null | null | from .schema import BranchInput, BranchQuery
| 22.5 | 44 | 0.844444 | 5 | 45 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45baf3c0dff1479ed7778746c9934f9289a8780c | 207 | py | Python | Day12/Even_Length_Strings.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | Day12/Even_Length_Strings.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | Day12/Even_Length_Strings.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | def Even_Length(Test_string):
return "\n".join([words for words in Test_string.split() if len(words) % 2 == 0])
Test_string = input("Enter a String: ")
print(f"Output: {Even_Length(Test_string)}") | 34.5 | 86 | 0.681159 | 33 | 207 | 4.090909 | 0.666667 | 0.296296 | 0.207407 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011429 | 0.154589 | 207 | 6 | 87 | 34.5 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.256158 | 0.128079 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
45dbcb5f4267102a32936263d291ae0dcaefde15 | 196 | py | Python | modules/config/model_path.py | cloud441/Procerfa | 7472aeecc4eb3003e2e0f09bb0ae71f1b33e9ccf | [
"MIT"
] | null | null | null | modules/config/model_path.py | cloud441/Procerfa | 7472aeecc4eb3003e2e0f09bb0ae71f1b33e9ccf | [
"MIT"
] | null | null | null | modules/config/model_path.py | cloud441/Procerfa | 7472aeecc4eb3003e2e0f09bb0ae71f1b33e9ccf | [
"MIT"
] | null | null | null | import os
# Linux dev:
#dir_path = f"data{os.sep}pdf_models{os.sep}"
# Windows release:
dir_path = f"..{os.sep}..{os.sep}data{os.sep}pdf_models{os.sep}"
model_path = dir_path + "new_model.pdf"
| 19.6 | 64 | 0.693878 | 37 | 196 | 3.486486 | 0.405405 | 0.232558 | 0.124031 | 0.186047 | 0.356589 | 0.356589 | 0.356589 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 196 | 9 | 65 | 21.777778 | 0.741379 | 0.362245 | 0 | 0 | 0 | 0.333333 | 0.520661 | 0.413223 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2fbd62f5feda17fc27730a66c4c3f1247e55b804 | 267 | py | Python | Codewars/8kyu/twice-as-old/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/twice-as-old/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/twice-as-old/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.describe('Basic Tests')
Test.assert_equals(twice_as_old(36, 7), 22)
Test.assert_equals(twice_as_old(55, 30), 5)
Test.assert_equals(twice_as_old(42, 21), 0)
Test.assert_equals(twice_as_old(22, 1), 20)
Test.assert_equals(twice_as_old(29 ,0), 29)
| 29.666667 | 43 | 0.752809 | 53 | 267 | 3.509434 | 0.45283 | 0.268817 | 0.430108 | 0.564516 | 0.698925 | 0.698925 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0.082397 | 267 | 8 | 44 | 33.375 | 0.644898 | 0.052434 | 0 | 0 | 0 | 0 | 0.043825 | 0 | 0 | 0 | 0 | 0 | 0.833333 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2fcd40f834c7fee3b01f9bb48cd72afee34cc1a3 | 94 | py | Python | src/jt/jcc/__config__.py | karpierz/jtypes.jcc | 6cb029345034ec9ba1d671d5e20b72f5e1a17f8b | [
"Apache-2.0"
] | null | null | null | src/jt/jcc/__config__.py | karpierz/jtypes.jcc | 6cb029345034ec9ba1d671d5e20b72f5e1a17f8b | [
"Apache-2.0"
] | null | null | null | src/jt/jcc/__config__.py | karpierz/jtypes.jcc | 6cb029345034ec9ba1d671d5e20b72f5e1a17f8b | [
"Apache-2.0"
] | null | null | null | __import__("jvm._util", globals(), None, ["make_config"], 2).make_config("jcc.cfg", "jt.jcc")
| 47 | 93 | 0.670213 | 14 | 94 | 4 | 0.785714 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.06383 | 94 | 1 | 94 | 94 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.351064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2fe9a7acb090960e4d1f8df64661a44695d8bd20 | 31 | py | Python | exospoc/__init__.py | ceyzeriat/exospoc | e6d2ff1efa482222da90a9c89a11b56945c4202e | [
"MIT"
] | 1 | 2016-08-16T09:41:27.000Z | 2016-08-16T09:41:27.000Z | exospoc/__init__.py | ceyzeriat/exospoc | e6d2ff1efa482222da90a9c89a11b56945c4202e | [
"MIT"
] | null | null | null | exospoc/__init__.py | ceyzeriat/exospoc | e6d2ff1efa482222da90a9c89a11b56945c4202e | [
"MIT"
] | null | null | null | """
exospoc
"""
import exospoc | 6.2 | 14 | 0.645161 | 3 | 31 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 5 | 14 | 6.2 | 0.769231 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
64094acaaabc62779dfa14cd154dfe7c091c86ab | 3,438 | py | Python | test/unit/test_tasks_key_load.py | cyberkov/puppet-st2 | 5985c58323896f37d942590ca97825ec47ad778a | [
"Apache-2.0"
] | 21 | 2015-01-14T20:47:01.000Z | 2022-03-06T09:04:36.000Z | test/unit/test_tasks_key_load.py | cyberkov/puppet-st2 | 5985c58323896f37d942590ca97825ec47ad778a | [
"Apache-2.0"
] | 187 | 2015-01-27T18:36:12.000Z | 2022-03-23T05:42:41.000Z | test/unit/test_tasks_key_load.py | cyberkov/puppet-st2 | 5985c58323896f37d942590ca97825ec47ad778a | [
"Apache-2.0"
] | 31 | 2015-01-14T15:22:15.000Z | 2021-11-12T13:20:55.000Z | from test.unit.st2_test_case import St2TestCase
import mock
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'files'))
from st2_task_base import St2TaskBase
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'tasks'))
from key_load import St2KeyLoad
class St2... | 36.967742 | 94 | 0.565445 | 364 | 3,438 | 5.002747 | 0.184066 | 0.060406 | 0.079077 | 0.039539 | 0.853377 | 0.853377 | 0.853377 | 0.853377 | 0.853377 | 0.853377 | 0 | 0.022765 | 0.297266 | 3,438 | 92 | 95 | 37.369565 | 0.73096 | 0 | 0 | 0.62963 | 0 | 0.024691 | 0.165794 | 0.016289 | 0 | 0 | 0 | 0 | 0.135802 | 1 | 0.037037 | false | 0 | 0.074074 | 0 | 0.135802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ff4ecdb302c9374d5fbf9f174f9204bf631762fa | 270 | py | Python | compiler/lexical/token.py | danielbibit/COMP1-UFG | 8c2ffdb4049bedc8e91a6bfe5da65fe5a105db3e | [
"MIT"
] | null | null | null | compiler/lexical/token.py | danielbibit/COMP1-UFG | 8c2ffdb4049bedc8e91a6bfe5da65fe5a105db3e | [
"MIT"
] | null | null | null | compiler/lexical/token.py | danielbibit/COMP1-UFG | 8c2ffdb4049bedc8e91a6bfe5da65fe5a105db3e | [
"MIT"
] | null | null | null | class Token():
def __init__(self, classe, lexema, tipo):
self.classe = classe
self.lexema = lexema
self.tipo = tipo
def __repr__(self) -> str:
return 'classe: ' + self.classe + ', lexema: ' + self.lexema + ', tipo: ' + self.tipo
| 30 | 93 | 0.566667 | 31 | 270 | 4.677419 | 0.354839 | 0.206897 | 0.22069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288889 | 270 | 8 | 94 | 33.75 | 0.755208 | 0 | 0 | 0 | 0 | 0 | 0.096296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ff754e85577b46a301fd40bc5aa2ba847d29a7b6 | 8,630 | py | Python | datasets/build_dataset.py | XiaoyuanGuo/TEND_MedicalNoveltyDetection | 5c2144f0592373d814540cc0fa8e60197ea51756 | [
"MIT"
] | null | null | null | datasets/build_dataset.py | XiaoyuanGuo/TEND_MedicalNoveltyDetection | 5c2144f0592373d814540cc0fa8e60197ea51756 | [
"MIT"
] | null | null | null | datasets/build_dataset.py | XiaoyuanGuo/TEND_MedicalNoveltyDetection | 5c2144f0592373d814540cc0fa8e60197ea51756 | [
"MIT"
] | null | null | null | import logging
from .MNISTDataset import*
from .CIFAR10Dataset import *
from .IVCFilter import *
from .PneumoniaDataset import *
from torch.utils.data import DataLoader
from torch.utils.data.dataset import Dataset
mnist_tsfms = transforms.Compose([
transforms.ToPILImage(),
transforms.ToTensor(),
transfor... | 53.9375 | 131 | 0.669873 | 1,188 | 8,630 | 4.468013 | 0.08165 | 0.071213 | 0.045215 | 0.0211 | 0.870008 | 0.86266 | 0.834401 | 0.834401 | 0.808026 | 0.804069 | 0 | 0.022808 | 0.217613 | 8,630 | 159 | 132 | 54.27673 | 0.763329 | 0.015064 | 0 | 0.666667 | 0 | 0 | 0.038312 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 1 | 0.018018 | false | 0 | 0.063063 | 0 | 0.099099 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ffa4f2e8b47a1a70aac1422e65ea92af54579853 | 236 | py | Python | src/lesson_runtime_features/os_access.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | 3 | 2018-08-14T09:33:52.000Z | 2022-03-21T12:31:58.000Z | src/lesson_runtime_features/os_access.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | src/lesson_runtime_features/os_access.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | import os
print('Testing:', __file__)
print('Exists:', os.access(__file__, os.F_OK))
print('Readable:', os.access(__file__, os.R_OK))
print('Writable:', os.access(__file__, os.W_OK))
print('Executable:', os.access(__file__, os.X_OK))
| 26.222222 | 50 | 0.711864 | 37 | 236 | 3.891892 | 0.405405 | 0.222222 | 0.333333 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076271 | 236 | 8 | 51 | 29.5 | 0.66055 | 0 | 0 | 0 | 0 | 0 | 0.187234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.833333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ffa5ff3afc7a2b2d01cf5789c778ebe4175b7c49 | 32 | py | Python | lister/controllers/__init__.py | nricklin/gbdx-s3-browser | b226e7242911f2893e8c225c77b7900fe2398541 | [
"MIT"
] | 5 | 2015-10-11T20:49:32.000Z | 2018-08-07T15:33:18.000Z | lister/controllers/__init__.py | nricklin/gbdx-s3-browser | b226e7242911f2893e8c225c77b7900fe2398541 | [
"MIT"
] | 4 | 2015-10-16T19:45:06.000Z | 2017-04-03T20:26:01.000Z | lister/controllers/__init__.py | nricklin/gbdx-s3-browser | b226e7242911f2893e8c225c77b7900fe2398541 | [
"MIT"
] | 5 | 2015-10-27T19:31:16.000Z | 2019-09-27T15:15:11.000Z | from heartbeat import Heartbeat
| 16 | 31 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ffb29c27b975c1453b7ba42ccf8a334f1cc22a9c | 20,880 | py | Python | uraeus/nmbd/python/engine/numerics/solvers/temp.py | khaledghobashy/uraeus-nmbd-python | ea2364ed328baeb33693494ec669e992e86c1488 | [
"BSD-3-Clause"
] | null | null | null | uraeus/nmbd/python/engine/numerics/solvers/temp.py | khaledghobashy/uraeus-nmbd-python | ea2364ed328baeb33693494ec669e992e86c1488 | [
"BSD-3-Clause"
] | 1 | 2021-01-30T19:48:08.000Z | 2021-01-31T09:15:09.000Z | uraeus/nmbd/python/engine/numerics/solvers/temp.py | khaledghobashy/uraeus-nmbd-python | ea2364ed328baeb33693494ec669e992e86c1488 | [
"BSD-3-Clause"
] | null | null | null | # Standard library imports.
import time
# Third party imports.
import numpy as np
import scipy as sc
# Local imports.
from .base import abstract_solver, solve, progress_bar
from .integrators import BDF
################################################################
##################################################... | 31.257485 | 125 | 0.537356 | 2,809 | 20,880 | 3.754361 | 0.080812 | 0.024275 | 0.017068 | 0.006827 | 0.797079 | 0.771193 | 0.755452 | 0.738384 | 0.725583 | 0.720083 | 0 | 0.014631 | 0.322414 | 20,880 | 667 | 126 | 31.304348 | 0.730775 | 0.055412 | 0 | 0.753684 | 0 | 0 | 0.043279 | 0.004837 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092632 | false | 0 | 0.010526 | 0 | 0.170526 | 0.067368 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
443d2268196cf3d112bd157e5d9d11131f832791 | 112 | py | Python | MathOperations/exponentiation.py | mkm99/firstDockerProject | 9a0190216d9be7c2a01b428923ffb0e1c932991b | [
"MIT"
] | null | null | null | MathOperations/exponentiation.py | mkm99/firstDockerProject | 9a0190216d9be7c2a01b428923ffb0e1c932991b | [
"MIT"
] | null | null | null | MathOperations/exponentiation.py | mkm99/firstDockerProject | 9a0190216d9be7c2a01b428923ffb0e1c932991b | [
"MIT"
] | null | null | null | class Exponentiation:
@staticmethod
def exponentiation(base, exponent):
return base ** exponent | 22.4 | 39 | 0.696429 | 10 | 112 | 7.8 | 0.7 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 112 | 5 | 40 | 22.4 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4457652eb6441f727b9226ed645acf084de90136 | 9,640 | py | Python | pyscf/lib/test/test_einsum.py | robert-anderson/pyscf | cdc56e168cb15f47e8cdc791a92d689fa9b655af | [
"Apache-2.0"
] | 501 | 2018-12-06T23:48:17.000Z | 2022-03-31T11:53:18.000Z | pyscf/lib/test/test_einsum.py | robert-anderson/pyscf | cdc56e168cb15f47e8cdc791a92d689fa9b655af | [
"Apache-2.0"
] | 710 | 2018-11-26T22:04:52.000Z | 2022-03-30T03:53:12.000Z | pyscf/lib/test/test_einsum.py | robert-anderson/pyscf | cdc56e168cb15f47e8cdc791a92d689fa9b655af | [
"Apache-2.0"
] | 273 | 2018-11-26T10:10:24.000Z | 2022-03-30T12:25:28.000Z | import unittest
import numpy
from pyscf import lib
einsum = lib.einsum
lib.numpy_helper.EINSUM_MAX_SIZE, bak = 0, lib.numpy_helper.EINSUM_MAX_SIZE
def tearDownModule():
lib.numpy_helper.EINSUM_MAX_SIZE = bak
class KnownValues(unittest.TestCase):
def test_d_d(self):
a = numpy.random.random((7,1,3,4))
... | 38.870968 | 88 | 0.54305 | 1,550 | 9,640 | 3.337419 | 0.085806 | 0.125459 | 0.190605 | 0.093949 | 0.841678 | 0.791224 | 0.732264 | 0.708486 | 0.667311 | 0.6474 | 0 | 0.075552 | 0.243465 | 9,640 | 247 | 89 | 39.02834 | 0.633758 | 0 | 0 | 0.464455 | 0 | 0 | 0.086826 | 0.002178 | 0 | 0 | 0 | 0 | 0.222749 | 1 | 0.123223 | false | 0 | 0.023697 | 0 | 0.151659 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 6 |
928a63649f0e9b55199c806683483e4618f608dd | 134 | py | Python | trialbot/data/iterators/__init__.py | zxteloiv/TrialBot | 145bd4fbfc4866a0bf1895fc0dc549d8b18d434a | [
"MIT"
] | 3 | 2019-07-04T10:22:28.000Z | 2020-02-13T05:39:21.000Z | trialbot/data/iterators/__init__.py | zxteloiv/TrialBot | 145bd4fbfc4866a0bf1895fc0dc549d8b18d434a | [
"MIT"
] | null | null | null | trialbot/data/iterators/__init__.py | zxteloiv/TrialBot | 145bd4fbfc4866a0bf1895fc0dc549d8b18d434a | [
"MIT"
] | null | null | null | from .random_iterator import RandomIterator
from .bucket_iterator import BucketIterator
from .cluster_iterator import ClusterIterator
| 33.5 | 45 | 0.88806 | 15 | 134 | 7.733333 | 0.6 | 0.362069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 134 | 3 | 46 | 44.666667 | 0.95082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b84fdc1144a7d895266dbe5ed101e7218ebcf03 | 1,986 | py | Python | src/api/v1/utils/pdto.py | BuildForSDG/Team-183 | 737a42a6d6cc30adfc0cdd7bf3a4558728f966ad | [
"MIT"
] | null | null | null | src/api/v1/utils/pdto.py | BuildForSDG/Team-183 | 737a42a6d6cc30adfc0cdd7bf3a4558728f966ad | [
"MIT"
] | null | null | null | src/api/v1/utils/pdto.py | BuildForSDG/Team-183 | 737a42a6d6cc30adfc0cdd7bf3a4558728f966ad | [
"MIT"
] | 2 | 2020-05-02T04:20:40.000Z | 2020-05-25T17:18:46.000Z | from flask_restx import reqparse
product_parser = reqparse.RequestParser()
product_parser.add_argument('product_name', required=True, type=str, help='product_name should be a string')
product_parser.add_argument('product_category', required=True, type=str, help='product_category should be a string')
update_product_pa... | 79.44 | 123 | 0.820242 | 292 | 1,986 | 5.30137 | 0.099315 | 0.159561 | 0.155039 | 0.147287 | 0.959948 | 0.919251 | 0.897287 | 0.897287 | 0.897287 | 0.868863 | 0 | 0 | 0.072004 | 1,986 | 24 | 124 | 82.75 | 0.839935 | 0.182779 | 0 | 0 | 0 | 0 | 0.321186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2bc18c10a74917d4d23af14877e0054576900adc | 29,876 | py | Python | tests/unit/test_msc_tools.py | GregDMeyer/dynamite | 440f0c3674bf12a835b8ad4b3c10c303c2d28265 | [
"MIT"
] | 16 | 2017-10-11T22:53:30.000Z | 2021-12-23T01:17:07.000Z | tests/unit/test_msc_tools.py | GregDMeyer/dynamite | 440f0c3674bf12a835b8ad4b3c10c303c2d28265 | [
"MIT"
] | 8 | 2017-10-11T22:57:09.000Z | 2021-02-03T20:35:44.000Z | tests/unit/test_msc_tools.py | GregDMeyer/dynamite | 440f0c3674bf12a835b8ad4b3c10c303c2d28265 | [
"MIT"
] | 3 | 2018-02-21T19:36:47.000Z | 2022-01-26T21:38:18.000Z | # pylint: disable=W0212
'''
Unit tests for the classmethods of the Operator class in operators.py.
These tests should NOT require MPI.
'''
import unittest as ut
import numpy as np
from dynamite import msc_tools
class ToNumpy(ut.TestCase):
'''
Test the msc_tools.MSC_to_numpy method, whose behavior defines th... | 37.113043 | 98 | 0.421308 | 3,906 | 29,876 | 3.127752 | 0.063492 | 0.039781 | 0.035852 | 0.098224 | 0.861341 | 0.820578 | 0.783744 | 0.752558 | 0.707129 | 0.671196 | 0 | 0.104587 | 0.398012 | 29,876 | 804 | 99 | 37.159204 | 0.574701 | 0.023832 | 0 | 0.534848 | 0 | 0.018182 | 0.083589 | 0.043277 | 0.025758 | 0 | 0 | 0 | 0.092424 | 1 | 0.130303 | false | 0 | 0.004545 | 0 | 0.157576 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2bd49fd3b73e8ceeee638e905fe7700fe2196670 | 345 | py | Python | chainladder/__init__.py | Aborah30/chainladder-python | c7d3f4f0a5333b6bd34922cc406f252ab9c47e10 | [
"MIT"
] | null | null | null | chainladder/__init__.py | Aborah30/chainladder-python | c7d3f4f0a5333b6bd34922cc406f252ab9c47e10 | [
"MIT"
] | null | null | null | chainladder/__init__.py | Aborah30/chainladder-python | c7d3f4f0a5333b6bd34922cc406f252ab9c47e10 | [
"MIT"
] | null | null | null | from chainladder.utils import * # noqa (API Import)
from chainladder.core import * # noqa (API Import)
from chainladder.development import * # noqa (API Import)
from chainladder.tails import * # noqa (API Import)
from chainladder.methods import * # noqa (API Import)
from chainladder.workflow import * # noqa (API Import... | 38.333333 | 57 | 0.747826 | 46 | 345 | 5.521739 | 0.326087 | 0.354331 | 0.307087 | 0.448819 | 0.669291 | 0.669291 | 0 | 0 | 0 | 0 | 0 | 0.010239 | 0.150725 | 345 | 8 | 58 | 43.125 | 0.856655 | 0.310145 | 0 | 0 | 0 | 0 | 0.021645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
9200ca642003bc8c3561fcc4cf7ec725e98f96ac | 97 | py | Python | test/util/imported_cfg.py | dmarnerides/boardom | b7eec437b43398ac8dd8d2755dca9bbe7a8ff8a3 | [
"BSD-2-Clause"
] | 2 | 2021-10-05T15:52:50.000Z | 2021-11-22T00:05:03.000Z | test/util/imported_cfg.py | dmarnerides/boardom | b7eec437b43398ac8dd8d2755dca9bbe7a8ff8a3 | [
"BSD-2-Clause"
] | null | null | null | test/util/imported_cfg.py | dmarnerides/boardom | b7eec437b43398ac8dd8d2755dca9bbe7a8ff8a3 | [
"BSD-2-Clause"
] | null | null | null | from boardom import cfg
def my_bd_cfg_is_same_as_given(other_cfg):
return cfg is other_cfg
| 16.166667 | 42 | 0.804124 | 19 | 97 | 3.684211 | 0.684211 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 5 | 43 | 19.4 | 0.864198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9218cd405a4e23619160455ed609d65ef20b2f2d | 2,787 | py | Python | link/reqi/dsl/semantics.py | linkdd/link.reqi | e5c133f5a77fb07fad82af199c9bbfaf23e52eba | [
"MIT"
] | null | null | null | link/reqi/dsl/semantics.py | linkdd/link.reqi | e5c133f5a77fb07fad82af199c9bbfaf23e52eba | [
"MIT"
] | null | null | null | link/reqi/dsl/semantics.py | linkdd/link.reqi | e5c133f5a77fb07fad82af199c9bbfaf23e52eba | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class GraphDSLSemantics(object):
def digit(self, ast):
return ast
def symbol(self, ast):
return ast
def characters(self, ast):
return ast
def identifier(self, ast):
return ast
def string(self, ast):
return ast[1]
def natural(... | 17.09816 | 38 | 0.554718 | 354 | 2,787 | 4.29096 | 0.183616 | 0.235023 | 0.427913 | 0.505596 | 0.741935 | 0.516787 | 0.034233 | 0 | 0 | 0 | 0 | 0.004447 | 0.354503 | 2,787 | 162 | 39 | 17.203704 | 0.839911 | 0.007535 | 0 | 0.453704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.472222 | false | 0 | 0 | 0.462963 | 0.953704 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a63bec4d2e5fc3d4c63bd95852f5e73ffc03d800 | 10,194 | py | Python | src/som/vmobjects/integer.py | SOM-st/RPySOM | 2dcfc71786a3bd5be5a842c649645f71d6c35f89 | [
"MIT"
] | 12 | 2016-01-07T14:20:57.000Z | 2019-10-13T06:56:20.000Z | src/som/vmobjects/integer.py | SOM-st/RPySOM | 2dcfc71786a3bd5be5a842c649645f71d6c35f89 | [
"MIT"
] | 2 | 2016-05-26T06:53:33.000Z | 2020-09-02T15:58:28.000Z | src/som/vmobjects/integer.py | SOM-st/RPySOM | 2dcfc71786a3bd5be5a842c649645f71d6c35f89 | [
"MIT"
] | 2 | 2016-05-25T06:07:52.000Z | 2019-10-02T16:52:25.000Z | from rlib.arithmetic import ovfcheck, bigint_from_int, divrem, int_type
from rlib.llop import as_32_bit_signed_value, int_mod, Signed
from som.vmobjects.abstract_object import AbstractObject
from som.vm.globals import trueObject, falseObject
class Integer(AbstractObject):
_immutable_fields_ = ["_embedded_intege... | 34.439189 | 78 | 0.609869 | 1,101 | 10,194 | 5.380563 | 0.087193 | 0.1342 | 0.11867 | 0.051992 | 0.812289 | 0.774983 | 0.740716 | 0.73312 | 0.723498 | 0.706786 | 0 | 0.000856 | 0.312733 | 10,194 | 295 | 79 | 34.555932 | 0.844705 | 0.008436 | 0 | 0.624 | 0 | 0 | 0.002375 | 0 | 0 | 0 | 0 | 0 | 0.008 | 1 | 0.1 | false | 0 | 0.132 | 0.016 | 0.452 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a64e55255ef5b0432f8a3e943cb9deb99cf1d429 | 3,771 | py | Python | tests/test_g711.py | IMRSVDataLabs/aiortc | 8e601d7c72056c927f2ecbb29c94fcfd6575d13c | [
"BSD-3-Clause"
] | null | null | null | tests/test_g711.py | IMRSVDataLabs/aiortc | 8e601d7c72056c927f2ecbb29c94fcfd6575d13c | [
"BSD-3-Clause"
] | null | null | null | tests/test_g711.py | IMRSVDataLabs/aiortc | 8e601d7c72056c927f2ecbb29c94fcfd6575d13c | [
"BSD-3-Clause"
] | null | null | null | from aiortc.codecs import PCMA_CODEC, PCMU_CODEC, get_decoder, get_encoder
from aiortc.codecs.g711 import (PcmaDecoder, PcmaEncoder, PcmuDecoder,
PcmuEncoder)
from aiortc.jitterbuffer import JitterFrame
from aiortc.mediastreams import AudioFrame
from .codecs import CodecTestCase
class... | 33.078947 | 84 | 0.623707 | 429 | 3,771 | 5.342657 | 0.137529 | 0.034904 | 0.066318 | 0.101222 | 0.868674 | 0.832461 | 0.80192 | 0.80192 | 0.69808 | 0.69808 | 0 | 0.060044 | 0.271281 | 3,771 | 113 | 85 | 33.371681 | 0.774017 | 0 | 0 | 0.804348 | 0 | 0 | 0.025457 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 1 | 0.108696 | false | 0 | 0.054348 | 0 | 0.184783 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a6b63418236241ae79205d5821850877d6ce5dc4 | 84 | py | Python | skrl/agents/torch/dqn/__init__.py | simonbogh/skrl | 4ca483c7d24fdf020bdbd9422927ef5737c9dec4 | [
"MIT"
] | 43 | 2021-12-19T07:47:43.000Z | 2022-03-31T05:24:42.000Z | skrl/agents/torch/dqn/__init__.py | simonbogh/skrl | 4ca483c7d24fdf020bdbd9422927ef5737c9dec4 | [
"MIT"
] | 5 | 2022-01-05T07:54:13.000Z | 2022-03-08T21:00:39.000Z | skrl/agents/torch/dqn/__init__.py | simonbogh/skrl | 4ca483c7d24fdf020bdbd9422927ef5737c9dec4 | [
"MIT"
] | 1 | 2022-01-31T17:53:52.000Z | 2022-01-31T17:53:52.000Z | from .dqn import DQN, DQN_DEFAULT_CONFIG
from .ddqn import DDQN, DDQN_DEFAULT_CONFIG | 42 | 43 | 0.845238 | 14 | 84 | 4.785714 | 0.428571 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 84 | 2 | 43 | 42 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a6df4c8e7b5163f1308039aa89ecffec01853e74 | 588,082 | py | Python | UI/resource_rc.py | aneopsy/PokerStats | 7d0c72f2c0ed20ccb76b31bda560cb2e88465837 | [
"CC0-1.0"
] | 13 | 2016-10-21T20:28:22.000Z | 2022-01-21T03:52:59.000Z | UI/resource_rc.py | aneopsy/PokerStats | 7d0c72f2c0ed20ccb76b31bda560cb2e88465837 | [
"CC0-1.0"
] | null | null | null | UI/resource_rc.py | aneopsy/PokerStats | 7d0c72f2c0ed20ccb76b31bda560cb2e88465837 | [
"CC0-1.0"
] | 6 | 2018-11-10T16:10:56.000Z | 2022-01-14T10:11:40.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.4.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x90\x2d\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x01\xb5\x0... | 65.700145 | 113 | 0.727242 | 142,498 | 588,082 | 3.001165 | 0.00207 | 0.170869 | 0.252895 | 0.332732 | 0.110815 | 0.109503 | 0.10878 | 0.108352 | 0.107609 | 0.10716 | 0 | 0.315357 | 0.015306 | 588,082 | 8,950 | 114 | 65.707486 | 0.423158 | 0.000257 | 0 | 0.092323 | 0 | 0.995524 | 0 | 0 | 0 | 1 | 0.000014 | 0 | 0 | 1 | 0.000224 | false | 0 | 0.000112 | 0 | 0.000336 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a6e84f7fc5fcc8c5153339a27cedc2a1dafe625e | 35 | py | Python | exceptions/__init__.py | edchelstephens/django-rest-utils | 15cee427149217d1e53384281894f91e9653b6b4 | [
"BSD-3-Clause"
] | 1 | 2022-02-20T01:37:25.000Z | 2022-02-20T01:37:25.000Z | exceptions/__init__.py | edchelstephens/django-rest-utils | 15cee427149217d1e53384281894f91e9653b6b4 | [
"BSD-3-Clause"
] | null | null | null | exceptions/__init__.py | edchelstephens/django-rest-utils | 15cee427149217d1e53384281894f91e9653b6b4 | [
"BSD-3-Clause"
] | null | null | null | from exceptions.exceptions import * | 35 | 35 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a6f782d32c9a728eb128673b26bdb75ad45a4c4a | 51 | py | Python | accelbyte_py_sdk/services/auth/__init__.py | encyphered/accelbyte-python-sdk | 09c1e989d7251de308150fdcd3119d662ca2d205 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/services/auth/__init__.py | encyphered/accelbyte-python-sdk | 09c1e989d7251de308150fdcd3119d662ca2d205 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/services/auth/__init__.py | encyphered/accelbyte-python-sdk | 09c1e989d7251de308150fdcd3119d662ca2d205 | [
"MIT"
] | null | null | null | from ._auth import login
from ._auth import logout
| 17 | 25 | 0.803922 | 8 | 51 | 4.875 | 0.625 | 0.410256 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 26 | 25.5 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5b5157776e94f524cf6bc306dcbc88669dd3312c | 259,519 | py | Python | instances/passenger_demand/pas-20210422-1717-int6000000000000001e-1/75.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int6000000000000001e-1/75.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int6000000000000001e-1/75.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 11416
passenger_arriving = (
(2, 4, 1, 3, 2, 0, 2, 2, 1, 1, 1, 0, 0, 1, 2, 2, 1, 3, 2, 2, 0, 2, 1, 1, 1, 0), # 0
(4, 1, 4, 4, 1, 1, 1, 2, 1, 1, 1, 0, 0, 4, 4, 3, 3, 6, 0, 1, 1, 0, 1, 0, 1, 0), # 1
(2, 3, 3, 0, 2, 0, 2, 1, 1, 0, 0, 0, 0, 1, 7, 3, 5, 1, 2, 3, 0, 2, 0, 0, 0, 0), ... | 277.560428 | 500 | 0.770637 | 32,987 | 259,519 | 6.062509 | 0.205475 | 0.356429 | 0.342027 | 0.648052 | 0.383546 | 0.372895 | 0.366114 | 0.362564 | 0.361994 | 0.361739 | 0 | 0.850587 | 0.095307 | 259,519 | 934 | 501 | 277.857602 | 0.001188 | 0.015456 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5b5dcc28444866756538a11926b6d489a50ed7d2 | 95 | py | Python | build/lib/dsrt/config/__init__.py | sbarham/dsrt | bc664739f2f52839461d3e72773b71146fd56a9a | [
"MIT"
] | 1 | 2019-02-11T10:05:33.000Z | 2019-02-11T10:05:33.000Z | dsrt/config/__init__.py | sbarham/dsrt | bc664739f2f52839461d3e72773b71146fd56a9a | [
"MIT"
] | null | null | null | dsrt/config/__init__.py | sbarham/dsrt | bc664739f2f52839461d3e72773b71146fd56a9a | [
"MIT"
] | null | null | null | from . Configuration import Configuration
from . ConfigurationLoader import ConfigurationLoader | 47.5 | 53 | 0.884211 | 8 | 95 | 10.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 95 | 2 | 53 | 47.5 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.