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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12f9bf6b178620d43a7f13e6380549a5f972896e | 67 | py | Python | drop/multilabel_classification/mymodel.py | MRD-Git/Huggingface-course | 7c0440584e630cb8885c2a237bc6e8213cfd5572 | [
"MIT"
] | null | null | null | drop/multilabel_classification/mymodel.py | MRD-Git/Huggingface-course | 7c0440584e630cb8885c2a237bc6e8213cfd5572 | [
"MIT"
] | null | null | null | drop/multilabel_classification/mymodel.py | MRD-Git/Huggingface-course | 7c0440584e630cb8885c2a237bc6e8213cfd5572 | [
"MIT"
] | null | null | null | from transformers import BertForSequenceClassification
import torch | 33.5 | 54 | 0.925373 | 6 | 67 | 10.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 67 | 2 | 55 | 33.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
429292bf78f0494230b3604ef21f5b7ab89cc543 | 34 | py | Python | A1_PS10_IPL_GROUP070/__init__.py | narendranss/A1_PS10_IPL_GROUP070 | 57bbd724003e19f0f484f5683b1503eefda2f40e | [
"MIT"
] | null | null | null | A1_PS10_IPL_GROUP070/__init__.py | narendranss/A1_PS10_IPL_GROUP070 | 57bbd724003e19f0f484f5683b1503eefda2f40e | [
"MIT"
] | null | null | null | A1_PS10_IPL_GROUP070/__init__.py | narendranss/A1_PS10_IPL_GROUP070 | 57bbd724003e19f0f484f5683b1503eefda2f40e | [
"MIT"
] | null | null | null | from A1_PS10_IPL_GROUP070 import * | 34 | 34 | 0.882353 | 6 | 34 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 0.088235 | 34 | 1 | 34 | 34 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
42aadc99fa9634e705e7ec7648dbcc2993452319 | 136 | py | Python | scripts/npc/autogen_face_henesys2.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | scripts/npc/autogen_face_henesys2.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | scripts/npc/autogen_face_henesys2.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | # Character field ID when accessed: 100000103
# ObjectID: 1000001
# ParentID: 1052005
# Object Position X: 102
# Object Position Y: 133
| 22.666667 | 45 | 0.757353 | 18 | 136 | 5.722222 | 0.888889 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256637 | 0.169118 | 136 | 5 | 46 | 27.2 | 0.654867 | 0.919118 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4373f8e7104583a6ef77eb6de3c04bf5a14d1d5 | 12,221 | py | Python | site-packages/freezerclient/tests/unit/v2/test_client_jobs.py | hariza17/freezer_libraries | e0bd890eba5e7438976fb3b4d66c41c128bab790 | [
"PSF-2.0"
] | null | null | null | site-packages/freezerclient/tests/unit/v2/test_client_jobs.py | hariza17/freezer_libraries | e0bd890eba5e7438976fb3b4d66c41c128bab790 | [
"PSF-2.0"
] | null | null | null | site-packages/freezerclient/tests/unit/v2/test_client_jobs.py | hariza17/freezer_libraries | e0bd890eba5e7438976fb3b4d66c41c128bab790 | [
"PSF-2.0"
] | null | null | null | # (c) Copyright 2018 ZTE Corporation.
#
# 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 w... | 44.60219 | 79 | 0.664757 | 1,460 | 12,221 | 5.312329 | 0.122603 | 0.088706 | 0.111398 | 0.068076 | 0.847473 | 0.832646 | 0.828907 | 0.811501 | 0.804023 | 0.77411 | 0 | 0.028742 | 0.219949 | 12,221 | 273 | 80 | 44.765568 | 0.784853 | 0.054578 | 0 | 0.630631 | 0 | 0 | 0.18731 | 0.102106 | 0 | 0 | 0 | 0 | 0.144144 | 1 | 0.094595 | false | 0 | 0.022523 | 0 | 0.121622 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c44110cbc171f46ec5b9816d6b6fc98f95c3e4c6 | 39,581 | py | Python | FSJ_django20_project/FSJ/tests/test_browser_coordinator.py | CMPUT401FSJ/FSJAwards | 01f630e5060d70eecf7cb8f35b576f8799e2d7af | [
"MIT"
] | 6 | 2018-02-03T21:37:14.000Z | 2020-11-20T19:07:20.000Z | FSJ_django20_project/FSJ/tests/test_browser_coordinator.py | CMPUT401FSJ/FSJAwards | 01f630e5060d70eecf7cb8f35b576f8799e2d7af | [
"MIT"
] | 145 | 2018-02-01T02:38:17.000Z | 2018-06-06T16:22:05.000Z | FSJ_django20_project/FSJ/tests/test_browser_coordinator.py | CMPUT401FSJ/FSJAwards | 01f630e5060d70eecf7cb8f35b576f8799e2d7af | [
"MIT"
] | 4 | 2018-05-04T22:04:29.000Z | 2020-10-01T11:45:15.000Z | from ..models import *
from django.contrib.auth.models import User
from selenium.webdriver.support.wait import WebDriverWait
timeout = 15
import time
import pytz
import datetime
from .selenium_test import SeleniumTest
from django.conf import settings
from selenium.webdriver.firefox.webdriver import WebDriver
class Co... | 44.42312 | 214 | 0.685581 | 4,855 | 39,581 | 5.285479 | 0.043048 | 0.104283 | 0.102841 | 0.119208 | 0.896263 | 0.87444 | 0.84607 | 0.828027 | 0.795916 | 0.752543 | 0 | 0.003554 | 0.203886 | 39,581 | 890 | 215 | 44.473034 | 0.810796 | 0 | 0 | 0.651466 | 0 | 0.003257 | 0.096222 | 0.015768 | 0 | 0 | 0 | 0 | 0.123779 | 1 | 0.017915 | false | 0.008143 | 0.014658 | 0 | 0.034202 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c467e8f77d2dfdb1bffe1e3f59975e9960925291 | 182 | py | Python | questioneer/users/models.py | markdentoom/Questioneer | 79cd65168a4ff2e0f7cf7c52c51e6d1cbffb1318 | [
"MIT"
] | null | null | null | questioneer/users/models.py | markdentoom/Questioneer | 79cd65168a4ff2e0f7cf7c52c51e6d1cbffb1318 | [
"MIT"
] | null | null | null | questioneer/users/models.py | markdentoom/Questioneer | 79cd65168a4ff2e0f7cf7c52c51e6d1cbffb1318 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import AbstractUser
class CustomUser(AbstractUser):
# Use default AbstractUser, but inherit it so we can change it as we see fit later
pass
| 26 | 86 | 0.769231 | 27 | 182 | 5.185185 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186813 | 182 | 6 | 87 | 30.333333 | 0.945946 | 0.43956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
679758b2818ca7ea5e4f5803a514ce4ca458b200 | 34 | py | Python | xformer/__init__.py | apoorvnandan/xformer | 4309a07c152e9c3579f63d0d86ac563730bf39e8 | [
"Apache-2.0"
] | null | null | null | xformer/__init__.py | apoorvnandan/xformer | 4309a07c152e9c3579f63d0d86ac563730bf39e8 | [
"Apache-2.0"
] | null | null | null | xformer/__init__.py | apoorvnandan/xformer | 4309a07c152e9c3579f63d0d86ac563730bf39e8 | [
"Apache-2.0"
] | 1 | 2021-04-02T08:40:30.000Z | 2021-04-02T08:40:30.000Z | from xformer.transformer import *
| 17 | 33 | 0.823529 | 4 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
679a79128c62117d3c69b52f22e3dfcc2393c2e3 | 84 | py | Python | pdcli/__init__.py | koyeung/python-pdcli | e7328bf647cbdaa91573615cbfa6d5f585314a58 | [
"Apache-2.0"
] | null | null | null | pdcli/__init__.py | koyeung/python-pdcli | e7328bf647cbdaa91573615cbfa6d5f585314a58 | [
"Apache-2.0"
] | null | null | null | pdcli/__init__.py | koyeung/python-pdcli | e7328bf647cbdaa91573615cbfa6d5f585314a58 | [
"Apache-2.0"
] | null | null | null | import importlib.metadata
__version__ = importlib.metadata.version("python-pdcli")
| 21 | 56 | 0.821429 | 9 | 84 | 7.222222 | 0.666667 | 0.523077 | 0.738462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 84 | 3 | 57 | 28 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
679c6a61741128e7574981911584d76f313738df | 34 | py | Python | funicorn/__init__.py | juanbenitopr/funicorn | 4f21ccee1e56d74975d032bb6139644c3d331416 | [
"MIT"
] | 3 | 2020-06-10T07:47:17.000Z | 2022-01-09T11:32:50.000Z | funicorn/__init__.py | juanbenitopr/funicorn | 4f21ccee1e56d74975d032bb6139644c3d331416 | [
"MIT"
] | null | null | null | funicorn/__init__.py | juanbenitopr/funicorn | 4f21ccee1e56d74975d032bb6139644c3d331416 | [
"MIT"
] | null | null | null | from funicorn.main import Funicorn | 34 | 34 | 0.882353 | 5 | 34 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db0261ebea1c5925e000bdae74629f16c1e15feb | 27 | py | Python | repository/__init__.py | kex5n/Vehicles-Dispatch-Simulator | d0cca03fbf56e4b0ceeef8dafc59de105c1d4507 | [
"MIT"
] | 7 | 2021-05-12T14:59:14.000Z | 2021-07-02T04:22:27.000Z | repository/__init__.py | kex5n/Vehicles-Dispatch-Simulator | d0cca03fbf56e4b0ceeef8dafc59de105c1d4507 | [
"MIT"
] | 5 | 2021-11-14T10:47:01.000Z | 2021-11-14T11:30:54.000Z | repository/__init__.py | kex5n/Vehicles-Dispatch-Simulator | d0cca03fbf56e4b0ceeef8dafc59de105c1d4507 | [
"MIT"
] | 1 | 2016-10-11T19:18:53.000Z | 2016-10-11T19:18:53.000Z | from .memory import Memory
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db0791dd4e56aa013d60bf158280e552a752ad19 | 178 | py | Python | scraper/utils.py | ArthurPBressan/steam-wallpaper-scraper | 10fbb2202b19a19570c15ee6d4777c18fa8b55ab | [
"MIT"
] | null | null | null | scraper/utils.py | ArthurPBressan/steam-wallpaper-scraper | 10fbb2202b19a19570c15ee6d4777c18fa8b55ab | [
"MIT"
] | 6 | 2018-01-26T19:05:19.000Z | 2018-01-28T13:50:24.000Z | scraper/utils.py | ArthurPBressan/steam-wallpaper-scraper | 10fbb2202b19a19570c15ee6d4777c18fa8b55ab | [
"MIT"
] | null | null | null | def clean_game_title(game_title):
return game_title.replace('- Foil Badge', '').strip()
def clean_card_title(card_title):
return card_title.replace('\\/', '-').strip()
| 25.428571 | 57 | 0.691011 | 24 | 178 | 4.791667 | 0.416667 | 0.234783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 178 | 6 | 58 | 29.666667 | 0.737179 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
db136e143a9ddc49e293fecea64baa3194f514e4 | 8,513 | py | Python | tests/utils/postprocess/test_waterfall.py | vdestraitt/toucan-data-sdk | 09327592daef6bc94d0d6f79a041b581226c2b7b | [
"BSD-3-Clause"
] | null | null | null | tests/utils/postprocess/test_waterfall.py | vdestraitt/toucan-data-sdk | 09327592daef6bc94d0d6f79a041b581226c2b7b | [
"BSD-3-Clause"
] | null | null | null | tests/utils/postprocess/test_waterfall.py | vdestraitt/toucan-data-sdk | 09327592daef6bc94d0d6f79a041b581226c2b7b | [
"BSD-3-Clause"
] | null | null | null | import pandas as pd
import pytest
from numpy import inf, nan, testing
from toucan_data_sdk.utils.postprocess import waterfall
@pytest.fixture
def sample_data():
return [
{'ord': 1, 'category_name': 'Clap', 'category_id': 'clap', 'product_id': 'super clap',
'date': 't1', 'played': 12},
{'... | 41.526829 | 94 | 0.518854 | 998 | 8,513 | 4.347695 | 0.117234 | 0.038719 | 0.050933 | 0.0295 | 0.870708 | 0.85711 | 0.848352 | 0.826919 | 0.769302 | 0.769302 | 0 | 0.039679 | 0.253965 | 8,513 | 204 | 95 | 41.730392 | 0.643521 | 0.010337 | 0 | 0.513812 | 0 | 0 | 0.338129 | 0 | 0 | 0 | 0 | 0 | 0.049724 | 1 | 0.033149 | false | 0 | 0.022099 | 0.005525 | 0.060773 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fbfa5d568b0d334d019cd465efc30bbc9993b042 | 240 | py | Python | test_account.py | vv31415926/lesson_08 | cef647e124fd099e3e681e291733f718220579a2 | [
"MIT"
] | null | null | null | test_account.py | vv31415926/lesson_08 | cef647e124fd099e3e681e291733f718220579a2 | [
"MIT"
] | null | null | null | test_account.py | vv31415926/lesson_08 | cef647e124fd099e3e681e291733f718220579a2 | [
"MIT"
] | null | null | null | import myLibAcc
def test_setAccount():
assert myLibAcc.setAccount( 0, 10, input=True ) == (10,True )
assert myLibAcc.setAccount( 10, 5, input=False) == ( 5,True )
assert myLibAcc.setAccount( 5, 10, input=False) == ( 5,False) | 40 | 66 | 0.6625 | 32 | 240 | 4.9375 | 0.375 | 0.265823 | 0.455696 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.1875 | 240 | 6 | 67 | 40 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2209fe10197583446ceaa1b383cb1ef2111fd256 | 403 | py | Python | tests/test_helpers.py | maximz/kdict | bec84c5b27b644de752bbbbd003c6bb35fc493b5 | [
"MIT"
] | null | null | null | tests/test_helpers.py | maximz/kdict | bec84c5b27b644de752bbbbd003c6bb35fc493b5 | [
"MIT"
] | 14 | 2022-01-13T16:38:40.000Z | 2022-03-31T16:26:59.000Z | tests/test_helpers.py | maximz/kdict | bec84c5b27b644de752bbbbd003c6bb35fc493b5 | [
"MIT"
] | null | null | null | from kdict.helpers import _is_iterable_but_not_string
def test_is_iterable_but_not_string():
assert _is_iterable_but_not_string([1, 2, 3])
assert _is_iterable_but_not_string({1, 2, 3, "a"})
assert _is_iterable_but_not_string({"a": 5, "b": 6})
assert _is_iterable_but_not_string((1, 2, 3))
assert no... | 36.636364 | 56 | 0.756824 | 70 | 403 | 3.785714 | 0.285714 | 0.301887 | 0.392453 | 0.483019 | 0.856604 | 0.690566 | 0.584906 | 0.373585 | 0.373585 | 0.279245 | 0 | 0.034582 | 0.138958 | 403 | 10 | 57 | 40.3 | 0.729107 | 0 | 0 | 0 | 0 | 0 | 0.014888 | 0 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.125 | true | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2245ad09fff9814c787db9d31b09b59918de0363 | 84 | py | Python | aas_timeseries/screenshot/setup_package.py | astrofrog/aas-time-series-affiliated | 7fe352c126bc2dbe63116dde88281b931e8fab13 | [
"BSD-3-Clause"
] | 3 | 2019-01-22T14:25:26.000Z | 2019-07-31T15:41:39.000Z | aas_timeseries/screenshot/setup_package.py | astrofrog/aas-time-series-affiliated | 7fe352c126bc2dbe63116dde88281b931e8fab13 | [
"BSD-3-Clause"
] | 41 | 2019-01-18T17:30:47.000Z | 2021-05-06T13:46:39.000Z | aas_timeseries/screenshot/setup_package.py | astrofrog/aas-time-series-affiliated | 7fe352c126bc2dbe63116dde88281b931e8fab13 | [
"BSD-3-Clause"
] | 1 | 2019-09-19T14:01:26.000Z | 2019-09-19T14:01:26.000Z | def get_package_data():
return {'aas_timeseries.screenshot': ['template.html']}
| 28 | 59 | 0.72619 | 10 | 84 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 84 | 2 | 60 | 42 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0.452381 | 0.297619 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
97d8b476d68681feb02943608a3687fe1f27ef51 | 346 | py | Python | uri/iniciante/1041.py | AllefLobo/AlgorithmsProblemsSolution | 7e89d43d0811c45944b1729385b2c36fa07a847f | [
"MIT"
] | 2 | 2016-07-24T17:46:35.000Z | 2017-04-16T03:01:54.000Z | uri/iniciante/1041.py | AllefLobo/AlgorithmsProblemsSolution | 7e89d43d0811c45944b1729385b2c36fa07a847f | [
"MIT"
] | null | null | null | uri/iniciante/1041.py | AllefLobo/AlgorithmsProblemsSolution | 7e89d43d0811c45944b1729385b2c36fa07a847f | [
"MIT"
] | null | null | null |
x, y = map( float, raw_input().split() )
if x == 0.0 and y == 0.0:
print "Origem"
elif x == 0.0 and y != 0.0:
print "Eixo Y"
elif x != 0.0 and y == 0.0:
print "Eixo X"
elif x > 0.0 and y > 0.0:
print "Q1"
elif x < 0.0 and y > 0.0:
print "Q2"
elif x < 0.0 and y < 0.0:
print "Q3"
elif x > 0.0 an... | 19.222222 | 40 | 0.49711 | 79 | 346 | 2.164557 | 0.227848 | 0.163743 | 0.122807 | 0.245614 | 0.760234 | 0.760234 | 0.760234 | 0.760234 | 0.678363 | 0.25731 | 0 | 0.135021 | 0.315029 | 346 | 17 | 41 | 20.352941 | 0.586498 | 0 | 0 | 0 | 0 | 0 | 0.075362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.466667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3f1b50800579d9946abc5704dfc5b967cd267383 | 24,096 | py | Python | code/semantic_segmentation/pspnet/pspnet_isic/utils_arma/networks.py | mazeiomli/ARMA-Networks | a7932abad7c4022311c0ec5263a302ab1cc6a354 | [
"MIT"
] | null | null | null | code/semantic_segmentation/pspnet/pspnet_isic/utils_arma/networks.py | mazeiomli/ARMA-Networks | a7932abad7c4022311c0ec5263a302ab1cc6a354 | [
"MIT"
] | null | null | null | code/semantic_segmentation/pspnet/pspnet_isic/utils_arma/networks.py | mazeiomli/ARMA-Networks | a7932abad7c4022311c0ec5263a302ab1cc6a354 | [
"MIT"
] | 1 | 2021-12-17T23:08:12.000Z | 2021-12-17T23:08:12.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from utils.layers import ARMA2d
def init_weights(net, init_type = 'normal', gain = 0.02):
def init_func(m):
classname = m.__class__.__name__
if hasattr(m, 'weight') and (classname.find('Conv') != -1 or classname.find('Linear') != -... | 29.78492 | 102 | 0.564368 | 3,020 | 24,096 | 4.355629 | 0.062914 | 0.052684 | 0.059222 | 0.025544 | 0.867189 | 0.84499 | 0.824236 | 0.80561 | 0.791926 | 0.758933 | 0 | 0.055384 | 0.327108 | 24,096 | 808 | 103 | 29.821782 | 0.75589 | 0.29507 | 0 | 0.680851 | 0 | 0 | 0.009609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066869 | false | 0 | 0.012158 | 0 | 0.139818 | 0.00304 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f2752ddd623a33e74de916458d4145124e2ad85 | 133 | py | Python | src/tentaclio/hooks/__init__.py | datavaluepeople/tentaclio | eb6920a0e115c6c08043063a8c1013d812ec34c8 | [
"MIT"
] | 12 | 2019-04-30T16:07:42.000Z | 2021-12-08T08:02:09.000Z | src/tentaclio/hooks/__init__.py | octoenergy/tentaclio | eb6920a0e115c6c08043063a8c1013d812ec34c8 | [
"MIT"
] | 74 | 2019-04-25T11:18:22.000Z | 2022-01-18T11:31:14.000Z | src/tentaclio/hooks/__init__.py | datavaluepeople/tentaclio | eb6920a0e115c6c08043063a8c1013d812ec34c8 | [
"MIT"
] | 4 | 2019-05-05T13:13:21.000Z | 2022-01-14T00:33:07.000Z | """Hooks that use tentaclio clients."""
# TODO maybe move this guy somewhere else out of this repo
from .slack_hook import * # noqa
| 33.25 | 58 | 0.736842 | 21 | 133 | 4.619048 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180451 | 133 | 3 | 59 | 44.333333 | 0.889908 | 0.721805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f27800384b22aeb3b4e07f93258bc9ec1ec57f5 | 8,367 | py | Python | tests/test_actions.py | gaetanars/alerta | c14a1d8f6fc1aaf1cfb32c53f9f98e5a547dd886 | [
"Apache-2.0"
] | 1,233 | 2017-11-01T00:29:12.000Z | 2022-03-29T04:13:09.000Z | tests/test_actions.py | gaetanars/alerta | c14a1d8f6fc1aaf1cfb32c53f9f98e5a547dd886 | [
"Apache-2.0"
] | 760 | 2017-10-27T20:33:41.000Z | 2022-03-28T17:01:41.000Z | tests/test_actions.py | gaetanars/alerta | c14a1d8f6fc1aaf1cfb32c53f9f98e5a547dd886 | [
"Apache-2.0"
] | 238 | 2017-11-02T14:58:15.000Z | 2022-03-29T03:59:20.000Z | import json
import unittest
from uuid import uuid4
from alerta.app import alarm_model, create_app, db, plugins
class ActionsTestCase(unittest.TestCase):
def setUp(self):
test_config = {
'TESTING': True,
'AUTH_REQUIRED': False,
'ALERT_TIMEOUT': 120,
'HISTO... | 40.814634 | 102 | 0.558384 | 845 | 8,367 | 5.426036 | 0.132544 | 0.140676 | 0.103599 | 0.130862 | 0.849727 | 0.843184 | 0.841658 | 0.841658 | 0.795638 | 0.795638 | 0 | 0.015031 | 0.276443 | 8,367 | 204 | 103 | 41.014706 | 0.742319 | 0.016613 | 0 | 0.640719 | 0 | 0 | 0.206183 | 0 | 0 | 0 | 0 | 0 | 0.257485 | 1 | 0.023952 | false | 0 | 0.023952 | 0 | 0.053892 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f2cbe4288a105f0d5ef62128d2a22322194156a | 952 | py | Python | strings contain.py | nimdvir/python | ebb6324535a5787ef6fa6ba0cc938c9dc3beded8 | [
"MIT"
] | 1 | 2020-08-30T20:07:57.000Z | 2020-08-30T20:07:57.000Z | strings contain.py | nimdvir/python | ebb6324535a5787ef6fa6ba0cc938c9dc3beded8 | [
"MIT"
] | null | null | null | strings contain.py | nimdvir/python | ebb6324535a5787ef6fa6ba0cc938c9dc3beded8 | [
"MIT"
] | null | null | null | # How to check if Python string contains another string
# The find method
# string.find(substring)
a_string="PythonProgramming"
substring1="Programming"
substring2="Language"
print("Check if "+a_string+" contains "+substring1+":")
print(a_string.find(substring1))
print("Check if "+a_string+" contains "+substring... | 27.2 | 55 | 0.757353 | 120 | 952 | 5.883333 | 0.183333 | 0.148725 | 0.101983 | 0.110482 | 0.71813 | 0.71813 | 0.71813 | 0.71813 | 0.65864 | 0.65864 | 0 | 0.020857 | 0.093487 | 952 | 35 | 56 | 27.2 | 0.797219 | 0.177521 | 0 | 0.714286 | 0 | 0 | 0.293814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3f68bcc7d9313eb0c561d42a22c35192cf2d62e0 | 25 | py | Python | wooey/conf/project_template/urls/__init__.py | fridmundklaus/wooey | 4a2e31c282bfe86edf77b0ff8f58f4177eeab9dd | [
"BSD-3-Clause"
] | 1,572 | 2015-06-19T21:31:41.000Z | 2022-03-30T23:37:13.000Z | wooey/conf/project_template/urls/__init__.py | fridmundklaus/wooey | 4a2e31c282bfe86edf77b0ff8f58f4177eeab9dd | [
"BSD-3-Clause"
] | 309 | 2015-07-08T02:33:08.000Z | 2022-02-08T00:37:11.000Z | wooey/conf/project_template/urls/__init__.py | fridmundklaus/wooey | 4a2e31c282bfe86edf77b0ff8f58f4177eeab9dd | [
"BSD-3-Clause"
] | 220 | 2015-07-01T10:30:27.000Z | 2022-02-05T04:10:54.000Z | from .user_urls import *
| 12.5 | 24 | 0.76 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18dd6866fa2b1fb7aaa3d29caa0a2b0241a53986 | 88 | py | Python | tests/test_all.py | gunawanw9/piradar | 4ac239ec7afdc45fa1af16e6ce74b57eaabeb7cd | [
"Apache-2.0"
] | 47 | 2017-03-13T14:25:40.000Z | 2021-03-11T19:10:37.000Z | tests/test_all.py | gunawanw9/piradar | 4ac239ec7afdc45fa1af16e6ce74b57eaabeb7cd | [
"Apache-2.0"
] | 1 | 2017-09-22T09:48:47.000Z | 2017-09-24T05:23:11.000Z | tests/test_all.py | gunawanw9/piradar | 4ac239ec7afdc45fa1af16e6ce74b57eaabeb7cd | [
"Apache-2.0"
] | 13 | 2017-08-08T11:11:02.000Z | 2020-01-26T02:46:55.000Z | #!/usr/bin/env python
import piradar
def test_import():
assert piradar is not None | 14.666667 | 30 | 0.727273 | 14 | 88 | 4.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 6 | 30 | 14.666667 | 0.875 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7a1945a7a6c89d6ba73ed629e0eab049fc968e37 | 21 | py | Python | tf_trees/__init__.py | hazimehh/google-research | 81ff754d88f9ad479448c78d7ab615bef140423d | [
"Apache-2.0"
] | null | null | null | tf_trees/__init__.py | hazimehh/google-research | 81ff754d88f9ad479448c78d7ab615bef140423d | [
"Apache-2.0"
] | null | null | null | tf_trees/__init__.py | hazimehh/google-research | 81ff754d88f9ad479448c78d7ab615bef140423d | [
"Apache-2.0"
] | null | null | null | from .tel import TEL
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1c7af8c55ed1671f5a2aeb4cfd1372ce61c6367 | 24,935 | py | Python | api/data/constants/reforges.py | UP929312/CommunityBot | c16294e8ff4f47d9a1e8c18c9cd4011e7ebbd67a | [
"Apache-2.0"
] | 1 | 2021-06-15T07:31:13.000Z | 2021-06-15T07:31:13.000Z | api/data/constants/reforges.py | UP929312/CommunityBot | c16294e8ff4f47d9a1e8c18c9cd4011e7ebbd67a | [
"Apache-2.0"
] | 1 | 2021-06-01T10:14:32.000Z | 2021-06-02T10:54:12.000Z | api/data/constants/reforges.py | UP929312/CommunityBot | c16294e8ff4f47d9a1e8c18c9cd4011e7ebbd67a | [
"Apache-2.0"
] | 2 | 2021-06-01T10:59:15.000Z | 2021-06-03T18:29:36.000Z | REFORGE_DICT = {
"ambered;PICKAXE": {
"INTERNAL_NAME": "AMBER_MATERIAL",
"REFORGE_COST": {
"COMMON": 20000,
"UNCOMMON": 40000,
"RARE": 80000,
"EPIC": 150000,
"LEGENDARY": 300000,
"MYTHIC": 600000
}
},
"bloody;ACC... | 25.759298 | 46 | 0.421536 | 1,753 | 24,935 | 5.842556 | 0.102111 | 0.105448 | 0.139426 | 0.040812 | 0.813806 | 0.813806 | 0.813806 | 0.813025 | 0.813025 | 0.813025 | 0 | 0.197547 | 0.434209 | 24,935 | 968 | 47 | 25.759298 | 0.528424 | 0 | 0 | 0.661157 | 0 | 0 | 0.312921 | 0.000842 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1cbb78360bb456bd975d95903bddf94aac5bd5c | 150 | py | Python | test_template1.py | gregdetre/unit-testing-pres | c28cd3a938436b18f2175bfb43d0c33820dfc7ee | [
"MIT"
] | null | null | null | test_template1.py | gregdetre/unit-testing-pres | c28cd3a938436b18f2175bfb43d0c33820dfc7ee | [
"MIT"
] | null | null | null | test_template1.py | gregdetre/unit-testing-pres | c28cd3a938436b18f2175bfb43d0c33820dfc7ee | [
"MIT"
] | null | null | null | # USAGE:
# $ nose2 test_template1
def test_passes():
assert True
def test_fails():
assert False
def test_equals():
assert 1 == 1
| 10.714286 | 24 | 0.626667 | 20 | 150 | 4.5 | 0.6 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.273333 | 150 | 13 | 25 | 11.538462 | 0.788991 | 0.193333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0.166667 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
bee5f294b4d2ca8dddd9c5730e987573c75b4e02 | 47 | py | Python | landmark_detection/__init__.py | Chichichkin/LandmarkDetector | bf06b4846f139ccd9902efdc0aa8f0fd724272cb | [
"MIT"
] | null | null | null | landmark_detection/__init__.py | Chichichkin/LandmarkDetector | bf06b4846f139ccd9902efdc0aa8f0fd724272cb | [
"MIT"
] | null | null | null | landmark_detection/__init__.py | Chichichkin/LandmarkDetector | bf06b4846f139ccd9902efdc0aa8f0fd724272cb | [
"MIT"
] | null | null | null | from .landmark_detector import LandmarkDetector | 47 | 47 | 0.914894 | 5 | 47 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
831496746d52ede2643c60e367e0b125a0eab884 | 58 | py | Python | tests/__init__.py | gouline/outages-sample | d0f0c9403d5cb048d4c29fdb74bf9ab8b921d7ce | [
"MIT"
] | null | null | null | tests/__init__.py | gouline/outages-sample | d0f0c9403d5cb048d4c29fdb74bf9ab8b921d7ce | [
"MIT"
] | null | null | null | tests/__init__.py | gouline/outages-sample | d0f0c9403d5cb048d4c29fdb74bf9ab8b921d7ce | [
"MIT"
] | null | null | null | from .test_calendar import *
from .test_provider import *
| 19.333333 | 28 | 0.793103 | 8 | 58 | 5.5 | 0.625 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
831ee5e506e83ea2605bfeb36baf1759cbc7844d | 33 | py | Python | test.py | FilaGM/peml-language | 8696967d106303fb89a1b3b0a83a3999c277c934 | [
"MIT"
] | null | null | null | test.py | FilaGM/peml-language | 8696967d106303fb89a1b3b0a83a3999c277c934 | [
"MIT"
] | null | null | null | test.py | FilaGM/peml-language | 8696967d106303fb89a1b3b0a83a3999c277c934 | [
"MIT"
] | null | null | null | def void():
print("clicked")
| 11 | 20 | 0.575758 | 4 | 33 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 2 | 21 | 16.5 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
36077285142cc3071e77d320c7cc2c95bf17ec92 | 236 | py | Python | sc_python_harvester/test.py | spatialcurrent/sc-python-harvester | e90d0553d0827969960cbc776df4b9bdb7c0e143 | [
"MIT"
] | null | null | null | sc_python_harvester/test.py | spatialcurrent/sc-python-harvester | e90d0553d0827969960cbc776df4b9bdb7c0e143 | [
"MIT"
] | 1 | 2017-05-16T15:41:01.000Z | 2017-05-16T15:41:01.000Z | sc_python_harvester/test.py | spatialcurrent/sc-python-harvester | e90d0553d0827969960cbc776df4b9bdb7c0e143 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#########################################################################
#
# Copyright (C) 2017 Spatial Current, Inc.
#
#########################################################################
import unittest
| 26.222222 | 73 | 0.233051 | 11 | 236 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023041 | 0.080508 | 236 | 8 | 74 | 29.5 | 0.230415 | 0.262712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
365d41d82aeabe71099e116a22ce3598e5efd813 | 217 | py | Python | translated_fields/__init__.py | jghyllebert/django-translated-fields | 5a812331b11342faafc99a9e707c16d33edb3fa2 | [
"BSD-3-Clause"
] | null | null | null | translated_fields/__init__.py | jghyllebert/django-translated-fields | 5a812331b11342faafc99a9e707c16d33edb3fa2 | [
"BSD-3-Clause"
] | null | null | null | translated_fields/__init__.py | jghyllebert/django-translated-fields | 5a812331b11342faafc99a9e707c16d33edb3fa2 | [
"BSD-3-Clause"
] | null | null | null | VERSION = (0, 7, 2)
__version__ = ".".join(map(str, VERSION))
try:
from .admin import * # noqa
from .fields import * # noqa
from .utils import * # noqa
except ImportError: # pragma: no cover
pass
| 21.7 | 41 | 0.612903 | 28 | 217 | 4.607143 | 0.714286 | 0.232558 | 0.217054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018634 | 0.258065 | 217 | 9 | 42 | 24.111111 | 0.782609 | 0.142857 | 0 | 0 | 0 | 0 | 0.005525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
366d488743904f2eeef7a2b66618582fd3d8054a | 93 | py | Python | aartisteel/config/aartisteel.py | venku31/aartisteel | 0a6d5a6e459248fb66f765754c3ecf777f9b9944 | [
"MIT"
] | null | null | null | aartisteel/config/aartisteel.py | venku31/aartisteel | 0a6d5a6e459248fb66f765754c3ecf777f9b9944 | [
"MIT"
] | null | null | null | aartisteel/config/aartisteel.py | venku31/aartisteel | 0a6d5a6e459248fb66f765754c3ecf777f9b9944 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from frappe import _
def get_data():
return [
] | 15.5 | 39 | 0.752688 | 12 | 93 | 5.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 93 | 6 | 40 | 15.5 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
36b4003ccedbfcfb23982b3a95bd3089adbc1c8d | 64 | py | Python | lib/metric/__init__.py | ishine/TextNormSeq2Seq | 585b6a7f17910876c76240ff82ee811c66e23104 | [
"MIT"
] | 36 | 2019-04-20T15:06:45.000Z | 2022-03-03T22:42:57.000Z | lib/metric/__init__.py | ishine/TextNormSeq2Seq | 585b6a7f17910876c76240ff82ee811c66e23104 | [
"MIT"
] | 5 | 2019-06-06T14:48:54.000Z | 2021-06-05T15:40:09.000Z | lib/metric/__init__.py | ishine/TextNormSeq2Seq | 585b6a7f17910876c76240ff82ee811c66e23104 | [
"MIT"
] | 13 | 2019-05-11T02:59:54.000Z | 2022-03-23T18:24:10.000Z | from .metrics import *
from .utils import *
from .loss import *
| 16 | 22 | 0.71875 | 9 | 64 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 23 | 21.333333 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7fd26ad9c7008bd8a0a9dc30a2e9d92b293f3418 | 142 | py | Python | tests/integration/__init__.py | andrew-chang-dewitt/hoops-api | 3530c5127c35742aad84df8d6a5286b9f5ad3608 | [
"MIT"
] | null | null | null | tests/integration/__init__.py | andrew-chang-dewitt/hoops-api | 3530c5127c35742aad84df8d6a5286b9f5ad3608 | [
"MIT"
] | 10 | 2021-11-02T23:31:56.000Z | 2021-12-07T03:41:12.000Z | tests/integration/__init__.py | andrew-chang-dewitt/hoops | 3530c5127c35742aad84df8d6a5286b9f5ad3608 | [
"MIT"
] | null | null | null | """Integration tests."""
from . import test_account
from . import test_error_handling
from . import test_transaction
from . import test_user
| 20.285714 | 33 | 0.788732 | 19 | 142 | 5.631579 | 0.526316 | 0.373832 | 0.523364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133803 | 142 | 6 | 34 | 23.666667 | 0.869919 | 0.126761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3d117af7ed29b994c992340764c02d0bcd5fe2aa | 42 | py | Python | zoho_oauth2/__init__.py | sauravkoli31/zoho_oauth2 | a854d9597e48fd46ee59e6f27fe201c16fa2df1c | [
"MIT"
] | null | null | null | zoho_oauth2/__init__.py | sauravkoli31/zoho_oauth2 | a854d9597e48fd46ee59e6f27fe201c16fa2df1c | [
"MIT"
] | null | null | null | zoho_oauth2/__init__.py | sauravkoli31/zoho_oauth2 | a854d9597e48fd46ee59e6f27fe201c16fa2df1c | [
"MIT"
] | null | null | null | from zoho_oauth2.main import ZohoAPITokens | 42 | 42 | 0.904762 | 6 | 42 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.071429 | 42 | 1 | 42 | 42 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d26cceb885c64b9699245a4058423bae56c40c0 | 1,413 | py | Python | experiment/test_naive_lia2bv.py | ERATOMMSD/mind_the_gap | 33ca14e3321a4846aa728a00ab32408576ef0433 | [
"BSD-3-Clause"
] | null | null | null | experiment/test_naive_lia2bv.py | ERATOMMSD/mind_the_gap | 33ca14e3321a4846aa728a00ab32408576ef0433 | [
"BSD-3-Clause"
] | null | null | null | experiment/test_naive_lia2bv.py | ERATOMMSD/mind_the_gap | 33ca14e3321a4846aa728a00ab32408576ef0433 | [
"BSD-3-Clause"
] | null | null | null | from unittest import TestCase
import naive_lia2bv
import util
import smtutil
import treeutil
class TestNaive_lia2bv_normalized_ineq(TestCase):
def test_naive_lia2bv_normalized_ineq(self):
x_c = {"var_0_x": 1, "var_0_y": 2}
b = 5
m = 8
orig = ["<=", ["+", ["*", "var_0_x", "1"], ["*"... | 39.25 | 80 | 0.581033 | 201 | 1,413 | 3.766169 | 0.223881 | 0.021136 | 0.10568 | 0.031704 | 0.826948 | 0.752972 | 0.73712 | 0.73712 | 0.715984 | 0.715984 | 0 | 0.030499 | 0.234253 | 1,413 | 35 | 81 | 40.371429 | 0.669131 | 0 | 0 | 0.625 | 0 | 0 | 0.070064 | 0 | 0.0625 | 0 | 0 | 0 | 0.0625 | 1 | 0.0625 | false | 0 | 0.15625 | 0 | 0.25 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d5b03084b46562c2d0b47440d7633e698342804 | 1,174 | py | Python | permissions_auditor/defaults.py | jeffgabhart/django-permissions-auditor | bac834da01345bc179a95344729cf680587c3419 | [
"MIT"
] | 11 | 2019-02-25T05:11:53.000Z | 2021-10-05T14:57:48.000Z | permissions_auditor/defaults.py | jeffgabhart/django-permissions-auditor | bac834da01345bc179a95344729cf680587c3419 | [
"MIT"
] | 11 | 2019-10-10T19:18:42.000Z | 2022-01-13T15:50:57.000Z | permissions_auditor/defaults.py | jeffgabhart/django-permissions-auditor | bac834da01345bc179a95344729cf680587c3419 | [
"MIT"
] | 2 | 2020-01-09T16:19:28.000Z | 2021-02-15T08:27:11.000Z | from django.conf import settings
PERMISSIONS_AUDITOR_PROCESSORS = [
'permissions_auditor.processors.auth_mixins.PermissionRequiredMixinProcessor',
'permissions_auditor.processors.auth_mixins.LoginRequiredMixinProcessor',
'permissions_auditor.processors.auth_mixins.UserPassesTestMixinProcessor',
'permis... | 40.482759 | 91 | 0.82368 | 98 | 1,174 | 9.469388 | 0.387755 | 0.310345 | 0.271552 | 0.275862 | 0.349138 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002836 | 0.098808 | 1,174 | 28 | 92 | 41.928571 | 0.874291 | 0 | 0 | 0.08 | 0 | 0 | 0.610733 | 0.583475 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.08 | 0.04 | 0 | 0.04 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e9ee9e3c91ae784448408d2b026489380a740316 | 285 | py | Python | CAT/strategy/__init__.py | nnnyt/CAT | 471f573dd51b9cc09339ea73241ad9ac9e5d0d8f | [
"MIT"
] | 6 | 2021-02-15T13:10:45.000Z | 2022-03-08T12:58:49.000Z | CAT/strategy/__init__.py | nnnyt/CAT | 471f573dd51b9cc09339ea73241ad9ac9e5d0d8f | [
"MIT"
] | null | null | null | CAT/strategy/__init__.py | nnnyt/CAT | 471f573dd51b9cc09339ea73241ad9ac9e5d0d8f | [
"MIT"
] | 4 | 2021-01-11T15:19:41.000Z | 2022-03-21T06:02:55.000Z | from .abstract_strategy import AbstractStrategy
from .random_strategy import RandomStrategy
from .MFI_strategy import MFIStrategy
from .MFI_strategy import DoptStrategy
from .KLI_strategy import KLIStrategy
from .KLI_strategy import MKLIStrategy
from .MAAT_strategy import MAATStrategy | 40.714286 | 47 | 0.880702 | 35 | 285 | 6.971429 | 0.428571 | 0.401639 | 0.122951 | 0.172131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 285 | 7 | 48 | 40.714286 | 0.945736 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e9fabd71ff8e824a1a99b29be808e0a04892f176 | 209 | py | Python | easy_comment/admin.py | hsyao/django_blog | 3fe8215e627960e933abe9548eda123987e94f13 | [
"MIT"
] | 137 | 2017-05-05T11:57:11.000Z | 2021-01-06T18:56:56.000Z | easy_comment/admin.py | hsyao/django_blog | 3fe8215e627960e933abe9548eda123987e94f13 | [
"MIT"
] | 10 | 2018-05-20T06:36:10.000Z | 2022-03-11T23:19:21.000Z | easy_comment/admin.py | wangchaocc21/django_blog | 3fe8215e627960e933abe9548eda123987e94f13 | [
"MIT"
] | 24 | 2017-06-19T18:08:59.000Z | 2019-02-02T04:15:13.000Z | from django.contrib import admin
from mptt.admin import MPTTModelAdmin
from .models import Comment, Favour
# Register your models here.
admin.site.register(Comment, MPTTModelAdmin)
admin.site.register(Favour) | 29.857143 | 44 | 0.827751 | 28 | 209 | 6.178571 | 0.5 | 0.104046 | 0.196532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100478 | 209 | 7 | 45 | 29.857143 | 0.920213 | 0.124402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e9ff5105ab67f6c5ecb1763c5c48b0eb6dc16e51 | 120,130 | py | Python | FEV_KEGG/Evolution/Clade.py | ryhaberecht/FEV-KEGG | f55f294aae07b76954ed823f0c2e6d189fb2b1bb | [
"MIT"
] | null | null | null | FEV_KEGG/Evolution/Clade.py | ryhaberecht/FEV-KEGG | f55f294aae07b76954ed823f0c2e6d189fb2b1bb | [
"MIT"
] | 2 | 2019-05-30T06:42:08.000Z | 2021-05-06T10:37:40.000Z | FEV_KEGG/Evolution/Clade.py | ryhaberecht/FEV-KEGG | f55f294aae07b76954ed823f0c2e6d189fb2b1bb | [
"MIT"
] | null | null | null | from FEV_KEGG.Graph.SubstanceGraphs import SubstanceEcGraph, SubstanceEnzymeGraph
from FEV_KEGG.Evolution.Taxonomy import NCBI, Taxonomy
from FEV_KEGG.KEGG.Organism import Group
from FEV_KEGG.Evolution.Events import GeneFunctionAddition, GeneFunctionLoss, GeneFunctionDivergence, GeneFunctionConservation, SimpleGeneDup... | 55.25759 | 316 | 0.681262 | 11,178 | 120,130 | 7.302827 | 0.056003 | 0.011834 | 0.011319 | 0.010474 | 0.815818 | 0.795629 | 0.775624 | 0.747878 | 0.735211 | 0.711041 | 0 | 0.001023 | 0.251311 | 120,130 | 2,173 | 317 | 55.283019 | 0.906593 | 0.48152 | 0 | 0.481752 | 0 | 0.001825 | 0.044581 | 0.001789 | 0.085766 | 0 | 0 | 0 | 0 | 1 | 0.089416 | false | 0 | 0.020073 | 0 | 0.215328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
183d37b9eace3b9230286a82c171e2f3f47b5e35 | 162 | py | Python | python/axi_soc_ultra_plus_core/__init__.py | slaclab/axi-soc-ultra-plus-core | e2b207bf88505724ad088c99756907beaab7db98 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-09-07T03:12:22.000Z | 2021-09-07T03:12:22.000Z | python/axi_soc_ultra_plus_core/__init__.py | slaclab/axi-soc-ultra-plus-core | e2b207bf88505724ad088c99756907beaab7db98 | [
"BSD-3-Clause-LBNL"
] | null | null | null | python/axi_soc_ultra_plus_core/__init__.py | slaclab/axi-soc-ultra-plus-core | e2b207bf88505724ad088c99756907beaab7db98 | [
"BSD-3-Clause-LBNL"
] | null | null | null | from axi_soc_ultra_plus_core._AxiVersion import *
from axi_soc_ultra_plus_core._SysMonLvAuxDet import *
from axi_soc_ultra_plus_core._AxiSocCore import *
| 40.5 | 53 | 0.839506 | 24 | 162 | 5.041667 | 0.416667 | 0.173554 | 0.247934 | 0.371901 | 0.669421 | 0.669421 | 0.479339 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 162 | 3 | 54 | 54 | 0.852113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a17508823f0afee3f4c52b8c7caabe5fcddc530c | 170 | py | Python | tools/test_freezing_lib/__main__.py | reffs123/PyQtDarkTheme | f12ba581648f5d374b9467d3fea0de59ddd3371c | [
"MIT"
] | 48 | 2021-08-18T07:37:29.000Z | 2022-03-30T11:39:21.000Z | tools/test_freezing_lib/__main__.py | reffs123/PyQtDarkTheme | f12ba581648f5d374b9467d3fea0de59ddd3371c | [
"MIT"
] | 89 | 2021-10-31T19:13:18.000Z | 2022-03-28T18:35:18.000Z | tools/test_freezing_lib/__main__.py | reffs123/PyQtDarkTheme | f12ba581648f5d374b9467d3fea0de59ddd3371c | [
"MIT"
] | 5 | 2021-08-18T07:37:30.000Z | 2022-03-29T08:06:03.000Z | """Module allowing for `python -m tools.test_freezing_lib`."""
import sys
from tools.test_freezing_lib.main import main
if __name__ == "__main__":
sys.exit(main())
| 21.25 | 62 | 0.729412 | 25 | 170 | 4.48 | 0.64 | 0.160714 | 0.303571 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135294 | 170 | 7 | 63 | 24.285714 | 0.761905 | 0.329412 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a19dfe63c41b773002e97c5bdd6faeee51c736fe | 11,720 | py | Python | tests/packagedcode/test_plugin.py | jimjag/scancode-toolk | c100d815ca2f49d165c322762549612df601bea7 | [
"Apache-2.0",
"CC-BY-4.0"
] | 1,511 | 2015-07-01T15:29:03.000Z | 2022-03-30T13:40:05.000Z | tests/packagedcode/test_plugin.py | sthagen/scancode-toolkit | dcf593e524773afcc9f5c19429403775a6c49d2e | [
"Apache-2.0",
"CC-BY-4.0"
] | 2,695 | 2015-07-01T16:01:35.000Z | 2022-03-31T19:17:44.000Z | tests/packagedcode/test_plugin.py | sthagen/scancode-toolkit | dcf593e524773afcc9f5c19429403775a6c49d2e | [
"Apache-2.0",
"CC-BY-4.0"
] | 540 | 2015-07-01T15:08:19.000Z | 2022-03-31T12:13:11.000Z | #
# Copyright (c) nexB Inc. and others. All rights reserved.
# ScanCode is a trademark of nexB Inc.
# SPDX-License-Identifier: Apache-2.0
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
# See https://github.com/nexB/scancode-toolkit for support or download.
# See https://aboutcode.org for more in... | 55.283019 | 107 | 0.691724 | 1,625 | 11,720 | 4.625846 | 0.089846 | 0.073567 | 0.077558 | 0.09871 | 0.84861 | 0.845284 | 0.837302 | 0.779832 | 0.775575 | 0.737262 | 0 | 0.003461 | 0.16186 | 11,720 | 211 | 108 | 55.545024 | 0.761784 | 0.02901 | 0 | 0.453488 | 0 | 0 | 0.21933 | 0.086184 | 0 | 0 | 0 | 0 | 0.005814 | 1 | 0.156977 | false | 0 | 0.034884 | 0 | 0.203488 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b808bc87a68996d999e8dfc31009c26b6d155ca6 | 10,146 | py | Python | podcast-backend/tests/test_recommendations.py | cuappdev/archives | 061d0f9cccf278363ffaeb27fc655743b1052ae5 | [
"MIT"
] | null | null | null | podcast-backend/tests/test_recommendations.py | cuappdev/archives | 061d0f9cccf278363ffaeb27fc655743b1052ae5 | [
"MIT"
] | null | null | null | podcast-backend/tests/test_recommendations.py | cuappdev/archives | 061d0f9cccf278363ffaeb27fc655743b1052ae5 | [
"MIT"
] | null | null | null | import sys
from flask import json
from tests.test_case import *
from app.pcasts.dao import episodes_dao, users_dao, recommendations_dao
from app import constants
class RecommendationsTestCase(TestCase):
def setUp(self):
super(RecommendationsTestCase, self).setUp()
Recommendation.query.delete()
episodes_... | 41.753086 | 80 | 0.678198 | 1,179 | 10,146 | 5.635284 | 0.080577 | 0.054184 | 0.075256 | 0.066526 | 0.879741 | 0.869958 | 0.868453 | 0.8236 | 0.804485 | 0.728627 | 0 | 0.020369 | 0.182239 | 10,146 | 242 | 81 | 41.92562 | 0.780403 | 0 | 0 | 0.645 | 0 | 0 | 0.194461 | 0.075596 | 0 | 0 | 0 | 0 | 0.195 | 1 | 0.04 | false | 0 | 0.025 | 0 | 0.07 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
62a1fdeff077d46be9668a148572b857ce26c42f | 96 | py | Python | flask_reqval/__init__.py | ttt-fifo/flask-reqval | eebf5be9a98f26c294036e3f6e434aed97c02e88 | [
"BSD-2-Clause"
] | null | null | null | flask_reqval/__init__.py | ttt-fifo/flask-reqval | eebf5be9a98f26c294036e3f6e434aed97c02e88 | [
"BSD-2-Clause"
] | null | null | null | flask_reqval/__init__.py | ttt-fifo/flask-reqval | eebf5be9a98f26c294036e3f6e434aed97c02e88 | [
"BSD-2-Clause"
] | null | null | null | from .validate_request_decorator import validate_request
from .exceptions import InvalidRequest
| 32 | 56 | 0.895833 | 11 | 96 | 7.545455 | 0.636364 | 0.361446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 2 | 57 | 48 | 0.943182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62abedc2dc82e36f54b4f63dadd145b2b3e728cd | 80 | py | Python | src/semantics/__init__.py | CoolCows/cool-compiler-2021 | 1411566675707d33afdfddfc6b9d6d8a5a4c32bf | [
"MIT"
] | null | null | null | src/semantics/__init__.py | CoolCows/cool-compiler-2021 | 1411566675707d33afdfddfc6b9d6d8a5a4c32bf | [
"MIT"
] | 1 | 2021-02-27T00:15:05.000Z | 2021-02-27T00:15:05.000Z | src/semantics/__init__.py | CoolCows/cool-compiler-2021 | 1411566675707d33afdfddfc6b9d6d8a5a4c32bf | [
"MIT"
] | 1 | 2021-02-24T14:39:38.000Z | 2021-02-24T14:39:38.000Z | from .type_builder import TypeBuilder
from .type_collector import TypeCollector
| 26.666667 | 41 | 0.875 | 10 | 80 | 6.8 | 0.7 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 42 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62d89a20994a79bd99bf629d5e44453e9490826c | 154 | py | Python | py_tdlib/constructors/chat_event_description_changed.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/chat_event_description_changed.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/chat_event_description_changed.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class chatEventDescriptionChanged(Type):
old_description = None # type: "string"
new_description = None # type: "string"
| 22 | 41 | 0.746753 | 17 | 154 | 6.647059 | 0.647059 | 0.265487 | 0.336283 | 0.442478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 154 | 6 | 42 | 25.666667 | 0.869231 | 0.188312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
1a0438d4404d6cb0d50e343b38a2ede908bb4f33 | 3,861 | py | Python | test_project/unit/supporting/test_prefix.py | TimNapierVST/dbtvault-dev | 479645b229cbc28d5244164efb92e4b503395243 | [
"Apache-2.0"
] | null | null | null | test_project/unit/supporting/test_prefix.py | TimNapierVST/dbtvault-dev | 479645b229cbc28d5244164efb92e4b503395243 | [
"Apache-2.0"
] | null | null | null | test_project/unit/supporting/test_prefix.py | TimNapierVST/dbtvault-dev | 479645b229cbc28d5244164efb92e4b503395243 | [
"Apache-2.0"
] | null | null | null | import pytest
from unittest import TestCase
@pytest.mark.usefixtures('dbt_test_utils', 'clean_database')
class TestPrefixMacro(TestCase):
maxDiff = None
def test_prefix_column_in_single_item_list_is_successful(self):
var_dict = {'columns': ["CUSTOMER_HASHDIFF"], 'prefix': 'c'}
process_logs = ... | 52.890411 | 106 | 0.735302 | 522 | 3,861 | 5.003831 | 0.130268 | 0.048239 | 0.082695 | 0.104135 | 0.885911 | 0.869066 | 0.869066 | 0.869066 | 0.833844 | 0.833844 | 0 | 0 | 0.159803 | 3,861 | 72 | 107 | 53.625 | 0.805179 | 0 | 0 | 0.603774 | 0 | 0 | 0.167314 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 1 | 0.132075 | false | 0 | 0.037736 | 0 | 0.207547 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c569a979dfb0e1aca3810aec521568ea29084df3 | 86 | py | Python | cyk/cyk/__init__.py | azoimide/cyk | 0dd06fc70136246ae59b783c566889802e50b06c | [
"MIT"
] | null | null | null | cyk/cyk/__init__.py | azoimide/cyk | 0dd06fc70136246ae59b783c566889802e50b06c | [
"MIT"
] | null | null | null | cyk/cyk/__init__.py | azoimide/cyk | 0dd06fc70136246ae59b783c566889802e50b06c | [
"MIT"
] | null | null | null | from linear_cyk import linear_cyk
from cyk_td import cyk_td
from cyk_bu import cyk_bu
| 21.5 | 33 | 0.860465 | 18 | 86 | 3.777778 | 0.333333 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 3 | 34 | 28.666667 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d72855346f921aae44a13c8db6d6c7f58d91041 | 42 | py | Python | cloudbutton_geospatial/geoprocesses/__init__.py | berkevaroll/geospatial-usecase | d3db18607be0976badde073b3ee7c8b9613372e1 | [
"Apache-2.0"
] | null | null | null | cloudbutton_geospatial/geoprocesses/__init__.py | berkevaroll/geospatial-usecase | d3db18607be0976badde073b3ee7c8b9613372e1 | [
"Apache-2.0"
] | null | null | null | cloudbutton_geospatial/geoprocesses/__init__.py | berkevaroll/geospatial-usecase | d3db18607be0976badde073b3ee7c8b9613372e1 | [
"Apache-2.0"
] | 4 | 2021-03-29T09:03:52.000Z | 2021-09-21T18:27:01.000Z | """
AUTHOR: Juanjo
DATE: 25/02/2019
""" | 6 | 16 | 0.571429 | 6 | 42 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.190476 | 42 | 7 | 17 | 6 | 0.470588 | 0.761905 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d82cd63e244cca1db62f0b8fa9c04dab41bcb1f | 107 | py | Python | api_crawler/endpoint/__init__.py | pawnhearts/aio_api_crawler | 543c4edb8be77bbe9e2ac017fca9a9d6020b51b8 | [
"BSD-3-Clause"
] | 2 | 2020-10-31T07:53:20.000Z | 2020-11-11T22:32:44.000Z | api_crawler/endpoint/__init__.py | pawnhearts/aio_api_crawler | 543c4edb8be77bbe9e2ac017fca9a9d6020b51b8 | [
"BSD-3-Clause"
] | null | null | null | api_crawler/endpoint/__init__.py | pawnhearts/aio_api_crawler | 543c4edb8be77bbe9e2ac017fca9a9d6020b51b8 | [
"BSD-3-Clause"
] | null | null | null | from .base import Endpoint
from .json_endpoint import JsonEndpoint
from .html_endpoint import HtmlEndpoint
| 26.75 | 39 | 0.859813 | 14 | 107 | 6.428571 | 0.571429 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 3 | 40 | 35.666667 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3df43c3a94928e25c306647709a40992f97d6787 | 25,733 | py | Python | gui/spinner.py | Mendes11/lotery_helper | bb9bbe4ea0df918a489eff0886a6b081f4b31d03 | [
"MIT"
] | null | null | null | gui/spinner.py | Mendes11/lotery_helper | bb9bbe4ea0df918a489eff0886a6b081f4b31d03 | [
"MIT"
] | null | null | null | gui/spinner.py | Mendes11/lotery_helper | bb9bbe4ea0df918a489eff0886a6b081f4b31d03 | [
"MIT"
] | null | null | null | try:
from Tkinter import Canvas
from Tkconstants import NW
except ImportError:
from tkinter import Canvas
from tkinter.constants import NW
import base64
from PIL import ImageTk, Image
from io import BytesIO
class RotatingIcon(Canvas):
_bind_tag_ID = 0
def __init__(self, master, filename=Non... | 204.230159 | 13,959 | 0.941709 | 438 | 25,733 | 55.013699 | 0.267123 | 0.002034 | 0.002324 | 0.004358 | 0.02407 | 0.018509 | 0.013861 | 0.006391 | 0.006391 | 0.006391 | 0 | 0.052037 | 0.044107 | 25,733 | 126 | 13,960 | 204.230159 | 0.927555 | 0.000583 | 0 | 0.138298 | 0 | 0 | 0.859543 | 0.855187 | 0 | 1 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.085106 | 0 | 0.223404 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9a838385f3e614bedb5fbc70e007582df93c3898 | 74 | py | Python | covid19_id/data/sembuh/jenis_kelamin.py | hexatester/covid19-id | 8d8aa3f9092a40461a308f4db054ab4f95374849 | [
"MIT"
] | null | null | null | covid19_id/data/sembuh/jenis_kelamin.py | hexatester/covid19-id | 8d8aa3f9092a40461a308f4db054ab4f95374849 | [
"MIT"
] | null | null | null | covid19_id/data/sembuh/jenis_kelamin.py | hexatester/covid19-id | 8d8aa3f9092a40461a308f4db054ab4f95374849 | [
"MIT"
] | null | null | null | from . import BaseSembuh
class SembuhJenisKelamin(BaseSembuh):
pass
| 12.333333 | 37 | 0.77027 | 7 | 74 | 8.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 5 | 38 | 14.8 | 0.934426 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9af1359ee361d603a4a180819c795f041a52b737 | 28 | py | Python | step_2.py | NaiveSunset/201128 | 9874a9b260336e2e1eb5295ac3aca1e9d655c8d9 | [
"Apache-2.0"
] | null | null | null | step_2.py | NaiveSunset/201128 | 9874a9b260336e2e1eb5295ac3aca1e9d655c8d9 | [
"Apache-2.0"
] | null | null | null | step_2.py | NaiveSunset/201128 | 9874a9b260336e2e1eb5295ac3aca1e9d655c8d9 | [
"Apache-2.0"
] | null | null | null | print('What is your name?')
| 14 | 27 | 0.678571 | 5 | 28 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9affb979d25f27dc0a60002f5b41ee2f4a066a2c | 15,219 | py | Python | tests/models/fulltext/extract_test.py | elifesciences/sciencebeam-parser | 66964f283612b8d6fa8a23ad8790292c1ec07651 | [
"MIT"
] | 13 | 2021-08-04T12:11:17.000Z | 2022-03-28T20:41:20.000Z | tests/models/fulltext/extract_test.py | elifesciences/sciencebeam-parser | 66964f283612b8d6fa8a23ad8790292c1ec07651 | [
"MIT"
] | 33 | 2021-08-05T08:37:59.000Z | 2022-03-29T18:42:09.000Z | tests/models/fulltext/extract_test.py | elifesciences/sciencebeam-parser | 66964f283612b8d6fa8a23ad8790292c1ec07651 | [
"MIT"
] | 1 | 2022-01-05T14:53:06.000Z | 2022-01-05T14:53:06.000Z | import logging
from typing import Optional, Tuple
from sciencebeam_parser.document.layout_document import LayoutBlock
from sciencebeam_parser.document.semantic_document import (
SemanticFigureCitation,
SemanticHeading,
SemanticLabel,
SemanticRawEquation,
SemanticRawEquationContent,
SemanticRawF... | 48.009464 | 95 | 0.701426 | 1,685 | 15,219 | 5.846884 | 0.065875 | 0.105055 | 0.10607 | 0.073589 | 0.843991 | 0.825721 | 0.80065 | 0.768372 | 0.74462 | 0.719448 | 0 | 0.012583 | 0.211512 | 15,219 | 316 | 96 | 48.161392 | 0.808417 | 0 | 0 | 0.549296 | 0 | 0 | 0.056837 | 0.010119 | 0 | 0 | 0 | 0 | 0.257042 | 1 | 0.077465 | false | 0 | 0.017606 | 0 | 0.112676 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1476d1576c39918990e0a2e2b35e28f163bad33 | 928 | py | Python | sdk/python/pulumi_azure_nextgen/labservices/v20181015/__init__.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_nextgen/labservices/v20181015/__init__.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_nextgen/labservices/v20181015/__init__.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
# Export this package's modules as members:
from .environment import *
from .environment_setting import *
from .gallery_image import *
from .get_enviro... | 34.37037 | 80 | 0.796336 | 136 | 928 | 5.147059 | 0.397059 | 0.285714 | 0.204286 | 0.108571 | 0.361429 | 0.141429 | 0 | 0 | 0 | 0 | 0 | 0.001244 | 0.133621 | 928 | 26 | 81 | 35.692308 | 0.869403 | 0.21875 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b17cf5a8c1f24bb7c29c320c892ce42403852220 | 96 | py | Python | salt-get-api/src/resources/__init__.py | mdm373/salt-get | 72fd08f1c26e8812f2b3838085b6a7b935c4cc0d | [
"MIT"
] | null | null | null | salt-get-api/src/resources/__init__.py | mdm373/salt-get | 72fd08f1c26e8812f2b3838085b6a7b935c4cc0d | [
"MIT"
] | 4 | 2022-01-03T22:16:13.000Z | 2022-02-15T10:17:30.000Z | salt-get-api/src/resources/__init__.py | mdm373/salt-get | 72fd08f1c26e8812f2b3838085b6a7b935c4cc0d | [
"MIT"
] | null | null | null | from .distance_resource import DistanceResource
from .settings_resource import SettingsResource
| 32 | 47 | 0.895833 | 10 | 96 | 8.4 | 0.7 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 2 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b18733d35055bb1ac851623651add54db931c655 | 980 | py | Python | gaqqie_door/rest/__init__.py | gaqqie/gaqqie-door | eae3c2a3ccf901f9853ea0ab2ddea9a1b851e52d | [
"Apache-2.0"
] | 1 | 2021-08-31T05:17:39.000Z | 2021-08-31T05:17:39.000Z | gaqqie_door/rest/__init__.py | gaqqie/gaqqie-door | eae3c2a3ccf901f9853ea0ab2ddea9a1b851e52d | [
"Apache-2.0"
] | null | null | null | gaqqie_door/rest/__init__.py | gaqqie/gaqqie-door | eae3c2a3ccf901f9853ea0ab2ddea9a1b851e52d | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
gaqqie user API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 0.2.0
Contact: tknstyk@gmail.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from... | 32.666667 | 119 | 0.809184 | 143 | 980 | 5.412587 | 0.34965 | 0.129199 | 0.180879 | 0.232558 | 0.459948 | 0.26615 | 0.180879 | 0 | 0 | 0 | 0 | 0.00927 | 0.119388 | 980 | 29 | 120 | 33.793103 | 0.887601 | 0.365306 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49139fdb177dfccec1bb3145c3316d8485d3a40b | 17,245 | py | Python | humann2/tests/functional_tests_tools.py | bmpbos/humann | 4a8fee5596d89d805af6568d3260844f80c8f9a2 | [
"MIT"
] | null | null | null | humann2/tests/functional_tests_tools.py | bmpbos/humann | 4a8fee5596d89d805af6568d3260844f80c8f9a2 | [
"MIT"
] | null | null | null | humann2/tests/functional_tests_tools.py | bmpbos/humann | 4a8fee5596d89d805af6568d3260844f80c8f9a2 | [
"MIT"
] | null | null | null | import unittest
import tempfile
import os
import cfg
import utils
class TestFunctionalHumann2Tools(unittest.TestCase):
"""
Test humann2.tools
"""
def test_humann2_join_tables_tsv(self):
"""
Test joining tsv files with humann2_join_tables
"""
# create a temp fi... | 39.28246 | 128 | 0.634097 | 2,118 | 17,245 | 4.850803 | 0.076015 | 0.038155 | 0.03504 | 0.042827 | 0.81604 | 0.799007 | 0.780417 | 0.77701 | 0.758809 | 0.754429 | 0 | 0.009407 | 0.284952 | 17,245 | 438 | 129 | 39.372146 | 0.823777 | 0.247144 | 0 | 0.371069 | 0 | 0 | 0.126508 | 0.013857 | 0 | 0 | 0 | 0 | 0.125786 | 1 | 0.125786 | false | 0 | 0.031447 | 0 | 0.163522 | 0.006289 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4934edba26facfd9df06fb59c5a70d4b70d91cff | 22 | py | Python | gen/__init__.py | seen-idc/image-gen | 025257cde07579a634aaefca1e17482f3c02ad45 | [
"MIT"
] | null | null | null | gen/__init__.py | seen-idc/image-gen | 025257cde07579a634aaefca1e17482f3c02ad45 | [
"MIT"
] | null | null | null | gen/__init__.py | seen-idc/image-gen | 025257cde07579a634aaefca1e17482f3c02ad45 | [
"MIT"
] | null | null | null | from .welcome import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
499b8237a1f401e2cc0f87897b8e9e71d043e298 | 36 | py | Python | extraction/trainer/__init__.py | nutalk/Gabor-Filter | f1ffb6efbda66645e704160d49ea5b32afb5f70b | [
"Apache-2.0"
] | null | null | null | extraction/trainer/__init__.py | nutalk/Gabor-Filter | f1ffb6efbda66645e704160d49ea5b32afb5f70b | [
"Apache-2.0"
] | null | null | null | extraction/trainer/__init__.py | nutalk/Gabor-Filter | f1ffb6efbda66645e704160d49ea5b32afb5f70b | [
"Apache-2.0"
] | null | null | null | from .fcn_trainer import FCNTrainer
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7737fa6e8350089620df6859e9a742afea0d95c4 | 123 | py | Python | library/particle_set.py | Paul-St-Young/qmcpack_objects | 14d614978222165e3f08a5db8fca9cc6024d0e66 | [
"MIT"
] | null | null | null | library/particle_set.py | Paul-St-Young/qmcpack_objects | 14d614978222165e3f08a5db8fca9cc6024d0e66 | [
"MIT"
] | null | null | null | library/particle_set.py | Paul-St-Young/qmcpack_objects | 14d614978222165e3f08a5db8fca9cc6024d0e66 | [
"MIT"
] | null | null | null | class ParticleSet:
def __init__(self):
pass
# end def
def init_from_xml_node(self,node):
pass
| 15.375 | 38 | 0.601626 | 16 | 123 | 4.1875 | 0.625 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325203 | 123 | 7 | 39 | 17.571429 | 0.807229 | 0.056911 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
774ee3167bfb39a34800085361a19a92905df47b | 119,117 | py | Python | tests/scripts/thread-cert/test_lowpan.py | mostafanfs/openthread | 28c049f2ce0b664abf2f85562cfd9b79b4680389 | [
"BSD-3-Clause"
] | null | null | null | tests/scripts/thread-cert/test_lowpan.py | mostafanfs/openthread | 28c049f2ce0b664abf2f85562cfd9b79b4680389 | [
"BSD-3-Clause"
] | null | null | null | tests/scripts/thread-cert/test_lowpan.py | mostafanfs/openthread | 28c049f2ce0b664abf2f85562cfd9b79b4680389 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python
#
# Copyright (c) 2016, The OpenThread Authors.
# All rights reserved.
#
# 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
# not... | 44.898982 | 156 | 0.582461 | 13,771 | 119,117 | 4.770314 | 0.046838 | 0.042745 | 0.04585 | 0.04238 | 0.875419 | 0.852082 | 0.814407 | 0.797418 | 0.7695 | 0.738888 | 0 | 0.168842 | 0.321348 | 119,117 | 2,652 | 157 | 44.915913 | 0.643786 | 0.025152 | 0 | 0.677324 | 0 | 0 | 0.004403 | 0.00322 | 0 | 0 | 0.169835 | 0 | 0.132623 | 1 | 0.078153 | false | 0 | 0.004737 | 0.023091 | 0.117229 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
774f1fa9902b69985428eaa80b39fb8e77930858 | 4,072 | py | Python | train/hypotheses.py | smurve/DeepGomoku | ee679e7ec9caacc9c8f2b10c3a403d3f7d2625d8 | [
"Apache-2.0"
] | 1 | 2019-06-26T13:14:50.000Z | 2019-06-26T13:14:50.000Z | other_stuff/DeepGomoku/new/train/hypotheses.py | Project-Ellie/tutorials | 9090cc7669d3e59889b15139724e662ce11be1ee | [
"Apache-2.0"
] | 5 | 2020-01-28T22:33:04.000Z | 2021-11-10T19:45:24.000Z | other_stuff/DeepGomoku/new/train/hypotheses.py | Project-Ellie/tutorials | 9090cc7669d3e59889b15139724e662ce11be1ee | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
import numpy as np
from tensorflow.feature_column import numeric_column as num
def conv_gomoku(board_size, features, feature_columns, options):
N = board_size
layout = options['layout']
feature_columns = [num('state', shape=((N+2)*(N+2)*2))]
input_layer = tf.featur... | 34.803419 | 83 | 0.590373 | 536 | 4,072 | 4.352612 | 0.121269 | 0.096014 | 0.084012 | 0.120017 | 0.867981 | 0.852979 | 0.838405 | 0.806687 | 0.806687 | 0.750107 | 0 | 0.057057 | 0.263998 | 4,072 | 116 | 84 | 35.103448 | 0.721388 | 0 | 0 | 0.656716 | 0 | 0 | 0.032924 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059701 | false | 0 | 0.044776 | 0 | 0.164179 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91f8da9af2a892495824aafe1087a0b0232f483b | 112 | py | Python | preprocess/__init__.py | doojin88/embedding | dc780bbc0e45c6d156b8406bda716623567a79ce | [
"MIT"
] | 386 | 2019-06-13T02:28:04.000Z | 2022-03-28T05:34:32.000Z | preprocess/__init__.py | doojin88/embedding | dc780bbc0e45c6d156b8406bda716623567a79ce | [
"MIT"
] | 136 | 2019-05-12T05:04:41.000Z | 2022-03-01T09:20:51.000Z | preprocess/__init__.py | doojin88/embedding | dc780bbc0e45c6d156b8406bda716623567a79ce | [
"MIT"
] | 133 | 2019-06-13T04:19:35.000Z | 2022-03-17T01:36:42.000Z | from .supervised_nlputils import get_tokenizer, post_processing
from .unsupervised_nlputils import jamo_sentence | 56 | 63 | 0.901786 | 14 | 112 | 6.857143 | 0.785714 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 2 | 64 | 56 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6228c1300dcdc06e4b01f82ec25452c47f94f2e0 | 187 | py | Python | runemoji.py | sundayliu/flask-tutorial | 8621441b429020ea884b4bf090efa8dd15133af8 | [
"MIT"
] | null | null | null | runemoji.py | sundayliu/flask-tutorial | 8621441b429020ea884b4bf090efa8dd15133af8 | [
"MIT"
] | null | null | null | runemoji.py | sundayliu/flask-tutorial | 8621441b429020ea884b4bf090efa8dd15133af8 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
from emoji import app
from werkzeug.contrib.fixers import ProxyFix
app.wsgi_app = ProxyFix(app.wsgi_app)
if __name__ == '__main__':
app.run(debug=True) | 23.375 | 45 | 0.695187 | 27 | 187 | 4.444444 | 0.666667 | 0.183333 | 0.25 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.171123 | 187 | 8 | 46 | 23.375 | 0.767742 | 0.106952 | 0 | 0 | 0 | 0 | 0.050314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
62315182b1d874519e85958e9e15a9dee6c055c4 | 118 | py | Python | yo_fluq_ds/_fluq/pandas/__init__.py | okulovsky/yo_ds | 9e1fa2e7a1b9746c3982afc152c024169fec45ca | [
"MIT"
] | 16 | 2019-09-26T09:05:42.000Z | 2021-02-04T01:39:09.000Z | yo_fluq_ds/_fluq/pandas/__init__.py | okulovsky/yo_ds | 9e1fa2e7a1b9746c3982afc152c024169fec45ca | [
"MIT"
] | 2 | 2019-10-23T19:01:23.000Z | 2020-06-11T09:08:45.000Z | yo_fluq_ds/_fluq/pandas/__init__.py | okulovsky/yo_ds | 9e1fa2e7a1b9746c3982afc152c024169fec45ca | [
"MIT"
] | 2 | 2019-09-26T09:05:50.000Z | 2019-10-23T18:46:11.000Z | from ._fractions import *
from ._add_ordering_column import *
from ._stratify import *
from ._trimmer import trimmer
| 19.666667 | 35 | 0.79661 | 15 | 118 | 5.866667 | 0.533333 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144068 | 118 | 5 | 36 | 23.6 | 0.871287 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
623d669dd9a662028fa23c07bf722f0d472cba4f | 2,395 | py | Python | tests/test_cli.py | arunura/python_api | 2b17d105e9fe1d51365a7abc59a904c2f2702169 | [
"MIT"
] | null | null | null | tests/test_cli.py | arunura/python_api | 2b17d105e9fe1d51365a7abc59a904c2f2702169 | [
"MIT"
] | null | null | null | tests/test_cli.py | arunura/python_api | 2b17d105e9fe1d51365a7abc59a904c2f2702169 | [
"MIT"
] | null | null | null | """Tests the CLI interface for DomainTools' APIs"""
import pytest
from domaintools import __version__, cli
def test_domain_search():
(out_file, out_format, arguments) = cli.parse(['domain_search', 'google', '--anchor-right', 'true'])
assert out_format == 'json'
assert arguments['api_call'] == 'domain_sear... | 61.410256 | 584 | 0.784134 | 185 | 2,395 | 9.92973 | 0.340541 | 0.039194 | 0.021775 | 0.034839 | 0.777354 | 0.720196 | 0.720196 | 0.684268 | 0.661949 | 0.60969 | 0 | 0.072566 | 0.108142 | 2,395 | 38 | 585 | 63.026316 | 0.787453 | 0.018789 | 0 | 0.222222 | 0 | 0.074074 | 0.563993 | 0.419795 | 0 | 0 | 0 | 0 | 0.481481 | 1 | 0.185185 | true | 0 | 0.074074 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
627c60962408d790267b7a23f2cf83b6f4134010 | 495 | py | Python | third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/__init__.py | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/__init__.py | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/__init__.py | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z | # Required for Python to search this directory for module files
from webkitpy.tool.commands.commitannouncer import CommitAnnouncerCommand
from webkitpy.tool.commands.flakytests import FlakyTests
from webkitpy.tool.commands.prettydiff import PrettyDiff
from webkitpy.tool.commands.queries import *
from webkitpy.tool.com... | 49.5 | 73 | 0.872727 | 58 | 495 | 7.448276 | 0.37931 | 0.194444 | 0.259259 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 495 | 9 | 74 | 55 | 0.949451 | 0.123232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6568ad7868055414e5194a3a4bab360f669f2544 | 198 | py | Python | mmcls/models/carafe/__init__.py | zhaoyang97/mmclassification | 22362e4a351eea028a7fba081b274f435dbc872a | [
"Apache-2.0"
] | null | null | null | mmcls/models/carafe/__init__.py | zhaoyang97/mmclassification | 22362e4a351eea028a7fba081b274f435dbc872a | [
"Apache-2.0"
] | null | null | null | mmcls/models/carafe/__init__.py | zhaoyang97/mmclassification | 22362e4a351eea028a7fba081b274f435dbc872a | [
"Apache-2.0"
] | null | null | null | from .carafe_downsample_3_kernelexp import CARAFE_Downsample_3_kernelexp
from .carafe_downsample import CARAFE_Downsample
__all__ = [
'CARAFE_Downsample',
'CARAFE_Downsample_3_kernelexp',
] | 28.285714 | 72 | 0.833333 | 23 | 198 | 6.478261 | 0.304348 | 0.644295 | 0.342282 | 0.52349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017045 | 0.111111 | 198 | 7 | 73 | 28.285714 | 0.829545 | 0 | 0 | 0 | 0 | 0 | 0.231156 | 0.145729 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
657df53999f067ee2864e898c815d640a0f7e97d | 39 | py | Python | skclean/utils/__init__.py | Shihab-Shahriar/scikit-clean | 1f5d4266c91ca7074f1833de78526c39d97a5648 | [
"MIT"
] | 4 | 2020-11-02T14:01:50.000Z | 2021-12-06T09:18:33.000Z | skclean/utils/__init__.py | Shihab-Shahriar/scikit-clean | 1f5d4266c91ca7074f1833de78526c39d97a5648 | [
"MIT"
] | null | null | null | skclean/utils/__init__.py | Shihab-Shahriar/scikit-clean | 1f5d4266c91ca7074f1833de78526c39d97a5648 | [
"MIT"
] | null | null | null | from ._utils import load_data, compare
| 19.5 | 38 | 0.820513 | 6 | 39 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6597e9c496914377361af6a5dbe1bbd8d49b3a8f | 213 | py | Python | src/abaqus/StepMiscellaneous/RayleighDampingByFrequencyComponentArray.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/StepMiscellaneous/RayleighDampingByFrequencyComponentArray.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/StepMiscellaneous/RayleighDampingByFrequencyComponentArray.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from .RayleighDampingByFrequencyComponent import RayleighDampingByFrequencyComponent
class RayleighDampingByFrequencyComponentArray(list[RayleighDampingByFrequencyComponent]):
def findAt(self):
pass
| 30.428571 | 90 | 0.849765 | 12 | 213 | 15.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107981 | 213 | 6 | 91 | 35.5 | 0.952632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
65e24839e176cd1b6284b6a5a119c7378363ae24 | 205 | py | Python | terra/msg/oracle/__init__.py | jooddang/terra-py | c048ffd53dad13cdfb0c516ccef3d06b1b968cb2 | [
"MIT"
] | null | null | null | terra/msg/oracle/__init__.py | jooddang/terra-py | c048ffd53dad13cdfb0c516ccef3d06b1b968cb2 | [
"MIT"
] | null | null | null | terra/msg/oracle/__init__.py | jooddang/terra-py | c048ffd53dad13cdfb0c516ccef3d06b1b968cb2 | [
"MIT"
] | null | null | null | from terra.msg.oracle.msgexchangerateprevote import MsgExchangeRatePrevote
from terra.msg.oracle.msgexchangeratevote import MsgExchangeRateVote
__all__ = ["MsgExchangeRatePrevote", "MsgExchangeRateVote"]
| 41 | 74 | 0.868293 | 17 | 205 | 10.235294 | 0.470588 | 0.103448 | 0.137931 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063415 | 205 | 4 | 75 | 51.25 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.107317 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
02b8ba85dafa3c8a81def1ef56b9dca1b42a848f | 34 | py | Python | tests/test_command.py | cleverinsightai/cognito | 7d643387d59ee31bff96dd0ae3e611a8aef4d876 | [
"BSD-3-Clause"
] | null | null | null | tests/test_command.py | cleverinsightai/cognito | 7d643387d59ee31bff96dd0ae3e611a8aef4d876 | [
"BSD-3-Clause"
] | null | null | null | tests/test_command.py | cleverinsightai/cognito | 7d643387d59ee31bff96dd0ae3e611a8aef4d876 | [
"BSD-3-Clause"
] | null | null | null | from .cognito.modules import Check | 34 | 34 | 0.852941 | 5 | 34 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
02d28253f1151f480d95d78d55c4c2f0210eff1f | 2,334 | py | Python | tests/test_git.py | hbasria/setuptools-scm-semver | 706665a48a785827b3b25b451b937342812ad5ff | [
"MIT"
] | null | null | null | tests/test_git.py | hbasria/setuptools-scm-semver | 706665a48a785827b3b25b451b937342812ad5ff | [
"MIT"
] | null | null | null | tests/test_git.py | hbasria/setuptools-scm-semver | 706665a48a785827b3b25b451b937342812ad5ff | [
"MIT"
] | 1 | 2019-10-24T13:54:16.000Z | 2019-10-24T13:54:16.000Z | import os
import pytest
@pytest.fixture
def wd(wd):
wd("git init")
wd("git config user.email test@example.com")
wd('git config user.name "a test"')
wd.add_command = "git add ."
wd.commit_command = "git commit -m test-{reason}"
return wd
def test_git_develop_branch_increments_patch(wd):
... | 19.948718 | 55 | 0.632819 | 381 | 2,334 | 3.716535 | 0.120735 | 0.031073 | 0.180085 | 0.19209 | 0.841102 | 0.780367 | 0.753531 | 0.723164 | 0.698446 | 0.53178 | 0 | 0.053226 | 0.203085 | 2,334 | 116 | 56 | 20.12069 | 0.708065 | 0 | 0 | 0.485294 | 0 | 0 | 0.276778 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.102941 | false | 0 | 0.029412 | 0 | 0.147059 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02d97fc056221a05f46ca4eba3b947b9df72ec82 | 13,357 | py | Python | tests/test_outputs/test_setters.py | wbuchwalter/polyaxon | a01396ea86a74082c457bfbc2c91d283b6ff6fba | [
"MIT"
] | null | null | null | tests/test_outputs/test_setters.py | wbuchwalter/polyaxon | a01396ea86a74082c457bfbc2c91d283b6ff6fba | [
"MIT"
] | null | null | null | tests/test_outputs/test_setters.py | wbuchwalter/polyaxon | a01396ea86a74082c457bfbc2c91d283b6ff6fba | [
"MIT"
] | null | null | null | from collections import namedtuple
import pytest
from rest_framework.exceptions import ValidationError
from db.models.experiments import Experiment
from db.models.jobs import Job
from factories.factory_experiments import ExperimentFactory
from factories.factory_jobs import JobFactory
from factories.factory_projects ... | 42.135647 | 100 | 0.598637 | 1,453 | 13,357 | 5.313145 | 0.060564 | 0.159585 | 0.089378 | 0.10829 | 0.820078 | 0.79987 | 0.766192 | 0.741062 | 0.723834 | 0.702332 | 0 | 0.00397 | 0.283297 | 13,357 | 316 | 101 | 42.268987 | 0.802465 | 0.020588 | 0 | 0.638783 | 0 | 0 | 0.023567 | 0 | 0 | 0 | 0 | 0 | 0.186312 | 1 | 0.030418 | false | 0.003802 | 0.045627 | 0 | 0.087452 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02e5334b73da0c8133744b8bcf984ed805d0e830 | 57 | py | Python | tests/test_import.py | matthewfeickert/heputils | a810492b1bd8c67663810ba0e213dfc4e7c7d819 | [
"BSD-3-Clause"
] | 2 | 2020-11-12T13:07:16.000Z | 2020-12-01T16:53:12.000Z | tests/test_import.py | matthewfeickert/heputils | a810492b1bd8c67663810ba0e213dfc4e7c7d819 | [
"BSD-3-Clause"
] | 78 | 2020-08-27T08:15:55.000Z | 2022-03-07T19:49:58.000Z | tests/test_import.py | matthewfeickert/heputils | a810492b1bd8c67663810ba0e213dfc4e7c7d819 | [
"BSD-3-Clause"
] | null | null | null | import heputils
def test_import():
assert heputils
| 9.5 | 19 | 0.736842 | 7 | 57 | 5.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 57 | 5 | 20 | 11.4 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
02fdcf109e305ad4f96054352f0ef81873004f02 | 23 | py | Python | __init__.py | aFrankLion/abaverify | 2b49ef2ecb618094757032b778ee9d8832be5219 | [
"NASA-1.3"
] | 23 | 2016-10-18T12:44:28.000Z | 2022-01-31T16:03:13.000Z | __init__.py | nasa/Abaverify | 2b49ef2ecb618094757032b778ee9d8832be5219 | [
"NASA-1.3"
] | 3 | 2018-07-02T16:41:38.000Z | 2019-04-24T20:11:14.000Z | __init__.py | nasa/Abaverify | 2b49ef2ecb618094757032b778ee9d8832be5219 | [
"NASA-1.3"
] | 22 | 2017-01-19T19:35:16.000Z | 2022-01-10T10:58:11.000Z | from abaverify import * | 23 | 23 | 0.826087 | 3 | 23 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b88541b8570fc4f0d12dc08fd2bb3517aa0fcaca | 14,041 | py | Python | c_elegans_wiring/sub_modules/graph/graph_builder/class_graph_builder.py | adrameshiu/c-elegans-wiring | 5eff187bbec6991864f73f3f4652b98225eab8e8 | [
"MIT"
] | 1 | 2021-06-10T21:46:35.000Z | 2021-06-10T21:46:35.000Z | c_elegans_wiring/sub_modules/graph/graph_builder/class_graph_builder.py | adrameshiu/Celegans-search | 5eff187bbec6991864f73f3f4652b98225eab8e8 | [
"MIT"
] | null | null | null | c_elegans_wiring/sub_modules/graph/graph_builder/class_graph_builder.py | adrameshiu/Celegans-search | 5eff187bbec6991864f73f3f4652b98225eab8e8 | [
"MIT"
] | null | null | null | from c_elegans_wiring.sub_modules.api import graph_api
from c_elegans_wiring.sub_modules.graph import ConnectomeGraph
import c_elegans_wiring.sub_modules.c_elegans as c_elegans
def build_class_graph_from_cell_graph(cell_graph_obj, from_nodes_class, to_nodes_class,
max_cutoff, cla... | 70.205 | 135 | 0.560929 | 1,444 | 14,041 | 4.848338 | 0.055402 | 0.093701 | 0.125696 | 0.149264 | 0.946436 | 0.920868 | 0.902157 | 0.859877 | 0.851878 | 0.800314 | 0 | 0.001652 | 0.396411 | 14,041 | 199 | 136 | 70.557789 | 0.824425 | 0.232177 | 0 | 0.625 | 0 | 0 | 0.040208 | 0.030156 | 0 | 0 | 0 | 0.005025 | 0 | 1 | 0.036765 | false | 0 | 0.022059 | 0 | 0.095588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b242b516b513ba3b06720cbd4d54f15c69639eaa | 95 | py | Python | denoiseg/models/__init__.py | jianzhangcs/DenoiSeg | 5dacfcc885c1f34379a39bceb8ed25202ad6e01f | [
"BSD-3-Clause"
] | 45 | 2020-05-13T01:45:20.000Z | 2022-03-27T17:43:20.000Z | denoiseg/models/__init__.py | jianzhangcs/DenoiSeg | 5dacfcc885c1f34379a39bceb8ed25202ad6e01f | [
"BSD-3-Clause"
] | 8 | 2020-06-20T18:22:32.000Z | 2021-11-22T20:11:08.000Z | denoiseg/models/__init__.py | juglab/DenoiSeg | 9803cbcf31c0510d28a9ff43be92b29cd47120a0 | [
"BSD-3-Clause"
] | 11 | 2020-05-17T11:50:11.000Z | 2022-01-20T09:25:32.000Z | # imports
from .denoiseg_config import DenoiSegConfig
from .denoiseg_standard import DenoiSeg
| 19 | 43 | 0.852632 | 11 | 95 | 7.181818 | 0.636364 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 4 | 44 | 23.75 | 0.940476 | 0.073684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b28d861d9b3a2b3a279764afd0d18128540f0b29 | 261,006 | py | Python | instances/passenger_demand/pas-20210422-1717-int16e/66.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/66.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/66.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 30419
passenger_arriving = (
(6, 7, 7, 4, 3, 1, 4, 4, 2, 1, 0, 0, 0, 10, 9, 5, 4, 7, 2, 2, 2, 8, 3, 3, 0, 0), # 0
(7, 4, 9, 15, 9, 3, 3, 3, 3, 1, 1, 0, 0, 7, 8, 2, 4, 4, 3, 5, 2, 4, 0, 1, 0, 0), # 1
(11, 7, 8, 7, 2, 5, 7, 3, 5, 2, 0, 1, 0, 9, 12, 7, 8, 9, 5, 3, 2, 2, 1, 2, 0, ... | 279.150802 | 491 | 0.771944 | 32,987 | 261,006 | 6.107588 | 0.23103 | 0.353798 | 0.339503 | 0.643269 | 0.365283 | 0.359913 | 0.359387 | 0.359307 | 0.359228 | 0.359228 | 0 | 0.851527 | 0.094764 | 261,006 | 934 | 492 | 279.449679 | 0.001181 | 0.015367 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2420b8b636ce9b943a3feb0176ac8f77c7a31c1 | 92 | py | Python | test_tapas/params/tapa.py | tapas-scaffold-tool/tapas | 00109ec8aec2d590207a3e6ecca72061f2ad03f5 | [
"MIT"
] | 1 | 2020-10-29T17:24:15.000Z | 2020-10-29T17:24:15.000Z | test_tapas/params/tapa.py | tapas-scaffold-tool/tapas | 00109ec8aec2d590207a3e6ecca72061f2ad03f5 | [
"MIT"
] | 9 | 2019-09-16T11:32:35.000Z | 2020-11-05T20:59:57.000Z | test_tapas/params/tapa.py | tapas-scaffold-tool/tapas | 00109ec8aec2d590207a3e6ecca72061f2ad03f5 | [
"MIT"
] | null | null | null | from tapas.tools import prompt_str
def ask():
prompt_str("a.b")
prompt_str("a.c")
| 13.142857 | 34 | 0.652174 | 16 | 92 | 3.5625 | 0.6875 | 0.473684 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 92 | 6 | 35 | 15.333333 | 0.77027 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a25b992d077b44859b7a758b0de9ca0bab7e23c1 | 151 | py | Python | Scripts/my-ip-hostname.py | yogeshwaran01/Mini-Projects | c1a8790079d904405d49c71d6903ca4daaa77b38 | [
"MIT"
] | 4 | 2020-09-30T17:18:13.000Z | 2021-06-11T21:02:10.000Z | Scripts/my-ip-hostname.py | yogeshwaran01/Mini-Projects | c1a8790079d904405d49c71d6903ca4daaa77b38 | [
"MIT"
] | null | null | null | Scripts/my-ip-hostname.py | yogeshwaran01/Mini-Projects | c1a8790079d904405d49c71d6903ca4daaa77b38 | [
"MIT"
] | 1 | 2021-04-02T14:51:00.000Z | 2021-04-02T14:51:00.000Z | import socket
print("Computer Host Name is : ", socket.gethostname())
print("Computer IP Address is : ", socket.gethostbyname(socket.gethostname()))
| 25.166667 | 78 | 0.741722 | 18 | 151 | 6.222222 | 0.611111 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119205 | 151 | 5 | 79 | 30.2 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.324503 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
a26972b0f9f12bd38806c01a445d4d3d2bc367bc | 105 | py | Python | profile/views.py | melvinchia3636/notesdb | fb4ec1742713501be13cac0965242da1421228bd | [
"MIT"
] | null | null | null | profile/views.py | melvinchia3636/notesdb | fb4ec1742713501be13cac0965242da1421228bd | [
"MIT"
] | null | null | null | profile/views.py | melvinchia3636/notesdb | fb4ec1742713501be13cac0965242da1421228bd | [
"MIT"
] | null | null | null | from django.shortcuts import render
def HomeView(request):
return render(request, 'profile/index.html') | 26.25 | 45 | 0.8 | 14 | 105 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 105 | 4 | 45 | 26.25 | 0.884211 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a272cabc00a7f9a244b89a1d7bd1440fa99c0dc3 | 72 | py | Python | loss/__init__.py | marshuang80/StyleTransfer | 08dcdf447c6e6e6495847f295036f2ccfe682078 | [
"Apache-2.0"
] | 2 | 2019-06-07T23:37:09.000Z | 2019-12-06T04:25:06.000Z | loss/__init__.py | marshuang80/StyleTransfer | 08dcdf447c6e6e6495847f295036f2ccfe682078 | [
"Apache-2.0"
] | null | null | null | loss/__init__.py | marshuang80/StyleTransfer | 08dcdf447c6e6e6495847f295036f2ccfe682078 | [
"Apache-2.0"
] | null | null | null | from .content_loss import ContentLoss
from .style_loss import StyleLoss
| 24 | 37 | 0.861111 | 10 | 72 | 6 | 0.7 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 38 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a273e27c013b1d9fedb54c02a6e0f1ea4bcbb636 | 149 | py | Python | test.py | YuhengZhi/demix | e7bd400b3901f51bfeb4012753a84c3c69aa78a6 | [
"MIT"
] | null | null | null | test.py | YuhengZhi/demix | e7bd400b3901f51bfeb4012753a84c3c69aa78a6 | [
"MIT"
] | null | null | null | test.py | YuhengZhi/demix | e7bd400b3901f51bfeb4012753a84c3c69aa78a6 | [
"MIT"
] | null | null | null | import os
os.environ['LD_LIBRARY_PATH'] = '/usr/local/cuda-9.0/lib64'
print(os.environ['LD_LIBRARY_PATH'])
import tensorflow as tf
# import torch | 29.8 | 60 | 0.744966 | 25 | 149 | 4.28 | 0.68 | 0.168224 | 0.205607 | 0.336449 | 0.411215 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0.107383 | 149 | 5 | 61 | 29.8 | 0.774436 | 0.080537 | 0 | 0 | 0 | 0 | 0.416667 | 0.189394 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a294a61dcb2ede5203450588b5f3de486f43e066 | 18,648 | py | Python | core/posts/tests/test_posts_view.py | cmackenzie1/cmput404-project | 4067a05c0d3c20b18765f4bc6359ca7c5f59cfee | [
"Apache-2.0"
] | null | null | null | core/posts/tests/test_posts_view.py | cmackenzie1/cmput404-project | 4067a05c0d3c20b18765f4bc6359ca7c5f59cfee | [
"Apache-2.0"
] | 74 | 2019-01-12T21:16:03.000Z | 2022-03-02T03:04:54.000Z | core/posts/tests/test_posts_view.py | cmackenzie1/cmput404-project | 4067a05c0d3c20b18765f4bc6359ca7c5f59cfee | [
"Apache-2.0"
] | 2 | 2019-02-06T16:18:10.000Z | 2019-02-09T22:06:34.000Z | import json
from django.contrib.auth import get_user_model
from django.core.files.uploadedfile import SimpleUploadedFile
from django.test import TestCase
from django.urls import reverse
from rest_framework import status
from rest_framework.test import APIRequestFactory, force_authenticate
from core.authors.tests.util... | 43.981132 | 184 | 0.612398 | 2,061 | 18,648 | 5.42164 | 0.086851 | 0.127528 | 0.055575 | 0.059692 | 0.803204 | 0.768928 | 0.747181 | 0.719617 | 0.718006 | 0.7138 | 0 | 0.016067 | 0.235682 | 18,648 | 423 | 185 | 44.085106 | 0.767909 | 0.010296 | 0 | 0.679245 | 0 | 0 | 0.157219 | 0.00737 | 0 | 0 | 0 | 0 | 0.291105 | 1 | 0.061995 | false | 0.016173 | 0.026954 | 0 | 0.091644 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2a9987bb63997e1f5da97f9f0e7173126b3a106 | 14,479 | py | Python | tests/open_api/open_api_spec/test_open_api_spec.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | tests/open_api/open_api_spec/test_open_api_spec.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | tests/open_api/open_api_spec/test_open_api_spec.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | from pathlib import Path
import pytest
from gc3_query.lib import *
from gc3_query.lib.gc3_config import GC3Config
from gc3_query.lib.iaas_classic.instances import Instances
from gc3_query.lib.iaas_classic.sec_rules import SecRules
from gc3_query.lib.open_api.open_api_spec import OpenApiSpec
from gc3_query.lib.base_co... | 45.81962 | 145 | 0.772843 | 2,104 | 14,479 | 4.863593 | 0.057985 | 0.072706 | 0.075051 | 0.073292 | 0.831232 | 0.794293 | 0.759699 | 0.72188 | 0.710153 | 0.689143 | 0 | 0.014685 | 0.134609 | 14,479 | 315 | 146 | 45.965079 | 0.801995 | 0.324401 | 0 | 0.601064 | 0 | 0 | 0.066866 | 0.006191 | 0 | 0 | 0 | 0 | 0.31383 | 1 | 0.069149 | false | 0 | 0.042553 | 0 | 0.111702 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2b0d892d49137b8202d2a7ede6871a2ecdbbf48 | 143 | py | Python | bill_helper/__init__.py | Genpeng/bill-helper | e9c04bbcb5cad3c4bbeaee6f82b1d9ebbcb9bdca | [
"MIT"
] | null | null | null | bill_helper/__init__.py | Genpeng/bill-helper | e9c04bbcb5cad3c4bbeaee6f82b1d9ebbcb9bdca | [
"MIT"
] | null | null | null | bill_helper/__init__.py | Genpeng/bill-helper | e9c04bbcb5cad3c4bbeaee6f82b1d9ebbcb9bdca | [
"MIT"
] | null | null | null | from bill_helper.bill_classify import classify_bill
from bill_helper.bill_similarity_search import find_k_nearest_bills
__version__ = '0.0.1'
| 28.6 | 67 | 0.867133 | 23 | 143 | 4.826087 | 0.608696 | 0.144144 | 0.252252 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.083916 | 143 | 4 | 68 | 35.75 | 0.824427 | 0 | 0 | 0 | 0 | 0 | 0.034965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a2e204d23375853d368bd2a404d87a06f709c01e | 22,296 | py | Python | tests/scheduling/test_system_newsched.py | JeshuaT/PsyNeuLink | 912f691028e848659055430f37b6c15273c762f1 | [
"Apache-2.0"
] | 67 | 2018-01-05T22:18:44.000Z | 2022-03-27T11:27:31.000Z | tests/scheduling/test_system_newsched.py | JeshuaT/PsyNeuLink | 912f691028e848659055430f37b6c15273c762f1 | [
"Apache-2.0"
] | 1,064 | 2017-12-01T18:58:27.000Z | 2022-03-31T22:22:24.000Z | tests/scheduling/test_system_newsched.py | JeshuaT/PsyNeuLink | 912f691028e848659055430f37b6c15273c762f1 | [
"Apache-2.0"
] | 25 | 2017-12-01T20:27:07.000Z | 2022-03-08T21:49:39.000Z | import numpy
from psyneulink.core.compositions.composition import Composition
from psyneulink.core.components.functions.stateful.integratorfunctions import SimpleIntegrator
from psyneulink.core.components.functions.nonstateful.distributionfunctions import DriftDiffusionAnalytical
from psyneulink.core.components.functi... | 27.124088 | 111 | 0.50287 | 2,194 | 22,296 | 4.96217 | 0.071103 | 0.059153 | 0.064664 | 0.096996 | 0.815468 | 0.795536 | 0.749334 | 0.726187 | 0.712777 | 0.712777 | 0 | 0.019452 | 0.379754 | 22,296 | 821 | 112 | 27.157125 | 0.767807 | 0.014308 | 0 | 0.651908 | 0 | 0 | 0.005011 | 0 | 0 | 0 | 0 | 0 | 0.024427 | 1 | 0.022901 | false | 0.003053 | 0.018321 | 0 | 0.047328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c0f4814460a7f18b89565172e5bf3b0e1305d5c | 133 | py | Python | admin.py | Ole-ks/Docker-Django-Nginx-Postgres | 37e6f4bfe8f215284919c377669f8c009f884b3b | [
"MIT"
] | 24 | 2016-08-25T09:35:25.000Z | 2021-08-31T13:59:57.000Z | admin.py | Ole-ks/Docker-Django-Nginx-Postgres | 37e6f4bfe8f215284919c377669f8c009f884b3b | [
"MIT"
] | 2 | 2018-11-19T18:51:06.000Z | 2020-10-04T08:58:07.000Z | admin.py | Ole-ks/Docker-Django-Nginx-Postgres | 37e6f4bfe8f215284919c377669f8c009f884b3b | [
"MIT"
] | 26 | 2016-10-14T03:07:27.000Z | 2021-11-13T13:02:19.000Z | from django.contrib import admin
from .models import Model_example
# Register your models here.
admin.site.register(Model_example)
| 19 | 34 | 0.819549 | 19 | 133 | 5.631579 | 0.631579 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 133 | 6 | 35 | 22.166667 | 0.91453 | 0.195489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0c1601f3f58ab5925c9be73c6980e0fc9b2f52ab | 266 | py | Python | src/genie/libs/parser/iosxe/tests/ShowSdwanOmpTlocPath/cli/equal/golden_output_expected.py | jmedina0911/genieparser | 2fcd6d3e44891551af4b9d05e2c053218ee25c32 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowSdwanOmpTlocPath/cli/equal/golden_output_expected.py | jmedina0911/genieparser | 2fcd6d3e44891551af4b9d05e2c053218ee25c32 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowSdwanOmpTlocPath/cli/equal/golden_output_expected.py | jmedina0911/genieparser | 2fcd6d3e44891551af4b9d05e2c053218ee25c32 | [
"Apache-2.0"
] | null | null | null | expected_output = {
"tloc_path": {
"100.100.100.10": {"tloc": {"default": {"transport": "ipsec"}}},
"100.100.100.20": {"tloc": {"default": {"transport": "ipsec"}}},
"100.100.100.30": {"tloc": {"default": {"transport": "ipsec"}}},
}
}
| 33.25 | 72 | 0.496241 | 28 | 266 | 4.642857 | 0.392857 | 0.276923 | 0.207692 | 0.576923 | 0.523077 | 0.523077 | 0.523077 | 0 | 0 | 0 | 0 | 0.15566 | 0.203008 | 266 | 7 | 73 | 38 | 0.457547 | 0 | 0 | 0 | 0 | 0 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a769df940c8447e72467be403f7852c6a75cf740 | 688 | py | Python | webtest/__init__.py | azmeuk/webtest | ca58f4d1712d87397e84ed30fd87475c6a814d32 | [
"MIT"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | webtest/__init__.py | azmeuk/webtest | ca58f4d1712d87397e84ed30fd87475c6a814d32 | [
"MIT"
] | 4,640 | 2015-07-08T16:19:08.000Z | 2019-12-02T15:01:27.000Z | webtest/__init__.py | azmeuk/webtest | ca58f4d1712d87397e84ed30fd87475c6a814d32 | [
"MIT"
] | 698 | 2015-06-02T19:18:35.000Z | 2022-03-29T16:57:15.000Z | # (c) 2005 Ian Bicking and contributors; written for Paste
# (http://pythonpaste.org)
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license.php
"""
Routines for testing WSGI applications.
"""
from webtest.app import TestApp
from webtest.app import TestRequest
from webtest.app import TestRe... | 29.913043 | 58 | 0.813953 | 100 | 688 | 5.6 | 0.44 | 0.275 | 0.285714 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.122093 | 688 | 22 | 59 | 31.272727 | 0.92053 | 0.297965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7b0263d2d0d92a195af487b15f50cb154c06054 | 36 | py | Python | pickled/__init__.py | TurkuNLP/finngen-tools | 45d95b228ea7044a2d56bd414b8f44e418c42a57 | [
"MIT"
] | null | null | null | pickled/__init__.py | TurkuNLP/finngen-tools | 45d95b228ea7044a2d56bd414b8f44e418c42a57 | [
"MIT"
] | null | null | null | pickled/__init__.py | TurkuNLP/finngen-tools | 45d95b228ea7044a2d56bd414b8f44e418c42a57 | [
"MIT"
] | null | null | null | from .pickled import PickledDataset
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38fc1476aa35e5836c0d62912f3c444da6fac2aa | 164 | py | Python | introduction-to-python/python-basics/script_01.py | nhutnamhcmus/datacamp-playground | 25457e813b1145e1d335562286715eeddd1c1a7b | [
"MIT"
] | 1 | 2021-05-08T11:09:27.000Z | 2021-05-08T11:09:27.000Z | introduction-to-python/python-basics/script_01.py | nhutnamhcmus/datacamp-playground | 25457e813b1145e1d335562286715eeddd1c1a7b | [
"MIT"
] | 1 | 2022-03-12T15:42:14.000Z | 2022-03-12T15:42:14.000Z | introduction-to-python/python-basics/script_01.py | nhutnamhcmus/datacamp-playground | 25457e813b1145e1d335562286715eeddd1c1a7b | [
"MIT"
] | 1 | 2021-04-30T18:24:19.000Z | 2021-04-30T18:24:19.000Z | def sum(firstNumber, secondNumber):
return firstNumber + secondNumber
# Example, do not modify!
print(5 / 8)
# Print the sum of 7 and 10
print(sum(7,10)) | 23.428571 | 38 | 0.689024 | 25 | 164 | 4.52 | 0.68 | 0.40708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0.207317 | 164 | 7 | 39 | 23.428571 | 0.807692 | 0.29878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
ac1a554860dc63c784286394830d269a9065c6c3 | 131 | py | Python | util/test/tests/Vulkan/VK_Draw_Zoo.py | PLohrmannAMD/renderdoc | ea16d31aa340581f5e505e0c734a8468e5d3d47f | [
"MIT"
] | 6,181 | 2015-01-07T11:49:11.000Z | 2022-03-31T21:46:55.000Z | util/test/tests/Vulkan/VK_Draw_Zoo.py | PLohrmannAMD/renderdoc | ea16d31aa340581f5e505e0c734a8468e5d3d47f | [
"MIT"
] | 2,015 | 2015-01-16T01:45:25.000Z | 2022-03-25T12:01:06.000Z | util/test/tests/Vulkan/VK_Draw_Zoo.py | PLohrmannAMD/renderdoc | ea16d31aa340581f5e505e0c734a8468e5d3d47f | [
"MIT"
] | 1,088 | 2015-01-06T08:36:25.000Z | 2022-03-30T03:31:21.000Z | import rdtest
import renderdoc as rd
class VK_Draw_Zoo(rdtest.Draw_Zoo):
demos_test_name = 'VK_Draw_Zoo'
internal = False | 18.714286 | 35 | 0.763359 | 21 | 131 | 4.428571 | 0.666667 | 0.225806 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 131 | 7 | 36 | 18.714286 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac42b55f25f353caf0f13944db0ccb3d3082a1b3 | 9,401 | py | Python | tests/algos/common.py | Utschie/tf2rl | cd8b25a8fdccaa581afebc659cee5d2f509cf1f5 | [
"MIT"
] | 1 | 2020-10-12T23:44:04.000Z | 2020-10-12T23:44:04.000Z | tests/algos/common.py | Utschie/tf2rl | cd8b25a8fdccaa581afebc659cee5d2f509cf1f5 | [
"MIT"
] | null | null | null | tests/algos/common.py | Utschie/tf2rl | cd8b25a8fdccaa581afebc659cee5d2f509cf1f5 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import gym
class CommonAlgos(unittest.TestCase):
@classmethod
def setUpClass(cls):
# TODO: Remove dependencies to gym
cls.discrete_env = gym.make("CartPole-v0")
cls.continuous_env = gym.make("Pendulum-v0")
cls.batch_size = 32
cls.agent... | 36.019157 | 100 | 0.617913 | 1,130 | 9,401 | 4.967257 | 0.09292 | 0.052913 | 0.072332 | 0.092998 | 0.817388 | 0.799216 | 0.778728 | 0.748619 | 0.704614 | 0.647426 | 0 | 0.015258 | 0.274971 | 9,401 | 260 | 101 | 36.157692 | 0.808245 | 0.018934 | 0 | 0.687783 | 0 | 0 | 0.003256 | 0 | 0 | 0 | 0 | 0.003846 | 0.108597 | 1 | 0.076923 | false | 0 | 0.013575 | 0 | 0.171946 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac65496ec20c93eaeb39af113936731db595d5e6 | 24,998 | py | Python | parser/team21/Analisis_Ascendente/AST.py | susanliss/tytus | a613a2352cf4a1d0e90ce27bb346ab60ed8039cc | [
"MIT"
] | null | null | null | parser/team21/Analisis_Ascendente/AST.py | susanliss/tytus | a613a2352cf4a1d0e90ce27bb346ab60ed8039cc | [
"MIT"
] | null | null | null | parser/team21/Analisis_Ascendente/AST.py | susanliss/tytus | a613a2352cf4a1d0e90ce27bb346ab60ed8039cc | [
"MIT"
] | null | null | null | from subprocess import check_call
from expresion import *
from instruccion import *
class AST:
def __init__(self, sentencias):
self.contador = 0
self.c = ""
self.sentencias = sentencias
self.pe = 0
def ReportarAST(self):
print('en clase ast')
#print(self.senten... | 53.07431 | 151 | 0.459037 | 2,722 | 24,998 | 4.213446 | 0.060985 | 0.326445 | 0.22757 | 0.238556 | 0.778446 | 0.731537 | 0.709391 | 0.692214 | 0.684018 | 0.646351 | 0 | 0.0052 | 0.353828 | 24,998 | 471 | 152 | 53.07431 | 0.704823 | 0.036323 | 0 | 0.455422 | 0 | 0 | 0.125114 | 0.0069 | 0.163855 | 0 | 0 | 0 | 0 | 1 | 0.038554 | false | 0.012048 | 0.007229 | 0 | 0.048193 | 0.019277 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac870f60703500418fa6ee8506e0a8e5f24f90d6 | 340 | py | Python | euler_distributed/_slurm_env.py | kareido/my_packages | 509da783fd259d30c365ed38db29ffb88521336c | [
"Unlicense"
] | null | null | null | euler_distributed/_slurm_env.py | kareido/my_packages | 509da783fd259d30c365ed38db29ffb88521336c | [
"Unlicense"
] | null | null | null | euler_distributed/_slurm_env.py | kareido/my_packages | 509da783fd259d30c365ed38db29ffb88521336c | [
"Unlicense"
] | null | null | null | import os
def get_world_size():
return int(os.environ['SLURM_NTASKS'])
def get_rank():
return int(os.environ['SLURM_PROCID'])
def get_jobid():
return int(os.environ['SLURM_JOB_ID'])
def get_backend():
return os.environ.get('DISTRIBUTED_BACKEND', None)
def get_nodelist():
return os.environ[... | 14.166667 | 54 | 0.697059 | 49 | 340 | 4.591837 | 0.408163 | 0.133333 | 0.248889 | 0.24 | 0.306667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 340 | 23 | 55 | 14.782609 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.204142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | true | 0 | 0.090909 | 0.454545 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3bd1bee36febf40d8606cda18d67176dad78bf36 | 2,460 | py | Python | authors/apps/authentication/tests/test_social_auth.py | andela/Ah-backend-valkyrie | f0eb64c27e1fe37d5c81e4b9a8762dcf3c336a79 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/authentication/tests/test_social_auth.py | andela/Ah-backend-valkyrie | f0eb64c27e1fe37d5c81e4b9a8762dcf3c336a79 | [
"BSD-3-Clause"
] | 46 | 2019-01-08T13:16:41.000Z | 2021-04-30T20:47:08.000Z | authors/apps/authentication/tests/test_social_auth.py | andela/Ah-backend-valkyrie | f0eb64c27e1fe37d5c81e4b9a8762dcf3c336a79 | [
"BSD-3-Clause"
] | 3 | 2019-01-07T08:21:59.000Z | 2019-09-20T06:43:18.000Z | from .base import BaseTestMethods
from rest_framework import status
class TestSocialAuth(BaseTestMethods):
def test_login_with_invalid_facebook_token(self):
# user login with invalid facebook token
response = self.client.post(
"/api/v1/auth/facebook/", {"user": {
"auth... | 39.047619 | 80 | 0.593902 | 266 | 2,460 | 5.24812 | 0.169173 | 0.083811 | 0.080229 | 0.057307 | 0.925501 | 0.845272 | 0.797278 | 0.797278 | 0.797278 | 0.790115 | 0 | 0.011792 | 0.310569 | 2,460 | 63 | 81 | 39.047619 | 0.811321 | 0.07561 | 0 | 0.630435 | 0 | 0 | 0.145439 | 0.037902 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.108696 | false | 0 | 0.043478 | 0 | 0.173913 | 0.065217 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3becf867e4ea16735938b5eb1a302234db0d714b | 42 | py | Python | dev/Tools/Python/2.7.13/mac/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyxb/bundles/saml20/dce.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 123 | 2015-01-12T06:43:22.000Z | 2022-03-20T18:06:46.000Z | dev/Tools/Python/2.7.13/mac/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyxb/bundles/saml20/dce.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 103 | 2015-01-08T18:35:57.000Z | 2022-01-18T01:44:14.000Z | dev/Tools/Python/2.7.13/mac/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyxb/bundles/saml20/dce.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 54 | 2015-02-15T17:12:00.000Z | 2022-03-07T23:02:32.000Z | from pyxb.bundles.saml20.raw.dce import *
| 21 | 41 | 0.785714 | 7 | 42 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.095238 | 42 | 1 | 42 | 42 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.