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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
06b044378f90feabaafeebbaf6221ba63270d1c1 | 132 | py | Python | service/delivery_optimization/__init__.py | Rolkarolka/IUM-delivery-optimization | 6104010ca4218c432e78c426931a70541948ab88 | [
"MIT"
] | null | null | null | service/delivery_optimization/__init__.py | Rolkarolka/IUM-delivery-optimization | 6104010ca4218c432e78c426931a70541948ab88 | [
"MIT"
] | 3 | 2021-12-03T11:44:43.000Z | 2021-12-03T11:45:12.000Z | service/delivery_optimization/__init__.py | Rolkarolka/IUM-delivery-optimization | 6104010ca4218c432e78c426931a70541948ab88 | [
"MIT"
] | null | null | null | from service.delivery_optimization.Database import Database
from service.delivery_optimization.Models import ModelA, ModelB, Models
| 44 | 71 | 0.878788 | 16 | 132 | 7.125 | 0.5625 | 0.192982 | 0.333333 | 0.54386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 132 | 2 | 72 | 66 | 0.934426 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ebfd341a50afc23e37dd8471b30971f9f5a8a537 | 4,569 | py | Python | app/vendors/migrations/0026_pool_id_update.py | snakrani/discovery | 99690f186a194cabef6a5d1ad18fca715be1e187 | [
"CC0-1.0"
] | null | null | null | app/vendors/migrations/0026_pool_id_update.py | snakrani/discovery | 99690f186a194cabef6a5d1ad18fca715be1e187 | [
"CC0-1.0"
] | null | null | null | app/vendors/migrations/0026_pool_id_update.py | snakrani/discovery | 99690f186a194cabef6a5d1ad18fca715be1e187 | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('vendors', '0025_auto_20180205_0342'),
]
operations = [
migrations.RunSQL("UPDATE vendors_pool SET id = 'OASIS_SB_1' WHERE id... | 65.271429 | 108 | 0.671044 | 662 | 4,569 | 4.291541 | 0.060423 | 0.118268 | 0.325238 | 0.428722 | 0.92925 | 0.913763 | 0.913763 | 0.896867 | 0.896867 | 0.839141 | 0 | 0.02774 | 0.203108 | 4,569 | 69 | 109 | 66.217391 | 0.752541 | 0.004596 | 0 | 0 | 0 | 0 | 0.644743 | 0.005059 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
230ca422bd63ad5deb3b952a715fa9ddfa7bb3f1 | 8,240 | py | Python | dfirtrack_main/tests/systemuser/test_systemuser_views.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | 4 | 2020-03-06T17:37:09.000Z | 2020-03-17T07:50:55.000Z | dfirtrack_main/tests/systemuser/test_systemuser_views.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | null | null | null | dfirtrack_main/tests/systemuser/test_systemuser_views.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | 1 | 2020-03-06T20:54:52.000Z | 2020-03-06T20:54:52.000Z | from django.contrib.auth.models import User
from django.test import TestCase
from django.utils import timezone
from dfirtrack_main.models import System, Systemstatus, Systemuser
import urllib.parse
class SystemuserViewTestCase(TestCase):
""" systemuser view tests """
@classmethod
def setUpTestData(cls):
... | 40 | 129 | 0.666626 | 863 | 8,240 | 6.158749 | 0.086906 | 0.052681 | 0.071119 | 0.069238 | 0.855315 | 0.826341 | 0.815992 | 0.808843 | 0.745437 | 0.737912 | 0 | 0.016828 | 0.221117 | 8,240 | 205 | 130 | 40.195122 | 0.811312 | 0.119539 | 0 | 0.488889 | 0 | 0 | 0.18046 | 0.026646 | 0 | 0 | 0 | 0 | 0.177778 | 1 | 0.188889 | false | 0.144444 | 0.055556 | 0 | 0.255556 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
2335b1ba4073e9cd36082cfcd46fb865f093a651 | 197 | py | Python | init.py | Druthyn/carball | 924ba75d2a60d069a5722a3d2a98814765d79197 | [
"Apache-2.0"
] | null | null | null | init.py | Druthyn/carball | 924ba75d2a60d069a5722a3d2a98814765d79197 | [
"Apache-2.0"
] | null | null | null | init.py | Druthyn/carball | 924ba75d2a60d069a5722a3d2a98814765d79197 | [
"Apache-2.0"
] | null | null | null | from utils.create_proto import create_proto_files
from utils.import_fixer import convert_to_relative_imports
if __name__ == "__main__":
create_proto_files()
convert_to_relative_imports()
| 24.625 | 58 | 0.822335 | 27 | 197 | 5.259259 | 0.518519 | 0.232394 | 0.225352 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121827 | 197 | 7 | 59 | 28.142857 | 0.820809 | 0 | 0 | 0 | 0 | 0 | 0.040609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
88c62b6c46ac5c235f354ed6a89d0d8c0a39c76b | 75 | py | Python | test.py | zhufuzz/All_Mighty_Reserve | 87340b5c104d5f0bb2fcf6b08aeec0202b537d41 | [
"Apache-2.0"
] | null | null | null | test.py | zhufuzz/All_Mighty_Reserve | 87340b5c104d5f0bb2fcf6b08aeec0202b537d41 | [
"Apache-2.0"
] | null | null | null | test.py | zhufuzz/All_Mighty_Reserve | 87340b5c104d5f0bb2fcf6b08aeec0202b537d41 | [
"Apache-2.0"
] | null | null | null | from datetime import date
print date.today()
print date.today().timetuple() | 25 | 30 | 0.786667 | 11 | 75 | 5.363636 | 0.636364 | 0.305085 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 75 | 3 | 30 | 25 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
0036595cda9d7a6369d87248591f5f6182e42247 | 847 | py | Python | scripts/generate_hslapknn_data.py | pborer/MetaWSD | 6defd574030ec86e4f1d0b20702636895324e5c0 | [
"MIT"
] | null | null | null | scripts/generate_hslapknn_data.py | pborer/MetaWSD | 6defd574030ec86e4f1d0b20702636895324e5c0 | [
"MIT"
] | null | null | null | scripts/generate_hslapknn_data.py | pborer/MetaWSD | 6defd574030ec86e4f1d0b20702636895324e5c0 | [
"MIT"
] | null | null | null | import os
os.system('python MetaWSD/train_wsd.py --config MetaWSD/config/wsd/hslapknn/hslapknn_bert_4_cuda.yaml')
os.system('python MetaWSD/train_wsd.py --config MetaWSD/config/wsd/hslapknn/hslapknn_bert_8_cuda.yaml')
os.system('python MetaWSD/train_wsd.py --config MetaWSD/config/wsd/hslapknn/hslapknn_bert_16_cuda.yam... | 77 | 104 | 0.826446 | 138 | 847 | 4.84058 | 0.130435 | 0.095808 | 0.167665 | 0.251497 | 0.97006 | 0.97006 | 0.97006 | 0.97006 | 0.97006 | 0.97006 | 0 | 0.014778 | 0.041322 | 847 | 10 | 105 | 84.7 | 0.807882 | 0 | 0 | 0 | 0 | 0 | 0.854782 | 0.505313 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
aebcc2256f4caffadbf0e9fa1318fc194d5dff1e | 1,154 | py | Python | stockze/example_app/utils/testing.py | vendari12/django-ai-algotrade | f20d2691f08ec75f148cd6409b886b1dd6edac78 | [
"Apache-1.1"
] | null | null | null | stockze/example_app/utils/testing.py | vendari12/django-ai-algotrade | f20d2691f08ec75f148cd6409b886b1dd6edac78 | [
"Apache-1.1"
] | null | null | null | stockze/example_app/utils/testing.py | vendari12/django-ai-algotrade | f20d2691f08ec75f148cd6409b886b1dd6edac78 | [
"Apache-1.1"
] | null | null | null | from environ import Env
from stockze.example_app.utils.crawl_earnings_whispers import CrawlEarningsWhispers
from stockze.example_app.utils.stockze_main import stockze_main
env = Env()
def test_one():
CrawlEarningsWhispers()
stockze_main(
buy_time=True, hold_time=False, sell_time=False
)
s... | 24.041667 | 83 | 0.666378 | 150 | 1,154 | 4.793333 | 0.166667 | 0.250348 | 0.194715 | 0.250348 | 0.827538 | 0.755216 | 0.755216 | 0.755216 | 0.755216 | 0.755216 | 0 | 0 | 0.2513 | 1,154 | 47 | 84 | 24.553191 | 0.832176 | 0 | 0 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.075 | 0 | 0.175 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 9 |
aefde33136c007503349320dce19f4fb9567ae2a | 15,443 | py | Python | register/tests/test_tasks.py | douglatornell/randopony | d47b10a23cb426da79284fb7fa8c968825ee8915 | [
"BSD-3-Clause"
] | null | null | null | register/tests/test_tasks.py | douglatornell/randopony | d47b10a23cb426da79284fb7fa8c968825ee8915 | [
"BSD-3-Clause"
] | 2 | 2020-06-18T21:42:02.000Z | 2020-06-18T21:42:03.000Z | register/tests/test_tasks.py | douglatornell/randopony | d47b10a23cb426da79284fb7fa8c968825ee8915 | [
"BSD-3-Clause"
] | null | null | null | """Asynchronous (celeryd) task tests for RandoPony register app.
"""
# Standard library:
from datetime import date
# Django:
import django.test
from django.conf import settings
from django.core import mail
class TestEmailToRider(django.test.TestCase):
"""Unit tests for email_to_rider task function.
"""
fi... | 40.426702 | 79 | 0.614259 | 1,869 | 15,443 | 4.954521 | 0.093633 | 0.053996 | 0.086393 | 0.059395 | 0.894708 | 0.884125 | 0.868251 | 0.818143 | 0.77743 | 0.765875 | 0 | 0.030517 | 0.267953 | 15,443 | 381 | 80 | 40.532808 | 0.788589 | 0.108722 | 0 | 0.827586 | 0 | 0 | 0.131562 | 0.013509 | 0 | 0 | 0 | 0 | 0.086207 | 1 | 0.1 | false | 0 | 0.193103 | 0 | 0.313793 | 0.003448 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9dff2e1148fd3e965cf5d7d9b2cf87c43528db7b | 14,004 | py | Python | backend/tests/api/test_license.py | omnivector-solutions/license-manager | 9eb1e4569d692aef83a2388096e7413bc010be61 | [
"MIT"
] | 2 | 2020-11-15T22:54:39.000Z | 2022-02-15T07:58:55.000Z | backend/tests/api/test_license.py | omnivector-solutions/license-manager | 9eb1e4569d692aef83a2388096e7413bc010be61 | [
"MIT"
] | 2 | 2022-02-18T19:36:45.000Z | 2022-03-16T23:07:44.000Z | backend/tests/api/test_license.py | omnivector-solutions/license-manager | 9eb1e4569d692aef83a2388096e7413bc010be61 | [
"MIT"
] | null | null | null | from unittest import mock
from fastapi import HTTPException, status
from httpx import AsyncClient
from pytest import mark, raises
from lm_backend.api import license
from lm_backend.api.permissions import Permissions
from lm_backend.api_schemas import BookingRow, LicenseUseReconcile, LicenseUseReconcileRequest
from lm... | 33.663462 | 108 | 0.709654 | 1,760 | 14,004 | 5.360795 | 0.118182 | 0.046847 | 0.045045 | 0.048967 | 0.811553 | 0.799152 | 0.786433 | 0.777742 | 0.76725 | 0.756015 | 0 | 0.022371 | 0.189232 | 14,004 | 415 | 109 | 33.744578 | 0.808614 | 0.026921 | 0 | 0.742268 | 0 | 0 | 0.104996 | 0.038924 | 0 | 0 | 0 | 0 | 0.109966 | 1 | 0.003436 | false | 0 | 0.030928 | 0 | 0.034364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ae3d5690e77dedad9006a5f25e41fbaaa2d6b355 | 2,234 | py | Python | app/python/testing/modules_and_functions/test_cluster_filter.py | RadjaHachilif/agotool | 2fcc3fd5a156053b528ec927bab79ddaf7af2dec | [
"MIT"
] | 6 | 2016-04-14T11:47:43.000Z | 2022-01-29T14:34:59.000Z | app/python/testing/modules_and_functions/test_cluster_filter.py | RadjaHachilif/agotool | 2fcc3fd5a156053b528ec927bab79ddaf7af2dec | [
"MIT"
] | 2 | 2019-12-21T12:15:46.000Z | 2021-01-08T12:22:17.000Z | app/python/testing/modules_and_functions/test_cluster_filter.py | RadjaHachilif/agotool | 2fcc3fd5a156053b528ec927bab79ddaf7af2dec | [
"MIT"
] | 1 | 2021-03-04T10:26:18.000Z | 2021-03-04T10:26:18.000Z | # import sys, os
# sys.path.insert(0, os.path.dirname(os.path.abspath(os.path.realpath(__file__))))
#
# import pytest
# import requests
# import ast
#
# import variables, cluster_filter
#
#
# def test_filter_parents_if_same_foreground(example_output_genome, pqo_STRING):
# df = example_output_genome
# df["level"... | 49.644444 | 117 | 0.754252 | 323 | 2,234 | 4.835913 | 0.160991 | 0.158131 | 0.231114 | 0.097311 | 0.911012 | 0.911012 | 0.911012 | 0.887964 | 0.886684 | 0.850192 | 0 | 0.012953 | 0.136079 | 2,234 | 44 | 118 | 50.772727 | 0.796373 | 0.958371 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ae49589e940ad167ea2313725e4e4a5ef97de3a4 | 2,618 | py | Python | association/migrations/0005_auto_20210503_2140.py | bpprc/database | 6e8302729793ddf840630840bd08c96ddd35a52e | [
"BSD-3-Clause"
] | 1 | 2021-04-14T16:54:57.000Z | 2021-04-14T16:54:57.000Z | association/migrations/0005_auto_20210503_2140.py | bpprc/database | 6e8302729793ddf840630840bd08c96ddd35a52e | [
"BSD-3-Clause"
] | null | null | null | association/migrations/0005_auto_20210503_2140.py | bpprc/database | 6e8302729793ddf840630840bd08c96ddd35a52e | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 3.1.4 on 2021-05-04 02:40
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("association", "0004_auto_20210503_2133"),
]
operations = [
migrations.AlterField(
model_name="association",
name="as... | 29.41573 | 51 | 0.539725 | 219 | 2,618 | 6.324201 | 0.251142 | 0.216607 | 0.270758 | 0.314079 | 0.795668 | 0.775451 | 0.775451 | 0.736462 | 0.736462 | 0.736462 | 0 | 0.01931 | 0.347212 | 2,618 | 88 | 52 | 29.75 | 0.791106 | 0.017189 | 0 | 0.731707 | 1 | 0 | 0.140023 | 0.008946 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012195 | 0 | 0.04878 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 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 | 10 |
881d8d281f43d6eed77d3efc8551c6adc6176b5c | 240 | py | Python | forte/processors/__init__.py | huzecong/forte | beae4e923c9a6873b582588972e6ec9919079271 | [
"Apache-2.0"
] | null | null | null | forte/processors/__init__.py | huzecong/forte | beae4e923c9a6873b582588972e6ec9919079271 | [
"Apache-2.0"
] | null | null | null | forte/processors/__init__.py | huzecong/forte | beae4e923c9a6873b582588972e6ec9919079271 | [
"Apache-2.0"
] | null | null | null | from forte.processors.ner_predictor import *
from forte.processors.sentence_predictor import *
from forte.processors.srl_predictor import *
from forte.processors.txtgen_predictor import *
from forte.processors.vocabulary_processor import *
| 40 | 51 | 0.854167 | 30 | 240 | 6.666667 | 0.366667 | 0.225 | 0.475 | 0.48 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 240 | 5 | 52 | 48 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
88364c58c415806a690fe3bddd95a2e43daaaf59 | 46,580 | py | Python | sparse_neighbors_search/neighbors/nearestNeighborsCppInterface.py | joachimwolff/sparse-neighbors-search | 0a827108f975e6dcda55bcd2d68beb3b86f23bee | [
"MIT"
] | 10 | 2015-07-28T07:17:02.000Z | 2020-05-11T08:14:44.000Z | sparse_neighbors_search/neighbors/nearestNeighborsCppInterface.py | joachimwolff/minHashNearestNeighbors | 0a827108f975e6dcda55bcd2d68beb3b86f23bee | [
"MIT"
] | null | null | null | sparse_neighbors_search/neighbors/nearestNeighborsCppInterface.py | joachimwolff/minHashNearestNeighbors | 0a827108f975e6dcda55bcd2d68beb3b86f23bee | [
"MIT"
] | 2 | 2016-08-11T14:00:05.000Z | 2017-03-23T19:06:29.000Z | # Copyright 2016, 2017, 2018, 2019, 2020 Joachim Wolff
# PhD Thesis
#
# Copyright 2015, 2016 Joachim Wolff
# Master Thesis
# Tutor: Fabrizio Costa
# Winter semester 2015/2016
#
# Chair of Bioinformatics
# Department of Computer Science
# Faculty of Engineering
# Albert-Ludwigs-University Freiburg im Breisgau
__author_... | 51.928651 | 187 | 0.556441 | 5,156 | 46,580 | 4.904577 | 0.081071 | 0.009332 | 0.012812 | 0.022778 | 0.813785 | 0.796069 | 0.775625 | 0.757632 | 0.740312 | 0.731612 | 0 | 0.01003 | 0.385681 | 46,580 | 896 | 188 | 51.986607 | 0.873703 | 0.480313 | 0 | 0.786802 | 0 | 0 | 0.00688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038071 | false | 0 | 0.022843 | 0.005076 | 0.111675 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ee43b26ecdd9e791573d84bf7582a58ff9a3caf1 | 194 | py | Python | imagedl/modules/utils/ua.py | CharlesPikachu/imagedl | 86114e84d45462dbf1ad8f96be5705bbd892b59e | [
"Apache-2.0"
] | 6 | 2022-03-21T16:32:35.000Z | 2022-03-27T04:51:30.000Z | imagedl/modules/utils/ua.py | CharlesPikachu/imagedl | 86114e84d45462dbf1ad8f96be5705bbd892b59e | [
"Apache-2.0"
] | null | null | null | imagedl/modules/utils/ua.py | CharlesPikachu/imagedl | 86114e84d45462dbf1ad8f96be5705bbd892b59e | [
"Apache-2.0"
] | null | null | null | '''
Function:
随机生成user-agent
Author:
Charles
微信公众号:
Charles的皮卡丘
'''
from user_agent import generate_user_agent
'''随机生成user-agent'''
def randomua():
return generate_user_agent() | 13.857143 | 42 | 0.71134 | 22 | 194 | 6.045455 | 0.636364 | 0.203008 | 0.255639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 194 | 14 | 43 | 13.857143 | 0.83125 | 0.365979 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 9 |
ee6ff2d83b2f3ea1ce012ebfc436dd71eb81cb29 | 117 | py | Python | kwat/internet/__init__.py | KwatME/ccal | d96dfa811482eee067f346386a2181ec514625f4 | [
"MIT"
] | 5 | 2017-05-05T17:50:28.000Z | 2019-01-30T19:23:02.000Z | kwat/internet/__init__.py | KwatME/ccal | d96dfa811482eee067f346386a2181ec514625f4 | [
"MIT"
] | 5 | 2017-05-05T01:52:31.000Z | 2019-04-20T21:06:05.000Z | kwat/internet/__init__.py | KwatME/ccal | d96dfa811482eee067f346386a2181ec514625f4 | [
"MIT"
] | 5 | 2017-07-17T18:55:54.000Z | 2019-02-02T04:46:19.000Z | from .download import download
from .download_and_extract import download_and_extract
from .get_name import get_name
| 29.25 | 54 | 0.871795 | 18 | 117 | 5.333333 | 0.388889 | 0.25 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 3 | 55 | 39 | 0.914286 | 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 | 1 | 0 | 0 | 7 |
c9a1f5f0f71d0b0971214921d0514538cb3c3a89 | 381 | py | Python | ml-agents-envs/mlagents_envs/side_channel/__init__.py | LoopySantos27/ml-agents | 2b175c8ea65d75814654812e1357d15be8b40d3f | [
"Apache-2.0"
] | 13,653 | 2017-09-19T15:56:02.000Z | 2022-03-31T18:55:07.000Z | ml-agents-envs/mlagents_envs/side_channel/__init__.py | LoopySantos27/ml-agents | 2b175c8ea65d75814654812e1357d15be8b40d3f | [
"Apache-2.0"
] | 3,623 | 2017-09-20T02:50:20.000Z | 2022-03-31T06:37:25.000Z | ml-agents-envs/mlagents_envs/side_channel/__init__.py | LoopySantos27/ml-agents | 2b175c8ea65d75814654812e1357d15be8b40d3f | [
"Apache-2.0"
] | 4,130 | 2017-09-19T17:36:34.000Z | 2022-03-31T12:54:55.000Z | from mlagents_envs.side_channel.incoming_message import IncomingMessage # noqa
from mlagents_envs.side_channel.outgoing_message import OutgoingMessage # noqa
from mlagents_envs.side_channel.side_channel import SideChannel # noqa
from mlagents_envs.side_channel.default_training_analytics_side_channel import ( # noq... | 47.625 | 88 | 0.847769 | 45 | 381 | 6.844444 | 0.377778 | 0.214286 | 0.207792 | 0.25974 | 0.38961 | 0.301948 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107612 | 381 | 7 | 89 | 54.428571 | 0.905882 | 0.076115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c9ba65174f5da1faf959f408213523455c717c88 | 4,990 | py | Python | kik_unofficial/datatypes/xmpp/group_adminship.py | 3dik/kik-bot-api-unofficial | 78073fc8af50bf27b8c261533f9cde30f745412e | [
"MIT"
] | 120 | 2017-07-07T14:07:14.000Z | 2022-02-22T03:14:23.000Z | kik_unofficial/datatypes/xmpp/group_adminship.py | TheGreatCodeholio/kik-bot-api-unofficial | c1f02b735dcb3e1d1b5e29a1ca04dd2f66557248 | [
"MIT"
] | 173 | 2017-07-07T04:31:19.000Z | 2021-11-20T02:59:20.000Z | kik_unofficial/datatypes/xmpp/group_adminship.py | TheGreatCodeholio/kik-bot-api-unofficial | c1f02b735dcb3e1d1b5e29a1ca04dd2f66557248 | [
"MIT"
] | 101 | 2017-07-11T19:43:17.000Z | 2022-03-03T02:04:05.000Z | from typing import List, Union
from kik_unofficial.datatypes.xmpp.base_elements import XMPPElement
class AddToGroupRequest(XMPPElement):
def __init__(self, group_jid, peer_jid):
super().__init__()
self.group_jid = group_jid
self.peer_jid = peer_jid
def serialize(self) -> bytes:
... | 31.582278 | 79 | 0.492585 | 538 | 4,990 | 4.282528 | 0.118959 | 0.125 | 0.140625 | 0.125 | 0.81684 | 0.784288 | 0.759549 | 0.732205 | 0.705295 | 0.705295 | 0 | 0.00121 | 0.337675 | 4,990 | 157 | 80 | 31.783439 | 0.695915 | 0 | 0 | 0.755725 | 0 | 0 | 0.172144 | 0.04509 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137405 | false | 0 | 0.015267 | 0 | 0.290076 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c9c74e4767caa6c14f24cbbb5f0e6ea580eacaa5 | 145 | py | Python | project/confidence/utils.py | StealthTech/django-conf | bc73ef5e868a4088d962714cb63acd43393f6413 | [
"Apache-2.0"
] | 1 | 2018-04-10T19:42:52.000Z | 2018-04-10T19:42:52.000Z | project/confidence/utils.py | StealthTech/django-conf | bc73ef5e868a4088d962714cb63acd43393f6413 | [
"Apache-2.0"
] | 7 | 2019-12-04T21:46:34.000Z | 2022-02-10T07:59:32.000Z | project/confidence/utils.py | StealthTech/django-confidence | bc73ef5e868a4088d962714cb63acd43393f6413 | [
"Apache-2.0"
] | null | null | null | def print_formatted(s, level=0):
print('-' * level + f'—> {s}')
def input_formatted(s, level=0):
return input('-' * level + f'<— {s}')
| 20.714286 | 41 | 0.551724 | 23 | 145 | 3.478261 | 0.434783 | 0.25 | 0.375 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.2 | 145 | 6 | 42 | 24.166667 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0.096552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 0.75 | 0.5 | 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 | 1 | 0 | 1 | 0 | 8 |
4ec8834733b58a7cfe1f817718dec3b176ebd06f | 128 | py | Python | lib/web/pages/__init__.py | cookieisland/cabernet | 9f429fe7a75707da97133b7ec4b3cf6b7aaec6cd | [
"MIT"
] | 16 | 2021-08-30T07:05:28.000Z | 2022-03-04T06:46:42.000Z | lib/web/pages/__init__.py | cookieisland/cabernet | 9f429fe7a75707da97133b7ec4b3cf6b7aaec6cd | [
"MIT"
] | 7 | 2021-08-30T01:33:52.000Z | 2022-03-23T10:19:38.000Z | lib/web/pages/__init__.py | cookieisland/cabernet | 9f429fe7a75707da97133b7ec4b3cf6b7aaec6cd | [
"MIT"
] | 9 | 2021-08-29T21:49:03.000Z | 2022-03-12T19:59:29.000Z | import lib.web.pages.background
import lib.web.pages.index_js
import lib.web.pages.web_urls
import lib.web.pages.dashstatus_json | 32 | 36 | 0.851563 | 23 | 128 | 4.608696 | 0.434783 | 0.339623 | 0.45283 | 0.641509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054688 | 128 | 4 | 36 | 32 | 0.876033 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
14d2ba63fe407588d476bfc9d97cbc7e67632cbb | 17,253 | py | Python | collectioncode/collect.py | jbrentfoster/autosrlg | ee30fcb14004544f3487485c8f832830582699a4 | [
"MIT"
] | null | null | null | collectioncode/collect.py | jbrentfoster/autosrlg | ee30fcb14004544f3487485c8f832830582699a4 | [
"MIT"
] | null | null | null | collectioncode/collect.py | jbrentfoster/autosrlg | ee30fcb14004544f3487485c8f832830582699a4 | [
"MIT"
] | null | null | null | import collectioncode.utils
import time
import re
import json
import logging
import sys
import shutil
def runcollector(baseURL, epnmuser, epnmpassword):
logging.info("Collecting L1 nodes...")
collectL1Nodes_json(baseURL, epnmuser, epnmpassword)
logging.info("Collecting 4k nodes...")
collect4kNodes_jso... | 45.046997 | 142 | 0.57619 | 1,855 | 17,253 | 5.321833 | 0.095957 | 0.050648 | 0.020057 | 0.028971 | 0.93284 | 0.902249 | 0.880369 | 0.85393 | 0.849676 | 0.845827 | 0 | 0.015621 | 0.280183 | 17,253 | 382 | 143 | 45.164921 | 0.77929 | 0.075117 | 0 | 0.776758 | 0 | 0.018349 | 0.205204 | 0.063824 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030581 | false | 0.076453 | 0.021407 | 0 | 0.055046 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
14d3a517fa2fe056b31e1803138f147d60fa5266 | 9,047 | py | Python | app/account/tests/test_auth_api.py | bondeveloper/maischool | 16bf2afe99d26caa067b7912e88839639cf2191e | [
"MIT"
] | null | null | null | app/account/tests/test_auth_api.py | bondeveloper/maischool | 16bf2afe99d26caa067b7912e88839639cf2191e | [
"MIT"
] | null | null | null | app/account/tests/test_auth_api.py | bondeveloper/maischool | 16bf2afe99d26caa067b7912e88839639cf2191e | [
"MIT"
] | null | null | null | from django.test import TestCase
from django.contrib.auth import get_user_model
from rest_framework.test import APIClient
from rest_framework import status
class TestAuthApi(TestCase):
# if anyones knows how to reverse this path, feel free to make edits
reg_url = '/api/v1/accounts/auth/registratio... | 38.012605 | 79 | 0.570244 | 962 | 9,047 | 5.189189 | 0.122661 | 0.051883 | 0.083734 | 0.089744 | 0.856571 | 0.844551 | 0.842949 | 0.832131 | 0.820913 | 0.771635 | 0 | 0.013252 | 0.291036 | 9,047 | 237 | 80 | 38.172996 | 0.765045 | 0.007295 | 0 | 0.649485 | 0 | 0 | 0.209105 | 0.056166 | 0 | 0 | 0 | 0 | 0.252577 | 1 | 0.06701 | false | 0.159794 | 0.020619 | 0 | 0.108247 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
016b06590fc443cb25a2955e4faf9f16bc4cad6e | 680 | py | Python | statistical/pdfs.py | Jav1d/Generative_Models | b7578b5277488ebd212a50d1c22a5c9708f4c311 | [
"MIT"
] | null | null | null | statistical/pdfs.py | Jav1d/Generative_Models | b7578b5277488ebd212a50d1c22a5c9708f4c311 | [
"MIT"
] | null | null | null | statistical/pdfs.py | Jav1d/Generative_Models | b7578b5277488ebd212a50d1c22a5c9708f4c311 | [
"MIT"
] | null | null | null | import tensorflow as tf
import tensorflow_probability as tfp
def log_normal_pdf(sample, mean, logvariance):
dist = tfp.distributions.Normal(loc=mean, scale=tf.sqrt(tf.exp(logvariance)))
return tf.identity(dist.log_prob(value=sample), name='logpdf')
def log_Student_df1_pdf(sample, mean, logvariance):
dist ... | 48.571429 | 91 | 0.758824 | 103 | 680 | 4.893204 | 0.320388 | 0.035714 | 0.077381 | 0.142857 | 0.84127 | 0.84127 | 0.84127 | 0.753968 | 0.753968 | 0.539683 | 0 | 0.00982 | 0.101471 | 680 | 14 | 92 | 48.571429 | 0.815057 | 0 | 0 | 0.272727 | 0 | 0 | 0.026432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
6d90be0fd8d2a689ea2721d9f34a54995ddfdd04 | 72,982 | py | Python | session.py | MicroXY/database-hard-demo | 034ee2cb3044c55bb9df29b443255d624520cb6f | [
"MIT"
] | null | null | null | session.py | MicroXY/database-hard-demo | 034ee2cb3044c55bb9df29b443255d624520cb6f | [
"MIT"
] | null | null | null | session.py | MicroXY/database-hard-demo | 034ee2cb3044c55bb9df29b443255d624520cb6f | [
"MIT"
] | null | null | null | from login_form import LoginForm
from login_form import RegisterForm
from login_form import SecrityForm
from flask_wtf.csrf import CSRFProtect
from werkzeug.security import generate_password_hash
from user import User,send_email
from flask_login import login_user, login_required
from flask_login import LoginMana... | 52.694585 | 781 | 0.598833 | 8,775 | 72,982 | 4.796923 | 0.047977 | 0.040909 | 0.057967 | 0.053311 | 0.846269 | 0.819329 | 0.796356 | 0.767681 | 0.747393 | 0.720927 | 0 | 0.008823 | 0.268532 | 72,982 | 1,384 | 782 | 52.732659 | 0.779672 | 0.046916 | 0 | 0.673667 | 1 | 0.028271 | 0.276479 | 0.130097 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019386 | false | 0.023425 | 0.025848 | 0.000808 | 0.155897 | 0.002423 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
0965d46c9eafc76879381bdbbdc82e89963c6a13 | 105 | py | Python | views.py | half2me/gst-web | 1418d4fa3c11aab91296ce28a17dabcdd29b76c1 | [
"MIT"
] | 1 | 2020-11-17T09:08:24.000Z | 2020-11-17T09:08:24.000Z | views.py | half2me/gst-web | 1418d4fa3c11aab91296ce28a17dabcdd29b76c1 | [
"MIT"
] | null | null | null | views.py | half2me/gst-web | 1418d4fa3c11aab91296ce28a17dabcdd29b76c1 | [
"MIT"
] | 1 | 2020-11-17T09:08:26.000Z | 2020-11-17T09:08:26.000Z | from aiohttp import web
from aiohttp.web import Application
def setup_view(app: Application):
pass
| 15 | 35 | 0.780952 | 15 | 105 | 5.4 | 0.666667 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 105 | 6 | 36 | 17.5 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
09b5cec93790bf62fd21ef460334e67d05dcfa27 | 16,932 | py | Python | tests/test_producer.py | tannguyen1295/WebsitesMonitoring | 0e25d34ce7609d2ca71e39854bd41521554c00c6 | [
"Apache-2.0"
] | 1 | 2022-02-21T12:48:21.000Z | 2022-02-21T12:48:21.000Z | tests/test_producer.py | tannguyen1295/WebsitesMonitoring | 0e25d34ce7609d2ca71e39854bd41521554c00c6 | [
"Apache-2.0"
] | null | null | null | tests/test_producer.py | tannguyen1295/WebsitesMonitoring | 0e25d34ce7609d2ca71e39854bd41521554c00c6 | [
"Apache-2.0"
] | null | null | null | import unittest
import datetime
from unittest import mock
from lib.producer import Producer
class TestWebsiteChecker(unittest.TestCase):
def setUp(self):
self.configs = {
"kafka_general": '''{
"service_uri": "",
"ca_path": "",
"cert_path": "",
... | 38.221219 | 101 | 0.507973 | 1,668 | 16,932 | 4.797362 | 0.072542 | 0.07998 | 0.056986 | 0.094976 | 0.904649 | 0.90015 | 0.90015 | 0.896026 | 0.870657 | 0.865409 | 0 | 0.070976 | 0.384243 | 16,932 | 442 | 102 | 38.307692 | 0.696528 | 0.004489 | 0 | 0.757033 | 0 | 0 | 0.211985 | 0.023257 | 0 | 0 | 0 | 0 | 0.017903 | 1 | 0.023018 | false | 0 | 0.01023 | 0 | 0.035806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
61fc132c1d80986b0b7011b1d49bcc32365669b4 | 1,108 | py | Python | processor/_load_intraday.py | WencaiZheng/TwitterAnalysisWithEarnings | 0e085e59353eb570d34b9f3034433b5657644916 | [
"MIT"
] | 4 | 2020-06-29T19:47:07.000Z | 2021-04-22T03:04:31.000Z | processor/_load_intraday.py | WencaiZheng/TwitterAnalysisWithEarnings | 0e085e59353eb570d34b9f3034433b5657644916 | [
"MIT"
] | null | null | null | processor/_load_intraday.py | WencaiZheng/TwitterAnalysisWithEarnings | 0e085e59353eb570d34b9f3034433b5657644916 | [
"MIT"
] | 2 | 2020-05-30T01:57:41.000Z | 2020-09-11T11:07:27.000Z |
import pandas as pd
save_path = 'data\\stock_data\\'
def get_hourly_price(ticker):
# intraday data from wrds TAQ
print(f"Processing intraday price for {ticker}")
stock_price = pd.read_csv(f'{save_path}{ticker}.csv')
stock_price = stock_price[stock_price.SYM_SUFFIX.isna()]
stock_price.index = pd.t... | 41.037037 | 107 | 0.708484 | 166 | 1,108 | 4.487952 | 0.295181 | 0.241611 | 0.080537 | 0.107383 | 0.826846 | 0.759732 | 0.759732 | 0.759732 | 0.759732 | 0.638926 | 0 | 0.005297 | 0.148014 | 1,108 | 27 | 108 | 41.037037 | 0.783898 | 0.128159 | 0 | 0.444444 | 0 | 0 | 0.170833 | 0.047917 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.055556 | 0 | 0.277778 | 0.111111 | 0 | 0 | 0 | null | 1 | 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 | 7 |
110775727526137e5f9af7a85619f6e268b9cdbd | 5,008 | py | Python | maskrcnn_benchmark/data/datasets/mixup.py | microsoft/GLIP | fd52c6361f013e70ae7682d90b3ab3ca2bd5e6bc | [
"MIT"
] | 295 | 2021-12-08T02:22:27.000Z | 2022-03-31T22:27:10.000Z | maskrcnn_benchmark/data/datasets/mixup.py | microsoft/GLIP | fd52c6361f013e70ae7682d90b3ab3ca2bd5e6bc | [
"MIT"
] | 1 | 2021-12-14T08:09:13.000Z | 2022-03-17T03:53:19.000Z | maskrcnn_benchmark/data/datasets/mixup.py | microsoft/GLIP | fd52c6361f013e70ae7682d90b3ab3ca2bd5e6bc | [
"MIT"
] | 9 | 2021-12-09T00:33:25.000Z | 2022-03-17T11:57:42.000Z | """Mixup detection dataset wrapper."""
from __future__ import absolute_import
import numpy as np
import torch
import torch.utils.data as data
class MixupDetection(data.Dataset):
"""Detection dataset wrapper that performs mixup for normal dataset.
Parameters
----------
dataset : mx.gluon.dat... | 40.064 | 93 | 0.589457 | 662 | 5,008 | 4.294562 | 0.170695 | 0.033767 | 0.025325 | 0.025325 | 0.821667 | 0.821667 | 0.821667 | 0.821667 | 0.763982 | 0.763982 | 0 | 0.033765 | 0.290335 | 5,008 | 124 | 94 | 40.387097 | 0.766179 | 0.196086 | 0 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.053333 | 0.013333 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1160ab753e9d3b321e08767d2e36bfc9563a0c01 | 46 | py | Python | lf3py/i18n/__init__.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | null | null | null | lf3py/i18n/__init__.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | 48 | 2020-12-19T13:47:26.000Z | 2021-01-07T22:27:56.000Z | lf3py/i18n/__init__.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | null | null | null | from lf3py.i18n.i18n import I18n # noqa F401
| 23 | 45 | 0.76087 | 8 | 46 | 4.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0.173913 | 46 | 1 | 46 | 46 | 0.657895 | 0.195652 | 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 | 1 | 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 | 7 |
fecbb2dd06f2428ce913b67df269d56c82845228 | 6,549 | py | Python | src/cr/sparse/_src/pursuit/sp.py | carnot-shailesh/cr-sparse | 989ebead8a8ac37ade643093e1caa31ae2a3eda1 | [
"Apache-2.0"
] | 42 | 2021-06-11T17:11:29.000Z | 2022-03-29T11:51:44.000Z | src/cr/sparse/_src/pursuit/sp.py | carnot-shailesh/cr-sparse | 989ebead8a8ac37ade643093e1caa31ae2a3eda1 | [
"Apache-2.0"
] | 19 | 2021-06-04T11:36:11.000Z | 2022-01-22T20:13:39.000Z | src/cr/sparse/_src/pursuit/sp.py | carnot-shailesh/cr-sparse | 989ebead8a8ac37ade643093e1caa31ae2a3eda1 | [
"Apache-2.0"
] | 5 | 2021-11-21T21:01:11.000Z | 2022-02-28T07:20:03.000Z | # Copyright 2021 CR.Sparse Development Team
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | 37.855491 | 124 | 0.64758 | 1,025 | 6,549 | 3.96878 | 0.181463 | 0.037856 | 0.035398 | 0.017699 | 0.812684 | 0.812684 | 0.812684 | 0.79351 | 0.79351 | 0.79351 | 0 | 0.008414 | 0.274088 | 6,549 | 172 | 125 | 38.075581 | 0.847287 | 0.442968 | 0 | 0.769231 | 0 | 0 | 0.017372 | 0 | 0 | 0 | 0 | 0.011628 | 0 | 1 | 0.102564 | false | 0 | 0.051282 | 0 | 0.25641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fed1bf6c9fbcbc3b09508c88b29ec39d21f5f517 | 63 | py | Python | problem_016.py | wurfkeks/project-euler | 782c459546ae0d98ce20ce0bbcde3fed3adaab06 | [
"Unlicense"
] | null | null | null | problem_016.py | wurfkeks/project-euler | 782c459546ae0d98ce20ce0bbcde3fed3adaab06 | [
"Unlicense"
] | null | null | null | problem_016.py | wurfkeks/project-euler | 782c459546ae0d98ce20ce0bbcde3fed3adaab06 | [
"Unlicense"
] | null | null | null | a=2**1000
b=0
while a > 0:
b += (a%10)
a /= 10
print b
| 9 | 15 | 0.444444 | 15 | 63 | 1.866667 | 0.533333 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268293 | 0.349206 | 63 | 6 | 16 | 10.5 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
feef6a713f1ab0535e375a743efab2334bb93bce | 2,690 | py | Python | SPIWork/Server/NaiveScoreMS/apps/users/models.py | happylrd/buptsse-workbooks | 0c98d5b475abdabd47bb9f406d32f60d49cddfa7 | [
"MIT"
] | null | null | null | SPIWork/Server/NaiveScoreMS/apps/users/models.py | happylrd/buptsse-workbooks | 0c98d5b475abdabd47bb9f406d32f60d49cddfa7 | [
"MIT"
] | null | null | null | SPIWork/Server/NaiveScoreMS/apps/users/models.py | happylrd/buptsse-workbooks | 0c98d5b475abdabd47bb9f406d32f60d49cddfa7 | [
"MIT"
] | null | null | null | # coding=utf-8
from __future__ import unicode_literals
from datetime import datetime
from django.db import models
from django.contrib.auth.models import AbstractUser
class Student(models.Model):
username = models.CharField(max_length=30, unique=True, verbose_name='用户名')
password = models.CharField(max_length... | 42.698413 | 116 | 0.686989 | 340 | 2,690 | 5.223529 | 0.238235 | 0.198198 | 0.162162 | 0.216216 | 0.841216 | 0.826577 | 0.826577 | 0.826577 | 0.826577 | 0.826577 | 0 | 0.016253 | 0.17658 | 2,690 | 62 | 117 | 43.387097 | 0.785553 | 0.004461 | 0 | 0.75 | 0 | 0 | 0.049327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.041667 | 0.083333 | 0.0625 | 0.8125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 9 |
feefcdbeee0c0675cc4ee42d7110ffbb2e893480 | 1,391 | py | Python | Questionnaire/migrations/0002_auto_20200720_1100.py | AdityaKapoor74/Supervised_Categorization_Study | 1ce29de95c8ccc2b848e2d06463719858e57b942 | [
"MIT"
] | null | null | null | Questionnaire/migrations/0002_auto_20200720_1100.py | AdityaKapoor74/Supervised_Categorization_Study | 1ce29de95c8ccc2b848e2d06463719858e57b942 | [
"MIT"
] | null | null | null | Questionnaire/migrations/0002_auto_20200720_1100.py | AdityaKapoor74/Supervised_Categorization_Study | 1ce29de95c8ccc2b848e2d06463719858e57b942 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.2 on 2020-07-20 11:00
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('Questionnaire', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='userresponse_common_features_test_set1',
... | 27.82 | 64 | 0.581596 | 124 | 1,391 | 6.16129 | 0.290323 | 0.247382 | 0.306283 | 0.353403 | 0.793194 | 0.793194 | 0.793194 | 0.793194 | 0.719895 | 0.719895 | 0 | 0.029724 | 0.322789 | 1,391 | 49 | 65 | 28.387755 | 0.781316 | 0.032351 | 0 | 0.627907 | 1 | 0 | 0.280506 | 0.19494 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023256 | 0 | 0.093023 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 9 |
28c4185407075760c300d3e5130965f9191c1183 | 450 | py | Python | asreview/entry_points/__init__.py | J535D165/asreview | eda3c52a595d739093c3cd6cd37d41eeed6dd15c | [
"Apache-2.0"
] | null | null | null | asreview/entry_points/__init__.py | J535D165/asreview | eda3c52a595d739093c3cd6cd37d41eeed6dd15c | [
"Apache-2.0"
] | null | null | null | asreview/entry_points/__init__.py | J535D165/asreview | eda3c52a595d739093c3cd6cd37d41eeed6dd15c | [
"Apache-2.0"
] | null | null | null | from asreview.entry_points.algorithms import AlgorithmsEntryPoint
from asreview.entry_points.base import BaseEntryPoint
from asreview.entry_points.lab import LABEntryPoint
from asreview.entry_points.lab import OracleEntryPoint
from asreview.entry_points.lab import WebRunModelEntryPoint
from asreview.entry_points.simula... | 45 | 65 | 0.877778 | 54 | 450 | 7.185185 | 0.333333 | 0.226804 | 0.306701 | 0.414948 | 0.438144 | 0.438144 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075556 | 450 | 9 | 66 | 50 | 0.932692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
28eea53e87ee57c71562b671f25291e2db9bc259 | 32,287 | py | Python | source/deepsecurity/api/stateful_configurations_api.py | felipecosta09/cloudone-workload-controltower-lifecycle | 7927c84d164058b034fc872701b5ee117641f4d1 | [
"Apache-2.0"
] | 1 | 2021-10-30T16:40:09.000Z | 2021-10-30T16:40:09.000Z | source/deepsecurity/api/stateful_configurations_api.py | felipecosta09/cloudone-workload-controltower-lifecycle | 7927c84d164058b034fc872701b5ee117641f4d1 | [
"Apache-2.0"
] | 1 | 2021-07-28T20:19:03.000Z | 2021-07-28T20:19:03.000Z | source/deepsecurity/api/stateful_configurations_api.py | felipecosta09/cloudone-workload-controltower-lifecycle | 7927c84d164058b034fc872701b5ee117641f4d1 | [
"Apache-2.0"
] | 1 | 2021-10-30T16:40:02.000Z | 2021-10-30T16:40:02.000Z | # coding: utf-8
"""
Trend Micro Deep Security API
Copyright 2018 - 2020 Trend Micro Incorporated.<br/>Get protected, stay secured, and keep informed with Trend Micro Deep Security's new RESTful API. Access system data and manage security configurations to automate your security workflows and integrate De... | 47.55081 | 311 | 0.641311 | 3,531 | 32,287 | 5.607477 | 0.058624 | 0.143182 | 0.062727 | 0.024242 | 0.953636 | 0.949091 | 0.940556 | 0.928737 | 0.924394 | 0.918182 | 0 | 0.015163 | 0.278936 | 32,287 | 678 | 312 | 47.620944 | 0.835316 | 0.33481 | 0 | 0.781421 | 0 | 0 | 0.257573 | 0.128838 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035519 | false | 0 | 0.010929 | 0 | 0.098361 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3a9e4992e042a97847f613df548a5782a3276fc9 | 137 | py | Python | catalyst/contrib/models/nlp/__init__.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 2 | 2019-04-19T21:34:31.000Z | 2019-05-02T22:50:25.000Z | catalyst/contrib/models/nlp/__init__.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 1 | 2021-01-07T16:13:45.000Z | 2021-01-21T09:27:54.000Z | catalyst/contrib/models/nlp/__init__.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 1 | 2020-12-02T18:42:31.000Z | 2020-12-02T18:42:31.000Z | # flake8: noqa
from catalyst.contrib.models.nlp.encoders import *
from catalyst.contrib.models.nlp.classification import BertClassifier
| 27.4 | 69 | 0.832117 | 17 | 137 | 6.705882 | 0.647059 | 0.210526 | 0.333333 | 0.438596 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.087591 | 137 | 4 | 70 | 34.25 | 0.904 | 0.087591 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
3af69acfc20c476a8d19b9ab5edbc1c708c9fb3f | 40 | py | Python | tests/testimport.py | sglumac/pyislands | a5eaceb68a0f21bd8bc8586fdf8cf0d9b7a0134f | [
"MIT"
] | null | null | null | tests/testimport.py | sglumac/pyislands | a5eaceb68a0f21bd8bc8586fdf8cf0d9b7a0134f | [
"MIT"
] | null | null | null | tests/testimport.py | sglumac/pyislands | a5eaceb68a0f21bd8bc8586fdf8cf0d9b7a0134f | [
"MIT"
] | null | null | null | def test_import():
import pyislands
| 13.333333 | 20 | 0.725 | 5 | 40 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 21 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.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 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
aaf4166637d18349fdba991f2bc8623269a574c9 | 8,324 | py | Python | tests/test_misc_test_utils.py | CuriBio/misc-test-utils | 276eec2d74cf8f7cd699092b4f93644e9325965f | [
"MIT"
] | null | null | null | tests/test_misc_test_utils.py | CuriBio/misc-test-utils | 276eec2d74cf8f7cd699092b4f93644e9325965f | [
"MIT"
] | 23 | 2020-08-15T00:41:17.000Z | 2022-03-30T12:03:08.000Z | tests/test_misc_test_utils.py | CuriBio/misc-test-utils | 276eec2d74cf8f7cd699092b4f93644e9325965f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import uuid
import domain_model
from domain_model import DomainModel
from domain_model import DomainModelWithUuid
from misc_test_utils import copy_dict_with_key_removed
from misc_test_utils import domain_model_validate_internals_test
from misc_test_utils import domain_model_validation_test
from... | 33.429719 | 126 | 0.735704 | 953 | 8,324 | 5.943337 | 0.086044 | 0.091278 | 0.064972 | 0.074153 | 0.952507 | 0.938559 | 0.928143 | 0.899718 | 0.899718 | 0.899718 | 0 | 0.038104 | 0.186569 | 8,324 | 248 | 127 | 33.564516 | 0.798405 | 0.002523 | 0 | 0.728972 | 0 | 0 | 0.089869 | 0.052042 | 0 | 0 | 0 | 0 | 0.098131 | 1 | 0.074766 | false | 0.009346 | 0.042056 | 0 | 0.116822 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c923ca4bb935bd96e10f420bc13c389130821a98 | 164 | py | Python | src/wandb_allennlp/versioned.py | mfa/wandb-allennlp | 29ebba81cdbd83653350d00911c4a54d8da9def1 | [
"MIT"
] | 22 | 2020-03-28T10:28:26.000Z | 2022-02-17T12:31:17.000Z | src/wandb_allennlp/versioned.py | mfa/wandb-allennlp | 29ebba81cdbd83653350d00911c4a54d8da9def1 | [
"MIT"
] | 14 | 2020-03-21T17:04:40.000Z | 2021-09-27T10:11:19.000Z | src/wandb_allennlp/versioned.py | mfa/wandb-allennlp | 29ebba81cdbd83653350d00911c4a54d8da9def1 | [
"MIT"
] | 4 | 2020-04-18T10:33:34.000Z | 2021-02-02T11:57:28.000Z | import allennlp
if int(allennlp.version._MAJOR) >= 1:
from allennlp.__main__ import run as allennlp_run
else:
from allennlp.run import run as allennlp_run
| 23.428571 | 53 | 0.768293 | 25 | 164 | 4.76 | 0.48 | 0.277311 | 0.184874 | 0.319328 | 0.369748 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.170732 | 164 | 6 | 54 | 27.333333 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
6e5cc99026b3a3933c01856815ccfff6104b13d0 | 2,943 | py | Python | crawler/url_crawler.py | ltthacker/bdi_final | d2758cc00670d0f2eae3f468f36731a25e9a30bc | [
"MIT"
] | null | null | null | crawler/url_crawler.py | ltthacker/bdi_final | d2758cc00670d0f2eae3f468f36731a25e9a30bc | [
"MIT"
] | null | null | null | crawler/url_crawler.py | ltthacker/bdi_final | d2758cc00670d0f2eae3f468f36731a25e9a30bc | [
"MIT"
] | null | null | null | from . import util
import random
class URLCrawlerBaomoi:
done = []
queue = []
start_urls = []
def __init__(self):
self.set_start_urls()
self.browser = util.Browser()
def set_start_urls(self):
for i in range(1, 2):
url = 'https://baomoi.com/phong-chong-dich-cov... | 30.030612 | 94 | 0.526673 | 372 | 2,943 | 4.02957 | 0.19086 | 0.09006 | 0.048032 | 0.058706 | 0.905937 | 0.897265 | 0.897265 | 0.897265 | 0.897265 | 0.8499 | 0 | 0.010532 | 0.38702 | 2,943 | 97 | 95 | 30.340206 | 0.820399 | 0.090724 | 0 | 0.915493 | 0 | 0.014085 | 0.042011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.140845 | false | 0 | 0.028169 | 0 | 0.28169 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6e8e96a15717abdceb21d12b5e7170ef234fdfb0 | 5,343 | py | Python | tests/test_jc_api_v1.py | thomasyu888/jccli | ad6d127f6cc3ee660740b57e1450e34e3eedd10f | [
"Apache-2.0"
] | 1 | 2020-05-13T18:52:06.000Z | 2020-05-13T18:52:06.000Z | tests/test_jc_api_v1.py | thomasyu888/jccli | ad6d127f6cc3ee660740b57e1450e34e3eedd10f | [
"Apache-2.0"
] | null | null | null | tests/test_jc_api_v1.py | thomasyu888/jccli | ad6d127f6cc3ee660740b57e1450e34e3eedd10f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
.. currentmodule:: test_jc_api_v1
.. moduleauthor:: zaro0508 <zaro0508@gmail.com>
This is the test module for the project's JC API V1 module.
"""
# fmt: off
import pytest
import jcapiv1
# fmt: on
from mock import MagicMock, patch, sentinel
from jccli.jc_api_v1 import... | 35.151316 | 87 | 0.551001 | 503 | 5,343 | 5.568588 | 0.308151 | 0.034273 | 0.032131 | 0.039986 | 0.794716 | 0.777579 | 0.777579 | 0.777579 | 0.777579 | 0.777579 | 0 | 0.051782 | 0.327719 | 5,343 | 151 | 88 | 35.384106 | 0.728007 | 0.037806 | 0 | 0.80916 | 0 | 0 | 0.304678 | 0.071345 | 0 | 0 | 0 | 0 | 0.015267 | 1 | 0.045802 | false | 0.076336 | 0.038168 | 0 | 0.091603 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
6e97500709dbab16fb378ce004ba82cf90635cf4 | 3,625 | py | Python | 2018/day_09/python/day09.py | josephroquedev/advent-of-code | bb217deb7a5f5ed5c8c04cb726ddadb5b042ee4d | [
"MIT"
] | null | null | null | 2018/day_09/python/day09.py | josephroquedev/advent-of-code | bb217deb7a5f5ed5c8c04cb726ddadb5b042ee4d | [
"MIT"
] | 2 | 2021-06-02T00:41:38.000Z | 2021-11-30T10:05:29.000Z | 2018/day_09/python/day09.py | autoreleasefool/advent-of-code | bb217deb7a5f5ed5c8c04cb726ddadb5b042ee4d | [
"MIT"
] | null | null | null | from aoc import AOC
from collections import defaultdict
aoc = AOC(year=2018, day=9)
data = aoc.load()
## Part 1
class Marble:
def __init__(self, value):
self.value = value
self.clockwise = None
self.counterclockwise = None
def __repr__(self):
return "{}, ({}, {})".format(
... | 30.208333 | 77 | 0.731034 | 422 | 3,625 | 5.945498 | 0.135071 | 0.129534 | 0.093264 | 0.074133 | 0.914707 | 0.914707 | 0.914707 | 0.914707 | 0.914707 | 0.914707 | 0 | 0.011921 | 0.190069 | 3,625 | 119 | 78 | 30.462185 | 0.842643 | 0.003586 | 0 | 0.873563 | 0 | 0 | 0.006654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.022989 | 0.022989 | 0.16092 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
42dd51dd201e9ad841926ba555c96e43c365fba3 | 2,880 | py | Python | venv/Lib/site-packages/docutils/parsers/rst/include/isogrk3.txt.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | venv/Lib/site-packages/docutils/parsers/rst/include/isogrk3.txt.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | venv/Lib/site-packages/docutils/parsers/rst/include/isogrk3.txt.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | XX XXXX XXXX XXXX XXX XXXX XXXXXX XX XXX XXXXXX XXXXXXX
XX XXXXXXX XXXX XXX XXXXXXX XXXXXXXXX XXXXXXXX XXXXXXXXX XXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXX XX XXXXXXXXXXXXXXXXXXX XXXX XX XXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XX XXXXXXX XXXXXXXXX XXXXXXX XX XXXXX XXXXX XXXXXX XXXXX
XX XXXXX... | 54.339623 | 63 | 0.815972 | 437 | 2,880 | 5.377574 | 0.025172 | 0.16383 | 0.28 | 0.450213 | 0.901277 | 0.898298 | 0.877447 | 0.862979 | 0.816596 | 0.756596 | 0 | 0 | 0.184028 | 2,880 | 52 | 64 | 55.384615 | 1 | 0 | 0 | 0.901961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
6e0e391d778e3aeca11fa6add1f2210b172fbfa9 | 3,466 | py | Python | application/migrations/0046_auto_20201014_1400.py | City-of-Helsinki/events-helsinki-cms | 64e4c1ce6cc058fb3783e417560dc244bd753d05 | [
"MIT"
] | 2 | 2020-04-20T05:37:28.000Z | 2021-02-19T10:33:45.000Z | application/migrations/0046_auto_20201014_1400.py | City-of-Helsinki/events-helsinki-cms | 64e4c1ce6cc058fb3783e417560dc244bd753d05 | [
"MIT"
] | 6 | 2020-02-12T12:55:37.000Z | 2021-03-30T12:56:28.000Z | application/migrations/0046_auto_20201014_1400.py | City-of-Helsinki/events-helsinki-cms | 64e4c1ce6cc058fb3783e417560dc244bd753d05 | [
"MIT"
] | 1 | 2021-02-18T12:11:18.000Z | 2021-02-18T12:11:18.000Z | # Generated by Django 2.2.9 on 2020-10-14 14:00
from django.db import migrations
import wagtail.core.blocks
import wagtail.core.fields
class Migration(migrations.Migration):
dependencies = [
('application', '0045_auto_20200924_0921'),
]
operations = [
migrations.AddField(
mo... | 45.605263 | 153 | 0.625505 | 360 | 3,466 | 5.880556 | 0.125 | 0.135097 | 0.104393 | 0.153047 | 0.908361 | 0.908361 | 0.908361 | 0.826169 | 0.826169 | 0.826169 | 0 | 0.011632 | 0.231102 | 3,466 | 75 | 154 | 46.213333 | 0.782739 | 0.012983 | 0 | 0.869565 | 1 | 0 | 0.168763 | 0.006727 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
2811c576c56ceab1a86517999c7e291553462fd2 | 78 | py | Python | binary/serializers/__init__.py | tomgrin10/binary-core | 12d27663b94daa3f50bd1fa4b652dde441db7609 | [
"MIT"
] | 1 | 2020-08-15T17:05:04.000Z | 2020-08-15T17:05:04.000Z | binary/serializers/__init__.py | tomgrin10/binary-core | 12d27663b94daa3f50bd1fa4b652dde441db7609 | [
"MIT"
] | 1 | 2020-04-30T00:02:19.000Z | 2020-04-30T00:08:21.000Z | binary/serializers/__init__.py | tomgrin10/binary-core | 12d27663b94daa3f50bd1fa4b652dde441db7609 | [
"MIT"
] | null | null | null | from binary.serializers.base import *
from binary.serializers.ctypes import *
| 26 | 39 | 0.820513 | 10 | 78 | 6.4 | 0.6 | 0.3125 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 40 | 39 | 0.914286 | 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 | 1 | 0 | 0 | 7 |
284af86794755bad978b8216c26b046d5b72800e | 150 | py | Python | app/routes.py | waqas4afzal/jaami_e8051 | 786d0f282d7b835f6e23b7015e588e70bd2b1c1f | [
"MIT"
] | null | null | null | app/routes.py | waqas4afzal/jaami_e8051 | 786d0f282d7b835f6e23b7015e588e70bd2b1c1f | [
"MIT"
] | null | null | null | app/routes.py | waqas4afzal/jaami_e8051 | 786d0f282d7b835f6e23b7015e588e70bd2b1c1f | [
"MIT"
] | null | null | null | from flask import render_template
from app import app
@app.route('/')
@app.route('/index')
def index():
return render_template('صفحہ_جامع.html') | 18.75 | 44 | 0.726667 | 22 | 150 | 4.818182 | 0.590909 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126667 | 150 | 8 | 44 | 18.75 | 0.80916 | 0 | 0 | 0 | 0 | 0 | 0.139073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 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 | 1 | 1 | 0 | 0 | 7 |
28740823563efca62e67667b1ad1f848c2da4d32 | 106 | py | Python | hmlf/algorithms/ssac/__init__.py | lorenzob123/HMLF | 3577c61b8f2bae7959de81dfd3981c3a8e26d8b6 | [
"MIT"
] | 1 | 2021-05-05T05:59:55.000Z | 2021-05-05T05:59:55.000Z | hmlf/algorithms/ssac/__init__.py | lorenzob123/HMLF | 3577c61b8f2bae7959de81dfd3981c3a8e26d8b6 | [
"MIT"
] | 1 | 2021-05-18T07:51:46.000Z | 2021-05-18T07:51:46.000Z | hmlf/algorithms/ssac/__init__.py | lorenzob123/HMLF | 3577c61b8f2bae7959de81dfd3981c3a8e26d8b6 | [
"MIT"
] | null | null | null | from hmlf.algorithms.ssac.policies import CnnPolicy, MlpPolicy
from hmlf.algorithms.ssac.ssac import SSAC
| 35.333333 | 62 | 0.849057 | 15 | 106 | 6 | 0.533333 | 0.177778 | 0.4 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 106 | 2 | 63 | 53 | 0.927835 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
955edaa5b4c9a9f4ff20167ee3cc2244db8cd5f8 | 11,395 | py | Python | tests/test_preference_relation.py | jakub-tomczak/ror | cf9ab38a2d66f4816a1289b9726911960059fce7 | [
"MIT"
] | null | null | null | tests/test_preference_relation.py | jakub-tomczak/ror | cf9ab38a2d66f4816a1289b9726911960059fce7 | [
"MIT"
] | null | null | null | tests/test_preference_relation.py | jakub-tomczak/ror | cf9ab38a2d66f4816a1289b9726911960059fce7 | [
"MIT"
] | null | null | null | from ror.data_loader import read_dataset_from_txt
import unittest
from ror.PreferenceRelations import PreferenceRelation
from ror.Relation import INDIFFERENCE, PREFERENCE, Relation, WEAK_PREFERENCE
class TestPreferenceRelations(unittest.TestCase):
def test_creating_preference_invalid_alpha(self):
with sel... | 46.321138 | 88 | 0.659939 | 1,188 | 11,395 | 6.074916 | 0.078283 | 0.193986 | 0.104476 | 0.147707 | 0.921436 | 0.909658 | 0.89109 | 0.874602 | 0.865595 | 0.865595 | 0 | 0.029179 | 0.236068 | 11,395 | 245 | 89 | 46.510204 | 0.799885 | 0.05871 | 0 | 0.787565 | 0 | 0 | 0.113134 | 0.038458 | 0 | 0 | 0 | 0 | 0.373057 | 1 | 0.046632 | false | 0 | 0.020725 | 0 | 0.072539 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
95adb0c79590e224577121b656d3880d7b3944f1 | 88 | py | Python | Package/myfitness/summary/__init__.py | lizawood/Apple-Health-Fitness-Tracker | 2129e2531a8bd4609e2fca8115ee7727da26c934 | [
"MIT"
] | null | null | null | Package/myfitness/summary/__init__.py | lizawood/Apple-Health-Fitness-Tracker | 2129e2531a8bd4609e2fca8115ee7727da26c934 | [
"MIT"
] | null | null | null | Package/myfitness/summary/__init__.py | lizawood/Apple-Health-Fitness-Tracker | 2129e2531a8bd4609e2fca8115ee7727da26c934 | [
"MIT"
] | null | null | null | from myfitness.summary import maxmin.getMax
from myfitness.summary import maxmin.getMin
| 29.333333 | 43 | 0.863636 | 12 | 88 | 6.333333 | 0.583333 | 0.342105 | 0.526316 | 0.684211 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
c27e8b92cc53c5685397ec06d26189748c487182 | 331 | py | Python | envs/setup.py | Yvette1993/spinningup | 5094cf291fa24cf93d58b4507dab56dafe73dac1 | [
"MIT"
] | null | null | null | envs/setup.py | Yvette1993/spinningup | 5094cf291fa24cf93d58b4507dab56dafe73dac1 | [
"MIT"
] | null | null | null | envs/setup.py | Yvette1993/spinningup | 5094cf291fa24cf93d58b4507dab56dafe73dac1 | [
"MIT"
] | null | null | null | from setuptools import setup
# setup(name='cell_place_gym', # Secondary directory
# version='0.1',
# install_requires=['gym'] # And any other dependencies foo needs
# )
setup(name='chip_place_gym', # Secondary directory
version='0.1',
#install_requires=['gym'] # And any other dependencies ... | 30.090909 | 72 | 0.679758 | 42 | 331 | 5.214286 | 0.52381 | 0.082192 | 0.155251 | 0.237443 | 0.767123 | 0.767123 | 0.767123 | 0.767123 | 0.767123 | 0.767123 | 0 | 0.015038 | 0.196375 | 331 | 11 | 73 | 30.090909 | 0.808271 | 0.688822 | 0 | 0 | 0 | 0 | 0.180851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c286f7ac9d40e6dc81f5ee8595a5b36af6f69f62 | 49 | py | Python | tests/fixtures/loading/relative_2.py | Thom1729/yaml-macros-engine | f2cbdaf4d4300c842c6a6c954dceb626e3942316 | [
"MIT"
] | null | null | null | tests/fixtures/loading/relative_2.py | Thom1729/yaml-macros-engine | f2cbdaf4d4300c842c6a6c954dceb626e3942316 | [
"MIT"
] | null | null | null | tests/fixtures/loading/relative_2.py | Thom1729/yaml-macros-engine | f2cbdaf4d4300c842c6a6c954dceb626e3942316 | [
"MIT"
] | null | null | null | def relative_2(s):
return 'relative_2: ' + s
| 16.333333 | 29 | 0.632653 | 8 | 49 | 3.625 | 0.625 | 0.62069 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.22449 | 49 | 2 | 30 | 24.5 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
c2acbf82214b6cbf47a7b01a0699bd91c7d3b3ea | 3,086 | py | Python | hw1/sudoku_core.py | D-denHeijer/KRR-course | f22dea3e68f57afceabd0402e6facbeb31b25208 | [
"MIT"
] | 1 | 2022-01-24T15:17:53.000Z | 2022-01-24T15:17:53.000Z | hw1/sudoku_core.py | D-denHeijer/KRR-course | f22dea3e68f57afceabd0402e6facbeb31b25208 | [
"MIT"
] | 1 | 2020-06-01T12:27:52.000Z | 2020-06-02T04:21:44.000Z | hw1/sudoku_core.py | D-denHeijer/KRR-course | f22dea3e68f57afceabd0402e6facbeb31b25208 | [
"MIT"
] | 23 | 2020-06-01T09:53:23.000Z | 2021-02-25T15:09:27.000Z | def propagate(sudoku_possible_values,k):
"""
Carry out constraint propagation (as part of a backtracking search algorithm for solving a sudoku input), by removing possible values for some cells based on the remaining possible values for other cells.
Parameters:
sudoku_possible_values (list(list(lis... | 37.634146 | 208 | 0.701879 | 475 | 3,086 | 4.526316 | 0.176842 | 0.097209 | 0.051163 | 0.032558 | 0.727442 | 0.727442 | 0.727442 | 0.727442 | 0.727442 | 0.727442 | 0 | 0.001691 | 0.233312 | 3,086 | 81 | 209 | 38.098765 | 0.907016 | 0.83895 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
c2b512ebc117b7128d2c7a8aee76c5e95a25fa8b | 3,350 | py | Python | tests/test_word_similarity.py | lucasns97/word_ps | a048e2ca573f8cda2dc5466f6daf7fbb46b69e64 | [
"MIT"
] | null | null | null | tests/test_word_similarity.py | lucasns97/word_ps | a048e2ca573f8cda2dc5466f6daf7fbb46b69e64 | [
"MIT"
] | null | null | null | tests/test_word_similarity.py | lucasns97/word_ps | a048e2ca573f8cda2dc5466f6daf7fbb46b69e64 | [
"MIT"
] | null | null | null | # Word PS: Test Wird Similarity
#
# Author: Lucas Nunes Sequeira <lucasnseq@gmail.com>
# URL: <https://github.com/lucasns97/word_ps>
# For license information, see LICENSE
from unittest import TestCase
from word_ps.word_similarity import weighted_similarity, ngrams_weighted_similarity
class TestWordSimilarity(TestCa... | 38.505747 | 92 | 0.597313 | 356 | 3,350 | 5.488764 | 0.148876 | 0.165814 | 0.14739 | 0.085977 | 0.811668 | 0.811668 | 0.77175 | 0.77175 | 0.769703 | 0.767144 | 0 | 0.012017 | 0.304478 | 3,350 | 87 | 93 | 38.505747 | 0.826609 | 0.08597 | 0 | 0.836364 | 0 | 0 | 0.06783 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 1 | 0.054545 | false | 0.018182 | 0.036364 | 0 | 0.109091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c2f571eb999b1d51c38dcc92450cb20fa5be4eff | 199 | py | Python | tp/zk/__init__.py | chinapnr/agbot | 9739ce1c2198e50111629db2d1de785edd06876e | [
"MIT"
] | 2 | 2018-06-23T06:48:46.000Z | 2018-06-23T10:11:50.000Z | tp/zk/__init__.py | chinapnr/agbot | 9739ce1c2198e50111629db2d1de785edd06876e | [
"MIT"
] | 5 | 2020-01-03T09:33:02.000Z | 2021-06-02T00:49:52.000Z | tp/zk/__init__.py | chinapnr/agbot | 9739ce1c2198e50111629db2d1de785edd06876e | [
"MIT"
] | 1 | 2021-07-07T07:17:27.000Z | 2021-07-07T07:17:27.000Z | from agbot.core.model.context import VerticalContext
from .tp_zk import ZkTestPoint
def run(tp_conf_dict, vertical_context: VerticalContext):
return ZkTestPoint(tp_conf_dict, vertical_context)
| 28.428571 | 57 | 0.834171 | 27 | 199 | 5.888889 | 0.592593 | 0.075472 | 0.125786 | 0.226415 | 0.314465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105528 | 199 | 6 | 58 | 33.166667 | 0.893258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
c2f630b266ac74395e7525c2d1c721a5fafb6a5a | 32,647 | py | Python | main_algorihm.py | JaremyShort/PythonNote | 20c0822b857633e3d1c7fb8498f750fcf8d07937 | [
"MIT"
] | null | null | null | main_algorihm.py | JaremyShort/PythonNote | 20c0822b857633e3d1c7fb8498f750fcf8d07937 | [
"MIT"
] | null | null | null | main_algorihm.py | JaremyShort/PythonNote | 20c0822b857633e3d1c7fb8498f750fcf8d07937 | [
"MIT"
] | null | null | null | import os
# from io import BytesIO
# from fastapi import FastAPI
# from starlette.responses import StreamingResponse
from datetime import datetime
# app = FastAPI()
# @app.get("/result")
# async def get_zip() -> StreamingResponse:
# if os.path.exists("C:\\Users\\yinh\\Desktop\\GZHB.zip"):
# ... | 777.309524 | 31,669 | 0.64885 | 434 | 32,647 | 48.029954 | 0.142857 | 1.933317 | 2.891053 | 3.84284 | 0.971936 | 0.971936 | 0.969633 | 0.969633 | 0.969633 | 0.969633 | 0 | 0.101967 | 0.017398 | 32,647 | 41 | 31,670 | 796.268293 | 0.547835 | 0.985297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 16 |
6c735644facc86bc372f7ae36a57a7daac7de028 | 103 | py | Python | python/learn/base/module/l1/pack/big/b3.py | qrsforever/workspace | 53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f | [
"MIT"
] | 2 | 2017-06-07T03:20:42.000Z | 2020-01-07T09:14:26.000Z | python/learn/base/module/l1/pack/big/b3.py | qrsforever/workspace | 53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f | [
"MIT"
] | null | null | null | python/learn/base/module/l1/pack/big/b3.py | qrsforever/workspace | 53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f | [
"MIT"
] | null | null | null | #!/usr/bin/python2.7
print "run here: pack/big/b3.py"
def b3_fun(): print "function: pack/big/b3.py"
| 17.166667 | 46 | 0.679612 | 20 | 103 | 3.45 | 0.7 | 0.202899 | 0.26087 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054945 | 0.116505 | 103 | 5 | 47 | 20.6 | 0.703297 | 0.184466 | 0 | 0 | 0 | 0 | 0.578313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
6c88715fd2ea3799869313088b04841101e4ded7 | 21,402 | py | Python | models/invariant_basic.py | JiaHe-yogurt/GNN | 6b6dbc362591b4521e0b437d17ab09c1c879aa75 | [
"Apache-2.0"
] | null | null | null | models/invariant_basic.py | JiaHe-yogurt/GNN | 6b6dbc362591b4521e0b437d17ab09c1c879aa75 | [
"Apache-2.0"
] | null | null | null | models/invariant_basic.py | JiaHe-yogurt/GNN | 6b6dbc362591b4521e0b437d17ab09c1c879aa75 | [
"Apache-2.0"
] | null | null | null | from models.base_model import BaseModel
import layers.equivariant_linear as eq
import layers.layers as layers
import tensorflow.compat.v1 as tf
class invariant_basic(BaseModel):
def __init__(self, config, data):
super(invariant_basic, self).__init__(config)
self.data = data
self.build_mode... | 55.302326 | 142 | 0.620783 | 2,814 | 21,402 | 4.571429 | 0.074272 | 0.077736 | 0.033349 | 0.027363 | 0.962764 | 0.962764 | 0.955924 | 0.951803 | 0.951803 | 0.931748 | 0 | 0.040698 | 0.264087 | 21,402 | 386 | 143 | 55.445596 | 0.776063 | 0.141576 | 0 | 0.890511 | 0 | 0 | 0.028668 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058394 | false | 0 | 0.014599 | 0 | 0.10219 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
66bb6392fe5b37f8bf8b51fb7e2dd3bda8ef4d01 | 12,896 | py | Python | commonLib/lib_routetable.py | NobuyukiInoue/pyReadShowIpRoute | 3c83a3ede01b4fcb7fc801dae03366a694a244ab | [
"MIT"
] | null | null | null | commonLib/lib_routetable.py | NobuyukiInoue/pyReadShowIpRoute | 3c83a3ede01b4fcb7fc801dae03366a694a244ab | [
"MIT"
] | null | null | null | commonLib/lib_routetable.py | NobuyukiInoue/pyReadShowIpRoute | 3c83a3ede01b4fcb7fc801dae03366a694a244ab | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
from typing import List, Dict, Tuple
from . import lib_common
from . import lib_contents_to_list
def model_judgment(filename_path: str, contents: List[str]) -> str:
"""
model judgment.
"""
if contents is None:
return None, None, None
prompt_char = ["#", ... | 44.164384 | 162 | 0.613368 | 1,584 | 12,896 | 4.729798 | 0.094697 | 0.171783 | 0.210224 | 0.055793 | 0.811399 | 0.792579 | 0.778297 | 0.745996 | 0.725841 | 0.681794 | 0 | 0.026777 | 0.238368 | 12,896 | 291 | 163 | 44.316151 | 0.736001 | 0.142215 | 0 | 0.585106 | 0 | 0 | 0.138757 | 0.044059 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031915 | false | 0 | 0.021277 | 0 | 0.138298 | 0.170213 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
66df0b7898c462edb013846fc2caa343bcd0ac4a | 63,746 | py | Python | velocyto/logic.py | jamestwebber/velocyto.py | beba566bf82a9cb4024ed913fd3feb7bfde956a5 | [
"BSD-2-Clause"
] | null | null | null | velocyto/logic.py | jamestwebber/velocyto.py | beba566bf82a9cb4024ed913fd3feb7bfde956a5 | [
"BSD-2-Clause"
] | null | null | null | velocyto/logic.py | jamestwebber/velocyto.py | beba566bf82a9cb4024ed913fd3feb7bfde956a5 | [
"BSD-2-Clause"
] | null | null | null | from typing import *
import velocyto as vcy
import numpy as np
import abc
class Logic(metaclass=abc.ABCMeta):
"""Base class from wich all the logics should inherit
"""
def __init__(self) -> None:
self.name = "Logic"
@property
def layers(self) -> List[str]: # This should be overridden if... | 55.770779 | 169 | 0.536536 | 6,714 | 63,746 | 4.809651 | 0.036491 | 0.028614 | 0.039019 | 0.043788 | 0.958844 | 0.958844 | 0.953456 | 0.951443 | 0.949647 | 0.949616 | 0 | 0.012987 | 0.421391 | 63,746 | 1,142 | 170 | 55.819615 | 0.862515 | 0.180921 | 0 | 0.961894 | 0 | 0 | 0.00908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054273 | false | 0 | 0.004619 | 0.035797 | 0.218245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
dd21e1e0a59ba73af63b160fee5eecec090f10a1 | 7,836 | py | Python | runtime/apis/predictor_engine.py | ecosystemai/ecosystem-notebooks | 7282f22fbe7ab7a43b2b0c06c74b3f176defaca4 | [
"MIT"
] | 2 | 2020-08-30T12:50:47.000Z | 2020-11-24T12:59:43.000Z | runtime/apis/predictor_engine.py | ecosystemai/ecosystem-notebooks | 7282f22fbe7ab7a43b2b0c06c74b3f176defaca4 | [
"MIT"
] | null | null | null | runtime/apis/predictor_engine.py | ecosystemai/ecosystem-notebooks | 7282f22fbe7ab7a43b2b0c06c74b3f176defaca4 | [
"MIT"
] | 2 | 2020-09-02T16:54:25.000Z | 2021-06-20T20:30:11.000Z | from runtime.endpoints import predictor_engine as endpoints
from runtime import request_utils
def get_spending_personality(auth, campaign, channel, customer, headers, params, subcampaign, userid):
# Provide spending personality scores for customers.
# auth: Authentication token generated by access.Authenticate()
# ... | 34.368421 | 119 | 0.659265 | 949 | 7,836 | 5.343519 | 0.17176 | 0.039046 | 0.034707 | 0.047722 | 0.805758 | 0.779333 | 0.773417 | 0.719779 | 0.707947 | 0.707947 | 0 | 0.009559 | 0.212353 | 7,836 | 227 | 120 | 34.519824 | 0.812054 | 0.497192 | 0 | 0.706897 | 0 | 0 | 0.071094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094828 | false | 0 | 0.017241 | 0 | 0.206897 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
dd2597914ea40af4fd7b259e6a3651c1a4dd1cf2 | 5,888 | py | Python | matplotlibstyles/styles.py | cumberworth/matplotlibstyles | 1e5fbd7dcb249067d33f89e47291b279e0e3932e | [
"MIT"
] | null | null | null | matplotlibstyles/styles.py | cumberworth/matplotlibstyles | 1e5fbd7dcb249067d33f89e47291b279e0e3932e | [
"MIT"
] | null | null | null | matplotlibstyles/styles.py | cumberworth/matplotlibstyles | 1e5fbd7dcb249067d33f89e47291b279e0e3932e | [
"MIT"
] | null | null | null | """Styles for creating plots with matplotlib."""
import matplotlib as mpl
from matplotlib import pyplot as plt
SHARE_PGF_PREAMBLE = "\n".join(
[
r"\usepackage[RGB]{xcolor}",
r"\usepackage{fontspec}",
r"\usepackage{unicode-math}",
r"\setmainfont{STIX Two Text}",
r"\setmathfo... | 30.666667 | 70 | 0.631114 | 762 | 5,888 | 4.853018 | 0.141732 | 0.324229 | 0.09086 | 0.016225 | 0.868307 | 0.852893 | 0.847485 | 0.826393 | 0.82477 | 0.814494 | 0 | 0.025147 | 0.189538 | 5,888 | 191 | 71 | 30.827225 | 0.74979 | 0.047894 | 0 | 0.734848 | 0 | 0 | 0.360165 | 0.055217 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.015152 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 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 | 8 |
dd36e26de922012af1b05843435a58e79cb984fc | 110 | py | Python | 20181026-TestingInJupyter/tests/test_keep_odds.py | chmp/misc-exp | 2edc2ed598eb59f4ccb426e7a5c1a23343a6974b | [
"MIT"
] | 6 | 2017-10-31T20:54:37.000Z | 2020-10-23T19:03:00.000Z | 20181026-TestingInJupyter/tests/test_keep_odds.py | chmp/misc-exp | 2edc2ed598eb59f4ccb426e7a5c1a23343a6974b | [
"MIT"
] | 7 | 2020-03-24T16:14:34.000Z | 2021-03-18T20:51:37.000Z | 20181026-TestingInJupyter/tests/test_keep_odds.py | chmp/misc-exp | 2edc2ed598eb59f4ccb426e7a5c1a23343a6974b | [
"MIT"
] | 1 | 2019-07-29T07:55:49.000Z | 2019-07-29T07:55:49.000Z | from keep_odds import keep_odds
def test_keep_odds():
assert keep_odds([1, 2, 3, 4, 5, 6]) == [1, 3, 5]
| 18.333333 | 53 | 0.627273 | 22 | 110 | 2.909091 | 0.590909 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.209091 | 110 | 5 | 54 | 22 | 0.632184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
dd3741224070231dbb8d9251b1cd4b56f761814c | 10,565 | py | Python | tests/objects/test_service.py | krnnrt/cpauto | 6076ee0e3f55769aac5b2480453d82f99371a31f | [
"Apache-2.0"
] | 16 | 2016-12-07T02:45:31.000Z | 2022-01-20T11:46:24.000Z | tests/objects/test_service.py | krnnrt/cpauto | 6076ee0e3f55769aac5b2480453d82f99371a31f | [
"Apache-2.0"
] | 2 | 2017-07-20T21:12:27.000Z | 2021-09-09T14:57:01.000Z | tests/objects/test_service.py | krnnrt/cpauto | 6076ee0e3f55769aac5b2480453d82f99371a31f | [
"Apache-2.0"
] | 5 | 2017-07-28T14:06:25.000Z | 2021-09-06T12:01:18.000Z | # -*- coding: utf-8 -*-
"""Tests for cpauto.objects.service module."""
import pytest
import responses
import cpauto
@pytest.mark.parametrize("name,params", [
("servicename", {}),
("servicename", {"tags": ["foo", "bar"]}),
])
def test_add(core_client, mgmt_server_base_uri, name, params):
resources = [ "ad... | 33.433544 | 75 | 0.589494 | 1,317 | 10,565 | 4.577069 | 0.069096 | 0.081287 | 0.079628 | 0.069675 | 0.855508 | 0.846218 | 0.83079 | 0.823822 | 0.818182 | 0.818182 | 0 | 0.017649 | 0.276006 | 10,565 | 315 | 76 | 33.539683 | 0.770428 | 0.005963 | 0 | 0.79661 | 0 | 0 | 0.102801 | 0.009242 | 0 | 0 | 0 | 0 | 0.29661 | 1 | 0.021186 | false | 0 | 0.012712 | 0 | 0.033898 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
dd68549a483a60d2a06df1cfc83d73d0e4119a74 | 179 | py | Python | tests/parser/wellfounded.12.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/wellfounded.12.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/wellfounded.12.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
p :- not q.
q :- r.
r :- q.
s :- p.
t :- not s.
l :- u.
u :- t.
"""
output = """
p :- not q.
q :- r.
r :- q.
s :- p.
t :- not s.
l :- u.
u :- t.
"""
| 8.52381 | 12 | 0.284916 | 34 | 179 | 1.5 | 0.294118 | 0.156863 | 0.196078 | 0.235294 | 0.784314 | 0.784314 | 0.784314 | 0.784314 | 0.784314 | 0.784314 | 0 | 0 | 0.402235 | 179 | 20 | 13 | 8.95 | 0.476636 | 0 | 0 | 0.888889 | 0 | 0 | 0.809816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
dd71ef357bd148e940782eb95a70b38cb38d99bd | 35 | py | Python | Test_Carlos_PuertoG.py | Sergio95480/Laboratorio | 25c0d86dac48ce1e9b7ce9ec571241b0c5f80ba2 | [
"MIT"
] | null | null | null | Test_Carlos_PuertoG.py | Sergio95480/Laboratorio | 25c0d86dac48ce1e9b7ce9ec571241b0c5f80ba2 | [
"MIT"
] | null | null | null | Test_Carlos_PuertoG.py | Sergio95480/Laboratorio | 25c0d86dac48ce1e9b7ce9ec571241b0c5f80ba2 | [
"MIT"
] | null | null | null |
def suma (x,y):
return x + y
| 7 | 16 | 0.485714 | 7 | 35 | 2.428571 | 0.714286 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.371429 | 35 | 4 | 17 | 8.75 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 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 | 7 |
06b9580429e56f38e59672d6646ed56e82b296cc | 1,587 | py | Python | tests/test_generation/make_nist_sha512.py | colelawrence/orion | 5554a09fa408552626baa132176da3852afded86 | [
"MIT"
] | null | null | null | tests/test_generation/make_nist_sha512.py | colelawrence/orion | 5554a09fa408552626baa132176da3852afded86 | [
"MIT"
] | null | null | null | tests/test_generation/make_nist_sha512.py | colelawrence/orion | 5554a09fa408552626baa132176da3852afded86 | [
"MIT"
] | null | null | null | lines = []
with open('src/tests/test_data/original/SHA512LongMsg.rsp') as infile:
outfile = open('src/tests/test_data/SHA512LongMsg_fmt.txt', 'w')
test_case_number = 0
# 128 is important. This is the total number of tests cases.
outfile.write("let test_vectors: [[&str; 2]; 128] = [ ")
for line in ... | 31.117647 | 73 | 0.589162 | 212 | 1,587 | 4.278302 | 0.268868 | 0.105843 | 0.092613 | 0.070562 | 0.91731 | 0.91731 | 0.91731 | 0.868798 | 0.787211 | 0.703418 | 0 | 0.031483 | 0.239445 | 1,587 | 50 | 74 | 31.74 | 0.719967 | 0.141147 | 0 | 0.75 | 0 | 0 | 0.226499 | 0.130274 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
06ba7d6c171d338094e19b3587564c72701945cd | 5,053 | py | Python | resources/Stock/stock.py | SamGulinello/TraderPy | 651c0d04b5680c192f1098c8bb57cd2b57798ec0 | [
"MIT"
] | 6 | 2020-12-27T00:27:55.000Z | 2021-03-20T23:56:12.000Z | resources/Stock/stock.py | SamGulinello/TraderPy | 651c0d04b5680c192f1098c8bb57cd2b57798ec0 | [
"MIT"
] | 2 | 2021-01-07T16:26:52.000Z | 2021-01-12T19:25:57.000Z | resources/Stock/stock.py | SamGulinello/TraderPy | 651c0d04b5680c192f1098c8bb57cd2b57798ec0 | [
"MIT"
] | 2 | 2020-12-28T15:04:35.000Z | 2021-08-20T20:54:49.000Z | # TraderPY Stock Class
#
# Written By Sam Gulinello
# MIT Licensed
#
# For More Information About This Project Go to
# https://github.com/SamGulinello/TraderPY
import requests
from config.config import config
client_id = config["client_id"]
# Each ticker will be converted to a stock object
class Stock():
def __... | 31.779874 | 139 | 0.578072 | 505 | 5,053 | 5.758416 | 0.259406 | 0.030949 | 0.030949 | 0.039546 | 0.809491 | 0.809491 | 0.809491 | 0.777854 | 0.777854 | 0.729367 | 0 | 0.004905 | 0.314071 | 5,053 | 158 | 140 | 31.981013 | 0.834103 | 0.240451 | 0 | 0.730769 | 0 | 0 | 0.227811 | 0.016592 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.025641 | 0 | 0.141026 | 0.025641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
06cbed5ac8b374d402ed5268cd4b938ec0ce65e8 | 183,683 | py | Python | thirdweb/abi/token_erc20.py | nftlabs/nftlabs-sdk-python | ea533142dc0881872b347cd8ce635dc0bfff3153 | [
"Apache-2.0"
] | 30 | 2021-10-31T13:17:58.000Z | 2022-02-04T13:41:13.000Z | thirdweb/abi/token_erc20.py | nftlabs/nftlabs-sdk-python | ea533142dc0881872b347cd8ce635dc0bfff3153 | [
"Apache-2.0"
] | 36 | 2021-11-03T20:30:38.000Z | 2022-02-14T10:15:40.000Z | thirdweb/abi/token_erc20.py | nftlabs/nftlabs-sdk-python | ea533142dc0881872b347cd8ce635dc0bfff3153 | [
"Apache-2.0"
] | 10 | 2021-11-10T19:59:41.000Z | 2022-01-21T21:26:55.000Z | """Generated wrapper for TokenERC20 Solidity contract."""
# pylint: disable=too-many-arguments
import json
from typing import ( # pylint: disable=unused-import
Any,
List,
Optional,
Tuple,
Union,
)
from eth_utils import to_checksum_address
from mypy_extensions import TypedDict # pylint: disable=... | 38.140158 | 16,282 | 0.641616 | 19,034 | 183,683 | 5.932804 | 0.024798 | 0.077999 | 0.044277 | 0.042506 | 0.889112 | 0.860739 | 0.833598 | 0.815054 | 0.805605 | 0.752216 | 0 | 0.005267 | 0.24551 | 183,683 | 4,815 | 16,283 | 38.148079 | 0.809564 | 0.154772 | 0 | 0.760843 | 1 | 0.000301 | 0.120437 | 0.111034 | 0 | 0 | 0 | 0 | 0.021988 | 1 | 0.090663 | false | 0.000904 | 0.004518 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
06cf0cb4053d0096953e1c20b191f39f2c697290 | 38,616 | py | Python | utils/metrics.py | lsDrizzle/Btrfly-Net-Pytorch | bd59a02bf94cce235a47f7ddb5e689327d0de435 | [
"MIT"
] | 9 | 2019-11-27T06:17:21.000Z | 2020-11-15T06:59:37.000Z | utils/metrics.py | zlinzju/Btrfly-Net-Pytorch | bd59a02bf94cce235a47f7ddb5e689327d0de435 | [
"MIT"
] | 2 | 2020-04-15T07:00:05.000Z | 2021-04-02T02:35:23.000Z | utils/metrics.py | zlinzju/Btrfly-Net-Pytorch | bd59a02bf94cce235a47f7ddb5e689327d0de435 | [
"MIT"
] | 4 | 2019-10-19T13:40:00.000Z | 2020-11-09T15:54:13.000Z | import torch
import numpy as np
import json
import cv2
Dic = {0:'Z',1:'Y',2:'X'}
@torch.no_grad()
def decom(whole_dict):
label = []
dim_X = []
dim_Y = []
dim_Z = []
for index in range(len(whole_dict)):
current = whole_dict[index]
label.append(current['label'])
dim_X.append(... | 56.45614 | 164 | 0.579967 | 6,005 | 38,616 | 3.402331 | 0.034971 | 0.051686 | 0.029122 | 0.02692 | 0.930155 | 0.916157 | 0.905878 | 0.901375 | 0.901375 | 0.896383 | 0 | 0.03392 | 0.28237 | 38,616 | 684 | 165 | 56.45614 | 0.703342 | 0.137482 | 0 | 0.790598 | 0 | 0 | 0.031123 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 1 | 0.019231 | false | 0 | 0.008547 | 0 | 0.047009 | 0.002137 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b0cb06523685cabf2c7193119ffaf25a4c85d408 | 5,617 | py | Python | src/fparser/tests/test_comment.py | sturmianseq/fparser | bf3cba3f31a72671d4d4a93b6ef4f9832006219f | [
"BSD-3-Clause"
] | 33 | 2017-08-18T16:31:27.000Z | 2022-03-28T09:43:50.000Z | src/fparser/tests/test_comment.py | sturmianseq/fparser | bf3cba3f31a72671d4d4a93b6ef4f9832006219f | [
"BSD-3-Clause"
] | 319 | 2017-01-12T14:22:07.000Z | 2022-03-23T20:53:25.000Z | src/fparser/tests/test_comment.py | sturmianseq/fparser | bf3cba3f31a72671d4d4a93b6ef4f9832006219f | [
"BSD-3-Clause"
] | 17 | 2017-10-13T07:12:28.000Z | 2022-02-11T14:42:18.000Z | # Modified work Copyright (c) 2017-2018 Science and Technology
# Facilities Council
# Original work Copyright (c) 1999-2008 Pearu Peterson
# All rights reserved.
# Modifications made as part of the fparser project are distributed
# under the following license:
# Redistribution and use in source and binary forms, wit... | 32.847953 | 77 | 0.692541 | 798 | 5,617 | 4.859649 | 0.24812 | 0.042548 | 0.022692 | 0.024755 | 0.883187 | 0.852501 | 0.845797 | 0.845797 | 0.845797 | 0.845797 | 0 | 0.029594 | 0.223963 | 5,617 | 170 | 78 | 33.041176 | 0.86006 | 0.582517 | 0 | 0.762887 | 0 | 0 | 0.647033 | 0 | 0 | 0 | 0.015707 | 0 | 0.041237 | 1 | 0.020619 | false | 0 | 0.010309 | 0 | 0.030928 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b0e74a656fd4aead33af652be0d33758e1925620 | 40,248 | py | Python | logos.py | sakurakhadag/escp2-client | f8d58bdaedc4f7ca811769538586b759c37eb355 | [
"MIT"
] | null | null | null | logos.py | sakurakhadag/escp2-client | f8d58bdaedc4f7ca811769538586b759c37eb355 | [
"MIT"
] | 5 | 2019-10-10T13:53:48.000Z | 2019-10-16T19:09:28.000Z | logos.py | sakurakhadag/escp2-client | f8d58bdaedc4f7ca811769538586b759c37eb355 | [
"MIT"
] | 2 | 2019-10-11T17:56:31.000Z | 2021-01-15T11:33:58.000Z | def loadlogo(logo=1):
if logo == 1:
matrix = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0... | 183.780822 | 281 | 0.306599 | 12,282 | 40,248 | 1.00456 | 0.00114 | 0.946831 | 1.377695 | 1.780191 | 0.994489 | 0.994408 | 0.994245 | 0.994245 | 0.994245 | 0.994245 | 0 | 0.489756 | 0.377882 | 40,248 | 218 | 282 | 184.623853 | 0.002995 | 0 | 0 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009302 | false | 0 | 0 | 0 | 0.018605 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
b0189be67a7efcafdbbd98ae6766079f13864c9c | 201 | py | Python | bab-3/Indentation.py | pustakalupi/ls-belajar-python3.x | 9d51916db2a57bb798b4eee81f5bea5a32a4cb90 | [
"MIT"
] | null | null | null | bab-3/Indentation.py | pustakalupi/ls-belajar-python3.x | 9d51916db2a57bb798b4eee81f5bea5a32a4cb90 | [
"MIT"
] | null | null | null | bab-3/Indentation.py | pustakalupi/ls-belajar-python3.x | 9d51916db2a57bb798b4eee81f5bea5a32a4cb90 | [
"MIT"
] | null | null | null | '''
done
'''
if True:
print ("Satu")
print ("Dua")
else:
print ("Tiga")
print ("Empat")
'''
if True:
print ("Satu")
print ("Dua")
else:
print ("Tiga")
print ("Empat")
''' | 10.05 | 19 | 0.477612 | 23 | 201 | 4.173913 | 0.391304 | 0.125 | 0.229167 | 0.3125 | 0.958333 | 0.958333 | 0.958333 | 0.958333 | 0.958333 | 0.958333 | 0 | 0 | 0.283582 | 201 | 20 | 20 | 10.05 | 0.666667 | 0.019901 | 0 | 0 | 0 | 0 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
b0276ffa5e3e7e0cb2c4651c3953dea93309eb7b | 97 | py | Python | utils/helpers.py | kagadanta/siks-api | c5b02b548949b0db76e018bb6ab177dcde7974d6 | [
"FTL"
] | null | null | null | utils/helpers.py | kagadanta/siks-api | c5b02b548949b0db76e018bb6ab177dcde7974d6 | [
"FTL"
] | 9 | 2021-03-19T01:51:38.000Z | 2022-03-12T00:23:28.000Z | utils/helpers.py | kagadanta/siks-api | c5b02b548949b0db76e018bb6ab177dcde7974d6 | [
"FTL"
] | null | null | null | import textwrap
def short_text(text, width=30):
return textwrap.shorten(text, width=width)
| 16.166667 | 46 | 0.752577 | 14 | 97 | 5.142857 | 0.642857 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.14433 | 97 | 5 | 47 | 19.4 | 0.843373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 0 | 0 | 7 |
c6d62007adef5f8736c8dc3726e06b244366c371 | 6,091 | py | Python | test/api/test_api.py | hubmapconsortium/ingest-api | 8f360cc9c728baf55e74bef471f4e3630feb7777 | [
"MIT"
] | null | null | null | test/api/test_api.py | hubmapconsortium/ingest-api | 8f360cc9c728baf55e74bef471f4e3630feb7777 | [
"MIT"
] | 67 | 2021-02-26T02:06:42.000Z | 2022-03-25T12:45:27.000Z | test/api/test_api.py | hubmapconsortium/ingest-api | 8f360cc9c728baf55e74bef471f4e3630feb7777 | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import patch
import requests
from api.api import Api
#
# Running the tests... At the top level directory type 'nose2 --verbose --log-level debug`
#
# WARNING: ONLY methods beginning with "test_" will be considered tests by 'nose2' :-(
class TestApi(unittest.TestCase):
def setU... | 34.219101 | 91 | 0.625185 | 784 | 6,091 | 4.669643 | 0.110969 | 0.047801 | 0.034417 | 0.042065 | 0.844032 | 0.807157 | 0.807157 | 0.786124 | 0.786124 | 0.748156 | 0 | 0.015682 | 0.235758 | 6,091 | 178 | 92 | 34.219101 | 0.770784 | 0.028403 | 0 | 0.7 | 0 | 0 | 0.154379 | 0.03162 | 0 | 0 | 0 | 0 | 0.453846 | 1 | 0.1 | false | 0 | 0.030769 | 0 | 0.176923 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
05b99425d32174477e22d2a498473fb7fed37eee | 38,695 | py | Python | Code/RoTools.py | RodrikWan/RoTools | bda0c9056b7cbc55118b6be2253787ea44a4a1b3 | [
"MIT"
] | 1 | 2021-11-24T22:10:48.000Z | 2021-11-24T22:10:48.000Z | Code/RoTools.py | RodrikWan/RoTools | bda0c9056b7cbc55118b6be2253787ea44a4a1b3 | [
"MIT"
] | null | null | null | Code/RoTools.py | RodrikWan/RoTools | bda0c9056b7cbc55118b6be2253787ea44a4a1b3 | [
"MIT"
] | null | null | null | # ═║╔╗╚╝╠╣╩╬
#Colorama
from colorama import *
#Others
import os, requests, random, string, base64
#Credits
def Credits():
os.system('title RoTools 0.1 - Credits')
os.system('cls')
print(F"{Fore.CYAN}╔═════════════════════════════════════════════════════════╗")#-------------------|
prin... | 63.227124 | 210 | 0.417005 | 4,521 | 38,695 | 5.205043 | 0.060164 | 0.142444 | 0.127741 | 0.133265 | 0.864397 | 0.857768 | 0.852031 | 0.825812 | 0.781149 | 0.756757 | 0 | 0.008411 | 0.238041 | 38,695 | 612 | 211 | 63.227124 | 0.537987 | 0.038739 | 0 | 0.571154 | 0 | 0.017308 | 0.688239 | 0.262489 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030769 | false | 0.021154 | 0.003846 | 0 | 0.034615 | 0.501923 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
af0879907e6731874b7a61f5ed98f72faa28358a | 14,121 | py | Python | artikcloud/apis/tokens_api.py | artikcloud/artikcloud-python-dev | 683cd8304f031913bcd581d1eb78ee0efbc5c113 | [
"Apache-2.0"
] | null | null | null | artikcloud/apis/tokens_api.py | artikcloud/artikcloud-python-dev | 683cd8304f031913bcd581d1eb78ee0efbc5c113 | [
"Apache-2.0"
] | null | null | null | artikcloud/apis/tokens_api.py | artikcloud/artikcloud-python-dev | 683cd8304f031913bcd581d1eb78ee0efbc5c113 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
ARTIK Cloud API
No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License"... | 38.687671 | 108 | 0.577367 | 1,459 | 14,121 | 5.379027 | 0.139822 | 0.047401 | 0.019878 | 0.027523 | 0.813201 | 0.769113 | 0.769113 | 0.741845 | 0.723496 | 0.712029 | 0 | 0.001079 | 0.343885 | 14,121 | 364 | 109 | 38.793956 | 0.845979 | 0.357694 | 0 | 0.656442 | 1 | 0 | 0.156495 | 0.03125 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042945 | false | 0 | 0.042945 | 0 | 0.147239 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
afc61d40adf140be0256fb0016bc5687bc1ad8e4 | 157 | py | Python | torch/ao/sparsity/__init__.py | ZackPashkin/pytorch | 5b1f5c8f17ec4067dc9f9df98bbcc6757ab24444 | [
"Intel"
] | 2 | 2021-06-24T00:47:33.000Z | 2021-06-24T00:50:14.000Z | torch/ao/sparsity/__init__.py | Hior247/pytorch | 5a2f41a2dbe575ff7ff7066fe642fd53006f0f36 | [
"Intel"
] | null | null | null | torch/ao/sparsity/__init__.py | Hior247/pytorch | 5a2f41a2dbe575ff7ff7066fe642fd53006f0f36 | [
"Intel"
] | null | null | null | # Parametrizations
from .experimental.pruner.parametrization import PruningParametrization
# Pruner
from .experimental.pruner.base_pruner import BasePruner
| 26.166667 | 71 | 0.866242 | 15 | 157 | 9 | 0.6 | 0.237037 | 0.325926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082803 | 157 | 5 | 72 | 31.4 | 0.9375 | 0.146497 | 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 | 1 | 0 | 0 | 7 |
afd068d0d593d963369fcd640e6b76c40d9d7bc0 | 306 | py | Python | res/TensorFlowPythonExamples/examples/add_n/__init__.py | juitem/ONE | 8c6a4b7738074573b6ac5c82dcf1f6697520d1ed | [
"Apache-2.0"
] | 255 | 2020-05-22T07:45:29.000Z | 2022-03-29T23:58:22.000Z | res/TensorFlowPythonExamples/examples/add_n/__init__.py | juitem/ONE | 8c6a4b7738074573b6ac5c82dcf1f6697520d1ed | [
"Apache-2.0"
] | 5,102 | 2020-05-22T07:48:33.000Z | 2022-03-31T23:43:39.000Z | res/TensorFlowPythonExamples/examples/add_n/__init__.py | juitem/ONE | 8c6a4b7738074573b6ac5c82dcf1f6697520d1ed | [
"Apache-2.0"
] | 120 | 2020-05-22T07:51:08.000Z | 2022-02-16T19:08:05.000Z | import tensorflow as tf
in1_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(4, 4), name="Hole")
in2_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(4, 4), name="Hole")
in3_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(4, 4), name="Hole")
op_ = tf.compat.v1.math.add_n([in1_, in2_, in3_])
| 43.714286 | 76 | 0.705882 | 53 | 306 | 3.924528 | 0.377358 | 0.153846 | 0.192308 | 0.302885 | 0.721154 | 0.721154 | 0.721154 | 0.721154 | 0.721154 | 0.721154 | 0 | 0.079137 | 0.091503 | 306 | 6 | 77 | 51 | 0.669065 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bb936443c8fb9cb3d86b99a9dda754107fc241ac | 7,997 | py | Python | api/test/api/responders_test/resource/test_inventory.py | korenlev/calipso-cvim | 39278a5cf09c40b26a8a143ccc0c8d437961abc2 | [
"Apache-2.0"
] | null | null | null | api/test/api/responders_test/resource/test_inventory.py | korenlev/calipso-cvim | 39278a5cf09c40b26a8a143ccc0c8d437961abc2 | [
"Apache-2.0"
] | null | null | null | api/test/api/responders_test/resource/test_inventory.py | korenlev/calipso-cvim | 39278a5cf09c40b26a8a143ccc0c8d437961abc2 | [
"Apache-2.0"
] | null | null | null | ###############################################################################
# Copyright (c) 2017-2020 Koren Lev (Cisco Systems), #
# Yaron Yogev (Cisco Systems), Ilia Abashin (Cisco Systems) and others #
# #
... | 48.762195 | 85 | 0.421408 | 633 | 7,997 | 4.93049 | 0.159558 | 0.0785 | 0.041653 | 0.091637 | 0.806472 | 0.789491 | 0.783403 | 0.760013 | 0.728292 | 0.701378 | 0 | 0.003258 | 0.501063 | 7,997 | 163 | 86 | 49.06135 | 0.778947 | 0.063024 | 0 | 0.594203 | 0 | 0 | 0.020587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094203 | false | 0 | 0.028986 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 7 |
bbd2e823867aa1a21c9e18ffaa4bdf4fe3e1d42d | 145 | py | Python | python/8kyu/add_numbers.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 3 | 2021-06-08T01:57:13.000Z | 2021-06-26T10:52:47.000Z | python/8kyu/add_numbers.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | null | null | null | python/8kyu/add_numbers.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 2 | 2021-06-10T21:20:13.000Z | 2021-06-30T10:13:26.000Z | # Kata url: https://www.codewars.com/kata/5926d7494b2b1843780001e6.
from typing import Tuple
def add(*n: Tuple[int]) -> int:
return sum(n)
| 20.714286 | 67 | 0.710345 | 21 | 145 | 4.904762 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0.144828 | 145 | 6 | 68 | 24.166667 | 0.669355 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
a550442093389369e7cd359e95717d7d3af699b0 | 89 | py | Python | pyECLAT/__init__.py | jeffrichardchemistry/pyECLAT | c5cd6976e9703acc148072177192b9b1bff855d5 | [
"BSD-2-Clause"
] | 17 | 2020-06-05T19:24:10.000Z | 2021-12-30T12:41:41.000Z | pyECLAT/__init__.py | BlackCurrantDS/pyECLAT | ac6b71dadb5eed4f97f9ecab8395f8e5440adbf7 | [
"BSD-2-Clause"
] | null | null | null | pyECLAT/__init__.py | BlackCurrantDS/pyECLAT | ac6b71dadb5eed4f97f9ecab8395f8e5440adbf7 | [
"BSD-2-Clause"
] | 7 | 2021-01-22T11:46:19.000Z | 2022-03-10T18:01:01.000Z | from .pyECLAT import ECLAT
from .pyECLAT import Example1
from .pyECLAT import Example2
| 14.833333 | 29 | 0.808989 | 12 | 89 | 6 | 0.5 | 0.458333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.157303 | 89 | 5 | 30 | 17.8 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 7 |
a562ee2dd6d6cf8b25336c012ced7cd754125a13 | 2,597 | py | Python | website/utilities/extras/statements.py | skulluglify/skulluglify_app | 944dd168b0b0d868a7eb43938a8390cb54b4eee3 | [
"BSD-3-Clause"
] | null | null | null | website/utilities/extras/statements.py | skulluglify/skulluglify_app | 944dd168b0b0d868a7eb43938a8390cb54b4eee3 | [
"BSD-3-Clause"
] | null | null | null | website/utilities/extras/statements.py | skulluglify/skulluglify_app | 944dd168b0b0d868a7eb43938a8390cb54b4eee3 | [
"BSD-3-Clause"
] | null | null | null | #! /usr/bin/env python3
'''
equals
greater
less
'''
class equals (object):
def __new__ (cls, *args, **kwargs):
return cls._equals (args)
@staticmethod
def _equals (args: tuple|list):
args: iter = iter(args)
temp: any = next(args)
rest: bool = True
for x in a... | 25.213592 | 82 | 0.488256 | 298 | 2,597 | 4.040268 | 0.137584 | 0.053987 | 0.052326 | 0.070598 | 0.898671 | 0.898671 | 0.859635 | 0.859635 | 0.859635 | 0.781561 | 0 | 0.001969 | 0.413169 | 2,597 | 103 | 83 | 25.213592 | 0.788058 | 0.016173 | 0 | 0.807229 | 0 | 0 | 0.011802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.120482 | false | 0.024096 | 0 | 0.012048 | 0.277108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3c74093fb0dab613bc930840aa117fb3b12102cf | 326 | py | Python | cgi-bin/db_util.py | pinckert/pinckert.com | 7d6ce3e37c6c39c1deebbceb40f4442d34c20e23 | [
"Apache-2.0"
] | 1 | 2020-07-29T22:45:07.000Z | 2020-07-29T22:45:07.000Z | cgi-bin/db_util.py | pinckert/pinckert.com | 7d6ce3e37c6c39c1deebbceb40f4442d34c20e23 | [
"Apache-2.0"
] | null | null | null | cgi-bin/db_util.py | pinckert/pinckert.com | 7d6ce3e37c6c39c1deebbceb40f4442d34c20e23 | [
"Apache-2.0"
] | null | null | null | <<<<<<< HEAD
#
# Read DB credentials
#
def db_cred():
fp = open("./db_connect/db_info.txt", "r")
info = fp.read()
return (eval(info))
=======
#
# Read DB credentials
#
def db_cred():
fp = open("./db_connect/db_info.txt", "r")
info = fp.read()
return (eval(info))
>>>>>>> cb97fa344060fddee1b1b68722c1e6b281f... | 18.111111 | 48 | 0.613497 | 42 | 326 | 4.619048 | 0.357143 | 0.061856 | 0.175258 | 0.206186 | 0.773196 | 0.773196 | 0.773196 | 0.773196 | 0.773196 | 0.773196 | 0 | 0.087912 | 0.162577 | 326 | 17 | 49 | 19.176471 | 0.622711 | 0.131902 | 0 | 0.727273 | 0 | 0 | 0.182482 | 0.175182 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5905e607223a4e590a433381c4aabef5cbf90ff2 | 14,128 | py | Python | signalwire/tests/relay/calling/test_call_play.py | ramarketing/signalwire-python | c0663bdd0454faaa39f42af7c936cea1d43e1842 | [
"MIT"
] | 23 | 2018-12-19T14:48:18.000Z | 2022-01-11T03:58:36.000Z | signalwire/tests/relay/calling/test_call_play.py | ramarketing/signalwire-python | c0663bdd0454faaa39f42af7c936cea1d43e1842 | [
"MIT"
] | 13 | 2018-10-17T12:57:54.000Z | 2021-09-01T21:46:01.000Z | signalwire/tests/relay/calling/test_call_play.py | ramarketing/signalwire-python | c0663bdd0454faaa39f42af7c936cea1d43e1842 | [
"MIT"
] | 12 | 2020-01-21T14:29:43.000Z | 2022-01-11T07:48:06.000Z | import asyncio
import json
import pytest
from unittest.mock import Mock, patch
async def _fire(calling, notification):
calling.notification_handler(notification)
def mock_uuid():
return 'control-id'
def test_play_events(relay_call):
mock = Mock()
relay_call.on('play.stateChange', mock)
relay_call.on('play.... | 62.791111 | 347 | 0.713052 | 1,929 | 14,128 | 5.021773 | 0.046656 | 0.078972 | 0.089192 | 0.088572 | 0.950346 | 0.935584 | 0.935584 | 0.928771 | 0.924228 | 0.904821 | 0 | 0.005932 | 0.093148 | 14,128 | 224 | 348 | 63.071429 | 0.750156 | 0.011891 | 0 | 0.722772 | 0 | 0.128713 | 0.390525 | 0.355622 | 0 | 0 | 0 | 0 | 0.267327 | 1 | 0.009901 | false | 0 | 0.019802 | 0.00495 | 0.034653 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
595f5d818048ac1cd26aa10f03f9047176c20d60 | 104,506 | py | Python | sdk/python/pulumi_oci/devops/deploy_stage.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/devops/deploy_stage.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/devops/deploy_stage.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 55.647497 | 324 | 0.701175 | 11,787 | 104,506 | 5.918385 | 0.03173 | 0.07285 | 0.078713 | 0.042575 | 0.963518 | 0.953584 | 0.949498 | 0.94613 | 0.942489 | 0.924584 | 0 | 0.000777 | 0.199625 | 104,506 | 1,877 | 325 | 55.677144 | 0.833234 | 0.357635 | 0 | 0.847764 | 1 | 0 | 0.172856 | 0.100899 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169363 | false | 0.000951 | 0.00666 | 0 | 0.278782 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
596b4b9e69b45f0af8522509673a7b2d1e08f869 | 141 | py | Python | src/spaceone/secret/service/__init__.py | ku524/secret | c5dad49f40ab1cbbaa0b8f01222de10ae73d1fb1 | [
"Apache-2.0"
] | 7 | 2020-06-04T23:01:12.000Z | 2021-01-31T08:41:29.000Z | src/spaceone/secret/service/__init__.py | ku524/secret | c5dad49f40ab1cbbaa0b8f01222de10ae73d1fb1 | [
"Apache-2.0"
] | 2 | 2020-08-05T13:31:53.000Z | 2021-03-07T15:15:14.000Z | src/spaceone/secret/service/__init__.py | ku524/secret | c5dad49f40ab1cbbaa0b8f01222de10ae73d1fb1 | [
"Apache-2.0"
] | 6 | 2020-06-10T01:59:35.000Z | 2021-11-25T06:30:35.000Z | from spaceone.secret.service.secret_service import SecretService
from spaceone.secret.service.secret_group_service import SecretGroupService
| 47 | 75 | 0.900709 | 17 | 141 | 7.294118 | 0.470588 | 0.314516 | 0.290323 | 0.403226 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056738 | 141 | 2 | 76 | 70.5 | 0.932331 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
ab9564cb3f618f9aa7e851b6a19592c683cd2eed | 11,812 | py | Python | Classification/src/network.py | Natural-Goldfish/CatDogClassification | 5ae0fe8bc37c6ee8a1cd3bd75cc862c650822263 | [
"CECILL-B"
] | null | null | null | Classification/src/network.py | Natural-Goldfish/CatDogClassification | 5ae0fe8bc37c6ee8a1cd3bd75cc862c650822263 | [
"CECILL-B"
] | null | null | null | Classification/src/network.py | Natural-Goldfish/CatDogClassification | 5ae0fe8bc37c6ee8a1cd3bd75cc862c650822263 | [
"CECILL-B"
] | null | null | null | import torch
from torchvision.models import vgg16
class CatDogClassifier_2l(torch.nn.Module):
def __init__(self):
super().__init__()
self.layer1 = torch.nn.Sequential(
torch.nn.Conv2d(3, 32, 3, 1, 1, bias = False),
torch.nn.ReLU(inplace=True)
)
self... | 34.040346 | 70 | 0.542922 | 1,468 | 11,812 | 4.285422 | 0.054496 | 0.179145 | 0.068193 | 0.111588 | 0.937848 | 0.920045 | 0.911302 | 0.906056 | 0.870132 | 0.849467 | 0 | 0.080985 | 0.329919 | 11,812 | 346 | 71 | 34.138728 | 0.713834 | 0 | 0 | 0.761092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051195 | false | 0 | 0.006826 | 0 | 0.105802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
abb21f0598f4370e247dd3997382a655755233fb | 3,672 | py | Python | tests/relaxations/test_rotation.py | eth-sri/3dcertify | bb10f339f80149a9ebc7c07d041b2ef222efb394 | [
"Apache-2.0"
] | 9 | 2021-03-31T20:27:50.000Z | 2022-01-07T21:52:47.000Z | tests/relaxations/test_rotation.py | eth-sri/3dcertify | bb10f339f80149a9ebc7c07d041b2ef222efb394 | [
"Apache-2.0"
] | 2 | 2021-06-21T15:38:07.000Z | 2021-11-08T09:10:09.000Z | tests/relaxations/test_rotation.py | eth-sri/3dcertify | bb10f339f80149a9ebc7c07d041b2ef222efb394 | [
"Apache-2.0"
] | 4 | 2021-07-17T15:04:14.000Z | 2022-02-09T17:51:39.000Z | import unittest
from functools import partial
import numpy as np
from parameterized import parameterized
from scipy.spatial.transform import Rotation
from relaxations import taylor
from tests.RelaxationTestCase import RelaxationTestCase, sample_points, sample_params
from transformations.rotation import RotationZ, Rot... | 33.081081 | 85 | 0.684368 | 379 | 3,672 | 6.485488 | 0.16095 | 0.112286 | 0.117168 | 0.102522 | 0.822213 | 0.822213 | 0.792921 | 0.792921 | 0.792921 | 0.792921 | 0 | 0.010356 | 0.211057 | 3,672 | 110 | 86 | 33.381818 | 0.838108 | 0 | 0 | 0.813187 | 0 | 0 | 0.002723 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 1 | 0.098901 | false | 0 | 0.098901 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f9f29cae875c319e09db053a906315e476c03fba | 17,346 | py | Python | sdk/python/pulumi_databricks/storage_credential.py | pulumi/pulumi-databricks | 43580d4adbd04b72558f368ff0eef3d03432ebc1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_databricks/storage_credential.py | pulumi/pulumi-databricks | 43580d4adbd04b72558f368ff0eef3d03432ebc1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_databricks/storage_credential.py | pulumi/pulumi-databricks | 43580d4adbd04b72558f368ff0eef3d03432ebc1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 44.025381 | 253 | 0.665571 | 1,847 | 17,346 | 6.002707 | 0.118029 | 0.052584 | 0.077117 | 0.053576 | 0.836114 | 0.818707 | 0.810228 | 0.793903 | 0.789303 | 0.784522 | 0 | 0.000228 | 0.239767 | 17,346 | 393 | 254 | 44.137405 | 0.840525 | 0.344172 | 0 | 0.769608 | 1 | 0 | 0.158715 | 0.103982 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156863 | false | 0.004902 | 0.034314 | 0.058824 | 0.284314 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
e604ec1b539491c043721f298b5423f056c91a7e | 15,635 | py | Python | src/sdk/bkuser_sdk/api/batch_api.py | shabbywu/bk-user | 8ea590958a5c6dd3c71d0b72e1d4866ce327efda | [
"MIT"
] | null | null | null | src/sdk/bkuser_sdk/api/batch_api.py | shabbywu/bk-user | 8ea590958a5c6dd3c71d0b72e1d4866ce327efda | [
"MIT"
] | null | null | null | src/sdk/bkuser_sdk/api/batch_api.py | shabbywu/bk-user | 8ea590958a5c6dd3c71d0b72e1d4866ce327efda | [
"MIT"
] | null | null | null | # coding: utf-8
"""
蓝鲸用户管理 API
蓝鲸用户管理后台服务 API # noqa: E501
OpenAPI spec version: v2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from bkuser_sdk.ap... | 37.404306 | 156 | 0.614775 | 1,784 | 15,635 | 5.091368 | 0.093049 | 0.051084 | 0.052846 | 0.031708 | 0.935484 | 0.921832 | 0.915887 | 0.894088 | 0.875372 | 0.865463 | 0 | 0.020353 | 0.296067 | 15,635 | 417 | 157 | 37.494005 | 0.804925 | 0.316214 | 0 | 0.775229 | 1 | 0 | 0.177087 | 0.061198 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041284 | false | 0 | 0.018349 | 0 | 0.119266 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
e61c4459cfe0fdfe7f52be822844f6a533a766b8 | 436 | py | Python | tests/unit/test_utils.py | cschreep/dug | f61f0248caa8a5b6b4f25f6d1a8f8f1afd28a39e | [
"MIT"
] | null | null | null | tests/unit/test_utils.py | cschreep/dug | f61f0248caa8a5b6b4f25f6d1a8f8f1afd28a39e | [
"MIT"
] | null | null | null | tests/unit/test_utils.py | cschreep/dug | f61f0248caa8a5b6b4f25f6d1a8f8f1afd28a39e | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.skip("Implement this test")
def test_object_factory():
pass
@pytest.mark.skip("Implement this test")
def test_complex_handler():
pass
@pytest.mark.skip("Implement this test")
def test_get_dbgap_var_link():
pass
@pytest.mark.skip("Implement this test")
def test_get_dbgap_st... | 16.148148 | 42 | 0.743119 | 64 | 436 | 4.796875 | 0.34375 | 0.162866 | 0.228013 | 0.374593 | 0.749186 | 0.749186 | 0.749186 | 0.749186 | 0.625407 | 0.488599 | 0 | 0 | 0.142202 | 436 | 26 | 43 | 16.769231 | 0.820856 | 0 | 0 | 0.625 | 0 | 0 | 0.21789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | true | 0.3125 | 0.0625 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
e62044bbd93dfa9af9265d845ec02b7a2ce22502 | 70,924 | py | Python | kmip/tests/unit/core/messages/payloads/test_create.py | ondrap/PyKMIP | c8ea17d8faf827e0f9d004972835128a1a71569f | [
"Apache-2.0"
] | 179 | 2015-03-20T06:08:59.000Z | 2022-03-14T02:24:38.000Z | kmip/tests/unit/core/messages/payloads/test_create.py | imharshr/PyKMIP | 9403ff3d2aa83de4c786b8eedeb85d169fd4a594 | [
"Apache-2.0"
] | 600 | 2015-04-08T14:14:48.000Z | 2022-03-28T13:49:47.000Z | kmip/tests/unit/core/messages/payloads/test_create.py | imharshr/PyKMIP | 9403ff3d2aa83de4c786b8eedeb85d169fd4a594 | [
"Apache-2.0"
] | 131 | 2015-03-30T12:51:49.000Z | 2022-03-23T04:34:34.000Z | # Copyright (c) 2014 The Johns Hopkins University/Applied Physics Laboratory
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICEN... | 38.028954 | 79 | 0.521107 | 6,006 | 70,924 | 6.039294 | 0.048452 | 0.037384 | 0.031016 | 0.039176 | 0.963967 | 0.956247 | 0.937665 | 0.93342 | 0.927354 | 0.925232 | 0 | 0.05228 | 0.405589 | 70,924 | 1,864 | 80 | 38.049356 | 0.808103 | 0.13279 | 0 | 0.752294 | 0 | 0.021877 | 0.121416 | 0.078694 | 0 | 0 | 0 | 0 | 0.090332 | 1 | 0.038109 | false | 0 | 0.00494 | 0 | 0.04446 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e62203163b014ffdba47a66c63c9e10cb750de3f | 68 | py | Python | kernels/utils/__init__.py | sirCamp/tensorflow-kernels | e3d459406f463bb646e150c3bab89d8410f86f16 | [
"MIT"
] | 3 | 2019-10-19T09:21:04.000Z | 2020-09-25T14:45:38.000Z | kernels/utils/__init__.py | sirCamp/tensorflow-kernels | e3d459406f463bb646e150c3bab89d8410f86f16 | [
"MIT"
] | null | null | null | kernels/utils/__init__.py | sirCamp/tensorflow-kernels | e3d459406f463bb646e150c3bab89d8410f86f16 | [
"MIT"
] | null | null | null | from utils import array_to_tensor
from utils import tensor_to_array
| 22.666667 | 33 | 0.882353 | 12 | 68 | 4.666667 | 0.5 | 0.321429 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 7 |
053bdf80bb78f649636efa51b24fa1d244e84c1f | 3,653 | py | Python | coramin/relaxations/tests/test_mccormick.py | dilr/Coramin | 22187e5f9e1631867c29f981ff6dc035341bd23d | [
"BSD-3-Clause"
] | 11 | 2019-04-03T21:33:29.000Z | 2022-02-28T06:07:03.000Z | coramin/relaxations/tests/test_mccormick.py | dilr/Coramin | 22187e5f9e1631867c29f981ff6dc035341bd23d | [
"BSD-3-Clause"
] | 50 | 2019-04-01T18:48:14.000Z | 2022-03-04T21:51:27.000Z | coramin/relaxations/tests/test_mccormick.py | dilr/Coramin | 22187e5f9e1631867c29f981ff6dc035341bd23d | [
"BSD-3-Clause"
] | 9 | 2019-03-31T21:29:35.000Z | 2021-09-02T02:33:40.000Z | import pyomo.environ as pyo
import unittest
import coramin
class TestMcCormick(unittest.TestCase):
@classmethod
def setUpClass(cls):
pass
@classmethod
def tearDownClass(cls):
pass
def test_mccormick1(self):
model = pyo.ConcreteModel()
model.x = pyo.Var(bounds=(0, ... | 35.466019 | 100 | 0.612373 | 509 | 3,653 | 4.333988 | 0.133595 | 0.048957 | 0.054397 | 0.05893 | 0.896646 | 0.875793 | 0.875793 | 0.875793 | 0.875793 | 0.875793 | 0 | 0.029263 | 0.242267 | 3,653 | 102 | 101 | 35.813725 | 0.767702 | 0 | 0 | 0.753086 | 0 | 0 | 0.017794 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.135802 | false | 0.024691 | 0.037037 | 0 | 0.185185 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
0546bcddbb513242432023435efa8c4237b6ba70 | 125 | py | Python | mountainlab_pytools/__init__.py | tjd2002/mountainlab_pytools | 19b4ab06b073a7cfd9535b9285fd95471e731df9 | [
"Apache-2.0"
] | null | null | null | mountainlab_pytools/__init__.py | tjd2002/mountainlab_pytools | 19b4ab06b073a7cfd9535b9285fd95471e731df9 | [
"Apache-2.0"
] | null | null | null | mountainlab_pytools/__init__.py | tjd2002/mountainlab_pytools | 19b4ab06b073a7cfd9535b9285fd95471e731df9 | [
"Apache-2.0"
] | 1 | 2019-01-19T04:07:15.000Z | 2019-01-19T04:07:15.000Z | from mountainlab_pytools import mdaio
from mountainlab_pytools import processormanager
from mountainlab_pytools import mlproc | 41.666667 | 48 | 0.912 | 15 | 125 | 7.4 | 0.466667 | 0.405405 | 0.594595 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088 | 125 | 3 | 49 | 41.666667 | 0.973684 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
0558f8c316f4258b3bc2770e9297874dda77ceb9 | 90 | py | Python | nami/AI/__init__.py | namirinz/nami | b74b3d302aa241470ce6ae210c5a2f0e09dd8bf2 | [
"MIT"
] | 2 | 2020-08-03T10:37:45.000Z | 2020-10-11T14:55:05.000Z | nami/AI/__init__.py | namirinz/nami | b74b3d302aa241470ce6ae210c5a2f0e09dd8bf2 | [
"MIT"
] | null | null | null | nami/AI/__init__.py | namirinz/nami | b74b3d302aa241470ce6ae210c5a2f0e09dd8bf2 | [
"MIT"
] | null | null | null | from nami.AI.kme_tokenize import Tokenizer
from nami.AI.kme_tokenize import Segmentation
| 22.5 | 45 | 0.855556 | 14 | 90 | 5.357143 | 0.571429 | 0.213333 | 0.266667 | 0.346667 | 0.72 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 90 | 3 | 46 | 30 | 0.925926 | 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 | 1 | 0 | 1 | 0 | 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 | 9 |
0575edf17964e46cc3a15db61b68f332ba3a0446 | 94 | py | Python | python/datadict/core/dto/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/datadict/core/dto/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/datadict/core/dto/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | from .punctuation_kb import the_apostrophes_dict
from .enclitics_kb import the_enclitics_dict
| 31.333333 | 48 | 0.893617 | 14 | 94 | 5.571429 | 0.571429 | 0.205128 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 94 | 2 | 49 | 47 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e9b5bdac13c646674c115ffb4126110ce82ffdc2 | 2,536 | py | Python | test/node/test_send_orders_to_on_chain_check.py | 0xProject/p2p_incentives | ce69926eb3d003fb2767651df9486556c0e20ab6 | [
"Apache-2.0"
] | 3 | 2020-03-11T19:42:48.000Z | 2021-04-01T21:09:05.000Z | test/node/test_send_orders_to_on_chain_check.py | 0xProject/p2p_incentives | ce69926eb3d003fb2767651df9486556c0e20ab6 | [
"Apache-2.0"
] | null | null | null | test/node/test_send_orders_to_on_chain_check.py | 0xProject/p2p_incentives | ce69926eb3d003fb2767651df9486556c0e20ab6 | [
"Apache-2.0"
] | null | null | null | """
This module contains unit tests of send_orders_to_on_chain_check().
"""
from typing import List
import pytest
from message import Order
from node import Peer
from ..__init__ import (
SCENARIO_SAMPLE,
ENGINE_SAMPLE,
create_a_test_peer,
create_test_orders,
)
@pytest.mark.parametrize("scenario,engin... | 36.753623 | 84 | 0.754338 | 396 | 2,536 | 4.474747 | 0.176768 | 0.057562 | 0.1693 | 0.22009 | 0.88149 | 0.870767 | 0.870767 | 0.854966 | 0.854402 | 0.776524 | 0 | 0.015581 | 0.164827 | 2,536 | 68 | 85 | 37.294118 | 0.821058 | 0.337539 | 0 | 0.4375 | 0 | 0 | 0.018484 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 1 | 0.0625 | false | 0 | 0.15625 | 0 | 0.21875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
e9bbb7efcfd8c949ed7e375c6adc3c11a6b31995 | 1,618 | py | Python | benchmark/test_crossformer.py | Oneflow-Inc/vision | 352e9240f63118112ea174bb2d0b502fa54be16f | [
"BSD-3-Clause"
] | 40 | 2021-10-19T02:34:56.000Z | 2022-03-25T07:49:44.000Z | benchmark/test_crossformer.py | Oneflow-Inc/vision | 352e9240f63118112ea174bb2d0b502fa54be16f | [
"BSD-3-Clause"
] | 53 | 2021-10-22T02:24:44.000Z | 2022-03-31T04:20:47.000Z | benchmark/test_crossformer.py | Oneflow-Inc/vision | 352e9240f63118112ea174bb2d0b502fa54be16f | [
"BSD-3-Clause"
] | 11 | 2022-01-06T02:57:07.000Z | 2022-03-23T15:19:51.000Z | from benchmark import *
import oneflow_benchmark
from flowvision.models.crossformer import crossformer_tiny_patch4_group7_224
@oneflow_benchmark.ci_settings(compare={"median": "5%"})
def test_crossformer_tiny_patch4_group7_224_batch_size1(
benchmark, net=crossformer_tiny_patch4_group7_224, input_shape=[1, 3, 224,... | 36.772727 | 84 | 0.772559 | 226 | 1,618 | 5.154867 | 0.172566 | 0.141631 | 0.198283 | 0.254936 | 0.905579 | 0.879828 | 0.879828 | 0.879828 | 0.879828 | 0.656652 | 0 | 0.074669 | 0.114339 | 1,618 | 43 | 85 | 37.627907 | 0.738311 | 0 | 0 | 0.606061 | 0 | 0 | 0.024722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.151515 | false | 0 | 0.090909 | 0 | 0.242424 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
756b5031278f6df402a9779f956a99892950bb6a | 600 | py | Python | src/mmgroup/generate_c/__init__.py | Martin-Seysen/mmgroup | 6acd566f1079e7e27eec76352477fbba39eeb65f | [
"MIT"
] | 14 | 2020-07-10T20:12:05.000Z | 2022-03-10T13:46:59.000Z | src/mmgroup/generate_c/__init__.py | Martin-Seysen/mmgroup | 6acd566f1079e7e27eec76352477fbba39eeb65f | [
"MIT"
] | 1 | 2022-03-09T07:05:04.000Z | 2022-03-18T20:17:11.000Z | src/mmgroup/generate_c/__init__.py | Martin-Seysen/mmgroup | 6acd566f1079e7e27eec76352477fbba39eeb65f | [
"MIT"
] | 1 | 2022-02-07T21:08:00.000Z | 2022-02-07T21:08:00.000Z |
from mmgroup.generate_c.generate_functions import prepend_blanks
from mmgroup.generate_c.generate_functions import format_item
from mmgroup.generate_c.generate_functions import UserDirective
from mmgroup.generate_c.generate_functions import UserFormat
from mmgroup.generate_c.generate_functions import make_table
from ... | 35.294118 | 64 | 0.89 | 93 | 600 | 5.387097 | 0.247312 | 0.219561 | 0.379242 | 0.399202 | 0.802395 | 0.802395 | 0.802395 | 0.373253 | 0.151697 | 0 | 0 | 0 | 0.076667 | 600 | 16 | 65 | 37.5 | 0.904332 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
756d2da7bd158f2bed11aa9c1387ba937c40a906 | 14,776 | py | Python | test/unit/validate_and_forward/test_validate_and_forward.py | NHSDigital/list-reconciliation | 37b1ebe99a64275e23b0e7fb6a89415b92d14306 | [
"MIT"
] | 4 | 2021-06-25T08:28:54.000Z | 2021-12-16T11:03:42.000Z | test/unit/validate_and_forward/test_validate_and_forward.py | NHSDigital/list-reconciliation | 37b1ebe99a64275e23b0e7fb6a89415b92d14306 | [
"MIT"
] | 184 | 2021-06-24T15:27:08.000Z | 2022-03-17T12:44:28.000Z | test/unit/validate_and_forward/test_validate_and_forward.py | NHSDigital/list-reconciliation | 37b1ebe99a64275e23b0e7fb6a89415b92d14306 | [
"MIT"
] | 3 | 2021-11-05T10:21:44.000Z | 2022-03-04T14:29:24.000Z | import json
import boto3
import pytest
from database import Jobs
from freezegun import freeze_time
from jobs.statuses import JobStatus, ParseStatus
from lr_logging.exceptions import InvalidFilename, InvalidGPExtract, InvalidStructure
from pynamodb.exceptions import PutError, QueryError
from .conftest import INPUT_BUC... | 31.50533 | 313 | 0.732945 | 1,976 | 14,776 | 5.119939 | 0.099696 | 0.048829 | 0.018187 | 0.022734 | 0.848077 | 0.815855 | 0.795789 | 0.780765 | 0.759613 | 0.759613 | 0 | 0.056775 | 0.170344 | 14,776 | 468 | 314 | 31.57265 | 0.768497 | 0.001218 | 0 | 0.754667 | 0 | 0.002667 | 0.163762 | 0.04325 | 0 | 0 | 0 | 0 | 0.090667 | 1 | 0.050667 | false | 0 | 0.024 | 0 | 0.074667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.