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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d871a4ed4cf92955f672f20e05251c84472f178f | 105 | py | Python | app2/app2.py | ffreemt/app2 | af092aa7f9a290f16ba650b012e439bea99f1848 | [
"MIT"
] | null | null | null | app2/app2.py | ffreemt/app2 | af092aa7f9a290f16ba650b012e439bea99f1848 | [
"MIT"
] | null | null | null | app2/app2.py | ffreemt/app2 | af092aa7f9a290f16ba650b012e439bea99f1848 | [
"MIT"
] | null | null | null | """Define app2."""
from logzero import logger
def app2():
"""Define."""
logger.debug(" entry ") | 15 | 27 | 0.590476 | 12 | 105 | 5.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.2 | 105 | 7 | 27 | 15 | 0.714286 | 0.190476 | 0 | 0 | 0 | 0 | 0.093333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8e2fc36826e37f3253754735b213a079f77d9cd | 163 | py | Python | tests/test_download_trades.py | westonplatter/finx_ib_reports | 8430a9f40a15432a8c17e9107d066c5e37b32a60 | [
"BSD-3-Clause"
] | null | null | null | tests/test_download_trades.py | westonplatter/finx_ib_reports | 8430a9f40a15432a8c17e9107d066c5e37b32a60 | [
"BSD-3-Clause"
] | 1 | 2022-03-19T19:06:25.000Z | 2022-03-19T19:06:25.000Z | tests/test_download_trades.py | westonplatter/finx_ib_reports | 8430a9f40a15432a8c17e9107d066c5e37b32a60 | [
"BSD-3-Clause"
] | null | null | null | from finx_ib_reports.config_helpers import get_ib_json
def test_get_ib_json():
configs = {"IB_JSON": '{"a": 1}'}
assert get_ib_json(configs) == {"a": 1}
| 23.285714 | 54 | 0.680982 | 27 | 163 | 3.703704 | 0.555556 | 0.24 | 0.27 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.159509 | 163 | 6 | 55 | 27.166667 | 0.715328 | 0 | 0 | 0 | 0 | 0 | 0.09816 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d8ebba8c3a746ecebebc771b5a45dd3480b27745 | 179 | py | Python | 8_kyu/Sort_My_Textbooks.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 8_kyu/Sort_My_Textbooks.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 8_kyu/Sort_My_Textbooks.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | from typing import List
def sorter(textbooks: List[str]) -> List[str]:
"""Returns the textbooks list non-case-sensitive sorted."""
return sorted(textbooks, key=str.lower) | 35.8 | 63 | 0.72067 | 25 | 179 | 5.16 | 0.68 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145251 | 179 | 5 | 64 | 35.8 | 0.843137 | 0.296089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b1bb96db0403eb42bcf4f3899b6d7344e1a9e25 | 133 | py | Python | linetools/spectra/setup_package.py | jchowk/linetools | 5a0eafa96ab854c52c070ce756033c0499414dde | [
"BSD-3-Clause"
] | 23 | 2015-07-09T02:24:27.000Z | 2022-01-22T15:13:31.000Z | linetools/spectra/setup_package.py | jchowk/linetools | 5a0eafa96ab854c52c070ce756033c0499414dde | [
"BSD-3-Clause"
] | 491 | 2015-06-21T20:01:33.000Z | 2021-02-11T03:29:19.000Z | linetools/spectra/setup_package.py | jchowk/linetools | 5a0eafa96ab854c52c070ce756033c0499414dde | [
"BSD-3-Clause"
] | 35 | 2015-05-25T00:18:59.000Z | 2021-08-30T06:53:14.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
def get_package_data():
return {'linetools.lists': ['sets/*']}
| 22.166667 | 63 | 0.691729 | 19 | 133 | 4.736842 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.165414 | 133 | 5 | 64 | 26.6 | 0.801802 | 0.458647 | 0 | 0 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2b55391029de2eb0d4831e356c24696dce56efc2 | 25,863 | py | Python | project-management-env/backend/project_charter/tests.py | paolo-demagistris-polito/pm-lab-polito-EnvForDigitalProjectDelivery | 07e121a6613398bf3a8fbb9ec6831720bfcf2c33 | [
"MIT"
] | null | null | null | project-management-env/backend/project_charter/tests.py | paolo-demagistris-polito/pm-lab-polito-EnvForDigitalProjectDelivery | 07e121a6613398bf3a8fbb9ec6831720bfcf2c33 | [
"MIT"
] | null | null | null | project-management-env/backend/project_charter/tests.py | paolo-demagistris-polito/pm-lab-polito-EnvForDigitalProjectDelivery | 07e121a6613398bf3a8fbb9ec6831720bfcf2c33 | [
"MIT"
] | null | null | null | from django.urls import reverse
from rest_framework import status
from rest_framework.test import APITestCase
from accounts.models import User
from projects.models import Project
from project_charter.models import ProjectCharter, BusinessCaseSWOT
from accounts import views as account_views
from projects import views as... | 43.321608 | 117 | 0.688242 | 3,195 | 25,863 | 5.277621 | 0.054147 | 0.132013 | 0.053137 | 0.066422 | 0.86692 | 0.828194 | 0.789467 | 0.768948 | 0.765093 | 0.754062 | 0 | 0.009682 | 0.21726 | 25,863 | 597 | 118 | 43.321608 | 0.823256 | 0.067046 | 0 | 0.685851 | 0 | 0 | 0.076446 | 0.013964 | 0 | 0 | 0 | 0 | 0.167866 | 1 | 0.067146 | false | 0.009592 | 0.023981 | 0.009592 | 0.136691 | 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 |
2b6e1512be4560cd0c3dcff2f597b519097f0a0c | 19,488 | py | Python | sdk/AsposeEmailCloudSdk/api/contact_api.py | aspose-email-cloud/aspose-email-cloud-python | c5c13839cbbbfa5b6617bd1aedf3cf30cd664227 | [
"MIT"
] | 1 | 2020-02-26T13:19:06.000Z | 2020-02-26T13:19:06.000Z | sdk/AsposeEmailCloudSdk/api/contact_api.py | aspose-email-cloud/aspose-email-cloud-python | c5c13839cbbbfa5b6617bd1aedf3cf30cd664227 | [
"MIT"
] | null | null | null | sdk/AsposeEmailCloudSdk/api/contact_api.py | aspose-email-cloud/aspose-email-cloud-python | c5c13839cbbbfa5b6617bd1aedf3cf30cd664227 | [
"MIT"
] | null | null | null | # coding: utf-8
# ----------------------------------------------------------------------------
# <copyright company="Aspose" file="contact_api.py">
# Copyright (c) 2018-2020 Aspose Pty Ltd. All rights reserved.
# </copyright>
# <summary>
# Permission is hereby granted, free of charge, to any person obtaining... | 43.990971 | 125 | 0.638957 | 2,171 | 19,488 | 5.50714 | 0.09719 | 0.055453 | 0.054199 | 0.072265 | 0.793242 | 0.761877 | 0.750251 | 0.744982 | 0.73553 | 0.716126 | 0 | 0.000626 | 0.262007 | 19,488 | 442 | 126 | 44.090498 | 0.830691 | 0.208231 | 0 | 0.8125 | 0 | 0 | 0.125548 | 0.007444 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035156 | false | 0 | 0.011719 | 0 | 0.082031 | 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 |
51420794cec89fd97246f97eeeb75041b613e317 | 33 | py | Python | stock_mts_mto_rule/tests/__init__.py | guadaltech/jdvp-odoo | e399ecf4c66e15a60a8561edec359e75be08140b | [
"ADSL"
] | null | null | null | stock_mts_mto_rule/tests/__init__.py | guadaltech/jdvp-odoo | e399ecf4c66e15a60a8561edec359e75be08140b | [
"ADSL"
] | 1 | 2020-04-02T06:39:18.000Z | 2020-04-02T06:39:18.000Z | stock_mts_mto_rule/tests/__init__.py | guadaltech/jdvp-odoo | e399ecf4c66e15a60a8561edec359e75be08140b | [
"ADSL"
] | null | null | null | from . import test_mto_mts_route
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.862069 | 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 |
5a9e75daf0029fca4489d539a89751d094479f3d | 197 | py | Python | DB/decoders/__init__.py | cnzeki/PSENet | c7e0785404e12866171e9da678736abae9cdb8cb | [
"Apache-2.0"
] | null | null | null | DB/decoders/__init__.py | cnzeki/PSENet | c7e0785404e12866171e9da678736abae9cdb8cb | [
"Apache-2.0"
] | 1 | 2020-07-31T13:15:06.000Z | 2020-07-31T13:17:34.000Z | DB/decoders/__init__.py | cnzeki/PSENet | c7e0785404e12866171e9da678736abae9cdb8cb | [
"Apache-2.0"
] | null | null | null | from .seg_detector import SegDetector
from .dice_loss import DiceLoss
from .pss_loss import PSS_Loss
from .l1_loss import MaskL1Loss
from .balance_cross_entropy_loss import BalanceCrossEntropyLoss
| 32.833333 | 63 | 0.873096 | 28 | 197 | 5.857143 | 0.535714 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011299 | 0.101523 | 197 | 5 | 64 | 39.4 | 0.915254 | 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 |
51a7cd69196bef62f6ff6721be09de4e30360754 | 2,261 | py | Python | onlinecourse/migrations/0003_auto_20211105_0012.py | schekutiev/final-lab | e9985ceabaee8fb13d6db7d8a8ca68bc05b49fc0 | [
"Apache-2.0"
] | null | null | null | onlinecourse/migrations/0003_auto_20211105_0012.py | schekutiev/final-lab | e9985ceabaee8fb13d6db7d8a8ca68bc05b49fc0 | [
"Apache-2.0"
] | null | null | null | onlinecourse/migrations/0003_auto_20211105_0012.py | schekutiev/final-lab | e9985ceabaee8fb13d6db7d8a8ca68bc05b49fc0 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.2.8 on 2021-11-05 00:12
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('onlinecourse', '0002_auto_20211026_0302'),
]
operations = [
migrations.AlterField(
model_name='choice',
name='id',
... | 35.328125 | 111 | 0.591331 | 226 | 2,261 | 5.743363 | 0.243363 | 0.07396 | 0.192604 | 0.223421 | 0.749615 | 0.749615 | 0.680277 | 0.680277 | 0.680277 | 0.680277 | 0 | 0.022346 | 0.287483 | 2,261 | 63 | 112 | 35.888889 | 0.783364 | 0.019903 | 0 | 0.701754 | 1 | 0 | 0.073622 | 0.010388 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.070175 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
51bf2c480ded826a95c5a8f34c49b9c2aa07e758 | 4,260 | py | Python | authors/apps/articles/tests/test_create_article.py | andela/ah-magnificent6 | daf55ce4819f57cec8510c5726e86a0b1e78e3e1 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/articles/tests/test_create_article.py | andela/ah-magnificent6 | daf55ce4819f57cec8510c5726e86a0b1e78e3e1 | [
"BSD-3-Clause"
] | 75 | 2018-08-28T08:37:04.000Z | 2022-03-11T23:29:08.000Z | authors/apps/articles/tests/test_create_article.py | andela/ah-magnificent6 | daf55ce4819f57cec8510c5726e86a0b1e78e3e1 | [
"BSD-3-Clause"
] | 2 | 2018-08-27T08:13:55.000Z | 2018-12-18T09:17:26.000Z | from .base_setup import Base
from rest_framework import status
from django.urls import reverse
class ArticleTests(Base):
def setUp(self):
super().setUp()
def tearDown(self):
super().tearDown()
def test_create_article(self):
"""
Tests that a user can create a new article
... | 42.6 | 76 | 0.534507 | 424 | 4,260 | 5.15566 | 0.181604 | 0.10064 | 0.089204 | 0.086459 | 0.833943 | 0.804666 | 0.772644 | 0.747941 | 0.717749 | 0.717749 | 0 | 0.007564 | 0.379343 | 4,260 | 99 | 77 | 43.030303 | 0.819213 | 0.098122 | 0 | 0.671429 | 0 | 0 | 0.059968 | 0.029173 | 0 | 0 | 0 | 0 | 0.128571 | 1 | 0.114286 | false | 0 | 0.042857 | 0 | 0.171429 | 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 |
51d3b9f65586b86559d22e82392cb5db855e9e02 | 705 | py | Python | LinguaFrancaBase/functions.py | lf-lang/python-base | 5544cda9df1bf974d6dea5e1dafba99f50bb60bb | [
"BSD-2-Clause"
] | 1 | 2020-11-13T02:05:57.000Z | 2020-11-13T02:05:57.000Z | LinguaFrancaBase/functions.py | lf-lang/python-base | 5544cda9df1bf974d6dea5e1dafba99f50bb60bb | [
"BSD-2-Clause"
] | 1 | 2021-11-07T04:50:48.000Z | 2021-11-07T04:50:48.000Z | LinguaFrancaBase/functions.py | lf-lang/python-base | 5544cda9df1bf974d6dea5e1dafba99f50bb60bb | [
"BSD-2-Clause"
] | 1 | 2020-10-20T12:30:38.000Z | 2020-10-20T12:30:38.000Z | # Useful shortcuts used in Linga Franca programs
def NSEC(t):
return (t * 1)
def NSECS(t):
return (t * 1)
def USEC(t):
return (t * 1000)
def USECS(t):
return (t * 1000)
def MSEC(t):
return (t * 1000000)
def MSECS(t):
return (t * 1000000)
def SEC(t):
return (t * 1000000000)
def SECS(t):
... | 20.735294 | 48 | 0.621277 | 103 | 705 | 4.252427 | 0.330097 | 0.255708 | 0.292237 | 0.041096 | 0.625571 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280374 | 0.241135 | 705 | 34 | 49 | 20.735294 | 0.538318 | 0.065248 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
51debb99aa155e347a832c53856953ed38e937e0 | 4,914 | py | Python | federation/tests/hostmeta/test_fetchers.py | weex/federation | 01357aacb04b076442ce5f803a0fc65df5a74d09 | [
"BSD-3-Clause"
] | 93 | 2016-11-26T10:52:13.000Z | 2022-01-15T20:07:35.000Z | federation/tests/hostmeta/test_fetchers.py | weex/federation | 01357aacb04b076442ce5f803a0fc65df5a74d09 | [
"BSD-3-Clause"
] | 75 | 2016-10-18T10:15:44.000Z | 2019-10-05T22:16:32.000Z | federation/tests/hostmeta/test_fetchers.py | weex/federation | 01357aacb04b076442ce5f803a0fc65df5a74d09 | [
"BSD-3-Clause"
] | 9 | 2017-04-08T08:03:45.000Z | 2021-09-13T22:00:48.000Z | import json
from unittest.mock import patch
from federation.hostmeta.fetchers import (
fetch_nodeinfo_document, fetch_nodeinfo2_document, fetch_statisticsjson_document, fetch_mastodon_document,
fetch_matrix_document)
from federation.tests.fixtures.hostmeta import NODEINFO_WELL_KNOWN_BUGGY, NODEINFO_WELL_KNOWN_... | 52.83871 | 116 | 0.708791 | 609 | 4,914 | 5.456486 | 0.129721 | 0.075233 | 0.117364 | 0.130605 | 0.81613 | 0.795968 | 0.78724 | 0.78724 | 0.751129 | 0.733975 | 0 | 0.013142 | 0.148352 | 4,914 | 92 | 117 | 53.413043 | 0.780884 | 0 | 0 | 0.525641 | 0 | 0 | 0.304436 | 0.160155 | 0 | 0 | 0 | 0 | 0.282051 | 1 | 0.089744 | false | 0 | 0.051282 | 0 | 0.217949 | 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 |
51fb9c0ab7ec07d6656fa9f89b335b6c877b9960 | 361 | py | Python | Code Examples/March21DoNow.py | bensk/cs11 | 58658bc308be61167324a7f051b03497440f7e7f | [
"MIT"
] | null | null | null | Code Examples/March21DoNow.py | bensk/cs11 | 58658bc308be61167324a7f051b03497440f7e7f | [
"MIT"
] | null | null | null | Code Examples/March21DoNow.py | bensk/cs11 | 58658bc308be61167324a7f051b03497440f7e7f | [
"MIT"
] | null | null | null | import random
random.randint(0, 3)
random.randint(0, 3)
print(random.randint(0, 3))
print(random.randint(0, 3))
print(random.randint(0, 3))
# What does randint do?
# What do the values 0 and 3 do? Try changing those numbers, rerun the program, and write down what changed.
# What is the difference between random.randi... | 32.818182 | 109 | 0.736842 | 64 | 361 | 4.15625 | 0.375 | 0.342105 | 0.368421 | 0.394737 | 0.357143 | 0.281955 | 0.281955 | 0.281955 | 0.281955 | 0.281955 | 0 | 0.051447 | 0.138504 | 361 | 10 | 110 | 36.1 | 0.803859 | 0.590028 | 0 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a407250d8c461ef50c557825db216975e2554df0 | 96 | py | Python | venv/lib/python3.8/site-packages/clikit/api/resolver/command_resolver.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/clikit/api/resolver/command_resolver.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/clikit/api/resolver/command_resolver.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/b4/9c/d7/17d0a60a462e1e67aadeb089f38f200dc399c04f9ea8250600a515e258 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cffcfba097c1752e024f87c1c032f2b1e63072ae | 2,539 | py | Python | models.py | iSkaCh/PhonemeRecog | ec7175ad22ac593880413f0b6ddff16f6bd7d1c7 | [
"MIT"
] | null | null | null | models.py | iSkaCh/PhonemeRecog | ec7175ad22ac593880413f0b6ddff16f6bd7d1c7 | [
"MIT"
] | null | null | null | models.py | iSkaCh/PhonemeRecog | ec7175ad22ac593880413f0b6ddff16f6bd7d1c7 | [
"MIT"
] | 1 | 2022-02-12T04:31:25.000Z | 2022-02-12T04:31:25.000Z | from keras.models import Sequential
from keras.layers import Conv1D,Dense,TimeDistributed,GlobalMaxPooling1D,BatchNormalization,CuDNNLSTM,CuDNNGRU,Bidirectional,MaxPooling1D
from keras.constraints import maxnorm
from keras.optimizers import Adam
from keras.layers import Flatten
def BGRU_Model2 (self) :
mode... | 57.704545 | 188 | 0.722332 | 301 | 2,539 | 5.946844 | 0.23588 | 0.075978 | 0.141341 | 0.097207 | 0.81676 | 0.81676 | 0.803352 | 0.803352 | 0.764804 | 0.727374 | 0 | 0.04182 | 0.14297 | 2,539 | 44 | 189 | 57.704545 | 0.78079 | 0 | 0 | 0.621622 | 0 | 0 | 0.105727 | 0.028835 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081081 | false | 0 | 0.135135 | 0 | 0.297297 | 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 |
5c7c3bc2350d51a2facea174b999bf3da4037225 | 155 | py | Python | test.py | saewoonam/thorium_daq_uqd | 249ab89338591c833009711e2f7997dbe2898fbc | [
"MIT"
] | null | null | null | test.py | saewoonam/thorium_daq_uqd | 249ab89338591c833009711e2f7997dbe2898fbc | [
"MIT"
] | null | null | null | test.py | saewoonam/thorium_daq_uqd | 249ab89338591c833009711e2f7997dbe2898fbc | [
"MIT"
] | null | null | null | class A:
def __init__(self):
self.a = 1
self.b = B()
class B:
def __init__(self):
self.b = 2
print('init class B')
| 17.222222 | 29 | 0.483871 | 23 | 155 | 2.913043 | 0.391304 | 0.208955 | 0.328358 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.387097 | 155 | 8 | 30 | 19.375 | 0.684211 | 0 | 0 | 0.25 | 0 | 0 | 0.077419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0.125 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c8b6e417b8d9f3209a5fb5da5ea098a34138bbb | 36 | py | Python | hooks/pre_gen_project.py | vascoferreira25/my-cookiecutter-project-template | 5f2aec65969a1e80a4950aeccc908c1eaf494481 | [
"MIT"
] | null | null | null | hooks/pre_gen_project.py | vascoferreira25/my-cookiecutter-project-template | 5f2aec65969a1e80a4950aeccc908c1eaf494481 | [
"MIT"
] | null | null | null | hooks/pre_gen_project.py | vascoferreira25/my-cookiecutter-project-template | 5f2aec65969a1e80a4950aeccc908c1eaf494481 | [
"MIT"
] | null | null | null | def deprecation_warning():
pass
| 12 | 26 | 0.722222 | 4 | 36 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 36 | 2 | 27 | 18 | 0.862069 | 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 |
5cab4df1b29307d0451fda9317b57e82659f04d8 | 31 | py | Python | Xana/XsvsAna/__init__.py | ClLov/Xana | 83d880432a457cff0f1fab2801e2530ddecb4019 | [
"MIT"
] | 1 | 2021-01-25T08:57:57.000Z | 2021-01-25T08:57:57.000Z | Xana/XsvsAna/__init__.py | ClLov/Xana | 83d880432a457cff0f1fab2801e2530ddecb4019 | [
"MIT"
] | 21 | 2020-03-23T12:50:32.000Z | 2021-05-07T07:54:38.000Z | Xana/XsvsAna/__init__.py | ClLov/Xana | 83d880432a457cff0f1fab2801e2530ddecb4019 | [
"MIT"
] | 2 | 2020-03-22T10:31:09.000Z | 2020-07-01T14:00:28.000Z | from .VisbFunc import VisbFunc
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
5ce59148d672785945ac61151c5234cc5c12323c | 32 | py | Python | Shubham-Yadav/4.Docker/app.py | srimanivinay97/DevOpsRoadmap2022 | 6422eaad8946c5380b3e328a9113944bfd04036a | [
"MIT"
] | 169 | 2022-01-04T06:46:48.000Z | 2022-03-31T07:17:59.000Z | Shubham-Yadav/4.Docker/app.py | srimanivinay97/DevOpsRoadmap2022 | 6422eaad8946c5380b3e328a9113944bfd04036a | [
"MIT"
] | 212 | 2022-01-04T09:46:05.000Z | 2022-03-31T23:18:08.000Z | Shubham-Yadav/4.Docker/app.py | srimanivinay97/DevOpsRoadmap2022 | 6422eaad8946c5380b3e328a9113944bfd04036a | [
"MIT"
] | 86 | 2022-01-04T06:32:30.000Z | 2022-03-30T13:05:51.000Z | print("hello world from docker") | 32 | 32 | 0.78125 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5ce80ee5993d37244c22b9783287583abae47316 | 1,010 | py | Python | tests/test_set_zoom.py | waider/gopro-py-api | b18b5458f5bbe689f468842d6888104317786de8 | [
"MIT"
] | 1 | 2019-05-06T21:48:54.000Z | 2019-05-06T21:48:54.000Z | tests/test_set_zoom.py | waider/gopro-py-api | b18b5458f5bbe689f468842d6888104317786de8 | [
"MIT"
] | null | null | null | tests/test_set_zoom.py | waider/gopro-py-api | b18b5458f5bbe689f468842d6888104317786de8 | [
"MIT"
] | null | null | null | from .conftest import GoProCameraTest
from goprocam import GoProCamera
class SetZoomTest(GoProCameraTest):
def test_set_zoom_min(self):
with self.monkeypatch.context() as m:
def verify_cmd(self, cmd):
assert cmd == 'digital_zoom?range_pcnt=0'
m.setattr(GoProCamera.... | 34.827586 | 72 | 0.647525 | 119 | 1,010 | 5.327731 | 0.344538 | 0.085174 | 0.123028 | 0.066246 | 0.711356 | 0.711356 | 0.711356 | 0.711356 | 0.711356 | 0.711356 | 0 | 0.014667 | 0.257426 | 1,010 | 28 | 73 | 36.071429 | 0.830667 | 0 | 0 | 0.428571 | 0 | 0 | 0.116832 | 0.051485 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.285714 | false | 0 | 0.095238 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a28beb0dea24f820c0642f7b9f5277b1b5f22e1 | 251 | py | Python | PyWavelet/__init__.py | mattkjames7/PyWavelet | 542c608da1477894c7454396d1e29627bf8eb038 | [
"MIT"
] | null | null | null | PyWavelet/__init__.py | mattkjames7/PyWavelet | 542c608da1477894c7454396d1e29627bf8eb038 | [
"MIT"
] | null | null | null | PyWavelet/__init__.py | mattkjames7/PyWavelet | 542c608da1477894c7454396d1e29627bf8eb038 | [
"MIT"
] | null | null | null | from .GetWaveletSpectrum import GetWaveletSpectrum
from .WaveletPeaks import WaveletPeaks
from .PlotWaveletSpectrum import PlotWaveletPeriodogram,PlotWaveletSpectrum
from .Morlet import Morlet,MorletFreq
from .GetWaveletObject import GetWaveletObject
| 41.833333 | 75 | 0.89243 | 22 | 251 | 10.181818 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079681 | 251 | 5 | 76 | 50.2 | 0.969697 | 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 |
7a4675a5449c059cd85812c74e4d05479088fafc | 125,378 | py | Python | test/python/sample/stdlib/test_heapq.py | esoma/woosh | 4cd58eb93c69c48040ff1e25159e48def54c3111 | [
"MIT"
] | null | null | null | test/python/sample/stdlib/test_heapq.py | esoma/woosh | 4cd58eb93c69c48040ff1e25159e48def54c3111 | [
"MIT"
] | null | null | null | test/python/sample/stdlib/test_heapq.py | esoma/woosh | 4cd58eb93c69c48040ff1e25159e48def54c3111 | [
"MIT"
] | null | null | null |
# this file was generated using test/python/sample/generate.py
# python
import io
import pathlib
# pytest
import pytest
# woosh
import woosh
def tokenize_file_like(source):
return list(woosh.tokenize(io.BytesIO(source)))
def tokenize_bytes(source):
return list(woosh.tokenize(source))
SAMPLE_DIR = pathlib.P... | 56.273788 | 5,055 | 0.625995 | 21,803 | 125,378 | 3.593726 | 0.060588 | 0.280649 | 0.420974 | 0.190597 | 0.691247 | 0.359178 | 0.125992 | 0.030783 | 0.02675 | 0.02453 | 0 | 0.196864 | 0.138453 | 125,378 | 2,227 | 5,056 | 56.299057 | 0.528509 | 0.000638 | 0 | 0.002708 | 1 | 0.152076 | 0.786235 | 0.319278 | 0 | 0 | 0 | 0 | 0.000451 | 1 | 0.001354 | false | 0.004964 | 0.006769 | 0.000903 | 0.009025 | 0.000451 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a8544c25af5defd11672d69c349dd01e2c0dc46 | 2,174 | py | Python | tests/use_cases/test_document_insert_use_case.py | harunpehlivan/Data-Engineering | 81ff7fdeff0ad8536c08dec9e0dc75b3aa5a6496 | [
"MIT"
] | 10 | 2018-05-20T08:15:03.000Z | 2020-08-17T23:52:18.000Z | tests/use_cases/test_document_insert_use_case.py | harunpehlivan/Data-Engineering | 81ff7fdeff0ad8536c08dec9e0dc75b3aa5a6496 | [
"MIT"
] | 1 | 2018-07-22T10:42:33.000Z | 2018-07-22T10:42:33.000Z | tests/use_cases/test_document_insert_use_case.py | harunpehlivan/Data-Engineering | 81ff7fdeff0ad8536c08dec9e0dc75b3aa5a6496 | [
"MIT"
] | 5 | 2018-05-20T08:15:06.000Z | 2020-04-09T15:15:44.000Z | import pytest
from unittest import mock
from keep_current_storage.domain.document import Document
from keep_current_storage.use_cases import request_objects as ro
from keep_current_storage.use_cases import document_use_cases as uc
from keep_current_storage.shared import response_object as res
def test_document_insert... | 37.482759 | 78 | 0.74287 | 276 | 2,174 | 5.496377 | 0.221014 | 0.083059 | 0.059987 | 0.083059 | 0.825972 | 0.808833 | 0.766645 | 0.719183 | 0.719183 | 0.719183 | 0 | 0.035359 | 0.167433 | 2,174 | 58 | 79 | 37.482759 | 0.802762 | 0 | 0 | 0.6 | 0 | 0 | 0.098851 | 0 | 0 | 0 | 0 | 0 | 0.16 | 1 | 0.06 | false | 0 | 0.12 | 0 | 0.18 | 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 |
7aaa93ae85c79d6d4b5c03b1997680ec9b6b3fd2 | 139 | py | Python | datasets/__init__.py | vWing7/VisRecSys | 9420180f6124cc5367b33e77c6c94c33a9d97867 | [
"MIT"
] | 21 | 2021-04-11T22:08:54.000Z | 2021-12-15T15:06:35.000Z | datasets/__init__.py | ialab-puc/VisualRecSys-Tutorial-ICDM2021 | 7672237fcb451d06c5f27ad110990f8ee4708c4b | [
"MIT"
] | 1 | 2021-08-23T22:22:33.000Z | 2021-08-23T23:23:24.000Z | datasets/__init__.py | ialab-puc/VisualRecSys-Tutorial-ICDM2021 | 7672237fcb451d06c5f27ad110990f8ee4708c4b | [
"MIT"
] | 5 | 2021-04-13T16:50:35.000Z | 2021-10-01T17:39:10.000Z | from .user_mode import UserModeDataset
from .user_mode_img import UserModeImgDataset
from .user_profile_mode import UserProfileModeDataset
| 34.75 | 53 | 0.892086 | 17 | 139 | 7 | 0.529412 | 0.201681 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086331 | 139 | 3 | 54 | 46.333333 | 0.937008 | 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 |
7ab2186de5c61b490500261c3919354caf5687ec | 43 | py | Python | test-old/launcher/test_launcher.py | PeihongYu/surreal | 2556bd9c362a53e0a94da914ba59b5d4621c4081 | [
"MIT"
] | 471 | 2018-10-29T07:11:54.000Z | 2022-03-31T11:56:00.000Z | test-old/launcher/test_launcher.py | PeihongYu/surreal | 2556bd9c362a53e0a94da914ba59b5d4621c4081 | [
"MIT"
] | 34 | 2018-10-30T12:02:56.000Z | 2019-05-22T07:57:51.000Z | test-old/launcher/test_launcher.py | PeihongYu/surreal | 2556bd9c362a53e0a94da914ba59b5d4621c4081 | [
"MIT"
] | 77 | 2018-10-30T00:51:52.000Z | 2022-03-01T08:26:35.000Z | from surreal.launch import LaunchSettings
| 14.333333 | 41 | 0.860465 | 5 | 43 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 42 | 21.5 | 0.973684 | 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 |
7ab66d1bc022dbb6c5dce55ef89e1de07ff2a1ca | 32 | py | Python | sample.py | andace/awesome-dummy-sample-files | d21490857c6f6f26325d87d185acf715b2bbd5f3 | [
"MIT"
] | null | null | null | sample.py | andace/awesome-dummy-sample-files | d21490857c6f6f26325d87d185acf715b2bbd5f3 | [
"MIT"
] | null | null | null | sample.py | andace/awesome-dummy-sample-files | d21490857c6f6f26325d87d185acf715b2bbd5f3 | [
"MIT"
] | null | null | null | print("added python,much code.") | 32 | 32 | 0.75 | 5 | 32 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 32 | 1 | 32 | 32 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
64e56a8490842992a1373c065710466c108e1df7 | 141 | py | Python | pySPACE/missions/nodes/feature_generation/__init__.py | pyspace/pyspace | 763e62c0e7fa7cfcb19ccee1a0333c4f7e68ae62 | [
"BSD-3-Clause"
] | 32 | 2015-02-20T09:03:09.000Z | 2022-02-25T22:32:52.000Z | pySPACE/missions/nodes/feature_generation/__init__.py | pyspace/pyspace | 763e62c0e7fa7cfcb19ccee1a0333c4f7e68ae62 | [
"BSD-3-Clause"
] | 5 | 2015-05-18T15:08:40.000Z | 2020-03-05T19:18:01.000Z | pySPACE/missions/nodes/feature_generation/__init__.py | pyspace/pyspace | 763e62c0e7fa7cfcb19ccee1a0333c4f7e68ae62 | [
"BSD-3-Clause"
] | 18 | 2015-09-28T07:16:38.000Z | 2021-01-20T13:52:19.000Z | """ Generate features from a :mod:`time series<pySPACE.resources.data_types.time_series>` (amplitudes or frequency spectrum for example) """
| 70.5 | 140 | 0.780142 | 19 | 141 | 5.684211 | 0.894737 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099291 | 141 | 1 | 141 | 141 | 0.850394 | 0.93617 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f1390795245ee9f13e7098964d2ce9927780d3c | 136 | py | Python | examples/python/gpu/tensors/tensor_device_cast_01.py | kant/ocean-tensor-package | fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d | [
"Apache-2.0"
] | 27 | 2018-08-16T21:32:49.000Z | 2021-11-30T10:31:08.000Z | examples/python/gpu/tensors/tensor_device_cast_01.py | kant/ocean-tensor-package | fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d | [
"Apache-2.0"
] | null | null | null | examples/python/gpu/tensors/tensor_device_cast_01.py | kant/ocean-tensor-package | fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d | [
"Apache-2.0"
] | 13 | 2018-08-17T17:33:16.000Z | 2021-11-30T10:31:09.000Z | import ocean
A = ocean.asTensor([1,2,3])
print(ocean.gpu[1](A))
print(ocean.gpu[1](A.storage))
print(ocean.gpu[0]([[1,2,3],[4,5,6.]]))
| 19.428571 | 39 | 0.625 | 29 | 136 | 2.931034 | 0.482759 | 0.352941 | 0.458824 | 0.329412 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094488 | 0.066176 | 136 | 6 | 40 | 22.666667 | 0.574803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8f2815bb6eee55d502f994581a296220b22cde09 | 119 | py | Python | ticketrelation/__init__.py | CaulyKan/TracTicketRelationPlugin | 59e0930e0fdb216901159f4a958b440d96f82c3b | [
"BSD-3-Clause"
] | null | null | null | ticketrelation/__init__.py | CaulyKan/TracTicketRelationPlugin | 59e0930e0fdb216901159f4a958b440d96f82c3b | [
"BSD-3-Clause"
] | null | null | null | ticketrelation/__init__.py | CaulyKan/TracTicketRelationPlugin | 59e0930e0fdb216901159f4a958b440d96f82c3b | [
"BSD-3-Clause"
] | null | null | null | from .api import *
from .xmlrpc import *
from .select_ticket import *
from .schedule import *
from .earn_value import * | 23.8 | 28 | 0.756303 | 17 | 119 | 5.176471 | 0.529412 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159664 | 119 | 5 | 29 | 23.8 | 0.88 | 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 |
56bf679ba4ac410bb80d71f43cee6bb79da19fff | 96 | py | Python | venv/lib/python3.8/site-packages/pyls_jsonrpc/dispatchers.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pyls_jsonrpc/dispatchers.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pyls_jsonrpc/dispatchers.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/d7/13/19/e7d971d2e06c8fd811aeff7a721ec4255b21e3df6f0382adf6de862480 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
56e71fcbeae2c245e9e37600e5532b7ab5f447a4 | 77 | py | Python | safe-rt/examples/wasm2wat.py | am009/pywasm | 344b9218cdf075fe00834aaf79bd292a4cfeccb2 | [
"MIT"
] | null | null | null | safe-rt/examples/wasm2wat.py | am009/pywasm | 344b9218cdf075fe00834aaf79bd292a4cfeccb2 | [
"MIT"
] | null | null | null | safe-rt/examples/wasm2wat.py | am009/pywasm | 344b9218cdf075fe00834aaf79bd292a4cfeccb2 | [
"MIT"
] | null | null | null |
import sys
import pywasm
pywasm.binary.wasm2wat(sys.argv[1], sys.argv[2])
| 11 | 48 | 0.74026 | 13 | 77 | 4.384615 | 0.615385 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0.116883 | 77 | 6 | 49 | 12.833333 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71433fe9396503decd8717468b94a89d9aad83c7 | 35,211 | py | Python | spotseeker_server/test/item/image_thumbnail.py | uw-it-aca/spotseeker_server | 1d8a5bf98b76fdcb807ed4cd32f939bb7e9aa66c | [
"Apache-2.0"
] | 5 | 2015-03-12T00:36:33.000Z | 2022-02-24T16:41:25.000Z | spotseeker_server/test/item/image_thumbnail.py | uw-it-aca/spotseeker_server | 1d8a5bf98b76fdcb807ed4cd32f939bb7e9aa66c | [
"Apache-2.0"
] | 133 | 2016-02-03T23:54:45.000Z | 2022-03-30T21:33:58.000Z | spotseeker_server/test/item/image_thumbnail.py | uw-it-aca/spotseeker_server | 1d8a5bf98b76fdcb807ed4cd32f939bb7e9aa66c | [
"Apache-2.0"
] | 6 | 2015-01-07T23:21:15.000Z | 2017-12-07T08:26:33.000Z | # Copyright 2021 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0
import shutil
import tempfile
try:
from cStringIO import StringIO as IOStream
except ModuleNotFoundError:
from io import BytesIO as IOStream
from django.test import TestCase
from django.conf import settings
from django.cor... | 34.656496 | 77 | 0.462043 | 3,603 | 35,211 | 4.43547 | 0.047738 | 0.130155 | 0.077717 | 0.039046 | 0.910519 | 0.906013 | 0.896252 | 0.890558 | 0.874914 | 0.844315 | 0 | 0.043134 | 0.437051 | 35,211 | 1,015 | 78 | 34.69064 | 0.763092 | 0.012297 | 0 | 0.619202 | 0 | 0 | 0.223082 | 0.019849 | 0 | 0 | 0 | 0 | 0.140237 | 1 | 0.009709 | false | 0 | 0.016181 | 0 | 0.028047 | 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 |
8547fd660d751c1ae50a17aebe665436dcd7e7fc | 39,227 | py | Python | run_definitions.py | lauri-neuvonen/BHM_Covid_Testing | 24b2023280f225112b5376e7a44f117856e5cda2 | [
"MIT"
] | null | null | null | run_definitions.py | lauri-neuvonen/BHM_Covid_Testing | 24b2023280f225112b5376e7a44f117856e5cda2 | [
"MIT"
] | null | null | null | run_definitions.py | lauri-neuvonen/BHM_Covid_Testing | 24b2023280f225112b5376e7a44f117856e5cda2 | [
"MIT"
] | null | null | null |
from pymoo.factory import get_termination
import numpy as np
from pymoo.factory import get_sampling, get_crossover, get_mutation
### DEFAULT VALUES ###
# NOTE! these names should be unique to allow easier import with from ... import *
### Epidemic model ###
ksi_base_default = 0
A_rel_default = 0.5
r_AP_default = ... | 33.384681 | 137 | 0.617483 | 4,770 | 39,227 | 4.638574 | 0.061845 | 0.132243 | 0.079906 | 0.08072 | 0.90875 | 0.886152 | 0.866899 | 0.859577 | 0.805749 | 0.799105 | 0 | 0.091413 | 0.240906 | 39,227 | 1,174 | 138 | 33.413118 | 0.651644 | 0.128865 | 0 | 0.64553 | 0 | 0 | 0.496777 | 0.348483 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00104 | false | 0 | 0.003119 | 0 | 0.005198 | 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 |
856a8033a7a30bee0b7d0873622db9cb17c4dd8f | 110 | py | Python | mdso/evaluate/__init__.py | artk2019/AISTAT_2019_107 | 31475dc9b54404a01e519111250377ed9bd85820 | [
"BSD-3-Clause"
] | null | null | null | mdso/evaluate/__init__.py | artk2019/AISTAT_2019_107 | 31475dc9b54404a01e519111250377ed9bd85820 | [
"BSD-3-Clause"
] | null | null | null | mdso/evaluate/__init__.py | artk2019/AISTAT_2019_107 | 31475dc9b54404a01e519111250377ed9bd85820 | [
"BSD-3-Clause"
] | null | null | null | from .assess_ordering import evaluate_ordering, inverse_perm
__all__ = ['evaluate_ordering', 'inverse_perm']
| 27.5 | 60 | 0.818182 | 13 | 110 | 6.230769 | 0.615385 | 0.395062 | 0.567901 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 110 | 3 | 61 | 36.666667 | 0.81 | 0 | 0 | 0 | 0 | 0 | 0.263636 | 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 |
858083ca52290938fe74c180e2b2a68445e2da64 | 146 | py | Python | ndmg/preproc/__init__.py | nrajamani3/ndmg | babbd50ab208c81509e09b60e05d3c5d220024e5 | [
"Apache-2.0"
] | null | null | null | ndmg/preproc/__init__.py | nrajamani3/ndmg | babbd50ab208c81509e09b60e05d3c5d220024e5 | [
"Apache-2.0"
] | null | null | null | ndmg/preproc/__init__.py | nrajamani3/ndmg | babbd50ab208c81509e09b60e05d3c5d220024e5 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# Prevent typing multilevel imports
from . import *
from .rescale_bvec import rescale_bvec as rescale_bvec
| 29.2 | 54 | 0.842466 | 20 | 146 | 5.75 | 0.55 | 0.286957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130137 | 146 | 4 | 55 | 36.5 | 0.905512 | 0.226027 | 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 |
8587306da775cdccfb3cf0665c65a39f74393e6c | 1,075 | py | Python | project/books/migrations/0016_auto_20200513_0014.py | wx-ast/price_books | 814ad5510494239f04b440f12341efa734201d52 | [
"MIT"
] | null | null | null | project/books/migrations/0016_auto_20200513_0014.py | wx-ast/price_books | 814ad5510494239f04b440f12341efa734201d52 | [
"MIT"
] | null | null | null | project/books/migrations/0016_auto_20200513_0014.py | wx-ast/price_books | 814ad5510494239f04b440f12341efa734201d52 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.6 on 2020-05-12 21:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('books', '0015_auto_20200512_2212'),
]
operations = [
migrations.AddField(
model_name='order',
name='task_id',
... | 31.617647 | 109 | 0.59814 | 121 | 1,075 | 5.157025 | 0.371901 | 0.115385 | 0.147436 | 0.173077 | 0.762821 | 0.762821 | 0.762821 | 0.634615 | 0.634615 | 0.634615 | 0 | 0.05304 | 0.28093 | 1,075 | 33 | 110 | 32.575758 | 0.754204 | 0.04186 | 0 | 0.740741 | 1 | 0 | 0.149805 | 0.022374 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
858dad82d2f97c8e40d827829429c30a0532c557 | 72 | py | Python | src/backend/app/api/__init__.py | aimanow/sft | dce87ffe395ae4bd08b47f28e07594e1889da819 | [
"Apache-2.0"
] | null | null | null | src/backend/app/api/__init__.py | aimanow/sft | dce87ffe395ae4bd08b47f28e07594e1889da819 | [
"Apache-2.0"
] | null | null | null | src/backend/app/api/__init__.py | aimanow/sft | dce87ffe395ae4bd08b47f28e07594e1889da819 | [
"Apache-2.0"
] | null | null | null | from . import public
from .namespaces import blueprint as api_blueprint
| 24 | 50 | 0.833333 | 10 | 72 | 5.9 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 72 | 2 | 51 | 36 | 0.951613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
85aa740cc4aa575442b7380dd8fba6528ba2e65e | 143 | py | Python | examples/data/wait.py | axju/dogsbody | 05a95b8925e0c560040727e603e4591fff1b9bc3 | [
"MIT"
] | null | null | null | examples/data/wait.py | axju/dogsbody | 05a95b8925e0c560040727e603e4591fff1b9bc3 | [
"MIT"
] | null | null | null | examples/data/wait.py | axju/dogsbody | 05a95b8925e0c560040727e603e4591fff1b9bc3 | [
"MIT"
] | null | null | null | from dogsbody import runtime
print('running task')
print('wait until source remove')
runtime.wait_until_source_remove()
print('now reboot?')
| 17.875 | 34 | 0.783217 | 20 | 143 | 5.45 | 0.65 | 0.165138 | 0.275229 | 0.385321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104895 | 143 | 7 | 35 | 20.428571 | 0.851563 | 0 | 0 | 0 | 0 | 0 | 0.328671 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.6 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
85b3d34b6eb71d61262765a1d072cba039dcdcf2 | 9,310 | py | Python | idf_bundler/idf_bundler.py | marcelosalles/equipe-r | 23dc8a351519536f9e887dcffe534c45f34f449b | [
"MIT"
] | null | null | null | idf_bundler/idf_bundler.py | marcelosalles/equipe-r | 23dc8a351519536f9e887dcffe534c45f34f449b | [
"MIT"
] | 1 | 2019-07-09T18:01:12.000Z | 2019-07-09T18:01:12.000Z | idf_bundler/idf_bundler.py | marcelosalles/equipe-r | 23dc8a351519536f9e887dcffe534c45f34f449b | [
"MIT"
] | 6 | 2019-04-08T18:31:29.000Z | 2019-11-06T22:17:14.000Z |
def idf_bundler(input_files, output_name):
# Bundles files with different idf objects to create one idf model.
# input_files - List of files with idf objects.
# output_name - The name of the resulted idf model.
print(output_name)
for i in range(len(input_files)):
input_files[i] = ... | 72.170543 | 164 | 0.676155 | 1,452 | 9,310 | 3.908402 | 0.046143 | 0.095154 | 0.1163 | 0.155066 | 0.855859 | 0.847577 | 0.847577 | 0.839119 | 0.817974 | 0.808458 | 0 | 0.014981 | 0.161117 | 9,310 | 128 | 165 | 72.734375 | 0.711652 | 0.577121 | 0 | 0.102041 | 0 | 0 | 0.111111 | 0.017649 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0.020408 | 0 | 0 | 0.020408 | 0.020408 | 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 |
a41389a923dcb2a3681c03ef55c6a51e9f016b0d | 116 | py | Python | bare_python/mod1.py | AndreiHondrari/python_exploration | cb4ac0b92ddc48c322201ba31cd6e7c5ee6af06d | [
"MIT"
] | 3 | 2019-05-04T12:19:09.000Z | 2019-08-30T07:12:31.000Z | bare_python/mod1.py | AndreiHondrari/python_exploration | cb4ac0b92ddc48c322201ba31cd6e7c5ee6af06d | [
"MIT"
] | null | null | null | bare_python/mod1.py | AndreiHondrari/python_exploration | cb4ac0b92ddc48c322201ba31cd6e7c5ee6af06d | [
"MIT"
] | null | null | null |
def something():
print("Something is performed...")
def otherthing():
print("Otherthing is performed...") | 16.571429 | 39 | 0.655172 | 12 | 116 | 6.333333 | 0.5 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 116 | 7 | 39 | 16.571429 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.443478 | 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 |
f1198374f04b5e360e24f837db6442adfdfd863a | 129 | py | Python | mimic3benchmark/__init__.py | vadim0x60/mimic3-benchmarks | 2f6fa1ff32ac8b75b9bb0c900fea14124a6976f2 | [
"MIT"
] | 580 | 2017-02-18T07:40:45.000Z | 2022-03-29T06:08:11.000Z | mimic3benchmark/__init__.py | vadim0x60/mimic3-benchmarks | 2f6fa1ff32ac8b75b9bb0c900fea14124a6976f2 | [
"MIT"
] | 111 | 2017-02-20T13:29:09.000Z | 2022-03-29T02:22:13.000Z | mimic3benchmark/__init__.py | vadim0x60/mimic3-benchmarks | 2f6fa1ff32ac8b75b9bb0c900fea14124a6976f2 | [
"MIT"
] | 279 | 2017-05-27T01:28:29.000Z | 2022-03-29T07:49:22.000Z | import mimic3benchmark.mimic3csv
import mimic3benchmark.subject
import mimic3benchmark.preprocessing
import mimic3benchmark.util
| 25.8 | 36 | 0.906977 | 12 | 129 | 9.75 | 0.5 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041322 | 0.062016 | 129 | 4 | 37 | 32.25 | 0.92562 | 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 |
f13c8c1a097beacdd6684e851bb2c3d0e9f600ce | 16,163 | py | Python | graphql_compiler/tests/schema_transformation_tests/test_rename_query.py | kensho-technologies/graphql-compiler | 4318443b7b2512a059f3616112bfc40bbf8eec06 | [
"Apache-2.0"
] | 521 | 2017-07-18T23:56:25.000Z | 2022-03-25T16:39:06.000Z | graphql_compiler/tests/schema_transformation_tests/test_rename_query.py | kensho-technologies/graphql-compiler | 4318443b7b2512a059f3616112bfc40bbf8eec06 | [
"Apache-2.0"
] | 740 | 2017-07-19T01:52:42.000Z | 2021-09-30T11:15:00.000Z | graphql_compiler/tests/schema_transformation_tests/test_rename_query.py | kensho-technologies/graphql-compiler | 4318443b7b2512a059f3616112bfc40bbf8eec06 | [
"Apache-2.0"
] | 56 | 2017-07-18T23:56:14.000Z | 2021-10-30T08:08:56.000Z | # Copyright 2019-present Kensho Technologies, LLC.
from textwrap import dedent
import unittest
from graphql import parse
from graphql.language.printer import print_ast
from ...exceptions import GraphQLValidationError
from ...schema_transformation.rename_query import rename_query
from ...schema_transformation.rename_s... | 28.759786 | 100 | 0.451958 | 1,257 | 16,163 | 5.442323 | 0.089101 | 0.12542 | 0.087414 | 0.070604 | 0.834819 | 0.794767 | 0.768163 | 0.744482 | 0.724455 | 0.713931 | 0 | 0.000449 | 0.448432 | 16,163 | 561 | 101 | 28.811052 | 0.76691 | 0.00297 | 0 | 0.485 | 0 | 0 | 0.023272 | 0 | 0 | 0 | 0 | 0 | 0.12 | 1 | 0.115 | false | 0 | 0.045 | 0 | 0.17 | 0.08 | 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 |
f1677597a3986609fcdfe8ca6748aa64ac6ff5fb | 33 | py | Python | model/anchor/__init__.py | DAMONYLY/General_detection | c6aa16a4369c12771c392abb297f1bb5fbb7f6de | [
"MIT"
] | 2 | 2022-01-09T02:45:20.000Z | 2022-01-09T03:04:10.000Z | model/anchor/__init__.py | DAMONYLY/General_detection | c6aa16a4369c12771c392abb297f1bb5fbb7f6de | [
"MIT"
] | 2 | 2021-12-03T06:27:49.000Z | 2022-01-05T09:42:58.000Z | model/anchor/__init__.py | DAMONYLY/General_detection | c6aa16a4369c12771c392abb297f1bb5fbb7f6de | [
"MIT"
] | null | null | null | from .build_anchor import Anchors | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1900ba7a8b639ab921debcfec0d506f02fc2c69 | 306 | py | Python | talosblockchain/virtualchain/virtualchain/impl_ref/__init__.py | chunchuan-wang/droplet-engine | 5c2dbac90aa3bde837ed4989ecd78235e5d9ef8e | [
"Apache-2.0"
] | 10 | 2020-10-14T14:22:20.000Z | 2022-03-16T11:33:14.000Z | talosblockchain/virtualchain/virtualchain/impl_ref/__init__.py | chunchuan-wang/droplet-engine | 5c2dbac90aa3bde837ed4989ecd78235e5d9ef8e | [
"Apache-2.0"
] | null | null | null | talosblockchain/virtualchain/virtualchain/impl_ref/__init__.py | chunchuan-wang/droplet-engine | 5c2dbac90aa3bde837ed4989ecd78235e5d9ef8e | [
"Apache-2.0"
] | 4 | 2020-08-30T12:40:40.000Z | 2021-08-03T15:27:12.000Z | # required callbacks
from reference import get_virtual_chain_name, get_virtual_chain_version, get_first_block_id, get_db_state, db_parse, db_check, db_commit, db_save, db_serialize
# optional
try:
from reference import get_op_processing_order
except:
def get_op_processing_order():
return None | 34 | 159 | 0.823529 | 47 | 306 | 4.893617 | 0.617021 | 0.113043 | 0.165217 | 0.191304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 306 | 9 | 160 | 34 | 0.861423 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
74adbb6f0fb064d830cb095b3893a143043c98a2 | 490 | py | Python | src/edge2vec/__init__.py | cthoyt/edge2vec | 64f129d4c6229d2c7377e3fdd609c1607673fcea | [
"BSD-3-Clause"
] | null | null | null | src/edge2vec/__init__.py | cthoyt/edge2vec | 64f129d4c6229d2c7377e3fdd609c1607673fcea | [
"BSD-3-Clause"
] | null | null | null | src/edge2vec/__init__.py | cthoyt/edge2vec | 64f129d4c6229d2c7377e3fdd609c1607673fcea | [
"BSD-3-Clause"
] | 1 | 2021-09-06T13:20:49.000Z | 2021-09-06T13:20:49.000Z | # -*- coding: utf-8 -*-
"""A major refactoring of ``edge2vec``.
A high level overview:
.. code-block:: python
from edge2vec import calculate_edge_transition_matrix, train, read_graph
graph = read_graph(...)
transition_matrix = calculate_edge_transition_matrix(graph=graph, ...)
word2vec = train(graph... | 27.222222 | 76 | 0.746939 | 60 | 490 | 5.85 | 0.416667 | 0.273504 | 0.196581 | 0.247863 | 0.19943 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011876 | 0.140816 | 490 | 17 | 77 | 28.823529 | 0.821853 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
74cd521c600cb82ee57be4f3f9e09740dde74821 | 305,671 | py | Python | altair/vegalite/v2/schema/core.py | hydrosquall/altair | ded897b0967a88a467828b1e2c133bd92862de23 | [
"BSD-3-Clause"
] | null | null | null | altair/vegalite/v2/schema/core.py | hydrosquall/altair | ded897b0967a88a467828b1e2c133bd92862de23 | [
"BSD-3-Clause"
] | null | null | null | altair/vegalite/v2/schema/core.py | hydrosquall/altair | ded897b0967a88a467828b1e2c133bd92862de23 | [
"BSD-3-Clause"
] | null | null | null | # The contents of this file are automatically written by
# tools/generate_schema_wrapper.py. Do not modify directly.
# 2018-02-24 22:43
from altair.utils.schemapi import SchemaBase, Undefined
import os
import json
def load_schema():
"""Load the json schema associated with this module's functions"""
directory... | 48.137165 | 118 | 0.623134 | 34,683 | 305,671 | 5.395295 | 0.041259 | 0.007535 | 0.0202 | 0.022894 | 0.785069 | 0.758375 | 0.740371 | 0.729951 | 0.710285 | 0.696246 | 0 | 0.002891 | 0.28264 | 305,671 | 6,349 | 119 | 48.144747 | 0.850358 | 0.63587 | 0 | 0.452459 | 1 | 0 | 0.056781 | 0.046996 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108852 | false | 0 | 0.001967 | 0 | 0.436066 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
74d0aeee97cfbf35c64258a4504022dcf625fb85 | 223 | py | Python | afpy/string.py | fordaj/afpy | 4fca208a186d276a28e7911210cedb02033237b0 | [
"MIT"
] | null | null | null | afpy/string.py | fordaj/afpy | 4fca208a186d276a28e7911210cedb02033237b0 | [
"MIT"
] | null | null | null | afpy/string.py | fordaj/afpy | 4fca208a186d276a28e7911210cedb02033237b0 | [
"MIT"
] | null | null | null | class String:
def __init__(self):
pass
def extract_between(self, input_string : str, character : str) -> str:
return input_string[input_string.find(character)+1 : input_string.rfind(character)] | 37.166667 | 91 | 0.681614 | 28 | 223 | 5.107143 | 0.535714 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.215247 | 223 | 6 | 91 | 37.166667 | 0.811429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
74dcce152de0500c2c54073e0c33b0f139a117f2 | 29 | py | Python | tt/__init__.py | nijanthanh/toggl-tartan | ee117e1ec8b8836572075a8c6823abaf85cabe49 | [
"MIT"
] | 3 | 2018-04-02T06:52:22.000Z | 2018-08-19T07:52:53.000Z | tt/__init__.py | nijanthanh/toggl-tartan | ee117e1ec8b8836572075a8c6823abaf85cabe49 | [
"MIT"
] | 10 | 2018-03-19T04:16:11.000Z | 2018-03-19T13:13:32.000Z | tt/__init__.py | nijanthanh/toggl-tartan | ee117e1ec8b8836572075a8c6823abaf85cabe49 | [
"MIT"
] | null | null | null | from .toggltartan import app
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d0b727a7d79defa7996100c6373f560c851d2e4 | 129 | py | Python | app/hello.py | mselgamal/using_git_workflow | 0d48719c9ab047f5b618f7b245effc3fc0fe2556 | [
"MIT"
] | null | null | null | app/hello.py | mselgamal/using_git_workflow | 0d48719c9ab047f5b618f7b245effc3fc0fe2556 | [
"MIT"
] | 2 | 2021-06-23T20:10:14.000Z | 2021-06-23T20:19:51.000Z | app/hello.py | mselgamal/using_git_workflow | 0d48719c9ab047f5b618f7b245effc3fc0fe2556 | [
"MIT"
] | null | null | null | class HelloWorld:
def __init__(self) -> None:
pass
def __repr__(self) -> str:
return "Hello World Class" | 21.5 | 34 | 0.596899 | 15 | 129 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302326 | 129 | 6 | 34 | 21.5 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.130769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
74398e4bc2690a03db1a529da28ffc2d06beb1bc | 473 | py | Python | nirspec_pipe_testing_tool/calwebb_spec2_pytests/auxiliary_code/__init__.py | tnking97/nirspec_pipe_testing_tool | ae46d0976ca8cbba4b75e13138f9054570c8555b | [
"BSD-3-Clause"
] | null | null | null | nirspec_pipe_testing_tool/calwebb_spec2_pytests/auxiliary_code/__init__.py | tnking97/nirspec_pipe_testing_tool | ae46d0976ca8cbba4b75e13138f9054570c8555b | [
"BSD-3-Clause"
] | null | null | null | nirspec_pipe_testing_tool/calwebb_spec2_pytests/auxiliary_code/__init__.py | tnking97/nirspec_pipe_testing_tool | ae46d0976ca8cbba4b75e13138f9054570c8555b | [
"BSD-3-Clause"
] | null | null | null | from . import auxiliary_functions
from . import barshadow_testing
from . import compare_wcs_fs
from . import compare_wcs_ifu
from . import compare_wcs_mos
from . import create_metafile
from . import flattest_fs
from . import flattest_ifu
from . import flattest_mos
from . import reffile_test
from . import pathloss_fs_ps... | 27.823529 | 33 | 0.830867 | 73 | 473 | 5.041096 | 0.260274 | 0.434783 | 0.293478 | 0.163043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135307 | 473 | 16 | 34 | 29.5625 | 0.899756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
747d20217305be8e830d03c85740ccbc7723f2a4 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/f2py/diagnose.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/f2py/diagnose.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/f2py/diagnose.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/5b/9f/71/72b1957fed5e77d1644200b1816d1df5ada510d6b11d4a58540676c34d | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
74821faf76d722f16f8794dfa5737fbff2b48563 | 21 | py | Python | tracker/__init__.py | DominikZabron/tracker | d26b444428682de3e9c918418b7186097d39db17 | [
"MIT"
] | null | null | null | tracker/__init__.py | DominikZabron/tracker | d26b444428682de3e9c918418b7186097d39db17 | [
"MIT"
] | null | null | null | tracker/__init__.py | DominikZabron/tracker | d26b444428682de3e9c918418b7186097d39db17 | [
"MIT"
] | null | null | null | from urls import app
| 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 |
777dae72a2c39b40699e6ff05b92c3ae2364eb22 | 16,525 | py | Python | test/test_nedelec.py | FEniCS/libtab | 653b783d90be2501e03813cad0ce572a679bf46a | [
"MIT"
] | 3 | 2020-11-19T19:17:06.000Z | 2020-12-04T11:00:26.000Z | test/test_nedelec.py | FEniCS/libtab | 653b783d90be2501e03813cad0ce572a679bf46a | [
"MIT"
] | 33 | 2020-11-08T18:55:27.000Z | 2020-12-14T10:08:19.000Z | test/test_nedelec.py | FEniCS/libtab | 653b783d90be2501e03813cad0ce572a679bf46a | [
"MIT"
] | 1 | 2020-11-23T19:40:31.000Z | 2020-11-23T19:40:31.000Z | # Copyright (c) 2020 Chris Richardson & Matthew Scroggs
# FEniCS Project
# SPDX-License-Identifier: MIT
import basix
import numpy
import pytest
import sympy
def sympy_nedelec(celltype, n):
# These basis functions were computed using symfem. They can be recomputed
# by running (eg):
# import symfem
... | 90.796703 | 447 | 0.415371 | 4,126 | 16,525 | 1.660204 | 0.03078 | 0.072409 | 0.034599 | 0.025401 | 0.871679 | 0.836496 | 0.744088 | 0.679124 | 0.617664 | 0.526569 | 0 | 0.27492 | 0.282421 | 16,525 | 181 | 448 | 91.298343 | 0.302749 | 0.046959 | 0 | 0.245283 | 0 | 0 | 0.001274 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 1 | 0.018868 | false | 0 | 0.025157 | 0 | 0.081761 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77ad2563dafd490a30f3a6f898c74d43cf02f323 | 29 | py | Python | auth/__init__.py | sanjeevkumar12/flask-app-apispecs | c3ab260e2dd533f647224337fcbab6e8e22dba5b | [
"MIT"
] | null | null | null | auth/__init__.py | sanjeevkumar12/flask-app-apispecs | c3ab260e2dd533f647224337fcbab6e8e22dba5b | [
"MIT"
] | null | null | null | auth/__init__.py | sanjeevkumar12/flask-app-apispecs | c3ab260e2dd533f647224337fcbab6e8e22dba5b | [
"MIT"
] | null | null | null | from .signals import events
| 9.666667 | 27 | 0.793103 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 2 | 28 | 14.5 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77c2bebab3c64abd45430326d3e204a5d0e35135 | 132 | py | Python | edabit/sum_of_missing_numbers/solution_sum_of_missing_numbers.py | aleattene/python-codewars-challenges | 86cfed8179193780763a0e36ef2f1ea4729a992f | [
"MIT"
] | 1 | 2021-12-16T16:31:11.000Z | 2021-12-16T16:31:11.000Z | edabit/sum_of_missing_numbers/solution_sum_of_missing_numbers.py | aleattene/python-codewars-challenges | 86cfed8179193780763a0e36ef2f1ea4729a992f | [
"MIT"
] | 2 | 2022-01-09T22:12:53.000Z | 2022-01-13T10:34:52.000Z | edabit/sum_of_missing_numbers/solution_sum_of_missing_numbers.py | aleattene/python-codewars-challenges | 86cfed8179193780763a0e36ef2f1ea4729a992f | [
"MIT"
] | 1 | 2022-03-10T05:17:10.000Z | 2022-03-10T05:17:10.000Z |
def sum_missing_numbers(values_lst):
return sum([x for x in range(min(values_lst), max(values_lst) + 1)]) - sum(values_lst)
| 18.857143 | 90 | 0.704545 | 23 | 132 | 3.782609 | 0.608696 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.159091 | 132 | 6 | 91 | 22 | 0.774775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7ad9de5e54c76d5d98a54d4d8b1a4badcd1e6042 | 48,832 | py | Python | Code/6EvalResults.py | peiyong-addwater/COMP90049_Knowledge_Technology_Project_1 | a5aed9204943ad215a5b9cc7d171f71535eb7b7a | [
"MIT"
] | null | null | null | Code/6EvalResults.py | peiyong-addwater/COMP90049_Knowledge_Technology_Project_1 | a5aed9204943ad215a5b9cc7d171f71535eb7b7a | [
"MIT"
] | null | null | null | Code/6EvalResults.py | peiyong-addwater/COMP90049_Knowledge_Technology_Project_1 | a5aed9204943ad215a5b9cc7d171f71535eb7b7a | [
"MIT"
] | null | null | null | import json
import os
os.chdir("/home/peiyongw/Research/KT_Project1/COMP90049_Knowledge_Technology_Project_1/")
CWD = os.getcwd()
print("Current working directory: ", CWD)
OUTPUT_DIR = CWD + "/Code_Output/"
"""
Load results
"""
a = "distance_matching_result.json"
b = "soundex_matching_result.json"
c = "distance_match... | 67.076923 | 335 | 0.621662 | 7,003 | 48,832 | 4.196916 | 0.017992 | 0.068048 | 0.095267 | 0.122486 | 0.952673 | 0.943486 | 0.943486 | 0.939471 | 0.931748 | 0.923888 | 0 | 0.017211 | 0.259912 | 48,832 | 727 | 336 | 67.169188 | 0.796043 | 0.016157 | 0 | 0.692901 | 0 | 0 | 0.451737 | 0.004835 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003086 | 0 | 0.003086 | 0.007716 | 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 |
bb141ba7992b935ded4e4f16728612436de71d07 | 90 | py | Python | app/__init__.py | sckasturi/status | ac51122aa4edc38253da5edc54760b0bc75f144d | [
"MIT"
] | null | null | null | app/__init__.py | sckasturi/status | ac51122aa4edc38253da5edc54760b0bc75f144d | [
"MIT"
] | null | null | null | app/__init__.py | sckasturi/status | ac51122aa4edc38253da5edc54760b0bc75f144d | [
"MIT"
] | null | null | null | from flask import Flask
app = Flask(__name__)
from app import status
from app import api
| 15 | 23 | 0.788889 | 15 | 90 | 4.466667 | 0.466667 | 0.208955 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 5 | 24 | 18 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
bb30574a27b3342ebea44a12b9a2f18a04c99f85 | 113 | py | Python | zdesk/__init__.py | Booksy/zdesk | 4f789bcfe85f724e654bd0c3b2b339b73509c773 | [
"MIT"
] | 89 | 2015-01-05T18:51:23.000Z | 2022-02-09T19:16:06.000Z | zdesk/__init__.py | TimBest/zdesk | 9f558923e9fa9504cff2173e272f580ee308227d | [
"MIT"
] | 56 | 2015-01-09T19:25:20.000Z | 2022-02-01T17:07:21.000Z | zdesk/__init__.py | TimBest/zdesk | 9f558923e9fa9504cff2173e272f580ee308227d | [
"MIT"
] | 87 | 2015-01-08T21:15:07.000Z | 2022-03-31T22:15:19.000Z | from .zdesk import Zendesk, get_id_from_url
from .zdesk import ZendeskError, AuthenticationError, RateLimitError
| 37.666667 | 68 | 0.858407 | 14 | 113 | 6.714286 | 0.714286 | 0.191489 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 113 | 2 | 69 | 56.5 | 0.921569 | 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 |
bb588b48c82943c85763f0393ae7771fba77248f | 74 | py | Python | netforce_sale/netforce_sale/migrations/__init__.py | nfco/netforce | 35252eecd0a6633ab9d82162e9e3ff57d4da029a | [
"MIT"
] | 27 | 2015-09-30T23:53:30.000Z | 2021-06-07T04:56:25.000Z | netforce_sale/netforce_sale/migrations/__init__.py | nfco/netforce | 35252eecd0a6633ab9d82162e9e3ff57d4da029a | [
"MIT"
] | 191 | 2015-10-08T11:46:30.000Z | 2019-11-14T02:24:36.000Z | netforce_sale/netforce_sale/migrations/__init__.py | nfco/netforce | 35252eecd0a6633ab9d82162e9e3ff57d4da029a | [
"MIT"
] | 32 | 2015-10-01T03:59:43.000Z | 2022-01-13T07:31:05.000Z | from . import sale_currency
from . import pricelist
from . import multico
| 18.5 | 27 | 0.797297 | 10 | 74 | 5.8 | 0.6 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 28 | 24.666667 | 0.935484 | 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 |
2492bf079ced127cf49fe848ab6e3dc44ef1e70a | 3,070 | py | Python | aidApp/models.py | sophia-velasquez/Medical-Aid-Group2-BE | 7f462dfc03a5f264eed2ce5055debf0609cfb496 | [
"MIT"
] | null | null | null | aidApp/models.py | sophia-velasquez/Medical-Aid-Group2-BE | 7f462dfc03a5f264eed2ce5055debf0609cfb496 | [
"MIT"
] | 4 | 2021-08-08T06:57:53.000Z | 2021-08-20T07:26:03.000Z | aidApp/models.py | sophia-velasquez/Medical-Aid-Group2-BE | 7f462dfc03a5f264eed2ce5055debf0609cfb496 | [
"MIT"
] | 10 | 2021-07-14T11:23:21.000Z | 2021-08-11T21:53:21.000Z | from django.db import models
class Doctors(models.Model):
first_name = models.CharField(max_length=50)
last_name= models.CharField(max_length=50)
email = models.CharField(max_length=50)
password = models.CharField(max_length=50)
clinic = models.CharField(max_length=50)
pharmacy = models.CharFiel... | 37.901235 | 87 | 0.743648 | 410 | 3,070 | 5.27561 | 0.143902 | 0.208044 | 0.249653 | 0.332871 | 0.803514 | 0.67129 | 0.618123 | 0.572353 | 0.527046 | 0.527046 | 0 | 0.024691 | 0.1557 | 3,070 | 81 | 88 | 37.901235 | 0.809799 | 0.127362 | 0 | 0.431034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12069 | false | 0.034483 | 0.017241 | 0.12069 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
701efcd6765faa53e03cb5bc209d1dc0abfeb91d | 202 | py | Python | DQMOffline/L1Trigger/python/L1TEmulatorMonitorOffline_cff.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | DQMOffline/L1Trigger/python/L1TEmulatorMonitorOffline_cff.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | DQMOffline/L1Trigger/python/L1TEmulatorMonitorOffline_cff.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | import FWCore.ParameterSet.Config as cms
# adapt the L1TEmulatorMonitor_cff configuration to offline DQM
# DQM online L1 Trigger emulator modules
from DQM.L1TMonitor.L1TEmulatorMonitor_cff import *
| 25.25 | 63 | 0.831683 | 26 | 202 | 6.384615 | 0.807692 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022857 | 0.133663 | 202 | 7 | 64 | 28.857143 | 0.925714 | 0.49505 | 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 |
709195d3371e6a923fa514ab06a35468cf0eaa11 | 11,059 | py | Python | pysal/lib/cg/shapely_ext.py | ocefpaf/pysal | 7e397bdb4c22d4e2442b4ee88bcd691d2421651d | [
"BSD-3-Clause"
] | 1 | 2021-08-16T02:47:35.000Z | 2021-08-16T02:47:35.000Z | pysal/lib/cg/shapely_ext.py | ocefpaf/pysal | 7e397bdb4c22d4e2442b4ee88bcd691d2421651d | [
"BSD-3-Clause"
] | null | null | null | pysal/lib/cg/shapely_ext.py | ocefpaf/pysal | 7e397bdb4c22d4e2442b4ee88bcd691d2421651d | [
"BSD-3-Clause"
] | 1 | 2016-11-11T19:20:51.000Z | 2016-11-11T19:20:51.000Z | from shapely import geometry as geom, ops as shops, __version__ as shapely_version
_basegeom = geom.base.BaseGeometry
from .shapes import asShape
__all__ = ["to_wkb", "to_wkt", "area", "distance", "length", "boundary", "bounds", "centroid", "representative_point", "convex_hull", "envelope", "buffer", "simplify", "diffe... | 41.732075 | 481 | 0.696537 | 1,646 | 11,059 | 4.472053 | 0.076549 | 0.029887 | 0.088032 | 0.190735 | 0.751392 | 0.739709 | 0.731287 | 0.731287 | 0.731287 | 0.731287 | 0 | 0.004922 | 0.173343 | 11,059 | 264 | 482 | 41.890152 | 0.800263 | 0.033366 | 0 | 0.602871 | 0 | 0 | 0.2874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.177033 | false | 0 | 0.009569 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
709aabc8084c769c0ab53dbf6c6d6da21ae993b7 | 178 | py | Python | corehq/apps/cloudcare/tests/test_doc_tests.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 471 | 2015-01-10T02:55:01.000Z | 2022-03-29T18:07:18.000Z | corehq/apps/cloudcare/tests/test_doc_tests.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 14,354 | 2015-01-01T07:38:23.000Z | 2022-03-31T20:55:14.000Z | corehq/apps/cloudcare/tests/test_doc_tests.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 175 | 2015-01-06T07:16:47.000Z | 2022-03-29T13:27:01.000Z | import doctest
import corehq.apps.cloudcare.views
def test_view_doctests():
results = doctest.testmod(corehq.apps.cloudcare.views)
assert results.failed == 0, results
| 19.777778 | 58 | 0.764045 | 23 | 178 | 5.826087 | 0.652174 | 0.149254 | 0.283582 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.140449 | 178 | 8 | 59 | 22.25 | 0.869281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
562313625dd52c1ea6bbb9fcf9f5edfefba3d6cf | 4,691 | py | Python | tests/features/environment.py | cscomic/behave_project_template | 9268a1bc9ab076825a10292bd2997b576f5d1b39 | [
"MIT"
] | null | null | null | tests/features/environment.py | cscomic/behave_project_template | 9268a1bc9ab076825a10292bd2997b576f5d1b39 | [
"MIT"
] | null | null | null | tests/features/environment.py | cscomic/behave_project_template | 9268a1bc9ab076825a10292bd2997b576f5d1b39 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
@File : environment.py
@Time : 2022/01/30 17:59:01
@Author : Tim Chen
@Version : 0.0.1
@Contact : cscomicanimation@gmail.com
@License : MIT
@Desc : All behave running hook functions, sort by running sequence
"""
# here put the import lib
from ... | 28.259036 | 117 | 0.662119 | 621 | 4,691 | 4.983897 | 0.202899 | 0.042649 | 0.054927 | 0.074313 | 0.841357 | 0.81357 | 0.81357 | 0.695961 | 0.695961 | 0.695961 | 0 | 0.005152 | 0.255169 | 4,691 | 165 | 118 | 28.430303 | 0.880653 | 0.70113 | 0 | 0.5625 | 0 | 0 | 0.022039 | 0.022039 | 0 | 0 | 0 | 0.006061 | 0 | 1 | 0.3125 | false | 0.3125 | 0.09375 | 0 | 0.40625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3b160c40959490268d99db046756bde00771f795 | 93 | py | Python | kea/axi_lite_registers/__init__.py | SmartAcoustics/Kea | 5790f18dafccfc01fe9dbe98de5bb1a5ce584c56 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 3 | 2020-02-28T13:03:59.000Z | 2020-09-20T06:33:04.000Z | kea/axi_lite_registers/__init__.py | SmartAcoustics/Kea | 5790f18dafccfc01fe9dbe98de5bb1a5ce584c56 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | kea/axi_lite_registers/__init__.py | SmartAcoustics/Kea | 5790f18dafccfc01fe9dbe98de5bb1a5ce584c56 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 3 | 2018-12-17T16:33:08.000Z | 2020-01-21T14:10:25.000Z | from ._axi_lite_handler import axi_lite_handler
from ._registers import Registers, Bitfields
| 31 | 47 | 0.870968 | 13 | 93 | 5.769231 | 0.538462 | 0.186667 | 0.373333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 93 | 2 | 48 | 46.5 | 0.892857 | 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 |
3b6833cfd42759d4655c2568ec6d0fec3f6a3adb | 9,889 | py | Python | GradCAMUtils.py | vineet1992/CXR-Age | d1547e6c08afdfda37b27e4b4493747af6c1dabc | [
"MIT"
] | 4 | 2021-03-29T08:15:00.000Z | 2021-10-29T21:08:02.000Z | GradCAMUtils.py | circ-ml/CXR-Age | d1547e6c08afdfda37b27e4b4493747af6c1dabc | [
"MIT"
] | null | null | null | GradCAMUtils.py | circ-ml/CXR-Age | d1547e6c08afdfda37b27e4b4493747af6c1dabc | [
"MIT"
] | null | null | null | import torch
from fastai.vision import *
###Enables Grad-CAM to be used for an Inception model, registers the hook on branch 3 before ReLU
class InceptionCAM(nn.Module):
def __init__(self,mdl,use_relu=True):
super(InceptionCAM, self).__init__()
# load up the model
self.mdl = mdl
... | 32.853821 | 151 | 0.596521 | 1,298 | 9,889 | 4.419877 | 0.156394 | 0.031724 | 0.0251 | 0.026669 | 0.835105 | 0.818895 | 0.773401 | 0.762594 | 0.741328 | 0.729475 | 0 | 0.043746 | 0.292648 | 9,889 | 300 | 152 | 32.963333 | 0.776412 | 0.309232 | 0 | 0.669231 | 0 | 0 | 0.003567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123077 | false | 0 | 0.061538 | 0.023077 | 0.238462 | 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 |
3b76a8f11da3f5c831ab627b21f92a1b51af8577 | 88 | py | Python | site-root/save_loadout.py | TED-996/krait-twostones | 51b27793b9cd536d680fb9a6785c57473d35cac1 | [
"MIT"
] | null | null | null | site-root/save_loadout.py | TED-996/krait-twostones | 51b27793b9cd536d680fb9a6785c57473d35cac1 | [
"MIT"
] | null | null | null | site-root/save_loadout.py | TED-996/krait-twostones | 51b27793b9cd536d680fb9a6785c57473d35cac1 | [
"MIT"
] | null | null | null | from ctrl import save_loadout
import krait
krait.response = save_loadout.get_response() | 22 | 44 | 0.840909 | 13 | 88 | 5.461538 | 0.615385 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 88 | 4 | 44 | 22 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b7902093046db94725b0b9488f23b9fb6926efc | 943 | py | Python | personnel/admin.py | BridgesLab/Lab-Website | d6f6c9c068bbf668c253e5943d9514947023e66d | [
"CC0-1.0",
"MIT"
] | 6 | 2015-08-31T16:55:16.000Z | 2022-02-10T08:23:07.000Z | personnel/admin.py | BridgesLab/Lab-Website | d6f6c9c068bbf668c253e5943d9514947023e66d | [
"CC0-1.0",
"MIT"
] | 30 | 2015-03-22T15:49:31.000Z | 2020-05-25T23:59:37.000Z | personnel/admin.py | BridgesLab/Lab-Website | d6f6c9c068bbf668c253e5943d9514947023e66d | [
"CC0-1.0",
"MIT"
] | 6 | 2016-09-07T08:25:21.000Z | 2020-03-27T10:24:57.000Z | '''This package sets up the admin interface for the :mod:`personnel` app.'''
from django.contrib import admin
from personnel.models import Role, JobType, Degree, Award, Organization, Address, Person, JobPosting
class AddressAdmin(admin.ModelAdmin):
pass
admin.site.register(Address, AddressAdmin)
class RoleAdmin(a... | 94.3 | 630 | 0.788971 | 109 | 943 | 6.825688 | 0.33945 | 0.16129 | 0.204301 | 0.258065 | 0.387097 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113468 | 943 | 9 | 631 | 104.777778 | 0.889952 | 0.074231 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.307692 | 0.076923 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8e6abb6b9323e5f57420b20a04bde4c11b36b547 | 11,482 | py | Python | hypha/apply/api/v1/screening/tests/test_views.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 16 | 2020-01-24T11:52:46.000Z | 2021-02-02T22:21:04.000Z | hypha/apply/api/v1/screening/tests/test_views.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 538 | 2020-01-24T08:27:13.000Z | 2021-04-05T07:15:01.000Z | hypha/apply/api/v1/screening/tests/test_views.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 17 | 2020-02-07T14:55:54.000Z | 2021-04-04T19:32:38.000Z | from django.test import override_settings
from django.urls import reverse_lazy
from model_bakery import baker
from rest_framework import status
from rest_framework.test import APITestCase
from hypha.apply.funds.models import ScreeningStatus
from hypha.apply.funds.tests.factories.models import ApplicationSubmissionFact... | 46.298387 | 161 | 0.699791 | 1,311 | 11,482 | 5.861937 | 0.086957 | 0.101496 | 0.110735 | 0.092778 | 0.847495 | 0.832661 | 0.815224 | 0.790111 | 0.765647 | 0.723097 | 0 | 0.007685 | 0.195349 | 11,482 | 247 | 162 | 46.48583 | 0.824115 | 0 | 0 | 0.64574 | 0 | 0 | 0.075684 | 0.043285 | 0 | 0 | 0 | 0 | 0.183857 | 1 | 0.089686 | false | 0 | 0.035874 | 0.004484 | 0.147982 | 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 |
8e9be9a541cd90c45719d9d03eca35e43f42c6b7 | 32 | py | Python | old/app/api/v1/__init__.py | CoCongV/scheduler-service | c16ea8751b7259abe1b6bfa2e8e706aa2ea7e74a | [
"BSD-2-Clause"
] | 2 | 2019-11-18T14:25:04.000Z | 2020-08-01T13:16:40.000Z | old/app/api/v1/__init__.py | CoCongV/scheduler-service | c16ea8751b7259abe1b6bfa2e8e706aa2ea7e74a | [
"BSD-2-Clause"
] | null | null | null | old/app/api/v1/__init__.py | CoCongV/scheduler-service | c16ea8751b7259abe1b6bfa2e8e706aa2ea7e74a | [
"BSD-2-Clause"
] | null | null | null | from .users import UserResource
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
8edbbeb135a02ee1756a91432b7c8c1c5db5e178 | 124 | py | Python | src/unicode_strings.py | mignonnesaurus/guacamole-snippets | 24045e3f8a298fb4a97163209cb7710370645043 | [
"MIT"
] | null | null | null | src/unicode_strings.py | mignonnesaurus/guacamole-snippets | 24045e3f8a298fb4a97163209cb7710370645043 | [
"MIT"
] | null | null | null | src/unicode_strings.py | mignonnesaurus/guacamole-snippets | 24045e3f8a298fb4a97163209cb7710370645043 | [
"MIT"
] | null | null | null | def equal_ignores_case(str1, str2):
return str1.casefold() == str2.casefold()
# return str1.lower() == str2.lower()
| 31 | 45 | 0.669355 | 16 | 124 | 5.0625 | 0.5625 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0.16129 | 124 | 3 | 46 | 41.333333 | 0.721154 | 0.282258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d903f34a850f82f893850fb8a054a30ee17a2724 | 1,807 | py | Python | tests/test_sample_2.py | zxytim/object_detection_metrics | eafccd5f3b9ec6b98adaa23ab453bbe879cc74c1 | [
"BSD-3-Clause"
] | 12 | 2020-09-18T06:48:09.000Z | 2022-03-08T13:21:32.000Z | tests/test_sample_2.py | yfpeng/object_detection_metrics | d8af1204b7506136da1add66c9308be603e399e3 | [
"BSD-3-Clause"
] | null | null | null | tests/test_sample_2.py | yfpeng/object_detection_metrics | d8af1204b7506136da1add66c9308be603e399e3 | [
"BSD-3-Clause"
] | 3 | 2020-10-19T15:04:24.000Z | 2021-04-23T09:09:57.000Z | import json
from pathlib import Path
import numpy as np
from podm.podm import get_pascal_voc_metrics, MetricPerClass
from tests.utils import load_data, assert_results, load_data_coco
def test_sample2():
dir = Path('tests/sample_2')
gt_BoundingBoxes = load_data(dir / 'groundtruths.json')
pd_BoundingBoxes... | 36.14 | 87 | 0.714444 | 236 | 1,807 | 5.131356 | 0.216102 | 0.11891 | 0.231214 | 0.312139 | 0.721718 | 0.721718 | 0.721718 | 0.665566 | 0.665566 | 0.665566 | 0 | 0.034137 | 0.173215 | 1,807 | 50 | 88 | 36.14 | 0.776439 | 0 | 0 | 0.648649 | 0 | 0 | 0.136062 | 0.012168 | 0 | 0 | 0 | 0 | 0.459459 | 1 | 0.054054 | false | 0 | 0.135135 | 0 | 0.189189 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 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 |
d931ebcf2567acfaf18653f7b26079b01a068ac6 | 146 | py | Python | import-idyll.py | mathisonian/idyll-flask | 58cd64269503cf6f84aece7f76883d213b7fb0e7 | [
"MIT"
] | 1 | 2018-08-28T23:40:56.000Z | 2018-08-28T23:40:56.000Z | import-idyll.py | mathisonian/idyll-flask | 58cd64269503cf6f84aece7f76883d213b7fb0e7 | [
"MIT"
] | null | null | null | import-idyll.py | mathisonian/idyll-flask | 58cd64269503cf6f84aece7f76883d213b7fb0e7 | [
"MIT"
] | 1 | 2018-08-28T23:49:31.000Z | 2018-08-28T23:49:31.000Z | import shutil
src_path = "../idyll-embed/dist/idyll-embed.min.js"
dest_path = "static/js/idyll-embed.min.js"
shutil.copyfile(src_path,dest_path) | 24.333333 | 51 | 0.767123 | 25 | 146 | 4.32 | 0.48 | 0.277778 | 0.240741 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 146 | 6 | 52 | 24.333333 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.44898 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
793f2756b9c7d0b9d69bd4021c55367ec6d1eb26 | 12,514 | py | Python | lumin/nn/metrics/reg_eval.py | matthewfeickert/lumin | 00c5f9f3d8a630d780ce09017ff13eb27485534c | [
"Apache-2.0"
] | null | null | null | lumin/nn/metrics/reg_eval.py | matthewfeickert/lumin | 00c5f9f3d8a630d780ce09017ff13eb27485534c | [
"Apache-2.0"
] | null | null | null | lumin/nn/metrics/reg_eval.py | matthewfeickert/lumin | 00c5f9f3d8a630d780ce09017ff13eb27485534c | [
"Apache-2.0"
] | null | null | null | import numpy as np
from typing import Optional, Callable
import pandas as pd
from statsmodels.stats.weightstats import DescrStatsW
from fastcore.all import store_attr
from ...utils.statistics import bootstrap_stats
from .eval_metric import EvalMetric, OldEvalMetric
from ..data.fold_yielder import FoldYielder
__all__ ... | 47.222642 | 154 | 0.644398 | 1,622 | 12,514 | 4.807645 | 0.132552 | 0.044627 | 0.015389 | 0.018466 | 0.832136 | 0.80931 | 0.780713 | 0.764427 | 0.755707 | 0.740831 | 0 | 0.00655 | 0.26794 | 12,514 | 264 | 155 | 47.401515 | 0.844668 | 0.566645 | 0 | 0.25 | 0 | 0 | 0.065296 | 0 | 0 | 0 | 0 | 0.007576 | 0 | 1 | 0.119048 | false | 0 | 0.095238 | 0 | 0.380952 | 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 |
79566a703d58b553f1a7d29ad25bf2981e0ca4c9 | 18 | py | Python | app/models/transmart.py | thehyve/cookiecutter | 57e2605739ba8859445b7bd4e577b4f9f3bc8c23 | [
"MIT"
] | null | null | null | app/models/transmart.py | thehyve/cookiecutter | 57e2605739ba8859445b7bd4e577b4f9f3bc8c23 | [
"MIT"
] | null | null | null | app/models/transmart.py | thehyve/cookiecutter | 57e2605739ba8859445b7bd4e577b4f9f3bc8c23 | [
"MIT"
] | null | null | null | from .. import db
| 9 | 17 | 0.666667 | 3 | 18 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.857143 | 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 |
8dde817059fbe82a918fe91a295af3b9e5d8c727 | 3,727 | py | Python | jobsapp/migrations/0018_auto_20200222_1831.py | Deepanjalli/job_portal6 | 2869de5dca16a88f840ce0e4a26fe2edba3e9cae | [
"MIT"
] | null | null | null | jobsapp/migrations/0018_auto_20200222_1831.py | Deepanjalli/job_portal6 | 2869de5dca16a88f840ce0e4a26fe2edba3e9cae | [
"MIT"
] | 4 | 2020-06-06T01:42:22.000Z | 2021-09-08T01:50:57.000Z | jobsapp/migrations/0018_auto_20200222_1831.py | Deepanjalli/job_portal6 | 2869de5dca16a88f840ce0e4a26fe2edba3e9cae | [
"MIT"
] | null | null | null | # Generated by Django 2.2 on 2020-02-22 18:31
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('jobsapp', '0017_auto_20200221_1034'),
]
operations = [
migrations.RemoveField(
model_name='applicant1',
name='category... | 29.346457 | 62 | 0.519453 | 302 | 3,727 | 6.248344 | 0.198676 | 0.119237 | 0.251722 | 0.304716 | 0.864335 | 0.864335 | 0.63275 | 0.523582 | 0.523582 | 0.523582 | 0 | 0.033877 | 0.358465 | 3,727 | 126 | 63 | 29.579365 | 0.755333 | 0.011537 | 0 | 0.733333 | 1 | 0 | 0.126833 | 0.006247 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008333 | 0 | 0.033333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8de16383cdcc917a3f372a505d4efa1ad99af998 | 126 | py | Python | pyabc/sampler/redis_eps/__init__.py | Havaldar/pyABC | 283085c62895a1b58c77221966dab02fe551da1b | [
"BSD-3-Clause"
] | null | null | null | pyabc/sampler/redis_eps/__init__.py | Havaldar/pyABC | 283085c62895a1b58c77221966dab02fe551da1b | [
"BSD-3-Clause"
] | null | null | null | pyabc/sampler/redis_eps/__init__.py | Havaldar/pyABC | 283085c62895a1b58c77221966dab02fe551da1b | [
"BSD-3-Clause"
] | null | null | null | from .sampler import RedisEvalParallelSampler
from .redis_sampler_server_starter import RedisEvalParallelSamplerServerStarter
| 42 | 79 | 0.920635 | 11 | 126 | 10.272727 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 126 | 2 | 80 | 63 | 0.957627 | 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 |
8dec5125fad1de7d334d3ed90ce7dd22015c9b7f | 12 | py | Python | constants/target_constants.py | doronfeldman/python-101 | a1c7658e0871d161e869ac367b5289917ffac419 | [
"MIT"
] | 2 | 2020-09-02T13:46:06.000Z | 2020-10-11T16:11:02.000Z | constants/target_constants.py | doronfeldman/python-101 | a1c7658e0871d161e869ac367b5289917ffac419 | [
"MIT"
] | null | null | null | constants/target_constants.py | doronfeldman/python-101 | a1c7658e0871d161e869ac367b5289917ffac419 | [
"MIT"
] | 4 | 2018-10-15T07:08:34.000Z | 2019-11-26T01:52:47.000Z | A = 1
B = 2
| 4 | 5 | 0.333333 | 4 | 12 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 12 | 2 | 6 | 6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c39480ac5fd98c073238430c7a4be3e4e9354f5 | 63 | py | Python | com/LimePencil/Q21633/Bank_Transfer.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | com/LimePencil/Q21633/Bank_Transfer.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | com/LimePencil/Q21633/Bank_Transfer.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | print("{:.2f}".format(min(max(100,int(input())*0.01+25),2000))) | 63 | 63 | 0.619048 | 12 | 63 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206349 | 0 | 63 | 1 | 63 | 63 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
30a35e1d6d96bd86fabe9f3a3f9e48df89838670 | 3,784 | py | Python | specreduce/tests/test_extract.py | tepickering/specreduce | a1f94647e2ab700afe42f7515aad3889380ac1f4 | [
"BSD-3-Clause"
] | null | null | null | specreduce/tests/test_extract.py | tepickering/specreduce | a1f94647e2ab700afe42f7515aad3889380ac1f4 | [
"BSD-3-Clause"
] | null | null | null | specreduce/tests/test_extract.py | tepickering/specreduce | a1f94647e2ab700afe42f7515aad3889380ac1f4 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from ..extract import BoxcarExtract
# Test image is comprised of 30 rows with 10 columns each. Row content
# is row index itself. This makes it easy to predict what should be the
# value extracted from a region centered at any arbitrary Y position.
image = np.ones(shape=(30, 10))
for j in range(im... | 31.016393 | 94 | 0.696617 | 550 | 3,784 | 4.687273 | 0.203636 | 0.140807 | 0.197828 | 0.139643 | 0.723429 | 0.711016 | 0.711016 | 0.711016 | 0.711016 | 0.711016 | 0 | 0.035054 | 0.185782 | 3,784 | 121 | 95 | 31.272727 | 0.801688 | 0.125793 | 0 | 0.589041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205479 | 1 | 0.054795 | false | 0 | 0.027397 | 0 | 0.09589 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
30c885eb747dfa32d0fa893c0d27884032a1b691 | 76 | py | Python | osr/osr/settings/__init__.py | offurface/osr | 83ebcc11f0d9d8050ac2139bc6e9e560e93e8b9e | [
"MIT"
] | null | null | null | osr/osr/settings/__init__.py | offurface/osr | 83ebcc11f0d9d8050ac2139bc6e9e560e93e8b9e | [
"MIT"
] | 10 | 2021-03-19T09:01:32.000Z | 2022-02-10T21:34:43.000Z | osr/osr/settings/__init__.py | offurface/osr | 83ebcc11f0d9d8050ac2139bc6e9e560e93e8b9e | [
"MIT"
] | null | null | null | from .common import *
#from .development import *
from .production import *
| 19 | 27 | 0.75 | 9 | 76 | 6.333333 | 0.555556 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 76 | 3 | 28 | 25.333333 | 0.890625 | 0.342105 | 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 |
30cd3998abe0bc152fdefac50f2e806bcab1cc72 | 53 | py | Python | tests/test_import.py | scailfin/PyMEM | 984b5c5245478af87ac8053cdec6307cab207c47 | [
"Apache-2.0"
] | null | null | null | tests/test_import.py | scailfin/PyMEM | 984b5c5245478af87ac8053cdec6307cab207c47 | [
"Apache-2.0"
] | 4 | 2020-05-27T03:58:09.000Z | 2020-11-02T16:49:31.000Z | tests/test_import.py | scailfin/PyMEM | 984b5c5245478af87ac8053cdec6307cab207c47 | [
"Apache-2.0"
] | null | null | null | import pymela
def test_import():
assert pymela
| 8.833333 | 18 | 0.716981 | 7 | 53 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 53 | 5 | 19 | 10.6 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
30e9c2c75d22cad83ea44a34961702d276815e55 | 9,007 | py | Python | tests/transformers/test_null.py | ppeddada97/RDT | affcb8893548a0000abc1d0e9ebaf3b8a2acf851 | [
"MIT"
] | 1 | 2021-07-29T20:38:26.000Z | 2021-07-29T20:38:26.000Z | tests/unit/transformers/test_null.py | sarahmish/RDT | ca639dc1eeae5f1bb9f78e8b163659680ce627e3 | [
"MIT"
] | null | null | null | tests/unit/transformers/test_null.py | sarahmish/RDT | ca639dc1eeae5f1bb9f78e8b163659680ce627e3 | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest.mock import Mock
import numpy as np
import pandas as pd
import pytest
from rdt.transformers import NullTransformer
class TestNullTransformer(TestCase):
def test___init__(self):
"""Test default instance"""
# Run
transformer = NullTransformer(No... | 30.636054 | 92 | 0.627845 | 1,110 | 9,007 | 4.881081 | 0.094595 | 0.089701 | 0.031561 | 0.090439 | 0.873385 | 0.84533 | 0.828165 | 0.8134 | 0.791436 | 0.741418 | 0 | 0.019611 | 0.275341 | 9,007 | 293 | 93 | 30.740614 | 0.81048 | 0.174309 | 0 | 0.65 | 0 | 0 | 0.036772 | 0 | 0 | 0 | 0 | 0 | 0.164286 | 1 | 0.135714 | false | 0 | 0.042857 | 0 | 0.185714 | 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 |
30f5d4438eb1272ddfccd2d379a46949ab379d91 | 31 | py | Python | x_clip/__init__.py | afiaka87/x-clip | 7db4866be01a98b0598af34d4c4b9f7b52cb3bb2 | [
"MIT"
] | null | null | null | x_clip/__init__.py | afiaka87/x-clip | 7db4866be01a98b0598af34d4c4b9f7b52cb3bb2 | [
"MIT"
] | null | null | null | x_clip/__init__.py | afiaka87/x-clip | 7db4866be01a98b0598af34d4c4b9f7b52cb3bb2 | [
"MIT"
] | null | null | null | from x_clip.x_clip import CLIP
| 15.5 | 30 | 0.83871 | 7 | 31 | 3.428571 | 0.571429 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
eb86aec635c76163ab0ce577bac46058bf8efa83 | 180 | py | Python | code/python/training_pipeline/src/helpers/__init__.py | DriesMeerman/Risk-Assessment | 7ea4ac9d2f56a31f237853eab2cfd7f4dc9fe96b | [
"MIT"
] | 1 | 2022-02-16T20:42:48.000Z | 2022-02-16T20:42:48.000Z | code/python/training_pipeline/src/helpers/__init__.py | DriesMeerman/Risk-Assessment | 7ea4ac9d2f56a31f237853eab2cfd7f4dc9fe96b | [
"MIT"
] | null | null | null | code/python/training_pipeline/src/helpers/__init__.py | DriesMeerman/Risk-Assessment | 7ea4ac9d2f56a31f237853eab2cfd7f4dc9fe96b | [
"MIT"
] | null | null | null | from .constants import *
from .logger import *
from .model_saver import *
from .scikit_helper import *
from .util import *
from .bias_analysis import *
from .vector_helper import * | 25.714286 | 28 | 0.772222 | 25 | 180 | 5.4 | 0.48 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 180 | 7 | 29 | 25.714286 | 0.882353 | 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 |
eb8da8a946686e0fd30a2c8e422ece1509d3e353 | 240 | py | Python | ZAF/paths_zaf.py | KatharinaGruber/windpower_GWA | 6d4eddc48f37cb66ac33ebab431b9a223366d4e1 | [
"MIT"
] | 4 | 2020-03-30T13:17:11.000Z | 2021-02-21T12:57:48.000Z | ZAF/paths_zaf.py | KatharinaGruber/windpower_GWA | 6d4eddc48f37cb66ac33ebab431b9a223366d4e1 | [
"MIT"
] | null | null | null | ZAF/paths_zaf.py | KatharinaGruber/windpower_GWA | 6d4eddc48f37cb66ac33ebab431b9a223366d4e1 | [
"MIT"
] | 1 | 2020-11-19T23:50:21.000Z | 2020-11-19T23:50:21.000Z | zaf_path = "/data/users/kgruber/other-data/ZAF"
results_path = "/data/users/kgruber/results/ZAF"
mer_path = "/data/users/kgruber/Data/MERRA/ZAF"
era_path = "/data/users/kgruber/Data/era5/ZAF"
script_path = "/data/users/kgruber/Skripts/ZAF" | 40 | 48 | 0.758333 | 38 | 240 | 4.657895 | 0.342105 | 0.225989 | 0.367232 | 0.564972 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.0625 | 240 | 6 | 49 | 40 | 0.782222 | 0 | 0 | 0 | 0 | 0 | 0.676349 | 0.676349 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ebb2c72dee48ad7e433704e87632679fb08855f3 | 307 | py | Python | benchmark/modules/recognizer/rec_object.py | tienln4/PaddleOCR-1 | 786448503b3f23140798bdecde19e985027257b2 | [
"DOC",
"Apache-2.0"
] | null | null | null | benchmark/modules/recognizer/rec_object.py | tienln4/PaddleOCR-1 | 786448503b3f23140798bdecde19e985027257b2 | [
"DOC",
"Apache-2.0"
] | null | null | null | benchmark/modules/recognizer/rec_object.py | tienln4/PaddleOCR-1 | 786448503b3f23140798bdecde19e985027257b2 | [
"DOC",
"Apache-2.0"
] | null | null | null | class RecObject:
def __init__(self, text: str, score: float, inference_time: float):
self.text = text
self.score = score
self.inference_time = inference_time
def __str__(self) -> str:
return "'{}' ({:.3f}) ({:.3f})".format(self.text, self.score, self.inference_time) | 38.375 | 90 | 0.62215 | 38 | 307 | 4.710526 | 0.368421 | 0.290503 | 0.145251 | 0.24581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.224756 | 307 | 8 | 90 | 38.375 | 0.743697 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ebca360616213bb75297211503c8e0dc433e92ac | 149 | py | Python | application/auth/__init__.py | LandRegistry/service-frontend-alpha | b7c7bf01321265f5991f9e7c96cd4f5d55008044 | [
"MIT"
] | null | null | null | application/auth/__init__.py | LandRegistry/service-frontend-alpha | b7c7bf01321265f5991f9e7c96cd4f5d55008044 | [
"MIT"
] | 1 | 2015-01-21T12:30:52.000Z | 2015-01-21T12:30:52.000Z | application/auth/__init__.py | LandRegistry/service-frontend | b7c7bf01321265f5991f9e7c96cd4f5d55008044 | [
"MIT"
] | 1 | 2021-04-11T06:06:27.000Z | 2021-04-11T06:06:27.000Z | from application import login_manager
from models import User
@login_manager.user_loader
def load_user(user_id):
return User.query.get(user_id)
| 21.285714 | 37 | 0.818792 | 24 | 149 | 4.833333 | 0.583333 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120805 | 149 | 6 | 38 | 24.833333 | 0.885496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ebd4269d31005a6d971e292920837936052c18bb | 16,845 | py | Python | sympy/parsing/autolev/_antlr/autolevlexer.py | utkarshdeorah/sympy | dcdf59bbc6b13ddbc329431adf72fcee294b6389 | [
"BSD-3-Clause"
] | 8,323 | 2015-01-02T15:51:43.000Z | 2022-03-31T13:13:19.000Z | sympy/parsing/autolev/_antlr/autolevlexer.py | utkarshdeorah/sympy | dcdf59bbc6b13ddbc329431adf72fcee294b6389 | [
"BSD-3-Clause"
] | 15,102 | 2015-01-01T01:33:17.000Z | 2022-03-31T22:53:13.000Z | sympy/parsing/autolev/_antlr/autolevlexer.py | utkarshdeorah/sympy | dcdf59bbc6b13ddbc329431adf72fcee294b6389 | [
"BSD-3-Clause"
] | 4,490 | 2015-01-01T17:48:07.000Z | 2022-03-31T17:24:05.000Z | # *** GENERATED BY antlr4, DO NOT EDIT BY HAND ***
#
# Generated from Autolev.g4 by ANTLR 4.7.1
#
# Generated with antlr4
# antlr4 is licensed under the BSD-3-Clause License
# https://github.com/antlr/antlr4/blob/master/LICENSE.txt
from __future__ import print_function
from antlr4 import *
from io import StringIO... | 57.688356 | 103 | 0.558504 | 4,096 | 16,845 | 2.264648 | 0.129883 | 0.12721 | 0.068564 | 0.071151 | 0.268974 | 0.198469 | 0.185533 | 0.102846 | 0.081285 | 0.081285 | 0 | 0.332609 | 0.153102 | 16,845 | 291 | 104 | 57.886598 | 0.317608 | 0.013238 | 0 | 0 | 1 | 0.481343 | 0.605105 | 0.565555 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007463 | false | 0 | 0.014925 | 0 | 0.242537 | 0.003731 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ebe788c21befd5ac6c27af3e6b5492c94e91caf6 | 6,481 | py | Python | parts/broker/pub/tub.py | coolerking/agent_smith | 1ec8c285fcb3996eaa77869b15af993696e113a8 | [
"MIT"
] | null | null | null | parts/broker/pub/tub.py | coolerking/agent_smith | 1ec8c285fcb3996eaa77869b15af993696e113a8 | [
"MIT"
] | null | null | null | parts/broker/pub/tub.py | coolerking/agent_smith | 1ec8c285fcb3996eaa77869b15af993696e113a8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
TubデータをAWS IoT Core へ Publish するパーツクラスを定義するモジュール。
"""
import time
import json
from .base import PublisherBase, to_float, to_str, arr_to_bytearray
from .topic import pub_tub_json_topic, pub_tub_image_topic, pub_tub_fwd_image_topic
class UserPublisher(PublisherBase):
"""
Tubデータ(辞書型、手動... | 36.005556 | 93 | 0.576609 | 703 | 6,481 | 5.014225 | 0.130868 | 0.071489 | 0.063546 | 0.043121 | 0.859574 | 0.812199 | 0.782411 | 0.782411 | 0.761986 | 0.759716 | 0 | 0.001146 | 0.326956 | 6,481 | 180 | 93 | 36.005556 | 0.806282 | 0.223731 | 0 | 0.615385 | 0 | 0 | 0.102278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.10989 | false | 0 | 0.043956 | 0 | 0.21978 | 0.087912 | 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 |
ccfce89c61f8243cf015c2bb955cb4087a5be575 | 77 | py | Python | segme/model/u2_net/__init__.py | shkarupa-alex/segme | d5bc0043f9e709c8ccaf8949d662bc6fd6144006 | [
"MIT"
] | 2 | 2021-05-25T18:53:00.000Z | 2021-05-26T12:11:41.000Z | segme/model/u2_net/__init__.py | shkarupa-alex/segme | d5bc0043f9e709c8ccaf8949d662bc6fd6144006 | [
"MIT"
] | null | null | null | segme/model/u2_net/__init__.py | shkarupa-alex/segme | d5bc0043f9e709c8ccaf8949d662bc6fd6144006 | [
"MIT"
] | 2 | 2021-11-21T02:39:37.000Z | 2021-12-08T07:26:56.000Z | from .model import build_u2_net, build_u2_netp
from .loss import u2net_losses | 38.5 | 46 | 0.857143 | 14 | 77 | 4.357143 | 0.714286 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.103896 | 77 | 2 | 47 | 38.5 | 0.84058 | 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 |
69522e328b04efe528faadbc7a291c24793f37b9 | 23 | py | Python | GPy/kern/src/__init__.py | PAC-Bayesian/GPy | 7fe76385dc832de7cf9e4ce37832902c4d35593f | [
"BSD-3-Clause"
] | 9 | 2019-06-16T01:18:52.000Z | 2021-11-03T15:43:55.000Z | GPy/kern/src/__init__.py | PAC-Bayesian/GPy | 7fe76385dc832de7cf9e4ce37832902c4d35593f | [
"BSD-3-Clause"
] | 3 | 2020-09-09T06:12:51.000Z | 2021-06-01T23:46:18.000Z | GPy/kern/src/__init__.py | PAC-Bayesian/GPy | 7fe76385dc832de7cf9e4ce37832902c4d35593f | [
"BSD-3-Clause"
] | 6 | 2016-10-27T08:41:27.000Z | 2022-01-29T21:33:10.000Z | from . import psi_comp
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6954dc0489a4f808b4065c8aee995e9557460bcd | 147 | py | Python | generated-libraries/python/netapp/qos/qos_tput.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/qos/qos_tput.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/qos/qos_tput.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class QosTput(basestring):
"""
QoS throughput type
"""
@staticmethod
def get_api_name():
return "qos-tput"
| 14.7 | 27 | 0.537415 | 14 | 147 | 5.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.353742 | 147 | 9 | 28 | 16.333333 | 0.810526 | 0.129252 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 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 |
15f433a0803f4fd4b7199a4d6b30cec62872e920 | 23 | py | Python | image_registration/matching/keypoint/surf/__init__.py | hakaboom/image_registration | 7ec286c5e81670d7599f925c5279e162804278c6 | [
"Apache-2.0"
] | null | null | null | image_registration/matching/keypoint/surf/__init__.py | hakaboom/image_registration | 7ec286c5e81670d7599f925c5279e162804278c6 | [
"Apache-2.0"
] | null | null | null | image_registration/matching/keypoint/surf/__init__.py | hakaboom/image_registration | 7ec286c5e81670d7599f925c5279e162804278c6 | [
"Apache-2.0"
] | null | null | null | from .surf import SURF
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c600120feffe52ed7340bc300bd210bae8d4987e | 42 | py | Python | datasetbuilder/__init__.py | vamas/DupDetectorML | a0db6f24519f19a72f9bc7ac226d6a37734564ae | [
"CC0-1.0"
] | null | null | null | datasetbuilder/__init__.py | vamas/DupDetectorML | a0db6f24519f19a72f9bc7ac226d6a37734564ae | [
"CC0-1.0"
] | null | null | null | datasetbuilder/__init__.py | vamas/DupDetectorML | a0db6f24519f19a72f9bc7ac226d6a37734564ae | [
"CC0-1.0"
] | null | null | null | from .datasetbuilder import DatasetBuilder | 42 | 42 | 0.904762 | 4 | 42 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.974359 | 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 |
c60383bcd603bc33bb1ce1bccf999ffc97f6b722 | 5,227 | py | Python | laika/tests/test_formatter.py | Jbat1Jumper/laika | 7c0cbb18114b072bd102b37cb973c71002a4faac | [
"MIT"
] | 2 | 2018-05-18T13:08:32.000Z | 2018-05-18T13:11:45.000Z | laika/tests/test_formatter.py | Jbat1Jumper/laika | 7c0cbb18114b072bd102b37cb973c71002a4faac | [
"MIT"
] | 4 | 2018-05-15T14:49:18.000Z | 2020-06-29T15:15:50.000Z | laika/tests/test_formatter.py | Jbat1Jumper/laika | 7c0cbb18114b072bd102b37cb973c71002a4faac | [
"MIT"
] | 3 | 2018-09-06T19:03:00.000Z | 2019-10-07T15:32:47.000Z |
from datetime import datetime
from unittest import TestCase
try:
from unittest.mock import patch, Mock
except ImportError:
from mock import patch, Mock
from laika.reports import ReportFormatter, FilenameFormatter
class ReportFormatterTest(TestCase):
def setUp(self):
now = datetime(2016, 2, 12,... | 42.495935 | 100 | 0.644347 | 687 | 5,227 | 4.819505 | 0.163028 | 0.223799 | 0.315615 | 0.465116 | 0.815464 | 0.786167 | 0.671096 | 0.376623 | 0.298701 | 0.240411 | 0 | 0.079835 | 0.166061 | 5,227 | 122 | 101 | 42.844262 | 0.679743 | 0.011479 | 0 | 0.137931 | 0 | 0 | 0.145321 | 0.014338 | 0 | 0 | 0 | 0 | 0.632184 | 1 | 0.172414 | false | 0 | 0.068966 | 0 | 0.264368 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c616614f290ed4b47a95db168c466f590dc042dc | 10,220 | py | Python | Dark_Scripts/plot_PointCorrelationGraph.py | zmlabe/ModelBiasesANN | df28842a8594870db3282682b1261af5058af832 | [
"MIT"
] | 1 | 2022-02-12T11:56:54.000Z | 2022-02-12T11:56:54.000Z | Dark_Scripts/plot_PointCorrelationGraph.py | zmlabe/ModelBiasesANN | df28842a8594870db3282682b1261af5058af832 | [
"MIT"
] | null | null | null | Dark_Scripts/plot_PointCorrelationGraph.py | zmlabe/ModelBiasesANN | df28842a8594870db3282682b1261af5058af832 | [
"MIT"
] | null | null | null | """
Script for plotting point correlation maps between models and observations
Author : Zachary M. Labe
Date : 5 May 2021
Version : 1
"""
### Import packages
import sys
import matplotlib.pyplot as plt
import numpy as np
import palettable.cubehelix as cm
import palettable.scientific.sequential as sss
impo... | 51.616162 | 155 | 0.479746 | 1,077 | 10,220 | 4.491179 | 0.261838 | 0.023155 | 0.026463 | 0.032251 | 0.746744 | 0.730205 | 0.730205 | 0.711598 | 0.711598 | 0.711598 | 0 | 0.053936 | 0.281605 | 10,220 | 198 | 156 | 51.616162 | 0.604876 | 0.031703 | 0 | 0.716216 | 0 | 0 | 0.179394 | 0.035516 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.074324 | 0 | 0.074324 | 0.006757 | 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 |
d66a847f94128f2c1270f983382199cceda6e0e3 | 14,620 | py | Python | ToyCLexer.py | takuyara/ToyCCompiler | 70c81ff0b43d158a09303ba5c1f2496af6e9d125 | [
"MIT"
] | 1 | 2021-01-01T06:02:50.000Z | 2021-01-01T06:02:50.000Z | ToyCLexer.py | takuyara/ToyCCompiler | 70c81ff0b43d158a09303ba5c1f2496af6e9d125 | [
"MIT"
] | null | null | null | ToyCLexer.py | takuyara/ToyCCompiler | 70c81ff0b43d158a09303ba5c1f2496af6e9d125 | [
"MIT"
] | null | null | null | # Generated from ToyC.g4 by ANTLR 4.9
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\66")
buf.write("\u0164\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\... | 55.378788 | 103 | 0.544391 | 3,374 | 14,620 | 2.306165 | 0.14019 | 0.150366 | 0.086364 | 0.090477 | 0.263462 | 0.165917 | 0.085465 | 0.073641 | 0.066058 | 0.066058 | 0 | 0.35129 | 0.159439 | 14,620 | 263 | 104 | 55.589354 | 0.281878 | 0.002394 | 0 | 0 | 1 | 0.436735 | 0.607846 | 0.558055 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008163 | false | 0 | 0.016327 | 0 | 0.277551 | 0.004082 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d679eaa810cb8e5697300363111332d11c00523a | 101 | py | Python | data_convert/task_format/task_format.py | wlof-2/Text2Relation | a1321e3627fee4714d2c39c964d93d12d0802467 | [
"MIT"
] | 107 | 2021-06-18T03:23:18.000Z | 2022-03-31T09:36:15.000Z | data_convert/task_format/task_format.py | wlof-2/Text2Relation | a1321e3627fee4714d2c39c964d93d12d0802467 | [
"MIT"
] | 16 | 2021-07-12T07:41:00.000Z | 2022-03-30T10:17:36.000Z | data_convert/task_format/task_format.py | wlof-2/Text2Relation | a1321e3627fee4714d2c39c964d93d12d0802467 | [
"MIT"
] | 11 | 2021-06-18T06:16:02.000Z | 2022-03-08T12:37:41.000Z | #!/usr/bin/env python
# -*- coding:utf-8 -*-
class TaskFormat:
def generate_sentence(self): pass
| 20.2 | 37 | 0.673267 | 14 | 101 | 4.785714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.148515 | 101 | 4 | 38 | 25.25 | 0.767442 | 0.405941 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
d691967fb2cbdbbfe4ab0078c291a425f92fdbc1 | 135 | py | Python | sympy/interactive/__init__.py | iamabhishek0/sympy | c461bd1ff9d178d1012b04fd0bf37ee3abb02cdd | [
"BSD-3-Clause"
] | 445 | 2019-01-26T13:50:26.000Z | 2022-03-18T05:17:38.000Z | sympy/interactive/__init__.py | curzel-it/KiPyCalc | 909c783d5e6967ea58ca93f875106d8a8e3ca5db | [
"MIT"
] | 242 | 2019-01-29T15:48:27.000Z | 2022-03-31T22:09:21.000Z | sympy/interactive/__init__.py | curzel-it/KiPyCalc | 909c783d5e6967ea58ca93f875106d8a8e3ca5db | [
"MIT"
] | 31 | 2019-03-10T09:51:27.000Z | 2022-02-14T23:11:12.000Z | """Helper module for setting up interactive SymPy sessions. """
from .printing import init_printing
from .session import init_session
| 27 | 63 | 0.8 | 18 | 135 | 5.888889 | 0.722222 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 4 | 64 | 33.75 | 0.905983 | 0.414815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.