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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2707763e5225198dec42364ed5fdd113a2b41423 | 333 | py | Python | plateau/core/__init__.py | data-engineering-collective/plateau | ab87282a2f66c4f847654f28f8a2b0df33cb4d62 | [
"MIT"
] | 2 | 2022-02-11T01:27:56.000Z | 2022-03-18T22:44:02.000Z | plateau/core/__init__.py | data-engineering-collective/plateau | ab87282a2f66c4f847654f28f8a2b0df33cb4d62 | [
"MIT"
] | 17 | 2022-02-08T16:14:19.000Z | 2022-03-31T00:36:16.000Z | plateau/core/__init__.py | data-engineering-collective/plateau | ab87282a2f66c4f847654f28f8a2b0df33cb4d62 | [
"MIT"
] | 2 | 2022-02-08T16:59:00.000Z | 2022-02-08T17:54:39.000Z | from plateau.core.common_metadata import * # noqa: F401, F403
from plateau.core.dataset import * # noqa: F401, F403
from plateau.core.factory import * # noqa: F401, F403
from plateau.core.index import * # noqa: F401, F403
from plateau.core.typing import * # noqa: F401, F403
from plateau.core.utils import * # noqa... | 47.571429 | 62 | 0.72973 | 49 | 333 | 4.938776 | 0.285714 | 0.272727 | 0.371901 | 0.446281 | 0.681818 | 0.681818 | 0.681818 | 0 | 0 | 0 | 0 | 0.129032 | 0.162162 | 333 | 6 | 63 | 55.5 | 0.738351 | 0.303303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fdb477e7b2339786a8afee0eba4291e3a5259e50 | 2,870 | py | Python | attachments/tests.py | ChanMo/django-attachments | 870ab1843cdeaa9169ee874a33ec4ad7cb59cd5f | [
"MIT"
] | 2 | 2020-05-20T07:00:56.000Z | 2021-04-22T10:40:12.000Z | attachments/tests.py | ChanMo/django-attachments | 870ab1843cdeaa9169ee874a33ec4ad7cb59cd5f | [
"MIT"
] | 2 | 2022-02-19T06:02:34.000Z | 2022-02-27T09:33:00.000Z | attachments/tests.py | ChanMo/django-simple-attachments | 870ab1843cdeaa9169ee874a33ec4ad7cb59cd5f | [
"MIT"
] | null | null | null | from django.test import TestCase
from django.contrib.auth import get_user_model
from .models import *
IMG = "iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAMAAABlApw1AAACSVBMVEURMijx8/L///+ImZTV29mPn5ri5uWXpqFSamNccms7Vk4gPzU9WFBacWp0h4GElZCJmpWeq6eZp6OQn5t+kItofXZJYlslQzoePTRXbme7xMHs7+7m6eiyvLn5+vorSUAvTEMqSD91iIK/yMUTNCpTa2S2wL... | 110.384615 | 2,180 | 0.892334 | 145 | 2,870 | 17.586207 | 0.648276 | 0.015686 | 0.015294 | 0.028235 | 0.047059 | 0.036078 | 0.036078 | 0.036078 | 0.036078 | 0 | 0 | 0.133235 | 0.05331 | 2,870 | 25 | 2,181 | 114.8 | 0.8053 | 0.004878 | 0 | 0.105263 | 0 | 0.052632 | 0.785017 | 0.756794 | 0 | 1 | 0 | 0 | 0.157895 | 1 | 0.210526 | false | 0 | 0.157895 | 0 | 0.421053 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fdbb72aae5dcdcfaea7684fae7bc0b34bfcf1693 | 89 | py | Python | ccal/get_conda_prefix.py | kberkey/ccal | 92aa8372997dccec2908928f71a11b6c8327d7aa | [
"MIT"
] | 9 | 2017-10-09T16:54:58.000Z | 2018-12-14T19:49:03.000Z | ccal/get_conda_prefix.py | kberkey/ccal | 92aa8372997dccec2908928f71a11b6c8327d7aa | [
"MIT"
] | 8 | 2017-03-11T04:43:04.000Z | 2018-12-10T09:47:14.000Z | ccal/get_conda_prefix.py | kberkey/ccal | 92aa8372997dccec2908928f71a11b6c8327d7aa | [
"MIT"
] | 4 | 2017-03-10T19:12:28.000Z | 2022-01-02T21:11:40.000Z | from os import environ
def get_conda_prefix():
return environ.get("CONDA_PREFIX")
| 12.714286 | 38 | 0.741573 | 13 | 89 | 4.846154 | 0.692308 | 0.253968 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 6 | 39 | 14.833333 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 9 |
fdebc8c39e2d2702ee690360ae76db33efe0f698 | 108 | py | Python | database/local.py | EMUNES/all_news_titles | 445507ef5c23477a6de2d759ba322b7b8588d106 | [
"Apache-2.0"
] | 2 | 2020-09-24T14:37:22.000Z | 2021-05-08T06:10:31.000Z | database/local.py | EMUNES/all_news_titles | 445507ef5c23477a6de2d759ba322b7b8588d106 | [
"Apache-2.0"
] | null | null | null | database/local.py | EMUNES/all_news_titles | 445507ef5c23477a6de2d759ba322b7b8588d106 | [
"Apache-2.0"
] | null | null | null | '''Change the database in this file
Change the database in this script locally
Careful here
'''
| 12 | 43 | 0.685185 | 15 | 108 | 4.933333 | 0.666667 | 0.243243 | 0.459459 | 0.513514 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 108 | 8 | 44 | 13.5 | 0.925 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
a90734fcfadc07e05dd78c05ea3204fc5d514f49 | 95 | py | Python | utils/ImageTransform002.py | YusukeTakahashi2001/Kaggle_HuBMAP-Hacking-the-Kidney | 40ae1dc28b753bda02eb8eda2b698e3d55b8ab94 | [
"MIT"
] | null | null | null | utils/ImageTransform002.py | YusukeTakahashi2001/Kaggle_HuBMAP-Hacking-the-Kidney | 40ae1dc28b753bda02eb8eda2b698e3d55b8ab94 | [
"MIT"
] | null | null | null | utils/ImageTransform002.py | YusukeTakahashi2001/Kaggle_HuBMAP-Hacking-the-Kidney | 40ae1dc28b753bda02eb8eda2b698e3d55b8ab94 | [
"MIT"
] | null | null | null | TRAIN = '../data_ignore/datasets/zip/train256/'
MASKS = '../data_ignore/datasets/zip/masks256/' | 47.5 | 47 | 0.736842 | 12 | 95 | 5.666667 | 0.666667 | 0.294118 | 0.529412 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.052632 | 95 | 2 | 48 | 47.5 | 0.688889 | 0 | 0 | 0 | 0 | 0 | 0.770833 | 0.770833 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e335d0de6f5e3d4776df9063292109ad217d1b05 | 22,970 | py | Python | openapi_client/api/credentials_api.py | hi-artem/twistlock-py | 9888e905f5b9d3cc00f9b84244588c0992f8e4f4 | [
"RSA-MD"
] | null | null | null | openapi_client/api/credentials_api.py | hi-artem/twistlock-py | 9888e905f5b9d3cc00f9b84244588c0992f8e4f4 | [
"RSA-MD"
] | null | null | null | openapi_client/api/credentials_api.py | hi-artem/twistlock-py | 9888e905f5b9d3cc00f9b84244588c0992f8e4f4 | [
"RSA-MD"
] | null | null | null | # coding: utf-8
"""
Prisma Cloud Compute API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 21.04.439
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_impor... | 41.387387 | 132 | 0.591859 | 2,528 | 22,970 | 5.095728 | 0.080696 | 0.033535 | 0.049992 | 0.033535 | 0.933318 | 0.928583 | 0.927185 | 0.924468 | 0.923304 | 0.918879 | 0 | 0.014199 | 0.340792 | 22,970 | 554 | 133 | 41.462094 | 0.836547 | 0.497431 | 0 | 0.730769 | 1 | 0 | 0.153619 | 0.052396 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.021368 | 0 | 0.098291 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e378514fa6a3a3bbc486d184f78cf8ca878e6746 | 35,946 | py | Python | nova/tests/unit/objects/test_fixed_ip.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/objects/test_fixed_ip.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/objects/test_fixed_ip.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2014 Red Hat, Inc.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# a copy of the License at'
nl|'\n'... | 12.230691 | 88 | 0.602042 | 5,479 | 35,946 | 3.827706 | 0.043804 | 0.193687 | 0.092981 | 0.084112 | 0.909403 | 0.870017 | 0.836163 | 0.78519 | 0.750048 | 0.711186 | 0 | 0.008357 | 0.094531 | 35,946 | 2,938 | 89 | 12.234854 | 0.635984 | 0 | 0 | 0.953029 | 0 | 0 | 0.364964 | 0.054916 | 0 | 0 | 0 | 0 | 0.020422 | 0 | null | null | 0.000681 | 0.004425 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8b59152cc6b8fc603009201b9490994c300433c5 | 1,705 | py | Python | PuppeteerLibrary/ikeywords/iwaiting_async.py | sdvicorp/robotframework-puppeteer | af6fa68b04c3cdac3a7662cffda6da2a5ace38d1 | [
"Apache-2.0"
] | 37 | 2019-10-28T01:35:43.000Z | 2022-03-31T04:11:49.000Z | PuppeteerLibrary/ikeywords/iwaiting_async.py | sdvicorp/robotframework-puppeteer | af6fa68b04c3cdac3a7662cffda6da2a5ace38d1 | [
"Apache-2.0"
] | 61 | 2020-07-16T00:18:22.000Z | 2022-03-24T07:12:05.000Z | PuppeteerLibrary/ikeywords/iwaiting_async.py | sdvicorp/robotframework-puppeteer | af6fa68b04c3cdac3a7662cffda6da2a5ace38d1 | [
"Apache-2.0"
] | 10 | 2020-03-03T05:28:05.000Z | 2022-02-14T10:03:44.000Z | from abc import ABC, abstractmethod
from PuppeteerLibrary.ikeywords.base_async_keywords import BaseAsyncKeywords
class iWaitingAsync(BaseAsyncKeywords, ABC):
@abstractmethod
async def wait_for_request_url(self, url, method='GET', body=None, timeout=None):
pass
@abstractmethod
async def wait_... | 27.5 | 86 | 0.723754 | 204 | 1,705 | 5.784314 | 0.215686 | 0.225424 | 0.261017 | 0.308475 | 0.772034 | 0.725424 | 0.725424 | 0.725424 | 0.725424 | 0.708475 | 0 | 0.002222 | 0.208211 | 1,705 | 61 | 87 | 27.95082 | 0.871852 | 0 | 0 | 0.622222 | 0 | 0 | 0.00176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.311111 | 0.044444 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
8b591b47300049dd5c6d449f1c090ed97d901ec5 | 139 | py | Python | sb3_contrib/common/wrappers/__init__.py | qgallouedec/stable-baselines3-contrib | bec00386d14b505015c54413cd5cd968e6f85c72 | [
"MIT"
] | 93 | 2020-10-22T14:44:58.000Z | 2022-03-25T20:06:47.000Z | sb3_contrib/common/wrappers/__init__.py | qgallouedec/stable-baselines3-contrib | bec00386d14b505015c54413cd5cd968e6f85c72 | [
"MIT"
] | 36 | 2020-10-26T11:13:23.000Z | 2022-03-31T15:11:05.000Z | sb3_contrib/common/wrappers/__init__.py | qgallouedec/stable-baselines3-contrib | bec00386d14b505015c54413cd5cd968e6f85c72 | [
"MIT"
] | 50 | 2020-12-06T14:21:10.000Z | 2022-03-31T14:25:36.000Z | from sb3_contrib.common.wrappers.action_masker import ActionMasker
from sb3_contrib.common.wrappers.time_feature import TimeFeatureWrapper
| 46.333333 | 71 | 0.899281 | 18 | 139 | 6.722222 | 0.666667 | 0.115702 | 0.231405 | 0.330579 | 0.46281 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.057554 | 139 | 2 | 72 | 69.5 | 0.908397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8b6ec16ac210da8908532e15c046423a383e2234 | 309 | py | Python | pipeline/exceptions/PipelineNotDeployed.py | mystic-ai/pipeline | 487c5e755a862a12c90572b0eff170853ecb3790 | [
"Apache-2.0"
] | 7 | 2022-01-28T20:27:50.000Z | 2022-02-22T15:30:00.000Z | pipeline/exceptions/PipelineNotDeployed.py | mystic-ai/pipeline | 487c5e755a862a12c90572b0eff170853ecb3790 | [
"Apache-2.0"
] | 17 | 2022-01-11T12:05:38.000Z | 2022-03-25T15:29:43.000Z | pipeline/exceptions/PipelineNotDeployed.py | neuro-ai-dev/pipeline | c7edcc83576158062fe48f266dfaea62d754e761 | [
"Apache-2.0"
] | null | null | null | class PipelineNotDeployed(Exception):
def __init__(self, pipeline_id=None, message="Pipeline not deployed") -> None:
self.pipeline_id = pipeline_id
self.message = message
super().__init__(self.message)
def __str__(self):
return f"{self.pipeline_id} -> {self.message}"
| 34.333333 | 82 | 0.673139 | 36 | 309 | 5.333333 | 0.444444 | 0.208333 | 0.21875 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20712 | 309 | 8 | 83 | 38.625 | 0.783673 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
8be24881208660e6a31589aafa2b2c083835b3f8 | 82 | py | Python | WDL/runtime/__init__.py | cmarkello/miniwdl | e9eb38fc810e95c93f88ec417b9431babd30e3f8 | [
"MIT"
] | null | null | null | WDL/runtime/__init__.py | cmarkello/miniwdl | e9eb38fc810e95c93f88ec417b9431babd30e3f8 | [
"MIT"
] | null | null | null | WDL/runtime/__init__.py | cmarkello/miniwdl | e9eb38fc810e95c93f88ec417b9431babd30e3f8 | [
"MIT"
] | null | null | null | # pyre-strict
import WDL.runtime.task
from WDL.runtime.task import run_local_task
| 20.5 | 43 | 0.829268 | 14 | 82 | 4.714286 | 0.642857 | 0.30303 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 82 | 3 | 44 | 27.333333 | 0.891892 | 0.134146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
47e3f788f5c71c3b0754d6cb862408f3a551aa69 | 132 | py | Python | playment/jobs/__init__.py | crowdflux/playment-sdk-python | 881a3b87b86c294930915fe86b19fd860996d57e | [
"MIT"
] | null | null | null | playment/jobs/__init__.py | crowdflux/playment-sdk-python | 881a3b87b86c294930915fe86b19fd860996d57e | [
"MIT"
] | 2 | 2020-09-23T07:02:14.000Z | 2020-09-23T11:27:32.000Z | playment/jobs/__init__.py | crowdflux/playment-sdk-python | 881a3b87b86c294930915fe86b19fd860996d57e | [
"MIT"
] | 1 | 2020-05-05T12:11:06.000Z | 2020-05-05T12:11:06.000Z | from playment.jobs.job_result import JobResult
from playment.jobs.job_response import JobResponse
from playment.jobs.job import Job
| 33 | 50 | 0.863636 | 20 | 132 | 5.6 | 0.45 | 0.321429 | 0.428571 | 0.508929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 132 | 3 | 51 | 44 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
7bdc74da75dc765ee31d6c95c109fd35cac9a7b8 | 3,943 | py | Python | rvpvp/isa/rvv/vxxx_vi.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 5 | 2021-05-10T09:57:00.000Z | 2021-10-05T14:39:20.000Z | rvpvp/isa/rvv/vxxx_vi.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | null | null | null | rvpvp/isa/rvv/vxxx_vi.py | ultrafive/riscv-pvp | 843e38422c3d545352b955764927d5e7847e5453 | [
"Unlicense"
] | 1 | 2021-05-14T20:24:11.000Z | 2021-05-14T20:24:11.000Z | from ...isa.inst import *
import numpy as np
class Vadd_vi(Inst):
name = 'vadd.vi'
# vadd.vi vd, vs2, imm, vm
def golden(self):
if self['vl']==0:
return self['ori']
result = self['ori'].copy()
maskflag = 1 if 'mask' in self else 0
vstart = self['vstart'] if ... | 35.522523 | 106 | 0.519148 | 549 | 3,943 | 3.710383 | 0.092896 | 0.041237 | 0.068729 | 0.075601 | 0.862543 | 0.844379 | 0.844379 | 0.844379 | 0.844379 | 0.844379 | 0 | 0.021095 | 0.314735 | 3,943 | 110 | 107 | 35.845455 | 0.732791 | 0.060614 | 0 | 0.715909 | 0 | 0 | 0.096451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079545 | false | 0 | 0.022727 | 0 | 0.443182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d01fc6316b51299269ca8cbb6016db06c2aa7385 | 1,395 | py | Python | exams/2014/2_gauss_elim.py | JoaoCostaIFG/MNUM | 6e042d8a6f64feb9eae9c79afec2fbab51f46fbd | [
"MIT"
] | 1 | 2019-12-07T10:34:30.000Z | 2019-12-07T10:34:30.000Z | exams/2014/2_gauss_elim.py | JoaoCostaIFG/MNUM | 6e042d8a6f64feb9eae9c79afec2fbab51f46fbd | [
"MIT"
] | null | null | null | exams/2014/2_gauss_elim.py | JoaoCostaIFG/MNUM | 6e042d8a6f64feb9eae9c79afec2fbab51f46fbd | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
n = 4
A = [[0.1, 0.5, 3, 0.25], [1.2, 0.2, 0.25, 0.2], [-1, 0.25, 0.3, 2],
[2, 0.00001, 1, 0.4]]
b = [0, 1, 2, 3]
# Gauss elim
for i in range(n):
pivot = A[i][i]
b[i] /= pivot
for j in range(n):
A[i][j] /= pivot
for j in range(i + 1, n):
times = A[j][i]
... | 18.851351 | 68 | 0.417204 | 306 | 1,395 | 1.901961 | 0.111111 | 0.204467 | 0.178694 | 0.151203 | 0.821306 | 0.798969 | 0.786942 | 0.786942 | 0.718213 | 0.718213 | 0 | 0.096051 | 0.328315 | 1,395 | 73 | 69 | 19.109589 | 0.52508 | 0.036559 | 0 | 0.830189 | 0 | 0 | 0.026846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.150943 | 0 | 0 | 1 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d05ef21e9593b93f2c9bfc909e8b62a1404c21a9 | 1,767 | py | Python | tests/test_e2e/test_optimize.py | ytsmiling/optur | cbc56c60b322ea764592f01758798f745199b455 | [
"MIT"
] | 1 | 2022-01-19T09:18:15.000Z | 2022-01-19T09:18:15.000Z | tests/test_e2e/test_optimize.py | ytsmiling/optur | cbc56c60b322ea764592f01758798f745199b455 | [
"MIT"
] | null | null | null | tests/test_e2e/test_optimize.py | ytsmiling/optur | cbc56c60b322ea764592f01758798f745199b455 | [
"MIT"
] | null | null | null | import pytest
import optur
def test_optimize() -> None:
sampler = optur.samplers.create_random_sampler()
storage = optur.storages.create_inmemory_storage()
study = optur.create_study(storage=storage, sampler=sampler)
def _objective(trial: optur.Trial) -> float:
return sum((trial.suggest_floa... | 33.980769 | 80 | 0.727787 | 247 | 1,767 | 5.008097 | 0.186235 | 0.022635 | 0.051738 | 0.077607 | 0.865804 | 0.807599 | 0.807599 | 0.782538 | 0.782538 | 0.782538 | 0 | 0.02649 | 0.145444 | 1,767 | 51 | 81 | 34.647059 | 0.792715 | 0.023203 | 0 | 0.6875 | 0 | 0 | 0.009281 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0.125 | 0.4375 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 8 |
d0d2495260c87e4c27806c283bff90d34d858d20 | 24,341 | py | Python | transportation_suppliers/users/api/tests/test_views.py | SamwelOpiyo/transportation_suppliers | 5c761c5b26baa584dfa169bebc4d8c7b562cd2c7 | [
"MIT"
] | null | null | null | transportation_suppliers/users/api/tests/test_views.py | SamwelOpiyo/transportation_suppliers | 5c761c5b26baa584dfa169bebc4d8c7b562cd2c7 | [
"MIT"
] | null | null | null | transportation_suppliers/users/api/tests/test_views.py | SamwelOpiyo/transportation_suppliers | 5c761c5b26baa584dfa169bebc4d8c7b562cd2c7 | [
"MIT"
] | null | null | null | from rest_framework.reverse import reverse
from rest_framework.test import APITestCase, APIClient
from rest_framework import status
from model_mommy import mommy
class UserViewSetTestCaseV1(APITestCase):
"""
Test suite for User api views.
"""
def setUp(self):
"""
Define the test clie... | 30.77244 | 77 | 0.571341 | 2,633 | 24,341 | 5.07368 | 0.042157 | 0.094318 | 0.048207 | 0.053896 | 0.975822 | 0.974025 | 0.973426 | 0.973426 | 0.973426 | 0.973426 | 0 | 0.015646 | 0.317284 | 24,341 | 790 | 78 | 30.811392 | 0.788242 | 0.113101 | 0 | 0.745491 | 0 | 0 | 0.114305 | 0.038463 | 0 | 0 | 0 | 0 | 0.168337 | 1 | 0.092184 | false | 0 | 0.008016 | 0 | 0.112224 | 0.002004 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
efaa7fd8d467bf54978599647223881fb6d67baf | 24,503 | py | Python | tests/e2e/interOp/validation_of_operating_modes/bridge_mode/client_connectivity_test/iOS/test_general_security_modes.py | dutta-rohan/wlan-testing | 77264245b62e21dff5f38c7eae74c22e0cdeefbb | [
"BSD-3-Clause"
] | 7 | 2020-08-19T16:45:46.000Z | 2022-02-10T09:55:22.000Z | tests/e2e/interOp/validation_of_operating_modes/bridge_mode/client_connectivity_test/iOS/test_general_security_modes.py | dutta-rohan/wlan-testing | 77264245b62e21dff5f38c7eae74c22e0cdeefbb | [
"BSD-3-Clause"
] | 47 | 2020-12-20T16:06:03.000Z | 2022-03-23T03:01:22.000Z | tests/e2e/interOp/validation_of_operating_modes/bridge_mode/client_connectivity_test/iOS/test_general_security_modes.py | dutta-rohan/wlan-testing | 77264245b62e21dff5f38c7eae74c22e0cdeefbb | [
"BSD-3-Clause"
] | 9 | 2021-02-04T22:32:06.000Z | 2021-12-14T17:45:51.000Z | from logging import exception
import io
import unittest
import warnings
from perfecto.test import TestResultFactory
import pytest
import sys
import time
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.common.by import By
from appium import webdriver
from selenium.common.exceptions ... | 46.232075 | 162 | 0.661103 | 2,804 | 24,503 | 5.505706 | 0.060271 | 0.037311 | 0.094054 | 0.058298 | 0.919161 | 0.9121 | 0.884506 | 0.866952 | 0.857624 | 0.839163 | 0 | 0.01084 | 0.231972 | 24,503 | 529 | 163 | 46.319471 | 0.809501 | 0.016447 | 0 | 0.796729 | 0 | 0 | 0.209789 | 0.003743 | 0 | 0 | 0 | 0 | 0.056075 | 1 | 0.028037 | false | 0.11215 | 0.035047 | 0 | 0.067757 | 0.084112 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
efab2544e651b4399873d116d7a4574bcfba35e2 | 129 | py | Python | pyBN/inference/__init__.py | seuzmj/pyBN | ce7b6823f4e6c4f6f9b77e89f05de87ed486b349 | [
"MIT"
] | 126 | 2016-01-17T22:59:08.000Z | 2021-12-19T15:35:22.000Z | pyBN/inference/__init__.py | levilentz/pyBN | ce7b6823f4e6c4f6f9b77e89f05de87ed486b349 | [
"MIT"
] | 24 | 2016-01-21T20:11:03.000Z | 2018-09-21T01:23:58.000Z | pyBN/inference/__init__.py | levilentz/pyBN | ce7b6823f4e6c4f6f9b77e89f05de87ed486b349 | [
"MIT"
] | 55 | 2016-05-27T00:46:54.000Z | 2022-03-24T11:43:57.000Z | from pyBN.inference.map_exact import *
from pyBN.inference.marginal_approx import *
from pyBN.inference.marginal_exact import * | 43 | 45 | 0.829457 | 18 | 129 | 5.777778 | 0.444444 | 0.230769 | 0.490385 | 0.442308 | 0.596154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 129 | 3 | 46 | 43 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
efcff37b48f4e92def45562e2f561f53d4f131cf | 13,868 | py | Python | titus/test/lib/testMath.py | jmilleralpine/hadrian | 6a438e0370487bbbac5e64a4d6d7a2728902d153 | [
"Apache-2.0"
] | 127 | 2015-08-05T17:08:35.000Z | 2019-10-17T07:07:08.000Z | titus/test/lib/testMath.py | jmilleralpine/hadrian | 6a438e0370487bbbac5e64a4d6d7a2728902d153 | [
"Apache-2.0"
] | 54 | 2015-11-20T02:21:29.000Z | 2019-11-23T20:17:23.000Z | titus/test/lib/testMath.py | jmilleralpine/hadrian | 6a438e0370487bbbac5e64a4d6d7a2728902d153 | [
"Apache-2.0"
] | 58 | 2015-05-27T18:19:29.000Z | 2019-05-23T12:37:17.000Z | #!/usr/bin/env python
# Copyright (C) 2014 Open Data ("Open Data" refers to
# one or more of the following companies: Open Data Partners LLC,
# Open Data Research LLC, or Open Data Capital LLC.)
#
# This file is part of Hadrian.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this... | 34.157635 | 93 | 0.655754 | 1,784 | 13,868 | 5.093049 | 0.126682 | 0.1849 | 0.273388 | 0.33414 | 0.836452 | 0.809927 | 0.766344 | 0.720339 | 0.686551 | 0.62932 | 0 | 0.090155 | 0.182579 | 13,868 | 405 | 94 | 34.241975 | 0.711362 | 0.087395 | 0 | 0.580645 | 0 | 0 | 0.136216 | 0 | 0 | 0 | 0 | 0 | 0.395894 | 1 | 0.076246 | false | 0 | 0.008798 | 0 | 0.087977 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
efe12918c19c7f5ffe85491f20900454e3b6d26c | 109 | py | Python | smhsan/modules/__init__.py | hoho-wenda0228/Nested_NER | 22e7973df733d6dcd5b7bf67c941bed4ac64989a | [
"MIT"
] | 10 | 2021-06-27T06:58:03.000Z | 2022-03-30T08:34:03.000Z | smhsan/modules/__init__.py | hoho-wenda0228/Nested_NER | 22e7973df733d6dcd5b7bf67c941bed4ac64989a | [
"MIT"
] | null | null | null | smhsan/modules/__init__.py | hoho-wenda0228/Nested_NER | 22e7973df733d6dcd5b7bf67c941bed4ac64989a | [
"MIT"
] | 2 | 2021-08-09T07:29:16.000Z | 2022-03-24T09:05:27.000Z | # coding: utf-8
from smhsan.modules import seq2seq_encoders
from smhsan.modules import text_field_embedders
| 21.8 | 47 | 0.844037 | 16 | 109 | 5.5625 | 0.75 | 0.224719 | 0.382022 | 0.516854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.110092 | 109 | 4 | 48 | 27.25 | 0.896907 | 0.119266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
326ea18980e7b265d3b93b0d0c6638095e9624cb | 9,238 | py | Python | encounterapp/tests/api/test_encounterapi.py | AbhiyantrikTechnology/DentalHub-Backend | 89802b3e7671ffe8b3d287a998c3c4f375b58f03 | [
"MIT"
] | 1 | 2021-04-03T19:57:32.000Z | 2021-04-03T19:57:32.000Z | encounterapp/tests/api/test_encounterapi.py | AbhiyantrikTechnology/DentalHub-Backend | 89802b3e7671ffe8b3d287a998c3c4f375b58f03 | [
"MIT"
] | null | null | null | encounterapp/tests/api/test_encounterapi.py | AbhiyantrikTechnology/DentalHub-Backend | 89802b3e7671ffe8b3d287a998c3c4f375b58f03 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
from django.contrib.auth.models import Permission
import pytest
from faker import Faker
from mixer.backend.django import mixer
from rest_framework import status
from rest_framework.test import APIClient
from rest_framework_jwt.settings import api_settings
from django.test import TestCase
from u... | 47.132653 | 121 | 0.669517 | 1,093 | 9,238 | 5.464776 | 0.10247 | 0.055249 | 0.054412 | 0.04286 | 0.827725 | 0.814499 | 0.814499 | 0.79491 | 0.79491 | 0.76444 | 0 | 0.010856 | 0.202317 | 9,238 | 195 | 122 | 47.374359 | 0.799701 | 0.04081 | 0 | 0.708609 | 0 | 0 | 0.138188 | 0.004976 | 0 | 0 | 0 | 0 | 0.10596 | 1 | 0.02649 | false | 0 | 0.07947 | 0 | 0.119205 | 0.02649 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
08b64993070e3ce4cf587e491ce928fd42d70b0b | 81 | py | Python | fgfa_rfcn/symbols/__init__.py | sdroh1027/track_to_learn | 26dc83328bd29612a80e7d2429cdfd32926d0af6 | [
"MIT"
] | null | null | null | fgfa_rfcn/symbols/__init__.py | sdroh1027/track_to_learn | 26dc83328bd29612a80e7d2429cdfd32926d0af6 | [
"MIT"
] | null | null | null | fgfa_rfcn/symbols/__init__.py | sdroh1027/track_to_learn | 26dc83328bd29612a80e7d2429cdfd32926d0af6 | [
"MIT"
] | null | null | null | import resnet_v1_101_flownet_rfcn
import resnet_v1_101_flownet_rfcn_online_train | 40.5 | 46 | 0.950617 | 14 | 81 | 4.785714 | 0.571429 | 0.358209 | 0.41791 | 0.507463 | 0.835821 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 0.049383 | 81 | 2 | 46 | 40.5 | 0.766234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
08edef407ffc55c423dbd0550b51dd70db86b6c5 | 203,368 | py | Python | movelist.py | Sichengthebest/Pokegod | b5e5aa82e674a495e1096ead98b9a8702f0c19de | [
"BSD-2-Clause"
] | 1 | 2021-07-19T16:14:18.000Z | 2021-07-19T16:14:18.000Z | movelist.py | Sichengthebest/Pokegod | b5e5aa82e674a495e1096ead98b9a8702f0c19de | [
"BSD-2-Clause"
] | null | null | null | movelist.py | Sichengthebest/Pokegod | b5e5aa82e674a495e1096ead98b9a8702f0c19de | [
"BSD-2-Clause"
] | null | null | null | import random
"""
self-dmg 1: fixed recoil
self-dmg 2: gains x% of dmg it inflicted
self-dmg 3: gains x% of its max hp
self-dmg 4: loses x% of dmg it inflicted
self-dmg 5: loses x% of its max hp
"""
moves = {
"Absorb":{
'power': 20,
'pktype': 'Grass',
'acc': 100,
'selfdmg': {'2':50... | 23.79408 | 101 | 0.371533 | 21,349 | 203,368 | 3.53862 | 0.029088 | 0.135361 | 0.130133 | 0.084928 | 0.924417 | 0.910439 | 0.908003 | 0.900484 | 0.896553 | 0.89372 | 0 | 0.112469 | 0.399935 | 203,368 | 8,547 | 102 | 23.79408 | 0.506588 | 0 | 0 | 0.876967 | 0 | 0 | 0.290125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000237 | false | 0 | 0.000118 | 0.000118 | 0.003431 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
08f9be668d83f2c47c8d0fc49d115ca7110e0ef9 | 8,911 | py | Python | py/HW3/option_models/sabr.py | jiangxunmu/ASP | cb12bcd7bf30cc28c09b3d3c10a40fa5dc8c9dc7 | [
"MIT"
] | null | null | null | py/HW3/option_models/sabr.py | jiangxunmu/ASP | cb12bcd7bf30cc28c09b3d3c10a40fa5dc8c9dc7 | [
"MIT"
] | null | null | null | py/HW3/option_models/sabr.py | jiangxunmu/ASP | cb12bcd7bf30cc28c09b3d3c10a40fa5dc8c9dc7 | [
"MIT"
] | 1 | 2021-12-13T13:23:40.000Z | 2021-12-13T13:23:40.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue Oct 10
@author: jaehyuk
"""
import numpy as np
import scipy.stats as ss
import scipy.optimize as sopt
from . import normal
from . import bsm
import pyfeng as pf
'''
MC model class for Beta=1
'''
class ModelBsmMC:
beta = 1.0 # fixed (not used)
vov, rho = 0.0, 0... | 35.931452 | 155 | 0.560319 | 1,363 | 8,911 | 3.574468 | 0.11372 | 0.051724 | 0.028736 | 0.029557 | 0.873768 | 0.862274 | 0.856527 | 0.824507 | 0.777915 | 0.764368 | 0 | 0.035934 | 0.3067 | 8,911 | 248 | 156 | 35.931452 | 0.752671 | 0.201324 | 0 | 0.748148 | 0 | 0 | 0.001556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088889 | false | 0 | 0.044444 | 0 | 0.288889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3ef6ee588040b2eb93ddbf84b5a7d48ddf0f41e8 | 173 | py | Python | Space_Invaders/classes/__init__.py | Jh123x/Orbital | 6f8f2da4fd26ef1d77c0c6183230c3a5e6bf0bb9 | [
"MIT"
] | 4 | 2020-05-15T11:17:09.000Z | 2020-06-30T01:11:41.000Z | Space_Invaders/classes/__init__.py | Jh123x/Orbital | 6f8f2da4fd26ef1d77c0c6183230c3a5e6bf0bb9 | [
"MIT"
] | 10 | 2020-05-16T10:45:32.000Z | 2020-07-27T07:17:02.000Z | gym_invaders/gym_game/envs/classes/__init__.py | Jh123x/Orbital | 6f8f2da4fd26ef1d77c0c6183230c3a5e6bf0bb9 | [
"MIT"
] | null | null | null | #Allow the folder to be imported by other Python files
#Import everything from the game file
from .Game import *
# #Import everything from settings.py
from .Misc import *
| 21.625 | 54 | 0.768786 | 27 | 173 | 4.925926 | 0.666667 | 0.240602 | 0.300752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179191 | 173 | 7 | 55 | 24.714286 | 0.93662 | 0.716763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
410bafae7e17619241e13d9c13212f07a1e47225 | 119,583 | py | Python | sdk/python/pulumi_pagerduty/_inputs.py | pulumi/pulumi-pagerduty | 1c08849cda3d5fccf5eb9f615dc004b1f8f90555 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2020-05-27T08:18:35.000Z | 2021-07-31T08:40:03.000Z | sdk/python/pulumi_pagerduty/_inputs.py | pulumi/pulumi-pagerduty | 1c08849cda3d5fccf5eb9f615dc004b1f8f90555 | [
"ECL-2.0",
"Apache-2.0"
] | 48 | 2020-05-26T10:59:40.000Z | 2022-03-31T15:41:54.000Z | sdk/python/pulumi_pagerduty/_inputs.py | pulumi/pulumi-pagerduty | 1c08849cda3d5fccf5eb9f615dc004b1f8f90555 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-05-26T17:51:56.000Z | 2020-05-26T17:51:56.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 41.652038 | 353 | 0.657886 | 13,780 | 119,583 | 5.578084 | 0.037446 | 0.117061 | 0.096402 | 0.061822 | 0.905979 | 0.881066 | 0.834712 | 0.762912 | 0.741277 | 0.711667 | 0 | 0.001936 | 0.226738 | 119,583 | 2,870 | 354 | 41.666551 | 0.829327 | 0.295268 | 0 | 0.73938 | 1 | 0 | 0.130996 | 0.083906 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208381 | false | 0 | 0.00287 | 0.006889 | 0.331803 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
4119e2647839477921489aedd17e9dcbba8506d2 | 184 | py | Python | src/notebook_adventure/controllers/new_game_controller.py | kjamaal/notebook_adventure | 703d6663212efcfd2ffe8c54e788e7dfd7feb221 | [
"MIT"
] | null | null | null | src/notebook_adventure/controllers/new_game_controller.py | kjamaal/notebook_adventure | 703d6663212efcfd2ffe8c54e788e7dfd7feb221 | [
"MIT"
] | 1 | 2021-06-01T23:59:47.000Z | 2021-06-01T23:59:47.000Z | src/notebook_adventure/controllers/new_game_controller.py | kjamaal/notebook_adventure_client | 703d6663212efcfd2ffe8c54e788e7dfd7feb221 | [
"MIT"
] | null | null | null | from ..core import factory
from ..services import api_caller
def get_dialog():
return api_caller.get_dialog('new_game')
def put_context(ctx):
api_caller.put_context(ctx)
| 20.444444 | 43 | 0.744565 | 28 | 184 | 4.607143 | 0.571429 | 0.209302 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157609 | 184 | 8 | 44 | 23 | 0.832258 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 7 |
dead8ae47c8e9b6f11a6cd7b9efb3fd83a642b4e | 5,259 | py | Python | huseinhouse.com/Stock Forecasting/historical/download.py | huseinzol05/Hackathon-Huseinhouse | 6796af2fe02f10d7860ac8db27bd24fa27b8bb01 | [
"MIT"
] | 3 | 2018-09-07T08:06:12.000Z | 2020-05-14T19:35:43.000Z | huseinhouse.com/Stock Forecasting/historical/download.py | huseinzol05/Hackathon-Huseinhouse | 6796af2fe02f10d7860ac8db27bd24fa27b8bb01 | [
"MIT"
] | null | null | null | huseinhouse.com/Stock Forecasting/historical/download.py | huseinzol05/Hackathon-Huseinhouse | 6796af2fe02f10d7860ac8db27bd24fa27b8bb01 | [
"MIT"
] | 4 | 2018-09-07T08:06:17.000Z | 2020-07-10T21:32:21.000Z | import urllib
print 'downloading crude oil data'
urllib.urlretrieve("https://fred.stlouisfed.org/graph/fredgraph.csv?chart_type=line&recession_bars=on&log_scales=&bgcolor=%23e1e9f0&graph_bgcolor=%23ffffff&fo=Open+Sans&ts=12&tts=12&txtcolor=%23444444&show_legend=yes&show_axis_titles=yes&height=450&stacking=&range=1yr&m... | 239.045455 | 637 | 0.808519 | 923 | 5,259 | 4.502709 | 0.135428 | 0.01155 | 0.040423 | 0.050048 | 0.865736 | 0.865736 | 0.865736 | 0.865736 | 0.848893 | 0.848893 | 0 | 0.120338 | 0.010839 | 5,259 | 21 | 638 | 250.428571 | 0.678585 | 0 | 0 | 0 | 0 | 0.470588 | 0.942352 | 0.083714 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.058824 | null | null | 0.470588 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
dee01bf61b940aed98a7b43756d197e7487221df | 110 | py | Python | simuvex/simuvex/engines/vex/expressions/op.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 86 | 2015-08-06T23:25:07.000Z | 2022-02-17T14:58:22.000Z | simuvex/simuvex/engines/vex/expressions/op.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 132 | 2015-09-10T19:06:59.000Z | 2018-10-04T20:36:45.000Z | simuvex/simuvex/engines/vex/expressions/op.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | 80 | 2015-08-07T10:30:20.000Z | 2020-03-21T14:45:28.000Z | print '... Importing simuvex/engines/vex/expressions/op.py ...'
from angr.engines.vex.expressions.op import *
| 36.666667 | 63 | 0.754545 | 15 | 110 | 5.533333 | 0.733333 | 0.240964 | 0.506024 | 0.554217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 110 | 2 | 64 | 55 | 0.821782 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.336364 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 8 |
7245f4389ba868e01966a4f883fe45242eeb75d5 | 19,320 | py | Python | FFD.py | James0231/Data-Visualization-PJ | 053a1fdb26e07381e44cfd13cb989631e86b8b82 | [
"MIT"
] | 5 | 2019-01-24T02:53:43.000Z | 2020-10-17T09:01:52.000Z | FFD.py | James0231/Data-Visualization-PJ | 053a1fdb26e07381e44cfd13cb989631e86b8b82 | [
"MIT"
] | 1 | 2020-02-20T07:55:50.000Z | 2021-11-18T12:31:10.000Z | FFD.py | James0231/Data-Visualization-PJ | 053a1fdb26e07381e44cfd13cb989631e86b8b82 | [
"MIT"
] | 1 | 2022-03-16T05:49:17.000Z | 2022-03-16T05:49:17.000Z | import numpy as np
import copy
import gc
class obj_reader(object):
def __init__(self, filename):
"""Loads a Wavefront OBJ file. """
self.vertices = []
self.faces = []
self.tmp = []
for line in open(filename, "r"):
if line.startswith('#'): continue
val... | 41.727862 | 135 | 0.469099 | 2,626 | 19,320 | 3.296268 | 0.050267 | 0.090111 | 0.043669 | 0.032348 | 0.954945 | 0.954945 | 0.942699 | 0.935767 | 0.935767 | 0.935767 | 0 | 0.017017 | 0.388613 | 19,320 | 462 | 136 | 41.818182 | 0.715797 | 0.116874 | 0 | 0.917553 | 0 | 0 | 0.029298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058511 | false | 0.005319 | 0.007979 | 0 | 0.12766 | 0.005319 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
72501505b73919facd8953135d73ad30251d69a1 | 17,490 | py | Python | venv/lib/python3.8/site-packages/ansible_collections/arista/eos/tests/unit/modules/network/eos/test_eos_logging_global.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/ansible_collections/arista/eos/tests/unit/modules/network/eos/test_eos_logging_global.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/ansible_collections/arista/eos/tests/unit/modules/network/eos/test_eos_logging_global.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | #
# (c) 2019, Ansible by Red Hat, inc
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#
from __future__ import absolute_import, division, print_function
__metaclass__ = type
from ansible_collections.arista.eos.tests.unit.compat.mock import patch
from ansible_collections.a... | 41.347518 | 144 | 0.477416 | 1,527 | 17,490 | 5.346431 | 0.113294 | 0.037237 | 0.037727 | 0.026458 | 0.832803 | 0.798261 | 0.735301 | 0.712273 | 0.712273 | 0.686796 | 0 | 0.054038 | 0.415952 | 17,490 | 422 | 145 | 41.445498 | 0.745179 | 0.00709 | 0 | 0.722222 | 0 | 0.002525 | 0.261794 | 0.018087 | 0 | 0 | 0 | 0 | 0.007576 | 1 | 0.035354 | false | 0 | 0.012626 | 0 | 0.055556 | 0.002525 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a0eb16e7bef3e0cd6c9a5efc6b29e97f0c53ef82 | 328 | py | Python | gh_issue_agent/__init__.py | nzt4567/gh_issue_agent | 95fa5124d0de48e436c0a563eeb506e548e44fab | [
"CC0-1.0"
] | null | null | null | gh_issue_agent/__init__.py | nzt4567/gh_issue_agent | 95fa5124d0de48e436c0a563eeb506e548e44fab | [
"CC0-1.0"
] | null | null | null | gh_issue_agent/__init__.py | nzt4567/gh_issue_agent | 95fa5124d0de48e436c0a563eeb506e548e44fab | [
"CC0-1.0"
] | null | null | null | from .agent import parse_args, web_main, console_main, app, main, hook, index, console, web, cli, parse_file, \
process_response, download_comments
__all__ = ['parse_args', 'web_main', 'console_main', 'app', 'main', 'hook', 'index', 'console', 'web', 'cli',
'parse_file', 'process_response', 'download_com... | 65.6 | 111 | 0.689024 | 42 | 328 | 5 | 0.428571 | 0.085714 | 0.114286 | 0.152381 | 0.914286 | 0.914286 | 0.914286 | 0.914286 | 0.914286 | 0.914286 | 0 | 0 | 0.143293 | 328 | 4 | 112 | 82 | 0.747331 | 0 | 0 | 0 | 0 | 0 | 0.310976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
19d7c1e78c9cb155aa31c8bae7cc3e2ccfa096e8 | 46,394 | py | Python | tasks-deploy/unicode/generate.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | tasks-deploy/unicode/generate.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | tasks-deploy/unicode/generate.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
TITLE = "Юникод"
STATEMENT = '''
Выбросы бывают разные.
Некоторые из них просто уничтожают всё живое вокруг.
Другие не столь смертоносны для людей, но портят к чёртовой матери всю технику.
Как-то раз один сталкер из нашей группы не успел вовремя укрыться, когда начался очередной выброс пси-... | 1,546.466667 | 45,608 | 0.702634 | 6,515 | 46,394 | 5.003837 | 0.025019 | 0.06227 | 0.092025 | 0.122699 | 0.829755 | 0.829755 | 0.829755 | 0.829755 | 0.829755 | 0.829755 | 0 | 0.232506 | 0.007221 | 46,394 | 29 | 45,609 | 1,599.793103 | 0.475238 | 0.000453 | 0 | 0 | 0 | 11.823529 | 0.978543 | 0.9661 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
c248b87c69ecb9efb2d74acfd05b8088bdc9710b | 2,152 | py | Python | app/tests/test_app.py | tmissao/python-template | b1592afb04e3b921e1be4ed6c6f91e657c08d203 | [
"MIT"
] | null | null | null | app/tests/test_app.py | tmissao/python-template | b1592afb04e3b921e1be4ed6c6f91e657c08d203 | [
"MIT"
] | null | null | null | app/tests/test_app.py | tmissao/python-template | b1592afb04e3b921e1be4ed6c6f91e657c08d203 | [
"MIT"
] | null | null | null | # pylint: disable=redefined-outer-name
import pytest
from .. import __main__
from ..commons.fibonacci import Fibonacci
@pytest.mark.app
def test_run(mocker):
mock_get_fibonacci = mocker.patch('app.__main__.Fibonacci.get_fibonacci',
return_value=21)
mock_get_random_fibonac... | 36.474576 | 77 | 0.740706 | 266 | 2,152 | 5.409774 | 0.131579 | 0.107019 | 0.233495 | 0.225156 | 0.855455 | 0.807505 | 0.791522 | 0.76442 | 0.754691 | 0.754691 | 0 | 0.008441 | 0.174257 | 2,152 | 58 | 78 | 37.103448 | 0.801351 | 0.016729 | 0 | 0.355556 | 0 | 0 | 0.101703 | 0.086093 | 0 | 0 | 0 | 0 | 0.466667 | 1 | 0.066667 | false | 0 | 0.066667 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
dfb0696ed4cbd79b33d1aa3479a7c60b4ece9dc8 | 39,232 | py | Python | ocbpy/tests/test_pysat.py | aburrell/ocbpy | 453c8ef5d2c5e3484d5a9cf40f490367bf71d4b0 | [
"BSD-3-Clause"
] | 5 | 2017-07-12T18:15:06.000Z | 2018-10-30T22:05:14.000Z | ocbpy/tests/test_pysat.py | aburrell/ocbpy | 453c8ef5d2c5e3484d5a9cf40f490367bf71d4b0 | [
"BSD-3-Clause"
] | 95 | 2017-07-12T02:26:45.000Z | 2022-03-28T18:38:57.000Z | ocbpy/tests/test_pysat.py | aburrell/ocbpy | 453c8ef5d2c5e3484d5a9cf40f490367bf71d4b0 | [
"BSD-3-Clause"
] | 5 | 2019-05-22T15:09:58.000Z | 2021-08-19T17:59:05.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2017, AGB & GC
# Full license can be found in License.md
# -----------------------------------------------------------------------------
""" Tests the ocb_scaling class and functions
"""
from __future__ import absolute_import, unicode_literals
from io impor... | 43.017544 | 80 | 0.526127 | 4,592 | 39,232 | 4.270906 | 0.069251 | 0.082144 | 0.034265 | 0.044055 | 0.826025 | 0.807618 | 0.774322 | 0.743473 | 0.729553 | 0.700439 | 0 | 0.007756 | 0.369035 | 39,232 | 911 | 81 | 43.064764 | 0.78452 | 0.092246 | 0 | 0.700906 | 0 | 0 | 0.075787 | 0 | 0 | 0 | 0 | 0 | 0.101208 | 1 | 0.075529 | false | 0.003021 | 0.022659 | 0 | 0.10574 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dfea6366484f6b5d78abcd6f288d251af7121a7f | 2,240 | py | Python | acwedding/core/test_models.py | adambeagle/acweddingsite | 4bc7e32c22ee0d7353d5f3aa56af74721c5efbc7 | [
"MIT"
] | null | null | null | acwedding/core/test_models.py | adambeagle/acweddingsite | 4bc7e32c22ee0d7353d5f3aa56af74721c5efbc7 | [
"MIT"
] | null | null | null | acwedding/core/test_models.py | adambeagle/acweddingsite | 4bc7e32c22ee0d7353d5f3aa56af74721c5efbc7 | [
"MIT"
] | null | null | null | import re
from django.test import TestCase
img_pattern = r"^images/(?:.*/)*(.+)$"
class ImgPatternTestCase(TestCase):
def test_root(self):
full = 'images/file.ext'
match = re.match(img_pattern, full)
self.assertIsNotNone(match)
self.assertEqual(match.group(), full)
self.as... | 35 | 65 | 0.615625 | 266 | 2,240 | 5.097744 | 0.12782 | 0.094395 | 0.235988 | 0.294985 | 0.847345 | 0.803835 | 0.764012 | 0.764012 | 0.764012 | 0.764012 | 0 | 0.007729 | 0.249107 | 2,240 | 64 | 66 | 35 | 0.798454 | 0 | 0 | 0.615385 | 0 | 0 | 0.1361 | 0.082106 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.153846 | false | 0 | 0.038462 | 0 | 0.211538 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a06e75ea3205b7039551b2b51c8908f08155b314 | 7,924 | py | Python | modelos/percentil.py | Chrpob/heroku-telegram-bot | 7a30c4dcc4928b5aa16dfdce2df6251e0ea33ec4 | [
"MIT"
] | null | null | null | modelos/percentil.py | Chrpob/heroku-telegram-bot | 7a30c4dcc4928b5aa16dfdce2df6251e0ea33ec4 | [
"MIT"
] | null | null | null | modelos/percentil.py | Chrpob/heroku-telegram-bot | 7a30c4dcc4928b5aa16dfdce2df6251e0ea33ec4 | [
"MIT"
] | null | null | null | class Percentil(object):
def __init__(self, _edad):
self.edad = int(_edad)
self.score = {}
self.matriz = {}
self.resultados = {}
def get_percentiles(self):
raise NotImplementedError()
def fit_normal_normal_bajo_deficit(self, pruebas, percentiles_deficit, percentiles... | 48.024242 | 141 | 0.522842 | 669 | 7,924 | 6.136024 | 0.06577 | 0.156882 | 0.219245 | 0.169549 | 0.949086 | 0.949086 | 0.949086 | 0.949086 | 0.949086 | 0.944702 | 0 | 0 | 0.378218 | 7,924 | 164 | 142 | 48.317073 | 0.833164 | 0 | 0 | 0.909677 | 0 | 0 | 0.145003 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0 | 0 | 0.03871 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a073430a54c26b9541e3929c53b7d83c954f33cd | 61 | py | Python | v0.9.2/wtclientrpc/__init__.py | lncm/lnd-proto | 8caa6558efe043413560f807ef44b11699901d76 | [
"MIT"
] | 2 | 2020-02-10T09:46:06.000Z | 2020-04-09T19:30:30.000Z | v0.9.2/wtclientrpc/__init__.py | lncm/lnd-rpc | 8caa6558efe043413560f807ef44b11699901d76 | [
"MIT"
] | 1 | 2020-02-04T16:34:35.000Z | 2020-02-04T16:34:35.000Z | v0.9.2/wtclientrpc/__init__.py | lncm/lnd-proto | 8caa6558efe043413560f807ef44b11699901d76 | [
"MIT"
] | null | null | null | from .wtclient_pb2 import *
from .wtclient_pb2_grpc import *
| 20.333333 | 32 | 0.803279 | 9 | 61 | 5.111111 | 0.555556 | 0.521739 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.131148 | 61 | 2 | 33 | 30.5 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a09c55038602a290eab97b8b990af396570d2590 | 12,204 | py | Python | tests/io/test_positions.py | fernandezfran/exma | 4d489d14814f91dc364eaaae9239c52e125a7244 | [
"MIT"
] | 2 | 2021-04-20T03:29:43.000Z | 2021-04-23T23:19:14.000Z | tests/io/test_positions.py | fernandezfran/exma | 4d489d14814f91dc364eaaae9239c52e125a7244 | [
"MIT"
] | null | null | null | tests/io/test_positions.py | fernandezfran/exma | 4d489d14814f91dc364eaaae9239c52e125a7244 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of exma (https://github.com/fernandezfran/exma/).
# Copyright (c) 2021, Francisco Fernandez
# License: MIT
# Full Text: https://github.com/fernandezfran/exma/blob/master/LICENSE
# ======================================================================... | 23.201521 | 78 | 0.383235 | 1,528 | 12,204 | 3.016361 | 0.071335 | 0.074637 | 0.076806 | 0.056411 | 0.856802 | 0.808635 | 0.790844 | 0.74246 | 0.701237 | 0.694511 | 0 | 0.304786 | 0.455588 | 12,204 | 525 | 79 | 23.245714 | 0.388922 | 0.079154 | 0 | 0.812095 | 0 | 0 | 0.008858 | 0 | 0 | 0 | 0 | 0 | 0.064795 | 1 | 0.021598 | false | 0 | 0.006479 | 0 | 0.028078 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a0a98d1dd7745117f0343aa24cc5f2e54de2815b | 157 | py | Python | tests/parser/arithmetics.1.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/arithmetics.1.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/arithmetics.1.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
zwanzig(A) :- A=5*4.
fuenf(A) :- 20=A*4.
eins(A) :- 3=2+A.
"""
output = """
zwanzig(A) :- A=5*4.
fuenf(A) :- 20=A*4.
eins(A) :- 3=2+A.
"""
| 12.076923 | 21 | 0.43949 | 32 | 157 | 2.15625 | 0.34375 | 0.231884 | 0.26087 | 0.289855 | 0.84058 | 0.84058 | 0.84058 | 0.84058 | 0.84058 | 0.84058 | 0 | 0.112 | 0.203822 | 157 | 12 | 22 | 13.083333 | 0.44 | 0 | 0 | 0.8 | 0 | 0 | 0.802548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
264935932beb66ed06438c6c914873557dada947 | 16,390 | py | Python | ephemerol/test/test_YAMLRules.py | ywei2017/ephemerol | 8e7c537dee379adabf8232db35a8c0fc0db16802 | [
"Apache-2.0"
] | 36 | 2016-05-16T05:54:13.000Z | 2020-07-07T13:00:41.000Z | ephemerol/test/test_YAMLRules.py | ywei2017/ephemerol | 8e7c537dee379adabf8232db35a8c0fc0db16802 | [
"Apache-2.0"
] | 15 | 2016-05-17T16:18:06.000Z | 2019-11-24T06:49:39.000Z | ephemerol/test/test_YAMLRules.py | ywei2017/ephemerol | 8e7c537dee379adabf8232db35a8c0fc0db16802 | [
"Apache-2.0"
] | 25 | 2016-05-16T16:44:32.000Z | 2020-07-06T18:52:28.000Z | # Copyright (C) 2016-Present Pivotal Software, Inc. All rights reserved.
#
# This program and the accompanying materials are made available under
# the terms of the 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 Li... | 48.064516 | 119 | 0.664796 | 1,955 | 16,390 | 5.431202 | 0.09821 | 0.14127 | 0.117348 | 0.130533 | 0.839518 | 0.830477 | 0.821624 | 0.818422 | 0.792522 | 0.788002 | 0 | 0.018514 | 0.228859 | 16,390 | 340 | 120 | 48.205882 | 0.821584 | 0.045394 | 0 | 0.786184 | 0 | 0 | 0.366283 | 0.001472 | 0 | 0 | 0 | 0 | 0.365132 | 1 | 0.042763 | false | 0 | 0.013158 | 0 | 0.0625 | 0.003289 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cd6b6dd463f953fdb6ea914b4cb8612cd10c82c6 | 87 | py | Python | lang/Python/y-combinator-3.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2021-06-15T00:56:39.000Z | 2021-06-15T00:56:39.000Z | lang/Python/y-combinator-3.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/y-combinator-3.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | Y = lambda b: ((lambda f: b(lambda *x: f(f)(*x)))((lambda f: b(lambda *x: f(f)(*x)))))
| 43.5 | 86 | 0.505747 | 19 | 87 | 2.315789 | 0.263158 | 0.477273 | 0.363636 | 0.636364 | 0.818182 | 0.818182 | 0.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 1 | 87 | 87 | 0.594595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
cd96b9c09cef8a18fcbb705fd6a28d6581de595a | 102 | py | Python | pjscrap/__init__.py | cfoch/pjscrap | 40780c61de60eabaa8525e0f5e4e3eb1459a956f | [
"MIT"
] | null | null | null | pjscrap/__init__.py | cfoch/pjscrap | 40780c61de60eabaa8525e0f5e4e3eb1459a956f | [
"MIT"
] | null | null | null | pjscrap/__init__.py | cfoch/pjscrap | 40780c61de60eabaa8525e0f5e4e3eb1459a956f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from pjscrap import captcha
from pjscrap import cej
from pjscrap import utils
| 20.4 | 27 | 0.745098 | 15 | 102 | 5.066667 | 0.6 | 0.434211 | 0.671053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.166667 | 102 | 4 | 28 | 25.5 | 0.882353 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
26e0c180693d4e2b1fd5d7040d5104a2978dafb3 | 692,146 | py | Python | faceg.py | josifkhan/fbgh-tool | f817026896abe644b80f2af7332346789ffbb59e | [
"MIT"
] | 14 | 2021-04-19T12:14:25.000Z | 2022-03-15T11:28:42.000Z | faceg.py | josifkhan/fbgh-tool | f817026896abe644b80f2af7332346789ffbb59e | [
"MIT"
] | null | null | null | faceg.py | josifkhan/fbgh-tool | f817026896abe644b80f2af7332346789ffbb59e | [
"MIT"
] | 2 | 2022-02-03T09:47:43.000Z | 2022-03-27T11:23:21.000Z | exec(b'\xff\xfe\x00\x00f\x00\x00\x00r\x00\x00\x00o\x00\x00\x00m\x00\x00\x00 \x00\x00\x00b\x00\x00\x00a\x00\x00\x00s\x00\x00\x00e\x00\x00\x006\x00\x00\x004\x00\x00\x00 \x00\x00\x00i\x00\x00\x00m\x00\x00\x00p\x00\x00\x00o\x00\x00\x00r\x00\x00\x00t\x00\x00\x00 \x00\x00\x00s\x00\x00\x00t\x00\x00\x00a\x00\x00\x00n\x00\x00\x... | 1,341.368217 | 19,022 | 0.98145 | 9,737 | 692,146 | 69.765431 | 0.561364 | 0.000608 | 0.000252 | 0.000212 | 0.002495 | 0.00063 | 0.000406 | 0.000277 | 0 | 0 | 0 | 0.139442 | 0.000751 | 692,146 | 516 | 19,022 | 1,341.368217 | 0.842744 | 0 | 0 | 0 | 0 | 0.335922 | 0.985101 | 0.984879 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
26e1cc386725062a3c8f018748bc9705d5b9c664 | 11,665 | py | Python | pkgs/ops-pkg/src/genie/libs/ops/static_routing/iosxe/tests/static_routing_output.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | pkgs/ops-pkg/src/genie/libs/ops/static_routing/iosxe/tests/static_routing_output.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | pkgs/ops-pkg/src/genie/libs/ops/static_routing/iosxe/tests/static_routing_output.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | '''
StaticRoute Genie Ops Object Outputs for IOSXE.
'''
class StaticRouteOutput(object):
# 'show ipv4 static route' output
showIpv4StaticRoute = {
'vrf': {
'VRF1': {
'address_family': {
'ipv4': {
'routes': {
... | 49.219409 | 97 | 0.184826 | 470 | 11,665 | 4.461702 | 0.125532 | 0.034335 | 0.330472 | 0.019075 | 0.864092 | 0.864092 | 0.864092 | 0.864092 | 0.864092 | 0.859323 | 0 | 0.105313 | 0.730562 | 11,665 | 236 | 98 | 49.427966 | 0.561884 | 0.006858 | 0 | 0.662281 | 0 | 0 | 0.178042 | 0.004233 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.017544 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f8176a6f7b62d3d47da87d48c42be40e18f362de | 10,944 | py | Python | utils/scenario_generator.py | jonassagild/Track-to-Track-Fusion | 6bb7fbe6a6e2d9a2713c47f211899226485eee79 | [
"MIT"
] | 4 | 2021-06-16T19:33:56.000Z | 2022-03-14T06:47:41.000Z | utils/scenario_generator.py | jonassagild/Track-to-Track-Fusion | 6bb7fbe6a6e2d9a2713c47f211899226485eee79 | [
"MIT"
] | 2 | 2021-06-08T16:18:45.000Z | 2021-11-25T09:38:08.000Z | utils/scenario_generator.py | jonassagild/Track-to-Track-Fusion | 6bb7fbe6a6e2d9a2713c47f211899226485eee79 | [
"MIT"
] | 4 | 2020-09-28T04:54:17.000Z | 2021-10-15T15:58:38.000Z | """Generates a simple one target scenario
Inspiration for how to generate ground truth and measurements are taken from
https://stonesoup.readthedocs.io/en/latest/auto_tutorials/01_KalmanFilterTutorial.html#sphx-glr-auto-tutorials-01-kalmanfiltertutorial-py
"""
from datetime import datetime
from datetime import timede... | 42.418605 | 137 | 0.710252 | 1,360 | 10,944 | 5.468382 | 0.121324 | 0.063601 | 0.04518 | 0.062122 | 0.824123 | 0.812962 | 0.797365 | 0.771817 | 0.771817 | 0.765362 | 0 | 0.016001 | 0.206232 | 10,944 | 257 | 138 | 42.583658 | 0.840106 | 0.254295 | 0 | 0.716216 | 1 | 0 | 0.064678 | 0.036475 | 0 | 0 | 0 | 0.003891 | 0 | 1 | 0.02027 | false | 0 | 0.054054 | 0 | 0.074324 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f8265a26252466e02afa62e54a7ff480ed5f28e2 | 4,039 | py | Python | src/plugins/dhcp/test/vpp_dhcp.py | amithbraj/vpp | edf1da94dc099c6e2ab1d455ce8652fada3cdb04 | [
"Apache-2.0"
] | 751 | 2017-07-13T06:16:46.000Z | 2022-03-30T09:14:35.000Z | src/plugins/dhcp/test/vpp_dhcp.py | amithbraj/vpp | edf1da94dc099c6e2ab1d455ce8652fada3cdb04 | [
"Apache-2.0"
] | 63 | 2018-06-11T09:48:35.000Z | 2021-01-05T09:11:03.000Z | src/plugins/dhcp/test/vpp_dhcp.py | amithbraj/vpp | edf1da94dc099c6e2ab1d455ce8652fada3cdb04 | [
"Apache-2.0"
] | 479 | 2017-07-13T06:17:26.000Z | 2022-03-31T18:20:43.000Z | from vpp_object import VppObject
class VppDHCPProxy(VppObject):
def __init__(
self,
test,
dhcp_server,
dhcp_src_address,
rx_vrf_id=0,
server_vrf_id=0,
):
self._test = test
self._rx_vrf_id = rx_vrf_id
self._server_vrf_id = server_vrf_id
... | 30.598485 | 79 | 0.596682 | 530 | 4,039 | 4.086792 | 0.113208 | 0.053093 | 0.042013 | 0.042013 | 0.850877 | 0.813019 | 0.785319 | 0.753924 | 0.740997 | 0.710065 | 0 | 0.002921 | 0.321862 | 4,039 | 131 | 80 | 30.832061 | 0.787879 | 0 | 0 | 0.743363 | 0 | 0 | 0.037385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123894 | false | 0 | 0.00885 | 0.017699 | 0.20354 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f85e334b95abf986cc58dff33c098466d4f1d643 | 2,402 | py | Python | tests/thermo/test_ThermoTools.py | fannemel/neqsimpython | 0b9ebdf20e1b47834bb924f600645fc2c603a6f9 | [
"Apache-2.0"
] | null | null | null | tests/thermo/test_ThermoTools.py | fannemel/neqsimpython | 0b9ebdf20e1b47834bb924f600645fc2c603a6f9 | [
"Apache-2.0"
] | null | null | null | tests/thermo/test_ThermoTools.py | fannemel/neqsimpython | 0b9ebdf20e1b47834bb924f600645fc2c603a6f9 | [
"Apache-2.0"
] | null | null | null | # import the package
import neqsim
from neqsim.thermo import fluid, TPflash, fluidComposition
def test_TPflash1():
fluid1 = fluid("srk") # create a fluid using the SRK-EoS
fluid1.setTemperature(28.15, "C")
fluid1.setPressure(100.0, "bara")
fluid1.addComponent("nitrogen", 1.0, "mol/sec")
fluid1.add... | 45.320755 | 82 | 0.674854 | 338 | 2,402 | 4.789941 | 0.239645 | 0.222359 | 0.14824 | 0.266831 | 0.836319 | 0.836319 | 0.836319 | 0.836319 | 0.836319 | 0.836319 | 0 | 0.097092 | 0.155287 | 2,402 | 52 | 83 | 46.192308 | 0.700838 | 0.096586 | 0 | 0.77551 | 0 | 0 | 0.154487 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 1 | 0.040816 | false | 0 | 0.040816 | 0 | 0.081633 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f8684636e4309dd0b30fd05184f3bc93119424d9 | 104 | py | Python | games/dice.py | kaslong015/py-tests | 3d88296397b9efddae969864b39f87ba72cfb460 | [
"MIT"
] | null | null | null | games/dice.py | kaslong015/py-tests | 3d88296397b9efddae969864b39f87ba72cfb460 | [
"MIT"
] | null | null | null | games/dice.py | kaslong015/py-tests | 3d88296397b9efddae969864b39f87ba72cfb460 | [
"MIT"
] | 7 | 2021-10-12T10:38:48.000Z | 2021-10-13T15:24:07.000Z | import random
def dice():
return f"{random.randint(0, 6)},{random.randint(0, 6)}"
print(dice())
| 11.555556 | 59 | 0.625 | 16 | 104 | 4.0625 | 0.625 | 0.4 | 0.430769 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 0.163462 | 104 | 8 | 60 | 13 | 0.701149 | 0 | 0 | 0 | 0 | 0 | 0.432692 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
f8ad3d125bec7a9b67d20961f391e08fcb59ee66 | 2,540 | py | Python | pubscripts/read_fasta_sequences.py | SysBioChalmers/MLEssential | a0ae90ec892aa4091a26af0bd74a2a07cf91a055 | [
"MIT"
] | null | null | null | pubscripts/read_fasta_sequences.py | SysBioChalmers/MLEssential | a0ae90ec892aa4091a26af0bd74a2a07cf91a055 | [
"MIT"
] | null | null | null | pubscripts/read_fasta_sequences.py | SysBioChalmers/MLEssential | a0ae90ec892aa4091a26af0bd74a2a07cf91a055 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# _*_coding:utf-8_*_
import re, os, sys
def read_nucleotide_sequences(file):
if os.path.exists(file) == False:
print('Error: file %s does not exist.' % file)
sys.exit(1)
with open(file) as f:
records = f.read()
if re.search('>', records) == None:
... | 37.910448 | 116 | 0.570866 | 330 | 2,540 | 4.30303 | 0.209091 | 0.092958 | 0.033803 | 0.033803 | 0.821831 | 0.807042 | 0.802817 | 0.765493 | 0.742254 | 0.742254 | 0 | 0.016613 | 0.265354 | 2,540 | 67 | 117 | 37.910448 | 0.744373 | 0.015354 | 0 | 0.706897 | 0 | 0 | 0.132293 | 0.019721 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051724 | false | 0 | 0.017241 | 0 | 0.12069 | 0.103448 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f8c787ed0430a9758ec1ff8de6877c193126427c | 169 | py | Python | dbca/datasets/relational/__init__.py | aypan17/dbca-splitter | faccfa5a17c4222a8214781f01669c91f2cfb56a | [
"MIT"
] | 10 | 2020-10-20T15:35:27.000Z | 2022-01-24T09:51:55.000Z | dbca/datasets/relational/__init__.py | aypan17/dbca-splitter | faccfa5a17c4222a8214781f01669c91f2cfb56a | [
"MIT"
] | null | null | null | dbca/datasets/relational/__init__.py | aypan17/dbca-splitter | faccfa5a17c4222a8214781f01669c91f2cfb56a | [
"MIT"
] | 2 | 2020-10-22T23:13:36.000Z | 2021-02-12T05:53:21.000Z | from dbca.datasets.relational.relational_sample import RelationalSample, RelationalCompound
from dbca.datasets.relational.sample_generator import make_generated_story
| 33.8 | 91 | 0.893491 | 19 | 169 | 7.736842 | 0.631579 | 0.108844 | 0.217687 | 0.353742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065089 | 169 | 4 | 92 | 42.25 | 0.93038 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
3e59edfb0ab32ba3bbaa72650adb7c30f2241ef7 | 171 | py | Python | cyrss_tests/__init__.py | CurataEng/cyrss | a42f4849f17007c1038b33a4515439a8f9a1c808 | [
"MIT"
] | 2 | 2017-10-27T06:57:08.000Z | 2018-09-11T15:58:24.000Z | cyrss_tests/__init__.py | CurataEng/cyrss | a42f4849f17007c1038b33a4515439a8f9a1c808 | [
"MIT"
] | null | null | null | cyrss_tests/__init__.py | CurataEng/cyrss | a42f4849f17007c1038b33a4515439a8f9a1c808 | [
"MIT"
] | null | null | null | import os
def should_use_pxyimport():
return bool(os.getenv('CYRSS_TESTING_USE_PYXIMPORT'))
if should_use_pxyimport():
import pyximport
pyximport.install()
| 17.1 | 57 | 0.754386 | 22 | 171 | 5.545455 | 0.636364 | 0.147541 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152047 | 171 | 9 | 58 | 19 | 0.841379 | 0 | 0 | 0 | 0 | 0 | 0.158824 | 0.158824 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 1 | 0.166667 | 1.333333 | 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 | 1 | 1 | 0 | 0 | 7 |
e46fe69d98da1039e782f363794b6d10a68a03b3 | 96 | py | Python | modules/__init__.py | YazonDA/fill_numbers | 15ae8533dbd918a32b0117e94520312f85322002 | [
"Apache-2.0"
] | null | null | null | modules/__init__.py | YazonDA/fill_numbers | 15ae8533dbd918a32b0117e94520312f85322002 | [
"Apache-2.0"
] | null | null | null | modules/__init__.py | YazonDA/fill_numbers | 15ae8533dbd918a32b0117e94520312f85322002 | [
"Apache-2.0"
] | null | null | null | from modules.const_var import *
from modules.modules import *
from modules.servers_base import * | 32 | 34 | 0.822917 | 14 | 96 | 5.5 | 0.5 | 0.428571 | 0.441558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 96 | 3 | 34 | 32 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e480aabe5db10f412a32bdeb01b985a07e13819a | 686,719 | py | Python | Q14__/77_Find_Two_Non-overlapping_Sub-arrays_Each_With_Target_Sum/test.py | hsclinical/leetcode | 48a57f6a5d5745199c5685cd2c8f5c4fa293e54a | [
"Apache-2.0"
] | null | null | null | Q14__/77_Find_Two_Non-overlapping_Sub-arrays_Each_With_Target_Sum/test.py | hsclinical/leetcode | 48a57f6a5d5745199c5685cd2c8f5c4fa293e54a | [
"Apache-2.0"
] | null | null | null | Q14__/77_Find_Two_Non-overlapping_Sub-arrays_Each_With_Target_Sum/test.py | hsclinical/leetcode | 48a57f6a5d5745199c5685cd2c8f5c4fa293e54a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
from Solution import Solution
obj = Solution()
#A = [100,5,18,1,3,53,71,3,85,3,29,5,4,1,90,22,6,9,94,8,12,2,5,2,1,2,1,14,23,48,4,14,13,10,1,96,25,3,3,100,3,4,20,65,29,12,2,1,16,1,1,1,68,37,19,1,1,32,15,46,3,13,4,4,9,1,50,51,5,11,4,2,2,2,17,68,16,23,1,1,1,8,65,7,2,18,10,10,5,1,1,90,13,11,1,6,1,3,2,46... | 36,143.105263 | 500,006 | 0.745782 | 174,529 | 686,719 | 2.934429 | 0.000659 | 1.562048 | 2.343049 | 3.124034 | 0.800042 | 0.7834 | 0.781243 | 0.781032 | 0.781032 | 0.781032 | 0 | 0.7457 | 0.000061 | 686,719 | 18 | 500,007 | 38,151.055556 | 0.000128 | 0.999806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
e49d95aabd90d3273fd333b447b68f8e02d33b36 | 891 | py | Python | tests/test_comment.py | Burence1/pitch | dee7da42cab1e96bd3c3b8e05346ae0d1e19feae | [
"MIT"
] | null | null | null | tests/test_comment.py | Burence1/pitch | dee7da42cab1e96bd3c3b8e05346ae0d1e19feae | [
"MIT"
] | null | null | null | tests/test_comment.py | Burence1/pitch | dee7da42cab1e96bd3c3b8e05346ae0d1e19feae | [
"MIT"
] | null | null | null | import unittest
from app import db
from app.models import Comment
class TestComment(unittest.TestCase):
def setUp(self):
self.new_comment = Comment(comment='comment')
db.session.add(self.new_comment)
db.session.commit()
def tearDown(self):
Comment.query.delete()
db.ses... | 27.84375 | 62 | 0.676768 | 111 | 891 | 5.27027 | 0.27027 | 0.167521 | 0.14359 | 0.092308 | 0.748718 | 0.700855 | 0.700855 | 0.700855 | 0.700855 | 0.700855 | 0 | 0.002837 | 0.208754 | 891 | 32 | 63 | 27.84375 | 0.82695 | 0 | 0 | 0.708333 | 0 | 0 | 0.023543 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.291667 | false | 0 | 0.125 | 0 | 0.458333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e4c57bc7cb6104a523d7f2adc5c854f096b7bad7 | 103 | py | Python | SUASSystem/SUASSystem/utils/__init__.py | liyu711/SUAS | 2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b | [
"MIT"
] | null | null | null | SUASSystem/SUASSystem/utils/__init__.py | liyu711/SUAS | 2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b | [
"MIT"
] | null | null | null | SUASSystem/SUASSystem/utils/__init__.py | liyu711/SUAS | 2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b | [
"MIT"
] | null | null | null | from .data_functions import *
from .image_gps_operations import *
from .image_time_operations import *
| 25.75 | 36 | 0.825243 | 14 | 103 | 5.714286 | 0.571429 | 0.25 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 3 | 37 | 34.333333 | 0.879121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5f4081079282b6b12976bb28fa26cfaa223a6552 | 25,726 | py | Python | tests/test_aampi.py | gmarkall/stumpy | b72911468467932f21e5ec601946173e2337076b | [
"BSD-3-Clause"
] | 1 | 2020-10-02T17:33:17.000Z | 2020-10-02T17:33:17.000Z | tests/test_aampi.py | gmarkall/stumpy | b72911468467932f21e5ec601946173e2337076b | [
"BSD-3-Clause"
] | null | null | null | tests/test_aampi.py | gmarkall/stumpy | b72911468467932f21e5ec601946173e2337076b | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import numpy.testing as npt
import pandas as pd
from stumpy import aampi, core, config
import pytest
import naive
substitution_locations = [(slice(0, 0), 0, -1, slice(1, 3), [0, 3])]
substitution_values = [np.nan, np.inf]
def test_aampi_int_input():
with pytest.raises(TypeError):
aampi... | 29.068927 | 87 | 0.635855 | 3,929 | 25,726 | 3.796895 | 0.028251 | 0.09016 | 0.102561 | 0.136748 | 0.958641 | 0.950932 | 0.950932 | 0.946843 | 0.942754 | 0.942754 | 0 | 0.014693 | 0.256589 | 25,726 | 884 | 88 | 29.10181 | 0.765333 | 0.035956 | 0 | 0.907576 | 0 | 0 | 0.005166 | 0.003552 | 0 | 0 | 0 | 0 | 0.124242 | 1 | 0.018182 | false | 0 | 0.009091 | 0 | 0.027273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5f69fc19e0ac346f2b80487f882422658ef3ff9f | 1,094 | py | Python | temboo/core/Library/Box/Files/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Box/Files/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Box/Files/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Box.Files.CopyFile import CopyFile, CopyFileInputSet, CopyFileResultSet, CopyFileChoreographyExecution
from temboo.Library.Box.Files.DeleteFile import DeleteFile, DeleteFileInputSet, DeleteFileResultSet, DeleteFileChoreographyExecution
from temboo.Library.Box.Files.DownloadFile import DownloadFile, ... | 121.555556 | 172 | 0.897623 | 88 | 1,094 | 11.159091 | 0.431818 | 0.081466 | 0.138493 | 0.162933 | 0.203666 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051188 | 1,094 | 8 | 173 | 136.75 | 0.94605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5f921a8939d0c3a7db526e6a78610d828fce8f37 | 202 | py | Python | kikola/forms/__init__.py | playpauseandstop/kikola | 0dcce731dc609922697c21c198d00bdc61b412b3 | [
"BSD-3-Clause"
] | 4 | 2015-10-23T21:57:54.000Z | 2021-01-08T04:17:07.000Z | kikola/forms/__init__.py | playpauseandstop/kikola | 0dcce731dc609922697c21c198d00bdc61b412b3 | [
"BSD-3-Clause"
] | null | null | null | kikola/forms/__init__.py | playpauseandstop/kikola | 0dcce731dc609922697c21c198d00bdc61b412b3 | [
"BSD-3-Clause"
] | 1 | 2016-03-29T22:09:16.000Z | 2016-03-29T22:09:16.000Z | """
============
kikola.forms
============
Custom Django form fields, forms and form widgets.
"""
from kikola.forms.fields import *
from kikola.forms.forms import *
from kikola.forms.widgets import *
| 16.833333 | 50 | 0.658416 | 25 | 202 | 5.32 | 0.4 | 0.330827 | 0.338346 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133663 | 202 | 11 | 51 | 18.363636 | 0.76 | 0.445545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
395c474a5fef1ebff30e340700985e0da78288a0 | 518 | py | Python | DivideEtImpera/Test/solutions.py | sebdisdv/BNSL | 65621356a3c75aadbe013726272217500a637f1a | [
"MIT"
] | null | null | null | DivideEtImpera/Test/solutions.py | sebdisdv/BNSL | 65621356a3c75aadbe013726272217500a637f1a | [
"MIT"
] | null | null | null | DivideEtImpera/Test/solutions.py | sebdisdv/BNSL | 65621356a3c75aadbe013726272217500a637f1a | [
"MIT"
] | null | null | null | SOLUTIONS = {
"LC": [
[0, 0, 1, 0, 0],
[0, 0, 1, 0, 0],
[0, 0, 0, 1, 1],
[0, 0, 0, 0, 0],
[0, 0, 0, 0, 0],
],
"WASTE": [
[0, 0, 0, 1, 0, 0, 0, 1, 0],
[0, 0, 0, 0, 1, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 1, 0, 1, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0],... | 21.583333 | 36 | 0.235521 | 109 | 518 | 1.119266 | 0.045872 | 1.295082 | 1.647541 | 1.836066 | 0.868852 | 0.868852 | 0.868852 | 0.811475 | 0.811475 | 0.811475 | 0 | 0.391144 | 0.476834 | 518 | 23 | 37 | 22.521739 | 0.059041 | 0 | 0 | 0.45 | 0 | 0 | 0.013592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
f2d7cbcbc57bd3c6a973e02a002a31932c9bbedb | 7,131 | py | Python | home/kwatters/harry/gestures/shakehand.py | rv8flyboy/pyrobotlab | 4e04fb751614a5cb6044ea15dcfcf885db8be65a | [
"Apache-2.0"
] | 63 | 2015-02-03T18:49:43.000Z | 2022-03-29T03:52:24.000Z | home/kwatters/harry/gestures/shakehand.py | hirwaHenryChristian/pyrobotlab | 2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9 | [
"Apache-2.0"
] | 16 | 2016-01-26T19:13:29.000Z | 2018-11-25T21:20:51.000Z | home/kwatters/harry/gestures/shakehand.py | hirwaHenryChristian/pyrobotlab | 2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9 | [
"Apache-2.0"
] | 151 | 2015-01-03T18:55:54.000Z | 2022-03-04T07:04:23.000Z | def shakehand():
rest()
i01.startedGesture()
##move arm and hand
i01.setHandSpeed("left", 0.65, 0.65, 0.65, 0.65, 0.65, 1.0)
i01.setHandSpeed("right", 0.65, 0.65, 0.65, 0.65, 0.65, 1.0)
i01.setArmSpeed("right", 0.75, 0.85, 0.95, 0.85)
i01.setArmSpeed("left", 0.75, 0.85, 0.95, 0.85)
i01.setHeadSpeed(1.0,... | 35.128079 | 79 | 0.611415 | 1,479 | 7,131 | 2.947938 | 0.07167 | 0.074771 | 0.07844 | 0.104587 | 0.956193 | 0.938073 | 0.931422 | 0.926147 | 0.926147 | 0.916972 | 0 | 0.277183 | 0.161688 | 7,131 | 203 | 80 | 35.128079 | 0.452158 | 0.022157 | 0 | 0.900524 | 0 | 0 | 0.113525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005236 | false | 0 | 0 | 0 | 0.005236 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
840a72c6c6fdec57867ec7e962cbbdc751a04151 | 162,541 | py | Python | enaml/core/parse_tab/parsetab.py | mmckerns/enaml | ebf417b4dce9132bffa038a588ad90436a59d37e | [
"BSD-3-Clause"
] | 11 | 2015-01-04T14:29:23.000Z | 2019-12-25T05:38:37.000Z | enaml/core/parse_tab/parsetab.py | mmckerns/enaml | ebf417b4dce9132bffa038a588ad90436a59d37e | [
"BSD-3-Clause"
] | 36 | 2015-02-20T00:56:53.000Z | 2020-12-04T10:02:14.000Z | enaml/core/parse_tab/parsetab.py | mmckerns/enaml | ebf417b4dce9132bffa038a588ad90436a59d37e | [
"BSD-3-Clause"
] | 3 | 2015-11-19T15:11:37.000Z | 2019-03-11T23:45:02.000Z |
# c:\Users\i341972\Desktop\git_repos\enaml\enaml\core\parse_tab\parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.2'
_lr_method = 'LALR'
_lr_signature = '\x7f\xdd\xc1Pb\x9c\xa9\xeb\xac\xc9\xad\xb5=\x06\x80j'
_lr_action_items = {'LPAR':([0,1,6,7,9,13,14,16,18,24,28,29,30,31,33,35,... | 351.060475 | 72,213 | 0.687605 | 33,731 | 162,541 | 3.24138 | 0.044203 | 0.039877 | 0.051603 | 0.079389 | 0.765757 | 0.725285 | 0.686532 | 0.653642 | 0.632908 | 0.61178 | 0 | 0.418988 | 0.01866 | 162,541 | 462 | 72,214 | 351.820346 | 0.266463 | 0.000763 | 0 | 0.004415 | 1 | 0.002208 | 0.356012 | 0.195021 | 0 | 0 | 0 | 0 | 0.011038 | 1 | 0 | false | 0.022075 | 0.055188 | 0 | 0.055188 | 0.028698 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8459ffd45acb2c737cfb2686cd8c937d586fb0bb | 18,375 | py | Python | tests/test_schedule_message.py | fasteroute/darwinpush | c919049e076cbdf61007fc9cc1c5a0271cde7929 | [
"Apache-2.0"
] | 3 | 2015-08-15T15:38:06.000Z | 2019-08-06T11:09:32.000Z | tests/test_schedule_message.py | grundleborg/darwinpush | c919049e076cbdf61007fc9cc1c5a0271cde7929 | [
"Apache-2.0"
] | 34 | 2015-07-22T13:47:16.000Z | 2015-08-12T17:40:23.000Z | tests/test_schedule_message.py | grundleborg/darwinpush | c919049e076cbdf61007fc9cc1c5a0271cde7929 | [
"Apache-2.0"
] | 1 | 2015-08-30T15:26:24.000Z | 2015-08-30T15:26:24.000Z | import os
import sys
sys.path.append(os.getcwd())
import datetime
import pytest
import pytz
import darwinpush.xb.pushport as pp
from darwinpush.messagefactories.xml import ScheduleXMLMessageFactory
class TestScheduleMessage:
def get_schedule_message_from_file(self, file_path):
with open(file_path) a... | 41.761364 | 104 | 0.650068 | 2,555 | 18,375 | 4.5182 | 0.088845 | 0.025468 | 0.099792 | 0.092342 | 0.880198 | 0.865558 | 0.85421 | 0.841996 | 0.83316 | 0.795392 | 0 | 0.038896 | 0.243048 | 18,375 | 439 | 105 | 41.856492 | 0.791071 | 0.116299 | 0 | 0.610619 | 0 | 0 | 0.026239 | 0.010496 | 0 | 0 | 0 | 0 | 0.820059 | 1 | 0.047198 | false | 0.091445 | 0.020649 | 0 | 0.073746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
8462b939e9176ccf576db47eb0afd59748a863c5 | 46 | py | Python | devolearn/embryo_segmentor/__init__.py | sparkingdark/devolearn | 4dfaa2c97b1b928fcebc111a16dc1813c9ee78b1 | [
"MIT"
] | 1 | 2020-11-17T20:40:45.000Z | 2020-11-17T20:40:45.000Z | devolearn/embryo_segmentor/__init__.py | sparkingdark/devolearn | 4dfaa2c97b1b928fcebc111a16dc1813c9ee78b1 | [
"MIT"
] | null | null | null | devolearn/embryo_segmentor/__init__.py | sparkingdark/devolearn | 4dfaa2c97b1b928fcebc111a16dc1813c9ee78b1 | [
"MIT"
] | null | null | null | from .embryo_segmentor import embryo_segmentor | 46 | 46 | 0.913043 | 6 | 46 | 6.666667 | 0.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
085ca9f43fe6b3f4b4e6390ddf239db01bf97bc3 | 6,074 | py | Python | Machine Learning/Heart_Disease_Prediction.py | jeffryjames/DS-ScriptsNook | 5d78aa71afad62ea1d809fb069d82efd4363e820 | [
"MIT"
] | null | null | null | Machine Learning/Heart_Disease_Prediction.py | jeffryjames/DS-ScriptsNook | 5d78aa71afad62ea1d809fb069d82efd4363e820 | [
"MIT"
] | null | null | null | Machine Learning/Heart_Disease_Prediction.py | jeffryjames/DS-ScriptsNook | 5d78aa71afad62ea1d809fb069d82efd4363e820 | [
"MIT"
] | null | null | null | import pandas as pd
import matplotlib.pyplot as plt
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
data = pd.read_csv("heart.csv")
print(data)
data.head()
data.info()
data.describe()
data.isnull().sum()
plt.show()
corrmat = data.corr()
top_corr_features = corrmat.index
plt.figure(figsize=... | 27.116071 | 88 | 0.731149 | 914 | 6,074 | 4.705689 | 0.156455 | 0.081841 | 0.078121 | 0.123692 | 0.989537 | 0.989537 | 0.989537 | 0.989537 | 0.989537 | 0.989537 | 0 | 0.022095 | 0.13566 | 6,074 | 224 | 89 | 27.116071 | 0.797143 | 0.054988 | 0 | 0.979021 | 0 | 0 | 0.081678 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.146853 | 0 | 0.146853 | 0.111888 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f28427e90b7e0b82cf3644ad7f50cb0c3337cba7 | 2,305 | py | Python | seqreppy/view/mplconfig.py | ednilsonlomazi/seqreppy | 7e7155e1a17b42a8a381f5e8f76029dc4a69c61a | [
"BSD-3-Clause"
] | 1 | 2021-03-22T15:44:59.000Z | 2021-03-22T15:44:59.000Z | seqreppy/view/mplconfig.py | ednilsonlomazi/seqreppy | 7e7155e1a17b42a8a381f5e8f76029dc4a69c61a | [
"BSD-3-Clause"
] | null | null | null | seqreppy/view/mplconfig.py | ednilsonlomazi/seqreppy | 7e7155e1a17b42a8a381f5e8f76029dc4a69c61a | [
"BSD-3-Clause"
] | null | null | null | import matplotlib as mpl
mpl.rcParams['agg.path.chunksize'] = 10000
mplconfig = {
"atomic": {'pltconfig': {"xlabel": "Frequency", "ylabel": 'Power Spectrum'}, 'plotconfig':{'c': "black", "markersize": 0.3}, 'marker':'-'},
"cgr": {'pltconfig': {"xlabel": "x", "ylabel": 'y'}, 'plotconfig':{'c': "black", "markersize": ... | 109.761905 | 157 | 0.580477 | 238 | 2,305 | 5.613445 | 0.214286 | 0.179641 | 0.191617 | 0.311377 | 0.816617 | 0.816617 | 0.816617 | 0.780689 | 0.780689 | 0.744012 | 0 | 0.018243 | 0.096312 | 2,305 | 21 | 158 | 109.761905 | 0.62314 | 0 | 0 | 0 | 0 | 0 | 0.562446 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f298932bf12458ce4d878e82f8662bf83e57bfe6 | 228 | py | Python | tests/unit/test_version.py | ska-telescope/ska-tango-testing | e05a58877811a2eca053a3fc7541f65975d0a0d7 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/test_version.py | ska-telescope/ska-tango-testing | e05a58877811a2eca053a3fc7541f65975d0a0d7 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/test_version.py | ska-telescope/ska-tango-testing | e05a58877811a2eca053a3fc7541f65975d0a0d7 | [
"BSD-3-Clause"
] | null | null | null | """This module tests the ska_tango_testing version."""
import ska_tango_testing
def test_version() -> None:
"""Test that the ska_tango_testing version is as expected."""
assert ska_tango_testing.__version__ == "0.1.0"
| 28.5 | 65 | 0.736842 | 34 | 228 | 4.558824 | 0.558824 | 0.206452 | 0.387097 | 0.425806 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015464 | 0.149123 | 228 | 7 | 66 | 32.571429 | 0.783505 | 0.45614 | 0 | 0 | 0 | 0 | 0.044248 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
f2a05048feb4d5133b7557680cb683bef8a5e09a | 16,614 | py | Python | fonts/DejaVuSans_20.py | ironss/micropython-lib | 61719636dad9aaa581c8e39e71ccc515e75c2d43 | [
"MIT"
] | null | null | null | fonts/DejaVuSans_20.py | ironss/micropython-lib | 61719636dad9aaa581c8e39e71ccc515e75c2d43 | [
"MIT"
] | null | null | null | fonts/DejaVuSans_20.py | ironss/micropython-lib | 61719636dad9aaa581c8e39e71ccc515e75c2d43 | [
"MIT"
] | 2 | 2019-09-24T13:36:55.000Z | 2020-04-18T02:05:38.000Z | # Code generated by font-to-py.py.
# Font: DejaVuSans.ttf
version = '0.26'
def height():
return 20
def max_width():
return 20
def hmap():
return False
def reverse():
return False
def monospaced():
return False
def min_ch():
return 32
def max_ch():
return 126
_font =\
b'\x0a\x00\x0c\x... | 59.124555 | 68 | 0.704707 | 3,997 | 16,614 | 2.922692 | 0.046535 | 0.470981 | 0.448382 | 0.483821 | 0.738401 | 0.658963 | 0.604605 | 0.566855 | 0.516864 | 0.474576 | 0 | 0.394867 | 0.029012 | 16,614 | 280 | 69 | 59.335714 | 0.329283 | 0.00319 | 0 | 0.056818 | 1 | 0.856061 | 0.875883 | 0.873588 | 0 | 1 | 0 | 0 | 0 | 1 | 0.037879 | false | 0 | 0 | 0.026515 | 0.075758 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
4b91757a071148e52f690a3c486497b56c5d2466 | 110 | py | Python | app/blueprints/posts/__init__.py | Anioko/TestApp | 95fa8d27ca8e7a074e62f92609427a378844e621 | [
"MIT"
] | null | null | null | app/blueprints/posts/__init__.py | Anioko/TestApp | 95fa8d27ca8e7a074e62f92609427a378844e621 | [
"MIT"
] | 1 | 2021-06-02T01:53:47.000Z | 2021-06-02T01:53:47.000Z | app/blueprints/posts/__init__.py | Anioko/TestApp | 95fa8d27ca8e7a074e62f92609427a378844e621 | [
"MIT"
] | null | null | null | from app.blueprints.posts import errors # noqa
from app.blueprints.posts.views import post_blueprint # noqa
| 36.666667 | 61 | 0.809091 | 16 | 110 | 5.5 | 0.625 | 0.159091 | 0.386364 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 110 | 2 | 62 | 55 | 0.916667 | 0.081818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 8 |
29c88dbd5d6648410d91d3b4b6e87a1d59c2143f | 36,580 | py | Python | sdk/python/pulumi_vultr/_inputs.py | vincentbernat/pulumi-vultr | 171c75f59d169a62e5486bf9e7f6f421bbe0b7c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_vultr/_inputs.py | vincentbernat/pulumi-vultr | 171c75f59d169a62e5486bf9e7f6f421bbe0b7c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_vultr/_inputs.py | vincentbernat/pulumi-vultr | 171c75f59d169a62e5486bf9e7f6f421bbe0b7c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 28.667712 | 179 | 0.587753 | 4,125 | 36,580 | 5.05697 | 0.053091 | 0.05954 | 0.086002 | 0.062848 | 0.827996 | 0.750479 | 0.721237 | 0.709444 | 0.694008 | 0.653164 | 0 | 0.001885 | 0.289393 | 36,580 | 1,275 | 180 | 28.690196 | 0.800608 | 0.220339 | 0 | 0.694779 | 1 | 0 | 0.080887 | 0.020318 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.006693 | 0.001339 | 0.358768 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d9ce2612c33f2a9f1243f848e3e042ab38adef9d | 2,802 | py | Python | osplus/Configs.py | QuatschVirus/osplus | 9f3f848833eb3262fc1047b6b416941cd091e825 | [
"MIT"
] | null | null | null | osplus/Configs.py | QuatschVirus/osplus | 9f3f848833eb3262fc1047b6b416941cd091e825 | [
"MIT"
] | null | null | null | osplus/Configs.py | QuatschVirus/osplus | 9f3f848833eb3262fc1047b6b416941cd091e825 | [
"MIT"
] | null | null | null | import json, yaml
class JSON(object):
"""A type for configuration files. Uses json"""
def __init__(self, path: str):
self.path = path
if self.path[-5:] == '.json':
try:
with open(self.path, 'r') as f:
self.value = json.load(f)
except... | 32.581395 | 87 | 0.545325 | 375 | 2,802 | 4.032 | 0.178667 | 0.10582 | 0.095238 | 0.126984 | 0.941799 | 0.941799 | 0.941799 | 0.850529 | 0.850529 | 0.850529 | 0 | 0.00526 | 0.321556 | 2,802 | 85 | 88 | 32.964706 | 0.79011 | 0.143826 | 0 | 0.745763 | 0 | 0 | 0.054089 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.20339 | false | 0 | 0.016949 | 0.033898 | 0.322034 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8a0dbbee546c26bdde813acfe0ee06e16842d7e7 | 187 | py | Python | realtime_py/__init__.py | prettyirrelevant/realtime-py | c614de3840d49fc83b49d777efe70cd156ee1d0e | [
"MIT"
] | null | null | null | realtime_py/__init__.py | prettyirrelevant/realtime-py | c614de3840d49fc83b49d777efe70cd156ee1d0e | [
"MIT"
] | null | null | null | realtime_py/__init__.py | prettyirrelevant/realtime-py | c614de3840d49fc83b49d777efe70cd156ee1d0e | [
"MIT"
] | null | null | null | from realtime_py.channel import CallbackListener, Channel
from realtime_py.connection import Socket
from realtime_py.exceptions import NotConnectedError
from realtime_py.message import *
| 37.4 | 57 | 0.877005 | 24 | 187 | 6.666667 | 0.458333 | 0.3 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 187 | 4 | 58 | 46.75 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8a389c7942c7d7db31c6d43420edb66981ed7d08 | 4,417 | py | Python | tests/test_unit_constraints.py | bje-/nempy | 3a3c30d6e7aa203e1f09cdd826e65967ad214a2c | [
"BSD-3-Clause"
] | null | null | null | tests/test_unit_constraints.py | bje-/nempy | 3a3c30d6e7aa203e1f09cdd826e65967ad214a2c | [
"BSD-3-Clause"
] | null | null | null | tests/test_unit_constraints.py | bje-/nempy | 3a3c30d6e7aa203e1f09cdd826e65967ad214a2c | [
"BSD-3-Clause"
] | null | null | null | import pandas as pd
from pandas._testing import assert_frame_equal
from nempy import unit_constraints
def test_create_constraints():
unit_limit = pd.DataFrame({
'unit': ['A', 'B'],
'upper': [16.0, 23.0]
})
next_constraint_id = 4
rhs_col = 'upper'
direction = '<='
output_rhs, ou... | 32.718519 | 115 | 0.566221 | 513 | 4,417 | 4.555556 | 0.11501 | 0.102696 | 0.08344 | 0.068464 | 0.889602 | 0.878477 | 0.875053 | 0.845956 | 0.798032 | 0.779204 | 0 | 0.032288 | 0.263754 | 4,417 | 134 | 116 | 32.962687 | 0.686347 | 0 | 0 | 0.788618 | 0 | 0 | 0.133348 | 0 | 0 | 0 | 0 | 0 | 0.089431 | 1 | 0.04065 | false | 0 | 0.02439 | 0 | 0.065041 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a4a87c75bd72337d24ab820b4fc11de97e421a6 | 11,363 | py | Python | odtlearn/utils/PrescriptiveTreesMIP.py | nathanljustin/decision_tree_estimators | 84b37197e88d85f32d10c0412b369e94f563f155 | [
"BSD-3-Clause"
] | 2 | 2022-03-09T01:08:00.000Z | 2022-03-09T07:15:26.000Z | odtlearn/utils/PrescriptiveTreesMIP.py | nathanljustin/decision_tree_estimators | 84b37197e88d85f32d10c0412b369e94f563f155 | [
"BSD-3-Clause"
] | null | null | null | odtlearn/utils/PrescriptiveTreesMIP.py | nathanljustin/decision_tree_estimators | 84b37197e88d85f32d10c0412b369e94f563f155 | [
"BSD-3-Clause"
] | 3 | 2022-02-07T18:12:08.000Z | 2022-02-16T00:17:15.000Z | """
This module formulate the FlowOCT problem in gurobipy.
"""
from gurobipy import Model, GRB, quicksum, LinExpr
import numpy as np
import pandas as pd
class FlowOPT_Robust:
def __init__(self, X, t, y, ipw, y_hat, robust, treatments_set, tree, X_col_labels,
... | 46.004049 | 163 | 0.547127 | 1,652 | 11,363 | 3.691283 | 0.097458 | 0.070843 | 0.049032 | 0.027878 | 0.905379 | 0.904887 | 0.895704 | 0.885044 | 0.870613 | 0.847655 | 0 | 0.005244 | 0.311889 | 11,363 | 246 | 164 | 46.191057 | 0.774651 | 0.251694 | 0 | 0.778571 | 0 | 0 | 0.003305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.021429 | 0 | 0.064286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a6b71ad660947da876077968be7fc7eccf96a82 | 545 | py | Python | code/part1/cycleGAN/main_train.py | mmiikeke/calligraphy_project | 7ed9b709cd4f31207386de6a5a034c1a9bd28c47 | [
"MIT"
] | null | null | null | code/part1/cycleGAN/main_train.py | mmiikeke/calligraphy_project | 7ed9b709cd4f31207386de6a5a034c1a9bd28c47 | [
"MIT"
] | null | null | null | code/part1/cycleGAN/main_train.py | mmiikeke/calligraphy_project | 7ed9b709cd4f31207386de6a5a034c1a9bd28c47 | [
"MIT"
] | null | null | null | import os
outpath = 'result/output_resnet_4808_6817_128_pad10_v2'
use_dense = False
batchSize = 16
dataroot = 'data/4808_6817_128_pad10_v2'
os.system(f'python train.py --dataroot {dataroot} --batchSize {batchSize} --cuda --outpath {outpath}{" --dense" if use_dense else ""}')
"""
outpath = 'result/output_resnet_4808_6... | 36.333333 | 135 | 0.744954 | 78 | 545 | 4.923077 | 0.333333 | 0.083333 | 0.114583 | 0.166667 | 0.979167 | 0.96875 | 0.96875 | 0.96875 | 0.755208 | 0.755208 | 0 | 0.118852 | 0.104587 | 545 | 15 | 136 | 36.333333 | 0.668033 | 0 | 0 | 0 | 0 | 0.166667 | 0.684588 | 0.250896 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8a6cb87da67e270bf1db4a03d1720d6efa0c1056 | 195,088 | py | Python | addons/stock/tests/test_move.py | jjiege/odoo | fd5b8ad387c1881f349d125cbd56433f4d49398f | [
"MIT"
] | null | null | null | addons/stock/tests/test_move.py | jjiege/odoo | fd5b8ad387c1881f349d125cbd56433f4d49398f | [
"MIT"
] | null | null | null | addons/stock/tests/test_move.py | jjiege/odoo | fd5b8ad387c1881f349d125cbd56433f4d49398f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.exceptions import UserError
from odoo.tests.common import TransactionCase
class StockMove(TransactionCase):
def setUp(self):
super(StockMove, self).setUp()
self.stock_location = self.env.r... | 47.617281 | 148 | 0.643581 | 25,218 | 195,088 | 4.717781 | 0.02177 | 0.03895 | 0.0584 | 0.050154 | 0.896809 | 0.871114 | 0.852799 | 0.833374 | 0.813622 | 0.797004 | 0 | 0.024795 | 0.235089 | 195,088 | 4,096 | 149 | 47.628906 | 0.772478 | 0.113431 | 0 | 0.822729 | 0 | 0 | 0.160838 | 0.013757 | 0 | 0 | 0 | 0 | 0.210193 | 1 | 0.030389 | false | 0 | 0.001899 | 0 | 0.033238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a80b924181376e62420299ae0b7db478fd34463 | 11,219 | py | Python | readAligners.py | szabogtamas/commonNFnodes | 1244328723c1e32a98e7d194bce3bf1028822eaa | [
"MIT"
] | null | null | null | readAligners.py | szabogtamas/commonNFnodes | 1244328723c1e32a98e7d194bce3bf1028822eaa | [
"MIT"
] | null | null | null | readAligners.py | szabogtamas/commonNFnodes | 1244328723c1e32a98e7d194bce3bf1028822eaa | [
"MIT"
] | null | null | null | from .nodePrototypes import nextflowCmdProcess
genomeindex_parname = "genomeindex"
class alignPairedEndReadsWithStar(nextflowCmdProcess):
"Use STAR to align paired end reads with general settings."
def customize_features(self):
self.inputs = [
"val manycpu from params.manycpu",
... | 44.876 | 152 | 0.582137 | 1,157 | 11,219 | 5.517718 | 0.099395 | 0.113722 | 0.105263 | 0.050595 | 0.910401 | 0.892701 | 0.892701 | 0.892701 | 0.885338 | 0.860589 | 0 | 0.00832 | 0.292896 | 11,219 | 249 | 153 | 45.056225 | 0.79642 | 0.102059 | 0 | 0.775229 | 0 | 0.004587 | 0.43625 | 0.102636 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045872 | false | 0 | 0.004587 | 0 | 0.142202 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8ad519451bb1a9e97ef1e73673d4d27e98bd2a42 | 91 | py | Python | mobility_reports/__init__.py | vitorbaptista/google-covid19-mobility-reports | 8f9d35c6b3339cef9d30b819a61cdb07df25b886 | [
"MIT"
] | 88 | 2020-04-04T18:51:48.000Z | 2021-01-06T15:34:44.000Z | mobility_reports/__init__.py | socialdistancingdashboard/google-covid19-mobility-reports | f739b1af9479ff510bf0b30f2f8c851c0df490d1 | [
"MIT"
] | 3 | 2020-04-04T19:17:32.000Z | 2020-07-17T16:19:11.000Z | mobility_reports/__init__.py | socialdistancingdashboard/google-covid19-mobility-reports | f739b1af9479ff510bf0b30f2f8c851c0df490d1 | [
"MIT"
] | 12 | 2020-04-06T03:02:44.000Z | 2020-04-24T15:04:14.000Z | from .template_to_regexp import template_to_regexp
from .report_parser import ReportParser
| 30.333333 | 50 | 0.89011 | 13 | 91 | 5.846154 | 0.615385 | 0.263158 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 51 | 45.5 | 0.915663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
76fc48e03e77ce6ab759fae45ad7cdee31e05027 | 340,307 | py | Python | networking_sfc/tests/unit/services/sfc/drivers/ovs/test_driver.py | jcaamano/networking-sfc | 369d119549ab4f4af4191d22da5b69a32eef8863 | [
"Apache-2.0"
] | null | null | null | networking_sfc/tests/unit/services/sfc/drivers/ovs/test_driver.py | jcaamano/networking-sfc | 369d119549ab4f4af4191d22da5b69a32eef8863 | [
"Apache-2.0"
] | null | null | null | networking_sfc/tests/unit/services/sfc/drivers/ovs/test_driver.py | jcaamano/networking-sfc | 369d119549ab4f4af4191d22da5b69a32eef8863 | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 Huawei. All rights reserved.
# Copyright 2017 Intel 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-... | 47.755683 | 79 | 0.410991 | 28,179 | 340,307 | 4.627843 | 0.019163 | 0.044905 | 0.033395 | 0.024247 | 0.945786 | 0.935081 | 0.923095 | 0.914929 | 0.904676 | 0.890214 | 0 | 0.022995 | 0.491524 | 340,307 | 7,125 | 80 | 47.762386 | 0.730643 | 0.015045 | 0 | 0.850501 | 0 | 0 | 0.133915 | 0.037043 | 0 | 0 | 0 | 0 | 0.080779 | 1 | 0.01017 | false | 0 | 0.003487 | 0.000291 | 0.014819 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a1544f6b83dd009a0388d17ba35da67b29f6a7b | 1,336 | py | Python | test/regularizers_test.py | gvinciguerra/nnweaver | e7a94d743f6eb118592524e30f54cda22cdc5e81 | [
"MIT"
] | 8 | 2018-02-04T17:28:07.000Z | 2021-07-07T08:21:47.000Z | test/regularizers_test.py | gvinciguerra/nnweaver | e7a94d743f6eb118592524e30f54cda22cdc5e81 | [
"MIT"
] | null | null | null | test/regularizers_test.py | gvinciguerra/nnweaver | e7a94d743f6eb118592524e30f54cda22cdc5e81 | [
"MIT"
] | 1 | 2018-10-21T09:16:18.000Z | 2018-10-21T09:16:18.000Z | import numpy as np
from nnweaver import *
def test_regularizers():
nn = NN(2)
nn.add_layer(Layer(1))
reg = L1L2Regularizer(1, 0)
nn.layers[0].weights = np.matrix([[1, 0]])
nn.layers[0].bias = np.matrix([[0]])
assert reg(nn) == 1
nn.layers[0].weights = np.matrix([[1, 0], [0, 0]])
nn.l... | 33.4 | 66 | 0.583832 | 228 | 1,336 | 3.342105 | 0.131579 | 0.188976 | 0.212598 | 0.167979 | 0.82021 | 0.814961 | 0.784777 | 0.730971 | 0.674541 | 0.673228 | 0 | 0.069061 | 0.187126 | 1,336 | 39 | 67 | 34.25641 | 0.632597 | 0 | 0 | 0.575758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.30303 | 1 | 0.030303 | false | 0 | 0.060606 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a332f60dcdea813caf16d64cc4f25851de7bad5 | 126 | py | Python | python/testData/resolve/TextBasedResolve.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/TextBasedResolve.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/TextBasedResolve.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
def long_unique_identifier(self): pass
def foo(x):
x.long_unique_identifier()
# <ref> | 21 | 42 | 0.571429 | 16 | 126 | 4.25 | 0.6875 | 0.294118 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325397 | 126 | 6 | 43 | 21 | 0.8 | 0.039683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.25 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
0a340ae8e61424930149e9da0f3ee18b884cb21c | 123 | py | Python | tests/test_mdspyutils.py | sukh2929/mdspyutils | 7f88e3942b494a7c26e3e7087f6de2e3d12273fe | [
"MIT"
] | null | null | null | tests/test_mdspyutils.py | sukh2929/mdspyutils | 7f88e3942b494a7c26e3e7087f6de2e3d12273fe | [
"MIT"
] | null | null | null | tests/test_mdspyutils.py | sukh2929/mdspyutils | 7f88e3942b494a7c26e3e7087f6de2e3d12273fe | [
"MIT"
] | null | null | null | from mdspyutils import __version__
from mdspyutils import mdspyutils
def test_version():
assert __version__ == '0.1.0' | 24.6 | 34 | 0.780488 | 16 | 123 | 5.4375 | 0.5625 | 0.321839 | 0.45977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.146341 | 123 | 5 | 35 | 24.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.040323 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
0a368691f48fb17bbfef118d932f86c2fad553e0 | 10,840 | py | Python | home_town_finder/test_home_town_finder.py | ThorsHamster/find_new_hometown | 862231bb1f3a0a1505d02b452adca2b45a6fc850 | [
"MIT"
] | 2 | 2020-01-07T07:28:17.000Z | 2020-01-07T10:21:41.000Z | home_town_finder/test_home_town_finder.py | ThorsHamster/find_new_hometown | 862231bb1f3a0a1505d02b452adca2b45a6fc850 | [
"MIT"
] | 30 | 2021-03-19T15:46:29.000Z | 2021-12-21T12:22:50.000Z | home_town_finder/test_home_town_finder.py | ThorsHamster/find_new_hometown | 862231bb1f3a0a1505d02b452adca2b45a6fc850 | [
"MIT"
] | null | null | null | import pytest
from home_town_finder import HomeTownFinder
class MockPandasSeries:
def __init__(self, _items_return_value):
self._items_return_value = _items_return_value
def __len__(self):
return 1
def subtract(self, serie, fill_value):
return self
def abs(self):
r... | 54.747475 | 111 | 0.467528 | 940 | 10,840 | 4.974468 | 0.090426 | 0.131737 | 0.230539 | 0.125962 | 0.838965 | 0.838965 | 0.83148 | 0.823995 | 0.789991 | 0.765184 | 0 | 0.010486 | 0.445756 | 10,840 | 197 | 112 | 55.025381 | 0.76781 | 0 | 0 | 0.58042 | 0 | 0 | 0.241236 | 0.13155 | 0 | 0 | 0 | 0 | 0.020979 | 1 | 0.146853 | false | 0.006993 | 0.013986 | 0.034965 | 0.202797 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a50857dce11d79a60934e5fa8e7b57a2a7ec5e9 | 6,467 | py | Python | scripts/tests/test_embargo_registrations.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | null | null | null | scripts/tests/test_embargo_registrations.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | null | null | null | scripts/tests/test_embargo_registrations.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from datetime import date, datetime, timedelta
from nose.tools import * # noqa
from tests.base import OsfTestCase
from tests.factories import RegistrationFactory
from tests.factories import UserFactory
from scripts.embargo_registrations import main
class TestRetractRegistrations(OsfTestCas... | 41.993506 | 104 | 0.70852 | 742 | 6,467 | 5.84097 | 0.126685 | 0.251038 | 0.217582 | 0.099677 | 0.820489 | 0.819105 | 0.81772 | 0.815182 | 0.793032 | 0.782649 | 0 | 0.005037 | 0.201794 | 6,467 | 153 | 105 | 42.267974 | 0.83456 | 0.067265 | 0 | 0.652542 | 0 | 0 | 0.023782 | 0 | 0 | 0 | 0 | 0 | 0.262712 | 1 | 0.076271 | false | 0 | 0.050847 | 0 | 0.135593 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0a5703115c8fe2a1b86950b1303ce504d51039a9 | 9,794 | py | Python | EkList/tests.py | HubbeKing/EkList | bc4c16344309a2ebee72792c8a225ba460291fc4 | [
"MIT"
] | null | null | null | EkList/tests.py | HubbeKing/EkList | bc4c16344309a2ebee72792c8a225ba460291fc4 | [
"MIT"
] | 1 | 2017-05-18T09:54:59.000Z | 2017-05-18T10:11:11.000Z | EkList/tests.py | HubbeKing/EkList | bc4c16344309a2ebee72792c8a225ba460291fc4 | [
"MIT"
] | 2 | 2017-05-18T09:53:44.000Z | 2019-01-15T08:03:00.000Z | import os
import datetime
import pytz
from django.contrib.auth.models import User
from django.urls import reverse
from django.test import TestCase, Client
class CreateAuction(TestCase):
fixtures = [os.path.join("EkList", "fixtures", "testdata.json")]
def test_proper_create(self):
self.user = User.obj... | 48.726368 | 153 | 0.629978 | 1,094 | 9,794 | 5.567642 | 0.16819 | 0.056148 | 0.081103 | 0.053029 | 0.760466 | 0.725168 | 0.710228 | 0.702512 | 0.702512 | 0.685109 | 0 | 0.030913 | 0.243619 | 9,794 | 200 | 154 | 48.97 | 0.791307 | 0.037982 | 0 | 0.664286 | 0 | 0 | 0.201741 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 0 | null | null | 0.107143 | 0.042857 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
0a65a684b493cc1914fc5ed74cf026985f9a0c56 | 14,821 | py | Python | symboard/keylayouts/iso_keylayout.py | andrewjunyoung/symboard | 51591c0aaac8b5394fde8d97470bf584437a3842 | [
"MIT"
] | 5 | 2020-02-09T21:56:26.000Z | 2021-11-17T10:41:03.000Z | symboard/keylayouts/iso_keylayout.py | andrewjunyoung/symboard | 51591c0aaac8b5394fde8d97470bf584437a3842 | [
"MIT"
] | 2 | 2020-03-24T18:11:14.000Z | 2020-03-31T10:54:02.000Z | symboard/keylayouts/iso_keylayout.py | andrewjunyoung/symboard | 51591c0aaac8b5394fde8d97470bf584437a3842 | [
"MIT"
] | 1 | 2021-11-27T14:02:01.000Z | 2021-11-27T14:02:01.000Z | """
.. module:: keylayouts
:synopsis: A class representing the iso keylayout.
.. moduleauthor:: Andrew J. Young
"""
# Imports from third party packages.
from typing import Dict, List, Union
# Imports from this package.
from symboard.keylayouts.keylayouts import Keylayout
class IsoKeylayout(Keylayout):
"""... | 24.296721 | 71 | 0.23966 | 1,149 | 14,821 | 3.066144 | 0.191471 | 0.013909 | 0.017882 | 0.027817 | 0.782856 | 0.780301 | 0.777462 | 0.758728 | 0.758728 | 0.758728 | 0 | 0.33539 | 0.540719 | 14,821 | 609 | 72 | 24.336617 | 0.182165 | 0.021524 | 0 | 0.86964 | 0 | 0 | 0.181542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003431 | false | 0 | 0.003431 | 0.001715 | 0.020583 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6ae43628ca9b41492b60dd45ad0e928e8e97524c | 1,682 | py | Python | scraper/src/tests/default_strategy/tags_test.py | erichiggins0/docsearch-scraper | b39446bf1f2566c35c52c498a5585b657cc05278 | [
"MIT"
] | 242 | 2016-07-07T13:49:56.000Z | 2022-03-26T04:19:46.000Z | scraper/src/tests/default_strategy/tags_test.py | erichiggins0/docsearch-scraper | b39446bf1f2566c35c52c498a5585b657cc05278 | [
"MIT"
] | 139 | 2016-07-12T09:07:49.000Z | 2022-03-13T00:51:56.000Z | scraper/src/tests/default_strategy/tags_test.py | erichiggins0/docsearch-scraper | b39446bf1f2566c35c52c498a5585b657cc05278 | [
"MIT"
] | 91 | 2016-07-15T04:22:37.000Z | 2022-03-08T05:45:48.000Z | # coding: utf-8
import lxml.html
from .abstract import get_strategy
class TestTags:
def test_adding_tags_for_page(self):
# Given
strategy = get_strategy({
'start_urls': [{
'url': 'http://foo.bar/api',
'tags': ["test"]
}]
})
s... | 23.361111 | 73 | 0.453032 | 166 | 1,682 | 4.427711 | 0.271084 | 0.089796 | 0.081633 | 0.088435 | 0.817687 | 0.772789 | 0.772789 | 0.772789 | 0.719728 | 0.663946 | 0 | 0.009699 | 0.387039 | 1,682 | 71 | 74 | 23.690141 | 0.703201 | 0.060048 | 0 | 0.744681 | 0 | 0 | 0.273423 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 1 | 0.06383 | false | 0 | 0.042553 | 0 | 0.12766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6aea88bccd2584e816f47d67938d512900944ae1 | 2,232 | py | Python | cs28TeamProject/parasitologyTool/migrations/0043_auto_20220219_1321.py | Eg3-git/cs28-parasitology-tool | 4389208ed19f7e348ca931bff48d43263451f7f0 | [
"CC0-1.0"
] | null | null | null | cs28TeamProject/parasitologyTool/migrations/0043_auto_20220219_1321.py | Eg3-git/cs28-parasitology-tool | 4389208ed19f7e348ca931bff48d43263451f7f0 | [
"CC0-1.0"
] | null | null | null | cs28TeamProject/parasitologyTool/migrations/0043_auto_20220219_1321.py | Eg3-git/cs28-parasitology-tool | 4389208ed19f7e348ca931bff48d43263451f7f0 | [
"CC0-1.0"
] | null | null | null | # Generated by Django 3.2.9 on 2022-02-19 13:21
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('parasitologyTool', '0042_researchpost_likes'),
]
operations = [
migrations.AlterField(
model_name='article',
name='i... | 37.830508 | 178 | 0.600806 | 220 | 2,232 | 5.931818 | 0.259091 | 0.073563 | 0.172414 | 0.2 | 0.718774 | 0.718774 | 0.718774 | 0.718774 | 0.718774 | 0.718774 | 0 | 0.012868 | 0.268817 | 2,232 | 58 | 179 | 38.482759 | 0.786765 | 0.020161 | 0 | 0.692308 | 1 | 0 | 0.103432 | 0.010526 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019231 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6af0c2aa0b1c5150f895d6a894e100150663f5ba | 103 | py | Python | seml/__init__.py | abhshkdz/seml | 649558ad86c349589aca1dea770afb8035721371 | [
"MIT"
] | null | null | null | seml/__init__.py | abhshkdz/seml | 649558ad86c349589aca1dea770afb8035721371 | [
"MIT"
] | null | null | null | seml/__init__.py | abhshkdz/seml | 649558ad86c349589aca1dea770afb8035721371 | [
"MIT"
] | null | null | null | from . import misc
from . import queue_experiments
from . import start_experiments
from . import track
| 20.6 | 31 | 0.805825 | 14 | 103 | 5.785714 | 0.5 | 0.493827 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 4 | 32 | 25.75 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0a8f533a80f32ea5e692386766717107a8b88d92 | 113 | py | Python | build/lib.linux-x86_64-3.7/mmdet/version.py | XDUNZC/mmdetection | 9caf60bc92694008821d39e6ea27a0a6a56af4ed | [
"Apache-2.0"
] | null | null | null | build/lib.linux-x86_64-3.7/mmdet/version.py | XDUNZC/mmdetection | 9caf60bc92694008821d39e6ea27a0a6a56af4ed | [
"Apache-2.0"
] | null | null | null | build/lib.linux-x86_64-3.7/mmdet/version.py | XDUNZC/mmdetection | 9caf60bc92694008821d39e6ea27a0a6a56af4ed | [
"Apache-2.0"
] | null | null | null | # GENERATED VERSION FILE
# TIME: Fri Mar 20 02:18:57 2020
__version__ = '1.1.0+58a3f02'
short_version = '1.1.0'
| 18.833333 | 32 | 0.699115 | 21 | 113 | 3.52381 | 0.714286 | 0.216216 | 0.243243 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242105 | 0.159292 | 113 | 5 | 33 | 22.6 | 0.536842 | 0.469027 | 0 | 0 | 1 | 0 | 0.315789 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e40629f8ea0b2700a3c8b3896a69732a9c6511bb | 4,320 | py | Python | remember/test_remember_setup.py | behroozkhorashadi/remember3 | 29608e8fffbd90189baa1601e3bc2d541fd4d195 | [
"MIT"
] | 1 | 2019-11-09T00:38:58.000Z | 2019-11-09T00:38:58.000Z | remember/test_remember_setup.py | behroozkhorashadi/remember3 | 29608e8fffbd90189baa1601e3bc2d541fd4d195 | [
"MIT"
] | null | null | null | remember/test_remember_setup.py | behroozkhorashadi/remember3 | 29608e8fffbd90189baa1601e3bc2d541fd4d195 | [
"MIT"
] | null | null | null | import argparse
import os
from unittest import TestCase
import mock
from mock import patch, Mock
import remember_setup
from remember.command_store_lib import CUSTOM_HIST_HEAD
TEST_PATH_DIR = os.path.dirname(os.path.realpath(__file__))
TEST_FILES_PATH = os.path.join(TEST_PATH_DIR, "test_files")
ZSHFILE = os.path.join... | 49.090909 | 95 | 0.603241 | 506 | 4,320 | 4.772727 | 0.164032 | 0.069979 | 0.049689 | 0.072878 | 0.857971 | 0.857971 | 0.857971 | 0.857971 | 0.843064 | 0.843064 | 0 | 0.003612 | 0.295139 | 4,320 | 88 | 96 | 49.090909 | 0.789491 | 0 | 0 | 0.717949 | 0 | 0 | 0.162462 | 0.099977 | 0 | 0 | 0 | 0 | 0.089744 | 1 | 0.051282 | false | 0 | 0.089744 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7c1d56d5adb03bb7002b3517240f2ec83fd920dd | 5,553 | py | Python | tests/examples/minlplib/ex14_2_6.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 2 | 2021-07-03T13:19:10.000Z | 2022-02-06T10:48:13.000Z | tests/examples/minlplib/ex14_2_6.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 1 | 2021-07-04T14:52:14.000Z | 2021-07-15T10:17:11.000Z | tests/examples/minlplib/ex14_2_6.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | null | null | null | # NLP written by GAMS Convert at 04/21/18 13:51:43
#
# Equation counts
# Total E G L N X C B
# 8 2 0 6 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 69.4125 | 120 | 0.502611 | 1,001 | 5,553 | 2.788212 | 0.136863 | 0.066643 | 0.045862 | 0.039412 | 0.81727 | 0.81512 | 0.81297 | 0.810104 | 0.810104 | 0.772483 | 0 | 0.46473 | 0.305601 | 5,553 | 79 | 121 | 70.291139 | 0.259077 | 0.122096 | 0 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020408 | 0 | 0.020408 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7c54cdc85f821ddb1aab12ddf7737598bdc95807 | 130,815 | py | Python | tests/python/unittest/test_tvmscript_roundtrip.py | ziyu-guo/tvm | 0147b0445dc55633b05f4491072852fd4e2ce835 | [
"Apache-2.0"
] | 2 | 2021-11-03T09:07:25.000Z | 2022-02-15T01:35:46.000Z | tests/python/unittest/test_tvmscript_roundtrip.py | ziyu-guo/tvm | 0147b0445dc55633b05f4491072852fd4e2ce835 | [
"Apache-2.0"
] | 1 | 2022-03-12T01:02:46.000Z | 2022-03-12T01:02:46.000Z | tests/python/unittest/test_tvmscript_roundtrip.py | ziyu-guo/tvm | 0147b0445dc55633b05f4491072852fd4e2ce835 | [
"Apache-2.0"
] | 1 | 2021-08-03T00:20:41.000Z | 2021-08-03T00:20:41.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 42.198387 | 508 | 0.323266 | 11,442 | 130,815 | 3.526044 | 0.038455 | 0.015268 | 0.020573 | 0.0232 | 0.869228 | 0.833635 | 0.808948 | 0.781559 | 0.763093 | 0.732061 | 0 | 0.107128 | 0.571425 | 130,815 | 3,099 | 509 | 42.212004 | 0.612496 | 0.007667 | 0 | 0.626535 | 0 | 0 | 0.058617 | 0.000678 | 0 | 0 | 0 | 0 | 0.053547 | 1 | 0.017394 | false | 0 | 0.001705 | 0 | 0.020123 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7cd529efdfbae49ec7253658e0b4eca3cc9363d6 | 14,849 | py | Python | CNNReg_arxiv/image_warp.py | junyuchen245/Fully_Unsupervised_CNN_Registration | 5bb2f4ff8cee70c5be414e9c9abef040a930c94e | [
"MIT"
] | 21 | 2019-12-22T08:24:15.000Z | 2021-11-06T07:19:06.000Z | CNNReg_arxiv/image_warp.py | junyuchen245/Fully_Unsupervised_CNN_Registration | 5bb2f4ff8cee70c5be414e9c9abef040a930c94e | [
"MIT"
] | 1 | 2021-03-14T01:43:55.000Z | 2021-04-13T15:20:49.000Z | CNNReg_arxiv/image_warp.py | junyuchen245/Fully_Unsupervised_CNN_Registration | 5bb2f4ff8cee70c5be414e9c9abef040a930c94e | [
"MIT"
] | 9 | 2020-04-22T02:38:34.000Z | 2021-09-17T11:43:14.000Z | """
Junyu Chen
jchen245@jhmi.edu
Image warping using per-pixel flow vectors.
Modified from:
https://github.com/tensorflow/addons/blob/v0.6.0/tensorflow_addons/image/dense_image_warp.py
Added Nearest-Neighbor interpolation.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ imp... | 43.80236 | 92 | 0.645431 | 2,046 | 14,849 | 4.505865 | 0.138319 | 0.034711 | 0.022562 | 0.028203 | 0.80909 | 0.783382 | 0.772969 | 0.75301 | 0.744983 | 0.735438 | 0 | 0.013835 | 0.260085 | 14,849 | 338 | 93 | 43.931953 | 0.825248 | 0.283925 | 0 | 0.799043 | 0 | 0 | 0.098264 | 0 | 0 | 0 | 0 | 0 | 0.047847 | 1 | 0.023923 | false | 0 | 0.052632 | 0 | 0.100478 | 0.009569 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7cf3d3e365c3c94b34f13df35064c1f7ec417724 | 7,567 | py | Python | tests/test_sf.py | sxie22/cscribe | b06e3986e21c266591fd0ecf6de46c916716337d | [
"MIT"
] | null | null | null | tests/test_sf.py | sxie22/cscribe | b06e3986e21c266591fd0ecf6de46c916716337d | [
"MIT"
] | null | null | null | tests/test_sf.py | sxie22/cscribe | b06e3986e21c266591fd0ecf6de46c916716337d | [
"MIT"
] | 1 | 2020-09-03T17:16:57.000Z | 2020-09-03T17:16:57.000Z | import numpy as np
from unittest import TestCase
import unittest.mock
import shutil
import pathlib
from cmlkit import Dataset
from cscribe.sf import SymmetryFunctions
def fc(r, cutoff):
return 0.5 * (np.cos(np.pi * r / cutoff) + 1)
def rad_sf(r, eta, mu):
return np.exp(-eta * (r - mu) ** 2)
def ang_sf(a... | 30.14741 | 84 | 0.465574 | 1,080 | 7,567 | 3.17037 | 0.075 | 0.054322 | 0.045561 | 0.208528 | 0.82243 | 0.816589 | 0.788843 | 0.75847 | 0.744451 | 0.696554 | 0 | 0.086704 | 0.362892 | 7,567 | 250 | 85 | 30.268 | 0.623522 | 0.025505 | 0 | 0.465116 | 0 | 0 | 0.007065 | 0 | 0 | 0 | 0 | 0 | 0.197674 | 1 | 0.046512 | false | 0 | 0.040698 | 0.017442 | 0.110465 | 0.034884 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7cf657ebf2cda2834be7eb7efb7ada1114361b8b | 31,467 | py | Python | core/schema/schema/tests/test_schema_repository.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 10 | 2017-09-14T07:26:15.000Z | 2021-04-01T09:33:03.000Z | core/schema/schema/tests/test_schema_repository.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 117 | 2017-09-13T08:09:48.000Z | 2019-10-03T12:19:13.000Z | core/schema/schema/tests/test_schema_repository.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 1 | 2018-09-26T09:40:51.000Z | 2018-09-26T09:40:51.000Z | from datetime import datetime, timedelta
from faker import Faker
from twisted.internet import reactor
from schema.application import SchemaComponent
from schema.exception import SchemaException
from schema.schema_repository import SchemaRepository
from mdstudio.db.impl.mongo_client_wrapper import MongoClientWrapper
f... | 38.992565 | 123 | 0.519465 | 2,605 | 31,467 | 6.197697 | 0.058733 | 0.045339 | 0.03995 | 0.058594 | 0.90319 | 0.896748 | 0.892722 | 0.888448 | 0.872716 | 0.872344 | 0 | 0.047233 | 0.341977 | 31,467 | 806 | 124 | 39.040943 | 0.732493 | 0 | 0 | 0.788043 | 0 | 0 | 0.191502 | 0.042711 | 0 | 0 | 0 | 0 | 0.131793 | 1 | 0.02038 | false | 0 | 0.013587 | 0 | 0.036685 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7cfc2a9938f306f80aace082e7e6627137c0fed0 | 24,166 | py | Python | compressor/tests/test_filters.py | TwigWorld/django_compressor | 5c556dcf89feb55746ef73c0068340a04dc4f663 | [
"Apache-2.0"
] | null | null | null | compressor/tests/test_filters.py | TwigWorld/django_compressor | 5c556dcf89feb55746ef73c0068340a04dc4f663 | [
"Apache-2.0"
] | null | null | null | compressor/tests/test_filters.py | TwigWorld/django_compressor | 5c556dcf89feb55746ef73c0068340a04dc4f663 | [
"Apache-2.0"
] | null | null | null | from __future__ import with_statement
import os
import sys
from unittest2 import skipIf
from django.test import TestCase
from compressor.cache import get_hashed_mtime, get_hashed_content
from compressor.conf import settings
from compressor.css import CssCompressor
from compressor.utils import find_command
from compre... | 55.047836 | 1,056 | 0.682033 | 2,655 | 24,166 | 6.101695 | 0.079473 | 0.08 | 0.028395 | 0.036914 | 0.833827 | 0.801728 | 0.778086 | 0.764568 | 0.762284 | 0.748951 | 0 | 0.019342 | 0.17206 | 24,166 | 438 | 1,057 | 55.173516 | 0.790334 | 0 | 0 | 0.663957 | 0 | 0.084011 | 0.357337 | 0.210674 | 0 | 0 | 0 | 0 | 0.100271 | 1 | 0.092141 | false | 0 | 0.04065 | 0 | 0.176152 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6b177e62a880af96ffba39014db369c1953f2a0d | 2,944 | py | Python | robogym/robot/utils/logistic_functions.py | 0xflotus/robogym | 5ec2fcbda9828941fe3072792dd25fb5a915bbbb | [
"MIT"
] | 288 | 2020-11-12T21:39:34.000Z | 2022-03-19T23:27:50.000Z | robogym/robot/utils/logistic_functions.py | 0xflotus/robogym | 5ec2fcbda9828941fe3072792dd25fb5a915bbbb | [
"MIT"
] | 3 | 2020-12-12T19:19:30.000Z | 2022-03-24T05:21:39.000Z | robogym/robot/utils/logistic_functions.py | 0xflotus/robogym | 5ec2fcbda9828941fe3072792dd25fb5a915bbbb | [
"MIT"
] | 31 | 2020-11-12T22:31:01.000Z | 2022-02-28T20:34:48.000Z | """
Logistic functions
Function List:
1. logistic_sigmoid(x: float, a: float) -> float: calculate the normalized logistic sigmoid
with slope parameter a
2. clipped_logistic_sigmoid(x: float, a: float) -> float: calculate the normalized logistic sigmoid
with slope parameter a clipped to a [0, 1] output ra... | 38.233766 | 99 | 0.634851 | 518 | 2,944 | 3.565637 | 0.167954 | 0.018408 | 0.030319 | 0.090958 | 0.855441 | 0.855441 | 0.855441 | 0.855441 | 0.847861 | 0.847861 | 0 | 0.04817 | 0.266644 | 2,944 | 76 | 100 | 38.736842 | 0.807318 | 0.624321 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.04 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6b180ff4dba61c4e04a9328f00e67a96a66cd50f | 36,350 | py | Python | RepositoryBootstrap/Impl/Hooks/GeneratedCode/HooksImplParser.py | lilkicker/v3-Common_Environment | df6f571e7f7d3c1b8c84d292c51e1323f43e2b05 | [
"BSL-1.0"
] | null | null | null | RepositoryBootstrap/Impl/Hooks/GeneratedCode/HooksImplParser.py | lilkicker/v3-Common_Environment | df6f571e7f7d3c1b8c84d292c51e1323f43e2b05 | [
"BSL-1.0"
] | null | null | null | RepositoryBootstrap/Impl/Hooks/GeneratedCode/HooksImplParser.py | lilkicker/v3-Common_Environment | df6f571e7f7d3c1b8c84d292c51e1323f43e2b05 | [
"BSL-1.0"
] | null | null | null | # ---------------------------------------------------------------------------
# |
# | WARNING:
# | This file was generated; any local changes will be overwritten during
# | future invocations of the generator!
# |
# ---------------------------------------------------------------------------
# <Method cou... | 49.862826 | 2,095 | 0.545282 | 3,372 | 36,350 | 5.626928 | 0.057533 | 0.036366 | 0.047275 | 0.026563 | 0.833404 | 0.827922 | 0.823284 | 0.789027 | 0.771002 | 0.756983 | 0 | 0.007165 | 0.270509 | 36,350 | 728 | 2,096 | 49.931319 | 0.708376 | 0.12044 | 0 | 0.649886 | 1 | 0 | 0.049554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066362 | false | 0.004577 | 0.02746 | 0.029748 | 0.203661 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6b4bd43deaf8243205c16e083e7922551ce0f0ac | 61,933 | py | Python | sdk/python/pulumi_aws/amplify/app.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/amplify/app.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/amplify/app.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 49.665597 | 335 | 0.668416 | 7,443 | 61,933 | 5.341663 | 0.042053 | 0.090196 | 0.085065 | 0.041124 | 0.953443 | 0.942804 | 0.932139 | 0.923487 | 0.918482 | 0.901907 | 0 | 0.001363 | 0.229974 | 61,933 | 1,246 | 336 | 49.705457 | 0.832313 | 0.369835 | 0 | 0.845917 | 1 | 0 | 0.126616 | 0.067701 | 0 | 0 | 0 | 0 | 0 | 1 | 0.167951 | false | 0.001541 | 0.010786 | 0 | 0.280431 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.