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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
79f742cdabbb8c0220bec876e45f2379ff5b758f | 6,049 | py | Python | python/test_gilded_rose.py | agooding-netizen/GildedRose-Refactoring-Kata | 34c6503b3937a118f78da3f4e4a9b6db7e5ca676 | [
"MIT"
] | null | null | null | python/test_gilded_rose.py | agooding-netizen/GildedRose-Refactoring-Kata | 34c6503b3937a118f78da3f4e4a9b6db7e5ca676 | [
"MIT"
] | null | null | null | python/test_gilded_rose.py | agooding-netizen/GildedRose-Refactoring-Kata | 34c6503b3937a118f78da3f4e4a9b6db7e5ca676 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from gilded_rose import Item, GildedRose
class GildedRoseTest(unittest.TestCase):
def test_concert_under_5(self):
items = [Item("Backstage passes to a TAFKAL80ETC concert", 2, 30)]
gilded_rose = GildedRose(items)
gilded_rose.update_quality()
... | 34.965318 | 75 | 0.642586 | 759 | 6,049 | 4.916996 | 0.092227 | 0.147374 | 0.094051 | 0.180868 | 0.932208 | 0.911308 | 0.804662 | 0.777331 | 0.758307 | 0.705788 | 0 | 0.040296 | 0.241032 | 6,049 | 172 | 76 | 35.168605 | 0.772599 | 0.003472 | 0 | 0.571429 | 0 | 0 | 0.112512 | 0 | 0 | 0 | 0 | 0 | 0.192857 | 1 | 0.192857 | false | 0.057143 | 0.014286 | 0 | 0.214286 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
0319ac2bd885a373250b677223d60ab2ad10b322 | 173 | py | Python | reports/__init__.py | shawnclq/Adversarial-Threat-Detector | fb5cc98ed46138e6630989721f6b4481cf1879a5 | [
"MIT"
] | 29 | 2021-02-12T14:17:35.000Z | 2022-02-22T17:11:05.000Z | reports/__init__.py | shawnclq/Adversarial-Threat-Detector | fb5cc98ed46138e6630989721f6b4481cf1879a5 | [
"MIT"
] | null | null | null | reports/__init__.py | shawnclq/Adversarial-Threat-Detector | fb5cc98ed46138e6630989721f6b4481cf1879a5 | [
"MIT"
] | 6 | 2021-02-19T10:12:45.000Z | 2021-12-09T02:18:54.000Z | # Module providing evasion attacks.
from reports.report_utility import ReportUtility
from reports.report_html import HtmlReport
from reports.report_ipynb import IpynbReport
| 34.6 | 48 | 0.872832 | 22 | 173 | 6.727273 | 0.636364 | 0.222973 | 0.344595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098266 | 173 | 4 | 49 | 43.25 | 0.948718 | 0.190751 | 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 |
0335b861256d5ca962ca3ef0fedbc5d0cbfc301e | 68,613 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_heteroFair/cmp_raytrace/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_heteroFair/cmp_raytrace/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_heteroFair/cmp_raytrace/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.068928 | 124 | 0.682101 | 8,082 | 68,613 | 5.78483 | 0.067681 | 0.123543 | 0.112934 | 0.093427 | 0.93887 | 0.930999 | 0.91761 | 0.88713 | 0.862897 | 0.842384 | 0 | 0.132013 | 0.224316 | 68,613 | 914 | 125 | 75.068928 | 0.746439 | 0 | 0 | 0.642232 | 0 | 0 | 0.657373 | 0.048095 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
035665adfd99f2f146a8f5a3c9b9a8ba5bef9ce8 | 48 | py | Python | bindsnet_master/bindsnet/preprocessing/__init__.py | Singular-Brain/ProjectBrain | 2d22d45c13a86825c0dcaf517a59e02f2c4f6164 | [
"MIT"
] | 6 | 2021-06-01T03:43:35.000Z | 2022-02-11T10:41:06.000Z | bindsnet_master/bindsnet/preprocessing/__init__.py | Singular-Brain/ProjectBrain | 2d22d45c13a86825c0dcaf517a59e02f2c4f6164 | [
"MIT"
] | 1 | 2022-03-31T03:22:14.000Z | 2022-03-31T03:22:14.000Z | bindsnet_master/bindsnet/preprocessing/__init__.py | Singular-Brain/ProjectBrain | 2d22d45c13a86825c0dcaf517a59e02f2c4f6164 | [
"MIT"
] | 3 | 2021-10-30T02:30:40.000Z | 2021-11-16T04:23:12.000Z | from .preprocessing import AbstractPreprocessor
| 24 | 47 | 0.895833 | 4 | 48 | 10.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.977273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ceefb58123f44f6ea9f47f949e1f27b96df4abd1 | 2,397 | py | Python | teraserver/python/tests/modules/FlaskModule/API/user/test_UserRefreshToken.py | introlab/opentera | bfc4de672c9de40b7c9a659be2138731e7ee4e94 | [
"Apache-2.0"
] | 10 | 2020-03-16T14:46:06.000Z | 2022-02-11T16:07:38.000Z | teraserver/python/tests/modules/FlaskModule/API/user/test_UserRefreshToken.py | introlab/opentera | bfc4de672c9de40b7c9a659be2138731e7ee4e94 | [
"Apache-2.0"
] | 114 | 2019-09-16T13:02:50.000Z | 2022-03-22T19:17:36.000Z | teraserver/python/tests/modules/FlaskModule/API/user/test_UserRefreshToken.py | introlab/opentera | bfc4de672c9de40b7c9a659be2138731e7ee4e94 | [
"Apache-2.0"
] | null | null | null | from tests.modules.FlaskModule.API.BaseAPITest import BaseAPITest
import datetime
class UserRefreshTokenTest(BaseAPITest):
login_endpoint = '/api/user/login'
test_endpoint = '/api/user/refresh_token'
def setUp(self):
pass
def tearDown(self):
pass
def test_no_token_http_auth_refr... | 42.803571 | 83 | 0.71214 | 289 | 2,397 | 5.50519 | 0.17301 | 0.067882 | 0.090509 | 0.072282 | 0.801383 | 0.801383 | 0.76807 | 0.745443 | 0.710245 | 0.676933 | 0 | 0.01334 | 0.1869 | 2,397 | 55 | 84 | 43.581818 | 0.802976 | 0.019191 | 0 | 0.673913 | 0 | 0 | 0.080885 | 0.009791 | 0 | 0 | 0 | 0 | 0.326087 | 1 | 0.130435 | false | 0.130435 | 0.043478 | 0 | 0.23913 | 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 |
cefb5f24c4f3c4801369be89f481998cbadf0585 | 12,408 | py | Python | tests/test_utils.py | jannikluhn/ethereum-accounts | 164da163b99fe63ffd6d23a21b90e53e0c245952 | [
"MIT"
] | null | null | null | tests/test_utils.py | jannikluhn/ethereum-accounts | 164da163b99fe63ffd6d23a21b90e53e0c245952 | [
"MIT"
] | null | null | null | tests/test_utils.py | jannikluhn/ethereum-accounts | 164da163b99fe63ffd6d23a21b90e53e0c245952 | [
"MIT"
] | null | null | null | import pytest
from ethereum.utils import (
privtoaddr,
privtopub,
)
from eth_utils import (
remove_0x_prefix,
encode_hex,
decode_hex,
is_0x_prefixed,
is_checksum_address,
is_hex,
is_same_address,
)
from eth_accounts import (
random_private_key,
private_key_to_address,
... | 47 | 97 | 0.736863 | 1,454 | 12,408 | 6.172627 | 0.065337 | 0.267409 | 0.381059 | 0.481337 | 0.788747 | 0.763677 | 0.747409 | 0.704624 | 0.685905 | 0.671421 | 0 | 0.161248 | 0.129836 | 12,408 | 263 | 98 | 47.178707 | 0.670001 | 0.005964 | 0 | 0.594142 | 0 | 0.133891 | 0.496513 | 0.480292 | 0 | 0 | 0.183455 | 0 | 0.100418 | 1 | 0.037657 | false | 0.029289 | 0.020921 | 0 | 0.058577 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
301aa916d8f95067c10019e3141e2da838b6d492 | 121 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/panther/calculators/calc_dsa.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/panther/calculators/calc_dsa.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/panther/calculators/calc_dsa.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.parts.nixi.calculators.calc_dsa import CALC_DSA_nixi
class CALC_DSA_panther(CALC_DSA_nixi):
pass | 24.2 | 71 | 0.842975 | 19 | 121 | 5 | 0.578947 | 0.294737 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 5 | 72 | 24.2 | 0.87156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
30796f50157c05afa391060e1c994d16f58984d4 | 11,778 | py | Python | hotviz/example/span_data.py | AxlAlm/hotviz | 4269fdf70fcab28a35d11afab8a58393dc2f9a12 | [
"MIT"
] | null | null | null | hotviz/example/span_data.py | AxlAlm/hotviz | 4269fdf70fcab28a35d11afab8a58393dc2f9a12 | [
"MIT"
] | null | null | null | hotviz/example/span_data.py | AxlAlm/hotviz | 4269fdf70fcab28a35d11afab8a58393dc2f9a12 | [
"MIT"
] | null | null | null |
span_data = [
{
"token": "I",
"pred": {
"span_id": None,
"label": "X",
"score": 0.1, ... | 45.828794 | 101 | 0.098149 | 374 | 11,778 | 2.909091 | 0.104278 | 0.209559 | 0.220588 | 0.154412 | 0.902574 | 0.889706 | 0.875919 | 0.875919 | 0.594669 | 0.294118 | 0 | 0.036398 | 0.818051 | 11,778 | 257 | 102 | 45.828794 | 0.471302 | 0 | 0 | 0.562249 | 0 | 0 | 0.090091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
065cb4b5bb16055e3c96c6c238abe821273bf7cd | 13,639 | py | Python | tests/components/nanoleaf/test_config_flow.py | hnrkp/core | 24d017f9744341d42b8fa837e157846c0bb03707 | [
"Apache-2.0"
] | 1 | 2021-12-11T00:41:25.000Z | 2021-12-11T00:41:25.000Z | tests/components/nanoleaf/test_config_flow.py | hnrkp/core | 24d017f9744341d42b8fa837e157846c0bb03707 | [
"Apache-2.0"
] | 69 | 2020-08-04T09:03:43.000Z | 2022-03-31T06:13:01.000Z | tests/components/nanoleaf/test_config_flow.py | BKPepe/home-assistant | b4238443c86860a0540df53a8a11b9fed87dea3c | [
"Apache-2.0"
] | null | null | null | """Test the Nanoleaf config flow."""
from unittest.mock import patch
from pynanoleaf import InvalidToken, NotAuthorizingNewTokens, Unavailable
from homeassistant import config_entries
from homeassistant.components.nanoleaf.const import DOMAIN
from homeassistant.const import CONF_HOST, CONF_TOKEN
from homeassistant.co... | 34.0975 | 86 | 0.630178 | 1,470 | 13,639 | 5.597279 | 0.093878 | 0.058459 | 0.113029 | 0.126884 | 0.81332 | 0.782936 | 0.763004 | 0.745017 | 0.743437 | 0.743437 | 0 | 0.008694 | 0.249432 | 13,639 | 399 | 87 | 34.182957 | 0.795057 | 0.0022 | 0 | 0.701754 | 0 | 0 | 0.234748 | 0.155016 | 0 | 0 | 0 | 0 | 0.172515 | 1 | 0 | false | 0 | 0.035088 | 0 | 0.035088 | 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 |
066986712dc49109390134b26929850250390592 | 137,184 | py | Python | DocTAG_Dockerized/DocTAG_App/utils_configuration_and_update.py | DocTAG/doctag-core | 0b3c26cca9ef022e6551d5b4f8a02115b497ff2a | [
"MIT"
] | 4 | 2021-11-26T09:38:36.000Z | 2022-01-26T17:46:58.000Z | DocTAG_Dockerized/DocTAG_App/utils_configuration_and_update.py | DocTAG/doctag-core | 0b3c26cca9ef022e6551d5b4f8a02115b497ff2a | [
"MIT"
] | null | null | null | DocTAG_Dockerized/DocTAG_App/utils_configuration_and_update.py | DocTAG/doctag-core | 0b3c26cca9ef022e6551d5b4f8a02115b497ff2a | [
"MIT"
] | null | null | null | from DocTAG_App.utils import *
from psycopg2.extensions import register_adapter, AsIs
def addapt_numpy_float64(numpy_float64):
return AsIs(numpy_float64)
def addapt_numpy_int64(numpy_int64):
return AsIs(numpy_int64)
register_adapter(numpy.float64, addapt_numpy_float64)
register_adapter(numpy.int64, addapt_numpy... | 54.459706 | 276 | 0.424124 | 13,450 | 137,184 | 4.204758 | 0.034572 | 0.019008 | 0.013297 | 0.010344 | 0.893111 | 0.873254 | 0.837483 | 0.810977 | 0.793525 | 0.768964 | 0 | 0.004746 | 0.479298 | 137,184 | 2,518 | 277 | 54.481334 | 0.786972 | 0.052105 | 0 | 0.792163 | 0 | 0.010417 | 0.190625 | 0.002582 | 0.000496 | 0 | 0 | 0 | 0 | 1 | 0.002976 | false | 0.007937 | 0.003968 | 0.000992 | 0.047619 | 0.011409 | 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 |
2328fc599b6c9b0929d4c091b19227d81ebee758 | 989 | py | Python | python--exercicios/ex053.py | Eliezer2000/python | 12abb54c6536acb2f36b8f34bf51ec765857eb75 | [
"MIT"
] | null | null | null | python--exercicios/ex053.py | Eliezer2000/python | 12abb54c6536acb2f36b8f34bf51ec765857eb75 | [
"MIT"
] | null | null | null | python--exercicios/ex053.py | Eliezer2000/python | 12abb54c6536acb2f36b8f34bf51ec765857eb75 | [
"MIT"
] | null | null | null | frase = str(input('Digie uma frase : ')).strip().upper()
palavras = frase.split()
junto = ''.join(palavras)
print('Você digitou a frase {}'.format(junto))
inverso = ''
for letra in range(len(junto) - 1, - 1, - 1):
inverso += junto[letra]
if inverso == junto:
print('Temos um Palindromo')
else:
print('A frase ... | 21.977778 | 57 | 0.625885 | 136 | 989 | 4.551471 | 0.25 | 0.019386 | 0.063005 | 0.087237 | 0.878837 | 0.878837 | 0.878837 | 0.878837 | 0.878837 | 0.878837 | 0 | 0.011421 | 0.203236 | 989 | 44 | 58 | 22.477273 | 0.774112 | 0 | 0 | 0.806452 | 0 | 0 | 0.247959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.225806 | 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 |
23458753b2b57a1cc8485ec44023b46ee10a1ee2 | 9,960 | py | Python | test/unit/hsts_support_test.py | grauwoelfchen/pyramid_secure_response | ed162ec5ed0d18aecbcab946c15a2f0c4104ea22 | [
"BSD-3-Clause"
] | 2 | 2017-11-29T13:51:55.000Z | 2018-01-16T05:51:58.000Z | test/unit/hsts_support_test.py | grauwoelfchen/pyramid_secure_response | ed162ec5ed0d18aecbcab946c15a2f0c4104ea22 | [
"BSD-3-Clause"
] | null | null | null | test/unit/hsts_support_test.py | grauwoelfchen/pyramid_secure_response | ed162ec5ed0d18aecbcab946c15a2f0c4104ea22 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from pyramid_secure_response.hsts_support import tween
@pytest.fixture(autouse=True)
def setup():
import logging
from pyramid_secure_response.hsts_support import logger
logger.setLevel(logging.ERROR)
@pytest.mark.parametrize('max_age,include_subdomains,preload,header', [
('3600', True... | 37.164179 | 78 | 0.740161 | 1,243 | 9,960 | 5.556718 | 0.083669 | 0.116259 | 0.145939 | 0.144781 | 0.920805 | 0.908643 | 0.891994 | 0.857246 | 0.850007 | 0.850007 | 0 | 0.01086 | 0.167972 | 9,960 | 267 | 79 | 37.303371 | 0.822614 | 0.020281 | 0 | 0.727723 | 0 | 0 | 0.248359 | 0.177267 | 0 | 0 | 0 | 0 | 0.178218 | 1 | 0.039604 | false | 0 | 0.128713 | 0 | 0.168317 | 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 |
237c1b3acee43b916550b7ee38befd21304e4b7e | 137 | py | Python | week11/helloWorld.py | kmcooper/BMI8540 | 8becb1b2bdf4199684e470e09f0f4c8b93967e08 | [
"MIT"
] | null | null | null | week11/helloWorld.py | kmcooper/BMI8540 | 8becb1b2bdf4199684e470e09f0f4c8b93967e08 | [
"MIT"
] | null | null | null | week11/helloWorld.py | kmcooper/BMI8540 | 8becb1b2bdf4199684e470e09f0f4c8b93967e08 | [
"MIT"
] | 1 | 2021-04-05T22:42:48.000Z | 2021-04-05T22:42:48.000Z | # This program prints out Hello World!
#/usr/bin/python3.7
# Prints out Hello World
# Thats it. Thats the code.
print("Hello world!")
| 17.125 | 38 | 0.708029 | 22 | 137 | 4.409091 | 0.681818 | 0.309278 | 0.28866 | 0.391753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.175182 | 137 | 7 | 39 | 19.571429 | 0.840708 | 0.751825 | 0 | 0 | 0 | 0 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
88d186180e893221bb313edf00982d1a6bb4683e | 5,101 | py | Python | rvpvp/isa/rvv/vmfxx_vf.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 5 | 2021-05-10T09:57:00.000Z | 2021-10-05T14:39:20.000Z | rvpvp/isa/rvv/vmfxx_vf.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | null | null | null | rvpvp/isa/rvv/vmfxx_vf.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 1 | 2021-05-14T20:24:11.000Z | 2021-05-14T20:24:11.000Z | from ...isa.inst import *
import numpy as np
class Vmfeq_vf(Inst):
name = 'vmfeq.vf'
def golden(self):
if 'vs2' in self:
result = np.unpackbits( self['orig'], bitorder='little' )
if 'vstart' in self:
vstart = self['vstart']
else:
v... | 26.02551 | 89 | 0.440306 | 542 | 5,101 | 4.132841 | 0.077491 | 0.064286 | 0.085714 | 0.040179 | 0.929911 | 0.929911 | 0.929911 | 0.929911 | 0.929911 | 0.929911 | 0 | 0.014291 | 0.423838 | 5,101 | 195 | 90 | 26.158974 | 0.747873 | 0 | 0 | 0.84375 | 0 | 0 | 0.078839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046875 | false | 0 | 0.015625 | 0 | 0.25 | 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 |
88e9839f321bc9cffd29102df066220f61069f15 | 145 | py | Python | choir/modeling/meta_arch/__init__.py | scwangdyd/large_vocabulary_hoi_detection | db7a4397c3050b1bf9a3f7473edf125e2b1046c4 | [
"MIT"
] | 9 | 2021-11-13T17:14:07.000Z | 2022-03-29T00:27:54.000Z | choir/modeling/meta_arch/__init__.py | scwangdyd/large_vocabulary_hoi_detection | db7a4397c3050b1bf9a3f7473edf125e2b1046c4 | [
"MIT"
] | 1 | 2022-02-04T16:28:01.000Z | 2022-02-04T16:28:01.000Z | choir/modeling/meta_arch/__init__.py | scwangdyd/large_vocabulary_hoi_detection | db7a4397c3050b1bf9a3f7473edf125e2b1046c4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .build import META_ARCH_REGISTRY, build_model
from .hoi_detector import HOIR
from .cascade_hoi_detector import CHOIR | 36.25 | 50 | 0.793103 | 22 | 145 | 4.954545 | 0.681818 | 0.201835 | 0.311927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.117241 | 145 | 4 | 51 | 36.25 | 0.84375 | 0.144828 | 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 |
0019f7968180b909204c7c13b0c213a8f952cd40 | 29,772 | py | Python | writer/newyork30.py | rayidghani/esp32 | 3b83c01e18bc952d4808ab6964625d00aab8366b | [
"MIT"
] | null | null | null | writer/newyork30.py | rayidghani/esp32 | 3b83c01e18bc952d4808ab6964625d00aab8366b | [
"MIT"
] | null | null | null | writer/newyork30.py | rayidghani/esp32 | 3b83c01e18bc952d4808ab6964625d00aab8366b | [
"MIT"
] | null | null | null | # Code generated by font_to_py.py.
# Font: NewYork.ttf
# Cmd: ../../../micropython-font-to-py/font_to_py.py -x /System/Library/Fonts/NewYork.ttf 30 newyork30.py
version = '0.33'
def height():
return 30
def baseline():
return 23
def max_width():
return 29
def hmap():
return True
def reverse():
r... | 63.615385 | 105 | 0.707242 | 7,264 | 29,772 | 2.896063 | 0.027395 | 0.636307 | 0.797024 | 0.900699 | 0.760897 | 0.730332 | 0.694443 | 0.653943 | 0.598469 | 0.550269 | 0 | 0.416538 | 0.020657 | 29,772 | 467 | 106 | 63.751606 | 0.30497 | 0.005173 | 0 | 0.157778 | 1 | 0.931111 | 0.907274 | 0.906868 | 0 | 1 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0 | 0.017778 | 0.04 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
003a9685bec17a9415b100702335fa9e00d45ca2 | 148 | py | Python | activitysimulations/watchingsimulation.py | TheImaginaryOne/movies-py | a3b601228cde6850919eaf84c0175f5ce3822e2b | [
"MIT"
] | null | null | null | activitysimulations/watchingsimulation.py | TheImaginaryOne/movies-py | a3b601228cde6850919eaf84c0175f5ce3822e2b | [
"MIT"
] | null | null | null | activitysimulations/watchingsimulation.py | TheImaginaryOne/movies-py | a3b601228cde6850919eaf84c0175f5ce3822e2b | [
"MIT"
] | null | null | null | from domainmodel.movie import Movie
from domainmodel.user import User
from domainmodel.review import Review
class MovieWatchingSimulation:
pass | 24.666667 | 37 | 0.844595 | 18 | 148 | 6.944444 | 0.5 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 148 | 6 | 38 | 24.666667 | 0.968992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
cc3bee54a2f2cfe376b47e81d9587a3619a3b474 | 159 | py | Python | HackerRank/10 Days of Statistics/Day4B.py | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | 1 | 2021-07-22T07:37:31.000Z | 2021-07-22T07:37:31.000Z | HackerRank/10 Days of Statistics/Day4B.py | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | null | null | null | HackerRank/10 Days of Statistics/Day4B.py | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | null | null | null | import math
print(round((pow(0.88, 10) + (1.2*pow(0.88, 9)) + (45*pow(0.88, 8)*pow(0.12, 2))), 3))
print(round((1 - (pow(0.88, 10) + (1.2*pow(0.88, 9)))), 3))
| 39.75 | 86 | 0.522013 | 38 | 159 | 2.184211 | 0.394737 | 0.289157 | 0.361446 | 0.192771 | 0.409639 | 0.409639 | 0.409639 | 0.409639 | 0.409639 | 0.409639 | 0 | 0.251799 | 0.125786 | 159 | 3 | 87 | 53 | 0.345324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 9 |
ccafc8dd350a7b473fa57c6480d7480ca3cc0213 | 187 | py | Python | Week 1 Exercises/vara_varb.py | parkerbxyz/MITx-6.00.1x-2T2019a | 58709fcf1acc380f4a5884d03739fdd621587540 | [
"MIT"
] | 1 | 2019-09-25T06:59:55.000Z | 2019-09-25T06:59:55.000Z | Week 1 Exercises/vara_varb.py | parkerbxyz/MITx-6.00.1x-2T2019a | 58709fcf1acc380f4a5884d03739fdd621587540 | [
"MIT"
] | null | null | null | Week 1 Exercises/vara_varb.py | parkerbxyz/MITx-6.00.1x-2T2019a | 58709fcf1acc380f4a5884d03739fdd621587540 | [
"MIT"
] | null | null | null | if type(varA) is str or type(varB) is str:
print('string involved')
elif varA == varB:
print('equal')
elif varA > varB:
print('bigger')
elif varA < varB:
print('smaller')
| 20.777778 | 42 | 0.631016 | 28 | 187 | 4.214286 | 0.5 | 0.20339 | 0.305085 | 0.432203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219251 | 187 | 8 | 43 | 23.375 | 0.808219 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
ccbbe3f7f8abd59eb83d99bd5e50d90f00755f5b | 13,267 | py | Python | geokey/applications/tests/test_views.py | universityofsussex/geokey | 25e161dbc81841c57c148053dbe99facc81e84b8 | [
"Apache-2.0"
] | null | null | null | geokey/applications/tests/test_views.py | universityofsussex/geokey | 25e161dbc81841c57c148053dbe99facc81e84b8 | [
"Apache-2.0"
] | null | null | null | geokey/applications/tests/test_views.py | universityofsussex/geokey | 25e161dbc81841c57c148053dbe99facc81e84b8 | [
"Apache-2.0"
] | null | null | null | """Tests for views of applications."""
from django.test import TestCase
from django.core.urlresolvers import reverse
from django.contrib.auth.models import AnonymousUser
from django.http import HttpResponseRedirect
from nose.tools import raises
from oauth2_provider.models import AccessToken
from rest_framework.test ... | 38.792398 | 77 | 0.647923 | 1,388 | 13,267 | 6.054755 | 0.097262 | 0.030343 | 0.036411 | 0.034269 | 0.883984 | 0.881128 | 0.86792 | 0.863398 | 0.845312 | 0.842337 | 0 | 0.007512 | 0.237431 | 13,267 | 341 | 78 | 38.906158 | 0.823169 | 0.002412 | 0 | 0.806228 | 0 | 0 | 0.145967 | 0.019427 | 0 | 0 | 0 | 0 | 0.148789 | 1 | 0.079585 | false | 0.017301 | 0.051903 | 0 | 0.152249 | 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 |
cccf817cf51b708eaffec6a6225223c0eb0ab492 | 110 | py | Python | qtrader/simulation/tests/__init__.py | aaron8tang/qtrader | 9bd50fd173c7b55707e91d75985055bbe8664548 | [
"Apache-2.0"
] | 381 | 2017-10-25T19:17:04.000Z | 2021-03-02T08:46:53.000Z | qtrader/simulation/tests/__init__.py | 362115815/qtrader | e5c1e175e19b20381f9140fb76c30ad5cb81f01c | [
"Apache-2.0"
] | 3 | 2018-02-13T23:19:40.000Z | 2018-12-03T22:50:58.000Z | qtrader/simulation/tests/__init__.py | 362115815/qtrader | e5c1e175e19b20381f9140fb76c30ad5cb81f01c | [
"Apache-2.0"
] | 145 | 2017-10-25T19:17:06.000Z | 2021-02-15T04:54:08.000Z | from qtrader.simulation.tests.arbitrage import Arbitrage
from qtrader.simulation.tests.moments import Moments
| 36.666667 | 56 | 0.872727 | 14 | 110 | 6.857143 | 0.5 | 0.229167 | 0.4375 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 110 | 2 | 57 | 55 | 0.941176 | 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 |
ccd3dea82b78f398839e7a993414c4894c3e33fe | 105,660 | py | Python | Gina.py | Zekx/CS332Fighting_Game | 4dbded68f8ebe955db29b12f8d3409db2710c019 | [
"CECILL-B"
] | null | null | null | Gina.py | Zekx/CS332Fighting_Game | 4dbded68f8ebe955db29b12f8d3409db2710c019 | [
"CECILL-B"
] | null | null | null | Gina.py | Zekx/CS332Fighting_Game | 4dbded68f8ebe955db29b12f8d3409db2710c019 | [
"CECILL-B"
] | null | null | null | import pygame
from boxes import HurtBox
from boxes import HitBox
from boxes import DamageBox
from boxes import InvincibleBox
from boxes import GrabBox
from projectile import GinaFireBall
from effects import *
from Character import Character
class Gina(Character):
def __init__(self):
"""
Initialize... | 48.490133 | 130 | 0.520992 | 11,420 | 105,660 | 4.708406 | 0.03021 | 0.060759 | 0.034369 | 0.056054 | 0.92799 | 0.91605 | 0.896039 | 0.870895 | 0.845007 | 0.816459 | 0 | 0.040525 | 0.378308 | 105,660 | 2,178 | 131 | 48.512397 | 0.778042 | 0.043933 | 0 | 0.784129 | 0 | 0 | 0.042338 | 0.040837 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013873 | false | 0.000555 | 0.004994 | 0 | 0.019423 | 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 |
4e2b98d350d6b35d3975c8daa161be68aa0efa9f | 59,476 | py | Python | core/train.py | kianakiaei/TSGL-EEGNet | c7597ea49c80116672005d59c070313ea44fe3c6 | [
"MIT"
] | null | null | null | core/train.py | kianakiaei/TSGL-EEGNet | c7597ea49c80116672005d59c070313ea44fe3c6 | [
"MIT"
] | null | null | null | core/train.py | kianakiaei/TSGL-EEGNet | c7597ea49c80116672005d59c070313ea44fe3c6 | [
"MIT"
] | null | null | null | # coding:utf-8
import os
import gc
import sys
import math
import copy
import time
import logging
import itertools
import numpy as np
from numpy.core.numeric import cross
import tensorflow as tf
import matplotlib.pyplot as plt
from tensorflow.python.keras.api._v2.keras import backend as K
from core.models import EEGNe... | 39.128947 | 97 | 0.456941 | 5,797 | 59,476 | 4.573918 | 0.086597 | 0.00792 | 0.006789 | 0.003734 | 0.802942 | 0.764888 | 0.742599 | 0.735018 | 0.729587 | 0.72095 | 0 | 0.016424 | 0.446163 | 59,476 | 1,520 | 98 | 39.128947 | 0.788525 | 0.174558 | 0 | 0.755814 | 0 | 0.003578 | 0.063825 | 0.008287 | 0 | 0 | 0 | 0.001974 | 0 | 1 | 0.020572 | false | 0.008945 | 0.015206 | 0.000894 | 0.049195 | 0.029517 | 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 |
9d661f3f38a65363f18add1c5424e9a412e09bb2 | 2,799 | py | Python | src/RIOT/tests/gnrc_sock_ip/tests/01-run.py | ARte-team/ARte | 19f17f57522e1b18ba390718fc94be246451837b | [
"MIT"
] | 2 | 2020-04-30T08:17:45.000Z | 2020-05-23T08:46:54.000Z | src/RIOT/tests/gnrc_sock_ip/tests/01-run.py | ARte-team/ARte | 19f17f57522e1b18ba390718fc94be246451837b | [
"MIT"
] | null | null | null | src/RIOT/tests/gnrc_sock_ip/tests/01-run.py | ARte-team/ARte | 19f17f57522e1b18ba390718fc94be246451837b | [
"MIT"
] | 1 | 2020-02-21T09:21:45.000Z | 2020-02-21T09:21:45.000Z | #!/usr/bin/env python3
# Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
import sys
from testrunner import run
def testfunc(child):
... | 52.811321 | 84 | 0.798142 | 438 | 2,799 | 4.550228 | 0.196347 | 0.193176 | 0.272955 | 0.290015 | 0.786252 | 0.77421 | 0.77421 | 0.77421 | 0.77421 | 0.617662 | 0 | 0.002782 | 0.101108 | 2,799 | 52 | 85 | 53.826923 | 0.789348 | 0.086102 | 0 | 0 | 0 | 0 | 0.5721 | 0.437696 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0 | 0.05 | 0 | 0.075 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9d67844b5451d2ba27cdfb64e883456bdae0fb01 | 155 | py | Python | loldib/getratings/models/NA/na_kalista/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_kalista/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_kalista/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from .na_kalista_top import *
from .na_kalista_jng import *
from .na_kalista_mid import *
from .na_kalista_bot import *
from .na_kalista_sup import *
| 25.833333 | 30 | 0.774194 | 25 | 155 | 4.4 | 0.36 | 0.272727 | 0.590909 | 0.690909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 155 | 5 | 31 | 31 | 0.846154 | 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 |
9d6f51f3d68d8a6bade585f3bfc7f6c8e9e89cc1 | 56,476 | py | Python | src/genie/libs/parser/iosxr/tests/test_show_ethernet_yang.py | nujo/genieparser | 083b01efc46afc32abe1a1858729578beab50cd3 | [
"Apache-2.0"
] | 4 | 2020-08-20T12:23:12.000Z | 2021-06-15T14:10:02.000Z | src/genie/libs/parser/iosxr/tests/test_show_ethernet_yang.py | nujo/genieparser | 083b01efc46afc32abe1a1858729578beab50cd3 | [
"Apache-2.0"
] | 119 | 2020-07-10T22:37:51.000Z | 2021-03-18T02:40:05.000Z | src/genie/libs/parser/iosxr/tests/test_show_ethernet_yang.py | nujo/genieparser | 083b01efc46afc32abe1a1858729578beab50cd3 | [
"Apache-2.0"
] | 2 | 2021-02-12T21:42:30.000Z | 2021-02-12T21:47:51.000Z | import re
import unittest
from unittest.mock import Mock
import xml.etree.ElementTree as ET
from pyats.topology import Device
from genie.ops.base import Context
from genie.metaparser.util.exceptions import SchemaEmptyParserError
from genie.libs.parser.iosxr.show_ethernet import ShowEthernetTrunkDetail, \
... | 52.58473 | 172 | 0.575961 | 6,055 | 56,476 | 5.359207 | 0.042444 | 0.081356 | 0.041911 | 0.013559 | 0.954299 | 0.948351 | 0.939784 | 0.929831 | 0.926903 | 0.925054 | 0 | 0.044547 | 0.281748 | 56,476 | 1,074 | 173 | 52.58473 | 0.755424 | 0 | 0 | 0.910293 | 0 | 0.029273 | 0.966092 | 0.655453 | 0 | 0 | 0 | 0 | 0.001889 | 1 | 0.003777 | false | 0 | 0.007554 | 0 | 0.020774 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9da2a40aaf92cd389d0f1554057abd6bf6bed7b7 | 1,284 | py | Python | two_sum/two_sum_test.py | kevinzen/learning | 148129a1ec48e86e74c6ed244ba50ab682ebf00b | [
"MIT"
] | null | null | null | two_sum/two_sum_test.py | kevinzen/learning | 148129a1ec48e86e74c6ed244ba50ab682ebf00b | [
"MIT"
] | null | null | null | two_sum/two_sum_test.py | kevinzen/learning | 148129a1ec48e86e74c6ed244ba50ab682ebf00b | [
"MIT"
] | null | null | null | import unittest
from two_sum.solution import Solution
class MyTestCase(unittest.TestCase):
def test_two_sum(self):
s = Solution()
nums = [2,7,11,15]
target = 9
result = s.twoSum(nums, target)
self.assertEqual(result, [0,1])
nums = [-1,-2,-3,-4,-5]
targe... | 22.137931 | 52 | 0.528816 | 159 | 1,284 | 4.188679 | 0.220126 | 0.073574 | 0.147147 | 0.262763 | 0.836336 | 0.836336 | 0.836336 | 0.833333 | 0.692192 | 0.692192 | 0 | 0.06474 | 0.326324 | 1,284 | 57 | 53 | 22.526316 | 0.705202 | 0.167445 | 0 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 1 | 0.103448 | false | 0.172414 | 0.068966 | 0 | 0.206897 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
d1cc16d682e4eca40ad13070671c8d9cf599a162 | 102 | py | Python | oops/#040_garbageCollection.py | krishankansal/PythonPrograms | 6d4d989068195b8c8dd9d71cf4f920fef1177cf2 | [
"MIT"
] | null | null | null | oops/#040_garbageCollection.py | krishankansal/PythonPrograms | 6d4d989068195b8c8dd9d71cf4f920fef1177cf2 | [
"MIT"
] | null | null | null | oops/#040_garbageCollection.py | krishankansal/PythonPrograms | 6d4d989068195b8c8dd9d71cf4f920fef1177cf2 | [
"MIT"
] | null | null | null | import gc
print(gc.isenabled())
gc.disable()
print(gc.isenabled())
gc.enable()
print(gc.isenabled())
| 12.75 | 21 | 0.715686 | 15 | 102 | 4.866667 | 0.4 | 0.287671 | 0.657534 | 0.493151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 7 | 22 | 14.571429 | 0.776596 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
ae06d179d5b9be423275a44eeee9ffa91a442613 | 22 | py | Python | randomstate/prng/mt19937/__init__.py | bashtage/ng-numpy-randomstate | b397db9cb8688b291fc40071ab043009dfa05a85 | [
"Apache-2.0",
"BSD-3-Clause"
] | 43 | 2016-02-11T03:38:16.000Z | 2022-02-03T10:00:15.000Z | randomstate/prng/mt19937/__init__.py | bashtage/pcg-python | b397db9cb8688b291fc40071ab043009dfa05a85 | [
"Apache-2.0",
"BSD-3-Clause"
] | 31 | 2015-12-26T19:47:36.000Z | 2018-12-10T15:55:46.000Z | randomstate/prng/mt19937/__init__.py | bashtage/ng-numpy-randomstate | b397db9cb8688b291fc40071ab043009dfa05a85 | [
"Apache-2.0",
"BSD-3-Clause"
] | 11 | 2016-04-28T02:00:38.000Z | 2020-08-07T10:33:10.000Z | from .mt19937 import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0.136364 | 22 | 1 | 22 | 22 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ae479698d6297559d1027e1551aa18bc9d3b6779 | 25,046 | py | Python | code/deep-high-resolution-net.pytorch/lib/core/function.py | SomaKishimoto/AwA-Pose | b9877d538af25d07a6e2f9fa0b5aa2fdf544db99 | [
"MIT"
] | 12 | 2021-09-01T16:44:29.000Z | 2022-03-25T03:36:47.000Z | code/deep-high-resolution-net.pytorch/lib/core/function.py | SomaKishimoto/AwA-Pose | b9877d538af25d07a6e2f9fa0b5aa2fdf544db99 | [
"MIT"
] | 1 | 2021-09-01T15:07:20.000Z | 2021-09-01T16:44:09.000Z | code/deep-high-resolution-net.pytorch/lib/core/function.py | SomaKishimoto/AwA-Pose | b9877d538af25d07a6e2f9fa0b5aa2fdf544db99 | [
"MIT"
] | 1 | 2021-09-08T07:34:20.000Z | 2021-09-08T07:34:20.000Z | # ------------------------------------------------------------------------------
# Copyright (c) Microsoft
# Licensed under the MIT License.
# Written by Bin Xiao (Bin.Xiao@microsoft.com)
# ------------------------------------------------------------------------------
from __future__ import absolute_import
from __futu... | 34.546207 | 139 | 0.488381 | 2,766 | 25,046 | 4.214027 | 0.109544 | 0.017502 | 0.02162 | 0.023164 | 0.861616 | 0.842999 | 0.810741 | 0.789894 | 0.769132 | 0.762354 | 0 | 0.019991 | 0.386848 | 25,046 | 724 | 140 | 34.593923 | 0.739012 | 0.113751 | 0 | 0.79249 | 0 | 0 | 0.069426 | 0.008096 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01581 | false | 0 | 0.023715 | 0 | 0.045455 | 0.019763 | 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 |
ee200662df24422db2e54f177688bb972e4ac43a | 37,191 | py | Python | leiaapi/generated/api/annotation_api.py | labinnovationdocapost/leia-api-python-sdk | 6001dce68362d4e836b57e52d4da17710f25ed12 | [
"MIT"
] | null | null | null | leiaapi/generated/api/annotation_api.py | labinnovationdocapost/leia-api-python-sdk | 6001dce68362d4e836b57e52d4da17710f25ed12 | [
"MIT"
] | null | null | null | leiaapi/generated/api/annotation_api.py | labinnovationdocapost/leia-api-python-sdk | 6001dce68362d4e836b57e52d4da17710f25ed12 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
LEIA RESTful API for AI
Leia API # noqa: E501
OpenAPI spec version: 1.0.0
Contact: contact@leia.io
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 libr... | 44.433692 | 165 | 0.622274 | 4,383 | 37,191 | 5.082592 | 0.048141 | 0.048481 | 0.037168 | 0.022624 | 0.963191 | 0.954886 | 0.94124 | 0.932621 | 0.925484 | 0.918257 | 0 | 0.016225 | 0.287381 | 37,191 | 836 | 166 | 44.486842 | 0.824322 | 0.368745 | 0 | 0.790749 | 1 | 0 | 0.214421 | 0.029713 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03304 | false | 0 | 0.008811 | 0 | 0.090308 | 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 |
ee2991b5072eb86974c01494cfe15dbadbb80933 | 70 | py | Python | apps/profiles/test/test_admin.py | ecoo-app/ecoo-backend | ffe54abcd2e8c1a18ef2fa992c45a10f8232a4a0 | [
"MIT"
] | 1 | 2021-03-31T18:25:44.000Z | 2021-03-31T18:25:44.000Z | apps/profiles/test/test_admin.py | ecoo-app/ecoo-backend | ffe54abcd2e8c1a18ef2fa992c45a10f8232a4a0 | [
"MIT"
] | null | null | null | apps/profiles/test/test_admin.py | ecoo-app/ecoo-backend | ffe54abcd2e8c1a18ef2fa992c45a10f8232a4a0 | [
"MIT"
] | 1 | 2021-01-14T09:27:42.000Z | 2021-01-14T09:27:42.000Z | # TODO:FIXME: add tests for the admin pages and for the admin actions
| 35 | 69 | 0.771429 | 13 | 70 | 4.153846 | 0.769231 | 0.222222 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 70 | 1 | 70 | 70 | 0.947368 | 0.957143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c9da5abc3fe858a3c3a1ca9ab636077eeea8be8f | 102 | py | Python | server/commands/__init__.py | griseduardo/Facial-Recognition-Database-Management-System | 5d451791cb131164930cc4f886ec6300d88a8c67 | [
"MIT"
] | 6 | 2021-09-13T13:45:49.000Z | 2021-12-20T15:36:10.000Z | server/commands/__init__.py | griseduardo/Facial-Recognition-Database-Management-System | 5d451791cb131164930cc4f886ec6300d88a8c67 | [
"MIT"
] | 31 | 2021-09-11T05:52:56.000Z | 2021-11-07T14:35:41.000Z | server/commands/__init__.py | griseduardo/Facial-Recognition-Database-Management-System | 5d451791cb131164930cc4f886ec6300d88a8c67 | [
"MIT"
] | 2 | 2021-09-13T04:08:05.000Z | 2021-09-26T04:06:53.000Z | from .build import cli as build_cli
from .data import cli as data_cli
from .dev import cli as dev_cli
| 25.5 | 35 | 0.794118 | 21 | 102 | 3.714286 | 0.333333 | 0.346154 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 102 | 3 | 36 | 34 | 0.928571 | 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 |
c9de76fbaeb4d23eb423c491d7aee3cfbb73f205 | 151 | py | Python | garagepi/framework/usecase/__init__.py | constructorfleet/GaragePi-Assistant | e648e853472adfb3e0a97d8ffbcdf9453f666d6a | [
"MIT"
] | null | null | null | garagepi/framework/usecase/__init__.py | constructorfleet/GaragePi-Assistant | e648e853472adfb3e0a97d8ffbcdf9453f666d6a | [
"MIT"
] | null | null | null | garagepi/framework/usecase/__init__.py | constructorfleet/GaragePi-Assistant | e648e853472adfb3e0a97d8ffbcdf9453f666d6a | [
"MIT"
] | null | null | null | """Use case frameworks."""
from garagepi.framework.usecase.UseCase import UseCase
from garagepi.framework.usecase.CommandUseCase import CommandUseCase | 37.75 | 68 | 0.84106 | 17 | 151 | 7.470588 | 0.529412 | 0.188976 | 0.330709 | 0.440945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072848 | 151 | 4 | 68 | 37.75 | 0.907143 | 0.13245 | 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 |
4e78e3258c37091c21d4e1273e18766e76802d5a | 7,179 | py | Python | tests/resources/test_conferences.py | vaibhav-plivo/plivo-python | e4ae7559ba4647ac0e1af523c94d49a3fd6a24ca | [
"MIT"
] | null | null | null | tests/resources/test_conferences.py | vaibhav-plivo/plivo-python | e4ae7559ba4647ac0e1af523c94d49a3fd6a24ca | [
"MIT"
] | 10 | 2020-10-19T06:47:45.000Z | 2021-06-25T15:41:34.000Z | tests/resources/test_conferences.py | vaibhav-plivo/plivo-python | e4ae7559ba4647ac0e1af523c94d49a3fd6a24ca | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from tests.decorators import with_response
from .. import PlivoResourceTestCase
conference_name = 'My Conf Room'
member_id = 'Test Member ID'
class ConferenceTest(PlivoResourceTestCase):
@with_response(200)
def test_get(self):
conference = self.client.conferences.get(conferen... | 41.738372 | 77 | 0.670846 | 798 | 7,179 | 5.781955 | 0.075188 | 0.117035 | 0.13264 | 0.187256 | 0.871695 | 0.811443 | 0.730603 | 0.730603 | 0.71153 | 0.71153 | 0 | 0.010036 | 0.222733 | 7,179 | 171 | 78 | 41.982456 | 0.816846 | 0.002925 | 0 | 0.662162 | 0 | 0 | 0.068195 | 0 | 0 | 0 | 0 | 0 | 0.256757 | 1 | 0.121622 | false | 0 | 0.013514 | 0 | 0.148649 | 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 |
14e8002279e7eff499c15d81774dddde982a7e1d | 197 | py | Python | malcolm/modules/ADPandABlocks/parts/pandablocksdriverpart.py | MattTaylorDLS/pymalcolm | 995a8e4729bd745f8f617969111cc5a34ce1ac14 | [
"Apache-2.0"
] | null | null | null | malcolm/modules/ADPandABlocks/parts/pandablocksdriverpart.py | MattTaylorDLS/pymalcolm | 995a8e4729bd745f8f617969111cc5a34ce1ac14 | [
"Apache-2.0"
] | null | null | null | malcolm/modules/ADPandABlocks/parts/pandablocksdriverpart.py | MattTaylorDLS/pymalcolm | 995a8e4729bd745f8f617969111cc5a34ce1ac14 | [
"Apache-2.0"
] | null | null | null | from malcolm.modules.ADCore.parts import DetectorDriverPart
from .pandablockschildpart import PandABlocksChildPart
class PandABlocksDriverPart(DetectorDriverPart, PandABlocksChildPart):
pass
| 28.142857 | 70 | 0.86802 | 16 | 197 | 10.6875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091371 | 197 | 6 | 71 | 32.833333 | 0.955307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
119483e8216d43088b2518421d5224f9f634eb40 | 578 | py | Python | September 2020/05-Functions-Advanced/Exercises/05-Odd-or-Even.py | eclipse-ib/Software-University-Professional-Advanced-Module | 636385f9e5521840f680644824d725d074b93c9a | [
"MIT"
] | null | null | null | September 2020/05-Functions-Advanced/Exercises/05-Odd-or-Even.py | eclipse-ib/Software-University-Professional-Advanced-Module | 636385f9e5521840f680644824d725d074b93c9a | [
"MIT"
] | null | null | null | September 2020/05-Functions-Advanced/Exercises/05-Odd-or-Even.py | eclipse-ib/Software-University-Professional-Advanced-Module | 636385f9e5521840f680644824d725d074b93c9a | [
"MIT"
] | null | null | null | command = input()
list_of_numbers = [int(i) for i in input().split()]
result = 0
if command == "Odd":
# odd_numbers = list(filter(lambda x: x % 2 != 0, list_of_numbers))
# print(sum(odd_numbers) * len(list_of_numbers))
result = sum(list(filter(lambda x: x % 2 != 0, list_of_numbers))) * len(list_of_numbers)... | 44.461538 | 92 | 0.66436 | 94 | 578 | 3.851064 | 0.244681 | 0.149171 | 0.323204 | 0.187845 | 0.712707 | 0.712707 | 0.712707 | 0.712707 | 0.712707 | 0.712707 | 0 | 0.018828 | 0.17301 | 578 | 13 | 93 | 44.461538 | 0.738494 | 0.392734 | 0 | 0 | 0 | 0 | 0.020173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
119c46ba47e1978b9fbbb88052f786b12f8e915f | 116 | py | Python | bin/ud/__init__.py | cedar101/spaCy | 66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95 | [
"MIT"
] | 12 | 2019-03-20T20:43:47.000Z | 2020-04-13T11:10:52.000Z | bin/ud/__init__.py | cedar101/spaCy | 66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95 | [
"MIT"
] | 13 | 2018-06-05T11:54:40.000Z | 2019-07-02T11:33:14.000Z | bin/ud/__init__.py | cedar101/spaCy | 66e22098a8bb77cbe527b1a4a3c69ec1cfb56f95 | [
"MIT"
] | 4 | 2019-06-07T13:02:33.000Z | 2021-07-07T07:34:35.000Z | from .conll17_ud_eval import main as ud_evaluate # noqa: F401
from .ud_train import main as ud_train # noqa: F401
| 38.666667 | 62 | 0.775862 | 21 | 116 | 4.047619 | 0.52381 | 0.235294 | 0.282353 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.172414 | 116 | 2 | 63 | 58 | 0.802083 | 0.181034 | 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 |
eec89fa86b9b016472648fc6b5ee6e398aad42b4 | 38,847 | py | Python | tests/test_kmeans.py | joezuntz/TreeCorr | 70fbb88047fa55a5fb28c2ee8aca45459bb1fe40 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tests/test_kmeans.py | joezuntz/TreeCorr | 70fbb88047fa55a5fb28c2ee8aca45459bb1fe40 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tests/test_kmeans.py | joezuntz/TreeCorr | 70fbb88047fa55a5fb28c2ee8aca45459bb1fe40 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | # Copyright (c) 2003-2019 by Mike Jarvis
#
# TreeCorr is free software: redistribution and use in source and binary forms,
# with or without modification, are permitted provided that the following
# conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of condi... | 40.381497 | 100 | 0.62965 | 6,105 | 38,847 | 3.957576 | 0.062899 | 0.028145 | 0.018128 | 0.033235 | 0.910062 | 0.905633 | 0.904184 | 0.899673 | 0.897479 | 0.891726 | 0 | 0.028805 | 0.204649 | 38,847 | 961 | 101 | 40.423517 | 0.75318 | 0.163256 | 0 | 0.866756 | 0 | 0 | 0.109282 | 0 | 0 | 0 | 0 | 0 | 0.204576 | 1 | 0.012113 | false | 0 | 0.013459 | 0 | 0.026918 | 0.317631 | 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 |
e1088c6b0f484154235d71ff13cd3c654c3a9dab | 43,598 | py | Python | curiosity/interaction/update_step.py | neuroailab/curiosity_deprecated | 65f7cde13b07cdac52eed39535a94e7544c396b8 | [
"Apache-2.0"
] | null | null | null | curiosity/interaction/update_step.py | neuroailab/curiosity_deprecated | 65f7cde13b07cdac52eed39535a94e7544c396b8 | [
"Apache-2.0"
] | 2 | 2017-11-18T00:53:33.000Z | 2017-11-18T00:53:40.000Z | curiosity/interaction/update_step.py | neuroailab/curiosity_deprecated | 65f7cde13b07cdac52eed39535a94e7544c396b8 | [
"Apache-2.0"
] | null | null | null | '''
Defines the training step.
'''
import sys
sys.path.append('tfutils')
import tensorflow as tf
from tfutils.base import get_optimizer, get_learning_rate
import numpy as np
import cv2
from curiosity.interaction import models
import h5py
import json
class RawDepthDiscreteActionUpdater:
'''
Provides the training s... | 49.04162 | 286 | 0.672072 | 6,026 | 43,598 | 4.557916 | 0.055095 | 0.042234 | 0.034151 | 0.016056 | 0.817848 | 0.789886 | 0.768951 | 0.752785 | 0.726425 | 0.707893 | 0 | 0.006652 | 0.203519 | 43,598 | 888 | 287 | 49.096847 | 0.784305 | 0.133768 | 0 | 0.579909 | 0 | 0 | 0.105283 | 0.002081 | 0 | 0 | 0 | 0.001126 | 0.00761 | 0 | null | null | 0 | 0.012177 | null | null | 0.024353 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e12b9d238c837bf0da1894ff7d36d73870e254ac | 3,701 | py | Python | exams/migrations/0020_auto_20210805_1401.py | ankanb240/otis-web | 45eda65b419705c65c02b15872a137969d53d8e9 | [
"MIT"
] | 15 | 2021-08-28T18:18:37.000Z | 2022-03-13T07:48:15.000Z | exams/migrations/0020_auto_20210805_1401.py | ankanb240/otis-web | 45eda65b419705c65c02b15872a137969d53d8e9 | [
"MIT"
] | 65 | 2021-08-20T02:37:27.000Z | 2022-02-07T17:19:23.000Z | exams/migrations/0020_auto_20210805_1401.py | ankanb240/otis-web | 45eda65b419705c65c02b15872a137969d53d8e9 | [
"MIT"
] | 31 | 2020-01-09T02:35:29.000Z | 2022-03-13T07:48:18.000Z | # Generated by Django 3.2.5 on 2021-08-05 18:01
import django.core.validators
from django.db import migrations, models
import re
class Migration(migrations.Migration):
dependencies = [
('exams', '0019_auto_20210805_1334'),
]
operations = [
migrations.AlterField(
model_name='... | 52.126761 | 218 | 0.647122 | 365 | 3,701 | 6.484932 | 0.208219 | 0.067596 | 0.135192 | 0.122518 | 0.893536 | 0.890156 | 0.852556 | 0.764681 | 0.764681 | 0.764681 | 0 | 0.053188 | 0.207511 | 3,701 | 70 | 219 | 52.871429 | 0.753836 | 0.012159 | 0 | 0.625 | 1 | 0 | 0.167761 | 0.006294 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046875 | 0 | 0.09375 | 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 |
014434b9827abaf3a6d57e8eae651e94e24baa65 | 16,584 | py | Python | sdk/python/pulumi_ucloud/vpc/vpc.py | AaronFriel/pulumi-ucloud | 199278786dddf46bdd370f3f805e30b279c63ff2 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2021-08-18T04:55:38.000Z | 2021-09-08T07:59:24.000Z | sdk/python/pulumi_ucloud/vpc/vpc.py | AaronFriel/pulumi-ucloud | 199278786dddf46bdd370f3f805e30b279c63ff2 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-01-28T17:59:37.000Z | 2022-01-29T03:44:09.000Z | sdk/python/pulumi_ucloud/vpc/vpc.py | AaronFriel/pulumi-ucloud | 199278786dddf46bdd370f3f805e30b279c63ff2 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-06-23T07:10:40.000Z | 2021-06-23T09:25:12.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... | 41.151365 | 272 | 0.622407 | 2,035 | 16,584 | 4.877641 | 0.096806 | 0.09863 | 0.087447 | 0.077574 | 0.816442 | 0.78652 | 0.764558 | 0.740681 | 0.708644 | 0.675902 | 0 | 0.006448 | 0.261216 | 16,584 | 402 | 273 | 41.253731 | 0.803706 | 0.331826 | 0 | 0.625551 | 1 | 0 | 0.082637 | 0.002162 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15859 | false | 0.004405 | 0.030837 | 0.013216 | 0.286344 | 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 |
6dcf02cbbf92488d6d8f902d026fee57c2a0ba1a | 161 | py | Python | users/admin.py | shubhankar5/Mitron-Achatting-app-in-django | 524086254794a713110e496b70588865116c322f | [
"Apache-2.0"
] | 7 | 2021-03-10T13:28:30.000Z | 2021-12-22T15:40:16.000Z | users/admin.py | shubhankar5/Mitron-Achatting-app-in-django | 524086254794a713110e496b70588865116c322f | [
"Apache-2.0"
] | 1 | 2022-03-11T04:29:39.000Z | 2022-03-12T17:57:23.000Z | users/admin.py | shubhankar5/Mitron-Achatting-app-in-django | 524086254794a713110e496b70588865116c322f | [
"Apache-2.0"
] | 4 | 2021-07-10T16:49:28.000Z | 2022-03-11T04:54:21.000Z | from django.contrib import admin
from .models import Profile, Address, Friends, BlockedUsers
admin.site.register([Profile, Address, Friends, BlockedUsers]) | 32.2 | 62 | 0.78882 | 19 | 161 | 6.684211 | 0.631579 | 0.220472 | 0.330709 | 0.519685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124224 | 161 | 5 | 62 | 32.2 | 0.900709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
6dd713e0a39ff1a65090d3769d274eada8575039 | 335,940 | py | Python | pysnmp/NETBOTZ320-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/NETBOTZ320-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/NETBOTZ320-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module NETBOTZ320-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NETBOTZ320-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:08:48 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2... | 323.330125 | 13,638 | 0.770599 | 26,987 | 335,940 | 9.592248 | 0.026865 | 0.234021 | 0.006304 | 0.008251 | 0.759416 | 0.756917 | 0.752598 | 0.749759 | 0.743725 | 0.736736 | 0 | 0.078931 | 0.057138 | 335,940 | 1,038 | 13,639 | 323.641619 | 0.738338 | 0.000959 | 0 | 0.004864 | 0 | 0 | 0.500064 | 0.144761 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005837 | 0 | 0.01751 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
09bf0169966e07b0d51904c218dd1b417423a493 | 108 | py | Python | language_acts/cms/management/commands/wt_update_index.py | kingsdigitallab/language-acts-docker | 5597804d16604b525795d3cde3d968028807d7e0 | [
"MIT"
] | null | null | null | language_acts/cms/management/commands/wt_update_index.py | kingsdigitallab/language-acts-docker | 5597804d16604b525795d3cde3d968028807d7e0 | [
"MIT"
] | null | null | null | language_acts/cms/management/commands/wt_update_index.py | kingsdigitallab/language-acts-docker | 5597804d16604b525795d3cde3d968028807d7e0 | [
"MIT"
] | null | null | null | from wagtail.search.management.commands import update_index
class Command(update_index.Command):
pass
| 18 | 59 | 0.814815 | 14 | 108 | 6.142857 | 0.785714 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 108 | 5 | 60 | 21.6 | 0.905263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
09c63973dc0745d764542a77c3b87c595ce0ecba | 38,034 | py | Python | SZR/apps/groups/tests/test_view.py | Alek96/SZR | 6c736cded0c6de88b6e4fc5a207273ec1024365b | [
"MIT"
] | 1 | 2019-04-04T17:02:24.000Z | 2019-04-04T17:02:24.000Z | SZR/apps/groups/tests/test_view.py | Alek96/SZR | 6c736cded0c6de88b6e4fc5a207273ec1024365b | [
"MIT"
] | 1 | 2019-03-30T13:32:14.000Z | 2019-03-30T13:32:14.000Z | SZR/apps/groups/tests/test_view.py | Alek96/SZR | 6c736cded0c6de88b6e4fc5a207273ec1024365b | [
"MIT"
] | null | null | null | from GitLabApi import objects
from core.tests.test_view import LoginMethods
from core.tests.test_view import SimpleUrlsTestsCases
from django.db.models import QuerySet
from django.urls import reverse
from groups import models
from groups.sidebar import GroupSidebar, FutureGroupSidebar
from groups.tests import test_form... | 40.504792 | 119 | 0.705474 | 4,412 | 38,034 | 5.810517 | 0.034905 | 0.064363 | 0.085232 | 0.081097 | 0.924637 | 0.894952 | 0.882119 | 0.870651 | 0.86519 | 0.861835 | 0 | 0.008401 | 0.186254 | 38,034 | 938 | 120 | 40.547974 | 0.819903 | 0 | 0 | 0.862637 | 0 | 0 | 0.09828 | 0.045538 | 0 | 0 | 0 | 0 | 0.29533 | 1 | 0.135989 | false | 0 | 0.012363 | 0 | 0.269231 | 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 |
09d4a317e5ecf2de1ddd57bbb2cdc084d1b51abd | 79 | py | Python | problem/01000~09999/01598/1598.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/01000~09999/01598/1598.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/01000~09999/01598/1598.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | A,B=map(int,input().split())
print(abs((A-1)%4-(B-1)%4)+abs((A-1)//4-(B-1)//4)) | 39.5 | 50 | 0.518987 | 21 | 79 | 1.952381 | 0.47619 | 0.195122 | 0.243902 | 0.292683 | 0.439024 | 0.439024 | 0.439024 | 0 | 0 | 0 | 0 | 0.102564 | 0.012658 | 79 | 2 | 50 | 39.5 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
111e7a9e76483b45ecc6087e052c71e993ec724c | 5,051 | py | Python | tests/test_bfs.py | Akards/Parallel-Python | 00f75e4baa6953e207e7766747a6dc6750c2796c | [
"MIT"
] | 1 | 2020-01-21T22:34:18.000Z | 2020-01-21T22:34:18.000Z | tests/test_bfs.py | Akards/Parallel-Python | 00f75e4baa6953e207e7766747a6dc6750c2796c | [
"MIT"
] | 1 | 2020-05-06T02:19:42.000Z | 2020-05-06T02:19:42.000Z | tests/test_bfs.py | Akards/Medusa | 00f75e4baa6953e207e7766747a6dc6750c2796c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import unittest
import networkx as nx
from Medusa.graphs import bfs
class TestBFS(unittest.TestCase):
def test_disconnected_graph(self):
G = nx.Graph()
node_list = ['A', 'B', 'C', 'D', 'E', 'F']
G.add_nodes_from(node_list)
self.assertEqual(list(G.nodes), node_... | 39.155039 | 73 | 0.532964 | 719 | 5,051 | 3.616134 | 0.06815 | 0.282692 | 0.295385 | 0.387692 | 0.929615 | 0.929231 | 0.905385 | 0.905385 | 0.905385 | 0.905385 | 0 | 0.015953 | 0.218175 | 5,051 | 128 | 74 | 39.460938 | 0.642441 | 0.004158 | 0 | 0.775701 | 0 | 0 | 0.111222 | 0 | 0 | 0 | 0 | 0 | 0.457944 | 1 | 0.074766 | false | 0 | 0.028037 | 0 | 0.11215 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
1147cac2d45b8619099a15ce365744ccd24a7534 | 9,785 | py | Python | jsonconf/tests/commandLineTests.py | bponsler/jsonconf | a620a17a7e69479809b6878eb323086c76509d33 | [
"MIT"
] | null | null | null | jsonconf/tests/commandLineTests.py | bponsler/jsonconf | a620a17a7e69479809b6878eb323086c76509d33 | [
"MIT"
] | null | null | null | jsonconf/tests/commandLineTests.py | bponsler/jsonconf | a620a17a7e69479809b6878eb323086c76509d33 | [
"MIT"
] | null | null | null | from unittest import TestCase
from jsonconf import CommandLineParser
class ConfigTests(TestCase):
def setUp(self):
pass
def test_constructor(self):
parser = CommandLineParser()
self.assertTrue(parser is not None)
self.assertEqual(parser.getKeywordArguments(), {})
self... | 31.16242 | 77 | 0.565968 | 963 | 9,785 | 5.736241 | 0.073728 | 0.116763 | 0.163469 | 0.06517 | 0.891926 | 0.873642 | 0.870384 | 0.870384 | 0.85735 | 0.836713 | 0 | 0.008747 | 0.252223 | 9,785 | 313 | 78 | 31.261981 | 0.746207 | 0.002657 | 0 | 0.792793 | 0 | 0 | 0.122374 | 0 | 0 | 0 | 0 | 0 | 0.207207 | 1 | 0.067568 | false | 0.004505 | 0.009009 | 0 | 0.081081 | 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 |
fefddd9980e1a08dba069a50445eaacb2d332cd6 | 13,200 | py | Python | haas/tests/test_text_test_result.py | itziakos/haas | 93a2e886f66d7fb40f39305032cad6614fcc52a1 | [
"BSD-3-Clause"
] | 4 | 2017-10-10T06:45:35.000Z | 2021-02-27T09:44:16.000Z | haas/tests/test_text_test_result.py | itziakos/haas | 93a2e886f66d7fb40f39305032cad6614fcc52a1 | [
"BSD-3-Clause"
] | 34 | 2015-02-24T17:04:15.000Z | 2017-01-05T12:35:14.000Z | haas/tests/test_text_test_result.py | itziakos/haas | 93a2e886f66d7fb40f39305032cad6614fcc52a1 | [
"BSD-3-Clause"
] | 4 | 2018-03-05T19:05:19.000Z | 2019-12-11T08:42:22.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2013-2019 Simon Jagoe
# All rights reserved.
#
# This software may be modified and distributed under the terms
# of the 3-clause BSD license. See the LICENSE.txt file for details.
from __future__ import absolute_import, unicode_literals
from datetime import datetime, timedelta
... | 36.263736 | 79 | 0.663182 | 1,440 | 13,200 | 5.827083 | 0.104861 | 0.087594 | 0.115362 | 0.110118 | 0.850912 | 0.843642 | 0.839471 | 0.832678 | 0.820164 | 0.819569 | 0 | 0.015436 | 0.249091 | 13,200 | 363 | 80 | 36.363636 | 0.831114 | 0.039394 | 0 | 0.771186 | 0 | 0 | 0.035754 | 0 | 0 | 0 | 0 | 0 | 0.305085 | 1 | 0.042373 | false | 0 | 0.033898 | 0 | 0.080508 | 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 |
3a01f99953c117fe45a5829d0696fd5dc39fb698 | 12,552 | py | Python | src/university/models.py | Nikhilgupta18/practice-react_django | 4226345a10c528308d13629907952e841621badc | [
"MIT"
] | null | null | null | src/university/models.py | Nikhilgupta18/practice-react_django | 4226345a10c528308d13629907952e841621badc | [
"MIT"
] | 11 | 2020-09-07T15:48:40.000Z | 2022-03-08T23:06:16.000Z | src/university/models.py | Nikhilgupta18/practice-react_django | 4226345a10c528308d13629907952e841621badc | [
"MIT"
] | null | null | null | from django.db import models
from account.models import Country
from django.contrib import admin
grad_streams_list = [
'Engineering',
'Law',
'Medicine',
'Business',
]
grad_streams = (
('Engineering', 'Engineering'),
('Law', 'Law'),
('Medicine', 'Medicine'),
('Business', 'Business'),
)... | 55.539823 | 107 | 0.666268 | 1,430 | 12,552 | 5.716084 | 0.1 | 0.149376 | 0.20186 | 0.255689 | 0.892219 | 0.881576 | 0.881576 | 0.876193 | 0.786396 | 0.714093 | 0 | 0.002886 | 0.227135 | 12,552 | 225 | 108 | 55.786667 | 0.839707 | 0.015137 | 0 | 0.582857 | 0 | 0 | 0.018352 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0.005714 | 0.017143 | 0.04 | 0.931429 | 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 | 1 | 0 | 0 | 9 |
3a511fa9328d7a9521bf3228806419a4a51edaf6 | 25,003 | py | Python | tests/test_forward_backward_tracking.py | Megscammell/Estimating-Direction | 466a6e93b0048510690ac6e4f73ca2dfd3a4d8da | [
"MIT"
] | null | null | null | tests/test_forward_backward_tracking.py | Megscammell/Estimating-Direction | 466a6e93b0048510690ac6e4f73ca2dfd3a4d8da | [
"MIT"
] | null | null | null | tests/test_forward_backward_tracking.py | Megscammell/Estimating-Direction | 466a6e93b0048510690ac6e4f73ca2dfd3a4d8da | [
"MIT"
] | null | null | null | import numpy as np
import est_dir
def test_1():
"""
Test for compute_forward() - check for flag=True.
"""
np.random.seed(90)
m = 10
f = est_dir.quad_f_noise
const_back = 0.5
const_forward = (1 / const_back)
minimizer = np.ones((m,))
centre_point = np.random.unif... | 36.82327 | 80 | 0.517938 | 3,407 | 25,003 | 3.561198 | 0.045201 | 0.071623 | 0.016484 | 0.034287 | 0.916344 | 0.890464 | 0.870601 | 0.854859 | 0.837303 | 0.825352 | 0 | 0.062935 | 0.356877 | 25,003 | 678 | 81 | 36.877581 | 0.691604 | 0.060793 | 0 | 0.799645 | 0 | 0 | 0.001956 | 0 | 0 | 0 | 0 | 0 | 0.198582 | 1 | 0.04078 | false | 0 | 0.003546 | 0 | 0.044326 | 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 |
e93221ad9cdf9c6c7bd6f2a9d7c45743ea25df4f | 160 | py | Python | Framework/utilities/logger/__init__.py | jonreding2010/MAQS.Python | 43f73784fa9f0ab46545b0275fa8de38d86c76ed | [
"MIT"
] | null | null | null | Framework/utilities/logger/__init__.py | jonreding2010/MAQS.Python | 43f73784fa9f0ab46545b0275fa8de38d86c76ed | [
"MIT"
] | null | null | null | Framework/utilities/logger/__init__.py | jonreding2010/MAQS.Python | 43f73784fa9f0ab46545b0275fa8de38d86c76ed | [
"MIT"
] | null | null | null | from Framework.utilities.logger import LoggingEnabled
from Framework.utilities.logger import MessageType
from Framework.utilities.logger import TestResultType | 53.333333 | 54 | 0.88125 | 18 | 160 | 7.833333 | 0.444444 | 0.276596 | 0.468085 | 0.595745 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08125 | 160 | 3 | 55 | 53.333333 | 0.959184 | 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 |
3aab81f4326a92879076ba5c1e4820591a3cd3ae | 9,676 | py | Python | python/veles/tests/data/test_repack.py | pombredanne/veles | e65de5a7c268129acffcdb03034efd8d256d025c | [
"Apache-2.0"
] | 918 | 2017-01-16T17:31:25.000Z | 2022-03-27T07:10:31.000Z | python/veles/tests/data/test_repack.py | pombredanne/veles | e65de5a7c268129acffcdb03034efd8d256d025c | [
"Apache-2.0"
] | 193 | 2017-01-17T13:56:10.000Z | 2020-09-01T08:29:48.000Z | python/veles/tests/data/test_repack.py | pombredanne/veles | e65de5a7c268129acffcdb03034efd8d256d025c | [
"Apache-2.0"
] | 112 | 2017-02-01T01:05:57.000Z | 2022-03-29T07:21:12.000Z | # Copyright 2017 CodiLime
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, softwar... | 42.814159 | 77 | 0.637247 | 1,492 | 9,676 | 3.987265 | 0.124665 | 0.269793 | 0.220541 | 0.181207 | 0.830224 | 0.798454 | 0.774248 | 0.745672 | 0.733905 | 0.733905 | 0 | 0.099987 | 0.228917 | 9,676 | 225 | 78 | 43.004444 | 0.69736 | 0.055912 | 0 | 0.659686 | 0 | 0 | 0.048021 | 0 | 0 | 0 | 0.008771 | 0 | 0.565445 | 1 | 0.094241 | false | 0 | 0.015707 | 0 | 0.115183 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3ae5cf37eea91bb44926c87f063230fb3d523036 | 901 | py | Python | Questionnaire2/Questionnaire/Api/decorators.py | riverstation/project-all | c56f1879e1303d561e95a3ff3a70f94fb5fa2191 | [
"Apache-2.0"
] | 2 | 2020-11-09T06:20:45.000Z | 2021-05-10T07:03:35.000Z | Questionnaire2/Questionnaire/Api/decorators.py | riverstation/project-all | c56f1879e1303d561e95a3ff3a70f94fb5fa2191 | [
"Apache-2.0"
] | null | null | null | Questionnaire2/Questionnaire/Api/decorators.py | riverstation/project-all | c56f1879e1303d561e95a3ff3a70f94fb5fa2191 | [
"Apache-2.0"
] | 1 | 2020-02-21T09:37:01.000Z | 2020-02-21T09:37:01.000Z | import json
from Api.utils import *
def admin_required(func):
def _wrapper(self, request, *args, **kwargs):
if request.user.is_authenticated and hasattr(request.user, 'admin'):
return func(self, request, *args, **kwargs)
else:
return not_authenticated()
return _wrapper... | 29.064516 | 79 | 0.643729 | 102 | 901 | 5.539216 | 0.245098 | 0.116814 | 0.159292 | 0.223009 | 0.870796 | 0.870796 | 0.870796 | 0.870796 | 0.870796 | 0.870796 | 0 | 0 | 0.247503 | 901 | 30 | 80 | 30.033333 | 0.833333 | 0 | 0 | 0.652174 | 0 | 0 | 0.023307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.086957 | 0 | 0.73913 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
3aec685a85da369122c266e967f2b26782bfff04 | 14,551 | py | Python | openprocurement/auctions/appraisal/tests/blanks/item_blanks.py | bdmbdsm/openprocurement.auctions.appraisal | 563e5e6180b03118ed9eb36a9141c7a6408669de | [
"Apache-2.0"
] | null | null | null | openprocurement/auctions/appraisal/tests/blanks/item_blanks.py | bdmbdsm/openprocurement.auctions.appraisal | 563e5e6180b03118ed9eb36a9141c7a6408669de | [
"Apache-2.0"
] | 3 | 2018-12-07T13:13:42.000Z | 2020-01-06T19:08:23.000Z | openprocurement/auctions/appraisal/tests/blanks/item_blanks.py | bdmbdsm/openprocurement.auctions.appraisal | 563e5e6180b03118ed9eb36a9141c7a6408669de | [
"Apache-2.0"
] | 6 | 2018-12-05T16:17:46.000Z | 2019-06-28T13:10:48.000Z | # -*- coding: utf-8 -*-
from uuid import uuid4
from copy import deepcopy
from datetime import timedelta
from openprocurement.auctions.core.utils import calculate_business_date
from openprocurement.auctions.appraisal.models import AppraisalAuction
def check_items_listing(self):
self.app.authorization = ('Basic', ... | 36.837975 | 117 | 0.665315 | 1,696 | 14,551 | 5.54717 | 0.079009 | 0.106824 | 0.107568 | 0.052509 | 0.881696 | 0.861182 | 0.852041 | 0.833652 | 0.820685 | 0.816114 | 0 | 0.007276 | 0.168854 | 14,551 | 395 | 118 | 36.837975 | 0.77063 | 0.039791 | 0 | 0.759322 | 0 | 0 | 0.190189 | 0.020869 | 0 | 0 | 0 | 0 | 0.247458 | 1 | 0.027119 | false | 0 | 0.016949 | 0 | 0.044068 | 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 |
c93ae6eb931fecf508d13b3d1411d50047ff3a7a | 129 | py | Python | anvil/sub_rig_templates/bird_wing.py | AndresMWeber/Anvil | 9cd202183ac998983c2bf6e55cc46bbc0ca1a78e | [
"Apache-2.0"
] | 3 | 2019-11-22T04:38:06.000Z | 2022-01-19T08:27:18.000Z | anvil/sub_rig_templates/bird_wing.py | AndresMWeber/Anvil | 9cd202183ac998983c2bf6e55cc46bbc0ca1a78e | [
"Apache-2.0"
] | 28 | 2018-02-01T20:39:42.000Z | 2018-04-26T17:25:23.000Z | anvil/sub_rig_templates/bird_wing.py | AndresMWeber/Anvil | 9cd202183ac998983c2bf6e55cc46bbc0ca1a78e | [
"Apache-2.0"
] | 1 | 2018-03-11T06:47:26.000Z | 2018-03-11T06:47:26.000Z | from limb import Limb
class BirdWing(Limb):
BUILT_IN_META_DATA = Limb.BUILT_IN_META_DATA.merge({'name': 'wing'}, new=True)
| 21.5 | 82 | 0.736434 | 21 | 129 | 4.238095 | 0.666667 | 0.202247 | 0.247191 | 0.337079 | 0.426966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131783 | 129 | 5 | 83 | 25.8 | 0.794643 | 0 | 0 | 0 | 0 | 0 | 0.062016 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c95ce0ca56d84728f833b8dd59f326a2ad608973 | 3,652 | py | Python | test/src/data/test_mask.py | gusriobr/vineyard-sketcher | b1018dd7e3e3cf3de72817831c3e5feec00157b9 | [
"Apache-2.0"
] | null | null | null | test/src/data/test_mask.py | gusriobr/vineyard-sketcher | b1018dd7e3e3cf3de72817831c3e5feec00157b9 | [
"Apache-2.0"
] | null | null | null | test/src/data/test_mask.py | gusriobr/vineyard-sketcher | b1018dd7e3e3cf3de72817831c3e5feec00157b9 | [
"Apache-2.0"
] | null | null | null | import os
import unittest
import numpy as np
import cfg_test as tcfg
from skimage import io
from image.mask import MaskMerger, clean_instaces, PrimeIdMasMerger
class TestMaskMerger(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.iterations = cls._load_images()
@classmethod
def _... | 31.756522 | 95 | 0.560241 | 498 | 3,652 | 3.839357 | 0.190763 | 0.087866 | 0.122385 | 0.083682 | 0.882845 | 0.882845 | 0.882845 | 0.882845 | 0.882845 | 0.882845 | 0 | 0.078094 | 0.29874 | 3,652 | 114 | 96 | 32.035088 | 0.668489 | 0.034775 | 0 | 0.837209 | 0 | 0 | 0.162116 | 0.011945 | 0 | 0 | 0 | 0 | 0.023256 | 1 | 0.069767 | false | 0 | 0.069767 | 0.023256 | 0.186047 | 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 |
c9745f2f22ed34fe5293cf432c9cf0d96724ee1d | 19,661 | py | Python | lacquer/tree/visitor.py | provingground-moe/lacquer | 4b005400de995288c8ca9050342097e0f4665d49 | [
"Apache-2.0"
] | 30 | 2017-01-13T00:27:29.000Z | 2022-03-24T09:20:06.000Z | lacquer/tree/visitor.py | provingground-moe/lacquer | 4b005400de995288c8ca9050342097e0f4665d49 | [
"Apache-2.0"
] | 15 | 2017-01-24T23:54:07.000Z | 2017-03-31T20:19:40.000Z | lacquer/tree/visitor.py | provingground-moe/lacquer | 4b005400de995288c8ca9050342097e0f4665d49 | [
"Apache-2.0"
] | 16 | 2017-08-22T17:35:54.000Z | 2019-06-25T16:04:23.000Z | # -*- coding: utf-8 -*-
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
... | 33.323729 | 74 | 0.685367 | 2,459 | 19,661 | 5.295242 | 0.093941 | 0.214576 | 0.17395 | 0.18547 | 0.826665 | 0.799171 | 0.758083 | 0.705783 | 0.658244 | 0.632133 | 0 | 0.000329 | 0.226998 | 19,661 | 589 | 75 | 33.380306 | 0.856428 | 0.027415 | 0 | 0.649874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375315 | false | 0.002519 | 0.005038 | 0.292191 | 0.758186 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
a32fad7e0bbc85a3e9f71f5a0d3f117e655f31fd | 194 | py | Python | replace_text/__init__.py | jakeogh/replace-text | f6ea64fae8b73c5b2125009bf93f1b4294b2e2a4 | [
"Unlicense"
] | 1 | 2020-12-03T02:50:39.000Z | 2020-12-03T02:50:39.000Z | replace_text/__init__.py | jakeogh/replace-text | f6ea64fae8b73c5b2125009bf93f1b4294b2e2a4 | [
"Unlicense"
] | null | null | null | replace_text/__init__.py | jakeogh/replace-text | f6ea64fae8b73c5b2125009bf93f1b4294b2e2a4 | [
"Unlicense"
] | null | null | null | #from .replace_text import replace_text
from .replace_text import append_unique_bytes_to_file
from .replace_text import remove_comments_from_bytes
from .replace_text import replace_text_in_file
| 38.8 | 53 | 0.891753 | 31 | 194 | 5.096774 | 0.387097 | 0.417722 | 0.379747 | 0.531646 | 0.405063 | 0.405063 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 194 | 4 | 54 | 48.5 | 0.88764 | 0.195876 | 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 |
a3864e2520247e4f543f7ee40d86eaed233d17ea | 19,728 | py | Python | tests/ut/python/pipeline/parse/test_sequence_assign.py | httpsgithu/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | 1 | 2022-02-23T09:13:43.000Z | 2022-02-23T09:13:43.000Z | tests/ut/python/pipeline/parse/test_sequence_assign.py | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | tests/ut/python/pipeline/parse/test_sequence_assign.py | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020-2022 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | 27.707865 | 95 | 0.583739 | 3,053 | 19,728 | 3.637733 | 0.071733 | 0.011165 | 0.076535 | 0.094543 | 0.873312 | 0.860436 | 0.833874 | 0.80515 | 0.789843 | 0.780029 | 0 | 0.074569 | 0.267893 | 19,728 | 711 | 96 | 27.746835 | 0.694385 | 0.144667 | 0 | 0.709534 | 0 | 0 | 0.023645 | 0 | 0 | 0 | 0 | 0 | 0.152993 | 1 | 0.119734 | false | 0 | 0.017738 | 0.004435 | 0.223947 | 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 |
a38f50dd095a39636ae5bc11181d6a64953eb2ff | 197 | py | Python | tests/run_all_tests.py | GRV96/jazal | b89f4303909ae53db7504b529a706afa8d07c81a | [
"MIT"
] | null | null | null | tests/run_all_tests.py | GRV96/jazal | b89f4303909ae53db7504b529a706afa8d07c81a | [
"MIT"
] | 1 | 2021-10-06T20:21:24.000Z | 2021-10-06T20:21:24.000Z | tests/run_all_tests.py | GRV96/path_checker | b89f4303909ae53db7504b529a706afa8d07c81a | [
"MIT"
] | null | null | null | from os import system
system("pytest path_util_tests.py")
system("pytest path_checker_tests.py")
system("pytest reactive_path_checker_tests.py")
system("pytest missing_path_arg_warner_tests.py")
| 24.625 | 49 | 0.827411 | 31 | 197 | 4.903226 | 0.451613 | 0.315789 | 0.256579 | 0.375 | 0.394737 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071066 | 197 | 7 | 50 | 28.142857 | 0.830601 | 0 | 0 | 0 | 0 | 0 | 0.654822 | 0.42132 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6ebbecc09be5ba14ae4dd34a28648e5a5edc253d | 72,793 | py | Python | MPKTA_Final_Project.py | Iqrar99/MPKT-A_Final_Project | 642d5fad8db492f2591994f4e8737dee5de5e6ed | [
"Apache-2.0"
] | null | null | null | MPKTA_Final_Project.py | Iqrar99/MPKT-A_Final_Project | 642d5fad8db492f2591994f4e8737dee5de5e6ed | [
"Apache-2.0"
] | null | null | null | MPKTA_Final_Project.py | Iqrar99/MPKT-A_Final_Project | 642d5fad8db492f2591994f4e8737dee5de5e6ed | [
"Apache-2.0"
] | null | null | null | #project akhir mpkta
#semoga lancar
#aminnn
from tkinter import *
lst = []
def readf():
with open('all.txt', 'r') as f:
line = ''
for i in range(68):
while('<deskripsi>' not in line):
line = f.readline()
cmp = ''
txt = ''
while('<end... | 41.477493 | 119 | 0.581842 | 8,395 | 72,793 | 5.019416 | 0.05277 | 0.029475 | 0.045185 | 0.054867 | 0.862689 | 0.829774 | 0.829774 | 0.829774 | 0.829774 | 0.829774 | 0 | 0.089873 | 0.294877 | 72,793 | 1,754 | 120 | 41.50114 | 0.731082 | 0.000522 | 0 | 0.721649 | 0 | 0 | 0.099997 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071478 | false | 0 | 0.000687 | 0 | 0.072852 | 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 |
6e0451b36b332d002803b8ea51d69f44c7236e6c | 19,656 | py | Python | cpdb/cr/tests/views/test_cr_mobile_viewset.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 25 | 2018-07-20T22:31:40.000Z | 2021-07-15T16:58:41.000Z | cpdb/cr/tests/views/test_cr_mobile_viewset.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 13 | 2018-06-18T23:08:47.000Z | 2022-02-10T07:38:25.000Z | cpdb/cr/tests/views/test_cr_mobile_viewset.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 6 | 2018-05-17T21:59:43.000Z | 2020-11-17T00:30:26.000Z | from datetime import datetime, date
from django.urls import reverse
from django.contrib.gis.geos import Point
from mock import patch
from rest_framework.test import APITestCase
from rest_framework import status
from robber import expect
import pytz
from data.factories import (
OfficerFactory, AllegationFactory, ... | 38.616896 | 111 | 0.536121 | 1,743 | 19,656 | 5.838784 | 0.144005 | 0.015722 | 0.018866 | 0.024565 | 0.832072 | 0.785398 | 0.779306 | 0.776358 | 0.759065 | 0.758672 | 0 | 0.055018 | 0.353632 | 19,656 | 508 | 112 | 38.692913 | 0.746006 | 0 | 0 | 0.709016 | 0 | 0 | 0.188848 | 0.047059 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0 | 0.028689 | 0 | 0.047131 | 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 |
6e15778b6aa2fdc1db68325173a20c24ddb19ca0 | 82 | py | Python | utils/tests.py | none-da/zeshare | 6c13cd3bd9d82d89f53d4a8b287fe2c30f1d3779 | [
"BSD-3-Clause"
] | null | null | null | utils/tests.py | none-da/zeshare | 6c13cd3bd9d82d89f53d4a8b287fe2c30f1d3779 | [
"BSD-3-Clause"
] | null | null | null | utils/tests.py | none-da/zeshare | 6c13cd3bd9d82d89f53d4a8b287fe2c30f1d3779 | [
"BSD-3-Clause"
] | 1 | 2021-04-12T11:43:38.000Z | 2021-04-12T11:43:38.000Z | from utils.alltests.models_tests import *
from utils.alltests.views_tests import * | 41 | 41 | 0.841463 | 12 | 82 | 5.583333 | 0.583333 | 0.268657 | 0.507463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 82 | 2 | 42 | 41 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
6e4d7087233b7ae2b11a56e63f18198deb2e3d24 | 235 | py | Python | source/nomenclator/dialog/__init__.py | buddly27/nomenclator-nuke | 783a9ff9bba0a974cf4532ca5c14bb3fc0312af9 | [
"MIT"
] | 11 | 2021-09-06T15:41:28.000Z | 2022-03-21T23:52:59.000Z | source/nomenclator/dialog/__init__.py | buddly27/nomenclator-nuke | 783a9ff9bba0a974cf4532ca5c14bb3fc0312af9 | [
"MIT"
] | 2 | 2021-09-14T02:56:55.000Z | 2021-09-14T03:00:03.000Z | source/nomenclator/dialog/__init__.py | buddly27/nomenclator-nuke | 783a9ff9bba0a974cf4532ca5c14bb3fc0312af9 | [
"MIT"
] | 2 | 2021-09-07T06:53:06.000Z | 2021-09-13T19:20:22.000Z | # -*- coding: utf-8 -*-
from .comp_manager_dialog import CompoManagerDialog
from .outputs_manager_dialog import OutputsManagerDialog
from .project_manager_dialog import ProjectManagerDialog
from .settings_dialog import SettingsDialog
| 33.571429 | 56 | 0.851064 | 26 | 235 | 7.423077 | 0.576923 | 0.248705 | 0.295337 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004695 | 0.093617 | 235 | 6 | 57 | 39.166667 | 0.901408 | 0.089362 | 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 |
289374ebe125fc7af5df9a84211193c93b13005b | 22,179 | py | Python | tests/unit/test_virtual_service.py | Dannyzen/python-kemptech-api | 7836312df517c128f48decbd9db39727a0358d97 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_virtual_service.py | Dannyzen/python-kemptech-api | 7836312df517c128f48decbd9db39727a0358d97 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_virtual_service.py | Dannyzen/python-kemptech-api | 7836312df517c128f48decbd9db39727a0358d97 | [
"Apache-2.0"
] | 1 | 2021-05-20T21:41:36.000Z | 2021-05-20T21:41:36.000Z | from nose.tools import (assert_equal, assert_raises, assert_in,
assert_is_instance, assert_not_equal)
# handle py3 and py2 cases:
try:
import unittest.mock as mock
except ImportError:
import mock
patch = mock.patch
sentinel = mock.sentinel
from python_kemptech_api import objects
impor... | 70.633758 | 1,799 | 0.663736 | 2,620 | 22,179 | 5.475191 | 0.093511 | 0.011293 | 0.010457 | 0.040432 | 0.872778 | 0.838411 | 0.823074 | 0.813942 | 0.796863 | 0.792402 | 0 | 0.028939 | 0.186708 | 22,179 | 313 | 1,800 | 70.859425 | 0.766327 | 0.029262 | 0 | 0.5625 | 0 | 0.027344 | 0.520126 | 0.358232 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.109375 | false | 0 | 0.027344 | 0 | 0.152344 | 0.011719 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
95396547c3d5c16f9ed0b9997057772e365950ae | 1,799 | py | Python | blog/migrations/0005_auto_20201008_1805.py | JiajiaHuang/smonus | 95ec209ae3562ea73ee9ce4c22a0d3a3f0975210 | [
"Unlicense"
] | null | null | null | blog/migrations/0005_auto_20201008_1805.py | JiajiaHuang/smonus | 95ec209ae3562ea73ee9ce4c22a0d3a3f0975210 | [
"Unlicense"
] | null | null | null | blog/migrations/0005_auto_20201008_1805.py | JiajiaHuang/smonus | 95ec209ae3562ea73ee9ce4c22a0d3a3f0975210 | [
"Unlicense"
] | null | null | null | # Generated by Django 2.2.1 on 2020-10-08 10:05
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('blog', '0004_auto_20201003_2247'),
]
operations = [
migrations.AddField(
model_name='channel',
... | 32.709091 | 95 | 0.590884 | 171 | 1,799 | 6.070175 | 0.269006 | 0.069364 | 0.184971 | 0.195568 | 0.766859 | 0.766859 | 0.734104 | 0.734104 | 0.734104 | 0.734104 | 0 | 0.024238 | 0.289049 | 1,799 | 54 | 96 | 33.314815 | 0.787334 | 0.025014 | 0 | 0.729167 | 1 | 0 | 0.11016 | 0.013128 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.104167 | 0 | 0 | 0 | 0 | null | 0 | 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 | 9 |
95e9c5585303c7bd303fc979afb0a10b96ec264e | 3,965 | py | Python | test/pyaz/sql/dw/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | test/pyaz/sql/dw/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | 9 | 2021-09-24T16:37:24.000Z | 2021-12-24T00:39:19.000Z | test/pyaz/sql/dw/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | import json, subprocess
from ... pyaz_utils import get_cli_name, get_params
def create(__CATALOG_COLLATION=None, collation=None, __ELASTIC_POOL_ID=None, __LICENSE_TYPE=None, max_size=None, service_objective=None, __RESTORE_POINT_IN_TIME=None, __SAMPLE_NAME=None, __SKU=None, __SOURCE_DATABASE_DELETION_DATE=None, tags=... | 38.872549 | 575 | 0.682219 | 503 | 3,965 | 5.206759 | 0.194831 | 0.074838 | 0.053456 | 0.056128 | 0.762123 | 0.762123 | 0.73845 | 0.73845 | 0.725086 | 0.725086 | 0 | 0.00443 | 0.203026 | 3,965 | 101 | 576 | 39.257426 | 0.824367 | 0 | 0 | 0.827957 | 0 | 0 | 0.046406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.021505 | null | null | 0.225806 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c299dc043a3ee18eefb82d5c320399ae1ce7bb70 | 32 | py | Python | numbamisc/utils/__init__.py | MSeifert04/numbamisc | 4141ee524f077299f57d0285110debbdcdba0013 | [
"Apache-2.0"
] | 4 | 2016-12-01T02:27:45.000Z | 2021-09-06T11:37:37.000Z | numbamisc/utils/__init__.py | MSeifert04/numbamisc | 4141ee524f077299f57d0285110debbdcdba0013 | [
"Apache-2.0"
] | 1 | 2020-10-29T19:51:47.000Z | 2020-11-04T21:14:01.000Z | numbamisc/utils/__init__.py | MSeifert04/numbamisc | 4141ee524f077299f57d0285110debbdcdba0013 | [
"Apache-2.0"
] | null | null | null | from ._generatefilters import *
| 16 | 31 | 0.8125 | 3 | 32 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c2db62382fb08b36c1b3bbf64acecafb9ebb26a7 | 388 | py | Python | ics_demo/dao/__init__.py | lielongxingkong/ics-demo | 21a08945f3983eb409916a7380549f74e3ba5171 | [
"MIT"
] | null | null | null | ics_demo/dao/__init__.py | lielongxingkong/ics-demo | 21a08945f3983eb409916a7380549f74e3ba5171 | [
"MIT"
] | null | null | null | ics_demo/dao/__init__.py | lielongxingkong/ics-demo | 21a08945f3983eb409916a7380549f74e3ba5171 | [
"MIT"
] | null | null | null | from db import init_db
from interfaces.demo import rabbit as rabbit_dao
from interfaces.demo import carrot as carrot_dao
from interfaces.demo import carrot as corps_dao
from interfaces import host as host_dao
from interfaces import blockdevice as block_dao
from interfaces.vsan import mon as mon_dao
from interfaces.vsan... | 38.8 | 48 | 0.850515 | 67 | 388 | 4.791045 | 0.253731 | 0.34891 | 0.370717 | 0.224299 | 0.470405 | 0.218069 | 0.218069 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 388 | 9 | 49 | 43.111111 | 0.955357 | 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 |
c2e4088afea88aafa4dedd93b2474372054dc971 | 143 | py | Python | AutomatedParking/AutomatedParking/models.py | COMP-SCI-72/Automated-Parking-System | 8abc462e7d95daf485d2f99b13000ae6119331f3 | [
"Apache-2.0"
] | null | null | null | AutomatedParking/AutomatedParking/models.py | COMP-SCI-72/Automated-Parking-System | 8abc462e7d95daf485d2f99b13000ae6119331f3 | [
"Apache-2.0"
] | null | null | null | AutomatedParking/AutomatedParking/models.py | COMP-SCI-72/Automated-Parking-System | 8abc462e7d95daf485d2f99b13000ae6119331f3 | [
"Apache-2.0"
] | null | null | null | from django.db import models
class User(models.Model):
pass
class Car(models.Model):
pass
class Parking(models.Model):
pass
| 9.533333 | 28 | 0.685315 | 20 | 143 | 4.9 | 0.55 | 0.336735 | 0.459184 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223776 | 143 | 14 | 29 | 10.214286 | 0.882883 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
6c16befe9f689bf20b5b88dc6a63119f677b759b | 89 | py | Python | tests/test_person.py | FOR-THE-HORDE-OPUS/Orgrimmar | 5e45016e029574fbf959e122055b93ae1c300f1b | [
"MIT"
] | null | null | null | tests/test_person.py | FOR-THE-HORDE-OPUS/Orgrimmar | 5e45016e029574fbf959e122055b93ae1c300f1b | [
"MIT"
] | 5 | 2020-11-13T18:36:55.000Z | 2022-02-10T01:12:56.000Z | tests/test_person.py | FOR-THE-HORDE-OPUS/Orgrimmar | 5e45016e029574fbf959e122055b93ae1c300f1b | [
"MIT"
] | null | null | null | def test_update_person_name():
return
def test_update_person_address():
return
| 12.714286 | 33 | 0.752809 | 12 | 89 | 5.083333 | 0.583333 | 0.229508 | 0.42623 | 0.622951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 6 | 34 | 14.833333 | 0.835616 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
666ccbc45a5c3aa3e1a6a55ff49484940ca12818 | 512 | py | Python | accounts/models.py | akhilmaharana/history-and-bookmark-recommendation-app | 55a55c5dc2f752bb83a3914b8205fd33a22acfd9 | [
"MIT"
] | null | null | null | accounts/models.py | akhilmaharana/history-and-bookmark-recommendation-app | 55a55c5dc2f752bb83a3914b8205fd33a22acfd9 | [
"MIT"
] | null | null | null | accounts/models.py | akhilmaharana/history-and-bookmark-recommendation-app | 55a55c5dc2f752bb83a3914b8205fd33a22acfd9 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Contact(models.Model):
firstName = models.CharField(max_length=100)
lastName = models.CharField(max_length=100)
countryName = models.CharField(max_length=100)
subject = models.CharField(max_length=100)
class ContactDetails(models.Model):
... | 36.571429 | 50 | 0.763672 | 65 | 512 | 5.892308 | 0.307692 | 0.313316 | 0.375979 | 0.501305 | 0.804178 | 0.804178 | 0.804178 | 0.804178 | 0.804178 | 0.804178 | 0 | 0.054299 | 0.136719 | 512 | 14 | 51 | 36.571429 | 0.812217 | 0.046875 | 0 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
66b36148d799b4b6799c7cd7e0cb3d3f3368bf30 | 451 | py | Python | tests/internal/ebs_optimized_support/test_ebs_optimized_support_unsupported_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/ebs_optimized_support/test_ebs_optimized_support_unsupported_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/ebs_optimized_support/test_ebs_optimized_support_unsupported_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Testing module ebs_optimized_support.unsupported
import pytest
import ec2_compare.internal.ebs_optimized_support.unsupported
def test_get_internal_data_ebs_optimized_support_unsupported_get_instances_list():
assert len(ec2_compare.internal.ebs_optimized_support.unsupported.get_instances_list()) > 0
def test_get_i... | 45.1 | 93 | 0.882483 | 62 | 451 | 5.919355 | 0.322581 | 0.196185 | 0.310627 | 0.490463 | 0.828338 | 0.828338 | 0.828338 | 0.626703 | 0.626703 | 0.626703 | 0 | 0.011765 | 0.05765 | 451 | 9 | 94 | 50.111111 | 0.851765 | 0.10643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 10 |
66eb7502095913e7cbc3b2898e48e7b052c5258c | 230 | py | Python | pyforchange/egg/__init__.py | PythonForChange/pyforchange | 2cc5afef227ac68147e291e447c57924586a0b12 | [
"MIT"
] | 1 | 2021-06-07T02:10:41.000Z | 2021-06-07T02:10:41.000Z | pyforchange/egg/__init__.py | PythonForChange/pyforchange | 2cc5afef227ac68147e291e447c57924586a0b12 | [
"MIT"
] | null | null | null | pyforchange/egg/__init__.py | PythonForChange/pyforchange | 2cc5afef227ac68147e291e447c57924586a0b12 | [
"MIT"
] | null | null | null | from pyforchange.egg.resources.modules import *
from pyforchange.egg.resources.console import *
from pyforchange.egg.resources.constants import *
from pyforchange.egg.resources.extensions import *
from pyforchange.egg.app import * | 46 | 50 | 0.834783 | 29 | 230 | 6.62069 | 0.344828 | 0.390625 | 0.46875 | 0.5625 | 0.515625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082609 | 230 | 5 | 51 | 46 | 0.909953 | 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 |
06fd8faf81245fda5a16cd3c3df799f903aca29c | 8,002 | py | Python | test/const.py | mikeshultz/py4byte | ef4afef47232aa010a409ffcfa41b662ace4a449 | [
"MIT"
] | null | null | null | test/const.py | mikeshultz/py4byte | ef4afef47232aa010a409ffcfa41b662ace4a449 | [
"MIT"
] | null | null | null | test/const.py | mikeshultz/py4byte | ef4afef47232aa010a409ffcfa41b662ace4a449 | [
"MIT"
] | null | null | null | # flake8: noqa
SWAP_TRANSACTION = {
'blockHash': '0x3f43cba31e73252412c88d42f80b64e3c81ed99a1ef3743d14c891ed0ef54ab3',
'blockNumber': 11325697,
'from': '0x9283099A29556fCF8fFF5b2Cea2D4F67CB7A7A8b',
'gas': 203049,
'gasPrice': 69000000000,
'hash': '0x32e97818ae1732c0cdc387452e24bd3700a610070b2b59d... | 60.165414 | 602 | 0.744314 | 193 | 8,002 | 30.849741 | 0.398964 | 0.113369 | 0.129997 | 0.142089 | 0.388646 | 0.232617 | 0.192812 | 0.192812 | 0.192812 | 0.164595 | 0 | 0.612425 | 0.191327 | 8,002 | 132 | 603 | 60.621212 | 0.30768 | 0.0015 | 0 | 0.561538 | 0 | 0 | 0.719705 | 0.623185 | 0 | 1 | 0.623185 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b096f70b1f0bbcc61fe058b62a9b67a7ae64cdfe | 260 | py | Python | password_security/models/__init__.py | juazisco/gestion_rifa | bce6b75f17cb5ab2df7e2f7dd5141fc85a1a5bfb | [
"MIT"
] | null | null | null | password_security/models/__init__.py | juazisco/gestion_rifa | bce6b75f17cb5ab2df7e2f7dd5141fc85a1a5bfb | [
"MIT"
] | null | null | null | password_security/models/__init__.py | juazisco/gestion_rifa | bce6b75f17cb5ab2df7e2f7dd5141fc85a1a5bfb | [
"MIT"
] | null | null | null | # Copyright 2015 LasLabs Inc.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
from . import res_users # noqa
from . import res_company # noqa
from . import res_users_pass_history # noqa
from . import res_config_settings # noqa
| 32.5 | 68 | 0.726923 | 40 | 260 | 4.55 | 0.65 | 0.21978 | 0.285714 | 0.28022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.180769 | 260 | 7 | 69 | 37.142857 | 0.826291 | 0.438462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
b0c0cdf094c977079cc2ff8a28be12ab38f6d6ea | 67,749 | py | Python | python/target_selection/cartons/mwm_yso.py | sdss/target_selection | 7196bf1491c4e9c18140301c7001e503f391a8e1 | [
"BSD-3-Clause"
] | 3 | 2020-07-07T01:38:59.000Z | 2020-11-24T21:46:58.000Z | python/target_selection/cartons/mwm_yso.py | sdss/target_selection | 7196bf1491c4e9c18140301c7001e503f391a8e1 | [
"BSD-3-Clause"
] | 26 | 2020-05-28T07:18:54.000Z | 2021-11-30T18:36:10.000Z | python/target_selection/cartons/mwm_yso.py | sdss/target_selection | 7196bf1491c4e9c18140301c7001e503f391a8e1 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# @Author: Pramod Gupta (psgupta@uw.edu)
# @Date: 2020-06-10
# @Filename: mwm_yso.py
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)
import peewee
from sdssdb.peewee.sdss5db.catalogdb import (MIPSGAL, AllWise, Catalog,
... | 43.568489 | 88 | 0.561307 | 8,372 | 67,749 | 4.277831 | 0.053751 | 0.061568 | 0.033786 | 0.023734 | 0.893673 | 0.877618 | 0.864327 | 0.854135 | 0.850868 | 0.845396 | 0 | 0.04483 | 0.354013 | 67,749 | 1,554 | 89 | 43.596525 | 0.773495 | 0.306056 | 0 | 0.91226 | 0 | 0 | 0.072433 | 0.019825 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021635 | false | 0 | 0.004808 | 0 | 0.167067 | 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 |
b0fee27a1c84b3b92b89c95632d7bc237ac344f3 | 94 | py | Python | tests/test_script_pipeline.py | Forks-yugander-krishan-singh/jenkins-job-builder-pipeline | c8aac16b97eb89882e0a5a7250ad8ed33ca7ddd8 | [
"Apache-2.0"
] | null | null | null | tests/test_script_pipeline.py | Forks-yugander-krishan-singh/jenkins-job-builder-pipeline | c8aac16b97eb89882e0a5a7250ad8ed33ca7ddd8 | [
"Apache-2.0"
] | null | null | null | tests/test_script_pipeline.py | Forks-yugander-krishan-singh/jenkins-job-builder-pipeline | c8aac16b97eb89882e0a5a7250ad8ed33ca7ddd8 | [
"Apache-2.0"
] | null | null | null | from base import assert_case
def test_script_pipeline():
assert_case('script_pipeline')
| 15.666667 | 34 | 0.787234 | 13 | 94 | 5.307692 | 0.692308 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 5 | 35 | 18.8 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
b02c1edb35efed2af8ead59b4a2b1e4957fcf74d | 11,362 | py | Python | code/python/dataprocessing.py | nordin11/DataProject | 9714e9320d2849d1f4eb3224cb3521cb10138744 | [
"MIT"
] | null | null | null | code/python/dataprocessing.py | nordin11/DataProject | 9714e9320d2849d1f4eb3224cb3521cb10138744 | [
"MIT"
] | 2 | 2018-01-14T23:14:37.000Z | 2018-01-21T21:54:23.000Z | code/python/dataprocessing.py | nordin11/DataProject | 9714e9320d2849d1f4eb3224cb3521cb10138744 | [
"MIT"
] | null | null | null |
# coding: utf-8
# In[1]:
from pandas_datareader import data
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
import json
import io
# In[2]:
## FINANCIAL INDUSTRY
# Call the stocks I want to analyze
financeTickers = ['JPM','BAC','WFC','V','C']
# Define the data source
data_source = 'yahoo'
... | 29.359173 | 161 | 0.71079 | 1,853 | 11,362 | 4.286023 | 0.111171 | 0.044321 | 0.024175 | 0.014102 | 0.871947 | 0.865399 | 0.824352 | 0.810753 | 0.79174 | 0.760262 | 0 | 0.030024 | 0.158687 | 11,362 | 386 | 162 | 29.435233 | 0.800816 | 0.454673 | 0 | 0.718519 | 0 | 0 | 0.142834 | 0.003794 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.044444 | null | null | 0.051852 | 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 |
c67e234fb990bd562f7add66f3e6cadd569e07b3 | 135 | py | Python | tsserver/configutils.py | m4tx/techswarm-server | a04a3e2a731c3a086aa8476f66adda64973dcd66 | [
"MIT"
] | 1 | 2016-08-12T14:27:31.000Z | 2016-08-12T14:27:31.000Z | tsserver/configutils.py | TechSwarm/techswarm-server | a04a3e2a731c3a086aa8476f66adda64973dcd66 | [
"MIT"
] | null | null | null | tsserver/configutils.py | TechSwarm/techswarm-server | a04a3e2a731c3a086aa8476f66adda64973dcd66 | [
"MIT"
] | null | null | null | import os
from tsserver import app
def get_upload_dir():
return os.path.join(app.root_path, app.config['PHOTOS_UPLOAD_FOLDER'])
| 16.875 | 74 | 0.762963 | 22 | 135 | 4.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 7 | 75 | 19.285714 | 0.837607 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 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 |
c682db5388940d53e4b8b265685d517094fe0e6d | 88 | py | Python | soam/core/__init__.py | MuttData/soam | 65612a02552668c6721dc20e675654883391c3e9 | [
"Apache-2.0"
] | 1 | 2021-09-17T01:14:57.000Z | 2021-09-17T01:14:57.000Z | soam/core/__init__.py | MuttData/soam | 65612a02552668c6721dc20e675654883391c3e9 | [
"Apache-2.0"
] | null | null | null | soam/core/__init__.py | MuttData/soam | 65612a02552668c6721dc20e675654883391c3e9 | [
"Apache-2.0"
] | 1 | 2021-08-09T14:22:50.000Z | 2021-08-09T14:22:50.000Z | """SoaM core."""
from soam.core.runner import SoamFlow
from soam.core.step import Step
| 17.6 | 37 | 0.75 | 14 | 88 | 4.714286 | 0.5 | 0.363636 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 4 | 38 | 22 | 0.857143 | 0.113636 | 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 |
c689b5418a7a0887640ee647ae675dfb3518bc81 | 8,039 | py | Python | import_export_google_civic/migrations/0001_initial.py | adborden/WeVoteBase | 7fd612aee1d3638c8a74cc81873ce0687f62cf33 | [
"MIT"
] | null | null | null | import_export_google_civic/migrations/0001_initial.py | adborden/WeVoteBase | 7fd612aee1d3638c8a74cc81873ce0687f62cf33 | [
"MIT"
] | null | null | null | import_export_google_civic/migrations/0001_initial.py | adborden/WeVoteBase | 7fd612aee1d3638c8a74cc81873ce0687f62cf33 | [
"MIT"
] | 1 | 2020-03-04T00:22:39.000Z | 2020-03-04T00:22:39.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='GoogleCivicCandidateCampaign',
fields=[
('id', ... | 88.340659 | 163 | 0.674711 | 1,004 | 8,039 | 5.205179 | 0.103586 | 0.119977 | 0.121699 | 0.197474 | 0.854573 | 0.844814 | 0.808649 | 0.799082 | 0.761194 | 0.759089 | 0 | 0.021293 | 0.199652 | 8,039 | 90 | 164 | 89.322222 | 0.790954 | 0.002612 | 0 | 0.488095 | 0 | 0 | 0.296657 | 0.044411 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.059524 | 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 |
afa4fc125e02492254a3c7d912fe3c9437fcd289 | 104 | py | Python | hisa/capsule/capsule.py | rittikaadhikari/stock-recommendation | 1f14276a955301b1c6fa1c00bd88b00cf5668d8c | [
"MIT"
] | null | null | null | hisa/capsule/capsule.py | rittikaadhikari/stock-recommendation | 1f14276a955301b1c6fa1c00bd88b00cf5668d8c | [
"MIT"
] | null | null | null | hisa/capsule/capsule.py | rittikaadhikari/stock-recommendation | 1f14276a955301b1c6fa1c00bd88b00cf5668d8c | [
"MIT"
] | null | null | null | from six import with_metaclass
from abc import ABCMeta
class Capsule(with_metaclass(ABCMeta)):
pass
| 14.857143 | 40 | 0.807692 | 15 | 104 | 5.466667 | 0.666667 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 6 | 41 | 17.333333 | 0.921348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
afaa2355b4d151fc4ab230e408b2aad75a508f4f | 159 | py | Python | datasets/__init__.py | yubin1219/Semantic-Seg | c40bd43d3d7e44bc995b8d041736580dec084251 | [
"BSD-2-Clause"
] | null | null | null | datasets/__init__.py | yubin1219/Semantic-Seg | c40bd43d3d7e44bc995b8d041736580dec084251 | [
"BSD-2-Clause"
] | null | null | null | datasets/__init__.py | yubin1219/Semantic-Seg | c40bd43d3d7e44bc995b8d041736580dec084251 | [
"BSD-2-Clause"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .cityscapes import Cityscapes as cityscapes
| 26.5 | 48 | 0.874214 | 20 | 159 | 6.25 | 0.45 | 0.24 | 0.384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119497 | 159 | 5 | 49 | 31.8 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 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 |
afacbc72667948ebf6d0c48f3bf3de40ac0b15ac | 21,535 | py | Python | testscripts/RDKB/component/WIFIAgent/TS_WIFIAGENT_ForceDisable_CheckRadioEnable_InBridgeMode.py | rdkcmf/rdkb-tools-tdkb | 9f9c3600cd701d5fc90ac86a6394ebd28d49267e | [
"Apache-2.0"
] | null | null | null | testscripts/RDKB/component/WIFIAgent/TS_WIFIAGENT_ForceDisable_CheckRadioEnable_InBridgeMode.py | rdkcmf/rdkb-tools-tdkb | 9f9c3600cd701d5fc90ac86a6394ebd28d49267e | [
"Apache-2.0"
] | null | null | null | testscripts/RDKB/component/WIFIAgent/TS_WIFIAGENT_ForceDisable_CheckRadioEnable_InBridgeMode.py | rdkcmf/rdkb-tools-tdkb | 9f9c3600cd701d5fc90ac86a6394ebd28d49267e | [
"Apache-2.0"
] | null | null | null | ##########################################################################
# If not stated otherwise in this file or this component's Licenses.txt
# file the following copyright and licenses apply:
#
# Copyright 2020 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use th... | 59.325069 | 152 | 0.611563 | 2,310 | 21,535 | 5.645022 | 0.12684 | 0.033129 | 0.041718 | 0.04908 | 0.766564 | 0.748313 | 0.72477 | 0.717408 | 0.704064 | 0.681672 | 0 | 0.016214 | 0.295472 | 21,535 | 362 | 153 | 59.48895 | 0.843264 | 0.061017 | 0 | 0.857143 | 0 | 0.016807 | 0.378729 | 0.031211 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.008403 | null | null | 0.407563 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
afaf0c0d22e6116d8d6a7dbdab58a5db57b0b80d | 43,419 | py | Python | graphene_django_cud/mutations.py | martasd/graphene-django-cud | 29f62579e1f5cc6c3130a4a8e13cf8059ccb19f2 | [
"MIT"
] | null | null | null | graphene_django_cud/mutations.py | martasd/graphene-django-cud | 29f62579e1f5cc6c3130a4a8e13cf8059ccb19f2 | [
"MIT"
] | null | null | null | graphene_django_cud/mutations.py | martasd/graphene-django-cud | 29f62579e1f5cc6c3130a4a8e13cf8059ccb19f2 | [
"MIT"
] | null | null | null | from collections import OrderedDict
import graphene
from django.core.exceptions import FieldDoesNotExist, ObjectDoesNotExist
from django.db import models, transaction
from graphene import Mutation, InputObjectType
from graphene.types.mutation import MutationOptions
from graphene.types.utils import yank_fields_from_att... | 34.404913 | 139 | 0.589673 | 4,937 | 43,419 | 4.793194 | 0.056107 | 0.045132 | 0.038032 | 0.037863 | 0.854716 | 0.835742 | 0.820487 | 0.801682 | 0.800203 | 0.796104 | 0 | 0.00108 | 0.338861 | 43,419 | 1,261 | 140 | 34.432197 | 0.823277 | 0.044635 | 0 | 0.817998 | 0 | 0 | 0.05027 | 0.00461 | 0 | 0 | 0 | 0 | 0.0091 | 1 | 0.019211 | false | 0 | 0.013145 | 0 | 0.130435 | 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 |
afc3e776dae3b5b2f91d013ecf69e2b4d03f85b9 | 78,351 | py | Python | hermes_fix/message_lib/FIX_4_2/fix_messages.py | yabov/hermes_fix | 0a5e89fd15903a7ee0929e82b39879362e2e1008 | [
"Apache-2.0"
] | 2 | 2020-02-20T15:00:35.000Z | 2020-02-21T19:27:53.000Z | hermes_fix/message_lib/FIX_4_2/fix_messages.py | yabov/hermes_fix | 0a5e89fd15903a7ee0929e82b39879362e2e1008 | [
"Apache-2.0"
] | 3 | 2020-02-21T03:25:35.000Z | 2020-02-21T18:37:42.000Z | hermes_fix/message_lib/FIX_4_2/fix_messages.py | yabov/hermes_fix | 0a5e89fd15903a7ee0929e82b39879362e2e1008 | [
"Apache-2.0"
] | null | null | null |
from ... import fix_message
from . import fields
from . import field_types
BEGINSTRING = 'FIX.4.2'
MESSAGE_TYPES = {}
class Header(fix_message.MessageBase):
def __init__(self):
super().__init__()
register_StandardHeader_component(self)
class Trailer(fix_message.MessageBase):
def __... | 44.695379 | 84 | 0.716596 | 8,327 | 78,351 | 6.515552 | 0.060886 | 0.253912 | 0.348429 | 0.471404 | 0.873376 | 0.779007 | 0.771708 | 0.763303 | 0.761699 | 0.758179 | 0 | 0.000659 | 0.186188 | 78,351 | 1,752 | 85 | 44.72089 | 0.850227 | 0.000944 | 0 | 0.719874 | 0 | 0 | 0.003211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042902 | false | 0 | 0.001893 | 0 | 0.14448 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
bb9dee1e660a88e5b77ff492de4bb87e6c0e8084 | 1,267 | py | Python | suitcase/nxsas/tests/test__build_bluesky_document_path.py | jklynch/suitcase-sas | 914572806f47f7a3a373755e772eafc45a9c3dd4 | [
"BSD-3-Clause"
] | 1 | 2021-07-30T11:03:26.000Z | 2021-07-30T11:03:26.000Z | suitcase/nxsas/tests/test__build_bluesky_document_path.py | jklynch/suitcase-sas | 914572806f47f7a3a373755e772eafc45a9c3dd4 | [
"BSD-3-Clause"
] | 2 | 2020-07-02T18:22:06.000Z | 2020-12-02T16:38:52.000Z | suitcase/nxsas/tests/test__build_bluesky_document_path.py | jklynch/suitcase-sas | 914572806f47f7a3a373755e772eafc45a9c3dd4 | [
"BSD-3-Clause"
] | 3 | 2020-06-07T13:54:13.000Z | 2020-08-10T13:36:28.000Z | from suitcase.nxsas.utils import _parse_bluesky_document_path
def test__build_bluesky_document_path():
parsed_path = _parse_bluesky_document_path("#bluesky/start@abc")
assert parsed_path["doc"] == "start"
assert parsed_path["attribute"] == "abc"
parsed_path = _parse_bluesky_document_path("#bluesky/st... | 39.59375 | 83 | 0.685083 | 161 | 1,267 | 5.049689 | 0.149068 | 0.270603 | 0.314883 | 0.206642 | 0.822878 | 0.822878 | 0.822878 | 0.750308 | 0.750308 | 0.750308 | 0 | 0 | 0.147593 | 1,267 | 31 | 84 | 40.870968 | 0.752778 | 0 | 0 | 0.458333 | 0 | 0 | 0.233623 | 0.083662 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.041667 | false | 0 | 0.041667 | 0 | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
bba092f23ad87dce6867534769fc80cb6bf2015e | 1,233 | py | Python | scripts/test_similarity.py | MOOC-Learner-Project/edx-extension-code-similarity | 71f59adcd799bb63f3e08ada8eae34ac736a6537 | [
"MIT"
] | null | null | null | scripts/test_similarity.py | MOOC-Learner-Project/edx-extension-code-similarity | 71f59adcd799bb63f3e08ada8eae34ac736a6537 | [
"MIT"
] | null | null | null | scripts/test_similarity.py | MOOC-Learner-Project/edx-extension-code-similarity | 71f59adcd799bb63f3e08ada8eae34ac736a6537 | [
"MIT"
] | null | null | null | from compare_trajectories import get_similarity
def test_samples():
print("1-1")
print(get_similarity('for print if', '1-1', should_validate=False))
print(get_similarity('for print if if if for', '1-1', should_validate=False))
print(get_similarity('for print if if if if if', '1-1', should_validate=Fals... | 45.666667 | 86 | 0.690998 | 194 | 1,233 | 4.190722 | 0.170103 | 0.239852 | 0.309963 | 0.335793 | 0.808118 | 0.782288 | 0.782288 | 0.640836 | 0.640836 | 0.479705 | 0 | 0.035071 | 0.144363 | 1,233 | 26 | 87 | 47.423077 | 0.735545 | 0 | 0 | 0 | 0 | 0.047619 | 0.24412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | true | 0 | 0.047619 | 0 | 0.095238 | 0.809524 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
bbb29607113b1bf49819699274dd67cefc202b9f | 11,884 | py | Python | housebot/comm/rotate_useragent.py | jbkopecky/housebot | 750b46f0ce61535b47fc23e39a4cc0baaad0f51c | [
"MIT"
] | 3 | 2016-09-22T12:25:18.000Z | 2017-11-08T15:58:00.000Z | housebot/comm/rotate_useragent.py | jbkopecky/housebot | 750b46f0ce61535b47fc23e39a4cc0baaad0f51c | [
"MIT"
] | null | null | null | housebot/comm/rotate_useragent.py | jbkopecky/housebot | 750b46f0ce61535b47fc23e39a4cc0baaad0f51c | [
"MIT"
] | null | null | null | #!/usr/bin/python
#-*-coding:utf-8-*-
import random
from scrapy.downloadermiddlewares.useragent import UserAgentMiddleware
class RotateUserAgentMiddleware(UserAgentMiddleware):
def __init__(self, user_agent=''):
self.user_agent = user_agent
def process_request(self, request, spider):
ua = rand... | 104.245614 | 149 | 0.647089 | 2,112 | 11,884 | 3.605114 | 0.073864 | 0.025479 | 0.112293 | 0.152351 | 0.900841 | 0.899527 | 0.888232 | 0.870239 | 0.847386 | 0.819018 | 0 | 0.233726 | 0.192107 | 11,884 | 113 | 150 | 105.168142 | 0.559317 | 0.018092 | 0 | 0 | 0 | 0.896226 | 0.825032 | 0.0018 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018868 | false | 0 | 0.018868 | 0 | 0.056604 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
bbb63db4f79cae56c7f0a66c97c10bbbe6820fc9 | 44 | py | Python | web/frontend/hass_db/__init__.py | tcsvn/activity-assistant | eeb0ef72a046a8a781ff31b384edec8243dd22a7 | [
"MIT"
] | 45 | 2020-11-06T20:31:13.000Z | 2022-03-24T06:14:18.000Z | web/frontend/hass_db/__init__.py | tcsvn/activity-assistant | eeb0ef72a046a8a781ff31b384edec8243dd22a7 | [
"MIT"
] | 10 | 2020-12-14T00:17:11.000Z | 2022-02-06T19:39:01.000Z | web/frontend/hass_db/__init__.py | tcsvn/activity-assistant | eeb0ef72a046a8a781ff31b384edec8243dd22a7 | [
"MIT"
] | 3 | 2020-12-15T22:50:09.000Z | 2022-03-13T21:12:28.000Z | from .hass_db import url_from_hass_config
| 11 | 41 | 0.840909 | 8 | 44 | 4.125 | 0.75 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 3 | 42 | 14.666667 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bbbd11689b57de4d9b9af5d907ff5e554c74b5f7 | 20,643 | py | Python | pyaz/aks/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/aks/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/aks/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Manage Azure Kubernetes Services.
'''
from .. pyaz_utils import _call_az
from . import command, nodepool
def browse(name, resource_group, disable_browser=None, listen_address=None, listen_port=None):
'''
Show the dashboard for a Kubernetes cluster in a web browser.
Required Parameters:
- name -- ... | 44.393548 | 2,025 | 0.722618 | 2,772 | 20,643 | 5.137446 | 0.106782 | 0.054771 | 0.023173 | 0.027807 | 0.807879 | 0.780774 | 0.757812 | 0.751071 | 0.735482 | 0.722702 | 0 | 0.000238 | 0.185099 | 20,643 | 464 | 2,026 | 44.489224 | 0.846332 | 0.628688 | 0 | 0 | 0 | 0 | 0.057207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.478261 | false | 0.043478 | 0.043478 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
bbf296c5b9546c1b68436db02252a70429c63391 | 212 | py | Python | cleanflow/__init__.py | vutsalsinghal/CleanFlow | 4cfbe345ca3e59a254baf5aa9f6eae329b918527 | [
"MIT"
] | 1 | 2018-09-02T19:56:28.000Z | 2018-09-02T19:56:28.000Z | cleanflow/__init__.py | vutsalsinghal/CleanFlow | 4cfbe345ca3e59a254baf5aa9f6eae329b918527 | [
"MIT"
] | null | null | null | cleanflow/__init__.py | vutsalsinghal/CleanFlow | 4cfbe345ca3e59a254baf5aa9f6eae329b918527 | [
"MIT"
] | 1 | 2018-05-03T20:13:18.000Z | 2018-05-03T20:13:18.000Z | from .assertions import assert_type_str,assert_cols_in_df, assert_type_str_or_list, assert_type_int_or_float
__all__ = ['assert_type_str_or_list','assert_type_int_or_float','assert_type_str','assert_cols_in_df'] | 70.666667 | 108 | 0.872642 | 38 | 212 | 4.078947 | 0.368421 | 0.387097 | 0.335484 | 0.245161 | 0.851613 | 0.851613 | 0.851613 | 0.503226 | 0.503226 | 0.503226 | 0 | 0 | 0.042453 | 212 | 3 | 109 | 70.666667 | 0.763547 | 0 | 0 | 0 | 0 | 0 | 0.370892 | 0.220657 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
a59041d2d410a8ed7f31ac54cc4446f8da617f82 | 28,416 | py | Python | models/drocc.py | jbr-ai-labs/PU-OC | 4030a67353594d864a2a9482dd3f5d206cbd28ae | [
"MIT"
] | null | null | null | models/drocc.py | jbr-ai-labs/PU-OC | 4030a67353594d864a2a9482dd3f5d206cbd28ae | [
"MIT"
] | null | null | null | models/drocc.py | jbr-ai-labs/PU-OC | 4030a67353594d864a2a9482dd3f5d206cbd28ae | [
"MIT"
] | null | null | null | import torch
import torch.nn.functional as F
import torch.utils.data
import torch.utils.data
from models.base_models import OCModel, PUModelRandomBatch
from models.classifiers import Net
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
# code DROCC is borrowed from https://github.com/microsoft/... | 41.004329 | 115 | 0.531637 | 3,394 | 28,416 | 4.232764 | 0.076606 | 0.027565 | 0.027565 | 0.013365 | 0.969651 | 0.966588 | 0.962342 | 0.962342 | 0.962342 | 0.962342 | 0 | 0.012642 | 0.365322 | 28,416 | 692 | 116 | 41.063584 | 0.78392 | 0.687289 | 0 | 0.840764 | 0 | 0 | 0.000878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038217 | false | 0 | 0.038217 | 0 | 0.11465 | 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 |
a599a53d2dbe8f55d0ae2285bfa16d2cd2d65c31 | 2,322 | py | Python | src/bgapi/gatt_server/rsp.py | GetAmbush/python-bgapi | 985e5849275eb5e7cf794c30ef87e16ffa91fa63 | [
"MIT"
] | 5 | 2018-05-11T14:59:50.000Z | 2021-04-29T07:51:43.000Z | src/bgapi/gatt_server/rsp.py | GetAmbush/python-bgapi | 985e5849275eb5e7cf794c30ef87e16ffa91fa63 | [
"MIT"
] | null | null | null | src/bgapi/gatt_server/rsp.py | GetAmbush/python-bgapi | 985e5849275eb5e7cf794c30ef87e16ffa91fa63 | [
"MIT"
] | 2 | 2018-10-05T16:51:08.000Z | 2020-08-10T18:24:16.000Z | from struct import (unpack_from, calcsize, error)
def find_attribute(data: bytes, offset: int = 0):
FORMAT = '<HH'
result, sent_len = unpack_from(FORMAT, data, offset=offset)
offset += calcsize(FORMAT)
payload = {
'result': result,
'sent_len': sent_len,
}
return payload, offset... | 23.454545 | 67 | 0.609388 | 273 | 2,322 | 5.047619 | 0.135531 | 0.156749 | 0.11611 | 0.104499 | 0.891147 | 0.872279 | 0.800435 | 0.788824 | 0.726415 | 0.726415 | 0 | 0.004703 | 0.267442 | 2,322 | 98 | 68 | 23.693878 | 0.805409 | 0 | 0 | 0.705128 | 0 | 0 | 0.043928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0 | 0.012821 | 0 | 0.217949 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3c055540f4bac239471bd40673cc11cba8364b6a | 1,042 | py | Python | python/testData/inspections/PyDictDuplicateKeysInspection/test.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/inspections/PyDictDuplicateKeysInspection/test.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 11 | 2017-02-27T22:35:32.000Z | 2021-12-24T08:07:40.000Z | python/testData/inspections/PyDictDuplicateKeysInspection/test.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 1 | 2020-11-27T10:36:50.000Z | 2020-11-27T10:36:50.000Z | dict = {<warning descr="Dictionary contains duplicate keys key_1">key_1</warning> : 1, key_2: 2, <warning descr="Dictionary contains duplicate keys key_1">key_1</warning> : 3}
dict = {'key_1' : 1, <warning descr="Dictionary contains duplicate keys 'key_2'">'key_2'</warning>: 2, <warning descr="Dictionary contains dupli... | 57.888889 | 185 | 0.692898 | 149 | 1,042 | 4.765101 | 0.161074 | 0.169014 | 0.309859 | 0.422535 | 0.86338 | 0.86338 | 0.86338 | 0.86338 | 0.85493 | 0.776056 | 0 | 0.055315 | 0.115163 | 1,042 | 17 | 186 | 61.294118 | 0.714751 | 0.006718 | 0 | 0 | 0 | 0 | 0.424008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
3c1b6c9e6b47fb95aa16ef2acb4b7d713d883c56 | 565 | py | Python | eval_covid20cases_timm-regnetx_002_CoarseDropout.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_covid20cases_timm-regnetx_002_CoarseDropout.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_covid20cases_timm-regnetx_002_CoarseDropout.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_0_CoarseDropout.yml",
"python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_1_CoarseDropout.yml",
"python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_2_CoarseDropout... | 51.363636 | 107 | 0.853097 | 80 | 565 | 5.65 | 0.3 | 0.110619 | 0.132743 | 0.210177 | 0.893805 | 0.893805 | 0.893805 | 0.893805 | 0.893805 | 0.893805 | 0 | 0.05618 | 0.054867 | 565 | 11 | 108 | 51.363636 | 0.790262 | 0 | 0 | 0 | 0 | 0 | 0.883392 | 0.662544 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
3c56748dc2e31bf612f4bf75fa49cb321ba58ffd | 24,804 | py | Python | training.py | zhangsiyu1103/ESNAC | ecec9860d1fb9f82a61c61dc2bcd1b17d58352dd | [
"MIT"
] | null | null | null | training.py | zhangsiyu1103/ESNAC | ecec9860d1fb9f82a61c61dc2bcd1b17d58352dd | [
"MIT"
] | null | null | null | training.py | zhangsiyu1103/ESNAC | ecec9860d1fb9f82a61c61dc2bcd1b17d58352dd | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
import torch.backends.cudnn as cudnn
import options as opt
import os
import time
import sys
import numpy as np
def init_model(model):
for module in model.modules():
if isinstance(module, nn.Conv2d):
n... | 38.218798 | 84 | 0.566763 | 2,922 | 24,804 | 4.5859 | 0.058522 | 0.025075 | 0.031194 | 0.019851 | 0.884179 | 0.864776 | 0.845672 | 0.839179 | 0.832985 | 0.820448 | 0 | 0.009974 | 0.328979 | 24,804 | 648 | 85 | 38.277778 | 0.795121 | 0.053177 | 0 | 0.810662 | 0 | 0 | 0.024191 | 0.002773 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022059 | false | 0 | 0.018382 | 0 | 0.0625 | 0.022059 | 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.